nwaku/nimcache/release/example/@m..@s..@svendor@snim-eth@seth@sp2p@sdiscovery.nim.c

4241 lines
299 KiB
C

/* Generated by Nim Compiler v1.2.6 */
/* (c) 2020 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Linux, amd64, gcc */
/* Command for C compiler:
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-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@sdiscovery.nim.c.o nimcache/release/example/@m..@s..@svendor@snim-eth@seth@sp2p@sdiscovery.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <sys/types.h>
#include <pthread.h>
#include <string.h>
#include <sys/socket.h>
#include <setjmp.h>
#include "bearssl_rand.h"
#include "bearssl_hash.h"
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
#define nimfr_(x, y)
#define nimln_(x, y)
typedef struct tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg;
typedef struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w;
typedef struct tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA;
typedef struct tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA;
typedef struct tySequence__Wq0ZcI6MO5RSp6EwbCW5fA tySequence__Wq0ZcI6MO5RSp6EwbCW5fA;
typedef struct tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg;
typedef struct tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw;
typedef struct tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw;
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_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA;
typedef struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ;
typedef struct tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg;
typedef struct tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA;
typedef struct tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g;
typedef struct tyObject_RoutingTable__wrJgHm52cMnVGGTyRmqsGw tyObject_RoutingTable__wrJgHm52cMnVGGTyRmqsGw;
typedef struct tySequence__8y8hhoTs9bVn1no7HCdDJwQ tySequence__8y8hhoTs9bVn1no7HCdDJwQ;
typedef struct tyObject_Table__gZoQEO4V3muc0g6lD9aIb2Q tyObject_Table__gZoQEO4V3muc0g6lD9aIb2Q;
typedef struct tySequence__ZGDdbXPD9bUBYNLtwtuTWrA tySequence__ZGDdbXPD9bUBYNLtwtuTWrA;
typedef struct tyObject_Table__G9cDI1Dr3nt9bkFZ69cYb2hpA tyObject_Table__G9cDI1Dr3nt9bkFZ69cYb2hpA;
typedef struct tySequence__bqBMFIjg0BA9aW4cUrDr4aw tySequence__bqBMFIjg0BA9aW4cUrDr4aw;
typedef struct tyObject_Table__4n5kcfi9ae2XAgDxZKNVtjg tyObject_Table__4n5kcfi9ae2XAgDxZKNVtjg;
typedef struct tySequence__Yjh7j69bRJilZ9ctrRBprjIw tySequence__Yjh7j69bRJilZ9ctrRBprjIw;
typedef struct tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw;
typedef struct RootObj RootObj;
typedef struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
typedef struct Exception Exception;
typedef struct tyObject_Deque__tn5bG5vGWmrwQA3LE85F2Q tyObject_Deque__tn5bG5vGWmrwQA3LE85F2Q;
typedef struct tySequence__634p7k2qRZ6xIoL20WJxPQ tySequence__634p7k2qRZ6xIoL20WJxPQ;
typedef struct tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA;
typedef struct tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ;
typedef struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw;
typedef struct tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg;
typedef struct tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ;
typedef struct tyObject_RlpError__ENkbLoxFdDxL9aDUnEQeCuw tyObject_RlpError__ENkbLoxFdDxL9aDUnEQeCuw;
typedef struct tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA;
typedef struct tyObject_BufferedOutput__8P9alBgCoSqOy9alEKOH4etg tyObject_BufferedOutput__8P9alBgCoSqOy9alEKOH4etg;
typedef struct tyTuple__yobv8JsmBBRNC1NIieLJzQ tyTuple__yobv8JsmBBRNC1NIieLJzQ;
typedef struct tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA;
typedef struct NimStringDesc NimStringDesc;
typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
typedef struct tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
typedef struct TSafePoint TSafePoint;
typedef struct tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw;
typedef struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw tyObject_MDigest__law9ct65KplMYBvtmjCQxbw;
typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
typedef struct tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ;
typedef struct tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA;
typedef struct tyObject_secp256k1_ecdsa_recoverable_signature__OOP9ck9bXU6uuG4T9bRTry9a4w tyObject_secp256k1_ecdsa_recoverable_signature__OOP9ck9bXU6uuG4T9bRTry9a4w;
typedef struct tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw;
typedef struct tyTuple__2ctLf7OIXOFHrPu39aLDKvg tyTuple__2ctLf7OIXOFHrPu39aLDKvg;
typedef struct tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA;
typedef struct tyTuple__Boxofyx0cfbCs9baoLqmiMQ tyTuple__Boxofyx0cfbCs9baoLqmiMQ;
typedef struct tyObject_RlpWriter__5wlnwCMsmWR0hwp89bvcZqQ tyObject_RlpWriter__5wlnwCMsmWR0hwp89bvcZqQ;
typedef struct tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg;
typedef struct tySequence__qkV9cggxceO9cpfUWIbCnvJg tySequence__qkV9cggxceO9cpfUWIbCnvJg;
typedef struct tyTuple__ip0pB3Eij9bXXLxUfAIMyIg tyTuple__ip0pB3Eij9bXXLxUfAIMyIg;
typedef struct tySequence__XiuSuFrsuhroELW874HXhA tySequence__XiuSuFrsuhroELW874HXhA;
typedef struct tyTuple__akue9c3LnOr29bcgBFD7a0Vg tyTuple__akue9c3LnOr29bcgBFD7a0Vg;
typedef struct tyTuple__2KY7pfkFge4RCMsQ8kRGsw tyTuple__2KY7pfkFge4RCMsQ8kRGsw;
typedef struct tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw;
typedef struct tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w;
typedef struct tyTuple__gaGbVzehQOxhH9cAN1FlIyg tyTuple__gaGbVzehQOxhH9cAN1FlIyg;
typedef struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA;
typedef struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q;
typedef struct tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ;
typedef struct tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg;
typedef struct tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ;
typedef struct tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw;
typedef struct tyObject_KBucketcolonObjectType___WQiQdZ7rHpARW9cCKtu1c9aA tyObject_KBucketcolonObjectType___WQiQdZ7rHpARW9cCKtu1c9aA;
typedef struct tyTuple__Qptir78YkKhpx9ams3lvtsw tyTuple__Qptir78YkKhpx9ams3lvtsw;
typedef struct tyObject_FuturecolonObjectType___7r4oeIrX2n9aOSLbv8vKLiw tyObject_FuturecolonObjectType___7r4oeIrX2n9aOSLbv8vKLiw;
typedef struct tyTuple__MsTR86jOxY4TjADGXDQ9cYw tyTuple__MsTR86jOxY4TjADGXDQ9cYw;
typedef struct tyTuple__beG4ILF8HR8pW2ufrKnHug tyTuple__beG4ILF8HR8pW2ufrKnHug;
typedef struct tyObject_GramVector__ylu1Kvi4Z1kJk0NIVrrMBQ tyObject_GramVector__ylu1Kvi4Z1kJk0NIVrrMBQ;
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
typedef struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw;
typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32];
struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg 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_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg {tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w privKey;
tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA address;
tySequence__Wq0ZcI6MO5RSp6EwbCW5fA* bootstrapNodes;
tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* thisNode;
tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw* kademlia;
tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ* transp;
};
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {NI size;
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
NCSTRING name;
TNimType* nextType;
NI instances;
NI sizes;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct TGenericSeq {NI len;
NI reserved;
};
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;
};
typedef NU8 tyArray__w5VB8h5K8DB3oWrO5U2wqg[64];
struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ {tyArray__w5VB8h5K8DB3oWrO5U2wqg data;
};
struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA {tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ data;
};
struct tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA pubkey;
tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA address;
};
struct tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g {NU64 lo;
NU64 hi;
};
struct tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA {tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g lo;
tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g hi;
};
struct tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg {tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA data;
};
struct tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg {tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw node;
tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg id;
};
struct tyObject_RoutingTable__wrJgHm52cMnVGGTyRmqsGw {tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* thisNode;
tySequence__8y8hhoTs9bVn1no7HCdDJwQ* buckets;
};
struct tyObject_Table__gZoQEO4V3muc0g6lD9aIb2Q {tySequence__ZGDdbXPD9bUBYNLtwtuTWrA* data;
NI counter;
};
struct tyObject_Table__G9cDI1Dr3nt9bkFZ69cYb2hpA {tySequence__bqBMFIjg0BA9aW4cUrDr4aw* data;
NI counter;
};
struct tyObject_Table__4n5kcfi9ae2XAgDxZKNVtjg {tySequence__Yjh7j69bRJilZ9ctrRBprjIw* data;
NI counter;
};
struct tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw {tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* wire;
tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* thisNode;
tyObject_RoutingTable__wrJgHm52cMnVGGTyRmqsGw routing;
tyObject_Table__gZoQEO4V3muc0g6lD9aIb2Q pongFutures;
tyObject_Table__G9cDI1Dr3nt9bkFZ69cYb2hpA pingFutures;
tyObject_Table__4n5kcfi9ae2XAgDxZKNVtjg neighboursCallbacks;
br_hmac_drbg_context* rng;
};
typedef NU8 tyEnum_AddressFamily__ISHglMoDNRIPCY0ku2DcvA;
typedef NU8 tyArray__82HHG9cFXBx30wZlwBk6mvQ[108];
struct tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw {tyEnum_AddressFamily__ISHglMoDNRIPCY0ku2DcvA family;
union{
struct {tyArray__H8qf9bpC2ziYA2earmO8m7w address_v4;
} _family_2;
struct {tyArray__qtqsWM5aXmcpMIVmvq3kAA address_v6;
} _family_3;
struct {tyArray__82HHG9cFXBx30wZlwBk6mvQ address_un;
} _family_4;
};
NU16 port;
};
struct RootObj {TNimType* m_type;};
typedef NU16 tySet_tyEnum_TransportState__e25XYyyNRRgGm3NZuCKNOA;
typedef NU8 tySet_tyEnum_ServerFlags__H6BFISi2WcGaq7HUYeffKg;
struct tyObject_Deque__tn5bG5vGWmrwQA3LE85F2Q {tySequence__634p7k2qRZ6xIoL20WJxPQ* data;
NI head;
NI tail;
NI count;
NI mask;
};
typedef struct {
N_NIMCALL_PTR(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, ClP_0) (tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ* transp, tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw* remote, void* ClE_0);
void* ClE_0;
} tyProc__Kg7UAcnbZpWDUmuK0NqByw;
typedef NIM_CHAR tyArray__88cL9aIjR1409cgg9c9cQ0gIvw[118];
struct tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ { RootObj Sup;int fd;
tySet_tyEnum_TransportState__e25XYyyNRRgGm3NZuCKNOA state;
tySet_tyEnum_ServerFlags__H6BFISi2WcGaq7HUYeffKg flags;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* buffer;
NI buflen;
Exception* error;
tyObject_Deque__tn5bG5vGWmrwQA3LE85F2Q queue;
tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw local;
tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw remote;
void* udata;
tyProc__Kg7UAcnbZpWDUmuK0NqByw function;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future;
struct sockaddr_storage raddr;
socklen_t ralen;
struct sockaddr_storage waddr;
socklen_t walen;
};
typedef struct {
N_NIMCALL_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, ClP_0) (void* ClE_0);
void* ClE_0;
} tyProc__Y7TIAk6Os9cRMtmIj9bEqCww;
struct tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ { RootObj Sup;NI colonstate_;
tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ* transp1;
tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw raddr2;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* chronosInternalRetFuture3;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym468452164_;
};
struct tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA {char dummy;
};
struct tyTuple__yobv8JsmBBRNC1NIieLJzQ {
tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA Field0;
};
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
};
struct tyObject_BufferedOutput__8P9alBgCoSqOy9alEKOH4etg {tyTuple__yobv8JsmBBRNC1NIieLJzQ finalOutputs;
NimStringDesc* buffer;
};
typedef NU8 tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA;
struct tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA {tyObject_BufferedOutput__8P9alBgCoSqOy9alEKOH4etg output;
tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA level;
};
struct tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ { RootObj Sup;NI colonstate_;
tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* proto1;
tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ* colonup_;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* buf3;
tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA a4;
tyObject_RlpError__ENkbLoxFdDxL9aDUnEQeCuw* e5;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record6;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym468900197_;
tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg* e8;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record9;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym4696501910_;
Exception* e11;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record12;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym4704001913_;
};
struct Exception { RootObj Sup;Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;};
struct tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
typedef long tyArray__TcvIiMAJvcwzNLsZkfnFnQ[25];
struct TSafePoint {TSafePoint* prev;
NI status;
jmp_buf context;
};
struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
};
struct tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw {NIM_BOOL o;
union{
struct {NCSTRING e;
} _o_1;
struct {tyObject_MDigest__law9ct65KplMYBvtmjCQxbw v;
} _o_2;
};
};
struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {NI a;
NI b;
};
struct tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ {NIM_BOOL o;
union{
struct {NCSTRING e;
} _o_1;
struct {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA v;
} _o_2;
};
};
typedef NU8 tyArray__DqM3b17bbm0d9bCZr9c2fLDQ[65];
struct tyObject_secp256k1_ecdsa_recoverable_signature__OOP9ck9bXU6uuG4T9bRTry9a4w {tyArray__DqM3b17bbm0d9bCZr9c2fLDQ data;
};
struct tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA {tyObject_secp256k1_ecdsa_recoverable_signature__OOP9ck9bXU6uuG4T9bRTry9a4w data;
};
struct tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw {NIM_BOOL o;
union{
struct {NCSTRING e;
} _o_1;
struct {tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA v;
} _o_2;
};
};
typedef NU8 tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA;
struct tyTuple__2ctLf7OIXOFHrPu39aLDKvg {
tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA Field0;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* Field1;
};
struct tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* bytes;
NI position;
};
typedef NI tyArray__ALH4iXe1xhC3BbTsFr2Glg[4];
struct tyTuple__Boxofyx0cfbCs9baoLqmiMQ {
NI Field0;
tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA Field1;
tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA Field2;
NU32 Field3;
};
struct tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg { RootObj Sup;NI colonstate_;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* f1;
};
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (void* arg, void* ClE_0);
void* ClE_0;
} tyProc__9bqx36VxQxXejdrF09bFARDQ;
typedef tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* tyArray__06L8jjfbunFPxVliYUVjmQ[2];
typedef NU8 tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA;
struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw { RootObj Sup;tyArray__06L8jjfbunFPxVliYUVjmQ location;
tySequence__qkV9cggxceO9cpfUWIbCnvJg* callbacks;
tyProc__9bqx36VxQxXejdrF09bFARDQ cancelcb;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* child;
tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA state;
Exception* error;
NIM_BOOL mustCancel;
NI id;
};
struct tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;};
struct tyTuple__ip0pB3Eij9bXXLxUfAIMyIg {
tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA Field0;
tyObject_MDigest__law9ct65KplMYBvtmjCQxbw Field1;
NU32 Field2;
};
struct tyTuple__akue9c3LnOr29bcgBFD7a0Vg {
tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA Field0;
NU16 Field1;
NU16 Field2;
tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA Field3;
};
struct tyTuple__2KY7pfkFge4RCMsQ8kRGsw {
tySequence__XiuSuFrsuhroELW874HXhA* Field0;
NU32 Field1;
};
struct tyObject_RlpError__ENkbLoxFdDxL9aDUnEQeCuw { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__RlWAeaewn59cCEhYQjWkWAg_69) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__RlWAeaewn59cCEhYQjWkWAg_70) (void);
typedef N_CLOSURE_PTR(void, TM__RlWAeaewn59cCEhYQjWkWAg_72) (void* udataX60gensym46845217_);
typedef N_CLOSURE_PTR(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, TM__RlWAeaewn59cCEhYQjWkWAg_73) (tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ* transp, tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw* remote, void* ClE_0);
struct tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw { RootObj Sup;NI colonstate_;
tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d1;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* chronosInternalRetFuture2;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym486250463_;
};
struct tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w { RootObj Sup;NI colonstate_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture1;
tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw* colonup_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result3;
};
struct tyTuple__gaGbVzehQOxhH9cAN1FlIyg {
tyArray__w5VB8h5K8DB3oWrO5U2wqg Field0;
NU32 Field1;
};
struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA { tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q Sup;};
struct tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ { RootObj Sup;NI colonstate_;
tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d1;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* chronosInternalRetFuture2;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym484950723_;
};
struct tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg { RootObj Sup;NI colonstate_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture1;
tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ* colonup_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result3;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record4;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym485600195_;
};
struct tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;tySequence__Wq0ZcI6MO5RSp6EwbCW5fA* value;
};
struct tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw {NI64 value;
};
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__RlWAeaewn59cCEhYQjWkWAg_88) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__RlWAeaewn59cCEhYQjWkWAg_89) (void);
typedef N_CLOSURE_PTR(void, TM__RlWAeaewn59cCEhYQjWkWAg_91) (void* udataX60gensym48495073_);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__RlWAeaewn59cCEhYQjWkWAg_93) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__RlWAeaewn59cCEhYQjWkWAg_94) (void);
typedef N_CLOSURE_PTR(void, TM__RlWAeaewn59cCEhYQjWkWAg_96) (void* udataX60gensym48625047_);
typedef unsigned char tyArray__A1SHJCPZVISPTujoygIPEQ[64];
struct tyTuple__Qptir78YkKhpx9ams3lvtsw {
NI Field0;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* Field1;
tyObject_FuturecolonObjectType___7r4oeIrX2n9aOSLbv8vKLiw* Field2;
};
struct tyTuple__MsTR86jOxY4TjADGXDQ9cYw {
NI Field0;
tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* Field1;
tyObject_FuturecolonObjectType___7r4oeIrX2n9aOSLbv8vKLiw* Field2;
};
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (tySequence__Wq0ZcI6MO5RSp6EwbCW5fA* n_0, void* ClE_0);
void* ClE_0;
} tyProc__Vj8L5mSqv3cWTixxMAusYg;
struct tyTuple__beG4ILF8HR8pW2ufrKnHug {
NI Field0;
tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* Field1;
tyProc__Vj8L5mSqv3cWTixxMAusYg Field2;
};
typedef NU8 tyEnum_VectorKind__iNEFcCmfoHB7FOfIVxjG6g;
struct tyObject_GramVector__ylu1Kvi4Z1kJk0NIVrrMBQ {tyEnum_VectorKind__iNEFcCmfoHB7FOfIVxjG6g kind;
tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw address;
void* buf;
NI buflen;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* writer;
};
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
NI line;
NCSTRING filename;
};
struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw {tyProc__9bqx36VxQxXejdrF09bFARDQ function;
void* udata;
};
typedef N_CDECL_PTR(void, tyProc__3qI9bVHqiq07sTQRU9bkkkYQ) (br_prng_class** ctx, void* params, void* seed, NI seedLen);
typedef N_CDECL_PTR(void, tyProc__hquUwNr88w4T5ldt8BqLLQ) (br_prng_class** ctx, void* out_0, NI len_0);
typedef N_CDECL_PTR(void, tyProc__bF2JFxTs1q6Lq365NU79a2Q) (br_hash_class** ctx);
typedef N_CDECL_PTR(void, tyProc__Dc9br5a6SHw9cxie3cas0KTA) (br_hash_class** ctx, void* data_0, NI len_0);
typedef N_CDECL_PTR(void, tyProc__JETfgzvEnx6Tz9bYRct9a51g) (br_hash_class** ctx, void* dst);
typedef N_CDECL_PTR(NU64, tyProc__e9bd9aJH2sCZh75q9aAcv7ylg) (br_hash_class** ctx, void* dst);
typedef N_CDECL_PTR(void, tyProc__g9c2vH2tlPaPmvfTZ3PeWQQ) (br_hash_class** ctx, void* stb, NU64 count_0);
struct tySequence__Wq0ZcI6MO5RSp6EwbCW5fA { TGenericSeq Sup; tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* data[SEQ_DECL_SIZE];};struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 data[SEQ_DECL_SIZE];};struct tySequence__XiuSuFrsuhroELW874HXhA { TGenericSeq Sup; tyTuple__akue9c3LnOr29bcgBFD7a0Vg data[SEQ_DECL_SIZE];};struct tySequence__8y8hhoTs9bVn1no7HCdDJwQ { TGenericSeq Sup; tyObject_KBucketcolonObjectType___WQiQdZ7rHpARW9cCKtu1c9aA* data[SEQ_DECL_SIZE];};struct tySequence__ZGDdbXPD9bUBYNLtwtuTWrA { TGenericSeq Sup; tyTuple__Qptir78YkKhpx9ams3lvtsw data[SEQ_DECL_SIZE];};struct tySequence__bqBMFIjg0BA9aW4cUrDr4aw { TGenericSeq Sup; tyTuple__MsTR86jOxY4TjADGXDQ9cYw data[SEQ_DECL_SIZE];};struct tySequence__Yjh7j69bRJilZ9ctrRBprjIw { TGenericSeq Sup; tyTuple__beG4ILF8HR8pW2ufrKnHug data[SEQ_DECL_SIZE];};struct tySequence__634p7k2qRZ6xIoL20WJxPQ { TGenericSeq Sup; tyObject_GramVector__ylu1Kvi4Z1kJk0NIVrrMBQ data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};struct tySequence__qkV9cggxceO9cpfUWIbCnvJg { TGenericSeq Sup; tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tySequence__Wq0ZcI6MO5RSp6EwbCW5fA)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__y9bIPDAY22JKpDx249caf7iw)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
N_LIB_PRIVATE N_NIMCALL(void*, nimNewSeqOfCap)(TNimType* typ, NI cap);
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);
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_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NIMCALL(tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg*, newNode__IrGG7Mbve9bjpWsVqX3sN9cA)(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw* enode);
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg*, newNode__30M2Y2orzrgQh8nf9bYtfQg)(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA* pk, tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA address);
N_LIB_PRIVATE N_NIMCALL(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA, toPublicKey__dZX6pG1PJuze9ctWTRA1ENw)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* key_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw*, newKademliaProtocol__NvFzTMa9aP9bCwHe9avUZt3Pw)(tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* thisNode, tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* wire, br_hmac_drbg_context* rng_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw, initTAddress__4Inkz184gzvSzRNqKTPwVw)(tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA address, NU16 port);
N_LIB_PRIVATE N_NIMCALL(tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA, IPv4_any__5V0LcX2Yk2O9aKPmxujB0qw)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ*, newDatagramTransport__jV3KN79bE9c2oPxPbsPBK5Bg)(tyProc__Kg7UAcnbZpWDUmuK0NqByw cbproc, tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* udata, tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw* remote, tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw* local, int sock, tySet_tyEnum_ServerFlags__H6BFISi2WcGaq7HUYeffKg flags_0, tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ* child, NI bufSize, NI ttl);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, processClient__8aDx2LgE5waFbUWc9bA6e0A)(tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ* transp, tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw* raddr);
static N_NIMCALL(void, Marker_tyRef__cRprJixj7ciNIuvcbjlleQ)(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__LSgyafkoY5e1uEm3TfGZLQ)(void);
static N_NIMCALL(void, Marker_tyRef__nSGT9bwil9aJRDd9c1Jv4TpdQ)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__6ycUkdwWuqZHLkv0GWBYGg)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, processClient__JkYeO8DuT55P1zChLI9al7Q)(void* ClE_0);
static N_INLINE(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg*, getUserData__rOmPwzj9cOF73xwApMhJwygdatagram)(tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ* transp);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, getMessage__9cCSu5UePPxrllocTEM5ZyA)(tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ* transp);
N_LIB_PRIVATE N_NIMCALL(tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA, address__qobJk2RgXGf0gyI4B12WaQ)(tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw* ta);
N_LIB_PRIVATE N_NIMCALL(void, receive__tplZ9bYwk7QoN9aI2WTY2PXw)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA a, NU8* msg, NI msgLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw, validateMsgHash__cFYkqMO9cV5ABDVeFiXe3eg)(NU8* msg, NI msgLen_0);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___nScxxKWF6yN9aAnd1ihw4Ig)(NU8* a, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0, NU8* b, NI bLen_0);
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem)(NI a, NI b);
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError)(void);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___Vvx6KB8wnaa2vLn9ch38Ypg)(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw* d1, tyObject_MDigest__law9ct65KplMYBvtmjCQxbw* d2);
N_LIB_PRIVATE N_NIMCALL(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw, digest__kUuxyH0Wbp0DnT9anHK9b9c2g)(NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, recoverMsgPublicKey__Qb9ccPsynegFmNIw60NeVyA)(NU8* msg, NI msgLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw, fromRaw__Zx9bL0c4s8bWeostmBWcxlw)(NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, recover__9a61FXOqVqrA7yJk9cxPOcWA)(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA* sig, NU8* msg, NI msgLen_0);
N_LIB_PRIVATE N_NIMCALL(void, unpack__1XepfsGIdb2PYQDwKJj35w)(NU8* msg, NI msgLen_0, tyTuple__2ctLf7OIXOFHrPu39aLDKvg* Result);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, X5BX5D___wOb6H4KHZySddEgq9c9cTBTQ)(NU8* s, NI sLen_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0);
N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest_0, void* src, TNimType* mt);
static N_INLINE(NIM_BOOL, expirationValid__ZCVVD3stffjvXFadZ1C9aMwdiscovery)(tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA cmdId, NU8* rlpEncodedPayload, NI rlpEncodedPayloadLen_0);
N_LIB_PRIVATE N_NIMCALL(void, rlpFromBytes__rU4W9amjt55PGLyJY2jtc6A)(NU8* data_0, NI data_0Len_0, tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA* Result);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isList__ub0XDNtFyV4Db7AJQ9aczBw)(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA self);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError3)(NI i, NI a, NI b);
N_LIB_PRIVATE N_NIMCALL(NI, listLen__EqfIXRABRD085klc9c3SUgg_5)(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA self);
N_LIB_PRIVATE N_NIMCALL(NU32, toInt__9cUr9bDjj6EQm1WWuCxW9bCuQ)(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA self);
N_LIB_PRIVATE N_NIMCALL(void, listElem__VEGbaY9aCZqSUrGp7OclNRg)(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA self, NI i, tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA* Result);
N_LIB_PRIVATE N_NIMCALL(NF, epochTime__9aodCrWXscOGeNVh2cpuZkw)(void);
static N_INLINE(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA, get__cpdMmocUxmaDKExSt5lf9cwresults)(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ* self);
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__owuWoGCIMYubXziJ5dK27w)(NimStringDesc* m, NCSTRING v) __attribute__((noreturn));
static N_INLINE(void, recvPing__BjRfq6g1k2mM2qi1YIax9cAdiscovery)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* node, tyObject_MDigest__law9ct65KplMYBvtmjCQxbw* msgHash);
N_LIB_PRIVATE N_NIMCALL(void, recvPing__TnuKprlk0OfUfjIPeDY2Aw)(tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw* k, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* n_0, tyObject_MDigest__law9ct65KplMYBvtmjCQxbw* msgHash);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encode__S9bMzj6pU1FSiucIkJ9c770A)(tyTuple__Boxofyx0cfbCs9baoLqmiMQ* v);
N_LIB_PRIVATE N_NIMCALL(void, appendImpl__xQNLfTJIKg9bWsV9b1S4Pc0Q)(tyObject_RlpWriter__5wlnwCMsmWR0hwp89bvcZqQ* self, NU8* listOrBlob, NI listOrBlobLen_0);
N_LIB_PRIVATE N_NIMCALL(NU32, expiration__I6V1jjqTZVMkdFPy9beXHwQ)(void);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, pack__HbeDY0lTSnbQ0ZP9bq8soew)(tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA cmdId, NU8* payload, NI payloadLen_0, tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* pk);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, amp___GKDTgswYEfLZ0HJ4qcD9cGQ)(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* x_0, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* y_0);
N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, at___FKhCG9aXnVoTuyjERVXzd2g)(NU8* a, NI aLen_0);
N_LIB_PRIVATE N_NIMCALL(void, toRaw__yPMUELBksARKX8FT2nORhg)(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA* sig, tyArray__DqM3b17bbm0d9bCZr9c2fLDQ Result);
N_LIB_PRIVATE N_NIMCALL(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA, sign__EnvJquxZs9aCJYufWzauE3A)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* seckey, NU8* msg, NI msgLen_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, X5BX5D___Kyr39aNcnXyqz84UZKlCSJw)(NU8* s, NI sLen_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0);
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___BokNSDrKN1xmV1nA01G9brAsystem)(NI a, NI b);
N_LIB_PRIVATE N_NIMCALL(void, initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA lvl, NimStringDesc* topics, NimStringDesc* name_0);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__czv7v33Y9bwyVAHI9b2eiKDw)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, NI val_0);
N_LIB_PRIVATE N_NIMCALL(NI, getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw)(void);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__TBbb0DiTl9akvXlg2rlp8YQ)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* val_0);
N_LIB_PRIVATE N_NIMCALL(void, logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r);
N_LIB_PRIVATE N_NIMCALL(void, flushRecord__2TFyTWhDxeU5kGr2yqnA6w)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r);
static N_INLINE(void, popSafePoint)(void);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
static N_INLINE(Exception*, nimBorrowCurrentException)(void);
static N_INLINE(Exception*, getCurrentException)(void);
N_LIB_PRIVATE N_NIMCALL(void, logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg)(NCSTRING msg, Exception* ex);
static N_INLINE(void, popCurrentException)(void);
N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void);
N_LIB_PRIVATE N_NIMCALL(void, send__x0uPld9cpSLLojuoLxqiOrA)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* n_0, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data_0);
static N_NIMCALL(void, Marker_tyRef__vL8I9bFvMQVVU9cL439aq2Sag)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, sendTo__g9bsrmUcJ5yFAVE4pF2CWTg)(tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ* transp, tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw* remote, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* msg, NI msglen);
N_LIB_PRIVATE N_NIMCALL(void, callbackeq___aTxUhkOixq78pMEm3x5jfA)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future, tyProc__9bqx36VxQxXejdrF09bFARDQ cb);
N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___bhq5YZ9aJnEWjLLN9cHklgAw)(void* data_0, void* ClE_0);
static N_INLINE(NIM_BOOL, failed__JXDwCFE0FKiFPAKUUjgdVg_3asyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__U2vmGWVLHFSD9cvjHnmuu2A)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, NimStringDesc* val_0);
N_LIB_PRIVATE N_NIMCALL(Exception*, readError__oZX3NvZG9bIr8Tg41a2gDQg)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encode__25y9choAcWPMwzGwTyRCTIQ)(tyTuple__ip0pB3Eij9bXXLxUfAIMyIg* v);
static N_INLINE(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw, get__JFQwBemeHfTz1og5UVED6Aresults)(tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw* self);
static N_INLINE(void, recvPong__MPVGn4EMXPypTsHjGL9bv6Qdiscovery)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* node, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* payload);
N_LIB_PRIVATE N_NIMCALL(void, rlpFromBytes__sID1jdK1TDDl4MyhPZIesQ)(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data_0, tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA* Result);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, toBytes__GlivWos7Cy9coi2uRKRYdLg)(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA self);
N_LIB_PRIVATE N_NIMCALL(void, recvPong__z2ddPp9aY9agWbdsko26dn5w)(tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw* k, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* n_0, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* token);
static N_INLINE(void, recvNeighbours__MPVGn4EMXPypTsHjGL9bv6Q_2discovery)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* node, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* payload);
N_LIB_PRIVATE N_NIMCALL(void, toArray__NOZQrmTFpn9akX9cY2NRm1Qg)(NU8* data_0, NI data_0Len_0, tyArray__H8qf9bpC2ziYA2earmO8m7w Result);
N_LIB_PRIVATE N_NIMCALL(void, toArray__Et9c2iWDNkilRAJfxb19bYVg)(NU8* data_0, NI data_0Len_0, tyArray__qtqsWM5aXmcpMIVmvq3kAA Result);
N_LIB_PRIVATE N_NIMCALL(NU16, toInt__k46Eva1XIvi6HGGZZjSNGw)(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA self);
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, fromRaw__09bVO0j5Htfp2zQRd1AkcpQ)(NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(void, recvNeighbours__rjR5O8AeYTEk7a0yBjSatA)(tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw* k, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* remote, tySequence__Wq0ZcI6MO5RSp6EwbCW5fA* neighbours);
static N_INLINE(void, recvFindNode__LvhtFptqLswXrWQNDll15gdiscovery)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* node, NU8* payload, NI payloadLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg, readUintBE__vA4YbgLWhFsThk7n01kMzA)(NU8* ba, NI baLen_0);
N_LIB_PRIVATE N_NIMCALL(void, recvFindNode__zWlD4fxgcdzGM2X1hPFGPw)(tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw* k, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* remote, tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg* nodeId);
static N_INLINE(void, shallow__9aypmJLQyk6jW3MIFqeSbtQsystem)(tySequence__XiuSuFrsuhroELW874HXhA** s_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encode__crTWkiqRq0o7EHDMwThqTw)(tyTuple__2KY7pfkFge4RCMsQ8kRGsw v);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__oJlZ2qHzBGUZtf8z5TGFUA)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, tySequence__XiuSuFrsuhroELW874HXhA* val_0);
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__JZTTLfxz0IvZgUeYYHt9cQQ)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA val_0);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__Lqa4B32UwgW24kS6Igr9cKw)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA val_0);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__3WN9aIz7lNtTrcIDj9bpKQkw)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, NCSTRING val_0);
N_LIB_PRIVATE N_NIMCALL(NCSTRING, error__mTiJ7Ikbe9aYfTMOSyaBRxQ)(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ* self);
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
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__DX4EFnDtUNw3gTx4HruiCA)(void);
N_LIB_PRIVATE N_CLOSURE(void, processClient_continue__wUES1tnsXafberIwFTzW6A)(void* udataX60gensym46845217_, 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);
static N_NIMCALL(void, Marker_tyRef__dABUqg9aTdu6nKBE0XOp9csw)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__0UenZIu9beYuXfaicrHTsHA)(void);
static N_NIMCALL(void, Marker_tyRef__wT2uBQI34fj4R8BviejH1A)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, bootstrap__JkYeO8DuT55P1zChLI9al7Q_2)(void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, bootstrap__qHt9cLIjWuV1dso5bbFiE4A)(tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw* k, tySequence__Wq0ZcI6MO5RSp6EwbCW5fA* bootstrapNodes, NI retries);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___9aWeV5c6yPHZYIje39co9ab1A)(NU8* a, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0, NU8* b, NI bLen_0);
N_LIB_PRIVATE N_NIMCALL(void, toByteArrayBE__15Qm7fj0jAFrpK3KhqggUg)(tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg* n_0, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg Result);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encode__YlzDaxgM9ai9ci0sq4pkb2SA)(tyTuple__gaGbVzehQOxhH9cAN1FlIyg* v);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
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(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, run__Da0O9bEbyPJxuRoD05a4FDw_2)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d);
static N_NIMCALL(void, Marker_tyRef__7A9cE9bLJrhjc29c21Q9bhtVOw)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__sK9cpzb4JQd3GSn9b0iB9cnNg)(void);
static N_NIMCALL(void, Marker_tyRef__fnmD9crznBzpn9aUzOpuSc9aQ)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, run__JkYeO8DuT55P1zChLI9al7Q_3)(void* ClE_0);
static N_INLINE(tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ*, lookupRandom__OdmAYTNA6Qwiyjb7tAdJEgdiscovery)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ*, lookupRandom__TDLG9c6vZ5cMj16OjidHSdg)(tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw* k);
static N_INLINE(tySequence__Wq0ZcI6MO5RSp6EwbCW5fA*, internalRead__eUE7Pmc9bR69crMATALz9cbfAasyncloop)(tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ* fut);
static N_INLINE(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, sleepAsync__P4gj2aoQiFuNFDdbQd1Rrwasyncloop)(NI ms);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, sleepAsync__A6EK559a2LWq5qZCF2J9aB8A)(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw duration);
static N_INLINE(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw, milliseconds__VnZgvngfH64K9cbR19bMHEEA_2timer)(NI v);
static N_INLINE(NI, nodesDiscovered__EYsrFewSeiKuuQhrHWT5jwkademlia)(tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw* k);
N_LIB_PRIVATE N_NIMCALL(NI, len__uG6fTcTObohP6f4XaEmmFA)(tyObject_RoutingTable__wrJgHm52cMnVGGTyRmqsGw r);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__WiBdjKZZsOWUfn9a5b8DrXQ)(void);
N_LIB_PRIVATE N_CLOSURE(void, run_continue__fKP0XvnFNUt9ahzW57cWZ1Q)(void* udataX60gensym48495073_, void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__QKlgaczOsXY9bYmuIaSvazg)(void);
N_LIB_PRIVATE N_CLOSURE(void, bootstrap_continue__OSQkh2qglDCNg2S9cYlr9b4A)(void* udataX60gensym48625047_, void* ClE_0);
N_LIB_PRIVATE TNimType NTI__waQyUBIS0phbKWz5xVV9bTg_;
extern TNimType NTI__aKiBFtqo69b60sWLnM5A9c3w_;
extern TNimType NTI__x5U8qnsjGWstAJoOadUZ9aA_;
extern TNimType NTI__dXv1y2c2nNbnKs59aRY70QA_;
N_LIB_PRIVATE TNimType NTI__Wq0ZcI6MO5RSp6EwbCW5fA_;
extern TNimType NTI__r47tWgnBw9c0VOULJ9bQeLYg_;
extern TNimType NTI__ojq7ORv9bnBeF4l6iOsa39cw_;
N_LIB_PRIVATE TNimType NTI__y9bIPDAY22JKpDx249caf7iw_;
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
N_LIB_PRIVATE TNimType NTI__iCt42YkEtD6lDTWngpX5mQ_;
extern TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_;
extern TNimType NTI__qYn6nlnhZhmKlocg1rtkTw_;
extern TNimType NTI__wrhe6hYHoM2gc8EiW0lE6Q_;
extern TNimType NTI__Y7TIAk6Os9cRMtmIj9bEqCww_;
N_LIB_PRIVATE TNimType NTI__cRprJixj7ciNIuvcbjlleQ_;
N_LIB_PRIVATE TNimType NTI__DhQ6CnWeg0zSlYIoTS3kPQ_;
extern TNimType NTI__6H5Oh5UUvVCLiakt9aTwtUQ_;
extern TNimType NTI__xdcI6Mkp9cS0FReoFduSNKQ_;
extern TNimType NTI__EhHqp0aF43SxfS6MTF9b0hA_;
extern TNimType NTI__gcKyg9bhR5vWTJg3cREMk0Q_;
extern TNimType NTI__qrLSDoe2oBoAqNtJ9badtnA_;
N_LIB_PRIVATE TNimType NTI__WT18kMNH9aJInLJYIAozmrg_;
N_LIB_PRIVATE TNimType NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_;
extern TNimType NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_;
N_LIB_PRIVATE TNimType NTI__6ycUkdwWuqZHLkv0GWBYGg_;
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_7, "\'e\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_8, "\'v\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_9, "Unsupported packet id", 21);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_10, "RLP stream is empty", 19);
N_LIB_PRIVATE NIM_CONST tyArray__ALH4iXe1xhC3BbTsFr2Glg MinListLen__sVuvgQfV1pUqFPy9bcjVeeQ = {((NI) 4),
((NI) 3),
((NI) 2),
((NI) 2)}
;
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_12, "Invalid RLP list for this packet id", 35);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_13, "Trying to access value with err Result", 38);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_14, "\'address_v6\' is not accessible using discriminant \'family\' of t"
"ype \'IpAddress\'", 78);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_15, "\'address_v4\' is not accessible using discriminant \'family\' of t"
"ype \'IpAddress\'", 78);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_18, "discovery", 9);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_19, ">>> ping ", 9);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_20, "tid", 3);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_21, "n", 1);
N_LIB_PRIVATE TNimType NTI__NU7lrYp3OYcg9aa9aEW9aiIkg_;
N_LIB_PRIVATE TNimType NTI__vL8I9bFvMQVVU9cL439aq2Sag_;
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_24, "Discovery send failed", 21);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_25, "msg", 3);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_28, ">>> pong ", 9);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_30, "Wrong ip address length!", 24);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_32, "Could not parse public key", 26);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_36, "<<< find_node from ", 19);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_37, "node", 4);
N_LIB_PRIVATE TNimType NTI__akue9c3LnOr29bcgBFD7a0Vg_;
extern TNimType NTI__t0yd6ha54oWXm7nwZ4QqfA_;
extern TNimType NTI__M4na42GvebBMnI5wV9cYMxg_;
extern TNimType NTI__YxxaGK7KOKaWCOaZ44rHMA_;
extern TNimType NTI__XiuSuFrsuhroELW874HXhA_;
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_41, "Neighbours to", 13);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_42, "nodes", 5);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_44, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/system/iterators.nim(122, 11) `len(a) == L` the l"
"ength of the seq changed while iterating over it", 175);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_49, "Invalid target public key received", 34);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_52, "Received msg already expired", 28);
N_LIB_PRIVATE TNimType NTI__WHNtqysWBp2fhd9acHQgfmA_;
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_56, "cmdId", 5);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_57, "a", 1);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_59, "Wrong public key from ", 22);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_60, "err", 3);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_62, "Wrong msg mac from ", 19);
extern TNimType NTI__ENkbLoxFdDxL9aDUnEQeCuw_;
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_64, "Receive failed", 14);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_65, "exc", 3);
extern TNimType NTI__XEycrCsme5C8CVWAYEcdBQ_;
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_71, "Async procedure (&processClient) yielded `nil`, are you await\'i"
"ng a `nil` Future\?", 81);
extern TNimType NTI__REH9aBNkNbeLkDu8Z1q6BeA_;
N_LIB_PRIVATE TNimType NTI__g7H9bdqkTxLNHuE019cYFxIw_;
N_LIB_PRIVATE TNimType NTI__dABUqg9aTdu6nKBE0XOp9csw_;
N_LIB_PRIVATE TNimType NTI__wcMnzP4ItAMdrJz9bgM527w_;
extern TNimType NTI__Oe5U64nDSwOh3KlTzM9b9c7g_;
N_LIB_PRIVATE TNimType NTI__wT2uBQI34fj4R8BviejH1A_;
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_78, ">>> find_node to ", 17);
extern TNimType NTI__paaBQT4pyImJiuEdGp60qA_;
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_79, "Future operation cancelled!", 27);
N_LIB_PRIVATE TNimType NTI__Xa1dEzGMDvZC2xB1APFIAQ_;
N_LIB_PRIVATE TNimType NTI__7A9cE9bLJrhjc29c21Q9bhtVOw_;
N_LIB_PRIVATE TNimType NTI__LMPG8t9bSnxjzM5vGdfkBqg_;
N_LIB_PRIVATE TNimType NTI__fnmD9crznBzpn9aUzOpuSc9aQ_;
static NIM_CONST tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw TM__RlWAeaewn59cCEhYQjWkWAg_82 = {IL64(1000000)}
;
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_86, "Discovered nodes", 16);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_90, "Async procedure (&run) yielded `nil`, are you await\'ing a `nil`"
" Future\?", 71);
STRING_LITERAL(TM__RlWAeaewn59cCEhYQjWkWAg_95, "Async procedure (&bootstrap) yielded `nil`, are you await\'ing a"
" `nil` Future\?", 77);
extern TNimType* nimTypeRoot;
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR 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 Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw AnyAddress__D9aQ2zemdxUXGe9b9beh5z9cGw;
static N_NIMCALL(void, Marker_tySequence__Wq0ZcI6MO5RSp6EwbCW5fA)(void* p, NI op) {
tySequence__Wq0ZcI6MO5RSp6EwbCW5fA* a;
NI T1_; a = (tySequence__Wq0ZcI6MO5RSp6EwbCW5fA*)p;
T1_ = (NI)0; for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
nimGCvisit((void*)a->data[T1_], op); }
}
static N_NIMCALL(void, Marker_tyRef__y9bIPDAY22JKpDx249caf7iw)(void* p, NI op) {
tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* a;
NI T1_; NI T2_; NI T3_; a = (tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg*)p;
T1_ = (NI)0; switch ((*a).address.ip.family) {
case ((tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA) 0):
T2_ = (NI)0; break;
case ((tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA) 1):
T3_ = (NI)0; break;
}
nimGCvisit((void*)(*a).bootstrapNodes, op); nimGCvisit((void*)(*a).thisNode, op); nimGCvisit((void*)(*a).kademlia, op); nimGCvisit((void*)(*a).transp, op);}
#line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0;
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;}
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));}
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0;
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;}
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;}
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;}
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
}
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ NIM_BOOL T3_;
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_;
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
}
LA4_: ;
}
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, asgnRef)(void** dest, void* src) {
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!((src == NIM_NIL))) goto LA3_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
}
LA3_: ;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!(((*dest) == NIM_NIL))) goto LA8_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
}
LA8_: ;
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*dest) = src;}
#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 157 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg*, newDiscoveryProtocol__rh9b8gHehIWKUFkewL6MAVg)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* privKey, tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA address, tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw* bootstrapNodes, NI bootstrapNodesLen_0, br_hmac_drbg_context* rng_0) { tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* result; tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA T6_; result = (tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg*)0;
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
result = (tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg*) newObj((&NTI__y9bIPDAY22JKpDx249caf7iw_), sizeof(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg));
#line 161 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
(*result).privKey = (*privKey);
#line 162 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
(*result).address = address;
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if ((bootstrapNodesLen_0) < ((NI) 0) || (bootstrapNodesLen_0) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(bootstrapNodesLen_0, ((NI) 0), ((NI) IL64(9223372036854775807))); } asgnRef((void**) (&(*result).bootstrapNodes), (tySequence__Wq0ZcI6MO5RSp6EwbCW5fA*)nimNewSeqOfCap((&NTI__Wq0ZcI6MO5RSp6EwbCW5fA_), ((NI) (bootstrapNodesLen_0)))); { tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw n_1; NI i; nimZeroMem((void*)(&n_1), sizeof(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw));
#line 3 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i = ((NI) 0); {
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* T4_; NI T5_; NI TM__RlWAeaewn59cCEhYQjWkWAg_3;
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i < bootstrapNodesLen_0)) goto LA3;
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if ((NU)(i) >= (NU)(bootstrapNodesLen_0)){ raiseIndexError2(i,bootstrapNodesLen_0-1); } n_1 = bootstrapNodes[i];
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T4_ = (tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg*)0; T4_ = newNode__IrGG7Mbve9bjpWsVqX3sN9cA((&n_1)); asgnRef((void**) (&(*result).bootstrapNodes), (tySequence__Wq0ZcI6MO5RSp6EwbCW5fA*) incrSeqV3((TGenericSeq*)((*result).bootstrapNodes), (&NTI__Wq0ZcI6MO5RSp6EwbCW5fA_))); T5_ = (*result).bootstrapNodes->Sup.len++; asgnRef((void**) (&(*result).bootstrapNodes->data[T5_]), T4_);
#line 6 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i, ((NI) 1), &TM__RlWAeaewn59cCEhYQjWkWAg_3)) { raiseOverflow(); }; i = (NI)(TM__RlWAeaewn59cCEhYQjWkWAg_3); } LA3: ;
}
}
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T6_ = toPublicKey__dZX6pG1PJuze9ctWTRA1ENw(privKey);
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
asgnRef((void**) (&(*result).thisNode), newNode__30M2Y2orzrgQh8nf9bYtfQg((&T6_), address));
#line 166 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 166 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
asgnRef((void**) (&(*result).kademlia), newKademliaProtocol__NvFzTMa9aP9bCwHe9avUZt3Pw((*result).thisNode, result, rng_0)); return result;}
static N_NIMCALL(void, Marker_tyRef__cRprJixj7ciNIuvcbjlleQ)(void* p, NI op) {
tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ* a;
NI T1_; NI T2_; NI T3_; a = (tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ*)p;
nimGCvisit((void*)(*a).transp1, op); switch ((*a).raddr2.family) {
case ((tyEnum_AddressFamily__ISHglMoDNRIPCY0ku2DcvA) 0):
break;
case ((tyEnum_AddressFamily__ISHglMoDNRIPCY0ku2DcvA) 1):
T1_ = (NI)0; break;
case ((tyEnum_AddressFamily__ISHglMoDNRIPCY0ku2DcvA) 2):
T2_ = (NI)0; break;
case ((tyEnum_AddressFamily__ISHglMoDNRIPCY0ku2DcvA) 3):
T3_ = (NI)0; break;
}
nimGCvisit((void*)(*a).chronosInternalRetFuture3, op); nimGCvisit((void*)(*a).nameIterVarX60gensym468452164_.ClE_0, op);}
static N_NIMCALL(void, Marker_tyRef__nSGT9bwil9aJRDd9c1Jv4TpdQ)(void* p, NI op) {
tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg* a;
a = (tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg*)p;
nimGCvisit((void*)(*a).Sup.Sup.parent, op); nimGCvisit((void*)(*a).Sup.Sup.message, op); nimGCvisit((void*)(*a).Sup.Sup.trace, op); nimGCvisit((void*)(*a).Sup.Sup.up, op);}
static N_NIMCALL(void, Marker_tyRef__6ycUkdwWuqZHLkv0GWBYGg)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ* a;
NI T1_; NI T2_; a = (tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ*)p;
nimGCvisit((void*)(*a).proto1, op); nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).buf3, op); switch ((*a).a4.ip.family) {
case ((tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA) 0):
T1_ = (NI)0; break;
case ((tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA) 1):
T2_ = (NI)0; break;
}
nimGCvisit((void*)(*a).e5, op); nimGCvisit((void*)(*a).record6.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym468900197_, op); nimGCvisit((void*)(*a).e8, op); nimGCvisit((void*)(*a).record9.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym4696501910_, op); nimGCvisit((void*)(*a).e11, op); nimGCvisit((void*)(*a).record12.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym4704001913_, op);}
#line 834 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/transports/datagram.nim"
static N_INLINE(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg*, getUserData__rOmPwzj9cOF73xwApMhJwygdatagram)(tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ* transp) { tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* result; result = (tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg*)0;
#line 836 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/transports/datagram.nim"
result = ((tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg*) ((*transp).udata)); 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 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 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw, validateMsgHash__cFYkqMO9cV5ABDVeFiXe3eg)(NU8* msg, NI msgLen_0) { tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw result; nimZeroMem((void*)(&result), sizeof(tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw));
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ tyObject_MDigest__law9ct65KplMYBvtmjCQxbw ret; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T5_;
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if (!(((NI) 97) < msgLen_0)) goto LA3_;
nimZeroMem((void*)(&ret), sizeof(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw));
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T5_ = dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem(((NI) 0), ((NI) 1)); if (((NI) 31)-((NI) 0) != -1 && ((NU)(((NI) 0)) >= (NU)(msgLen_0) || (NU)(((NI) 31)) >= (NU)(msgLen_0))){ raiseIndexError(); }
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
X5BX5Deq___nScxxKWF6yN9aAnd1ihw4Ig(ret.data, T5_, (NU8*)(msg)+(((NI) 0)), (((NI) 31))-(((NI) 0))+1);
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ tyObject_MDigest__law9ct65KplMYBvtmjCQxbw T8_; NIM_BOOL T9_;
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if ((msgLen_0-1)-((NI) 32) != -1 && ((NU)(((NI) 32)) >= (NU)(msgLen_0) || (NU)((msgLen_0-1)) >= (NU)(msgLen_0))){ raiseIndexError(); }
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T8_ = digest__kUuxyH0Wbp0DnT9anHK9b9c2g((NU8*)(msg)+(((NI) 32)), ((msgLen_0-1))-(((NI) 32))+1);
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T9_ = (NIM_BOOL)0; T9_ = eqeq___Vvx6KB8wnaa2vLn9ch38Ypg((&ret), (&T8_)); if (!T9_) goto LA10_;
chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw)); result.o = NIM_TRUE; result._o_2.v = ret; }
goto LA6_;
LA10_: ;
{ chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw)); result.o = NIM_FALSE; result._o_1.e = "disc: invalid message hash"; }
LA6_: ;
}
goto LA1_;
LA3_: ;
{ chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw)); result.o = NIM_FALSE; result._o_1.e = "disc: msg missing hash"; }
LA1_: ;
return result;}
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, recoverMsgPublicKey__Qb9ccPsynegFmNIw60NeVyA)(NU8* msg, NI msgLen_0) { tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ result; tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA sig; tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw vX60gensym43265047_;{ nimZeroMem((void*)(&result), sizeof(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ));
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if (!(msgLen_0 <= ((NI) 97))) goto LA3_;
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ)); result.o = NIM_FALSE; result._o_1.e = "disc: can\'t get public key"; goto BeforeRet_;
}
LA3_: ;
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 657 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (((NI) 97)-((NI) 32) != -1 && ((NU)(((NI) 32)) >= (NU)(msgLen_0) || (NU)(((NI) 97)) >= (NU)(msgLen_0))){ raiseIndexError(); }
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
vX60gensym43265047_ = fromRaw__Zx9bL0c4s8bWeostmBWcxlw((NU8*)(msg)+(((NI) 32)), (((NI) 97))-(((NI) 32))+1);
#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 (!!(vX60gensym43265047_.o)) goto LA7_;
#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__ac12d9bB2oPDNrhZXEa1pxQ)); result.o = NIM_FALSE; if (!(((1 &(1U<<((NU)(vX60gensym43265047_.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_7)); } result._o_1.e = vX60gensym43265047_._o_1.e; goto BeforeRet_;
}
LA7_: ;
if (!(((2 &(1U<<((NU)(vX60gensym43265047_.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_8)); } sig = vX60gensym43265047_._o_2.v;
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if ((msgLen_0-1)-((NI) 97) != -1 && ((NU)(((NI) 97)) >= (NU)(msgLen_0) || (NU)((msgLen_0-1)) >= (NU)(msgLen_0))){ raiseIndexError(); }
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
result = recover__9a61FXOqVqrA7yJk9cxPOcWA((&sig), (NU8*)(msg)+(((NI) 97)), ((msgLen_0-1))-(((NI) 97))+1); }BeforeRet_: ;
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 93 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(void, unpack__1XepfsGIdb2PYQDwKJj35w)(NU8* msg, NI msgLen_0, tyTuple__2ctLf7OIXOFHrPu39aLDKvg* Result) { tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA colontmp_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* colontmp__2; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T9_;
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ NIM_BOOL T3_; tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg* T7_; NimStringDesc* T8_;
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T3_ = (NIM_BOOL)0;
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if ((NU)(((NI) 97)) >= (NU)(msgLen_0)){ raiseIndexError2(((NI) 97),msgLen_0-1); } T3_ = (((NI) (msg[((NI) 97)])) < ((NI) 1)); if (T3_) goto LA4_;
#line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if ((NU)(((NI) 97)) >= (NU)(msgLen_0)){ raiseIndexError2(((NI) 97),msgLen_0-1); } T3_ = (((NI) 4) < ((NI) (msg[((NI) 97)]))); LA4_: ;
if (!T3_) goto LA5_;
T7_ = (tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg*)0; T7_ = (tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg*) newObj((&NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_), sizeof(tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg)); (*T7_).Sup.Sup.Sup.m_type = (&NTI__WT18kMNH9aJInLJYIAozmrg_); (*T7_).Sup.Sup.name = "DiscProtocolError"; T8_ = (NimStringDesc*)0; T8_ = (*T7_).Sup.Sup.message; (*T7_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_9)); if (T8_) nimGCunrefNoCycle(T8_); asgnRef((void**) (&(*T7_).Sup.Sup.parent), NIM_NIL);
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
raiseExceptionEx((Exception*)T7_, "DiscProtocolError", "unpack", "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/disc"
"overy.nim", 97); }
LA5_: ;
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if ((NU)(((NI) 97)) >= (NU)(msgLen_0)){ raiseIndexError2(((NI) 97),msgLen_0-1); } if ((msg[((NI) 97)]) < ((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 1) || (msg[((NI) 97)]) > ((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 4)){ raiseRangeErrorI(msg[((NI) 97)], ((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 1), ((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 4)); } colontmp_ = ((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) (msg[((NI) 97)]));
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T9_ = dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem(((NI) 98), ((NI) 1));
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
colontmp__2 = X5BX5D___wOb6H4KHZySddEgq9c9cTBTQ(msg, msgLen_0, T9_);
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
(*Result).Field0 = colontmp_; genericSeqAssign((&(*Result).Field1), colontmp__2, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_));}
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
static N_INLINE(NIM_BOOL, expirationValid__ZCVVD3stffjvXFadZ1C9aMwdiscovery)(tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA cmdId, NU8* rlpEncodedPayload, NI rlpEncodedPayloadLen_0) { NIM_BOOL result; tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA rlp; result = (NIM_BOOL)0;
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg* T5_; NimStringDesc* T6_;
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if (!(rlpEncodedPayloadLen_0 <= ((NI) 0))) goto LA3_;
T5_ = (tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg*)0; T5_ = (tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg*) newObj((&NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_), sizeof(tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg)); (*T5_).Sup.Sup.Sup.m_type = (&NTI__WT18kMNH9aJInLJYIAozmrg_); (*T5_).Sup.Sup.name = "DiscProtocolError"; T6_ = (NimStringDesc*)0; T6_ = (*T5_).Sup.Sup.message; (*T5_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_10)); if (T6_) nimGCunrefNoCycle(T6_); asgnRef((void**) (&(*T5_).Sup.Sup.parent), NIM_NIL);
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
raiseExceptionEx((Exception*)T5_, "DiscProtocolError", "expirationValid", "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/disc"
"overy.nim", 225); }
LA3_: ;
nimZeroMem((void*)(&rlp), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA));
#line 226 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 226 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
rlpFromBytes__rU4W9amjt55PGLyJY2jtc6A(rlpEncodedPayload, rlpEncodedPayloadLen_0, (&rlp));
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ NIM_BOOL T9_; NI T11_; NU32 expiration; NI TM__RlWAeaewn59cCEhYQjWkWAg_11; tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA T14_; NF T15_;
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T9_ = (NIM_BOOL)0;
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T9_ = isList__ub0XDNtFyV4Db7AJQ9aczBw(rlp); if (!(T9_)) goto LA10_;
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if (cmdId < 1 || cmdId > 4){ raiseIndexError3(cmdId, 1, 4); }
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T11_ = (NI)0; T11_ = listLen__EqfIXRABRD085klc9c3SUgg_5(rlp); T9_ = (MinListLen__sVuvgQfV1pUqFPy9bcjVeeQ[(cmdId)- 1] <= T11_); LA10_: ;
if (!T9_) goto LA12_;
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if (cmdId < 1 || cmdId > 4){ raiseIndexError3(cmdId, 1, 4); } if (nimSubInt(MinListLen__sVuvgQfV1pUqFPy9bcjVeeQ[(cmdId)- 1], ((NI) 1), &TM__RlWAeaewn59cCEhYQjWkWAg_11)) { raiseOverflow(); };
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T14_), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA)); listElem__VEGbaY9aCZqSUrGp7OclNRg(rlp, (NI)(TM__RlWAeaewn59cCEhYQjWkWAg_11), (&T14_));
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
expiration = toInt__9cUr9bDjj6EQm1WWuCxW9bCuQ(T14_);
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T15_ = (NF)0; T15_ = epochTime__9aodCrWXscOGeNVh2cpuZkw(); result = (T15_ <= ((NF) (expiration))); }
goto LA7_;
LA12_: ;
{ tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg* T17_; NimStringDesc* T18_; T17_ = (tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg*)0; T17_ = (tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg*) newObj((&NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_), sizeof(tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg)); (*T17_).Sup.Sup.Sup.m_type = (&NTI__WT18kMNH9aJInLJYIAozmrg_); (*T17_).Sup.Sup.name = "DiscProtocolError"; T18_ = (NimStringDesc*)0; T18_ = (*T17_).Sup.Sup.message; (*T17_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_12)); if (T18_) nimGCunrefNoCycle(T18_); asgnRef((void**) (&(*T17_).Sup.Sup.parent), NIM_NIL);
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
raiseExceptionEx((Exception*)T17_, "DiscProtocolError", "expirationValid", "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/disc"
"overy.nim", 234); }
LA7_: ;
return result;}
#line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
static N_INLINE(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA, get__cpdMmocUxmaDKExSt5lf9cwresults)(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ* self) { tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA result; nimZeroMem((void*)(&result), sizeof(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA));
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 463 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
{
#line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!!((*self).o)) goto LA3_;
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_7)); }
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
raiseResultDefect__owuWoGCIMYubXziJ5dK27w(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_13), (*self)._o_1.e);
}
LA3_: ;
if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_8)); } result = (*self)._o_2.v; return result;}
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(void, append__9a5tscgeoVMHndctguT3ONw)(tyObject_RlpWriter__5wlnwCMsmWR0hwp89bvcZqQ* w, tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA a) {
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
switch (a.family) {
case ((tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA) 0):
{
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if (!(((1 &(1U<<((NU)(a.family)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_14)); }
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
appendImpl__xQNLfTJIKg9bWsV9b1S4Pc0Q(w, a._family_1.address_v6, 16);
}
break;
case ((tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA) 1):
{
#line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if (!(((2 &(1U<<((NU)(a.family)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_15)); }
#line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
appendImpl__xQNLfTJIKg9bWsV9b1S4Pc0Q(w, a._family_2.address_v4, 4);
}
break;
}
}
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(NU32, expiration__I6V1jjqTZVMkdFPy9beXHwQ)(void) { NU32 result; NF T1_; result = (NU32)0;
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T1_ = (NF)0; T1_ = epochTime__9aodCrWXscOGeNVh2cpuZkw(); result = ((NU32) (((NF)(T1_) + (NF)(6.0000000000000000e+01)))); return result;}
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, pack__HbeDY0lTSnbQ0ZP9bq8soew)(tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA cmdId, NU8* payload, NI payloadLen_0, tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* pk) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* encodedData; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T1_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T2_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* signature; tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA T3_; tyArray__DqM3b17bbm0d9bCZr9c2fLDQ T4_; NI T5_; tyObject_MDigest__law9ct65KplMYBvtmjCQxbw msgHash; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T6_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T7_; NI T8_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T9_; result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T1_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T1_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*) newSeq((&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_), 1); T1_->data[0] = ((NU8) (cmdId));
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T2_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T2_ = at___FKhCG9aXnVoTuyjERVXzd2g(payload, payloadLen_0);
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
encodedData = amp___GKDTgswYEfLZ0HJ4qcD9cGQ(T1_, T2_);
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
signature = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*) newSeq((&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_), 65);
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T3_ = sign__EnvJquxZs9aCJYufWzauE3A(pk, encodedData->data, (encodedData ? encodedData->Sup.len : 0));
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)T4_, sizeof(tyArray__DqM3b17bbm0d9bCZr9c2fLDQ)); toRaw__yPMUELBksARKX8FT2nORhg((&T3_), T4_);
T5_ = (NI)0; for (T5_ = 0; T5_ < 65; T5_++) { signature->data[T5_] = T4_[T5_]; }
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T6_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T6_ = amp___GKDTgswYEfLZ0HJ4qcD9cGQ(signature, encodedData);
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
msgHash = digest__kUuxyH0Wbp0DnT9anHK9b9c2g(T6_->data, (T6_ ? T6_->Sup.len : 0));
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T7_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T7_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*) newSeq((&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_), 32); T8_ = (NI)0; for (T8_ = 0; T8_ < 32; T8_++) { T7_->data[T8_] = msgHash.data[T8_]; }
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T9_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T9_ = amp___GKDTgswYEfLZ0HJ4qcD9cGQ(T7_, signature);
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
result = amp___GKDTgswYEfLZ0HJ4qcD9cGQ(T9_, encodedData); 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___BokNSDrKN1xmV1nA01G9brAsystem)(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 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 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);}
static N_NIMCALL(void, Marker_tyRef__vL8I9bFvMQVVU9cL439aq2Sag)(void* p, NI op) {
tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg* a;
a = (tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg*)p;
nimGCvisit((void*)(*a).f1, op);}
#line 161 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(NIM_BOOL, failed__JXDwCFE0FKiFPAKUUjgdVg_3asyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 162 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
result = ((*future).state == ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 3)); return result;}
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___bhq5YZ9aJnEWjLLN9cHklgAw)(void* data_0, void* ClE_0) { tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg* colonenvP_; colonenvP_ = (tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg*) ClE_0;
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T3_; NIM_BOOL T4_; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_23;
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T3_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T3_ = &(*colonenvP_).f1->Sup;
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T4_ = (NIM_BOOL)0; T4_ = failed__JXDwCFE0FKiFPAKUUjgdVg_3asyncloop(T3_); if (!T4_) goto LA5_;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_23); TM__RlWAeaewn59cCEhYQjWkWAg_23.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_23.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_23.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T9_; Exception* T10_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_24));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T9_ = (NI)0; T9_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T9_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T10_ = (Exception*)0; T10_ = readError__oZX3NvZG9bIr8Tg41a2gDQg((*colonenvP_).f1);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_25), (*T10_).message);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym43365019_; Exception* T13_; Exception* T14_; TM__RlWAeaewn59cCEhYQjWkWAg_23.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T13_ = (Exception*)0; T13_ = getCurrentException(); errX60gensym43365019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T13_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T14_ = (Exception*)0; T14_ = &errX60gensym43365019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Discovery send failed", T14_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_23.status != 0) reraiseException(); }
LA5_: ;
}
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(void, send__x0uPld9cpSLLojuoLxqiOrA)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* n_0, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data_0) { tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg* colonenv_; tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw ta; tyProc__9bqx36VxQxXejdrF09bFARDQ T1_; colonenv_ = (tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg*) newObj((&NTI__vL8I9bFvMQVVU9cL439aq2Sag_), sizeof(tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg)); (*colonenv_).Sup.m_type = (&NTI__NU7lrYp3OYcg9aa9aEW9aiIkg_);
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
ta = initTAddress__4Inkz184gzvSzRNqKTPwVw((*n_0).node.address.ip, (*n_0).node.address.udpPort);
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
asgnRef((void**) (&(*colonenv_).f1), sendTo__g9bsrmUcJ5yFAVE4pF2CWTg((*d).transp, (&ta), data_0, ((NI) -1)));
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T1_), sizeof(tyProc__9bqx36VxQxXejdrF09bFARDQ)); T1_.ClP_0 = colonanonymous___bhq5YZ9aJnEWjLLN9cHklgAw; T1_.ClE_0 = colonenv_;
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
callbackeq___aTxUhkOixq78pMEm3x5jfA((*colonenv_).f1, T1_);
}
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, sendPing__zPJpb1riKWDLW5nHvjaLeA)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* n_0) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* payload; tyTuple__Boxofyx0cfbCs9baoLqmiMQ T1_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* msg; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T2_; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_16; result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T1_.Field0 = ((NI) 4); T1_.Field1 = (*d).address; T1_.Field2 = (*n_0).node.address;
#line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T1_.Field3 = expiration__I6V1jjqTZVMkdFPy9beXHwQ();
#line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
payload = encode__S9bMzj6pU1FSiucIkJ9c770A((&T1_));
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
msg = pack__HbeDY0lTSnbQ0ZP9bq8soew(((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 1), payload->data, (payload ? payload->Sup.len : 0), (&(*d).privKey));
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T2_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 0), ((NI) 31));
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
result = X5BX5D___Kyr39aNcnXyqz84UZKlCSJw(msg->data, (msg ? msg->Sup.len : 0), T2_);
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_16); TM__RlWAeaewn59cCEhYQjWkWAg_16.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_16.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_16.status == 0) { TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_17;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_17); TM__RlWAeaewn59cCEhYQjWkWAg_17.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_17.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_17.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T6_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_19));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T6_ = (NI)0; T6_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T6_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__TBbb0DiTl9akvXlg2rlp8YQ((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_21), n_0);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym43745019_; Exception* T9_; Exception* T10_; TM__RlWAeaewn59cCEhYQjWkWAg_17.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T9_ = (Exception*)0; T9_ = getCurrentException(); errX60gensym43745019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T9_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T10_ = (Exception*)0; T10_ = &errX60gensym43745019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg(">>> ping ", T10_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_17.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__RlWAeaewn59cCEhYQjWkWAg_16.status = 0; popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_16.status != 0) reraiseException();
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
send__x0uPld9cpSLLojuoLxqiOrA(d, n_0, msg);
return result;}
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(void, sendPong__0W9aMM3vS9aPKbM9ab3xlahig)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* n_0, tyObject_MDigest__law9ct65KplMYBvtmjCQxbw* token) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* payload; tyTuple__ip0pB3Eij9bXXLxUfAIMyIg T1_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* msg; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_26;
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T1_.Field0 = (*n_0).node.address; T1_.Field1 = (*token);
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T1_.Field2 = expiration__I6V1jjqTZVMkdFPy9beXHwQ();
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
payload = encode__25y9choAcWPMwzGwTyRCTIQ((&T1_));
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
msg = pack__HbeDY0lTSnbQ0ZP9bq8soew(((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 2), payload->data, (payload ? payload->Sup.len : 0), (&(*d).privKey));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_26); TM__RlWAeaewn59cCEhYQjWkWAg_26.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_26.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_26.status == 0) { TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_27;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_27); TM__RlWAeaewn59cCEhYQjWkWAg_27.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_27.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_27.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T5_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_28));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T5_ = (NI)0; T5_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T5_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__TBbb0DiTl9akvXlg2rlp8YQ((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_21), n_0);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym43930019_; Exception* T8_; Exception* T9_; TM__RlWAeaewn59cCEhYQjWkWAg_27.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T8_ = (Exception*)0; T8_ = getCurrentException(); errX60gensym43930019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T8_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T9_ = (Exception*)0; T9_ = &errX60gensym43930019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg(">>> pong ", T9_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_27.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__RlWAeaewn59cCEhYQjWkWAg_26.status = 0; popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_26.status != 0) reraiseException();
#line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
send__x0uPld9cpSLLojuoLxqiOrA(d, n_0, msg);
}
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
static N_INLINE(void, recvPing__BjRfq6g1k2mM2qi1YIax9cAdiscovery)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* node, tyObject_MDigest__law9ct65KplMYBvtmjCQxbw* msgHash) {
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
recvPing__TnuKprlk0OfUfjIPeDY2Aw((*d).kademlia, node, msgHash);
}
#line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
static N_INLINE(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw, get__JFQwBemeHfTz1og5UVED6Aresults)(tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw* self) { tyObject_MDigest__law9ct65KplMYBvtmjCQxbw result; nimZeroMem((void*)(&result), sizeof(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw));
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 463 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
{
#line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!!((*self).o)) goto LA3_;
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_7)); }
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
raiseResultDefect__owuWoGCIMYubXziJ5dK27w(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_13), (*self)._o_1.e);
}
LA3_: ;
if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_8)); } result = (*self)._o_2.v; return result;}
#line 172 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
static N_INLINE(void, recvPong__MPVGn4EMXPypTsHjGL9bv6Qdiscovery)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* node, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* payload) { tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA rlp; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* tok; tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA T1_; nimZeroMem((void*)(&rlp), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA));
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
rlpFromBytes__sID1jdK1TDDl4MyhPZIesQ(payload, (&rlp));
#line 174 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 174 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 174 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T1_), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA)); listElem__VEGbaY9aCZqSUrGp7OclNRg(rlp, ((NI) 1), (&T1_));
#line 174 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
tok = toBytes__GlivWos7Cy9coi2uRKRYdLg(T1_);
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
recvPong__z2ddPp9aY9agWbdsko26dn5w((*d).kademlia, node, tok);
}
#line 177 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
static N_INLINE(void, recvNeighbours__MPVGn4EMXPypTsHjGL9bv6Q_2discovery)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* node, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* payload) { tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA rlp; tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA neighboursList; tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA T1_; NI sz; tySequence__Wq0ZcI6MO5RSp6EwbCW5fA* neighbours; nimZeroMem((void*)(&rlp), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA));
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
rlpFromBytes__sID1jdK1TDDl4MyhPZIesQ(payload, (&rlp));
nimZeroMem((void*)(&neighboursList), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA));
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T1_), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA)); listElem__VEGbaY9aCZqSUrGp7OclNRg(rlp, ((NI) 0), (&T1_));
neighboursList.bytes = T1_.bytes; neighboursList.position = T1_.position;
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
sz = listLen__EqfIXRABRD085klc9c3SUgg_5(neighboursList);
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
neighbours = (tySequence__Wq0ZcI6MO5RSp6EwbCW5fA*)nimNewSeqOfCap((&NTI__Wq0ZcI6MO5RSp6EwbCW5fA_), ((NI) 16)); { 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__RlWAeaewn59cCEhYQjWkWAg_33;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (!(i_2 < sz)) goto LA4;
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
i = i_2; { tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA n_1; tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA T6_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* ipBlob; tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA T7_; tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA ip_1; NI T8_; NU16 udpPort; tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA T19_; NU16 tcpPort; tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA T20_; tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ pk; tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA T21_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T22_; tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA T34_; tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA T35_; tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* T36_; NI T37_; nimZeroMem((void*)(&n_1), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA));
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T6_), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA)); listElem__VEGbaY9aCZqSUrGp7OclNRg(neighboursList, i, (&T6_));
n_1.bytes = T6_.bytes; n_1.position = T6_.position;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T7_), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA)); listElem__VEGbaY9aCZqSUrGp7OclNRg(n_1, ((NI) 0), (&T7_));
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
ipBlob = toBytes__GlivWos7Cy9coi2uRKRYdLg(T7_); nimZeroMem((void*)(&ip_1), sizeof(tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA));
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T8_ = (ipBlob ? ipBlob->Sup.len : 0); switch (T8_) {
case ((NI) 4):
{
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
chckNil((void*)(&ip_1)); nimZeroMem((void*)(&ip_1), sizeof(tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA)); ip_1.family = ((tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA) 1);
#line 191 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 191 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
toArray__NOZQrmTFpn9akX9cY2NRm1Qg(ipBlob->data, (ipBlob ? ipBlob->Sup.len : 0), ip_1._family_2.address_v4);
}
break;
case ((NI) 16):
{
#line 193 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
chckNil((void*)(&ip_1)); nimZeroMem((void*)(&ip_1), sizeof(tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA)); ip_1.family = ((tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA) 0);
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
toArray__Et9c2iWDNkilRAJfxb19bYVg(ipBlob->data, (ipBlob ? ipBlob->Sup.len : 0), ip_1._family_1.address_v6);
}
break;
default:
{ TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_29;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_29); TM__RlWAeaewn59cCEhYQjWkWAg_29.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_29.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_29.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T14_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 6), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_30));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T14_ = (NI)0; T14_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T14_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym45675019_; Exception* T17_; Exception* T18_; TM__RlWAeaewn59cCEhYQjWkWAg_29.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T17_ = (Exception*)0; T17_ = getCurrentException(); errX60gensym45675019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T17_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T18_ = (Exception*)0; T18_ = &errX60gensym45675019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Wrong ip address length!", T18_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_29.status != 0) reraiseException();
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
goto LA5;
}
break;
}
#line 199 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 199 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 199 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 199 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T19_), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA)); listElem__VEGbaY9aCZqSUrGp7OclNRg(n_1, ((NI) 1), (&T19_));
#line 199 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
udpPort = toInt__k46Eva1XIvi6HGGZZjSNGw(T19_);
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T20_), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA)); listElem__VEGbaY9aCZqSUrGp7OclNRg(n_1, ((NI) 2), (&T20_));
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
tcpPort = toInt__k46Eva1XIvi6HGGZZjSNGw(T20_);
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T21_), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA)); listElem__VEGbaY9aCZqSUrGp7OclNRg(n_1, ((NI) 3), (&T21_));
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T22_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T22_ = toBytes__GlivWos7Cy9coi2uRKRYdLg(T21_);
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
pk = fromRaw__09bVO0j5Htfp2zQRd1AkcpQ(T22_->data, (T22_ ? T22_->Sup.len : 0));
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_31;
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
if (!!(pk.o)) goto LA25_;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_31); TM__RlWAeaewn59cCEhYQjWkWAg_31.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_31.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_31.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record_2; NI T29_; nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record_2)); nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record_2), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 5), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_32));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T29_ = (NI)0; T29_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record_2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T29_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record_2));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record_2));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym45755019_; Exception* T32_; Exception* T33_; TM__RlWAeaewn59cCEhYQjWkWAg_31.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T32_ = (Exception*)0; T32_ = getCurrentException(); errX60gensym45755019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T32_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T33_ = (Exception*)0; T33_ = &errX60gensym45755019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Could not parse public key", T33_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_31.status != 0) reraiseException();
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
goto LA5;
}
LA25_: ;
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
T34_ = get__cpdMmocUxmaDKExSt5lf9cwresults((&pk)); nimZeroMem((void*)(&T35_), sizeof(tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA)); T35_.ip = ip_1; T35_.udpPort = udpPort; T35_.tcpPort = tcpPort;
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T36_ = (tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg*)0; T36_ = newNode__30M2Y2orzrgQh8nf9bYtfQg((&T34_), T35_); neighbours = (tySequence__Wq0ZcI6MO5RSp6EwbCW5fA*) incrSeqV3((TGenericSeq*)(neighbours), (&NTI__Wq0ZcI6MO5RSp6EwbCW5fA_)); T37_ = neighbours->Sup.len++; asgnRef((void**) (&neighbours->data[T37_]), T36_); } LA5: ;
#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__RlWAeaewn59cCEhYQjWkWAg_33)) { raiseOverflow(); }; i_2 = (NI)(TM__RlWAeaewn59cCEhYQjWkWAg_33); } LA4: ;
}
}
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
recvNeighbours__rjR5O8AeYTEk7a0yBjSatA((*d).kademlia, node, neighbours);
}
#line 2652 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(void, shallow__9aypmJLQyk6jW3MIFqeSbtQsystem)(tySequence__XiuSuFrsuhroELW874HXhA** s_0) { TGenericSeq* s_2;{
#line 2657 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
{ NI T3_;
#line 2657 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
#line 2657 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
T3_ = ((*s_0) ? (*s_0)->Sup.len : 0); if (!(T3_ == ((NI) 0))) goto LA4_;
#line 2657 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
goto BeforeRet_;
}
LA4_: ;
#line 2659 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
s_2 = ((TGenericSeq*) ((*s_0)));
#line 2660 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
#line 2660 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
(*s_2).reserved = (NI)((*s_2).reserved | ((NI) (IL64(-9223372036854775807) - IL64(1)))); }BeforeRet_: ;
}
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(void, sendNeighbours__OX43BiBq1rMxAuhVrSiiRw)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* node, tySequence__Wq0ZcI6MO5RSp6EwbCW5fA* neighbours) { tySequence__XiuSuFrsuhroELW874HXhA* nodes;
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nodes = (tySequence__XiuSuFrsuhroELW874HXhA*)nimNewSeqOfCap((&NTI__XiuSuFrsuhroELW874HXhA_), ((NI) 12));
#line 139 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 139 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
shallow__9aypmJLQyk6jW3MIFqeSbtQsystem((&nodes));
{ NI i; tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* n_1; NI i_2; NI L; NI T2_; i = (NI)0; n_1 = (tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg*)0;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i_2 = ((NI) 0);
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T2_ = (neighbours ? neighbours->Sup.len : 0); L = T2_; {
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { tyTuple__akue9c3LnOr29bcgBFD7a0Vg T5_; NI T6_; NI TM__RlWAeaewn59cCEhYQjWkWAg_43;
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i_2 < L)) goto LA4;
#line 149 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
i = i_2;
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if ((NU)(i_2) >= (NU)(neighbours ? neighbours->Sup.len : 0)){ raiseIndexError2(i_2,(neighbours ? neighbours->Sup.len : 0)-1); } n_1 = neighbours->data[i_2];
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T5_.Field0 = (*n_1).node.address.ip; T5_.Field1 = (*n_1).node.address.udpPort; T5_.Field2 = (*n_1).node.address.tcpPort; T5_.Field3 = (*n_1).node.pubkey; nodes = (tySequence__XiuSuFrsuhroELW874HXhA*) incrSeqV3((TGenericSeq*)(nodes), (&NTI__XiuSuFrsuhroELW874HXhA_)); T6_ = nodes->Sup.len++; nodes->data[T6_] = T5_;
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ NI T9_;
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T9_ = (nodes ? nodes->Sup.len : 0); if (!(T9_ == ((NI) 12))) goto LA10_;
{ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* payloadX60gensym44320244_; tyTuple__2KY7pfkFge4RCMsQ8kRGsw T13_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* msgX60gensym44320245_; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_39;
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T13_), sizeof(tyTuple__2KY7pfkFge4RCMsQ8kRGsw)); genericSeqAssign((&T13_.Field0), nodes, (&NTI__XiuSuFrsuhroELW874HXhA_));
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T13_.Field1 = expiration__I6V1jjqTZVMkdFPy9beXHwQ();
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
payloadX60gensym44320244_ = encode__crTWkiqRq0o7EHDMwThqTw(T13_);
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
msgX60gensym44320245_ = pack__HbeDY0lTSnbQ0ZP9bq8soew(((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 4), payloadX60gensym44320244_->data, (payloadX60gensym44320244_ ? payloadX60gensym44320244_->Sup.len : 0), (&(*d).privKey));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_39); TM__RlWAeaewn59cCEhYQjWkWAg_39.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_39.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_39.status == 0) { TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_40;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_40); TM__RlWAeaewn59cCEhYQjWkWAg_40.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_40.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_40.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T17_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_41));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T17_ = (NI)0; T17_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T17_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__TBbb0DiTl9akvXlg2rlp8YQ((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_37), node);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__oJlZ2qHzBGUZtf8z5TGFUA((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_42), nodes);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym44565019_; Exception* T20_; Exception* T21_; TM__RlWAeaewn59cCEhYQjWkWAg_40.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T20_ = (Exception*)0; T20_ = getCurrentException(); errX60gensym44565019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T20_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T21_ = (Exception*)0; T21_ = &errX60gensym44565019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Neighbours to", T21_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_40.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__RlWAeaewn59cCEhYQjWkWAg_39.status = 0; popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_39.status != 0) reraiseException();
#line 146 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 146 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
send__x0uPld9cpSLLojuoLxqiOrA(d, node, msgX60gensym44320245_);
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nodes = (tySequence__XiuSuFrsuhroELW874HXhA*) setLengthSeqV2(&(nodes)->Sup, (&NTI__XiuSuFrsuhroELW874HXhA_), ((NI) 0)); }
}
LA10_: ;
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i_2, ((NI) 1), &TM__RlWAeaewn59cCEhYQjWkWAg_43)) { raiseOverflow(); }; i_2 = (NI)(TM__RlWAeaewn59cCEhYQjWkWAg_43);
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T26_;
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T26_ = (neighbours ? neighbours->Sup.len : 0); if (!!((T26_ == L))) goto LA27_;
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_44));
}
LA27_: ;
} LA4: ;
}
}
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ NI T31_;
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T31_ = (nodes ? nodes->Sup.len : 0); if (!!((T31_ == ((NI) 0)))) goto LA32_;
{ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* payloadX60gensym44685006_; tyTuple__2KY7pfkFge4RCMsQ8kRGsw T35_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* msgX60gensym44685007_; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_45;
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T35_), sizeof(tyTuple__2KY7pfkFge4RCMsQ8kRGsw)); genericSeqAssign((&T35_.Field0), nodes, (&NTI__XiuSuFrsuhroELW874HXhA_));
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T35_.Field1 = expiration__I6V1jjqTZVMkdFPy9beXHwQ();
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
payloadX60gensym44685006_ = encode__crTWkiqRq0o7EHDMwThqTw(T35_);
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
msgX60gensym44685007_ = pack__HbeDY0lTSnbQ0ZP9bq8soew(((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 4), payloadX60gensym44685006_->data, (payloadX60gensym44685006_ ? payloadX60gensym44685006_->Sup.len : 0), (&(*d).privKey));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_45); TM__RlWAeaewn59cCEhYQjWkWAg_45.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_45.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_45.status == 0) { TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_46;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_46); TM__RlWAeaewn59cCEhYQjWkWAg_46.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_46.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_46.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record_2; NI T39_; nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record_2)); nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record_2), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_41));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T39_ = (NI)0; T39_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record_2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T39_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__TBbb0DiTl9akvXlg2rlp8YQ((&record_2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_37), node);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__oJlZ2qHzBGUZtf8z5TGFUA((&record_2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_42), nodes);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record_2));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record_2));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym44720019_; Exception* T42_; Exception* T43_; TM__RlWAeaewn59cCEhYQjWkWAg_46.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T42_ = (Exception*)0; T42_ = getCurrentException(); errX60gensym44720019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T42_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T43_ = (Exception*)0; T43_ = &errX60gensym44720019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Neighbours to", T43_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_46.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__RlWAeaewn59cCEhYQjWkWAg_45.status = 0; popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_45.status != 0) reraiseException();
#line 146 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 146 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
send__x0uPld9cpSLLojuoLxqiOrA(d, node, msgX60gensym44685007_);
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nodes = (tySequence__XiuSuFrsuhroELW874HXhA*) setLengthSeqV2(&(nodes)->Sup, (&NTI__XiuSuFrsuhroELW874HXhA_), ((NI) 0)); }
}
LA32_: ;
}
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
static N_INLINE(void, recvFindNode__LvhtFptqLswXrWQNDll15gdiscovery)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* node, NU8* payload, NI payloadLen_0) { tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA rlp; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_34; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* rng_1; tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA T11_; nimZeroMem((void*)(&rlp), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA));
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
rlpFromBytes__rU4W9amjt55PGLyJY2jtc6A(payload, payloadLen_0, (&rlp));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_34); TM__RlWAeaewn59cCEhYQjWkWAg_34.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_34.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_34.status == 0) { TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_35;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_35); TM__RlWAeaewn59cCEhYQjWkWAg_35.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_35.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_35.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T4_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_36));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T4_ = (NI)0; T4_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T4_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__TBbb0DiTl9akvXlg2rlp8YQ((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_37), node);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym46045019_; Exception* T7_; Exception* T8_; TM__RlWAeaewn59cCEhYQjWkWAg_35.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T7_ = (Exception*)0; T7_ = getCurrentException(); errX60gensym46045019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T7_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T8_ = (Exception*)0; T8_ = &errX60gensym46045019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("<<< find_node from ", T8_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_35.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__RlWAeaewn59cCEhYQjWkWAg_34.status = 0; popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_34.status != 0) reraiseException();
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T11_), sizeof(tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA)); listElem__VEGbaY9aCZqSUrGp7OclNRg(rlp, ((NI) 0), (&T11_));
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
rng_1 = toBytes__GlivWos7Cy9coi2uRKRYdLg(T11_);
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ NI T14_; tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg nodeId; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T17_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T18_;
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T14_ = (rng_1 ? rng_1->Sup.len : 0); if (!(T14_ == ((NI) 64))) goto LA15_;
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T17_ = dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem(((NI) 32), ((NI) 1));
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T18_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T18_ = X5BX5D___wOb6H4KHZySddEgq9c9cTBTQ(rng_1->data, (rng_1 ? rng_1->Sup.len : 0), T17_);
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nodeId = readUintBE__vA4YbgLWhFsThk7n01kMzA(T18_->data, (T18_ ? T18_->Sup.len : 0));
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
recvFindNode__zWlD4fxgcdzGM2X1hPFGPw((*d).kademlia, node, (&nodeId));
}
goto LA12_;
LA15_: ;
{ TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_47;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_47); TM__RlWAeaewn59cCEhYQjWkWAg_47.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_47.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_47.status == 0) { TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_48;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_48); TM__RlWAeaewn59cCEhYQjWkWAg_48.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_48.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_48.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record_2; NI T23_; nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record_2)); nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record_2), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_49));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T23_ = (NI)0; T23_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record_2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T23_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record_2));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record_2));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym46360019_; Exception* T26_; Exception* T27_; TM__RlWAeaewn59cCEhYQjWkWAg_48.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T26_ = (Exception*)0; T26_ = getCurrentException(); errX60gensym46360019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T26_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T27_ = (Exception*)0; T27_ = &errX60gensym46360019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Invalid target public key received", T27_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_48.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__RlWAeaewn59cCEhYQjWkWAg_47.status = 0; popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_47.status != 0) reraiseException(); }
LA12_: ;
}
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(void, receive__tplZ9bYwk7QoN9aI2WTY2PXw)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA a, NU8* msg, NI msgLen_0) { tyObject_Result__9asiVi9cu9bQZ9cACEJmIqRgdw msgHash;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
msgHash = validateMsgHash__cFYkqMO9cV5ABDVeFiXe3eg(msg, msgLen_0);
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ remotePubkey; if (!msgHash.o) goto LA3_;
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
remotePubkey = recoverMsgPublicKey__Qb9ccPsynegFmNIw60NeVyA(msg, msgLen_0);
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ tyTuple__2ctLf7OIXOFHrPu39aLDKvg T9_; tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA cmdId; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* payload; if (!remotePubkey.o) goto LA7_;
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T9_), sizeof(tyTuple__2ctLf7OIXOFHrPu39aLDKvg)); unpack__1XepfsGIdb2PYQDwKJj35w(msg, msgLen_0, (&T9_));
cmdId = (tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA)0; cmdId = T9_.Field0; payload = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; payload = T9_.Field1;
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ NIM_BOOL T12_; tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* node; tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA T15_;
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T12_ = (NIM_BOOL)0; T12_ = expirationValid__ZCVVD3stffjvXFadZ1C9aMwdiscovery(cmdId, payload->data, (payload ? payload->Sup.len : 0)); if (!T12_) goto LA13_;
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
T15_ = get__cpdMmocUxmaDKExSt5lf9cwresults((&remotePubkey));
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
node = newNode__30M2Y2orzrgQh8nf9bYtfQg((&T15_), a);
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
switch (cmdId) {
case ((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 1):
{ tyObject_MDigest__law9ct65KplMYBvtmjCQxbw T17_;
#line 249 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 491 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
T17_ = get__JFQwBemeHfTz1og5UVED6Aresults((&msgHash));
#line 249 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
recvPing__BjRfq6g1k2mM2qi1YIax9cAdiscovery(d, node, (&T17_));
}
break;
case ((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 2):
{
#line 251 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 251 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
recvPong__MPVGn4EMXPypTsHjGL9bv6Qdiscovery(d, node, payload);
}
break;
case ((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 4):
{
#line 253 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 253 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
recvNeighbours__MPVGn4EMXPypTsHjGL9bv6Q_2discovery(d, node, payload);
}
break;
case ((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 3):
{
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
recvFindNode__LvhtFptqLswXrWQNDll15gdiscovery(d, node, payload->data, (payload ? payload->Sup.len : 0));
}
break;
}
}
goto LA10_;
LA13_: ;
{ TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_50;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_50); TM__RlWAeaewn59cCEhYQjWkWAg_50.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_50.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_50.status == 0) { TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_51;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_51); TM__RlWAeaewn59cCEhYQjWkWAg_51.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_51.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_51.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T25_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_52));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T25_ = (NI)0; T25_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T25_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__JZTTLfxz0IvZgUeYYHt9cQQ((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_56), cmdId);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__Lqa4B32UwgW24kS6Igr9cKw((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_57), a);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym46480019_; Exception* T28_; Exception* T29_; TM__RlWAeaewn59cCEhYQjWkWAg_51.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T28_ = (Exception*)0; T28_ = getCurrentException(); errX60gensym46480019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T28_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T29_ = (Exception*)0; T29_ = &errX60gensym46480019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Received msg already expired", T29_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_51.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__RlWAeaewn59cCEhYQjWkWAg_50.status = 0; popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_50.status != 0) reraiseException(); }
LA10_: ;
}
goto LA5_;
LA7_: ;
{ TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_58;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_58); TM__RlWAeaewn59cCEhYQjWkWAg_58.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_58.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_58.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record_2; NI T35_; NCSTRING T36_; nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record_2)); nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record_2), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 4), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_59));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T35_ = (NI)0; T35_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record_2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T35_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__Lqa4B32UwgW24kS6Igr9cKw((&record_2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_57), a);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T36_ = (NCSTRING)0; T36_ = error__mTiJ7Ikbe9aYfTMOSyaBRxQ((&remotePubkey));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__3WN9aIz7lNtTrcIDj9bpKQkw((&record_2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_60), T36_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record_2));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record_2));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym46675019_; Exception* T39_; Exception* T40_; TM__RlWAeaewn59cCEhYQjWkWAg_58.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T39_ = (Exception*)0; T39_ = getCurrentException(); errX60gensym46675019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T39_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T40_ = (Exception*)0; T40_ = &errX60gensym46675019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Wrong public key from ", T40_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_58.status != 0) reraiseException(); }
LA5_: ;
}
goto LA1_;
LA3_: ;
{ TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_61;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_61); TM__RlWAeaewn59cCEhYQjWkWAg_61.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_61.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_61.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record_3; NI T44_; nimZeroMem((void*)(&record_3), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record_3)); nimZeroMem((void*)(&record_3), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record_3), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 4), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_62));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T44_ = (NI)0; T44_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record_3), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T44_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__Lqa4B32UwgW24kS6Igr9cKw((&record_3), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_57), a);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record_3));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record_3));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym46810019_; Exception* T47_; Exception* T48_; TM__RlWAeaewn59cCEhYQjWkWAg_61.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T47_ = (Exception*)0; T47_ = getCurrentException(); errX60gensym46810019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T47_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T48_ = (Exception*)0; T48_ = &errX60gensym46810019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Wrong msg mac from ", T48_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_61.status != 0) reraiseException(); }
LA1_: ;
}
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, processClient__JkYeO8DuT55P1zChLI9al7Q)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ*) ClE_0;
#line 265 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
while (1) { if (!1) goto LA1;
{ tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T33_; switch ((*colonenvP_).colonstate_) {
case -1:
goto BeforeRet_;
case 0: goto STATE0;
case 1: goto STATE1;
}
STATE0: ; { TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_6;
#line 265 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 265 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
asgnRef((void**) (&(*colonenvP_).proto1), getUserData__rOmPwzj9cOF73xwApMhJwygdatagram((*(*colonenvP_).colonup_).transp1));
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_6); TM__RlWAeaewn59cCEhYQjWkWAg_6.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_6.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_6.status == 0) { tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA T5_;
#line 270 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 270 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
asgnRef((void**) (&(*colonenvP_).buf3), getMessage__9cCSu5UePPxrllocTEM5ZyA((*(*colonenvP_).colonup_).transp1));
#line 271 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T5_), sizeof(tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA));
#line 271 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 271 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T5_.ip = address__qobJk2RgXGf0gyI4B12WaQ((&(*(*colonenvP_).colonup_).raddr2)); T5_.udpPort = (*(*colonenvP_).colonup_).raddr2.port; T5_.tcpPort = (*(*colonenvP_).colonup_).raddr2.port; (*colonenvP_).a4 = T5_;
#line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
receive__tplZ9bYwk7QoN9aI2WTY2PXw((*colonenvP_).proto1, (*colonenvP_).a4, (*colonenvP_).buf3->data, ((*colonenvP_).buf3 ? (*colonenvP_).buf3->Sup.len : 0));
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__ENkbLoxFdDxL9aDUnEQeCuw_))) { Exception* T8_; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_63; TM__RlWAeaewn59cCEhYQjWkWAg_6.status = 0;
#line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T8_ = (Exception*)0; T8_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).e5), ((tyObject_RlpError__ENkbLoxFdDxL9aDUnEQeCuw*) (T8_)));
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_63); TM__RlWAeaewn59cCEhYQjWkWAg_63.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_63.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_63.status == 0) { { NI T11_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record6), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&(*colonenvP_).record6)); unsureAsgnRef((void**)&(*colonenvP_).record6.output.buffer, NIM_NIL); (*colonenvP_).record6.level = 0;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&(*colonenvP_).record6), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_64));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T11_ = (NI)0; T11_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record6), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T11_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__3WN9aIz7lNtTrcIDj9bpKQkw((&(*colonenvP_).record6), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_65), (*(*colonenvP_).e5).Sup.Sup.name);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record6), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_60), (*(*colonenvP_).e5).Sup.Sup.message);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&(*colonenvP_).record6));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&(*colonenvP_).record6));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T14_; Exception* T15_; TM__RlWAeaewn59cCEhYQjWkWAg_63.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T14_ = (Exception*)0; T14_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym468900197_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T14_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T15_ = (Exception*)0; T15_ = &(*colonenvP_).errX60gensym468900197_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Receive failed", T15_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_63.status != 0) reraiseException(); popCurrentException(); }
else if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__WT18kMNH9aJInLJYIAozmrg_))) { Exception* T17_; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_66; TM__RlWAeaewn59cCEhYQjWkWAg_6.status = 0;
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T17_ = (Exception*)0; T17_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).e8), ((tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg*) (T17_)));
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_66); TM__RlWAeaewn59cCEhYQjWkWAg_66.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_66.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_66.status == 0) { { NI T20_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record9), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&(*colonenvP_).record9)); unsureAsgnRef((void**)&(*colonenvP_).record9.output.buffer, NIM_NIL); (*colonenvP_).record9.level = 0;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&(*colonenvP_).record9), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_64));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T20_ = (NI)0; T20_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record9), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T20_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__3WN9aIz7lNtTrcIDj9bpKQkw((&(*colonenvP_).record9), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_65), (*(*colonenvP_).e8).Sup.Sup.name);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record9), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_60), (*(*colonenvP_).e8).Sup.Sup.message);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&(*colonenvP_).record9));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&(*colonenvP_).record9));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T23_; Exception* T24_; TM__RlWAeaewn59cCEhYQjWkWAg_66.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T23_ = (Exception*)0; T23_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym4696501910_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T23_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T24_ = (Exception*)0; T24_ = &(*colonenvP_).errX60gensym4696501910_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Receive failed", T24_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_66.status != 0) reraiseException(); popCurrentException(); }
else if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__XEycrCsme5C8CVWAYEcdBQ_))) { TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_67; TM__RlWAeaewn59cCEhYQjWkWAg_6.status = 0;
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
asgnRef((void**) (&(*colonenvP_).e11), getCurrentException());
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_67); TM__RlWAeaewn59cCEhYQjWkWAg_67.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_67.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_67.status == 0) { { NI T28_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record12), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&(*colonenvP_).record12)); unsureAsgnRef((void**)&(*colonenvP_).record12.output.buffer, NIM_NIL); (*colonenvP_).record12.level = 0;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&(*colonenvP_).record12), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 2), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_64));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T28_ = (NI)0; T28_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record12), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T28_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__3WN9aIz7lNtTrcIDj9bpKQkw((&(*colonenvP_).record12), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_65), (*(*colonenvP_).e11).name);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record12), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_60), (*(*colonenvP_).e11).message);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&(*colonenvP_).record12));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&(*colonenvP_).record12));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T31_; Exception* T32_; TM__RlWAeaewn59cCEhYQjWkWAg_67.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T31_ = (Exception*)0; T31_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym4704001913_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T31_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T32_ = (Exception*)0; T32_ = &(*colonenvP_).errX60gensym4704001913_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Receive failed", T32_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_67.status != 0) reraiseException();
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
raiseExceptionEx((Exception*)(*colonenvP_).e11, "Exception", "processClient", "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/disc"
"overy.nim", 279); popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_6.status != 0) reraiseException(); }
#line 265 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.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"
T33_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T33_ = srcLocImpl__DX4EFnDtUNw3gTx4HruiCA();
#line 265 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
complete__nHHWNIBkqCfVC3oe9a1ZdIQ((*(*colonenvP_).colonup_).chronosInternalRetFuture3, T33_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1);
#line 0 "\?\?\?"
goto LA2;
STATE1: ;
#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, processClient_continue__wUES1tnsXafberIwFTzW6A)(void* udataX60gensym46845217_, void* ClE_0) { tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ* colonenvP_; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_68; colonenvP_ = (tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_68); TM__RlWAeaewn59cCEhYQjWkWAg_68.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_68.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_68.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym46845218_;
#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_).nameIterVarX60gensym468452164_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym46845218_ = (*colonenvP_).nameIterVarX60gensym468452164_.ClP_0((*colonenvP_).nameIterVarX60gensym468452164_.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_ = !((nextX60gensym46845218_ == 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(nextX60gensym46845218_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym46845218_ = (*colonenvP_).nameIterVarX60gensym468452164_.ClP_0((*colonenvP_).nameIterVarX60gensym468452164_.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_).nameIterVarX60gensym468452164_); 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 (!(nextX60gensym46845218_ == 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_).chronosInternalRetFuture3); 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__RlWAeaewn59cCEhYQjWkWAg_71));
}
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 = processClient_continue__wUES1tnsXafberIwFTzW6A; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym46845218_, 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__RlWAeaewn59cCEhYQjWkWAg_68.status = 0;
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T29_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T29_ = &(*colonenvP_).chronosInternalRetFuture3->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* excX60gensym46845220_; Exception* T32_; TM__RlWAeaewn59cCEhYQjWkWAg_68.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(); excX60gensym46845220_ = ((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_).chronosInternalRetFuture3); if (!T35_) goto LA36_;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)excX60gensym46845220_, "CatchableError", "processClient_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_ = &excX60gensym46845220_->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_).chronosInternalRetFuture3, T39_, T40_);
}
LA33_: ;
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_68.status != 0) reraiseException();}
#line 263 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, processClient__8aDx2LgE5waFbUWc9bA6e0A)(tyObject_DatagramTransportcolonObjectType___BiotS4Q0H9bWosr4mx8VXjQ* transp, tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw* raddr) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; colonenv_ = (tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ*) newObj((&NTI__cRprJixj7ciNIuvcbjlleQ_), sizeof(tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ)); (*colonenv_).Sup.m_type = (&NTI__iCt42YkEtD6lDTWngpX5mQ_);
#line 263 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
asgnRef((void**) (&(*colonenv_).transp1), transp);
#line 264 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
(*colonenv_).raddr2 = (*raddr);
#line 264 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 264 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.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__LSgyafkoY5e1uEm3TfGZLQ();
#line 264 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
asgnRef((void**) (&(*colonenv_).chronosInternalRetFuture3), newFutureImpl__wu9buovQIxiU3ndXmKRpnVw(T1_));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ*) newObj((&NTI__6ycUkdwWuqZHLkv0GWBYGg_), sizeof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ)); (*colonenv__2).Sup.m_type = (&NTI__DhQ6CnWeg0zSlYIoTS3kPQ_);
#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 = processClient__JkYeO8DuT55P1zChLI9al7Q; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym468452164_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym468452164_.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 = processClient_continue__wUES1tnsXafberIwFTzW6A; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__RlWAeaewn59cCEhYQjWkWAg_72)(T3_.ClP_0))(NIM_NIL);
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenv_).chronosInternalRetFuture3; goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(void, open__2yolw89ciPNl89cU2DLN4piA)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d) { tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw ta; tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA T1_; tyProc__Kg7UAcnbZpWDUmuK0NqByw T2_;
#line 283 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 283 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 283 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T1_ = IPv4_any__5V0LcX2Yk2O9aKPmxujB0qw();
#line 283 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
ta = initTAddress__4Inkz184gzvSzRNqKTPwVw(T1_, (*d).address.udpPort);
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)(&T2_), sizeof(tyProc__Kg7UAcnbZpWDUmuK0NqByw)); T2_.ClP_0 = ((TM__RlWAeaewn59cCEhYQjWkWAg_73) (processClient__8aDx2LgE5waFbUWc9bA6e0A)); T2_.ClE_0 = NIM_NIL;
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
asgnRef((void**) (&(*d).transp), newDatagramTransport__jV3KN79bE9c2oPxPbsPBK5Bg(T2_, d, (&AnyAddress__D9aQ2zemdxUXGe9b9beh5z9cGw), (&ta), ((int) -1), 0, NIM_NIL, ((NI) 65536), ((NI) 0)));}
static N_NIMCALL(void, Marker_tyRef__dABUqg9aTdu6nKBE0XOp9csw)(void* p, NI op) {
tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw* a;
a = (tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw*)p;
nimGCvisit((void*)(*a).d1, op); nimGCvisit((void*)(*a).chronosInternalRetFuture2, op); nimGCvisit((void*)(*a).nameIterVarX60gensym486250463_.ClE_0, op);}
static N_NIMCALL(void, Marker_tyRef__wT2uBQI34fj4R8BviejH1A)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w* a;
a = (tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w*)p;
nimGCvisit((void*)(*a).chronosInternalTmpFuture1, op); nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).result3, 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 127 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(void, sendFindNode__M2pt5aNrL9c4AS2nl7XrZag)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* n_0, tyObject_StUint__zk9cGwjKuqNvWysDWG2FjHg* targetNodeId) { tyArray__w5VB8h5K8DB3oWrO5U2wqg data_1; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T1_; tyArray__vEOa9c5qaE9ajWxR5R4zwfQg T2_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* payload; tyTuple__gaGbVzehQOxhH9cAN1FlIyg T3_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* msg; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_76; nimZeroMem((void*)data_1, sizeof(tyArray__w5VB8h5K8DB3oWrO5U2wqg));
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T1_ = dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem(((NI) 32), ((NI) 1));
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimZeroMem((void*)T2_, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); toByteArrayBE__15Qm7fj0jAFrpK3KhqggUg(targetNodeId, T2_);
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
X5BX5Deq___9aWeV5c6yPHZYIje39co9ab1A(data_1, T1_, T2_, 32);
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
nimCopyMem((void*)T3_.Field0, (NIM_CONST void*)data_1, sizeof(tyArray__w5VB8h5K8DB3oWrO5U2wqg));
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T3_.Field1 = expiration__I6V1jjqTZVMkdFPy9beXHwQ();
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
payload = encode__YlzDaxgM9ai9ci0sq4pkb2SA((&T3_));
#line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
msg = pack__HbeDY0lTSnbQ0ZP9bq8soew(((tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA) 3), payload->data, (payload ? payload->Sup.len : 0), (&(*d).privKey));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_76); TM__RlWAeaewn59cCEhYQjWkWAg_76.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_76.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_76.status == 0) { TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_77;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_77); TM__RlWAeaewn59cCEhYQjWkWAg_77.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_77.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_77.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T7_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_78));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T7_ = (NI)0; T7_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T7_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__TBbb0DiTl9akvXlg2rlp8YQ((&record), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_21), n_0);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym44275019_; Exception* T10_; Exception* T11_; TM__RlWAeaewn59cCEhYQjWkWAg_77.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T10_ = (Exception*)0; T10_ = getCurrentException(); errX60gensym44275019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T10_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T11_ = (Exception*)0; T11_ = &errX60gensym44275019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg(">>> find_node to ", T11_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_77.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__RlWAeaewn59cCEhYQjWkWAg_76.status = 0; popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_76.status != 0) reraiseException();
#line 133 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 133 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
send__x0uPld9cpSLLojuoLxqiOrA(d, n_0, msg);
}
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(void, internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut) {}
static N_NIMCALL(void, Marker_tyRef__7A9cE9bLJrhjc29c21Q9bhtVOw)(void* p, NI op) {
tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ* a;
a = (tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ*)p;
nimGCvisit((void*)(*a).d1, op); nimGCvisit((void*)(*a).chronosInternalRetFuture2, op); nimGCvisit((void*)(*a).nameIterVarX60gensym484950723_.ClE_0, op);}
static N_NIMCALL(void, Marker_tyRef__fnmD9crznBzpn9aUzOpuSc9aQ)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg* a;
a = (tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg*)p;
nimGCvisit((void*)(*a).chronosInternalTmpFuture1, op); nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).result3, op); nimGCvisit((void*)(*a).record4.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym485600195_, op);}
#line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
static N_INLINE(tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ*, lookupRandom__OdmAYTNA6Qwiyjb7tAdJEgdiscovery)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d) { tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ* result; result = (tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ*)0;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
result = lookupRandom__TDLG9c6vZ5cMj16OjidHSdg((*d).kademlia); return result;}
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(tySequence__Wq0ZcI6MO5RSp6EwbCW5fA*, internalRead__eUE7Pmc9bR69crMATALz9cbfAasyncloop)(tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ* fut) { tySequence__Wq0ZcI6MO5RSp6EwbCW5fA* result;{ result = (tySequence__Wq0ZcI6MO5RSp6EwbCW5fA*)0;
#line 475 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 475 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
genericSeqAssign((&result), (*fut).value, (&NTI__Wq0ZcI6MO5RSp6EwbCW5fA_)); goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 311 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
static N_INLINE(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw, milliseconds__VnZgvngfH64K9cbR19bMHEEA_2timer)(NI v) { tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw result; NI64 TM__RlWAeaewn59cCEhYQjWkWAg_83; nimZeroMem((void*)(&result), sizeof(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw));
#line 313 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
#line 313 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
if (nimMulInt64(((NI64) (v)), TM__RlWAeaewn59cCEhYQjWkWAg_82.value, &TM__RlWAeaewn59cCEhYQjWkWAg_83)) { raiseOverflow(); }; result.value = (NI64)(TM__RlWAeaewn59cCEhYQjWkWAg_83); return result;}
#line 889 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
static N_INLINE(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, sleepAsync__P4gj2aoQiFuNFDdbQd1Rrwasyncloop)(NI ms) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw T1_; result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0;
#line 891 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
#line 891 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
#line 891 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
T1_ = milliseconds__VnZgvngfH64K9cbR19bMHEEA_2timer(ms);
#line 891 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncloop.nim"
result = sleepAsync__A6EK559a2LWq5qZCF2J9aB8A(T1_); return result;}
#line 513 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/kademlia.nim"
static N_INLINE(NI, nodesDiscovered__EYsrFewSeiKuuQhrHWT5jwkademlia)(tyObject_KademliaProtocolcolonObjectType___oABmn9coQwe3jYAuBTgenUw* k) { NI result; result = (NI)0;
#line 513 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/kademlia.nim"
#line 513 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/kademlia.nim"
result = len__uG6fTcTObohP6f4XaEmmFA((*k).routing); return result;}
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, run__JkYeO8DuT55P1zChLI9al7Q_3)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg*) ClE_0;
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
while (1) { if (!1) goto LA1;
{ tySequence__Wq0ZcI6MO5RSp6EwbCW5fA* T17_; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T18_; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_84; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T36_; switch ((*colonenvP_).colonstate_) {
case -1:
goto BeforeRet_;
case 0: goto STATE0;
case 1: goto STATE1;
case 2: goto STATE2;
case 3: goto STATE3;
case 4: goto STATE4;
case 5: goto STATE5;
case 6: goto STATE6;
case 7: goto STATE7;
case 8: goto STATE8;
}
STATE0: ; { {
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1);
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
goto LA2;
}
}
STATE1: ;
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
{ tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ* T9_; if (!NIM_TRUE) goto LA7_;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture1 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T9_ = (tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ*)0; T9_ = lookupRandom__OdmAYTNA6Qwiyjb7tAdJEgdiscovery((*(*colonenvP_).colonup_).d1); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture1), &T9_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), (*colonenvP_).chronosInternalTmpFuture1);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2);
#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_).chronosInternalTmpFuture1; goto BeforeRet_;
}
goto LA5_;
LA7_: ;
{
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 7);
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
goto LA2;
}
LA5_: ;
STATE2: ;
#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* T15_; NimStringDesc* T16_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.mustCancel) goto LA13_;
T15_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T15_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T15_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T15_).Sup.Sup.Sup.name = "CancelledError"; T16_ = (NimStringDesc*)0; T16_ = (*T15_).Sup.Sup.Sup.message; (*T15_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_79)); if (T16_) nimGCunrefNoCycle(T16_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T15_, "CancelledError", "run", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA13_: ;
#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_).chronosInternalTmpFuture1);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
goto LA2;
STATE3: ;
#line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#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"
T17_ = (tySequence__Wq0ZcI6MO5RSp6EwbCW5fA*)0; T17_ = internalRead__eUE7Pmc9bR69crMATALz9cbfAasyncloop(((tyObject_FuturecolonObjectType___bTNJHmdSDHvyZtcEYygijQ*) ((*colonenvP_).chronosInternalTmpFuture1))); (void)(T17_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4);
#line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
goto LA2;
STATE4: ;
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T18_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T18_ = sleepAsync__P4gj2aoQiFuNFDdbQd1Rrwasyncloop(((NI) 3000)); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture1), &T18_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), (*colonenvP_).chronosInternalTmpFuture1);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 5);
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenvP_).chronosInternalTmpFuture1; goto BeforeRet_;
STATE5: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T23_; NimStringDesc* T24_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.mustCancel) goto LA21_;
T23_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T23_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T23_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T23_).Sup.Sup.Sup.name = "CancelledError"; T24_ = (NimStringDesc*)0; T24_ = (*T23_).Sup.Sup.Sup.message; (*T23_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_79)); if (T24_) nimGCunrefNoCycle(T24_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T23_, "CancelledError", "run", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA21_: ;
#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_).chronosInternalTmpFuture1);
#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_).chronosInternalTmpFuture1)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 6);
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
goto LA2;
STATE6: ;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_84); TM__RlWAeaewn59cCEhYQjWkWAg_84.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_84.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_84.status == 0) { TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_85;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_85); TM__RlWAeaewn59cCEhYQjWkWAg_85.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_85.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_85.status == 0) { { NI T28_; NI T29_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record4), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&(*colonenvP_).record4)); unsureAsgnRef((void**)&(*colonenvP_).record4.output.buffer, NIM_NIL); (*colonenvP_).record4.level = 0;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&(*colonenvP_).record4), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_18), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_86));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T28_ = (NI)0; T28_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record4), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_20), T28_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T29_ = (NI)0; T29_ = nodesDiscovered__EYsrFewSeiKuuQhrHWT5jwkademlia((*(*(*colonenvP_).colonup_).d1).kademlia);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record4), ((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_42), T29_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&(*colonenvP_).record4));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&(*colonenvP_).record4));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T32_; Exception* T33_; TM__RlWAeaewn59cCEhYQjWkWAg_85.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T32_ = (Exception*)0; T32_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym485600195_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T32_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T33_ = (Exception*)0; T33_ = &(*colonenvP_).errX60gensym485600195_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Discovered nodes", T33_);
popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_85.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__RlWAeaewn59cCEhYQjWkWAg_84.status = 0; popCurrentException(); }
}
if (TM__RlWAeaewn59cCEhYQjWkWAg_84.status != 0) reraiseException();
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1);
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
goto LA2;
STATE7: ;
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.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"
T36_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T36_ = srcLocImpl__WiBdjKZZsOWUfn9a5b8DrXQ();
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
complete__nHHWNIBkqCfVC3oe9a1ZdIQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, T36_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 8);
#line 0 "\?\?\?"
goto LA2;
STATE8: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 0 "\?\?\?"
goto LA2;
} LA2: ;
} LA1: ;
}BeforeRet_: ;
return result;}
#line 258 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(void, run_continue__fKP0XvnFNUt9ahzW57cWZ1Q)(void* udataX60gensym48495073_, void* ClE_0) { tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ* colonenvP_; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_87; colonenvP_ = (tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_87); TM__RlWAeaewn59cCEhYQjWkWAg_87.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_87.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_87.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym48495074_;
#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_).nameIterVarX60gensym484950723_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym48495074_ = (*colonenvP_).nameIterVarX60gensym484950723_.ClP_0((*colonenvP_).nameIterVarX60gensym484950723_.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_ = !((nextX60gensym48495074_ == 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(nextX60gensym48495074_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym48495074_ = (*colonenvP_).nameIterVarX60gensym484950723_.ClP_0((*colonenvP_).nameIterVarX60gensym484950723_.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_).nameIterVarX60gensym484950723_); 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 (!(nextX60gensym48495074_ == 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__RlWAeaewn59cCEhYQjWkWAg_90));
}
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 = run_continue__fKP0XvnFNUt9ahzW57cWZ1Q; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym48495074_, 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__RlWAeaewn59cCEhYQjWkWAg_87.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* excX60gensym48495076_; Exception* T32_; TM__RlWAeaewn59cCEhYQjWkWAg_87.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(); excX60gensym48495076_ = ((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*)excX60gensym48495076_, "CatchableError", "run_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_ = &excX60gensym48495076_->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__RlWAeaewn59cCEhYQjWkWAg_87.status != 0) reraiseException();}
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, run__Da0O9bEbyPJxuRoD05a4FDw_2)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; colonenv_ = (tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ*) newObj((&NTI__7A9cE9bLJrhjc29c21Q9bhtVOw_), sizeof(tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ)); (*colonenv_).Sup.m_type = (&NTI__Xa1dEzGMDvZC2xB1APFIAQ_);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
asgnRef((void**) (&(*colonenv_).d1), d);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.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__sK9cpzb4JQd3GSn9b0iB9cnNg();
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.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___LMPG8t9bSnxjzM5vGdfkBqg*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg*) newObj((&NTI__fnmD9crznBzpn9aUzOpuSc9aQ_), sizeof(tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg)); (*colonenv__2).Sup.m_type = (&NTI__LMPG8t9bSnxjzM5vGdfkBqg_);
#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 = run__JkYeO8DuT55P1zChLI9al7Q_3; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym484950723_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym484950723_.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 = run_continue__fKP0XvnFNUt9ahzW57cWZ1Q; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__RlWAeaewn59cCEhYQjWkWAg_91)(T3_.ClP_0))(NIM_NIL);
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenv_).chronosInternalRetFuture2; goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, bootstrap__JkYeO8DuT55P1zChLI9al7Q_2)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w*) ClE_0;
#line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
while (1) { if (!1) goto LA1;
{ tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T11_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T12_; switch ((*colonenvP_).colonstate_) {
case -1:
goto BeforeRet_;
case 0: goto STATE0;
case 1: goto STATE1;
case 2: goto STATE2;
case 3: goto STATE3;
case 4: goto STATE4;
}
STATE0: ; { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T4_;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture1 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T4_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T4_ = bootstrap__qHt9cLIjWuV1dso5bbFiE4A((*(*(*colonenvP_).colonup_).d1).kademlia, (*(*(*colonenvP_).colonup_).d1).bootstrapNodes, ((NI) 0)); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture1), &T4_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), (*colonenvP_).chronosInternalTmpFuture1);
#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_).chronosInternalTmpFuture1; goto BeforeRet_;
}
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* T9_; NimStringDesc* T10_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.mustCancel) goto LA7_;
T9_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T9_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T9_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T9_).Sup.Sup.Sup.name = "CancelledError"; T10_ = (NimStringDesc*)0; T10_ = (*T9_).Sup.Sup.Sup.message; (*T9_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__RlWAeaewn59cCEhYQjWkWAg_79)); if (T10_) nimGCunrefNoCycle(T10_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T9_, "CancelledError", "bootstrap", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA7_: ;
#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_).chronosInternalTmpFuture1);
#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_).chronosInternalTmpFuture1)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2);
#line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
goto LA2;
STATE2: ;
#line 297 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 297 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 297 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T11_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T11_ = run__Da0O9bEbyPJxuRoD05a4FDw_2((*(*colonenvP_).colonup_).d1); (void)(T11_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
goto LA2;
STATE3: ;
#line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.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"
T12_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T12_ = srcLocImpl__QKlgaczOsXY9bYmuIaSvazg();
#line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
complete__nHHWNIBkqCfVC3oe9a1ZdIQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, T12_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4);
#line 0 "\?\?\?"
goto LA2;
STATE4: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 0 "\?\?\?"
goto LA2;
} LA2: ;
} LA1: ;
}BeforeRet_: ;
return result;}
#line 258 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(void, bootstrap_continue__OSQkh2qglDCNg2S9cYlr9b4A)(void* udataX60gensym48625047_, void* ClE_0) { tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw* colonenvP_; TSafePoint TM__RlWAeaewn59cCEhYQjWkWAg_92; colonenvP_ = (tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__RlWAeaewn59cCEhYQjWkWAg_92); TM__RlWAeaewn59cCEhYQjWkWAg_92.status = setjmp(TM__RlWAeaewn59cCEhYQjWkWAg_92.context); if (TM__RlWAeaewn59cCEhYQjWkWAg_92.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym48625048_;
#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_).nameIterVarX60gensym486250463_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym48625048_ = (*colonenvP_).nameIterVarX60gensym486250463_.ClP_0((*colonenvP_).nameIterVarX60gensym486250463_.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_ = !((nextX60gensym48625048_ == 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(nextX60gensym48625048_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym48625048_ = (*colonenvP_).nameIterVarX60gensym486250463_.ClP_0((*colonenvP_).nameIterVarX60gensym486250463_.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_).nameIterVarX60gensym486250463_); 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 (!(nextX60gensym48625048_ == 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__RlWAeaewn59cCEhYQjWkWAg_95));
}
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 = bootstrap_continue__OSQkh2qglDCNg2S9cYlr9b4A; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym48625048_, 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__RlWAeaewn59cCEhYQjWkWAg_92.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* excX60gensym48625050_; Exception* T32_; TM__RlWAeaewn59cCEhYQjWkWAg_92.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(); excX60gensym48625050_ = ((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*)excX60gensym48625050_, "CatchableError", "bootstrap_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_ = &excX60gensym48625050_->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__RlWAeaewn59cCEhYQjWkWAg_92.status != 0) reraiseException();}
#line 295 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, bootstrap__Da0O9bEbyPJxuRoD05a4FDw)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; colonenv_ = (tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw*) newObj((&NTI__dABUqg9aTdu6nKBE0XOp9csw_), sizeof(tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw)); (*colonenv_).Sup.m_type = (&NTI__g7H9bdqkTxLNHuE019cYFxIw_);
#line 295 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
asgnRef((void**) (&(*colonenv_).d1), d);
#line 295 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 295 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.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__0UenZIu9beYuXfaicrHTsHA();
#line 295 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.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___wcMnzP4ItAMdrJz9bgM527w*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w*) newObj((&NTI__wT2uBQI34fj4R8BviejH1A_), sizeof(tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w)); (*colonenv__2).Sup.m_type = (&NTI__wcMnzP4ItAMdrJz9bgM527w_);
#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 = bootstrap__JkYeO8DuT55P1zChLI9al7Q_2; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym486250463_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym486250463_.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 = bootstrap_continue__OSQkh2qglDCNg2S9cYlr9b4A; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__RlWAeaewn59cCEhYQjWkWAg_96)(T3_.ClP_0))(NIM_NIL);
#line 297 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.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, eth_discoveryDatInit000)(void) {
#line 999999 "generated_not_to_break_here"
static TNimNode* TM__RlWAeaewn59cCEhYQjWkWAg_2_6[6];
static TNimNode* TM__RlWAeaewn59cCEhYQjWkWAg_4_5[5];
static TNimNode* TM__RlWAeaewn59cCEhYQjWkWAg_5_14[14];
static TNimNode* TM__RlWAeaewn59cCEhYQjWkWAg_22_2[2];
static TNimNode* TM__RlWAeaewn59cCEhYQjWkWAg_38_4[4];
static TNimNode* TM__RlWAeaewn59cCEhYQjWkWAg_53_4[4];
NI TM__RlWAeaewn59cCEhYQjWkWAg_55;
static char* NIM_CONST TM__RlWAeaewn59cCEhYQjWkWAg_54[4] = {
"cmdPing",
"cmdPong",
"cmdFindNode",
"cmdNeighbours"};
static TNimNode* TM__RlWAeaewn59cCEhYQjWkWAg_74_4[4];
static TNimNode* TM__RlWAeaewn59cCEhYQjWkWAg_75_4[4];
static TNimNode* TM__RlWAeaewn59cCEhYQjWkWAg_80_4[4];
static TNimNode* TM__RlWAeaewn59cCEhYQjWkWAg_81_6[6];
static TNimNode TM__RlWAeaewn59cCEhYQjWkWAg_0[64];NTI__waQyUBIS0phbKWz5xVV9bTg_.size = sizeof(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg);
NTI__waQyUBIS0phbKWz5xVV9bTg_.kind = 18;
NTI__waQyUBIS0phbKWz5xVV9bTg_.base = 0;
NTI__waQyUBIS0phbKWz5xVV9bTg_.name = "DiscoveryProtocol:ObjectType";
NTI__waQyUBIS0phbKWz5xVV9bTg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__waQyUBIS0phbKWz5xVV9bTg_;
TM__RlWAeaewn59cCEhYQjWkWAg_2_6[0] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[1];
TM__RlWAeaewn59cCEhYQjWkWAg_0[1].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[1].offset = offsetof(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg, privKey);
TM__RlWAeaewn59cCEhYQjWkWAg_0[1].typ = (&NTI__aKiBFtqo69b60sWLnM5A9c3w_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[1].name = "privKey";
TM__RlWAeaewn59cCEhYQjWkWAg_2_6[1] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[2];
TM__RlWAeaewn59cCEhYQjWkWAg_0[2].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[2].offset = offsetof(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg, address);
TM__RlWAeaewn59cCEhYQjWkWAg_0[2].typ = (&NTI__x5U8qnsjGWstAJoOadUZ9aA_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[2].name = "address";
TM__RlWAeaewn59cCEhYQjWkWAg_2_6[2] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[3];
NTI__Wq0ZcI6MO5RSp6EwbCW5fA_.size = sizeof(tySequence__Wq0ZcI6MO5RSp6EwbCW5fA*);
NTI__Wq0ZcI6MO5RSp6EwbCW5fA_.kind = 24;
NTI__Wq0ZcI6MO5RSp6EwbCW5fA_.base = (&NTI__dXv1y2c2nNbnKs59aRY70QA_);
NTI__Wq0ZcI6MO5RSp6EwbCW5fA_.flags = 2;
NTI__Wq0ZcI6MO5RSp6EwbCW5fA_.name = "seq[Node]";
NTI__Wq0ZcI6MO5RSp6EwbCW5fA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Wq0ZcI6MO5RSp6EwbCW5fA_;
NTI__Wq0ZcI6MO5RSp6EwbCW5fA_.marker = Marker_tySequence__Wq0ZcI6MO5RSp6EwbCW5fA;
TM__RlWAeaewn59cCEhYQjWkWAg_0[3].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[3].offset = offsetof(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg, bootstrapNodes);
TM__RlWAeaewn59cCEhYQjWkWAg_0[3].typ = (&NTI__Wq0ZcI6MO5RSp6EwbCW5fA_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[3].name = "bootstrapNodes";
TM__RlWAeaewn59cCEhYQjWkWAg_2_6[3] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[4];
TM__RlWAeaewn59cCEhYQjWkWAg_0[4].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[4].offset = offsetof(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg, thisNode);
TM__RlWAeaewn59cCEhYQjWkWAg_0[4].typ = (&NTI__dXv1y2c2nNbnKs59aRY70QA_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[4].name = "thisNode";
TM__RlWAeaewn59cCEhYQjWkWAg_2_6[4] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[5];
TM__RlWAeaewn59cCEhYQjWkWAg_0[5].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[5].offset = offsetof(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg, kademlia);
TM__RlWAeaewn59cCEhYQjWkWAg_0[5].typ = (&NTI__r47tWgnBw9c0VOULJ9bQeLYg_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[5].name = "kademlia";
TM__RlWAeaewn59cCEhYQjWkWAg_2_6[5] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[6];
TM__RlWAeaewn59cCEhYQjWkWAg_0[6].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[6].offset = offsetof(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg, transp);
TM__RlWAeaewn59cCEhYQjWkWAg_0[6].typ = (&NTI__ojq7ORv9bnBeF4l6iOsa39cw_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[6].name = "transp";
TM__RlWAeaewn59cCEhYQjWkWAg_0[0].len = 6; TM__RlWAeaewn59cCEhYQjWkWAg_0[0].kind = 2; TM__RlWAeaewn59cCEhYQjWkWAg_0[0].sons = &TM__RlWAeaewn59cCEhYQjWkWAg_2_6[0];
NTI__waQyUBIS0phbKWz5xVV9bTg_.node = &TM__RlWAeaewn59cCEhYQjWkWAg_0[0];
NTI__y9bIPDAY22JKpDx249caf7iw_.size = sizeof(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg*);
NTI__y9bIPDAY22JKpDx249caf7iw_.kind = 22;
NTI__y9bIPDAY22JKpDx249caf7iw_.base = (&NTI__waQyUBIS0phbKWz5xVV9bTg_);
NTI__y9bIPDAY22JKpDx249caf7iw_.name = "DiscoveryProtocol";
NTI__y9bIPDAY22JKpDx249caf7iw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__y9bIPDAY22JKpDx249caf7iw_;
NTI__y9bIPDAY22JKpDx249caf7iw_.marker = Marker_tyRef__y9bIPDAY22JKpDx249caf7iw;
NTI__iCt42YkEtD6lDTWngpX5mQ_.size = sizeof(tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ);
NTI__iCt42YkEtD6lDTWngpX5mQ_.kind = 17;
NTI__iCt42YkEtD6lDTWngpX5mQ_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__iCt42YkEtD6lDTWngpX5mQ_.name = "object";
NTI__iCt42YkEtD6lDTWngpX5mQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__iCt42YkEtD6lDTWngpX5mQ_;
TM__RlWAeaewn59cCEhYQjWkWAg_4_5[0] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[8];
TM__RlWAeaewn59cCEhYQjWkWAg_0[8].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[8].offset = offsetof(tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ, colonstate_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[8].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[8].name = ":state";
TM__RlWAeaewn59cCEhYQjWkWAg_4_5[1] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[9];
TM__RlWAeaewn59cCEhYQjWkWAg_0[9].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[9].offset = offsetof(tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ, transp1);
TM__RlWAeaewn59cCEhYQjWkWAg_0[9].typ = (&NTI__ojq7ORv9bnBeF4l6iOsa39cw_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[9].name = "transp1";
TM__RlWAeaewn59cCEhYQjWkWAg_4_5[2] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[10];
TM__RlWAeaewn59cCEhYQjWkWAg_0[10].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[10].offset = offsetof(tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ, raddr2);
TM__RlWAeaewn59cCEhYQjWkWAg_0[10].typ = (&NTI__qYn6nlnhZhmKlocg1rtkTw_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[10].name = "raddr2";
TM__RlWAeaewn59cCEhYQjWkWAg_4_5[3] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[11];
TM__RlWAeaewn59cCEhYQjWkWAg_0[11].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[11].offset = offsetof(tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ, chronosInternalRetFuture3);
TM__RlWAeaewn59cCEhYQjWkWAg_0[11].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[11].name = "chronosInternalRetFuture3";
TM__RlWAeaewn59cCEhYQjWkWAg_4_5[4] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[12];
TM__RlWAeaewn59cCEhYQjWkWAg_0[12].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[12].offset = offsetof(tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ, nameIterVarX60gensym468452164_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[12].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[12].name = "nameIterVar`gensym468452164";
TM__RlWAeaewn59cCEhYQjWkWAg_0[7].len = 5; TM__RlWAeaewn59cCEhYQjWkWAg_0[7].kind = 2; TM__RlWAeaewn59cCEhYQjWkWAg_0[7].sons = &TM__RlWAeaewn59cCEhYQjWkWAg_4_5[0];
NTI__iCt42YkEtD6lDTWngpX5mQ_.node = &TM__RlWAeaewn59cCEhYQjWkWAg_0[7];
NTI__cRprJixj7ciNIuvcbjlleQ_.size = sizeof(tyObject_Env_discoverydotnim___iCt42YkEtD6lDTWngpX5mQ*);
NTI__cRprJixj7ciNIuvcbjlleQ_.kind = 22;
NTI__cRprJixj7ciNIuvcbjlleQ_.base = (&NTI__iCt42YkEtD6lDTWngpX5mQ_);
NTI__cRprJixj7ciNIuvcbjlleQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-eth/eth/p2p/discovery.nim(265, 46)";
NTI__cRprJixj7ciNIuvcbjlleQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__cRprJixj7ciNIuvcbjlleQ_;
NTI__cRprJixj7ciNIuvcbjlleQ_.marker = Marker_tyRef__cRprJixj7ciNIuvcbjlleQ;
NTI__DhQ6CnWeg0zSlYIoTS3kPQ_.size = sizeof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ);
NTI__DhQ6CnWeg0zSlYIoTS3kPQ_.kind = 17;
NTI__DhQ6CnWeg0zSlYIoTS3kPQ_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__DhQ6CnWeg0zSlYIoTS3kPQ_.name = "object";
NTI__DhQ6CnWeg0zSlYIoTS3kPQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__DhQ6CnWeg0zSlYIoTS3kPQ_;
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[0] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[14];
TM__RlWAeaewn59cCEhYQjWkWAg_0[14].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[14].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, colonstate_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[14].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[14].name = ":state";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[1] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[15];
TM__RlWAeaewn59cCEhYQjWkWAg_0[15].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[15].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, proto1);
TM__RlWAeaewn59cCEhYQjWkWAg_0[15].typ = (&NTI__y9bIPDAY22JKpDx249caf7iw_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[15].name = "proto1";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[2] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[16];
TM__RlWAeaewn59cCEhYQjWkWAg_0[16].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[16].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, colonup_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[16].typ = (&NTI__cRprJixj7ciNIuvcbjlleQ_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[16].name = ":up";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[3] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[17];
TM__RlWAeaewn59cCEhYQjWkWAg_0[17].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[17].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, buf3);
TM__RlWAeaewn59cCEhYQjWkWAg_0[17].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[17].name = "buf3";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[4] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[18];
TM__RlWAeaewn59cCEhYQjWkWAg_0[18].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[18].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, a4);
TM__RlWAeaewn59cCEhYQjWkWAg_0[18].typ = (&NTI__x5U8qnsjGWstAJoOadUZ9aA_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[18].name = "a4";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[5] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[19];
TM__RlWAeaewn59cCEhYQjWkWAg_0[19].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[19].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, e5);
TM__RlWAeaewn59cCEhYQjWkWAg_0[19].typ = (&NTI__xdcI6Mkp9cS0FReoFduSNKQ_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[19].name = "e5";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[6] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[20];
TM__RlWAeaewn59cCEhYQjWkWAg_0[20].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[20].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, record6);
TM__RlWAeaewn59cCEhYQjWkWAg_0[20].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[20].name = "record6";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[7] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[21];
TM__RlWAeaewn59cCEhYQjWkWAg_0[21].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[21].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, errX60gensym468900197_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[21].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[21].name = "err`gensym468900197";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[8] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[22];
NTI__WT18kMNH9aJInLJYIAozmrg_.size = sizeof(tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg);
NTI__WT18kMNH9aJInLJYIAozmrg_.kind = 17;
NTI__WT18kMNH9aJInLJYIAozmrg_.base = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_);
NTI__WT18kMNH9aJInLJYIAozmrg_.name = "DiscProtocolError";
NTI__WT18kMNH9aJInLJYIAozmrg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__WT18kMNH9aJInLJYIAozmrg_;
TM__RlWAeaewn59cCEhYQjWkWAg_0[23].len = 0; TM__RlWAeaewn59cCEhYQjWkWAg_0[23].kind = 2;
NTI__WT18kMNH9aJInLJYIAozmrg_.node = &TM__RlWAeaewn59cCEhYQjWkWAg_0[23];
NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_.size = sizeof(tyObject_DiscProtocolError__WT18kMNH9aJInLJYIAozmrg*);
NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_.kind = 22;
NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_.base = (&NTI__WT18kMNH9aJInLJYIAozmrg_);
NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_.name = "ref DiscProtocolError";
NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_;
NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_.marker = Marker_tyRef__nSGT9bwil9aJRDd9c1Jv4TpdQ;
TM__RlWAeaewn59cCEhYQjWkWAg_0[22].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[22].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, e8);
TM__RlWAeaewn59cCEhYQjWkWAg_0[22].typ = (&NTI__nSGT9bwil9aJRDd9c1Jv4TpdQ_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[22].name = "e8";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[9] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[24];
TM__RlWAeaewn59cCEhYQjWkWAg_0[24].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[24].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, record9);
TM__RlWAeaewn59cCEhYQjWkWAg_0[24].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[24].name = "record9";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[10] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[25];
TM__RlWAeaewn59cCEhYQjWkWAg_0[25].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[25].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, errX60gensym4696501910_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[25].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[25].name = "err`gensym4696501910";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[11] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[26];
TM__RlWAeaewn59cCEhYQjWkWAg_0[26].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[26].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, e11);
TM__RlWAeaewn59cCEhYQjWkWAg_0[26].typ = (&NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[26].name = "e11";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[12] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[27];
TM__RlWAeaewn59cCEhYQjWkWAg_0[27].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[27].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, record12);
TM__RlWAeaewn59cCEhYQjWkWAg_0[27].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[27].name = "record12";
TM__RlWAeaewn59cCEhYQjWkWAg_5_14[13] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[28];
TM__RlWAeaewn59cCEhYQjWkWAg_0[28].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[28].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ, errX60gensym4704001913_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[28].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[28].name = "err`gensym4704001913";
TM__RlWAeaewn59cCEhYQjWkWAg_0[13].len = 14; TM__RlWAeaewn59cCEhYQjWkWAg_0[13].kind = 2; TM__RlWAeaewn59cCEhYQjWkWAg_0[13].sons = &TM__RlWAeaewn59cCEhYQjWkWAg_5_14[0];
NTI__DhQ6CnWeg0zSlYIoTS3kPQ_.node = &TM__RlWAeaewn59cCEhYQjWkWAg_0[13];
NTI__6ycUkdwWuqZHLkv0GWBYGg_.size = sizeof(tyObject_Env_asyncmacro2dotnim___DhQ6CnWeg0zSlYIoTS3kPQ*);
NTI__6ycUkdwWuqZHLkv0GWBYGg_.kind = 22;
NTI__6ycUkdwWuqZHLkv0GWBYGg_.base = (&NTI__DhQ6CnWeg0zSlYIoTS3kPQ_);
NTI__6ycUkdwWuqZHLkv0GWBYGg_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__6ycUkdwWuqZHLkv0GWBYGg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__6ycUkdwWuqZHLkv0GWBYGg_;
NTI__6ycUkdwWuqZHLkv0GWBYGg_.marker = Marker_tyRef__6ycUkdwWuqZHLkv0GWBYGg;
NTI__NU7lrYp3OYcg9aa9aEW9aiIkg_.size = sizeof(tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg);
NTI__NU7lrYp3OYcg9aa9aEW9aiIkg_.kind = 17;
NTI__NU7lrYp3OYcg9aa9aEW9aiIkg_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__NU7lrYp3OYcg9aa9aEW9aiIkg_.name = "object";
NTI__NU7lrYp3OYcg9aa9aEW9aiIkg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__NU7lrYp3OYcg9aa9aEW9aiIkg_;
TM__RlWAeaewn59cCEhYQjWkWAg_22_2[0] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[30];
TM__RlWAeaewn59cCEhYQjWkWAg_0[30].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[30].offset = offsetof(tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg, colonstate_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[30].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[30].name = ":state";
TM__RlWAeaewn59cCEhYQjWkWAg_22_2[1] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[31];
TM__RlWAeaewn59cCEhYQjWkWAg_0[31].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[31].offset = offsetof(tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg, f1);
TM__RlWAeaewn59cCEhYQjWkWAg_0[31].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[31].name = "f1";
TM__RlWAeaewn59cCEhYQjWkWAg_0[29].len = 2; TM__RlWAeaewn59cCEhYQjWkWAg_0[29].kind = 2; TM__RlWAeaewn59cCEhYQjWkWAg_0[29].sons = &TM__RlWAeaewn59cCEhYQjWkWAg_22_2[0];
NTI__NU7lrYp3OYcg9aa9aEW9aiIkg_.node = &TM__RlWAeaewn59cCEhYQjWkWAg_0[29];
NTI__vL8I9bFvMQVVU9cL439aq2Sag_.size = sizeof(tyObject_Env_discoverydotnim___NU7lrYp3OYcg9aa9aEW9aiIkg*);
NTI__vL8I9bFvMQVVU9cL439aq2Sag_.kind = 22;
NTI__vL8I9bFvMQVVU9cL439aq2Sag_.base = (&NTI__NU7lrYp3OYcg9aa9aEW9aiIkg_);
NTI__vL8I9bFvMQVVU9cL439aq2Sag_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-eth/eth/p2p/discovery.nim(109, 16)";
NTI__vL8I9bFvMQVVU9cL439aq2Sag_.nextType = nimTypeRoot; nimTypeRoot=&NTI__vL8I9bFvMQVVU9cL439aq2Sag_;
NTI__vL8I9bFvMQVVU9cL439aq2Sag_.marker = Marker_tyRef__vL8I9bFvMQVVU9cL439aq2Sag;
NTI__akue9c3LnOr29bcgBFD7a0Vg_.size = sizeof(tyTuple__akue9c3LnOr29bcgBFD7a0Vg);
NTI__akue9c3LnOr29bcgBFD7a0Vg_.kind = 18;
NTI__akue9c3LnOr29bcgBFD7a0Vg_.base = 0;
NTI__akue9c3LnOr29bcgBFD7a0Vg_.flags = 3;
NTI__akue9c3LnOr29bcgBFD7a0Vg_.name = "Neighbour";
NTI__akue9c3LnOr29bcgBFD7a0Vg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__akue9c3LnOr29bcgBFD7a0Vg_;
TM__RlWAeaewn59cCEhYQjWkWAg_38_4[0] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[33];
TM__RlWAeaewn59cCEhYQjWkWAg_0[33].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[33].offset = offsetof(tyTuple__akue9c3LnOr29bcgBFD7a0Vg, Field0);
TM__RlWAeaewn59cCEhYQjWkWAg_0[33].typ = (&NTI__t0yd6ha54oWXm7nwZ4QqfA_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[33].name = "Field0";
TM__RlWAeaewn59cCEhYQjWkWAg_38_4[1] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[34];
TM__RlWAeaewn59cCEhYQjWkWAg_0[34].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[34].offset = offsetof(tyTuple__akue9c3LnOr29bcgBFD7a0Vg, Field1);
TM__RlWAeaewn59cCEhYQjWkWAg_0[34].typ = (&NTI__M4na42GvebBMnI5wV9cYMxg_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[34].name = "Field1";
TM__RlWAeaewn59cCEhYQjWkWAg_38_4[2] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[35];
TM__RlWAeaewn59cCEhYQjWkWAg_0[35].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[35].offset = offsetof(tyTuple__akue9c3LnOr29bcgBFD7a0Vg, Field2);
TM__RlWAeaewn59cCEhYQjWkWAg_0[35].typ = (&NTI__M4na42GvebBMnI5wV9cYMxg_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[35].name = "Field2";
TM__RlWAeaewn59cCEhYQjWkWAg_38_4[3] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[36];
TM__RlWAeaewn59cCEhYQjWkWAg_0[36].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[36].offset = offsetof(tyTuple__akue9c3LnOr29bcgBFD7a0Vg, Field3);
TM__RlWAeaewn59cCEhYQjWkWAg_0[36].typ = (&NTI__YxxaGK7KOKaWCOaZ44rHMA_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[36].name = "Field3";
TM__RlWAeaewn59cCEhYQjWkWAg_0[32].len = 4; TM__RlWAeaewn59cCEhYQjWkWAg_0[32].kind = 2; TM__RlWAeaewn59cCEhYQjWkWAg_0[32].sons = &TM__RlWAeaewn59cCEhYQjWkWAg_38_4[0];
NTI__akue9c3LnOr29bcgBFD7a0Vg_.node = &TM__RlWAeaewn59cCEhYQjWkWAg_0[32];
NTI__WHNtqysWBp2fhd9acHQgfmA_.size = sizeof(tyEnum_CommandId__WHNtqysWBp2fhd9acHQgfmA);
NTI__WHNtqysWBp2fhd9acHQgfmA_.kind = 14;
NTI__WHNtqysWBp2fhd9acHQgfmA_.base = 0;
NTI__WHNtqysWBp2fhd9acHQgfmA_.flags = 3;
NTI__WHNtqysWBp2fhd9acHQgfmA_.name = "CommandId";
NTI__WHNtqysWBp2fhd9acHQgfmA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__WHNtqysWBp2fhd9acHQgfmA_;
for (TM__RlWAeaewn59cCEhYQjWkWAg_55 = 0; TM__RlWAeaewn59cCEhYQjWkWAg_55 < 4; TM__RlWAeaewn59cCEhYQjWkWAg_55++) {
TM__RlWAeaewn59cCEhYQjWkWAg_0[TM__RlWAeaewn59cCEhYQjWkWAg_55+37].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[TM__RlWAeaewn59cCEhYQjWkWAg_55+37].offset = TM__RlWAeaewn59cCEhYQjWkWAg_55;
TM__RlWAeaewn59cCEhYQjWkWAg_0[TM__RlWAeaewn59cCEhYQjWkWAg_55+37].name = TM__RlWAeaewn59cCEhYQjWkWAg_54[TM__RlWAeaewn59cCEhYQjWkWAg_55];
TM__RlWAeaewn59cCEhYQjWkWAg_53_4[TM__RlWAeaewn59cCEhYQjWkWAg_55] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[TM__RlWAeaewn59cCEhYQjWkWAg_55+37];
}
TM__RlWAeaewn59cCEhYQjWkWAg_0[37].offset = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[38].offset = 2;
TM__RlWAeaewn59cCEhYQjWkWAg_0[39].offset = 3;
TM__RlWAeaewn59cCEhYQjWkWAg_0[40].offset = 4;
TM__RlWAeaewn59cCEhYQjWkWAg_0[41].len = 4; TM__RlWAeaewn59cCEhYQjWkWAg_0[41].kind = 2; TM__RlWAeaewn59cCEhYQjWkWAg_0[41].sons = &TM__RlWAeaewn59cCEhYQjWkWAg_53_4[0];
NTI__WHNtqysWBp2fhd9acHQgfmA_.node = &TM__RlWAeaewn59cCEhYQjWkWAg_0[41];
NTI__WHNtqysWBp2fhd9acHQgfmA_.flags = 1<<2;
NTI__g7H9bdqkTxLNHuE019cYFxIw_.size = sizeof(tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw);
NTI__g7H9bdqkTxLNHuE019cYFxIw_.kind = 17;
NTI__g7H9bdqkTxLNHuE019cYFxIw_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__g7H9bdqkTxLNHuE019cYFxIw_.name = "object";
NTI__g7H9bdqkTxLNHuE019cYFxIw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__g7H9bdqkTxLNHuE019cYFxIw_;
TM__RlWAeaewn59cCEhYQjWkWAg_74_4[0] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[43];
TM__RlWAeaewn59cCEhYQjWkWAg_0[43].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[43].offset = offsetof(tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw, colonstate_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[43].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[43].name = ":state";
TM__RlWAeaewn59cCEhYQjWkWAg_74_4[1] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[44];
TM__RlWAeaewn59cCEhYQjWkWAg_0[44].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[44].offset = offsetof(tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw, d1);
TM__RlWAeaewn59cCEhYQjWkWAg_0[44].typ = (&NTI__y9bIPDAY22JKpDx249caf7iw_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[44].name = "d1";
TM__RlWAeaewn59cCEhYQjWkWAg_74_4[2] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[45];
TM__RlWAeaewn59cCEhYQjWkWAg_0[45].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[45].offset = offsetof(tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw, chronosInternalRetFuture2);
TM__RlWAeaewn59cCEhYQjWkWAg_0[45].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[45].name = "chronosInternalRetFuture2";
TM__RlWAeaewn59cCEhYQjWkWAg_74_4[3] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[46];
TM__RlWAeaewn59cCEhYQjWkWAg_0[46].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[46].offset = offsetof(tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw, nameIterVarX60gensym486250463_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[46].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[46].name = "nameIterVar`gensym486250463";
TM__RlWAeaewn59cCEhYQjWkWAg_0[42].len = 4; TM__RlWAeaewn59cCEhYQjWkWAg_0[42].kind = 2; TM__RlWAeaewn59cCEhYQjWkWAg_0[42].sons = &TM__RlWAeaewn59cCEhYQjWkWAg_74_4[0];
NTI__g7H9bdqkTxLNHuE019cYFxIw_.node = &TM__RlWAeaewn59cCEhYQjWkWAg_0[42];
NTI__dABUqg9aTdu6nKBE0XOp9csw_.size = sizeof(tyObject_Env_discoverydotnim___g7H9bdqkTxLNHuE019cYFxIw*);
NTI__dABUqg9aTdu6nKBE0XOp9csw_.kind = 22;
NTI__dABUqg9aTdu6nKBE0XOp9csw_.base = (&NTI__g7H9bdqkTxLNHuE019cYFxIw_);
NTI__dABUqg9aTdu6nKBE0XOp9csw_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-eth/eth/p2p/discovery.nim(296, 9)";
NTI__dABUqg9aTdu6nKBE0XOp9csw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__dABUqg9aTdu6nKBE0XOp9csw_;
NTI__dABUqg9aTdu6nKBE0XOp9csw_.marker = Marker_tyRef__dABUqg9aTdu6nKBE0XOp9csw;
NTI__wcMnzP4ItAMdrJz9bgM527w_.size = sizeof(tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w);
NTI__wcMnzP4ItAMdrJz9bgM527w_.kind = 17;
NTI__wcMnzP4ItAMdrJz9bgM527w_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__wcMnzP4ItAMdrJz9bgM527w_.name = "object";
NTI__wcMnzP4ItAMdrJz9bgM527w_.nextType = nimTypeRoot; nimTypeRoot=&NTI__wcMnzP4ItAMdrJz9bgM527w_;
TM__RlWAeaewn59cCEhYQjWkWAg_75_4[0] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[48];
TM__RlWAeaewn59cCEhYQjWkWAg_0[48].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[48].offset = offsetof(tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w, colonstate_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[48].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[48].name = ":state";
TM__RlWAeaewn59cCEhYQjWkWAg_75_4[1] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[49];
TM__RlWAeaewn59cCEhYQjWkWAg_0[49].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[49].offset = offsetof(tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w, chronosInternalTmpFuture1);
TM__RlWAeaewn59cCEhYQjWkWAg_0[49].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[49].name = "chronosInternalTmpFuture1";
TM__RlWAeaewn59cCEhYQjWkWAg_75_4[2] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[50];
TM__RlWAeaewn59cCEhYQjWkWAg_0[50].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[50].offset = offsetof(tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w, colonup_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[50].typ = (&NTI__dABUqg9aTdu6nKBE0XOp9csw_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[50].name = ":up";
TM__RlWAeaewn59cCEhYQjWkWAg_75_4[3] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[51];
TM__RlWAeaewn59cCEhYQjWkWAg_0[51].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[51].offset = offsetof(tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w, result3);
TM__RlWAeaewn59cCEhYQjWkWAg_0[51].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[51].name = "result3";
TM__RlWAeaewn59cCEhYQjWkWAg_0[47].len = 4; TM__RlWAeaewn59cCEhYQjWkWAg_0[47].kind = 2; TM__RlWAeaewn59cCEhYQjWkWAg_0[47].sons = &TM__RlWAeaewn59cCEhYQjWkWAg_75_4[0];
NTI__wcMnzP4ItAMdrJz9bgM527w_.node = &TM__RlWAeaewn59cCEhYQjWkWAg_0[47];
NTI__wT2uBQI34fj4R8BviejH1A_.size = sizeof(tyObject_Env_asyncmacro2dotnim___wcMnzP4ItAMdrJz9bgM527w*);
NTI__wT2uBQI34fj4R8BviejH1A_.kind = 22;
NTI__wT2uBQI34fj4R8BviejH1A_.base = (&NTI__wcMnzP4ItAMdrJz9bgM527w_);
NTI__wT2uBQI34fj4R8BviejH1A_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__wT2uBQI34fj4R8BviejH1A_.nextType = nimTypeRoot; nimTypeRoot=&NTI__wT2uBQI34fj4R8BviejH1A_;
NTI__wT2uBQI34fj4R8BviejH1A_.marker = Marker_tyRef__wT2uBQI34fj4R8BviejH1A;
NTI__Xa1dEzGMDvZC2xB1APFIAQ_.size = sizeof(tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ);
NTI__Xa1dEzGMDvZC2xB1APFIAQ_.kind = 17;
NTI__Xa1dEzGMDvZC2xB1APFIAQ_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__Xa1dEzGMDvZC2xB1APFIAQ_.name = "object";
NTI__Xa1dEzGMDvZC2xB1APFIAQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Xa1dEzGMDvZC2xB1APFIAQ_;
TM__RlWAeaewn59cCEhYQjWkWAg_80_4[0] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[53];
TM__RlWAeaewn59cCEhYQjWkWAg_0[53].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[53].offset = offsetof(tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ, colonstate_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[53].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[53].name = ":state";
TM__RlWAeaewn59cCEhYQjWkWAg_80_4[1] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[54];
TM__RlWAeaewn59cCEhYQjWkWAg_0[54].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[54].offset = offsetof(tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ, d1);
TM__RlWAeaewn59cCEhYQjWkWAg_0[54].typ = (&NTI__y9bIPDAY22JKpDx249caf7iw_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[54].name = "d1";
TM__RlWAeaewn59cCEhYQjWkWAg_80_4[2] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[55];
TM__RlWAeaewn59cCEhYQjWkWAg_0[55].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[55].offset = offsetof(tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ, chronosInternalRetFuture2);
TM__RlWAeaewn59cCEhYQjWkWAg_0[55].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[55].name = "chronosInternalRetFuture2";
TM__RlWAeaewn59cCEhYQjWkWAg_80_4[3] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[56];
TM__RlWAeaewn59cCEhYQjWkWAg_0[56].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[56].offset = offsetof(tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ, nameIterVarX60gensym484950723_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[56].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[56].name = "nameIterVar`gensym484950723";
TM__RlWAeaewn59cCEhYQjWkWAg_0[52].len = 4; TM__RlWAeaewn59cCEhYQjWkWAg_0[52].kind = 2; TM__RlWAeaewn59cCEhYQjWkWAg_0[52].sons = &TM__RlWAeaewn59cCEhYQjWkWAg_80_4[0];
NTI__Xa1dEzGMDvZC2xB1APFIAQ_.node = &TM__RlWAeaewn59cCEhYQjWkWAg_0[52];
NTI__7A9cE9bLJrhjc29c21Q9bhtVOw_.size = sizeof(tyObject_Env_discoverydotnim___Xa1dEzGMDvZC2xB1APFIAQ*);
NTI__7A9cE9bLJrhjc29c21Q9bhtVOw_.kind = 22;
NTI__7A9cE9bLJrhjc29c21Q9bhtVOw_.base = (&NTI__Xa1dEzGMDvZC2xB1APFIAQ_);
NTI__7A9cE9bLJrhjc29c21Q9bhtVOw_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-eth/eth/p2p/discovery.nim(291, 19)";
NTI__7A9cE9bLJrhjc29c21Q9bhtVOw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__7A9cE9bLJrhjc29c21Q9bhtVOw_;
NTI__7A9cE9bLJrhjc29c21Q9bhtVOw_.marker = Marker_tyRef__7A9cE9bLJrhjc29c21Q9bhtVOw;
NTI__LMPG8t9bSnxjzM5vGdfkBqg_.size = sizeof(tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg);
NTI__LMPG8t9bSnxjzM5vGdfkBqg_.kind = 17;
NTI__LMPG8t9bSnxjzM5vGdfkBqg_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__LMPG8t9bSnxjzM5vGdfkBqg_.name = "object";
NTI__LMPG8t9bSnxjzM5vGdfkBqg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__LMPG8t9bSnxjzM5vGdfkBqg_;
TM__RlWAeaewn59cCEhYQjWkWAg_81_6[0] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[58];
TM__RlWAeaewn59cCEhYQjWkWAg_0[58].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[58].offset = offsetof(tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg, colonstate_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[58].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[58].name = ":state";
TM__RlWAeaewn59cCEhYQjWkWAg_81_6[1] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[59];
TM__RlWAeaewn59cCEhYQjWkWAg_0[59].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[59].offset = offsetof(tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg, chronosInternalTmpFuture1);
TM__RlWAeaewn59cCEhYQjWkWAg_0[59].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[59].name = "chronosInternalTmpFuture1";
TM__RlWAeaewn59cCEhYQjWkWAg_81_6[2] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[60];
TM__RlWAeaewn59cCEhYQjWkWAg_0[60].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[60].offset = offsetof(tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg, colonup_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[60].typ = (&NTI__7A9cE9bLJrhjc29c21Q9bhtVOw_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[60].name = ":up";
TM__RlWAeaewn59cCEhYQjWkWAg_81_6[3] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[61];
TM__RlWAeaewn59cCEhYQjWkWAg_0[61].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[61].offset = offsetof(tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg, result3);
TM__RlWAeaewn59cCEhYQjWkWAg_0[61].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[61].name = "result3";
TM__RlWAeaewn59cCEhYQjWkWAg_81_6[4] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[62];
TM__RlWAeaewn59cCEhYQjWkWAg_0[62].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[62].offset = offsetof(tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg, record4);
TM__RlWAeaewn59cCEhYQjWkWAg_0[62].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[62].name = "record4";
TM__RlWAeaewn59cCEhYQjWkWAg_81_6[5] = &TM__RlWAeaewn59cCEhYQjWkWAg_0[63];
TM__RlWAeaewn59cCEhYQjWkWAg_0[63].kind = 1;
TM__RlWAeaewn59cCEhYQjWkWAg_0[63].offset = offsetof(tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg, errX60gensym485600195_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[63].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__RlWAeaewn59cCEhYQjWkWAg_0[63].name = "err`gensym485600195";
TM__RlWAeaewn59cCEhYQjWkWAg_0[57].len = 6; TM__RlWAeaewn59cCEhYQjWkWAg_0[57].kind = 2; TM__RlWAeaewn59cCEhYQjWkWAg_0[57].sons = &TM__RlWAeaewn59cCEhYQjWkWAg_81_6[0];
NTI__LMPG8t9bSnxjzM5vGdfkBqg_.node = &TM__RlWAeaewn59cCEhYQjWkWAg_0[57];
NTI__fnmD9crznBzpn9aUzOpuSc9aQ_.size = sizeof(tyObject_Env_asyncmacro2dotnim___LMPG8t9bSnxjzM5vGdfkBqg*);
NTI__fnmD9crznBzpn9aUzOpuSc9aQ_.kind = 22;
NTI__fnmD9crznBzpn9aUzOpuSc9aQ_.base = (&NTI__LMPG8t9bSnxjzM5vGdfkBqg_);
NTI__fnmD9crznBzpn9aUzOpuSc9aQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__fnmD9crznBzpn9aUzOpuSc9aQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__fnmD9crznBzpn9aUzOpuSc9aQ_;
NTI__fnmD9crznBzpn9aUzOpuSc9aQ_.marker = Marker_tyRef__fnmD9crznBzpn9aUzOpuSc9aQ;
}