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

2298 lines
155 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.nim.c.o nimcache/release/example/@m..@s..@svendor@snim-eth@seth@sp2p.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <sys/types.h>
#include <pthread.h>
#include "bearssl_rand.h"
#include <string.h>
#include <setjmp.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_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ;
typedef struct tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g;
typedef struct tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA;
typedef struct tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA;
typedef struct tyObject_AbstractChainDBcolonObjectType___phrKWOrz2sWtUNIvnwywJA tyObject_AbstractChainDBcolonObjectType___phrKWOrz2sWtUNIvnwywJA;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
typedef struct Exception Exception;
typedef struct RootObj RootObj;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
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_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w;
typedef struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA;
typedef struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ;
typedef struct tyObject_PeerPoolcolonObjectType___r0RPreUzOT61wvY9bhIi3YA tyObject_PeerPoolcolonObjectType___r0RPreUzOT61wvY9bhIi3YA;
typedef struct tySequence__mmfgVYcOeCQQZ9a5CfuuLXw tySequence__mmfgVYcOeCQQZ9a5CfuuLXw;
typedef struct tySequence__LtBIN8CXQpJxPBU08Pl5Ew tySequence__LtBIN8CXQpJxPBU08Pl5Ew;
typedef struct tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA;
typedef struct tySequence__bZnlXjZxt9bKsfZvcpqpZDA tySequence__bZnlXjZxt9bKsfZvcpqpZDA;
typedef struct tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg;
typedef struct tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg;
typedef struct tyObject_Table__JQs6mFuSYGTO9bUC9aLU6i1g tyObject_Table__JQs6mFuSYGTO9bUC9aLU6i1g;
typedef struct tySequence__6siov3Lsmvxd84pp09b2kFA tySequence__6siov3Lsmvxd84pp09b2kFA;
typedef struct tyObject_HashSet__AQyGRDBRFe6hteN9aGsDePg tyObject_HashSet__AQyGRDBRFe6hteN9aGsDePg;
typedef struct tySequence__aFlGerNczoq1pU7jr4WW0w tySequence__aFlGerNczoq1pU7jr4WW0w;
typedef struct tyObject_Table__zmO5q5EIRgSoRBBKm9a9cDfA tyObject_Table__zmO5q5EIRgSoRBBKm9a9cDfA;
typedef struct tySequence__9bws6EaVEE1bogDOSVwy9a9cA tySequence__9bws6EaVEE1bogDOSVwy9a9cA;
typedef struct tySequence__1EzFEKmqxCrOFQztYTJMow tySequence__1EzFEKmqxCrOFQztYTJMow;
typedef struct tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ;
typedef struct tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA;
typedef struct tyObject_Capability__oMiYUJkdwZ19b9aXFIiVltLA tyObject_Capability__oMiYUJkdwZ19b9aXFIiVltLA;
typedef struct tySequence__aY9a09bkqU2BC49bz0loJpzJQ tySequence__aY9a09bkqU2BC49bz0loJpzJQ;
typedef struct tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw;
typedef struct tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg;
typedef struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw;
typedef struct tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg;
typedef struct tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A;
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 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 tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw;
typedef struct tyObject_SocketServercolonObjectType___r9amIDkC9bgrI1jFjdsXh3IQ tyObject_SocketServercolonObjectType___r9amIDkC9bgrI1jFjdsXh3IQ;
typedef struct tyObject_StreamTransportcolonObjectType___9c1WMjFEDzw4E49cjaaPU3KA tyObject_StreamTransportcolonObjectType___9c1WMjFEDzw4E49cjaaPU3KA;
typedef struct tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA;
typedef struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
typedef struct tyObject_Deque__ucO9bK1zoYpWD2ZW1BKeM2w tyObject_Deque__ucO9bK1zoYpWD2ZW1BKeM2w;
typedef struct tySequence__OpwdygJKVwUtq44zH9a4KHw tySequence__OpwdygJKVwUtq44zH9a4KHw;
typedef struct tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA;
typedef struct tySequence__qkV9cggxceO9cpfUWIbCnvJg tySequence__qkV9cggxceO9cpfUWIbCnvJg;
typedef struct tyObject_FuturecolonObjectType___9bmXGtLSjEzdY7G3hDnZpRw tyObject_FuturecolonObjectType___9bmXGtLSjEzdY7G3hDnZpRw;
typedef struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA;
typedef struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q;
typedef struct tyObject_DispatchercolonObjectType___5km59b0KWRwcy7PeUS9aYRAg tyObject_DispatchercolonObjectType___5km59b0KWRwcy7PeUS9aYRAg;
typedef struct tyObject_SecretState__wF55I1IHS9aSpH159cVClRxA tyObject_SecretState__wF55I1IHS9aSpH159cVClRxA;
typedef struct tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg;
typedef struct tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg;
typedef struct tyObject_ECB__38lQnqP7w5SFHX6DC3Yf9cg tyObject_ECB__38lQnqP7w5SFHX6DC3Yf9cg;
typedef struct tyObject_KeccakContext__82GRymTSHYqYubtyRt2cIg tyObject_KeccakContext__82GRymTSHYqYubtyRt2cIg;
typedef struct tySequence__brriflmYwGP9aQE3grVydoQ tySequence__brriflmYwGP9aQE3grVydoQ;
typedef struct tySequence__TxR1UCdKYpvrwqom6m6ztg tySequence__TxR1UCdKYpvrwqom6m6ztg;
typedef struct TSafePoint TSafePoint;
typedef struct tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw;
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
typedef struct tyTuple__OXuFTr0o0fEz2WdWON4kIQ tyTuple__OXuFTr0o0fEz2WdWON4kIQ;
typedef struct tyTuple__G9c6uMG0yDN9cMp8J9bxIqJOQ tyTuple__G9c6uMG0yDN9cMp8J9bxIqJOQ;
typedef struct tyTuple__yF9c6feNXxQ6CPcRGg9a29bjw tyTuple__yF9c6feNXxQ6CPcRGg9a29bjw;
typedef struct tyObject_PeerObserver__jiG6LWCyHKJmWqcArkLgzQ tyObject_PeerObserver__jiG6LWCyHKJmWqcArkLgzQ;
typedef struct tyObject_MessageInfo__PUHwfyqThWidrA9bi9c6686A tyObject_MessageInfo__PUHwfyqThWidrA9bi9c6686A;
typedef struct tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA;
typedef struct tyObject_StreamVector__Qub3jrbC8APP0mHuRaoB6g tyObject_StreamVector__Qub3jrbC8APP0mHuRaoB6g;
typedef struct tyObject_FuturecolonObjectType___1w0sOuncKSHqSdshhJrODw tyObject_FuturecolonObjectType___1w0sOuncKSHqSdshhJrODw;
typedef struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw;
typedef struct tyObject_Deque__9al6d2TPsLxHbSTA9auxSt7A tyObject_Deque__9al6d2TPsLxHbSTA9auxSt7A;
typedef struct tySequence__V7ShAorRgCSeV9b0QgCr9aAg tySequence__V7ShAorRgCSeV9b0QgCr9aAg;
typedef struct tyObject_OutstandingRequest__ajbfRremPQNkuE39bpvmbHQ tyObject_OutstandingRequest__ajbfRremPQNkuE39bpvmbHQ;
typedef struct tyObject_Moment__p19adwOigsIe5d3NlfPJOEw tyObject_Moment__p19adwOigsIe5d3NlfPJOEw;
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 TGenericSeq {NI len;
NI reserved;
};
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {NI size;
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
NCSTRING name;
TNimType* nextType;
NI instances;
NI sizes;
};
struct RootObj {TNimType* m_type;};
struct Exception { RootObj Sup;Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
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 tyEnum_ConnectionState__kB7AohyIDJpEMjtdFGcsIQ;
typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32];
struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
};
typedef NU8 tyArray__w5VB8h5K8DB3oWrO5U2wqg[64];
struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ {tyArray__w5VB8h5K8DB3oWrO5U2wqg data;
};
struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA {tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ data;
};
struct tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g {tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w seckey;
tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA pubkey;
};
struct tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ {NU networkId;
tyObject_AbstractChainDBcolonObjectType___phrKWOrz2sWtUNIvnwywJA* chain;
NimStringDesc* clientId;
tyEnum_ConnectionState__kB7AohyIDJpEMjtdFGcsIQ connectionState;
tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g keys;
tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA address;
tyObject_PeerPoolcolonObjectType___r0RPreUzOT61wvY9bhIi3YA* peerPool;
tySequence__mmfgVYcOeCQQZ9a5CfuuLXw* capabilities;
tySequence__LtBIN8CXQpJxPBU08Pl5Ew* protocols;
tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA* listeningServer;
tySequence__bZnlXjZxt9bKsfZvcpqpZDA* protocolStates;
tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* discovery;
br_hmac_drbg_context* rng;
};
typedef unsigned char tyArray__A1SHJCPZVISPTujoygIPEQ[64];
struct tyObject_Table__JQs6mFuSYGTO9bUC9aLU6i1g {tySequence__6siov3Lsmvxd84pp09b2kFA* data;
NI counter;
};
struct tyObject_HashSet__AQyGRDBRFe6hteN9aGsDePg {tySequence__aFlGerNczoq1pU7jr4WW0w* data;
NI counter;
};
struct tyObject_Table__zmO5q5EIRgSoRBBKm9a9cDfA {tySequence__9bws6EaVEE1bogDOSVwy9a9cA* data;
NI counter;
};
struct tyObject_PeerPoolcolonObjectType___r0RPreUzOT61wvY9bhIi3YA {tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* network;
tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g keyPair;
NU networkId;
NI minPeers;
NimStringDesc* clientId;
tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* discovery;
NF lastLookupTime;
tyObject_Table__JQs6mFuSYGTO9bUC9aLU6i1g connectedNodes;
tyObject_HashSet__AQyGRDBRFe6hteN9aGsDePg connectingNodes;
NIM_BOOL running;
NU16 listenPort;
tyObject_Table__zmO5q5EIRgSoRBBKm9a9cDfA observers;
};
typedef struct {
N_NIMCALL_PTR(RootObj*, ClP_0) (tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ* peer, void* ClE_0);
void* ClE_0;
} tyProc__PWFDSz9c2goXNBb81ps5fUQ;
typedef struct {
N_NIMCALL_PTR(RootObj*, ClP_0) (tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* network, void* ClE_0);
void* ClE_0;
} tyProc__uQWGuw9bKxNsuM2QDRSzUgA;
typedef struct {
N_NIMCALL_PTR(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, ClP_0) (tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ* peer, void* ClE_0);
void* ClE_0;
} tyProc__29afZbgd4aYWQbRUhy8nK0w;
typedef NU8 tyEnum_DisconnectionReason__Ub6CwrFFyWvJS0L5dDig8w;
typedef struct {
N_NIMCALL_PTR(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, ClP_0) (tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ* peer, tyEnum_DisconnectionReason__Ub6CwrFFyWvJS0L5dDig8w reason, void* ClE_0);
void* ClE_0;
} tyProc__scZFsggq4IoU5D8gFDZEuQ;
struct tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg {NimStringDesc* name;
NI version;
tySequence__1EzFEKmqxCrOFQztYTJMow* messages;
NI index;
tyProc__PWFDSz9c2goXNBb81ps5fUQ peerStateInitializer;
tyProc__uQWGuw9bKxNsuM2QDRSzUgA networkStateInitializer;
tyProc__29afZbgd4aYWQbRUhy8nK0w handshake;
tyProc__scZFsggq4IoU5D8gFDZEuQ disconnectHandler;
};
typedef struct {
N_NIMCALL_PTR(NI, ClP_0) (tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* x_0, tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* k, void* ClE_0);
void* ClE_0;
} tyProc__y3mCAAmtVmj4rjU3FHzzzQ;
typedef N_CLOSURE_PTR(NI, TM__XlGqNzVCpNYukvIdBdcYSg_4) (tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* x_0, tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* k, void* ClE_0);
struct tyObject_Capability__oMiYUJkdwZ19b9aXFIiVltLA {NimStringDesc* name;
NI version;
};
typedef N_CLOSURE_PTR(RootObj*, TM__XlGqNzVCpNYukvIdBdcYSg_6) (tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* network);
struct tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA pubkey;
tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA address;
};
typedef struct {
N_NIMCALL_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, ClP_0) (void* ClE_0);
void* ClE_0;
} tyProc__Y7TIAk6Os9cRMtmIj9bEqCww;
struct tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg { RootObj Sup;NI colonstate_;
tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* node1;
tySequence__aY9a09bkqU2BC49bz0loJpzJQ* bootstrapNodes2;
NIM_BOOL startListening3;
NIM_BOOL enableDiscovery4;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* chronosInternalRetFuture5;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym842702316_;
};
struct tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA {char dummy;
};
struct tyTuple__yobv8JsmBBRNC1NIieLJzQ {
tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA Field0;
};
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___W9cPzVX6B56dOsvKzoq9cQ2A { RootObj Sup;NI colonstate_;
tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg* colonup_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture2;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result3;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record4;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym843400195_;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record6;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym843950197_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture8;
};
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_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;
};
typedef NU8 tyEnum_ServerStatus__uLGan1pIVzivDE9b9bfGavZw;
typedef NU8 tySet_tyEnum_ServerFlags__H6BFISi2WcGaq7HUYeffKg;
struct tyObject_SocketServercolonObjectType___r9amIDkC9bgrI1jFjdsXh3IQ { RootObj Sup;int sock;
tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw local;
tyEnum_ServerStatus__uLGan1pIVzivDE9b9bfGavZw status;
void* udata;
tySet_tyEnum_ServerFlags__H6BFISi2WcGaq7HUYeffKg flags;
NI bufferSize;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* loopFuture;
NI32 errorCode;
};
typedef struct {
N_NIMCALL_PTR(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, ClP_0) (tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA* server, tyObject_StreamTransportcolonObjectType___9c1WMjFEDzw4E49cjaaPU3KA* client, void* ClE_0);
void* ClE_0;
} tyProc__zTopMpWkVQpJz4Sq3L3LWA;
typedef struct {
N_NIMCALL_PTR(tyObject_StreamTransportcolonObjectType___9c1WMjFEDzw4E49cjaaPU3KA*, ClP_0) (tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA* server, int fd, void* ClE_0);
void* ClE_0;
} tyProc__DfQBTK3VvoIyXoYEOInGdA;
struct tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA { tyObject_SocketServercolonObjectType___r9amIDkC9bgrI1jFjdsXh3IQ Sup;tyProc__zTopMpWkVQpJz4Sq3L3LWA function;
tyProc__DfQBTK3VvoIyXoYEOInGdA init;
};
struct tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA { RootObj Sup;NI colonstate_;
tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA* server1;
tyObject_StreamTransportcolonObjectType___9c1WMjFEDzw4E49cjaaPU3KA* remote2;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* chronosInternalRetFuture3;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym840200564_;
};
typedef NU16 tySet_tyEnum_TransportState__e25XYyyNRRgGm3NZuCKNOA;
struct tyObject_Deque__ucO9bK1zoYpWD2ZW1BKeM2w {tySequence__OpwdygJKVwUtq44zH9a4KHw* data;
NI head;
NI tail;
NI count;
NI mask;
};
typedef NU8 tyEnum_TransportKind__D4IN19cdUnkXv7IKnfFK9bwQ;
typedef NU8 tyEnum_Domain__Q79bEtFARvq0ekDNtvj3Vqg;
struct tyObject_StreamTransportcolonObjectType___9c1WMjFEDzw4E49cjaaPU3KA { RootObj Sup;int fd;
tySet_tyEnum_TransportState__e25XYyyNRRgGm3NZuCKNOA state;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* reader;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* buffer;
NI offset;
Exception* error;
tyObject_Deque__ucO9bK1zoYpWD2ZW1BKeM2w queue;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future;
tyEnum_TransportKind__D4IN19cdUnkXv7IKnfFK9bwQ kind;
union{
struct {tyEnum_Domain__Q79bEtFARvq0ekDNtvj3Vqg domain;
tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw local;
tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw remote;
} _kind_1;
struct {NI todo1;
} _kind_2;
struct {NI todo2;
} _kind_3;
};
};
struct tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA { RootObj Sup;NI colonstate_;
tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* node1;
tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA* colonup_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture3;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result4;
tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ* peer5;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record6;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym840750197_;
};
typedef tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* tyArray__06L8jjfbunFPxVliYUVjmQ[2];
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (void* arg, void* ClE_0);
void* ClE_0;
} tyProc__9bqx36VxQxXejdrF09bFARDQ;
typedef NU8 tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA;
struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw { RootObj Sup;tyArray__06L8jjfbunFPxVliYUVjmQ location;
tySequence__qkV9cggxceO9cpfUWIbCnvJg* callbacks;
tyProc__9bqx36VxQxXejdrF09bFARDQ cancelcb;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* child;
tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA state;
Exception* error;
NIM_BOOL mustCancel;
NI id;
};
struct tyObject_FuturecolonObjectType___9bmXGtLSjEzdY7G3hDnZpRw { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ* value;
};
struct tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;};
struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA { tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q Sup;};
typedef NU64 tyArray__wa4ExhM0I5D0wQQmyrXAHA[120];
struct tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg {tyArray__wa4ExhM0I5D0wQQmyrXAHA skey;
NI nr;
};
struct tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg {tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg cipher;
tyArray__vEOa9c5qaE9ajWxR5R4zwfQg iv;
tyArray__vEOa9c5qaE9ajWxR5R4zwfQg ecount;
NU num;
};
struct tyObject_ECB__38lQnqP7w5SFHX6DC3Yf9cg {tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg cipher;
};
typedef NU8 tyArray__mJet1q9cQ9cMu09a9cvCoy52aQ[200];
struct tyObject_KeccakContext__82GRymTSHYqYubtyRt2cIg {tyArray__mJet1q9cQ9cMu09a9cvCoy52aQ q;
NI pt;
};
struct tyObject_SecretState__wF55I1IHS9aSpH159cVClRxA {tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg aesenc;
tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg aesdec;
tyObject_ECB__38lQnqP7w5SFHX6DC3Yf9cg macenc;
tyObject_KeccakContext__82GRymTSHYqYubtyRt2cIg emac;
tyObject_KeccakContext__82GRymTSHYqYubtyRt2cIg imac;
};
struct tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ {tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* remote;
tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* network;
tyObject_StreamTransportcolonObjectType___9c1WMjFEDzw4E49cjaaPU3KA* transport;
tyObject_DispatchercolonObjectType___5km59b0KWRwcy7PeUS9aYRAg* dispatcher;
NI lastReqId;
tyObject_SecretState__wF55I1IHS9aSpH159cVClRxA secretsState;
tyEnum_ConnectionState__kB7AohyIDJpEMjtdFGcsIQ connectionState;
tySequence__bZnlXjZxt9bKsfZvcpqpZDA* protocolStates;
tySequence__brriflmYwGP9aQE3grVydoQ* outstandingRequests;
tySequence__TxR1UCdKYpvrwqom6m6ztg* awaitedMessages;
};
typedef long tyArray__TcvIiMAJvcwzNLsZkfnFnQ[25];
struct TSafePoint {TSafePoint* prev;
NI status;
jmp_buf context;
};
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__XlGqNzVCpNYukvIdBdcYSg_21) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__XlGqNzVCpNYukvIdBdcYSg_22) (void);
typedef N_CLOSURE_PTR(void, TM__XlGqNzVCpNYukvIdBdcYSg_24) (void* udataX60gensym84020057_);
typedef N_CLOSURE_PTR(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, TM__XlGqNzVCpNYukvIdBdcYSg_25) (tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA* server, tyObject_StreamTransportcolonObjectType___9c1WMjFEDzw4E49cjaaPU3KA* client, void* ClE_0);
struct tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw {NI64 value;
};
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__XlGqNzVCpNYukvIdBdcYSg_39) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__XlGqNzVCpNYukvIdBdcYSg_40) (void);
typedef N_CLOSURE_PTR(void, TM__XlGqNzVCpNYukvIdBdcYSg_42) (void* udataX60gensym84270232_);
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
NI line;
NCSTRING filename;
};
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 tyTuple__OXuFTr0o0fEz2WdWON4kIQ {
NI Field0;
tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* Field1;
tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ* Field2;
};
struct tyTuple__G9c6uMG0yDN9cMp8J9bxIqJOQ {
NI Field0;
tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* Field1;
};
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ* p_0, void* ClE_0);
void* ClE_0;
} tyProc__9c8xRSwJvpOiPiSw9cW3tuEw;
struct tyObject_PeerObserver__jiG6LWCyHKJmWqcArkLgzQ {tyProc__9c8xRSwJvpOiPiSw9cW3tuEw onPeerConnected;
tyProc__9c8xRSwJvpOiPiSw9cW3tuEw onPeerDisconnected;
tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* protocol;
};
struct tyTuple__yF9c6feNXxQ6CPcRGg9a29bjw {
NI Field0;
NI Field1;
tyObject_PeerObserver__jiG6LWCyHKJmWqcArkLgzQ Field2;
};
typedef struct {
N_NIMCALL_PTR(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, ClP_0) (tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ* x_0, NI msgId, tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA data_0, void* ClE_0);
void* ClE_0;
} tyProc__hIuj9bhT9cBMehfnGbcNapRg;
typedef struct {
N_NIMCALL_PTR(NimStringDesc*, ClP_0) (void* msg, void* ClE_0);
void* ClE_0;
} tyProc__V6IHWnveo9a3sX1FgLxo5BA;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (void* msg, tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, void* ClE_0);
void* ClE_0;
} tyProc__26ri3Guc9chj9cWXTC4SGZSQ;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA msgData, tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, void* ClE_0);
void* ClE_0;
} tyProc__ut7SOWphcP9c7kBzYrAKYfA;
struct tyObject_MessageInfo__PUHwfyqThWidrA9bi9c6686A {NI id;
NimStringDesc* name;
tyProc__hIuj9bhT9cBMehfnGbcNapRg thunk;
tyProc__V6IHWnveo9a3sX1FgLxo5BA printer;
tyProc__26ri3Guc9chj9cWXTC4SGZSQ requestResolver;
tyProc__ut7SOWphcP9c7kBzYrAKYfA nextMsgResolver;
};
typedef NU8 tyEnum_VectorKind__ijP0jUVl7jtU0mWlW8rRwg;
struct tyObject_StreamVector__Qub3jrbC8APP0mHuRaoB6g {tyEnum_VectorKind__ijP0jUVl7jtU0mWlW8rRwg kind;
void* buf;
NI buflen;
NU offset;
NI size;
tyObject_FuturecolonObjectType___1w0sOuncKSHqSdshhJrODw* writer;
};
struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw {tyProc__9bqx36VxQxXejdrF09bFARDQ function;
void* udata;
};
struct tyObject_Deque__9al6d2TPsLxHbSTA9auxSt7A {tySequence__V7ShAorRgCSeV9b0QgCr9aAg* data;
NI head;
NI tail;
NI count;
NI mask;
};
struct tyObject_Rlp__hcsVkUqjm9aqE9bK87khEjnA {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* bytes;
NI position;
};
struct tyObject_Moment__p19adwOigsIe5d3NlfPJOEw {NI64 value;
};
struct tyObject_OutstandingRequest__ajbfRremPQNkuE39bpvmbHQ {NI id;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future;
tyObject_Moment__p19adwOigsIe5d3NlfPJOEw timeoutAt;
};
struct tySequence__LtBIN8CXQpJxPBU08Pl5Ew { TGenericSeq Sup; tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* data[SEQ_DECL_SIZE];};struct tySequence__bZnlXjZxt9bKsfZvcpqpZDA { TGenericSeq Sup; RootObj* data[SEQ_DECL_SIZE];};struct tySequence__aY9a09bkqU2BC49bz0loJpzJQ { TGenericSeq Sup; tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};struct tySequence__mmfgVYcOeCQQZ9a5CfuuLXw { TGenericSeq Sup; tyObject_Capability__oMiYUJkdwZ19b9aXFIiVltLA data[SEQ_DECL_SIZE];};struct tySequence__6siov3Lsmvxd84pp09b2kFA { TGenericSeq Sup; tyTuple__OXuFTr0o0fEz2WdWON4kIQ data[SEQ_DECL_SIZE];};struct tySequence__aFlGerNczoq1pU7jr4WW0w { TGenericSeq Sup; tyTuple__G9c6uMG0yDN9cMp8J9bxIqJOQ data[SEQ_DECL_SIZE];};struct tySequence__9bws6EaVEE1bogDOSVwy9a9cA { TGenericSeq Sup; tyTuple__yF9c6feNXxQ6CPcRGg9a29bjw data[SEQ_DECL_SIZE];};struct tySequence__1EzFEKmqxCrOFQztYTJMow { TGenericSeq Sup; tyObject_MessageInfo__PUHwfyqThWidrA9bi9c6686A data[SEQ_DECL_SIZE];};struct tySequence__Wq0ZcI6MO5RSp6EwbCW5fA { TGenericSeq Sup; tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* data[SEQ_DECL_SIZE];};struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 data[SEQ_DECL_SIZE];};struct tySequence__OpwdygJKVwUtq44zH9a4KHw { TGenericSeq Sup; tyObject_StreamVector__Qub3jrbC8APP0mHuRaoB6g data[SEQ_DECL_SIZE];};struct tySequence__qkV9cggxceO9cpfUWIbCnvJg { TGenericSeq Sup; tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw data[SEQ_DECL_SIZE];};struct tySequence__brriflmYwGP9aQE3grVydoQ { TGenericSeq Sup; tyObject_Deque__9al6d2TPsLxHbSTA9auxSt7A data[SEQ_DECL_SIZE];};struct tySequence__TxR1UCdKYpvrwqom6m6ztg { TGenericSeq Sup; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* data[SEQ_DECL_SIZE];};struct tySequence__V7ShAorRgCSeV9b0QgCr9aAg { TGenericSeq Sup; tyObject_OutstandingRequest__ajbfRremPQNkuE39bpvmbHQ data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
static N_INLINE(void, nimGCunrefRC1)(void* p_0);
N_LIB_PRIVATE N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_PeerPoolcolonObjectType___r0RPreUzOT61wvY9bhIi3YA*, newPeerPool__cHo6gIug3Vo0tcAN7tSMlA)(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* network, NU networkId, tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g* keyPair, tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* discovery, NimStringDesc* clientId, NU16 listenPort, NI minPeers);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NIMCALL(void, addCapability__hIru7coXtXU02zAwsaAGcA)(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ** node, tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* p_0);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
N_LIB_PRIVATE N_NIMCALL(NI, lowerBound__gkqahmqOP9atq3wscXUsGZw)(tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg** a, NI aLen_0, tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* key_0, tyProc__y3mCAAmtVmj4rjU3FHzzzQ cmp);
N_LIB_PRIVATE N_NIMCALL(NI, cmp__jd8ghEh2HHHXq6VxGg69b3g)(tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* lhs, tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* rhs);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
N_LIB_PRIVATE N_NIMCALL(void, insert__5btssSyGxalFjv30aar7MQ)(tySequence__LtBIN8CXQpJxPBU08Pl5Ew** x_0, tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* item, NI i);
N_LIB_PRIVATE N_NIMCALL(void, insert__qW809cH7KmpPi6o6rmlE9cNQ)(tySequence__mmfgVYcOeCQQZ9a5CfuuLXw** x_0, tyObject_Capability__oMiYUJkdwZ19b9aXFIiVltLA item, NI i);
N_LIB_PRIVATE N_NIMCALL(void, asCapability__nkAfQVuwZBE66hZQVJ9cRKQ)(tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* p_0, tyObject_Capability__oMiYUJkdwZ19b9aXFIiVltLA* Result);
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
static N_NIMCALL(void, Marker_tySequence__aY9a09bkqU2BC49bz0loJpzJQ)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tyRef__msM0MIo8xVU2lt9b9aDQIE0g)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest_0, void* src, TNimType* mt);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, newFutureImpl__wu9buovQIxiU3ndXmKRpnVw)(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__9aRIFpFNM24CeM4wVxP2gsg)(void);
static N_NIMCALL(void, Marker_tyRef__IkQNM660649cl6M4ADnBnEQ)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, connectToNetwork__hbPW9aOnoQ9aPaABiknSf2Bw)(void* ClE_0);
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);
N_LIB_PRIVATE N_NIMCALL(br_hmac_drbg_context*, newRng__9cKaYUOzNpI6Cw7CIYoErTQ)(void);
N_LIB_PRIVATE N_NIMCALL(void, startListening__9bOA19cF0m2sEUJ6IRuZgh8A)(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* node);
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_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA*, createStreamServer__2T9ajqah9ccLTw0bDEvh7DeA)(tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw* host, tyProc__zTopMpWkVQpJz4Sq3L3LWA cbproc, tySet_tyEnum_ServerFlags__H6BFISi2WcGaq7HUYeffKg flags_0, int sock, NI backlog, NI bufferSize, tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA* child, tyProc__DfQBTK3VvoIyXoYEOInGdA init_0, void* udata);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, processIncoming__ChTdcZozqWY9afrv8JyjpHQ)(tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA* server, tyObject_StreamTransportcolonObjectType___9c1WMjFEDzw4E49cjaaPU3KA* remote);
static N_NIMCALL(void, Marker_tyRef__NmYHcuaQ5JoS8fiVmLdNbA)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__BRyDOIRrlJ83Ua6G9a5MSEw)(void);
static N_NIMCALL(void, Marker_tyRef__oOZzTp8JMfoliB9cIbMXuTQ)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, processIncoming__hbPW9aOnoQ9aPaABiknSf2Bw_2)(void* ClE_0);
static N_INLINE(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ*, getUserData__NLBgFZHw4XTYG0RhqCXMHgstream)(tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA* server);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___9bmXGtLSjEzdY7G3hDnZpRw*, rlpxAccept__RGa9cud9a7MiqackodjYnyvQ)(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* node, tyObject_StreamTransportcolonObjectType___9c1WMjFEDzw4E49cjaaPU3KA* transport);
N_LIB_PRIVATE N_NIMCALL(void, internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* fut);
static N_INLINE(tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ*, internalRead__u82MxfO2w5B9a9aDQmxBWSVAasyncloop)(tyObject_FuturecolonObjectType___9bmXGtLSjEzdY7G3hDnZpRw* fut);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
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__U2vmGWVLHFSD9cvjHnmuu2A)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, NimStringDesc* val_0);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___QMl2M41LkzE0PN9bJVRUG5Q)(tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* n_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, excl__EkAL12ztP4cVWpK7mwR1NQ_2)(tyObject_HashSet__AQyGRDBRFe6hteN9aGsDePg* s_0, tyObject_NodecolonObjectType___qHnzRdH4zCCluGzY2Ao49cg* key_0);
N_LIB_PRIVATE N_NIMCALL(void, addPeer__Ia1Jp5tqW8qioejDYMiAdA)(tyObject_PeerPoolcolonObjectType___r0RPreUzOT61wvY9bhIi3YA* pool, tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ* peer);
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__CjYcgfNWR9ae9ab7Sdr7xIPg)(void);
N_LIB_PRIVATE N_CLOSURE(void, processIncoming_continue__uF0rCDc51IDoxIfbQBkegA)(void* udataX60gensym84020057_, 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);
N_LIB_PRIVATE N_NIMCALL(void, start__NoxVnKvAHDHNhgm9b29ci9bwA)(tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA* server);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__firCiXpCHoX7Cx2ySHWeCg)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw* val_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw, listeningAddress__iEuxLXJ9bNdtkeGR9coAEGPA)(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* node);
N_LIB_PRIVATE N_NIMCALL(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw, toENode__zECSlZZKY2YAR9c9bbZXvNqw)(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* v);
N_LIB_PRIVATE N_NIMCALL(void, open__2yolw89ciPNl89cU2DLN4piA)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, bootstrap__Da0O9bEbyPJxuRoD05a4FDw)(tyObject_DiscoveryProtocolcolonObjectType___waQyUBIS0phbKWz5xVV9bTg* d);
static N_INLINE(void, internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut);
N_LIB_PRIVATE N_NIMCALL(void, start__2U9aaNrO4oHZr5C8Fs9a3ouA)(tyObject_PeerPoolcolonObjectType___r0RPreUzOT61wvY9bhIi3YA* p_0);
N_LIB_PRIVATE N_NIMCALL(NI, len__9cJonBcIlIIEombs9a6gNBxg)(tyObject_Table__JQs6mFuSYGTO9bUC9aLU6i1g t);
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);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__pqcR9c9cyE9blUIqaQ9a563fMw)(void);
N_LIB_PRIVATE N_CLOSURE(void, connectToNetwork_continue__2atcjRDUkxHRsmII0sMxnQ)(void* udataX60gensym84270232_, void* ClE_0);
extern TNimType NTI__gcKyg9bhR5vWTJg3cREMk0Q_;
extern TNimType NTI__qrLSDoe2oBoAqNtJ9badtnA_;
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_2, "Cannot initialize RNG", 21);
extern TNimType NTI__yNmrnRmKIzWjXXyJGC6ygw_;
extern TNimType NTI__bZnlXjZxt9bKsfZvcpqpZDA_;
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_3, "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim("
"22, 12) `node.connectionState == ConnectionState.None` ", 118);
static NIM_CONST tyProc__uQWGuw9bKxNsuM2QDRSzUgA TM__XlGqNzVCpNYukvIdBdcYSg_5 = {NIM_NIL,NIM_NIL};
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_8, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/system/iterators.nim(189, 11) `len(a) == L` the l"
"ength of the seq changed while iterating over it", 175);
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
N_LIB_PRIVATE TNimType NTI__1KMqmJbV2Rb1xkAm1KsWjg_;
extern TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_;
extern TNimType NTI__bNRDNKJGQnqT2sH89bsDhBw_;
N_LIB_PRIVATE TNimType NTI__aY9a09bkqU2BC49bz0loJpzJQ_;
extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
extern TNimType NTI__wrhe6hYHoM2gc8EiW0lE6Q_;
extern TNimType NTI__Y7TIAk6Os9cRMtmIj9bEqCww_;
N_LIB_PRIVATE TNimType NTI__msM0MIo8xVU2lt9b9aDQIE0g_;
N_LIB_PRIVATE TNimType NTI__W9cPzVX6B56dOsvKzoq9cQ2A_;
extern TNimType NTI__Oe5U64nDSwOh3KlTzM9b9c7g_;
extern TNimType NTI__EhHqp0aF43SxfS6MTF9b0hA_;
N_LIB_PRIVATE TNimType NTI__IkQNM660649cl6M4ADnBnEQ_;
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_11, "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim("
"99, 12) `node.connectionState == ConnectionState.None` ", 118);
N_LIB_PRIVATE TNimType NTI__qzQPiLDRKHpqCw19aFpgOMA_;
extern TNimType NTI__C3SvHSJRhfFWtTT5YCZD6w_;
extern TNimType NTI__tUPwZUYpLXnLs6sI0VIpBw_;
N_LIB_PRIVATE TNimType NTI__NmYHcuaQ5JoS8fiVmLdNbA_;
N_LIB_PRIVATE TNimType NTI__O19beoGxaI9cllTyvT9agU5dA_;
extern TNimType NTI__ilId79baDi1OHxxGAxmTreg_;
N_LIB_PRIVATE TNimType NTI__oOZzTp8JMfoliB9cIbMXuTQ_;
extern TNimType NTI__paaBQT4pyImJiuEdGp60qA_;
extern TNimType NTI__REH9aBNkNbeLkDu8Z1q6BeA_;
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_14, "Future operation cancelled!", 27);
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_17, "Connection established (incoming)", 33);
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_18, "tid", 3);
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_19, "peer", 4);
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_23, "Async procedure (&processIncoming) yielded `nil`, are you await"
"\'ing a `nil` Future\?", 83);
static NIM_CONST tyProc__DfQBTK3VvoIyXoYEOInGdA TM__XlGqNzVCpNYukvIdBdcYSg_26 = {NIM_NIL,NIM_NIL};
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_28, "RLPx listener up", 16);
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_29, "self", 4);
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_31, "Discovery disabled", 18);
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_34, "Waiting for more peers", 22);
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_35, "peers", 5);
static NIM_CONST tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw TM__XlGqNzVCpNYukvIdBdcYSg_36 = {IL64(1000000)}
;
STRING_LITERAL(TM__XlGqNzVCpNYukvIdBdcYSg_41, "Async procedure (&connectToNetwork) yielded `nil`, are you awai"
"t\'ing a `nil` Future\?", 84);
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
extern tySequence__LtBIN8CXQpJxPBU08Pl5Ew* gProtocols__VysqBnYwymCRL7t9aBaA16Q;
extern TNimType* nimTypeRoot;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0;
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;}
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;}
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
}
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ NIM_BOOL T3_;
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_;
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
}
LA4_: ;
}
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;}
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, nimGCunrefNoCycle)(void* p) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
}
#line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0;
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;}
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));}
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, asgnRef)(void** dest, void* src) {
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!((src == NIM_NIL))) goto LA3_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
}
LA3_: ;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!(((*dest) == NIM_NIL))) goto LA8_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
}
LA8_: ;
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*dest) = src;}
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, nimGCunrefRC1)(void* p_0) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 233 "/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_0);
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
}
#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 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
N_LIB_PRIVATE N_NIMCALL(void, addCapability__hIru7coXtXU02zAwsaAGcA)(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ** node, tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* p_0) { NI pos; tyProc__y3mCAAmtVmj4rjU3FHzzzQ T5_; tyObject_Capability__oMiYUJkdwZ19b9aXFIiVltLA T6_;
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
{
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
if (!!(((*(*node)).connectionState == ((tyEnum_ConnectionState__kB7AohyIDJpEMjtdFGcsIQ) 0)))) goto LA3_;
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_3));
}
LA3_: ;
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
nimZeroMem((void*)(&T5_), sizeof(tyProc__y3mCAAmtVmj4rjU3FHzzzQ)); T5_.ClP_0 = ((TM__XlGqNzVCpNYukvIdBdcYSg_4) (cmp__jd8ghEh2HHHXq6VxGg69b3g)); T5_.ClE_0 = NIM_NIL;
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
pos = lowerBound__gkqahmqOP9atq3wscXUsGZw((*(*node)).protocols->data, ((*(*node)).protocols ? (*(*node)).protocols->Sup.len : 0), p_0, T5_);
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
if ((pos) < ((NI) 0) || (pos) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(pos, ((NI) 0), ((NI) IL64(9223372036854775807))); }
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
insert__5btssSyGxalFjv30aar7MQ((&(*(*node)).protocols), p_0, ((NI) (pos)));
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
nimZeroMem((void*)(&T6_), sizeof(tyObject_Capability__oMiYUJkdwZ19b9aXFIiVltLA)); asCapability__nkAfQVuwZBE66hZQVJ9cRKQ(p_0, (&T6_));
if ((pos) < ((NI) 0) || (pos) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(pos, ((NI) 0), ((NI) IL64(9223372036854775807))); }
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
insert__qW809cH7KmpPi6o6rmlE9cNQ((&(*(*node)).capabilities), T6_, ((NI) (pos)));
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
{
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
if (!!(((*p_0).networkStateInitializer.ClP_0 == TM__XlGqNzVCpNYukvIdBdcYSg_5.ClP_0 && (*p_0).networkStateInitializer.ClE_0 == TM__XlGqNzVCpNYukvIdBdcYSg_5.ClE_0))) goto LA9_;
if ((NU)((*p_0).index) >= (NU)((*(*node)).protocolStates ? (*(*node)).protocolStates->Sup.len : 0)){ raiseIndexError2((*p_0).index,((*(*node)).protocolStates ? (*(*node)).protocolStates->Sup.len : 0)-1); }
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
asgnRef((void**) (&(*(*node)).protocolStates->data[(*p_0).index]), (*p_0).networkStateInitializer.ClE_0? (*p_0).networkStateInitializer.ClP_0((*node), (*p_0).networkStateInitializer.ClE_0):((TM__XlGqNzVCpNYukvIdBdcYSg_6)((*p_0).networkStateInitializer.ClP_0))((*node))); }
LA9_: ;
}
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ*, newEthereumNode__j7temvlPovop6ijAx09cWjQ)(tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g* keys, tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA address, NU networkId, tyObject_AbstractChainDBcolonObjectType___phrKWOrz2sWtUNIvnwywJA* chain_0, NimStringDesc* clientId, NIM_BOOL addAllCapabilities, NIM_BOOL useCompression, NI minPeers, br_hmac_drbg_context* rng_0) { tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* result; NimStringDesc* T7_; NI T8_; result = (tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ*)0;
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
{ tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* T5_; NimStringDesc* T6_;
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
if (!(rng_0 == NIM_NIL)) goto LA3_;
T5_ = (tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*)0; T5_ = (tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) newObj((&NTI__gcKyg9bhR5vWTJg3cREMk0Q_), sizeof(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA)); (*T5_).Sup.Sup.m_type = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_); (*T5_).Sup.name = "CatchableError"; T6_ = (NimStringDesc*)0; T6_ = (*T5_).Sup.message; (*T5_).Sup.message = copyStringRC1(((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_2)); if (T6_) nimGCunrefNoCycle(T6_);
#line 45 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
raiseExceptionEx((Exception*)T5_, "CatchableError", "newEthereumNode", "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim", 45); }
LA3_: ;
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
result = (tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ*) newObj((&NTI__yNmrnRmKIzWjXXyJGC6ygw_), sizeof(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ));
#line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
(*result).keys = (*keys);
#line 49 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
(*result).networkId = networkId;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
T7_ = (NimStringDesc*)0; T7_ = (*result).clientId; (*result).clientId = copyStringRC1(clientId); if (T7_) nimGCunrefNoCycle(T7_);
#line 51 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
if ((*result).protocols) { nimGCunrefNoCycle((*result).protocols); (*result).protocols = NIM_NIL; }
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
if ((*result).capabilities) { nimGCunrefNoCycle((*result).capabilities); (*result).capabilities = NIM_NIL; }
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
(*result).address = address;
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
(*result).connectionState = ((tyEnum_ConnectionState__kB7AohyIDJpEMjtdFGcsIQ) 0);
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
asgnRef((void**) (&(*result).rng), rng_0);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
T8_ = (gProtocols__VysqBnYwymCRL7t9aBaA16Q ? gProtocols__VysqBnYwymCRL7t9aBaA16Q->Sup.len : 0); if ((T8_) < ((NI) 0) || (T8_) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(T8_, ((NI) 0), ((NI) IL64(9223372036854775807))); } if ((*result).protocolStates) { nimGCunrefRC1((*result).protocolStates); (*result).protocolStates = NIM_NIL; } (*result).protocolStates = (tySequence__bZnlXjZxt9bKsfZvcpqpZDA*) newSeqRC1((&NTI__bZnlXjZxt9bKsfZvcpqpZDA_), ((NI) (T8_)));
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
asgnRef((void**) (&(*result).peerPool), newPeerPool__cHo6gIug3Vo0tcAN7tSMlA(result, networkId, keys, NIM_NIL, clientId, address.tcpPort, minPeers));
#line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
{ if (!addAllCapabilities) goto LA11_;
{ tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg* p_1; tySequence__LtBIN8CXQpJxPBU08Pl5Ew* colontmp_; NI i; NI L; NI T14_; p_1 = (tyObject_ProtocolInfoObj__x9ayzfuh9abjpSPORCScZoQg*)0; colontmp_ = (tySequence__LtBIN8CXQpJxPBU08Pl5Ew*)0;
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
colontmp_ = gProtocols__VysqBnYwymCRL7t9aBaA16Q;
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i = ((NI) 0);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T14_ = (colontmp_ ? colontmp_->Sup.len : 0); L = T14_; {
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { NI TM__XlGqNzVCpNYukvIdBdcYSg_7;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i < L)) goto LA16;
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
if ((NU)(i) >= (NU)(colontmp_ ? colontmp_->Sup.len : 0)){ raiseIndexError2(i,(colontmp_ ? colontmp_->Sup.len : 0)-1); } p_1 = colontmp_->data[i];
#line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
addCapability__hIru7coXtXU02zAwsaAGcA(&result, p_1);
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i, ((NI) 1), &TM__XlGqNzVCpNYukvIdBdcYSg_7)) { raiseOverflow(); }; i = (NI)(TM__XlGqNzVCpNYukvIdBdcYSg_7);
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T19_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T19_ = (colontmp_ ? colontmp_->Sup.len : 0); if (!!((T19_ == L))) goto LA20_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_8));
}
LA20_: ;
} LA16: ;
}
}
}
LA11_: ;
return result;}
static N_NIMCALL(void, Marker_tySequence__aY9a09bkqU2BC49bz0loJpzJQ)(void* p, NI op) {
tySequence__aY9a09bkqU2BC49bz0loJpzJQ* a;
NI T1_; NI T2_; NI T3_; NI T4_; a = (tySequence__aY9a09bkqU2BC49bz0loJpzJQ*)p;
T1_ = (NI)0; for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
T2_ = (NI)0; switch (a->data[T1_].address.ip.family) {
case ((tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA) 0):
T3_ = (NI)0; break;
case ((tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA) 1):
T4_ = (NI)0; break;
}
}
}
static N_NIMCALL(void, Marker_tyRef__msM0MIo8xVU2lt9b9aDQIE0g)(void* p, NI op) {
tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg* a;
a = (tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg*)p;
nimGCvisit((void*)(*a).node1, op); nimGCvisit((void*)(*a).bootstrapNodes2, op); nimGCvisit((void*)(*a).chronosInternalRetFuture5, op); nimGCvisit((void*)(*a).nameIterVarX60gensym842702316_.ClE_0, op);}
static N_NIMCALL(void, Marker_tyRef__IkQNM660649cl6M4ADnBnEQ)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A* a;
a = (tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A*)p;
nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture2, op); nimGCvisit((void*)(*a).result3, op); nimGCvisit((void*)(*a).record4.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym843400195_, op); nimGCvisit((void*)(*a).record6.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym843950197_, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture8, op);}
static N_NIMCALL(void, Marker_tyRef__NmYHcuaQ5JoS8fiVmLdNbA)(void* p, NI op) {
tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA* a;
a = (tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA*)p;
nimGCvisit((void*)(*a).server1, op); nimGCvisit((void*)(*a).remote2, op); nimGCvisit((void*)(*a).chronosInternalRetFuture3, op); nimGCvisit((void*)(*a).nameIterVarX60gensym840200564_.ClE_0, op);}
static N_NIMCALL(void, Marker_tyRef__oOZzTp8JMfoliB9cIbMXuTQ)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA* a;
a = (tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA*)p;
nimGCvisit((void*)(*a).node1, op); nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture3, op); nimGCvisit((void*)(*a).result4, op); nimGCvisit((void*)(*a).peer5, op); nimGCvisit((void*)(*a).record6.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym840750197_, op);}
#line 1903 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/transports/stream.nim"
static N_INLINE(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ*, getUserData__NLBgFZHw4XTYG0RhqCXMHgstream)(tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA* server) { tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* result; result = (tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ*)0;
#line 1905 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/transports/stream.nim"
result = ((tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ*) ((*server).Sup.udata)); return result;}
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ*, internalRead__u82MxfO2w5B9a9aDQmxBWSVAasyncloop)(tyObject_FuturecolonObjectType___9bmXGtLSjEzdY7G3hDnZpRw* fut) { tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ* result;{ result = (tyObject_PeercolonObjectType___c4Sh9b59ah4iBo8P3EU5lRFQ*)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"
result = (*fut).value; goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
(*s).prev = excHandler__rqLlY5bs9atDw2OXYqJEn5g;
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
excHandler__rqLlY5bs9atDw2OXYqJEn5g = s;}
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
static N_INLINE(void, popSafePoint)(void) {
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
excHandler__rqLlY5bs9atDw2OXYqJEn5g = (*excHandler__rqLlY5bs9atDw2OXYqJEn5g).prev;}
#line 2292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(Exception*, nimBorrowCurrentException)(void) { Exception* result; result = (Exception*)0;
#line 2295 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
result = currException__9bVPeDJlYTi9bQApZpfH8wjg; return result;}
#line 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);}
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, processIncoming__hbPW9aOnoQ9aPaABiknSf2Bw_2)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA*) ClE_0;
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
while (1) { if (!1) goto LA1;
{ tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T30_; 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;
}
STATE0: ; { tyObject_FuturecolonObjectType___9bmXGtLSjEzdY7G3hDnZpRw* T4_;
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
asgnRef((void**) (&(*colonenvP_).node1), getUserData__NLBgFZHw4XTYG0RhqCXMHgstream((*(*colonenvP_).colonup_).server1));
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture3 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
T4_ = (tyObject_FuturecolonObjectType___9bmXGtLSjEzdY7G3hDnZpRw*)0; T4_ = rlpxAccept__RGa9cud9a7MiqackodjYnyvQ((*colonenvP_).node1, (*(*colonenvP_).colonup_).remote2); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture3), &T4_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.child), (*colonenvP_).chronosInternalTmpFuture3);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1);
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenvP_).chronosInternalTmpFuture3; goto BeforeRet_;
}
STATE1: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).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_).chronosInternalRetFuture3).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__XlGqNzVCpNYukvIdBdcYSg_14)); if (T10_) nimGCunrefNoCycle(T10_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T9_, "CancelledError", "processIncoming", "/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_).chronosInternalTmpFuture3);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2);
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
goto LA2;
STATE2: ;
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*colonenvP_).peer5), internalRead__u82MxfO2w5B9a9aDQmxBWSVAasyncloop(((tyObject_FuturecolonObjectType___9bmXGtLSjEzdY7G3hDnZpRw*) ((*colonenvP_).chronosInternalTmpFuture3))));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
goto LA2;
STATE3: ;
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
{ TSafePoint TM__XlGqNzVCpNYukvIdBdcYSg_15;
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
if (!!(((*colonenvP_).peer5 == 0))) goto LA13_;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__XlGqNzVCpNYukvIdBdcYSg_15); TM__XlGqNzVCpNYukvIdBdcYSg_15.status = setjmp(TM__XlGqNzVCpNYukvIdBdcYSg_15.context); if (TM__XlGqNzVCpNYukvIdBdcYSg_15.status == 0) { TSafePoint TM__XlGqNzVCpNYukvIdBdcYSg_16;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__XlGqNzVCpNYukvIdBdcYSg_16); TM__XlGqNzVCpNYukvIdBdcYSg_16.status = setjmp(TM__XlGqNzVCpNYukvIdBdcYSg_16.context); if (TM__XlGqNzVCpNYukvIdBdcYSg_16.status == 0) { { NI T18_; NimStringDesc* T19_;
#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) 1), ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_17));
#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"
T18_ = (NI)0; T18_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record6), ((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_18), T18_);
#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"
T19_ = (NimStringDesc*)0; T19_ = dollar___QMl2M41LkzE0PN9bJVRUG5Q((*(*colonenvP_).peer5).remote);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record6), ((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_19), T19_);
#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* T22_; Exception* T23_; TM__XlGqNzVCpNYukvIdBdcYSg_16.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T22_ = (Exception*)0; T22_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym840750197_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T22_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T23_ = (Exception*)0; T23_ = &(*colonenvP_).errX60gensym840750197_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Connection established (incoming)", T23_);
popCurrentException(); }
}
if (TM__XlGqNzVCpNYukvIdBdcYSg_16.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__XlGqNzVCpNYukvIdBdcYSg_15.status = 0; popCurrentException(); }
}
if (TM__XlGqNzVCpNYukvIdBdcYSg_15.status != 0) reraiseException();
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
{
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
if (!!(((*(*colonenvP_).node1).peerPool == NIM_NIL))) goto LA28_;
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
excl__EkAL12ztP4cVWpK7mwR1NQ_2((&(*(*(*colonenvP_).node1).peerPool).connectingNodes), (*(*colonenvP_).peer5).remote);
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
addPeer__Ia1Jp5tqW8qioejDYMiAdA((*(*colonenvP_).node1).peerPool, (*colonenvP_).peer5);
}
LA28_: ;
}
LA13_: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4);
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
goto LA2;
STATE4: ;
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.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"
T30_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T30_ = srcLocImpl__CjYcgfNWR9ae9ab7Sdr7xIPg();
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
complete__nHHWNIBkqCfVC3oe9a1ZdIQ((*(*colonenvP_).colonup_).chronosInternalRetFuture3, T30_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 5);
#line 0 "\?\?\?"
goto LA2;
STATE5: ;
#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, processIncoming_continue__uF0rCDc51IDoxIfbQBkegA)(void* udataX60gensym84020057_, void* ClE_0) { tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA* colonenvP_; TSafePoint TM__XlGqNzVCpNYukvIdBdcYSg_20; colonenvP_ = (tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__XlGqNzVCpNYukvIdBdcYSg_20); TM__XlGqNzVCpNYukvIdBdcYSg_20.status = setjmp(TM__XlGqNzVCpNYukvIdBdcYSg_20.context); if (TM__XlGqNzVCpNYukvIdBdcYSg_20.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym84020058_;
#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_).nameIterVarX60gensym840200564_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym84020058_ = (*colonenvP_).nameIterVarX60gensym840200564_.ClP_0((*colonenvP_).nameIterVarX60gensym840200564_.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_ = !((nextX60gensym84020058_ == 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(nextX60gensym84020058_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym84020058_ = (*colonenvP_).nameIterVarX60gensym840200564_.ClP_0((*colonenvP_).nameIterVarX60gensym840200564_.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_).nameIterVarX60gensym840200564_); 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 (!(nextX60gensym84020058_ == 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__XlGqNzVCpNYukvIdBdcYSg_23));
}
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 = processIncoming_continue__uF0rCDc51IDoxIfbQBkegA; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym84020058_, 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__XlGqNzVCpNYukvIdBdcYSg_20.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* excX60gensym84020060_; Exception* T32_; TM__XlGqNzVCpNYukvIdBdcYSg_20.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(); excX60gensym84020060_ = ((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*)excX60gensym84020060_, "CatchableError", "processIncoming_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_ = &excX60gensym84020060_->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__XlGqNzVCpNYukvIdBdcYSg_20.status != 0) reraiseException();}
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, processIncoming__ChTdcZozqWY9afrv8JyjpHQ)(tyObject_StreamServercolonObjectType___jsbainH9bqLrWJoHgf3JqYA* server, tyObject_StreamTransportcolonObjectType___9c1WMjFEDzw4E49cjaaPU3KA* remote) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; colonenv_ = (tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA*) newObj((&NTI__NmYHcuaQ5JoS8fiVmLdNbA_), sizeof(tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA)); (*colonenv_).Sup.m_type = (&NTI__qzQPiLDRKHpqCw19aFpgOMA_);
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
asgnRef((void**) (&(*colonenv_).server1), server);
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
asgnRef((void**) (&(*colonenv_).remote2), remote);
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.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__BRyDOIRrlJ83Ua6G9a5MSEw();
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.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___O19beoGxaI9cllTyvT9agU5dA*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA*) newObj((&NTI__oOZzTp8JMfoliB9cIbMXuTQ_), sizeof(tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA)); (*colonenv__2).Sup.m_type = (&NTI__O19beoGxaI9cllTyvT9agU5dA_);
#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 = processIncoming__hbPW9aOnoQ9aPaABiknSf2Bw_2; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym840200564_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym840200564_.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 = processIncoming_continue__uF0rCDc51IDoxIfbQBkegA; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__XlGqNzVCpNYukvIdBdcYSg_24)(T3_.ClP_0))(NIM_NIL);
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.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 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw, listeningAddress__iEuxLXJ9bNdtkeGR9coAEGPA)(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* node) { tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw result; nimZeroMem((void*)(&result), sizeof(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw));
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
result = toENode__zECSlZZKY2YAR9c9bbZXvNqw(node); return result;}
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
N_LIB_PRIVATE N_NIMCALL(void, startListening__9bOA19cF0m2sEUJ6IRuZgh8A)(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* node) { tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw ta; tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA T1_; TSafePoint TM__XlGqNzVCpNYukvIdBdcYSg_27;
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
T1_ = IPv4_any__5V0LcX2Yk2O9aKPmxujB0qw();
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
ta = initTAddress__4Inkz184gzvSzRNqKTPwVw(T1_, (*node).address.tcpPort);
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
{ tyProc__zTopMpWkVQpJz4Sq3L3LWA T6_;
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
if (!((*node).listeningServer == NIM_NIL)) goto LA4_;
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
nimZeroMem((void*)(&T6_), sizeof(tyProc__zTopMpWkVQpJz4Sq3L3LWA)); T6_.ClP_0 = ((TM__XlGqNzVCpNYukvIdBdcYSg_25) (processIncoming__ChTdcZozqWY9afrv8JyjpHQ)); T6_.ClE_0 = NIM_NIL;
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
asgnRef((void**) (&(*node).listeningServer), createStreamServer__2T9ajqah9ccLTw0bDEvh7DeA((&ta), T6_, 1, ((int) -1), ((NI) 100), ((NI) 4096), NIM_NIL, TM__XlGqNzVCpNYukvIdBdcYSg_26, ((void*) (node)))); }
LA4_: ;
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
start__NoxVnKvAHDHNhgm9b29ci9bwA((*node).listeningServer);
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__XlGqNzVCpNYukvIdBdcYSg_27); TM__XlGqNzVCpNYukvIdBdcYSg_27.status = setjmp(TM__XlGqNzVCpNYukvIdBdcYSg_27.context); if (TM__XlGqNzVCpNYukvIdBdcYSg_27.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T9_; tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw 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) 3), ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_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"
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__XlGqNzVCpNYukvIdBdcYSg_18), T9_);
#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"
T10_ = listeningAddress__iEuxLXJ9bNdtkeGR9coAEGPA(node);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__firCiXpCHoX7Cx2ySHWeCg((&record), ((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_29), (&T10_));
#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* errX60gensym84175019_; Exception* T13_; Exception* T14_; TM__XlGqNzVCpNYukvIdBdcYSg_27.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(); errX60gensym84175019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T13_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T14_ = (Exception*)0; T14_ = &errX60gensym84175019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("RLPx listener up", T14_);
popCurrentException(); }
}
if (TM__XlGqNzVCpNYukvIdBdcYSg_27.status != 0) reraiseException();}
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(void, internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut) {}
#line 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__XlGqNzVCpNYukvIdBdcYSg_37; 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__XlGqNzVCpNYukvIdBdcYSg_36.value, &TM__XlGqNzVCpNYukvIdBdcYSg_37)) { raiseOverflow(); }; result.value = (NI64)(TM__XlGqNzVCpNYukvIdBdcYSg_37); 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*, connectToNetwork__hbPW9aOnoQ9aPaABiknSf2Bw)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A*) ClE_0;
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
while (1) { if (!1) goto LA1;
{ tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T58_; 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;
}
STATE0: ; { br_hmac_drbg_context* T8_;
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
{
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
if (!!(((*(*(*colonenvP_).colonup_).node1).connectionState == ((tyEnum_ConnectionState__kB7AohyIDJpEMjtdFGcsIQ) 0)))) goto LA6_;
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_11));
}
LA6_: ;
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
(*(*(*colonenvP_).colonup_).node1).connectionState = ((tyEnum_ConnectionState__kB7AohyIDJpEMjtdFGcsIQ) 1);
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p/discovery.nim"
T8_ = (br_hmac_drbg_context*)0; T8_ = newRng__9cKaYUOzNpI6Cw7CIYoErTQ();
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).node1).discovery), newDiscoveryProtocol__rh9b8gHehIWKUFkewL6MAVg((&(*(*(*colonenvP_).colonup_).node1).keys.seckey), (*(*(*colonenvP_).colonup_).node1).address, (*(*colonenvP_).colonup_).bootstrapNodes2->data, ((*(*colonenvP_).colonup_).bootstrapNodes2 ? (*(*colonenvP_).colonup_).bootstrapNodes2->Sup.len : 0), T8_));
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
asgnRef((void**) (&(*(*(*(*colonenvP_).colonup_).node1).peerPool).discovery), (*(*(*colonenvP_).colonup_).node1).discovery);
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
{ if (!(*(*colonenvP_).colonup_).startListening3) goto LA11_;
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
startListening__9bOA19cF0m2sEUJ6IRuZgh8A((*(*colonenvP_).colonup_).node1);
}
LA11_: ;
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
{ tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T17_; if (!(*(*colonenvP_).colonup_).enableDiscovery4) goto LA15_;
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
open__2yolw89ciPNl89cU2DLN4piA((*(*(*colonenvP_).colonup_).node1).discovery);
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture2 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
T17_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T17_ = bootstrap__Da0O9bEbyPJxuRoD05a4FDw((*(*(*colonenvP_).colonup_).node1).discovery); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture2), &T17_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture5).Sup.child), (*colonenvP_).chronosInternalTmpFuture2);
#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_).chronosInternalTmpFuture2; goto BeforeRet_;
}
goto LA13_;
LA15_: ;
{ TSafePoint TM__XlGqNzVCpNYukvIdBdcYSg_30;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__XlGqNzVCpNYukvIdBdcYSg_30); TM__XlGqNzVCpNYukvIdBdcYSg_30.status = setjmp(TM__XlGqNzVCpNYukvIdBdcYSg_30.context); if (TM__XlGqNzVCpNYukvIdBdcYSg_30.status == 0) { { NI T21_;
#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) 3), ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_31));
#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"
T21_ = (NI)0; T21_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record4), ((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_18), T21_);
#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* T24_; Exception* T25_; TM__XlGqNzVCpNYukvIdBdcYSg_30.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T24_ = (Exception*)0; T24_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym843400195_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T24_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T25_ = (Exception*)0; T25_ = &(*colonenvP_).errX60gensym843400195_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Discovery disabled", T25_);
popCurrentException(); }
}
if (TM__XlGqNzVCpNYukvIdBdcYSg_30.status != 0) reraiseException();
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
goto LA2;
}
LA13_: ;
}
STATE1: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture5).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T30_; NimStringDesc* T31_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture5).Sup.mustCancel) goto LA28_;
T30_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T30_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T30_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T30_).Sup.Sup.Sup.name = "CancelledError"; T31_ = (NimStringDesc*)0; T31_ = (*T30_).Sup.Sup.Sup.message; (*T30_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_14)); if (T31_) nimGCunrefNoCycle(T31_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T30_, "CancelledError", "connectToNetwork", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA28_: ;
#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_).chronosInternalTmpFuture2);
#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_).chronosInternalTmpFuture2)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2);
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
goto LA2;
STATE2: ;
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
start__2U9aaNrO4oHZr5C8Fs9a3ouA((*(*(*colonenvP_).colonup_).node1).peerPool);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
goto LA2;
STATE3: ; {
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4);
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
goto LA2;
}
STATE4: ;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
{ NI T35_; TSafePoint TM__XlGqNzVCpNYukvIdBdcYSg_32; tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw T49_; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T50_;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
T35_ = (NI)0; T35_ = len__9cJonBcIlIIEombs9a6gNBxg((*(*(*(*colonenvP_).colonup_).node1).peerPool).connectedNodes); if (!(T35_ == ((NI) 0))) goto LA36_;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__XlGqNzVCpNYukvIdBdcYSg_32); TM__XlGqNzVCpNYukvIdBdcYSg_32.status = setjmp(TM__XlGqNzVCpNYukvIdBdcYSg_32.context); if (TM__XlGqNzVCpNYukvIdBdcYSg_32.status == 0) { TSafePoint TM__XlGqNzVCpNYukvIdBdcYSg_33;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__XlGqNzVCpNYukvIdBdcYSg_33); TM__XlGqNzVCpNYukvIdBdcYSg_33.status = setjmp(TM__XlGqNzVCpNYukvIdBdcYSg_33.context); if (TM__XlGqNzVCpNYukvIdBdcYSg_33.status == 0) { { NI T41_; NI T42_;
#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) 1), ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_34));
#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"
T41_ = (NI)0; T41_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record6), ((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_18), T41_);
#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"
T42_ = (NI)0; T42_ = len__9cJonBcIlIIEombs9a6gNBxg((*(*(*(*colonenvP_).colonup_).node1).peerPool).connectedNodes);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record6), ((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_35), T42_);
#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* T45_; Exception* T46_; TM__XlGqNzVCpNYukvIdBdcYSg_33.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T45_ = (Exception*)0; T45_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym843950197_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T45_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T46_ = (Exception*)0; T46_ = &(*colonenvP_).errX60gensym843950197_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Waiting for more peers", T46_);
popCurrentException(); }
}
if (TM__XlGqNzVCpNYukvIdBdcYSg_33.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__XlGqNzVCpNYukvIdBdcYSg_32.status = 0; popCurrentException(); }
}
if (TM__XlGqNzVCpNYukvIdBdcYSg_32.status != 0) reraiseException();
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture8 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
T49_ = milliseconds__VnZgvngfH64K9cbR19bMHEEA_2timer(((NI) 500));
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
T50_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T50_ = sleepAsync__A6EK559a2LWq5qZCF2J9aB8A(T49_); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture8), &T50_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture5).Sup.child), (*colonenvP_).chronosInternalTmpFuture8);
#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_).chronosInternalTmpFuture8; goto BeforeRet_;
}
goto LA33_;
LA36_: ;
{
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 6);
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
goto LA2;
}
LA33_: ;
STATE5: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture5).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T56_; NimStringDesc* T57_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture5).Sup.mustCancel) goto LA54_;
T56_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T56_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T56_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T56_).Sup.Sup.Sup.name = "CancelledError"; T57_ = (NimStringDesc*)0; T57_ = (*T56_).Sup.Sup.Sup.message; (*T56_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__XlGqNzVCpNYukvIdBdcYSg_14)); if (T57_) nimGCunrefNoCycle(T57_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T56_, "CancelledError", "connectToNetwork", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA54_: ;
#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_).chronosInternalTmpFuture8);
#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_).chronosInternalTmpFuture8)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4);
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
goto LA2;
STATE6: ;
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.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"
T58_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T58_ = srcLocImpl__pqcR9c9cyE9blUIqaQ9a563fMw();
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
complete__nHHWNIBkqCfVC3oe9a1ZdIQ((*(*colonenvP_).colonup_).chronosInternalRetFuture5, T58_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 7);
#line 0 "\?\?\?"
goto LA2;
STATE7: ;
#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, connectToNetwork_continue__2atcjRDUkxHRsmII0sMxnQ)(void* udataX60gensym84270232_, void* ClE_0) { tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg* colonenvP_; TSafePoint TM__XlGqNzVCpNYukvIdBdcYSg_38; colonenvP_ = (tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__XlGqNzVCpNYukvIdBdcYSg_38); TM__XlGqNzVCpNYukvIdBdcYSg_38.status = setjmp(TM__XlGqNzVCpNYukvIdBdcYSg_38.context); if (TM__XlGqNzVCpNYukvIdBdcYSg_38.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym84270233_;
#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_).nameIterVarX60gensym842702316_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym84270233_ = (*colonenvP_).nameIterVarX60gensym842702316_.ClP_0((*colonenvP_).nameIterVarX60gensym842702316_.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_ = !((nextX60gensym84270233_ == 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(nextX60gensym84270233_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym84270233_ = (*colonenvP_).nameIterVarX60gensym842702316_.ClP_0((*colonenvP_).nameIterVarX60gensym842702316_.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_).nameIterVarX60gensym842702316_); 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 (!(nextX60gensym84270233_ == 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_).chronosInternalRetFuture5); 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__XlGqNzVCpNYukvIdBdcYSg_41));
}
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 = connectToNetwork_continue__2atcjRDUkxHRsmII0sMxnQ; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym84270233_, 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__XlGqNzVCpNYukvIdBdcYSg_38.status = 0;
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T29_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T29_ = &(*colonenvP_).chronosInternalRetFuture5->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* excX60gensym84270235_; Exception* T32_; TM__XlGqNzVCpNYukvIdBdcYSg_38.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(); excX60gensym84270235_ = ((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_).chronosInternalRetFuture5); if (!T35_) goto LA36_;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)excX60gensym84270235_, "CatchableError", "connectToNetwork_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_ = &excX60gensym84270235_->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_).chronosInternalRetFuture5, T39_, T40_);
}
LA33_: ;
popCurrentException(); }
}
if (TM__XlGqNzVCpNYukvIdBdcYSg_38.status != 0) reraiseException();}
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, connectToNetwork__ufFsijCaeF9cGNgbM9cP6JBg)(tyObject_EthereumNodecolonObjectType___mgPxske6V9a9c4U2B9b7otGNQ* node, tySequence__aY9a09bkqU2BC49bz0loJpzJQ* bootstrapNodes, NIM_BOOL startListening, NIM_BOOL enableDiscovery) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; colonenv_ = (tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg*) newObj((&NTI__msM0MIo8xVU2lt9b9aDQIE0g_), sizeof(tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg)); (*colonenv_).Sup.m_type = (&NTI__1KMqmJbV2Rb1xkAm1KsWjg_);
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
asgnRef((void**) (&(*colonenv_).node1), node);
#line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
genericSeqAssign((&(*colonenv_).bootstrapNodes2), bootstrapNodes, (&NTI__aY9a09bkqU2BC49bz0loJpzJQ_));
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
(*colonenv_).startListening3 = startListening;
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
(*colonenv_).enableDiscovery4 = enableDiscovery;
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.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__9aRIFpFNM24CeM4wVxP2gsg();
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
asgnRef((void**) (&(*colonenv_).chronosInternalRetFuture5), newFutureImpl__wu9buovQIxiU3ndXmKRpnVw(T1_));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A*) newObj((&NTI__IkQNM660649cl6M4ADnBnEQ_), sizeof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A)); (*colonenv__2).Sup.m_type = (&NTI__W9cPzVX6B56dOsvKzoq9cQ2A_);
#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 = connectToNetwork__hbPW9aOnoQ9aPaABiknSf2Bw; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym842702316_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym842702316_.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 = connectToNetwork_continue__2atcjRDUkxHRsmII0sMxnQ; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__XlGqNzVCpNYukvIdBdcYSg_42)(T3_.ClP_0))(NIM_NIL);
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/p2p.nim"
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenv_).chronosInternalRetFuture5; goto BeforeRet_;
}BeforeRet_: ;
return result;}
N_LIB_PRIVATE N_NIMCALL(void, eth_p2pDatInit000)(void) {
#line 999999 "generated_not_to_break_here"
static TNimNode* TM__XlGqNzVCpNYukvIdBdcYSg_9_7[7];
static TNimNode* TM__XlGqNzVCpNYukvIdBdcYSg_10_9[9];
static TNimNode* TM__XlGqNzVCpNYukvIdBdcYSg_12_5[5];
static TNimNode* TM__XlGqNzVCpNYukvIdBdcYSg_13_8[8];
static TNimNode TM__XlGqNzVCpNYukvIdBdcYSg_0[33];NTI__1KMqmJbV2Rb1xkAm1KsWjg_.size = sizeof(tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg);
NTI__1KMqmJbV2Rb1xkAm1KsWjg_.kind = 17;
NTI__1KMqmJbV2Rb1xkAm1KsWjg_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__1KMqmJbV2Rb1xkAm1KsWjg_.name = "object";
NTI__1KMqmJbV2Rb1xkAm1KsWjg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__1KMqmJbV2Rb1xkAm1KsWjg_;
TM__XlGqNzVCpNYukvIdBdcYSg_9_7[0] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[1];
TM__XlGqNzVCpNYukvIdBdcYSg_0[1].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[1].offset = offsetof(tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg, colonstate_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[1].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[1].name = ":state";
TM__XlGqNzVCpNYukvIdBdcYSg_9_7[1] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[2];
TM__XlGqNzVCpNYukvIdBdcYSg_0[2].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[2].offset = offsetof(tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg, node1);
TM__XlGqNzVCpNYukvIdBdcYSg_0[2].typ = (&NTI__yNmrnRmKIzWjXXyJGC6ygw_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[2].name = "node1";
TM__XlGqNzVCpNYukvIdBdcYSg_9_7[2] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[3];
NTI__aY9a09bkqU2BC49bz0loJpzJQ_.size = sizeof(tySequence__aY9a09bkqU2BC49bz0loJpzJQ*);
NTI__aY9a09bkqU2BC49bz0loJpzJQ_.kind = 24;
NTI__aY9a09bkqU2BC49bz0loJpzJQ_.base = (&NTI__bNRDNKJGQnqT2sH89bsDhBw_);
NTI__aY9a09bkqU2BC49bz0loJpzJQ_.flags = 2;
NTI__aY9a09bkqU2BC49bz0loJpzJQ_.name = "seq[ENode]";
NTI__aY9a09bkqU2BC49bz0loJpzJQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__aY9a09bkqU2BC49bz0loJpzJQ_;
NTI__aY9a09bkqU2BC49bz0loJpzJQ_.marker = Marker_tySequence__aY9a09bkqU2BC49bz0loJpzJQ;
TM__XlGqNzVCpNYukvIdBdcYSg_0[3].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[3].offset = offsetof(tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg, bootstrapNodes2);
TM__XlGqNzVCpNYukvIdBdcYSg_0[3].typ = (&NTI__aY9a09bkqU2BC49bz0loJpzJQ_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[3].name = "bootstrapNodes2";
TM__XlGqNzVCpNYukvIdBdcYSg_9_7[3] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[4];
TM__XlGqNzVCpNYukvIdBdcYSg_0[4].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[4].offset = offsetof(tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg, startListening3);
TM__XlGqNzVCpNYukvIdBdcYSg_0[4].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[4].name = "startListening3";
TM__XlGqNzVCpNYukvIdBdcYSg_9_7[4] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[5];
TM__XlGqNzVCpNYukvIdBdcYSg_0[5].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[5].offset = offsetof(tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg, enableDiscovery4);
TM__XlGqNzVCpNYukvIdBdcYSg_0[5].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[5].name = "enableDiscovery4";
TM__XlGqNzVCpNYukvIdBdcYSg_9_7[5] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[6];
TM__XlGqNzVCpNYukvIdBdcYSg_0[6].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[6].offset = offsetof(tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg, chronosInternalRetFuture5);
TM__XlGqNzVCpNYukvIdBdcYSg_0[6].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[6].name = "chronosInternalRetFuture5";
TM__XlGqNzVCpNYukvIdBdcYSg_9_7[6] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[7];
TM__XlGqNzVCpNYukvIdBdcYSg_0[7].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[7].offset = offsetof(tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg, nameIterVarX60gensym842702316_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[7].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[7].name = "nameIterVar`gensym842702316";
TM__XlGqNzVCpNYukvIdBdcYSg_0[0].len = 7; TM__XlGqNzVCpNYukvIdBdcYSg_0[0].kind = 2; TM__XlGqNzVCpNYukvIdBdcYSg_0[0].sons = &TM__XlGqNzVCpNYukvIdBdcYSg_9_7[0];
NTI__1KMqmJbV2Rb1xkAm1KsWjg_.node = &TM__XlGqNzVCpNYukvIdBdcYSg_0[0];
NTI__msM0MIo8xVU2lt9b9aDQIE0g_.size = sizeof(tyObject_Env_p2pdotnim___1KMqmJbV2Rb1xkAm1KsWjg*);
NTI__msM0MIo8xVU2lt9b9aDQIE0g_.kind = 22;
NTI__msM0MIo8xVU2lt9b9aDQIE0g_.base = (&NTI__1KMqmJbV2Rb1xkAm1KsWjg_);
NTI__msM0MIo8xVU2lt9b9aDQIE0g_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-eth/eth/p2p.nim(99, 11)";
NTI__msM0MIo8xVU2lt9b9aDQIE0g_.nextType = nimTypeRoot; nimTypeRoot=&NTI__msM0MIo8xVU2lt9b9aDQIE0g_;
NTI__msM0MIo8xVU2lt9b9aDQIE0g_.marker = Marker_tyRef__msM0MIo8xVU2lt9b9aDQIE0g;
NTI__W9cPzVX6B56dOsvKzoq9cQ2A_.size = sizeof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A);
NTI__W9cPzVX6B56dOsvKzoq9cQ2A_.kind = 17;
NTI__W9cPzVX6B56dOsvKzoq9cQ2A_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__W9cPzVX6B56dOsvKzoq9cQ2A_.name = "object";
NTI__W9cPzVX6B56dOsvKzoq9cQ2A_.nextType = nimTypeRoot; nimTypeRoot=&NTI__W9cPzVX6B56dOsvKzoq9cQ2A_;
TM__XlGqNzVCpNYukvIdBdcYSg_10_9[0] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[9];
TM__XlGqNzVCpNYukvIdBdcYSg_0[9].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[9].offset = offsetof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A, colonstate_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[9].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[9].name = ":state";
TM__XlGqNzVCpNYukvIdBdcYSg_10_9[1] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[10];
TM__XlGqNzVCpNYukvIdBdcYSg_0[10].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[10].offset = offsetof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A, colonup_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[10].typ = (&NTI__msM0MIo8xVU2lt9b9aDQIE0g_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[10].name = ":up";
TM__XlGqNzVCpNYukvIdBdcYSg_10_9[2] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[11];
TM__XlGqNzVCpNYukvIdBdcYSg_0[11].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[11].offset = offsetof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A, chronosInternalTmpFuture2);
TM__XlGqNzVCpNYukvIdBdcYSg_0[11].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[11].name = "chronosInternalTmpFuture2";
TM__XlGqNzVCpNYukvIdBdcYSg_10_9[3] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[12];
TM__XlGqNzVCpNYukvIdBdcYSg_0[12].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[12].offset = offsetof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A, result3);
TM__XlGqNzVCpNYukvIdBdcYSg_0[12].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[12].name = "result3";
TM__XlGqNzVCpNYukvIdBdcYSg_10_9[4] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[13];
TM__XlGqNzVCpNYukvIdBdcYSg_0[13].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[13].offset = offsetof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A, record4);
TM__XlGqNzVCpNYukvIdBdcYSg_0[13].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[13].name = "record4";
TM__XlGqNzVCpNYukvIdBdcYSg_10_9[5] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[14];
TM__XlGqNzVCpNYukvIdBdcYSg_0[14].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[14].offset = offsetof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A, errX60gensym843400195_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[14].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[14].name = "err`gensym843400195";
TM__XlGqNzVCpNYukvIdBdcYSg_10_9[6] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[15];
TM__XlGqNzVCpNYukvIdBdcYSg_0[15].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[15].offset = offsetof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A, record6);
TM__XlGqNzVCpNYukvIdBdcYSg_0[15].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[15].name = "record6";
TM__XlGqNzVCpNYukvIdBdcYSg_10_9[7] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[16];
TM__XlGqNzVCpNYukvIdBdcYSg_0[16].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[16].offset = offsetof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A, errX60gensym843950197_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[16].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[16].name = "err`gensym843950197";
TM__XlGqNzVCpNYukvIdBdcYSg_10_9[8] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[17];
TM__XlGqNzVCpNYukvIdBdcYSg_0[17].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[17].offset = offsetof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A, chronosInternalTmpFuture8);
TM__XlGqNzVCpNYukvIdBdcYSg_0[17].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[17].name = "chronosInternalTmpFuture8";
TM__XlGqNzVCpNYukvIdBdcYSg_0[8].len = 9; TM__XlGqNzVCpNYukvIdBdcYSg_0[8].kind = 2; TM__XlGqNzVCpNYukvIdBdcYSg_0[8].sons = &TM__XlGqNzVCpNYukvIdBdcYSg_10_9[0];
NTI__W9cPzVX6B56dOsvKzoq9cQ2A_.node = &TM__XlGqNzVCpNYukvIdBdcYSg_0[8];
NTI__IkQNM660649cl6M4ADnBnEQ_.size = sizeof(tyObject_Env_asyncmacro2dotnim___W9cPzVX6B56dOsvKzoq9cQ2A*);
NTI__IkQNM660649cl6M4ADnBnEQ_.kind = 22;
NTI__IkQNM660649cl6M4ADnBnEQ_.base = (&NTI__W9cPzVX6B56dOsvKzoq9cQ2A_);
NTI__IkQNM660649cl6M4ADnBnEQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__IkQNM660649cl6M4ADnBnEQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__IkQNM660649cl6M4ADnBnEQ_;
NTI__IkQNM660649cl6M4ADnBnEQ_.marker = Marker_tyRef__IkQNM660649cl6M4ADnBnEQ;
NTI__qzQPiLDRKHpqCw19aFpgOMA_.size = sizeof(tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA);
NTI__qzQPiLDRKHpqCw19aFpgOMA_.kind = 17;
NTI__qzQPiLDRKHpqCw19aFpgOMA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__qzQPiLDRKHpqCw19aFpgOMA_.name = "object";
NTI__qzQPiLDRKHpqCw19aFpgOMA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__qzQPiLDRKHpqCw19aFpgOMA_;
TM__XlGqNzVCpNYukvIdBdcYSg_12_5[0] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[19];
TM__XlGqNzVCpNYukvIdBdcYSg_0[19].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[19].offset = offsetof(tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA, colonstate_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[19].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[19].name = ":state";
TM__XlGqNzVCpNYukvIdBdcYSg_12_5[1] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[20];
TM__XlGqNzVCpNYukvIdBdcYSg_0[20].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[20].offset = offsetof(tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA, server1);
TM__XlGqNzVCpNYukvIdBdcYSg_0[20].typ = (&NTI__C3SvHSJRhfFWtTT5YCZD6w_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[20].name = "server1";
TM__XlGqNzVCpNYukvIdBdcYSg_12_5[2] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[21];
TM__XlGqNzVCpNYukvIdBdcYSg_0[21].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[21].offset = offsetof(tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA, remote2);
TM__XlGqNzVCpNYukvIdBdcYSg_0[21].typ = (&NTI__tUPwZUYpLXnLs6sI0VIpBw_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[21].name = "remote2";
TM__XlGqNzVCpNYukvIdBdcYSg_12_5[3] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[22];
TM__XlGqNzVCpNYukvIdBdcYSg_0[22].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[22].offset = offsetof(tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA, chronosInternalRetFuture3);
TM__XlGqNzVCpNYukvIdBdcYSg_0[22].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[22].name = "chronosInternalRetFuture3";
TM__XlGqNzVCpNYukvIdBdcYSg_12_5[4] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[23];
TM__XlGqNzVCpNYukvIdBdcYSg_0[23].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[23].offset = offsetof(tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA, nameIterVarX60gensym840200564_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[23].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[23].name = "nameIterVar`gensym840200564";
TM__XlGqNzVCpNYukvIdBdcYSg_0[18].len = 5; TM__XlGqNzVCpNYukvIdBdcYSg_0[18].kind = 2; TM__XlGqNzVCpNYukvIdBdcYSg_0[18].sons = &TM__XlGqNzVCpNYukvIdBdcYSg_12_5[0];
NTI__qzQPiLDRKHpqCw19aFpgOMA_.node = &TM__XlGqNzVCpNYukvIdBdcYSg_0[18];
NTI__NmYHcuaQ5JoS8fiVmLdNbA_.size = sizeof(tyObject_Env_p2pdotnim___qzQPiLDRKHpqCw19aFpgOMA*);
NTI__NmYHcuaQ5JoS8fiVmLdNbA_.kind = 22;
NTI__NmYHcuaQ5JoS8fiVmLdNbA_.base = (&NTI__qzQPiLDRKHpqCw19aFpgOMA_);
NTI__NmYHcuaQ5JoS8fiVmLdNbA_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-eth/eth/p2p.nim(74, 40)";
NTI__NmYHcuaQ5JoS8fiVmLdNbA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__NmYHcuaQ5JoS8fiVmLdNbA_;
NTI__NmYHcuaQ5JoS8fiVmLdNbA_.marker = Marker_tyRef__NmYHcuaQ5JoS8fiVmLdNbA;
NTI__O19beoGxaI9cllTyvT9agU5dA_.size = sizeof(tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA);
NTI__O19beoGxaI9cllTyvT9agU5dA_.kind = 17;
NTI__O19beoGxaI9cllTyvT9agU5dA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__O19beoGxaI9cllTyvT9agU5dA_.name = "object";
NTI__O19beoGxaI9cllTyvT9agU5dA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__O19beoGxaI9cllTyvT9agU5dA_;
TM__XlGqNzVCpNYukvIdBdcYSg_13_8[0] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[25];
TM__XlGqNzVCpNYukvIdBdcYSg_0[25].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[25].offset = offsetof(tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA, colonstate_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[25].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[25].name = ":state";
TM__XlGqNzVCpNYukvIdBdcYSg_13_8[1] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[26];
TM__XlGqNzVCpNYukvIdBdcYSg_0[26].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[26].offset = offsetof(tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA, node1);
TM__XlGqNzVCpNYukvIdBdcYSg_0[26].typ = (&NTI__yNmrnRmKIzWjXXyJGC6ygw_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[26].name = "node1";
TM__XlGqNzVCpNYukvIdBdcYSg_13_8[2] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[27];
TM__XlGqNzVCpNYukvIdBdcYSg_0[27].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[27].offset = offsetof(tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA, colonup_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[27].typ = (&NTI__NmYHcuaQ5JoS8fiVmLdNbA_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[27].name = ":up";
TM__XlGqNzVCpNYukvIdBdcYSg_13_8[3] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[28];
TM__XlGqNzVCpNYukvIdBdcYSg_0[28].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[28].offset = offsetof(tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA, chronosInternalTmpFuture3);
TM__XlGqNzVCpNYukvIdBdcYSg_0[28].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[28].name = "chronosInternalTmpFuture3";
TM__XlGqNzVCpNYukvIdBdcYSg_13_8[4] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[29];
TM__XlGqNzVCpNYukvIdBdcYSg_0[29].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[29].offset = offsetof(tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA, result4);
TM__XlGqNzVCpNYukvIdBdcYSg_0[29].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[29].name = "result4";
TM__XlGqNzVCpNYukvIdBdcYSg_13_8[5] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[30];
TM__XlGqNzVCpNYukvIdBdcYSg_0[30].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[30].offset = offsetof(tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA, peer5);
TM__XlGqNzVCpNYukvIdBdcYSg_0[30].typ = (&NTI__ilId79baDi1OHxxGAxmTreg_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[30].name = "peer5";
TM__XlGqNzVCpNYukvIdBdcYSg_13_8[6] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[31];
TM__XlGqNzVCpNYukvIdBdcYSg_0[31].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[31].offset = offsetof(tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA, record6);
TM__XlGqNzVCpNYukvIdBdcYSg_0[31].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[31].name = "record6";
TM__XlGqNzVCpNYukvIdBdcYSg_13_8[7] = &TM__XlGqNzVCpNYukvIdBdcYSg_0[32];
TM__XlGqNzVCpNYukvIdBdcYSg_0[32].kind = 1;
TM__XlGqNzVCpNYukvIdBdcYSg_0[32].offset = offsetof(tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA, errX60gensym840750197_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[32].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__XlGqNzVCpNYukvIdBdcYSg_0[32].name = "err`gensym840750197";
TM__XlGqNzVCpNYukvIdBdcYSg_0[24].len = 8; TM__XlGqNzVCpNYukvIdBdcYSg_0[24].kind = 2; TM__XlGqNzVCpNYukvIdBdcYSg_0[24].sons = &TM__XlGqNzVCpNYukvIdBdcYSg_13_8[0];
NTI__O19beoGxaI9cllTyvT9agU5dA_.node = &TM__XlGqNzVCpNYukvIdBdcYSg_0[24];
NTI__oOZzTp8JMfoliB9cIbMXuTQ_.size = sizeof(tyObject_Env_asyncmacro2dotnim___O19beoGxaI9cllTyvT9agU5dA*);
NTI__oOZzTp8JMfoliB9cIbMXuTQ_.kind = 22;
NTI__oOZzTp8JMfoliB9cIbMXuTQ_.base = (&NTI__O19beoGxaI9cllTyvT9agU5dA_);
NTI__oOZzTp8JMfoliB9cIbMXuTQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__oOZzTp8JMfoliB9cIbMXuTQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__oOZzTp8JMfoliB9cIbMXuTQ_;
NTI__oOZzTp8JMfoliB9cIbMXuTQ_.marker = Marker_tyRef__oOZzTp8JMfoliB9cIbMXuTQ;
}