/* 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-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 -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 -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/start_network/@m..@s..@s..@svendor@snim-faststreams@sfaststreams@sinputs.nim.c.o nimcache/release/start_network/@m..@s..@s..@svendor@snim-faststreams@sfaststreams@sinputs.nim.c */ #define NIM_INTBITS 64 #include "nimbase.h" #include #include #include #include #include #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 tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ; typedef struct tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA; typedef struct tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww; typedef struct tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA; typedef struct tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA; typedef struct Exception Exception; typedef struct RootObj RootObj; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA; typedef struct TSafePoint TSafePoint; typedef struct tyObject_MemFile__j4SnXNrJDFBxAz4BlbM9aIQ tyObject_MemFile__j4SnXNrJDFBxAz4BlbM9aIQ; typedef struct tyObject_PageBufferscolonObjectType___nlkRekTd17649aI9az0ZyeXA tyObject_PageBufferscolonObjectType___nlkRekTd17649aI9az0ZyeXA; typedef struct tyObject_PageSpan__OQhERc4ItQI9bBgR7u8roHQ tyObject_PageSpan__OQhERc4ItQI9bBgR7u8roHQ; typedef struct tyObject_MemFileInputStreamcolonObjectType___t8v7uIUAbkwGuvCcQaZniQ tyObject_MemFileInputStreamcolonObjectType___t8v7uIUAbkwGuvCcQaZniQ; typedef struct tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA; typedef struct tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw; typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA; 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_FileInputStreamcolonObjectType___kiiQH9ce5nPekCmYKZnpnZQ tyObject_FileInputStreamcolonObjectType___kiiQH9ce5nPekCmYKZnpnZQ; typedef struct tyObject_Deque__jgbFN19cKRHXSTHUNWRCb4Q tyObject_Deque__jgbFN19cKRHXSTHUNWRCb4Q; typedef struct tySequence__KdGbg2Gmt5q0JC16Wfi5Zg tySequence__KdGbg2Gmt5q0JC16Wfi5Zg; typedef struct tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ; typedef struct tyObject_LayeredInputStreamcolonObjectType___oAm0Iwv5y9cycXKd9c11jmSA tyObject_LayeredInputStreamcolonObjectType___oAm0Iwv5y9cycXKd9c11jmSA; typedef struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw; typedef struct tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg; typedef struct tySequence__qkV9cggxceO9cpfUWIbCnvJg tySequence__qkV9cggxceO9cpfUWIbCnvJg; typedef struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA; typedef struct tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA; typedef struct tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag; typedef struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA; typedef struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q; typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA; typedef struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw; typedef N_NIMCALL_PTR(NI, tyProc__5chWF9cUkPrYKGEOtATVUYQ) (tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s, void* dst, NI dstLen); typedef N_NIMCALL_PTR(tyObject_FuturecolonObjectType___mbFzZshcwr2hqxBavvwQww*, tyProc__2NAbHJpdQnHusgViNNE6bQ) (tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s, void* dst, NI dstLen); typedef N_NIMCALL_PTR(void, tyProc__9ar2hsHBjW9bDCAKZvyDN9cPg) (tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s); typedef N_NIMCALL_PTR(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, tyProc__nvhB8UevCgcRw0knIZl9csA) (tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s); struct tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA {NI val; NIM_BOOL has; }; typedef N_NIMCALL_PTR(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA, tyProc__qZ634TYHOrkF0h8cSmgqRA) (tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s); struct tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ {tyProc__5chWF9cUkPrYKGEOtATVUYQ readSync; tyProc__2NAbHJpdQnHusgViNNE6bQ readAsync; tyProc__9ar2hsHBjW9bDCAKZvyDN9cPg closeSync; tyProc__nvhB8UevCgcRw0knIZl9csA closeAsync; tyProc__qZ634TYHOrkF0h8cSmgqRA getLenSync; }; 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; }; struct RootObj {TNimType* m_type;}; struct TGenericSeq {NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE]; }; 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; }; struct tyObject_PageSpan__OQhERc4ItQI9bBgR7u8roHQ {NU8* startAddr; NU8* endAddr; }; struct tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA { RootObj Sup;tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ* vtable; tyObject_PageBufferscolonObjectType___nlkRekTd17649aI9az0ZyeXA* buffers; tyObject_PageSpan__OQhERc4ItQI9bBgR7u8roHQ span; NI spanEndPos; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* closeFut; }; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; struct tyObject_MemFile__j4SnXNrJDFBxAz4BlbM9aIQ {void* mem; NI size; int handle; int flags; }; struct tyObject_MemFileInputStreamcolonObjectType___t8v7uIUAbkwGuvCcQaZniQ { tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA Sup;tyObject_MemFile__j4SnXNrJDFBxAz4BlbM9aIQ file; }; struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;}; struct tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;}; 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_OSError__BeJgrOdDsczOwEWOZbRfKA { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;NI32 errorCode; }; struct tyObject_FileInputStreamcolonObjectType___kiiQH9ce5nPekCmYKZnpnZQ { tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA Sup;FILE* file; }; struct tyObject_Deque__jgbFN19cKRHXSTHUNWRCb4Q {tySequence__KdGbg2Gmt5q0JC16Wfi5Zg* data; NI head; NI tail; NI count; NI mask; }; struct tyObject_PageBufferscolonObjectType___nlkRekTd17649aI9az0ZyeXA {NI pageSize; NI maxBufferedBytes; tyObject_Deque__jgbFN19cKRHXSTHUNWRCb4Q queue; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* waitingReader; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* waitingWriter; NIM_BOOL eofReached; NI fauxEofPos; }; struct tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ {NI consumedTo; NI writtenTo; NimStringDesc** data; }; typedef NU8 tyEnum_FileSeekPos__I9aQjuvWxs8BspGbxwsngWw; struct tyObject_LayeredInputStreamcolonObjectType___oAm0Iwv5y9cycXKd9c11jmSA { tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA Sup;tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* source; NIM_BOOL allowWaitFor; }; typedef NU8 tyEnum_CloseBehavior__uLSE9aN4fGgcRi0UY2ZOyqA; 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;}; typedef struct { N_NIMCALL_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, ClP_0) (void* ClE_0); void* ClE_0; } tyProc__Y7TIAk6Os9cRMtmIj9bEqCww; struct tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA { RootObj Sup;NI colonstate_; tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s1; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* chronosInternalRetFuture2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym305450813_; }; struct tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag { RootObj Sup;NI colonstate_; tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* sX60gensym305600341_; tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA* colonup_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture3; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result4; }; struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;}; struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA { tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q Sup;}; typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__wocyTp7IOGMcSUOpvZBZkw_20) (void); typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__wocyTp7IOGMcSUOpvZBZkw_21) (void); typedef N_CLOSURE_PTR(void, TM__wocyTp7IOGMcSUOpvZBZkw_23) (void* udataX60gensym30545082_); struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname; NI line; NCSTRING filename; }; struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw {tyProc__9bqx36VxQxXejdrF09bFARDQ function; void* udata; }; struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};struct tySequence__KdGbg2Gmt5q0JC16Wfi5Zg { TGenericSeq Sup; tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* data[SEQ_DECL_SIZE];};struct tySequence__qkV9cggxceO9cpfUWIbCnvJg { TGenericSeq Sup; tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw data[SEQ_DECL_SIZE];};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_NIMCALL(void, colonanonymous___LqsJEOjyFR3AvtCJi9aKqgA)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s); static N_INLINE(void, pushSafePoint)(TSafePoint* s); N_LIB_PRIVATE N_NIMCALL(void, close__gRakhE5v7JaOKQThVQTzkA)(tyObject_MemFile__j4SnXNrJDFBxAz4BlbM9aIQ* f); N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass); N_LIB_PRIVATE N_NOINLINE(void, raiseObjectConversionError)(void); static N_INLINE(void, popSafePoint)(void); static N_INLINE(Exception*, nimBorrowCurrentException)(void); static N_INLINE(Exception*, getCurrentException)(void); N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src); static N_INLINE(void, nimGCunrefNoCycle)(void* p); static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y); 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); static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr); 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); N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line); static N_INLINE(void, popCurrentException)(void); N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void); N_LIB_PRIVATE N_NIMCALL(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA, colonanonymous___8mhvwiDOEgqr9aAtF03w9bpA)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s); static N_INLINE(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA, some__58kPQS2yYZ9cm81OY9clXLIwoptions)(NI val); N_LIB_PRIVATE N_NOINLINE(void, raiseDivByZero)(void); static N_INLINE(NIM_BOOL, nimDivInt)(NI a, NI b, NI* res); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b); N_LIB_PRIVATE N_NIMCALL(NI, colonanonymous___TiWSY9abp5fIdVzDLm9aqR5g)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s, void* dst, NI dstLen); N_LIB_PRIVATE N_NIMCALL(NI, readBuffer__Y9atVWUcVyKHG9aBP4D0P9czA_2)(FILE* f, void* buffer, NI len); N_LIB_PRIVATE N_NIMCALL(NI, nextAlignedSize__n1kypo4TURDF3Qd0HIsIbg)(NI minSize, NI pageSize); N_LIB_PRIVATE N_NIMCALL(tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ*, getWritablePage__V6AcpNvgOulTEnr8xAy0jg)(tyObject_PageBufferscolonObjectType___nlkRekTd17649aI9az0ZyeXA* buffers, NI preferredSize); N_LIB_PRIVATE N_NIMCALL(NU8*, readableEnd__yPQ29aCfNmEAalG9aPX7MzZA_2)(tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* page); N_LIB_PRIVATE N_NIMCALL(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA, colonanonymous___8mhvwiDOEgqr9aAtF03w9bpA_2)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s); N_LIB_PRIVATE N_NIMCALL(NI, totalUnconsumedBytes__dwlg9b3WMPnY2fWp9a7Lt6Pg)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s); N_LIB_PRIVATE N_NIMCALL(NI, totalBufferedBytes__mdU66sjNJeignzqwwKZMlA)(tyObject_PageBufferscolonObjectType___nlkRekTd17649aI9az0ZyeXA* buffers); N_LIB_PRIVATE N_NIMCALL(void, getNewSpan__LqsJEOjyFR3AvtCJi9aKqgA_2)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); N_LIB_PRIVATE N_NIMCALL(tyObject_PageSpan__OQhERc4ItQI9bBgR7u8roHQ, obtainReadableSpan__iFOawn8H01gC77IuQnjxrA)(tyObject_PageBufferscolonObjectType___nlkRekTd17649aI9az0ZyeXA* buffers, NI* currentSpanEndPos); N_LIB_PRIVATE N_NIMCALL(NI64, getFilePos__ihE3HyH1VBDfrPO1nZT7RQ)(FILE* f); N_LIB_PRIVATE N_NIMCALL(void, setFilePos__FA7rp0y5drPpfGuceb3IJg)(FILE* f, NI64 pos, tyEnum_FileSeekPos__I9aQjuvWxs8BspGbxwsngWw relativeTo); N_LIB_PRIVATE N_NIMCALL(void, colonanonymous___LqsJEOjyFR3AvtCJi9aKqgA_3)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s); N_LIB_PRIVATE N_NIMCALL(void, close__fU6ZlJAtQ9bre04EDZLdGsA_3)(FILE* f); N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op); static N_NIMCALL(void, Marker_tyRef__5KAyQvPxNFGWbzCGol8qKA)(void* p, NI op); static N_NIMCALL(void, Marker_tyRef__y2ssaUdD0a8gUCqhmvB7BA)(void* p, NI op); static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size); static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size); static N_INLINE(NI, len__MrQWlYbfVm0XaJfmc9aZLBAdeques)(tyObject_Deque__jgbFN19cKRHXSTHUNWRCb4Q* deq); static N_INLINE(tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ*, popFirst__524YmKr9bVtaV2ub263Iq2Qdeques)(tyObject_Deque__jgbFN19cKRHXSTHUNWRCb4Q* deq); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n); N_LIB_PRIVATE N_NIMCALL(void, reset__Lb6h7ccGORpuJXBnb2e89cA)(tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ** obj); static N_INLINE(tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ*, peekFirst__Gwh9bm2tTajmx9a7ALX0gUlwdeques)(tyObject_Deque__jgbFN19cKRHXSTHUNWRCb4Q* deq); N_LIB_PRIVATE N_NIMCALL(NU8*, readableStart__yPQ29aCfNmEAalG9aPX7MzZA)(tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* page); N_LIB_PRIVATE N_NIMCALL(void, addLast__QgyvqxP2PPbb2Dgj719apQA)(tyObject_Deque__jgbFN19cKRHXSTHUNWRCb4Q* deq, tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* item); static N_INLINE(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA, none__xxCgHWEREhQfoP9b4U9b844goptions)(void); N_LIB_PRIVATE N_NIMCALL(void, disconnectInputDevice__LqsJEOjyFR3AvtCJi9aKqgA_4)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s); N_LIB_PRIVATE N_NIMCALL(void, preventFurtherReading__LqsJEOjyFR3AvtCJi9aKqgA_5)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s); N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p); N_LIB_PRIVATE N_NIMCALL(void, waitFor__XuNTB7fHwBI8KII0qEQaCw)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut); N_LIB_PRIVATE N_NIMCALL(void, asyncCheck__53lAB5vkCXFZ1ApuF7Pzkg_2)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future); 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_NIMCALL(void, Marker_tyRef__5n4VFP58d1obfg27vaGZ7Q)(void* p, NI op); N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, newFutureImpl__wu9buovQIxiU3ndXmKRpnVw)(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc); N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__ZQ8U3TAqoHla7Ew9aP5K1dw)(void); static N_NIMCALL(void, Marker_tyRef__eDAy4m4euYUAlrC7NTB5XQ)(void* p, NI op); N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, closeAsync__Ckpi6lsQBvWJjV9ciZ0OnDw)(void* ClE_0); 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, complete__nHHWNIBkqCfVC3oe9a1ZdIQ)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc); N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__snyuaYvnjPdinCnohT4kpw)(void); N_LIB_PRIVATE N_CLOSURE(void, closeAsync_continue__quWidb9aBV58pbDE9cYJERZA)(void* udataX60gensym30545082_, 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); static N_INLINE(NIM_BOOL, finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* 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(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__Od0PJKvYY60fOKxYwBOhCA_; N_LIB_PRIVATE TNimType NTI__w1Imkb2pXjJwUO2b9a1dBBQ_; N_LIB_PRIVATE TNimType NTI__5chWF9cUkPrYKGEOtATVUYQ_; N_LIB_PRIVATE TNimType NTI__2NAbHJpdQnHusgViNNE6bQ_; N_LIB_PRIVATE TNimType NTI__9ar2hsHBjW9bDCAKZvyDN9cPg_; N_LIB_PRIVATE TNimType NTI__nvhB8UevCgcRw0knIZl9csA_; N_LIB_PRIVATE TNimType NTI__qZ634TYHOrkF0h8cSmgqRA_; N_LIB_PRIVATE TNimType NTI__lIaaRTy5ipOtY15s2lhrHA_; extern TNimType NTI__DCqn8KV9bsuBtqFpbSyUeZw_; extern TNimType NTI__OQhERc4ItQI9bBgR7u8roHQ_; extern TNimType NTI__hLlQjbV9bLNq5PFxYcqacsA_; extern TNimType NTI__wrhe6hYHoM2gc8EiW0lE6Q_; N_LIB_PRIVATE TNimType NTI__t8v7uIUAbkwGuvCcQaZniQ_; extern TNimType NTI__j4SnXNrJDFBxAz4BlbM9aIQ_; extern TNimType NTI__BeJgrOdDsczOwEWOZbRfKA_; extern TNimType NTI__HMIVdYjdZYWskTmTQVo5BQ_; extern TNimType NTI__iLZrPn9anoh9ad1MmO0RczFw_; STRING_LITERAL(TM__wocyTp7IOGMcSUOpvZBZkw_5, "Failed to close file", 20); STRING_LITERAL(TM__wocyTp7IOGMcSUOpvZBZkw_7, "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/fast" "streams/inputs.nim(214, 12) `buffers != nil` ", 108); N_LIB_PRIVATE TNimType NTI__oAm0Iwv5y9cycXKd9c11jmSA_; N_LIB_PRIVATE TNimType NTI__5KAyQvPxNFGWbzCGol8qKA_; extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_; N_LIB_PRIVATE TNimType NTI__y2ssaUdD0a8gUCqhmvB7BA_; STRING_LITERAL(TM__wocyTp7IOGMcSUOpvZBZkw_12, "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/fast" "streams/buffers.nim(290, 12) `buffers != nil` ", 109); extern TNimType NTI__XEycrCsme5C8CVWAYEcdBQ_; extern TNimType NTI__LbeSGvgPzGzXnW9caIkJqMA_; STRING_LITERAL(TM__wocyTp7IOGMcSUOpvZBZkw_15, "Stream closing failed", 21); N_LIB_PRIVATE TNimType NTI__BNrYGDPff5MmnYSCmxHnFA_; extern TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_; extern TNimType NTI__Y7TIAk6Os9cRMtmIj9bEqCww_; N_LIB_PRIVATE TNimType NTI__5n4VFP58d1obfg27vaGZ7Q_; N_LIB_PRIVATE TNimType NTI__wp5SKVivS28JM61dtlvRag_; extern TNimType NTI__Oe5U64nDSwOh3KlTzM9b9c7g_; N_LIB_PRIVATE TNimType NTI__eDAy4m4euYUAlrC7NTB5XQ_; extern TNimType NTI__paaBQT4pyImJiuEdGp60qA_; extern TNimType NTI__REH9aBNkNbeLkDu8Z1q6BeA_; STRING_LITERAL(TM__wocyTp7IOGMcSUOpvZBZkw_18, "Future operation cancelled!", 27); STRING_LITERAL(TM__wocyTp7IOGMcSUOpvZBZkw_22, "Async procedure (&closeAsync) yielded `nil`, are you await\'ing " "a `nil` Future\?", 78); extern TNimType NTI__qrLSDoe2oBoAqNtJ9badtnA_; N_LIB_PRIVATE tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ memFileInputVTable__PsWUxODzvFNA9bhx10RjbHA; extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g; extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g; extern TNimType* nimTypeRoot; extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g; extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g; extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg; extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg; extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q; extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg; extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg; N_LIB_PRIVATE tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ fileInputVTable__TvMzv8rZoqj9cCfSABzV3xQ; static TNimType* Nim_OfCheck_CACHE15[2]; #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 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 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 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 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 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 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 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 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 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 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;} #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 156 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(void, colonanonymous___LqsJEOjyFR3AvtCJi9aKqgA)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s) { TSafePoint TM__wocyTp7IOGMcSUOpvZBZkw_2; #line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" pushSafePoint(&TM__wocyTp7IOGMcSUOpvZBZkw_2); TM__wocyTp7IOGMcSUOpvZBZkw_2.status = setjmp(TM__wocyTp7IOGMcSUOpvZBZkw_2.context); if (TM__wocyTp7IOGMcSUOpvZBZkw_2.status == 0) { #line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (s && !isObj((*s).Sup.m_type, (&NTI__t8v7uIUAbkwGuvCcQaZniQ_))){ raiseObjectConversionError(); } #line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" close__gRakhE5v7JaOKQThVQTzkA((&(*((tyObject_MemFileInputStreamcolonObjectType___t8v7uIUAbkwGuvCcQaZniQ*) (s))).file)); popSafePoint(); } else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__BeJgrOdDsczOwEWOZbRfKA_))) { tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA* err; Exception* T4_; tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw* T5_; NimStringDesc* T6_; TM__wocyTp7IOGMcSUOpvZBZkw_2.status = 0; #line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 0 "\?\?\?" #line 0 "\?\?\?" T4_ = (Exception*)0; T4_ = getCurrentException(); err = ((tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA*) (T4_)); T5_ = (tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw*)0; T5_ = (tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw*) newObj((&NTI__HMIVdYjdZYWskTmTQVo5BQ_), sizeof(tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw)); (*T5_).Sup.Sup.Sup.m_type = (&NTI__iLZrPn9anoh9ad1MmO0RczFw_); (*T5_).Sup.Sup.name = "IOError"; T6_ = (NimStringDesc*)0; T6_ = (*T5_).Sup.Sup.message; (*T5_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__wocyTp7IOGMcSUOpvZBZkw_5)); if (T6_) nimGCunrefNoCycle(T6_); asgnRef((void**) (&(*T5_).Sup.Sup.parent), &err->Sup.Sup); #line 161 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" raiseExceptionEx((Exception*)T5_, "IOError", ":anonymous", "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/fast" "streams/inputs.nim", 161); popCurrentException(); } } if (TM__wocyTp7IOGMcSUOpvZBZkw_2.status != 0) reraiseException();} #line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" static N_INLINE(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA, some__58kPQS2yYZ9cm81OY9clXLIwoptions)(NI val) { tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA result; nimZeroMem((void*)(&result), sizeof(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA)); #line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" result.has = NIM_TRUE; #line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" result.val = val; return result;} #line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" static N_INLINE(NIM_BOOL, nimDivInt)(NI a, NI b, NI* res) { NIM_BOOL result; result = (NIM_BOOL)0; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" { NIM_BOOL T3_; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" T3_ = (NIM_BOOL)0; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" T3_ = (a == ((NI) (IL64(-9223372036854775807) - IL64(1)))); if (!(T3_)) goto LA4_; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" T3_ = (b == ((NI) -1)); LA4_: ; if (!T3_) goto LA5_; #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" result = NIM_TRUE; } goto LA1_; LA5_: ; { #line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" #line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" (*res) = (NI)(a / b); } LA1_: ; return result;} #line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA, colonanonymous___8mhvwiDOEgqr9aAtF03w9bpA)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s) { tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA result; NI TM__wocyTp7IOGMcSUOpvZBZkw_6; nimZeroMem((void*)(&result), sizeof(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA)); #line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" if (((NI) 1) == 0){ raiseDivByZero(); } if (nimDivInt(((NI) ((NU)((NU64)(((NU) (ptrdiff_t) (((void*) ((*s).span.endAddr))))) - (NU64)(((NU) (ptrdiff_t) (((void*) ((*s).span.startAddr)))))))), ((NI) 1), &TM__wocyTp7IOGMcSUOpvZBZkw_6)) { raiseOverflow(); }; if (((NI)(TM__wocyTp7IOGMcSUOpvZBZkw_6)) < ((NI) 0) || ((NI)(TM__wocyTp7IOGMcSUOpvZBZkw_6)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__wocyTp7IOGMcSUOpvZBZkw_6), ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" result = some__58kPQS2yYZ9cm81OY9clXLIwoptions(((NI) ((NI)(TM__wocyTp7IOGMcSUOpvZBZkw_6)))); return result;} #line 337 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(NI, colonanonymous___TiWSY9abp5fIdVzDLm9aqR5g)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s, void* dst, NI dstLen) { NI result; FILE* file; tyObject_PageBufferscolonObjectType___nlkRekTd17649aI9az0ZyeXA* buffersX60gensym30730068_; void* readStartAddr; NI readLen; NI bytesReadX60gensym30730069_; result = (NI)0; #line 339 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 339 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" file = (*((tyObject_FileInputStreamcolonObjectType___kiiQH9ce5nPekCmYKZnpnZQ*) (s))).file; #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" buffersX60gensym30730068_ = (*s).buffers; #line 342 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" readStartAddr = dst; #line 342 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" readLen = dstLen; bytesReadX60gensym30730069_ = (NI)0; #line 359 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" { NI T5_; #line 359 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 359 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" if (!!((readStartAddr == NIM_NIL))) goto LA3_; #line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" T5_ = (NI)0; T5_ = readBuffer__Y9atVWUcVyKHG9aBP4D0P9czA_2(file, readStartAddr, readLen); bytesReadX60gensym30730069_ = ((NI) (T5_)); } goto LA1_; LA3_: ; { NI bestPageSizeX60gensym30730070_; tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* pageX60gensym30730071_; NU8* T7_; NI T8_; #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" bestPageSizeX60gensym30730070_ = nextAlignedSize__n1kypo4TURDF3Qd0HIsIbg(readLen, (*buffersX60gensym30730068_).pageSize); #line 364 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 364 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" pageX60gensym30730071_ = getWritablePage__V6AcpNvgOulTEnr8xAy0jg(buffersX60gensym30730068_, bestPageSizeX60gensym30730070_); #line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" T7_ = (NU8*)0; T7_ = readableEnd__yPQ29aCfNmEAalG9aPX7MzZA_2(pageX60gensym30730071_); readStartAddr = ((void*) (T7_)); #line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" readLen = ((NI) ((NI)(((*(*pageX60gensym30730071_).data) ? (*(*pageX60gensym30730071_).data)->Sup.len : 0) - ((NI) ((*pageX60gensym30730071_).writtenTo))))); #line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" T8_ = (NI)0; T8_ = readBuffer__Y9atVWUcVyKHG9aBP4D0P9czA_2(file, readStartAddr, readLen); bytesReadX60gensym30730069_ = ((NI) (T8_)); #line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" (*pageX60gensym30730071_).writtenTo += bytesReadX60gensym30730069_; } LA1_: ; #line 374 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" { NIM_BOOL T11_; NIM_BOOL T12_; NIM_BOOL T15_; #line 374 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" T11_ = (NIM_BOOL)0; #line 374 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" T12_ = (NIM_BOOL)0; #line 374 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" T12_ = (((NI) (bytesReadX60gensym30730069_)) == ((NI) 0)); if (!(T12_)) goto LA13_; T12_ = NIM_TRUE; LA13_: ; T11_ = T12_; if (T11_) goto LA14_; #line 375 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" T15_ = (NIM_BOOL)0; T15_ = NIM_TRUE; if (!(T15_)) goto LA16_; #line 375 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" T15_ = (((NI) (bytesReadX60gensym30730069_)) < ((NI) (readLen))); LA16_: ; T11_ = T15_; LA14_: ; if (!T11_) goto LA17_; #line 376 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" (*buffersX60gensym30730068_).eofReached = NIM_TRUE; } LA17_: ; result = bytesReadX60gensym30730069_; return result;} #line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(void, getNewSpan__LqsJEOjyFR3AvtCJi9aKqgA_2)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s) { tyObject_PageBufferscolonObjectType___nlkRekTd17649aI9az0ZyeXA* buffers; #line 213 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" buffers = (*s).buffers; #line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { #line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!!(!((buffers == NIM_NIL)))) goto LA3_; #line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__wocyTp7IOGMcSUOpvZBZkw_7)); } LA3_: ; #line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" (*s).span = obtainReadableSpan__iFOawn8H01gC77IuQnjxrA(buffers, (&(*s).spanEndPos));} #line 283 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(NI, totalUnconsumedBytes__dwlg9b3WMPnY2fWp9a7Lt6Pg)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s) { NI result; NI localRunway; NI runwayInBuffers; result = (NI)0; #line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" localRunway = ((NI) ((NI)(((NI) ((NU)((NU64)(((NU) (ptrdiff_t) (((void*) ((*s).span.endAddr))))) - (NU64)(((NU) (ptrdiff_t) (((void*) ((*s).span.startAddr)))))))) / ((NI) 1)))); #line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { #line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!((*s).buffers == NIM_NIL)) goto LA3_; runwayInBuffers = ((NI) 0); } goto LA1_; LA3_: ; { #line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!!((((NI) ((*(*s).buffers).fauxEofPos)) == ((NI) 0)))) goto LA6_; #line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" runwayInBuffers = (NI)(((NI) ((*(*s).buffers).fauxEofPos)) - ((NI) ((*s).spanEndPos))); } goto LA1_; LA6_: ; { NI T9_; #line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" T9_ = (NI)0; T9_ = totalBufferedBytes__mdU66sjNJeignzqwwKZMlA((*s).buffers); runwayInBuffers = ((NI) (T9_)); } LA1_: ; #line 295 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { NIM_BOOL T12_; #line 295 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" T12_ = (NIM_BOOL)0; #line 295 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" T12_ = (((NI) (localRunway)) == ((NI) 0)); if (!(T12_)) goto LA13_; #line 295 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" T12_ = (((NI) 0) < runwayInBuffers); LA13_: ; if (!T12_) goto LA14_; #line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" getNewSpan__LqsJEOjyFR3AvtCJi9aKqgA_2(s); } LA14_: ; #line 298 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" result = ((NI) ((NI)(((NI) (localRunway)) + runwayInBuffers))); return result;} #line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA, colonanonymous___8mhvwiDOEgqr9aAtF03w9bpA_2)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s) { tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA result; tyObject_FileInputStreamcolonObjectType___kiiQH9ce5nPekCmYKZnpnZQ* s_2; NI runway; tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* T1_; NI64 preservedPos; NI64 endPos; nimZeroMem((void*)(&result), sizeof(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA)); #line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 348 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" s_2 = ((tyObject_FileInputStreamcolonObjectType___kiiQH9ce5nPekCmYKZnpnZQ*) (s)); #line 349 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" T1_ = (tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA*)0; T1_ = &s_2->Sup; #line 349 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" runway = totalUnconsumedBytes__dwlg9b3WMPnY2fWp9a7Lt6Pg(T1_); #line 351 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 351 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" preservedPos = getFilePos__ihE3HyH1VBDfrPO1nZT7RQ((*s_2).file); #line 352 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 352 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" setFilePos__FA7rp0y5drPpfGuceb3IJg((*s_2).file, IL64(0), ((tyEnum_FileSeekPos__I9aQjuvWxs8BspGbxwsngWw) 2)); #line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" endPos = getFilePos__ihE3HyH1VBDfrPO1nZT7RQ((*s_2).file); #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" setFilePos__FA7rp0y5drPpfGuceb3IJg((*s_2).file, preservedPos, ((tyEnum_FileSeekPos__I9aQjuvWxs8BspGbxwsngWw) 0)); #line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" result = some__58kPQS2yYZ9cm81OY9clXLIwoptions(((NI) ((NI64)((NI64)(endPos - preservedPos) + ((NI64) (runway)))))); return result;} #line 358 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(void, colonanonymous___LqsJEOjyFR3AvtCJi9aKqgA_3)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s) { TSafePoint TM__wocyTp7IOGMcSUOpvZBZkw_8; #line 360 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" pushSafePoint(&TM__wocyTp7IOGMcSUOpvZBZkw_8); TM__wocyTp7IOGMcSUOpvZBZkw_8.status = setjmp(TM__wocyTp7IOGMcSUOpvZBZkw_8.context); if (TM__wocyTp7IOGMcSUOpvZBZkw_8.status == 0) { #line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" close__fU6ZlJAtQ9bre04EDZLdGsA_3((*((tyObject_FileInputStreamcolonObjectType___kiiQH9ce5nPekCmYKZnpnZQ*) (s))).file); popSafePoint(); } else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__BeJgrOdDsczOwEWOZbRfKA_))) { tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA* err; Exception* T4_; tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw* T5_; NimStringDesc* T6_; TM__wocyTp7IOGMcSUOpvZBZkw_8.status = 0; #line 362 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 0 "\?\?\?" #line 0 "\?\?\?" T4_ = (Exception*)0; T4_ = getCurrentException(); err = ((tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA*) (T4_)); T5_ = (tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw*)0; T5_ = (tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw*) newObj((&NTI__HMIVdYjdZYWskTmTQVo5BQ_), sizeof(tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw)); (*T5_).Sup.Sup.Sup.m_type = (&NTI__iLZrPn9anoh9ad1MmO0RczFw_); (*T5_).Sup.Sup.name = "IOError"; T6_ = (NimStringDesc*)0; T6_ = (*T5_).Sup.Sup.message; (*T5_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__wocyTp7IOGMcSUOpvZBZkw_5)); if (T6_) nimGCunrefNoCycle(T6_); asgnRef((void**) (&(*T5_).Sup.Sup.parent), &err->Sup.Sup); #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" raiseExceptionEx((Exception*)T5_, "IOError", ":anonymous", "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/fast" "streams/inputs.nim", 363); popCurrentException(); } } if (TM__wocyTp7IOGMcSUOpvZBZkw_8.status != 0) reraiseException();} static N_NIMCALL(void, Marker_tyRef__5KAyQvPxNFGWbzCGol8qKA)(void* p, NI op) { tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* a; a = (tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA*)p; nimGCvisit((void*)(*a).buffers, op); nimGCvisit((void*)(*a).closeFut, op);} static N_NIMCALL(void, Marker_tyRef__y2ssaUdD0a8gUCqhmvB7BA)(void* p, NI op) { tyObject_LayeredInputStreamcolonObjectType___oAm0Iwv5y9cycXKd9c11jmSA* a; a = (tyObject_LayeredInputStreamcolonObjectType___oAm0Iwv5y9cycXKd9c11jmSA*)p; nimGCvisit((void*)(*a).Sup.buffers, op); nimGCvisit((void*)(*a).Sup.closeFut, op); nimGCvisit((void*)(*a).source, op);} #line 11 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_; #line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" #line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size)));} #line 2112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) { #line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" nimCopyMem(dest, source, size); } #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__MrQWlYbfVm0XaJfmc9aZLBAdeques)(tyObject_Deque__jgbFN19cKRHXSTHUNWRCb4Q* 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 369 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim" static N_INLINE(tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ*, popFirst__524YmKr9bVtaV2ub263Iq2Qdeques)(tyObject_Deque__jgbFN19cKRHXSTHUNWRCb4Q* deq) { tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* result; NI TM__wocyTp7IOGMcSUOpvZBZkw_10; NI TM__wocyTp7IOGMcSUOpvZBZkw_11; result = (tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ*)0; #line 389 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim" if (nimSubInt((*deq).count, ((NI) 1), &TM__wocyTp7IOGMcSUOpvZBZkw_10)) { raiseOverflow(); }; (*deq).count = (NI)(TM__wocyTp7IOGMcSUOpvZBZkw_10); #line 390 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim" if ((NU)((*deq).head) >= (NU)((*deq).data ? (*deq).data->Sup.len : 0)){ raiseIndexError2((*deq).head,((*deq).data ? (*deq).data->Sup.len : 0)-1); } result = (*deq).data->data[(*deq).head]; #line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim" if ((NU)((*deq).head) >= (NU)((*deq).data ? (*deq).data->Sup.len : 0)){ raiseIndexError2((*deq).head,((*deq).data ? (*deq).data->Sup.len : 0)-1); } #line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim" reset__Lb6h7ccGORpuJXBnb2e89cA(&(*deq).data->data[(*deq).head]); #line 392 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim" #line 392 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim" #line 392 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim" if (nimAddInt((*deq).head, ((NI) 1), &TM__wocyTp7IOGMcSUOpvZBZkw_11)) { raiseOverflow(); }; (*deq).head = (NI)((NI)(TM__wocyTp7IOGMcSUOpvZBZkw_11) & (*deq).mask); return result;} #line 326 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim" static N_INLINE(tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ*, peekFirst__Gwh9bm2tTajmx9a7ALX0gUlwdeques)(tyObject_Deque__jgbFN19cKRHXSTHUNWRCb4Q* deq) { tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* result; result = (tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ*)0; #line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/collections/deques.nim" if ((NU)((*deq).head) >= (NU)((*deq).data ? (*deq).data->Sup.len : 0)){ raiseIndexError2((*deq).head,((*deq).data ? (*deq).data->Sup.len : 0)-1); } result = (*deq).data->data[(*deq).head]; return result;} #line 681 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(NI, drainBuffersInto__6AMJ9aO2ZjM0jvqsUWVl9bWA)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s, NU8* dstAddr, NI dstLen) { NI result; NU8* dst; NI remainingBytes; NI runway;{ result = (NI)0; #line 683 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" dst = dstAddr; #line 684 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" remainingBytes = dstLen; #line 685 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 685 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" runway = ((NI) ((NI)(((NI) ((NU)((NU64)(((NU) (ptrdiff_t) (((void*) ((*s).span.endAddr))))) - (NU64)(((NU) (ptrdiff_t) (((void*) ((*s).span.startAddr)))))))) / ((NI) 1)))); #line 687 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { NI bytesX60gensym31015002_; #line 687 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!(((NI) (remainingBytes)) <= ((NI) (runway)))) goto LA3_; #line 688 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 688 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) (dst)), ((void*) ((*s).span.startAddr)), remainingBytes); #line 329 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" #line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" bytesX60gensym31015002_ = (NI)(((NI) (remainingBytes)) * ((NI) 1)); #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" (*s).span.startAddr = ((NU8*) (((void*) ((NU)((NU64)(((NU) (ptrdiff_t) (((void*) ((*s).span.startAddr))))) + (NU64)(((NU) (bytesX60gensym31015002_)))))))); #line 690 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 690 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" result = dstLen; goto BeforeRet_; } goto LA1_; LA3_: ; { NI bytesX60gensym31030002_; #line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!(((NI) 0) < ((NI) (runway)))) goto LA6_; #line 692 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 692 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) (dst)), ((void*) ((*s).span.startAddr)), runway); #line 693 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" #line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" bytesX60gensym31030002_ = (NI)(((NI) (runway)) * ((NI) 1)); #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" dst = ((NU8*) (((void*) ((NU)((NU64)(((NU) (ptrdiff_t) (((void*) (dst))))) + (NU64)(((NU) (bytesX60gensym31030002_)))))))); #line 694 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" remainingBytes -= runway; } goto LA1_; LA6_: ; LA1_: ; #line 696 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { #line 696 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 696 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!!(((*s).buffers == NIM_NIL))) goto LA10_; #line 701 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { NI T14_; tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* T17_; #line 701 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 701 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 701 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" T14_ = (NI)0; T14_ = len__MrQWlYbfVm0XaJfmc9aZLBAdeques((&(*(*s).buffers).queue)); if (!(((NI) 0) < ((NI) (((NI) (T14_)))))) goto LA15_; #line 702 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 702 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 702 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" T17_ = (tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ*)0; T17_ = popFirst__524YmKr9bVtaV2ub263Iq2Qdeques((&(*(*s).buffers).queue)); (void)(T17_); } LA15_: ; { tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* page; tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* recycledPage; page = (tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ*)0; #line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" { #line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" if (!!(!(((*s).buffers == NIM_NIL)))) goto LA21_; #line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__wocyTp7IOGMcSUOpvZBZkw_12)); } LA21_: ; recycledPage = (tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ*)0; { #line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" while (1) { NI T25_; tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* page_2; NU8* pageStart; NI pageLen; tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ* T36_; #line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" T25_ = (NI)0; T25_ = len__MrQWlYbfVm0XaJfmc9aZLBAdeques((&(*(*s).buffers).queue)); if (!(((NI) 0) < T25_)) goto LA24; #line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" page_2 = peekFirst__Gwh9bm2tTajmx9a7ALX0gUlwdeques((&(*(*s).buffers).queue)); #line 704 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" page = page_2; #line 706 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 706 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" pageStart = readableStart__yPQ29aCfNmEAalG9aPX7MzZA(page); #line 707 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 707 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" pageLen = (NI)(((NI) ((*page).writtenTo)) - ((NI) ((*page).consumedTo))); #line 714 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" (*page).consumedTo = (*page).writtenTo; #line 716 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { tyObject_PageSpan__OQhERc4ItQI9bBgR7u8roHQ T30_; NI bytesX60gensym31070002_; NI bytesDrainedFromBuffers; #line 716 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!(((NI) (remainingBytes)) < pageLen)) goto LA28_; #line 718 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 718 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) (dst)), ((void*) (pageStart)), remainingBytes); #line 722 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" nimZeroMem((void*)(&T30_), sizeof(tyObject_PageSpan__OQhERc4ItQI9bBgR7u8roHQ)); #line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" #line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" bytesX60gensym31070002_ = (NI)(((NI) (remainingBytes)) * ((NI) 1)); #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" T30_.startAddr = ((NU8*) (((void*) ((NU)((NU64)(((NU) (ptrdiff_t) (((void*) (pageStart))))) + (NU64)(((NU) (bytesX60gensym31070002_)))))))); #line 723 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 723 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" T30_.endAddr = readableEnd__yPQ29aCfNmEAalG9aPX7MzZA_2(page); (*s).span = T30_; #line 727 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 727 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" bytesDrainedFromBuffers = (NI)(((NI) (dstLen)) - ((NI) (runway))); #line 728 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 728 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 728 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" (*s).spanEndPos += ((NI) ((NI)(bytesDrainedFromBuffers + ((NI) (((NI) ((NI)(((NI) ((NU)((NU64)(((NU) (ptrdiff_t) (((void*) ((*s).span.endAddr))))) - (NU64)(((NU) (ptrdiff_t) (((void*) ((*s).span.startAddr)))))))) / ((NI) 1))))))))); #line 732 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 732 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" result = dstLen; goto BeforeRet_; } goto LA26_; LA28_: ; { NI bytesX60gensym31095018_; #line 734 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 734 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) (dst)), ((void*) (pageStart)), ((NI) (pageLen))); #line 735 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" remainingBytes -= ((NI) (pageLen)); #line 736 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" #line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" bytesX60gensym31095018_ = (NI)(pageLen * ((NI) 1)); #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/ptrops.nim" dst = ((NU8*) (((void*) ((NU)((NU64)(((NU) (ptrdiff_t) (((void*) (dst))))) + (NU64)(((NU) (bytesX60gensym31095018_)))))))); } LA26_: ; #line 300 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" { #line 300 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 300 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" if (!(((*(*page_2).data) ? (*(*page_2).data)->Sup.len : 0) == ((NI) ((*(*s).buffers).pageSize)))) goto LA34_; #line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" recycledPage = page_2; } LA34_: ; #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" T36_ = (tyObject_Page__z9bHBjpnro9bY8uVepnrQtXQ*)0; T36_ = popFirst__524YmKr9bVtaV2ub263Iq2Qdeques((&(*(*s).buffers).queue)); (void)(T36_); } LA24: ; } #line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" { #line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" if (!!((recycledPage == NIM_NIL))) goto LA39_; #line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" (*recycledPage).consumedTo = ((NI) 0); #line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" (*recycledPage).writtenTo = ((NI) 0); #line 308 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" #line 308 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/buffers.nim" addLast__QgyvqxP2PPbb2Dgj719apQA((&(*(*s).buffers).queue), recycledPage); } LA39_: ; } } LA10_: ; #line 741 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 741 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" nimZeroMem((void*)(&(*s).span), sizeof(tyObject_PageSpan__OQhERc4ItQI9bBgR7u8roHQ)); #line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" result = ((NI) ((NI)(((NI) (dstLen)) - ((NI) (remainingBytes))))); goto BeforeRet_; }BeforeRet_: ; return result;} #line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim" static N_INLINE(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA, none__xxCgHWEREhQfoP9b4U9b844goptions)(void) { tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA result; nimZeroMem((void*)(&result), sizeof(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA)); return result;} #line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA, len__8mhvwiDOEgqr9aAtF03w9bpA_3)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s) { tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA result; nimZeroMem((void*)(&result), sizeof(tyObject_Option__1KhRhM6L1ajdfcb9c0lZtPA)); #line 404 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 404 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { NI T5_; #line 404 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!((*s).vtable == NIM_NIL)) goto LA3_; #line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" T5_ = (NI)0; T5_ = totalUnconsumedBytes__dwlg9b3WMPnY2fWp9a7Lt6Pg(s); #line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" result = some__58kPQS2yYZ9cm81OY9clXLIwoptions(T5_); } goto LA1_; LA3_: ; { #line 406 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 406 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!!(((*(*s).vtable).getLenSync == NIM_NIL))) goto LA7_; #line 407 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 407 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" result = (*(*s).vtable).getLenSync(s); } goto LA1_; LA7_: ; { #line 409 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 409 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" result = none__xxCgHWEREhQfoP9b4U9b844goptions(); } LA1_: ; return result;} #line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(void, disconnectInputDevice__LqsJEOjyFR3AvtCJi9aKqgA_4)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s) { #line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { #line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!!(((*s).vtable == NIM_NIL))) goto LA3_; #line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { #line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!!(((*(*s).vtable).closeAsync == NIM_NIL))) goto LA7_; #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" asgnRef((void**) (&(*s).closeFut), (*(*s).vtable).closeAsync(s)); } goto LA5_; LA7_: ; { #line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!!(((*(*s).vtable).closeSync == NIM_NIL))) goto LA10_; #line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" (*(*s).vtable).closeSync(s); } goto LA5_; LA10_: ; LA5_: ; #line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" (*s).vtable = NIM_NIL; } LA3_: ; } #line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(void, preventFurtherReading__LqsJEOjyFR3AvtCJi9aKqgA_5)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s) { #line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" (*s).vtable = NIM_NIL; #line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" chckNil((void*)(&(*s).span)); nimZeroMem((void*)(&(*s).span), sizeof(tyObject_PageSpan__OQhERc4ItQI9bBgR7u8roHQ));} #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 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(void, close__lqLvOxHpOAIYMTzLoC5OdA)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s, tyEnum_CloseBehavior__uLSE9aN4fGgcRi0UY2ZOyqA behavior) { #line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" disconnectInputDevice__LqsJEOjyFR3AvtCJi9aKqgA_4(s); #line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" preventFurtherReading__LqsJEOjyFR3AvtCJi9aKqgA_5(s); #line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { TSafePoint TM__wocyTp7IOGMcSUOpvZBZkw_13; #line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!!(((*s).closeFut == NIM_NIL))) goto LA3_; #line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" pushSafePoint(&TM__wocyTp7IOGMcSUOpvZBZkw_13); TM__wocyTp7IOGMcSUOpvZBZkw_13.status = setjmp(TM__wocyTp7IOGMcSUOpvZBZkw_13.context); if (TM__wocyTp7IOGMcSUOpvZBZkw_13.status == 0) { #line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { #line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!(behavior == ((tyEnum_CloseBehavior__uLSE9aN4fGgcRi0UY2ZOyqA) 0))) goto LA8_; #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" waitFor__XuNTB7fHwBI8KII0qEQaCw((*s).closeFut); } goto LA6_; LA8_: ; { #line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" asyncCheck__53lAB5vkCXFZ1ApuF7Pzkg_2((*s).closeFut); } LA6_: ; popSafePoint(); } else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__iLZrPn9anoh9ad1MmO0RczFw_))) { tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw* errX60gensym30295009_; Exception* T13_; TM__wocyTp7IOGMcSUOpvZBZkw_13.status = 0; #line 51 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/async_backend.nim" #line 0 "\?\?\?" #line 0 "\?\?\?" T13_ = (Exception*)0; T13_ = getCurrentException(); errX60gensym30295009_ = ((tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw*) (T13_)); #line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/async_backend.nim" raiseExceptionEx((Exception*)errX60gensym30295009_, "IOError", "close", "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/fast" "streams/async_backend.nim", 52); popCurrentException(); } else if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__XEycrCsme5C8CVWAYEcdBQ_))) { Exception* errX60gensym30295010_; TM__wocyTp7IOGMcSUOpvZBZkw_13.status = 0; #line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/async_backend.nim" #line 0 "\?\?\?" #line 0 "\?\?\?" errX60gensym30295010_ = getCurrentException(); #line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/async_backend.nim" { #line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/async_backend.nim" if (!(isObjWithCache((*errX60gensym30295010_).Sup.m_type, (&NTI__LbeSGvgPzGzXnW9caIkJqMA_), Nim_OfCheck_CACHE15))) goto LA17_; if (errX60gensym30295010_ && !isObj((*errX60gensym30295010_).Sup.m_type, (&NTI__LbeSGvgPzGzXnW9caIkJqMA_))){ raiseObjectConversionError(); } #line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/async_backend.nim" raiseExceptionEx((Exception*)((tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA*) (errX60gensym30295010_)), "Defect", "close", "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/fast" "streams/async_backend.nim", 55); } goto LA15_; LA17_: ; { tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw* T20_; NimStringDesc* T21_; T20_ = (tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw*)0; T20_ = (tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw*) newObj((&NTI__HMIVdYjdZYWskTmTQVo5BQ_), sizeof(tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw)); (*T20_).Sup.Sup.Sup.m_type = (&NTI__iLZrPn9anoh9ad1MmO0RczFw_); (*T20_).Sup.Sup.name = "IOError"; T21_ = (NimStringDesc*)0; T21_ = (*T20_).Sup.Sup.message; (*T20_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__wocyTp7IOGMcSUOpvZBZkw_15)); if (T21_) nimGCunrefNoCycle(T21_); asgnRef((void**) (&(*T20_).Sup.Sup.parent), errX60gensym30295010_); #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/async_backend.nim" raiseExceptionEx((Exception*)T20_, "IOError", "close", "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/fast" "streams/async_backend.nim", 57); } LA15_: ; popCurrentException(); } } if (TM__wocyTp7IOGMcSUOpvZBZkw_13.status != 0) reraiseException(); } LA3_: ; } static N_NIMCALL(void, Marker_tyRef__5n4VFP58d1obfg27vaGZ7Q)(void* p, NI op) { tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA* a; a = (tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA*)p; nimGCvisit((void*)(*a).s1, op); nimGCvisit((void*)(*a).chronosInternalRetFuture2, op); nimGCvisit((void*)(*a).nameIterVarX60gensym305450813_.ClE_0, op);} static N_NIMCALL(void, Marker_tyRef__eDAy4m4euYUAlrC7NTB5XQ)(void* p, NI op) { tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag* a; a = (tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag*)p; nimGCvisit((void*)(*a).sX60gensym305600341_, op); nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture3, op); nimGCvisit((void*)(*a).result4, op);} #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) {} #line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim" N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, closeAsync__Ckpi6lsQBvWJjV9ciZ0OnDw)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag*) ClE_0; #line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" while (1) { if (!1) goto LA1; { tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T15_; switch ((*colonenvP_).colonstate_) { case -1: goto BeforeRet_; case 0: goto STATE0; case 1: goto STATE1; case 2: goto STATE2; case 3: goto STATE3; } STATE0: ; { #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" asgnRef((void**) (&(*colonenvP_).sX60gensym305600341_), (*(*colonenvP_).colonup_).s1); #line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" disconnectInputDevice__LqsJEOjyFR3AvtCJi9aKqgA_4((*colonenvP_).sX60gensym305600341_); #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" preventFurtherReading__LqsJEOjyFR3AvtCJi9aKqgA_5((*colonenvP_).sX60gensym305600341_); #line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" { #line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" if (!!(((*(*colonenvP_).sX60gensym305600341_).closeFut == NIM_NIL))) goto LA6_; #line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim" (*colonenvP_).chronosInternalTmpFuture3 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; #line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture3), &(*(*colonenvP_).sX60gensym305600341_).closeFut->Sup); #line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim" asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), (*colonenvP_).chronosInternalTmpFuture3); #line 0 "\?\?\?" (*colonenvP_).colonstate_ = ((NI) 1); #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_).chronosInternalTmpFuture3; goto BeforeRet_; } goto LA4_; LA6_: ; { #line 0 "\?\?\?" (*colonenvP_).colonstate_ = ((NI) 2); #line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" goto LA2; } LA4_: ; } STATE1: ; #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* T13_; NimStringDesc* T14_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.mustCancel) goto LA11_; T13_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T13_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T13_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T13_).Sup.Sup.Sup.name = "CancelledError"; T14_ = (NimStringDesc*)0; T14_ = (*T13_).Sup.Sup.Sup.message; (*T13_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__wocyTp7IOGMcSUOpvZBZkw_18)); if (T14_) nimGCunrefNoCycle(T14_); #line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim" raiseExceptionEx((Exception*)T13_, "CancelledError", "closeAsync", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/" "asyncmacro2.nim", 305); } LA11_: ; #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_).chronosInternalTmpFuture3); #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_).chronosInternalTmpFuture3))); #line 0 "\?\?\?" (*colonenvP_).colonstate_ = ((NI) 2); #line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" goto LA2; STATE2: ; #line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.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" T15_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T15_ = srcLocImpl__snyuaYvnjPdinCnohT4kpw(); #line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" complete__nHHWNIBkqCfVC3oe9a1ZdIQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, T15_); #line 0 "\?\?\?" (*colonenvP_).colonstate_ = ((NI) 3); #line 0 "\?\?\?" goto LA2; STATE3: ; #line 0 "\?\?\?" (*colonenvP_).colonstate_ = ((NI) -1); #line 0 "\?\?\?" goto LA2; } LA2: ; } LA1: ; }BeforeRet_: ; return result;} #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 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 258 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim" N_LIB_PRIVATE N_CLOSURE(void, closeAsync_continue__quWidb9aBV58pbDE9cYJERZA)(void* udataX60gensym30545082_, void* ClE_0) { tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA* colonenvP_; TSafePoint TM__wocyTp7IOGMcSUOpvZBZkw_19; colonenvP_ = (tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA*) ClE_0; #line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim" pushSafePoint(&TM__wocyTp7IOGMcSUOpvZBZkw_19); TM__wocyTp7IOGMcSUOpvZBZkw_19.status = setjmp(TM__wocyTp7IOGMcSUOpvZBZkw_19.context); if (TM__wocyTp7IOGMcSUOpvZBZkw_19.status == 0) { #line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim" { NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym30545083_; #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_).nameIterVarX60gensym305450813_); if (!!(T4_)) goto LA5_; #line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim" nextX60gensym30545083_ = (*colonenvP_).nameIterVarX60gensym305450813_.ClP_0((*colonenvP_).nameIterVarX60gensym305450813_.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_ = !((nextX60gensym30545083_ == 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(nextX60gensym30545083_); LA10_: ; if (!T9_) goto LA8; #line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim" nextX60gensym30545083_ = (*colonenvP_).nameIterVarX60gensym305450813_.ClP_0((*colonenvP_).nameIterVarX60gensym305450813_.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_).nameIterVarX60gensym305450813_); 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 (!(nextX60gensym30545083_ == 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__wocyTp7IOGMcSUOpvZBZkw_22)); } 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 = closeAsync_continue__quWidb9aBV58pbDE9cYJERZA; T26_.ClE_0 = colonenvP_; #line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim" addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym30545083_, 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__wocyTp7IOGMcSUOpvZBZkw_19.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* excX60gensym30545085_; Exception* T32_; TM__wocyTp7IOGMcSUOpvZBZkw_19.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(); excX60gensym30545085_ = ((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*)excX60gensym30545085_, "CatchableError", "closeAsync_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_ = &excX60gensym30545085_->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__wocyTp7IOGMcSUOpvZBZkw_19.status != 0) reraiseException();} #line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, closeAsync__BvvJSWysl9cgQaOFc0Qpjng)(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA* s) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; colonenv_ = (tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA*)0; #line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" colonenv_ = (tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA*) newObj((&NTI__5n4VFP58d1obfg27vaGZ7Q_), sizeof(tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA)); (*colonenv_).Sup.m_type = (&NTI__BNrYGDPff5MmnYSCmxHnFA_); #line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" asgnRef((void**) (&(*colonenv_).s1), s); #line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" #line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.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__ZQ8U3TAqoHla7Ew9aP5K1dw(); #line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.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___wp5SKVivS28JM61dtlvRag*)0; #line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" colonenv__2 = (tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag*) newObj((&NTI__eDAy4m4euYUAlrC7NTB5XQ_), sizeof(tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag)); (*colonenv__2).Sup.m_type = (&NTI__wp5SKVivS28JM61dtlvRag_); #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 = closeAsync__Ckpi6lsQBvWJjV9ciZ0OnDw; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym305450813_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym305450813_.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 = closeAsync_continue__quWidb9aBV58pbDE9cYJERZA; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__wocyTp7IOGMcSUOpvZBZkw_23)(T3_.ClP_0))(NIM_NIL); #line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.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, faststreams_inputsInit000)(void) { #line 999999 "generated_not_to_break_here" { #line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" nimZeroMem((void*)(&memFileInputVTable__PsWUxODzvFNA9bhx10RjbHA), sizeof(tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ)); memFileInputVTable__PsWUxODzvFNA9bhx10RjbHA.closeSync = colonanonymous___LqsJEOjyFR3AvtCJi9aKqgA; memFileInputVTable__PsWUxODzvFNA9bhx10RjbHA.getLenSync = colonanonymous___8mhvwiDOEgqr9aAtF03w9bpA; #line 336 "/home/runner/work/nim-waku/nim-waku/vendor/nim-faststreams/faststreams/inputs.nim" nimZeroMem((void*)(&fileInputVTable__TvMzv8rZoqj9cCfSABzV3xQ), sizeof(tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ)); fileInputVTable__TvMzv8rZoqj9cCfSABzV3xQ.readSync = colonanonymous___TiWSY9abp5fIdVzDLm9aqR5g; fileInputVTable__TvMzv8rZoqj9cCfSABzV3xQ.getLenSync = colonanonymous___8mhvwiDOEgqr9aAtF03w9bpA_2; fileInputVTable__TvMzv8rZoqj9cCfSABzV3xQ.closeSync = colonanonymous___LqsJEOjyFR3AvtCJi9aKqgA_3;} } N_LIB_PRIVATE N_NIMCALL(void, faststreams_inputsDatInit000)(void) { #line 999999 "generated_not_to_break_here" static TNimNode* TM__wocyTp7IOGMcSUOpvZBZkw_3_5[5]; static TNimNode* TM__wocyTp7IOGMcSUOpvZBZkw_4_5[5]; static TNimNode* TM__wocyTp7IOGMcSUOpvZBZkw_9_2[2]; static TNimNode* TM__wocyTp7IOGMcSUOpvZBZkw_16_4[4]; static TNimNode* TM__wocyTp7IOGMcSUOpvZBZkw_17_5[5]; static TNimNode TM__wocyTp7IOGMcSUOpvZBZkw_0[27];NTI__Od0PJKvYY60fOKxYwBOhCA_.size = sizeof(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA); NTI__Od0PJKvYY60fOKxYwBOhCA_.kind = 17; NTI__Od0PJKvYY60fOKxYwBOhCA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_); NTI__Od0PJKvYY60fOKxYwBOhCA_.name = "InputStream:ObjectType"; NTI__Od0PJKvYY60fOKxYwBOhCA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Od0PJKvYY60fOKxYwBOhCA_; TM__wocyTp7IOGMcSUOpvZBZkw_3_5[0] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[1]; NTI__w1Imkb2pXjJwUO2b9a1dBBQ_.size = sizeof(tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ); NTI__w1Imkb2pXjJwUO2b9a1dBBQ_.kind = 18; NTI__w1Imkb2pXjJwUO2b9a1dBBQ_.base = 0; NTI__w1Imkb2pXjJwUO2b9a1dBBQ_.flags = 3; NTI__w1Imkb2pXjJwUO2b9a1dBBQ_.name = "InputStreamVTable"; NTI__w1Imkb2pXjJwUO2b9a1dBBQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__w1Imkb2pXjJwUO2b9a1dBBQ_; TM__wocyTp7IOGMcSUOpvZBZkw_4_5[0] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[3]; NTI__5chWF9cUkPrYKGEOtATVUYQ_.size = sizeof(tyProc__5chWF9cUkPrYKGEOtATVUYQ); NTI__5chWF9cUkPrYKGEOtATVUYQ_.kind = 25; NTI__5chWF9cUkPrYKGEOtATVUYQ_.base = 0; NTI__5chWF9cUkPrYKGEOtATVUYQ_.flags = 3; NTI__5chWF9cUkPrYKGEOtATVUYQ_.name = "ReadSyncProc"; NTI__5chWF9cUkPrYKGEOtATVUYQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__5chWF9cUkPrYKGEOtATVUYQ_; TM__wocyTp7IOGMcSUOpvZBZkw_0[3].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[3].offset = offsetof(tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ, readSync); TM__wocyTp7IOGMcSUOpvZBZkw_0[3].typ = (&NTI__5chWF9cUkPrYKGEOtATVUYQ_); TM__wocyTp7IOGMcSUOpvZBZkw_0[3].name = "readSync"; TM__wocyTp7IOGMcSUOpvZBZkw_4_5[1] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[4]; NTI__2NAbHJpdQnHusgViNNE6bQ_.size = sizeof(tyProc__2NAbHJpdQnHusgViNNE6bQ); NTI__2NAbHJpdQnHusgViNNE6bQ_.kind = 25; NTI__2NAbHJpdQnHusgViNNE6bQ_.base = 0; NTI__2NAbHJpdQnHusgViNNE6bQ_.flags = 3; NTI__2NAbHJpdQnHusgViNNE6bQ_.name = "ReadAsyncProc"; NTI__2NAbHJpdQnHusgViNNE6bQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__2NAbHJpdQnHusgViNNE6bQ_; TM__wocyTp7IOGMcSUOpvZBZkw_0[4].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[4].offset = offsetof(tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ, readAsync); TM__wocyTp7IOGMcSUOpvZBZkw_0[4].typ = (&NTI__2NAbHJpdQnHusgViNNE6bQ_); TM__wocyTp7IOGMcSUOpvZBZkw_0[4].name = "readAsync"; TM__wocyTp7IOGMcSUOpvZBZkw_4_5[2] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[5]; NTI__9ar2hsHBjW9bDCAKZvyDN9cPg_.size = sizeof(tyProc__9ar2hsHBjW9bDCAKZvyDN9cPg); NTI__9ar2hsHBjW9bDCAKZvyDN9cPg_.kind = 25; NTI__9ar2hsHBjW9bDCAKZvyDN9cPg_.base = 0; NTI__9ar2hsHBjW9bDCAKZvyDN9cPg_.flags = 3; NTI__9ar2hsHBjW9bDCAKZvyDN9cPg_.name = "CloseSyncProc"; NTI__9ar2hsHBjW9bDCAKZvyDN9cPg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__9ar2hsHBjW9bDCAKZvyDN9cPg_; TM__wocyTp7IOGMcSUOpvZBZkw_0[5].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[5].offset = offsetof(tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ, closeSync); TM__wocyTp7IOGMcSUOpvZBZkw_0[5].typ = (&NTI__9ar2hsHBjW9bDCAKZvyDN9cPg_); TM__wocyTp7IOGMcSUOpvZBZkw_0[5].name = "closeSync"; TM__wocyTp7IOGMcSUOpvZBZkw_4_5[3] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[6]; NTI__nvhB8UevCgcRw0knIZl9csA_.size = sizeof(tyProc__nvhB8UevCgcRw0knIZl9csA); NTI__nvhB8UevCgcRw0knIZl9csA_.kind = 25; NTI__nvhB8UevCgcRw0knIZl9csA_.base = 0; NTI__nvhB8UevCgcRw0knIZl9csA_.flags = 3; NTI__nvhB8UevCgcRw0knIZl9csA_.name = "CloseAsyncProc"; NTI__nvhB8UevCgcRw0knIZl9csA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__nvhB8UevCgcRw0knIZl9csA_; TM__wocyTp7IOGMcSUOpvZBZkw_0[6].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[6].offset = offsetof(tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ, closeAsync); TM__wocyTp7IOGMcSUOpvZBZkw_0[6].typ = (&NTI__nvhB8UevCgcRw0knIZl9csA_); TM__wocyTp7IOGMcSUOpvZBZkw_0[6].name = "closeAsync"; TM__wocyTp7IOGMcSUOpvZBZkw_4_5[4] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[7]; NTI__qZ634TYHOrkF0h8cSmgqRA_.size = sizeof(tyProc__qZ634TYHOrkF0h8cSmgqRA); NTI__qZ634TYHOrkF0h8cSmgqRA_.kind = 25; NTI__qZ634TYHOrkF0h8cSmgqRA_.base = 0; NTI__qZ634TYHOrkF0h8cSmgqRA_.flags = 3; NTI__qZ634TYHOrkF0h8cSmgqRA_.name = "GetLenSyncProc"; NTI__qZ634TYHOrkF0h8cSmgqRA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__qZ634TYHOrkF0h8cSmgqRA_; TM__wocyTp7IOGMcSUOpvZBZkw_0[7].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[7].offset = offsetof(tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ, getLenSync); TM__wocyTp7IOGMcSUOpvZBZkw_0[7].typ = (&NTI__qZ634TYHOrkF0h8cSmgqRA_); TM__wocyTp7IOGMcSUOpvZBZkw_0[7].name = "getLenSync"; TM__wocyTp7IOGMcSUOpvZBZkw_0[2].len = 5; TM__wocyTp7IOGMcSUOpvZBZkw_0[2].kind = 2; TM__wocyTp7IOGMcSUOpvZBZkw_0[2].sons = &TM__wocyTp7IOGMcSUOpvZBZkw_4_5[0]; NTI__w1Imkb2pXjJwUO2b9a1dBBQ_.node = &TM__wocyTp7IOGMcSUOpvZBZkw_0[2]; NTI__lIaaRTy5ipOtY15s2lhrHA_.size = sizeof(tyObject_InputStreamVTable__w1Imkb2pXjJwUO2b9a1dBBQ*); NTI__lIaaRTy5ipOtY15s2lhrHA_.kind = 21; NTI__lIaaRTy5ipOtY15s2lhrHA_.base = (&NTI__w1Imkb2pXjJwUO2b9a1dBBQ_); NTI__lIaaRTy5ipOtY15s2lhrHA_.flags = 3; NTI__lIaaRTy5ipOtY15s2lhrHA_.name = "ptr InputStreamVTable"; NTI__lIaaRTy5ipOtY15s2lhrHA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__lIaaRTy5ipOtY15s2lhrHA_; TM__wocyTp7IOGMcSUOpvZBZkw_0[1].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[1].offset = offsetof(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA, vtable); TM__wocyTp7IOGMcSUOpvZBZkw_0[1].typ = (&NTI__lIaaRTy5ipOtY15s2lhrHA_); TM__wocyTp7IOGMcSUOpvZBZkw_0[1].name = "vtable"; TM__wocyTp7IOGMcSUOpvZBZkw_3_5[1] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[8]; TM__wocyTp7IOGMcSUOpvZBZkw_0[8].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[8].offset = offsetof(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA, buffers); TM__wocyTp7IOGMcSUOpvZBZkw_0[8].typ = (&NTI__DCqn8KV9bsuBtqFpbSyUeZw_); TM__wocyTp7IOGMcSUOpvZBZkw_0[8].name = "buffers"; TM__wocyTp7IOGMcSUOpvZBZkw_3_5[2] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[9]; TM__wocyTp7IOGMcSUOpvZBZkw_0[9].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[9].offset = offsetof(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA, span); TM__wocyTp7IOGMcSUOpvZBZkw_0[9].typ = (&NTI__OQhERc4ItQI9bBgR7u8roHQ_); TM__wocyTp7IOGMcSUOpvZBZkw_0[9].name = "span"; TM__wocyTp7IOGMcSUOpvZBZkw_3_5[3] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[10]; TM__wocyTp7IOGMcSUOpvZBZkw_0[10].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[10].offset = offsetof(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA, spanEndPos); TM__wocyTp7IOGMcSUOpvZBZkw_0[10].typ = (&NTI__hLlQjbV9bLNq5PFxYcqacsA_); TM__wocyTp7IOGMcSUOpvZBZkw_0[10].name = "spanEndPos"; TM__wocyTp7IOGMcSUOpvZBZkw_3_5[4] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[11]; TM__wocyTp7IOGMcSUOpvZBZkw_0[11].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[11].offset = offsetof(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA, closeFut); TM__wocyTp7IOGMcSUOpvZBZkw_0[11].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_); TM__wocyTp7IOGMcSUOpvZBZkw_0[11].name = "closeFut"; TM__wocyTp7IOGMcSUOpvZBZkw_0[0].len = 5; TM__wocyTp7IOGMcSUOpvZBZkw_0[0].kind = 2; TM__wocyTp7IOGMcSUOpvZBZkw_0[0].sons = &TM__wocyTp7IOGMcSUOpvZBZkw_3_5[0]; NTI__Od0PJKvYY60fOKxYwBOhCA_.node = &TM__wocyTp7IOGMcSUOpvZBZkw_0[0]; NTI__t8v7uIUAbkwGuvCcQaZniQ_.size = sizeof(tyObject_MemFileInputStreamcolonObjectType___t8v7uIUAbkwGuvCcQaZniQ); NTI__t8v7uIUAbkwGuvCcQaZniQ_.kind = 17; NTI__t8v7uIUAbkwGuvCcQaZniQ_.base = (&NTI__Od0PJKvYY60fOKxYwBOhCA_); NTI__t8v7uIUAbkwGuvCcQaZniQ_.name = "MemFileInputStream:ObjectType"; NTI__t8v7uIUAbkwGuvCcQaZniQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__t8v7uIUAbkwGuvCcQaZniQ_; TM__wocyTp7IOGMcSUOpvZBZkw_0[12].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[12].offset = offsetof(tyObject_MemFileInputStreamcolonObjectType___t8v7uIUAbkwGuvCcQaZniQ, file); TM__wocyTp7IOGMcSUOpvZBZkw_0[12].typ = (&NTI__j4SnXNrJDFBxAz4BlbM9aIQ_); TM__wocyTp7IOGMcSUOpvZBZkw_0[12].name = "file"; NTI__t8v7uIUAbkwGuvCcQaZniQ_.node = &TM__wocyTp7IOGMcSUOpvZBZkw_0[12]; NTI__oAm0Iwv5y9cycXKd9c11jmSA_.size = sizeof(tyObject_LayeredInputStreamcolonObjectType___oAm0Iwv5y9cycXKd9c11jmSA); NTI__oAm0Iwv5y9cycXKd9c11jmSA_.kind = 17; NTI__oAm0Iwv5y9cycXKd9c11jmSA_.base = (&NTI__Od0PJKvYY60fOKxYwBOhCA_); NTI__oAm0Iwv5y9cycXKd9c11jmSA_.name = "LayeredInputStream:ObjectType"; NTI__oAm0Iwv5y9cycXKd9c11jmSA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__oAm0Iwv5y9cycXKd9c11jmSA_; TM__wocyTp7IOGMcSUOpvZBZkw_9_2[0] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[14]; NTI__5KAyQvPxNFGWbzCGol8qKA_.size = sizeof(tyObject_InputStreamcolonObjectType___Od0PJKvYY60fOKxYwBOhCA*); NTI__5KAyQvPxNFGWbzCGol8qKA_.kind = 22; NTI__5KAyQvPxNFGWbzCGol8qKA_.base = (&NTI__Od0PJKvYY60fOKxYwBOhCA_); NTI__5KAyQvPxNFGWbzCGol8qKA_.name = "InputStream"; NTI__5KAyQvPxNFGWbzCGol8qKA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__5KAyQvPxNFGWbzCGol8qKA_; NTI__5KAyQvPxNFGWbzCGol8qKA_.marker = Marker_tyRef__5KAyQvPxNFGWbzCGol8qKA; TM__wocyTp7IOGMcSUOpvZBZkw_0[14].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[14].offset = offsetof(tyObject_LayeredInputStreamcolonObjectType___oAm0Iwv5y9cycXKd9c11jmSA, source); TM__wocyTp7IOGMcSUOpvZBZkw_0[14].typ = (&NTI__5KAyQvPxNFGWbzCGol8qKA_); TM__wocyTp7IOGMcSUOpvZBZkw_0[14].name = "source"; TM__wocyTp7IOGMcSUOpvZBZkw_9_2[1] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[15]; TM__wocyTp7IOGMcSUOpvZBZkw_0[15].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[15].offset = offsetof(tyObject_LayeredInputStreamcolonObjectType___oAm0Iwv5y9cycXKd9c11jmSA, allowWaitFor); TM__wocyTp7IOGMcSUOpvZBZkw_0[15].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_); TM__wocyTp7IOGMcSUOpvZBZkw_0[15].name = "allowWaitFor"; TM__wocyTp7IOGMcSUOpvZBZkw_0[13].len = 2; TM__wocyTp7IOGMcSUOpvZBZkw_0[13].kind = 2; TM__wocyTp7IOGMcSUOpvZBZkw_0[13].sons = &TM__wocyTp7IOGMcSUOpvZBZkw_9_2[0]; NTI__oAm0Iwv5y9cycXKd9c11jmSA_.node = &TM__wocyTp7IOGMcSUOpvZBZkw_0[13]; NTI__y2ssaUdD0a8gUCqhmvB7BA_.size = sizeof(tyObject_LayeredInputStreamcolonObjectType___oAm0Iwv5y9cycXKd9c11jmSA*); NTI__y2ssaUdD0a8gUCqhmvB7BA_.kind = 22; NTI__y2ssaUdD0a8gUCqhmvB7BA_.base = (&NTI__oAm0Iwv5y9cycXKd9c11jmSA_); NTI__y2ssaUdD0a8gUCqhmvB7BA_.name = "LayeredInputStream"; NTI__y2ssaUdD0a8gUCqhmvB7BA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__y2ssaUdD0a8gUCqhmvB7BA_; NTI__y2ssaUdD0a8gUCqhmvB7BA_.marker = Marker_tyRef__y2ssaUdD0a8gUCqhmvB7BA; NTI__BNrYGDPff5MmnYSCmxHnFA_.size = sizeof(tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA); NTI__BNrYGDPff5MmnYSCmxHnFA_.kind = 17; NTI__BNrYGDPff5MmnYSCmxHnFA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_); NTI__BNrYGDPff5MmnYSCmxHnFA_.name = "object"; NTI__BNrYGDPff5MmnYSCmxHnFA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__BNrYGDPff5MmnYSCmxHnFA_; TM__wocyTp7IOGMcSUOpvZBZkw_16_4[0] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[17]; TM__wocyTp7IOGMcSUOpvZBZkw_0[17].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[17].offset = offsetof(tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA, colonstate_); TM__wocyTp7IOGMcSUOpvZBZkw_0[17].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_); TM__wocyTp7IOGMcSUOpvZBZkw_0[17].name = ":state"; TM__wocyTp7IOGMcSUOpvZBZkw_16_4[1] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[18]; TM__wocyTp7IOGMcSUOpvZBZkw_0[18].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[18].offset = offsetof(tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA, s1); TM__wocyTp7IOGMcSUOpvZBZkw_0[18].typ = (&NTI__5KAyQvPxNFGWbzCGol8qKA_); TM__wocyTp7IOGMcSUOpvZBZkw_0[18].name = "s1"; TM__wocyTp7IOGMcSUOpvZBZkw_16_4[2] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[19]; TM__wocyTp7IOGMcSUOpvZBZkw_0[19].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[19].offset = offsetof(tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA, chronosInternalRetFuture2); TM__wocyTp7IOGMcSUOpvZBZkw_0[19].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_); TM__wocyTp7IOGMcSUOpvZBZkw_0[19].name = "chronosInternalRetFuture2"; TM__wocyTp7IOGMcSUOpvZBZkw_16_4[3] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[20]; TM__wocyTp7IOGMcSUOpvZBZkw_0[20].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[20].offset = offsetof(tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA, nameIterVarX60gensym305450813_); TM__wocyTp7IOGMcSUOpvZBZkw_0[20].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_); TM__wocyTp7IOGMcSUOpvZBZkw_0[20].name = "nameIterVar`gensym305450813"; TM__wocyTp7IOGMcSUOpvZBZkw_0[16].len = 4; TM__wocyTp7IOGMcSUOpvZBZkw_0[16].kind = 2; TM__wocyTp7IOGMcSUOpvZBZkw_0[16].sons = &TM__wocyTp7IOGMcSUOpvZBZkw_16_4[0]; NTI__BNrYGDPff5MmnYSCmxHnFA_.node = &TM__wocyTp7IOGMcSUOpvZBZkw_0[16]; NTI__5n4VFP58d1obfg27vaGZ7Q_.size = sizeof(tyObject_Env_inputsdotnim___BNrYGDPff5MmnYSCmxHnFA*); NTI__5n4VFP58d1obfg27vaGZ7Q_.kind = 22; NTI__5n4VFP58d1obfg27vaGZ7Q_.base = (&NTI__BNrYGDPff5MmnYSCmxHnFA_); NTI__5n4VFP58d1obfg27vaGZ7Q_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor" "/nim-faststreams/faststreams/inputs.nim(273, 9)"; NTI__5n4VFP58d1obfg27vaGZ7Q_.nextType = nimTypeRoot; nimTypeRoot=&NTI__5n4VFP58d1obfg27vaGZ7Q_; NTI__5n4VFP58d1obfg27vaGZ7Q_.marker = Marker_tyRef__5n4VFP58d1obfg27vaGZ7Q; NTI__wp5SKVivS28JM61dtlvRag_.size = sizeof(tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag); NTI__wp5SKVivS28JM61dtlvRag_.kind = 17; NTI__wp5SKVivS28JM61dtlvRag_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_); NTI__wp5SKVivS28JM61dtlvRag_.name = "object"; NTI__wp5SKVivS28JM61dtlvRag_.nextType = nimTypeRoot; nimTypeRoot=&NTI__wp5SKVivS28JM61dtlvRag_; TM__wocyTp7IOGMcSUOpvZBZkw_17_5[0] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[22]; TM__wocyTp7IOGMcSUOpvZBZkw_0[22].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[22].offset = offsetof(tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag, colonstate_); TM__wocyTp7IOGMcSUOpvZBZkw_0[22].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_); TM__wocyTp7IOGMcSUOpvZBZkw_0[22].name = ":state"; TM__wocyTp7IOGMcSUOpvZBZkw_17_5[1] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[23]; TM__wocyTp7IOGMcSUOpvZBZkw_0[23].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[23].offset = offsetof(tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag, sX60gensym305600341_); TM__wocyTp7IOGMcSUOpvZBZkw_0[23].typ = (&NTI__5KAyQvPxNFGWbzCGol8qKA_); TM__wocyTp7IOGMcSUOpvZBZkw_0[23].name = "s`gensym305600341"; TM__wocyTp7IOGMcSUOpvZBZkw_17_5[2] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[24]; TM__wocyTp7IOGMcSUOpvZBZkw_0[24].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[24].offset = offsetof(tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag, colonup_); TM__wocyTp7IOGMcSUOpvZBZkw_0[24].typ = (&NTI__5n4VFP58d1obfg27vaGZ7Q_); TM__wocyTp7IOGMcSUOpvZBZkw_0[24].name = ":up"; TM__wocyTp7IOGMcSUOpvZBZkw_17_5[3] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[25]; TM__wocyTp7IOGMcSUOpvZBZkw_0[25].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[25].offset = offsetof(tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag, chronosInternalTmpFuture3); TM__wocyTp7IOGMcSUOpvZBZkw_0[25].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_); TM__wocyTp7IOGMcSUOpvZBZkw_0[25].name = "chronosInternalTmpFuture3"; TM__wocyTp7IOGMcSUOpvZBZkw_17_5[4] = &TM__wocyTp7IOGMcSUOpvZBZkw_0[26]; TM__wocyTp7IOGMcSUOpvZBZkw_0[26].kind = 1; TM__wocyTp7IOGMcSUOpvZBZkw_0[26].offset = offsetof(tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag, result4); TM__wocyTp7IOGMcSUOpvZBZkw_0[26].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_); TM__wocyTp7IOGMcSUOpvZBZkw_0[26].name = "result4"; TM__wocyTp7IOGMcSUOpvZBZkw_0[21].len = 5; TM__wocyTp7IOGMcSUOpvZBZkw_0[21].kind = 2; TM__wocyTp7IOGMcSUOpvZBZkw_0[21].sons = &TM__wocyTp7IOGMcSUOpvZBZkw_17_5[0]; NTI__wp5SKVivS28JM61dtlvRag_.node = &TM__wocyTp7IOGMcSUOpvZBZkw_0[21]; NTI__eDAy4m4euYUAlrC7NTB5XQ_.size = sizeof(tyObject_Env_asyncmacro2dotnim___wp5SKVivS28JM61dtlvRag*); NTI__eDAy4m4euYUAlrC7NTB5XQ_.kind = 22; NTI__eDAy4m4euYUAlrC7NTB5XQ_.base = (&NTI__wp5SKVivS28JM61dtlvRag_); NTI__eDAy4m4euYUAlrC7NTB5XQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor" "/nim-chronos/chronos/asyncmacro2.nim(259, 33)"; NTI__eDAy4m4euYUAlrC7NTB5XQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__eDAy4m4euYUAlrC7NTB5XQ_; NTI__eDAy4m4euYUAlrC7NTB5XQ_.marker = Marker_tyRef__eDAy4m4euYUAlrC7NTB5XQ; }