/* 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 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/libnatpmp-upstream -DENABLE_STRNATPMPERR -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/examples/v1 -o nimcache/release/example/@m..@s..@svendor@snim-eth@seth@sp2p@senode.nim.c.o nimcache/release/example/@m..@s..@svendor@snim-eth@seth@sp2p@senode.nim.c */ #define NIM_INTBITS 64 #include "nimbase.h" #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_ENode__bNRDNKJGQnqT2sH89bsDhBw tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw; typedef struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA; typedef struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ; typedef struct tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA; typedef struct tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; typedef struct tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct tyObject_Uri__j49bukNPrq747O1GRd4Ng9bQ tyObject_Uri__j49bukNPrq747O1GRd4Ng9bQ; typedef struct Exception Exception; typedef struct RootObj RootObj; typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA; typedef struct TSafePoint TSafePoint; 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_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA; typedef struct tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q; typedef struct tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ; typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA; typedef NU8 tyArray__w5VB8h5K8DB3oWrO5U2wqg[64]; struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ {tyArray__w5VB8h5K8DB3oWrO5U2wqg data; }; struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA {tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ data; }; typedef NU8 tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA; typedef NU8 tyArray__qtqsWM5aXmcpMIVmvq3kAA[16]; typedef NU8 tyArray__H8qf9bpC2ziYA2earmO8m7w[4]; struct tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA {tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA family; union{ struct {tyArray__qtqsWM5aXmcpMIVmvq3kAA address_v6; } _family_1; struct {tyArray__H8qf9bpC2ziYA2earmO8m7w address_v4; } _family_2; }; }; struct tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA {tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA ip; NU16 udpPort; NU16 tcpPort; }; struct tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA pubkey; tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA address; }; typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A; typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ; typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op); typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p); struct TNimType {NI size; tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind; tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags; TNimType* base; TNimNode* node; void* finalizer; tyProc__ojoeKfW4VYIm36I9cpDTQIg marker; tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy; NCSTRING name; TNimType* nextType; NI instances; NI sizes; }; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; typedef NU8 tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ; struct tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ {NIM_BOOL o; union{ struct {tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ e; } _o_1; struct {tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw v; } _o_2; }; }; struct TGenericSeq {NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE]; }; struct tyObject_Uri__j49bukNPrq747O1GRd4Ng9bQ {NimStringDesc* scheme; NimStringDesc* username; NimStringDesc* password; NimStringDesc* hostname; NimStringDesc* port; NimStringDesc* path; NimStringDesc* query; NimStringDesc* anchor; NIM_BOOL opaque; }; struct RootObj {TNimType* m_type;}; 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_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_HSlice__EE5dzjqoOrHT6HJhIPXAvA {NI a; NI b; }; struct tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q {NIM_BOOL o; union{ struct {tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ e; } _o_1; struct {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA v; } _o_2; }; }; typedef struct { N_NIMCALL_PTR(tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ, ClP_0) (NCSTRING x_0, void* ClE_0); void* ClE_0; } tyProc__Yl80VFjuq7S9bE9aizOwFtKg; struct tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ {NIM_BOOL o; union{ struct {NCSTRING e; } _o_1; struct {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA v; } _o_2; }; }; typedef N_CLOSURE_PTR(tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ, TM__5p3rEJPVDvOAs69bkZMfUjw_21) (NCSTRING x_0); typedef N_CLOSURE_PTR(tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ, TM__5p3rEJPVDvOAs69bkZMfUjw_22) (NCSTRING x_0, void* ClE_0); struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname; NI line; NCSTRING filename; }; struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA 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, initUri__zcwd3ynrfDQcP9c8k9cEeg9aQ)(tyObject_Uri__j49bukNPrq747O1GRd4Ng9bQ* Result); N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p); N_LIB_PRIVATE N_NIMCALL(void, parseUri__2Afz5k9c4YIkP0o0kpbe9cvQ)(NimStringDesc* uri, tyObject_Uri__j49bukNPrq747O1GRd4Ng9bQ* result); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuToLowerAsciiStr)(NimStringDesc* s_0); static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b); static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size); static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); static N_INLINE(void, pushSafePoint)(TSafePoint* s); static N_INLINE(void, popSafePoint)(void); N_LIB_PRIVATE N_NIMCALL(NI, nsuParseInt)(NimStringDesc* s_0); N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass); static N_INLINE(Exception*, nimBorrowCurrentException)(void); static N_INLINE(void, popCurrentException)(void); static N_INLINE(void, asgnRef)(void** dest, void* src); static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y); static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr); static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y); static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y); static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c); N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void); N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuStartsWith)(NimStringDesc* s, NimStringDesc* prefix); static N_INLINE(NimStringDesc*, X5BX5D___ogYTOKbgqbjPfyC123US1gsystem)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0); N_NIMCALL(NimStringDesc*, mnewString)(NI len); N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b); static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem)(NI a, NI b); N_LIB_PRIVATE N_NIMCALL(tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA, parseIpAddress__1ivqWNphfe1wCfgNmXXOCA)(NimStringDesc* addressStr); N_LIB_PRIVATE N_NIMCALL(tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q, mapErrTo__Z9c9aUJ25tfMkdestE1owz3A)(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ* r); static N_INLINE(tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q, mapErr__PATUqedBvtBZchBcd32tIwresults)(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ* self, tyProc__Yl80VFjuq7S9bE9aizOwFtKg f); N_LIB_PRIVATE N_NOINLINE(void, raiseFieldError)(NimStringDesc* f); N_LIB_PRIVATE N_NIMCALL(tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ, colonanonymous___mTqeF9baUBvAW9bgr59bQ8yVg)(NCSTRING e_0); N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, fromHex__LzknCLHfLV4bCCc8XinCGQ)(NimStringDesc* data_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___cbhSLBlQm0h9cO9cfQ8lXDaw)(tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA address); static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src); static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size); static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___sCk67mWMaXubq9aFhJ4e9cXw)(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA* pubkey); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___RkX9btpg5sQIaP8yYXB6tbA)(NU64 x_0); N_LIB_PRIVATE TNimType NTI__bNRDNKJGQnqT2sH89bsDhBw_; extern TNimType NTI__YxxaGK7KOKaWCOaZ44rHMA_; N_LIB_PRIVATE TNimType NTI__x5U8qnsjGWstAJoOadUZ9aA_; extern TNimType NTI__t0yd6ha54oWXm7nwZ4QqfA_; extern TNimType NTI__M4na42GvebBMnI5wV9cYMxg_; N_LIB_PRIVATE TNimType NTI__dOsBvqflIo9aTtaKFUq4orQ_; STRING_LITERAL(TM__5p3rEJPVDvOAs69bkZMfUjw_7, "enode", 5); STRING_LITERAL(TM__5p3rEJPVDvOAs69bkZMfUjw_9, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/system/iterators.nim(207, 11) `len(a) == L` the l" "ength of the string changed while iterating over it", 178); extern TNimType NTI__yoNlBGx0D2tRizIdhQuENw_; STRING_LITERAL(TM__5p3rEJPVDvOAs69bkZMfUjw_11, "discport=", 9); STRING_LITERAL(TM__5p3rEJPVDvOAs69bkZMfUjw_19, "\'v\' is not accessible using discriminant \'o\' of type \'Result\'", 61); STRING_LITERAL(TM__5p3rEJPVDvOAs69bkZMfUjw_20, "\'e\' is not accessible using discriminant \'o\' of type \'Result\'", 61); STRING_LITERAL(TM__5p3rEJPVDvOAs69bkZMfUjw_23, "[", 1); STRING_LITERAL(TM__5p3rEJPVDvOAs69bkZMfUjw_24, "]", 1); STRING_LITERAL(TM__5p3rEJPVDvOAs69bkZMfUjw_25, "enode://", 8); STRING_LITERAL(TM__5p3rEJPVDvOAs69bkZMfUjw_26, "@", 1); STRING_LITERAL(TM__5p3rEJPVDvOAs69bkZMfUjw_27, ":", 1); STRING_LITERAL(TM__5p3rEJPVDvOAs69bkZMfUjw_28, "\?", 1); extern TNimType* nimTypeRoot; extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g; extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g; 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 Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg; extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q; #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 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) { int result; result = (int)0; #line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" #line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" result = memcmp(a, b, ((size_t) (size))); return result;} #line 2120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size) { NIM_BOOL result; int T1_; result = (NIM_BOOL)0; #line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" T1_ = (int)0; T1_ = nimCmpMem(a, b, size); result = (T1_ == ((NI32) 0)); return result;} #line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) { NIM_BOOL result; NI alen; NI blen;{ result = (NIM_BOOL)0; #line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" #line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" alen = (a ? a->Sup.len : 0); #line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" #line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" blen = (b ? b->Sup.len : 0); #line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" { #line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" if (!(alen == blen)) goto LA3_; #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" { #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" if (!(alen == ((NI) 0))) goto LA7_; #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" result = NIM_TRUE; goto BeforeRet_; } LA7_: ; #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" result = equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen))); goto BeforeRet_; } LA3_: ; }BeforeRet_: ; return result;} #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 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0; #line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" #line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;} #line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) { #line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" (*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));} #line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0; #line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" #line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim" result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;} #line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;} #line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim" static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0; #line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim" #line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim" result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;} #line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) { #line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c); } #line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) { #line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" (*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8)); #line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" { NIM_BOOL T3_; #line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_; #line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c); } LA4_: ; } #line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" static N_INLINE(void, asgnRef)(void** dest, void* src) { #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_; #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" if (!!((src == NIM_NIL))) goto LA3_; #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src); #line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_); } LA3_: ; #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_; #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" if (!!(((*dest) == NIM_NIL))) goto LA8_; #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest)); #line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_); } LA8_: ; #line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim" (*dest) = src;} #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 2429 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(NimStringDesc*, X5BX5D___ogYTOKbgqbjPfyC123US1gsystem)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0) { NimStringDesc* result; NI a; NI L; NI TM__5p3rEJPVDvOAs69bkZMfUjw_13; NI TM__5p3rEJPVDvOAs69bkZMfUjw_14; NI TM__5p3rEJPVDvOAs69bkZMfUjw_15; result = (NimStringDesc*)0; #line 2436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" a = x_0.a; #line 2437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2424 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2424 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" if (nimSubInt((s ? s->Sup.len : 0), x_0.b, &TM__5p3rEJPVDvOAs69bkZMfUjw_13)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__5p3rEJPVDvOAs69bkZMfUjw_13), a, &TM__5p3rEJPVDvOAs69bkZMfUjw_14)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__5p3rEJPVDvOAs69bkZMfUjw_14), ((NI) 1), &TM__5p3rEJPVDvOAs69bkZMfUjw_15)) { raiseOverflow(); }; L = (NI)(TM__5p3rEJPVDvOAs69bkZMfUjw_15); #line 2438 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2438 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" if ((L) < ((NI) 0) || (L) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(L, ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 2438 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" result = mnewString(((NI) (L))); { NI i; NI i_2; i = (NI)0; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" i_2 = ((NI) 0); { #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" while (1) { NI TM__5p3rEJPVDvOAs69bkZMfUjw_16; NI TM__5p3rEJPVDvOAs69bkZMfUjw_17; #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (!(i_2 < L)) goto LA3; #line 2439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" i = i_2; if ((NU)(i) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(i,(result ? result->Sup.len : 0)-1); } #line 2439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" if (nimAddInt(i, a, &TM__5p3rEJPVDvOAs69bkZMfUjw_16)) { raiseOverflow(); }; if ((NU)((NI)(TM__5p3rEJPVDvOAs69bkZMfUjw_16)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__5p3rEJPVDvOAs69bkZMfUjw_16),(s ? s->Sup.len : 0)-1); } result->data[i] = s->data[(NI)(TM__5p3rEJPVDvOAs69bkZMfUjw_16)]; #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (nimAddInt(i_2, ((NI) 1), &TM__5p3rEJPVDvOAs69bkZMfUjw_17)) { raiseOverflow(); }; i_2 = (NI)(TM__5p3rEJPVDvOAs69bkZMfUjw_17); } LA3: ; } } return result;} #line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem)(NI a, NI b) { tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result; nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA)); #line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA)); result.a = a; result.b = b; return result;} #line 360 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" static N_INLINE(tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q, mapErr__PATUqedBvtBZchBcd32tIwresults)(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ* self, tyProc__Yl80VFjuq7S9bE9aizOwFtKg f) { tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q result; nimZeroMem((void*)(&result), sizeof(tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q)); #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" { if (!(*self).o) goto LA3_; #line 300 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q)); result.o = NIM_TRUE; if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_19)); } result._o_2.v = (*self)._o_2.v; } goto LA1_; LA3_: ; { #line 319 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q)); result.o = NIM_FALSE; #line 364 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_20)); } result._o_1.e = f.ClE_0? f.ClP_0((*self)._o_1.e, f.ClE_0):((TM__5p3rEJPVDvOAs69bkZMfUjw_21)(f.ClP_0))((*self)._o_1.e); } LA1_: ; return result;} #line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" N_LIB_PRIVATE N_NIMCALL(tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ, colonanonymous___mTqeF9baUBvAW9bgr59bQ8yVg)(NCSTRING e_0) { tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ result; result = (tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ)0; #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" result = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 0); return result;} #line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" N_LIB_PRIVATE N_NIMCALL(tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q, mapErrTo__Z9c9aUJ25tfMkdestE1owz3A)(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ* r) { tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q result; tyProc__Yl80VFjuq7S9bE9aizOwFtKg T1_; nimZeroMem((void*)(&result), sizeof(tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q)); #line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" nimZeroMem((void*)(&T1_), sizeof(tyProc__Yl80VFjuq7S9bE9aizOwFtKg)); T1_.ClP_0 = ((TM__5p3rEJPVDvOAs69bkZMfUjw_22) (colonanonymous___mTqeF9baUBvAW9bgr59bQ8yVg)); T1_.ClE_0 = NIM_NIL; #line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" result = mapErr__PATUqedBvtBZchBcd32tIwresults(r, T1_); return result;} #line 45 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" N_LIB_PRIVATE N_NIMCALL(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ, fromString__XcBztQFZOc1Ek3qHT5vq8w)(NimStringDesc* e_0) { tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ volatile result; NI volatile uport; NI volatile tport; tyObject_Uri__j49bukNPrq747O1GRd4Ng9bQ uri; TSafePoint TM__5p3rEJPVDvOAs69bkZMfUjw_10; tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA volatile ip_1; TSafePoint TM__5p3rEJPVDvOAs69bkZMfUjw_18; tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA pubkey; tyObject_Result__gfXNJLUvZDWOWoEpmwG13Q vX60gensym41945077_; tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ T77_;{ nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); #line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" uport = ((NI) 0); #line 49 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" tport = ((NI) 0); nimZeroMem((void*)(&uri), sizeof(tyObject_Uri__j49bukNPrq747O1GRd4Ng9bQ)); #line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" initUri__zcwd3ynrfDQcP9c8k9cEeg9aQ((&uri)); #line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { #line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" if (!((e_0 ? e_0->Sup.len : 0) == ((NI) 0))) goto LA3_; #line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 5); goto BeforeRet_; } LA3_: ; #line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" parseUri__2Afz5k9c4YIkP0o0kpbe9cvQ(e_0, (&uri)); #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { NIM_BOOL T7_; NimStringDesc* T9_; #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T7_ = (NIM_BOOL)0; #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T7_ = ((uri.scheme ? uri.scheme->Sup.len : 0) == ((NI) 0)); if (T7_) goto LA8_; #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T9_ = (NimStringDesc*)0; T9_ = nsuToLowerAsciiStr(uri.scheme); T7_ = !(eqStrings(T9_, ((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_7))); LA8_: ; if (!T7_) goto LA10_; #line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 1); goto BeforeRet_; } LA10_: ; #line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { #line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" if (!!(((uri.username ? uri.username->Sup.len : 0) == ((NI) 128)))) goto LA14_; #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 0); goto BeforeRet_; } LA14_: ; { NIM_CHAR i; NI i_2; NI L; i = (NIM_CHAR)0; #line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" i_2 = ((NI) 0); #line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" L = (uri.username ? uri.username->Sup.len : 0); { #line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" while (1) { NI TM__5p3rEJPVDvOAs69bkZMfUjw_8; #line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(i_2 < L)) goto LA18; #line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" if ((NU)(i_2) >= (NU)(uri.username ? uri.username->Sup.len : 0)){ raiseIndexError2(i_2,(uri.username ? uri.username->Sup.len : 0)-1); } i = uri.username->data[i_2]; #line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { #line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" if (!!((((NU8)(i)) >= ((NU8)(65)) && ((NU8)(i)) <= ((NU8)(70)) || ((NU8)(i)) >= ((NU8)(97)) && ((NU8)(i)) <= ((NU8)(102)) || ((NU8)(i)) >= ((NU8)(48)) && ((NU8)(i)) <= ((NU8)(57))))) goto LA21_; #line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 0); goto BeforeRet_; } LA21_: ; #line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (nimAddInt(i_2, ((NI) 1), &TM__5p3rEJPVDvOAs69bkZMfUjw_8)) { raiseOverflow(); }; i_2 = (NI)(TM__5p3rEJPVDvOAs69bkZMfUjw_8); #line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" { #line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!!(((uri.username ? uri.username->Sup.len : 0) == L))) goto LA25_; #line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_9)); } LA25_: ; } LA18: ; } } #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { NIM_BOOL T29_; NIM_BOOL T30_; #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T29_ = (NIM_BOOL)0; #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T30_ = (NIM_BOOL)0; #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T30_ = !(((uri.password ? uri.password->Sup.len : 0) == ((NI) 0))); if (T30_) goto LA31_; #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T30_ = !(((uri.path ? uri.path->Sup.len : 0) == ((NI) 0))); LA31_: ; T29_ = T30_; if (T29_) goto LA32_; #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T29_ = !(((uri.anchor ? uri.anchor->Sup.len : 0) == ((NI) 0))); LA32_: ; if (!T29_) goto LA33_; #line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 5); goto BeforeRet_; } LA33_: ; #line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { #line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" if (!((uri.hostname ? uri.hostname->Sup.len : 0) == ((NI) 0))) goto LA37_; #line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 2); goto BeforeRet_; } LA37_: ; #line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" pushSafePoint(&TM__5p3rEJPVDvOAs69bkZMfUjw_10); TM__5p3rEJPVDvOAs69bkZMfUjw_10.status = setjmp(TM__5p3rEJPVDvOAs69bkZMfUjw_10.context); if (TM__5p3rEJPVDvOAs69bkZMfUjw_10.status == 0) { #line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { #line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" if (!((uri.port ? uri.port->Sup.len : 0) == ((NI) 0))) goto LA42_; #line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 3); popSafePoint(); goto BeforeRet_; } LA42_: ; #line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" tport = nsuParseInt(uri.port); #line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { NIM_BOOL T46_; #line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T46_ = (NIM_BOOL)0; #line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T46_ = (tport <= ((NI) 0)); if (T46_) goto LA47_; #line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T46_ = (((NI) 65535) < tport); LA47_: ; if (!T46_) goto LA48_; #line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 3); popSafePoint(); goto BeforeRet_; } LA48_: ; popSafePoint(); } else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__yoNlBGx0D2tRizIdhQuENw_))) { TM__5p3rEJPVDvOAs69bkZMfUjw_10.status = 0; #line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 3); popCurrentException(); goto BeforeRet_; popCurrentException(); } } if (TM__5p3rEJPVDvOAs69bkZMfUjw_10.status != 0) reraiseException(); #line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { TSafePoint TM__5p3rEJPVDvOAs69bkZMfUjw_12; #line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" if (!(((NI) 0) < (uri.query ? uri.query->Sup.len : 0))) goto LA54_; #line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { NimStringDesc* T58_; NIM_BOOL T59_; #line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T58_ = (NimStringDesc*)0; T58_ = nsuToLowerAsciiStr(uri.query); #line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T59_ = (NIM_BOOL)0; T59_ = nsuStartsWith(T58_, ((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_11)); if (!!(T59_)) goto LA60_; #line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 4); goto BeforeRet_; } LA60_: ; #line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" pushSafePoint(&TM__5p3rEJPVDvOAs69bkZMfUjw_12); TM__5p3rEJPVDvOAs69bkZMfUjw_12.status = setjmp(TM__5p3rEJPVDvOAs69bkZMfUjw_12.context); if (TM__5p3rEJPVDvOAs69bkZMfUjw_12.status == 0) { tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T63_; NimStringDesc* T64_; #line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T63_ = dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem(((NI) 9), ((NI) 1)); #line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T64_ = (NimStringDesc*)0; T64_ = X5BX5D___ogYTOKbgqbjPfyC123US1gsystem(uri.query, T63_); #line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" uport = nsuParseInt(T64_); #line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { NIM_BOOL T67_; #line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T67_ = (NIM_BOOL)0; #line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T67_ = (uport <= ((NI) 0)); if (T67_) goto LA68_; #line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T67_ = (((NI) 65535) < uport); LA68_: ; if (!T67_) goto LA69_; #line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 4); popSafePoint(); goto BeforeRet_; } LA69_: ; popSafePoint(); } else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__yoNlBGx0D2tRizIdhQuENw_))) { TM__5p3rEJPVDvOAs69bkZMfUjw_12.status = 0; #line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 4); popCurrentException(); goto BeforeRet_; popCurrentException(); } } if (TM__5p3rEJPVDvOAs69bkZMfUjw_12.status != 0) reraiseException(); } goto LA52_; LA54_: ; { #line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" uport = tport; } LA52_: ; nimZeroMem((void*)(&ip_1), sizeof(tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA)); #line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" pushSafePoint(&TM__5p3rEJPVDvOAs69bkZMfUjw_18); TM__5p3rEJPVDvOAs69bkZMfUjw_18.status = setjmp(TM__5p3rEJPVDvOAs69bkZMfUjw_18.context); if (TM__5p3rEJPVDvOAs69bkZMfUjw_18.status == 0) { #line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" ip_1 = parseIpAddress__1ivqWNphfe1wCfgNmXXOCA(uri.hostname); popSafePoint(); } else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__yoNlBGx0D2tRizIdhQuENw_))) { TM__5p3rEJPVDvOAs69bkZMfUjw_18.status = 0; #line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; result._o_1.e = ((tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ) 2); popCurrentException(); goto BeforeRet_; popCurrentException(); } } if (TM__5p3rEJPVDvOAs69bkZMfUjw_18.status != 0) reraiseException(); #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 657 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T77_ = fromHex__LzknCLHfLV4bCCc8XinCGQ(uri.username); #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" vX60gensym41945077_ = mapErrTo__Z9c9aUJ25tfMkdestE1owz3A((&T77_)); #line 658 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" { #line 658 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" if (!!(vX60gensym41945077_.o)) goto LA80_; #line 662 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" #line 662 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_FALSE; if (!(((1 &(1U<<((NU)(vX60gensym41945077_.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_20)); } result._o_1.e = vX60gensym41945077_._o_1.e; goto BeforeRet_; } LA80_: ; if (!(((2 &(1U<<((NU)(vX60gensym41945077_.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_19)); } pubkey = vX60gensym41945077_._o_2.v; chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ)); result.o = NIM_TRUE; chckNil((void*)(&result._o_2.v)); nimZeroMem((void*)(&result._o_2.v), sizeof(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw)); result._o_2.v.pubkey = pubkey; chckNil((void*)(&result._o_2.v.address)); nimZeroMem((void*)(&result._o_2.v.address), sizeof(tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA)); result._o_2.v.address.ip = ip_1; result._o_2.v.address.tcpPort = ((NU16) (tport)); result._o_2.v.address.udpPort = ((NU16) (uport)); }BeforeRet_: ; return result;} #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 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) { #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" { #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" if (!!((src == NIM_NIL))) goto LA3_; #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1))))); #line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" (*dest).Sup.len += (*src).Sup.len; } LA3_: ; } #line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___p1bJHljb0IASfa1yPunfKA)(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw* n_0) { NimStringDesc* result; NimStringDesc* ipaddr; NimStringDesc* T8_; result = (NimStringDesc*)0; ipaddr = (NimStringDesc*)0; #line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { #line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" if (!((*n_0).address.ip.family == ((tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA) 1))) goto LA3_; #line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" ipaddr = dollar___cbhSLBlQm0h9cO9cfQ8lXDaw((*n_0).address.ip); } goto LA1_; LA3_: ; { NimStringDesc* T6_; NimStringDesc* T7_; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T6_ = (NimStringDesc*)0; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T7_ = (NimStringDesc*)0; T7_ = dollar___cbhSLBlQm0h9cO9cfQ8lXDaw((*n_0).address.ip); T6_ = rawNewString((T7_ ? T7_->Sup.len : 0) + 2);appendString(T6_, ((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_23));appendString(T6_, T7_);appendString(T6_, ((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_24)); ipaddr = T6_; } LA1_: ; #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" result = mnewString(((NI) 0)); #line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" result = resizeString(result, 8);appendString(result, ((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_25)); #line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T8_ = (NimStringDesc*)0; T8_ = dollar___sCk67mWMaXubq9aFhJ4e9cXw((&(*n_0).pubkey)); result = resizeString(result, (T8_ ? T8_->Sup.len : 0) + 0);appendString(result, T8_); #line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" result = resizeString(result, 1);appendString(result, ((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_26)); #line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" result = resizeString(result, (ipaddr ? ipaddr->Sup.len : 0) + 0);appendString(result, ipaddr); #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { NimStringDesc* T13_; #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" if (!!(((*n_0).address.tcpPort == ((NU16) 0)))) goto LA11_; #line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" result = resizeString(result, 1);appendString(result, ((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_27)); #line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T13_ = (NimStringDesc*)0; T13_ = nimIntToStr(((NI) ((*n_0).address.tcpPort))); result = resizeString(result, (T13_ ? T13_->Sup.len : 0) + 0);appendString(result, T13_); } LA11_: ; #line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" { NimStringDesc* T18_; #line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" if (!!(((*n_0).address.udpPort == (*n_0).address.tcpPort))) goto LA16_; #line 127 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" result = resizeString(result, 1);appendString(result, ((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_28)); #line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" result = resizeString(result, 9);appendString(result, ((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_11)); #line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T18_ = (NimStringDesc*)0; T18_ = nimIntToStr(((NI) ((*n_0).address.udpPort))); result = resizeString(result, (T18_ ? T18_->Sup.len : 0) + 0);appendString(result, T18_); } LA16_: ; return result;} #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___vwt7SoQV3C9aX9bXa79a80YAQ)(tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA a) { NimStringDesc* result; NimStringDesc* T1_; NimStringDesc* T2_; NimStringDesc* T3_; NimStringDesc* T4_; NimStringDesc* T5_; result = (NimStringDesc*)0; #line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T1_ = (NimStringDesc*)0; T1_ = dollar___cbhSLBlQm0h9cO9cfQ8lXDaw(a.ip); result = resizeString(result, (T1_ ? T1_->Sup.len : 0) + 0);appendString(result, T1_); #line 133 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 133 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T2_ = (NimStringDesc*)0; #line 133 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 133 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T3_ = (NimStringDesc*)0; T3_ = dollar___RkX9btpg5sQIaP8yYXB6tbA(a.udpPort); T2_ = rawNewString((T3_ ? T3_->Sup.len : 0) + 1);appendString(T2_, ((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_27));appendString(T2_, T3_); result = resizeString(result, (T2_ ? T2_->Sup.len : 0) + 0);appendString(result, T2_); #line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T4_ = (NimStringDesc*)0; #line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" #line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/enode.nim" T5_ = (NimStringDesc*)0; T5_ = dollar___RkX9btpg5sQIaP8yYXB6tbA(a.tcpPort); T4_ = rawNewString((T5_ ? T5_->Sup.len : 0) + 1);appendString(T4_, ((NimStringDesc*) &TM__5p3rEJPVDvOAs69bkZMfUjw_27));appendString(T4_, T5_); result = resizeString(result, (T4_ ? T4_->Sup.len : 0) + 0);appendString(result, T4_); return result;} N_LIB_PRIVATE N_NIMCALL(void, eth_enodeDatInit000)(void) { #line 999999 "generated_not_to_break_here" static TNimNode* TM__5p3rEJPVDvOAs69bkZMfUjw_2_2[2]; static TNimNode* TM__5p3rEJPVDvOAs69bkZMfUjw_3_3[3]; static TNimNode* TM__5p3rEJPVDvOAs69bkZMfUjw_4_7[7]; NI TM__5p3rEJPVDvOAs69bkZMfUjw_6; static char* NIM_CONST TM__5p3rEJPVDvOAs69bkZMfUjw_5[7] = { "enode: incorrect public key", "enode: incorrect URI scheme", "enode: incorrect IP address", "enode: incorrect TCP port", "enode: incorrect UDP discovery port", "enode: incorrect URI", "enode: incomplete ENODE object"}; static TNimNode TM__5p3rEJPVDvOAs69bkZMfUjw_0[15];NTI__bNRDNKJGQnqT2sH89bsDhBw_.size = sizeof(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw); NTI__bNRDNKJGQnqT2sH89bsDhBw_.kind = 18; NTI__bNRDNKJGQnqT2sH89bsDhBw_.base = 0; NTI__bNRDNKJGQnqT2sH89bsDhBw_.flags = 3; NTI__bNRDNKJGQnqT2sH89bsDhBw_.name = "ENode"; NTI__bNRDNKJGQnqT2sH89bsDhBw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__bNRDNKJGQnqT2sH89bsDhBw_; TM__5p3rEJPVDvOAs69bkZMfUjw_2_2[0] = &TM__5p3rEJPVDvOAs69bkZMfUjw_0[1]; TM__5p3rEJPVDvOAs69bkZMfUjw_0[1].kind = 1; TM__5p3rEJPVDvOAs69bkZMfUjw_0[1].offset = offsetof(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw, pubkey); TM__5p3rEJPVDvOAs69bkZMfUjw_0[1].typ = (&NTI__YxxaGK7KOKaWCOaZ44rHMA_); TM__5p3rEJPVDvOAs69bkZMfUjw_0[1].name = "pubkey"; TM__5p3rEJPVDvOAs69bkZMfUjw_2_2[1] = &TM__5p3rEJPVDvOAs69bkZMfUjw_0[2]; NTI__x5U8qnsjGWstAJoOadUZ9aA_.size = sizeof(tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA); NTI__x5U8qnsjGWstAJoOadUZ9aA_.kind = 18; NTI__x5U8qnsjGWstAJoOadUZ9aA_.base = 0; NTI__x5U8qnsjGWstAJoOadUZ9aA_.flags = 3; NTI__x5U8qnsjGWstAJoOadUZ9aA_.name = "Address"; NTI__x5U8qnsjGWstAJoOadUZ9aA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__x5U8qnsjGWstAJoOadUZ9aA_; TM__5p3rEJPVDvOAs69bkZMfUjw_3_3[0] = &TM__5p3rEJPVDvOAs69bkZMfUjw_0[4]; TM__5p3rEJPVDvOAs69bkZMfUjw_0[4].kind = 1; TM__5p3rEJPVDvOAs69bkZMfUjw_0[4].offset = offsetof(tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA, ip); TM__5p3rEJPVDvOAs69bkZMfUjw_0[4].typ = (&NTI__t0yd6ha54oWXm7nwZ4QqfA_); TM__5p3rEJPVDvOAs69bkZMfUjw_0[4].name = "ip"; TM__5p3rEJPVDvOAs69bkZMfUjw_3_3[1] = &TM__5p3rEJPVDvOAs69bkZMfUjw_0[5]; TM__5p3rEJPVDvOAs69bkZMfUjw_0[5].kind = 1; TM__5p3rEJPVDvOAs69bkZMfUjw_0[5].offset = offsetof(tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA, udpPort); TM__5p3rEJPVDvOAs69bkZMfUjw_0[5].typ = (&NTI__M4na42GvebBMnI5wV9cYMxg_); TM__5p3rEJPVDvOAs69bkZMfUjw_0[5].name = "udpPort"; TM__5p3rEJPVDvOAs69bkZMfUjw_3_3[2] = &TM__5p3rEJPVDvOAs69bkZMfUjw_0[6]; TM__5p3rEJPVDvOAs69bkZMfUjw_0[6].kind = 1; TM__5p3rEJPVDvOAs69bkZMfUjw_0[6].offset = offsetof(tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA, tcpPort); TM__5p3rEJPVDvOAs69bkZMfUjw_0[6].typ = (&NTI__M4na42GvebBMnI5wV9cYMxg_); TM__5p3rEJPVDvOAs69bkZMfUjw_0[6].name = "tcpPort"; TM__5p3rEJPVDvOAs69bkZMfUjw_0[3].len = 3; TM__5p3rEJPVDvOAs69bkZMfUjw_0[3].kind = 2; TM__5p3rEJPVDvOAs69bkZMfUjw_0[3].sons = &TM__5p3rEJPVDvOAs69bkZMfUjw_3_3[0]; NTI__x5U8qnsjGWstAJoOadUZ9aA_.node = &TM__5p3rEJPVDvOAs69bkZMfUjw_0[3]; TM__5p3rEJPVDvOAs69bkZMfUjw_0[2].kind = 1; TM__5p3rEJPVDvOAs69bkZMfUjw_0[2].offset = offsetof(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw, address); TM__5p3rEJPVDvOAs69bkZMfUjw_0[2].typ = (&NTI__x5U8qnsjGWstAJoOadUZ9aA_); TM__5p3rEJPVDvOAs69bkZMfUjw_0[2].name = "address"; TM__5p3rEJPVDvOAs69bkZMfUjw_0[0].len = 2; TM__5p3rEJPVDvOAs69bkZMfUjw_0[0].kind = 2; TM__5p3rEJPVDvOAs69bkZMfUjw_0[0].sons = &TM__5p3rEJPVDvOAs69bkZMfUjw_2_2[0]; NTI__bNRDNKJGQnqT2sH89bsDhBw_.node = &TM__5p3rEJPVDvOAs69bkZMfUjw_0[0]; NTI__dOsBvqflIo9aTtaKFUq4orQ_.size = sizeof(tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ); NTI__dOsBvqflIo9aTtaKFUq4orQ_.kind = 14; NTI__dOsBvqflIo9aTtaKFUq4orQ_.base = 0; NTI__dOsBvqflIo9aTtaKFUq4orQ_.flags = 3; NTI__dOsBvqflIo9aTtaKFUq4orQ_.name = "ENodeError"; NTI__dOsBvqflIo9aTtaKFUq4orQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__dOsBvqflIo9aTtaKFUq4orQ_; for (TM__5p3rEJPVDvOAs69bkZMfUjw_6 = 0; TM__5p3rEJPVDvOAs69bkZMfUjw_6 < 7; TM__5p3rEJPVDvOAs69bkZMfUjw_6++) { TM__5p3rEJPVDvOAs69bkZMfUjw_0[TM__5p3rEJPVDvOAs69bkZMfUjw_6+7].kind = 1; TM__5p3rEJPVDvOAs69bkZMfUjw_0[TM__5p3rEJPVDvOAs69bkZMfUjw_6+7].offset = TM__5p3rEJPVDvOAs69bkZMfUjw_6; TM__5p3rEJPVDvOAs69bkZMfUjw_0[TM__5p3rEJPVDvOAs69bkZMfUjw_6+7].name = TM__5p3rEJPVDvOAs69bkZMfUjw_5[TM__5p3rEJPVDvOAs69bkZMfUjw_6]; TM__5p3rEJPVDvOAs69bkZMfUjw_4_7[TM__5p3rEJPVDvOAs69bkZMfUjw_6] = &TM__5p3rEJPVDvOAs69bkZMfUjw_0[TM__5p3rEJPVDvOAs69bkZMfUjw_6+7]; } TM__5p3rEJPVDvOAs69bkZMfUjw_0[14].len = 7; TM__5p3rEJPVDvOAs69bkZMfUjw_0[14].kind = 2; TM__5p3rEJPVDvOAs69bkZMfUjw_0[14].sons = &TM__5p3rEJPVDvOAs69bkZMfUjw_4_7[0]; NTI__dOsBvqflIo9aTtaKFUq4orQ_.node = &TM__5p3rEJPVDvOAs69bkZMfUjw_0[14]; }