nwaku/nimcache/release/quicksim/@m..@s..@s..@svendor@snim-chronos@schronos@sasyncsync.nim.c

1407 lines
87 KiB
C

/* Generated by Nim Compiler v1.2.6 */
/* (c) 2020 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Linux, amd64, gcc */
/* Command for C compiler:
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/certs -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/waku/v1/node -o nimcache/release/quicksim/@m..@s..@s..@svendor@snim-chronos@schronos@sasyncsync.nim.c.o nimcache/release/quicksim/@m..@s..@s..@svendor@snim-chronos@schronos@sasyncsync.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <sys/types.h>
#include <pthread.h>
#include <setjmp.h>
#include <string.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
#define nimfr_(x, y)
#define nimln_(x, y)
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw;
typedef struct RootObj RootObj;
typedef struct tySequence__T74QuWwr8h7Al0PS9cMqKwA tySequence__T74QuWwr8h7Al0PS9cMqKwA;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA;
typedef struct tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg;
typedef struct tyObject_Deque__ts9cu9cb0X9aRYRce9ca9aHNaGw tyObject_Deque__ts9cu9cb0X9aRYRce9ca9aHNaGw;
typedef struct tySequence__KS1KnfmcGyX3vyaf0MAihQ tySequence__KS1KnfmcGyX3vyaf0MAihQ;
typedef struct tyObject_WriteItem__EtmP5EvEiRbeAbwdU39cGTw tyObject_WriteItem__EtmP5EvEiRbeAbwdU39cGTw;
typedef struct tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA;
typedef struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
typedef struct NimStringDesc NimStringDesc;
typedef struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw;
typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
typedef struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw;
typedef struct tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg;
typedef struct tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg;
typedef struct tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA;
typedef struct Exception Exception;
typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
typedef struct TSafePoint TSafePoint;
typedef struct tySequence__qkV9cggxceO9cpfUWIbCnvJg tySequence__qkV9cggxceO9cpfUWIbCnvJg;
typedef struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA;
typedef struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q;
typedef struct tyObject_AsyncQueueFullError__ZWyaDz5JdmK0dFfuEraZ3A tyObject_AsyncQueueFullError__ZWyaDz5JdmK0dFfuEraZ3A;
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
typedef struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw;
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {NI size;
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
NCSTRING name;
TNimType* nextType;
NI instances;
NI sizes;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct RootObj {TNimType* m_type;};
struct tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw { RootObj Sup;NIM_BOOL flag;
tySequence__T74QuWwr8h7Al0PS9cMqKwA* waiters;
};
struct TGenericSeq {NI len;
NI reserved;
};
struct tyObject_Deque__ts9cu9cb0X9aRYRce9ca9aHNaGw {tySequence__KS1KnfmcGyX3vyaf0MAihQ* data;
NI head;
NI tail;
NI count;
NI mask;
};
struct tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg { RootObj Sup;tySequence__T74QuWwr8h7Al0PS9cMqKwA* getters;
tySequence__T74QuWwr8h7Al0PS9cMqKwA* putters;
tyObject_Deque__ts9cu9cb0X9aRYRce9ca9aHNaGw queue;
NI maxsize;
};
typedef NU8 tyEnum_WriteType__qCTLbeY2UYrZcT5w5gNuxQ;
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
};
struct tyObject_WriteItem__EtmP5EvEiRbeAbwdU39cGTw {tyEnum_WriteType__qCTLbeY2UYrZcT5w5gNuxQ kind;
union{
struct {void* data1;
} _kind_1;
struct {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data2;
} _kind_2;
struct {NimStringDesc* data3;
} _kind_3;
};
NI size;
NI offset;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future;
};
typedef struct {
N_NIMCALL_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, ClP_0) (void* ClE_0);
void* ClE_0;
} tyProc__Y7TIAk6Os9cRMtmIj9bEqCww;
struct tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA { RootObj Sup;NI colonstate_;
tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg* aq1;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* chronosInternalRetFuture2;
tyObject_WriteItem__EtmP5EvEiRbeAbwdU39cGTw item3;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym204250534_;
};
struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {NI refcount;
TNimType* typ;
};
struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {void* bottom;
};
struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {NI len;
NI cap;
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {tyArray__0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {NI len;
tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {NI minLargeObj;
NI maxLargeObj;
tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
NI allocCounter;
NI deallocCounter;
};
struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {NI counter;
NI max;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
};
typedef long tyArray__xDUyu9aScDpt0JZLU6q9aEZQ[5];
struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw {tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* head;
tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* tail;
pthread_mutex_t lock;
};
struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
NI zctThreshold;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw toDispose;
NI gcThreadId;
};
struct tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA { RootObj Sup;NI colonstate_;
Exception* coloncurExc1_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* colontmpResult2_;
NIM_BOOL colonunrollFinally3_;
tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA* colonup_;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* putter5;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture6;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result7;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* exc8;
};
struct Exception { RootObj Sup;Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
typedef long tyArray__TcvIiMAJvcwzNLsZkfnFnQ[25];
struct TSafePoint {TSafePoint* prev;
NI status;
jmp_buf context;
};
typedef tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* tyArray__06L8jjfbunFPxVliYUVjmQ[2];
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (void* arg, void* ClE_0);
void* ClE_0;
} tyProc__9bqx36VxQxXejdrF09bFARDQ;
typedef NU8 tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA;
struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw { RootObj Sup;tyArray__06L8jjfbunFPxVliYUVjmQ location;
tySequence__qkV9cggxceO9cpfUWIbCnvJg* callbacks;
tyProc__9bqx36VxQxXejdrF09bFARDQ cancelcb;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* child;
tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA state;
Exception* error;
NIM_BOOL mustCancel;
NI id;
};
struct tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;};
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;};
struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA { tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q Sup;};
struct tyObject_AsyncQueueFullError__ZWyaDz5JdmK0dFfuEraZ3A { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
typedef NI16 tyArray__Hq1tOIV1GuQcDUwL9bYTfPQ[10];
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__EIR79aN9apMZrgivHpIlQkGg_14) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__EIR79aN9apMZrgivHpIlQkGg_15) (void);
typedef N_CLOSURE_PTR(void, TM__EIR79aN9apMZrgivHpIlQkGg_17) (void* udataX60gensym20425054_);
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
NI line;
NCSTRING filename;
};
struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw {tyProc__9bqx36VxQxXejdrF09bFARDQ function;
void* udata;
};
struct tySequence__T74QuWwr8h7Al0PS9cMqKwA { TGenericSeq Sup; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* data[SEQ_DECL_SIZE];};struct tySequence__KS1KnfmcGyX3vyaf0MAihQ { TGenericSeq Sup; tyObject_WriteItem__EtmP5EvEiRbeAbwdU39cGTw data[SEQ_DECL_SIZE];};struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};struct tySequence__qkV9cggxceO9cpfUWIbCnvJg { TGenericSeq Sup; tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tySequence__T74QuWwr8h7Al0PS9cMqKwA)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__49asvjxxc9bTtR7eeGNn0v9cQ)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__v1D0px9bMJ0I5ROAZ09cup3w)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__Sx0d6xv2HYJxDPMTpvTCrA)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, newFutureImpl__wu9buovQIxiU3ndXmKRpnVw)(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__sHmkFfOrRCIDlEvfW9cI8SQ)(void);
static N_NIMCALL(void, Marker_tyRef__U8YHZZpYB4U0unXJgUu5wQ)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, addLast__2HkJUcgRps6pCb2VI47rGA)(void* ClE_0);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
static N_INLINE(void, closureIterSetupExc)(Exception* e);
static N_INLINE(void, popSafePoint)(void);
static N_INLINE(NIM_BOOL, full__jPFxGdENyujjZU0GBJZP4Qasyncsync)(tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg* aq);
static N_INLINE(NI, len__uJZ8Hap0lQuqWOX9bTG8oOgdeques)(tyObject_Deque__ts9cu9cb0X9aRYRce9ca9aHNaGw* deq);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__0gWk2d9b0XTCwE9aSwTrwDnw)(void);
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
static N_INLINE(Exception*, getCurrentException)(void);
static N_INLINE(NIM_BOOL, isObjWithCache)(TNimType* obj, TNimType* subclass, TNimType** cache);
N_LIB_PRIVATE N_NOINLINE(NIM_BOOL, isObjSlowPath__H8B7g6iFRPI5Em52KFoD6w)(TNimType* obj, TNimType* subclass, TNimType** cache);
static N_INLINE(NIM_BOOL, cancelled__JXDwCFE0FKiFPAKUUjgdVgasyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future);
static N_INLINE(void, wakeupNext__Ruy0kSowZkYY9bF1RaG757wasyncsync)(tySequence__T74QuWwr8h7Al0PS9cMqKwA** waiters);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
static N_INLINE(NIM_BOOL, finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future);
N_LIB_PRIVATE N_NIMCALL(void, complete__nHHWNIBkqCfVC3oe9a1ZdIQ)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__S8RQ7ut9bju0hLbqaeGQQMA)(void);
N_LIB_PRIVATE N_NIMCALL(void, delete__ikRZk52YI6l7bMTYdbcUsA)(tySequence__T74QuWwr8h7Al0PS9cMqKwA** s, NI first, NI last);
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* fut);
static N_INLINE(void, internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut);
N_LIB_PRIVATE N_NIMCALL(void, addLastNoWait__oEoe8IzYMpi8hoNM9bMNDZw)(tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg* aq, tyObject_WriteItem__EtmP5EvEiRbeAbwdU39cGTw* item);
static N_NIMCALL(void, Marker_tyRef__4uiXkqlmDA63z9c6Nve4XIw)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, addLast__gIby5vW5Il2x2MShko8Szg)(tyObject_Deque__ts9cu9cb0X9aRYRce9ca9aHNaGw* deq, tyObject_WriteItem__EtmP5EvEiRbeAbwdU39cGTw* item);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__Sux1tXvXq5cEibSMn7yULg)(void);
N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void);
static N_INLINE(void, popCurrentException)(void);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
N_LIB_PRIVATE N_CLOSURE(void, addLast_continue__bk2zKlYFk4DlNNw9biMzpAg)(void* udataX60gensym20425054_, void* ClE_0);
static N_INLINE(NIM_BOOL, finished__jZtCnaq0a9atKQMcz6A0Atwsystem)(tyProc__Y7TIAk6Os9cRMtmIj9bEqCww x);
static N_INLINE(NIM_BOOL, finished__JXDwCFE0FKiFPAKUUjgdVg_2asyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future);
N_LIB_PRIVATE N_NOINLINE(void, raiseAssert__gpGJG5CoQzE64skFd9bPG7A)(NimStringDesc* msg) __attribute__((noreturn));
N_LIB_PRIVATE N_NIMCALL(void, addCallback__QeHWXKbDl8k58l1wtsnOOw)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, tyProc__9bqx36VxQxXejdrF09bFARDQ cb, void* udata);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
static N_INLINE(Exception*, nimBorrowCurrentException)(void);
N_LIB_PRIVATE N_NIMCALL(void, cancelAndSchedule__1MGH5bJdQgBtESf3VBBOvA_2)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__79cY7uR9cmEURqRGzzdHerWg)(void);
N_LIB_PRIVATE N_NIMCALL(void, fail__SwGHbFJf49cefkD9a9cbvNyqA)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future, Exception* error, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__Jr8Jfi7B2iUixKYroydjOg)(void);
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
N_LIB_PRIVATE TNimType NTI__h6Ul8aB21JtS9b9a8IUpMChw_;
extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
extern TNimType NTI__wrhe6hYHoM2gc8EiW0lE6Q_;
N_LIB_PRIVATE TNimType NTI__T74QuWwr8h7Al0PS9cMqKwA_;
N_LIB_PRIVATE TNimType NTI__49asvjxxc9bTtR7eeGNn0v9cQ_;
N_LIB_PRIVATE TNimType NTI__5a5gymcsomyg9aBY1n0eTlg_;
extern TNimType NTI__ts9cu9cb0X9aRYRce9ca9aHNaGw_;
extern TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_;
N_LIB_PRIVATE TNimType NTI__v1D0px9bMJ0I5ROAZ09cup3w_;
N_LIB_PRIVATE TNimType NTI__0A9cZi8y47cYe5zu9btvWgFA_;
extern TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_;
extern TNimType NTI__EtmP5EvEiRbeAbwdU39cGTw_;
extern TNimType NTI__Y7TIAk6Os9cRMtmIj9bEqCww_;
N_LIB_PRIVATE TNimType NTI__Sx0d6xv2HYJxDPMTpvTCrA_;
N_LIB_PRIVATE TNimType NTI__D65msJyv5tsdIZrdXx9bGQA_;
extern TNimType NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_;
extern TNimType NTI__Oe5U64nDSwOh3KlTzM9b9c7g_;
extern TNimType NTI__gcKyg9bhR5vWTJg3cREMk0Q_;
N_LIB_PRIVATE TNimType NTI__U8YHZZpYB4U0unXJgUu5wQ_;
extern TNimType NTI__qrLSDoe2oBoAqNtJ9badtnA_;
extern TNimType NTI__paaBQT4pyImJiuEdGp60qA_;
extern TNimType NTI__REH9aBNkNbeLkDu8Z1q6BeA_;
STRING_LITERAL(TM__EIR79aN9apMZrgivHpIlQkGg_10, "Future operation cancelled!", 27);
N_LIB_PRIVATE TNimType NTI__ZWyaDz5JdmK0dFfuEraZ3A_;
N_LIB_PRIVATE TNimType NTI__4uiXkqlmDA63z9c6Nve4XIw_;
STRING_LITERAL(TM__EIR79aN9apMZrgivHpIlQkGg_11, "AsyncQueue is full!", 19);
static NIM_CONST tyArray__Hq1tOIV1GuQcDUwL9bYTfPQ TM__EIR79aN9apMZrgivHpIlQkGg_12 = {((NI16) 0),
((NI16) 0),
((NI16) -3),
((NI16) 4),
((NI16) 0),
((NI16) -3),
((NI16) 0),
((NI16) 0),
((NI16) 0)}
;
STRING_LITERAL(TM__EIR79aN9apMZrgivHpIlQkGg_16, "Async procedure (&addLast) yielded `nil`, are you await\'ing a `"
"nil` Future\?", 75);
extern TNimType* nimTypeRoot;
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
static TNimType* Nim_OfCheck_CACHE8[2];
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
static N_NIMCALL(void, Marker_tySequence__T74QuWwr8h7Al0PS9cMqKwA)(void* p, NI op) {
tySequence__T74QuWwr8h7Al0PS9cMqKwA* a;
NI T1_; a = (tySequence__T74QuWwr8h7Al0PS9cMqKwA*)p;
T1_ = (NI)0; for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
nimGCvisit((void*)a->data[T1_], op); }
}
static N_NIMCALL(void, Marker_tyRef__49asvjxxc9bTtR7eeGNn0v9cQ)(void* p, NI op) {
tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw* a;
a = (tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw*)p;
nimGCvisit((void*)(*a).waiters, op);}
static N_NIMCALL(void, Marker_tyRef__v1D0px9bMJ0I5ROAZ09cup3w)(void* p, NI op) {
tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg* a;
a = (tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg*)p;
nimGCvisit((void*)(*a).getters, op); nimGCvisit((void*)(*a).putters, op); nimGCvisit((void*)(*a).queue.data, op);}
static N_NIMCALL(void, Marker_tyRef__Sx0d6xv2HYJxDPMTpvTCrA)(void* p, NI op) {
tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA* a;
a = (tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA*)p;
nimGCvisit((void*)(*a).aq1, op); nimGCvisit((void*)(*a).chronosInternalRetFuture2, op); switch ((*a).item3.kind) {
case ((tyEnum_WriteType__qCTLbeY2UYrZcT5w5gNuxQ) 0):
break;
case ((tyEnum_WriteType__qCTLbeY2UYrZcT5w5gNuxQ) 1):
nimGCvisit((void*)(*a).item3._kind_2.data2, op); break;
case ((tyEnum_WriteType__qCTLbeY2UYrZcT5w5gNuxQ) 2):
nimGCvisit((void*)(*a).item3._kind_3.data3, op); break;
}
nimGCvisit((void*)(*a).item3.future, op); nimGCvisit((void*)(*a).nameIterVarX60gensym204250534_.ClE_0, op);}
#line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0;
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;}
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));}
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0;
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;}
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;}
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;}
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
}
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ NIM_BOOL T3_;
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_;
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
}
LA4_: ;
}
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, asgnRef)(void** dest, void* src) {
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!((src == NIM_NIL))) goto LA3_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
}
LA3_: ;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!(((*dest) == NIM_NIL))) goto LA8_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
}
LA8_: ;
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*dest) = src;}
static N_NIMCALL(void, Marker_tyRef__U8YHZZpYB4U0unXJgUu5wQ)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA* a;
a = (tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA*)p;
nimGCvisit((void*)(*a).coloncurExc1_, op); nimGCvisit((void*)(*a).colontmpResult2_, op); nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).putter5, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture6, op); nimGCvisit((void*)(*a).result7, op); nimGCvisit((void*)(*a).exc8, op);}
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
(*s).prev = excHandler__rqLlY5bs9atDw2OXYqJEn5g;
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
excHandler__rqLlY5bs9atDw2OXYqJEn5g = s;}
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
static N_INLINE(void, closureIterSetupExc)(Exception* e) {
#line 127 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
asgnRef((void**) (&currException__9bVPeDJlYTi9bQApZpfH8wjg), e);}
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
static N_INLINE(void, popSafePoint)(void) {
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
excHandler__rqLlY5bs9atDw2OXYqJEn5g = (*excHandler__rqLlY5bs9atDw2OXYqJEn5g).prev;}
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
static N_INLINE(NI, len__uJZ8Hap0lQuqWOX9bTG8oOgdeques)(tyObject_Deque__ts9cu9cb0X9aRYRce9ca9aHNaGw* deq) { NI result; result = (NI)0;
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim"
result = (*deq).count; return result;}
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
static N_INLINE(NIM_BOOL, full__jPFxGdENyujjZU0GBJZP4Qasyncsync)(tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg* aq) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
{
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
if (!((*aq).maxsize <= ((NI) 0))) goto LA3_;
result = NIM_FALSE; }
goto LA1_;
LA3_: ;
{ NI T6_;
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
T6_ = (NI)0; T6_ = len__uJZ8Hap0lQuqWOX9bTG8oOgdeques((&(*aq).queue)); result = ((*aq).maxsize <= T6_); }
LA1_: ;
return result;}
#line 2288 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(Exception*, getCurrentException)(void) { Exception* result; result = (Exception*)0;
#line 2290 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
result = currException__9bVPeDJlYTi9bQApZpfH8wjg; return result;}
#line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
static N_INLINE(NIM_BOOL, isObjWithCache)(TNimType* obj, TNimType* subclass, TNimType** cache) { NIM_BOOL result;{ result = (NIM_BOOL)0;
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
{
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
if (!(obj == subclass)) goto LA3_;
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
result = NIM_TRUE; goto BeforeRet_;
}
LA3_: ;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
{
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
if (!((*obj).base == subclass)) goto LA7_;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
result = NIM_TRUE; goto BeforeRet_;
}
LA7_: ;
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
{
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
if (!(cache[(((NI) 0))- 0] == obj)) goto LA11_;
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
result = NIM_FALSE; goto BeforeRet_;
}
LA11_: ;
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
{
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
if (!(cache[(((NI) 1))- 0] == obj)) goto LA15_;
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
result = NIM_TRUE; goto BeforeRet_;
}
LA15_: ;
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/chcks.nim"
result = isObjSlowPath__H8B7g6iFRPI5Em52KFoD6w(obj, subclass, cache); goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(NIM_BOOL, cancelled__JXDwCFE0FKiFPAKUUjgdVgasyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
result = ((*future).state == ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 2)); return result;}
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(NIM_BOOL, finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
result = !(((*future).Sup.state == ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 0))); return result;}
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
static N_INLINE(void, wakeupNext__Ruy0kSowZkYY9bF1RaG757wasyncsync)(tySequence__T74QuWwr8h7Al0PS9cMqKwA** waiters) { NI i;
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
i = ((NI) 0); {
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
while (1) { NI T3_; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* waiter; NI TM__EIR79aN9apMZrgivHpIlQkGg_8;
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
T3_ = ((*waiters) ? (*waiters)->Sup.len : 0); if (!(i < T3_)) goto LA2;
#line 199 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
if ((NU)(i) >= (NU)((*waiters) ? (*waiters)->Sup.len : 0)){ raiseIndexError2(i,((*waiters) ? (*waiters)->Sup.len : 0)-1); } waiter = (*waiters)->data[i];
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
if (nimAddInt(i, ((NI) 1), &TM__EIR79aN9apMZrgivHpIlQkGg_8)) { raiseOverflow(); }; i = (NI)(TM__EIR79aN9apMZrgivHpIlQkGg_8);
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
{ NIM_BOOL T6_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T9_;
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
T6_ = (NIM_BOOL)0; T6_ = finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop(waiter); if (!!(T6_)) goto LA7_;
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T9_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T9_ = srcLocImpl__S8RQ7ut9bju0hLbqaeGQQMA();
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
complete__nHHWNIBkqCfVC3oe9a1ZdIQ(waiter, T9_);
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
goto LA1;
}
LA7_: ;
} LA2: ;
} LA1: ;
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
{ NI TM__EIR79aN9apMZrgivHpIlQkGg_9;
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
if (!(((NI) 0) < i)) goto LA12_;
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
if (nimSubInt(i, ((NI) 1), &TM__EIR79aN9apMZrgivHpIlQkGg_9)) { raiseOverflow(); }; if (((NI)(TM__EIR79aN9apMZrgivHpIlQkGg_9)) < ((NI) 0) || ((NI)(TM__EIR79aN9apMZrgivHpIlQkGg_9)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__EIR79aN9apMZrgivHpIlQkGg_9), ((NI) 0), ((NI) IL64(9223372036854775807))); }
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
delete__ikRZk52YI6l7bMTYdbcUsA(waiters, ((NI) 0), ((NI) ((NI)(TM__EIR79aN9apMZrgivHpIlQkGg_9))));
}
LA12_: ;
}
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, nimGCunrefNoCycle)(void* p) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
}
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(void, internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut) {}
static N_NIMCALL(void, Marker_tyRef__4uiXkqlmDA63z9c6Nve4XIw)(void* p, NI op) {
tyObject_AsyncQueueFullError__ZWyaDz5JdmK0dFfuEraZ3A* a;
a = (tyObject_AsyncQueueFullError__ZWyaDz5JdmK0dFfuEraZ3A*)p;
nimGCvisit((void*)(*a).Sup.Sup.parent, op); nimGCvisit((void*)(*a).Sup.Sup.message, op); nimGCvisit((void*)(*a).Sup.Sup.trace, op); nimGCvisit((void*)(*a).Sup.Sup.up, op);}
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
N_LIB_PRIVATE N_NIMCALL(void, addLastNoWait__oEoe8IzYMpi8hoNM9bMNDZw)(tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg* aq, tyObject_WriteItem__EtmP5EvEiRbeAbwdU39cGTw* item) {
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
{ NIM_BOOL T3_; tyObject_AsyncQueueFullError__ZWyaDz5JdmK0dFfuEraZ3A* T6_; NimStringDesc* T7_;
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
T3_ = (NIM_BOOL)0; T3_ = full__jPFxGdENyujjZU0GBJZP4Qasyncsync(aq); if (!T3_) goto LA4_;
T6_ = (tyObject_AsyncQueueFullError__ZWyaDz5JdmK0dFfuEraZ3A*)0; T6_ = (tyObject_AsyncQueueFullError__ZWyaDz5JdmK0dFfuEraZ3A*) newObj((&NTI__4uiXkqlmDA63z9c6Nve4XIw_), sizeof(tyObject_AsyncQueueFullError__ZWyaDz5JdmK0dFfuEraZ3A)); (*T6_).Sup.Sup.Sup.m_type = (&NTI__ZWyaDz5JdmK0dFfuEraZ3A_); (*T6_).Sup.Sup.name = "AsyncQueueFullError"; T7_ = (NimStringDesc*)0; T7_ = (*T6_).Sup.Sup.message; (*T6_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__EIR79aN9apMZrgivHpIlQkGg_11)); if (T7_) nimGCunrefNoCycle(T7_); asgnRef((void**) (&(*T6_).Sup.Sup.parent), NIM_NIL);
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
raiseExceptionEx((Exception*)T6_, "AsyncQueueFullError", "addLastNoWait", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncsync.nim", 237); }
LA4_: ;
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
addLast__gIby5vW5Il2x2MShko8Szg((&(*aq).queue), item);
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
wakeupNext__Ruy0kSowZkYY9bF1RaG757wasyncsync((&(*aq).getters));
}
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
static N_INLINE(void, popCurrentException)(void) {
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
asgnRef((void**) (&currException__9bVPeDJlYTi9bQApZpfH8wjg), (*currException__9bVPeDJlYTi9bQApZpfH8wjg).up);}
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, addLast__2HkJUcgRps6pCb2VI47rGA)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA*) ClE_0;
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
while (1) { if (!1) goto LA1;
{ TSafePoint TM__EIR79aN9apMZrgivHpIlQkGg_6;
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
pushSafePoint(&TM__EIR79aN9apMZrgivHpIlQkGg_6); TM__EIR79aN9apMZrgivHpIlQkGg_6.status = setjmp(TM__EIR79aN9apMZrgivHpIlQkGg_6.context); if (TM__EIR79aN9apMZrgivHpIlQkGg_6.status == 0) { tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T45_;
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
closureIterSetupExc((*colonenvP_).coloncurExc1_);
switch ((*colonenvP_).colonstate_) {
case -1:
popSafePoint(); goto BeforeRet_;
case 0: goto STATE0;
case 1: goto STATE1;
case 2: goto STATE2;
case 3: goto STATE3;
case 4: goto STATE4;
case 5: goto STATE5;
case 6: goto STATE6;
case 7: goto STATE7;
case 8: goto STATE8;
}
STATE0: ; { {
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1); popSafePoint();
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
goto LA2;
}
}
STATE1: ;
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
{ NIM_BOOL T8_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T11_; NI T12_;
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
T8_ = (NIM_BOOL)0; T8_ = full__jPFxGdENyujjZU0GBJZP4Qasyncsync((*(*colonenvP_).colonup_).aq1); if (!T8_) goto LA9_;
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T11_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T11_ = srcLocImpl__0gWk2d9b0XTCwE9aSwTrwDnw();
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
asgnRef((void**) (&(*colonenvP_).putter5), newFutureImpl__wu9buovQIxiU3ndXmKRpnVw(T11_));
#line 280 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).aq1).putters), (tySequence__T74QuWwr8h7Al0PS9cMqKwA*) incrSeqV3((TGenericSeq*)((*(*(*colonenvP_).colonup_).aq1).putters), (&NTI__T74QuWwr8h7Al0PS9cMqKwA_))); T12_ = (*(*(*colonenvP_).colonup_).aq1).putters->Sup.len++; asgnRef((void**) (&(*(*(*colonenvP_).colonup_).aq1).putters->data[T12_]), (*colonenvP_).putter5);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2); popSafePoint();
#line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
goto LA2;
}
goto LA6_;
LA9_: ;
{
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 6); popSafePoint();
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
goto LA2;
}
LA6_: ;
STATE2: ;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture6 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 282 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture6), &(*colonenvP_).putter5->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), (*colonenvP_).chronosInternalTmpFuture6);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 5);
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenvP_).chronosInternalTmpFuture6; popSafePoint(); goto BeforeRet_;
STATE3: ;
#line 0 "\?\?\?"
asgnRef((void**) (&(*colonenvP_).coloncurExc1_), NIM_NIL);
#line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
{ Exception* T16_; Exception* T19_;
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T16_ = (Exception*)0; T16_ = getCurrentException(); if (!((T16_) && (isObjWithCache((*T16_).Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_), Nim_OfCheck_CACHE8)))) goto LA17_;
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T19_ = (Exception*)0; T19_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).exc8), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T19_)));
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
{ NIM_BOOL T22_; NIM_BOOL T23_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T25_; NIM_BOOL T26_;
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
T22_ = (NIM_BOOL)0;
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
T23_ = (NIM_BOOL)0; T23_ = full__jPFxGdENyujjZU0GBJZP4Qasyncsync((*(*colonenvP_).colonup_).aq1); T22_ = !(T23_); if (!(T22_)) goto LA24_;
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
T25_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T25_ = &(*colonenvP_).putter5->Sup;
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
T26_ = (NIM_BOOL)0; T26_ = cancelled__JXDwCFE0FKiFPAKUUjgdVgasyncloop(T25_); T22_ = !(T26_); LA24_: ;
if (!T22_) goto LA27_;
#line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
wakeupNext__Ruy0kSowZkYY9bF1RaG757wasyncsync((&(*(*(*colonenvP_).colonup_).aq1).putters));
}
LA27_: ;
#line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
raiseExceptionEx((Exception*)(*colonenvP_).exc8, "CatchableError", "addLast", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncsync.nim", 286); }
goto LA14_;
LA17_: ;
{
#line 0 "\?\?\?"
(*colonenvP_).colonunrollFinally3_ = NIM_TRUE;
#line 0 "\?\?\?"
#line 0 "\?\?\?"
asgnRef((void**) (&(*colonenvP_).coloncurExc1_), getCurrentException());
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4); popSafePoint();
#line 0 "\?\?\?"
goto LA2;
}
LA14_: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4); popSafePoint();
#line 0 "\?\?\?"
goto LA2;
STATE4: ;
#line 0 "\?\?\?"
{ if (!(*colonenvP_).colonunrollFinally3_) goto LA32_;
#line 0 "\?\?\?"
{
#line 0 "\?\?\?"
if (!((*colonenvP_).coloncurExc1_ == NIM_NIL)) goto LA36_;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 0 "\?\?\?"
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenvP_).colontmpResult2_; popSafePoint(); goto BeforeRet_;
}
goto LA34_;
LA36_: ;
{
#line 0 "\?\?\?"
#line 0 "\?\?\?"
closureIterSetupExc(NIM_NIL);
#line 0 "\?\?\?"
raiseExceptionEx((Exception*)(*colonenvP_).coloncurExc1_, "Exception", "addLast", "\?\?\?", 0); }
LA34_: ;
}
LA32_: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1); popSafePoint();
#line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
goto LA2;
STATE5: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T43_; NimStringDesc* T44_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.mustCancel) goto LA41_;
T43_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T43_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T43_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T43_).Sup.Sup.Sup.name = "CancelledError"; T44_ = (NimStringDesc*)0; T44_ = (*T43_).Sup.Sup.Sup.message; (*T43_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__EIR79aN9apMZrgivHpIlQkGg_10)); if (T44_) nimGCunrefNoCycle(T44_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T43_, "CancelledError", "addLast", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA41_: ;
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q((*colonenvP_).chronosInternalTmpFuture6);
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop(((tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*) ((*colonenvP_).chronosInternalTmpFuture6)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4); popSafePoint();
#line 0 "\?\?\?"
goto LA2;
STATE6: ;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
addLastNoWait__oEoe8IzYMpi8hoNM9bMNDZw((*(*colonenvP_).colonup_).aq1, (&(*(*colonenvP_).colonup_).item3));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 7); popSafePoint();
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
goto LA2;
STATE7: ;
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T45_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T45_ = srcLocImpl__Sux1tXvXq5cEibSMn7yULg();
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
complete__nHHWNIBkqCfVC3oe9a1ZdIQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, T45_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 8); popSafePoint();
#line 0 "\?\?\?"
goto LA2;
STATE8: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1); popSafePoint();
#line 0 "\?\?\?"
goto LA2;
popSafePoint(); }
else { popSafePoint(); { TM__EIR79aN9apMZrgivHpIlQkGg_6.status = 0;
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
if ((NU)((*colonenvP_).colonstate_) > (NU)(9)){ raiseIndexError2((*colonenvP_).colonstate_, 9); } (*colonenvP_).colonstate_ = TM__EIR79aN9apMZrgivHpIlQkGg_12[((*colonenvP_).colonstate_)- 0];
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
{
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
if (!((*colonenvP_).colonstate_ == ((NI) 0))) goto LA50_;
#line 0 "\?\?\?"
reraiseException(); }
LA50_: ;
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
(*colonenvP_).colonunrollFinally3_ = (((NI) 0) < (*colonenvP_).colonstate_);
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
{
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
if (!((*colonenvP_).colonstate_ < ((NI) 0))) goto LA54_;
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
if ((*colonenvP_).colonstate_ == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } (*colonenvP_).colonstate_ = ((NI64)-((*colonenvP_).colonstate_)); }
LA54_: ;
#line 0 "\?\?\?"
#line 0 "\?\?\?"
asgnRef((void**) (&(*colonenvP_).coloncurExc1_), getCurrentException()); popCurrentException(); }
}
if (TM__EIR79aN9apMZrgivHpIlQkGg_6.status != 0) reraiseException(); } LA2: ;
} LA1: ;
}BeforeRet_: ;
return result;}
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_;
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));}
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
}
#line 2329 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(NIM_BOOL, finished__jZtCnaq0a9atKQMcz6A0Atwsystem)(tyProc__Y7TIAk6Os9cRMtmIj9bEqCww x) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 2331 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
result = ((NI*) x.ClE_0)[1] < 0;
return result;}
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(NIM_BOOL, finished__JXDwCFE0FKiFPAKUUjgdVg_2asyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
result = !(((*future).state == ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 0))); return result;}
#line 2292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(Exception*, nimBorrowCurrentException)(void) { Exception* result; result = (Exception*)0;
#line 2295 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
result = currException__9bVPeDJlYTi9bQApZpfH8wjg; return result;}
#line 258 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(void, addLast_continue__bk2zKlYFk4DlNNw9biMzpAg)(void* udataX60gensym20425054_, void* ClE_0) { tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA* colonenvP_; TSafePoint TM__EIR79aN9apMZrgivHpIlQkGg_13; colonenvP_ = (tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__EIR79aN9apMZrgivHpIlQkGg_13); TM__EIR79aN9apMZrgivHpIlQkGg_13.status = setjmp(TM__EIR79aN9apMZrgivHpIlQkGg_13.context); if (TM__EIR79aN9apMZrgivHpIlQkGg_13.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym20425055_;
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T4_ = (NIM_BOOL)0; T4_ = finished__jZtCnaq0a9atKQMcz6A0Atwsystem((*colonenvP_).nameIterVarX60gensym204250534_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym20425055_ = (*colonenvP_).nameIterVarX60gensym204250534_.ClP_0((*colonenvP_).nameIterVarX60gensym204250534_.ClE_0); {
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
while (1) { NIM_BOOL T9_;
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T9_ = (NIM_BOOL)0;
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T9_ = !((nextX60gensym20425055_ == 0)); if (!(T9_)) goto LA10_;
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T9_ = finished__JXDwCFE0FKiFPAKUUjgdVg_2asyncloop(nextX60gensym20425055_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym20425055_ = (*colonenvP_).nameIterVarX60gensym204250534_.ClP_0((*colonenvP_).nameIterVarX60gensym204250534_.ClE_0);
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T13_;
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T13_ = (NIM_BOOL)0; T13_ = finished__jZtCnaq0a9atKQMcz6A0Atwsystem((*colonenvP_).nameIterVarX60gensym204250534_); if (!T13_) goto LA14_;
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
goto LA7;
}
LA14_: ;
} LA8: ;
} LA7: ;
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
if (!(nextX60gensym20425055_ == NIM_NIL)) goto LA18_;
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T22_;
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T22_ = (NIM_BOOL)0; T22_ = finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop((*colonenvP_).chronosInternalRetFuture2); if (!!(T22_)) goto LA23_;
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseAssert__gpGJG5CoQzE64skFd9bPG7A(((NimStringDesc*) &TM__EIR79aN9apMZrgivHpIlQkGg_16));
}
LA23_: ;
}
goto LA16_;
LA18_: ;
{ tyProc__9bqx36VxQxXejdrF09bFARDQ T26_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nimZeroMem((void*)(&T26_), sizeof(tyProc__9bqx36VxQxXejdrF09bFARDQ)); T26_.ClP_0 = addLast_continue__bk2zKlYFk4DlNNw9biMzpAg; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym20425055_, T26_, NIM_NIL);
}
LA16_: ;
}
LA5_: ;
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_))) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T29_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T30_; TM__EIR79aN9apMZrgivHpIlQkGg_13.status = 0;
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T29_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T29_ = &(*colonenvP_).chronosInternalRetFuture2->Sup;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T30_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T30_ = srcLocImpl__79cY7uR9cmEURqRGzzdHerWg();
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
cancelAndSchedule__1MGH5bJdQgBtESf3VBBOvA_2(T29_, T30_);
popCurrentException(); }
else if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* excX60gensym20425057_; Exception* T32_; TM__EIR79aN9apMZrgivHpIlQkGg_13.status = 0;
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T32_ = (Exception*)0; T32_ = getCurrentException(); excX60gensym20425057_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T32_));
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T35_;
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T35_ = (NIM_BOOL)0; T35_ = finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop((*colonenvP_).chronosInternalRetFuture2); if (!T35_) goto LA36_;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)excX60gensym20425057_, "CatchableError", "addLast_continue", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 59); }
goto LA33_;
LA36_: ;
{ Exception* T39_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T40_;
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T39_ = (Exception*)0; T39_ = &excX60gensym20425057_->Sup;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T40_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T40_ = srcLocImpl__Jr8Jfi7B2iUixKYroydjOg();
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
fail__SwGHbFJf49cefkD9a9cbvNyqA((*colonenvP_).chronosInternalRetFuture2, T39_, T40_);
}
LA33_: ;
popCurrentException(); }
}
if (TM__EIR79aN9apMZrgivHpIlQkGg_13.status != 0) reraiseException();}
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, addLast__QI9bq1RJ9cVH2MWcQOUCzAqQ)(tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg* aq, tyObject_WriteItem__EtmP5EvEiRbeAbwdU39cGTw* item) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; colonenv_ = (tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA*) newObj((&NTI__Sx0d6xv2HYJxDPMTpvTCrA_), sizeof(tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA)); (*colonenv_).Sup.m_type = (&NTI__0A9cZi8y47cYe5zu9btvWgFA_);
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
asgnRef((void**) (&(*colonenv_).aq1), aq);
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
genericAssign((void*)(&(*colonenv_).item3), (void*)item, (&NTI__EtmP5EvEiRbeAbwdU39cGTw_));
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T1_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T1_ = srcLocImpl__sHmkFfOrRCIDlEvfW9cI8SQ();
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
asgnRef((void**) (&(*colonenv_).chronosInternalRetFuture2), newFutureImpl__wu9buovQIxiU3ndXmKRpnVw(T1_));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA*) newObj((&NTI__U8YHZZpYB4U0unXJgUu5wQ_), sizeof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA)); (*colonenv__2).Sup.m_type = (&NTI__D65msJyv5tsdIZrdXx9bGQA_);
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*colonenv__2).colonup_), colonenv_); nimZeroMem((void*)(&T2_), sizeof(tyProc__Y7TIAk6Os9cRMtmIj9bEqCww)); T2_.ClP_0 = addLast__2HkJUcgRps6pCb2VI47rGA; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym204250534_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym204250534_.ClP_0 = T2_.ClP_0;
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nimZeroMem((void*)(&T3_), sizeof(tyProc__9bqx36VxQxXejdrF09bFARDQ)); T3_.ClP_0 = addLast_continue__bk2zKlYFk4DlNNw9biMzpAg; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__EIR79aN9apMZrgivHpIlQkGg_17)(T3_.ClP_0))(NIM_NIL);
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncsync.nim"
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenv_).chronosInternalRetFuture2; goto BeforeRet_;
}BeforeRet_: ;
return result;}
N_LIB_PRIVATE N_NIMCALL(void, chronos_asyncsyncDatInit000)(void) {
#line 999999 "generated_not_to_break_here"
static TNimNode* TM__EIR79aN9apMZrgivHpIlQkGg_2_2[2];
static TNimNode* TM__EIR79aN9apMZrgivHpIlQkGg_3_4[4];
static TNimNode* TM__EIR79aN9apMZrgivHpIlQkGg_4_5[5];
static TNimNode* TM__EIR79aN9apMZrgivHpIlQkGg_5_9[9];
static TNimNode TM__EIR79aN9apMZrgivHpIlQkGg_0[25];NTI__h6Ul8aB21JtS9b9a8IUpMChw_.size = sizeof(tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw);
NTI__h6Ul8aB21JtS9b9a8IUpMChw_.kind = 17;
NTI__h6Ul8aB21JtS9b9a8IUpMChw_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__h6Ul8aB21JtS9b9a8IUpMChw_.name = "AsyncEvent:ObjectType";
NTI__h6Ul8aB21JtS9b9a8IUpMChw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__h6Ul8aB21JtS9b9a8IUpMChw_;
TM__EIR79aN9apMZrgivHpIlQkGg_2_2[0] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[1];
TM__EIR79aN9apMZrgivHpIlQkGg_0[1].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[1].offset = offsetof(tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw, flag);
TM__EIR79aN9apMZrgivHpIlQkGg_0[1].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[1].name = "flag";
TM__EIR79aN9apMZrgivHpIlQkGg_2_2[1] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[2];
NTI__T74QuWwr8h7Al0PS9cMqKwA_.size = sizeof(tySequence__T74QuWwr8h7Al0PS9cMqKwA*);
NTI__T74QuWwr8h7Al0PS9cMqKwA_.kind = 24;
NTI__T74QuWwr8h7Al0PS9cMqKwA_.base = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
NTI__T74QuWwr8h7Al0PS9cMqKwA_.name = "seq[Future[system.void]]";
NTI__T74QuWwr8h7Al0PS9cMqKwA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__T74QuWwr8h7Al0PS9cMqKwA_;
NTI__T74QuWwr8h7Al0PS9cMqKwA_.marker = Marker_tySequence__T74QuWwr8h7Al0PS9cMqKwA;
TM__EIR79aN9apMZrgivHpIlQkGg_0[2].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[2].offset = offsetof(tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw, waiters);
TM__EIR79aN9apMZrgivHpIlQkGg_0[2].typ = (&NTI__T74QuWwr8h7Al0PS9cMqKwA_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[2].name = "waiters";
TM__EIR79aN9apMZrgivHpIlQkGg_0[0].len = 2; TM__EIR79aN9apMZrgivHpIlQkGg_0[0].kind = 2; TM__EIR79aN9apMZrgivHpIlQkGg_0[0].sons = &TM__EIR79aN9apMZrgivHpIlQkGg_2_2[0];
NTI__h6Ul8aB21JtS9b9a8IUpMChw_.node = &TM__EIR79aN9apMZrgivHpIlQkGg_0[0];
NTI__49asvjxxc9bTtR7eeGNn0v9cQ_.size = sizeof(tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw*);
NTI__49asvjxxc9bTtR7eeGNn0v9cQ_.kind = 22;
NTI__49asvjxxc9bTtR7eeGNn0v9cQ_.base = (&NTI__h6Ul8aB21JtS9b9a8IUpMChw_);
NTI__49asvjxxc9bTtR7eeGNn0v9cQ_.name = "AsyncEvent";
NTI__49asvjxxc9bTtR7eeGNn0v9cQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__49asvjxxc9bTtR7eeGNn0v9cQ_;
NTI__49asvjxxc9bTtR7eeGNn0v9cQ_.marker = Marker_tyRef__49asvjxxc9bTtR7eeGNn0v9cQ;
NTI__5a5gymcsomyg9aBY1n0eTlg_.size = sizeof(tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg);
NTI__5a5gymcsomyg9aBY1n0eTlg_.kind = 17;
NTI__5a5gymcsomyg9aBY1n0eTlg_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__5a5gymcsomyg9aBY1n0eTlg_.name = "AsyncQueue[asyncstream.WriteItem]";
NTI__5a5gymcsomyg9aBY1n0eTlg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__5a5gymcsomyg9aBY1n0eTlg_;
TM__EIR79aN9apMZrgivHpIlQkGg_3_4[0] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[4];
TM__EIR79aN9apMZrgivHpIlQkGg_0[4].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[4].offset = offsetof(tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg, getters);
TM__EIR79aN9apMZrgivHpIlQkGg_0[4].typ = (&NTI__T74QuWwr8h7Al0PS9cMqKwA_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[4].name = "getters";
TM__EIR79aN9apMZrgivHpIlQkGg_3_4[1] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[5];
TM__EIR79aN9apMZrgivHpIlQkGg_0[5].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[5].offset = offsetof(tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg, putters);
TM__EIR79aN9apMZrgivHpIlQkGg_0[5].typ = (&NTI__T74QuWwr8h7Al0PS9cMqKwA_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[5].name = "putters";
TM__EIR79aN9apMZrgivHpIlQkGg_3_4[2] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[6];
TM__EIR79aN9apMZrgivHpIlQkGg_0[6].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[6].offset = offsetof(tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg, queue);
TM__EIR79aN9apMZrgivHpIlQkGg_0[6].typ = (&NTI__ts9cu9cb0X9aRYRce9ca9aHNaGw_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[6].name = "queue";
TM__EIR79aN9apMZrgivHpIlQkGg_3_4[3] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[7];
TM__EIR79aN9apMZrgivHpIlQkGg_0[7].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[7].offset = offsetof(tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg, maxsize);
TM__EIR79aN9apMZrgivHpIlQkGg_0[7].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[7].name = "maxsize";
TM__EIR79aN9apMZrgivHpIlQkGg_0[3].len = 4; TM__EIR79aN9apMZrgivHpIlQkGg_0[3].kind = 2; TM__EIR79aN9apMZrgivHpIlQkGg_0[3].sons = &TM__EIR79aN9apMZrgivHpIlQkGg_3_4[0];
NTI__5a5gymcsomyg9aBY1n0eTlg_.node = &TM__EIR79aN9apMZrgivHpIlQkGg_0[3];
NTI__v1D0px9bMJ0I5ROAZ09cup3w_.size = sizeof(tyObject_AsyncQueuecolonObjectType___5a5gymcsomyg9aBY1n0eTlg*);
NTI__v1D0px9bMJ0I5ROAZ09cup3w_.kind = 22;
NTI__v1D0px9bMJ0I5ROAZ09cup3w_.base = (&NTI__5a5gymcsomyg9aBY1n0eTlg_);
NTI__v1D0px9bMJ0I5ROAZ09cup3w_.name = "AsyncQueue[asyncstream.WriteItem]";
NTI__v1D0px9bMJ0I5ROAZ09cup3w_.nextType = nimTypeRoot; nimTypeRoot=&NTI__v1D0px9bMJ0I5ROAZ09cup3w_;
NTI__v1D0px9bMJ0I5ROAZ09cup3w_.marker = Marker_tyRef__v1D0px9bMJ0I5ROAZ09cup3w;
NTI__0A9cZi8y47cYe5zu9btvWgFA_.size = sizeof(tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA);
NTI__0A9cZi8y47cYe5zu9btvWgFA_.kind = 17;
NTI__0A9cZi8y47cYe5zu9btvWgFA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__0A9cZi8y47cYe5zu9btvWgFA_.name = "object";
NTI__0A9cZi8y47cYe5zu9btvWgFA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__0A9cZi8y47cYe5zu9btvWgFA_;
TM__EIR79aN9apMZrgivHpIlQkGg_4_5[0] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[9];
TM__EIR79aN9apMZrgivHpIlQkGg_0[9].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[9].offset = offsetof(tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA, colonstate_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[9].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[9].name = ":state";
TM__EIR79aN9apMZrgivHpIlQkGg_4_5[1] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[10];
TM__EIR79aN9apMZrgivHpIlQkGg_0[10].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[10].offset = offsetof(tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA, aq1);
TM__EIR79aN9apMZrgivHpIlQkGg_0[10].typ = (&NTI__v1D0px9bMJ0I5ROAZ09cup3w_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[10].name = "aq1";
TM__EIR79aN9apMZrgivHpIlQkGg_4_5[2] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[11];
TM__EIR79aN9apMZrgivHpIlQkGg_0[11].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[11].offset = offsetof(tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA, chronosInternalRetFuture2);
TM__EIR79aN9apMZrgivHpIlQkGg_0[11].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[11].name = "chronosInternalRetFuture2";
TM__EIR79aN9apMZrgivHpIlQkGg_4_5[3] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[12];
TM__EIR79aN9apMZrgivHpIlQkGg_0[12].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[12].offset = offsetof(tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA, item3);
TM__EIR79aN9apMZrgivHpIlQkGg_0[12].typ = (&NTI__EtmP5EvEiRbeAbwdU39cGTw_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[12].name = "item3";
TM__EIR79aN9apMZrgivHpIlQkGg_4_5[4] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[13];
TM__EIR79aN9apMZrgivHpIlQkGg_0[13].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[13].offset = offsetof(tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA, nameIterVarX60gensym204250534_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[13].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[13].name = "nameIterVar`gensym204250534";
TM__EIR79aN9apMZrgivHpIlQkGg_0[8].len = 5; TM__EIR79aN9apMZrgivHpIlQkGg_0[8].kind = 2; TM__EIR79aN9apMZrgivHpIlQkGg_0[8].sons = &TM__EIR79aN9apMZrgivHpIlQkGg_4_5[0];
NTI__0A9cZi8y47cYe5zu9btvWgFA_.node = &TM__EIR79aN9apMZrgivHpIlQkGg_0[8];
NTI__Sx0d6xv2HYJxDPMTpvTCrA_.size = sizeof(tyObject_Env_asyncsyncdotnim___0A9cZi8y47cYe5zu9btvWgFA*);
NTI__Sx0d6xv2HYJxDPMTpvTCrA_.kind = 22;
NTI__Sx0d6xv2HYJxDPMTpvTCrA_.base = (&NTI__0A9cZi8y47cYe5zu9btvWgFA_);
NTI__Sx0d6xv2HYJxDPMTpvTCrA_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncsync.nim(278, 9)";
NTI__Sx0d6xv2HYJxDPMTpvTCrA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Sx0d6xv2HYJxDPMTpvTCrA_;
NTI__Sx0d6xv2HYJxDPMTpvTCrA_.marker = Marker_tyRef__Sx0d6xv2HYJxDPMTpvTCrA;
NTI__D65msJyv5tsdIZrdXx9bGQA_.size = sizeof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA);
NTI__D65msJyv5tsdIZrdXx9bGQA_.kind = 17;
NTI__D65msJyv5tsdIZrdXx9bGQA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__D65msJyv5tsdIZrdXx9bGQA_.name = "object";
NTI__D65msJyv5tsdIZrdXx9bGQA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__D65msJyv5tsdIZrdXx9bGQA_;
TM__EIR79aN9apMZrgivHpIlQkGg_5_9[0] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[15];
TM__EIR79aN9apMZrgivHpIlQkGg_0[15].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[15].offset = offsetof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA, colonstate_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[15].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[15].name = ":state";
TM__EIR79aN9apMZrgivHpIlQkGg_5_9[1] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[16];
TM__EIR79aN9apMZrgivHpIlQkGg_0[16].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[16].offset = offsetof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA, coloncurExc1_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[16].typ = (&NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[16].name = ":curExc1";
TM__EIR79aN9apMZrgivHpIlQkGg_5_9[2] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[17];
TM__EIR79aN9apMZrgivHpIlQkGg_0[17].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[17].offset = offsetof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA, colontmpResult2_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[17].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[17].name = ":tmpResult2";
TM__EIR79aN9apMZrgivHpIlQkGg_5_9[3] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[18];
TM__EIR79aN9apMZrgivHpIlQkGg_0[18].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[18].offset = offsetof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA, colonunrollFinally3_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[18].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[18].name = ":unrollFinally3";
TM__EIR79aN9apMZrgivHpIlQkGg_5_9[4] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[19];
TM__EIR79aN9apMZrgivHpIlQkGg_0[19].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[19].offset = offsetof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA, colonup_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[19].typ = (&NTI__Sx0d6xv2HYJxDPMTpvTCrA_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[19].name = ":up";
TM__EIR79aN9apMZrgivHpIlQkGg_5_9[5] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[20];
TM__EIR79aN9apMZrgivHpIlQkGg_0[20].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[20].offset = offsetof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA, putter5);
TM__EIR79aN9apMZrgivHpIlQkGg_0[20].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[20].name = "putter5";
TM__EIR79aN9apMZrgivHpIlQkGg_5_9[6] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[21];
TM__EIR79aN9apMZrgivHpIlQkGg_0[21].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[21].offset = offsetof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA, chronosInternalTmpFuture6);
TM__EIR79aN9apMZrgivHpIlQkGg_0[21].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[21].name = "chronosInternalTmpFuture6";
TM__EIR79aN9apMZrgivHpIlQkGg_5_9[7] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[22];
TM__EIR79aN9apMZrgivHpIlQkGg_0[22].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[22].offset = offsetof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA, result7);
TM__EIR79aN9apMZrgivHpIlQkGg_0[22].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[22].name = "result7";
TM__EIR79aN9apMZrgivHpIlQkGg_5_9[8] = &TM__EIR79aN9apMZrgivHpIlQkGg_0[23];
TM__EIR79aN9apMZrgivHpIlQkGg_0[23].kind = 1;
TM__EIR79aN9apMZrgivHpIlQkGg_0[23].offset = offsetof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA, exc8);
TM__EIR79aN9apMZrgivHpIlQkGg_0[23].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__EIR79aN9apMZrgivHpIlQkGg_0[23].name = "exc8";
TM__EIR79aN9apMZrgivHpIlQkGg_0[14].len = 9; TM__EIR79aN9apMZrgivHpIlQkGg_0[14].kind = 2; TM__EIR79aN9apMZrgivHpIlQkGg_0[14].sons = &TM__EIR79aN9apMZrgivHpIlQkGg_5_9[0];
NTI__D65msJyv5tsdIZrdXx9bGQA_.node = &TM__EIR79aN9apMZrgivHpIlQkGg_0[14];
NTI__U8YHZZpYB4U0unXJgUu5wQ_.size = sizeof(tyObject_Env_asyncmacro2dotnim___D65msJyv5tsdIZrdXx9bGQA*);
NTI__U8YHZZpYB4U0unXJgUu5wQ_.kind = 22;
NTI__U8YHZZpYB4U0unXJgUu5wQ_.base = (&NTI__D65msJyv5tsdIZrdXx9bGQA_);
NTI__U8YHZZpYB4U0unXJgUu5wQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__U8YHZZpYB4U0unXJgUu5wQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__U8YHZZpYB4U0unXJgUu5wQ_;
NTI__U8YHZZpYB4U0unXJgUu5wQ_.marker = Marker_tyRef__U8YHZZpYB4U0unXJgUu5wQ;
NTI__ZWyaDz5JdmK0dFfuEraZ3A_.size = sizeof(tyObject_AsyncQueueFullError__ZWyaDz5JdmK0dFfuEraZ3A);
NTI__ZWyaDz5JdmK0dFfuEraZ3A_.kind = 17;
NTI__ZWyaDz5JdmK0dFfuEraZ3A_.base = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_);
NTI__ZWyaDz5JdmK0dFfuEraZ3A_.name = "AsyncQueueFullError";
NTI__ZWyaDz5JdmK0dFfuEraZ3A_.nextType = nimTypeRoot; nimTypeRoot=&NTI__ZWyaDz5JdmK0dFfuEraZ3A_;
TM__EIR79aN9apMZrgivHpIlQkGg_0[24].len = 0; TM__EIR79aN9apMZrgivHpIlQkGg_0[24].kind = 2;
NTI__ZWyaDz5JdmK0dFfuEraZ3A_.node = &TM__EIR79aN9apMZrgivHpIlQkGg_0[24];
NTI__4uiXkqlmDA63z9c6Nve4XIw_.size = sizeof(tyObject_AsyncQueueFullError__ZWyaDz5JdmK0dFfuEraZ3A*);
NTI__4uiXkqlmDA63z9c6Nve4XIw_.kind = 22;
NTI__4uiXkqlmDA63z9c6Nve4XIw_.base = (&NTI__ZWyaDz5JdmK0dFfuEraZ3A_);
NTI__4uiXkqlmDA63z9c6Nve4XIw_.name = "ref AsyncQueueFullError";
NTI__4uiXkqlmDA63z9c6Nve4XIw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__4uiXkqlmDA63z9c6Nve4XIw_;
NTI__4uiXkqlmDA63z9c6Nve4XIw_.marker = Marker_tyRef__4uiXkqlmDA63z9c6Nve4XIw;
}