nwaku/nimcache/release/wakubridge/@m..@s..@svendor@snim-libp2p@slibp2p@sprotocols@ssecure@snoise.nim.c

8652 lines
638 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/waku/common -o nimcache/release/wakubridge/@m..@s..@svendor@snim-libp2p@slibp2p@sprotocols@ssecure@snoise.nim.c.o nimcache/release/wakubridge/@m..@s..@svendor@snim-libp2p@slibp2p@sprotocols@ssecure@snoise.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <sys/types.h>
#include <pthread.h>
#include <string.h>
#include <setjmp.h>
#include "bearssl_rand.h"
#include "bearssl_hash.h"
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
#define nimfr_(x, y)
#define nimln_(x, y)
typedef struct tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw;
typedef struct tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA;
typedef struct tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA;
typedef struct RootObj RootObj;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw;
typedef struct tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA;
typedef struct tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg;
typedef struct tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA;
typedef struct tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_Oid__v0fX7UzOqz7toHgI0d87SA tyObject_Oid__v0fX7UzOqz7toHgI0d87SA;
typedef struct tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw;
typedef struct tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA;
typedef struct tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw;
typedef struct tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw;
typedef struct tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA;
typedef struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
typedef struct tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA;
typedef struct tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw;
typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
typedef struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw;
typedef struct tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg;
typedef struct tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg;
typedef struct tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw;
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 tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
typedef struct tySequence__qkV9cggxceO9cpfUWIbCnvJg tySequence__qkV9cggxceO9cpfUWIbCnvJg;
typedef struct Exception Exception;
typedef struct tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ;
typedef struct tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg;
typedef struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA;
typedef struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
typedef struct TSafePoint TSafePoint;
typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
typedef struct tyObject_NoiseDecryptTagError__DQLLr9cK5Sax4KGSaRMEh5Q tyObject_NoiseDecryptTagError__DQLLr9cK5Sax4KGSaRMEh5Q;
typedef struct tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w;
typedef struct tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw;
typedef struct tySequence__pJDjdGjSf3HlAOELaHOmSA tySequence__pJDjdGjSf3HlAOELaHOmSA;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ;
typedef struct tyObject_RsaPrivateKeycolonObjectType___xFWT9bk7KDVd9cMFfRtPM9c9bw tyObject_RsaPrivateKeycolonObjectType___xFWT9bk7KDVd9cMFfRtPM9c9bw;
typedef struct tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA;
typedef struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w;
typedef struct tyObject_EcPrivateKeycolonObjectType___OJbV39curmS5TCBXopR7itA tyObject_EcPrivateKeycolonObjectType___OJbV39curmS5TCBXopR7itA;
typedef struct tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg;
typedef struct tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA;
typedef struct tyObject_RsaPublicKeycolonObjectType___cEZIZ6MRRYNM7g7RvdoBpg tyObject_RsaPublicKeycolonObjectType___cEZIZ6MRRYNM7g7RvdoBpg;
typedef struct tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA;
typedef struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA;
typedef struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ;
typedef struct tyObject_EcPublicKeycolonObjectType___2rc9bUkP8wBzp3UeWWgE9b5Q tyObject_EcPublicKeycolonObjectType___2rc9bUkP8wBzp3UeWWgE9b5Q;
typedef struct tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA;
typedef struct tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA;
typedef struct tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q;
typedef struct tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg;
typedef struct tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg;
typedef struct tyObject_SecurecolonObjectType___rfxdGx6GJLVE9aqiYjwpDKQ tyObject_SecurecolonObjectType___rfxdGx6GJLVE9aqiYjwpDKQ;
typedef struct tyObject_LPProtocolcolonObjectType___5aL02d9bjOYDZmYD0dWxn2w tyObject_LPProtocolcolonObjectType___5aL02d9bjOYDZmYD0dWxn2w;
typedef struct tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ;
typedef struct tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ;
typedef struct tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg;
typedef struct tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q;
typedef struct tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA;
typedef struct tyObject_Result__VR7l4DJaL9cSFn6dTxK0gOQ tyObject_Result__VR7l4DJaL9cSFn6dTxK0gOQ;
typedef struct tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ;
typedef struct tyObject_Result__ZGY78kIl5s9a88zIUpvwquA tyObject_Result__ZGY78kIl5s9a88zIUpvwquA;
typedef struct tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g;
typedef struct tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q;
typedef struct tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA;
typedef struct tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ;
typedef struct tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA;
typedef struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw tyObject_MDigest__law9ct65KplMYBvtmjCQxbw;
typedef struct tyObject_Sha2Context__5brAquljQjPUyNuIC4vV1w tyObject_Sha2Context__5brAquljQjPUyNuIC4vV1w;
typedef struct tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ;
typedef struct tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw;
typedef struct tyTuple__Wuf3jB5MdvsLSYuk9cZVtfg tyTuple__Wuf3jB5MdvsLSYuk9cZVtfg;
typedef struct tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg;
typedef struct tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ;
typedef struct tyTuple__NevGmcPz5FN13v9cZPsfRXw tyTuple__NevGmcPz5FN13v9cZPsfRXw;
typedef struct tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A;
typedef struct tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg;
typedef struct tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ;
typedef struct tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q;
typedef struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw;
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
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;};
typedef struct {
N_NIMCALL_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, ClP_0) (void* ClE_0);
void* ClE_0;
} tyProc__Y7TIAk6Os9cRMtmIj9bEqCww;
struct tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA { RootObj Sup;NI colonstate_;
tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* sconn1;
tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* chronosInternalRetFuture2;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym1490500463_;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct TGenericSeq {NI len;
NI reserved;
};
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
};
struct tyObject_Oid__v0fX7UzOqz7toHgI0d87SA {NI32 time;
NI32 fuzz;
NI32 count;
};
typedef NU8 tyEnum_Direction__9bkTPbaNDHTJEk9bOBOlnl9aQ;
struct tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA { RootObj Sup;tyObject_AsyncEventcolonObjectType___h6Ul8aB21JtS9b9a8IUpMChw* closeEvent;
NIM_BOOL isClosed;
NIM_BOOL isEof;
NimStringDesc* objName;
tyObject_Oid__v0fX7UzOqz7toHgI0d87SA oid;
tyEnum_Direction__9bkTPbaNDHTJEk9bOBOlnl9aQ dir;
NIM_BOOL closedWithEOF;
};
struct tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw {NI64 value;
};
typedef struct {
N_NIMCALL_PTR(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, ClP_0) (void* ClE_0);
void* ClE_0;
} tyProc__ez1e9bsRJ8r5L9cicKflzx3Q;
struct tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* buffer;
NI offset;
};
struct tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw {tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA data;
};
struct tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg { tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA Sup;NIM_BOOL activity;
tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw timeout;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* timerTaskFut;
tyProc__ez1e9bsRJ8r5L9cicKflzx3Q timeoutHandler;
tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw* peerInfo;
tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw observedAddr;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* upgraded;
};
struct tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* buf;
NI rpos;
NI wpos;
};
struct tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA { tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg Sup;tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* stream;
tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA buf;
};
typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32];
struct tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg k;
NU64 n;
};
struct tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA { tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA Sup;tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw readCs;
tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw writeCs;
};
struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {NI refcount;
TNimType* typ;
};
struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {void* bottom;
};
struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {NI len;
NI cap;
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {tyArray__0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {NI len;
tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {NI minLargeObj;
NI maxLargeObj;
tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
NI allocCounter;
NI deallocCounter;
};
struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {NI counter;
NI max;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
};
typedef long tyArray__xDUyu9aScDpt0JZLU6q9aEZQ[5];
struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw {tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* head;
tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* tail;
pthread_mutex_t lock;
};
struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
NI zctThreshold;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw toDispose;
NI gcThreadId;
};
struct tyObject_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___TisZwGk09c029berxTuLcCJw { RootObj Sup;NI colonstate_;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result1;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture2;
tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA* colonup_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result4;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* frame5;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* res6;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record7;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym1491250198_;
};
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___eboBq7BtfTd9c5QprGbgmvw { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* value;
};
struct tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ { RootObj Sup;NI colonstate_;
tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* sconn1;
tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* chronosInternalRetFuture2;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym1475255353_;
};
typedef NU8 tyArray__bN9bddWn8oiNSHn2MqEJSZQ[2];
struct tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg { RootObj Sup;NI colonstate_;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result1;
tyArray__bN9bddWn8oiNSHn2MqEJSZQ besize2;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture3;
tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ* colonup_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result5;
NI size6;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record7;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym1475800198_;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* buffer9;
};
struct tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;};
struct Exception { RootObj Sup;Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;};
struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA { tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q Sup;};
typedef NU8 tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw;
typedef long tyArray__TcvIiMAJvcwzNLsZkfnFnQ[25];
struct TSafePoint {TSafePoint* prev;
NI status;
jmp_buf context;
};
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_19) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_20) (void);
typedef N_CLOSURE_PTR(void, TM__UYWm9bIxk9c4GHvcjnzpvpYw_22) (void* udataX60gensym147525536_);
typedef NU8 tyArray__qtqsWM5aXmcpMIVmvq3kAA[16];
typedef NU8 tyArray__YHmXll5a9bp5TA5MVvQwRow[12];
struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {NI a;
NI b;
};
typedef NU8 tyArray__cdsir9aPB24hAk6k77P9b9bCA[8];
struct tyObject_NoiseDecryptTagError__DQLLr9cK5Sax4KGSaRMEh5Q { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
struct tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
typedef NU8 tyArray__ekVvh9bp9cVe7STNUL8R406w[1];
struct tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data;
};
typedef NU8 tyEnum_KeyType__RX9cgRnEh9bnsWx9cuPhqOgtw;
typedef NU8 tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg;
typedef NU8 tyArray__w5VB8h5K8DB3oWrO5U2wqg[64];
struct tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA {tyArray__w5VB8h5K8DB3oWrO5U2wqg data;
};
struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
};
struct tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ {tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg scheme;
union{
struct {tyObject_RsaPrivateKeycolonObjectType___xFWT9bk7KDVd9cMFfRtPM9c9bw* rsakey;
} _scheme_1;
struct {tyObject_EdPrivateKey__KumOofCUWyjlYLnvXlcIJA edkey;
} _scheme_2;
struct {tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w skkey;
} _scheme_3;
struct {tyObject_EcPrivateKeycolonObjectType___OJbV39curmS5TCBXopR7itA* eckey;
} _scheme_4;
};
};
struct tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
};
struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ {tyArray__w5VB8h5K8DB3oWrO5U2wqg data;
};
struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA {tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ data;
};
struct tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA {tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg scheme;
union{
struct {tyObject_RsaPublicKeycolonObjectType___cEZIZ6MRRYNM7g7RvdoBpg* rsakey;
} _scheme_1;
struct {tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA edkey;
} _scheme_2;
struct {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA skkey;
} _scheme_3;
struct {tyObject_EcPublicKeycolonObjectType___2rc9bUkP8wBzp3UeWWgE9b5Q* eckey;
} _scheme_4;
};
};
struct tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg {tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA val;
NIM_BOOL has;
};
struct tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw { RootObj Sup;tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw peerId;
tySequence__pJDjdGjSf3HlAOELaHOmSA* addrs;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* protocols;
NimStringDesc* protoVersion;
NimStringDesc* agentVersion;
NimStringDesc* secure;
tyEnum_KeyType__RX9cgRnEh9bnsWx9cuPhqOgtw keyType;
union{
struct {tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ privateKey;
} _keyType_1;
struct {tyObject_Option__Em5DpQtK80JNdy8nyXe6Kg key;
} _keyType_2;
};
};
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_44) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_45) (void);
typedef N_CLOSURE_PTR(void, TM__UYWm9bIxk9c4GHvcjnzpvpYw_47) (void* udataX60gensym149050047_);
struct tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA { RootObj Sup;NI colonstate_;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* message1;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* chronosInternalRetFuture2;
tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* sconn3;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym1492252544_;
};
struct tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA { RootObj Sup;NI colonstate_;
tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA* colonup_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result2;
NI frames3;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* cipherFrames4;
NI left5;
NI offset6;
NI woffset7;
NI chunkSize8;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture9;
};
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_78) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_79) (void);
typedef N_CLOSURE_PTR(void, TM__UYWm9bIxk9c4GHvcjnzpvpYw_81) (void* udataX60gensym149225255_);
struct tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg { RootObj Sup;NI colonstate_;
tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn1;
NIM_BOOL initiator2;
tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* p3;
tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q* chronosInternalRetFuture4;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym1492951485_;
};
typedef struct {
N_NIMCALL_PTR(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, ClP_0) (tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn, NimStringDesc* proto, void* ClE_0);
void* ClE_0;
} tyProc__Sx7TcXJiI2BS08wYpfOyIg;
struct tyObject_LPProtocolcolonObjectType___5aL02d9bjOYDZmYD0dWxn2w { RootObj Sup;tySequence__sM4lkSb7zS6F7OVMvW9cffQ* codecs;
tyProc__Sx7TcXJiI2BS08wYpfOyIg handler;
};
struct tyObject_SecurecolonObjectType___rfxdGx6GJLVE9aqiYjwpDKQ { tyObject_LPProtocolcolonObjectType___5aL02d9bjOYDZmYD0dWxn2w Sup;};
struct tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg privateKey;
tyArray__vEOa9c5qaE9ajWxR5R4zwfQg publicKey;
};
struct tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg { tyObject_SecurecolonObjectType___rfxdGx6GJLVE9aqiYjwpDKQ Sup;br_hmac_drbg_context* rng;
tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ localPrivateKey;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* localPublicKey;
tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ noiseKeys;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* commonPrologue;
NIM_BOOL outgoing;
};
struct tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg {tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw cs1;
tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw cs2;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* remoteP2psecret;
tyArray__vEOa9c5qaE9ajWxR5R4zwfQg rs;
};
struct tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data;
};
typedef NU8 tySet_tyEnum_ProtoFlags__34NlqR9bQ2hXegI29bJO9bfbA;
struct tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA {tySet_tyEnum_ProtoFlags__34NlqR9bQ2hXegI29bJO9bfbA options;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* buffer;
NI offset;
NI length;
};
typedef NU8 tyEnum_ProtoError__mWP6pHyhcb4SJ8Wo5U9bwfg;
struct tyObject_Result__VR7l4DJaL9cSFn6dTxK0gOQ {NIM_BOOL o;
union{
struct {tyEnum_ProtoError__mWP6pHyhcb4SJ8Wo5U9bwfg e;
} _o_1;
struct {NIM_BOOL v;
} _o_2;
};
};
struct tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ {NIM_BOOL o;
union{
struct {NCSTRING e;
} _o_1;
struct {tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw v;
} _o_2;
};
};
struct tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ { RootObj Sup;NI colonstate_;
tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg colontmpSlLower01_;
tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA* result2;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record3;
tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg* colonup_;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym1493400195_;
tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw timeout6;
tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q signedPayload7;
tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA libp2pProof8;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture9;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result10;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture11;
tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg handshakeRes12;
tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* secure13;
tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA remoteProof14;
tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA remotePubKey15;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* remotePubKeyBytes16;
tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q remoteSig17;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* remoteSigBytes18;
tyObject_Result__VR7l4DJaL9cSFn6dTxK0gOQ r119;
tyObject_Result__VR7l4DJaL9cSFn6dTxK0gOQ r220;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* verifyPayload21;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record22;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14947001923_;
tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ pid24;
tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA failedKey25;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record26;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14955501927_;
tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* tmp28;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record29;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14967001930_;
};
typedef NU8 tyEnum_CryptoError__Z6S5YnPavFcXanJgC9cU1uw;
struct tyObject_Result__ZGY78kIl5s9a88zIUpvwquA {NIM_BOOL o;
union{
struct {tyEnum_CryptoError__Z6S5YnPavFcXanJgC9cU1uw e;
} _o_1;
struct {tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q v;
} _o_2;
};
};
struct tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg value;
};
struct tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q { RootObj Sup;NI colonstate_;
tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* p1;
tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn2;
tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* chronosInternalRetFuture3;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* p2pSecret4;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym1478500715_;
};
struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
};
struct tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA {tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw cs;
tyArray__vEOa9c5qaE9ajWxR5R4zwfQg ck;
tyObject_MDigest__law9ct65KplMYBvtmjCQxbw h;
};
struct tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ {tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA ss;
tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ s;
tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ e;
tyArray__vEOa9c5qaE9ajWxR5R4zwfQg rs;
tyArray__vEOa9c5qaE9ajWxR5R4zwfQg re;
};
struct tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA { RootObj Sup;NI colonstate_;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* colontmpSlLower01_;
Exception* coloncurExc2_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* colontmpResult3_;
NIM_BOOL colonunrollFinally4_;
tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg result5;
tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ hs6;
tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q* colonup_;
tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA msg8;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record9;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14790501910_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture11;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result12;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record13;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14799001914_;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record15;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14808001916_;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record17;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14814001918_;
NI rsLenX60gensym14810520219_;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record20;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14824001921_;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* remoteP2psecret22;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record23;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14830501924_;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record25;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14836501926_;
tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw cs127;
tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw cs228;
};
typedef NU32 tyArray__JlnxiR65D9cjJpwi6uBZRtA[2];
typedef NU32 tyArray__MpWsq9bBH14GsDQQ59cgyxAQ[8];
struct tyObject_Sha2Context__5brAquljQjPUyNuIC4vV1w {tyArray__JlnxiR65D9cjJpwi6uBZRtA count;
tyArray__MpWsq9bBH14GsDQQ59cgyxAQ state;
tyArray__w5VB8h5K8DB3oWrO5U2wqg buffer;
};
struct tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
struct tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw {NI a;
NI b;
};
typedef tyArray__vEOa9c5qaE9ajWxR5R4zwfQg tyArray__iTh1U8kJ9c9an8d9b9aCWx0fPA[2];
struct tyTuple__Wuf3jB5MdvsLSYuk9cZVtfg {
tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw Field0;
tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw Field1;
};
typedef NI16 tyArray__Asxg2ur6LWYA9aNqt69cLwQA[13];
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_162) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_163) (void);
typedef N_CLOSURE_PTR(void, TM__UYWm9bIxk9c4GHvcjnzpvpYw_165) (void* udataX60gensym147850072_);
struct tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA* value;
};
struct tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg { RootObj Sup;NI colonstate_;
tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* p1;
tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn2;
tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* chronosInternalRetFuture3;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* p2pSecret4;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym1484552435_;
};
struct tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ { RootObj Sup;NI colonstate_;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* colontmpSlLower01_;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* colontmpSlLower12_;
Exception* coloncurExc3_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* colontmpResult4_;
NIM_BOOL colonunrollFinally5_;
tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg result6;
tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ hs7;
tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg* colonup_;
tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA msg9;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture10;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result11;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record12;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14851501913_;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* earlyData14;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record15;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14861501916_;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record17;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14867501918_;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record19;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14873501920_;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record21;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14879501922_;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record23;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14888001924_;
NI rsLenX60gensym14884501825_;
tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA record26;
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym14898001927_;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* remoteP2psecret28;
tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw cs129;
tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw cs230;
};
typedef NI16 tyArray__XYvKFwqxIc2whnKLisCnXw[14];
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_201) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_202) (void);
typedef N_CLOSURE_PTR(void, TM__UYWm9bIxk9c4GHvcjnzpvpYw_204) (void* udataX60gensym148455244_);
typedef tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw tyArray__dy9bXFnEOSMt49aV7Vz01bkw[1];
typedef NimStringDesc* tyArray__8ZvwQIddfpj2THRVPsFzIQ[1];
struct tyTuple__NevGmcPz5FN13v9cZPsfRXw {
NimStringDesc* Field0;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* Field1;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* Field2;
NimStringDesc* Field3;
NimStringDesc* Field4;
};
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_232) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_233) (void);
typedef N_CLOSURE_PTR(void, TM__UYWm9bIxk9c4GHvcjnzpvpYw_235) (void* udataX60gensym149295149_);
struct tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A { RootObj Sup;NI colonstate_;
tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* s1;
tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* chronosInternalRetFuture2;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym1497563983_;
};
struct tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg { RootObj Sup;NI colonstate_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture1;
tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A* colonup_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result3;
};
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_239) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__UYWm9bIxk9c4GHvcjnzpvpYw_240) (void);
typedef N_CLOSURE_PTR(void, TM__UYWm9bIxk9c4GHvcjnzpvpYw_242) (void* udataX60gensym149756399_);
struct tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ {NIM_BOOL o;
union{
struct {tyEnum_CryptoError__Z6S5YnPavFcXanJgC9cU1uw e;
} _o_1;
struct {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* v;
} _o_2;
};
};
struct tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q {NIM_BOOL o;
union{
struct {tyEnum_CryptoError__Z6S5YnPavFcXanJgC9cU1uw e;
} _o_1;
struct {tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA v;
} _o_2;
};
};
struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw {tyProc__9bqx36VxQxXejdrF09bFARDQ function;
void* udata;
};
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
NI line;
NCSTRING filename;
};
typedef unsigned char tyArray__A1SHJCPZVISPTujoygIPEQ[64];
typedef N_CDECL_PTR(void, tyProc__3qI9bVHqiq07sTQRU9bkkkYQ) (br_prng_class** ctx, void* params, void* seed, NI seedLen);
typedef N_CDECL_PTR(void, tyProc__hquUwNr88w4T5ldt8BqLLQ) (br_prng_class** ctx, void* out_0, NI len_0);
typedef N_CDECL_PTR(void, tyProc__bF2JFxTs1q6Lq365NU79a2Q) (br_hash_class** ctx);
typedef N_CDECL_PTR(void, tyProc__Dc9br5a6SHw9cxie3cas0KTA) (br_hash_class** ctx, void* data_0, NI len_0);
typedef N_CDECL_PTR(void, tyProc__JETfgzvEnx6Tz9bYRct9a51g) (br_hash_class** ctx, void* dst);
typedef N_CDECL_PTR(NU64, tyProc__e9bd9aJH2sCZh75q9aAcv7ylg) (br_hash_class** ctx, void* dst);
typedef N_CDECL_PTR(void, tyProc__g9c2vH2tlPaPmvfTZ3PeWQQ) (br_hash_class** ctx, void* stb, NU64 count_0);
struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 data[SEQ_DECL_SIZE];};struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ { TGenericSeq Sup; NimStringDesc* data[SEQ_DECL_SIZE];};struct tySequence__qkV9cggxceO9cpfUWIbCnvJg { TGenericSeq Sup; tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};struct tySequence__pJDjdGjSf3HlAOELaHOmSA { TGenericSeq Sup; tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*, readMessage__6UN0gDDeXQlrJCCy5cWOLQ)(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* sconn);
N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tyRef__IhcuvquVp9aKgIIO9c9azQ9aPg)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__6UXLrIb1BaPX9aKShE9aMWHg)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*, newFutureImpl__HDlsl4b9c3SH7ywTZvkTzLg)(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__Jf7UgHBGZNqhYrkSrYu9bEw)(void);
static N_NIMCALL(void, Marker_tyRef__bP4pbSrnAHUFdIeYqmNnfg)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, readMessage__zchXY7Q6jPv5N1QZE7ucMA)(void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*, readFrame__LG9cVt3bjJFYr5hmIqSOzYQ)(tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* sconn);
static N_NIMCALL(void, Marker_tyRef__sevEx2iuO2ciEcYRhGDCFg)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__TTOXChdgjk1pNUyLpTBl7Q)(void);
static N_NIMCALL(void, Marker_tyRef__mHShlm9bB8e7skdV7tXIDKw)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, readFrame__zchXY7Q6jPv5N1QZE7ucMA_2)(void* ClE_0);
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(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, readExactly__4BjUGrVVevZHmVP89b7B4Jg)(tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA* s_0, void* pbytes, NI nbytes);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
N_LIB_PRIVATE N_NIMCALL(void, internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* fut);
static N_INLINE(void, internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut);
static N_INLINE(NU16, fromBytesBE__nIH0dUzlcBErYCYV2Jg8cQendians2)(tyArray__bN9bddWn8oiNSHn2MqEJSZQ x_0);
static N_INLINE(NU16, fromBytes__7RFqCTxYi3zX1OOmOtiv9cQendians2)(tyArray__bN9bddWn8oiNSHn2MqEJSZQ x_0, tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw endian);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
static N_INLINE(NU16, swapBytes__pdjjj0yBh2y2BQZEOCYrXwendians2)(NU16 x_0);
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*, shortLog__Fso3jK7jRMeiF9aFUl9as7gw)(tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn);
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, complete__77JDPrOat3o3k9b9bX42gf9aQ)(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* future, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* val_0, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__i19bwck9afpE72CiCiSoMjzg)(void);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, newSeqUninitialized__DpCWN7DIBuAjgoeQ9c29blYQ_2)(NI len_0);
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__17ho39cRHLjp3jF889afQfSg)(void);
N_LIB_PRIVATE N_CLOSURE(void, readFrame_continue__w9bzfTcX39crWCw5f33DKtCw)(void* udataX60gensym147525536_, 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__uAiPZ2jn5grxHQdo5wIXhwasyncloop)(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* 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__u4f9arKHGmBiZpS59c1aYv9cw)(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* future, Exception* error, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__Jr8Jfi7B2iUixKYroydjOg)(void);
static N_INLINE(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, internalRead__PkaI2I4xSJzS7FEcHwUvGAasyncloop)(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* fut);
N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest, void* src, TNimType* mt);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, decryptWithAd__soenswleYHdsmp8YBBbiog)(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw* state_0, NU8* ad, NI adLen_0, NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(void, intoChaChaPolyTag__K2DYllCGjKfWSP2bD9ah9aFg)(NU8* s_0, NI s_0Len_0, tyArray__qtqsWM5aXmcpMIVmvq3kAA Result);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError)(void);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___TLR2PkVV79beeYIB0bBpWRQ)(NU8* a, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0, NU8* b, NI bLen_0);
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___BokNSDrKN1xmV1nA01G9brAsystem)(NI a, NI b);
static N_INLINE(void, toBytesLE__4UJPiAxU9aF5p8fYoiHyiAw_2endians2)(NU64 x_0, tyArray__cdsir9aPB24hAk6k77P9b9bCA Result);
static N_INLINE(void, toBytes__0qTvPujbb0rvktscQDoIiwendians2)(NU64 x_0, tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw endian, tyArray__cdsir9aPB24hAk6k77P9b9bCA Result);
static N_INLINE(NU64, swapBytes__qpL7n2PWEm1gfdtuNot9b7Qendians2)(NU64 x_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, X5BX5D___Kyr39aNcnXyqz84UZKlCSJw)(NU8* s, NI sLen_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0);
N_LIB_PRIVATE N_NIMCALL(void, decrypt__uW9aORLGdO0TFQzD09aCMtkQ)(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg key_0, tyArray__YHmXll5a9bp5TA5MVvQwRow nonce_0, NU8* tag, NU8* data_0, NI data_0Len_0, NU8* aad, NI aadLen_0);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, shortLog__t8DD2nZSoPvV28s0XouGjw)(NU8* item, NI itemLen_0);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__50289csYrKtPg4aO7cz9co9aQ)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, NU64 val_0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___n3A9bxeZmbRrVofb9cL0OVKw)(tyArray__qtqsWM5aXmcpMIVmvq3kAA x_0, tyArray__qtqsWM5aXmcpMIVmvq3kAA y_0);
static N_NIMCALL(void, Marker_tyRef__zlIzvcokRdx8RIT0CHC09cw)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__UMzWfkFSUe76ogFRLy6qvQ)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__E8TOT9cR0ozsngOXaKcx4ew)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, shortLog__9cCixOmM7iLui4xZlrde9bhw)(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* conn);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___39cF9bFahdYMwI55nfkiIPqA)(tyObject_Oid__v0fX7UzOqz7toHgI0d87SA oid_0);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
N_LIB_PRIVATE N_NIMCALL(void, formatValue__3zjq9csYPBcIN7AqvyU5ZLA)(NimStringDesc** result, NimStringDesc* value, NimStringDesc* specifier);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, shortLog__YvhybdNIMaDdbU9cTJva0oQ)(tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw pid);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_LIB_PRIVATE N_NIMCALL(void, formatValue__4Cb9cVfSGcgGpilK3qihKMg)(NimStringDesc** result, tyObject_Oid__v0fX7UzOqz7toHgI0d87SA value_0, NimStringDesc* specifier);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__i28PUB9c1MJpSFWSr7m8t8w)(void);
N_LIB_PRIVATE N_CLOSURE(void, readMessage_continue__6OMCfetLr9b2zhF49cS7Xfkg)(void* udataX60gensym149050047_, void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, write__G076fxs8tkO9cAR87vSNPUg)(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* sconn, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* message);
static N_NIMCALL(void, Marker_tyRef__0wwMc1vVqmCSgjs6UyvZIQ)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, newFutureImpl__wu9buovQIxiU3ndXmKRpnVw)(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__49cFjFK2YSoPdY3gPNsOvlg)(void);
static N_NIMCALL(void, Marker_tyRef__FAVDhobQKVaCymaQuDs3nQ)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, write__zchXY7Q6jPv5N1QZE7ucMA_3)(void* ClE_0);
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__wABM9buPCMh2wPy5s2csTSg)(void);
N_LIB_PRIVATE N_NOINLINE(void, raiseDivByZero)(void);
static N_INLINE(NIM_BOOL, nimDivInt)(NI a, NI b, NI* res);
N_LIB_PRIVATE N_NIMCALL(void, encryptFrame__XHD2vTYiIV4qVqJAaLaJlw)(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* sconn, NU8* cipherFrame, NI cipherFrameLen_0, NU8* src, NI srcLen_0);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___PcCQmAfdUds9cWGauPahR7Q)(NU8* r, NI rLen_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA s_0, NU8* v, NI vLen_0);
static N_INLINE(void, toBytesBE__hCGzbNjQPv0JXmh9a9cZEFhgendians2)(NU16 x_0, tyArray__bN9bddWn8oiNSHn2MqEJSZQ Result);
static N_INLINE(void, toBytes__j1beCFVCg9cKKJPXMOyJkggendians2)(NU16 x_0, tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw endian, tyArray__bN9bddWn8oiNSHn2MqEJSZQ Result);
N_LIB_PRIVATE N_NIMCALL(void, encrypt__syhJpy1lxWMYKGykXyTrRA)(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw* state_0, NU8* data_0, NI data_0Len_0, NU8* ad, NI adLen_0, tyArray__qtqsWM5aXmcpMIVmvq3kAA Result);
N_LIB_PRIVATE N_NIMCALL(void, encrypt__uW9aORLGdO0TFQzD09aCMtkQ_2)(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg key_0, tyArray__YHmXll5a9bp5TA5MVvQwRow nonce_0, NU8* tag, NU8* data_0, NI data_0Len_0, NU8* aad, NI aadLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, write__p9arEFb3fACdRSnfwdTMZuw)(tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA* s_0, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* msg);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__oL5TGl9bNRrpek5vyWTCABg)(void);
N_LIB_PRIVATE N_CLOSURE(void, write_continue__PMjK8ZupMrLmiVKifSIWLw)(void* udataX60gensym149225255_, void* ClE_0);
static N_INLINE(NIM_BOOL, finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future);
N_LIB_PRIVATE N_NIMCALL(void, fail__SwGHbFJf49cefkD9a9cbvNyqA)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* future, Exception* error, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q*, handshake__rxhlAKxk5kpRP9bw7P009bWw)(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* p_0, tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn, NIM_BOOL initiator);
static N_NIMCALL(void, Marker_tyRef__qgzBoEGBqMGOP2w9cT9c6GxQ)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__jWzJccZcz9aOEcxYBCVb8qQ)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q*, newFutureImpl__2ydZ72GwJ9cgMPhmJC8EPrg)(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__wyyCnT9amM6mllWZ3p5EaSQ)(void);
static N_NIMCALL(void, Marker_tyRef__RH139cS9bkclfX9aI2VFVskbg)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, handshake__zchXY7Q6jPv5N1QZE7ucMA_4)(void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__qKEYbZvAL3dyS19atgb6Jpg)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, NIM_BOOL val_0);
static N_INLINE(void, tryGet__fUUXwq71T5lZxtHw9bDHKqAresults)(tyObject_Result__ZGY78kIl5s9a88zIUpvwquA self, tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q* Result);
N_LIB_PRIVATE N_NOINLINE(void, raiseResultError__9bEWNaffPLA0w1iJf3HIyZA)(tyObject_Result__ZGY78kIl5s9a88zIUpvwquA self) __attribute__((noreturn));
N_LIB_PRIVATE N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
N_LIB_PRIVATE N_NIMCALL(void, sign__aZO9bv2QzDrkoNSd9c7rh3Bg)(tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ* key_0, NU8* data_0, NI data_0Len_0, tyObject_Result__ZGY78kIl5s9a88zIUpvwquA* Result);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, amp___GKDTgswYEfLZ0HJ4qcD9cGQ)(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* x_0, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* y_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, toBytes__U4kZc2UAauSmATzOovzVMA)(NimStringDesc* s_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, getBytes__OIu3ct6Iv4pd9cGG09c9cCFKQ)(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg key_0);
N_LIB_PRIVATE N_NIMCALL(void, initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng)(tySet_tyEnum_ProtoFlags__34NlqR9bQ2hXegI29bJO9bfbA options, tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* Result);
N_LIB_PRIVATE N_NIMCALL(void, write__4tkJJWHqmkKO9cj2FvJ9cDoQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, NU8* value_0, NI value_0Len_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, getBytes__c1mSmfwMuNxjcxH6tqzdLg)(tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q sig);
N_LIB_PRIVATE N_NIMCALL(void, finish__1rmuOyUuHHnrDPgEOlTQaw)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g*, handshakeXXOutbound__ytyTmwD5rrhHLaZq5M63VQ)(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* p_0, tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* p2pSecret);
static N_NIMCALL(void, Marker_tyRef__0dCbhTiClWNv61EsVhvlqg)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g*, newFutureImpl__OEyc9ai9cLORbtlo2cmPiLWg)(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__fgvTtOT5f4hX8WJswv4zRw)(void);
static N_NIMCALL(void, Marker_tyRef__LLnYShTczSWMCe2pncZYUQ)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, handshakeXXOutbound__zchXY7Q6jPv5N1QZE7ucMA_5)(void* ClE_0);
static N_INLINE(void, closureIterSetupExc)(Exception* e);
N_LIB_PRIVATE N_NIMCALL(tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ, init__ixq1bYlcPdN7uoNA8eIGEQ)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA, init__1VnUpKuolNMcHZSGpH7xEg)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw, hashProtocol__5fP53p2JefNhkshmoV2C1Q)(NimStringDesc* name_0);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___wCxLFNoF2DOiuJpFEiBO9cQ)(NU8* a, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0, NU8* b, NI bLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw, digest__CXo4xdrVR0UXF9aOcb9aJFYg)(NIM_CHAR* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(void, intoChaChaPolyKey__JjGK4vp5v0i2Ac7VvyXdFg)(NU8* s_0, NI s_0Len_0, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg Result);
N_LIB_PRIVATE N_NIMCALL(void, mixHash__WyC4hfyTbbwc6VDP3xuMwA)(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA* ss, NU8* data_0, NI data_0Len_0);
static N_INLINE(void, init__C8fXqRtxb2ILgkwYRN3qiQsha2)(tyObject_Sha2Context__5brAquljQjPUyNuIC4vV1w* ctx);
static N_INLINE(void, update__JVKV5lsc6z00iHHbNwyg9bAsha2)(tyObject_Sha2Context__5brAquljQjPUyNuIC4vV1w* ctx, NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(void, sha256Transform__BJNBQtWr9bJwzqbyfKXd38Q)(NU32* state_0, NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw, finish__x70ALeeaQ1ry9a63hdOCQWA)(tyObject_Sha2Context__5brAquljQjPUyNuIC4vV1w* ctx);
N_LIB_PRIVATE N_NIMCALL(tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ, genKeyPair__uM9a2wE3eF9bencNK88hbdBQ)(br_hmac_drbg_context* rng_0);
N_LIB_PRIVATE N_NIMCALL(void, random__UvoqRnqrR9b9cpFTFwPYNjww)(br_hmac_drbg_context* rng_0, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg Result);
N_LIB_PRIVATE N_NIMCALL(void, public__m9ciw2UsJ1wFFqS9ara6o9bLQ)(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg private_0, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg Result);
N_LIB_PRIVATE N_NIMCALL(void, add__nLxiBWxsEm2pf6j3XOMb3A)(tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA* v, NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encryptAndHash__eheZlc6zkVwv8MKEHCKYcg)(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA* ss, NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasKey__6XENeg2juAuCf19bl5p5AGQ)(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw* cs);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___9cCVSCLPjOxZxic09c7QiZVQ)(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg x_0, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg y_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encryptWithAd__soenswleYHdsmp8YBBbiog_2)(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw* state_0, NU8* ad, NI adLen_0, NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(void*, nimNewSeqOfCap)(TNimType* typ, NI cap);
N_LIB_PRIVATE N_NIMCALL(void, add__dBX55hEvlLvqcAQw6nEieA)(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ** x_0, NU8* y_0, NI y_0Len_0);
static N_INLINE(NimStringDesc*, toHex__lqmu9c0FuSpuQiAj5oTzetAbyteutils)(tyArray__qtqsWM5aXmcpMIVmvq3kAA ba);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toHexAux__mTF3iGytPXR76nCDQ9aqz9cw)(NU8* ba, NI baLen_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, at___FKhCG9aXnVoTuyjERVXzd2g)(NU8* a, NI aLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, sendHSMessage__GziCLt5DyvlkvlJ1nyM19bg)(tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* sconn, NU8* buf_0, NI buf_0Len_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, writeFrame__GziCLt5DyvlkvlJ1nyM19bg_2)(tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* sconn, NU8* buf_0, NI buf_0Len_0);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__qtRbDAVlLxLr29ctXnaT9aOA)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, NU16 val_0);
static N_INLINE(void, burnMem__M2x8hwpT3MlFvg9a6qocCMwutils)(tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ* a);
N_LIB_PRIVATE N_NIMCALL(void, burnMem__haAOjkJjOuRy8ux9bV57dXw)(void* p_0, NI size);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*, receiveHSMessage__LG9cVt3bjJFYr5hmIqSOzYQ_2)(tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* sconn);
N_LIB_PRIVATE N_NIMCALL(void, assign__mb80c6kk9afYP1X3BdP4DGQ)(tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA* v, NU8* buf_0, NI buf_0Len_0);
static N_NIMCALL(void, Marker_tyRef__lVduX0HkImCKAngD9aYQCBQ)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___P72kWTovFelyc9be7EgESHg)(NU8* a, tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw x_0, NU8* b, NI bLen_0);
static N_INLINE(tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw, dotdot___vcZJM9c08o2y9b2gLXJZAPiQsystem)(NI a, NI b);
N_LIB_PRIVATE N_NIMCALL(void, consume__dQZP3R2k8Hck9b65H7KHXrA_2)(tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA* v, NI n_0);
N_LIB_PRIVATE N_NIMCALL(void, mixKey__M4Q9axvA5uVnyPkZaKLa3uQ)(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA* ss, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg ikm);
N_LIB_PRIVATE N_NIMCALL(void, hkdf__8kL4D1rPlBOjUmnHNh872A)(NU8* salt, NI saltLen_0, NU8* ikm, NI ikmLen_0, NU8* info, NI infoLen_0, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg* outputs, NI outputsLen_0);
N_LIB_PRIVATE N_NIMCALL(void, dh__D9b89cbOfAMoxJppVJ3ahUOg)(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg priv, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg pub, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg Result);
N_LIB_PRIVATE N_NIMCALL(void, mul__hLDEFWBpnhfm4tQ3LkfzuQ)(NU8* point, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg multiplier);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, decryptAndHash__eheZlc6zkVwv8MKEHCKYcg_2)(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA* ss, NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(void, clear__s0ElMwi7U7uoA17Nvrysdw)(tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA* v);
N_LIB_PRIVATE N_NIMCALL(tyTuple__Wuf3jB5MdvsLSYuk9cZVtfg, split__yNiwLkbSP5ZLycopSDGTnQ)(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA* ss);
N_LIB_PRIVATE N_NIMCALL(void, complete__PrhUuRi8yPcsimSohG8j8w)(tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* future, tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg* val_0, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__uMkCMzJEgbQZFxGqwIAUsA)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__3hm38ivhR69c7cP8etZKvHg)(void);
N_LIB_PRIVATE N_CLOSURE(void, handshakeXXOutbound_continue__vzGrNM9bL4TRVuvnbJ4DKCQ)(void* udataX60gensym147850072_, void* ClE_0);
static N_INLINE(NIM_BOOL, finished__Sn9aIDx9cqpkNubXWeBAX15Aasyncloop)(tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* future);
N_LIB_PRIVATE N_NIMCALL(void, fail__pgwjQTg9bIrNo3rqPsDfUwg)(tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* future, Exception* error, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g*, handshakeXXInbound__ytyTmwD5rrhHLaZq5M63VQ_2)(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* p_0, tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* p2pSecret);
static N_NIMCALL(void, Marker_tyRef__2NuxoxSSsLjOY3XCNZA2gw)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__nBZDqFFpImELTqUz3hgJLg)(void);
static N_NIMCALL(void, Marker_tyRef__lxeGM9b8ZJsLR9aQjiYjgicQ)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, handshakeXXInbound__zchXY7Q6jPv5N1QZE7ucMA_6)(void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__9b9a1zgEtu42c0si09a5Bmcsg)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__kPzybGNi9cdvQKpoOiaNCdQ)(void);
N_LIB_PRIVATE N_CLOSURE(void, handshakeXXInbound_continue__wshGzNrKalooc9akNeKAeXA)(void* udataX60gensym148455244_, void* ClE_0);
static N_INLINE(void, internalRead__A0eV2m45S7g5kX6a9bEPwVQasyncloop)(tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* fut, tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg* Result);
N_LIB_PRIVATE N_NIMCALL(void, initProtoBuffer__fbykHZzk6a9bvfYMmTBqn3Q)(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data_0, NI offset, tySet_tyEnum_ProtoFlags__34NlqR9bQ2hXegI29bJO9bfbA options, tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* Result);
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__VR7l4DJaL9cSFn6dTxK0gOQ, getField__TmmAJk0OXMd3CniSvMNDvQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* data_0, NI field, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ** output);
static N_INLINE(NIM_BOOL, get__s81otJuqBWqYQyderjqGnwresults)(tyObject_Result__VR7l4DJaL9cSFn6dTxK0gOQ self);
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__Z3pb1x8uKhrSVPCjH9bDTfg)(NimStringDesc* m, tyEnum_ProtoError__mWP6pHyhcb4SJ8Wo5U9bwfg v) __attribute__((noreturn));
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimBoolToStr)(NIM_BOOL x_0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, init__ZFrj29apZJPaB79ca09cGOStw)(tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* key_0, NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, init__6Cs9aoQUoUHTjlNfrez9bVnw)(tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q* sig, NU8* data_0, NI data_0Len_0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, verify__TsBOm3TqPuBNRfSnGdwfiw)(tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q sig, NU8* message, NI messageLen_0, tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* key_0);
N_LIB_PRIVATE N_NIMCALL(void, init__62yqKJpN4T5rhMXt9cfWICA)(tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* pubkey, tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ* Result);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, validate__kmLkXiaxy8lRGzIsV2u6Kw_2)(tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw pid);
N_LIB_PRIVATE N_NIMCALL(NI, cmp__ZNqz9bxrMN09bM1GezFNLRBQ)(tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw a, tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw b);
static N_INLINE(void, get__ME7aJ9cmvtfOzZSR3TgduCAresults)(tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ self, tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw* Result);
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__owuWoGCIMYubXziJ5dK27w)(NimStringDesc* m, NCSTRING v) __attribute__((noreturn));
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, extractPublicKey__oFQyDfGKphQulEV9cuwMmxg)(tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw pid, tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* pubkey);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___9bwC9ckFxGbRuRIhv18L2Mvg)(tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* key_0);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___3k9bWRTai5nC5XjGCnvylEA)(tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ self);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___YvhybdNIMaDdbU9cTJva0oQ_2)(tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw pid);
N_LIB_PRIVATE N_NIMCALL(tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw*, init__TUPt4n8JhXOdckFHlV7m8A)(tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw peerId, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw* addrs, NI addrsLen_0, NimStringDesc** protocols, NI protocolsLen_0);
static N_INLINE(void, tryGet__ME7aJ9cmvtfOzZSR3TgduCA_2results)(tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ self, tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw* Result);
N_LIB_PRIVATE N_NOINLINE(void, raiseResultError__3mB4FvIEM5rjrsbjkbEISw)(tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ self) __attribute__((noreturn));
N_LIB_PRIVATE N_NIMCALL(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA*, init__VuI2BzZcUuhFhigXrr2cUg)(tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn, tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw* peerInfo, tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw observedAddr, tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw timeout);
static N_INLINE(void, burnMem__w14lugIaPvBVkYBaSR3YMQutils)(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg* a);
N_LIB_PRIVATE N_NIMCALL(void, nimLeaveFinally)(void);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__EWSNUL7NJHRwr9aRfa5vNVQ)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, tyTuple__NevGmcPz5FN13v9cZPsfRXw* val_0);
N_LIB_PRIVATE N_NIMCALL(void, shortLog__NrFxHSKgrFj3RYz5I6yAGg)(tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw* p_0, tyTuple__NevGmcPz5FN13v9cZPsfRXw* Result);
N_LIB_PRIVATE N_NIMCALL(void, complete__mfAiSOoVYAcs3NiT9csuuFQ)(tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q* future, tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA* val_0, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__BJnNL6aeO9ce3zVkv9btVtYw)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__nDL4a9cRjmP9bD0a6c55ZJJg)(void);
N_LIB_PRIVATE N_CLOSURE(void, handshake_continue__oiJw9crZDWguBl1HIq9bgIiw)(void* udataX60gensym149295149_, void* ClE_0);
static N_INLINE(NIM_BOOL, finished__K6MD8qU9cYOiuWgxIIj9cYYgasyncloop)(tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q* future);
N_LIB_PRIVATE N_NIMCALL(void, fail__XgAYr9cKKkitrv8pmE6f5Rg)(tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q* future, Exception* error, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, closeImpl__x0is39cQHERTbKHLBGxZZlA)(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* s_0);
static N_NIMCALL(void, Marker_tyRef__jC7M3qre3waJP9cPgRA1sAw)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__UmRWpPYbbYhDZKvkR9bWPxw)(void);
static N_NIMCALL(void, Marker_tyRef__Gm9a0tB0QN9bjrU3JZp9aTvdA)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, closeImpl__zchXY7Q6jPv5N1QZE7ucMA_7)(void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, closeImpl__LwWqgZLID71k7bK9aZdkleg)(tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA* s_0);
static N_INLINE(void, burnMem__nkFxKIXvA7zrwGNYm1miiwutils)(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw* a);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__IDUgCX3fbaR1Mino2kRSmQ)(void);
N_LIB_PRIVATE N_CLOSURE(void, closeImpl_continue__qCESPUqK2eTqYDVWk7OMbw)(void* udataX60gensym149756399_, void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(void, init__whQbduDjdp5I5hCCHb3MDg)(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* p_0);
N_LIB_PRIVATE N_NIMCALL(void, init__HKxPPSXoD44u9b5JpNIfwNw)(tyObject_SecurecolonObjectType___rfxdGx6GJLVE9aqiYjwpDKQ* s_0);
N_LIB_PRIVATE N_NIMCALL(void, codeceq___FJgTWmJomZg9cJD1BFJyUDQ)(tyObject_LPProtocolcolonObjectType___5aL02d9bjOYDZmYD0dWxn2w* p_0, NimStringDesc* codec);
N_LIB_PRIVATE N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
static N_INLINE(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, tryGet__pg72R9b53e39bPQBiMgCX8Rgresults)(tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ self);
N_LIB_PRIVATE N_NOINLINE(void, raiseResultError__VdO7CLGgWUXuCrOXQ3B2ZA)(tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ self) __attribute__((noreturn));
N_LIB_PRIVATE N_NIMCALL(void, getBytes__4eZxdwajU59aqY5fR5EvlLg)(tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* key_0, tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ* Result);
static N_INLINE(void, tryGet__VeMgo2Cp9aeBXhskxVN2WeAresults)(tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q* self, tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* Result);
N_LIB_PRIVATE N_NOINLINE(void, raiseResultError__d2pyGBpUxBG7xw7hcLOp0g)(tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q* self) __attribute__((noreturn));
N_LIB_PRIVATE N_NIMCALL(void, getKey__BjB2ThDklmRLi5zxNp1MMg)(tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ* key_0, tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q* Result);
N_LIB_PRIVATE N_NIMCALL(void, init__rxApHebrH7xqTi4tmplvfw)(tyObject_LPProtocolcolonObjectType___5aL02d9bjOYDZmYD0dWxn2w* p_0);
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
N_LIB_PRIVATE TNimType NTI__ztgD7WY8ZBGC2pYsyPTFxA_;
extern TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_;
extern TNimType NTI__EQt0Xolm1d2el9cDkzC6TAA_;
N_LIB_PRIVATE TNimType NTI__N9b5C9b9c9aEF9ax161aK3KgfkA_;
N_LIB_PRIVATE TNimType NTI__YCZgSAEEw7bBlfog9bRo2Cw_;
extern TNimType NTI__vEOa9c5qaE9ajWxR5R4zwfQg_;
extern TNimType NTI__wMtfD88jmrPZwfzTH9c8e9cA_;
N_LIB_PRIVATE TNimType NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_;
extern TNimType NTI__lT9buwOIvTTGQ3Bm66flIpQ_;
extern TNimType NTI__Y7TIAk6Os9cRMtmIj9bEqCww_;
N_LIB_PRIVATE TNimType NTI__6UXLrIb1BaPX9aKShE9aMWHg_;
N_LIB_PRIVATE TNimType NTI__TisZwGk09c029berxTuLcCJw_;
extern TNimType NTI__6H5Oh5UUvVCLiakt9aTwtUQ_;
extern TNimType NTI__Oe5U64nDSwOh3KlTzM9b9c7g_;
extern TNimType NTI__EhHqp0aF43SxfS6MTF9b0hA_;
extern TNimType NTI__gcKyg9bhR5vWTJg3cREMk0Q_;
N_LIB_PRIVATE TNimType NTI__bP4pbSrnAHUFdIeYqmNnfg_;
N_LIB_PRIVATE TNimType NTI__UAD1InhbqUq9aWjHpv1yGrQ_;
extern TNimType NTI__ZerMcZkaRbhs8wv4M9cMNuw_;
N_LIB_PRIVATE TNimType NTI__sevEx2iuO2ciEcYRhGDCFg_;
N_LIB_PRIVATE TNimType NTI__yvjh9bP9ar72rHGaCRMqcbAg_;
extern TNimType NTI__k3HXouOuhqAKq0dx450lXQ_;
N_LIB_PRIVATE TNimType NTI__bN9bddWn8oiNSHn2MqEJSZQ_;
extern TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_;
N_LIB_PRIVATE TNimType NTI__mHShlm9bB8e7skdV7tXIDKw_;
extern TNimType NTI__paaBQT4pyImJiuEdGp60qA_;
extern TNimType NTI__REH9aBNkNbeLkDu8Z1q6BeA_;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_8, "Future operation cancelled!", 27);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_13, "libp2p noise", 12);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_14, "readFrame", 9);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_15, "tid", 3);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_16, "sconn", 5);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_17, "size", 4);
extern TNimType NTI__qrLSDoe2oBoAqNtJ9badtnA_;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_21, "Async procedure (&readFrame) yielded `nil`, are you await\'ing a"
" `nil` Future\?", 77);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_29, "decryptWithAd", 13);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_30, "tagIn", 5);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_31, "tagOut", 6);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_32, "nonce", 5);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_34, "decryptWithAd failed", 20);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_35, "data", 4);
N_LIB_PRIVATE TNimType NTI__DQLLr9cK5Sax4KGSaRMEh5Q_;
N_LIB_PRIVATE TNimType NTI__zlIzvcokRdx8RIT0CHC09cw_;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_36, "decryptWithAd failed tag authentication.", 40);
N_LIB_PRIVATE TNimType NTI__oGOlBdK5YcEKHgPKGJ7H6w_;
N_LIB_PRIVATE TNimType NTI__UMzWfkFSUe76ogFRLy6qvQ_;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_37, "Noise max nonce value reached", 29);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_40, "Received 0-length message", 25);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_41, "NoiseConnection(nil)", 20);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_42, ":", 1);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_46, "Async procedure (&readMessage) yielded `nil`, are you await\'ing"
" a `nil` Future\?", 79);
N_LIB_PRIVATE TNimType NTI__1FCzD3u4mknEtg9cy45oENA_;
extern TNimType NTI__wrhe6hYHoM2gc8EiW0lE6Q_;
N_LIB_PRIVATE TNimType NTI__0wwMc1vVqmCSgjs6UyvZIQ_;
N_LIB_PRIVATE TNimType NTI__OiGp4B0N9ccK3ZeVqYyFbEA_;
N_LIB_PRIVATE TNimType NTI__FAVDhobQKVaCymaQuDs3nQ_;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_55, "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim(434, 12) `src.len <= MaxPlainSize` ", 123);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_58, "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim(435, 12) `cipherFrame.len == 2 + src.le"
"n + sizeof(ChaChaPolyTag)` ", 154);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_80, "Async procedure (&write) yielded `nil`, are you await\'ing a `ni"
"l` Future\?", 73);
N_LIB_PRIVATE TNimType NTI__0x7BphhwSYR9bY7t9cTMvRcg_;
extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
extern TNimType NTI__rfxdGx6GJLVE9aqiYjwpDKQ_;
N_LIB_PRIVATE TNimType NTI__9c8eGiIgXq9aArriNxjlYcwg_;
extern TNimType NTI__RuNvFuo5ptASsihINNteSw_;
extern TNimType NTI__GSDbMQxBVd3KO4qBUjzPKQ_;
N_LIB_PRIVATE TNimType NTI__AP6MVDSfkogZQ9aWJV7aVXQ_;
N_LIB_PRIVATE TNimType NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_;
extern TNimType NTI__0uYCwcXe9a6ORVuTht1QPfQ_;
N_LIB_PRIVATE TNimType NTI__jWzJccZcz9aOEcxYBCVb8qQ_;
N_LIB_PRIVATE TNimType NTI__DEop9bsCr9a2UNXY8Je6COtQ_;
N_LIB_PRIVATE TNimType NTI__OhjTN74UhZiRrIN19aKOSsg_;
extern TNimType NTI__YcNq9cdJHxLn8sA9bkNprHVQ_;
extern TNimType NTI__Rk1eeZ5K9cdVRk5l7BwOXGw_;
extern TNimType NTI__CGRrBG2C4jqyNkskN9acy8Q_;
extern TNimType NTI__40iIOZrE3YoWDkFgicA1eA_;
extern TNimType NTI__mVKS59bRpscItosS0oN9a4zA_;
extern TNimType NTI__VR7l4DJaL9cSFn6dTxK0gOQ_;
extern TNimType NTI__rRs2IHyL9cPDf0qPXyWd1oQ_;
N_LIB_PRIVATE TNimType NTI__RH139cS9bkclfX9aI2VFVskbg_;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_89, "Starting Noise handshake", 24);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_90, "conn", 4);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_91, "initiator", 9);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_92, "\'v\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_93, "noise-libp2p-static-key:", 24);
N_LIB_PRIVATE TNimType NTI__paQYhYV9c8AlUwasVq5TE6Q_;
extern TNimType NTI__79b5LWj0YZCN09cCniK8vHVg_;
N_LIB_PRIVATE TNimType NTI__0dCbhTiClWNv61EsVhvlqg_;
N_LIB_PRIVATE TNimType NTI__8EWmiZVEq0BoWmwfdU9cExA_;
extern TNimType NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_;
N_LIB_PRIVATE TNimType NTI__eGBpTZdn9cK4ekfQpnduc9bQ_;
N_LIB_PRIVATE TNimType NTI__EJYN460LmanXigF8xTf8AA_;
extern TNimType NTI__law9ct65KplMYBvtmjCQxbw_;
extern TNimType NTI__rh4FrSJeqFgjpGXgKxSF9cA_;
N_LIB_PRIVATE TNimType NTI__LLnYShTczSWMCe2pncZYUQ_;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_99, "Noise_XX_25519_ChaChaPoly_SHA256", 32);
N_LIB_PRIVATE NIM_CONST tyArray__vEOa9c5qaE9ajWxR5R4zwfQg EmptyKey__s30y9cj7S6M5rm2N9bjldi6Q = {((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0),
((NU8) 0)}
;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_106, "mixHash", 7);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_107, "hash", 4);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_110, "noise write e", 13);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_114, "encryptWithAd", 13);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_115, "tag", 3);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_116, "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim(302, 12) `buf.len <= uint16.high.int` ", 126);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_120, "writeFrame", 10);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_124, "noise read e", 12);
N_LIB_PRIVATE TNimType NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_;
N_LIB_PRIVATE TNimType NTI__lVduX0HkImCKAngD9aYQCBQ_;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_127, "Noise E, expected more data", 27);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_133, "noise dh ee", 11);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_136, "mixKey", 6);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_137, "key", 3);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_140, "noise read s", 12);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_143, "Noise S, expected more data", 27);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_151, "noise dh es", 11);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_155, "noise write s", 13);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_158, "noise dh se", 11);
static NIM_CONST tyArray__Asxg2ur6LWYA9aNqt69cLwQA TM__UYWm9bIxk9c4GHvcjnzpvpYw_160 = {((NI16) 0),
((NI16) 2),
((NI16) 0),
((NI16) 2),
((NI16) 2),
((NI16) 2),
((NI16) 2),
((NI16) 2),
((NI16) 2),
((NI16) 2),
((NI16) 0),
((NI16) 0)}
;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_164, "Async procedure (&handshakeXXOutbound) yielded `nil`, are you a"
"wait\'ing a `nil` Future\?", 87);
N_LIB_PRIVATE TNimType NTI__lNO2ckHz4yxUgL9aOfulbDg_;
N_LIB_PRIVATE TNimType NTI__2NuxoxSSsLjOY3XCNZA2gw_;
N_LIB_PRIVATE TNimType NTI__8NjGJA84aKG8OD5mMt9bZzQ_;
N_LIB_PRIVATE TNimType NTI__lxeGM9b8ZJsLR9aQjiYjgicQ_;
static NIM_CONST tyArray__XYvKFwqxIc2whnKLisCnXw TM__UYWm9bIxk9c4GHvcjnzpvpYw_199 = {((NI16) 0),
((NI16) 2),
((NI16) 0),
((NI16) 2),
((NI16) 2),
((NI16) 2),
((NI16) 2),
((NI16) 2),
((NI16) 2),
((NI16) 2),
((NI16) 2),
((NI16) 0),
((NI16) 0)}
;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_203, "Async procedure (&handshakeXXInbound) yielded `nil`, are you aw"
"ait\'ing a `nil` Future\?", 86);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_206, "Trying to access value with err Result", 38);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_207, "\'e\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_208, "Failed to deserialize remote public key bytes. (initiator: ", 59);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_209, ")", 1);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_210, "Failed to deserialize remote signature bytes. (initiator: ", 58);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_211, "Failed to decode remote public key. (initiator: ", 48);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_212, "Failed to decode remote signature. (initiator: ", 47);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_213, "Noise handshake signature verify failed.", 40);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_216, "Remote signature verified", 25);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_217, "Failed to validate peerId.", 26);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_219, "Noise handshake, peer infos don\'t match!", 40);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_220, "dealt_peer", 10);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_221, "dealt_key", 9);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_222, "received_peer", 13);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_223, "received_key", 12);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_224, "Noise handshake, peer infos don\'t match! ", 41);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_225, " != ", 4);
static NIM_CONST tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw TM__UYWm9bIxk9c4GHvcjnzpvpYw_226 = {IL64(300000000000)}
;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_229, "Noise handshake completed!", 26);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_230, "peer", 4);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_234, "Async procedure (&handshake) yielded `nil`, are you await\'ing a"
" `nil` Future\?", 77);
N_LIB_PRIVATE TNimType NTI__3d5LG9bkZEn9bUVuTys6Zl4A_;
N_LIB_PRIVATE TNimType NTI__jC7M3qre3waJP9cPgRA1sAw_;
N_LIB_PRIVATE TNimType NTI__Hsb8NO0F8cDq36I9cIKkrxg_;
N_LIB_PRIVATE TNimType NTI__Gm9a0tB0QN9bjrU3JZp9aTvdA_;
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_241, "Async procedure (&closeImpl) yielded `nil`, are you await\'ing a"
" `nil` Future\?", 77);
STRING_LITERAL(TM__UYWm9bIxk9c4GHvcjnzpvpYw_243, "/noise", 6);
extern TNimType* nimTypeRoot;
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
static N_NIMCALL(void, Marker_tyRef__IhcuvquVp9aKgIIO9c9azQ9aPg)(void* p, NI op) {
tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* a;
NI T1_; NI T2_; a = (tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA*)p;
nimGCvisit((void*)(*a).Sup.Sup.Sup.closeEvent, op); nimGCvisit((void*)(*a).Sup.Sup.Sup.objName, op); nimGCvisit((void*)(*a).Sup.Sup.timerTaskFut, op); nimGCvisit((void*)(*a).Sup.Sup.timeoutHandler.ClE_0, op); nimGCvisit((void*)(*a).Sup.Sup.peerInfo, op); nimGCvisit((void*)(*a).Sup.Sup.observedAddr.data.buffer, op); nimGCvisit((void*)(*a).Sup.Sup.upgraded, op); nimGCvisit((void*)(*a).Sup.stream, op); nimGCvisit((void*)(*a).Sup.buf.buf, op); T1_ = (NI)0; T2_ = (NI)0;}
static N_NIMCALL(void, Marker_tyRef__6UXLrIb1BaPX9aKShE9aMWHg)(void* p, NI op) {
tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA* a;
a = (tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA*)p;
nimGCvisit((void*)(*a).sconn1, op); nimGCvisit((void*)(*a).chronosInternalRetFuture2, op); nimGCvisit((void*)(*a).nameIterVarX60gensym1490500463_.ClE_0, op);}
#line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0;
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;}
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));}
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0;
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;}
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;}
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;}
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
}
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ NIM_BOOL T3_;
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_;
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
}
LA4_: ;
}
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, asgnRef)(void** dest, void* src) {
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!((src == NIM_NIL))) goto LA3_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
}
LA3_: ;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!(((*dest) == NIM_NIL))) goto LA8_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
}
LA8_: ;
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*dest) = src;}
static N_NIMCALL(void, Marker_tyRef__bP4pbSrnAHUFdIeYqmNnfg)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw* a;
a = (tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw*)p;
nimGCvisit((void*)(*a).result1, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture2, op); nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).result4, op); nimGCvisit((void*)(*a).frame5, op); nimGCvisit((void*)(*a).res6, op); nimGCvisit((void*)(*a).record7.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym1491250198_, op);}
static N_NIMCALL(void, Marker_tyRef__sevEx2iuO2ciEcYRhGDCFg)(void* p, NI op) {
tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ* a;
a = (tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ*)p;
nimGCvisit((void*)(*a).sconn1, op); nimGCvisit((void*)(*a).chronosInternalRetFuture2, op); nimGCvisit((void*)(*a).nameIterVarX60gensym1475255353_.ClE_0, op);}
static N_NIMCALL(void, Marker_tyRef__mHShlm9bB8e7skdV7tXIDKw)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg* a;
NI T1_; a = (tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg*)p;
nimGCvisit((void*)(*a).result1, op); T1_ = (NI)0; nimGCvisit((void*)(*a).chronosInternalTmpFuture3, op); nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).result5, op); nimGCvisit((void*)(*a).record7.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym1475800198_, op); nimGCvisit((void*)(*a).buffer9, op);}
#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 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, nimGCunrefNoCycle)(void* p) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
}
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(void, internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop)(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* fut) {}
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
static N_INLINE(NU16, swapBytes__pdjjj0yBh2y2BQZEOCYrXwendians2)(NU16 x_0) { NU16 result; result = (NU16)0;
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
result = __builtin_bswap16(x_0); return result;}
#line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
static N_INLINE(NU16, fromBytes__7RFqCTxYi3zX1OOmOtiv9cQendians2)(tyArray__bN9bddWn8oiNSHn2MqEJSZQ x_0, tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw endian) { NU16 result; result = (NU16)0; { NI i; NI i_2; i = (NI)0;
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
i_2 = ((NI) 0); {
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
while (1) { NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_9; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_10;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (!(i_2 < ((NI) 2))) goto LA3;
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
i = i_2;
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
if ((NU)(i) > (NU)(1)){ raiseIndexError2(i, 1); }
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
if (nimMulInt(i, ((NI) 8), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_9)) { raiseOverflow(); }; result = (NU16)(result | (NU16)((NU64)(((NU16) (x_0[(i)- 0]))) << (NU64)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_9))));
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (nimAddInt(i_2, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_10)) { raiseOverflow(); }; i_2 = (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_10); } LA3: ;
}
}
#line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
{
#line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
if (!!((endian == ((tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw) 0)))) goto LA6_;
#line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
result = swapBytes__pdjjj0yBh2y2BQZEOCYrXwendians2(result); }
LA6_: ;
return result;}
#line 146 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
static N_INLINE(NU16, fromBytesBE__nIH0dUzlcBErYCYV2Jg8cQendians2)(tyArray__bN9bddWn8oiNSHn2MqEJSZQ x_0) { NU16 result; result = (NU16)0;
#line 149 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
result = fromBytes__7RFqCTxYi3zX1OOmOtiv9cQendians2(x_0, ((tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw) 1)); 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*, readFrame__zchXY7Q6jPv5N1QZE7ucMA_2)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg*) ClE_0;
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
while (1) { if (!1) goto LA1;
{ NU16 T12_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_11; tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA* T29_; NI T30_; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T31_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T38_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T39_; 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;
}
STATE0: ;
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).result1 = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; { tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA* T4_; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T5_;
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(*colonenvP_).besize2, sizeof(tyArray__bN9bddWn8oiNSHn2MqEJSZQ));
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture3 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T4_ = (tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA*)0; T4_ = &(*(*colonenvP_).colonup_).sconn1->Sup;
#line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T5_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T5_ = readExactly__4BjUGrVVevZHmVP89b7B4Jg(T4_, ((void*) ((&(*colonenvP_).besize2[(((NI) 0))- 0]))), ((NI) 2)); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture3), &T5_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), (*colonenvP_).chronosInternalTmpFuture3);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1);
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenvP_).chronosInternalTmpFuture3; goto BeforeRet_;
}
STATE1: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T10_; NimStringDesc* T11_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.mustCancel) goto LA8_;
T10_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T10_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T10_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T10_).Sup.Sup.Sup.name = "CancelledError"; T11_ = (NimStringDesc*)0; T11_ = (*T10_).Sup.Sup.Sup.message; (*T10_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T11_) nimGCunrefNoCycle(T11_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T10_, "CancelledError", "readFrame", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA8_: ;
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q((*colonenvP_).chronosInternalTmpFuture3);
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop(((tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*) ((*colonenvP_).chronosInternalTmpFuture3)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2);
#line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE2: ;
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T12_ = (NU16)0; T12_ = fromBytesBE__nIH0dUzlcBErYCYV2Jg8cQendians2((*colonenvP_).besize2); (*colonenvP_).size6 = ((NI) (T12_));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_11); TM__UYWm9bIxk9c4GHvcjnzpvpYw_11.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_11.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_11.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_12;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_12); TM__UYWm9bIxk9c4GHvcjnzpvpYw_12.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_12.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_12.status == 0) { { NI T16_; NimStringDesc* T17_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record7), 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_).record7)); unsureAsgnRef((void**)&(*colonenvP_).record7.output.buffer, NIM_NIL); (*colonenvP_).record7.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_).record7), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_14));
#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"
T16_ = (NI)0; T16_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record7), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T16_);
#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"
T17_ = (NimStringDesc*)0; T17_ = shortLog__Fso3jK7jRMeiF9aFUl9as7gw((*(*colonenvP_).colonup_).sconn1);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record7), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_16), T17_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record7), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_17), (*colonenvP_).size6);
#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_).record7));
#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_).record7));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T20_; Exception* T21_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_12.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T20_ = (Exception*)0; T20_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym1475800198_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T20_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T21_ = (Exception*)0; T21_ = &(*colonenvP_).errX60gensym1475800198_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("readFrame", T21_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_12.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_11.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_11.status != 0) reraiseException();
#line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T28_;
#line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!((*colonenvP_).size6 == ((NI) 0))) goto LA26_;
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T28_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T28_ = srcLocImpl__i19bwck9afpE72CiCiSoMjzg();
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__77JDPrOat3o3k9b9bX42gf9aQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, (*colonenvP_).result1, T28_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 295 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = NIM_NIL; goto BeforeRet_;
}
LA26_: ;
#line 297 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (((*colonenvP_).size6) < ((NI) 0) || ((*colonenvP_).size6) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((*colonenvP_).size6, ((NI) 0), ((NI) IL64(9223372036854775807))); }
#line 297 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenvP_).buffer9), newSeqUninitialized__DpCWN7DIBuAjgoeQ9c29blYQ_2(((NI) ((*colonenvP_).size6))));
#line 298 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 298 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T29_ = (tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA*)0; T29_ = &(*(*colonenvP_).colonup_).sconn1->Sup; if ((NU)(((NI) 0)) >= (NU)((*colonenvP_).buffer9 ? (*colonenvP_).buffer9->Sup.len : 0)){ raiseIndexError2(((NI) 0),((*colonenvP_).buffer9 ? (*colonenvP_).buffer9->Sup.len : 0)-1); }
#line 298 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T30_ = ((*colonenvP_).buffer9 ? (*colonenvP_).buffer9->Sup.len : 0);
#line 298 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T31_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T31_ = readExactly__4BjUGrVVevZHmVP89b7B4Jg(T29_, ((void*) ((&(*colonenvP_).buffer9->data[((NI) 0)]))), T30_); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture3), &T31_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), (*colonenvP_).chronosInternalTmpFuture3);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#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_;
STATE3: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T36_; NimStringDesc* T37_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.mustCancel) goto LA34_;
T36_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T36_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T36_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T36_).Sup.Sup.Sup.name = "CancelledError"; T37_ = (NimStringDesc*)0; T37_ = (*T36_).Sup.Sup.Sup.message; (*T36_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T37_) nimGCunrefNoCycle(T37_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T36_, "CancelledError", "readFrame", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA34_: ;
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q((*colonenvP_).chronosInternalTmpFuture3);
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop(((tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*) ((*colonenvP_).chronosInternalTmpFuture3)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4);
#line 298 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE4: ;
#line 299 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T38_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T38_ = srcLocImpl__17ho39cRHLjp3jF889afQfSg();
#line 299 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__77JDPrOat3o3k9b9bX42gf9aQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, (*colonenvP_).buffer9, T38_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 299 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 299 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = NIM_NIL; goto BeforeRet_;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 5);
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE5: ;
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T39_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T39_ = srcLocImpl__i19bwck9afpE72CiCiSoMjzg();
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__77JDPrOat3o3k9b9bX42gf9aQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, (*colonenvP_).result1, T39_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 6);
#line 0 "\?\?\?"
goto LA2;
STATE6: ;
#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__uAiPZ2jn5grxHQdo5wIXhwasyncloop)(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* 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, readFrame_continue__w9bzfTcX39crWCw5f33DKtCw)(void* udataX60gensym147525536_, void* ClE_0) { tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ* colonenvP_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_18; colonenvP_ = (tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_18); TM__UYWm9bIxk9c4GHvcjnzpvpYw_18.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_18.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_18.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym147525537_;
#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_).nameIterVarX60gensym1475255353_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym147525537_ = (*colonenvP_).nameIterVarX60gensym1475255353_.ClP_0((*colonenvP_).nameIterVarX60gensym1475255353_.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_ = !((nextX60gensym147525537_ == 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(nextX60gensym147525537_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym147525537_ = (*colonenvP_).nameIterVarX60gensym1475255353_.ClP_0((*colonenvP_).nameIterVarX60gensym1475255353_.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_).nameIterVarX60gensym1475255353_); 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 (!(nextX60gensym147525537_ == 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__uAiPZ2jn5grxHQdo5wIXhwasyncloop((*colonenvP_).chronosInternalRetFuture2); if (!!(T22_)) goto LA23_;
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseAssert__gpGJG5CoQzE64skFd9bPG7A(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_21));
}
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 = readFrame_continue__w9bzfTcX39crWCw5f33DKtCw; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym147525537_, 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__UYWm9bIxk9c4GHvcjnzpvpYw_18.status = 0;
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T29_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T29_ = &(*colonenvP_).chronosInternalRetFuture2->Sup;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T30_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T30_ = srcLocImpl__79cY7uR9cmEURqRGzzdHerWg();
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
cancelAndSchedule__1MGH5bJdQgBtESf3VBBOvA_2(T29_, T30_);
popCurrentException(); }
else if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* excX60gensym147525539_; Exception* T32_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_18.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(); excX60gensym147525539_ = ((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__uAiPZ2jn5grxHQdo5wIXhwasyncloop((*colonenvP_).chronosInternalRetFuture2); if (!T35_) goto LA36_;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)excX60gensym147525539_, "CatchableError", "readFrame_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_ = &excX60gensym147525539_->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__u4f9arKHGmBiZpS59c1aYv9cw((*colonenvP_).chronosInternalRetFuture2, T39_, T40_);
}
LA33_: ;
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_18.status != 0) reraiseException();}
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*, readFrame__LG9cVt3bjJFYr5hmIqSOzYQ)(tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* sconn) { tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* result; tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*)0; colonenv_ = (tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ*) newObj((&NTI__sevEx2iuO2ciEcYRhGDCFg_), sizeof(tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ)); (*colonenv_).Sup.m_type = (&NTI__UAD1InhbqUq9aWjHpv1yGrQ_);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).sconn1), sconn);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.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__TTOXChdgjk1pNUyLpTBl7Q();
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).chronosInternalRetFuture2), newFutureImpl__HDlsl4b9c3SH7ywTZvkTzLg(T1_));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg*) newObj((&NTI__mHShlm9bB8e7skdV7tXIDKw_), sizeof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg)); (*colonenv__2).Sup.m_type = (&NTI__yvjh9bP9ar72rHGaCRMqcbAg_);
#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 = readFrame__zchXY7Q6jPv5N1QZE7ucMA_2; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym1475255353_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym1475255353_.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 = readFrame_continue__w9bzfTcX39crWCw5f33DKtCw; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__UYWm9bIxk9c4GHvcjnzpvpYw_22)(T3_.ClP_0))(NIM_NIL);
#line 299 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenv_).chronosInternalRetFuture2; goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, internalRead__PkaI2I4xSJzS7FEcHwUvGAasyncloop)(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* fut) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result;{ result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 475 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 475 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
genericSeqAssign((&result), (*fut).value, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___BokNSDrKN1xmV1nA01G9brAsystem)(NI a, NI b) { tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result; nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA)); result.a = a; result.b = b; return result;}
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
static N_INLINE(NU64, swapBytes__qpL7n2PWEm1gfdtuNot9b7Qendians2)(NU64 x_0) { NU64 result; result = (NU64)0;
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
result = __builtin_bswap64(x_0); return result;}
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
static N_INLINE(void, toBytes__0qTvPujbb0rvktscQDoIiwendians2)(NU64 x_0, tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw endian, tyArray__cdsir9aPB24hAk6k77P9b9bCA Result) { NU64 v;
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
{
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
if (!(endian == ((tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw) 0))) goto LA3_;
v = x_0; }
goto LA1_;
LA3_: ;
{
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
v = swapBytes__qpL7n2PWEm1gfdtuNot9b7Qendians2(x_0); }
LA1_: ;
{ NI i; NI i_2; i = (NI)0;
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
i_2 = ((NI) 0); {
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
while (1) { NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_24; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_25;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (!(i_2 < ((NI) 8))) goto LA8;
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
i = i_2; if ((NU)(i) > (NU)(7)){ raiseIndexError2(i, 7); }
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
if (nimMulInt(i, ((NI) 8), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_24)) { raiseOverflow(); }; Result[(i)- 0] = ((NU8) ((NU64)((NU64)((NU64)(v) >> (NU64)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_24))) & 255ULL)));
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (nimAddInt(i_2, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_25)) { raiseOverflow(); }; i_2 = (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_25); } LA8: ;
}
}
}
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
static N_INLINE(void, toBytesLE__4UJPiAxU9aF5p8fYoiHyiAw_2endians2)(NU64 x_0, tyArray__cdsir9aPB24hAk6k77P9b9bCA Result) {
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
toBytes__0qTvPujbb0rvktscQDoIiwendians2(x_0, ((tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw) 0), Result);
}
static N_NIMCALL(void, Marker_tyRef__zlIzvcokRdx8RIT0CHC09cw)(void* p, NI op) {
tyObject_NoiseDecryptTagError__DQLLr9cK5Sax4KGSaRMEh5Q* a;
a = (tyObject_NoiseDecryptTagError__DQLLr9cK5Sax4KGSaRMEh5Q*)p;
nimGCvisit((void*)(*a).Sup.Sup.parent, op); nimGCvisit((void*)(*a).Sup.Sup.message, op); nimGCvisit((void*)(*a).Sup.Sup.trace, op); nimGCvisit((void*)(*a).Sup.Sup.up, op);}
static N_NIMCALL(void, Marker_tyRef__UMzWfkFSUe76ogFRLy6qvQ)(void* p, NI op) {
tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w* a;
a = (tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w*)p;
nimGCvisit((void*)(*a).Sup.Sup.parent, op); nimGCvisit((void*)(*a).Sup.Sup.message, op); nimGCvisit((void*)(*a).Sup.Sup.trace, op); nimGCvisit((void*)(*a).Sup.Sup.up, op);}
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, decryptWithAd__soenswleYHdsmp8YBBbiog)(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw* state_0, NU8* ad, NI adLen_0, NU8* data_0, NI data_0Len_0) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result; tyArray__qtqsWM5aXmcpMIVmvq3kAA tagIn; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_23; tyArray__qtqsWM5aXmcpMIVmvq3kAA tagOut; tyArray__YHmXll5a9bp5TA5MVvQwRow nonce_1; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T1_; tyArray__cdsir9aPB24hAk6k77P9b9bCA T2_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_26; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T3_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_27; result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; nimZeroMem((void*)tagIn, sizeof(tyArray__qtqsWM5aXmcpMIVmvq3kAA));
#line 149 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 149 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 149 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt(data_0Len_0, ((NI) 16), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_23)) { raiseOverflow(); };
#line 149 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if ((data_0Len_0-1)-(NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_23) != -1 && ((NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_23)) >= (NU)(data_0Len_0) || (NU)((data_0Len_0-1)) >= (NU)(data_0Len_0))){ raiseIndexError(); }
#line 149 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
intoChaChaPolyTag__K2DYllCGjKfWSP2bD9ah9aFg((NU8*)(data_0)+((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_23)), ((data_0Len_0-1))-((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_23))+1, tagIn);
nimZeroMem((void*)tagOut, sizeof(tyArray__qtqsWM5aXmcpMIVmvq3kAA)); nimZeroMem((void*)nonce_1, sizeof(tyArray__YHmXll5a9bp5TA5MVvQwRow));
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T1_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 4), ((NI) 11));
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)T2_, sizeof(tyArray__cdsir9aPB24hAk6k77P9b9bCA)); toBytesLE__4UJPiAxU9aF5p8fYoiHyiAw_2endians2((*state_0).n, T2_);
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
X5BX5Deq___TLR2PkVV79beeYIB0bBpWRQ(nonce_1, T1_, T2_, 8);
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt((data_0Len_0-1), ((NI) 16), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_26)) { raiseOverflow(); };
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T3_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 0), (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_26));
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = X5BX5D___Kyr39aNcnXyqz84UZKlCSJw(data_0, data_0Len_0, T3_);
#line 154 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 154 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
decrypt__uW9aORLGdO0TFQzD09aCMtkQ((*state_0).k, nonce_1, tagOut, result->data, (result ? result->Sup.len : 0), ad, adLen_0);
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_27); TM__UYWm9bIxk9c4GHvcjnzpvpYw_27.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_27.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_27.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_28;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_28); TM__UYWm9bIxk9c4GHvcjnzpvpYw_28.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_28.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_28.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T7_; NimStringDesc* T8_; NimStringDesc* T9_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_29));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T7_ = (NI)0; T7_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T7_);
#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"
T8_ = (NimStringDesc*)0; T8_ = shortLog__t8DD2nZSoPvV28s0XouGjw(tagIn, 16);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_30), T8_);
#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"
T9_ = (NimStringDesc*)0; T9_ = shortLog__t8DD2nZSoPvV28s0XouGjw(tagOut, 16);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_31), T9_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__50289csYrKtPg4aO7cz9co9aQ((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_32), (*state_0).n);
#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* errX60gensym147255019_; Exception* T12_; Exception* T13_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_28.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T12_ = (Exception*)0; T12_ = getCurrentException(); errX60gensym147255019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T12_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T13_ = (Exception*)0; T13_ = &errX60gensym147255019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("decryptWithAd", T13_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_28.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_27.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_27.status != 0) reraiseException();
#line 156 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T18_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_33; tyObject_NoiseDecryptTagError__DQLLr9cK5Sax4KGSaRMEh5Q* T29_; NimStringDesc* T30_;
#line 156 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 156 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 156 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T18_ = (NIM_BOOL)0; T18_ = eqeq___n3A9bxeZmbRrVofb9cL0OVKw(tagIn, tagOut); if (!!(T18_)) goto LA19_;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_33); TM__UYWm9bIxk9c4GHvcjnzpvpYw_33.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_33.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_33.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record_2; NI T23_; NimStringDesc* T24_; nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record_2)); nimZeroMem((void*)(&record_2), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record_2), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 2), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_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"
T23_ = (NI)0; T23_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record_2), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T23_);
#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"
T24_ = (NimStringDesc*)0; T24_ = shortLog__t8DD2nZSoPvV28s0XouGjw(data_0, data_0Len_0);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record_2), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_35), T24_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&record_2));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&record_2));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym147345019_; Exception* T27_; Exception* T28_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_33.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T27_ = (Exception*)0; T27_ = getCurrentException(); errX60gensym147345019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T27_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T28_ = (Exception*)0; T28_ = &errX60gensym147345019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("decryptWithAd failed", T28_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_33.status != 0) reraiseException(); T29_ = (tyObject_NoiseDecryptTagError__DQLLr9cK5Sax4KGSaRMEh5Q*)0; T29_ = (tyObject_NoiseDecryptTagError__DQLLr9cK5Sax4KGSaRMEh5Q*) newObj((&NTI__zlIzvcokRdx8RIT0CHC09cw_), sizeof(tyObject_NoiseDecryptTagError__DQLLr9cK5Sax4KGSaRMEh5Q)); (*T29_).Sup.Sup.Sup.m_type = (&NTI__DQLLr9cK5Sax4KGSaRMEh5Q_); (*T29_).Sup.Sup.name = "NoiseDecryptTagError"; T30_ = (NimStringDesc*)0; T30_ = (*T29_).Sup.Sup.message; (*T29_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_36)); if (T30_) nimGCunrefNoCycle(T30_); asgnRef((void**) (&(*T29_).Sup.Sup.parent), NIM_NIL);
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T29_, "NoiseDecryptTagError", "decryptWithAd", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 158); }
LA19_: ;
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*state_0).n += ((NI) 1);
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w* T35_; NimStringDesc* T36_;
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!((NU64)(18446744073709551614ULL) < (NU64)((*state_0).n))) goto LA33_;
T35_ = (tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w*)0; T35_ = (tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w*) newObj((&NTI__UMzWfkFSUe76ogFRLy6qvQ_), sizeof(tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w)); (*T35_).Sup.Sup.Sup.m_type = (&NTI__oGOlBdK5YcEKHgPKGJ7H6w_); (*T35_).Sup.Sup.name = "NoiseNonceMaxError"; T36_ = (NimStringDesc*)0; T36_ = (*T35_).Sup.Sup.message; (*T35_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_37)); if (T36_) nimGCunrefNoCycle(T36_); asgnRef((void**) (&(*T35_).Sup.Sup.parent), NIM_NIL);
#line 161 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T35_, "NoiseNonceMaxError", "decryptWithAd", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 161); }
LA33_: ;
return result;}
#line 11 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_;
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size)));}
#line 2112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
nimCopyMem(dest, source, size);
}
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
{
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
if (!!((src == NIM_NIL))) goto LA3_;
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
(*dest).Sup.len += (*src).Sup.len; }
LA3_: ;
}
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, shortLog__9cCixOmM7iLui4xZlrde9bhw)(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* conn) { NimStringDesc* result; result = (NimStringDesc*)0;
#line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{
#line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!(conn == 0)) goto LA3_;
result = copyString(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_41)); }
goto LA1_;
LA3_: ;
{
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!((*conn).Sup.Sup.peerInfo == 0)) goto LA6_;
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = dollar___39cF9bFahdYMwI55nfkiIPqA((*conn).Sup.Sup.Sup.oid); }
goto LA1_;
LA6_: ;
{ NimStringDesc* fmtRes; NimStringDesc* T9_;
#line 533 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim"
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
fmtRes = rawNewString(((NI) 63));
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 557 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/core/macros.nim"
#line 557 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/core/macros.nim"
T9_ = (NimStringDesc*)0; T9_ = shortLog__YvhybdNIMaDdbU9cTJva0oQ((*(*conn).Sup.Sup.peerInfo).peerId);
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
formatValue__3zjq9csYPBcIN7AqvyU5ZLA((&fmtRes), T9_, ((NimStringDesc*) NIM_NIL));
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
fmtRes = resizeString(fmtRes, 1);appendString(fmtRes, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_42));
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
formatValue__4Cb9cVfSGcgGpilK3qihKMg((&fmtRes), (*conn).Sup.Sup.Sup.oid, ((NimStringDesc*) NIM_NIL));
result = copyString(fmtRes); }
LA1_: ;
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*, readMessage__zchXY7Q6jPv5N1QZE7ucMA)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw*) ClE_0;
#line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
while (1) { if (!1) goto LA1;
{ TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_38; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T40_; 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;
}
STATE0: ;
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).result1 = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; { {
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1);
#line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
}
}
STATE1: ;
#line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* T9_; if (!NIM_TRUE) goto LA7_;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture2 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T9_ = (tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*)0; T9_ = readFrame__LG9cVt3bjJFYr5hmIqSOzYQ((*(*(*colonenvP_).colonup_).sconn1).Sup.stream); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture2), &T9_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), (*colonenvP_).chronosInternalTmpFuture2);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2);
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenvP_).chronosInternalTmpFuture2; goto BeforeRet_;
}
goto LA5_;
LA7_: ;
{
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 5);
#line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
}
LA5_: ;
STATE2: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T15_; NimStringDesc* T16_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.mustCancel) goto LA13_;
T15_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T15_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T15_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T15_).Sup.Sup.Sup.name = "CancelledError"; T16_ = (NimStringDesc*)0; T16_ = (*T15_).Sup.Sup.Sup.message; (*T15_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T16_) nimGCunrefNoCycle(T16_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T15_, "CancelledError", "readMessage", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA13_: ;
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q((*colonenvP_).chronosInternalTmpFuture2);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE3: ;
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*colonenvP_).frame5), internalRead__PkaI2I4xSJzS7FEcHwUvGAasyncloop(((tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*) ((*colonenvP_).chronosInternalTmpFuture2))));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4);
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE4: ;
#line 418 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*(*(*colonenvP_).colonup_).sconn1).Sup.Sup.activity = NIM_TRUE;
#line 419 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NI T19_; tyArray__ekVvh9bp9cVe7STNUL8R406w T22_;
#line 419 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 419 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T19_ = ((*colonenvP_).frame5 ? (*colonenvP_).frame5->Sup.len : 0); if (!(((NI) 0) < T19_)) goto LA20_;
#line 420 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 420 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenvP_).res6), decryptWithAd__soenswleYHdsmp8YBBbiog((&(*(*(*colonenvP_).colonup_).sconn1).readCs), T22_, 0, (*colonenvP_).frame5->data, ((*colonenvP_).frame5 ? (*colonenvP_).frame5->Sup.len : 0)));
#line 421 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NI T25_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T28_;
#line 421 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 421 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T25_ = ((*colonenvP_).res6 ? (*colonenvP_).res6->Sup.len : 0); if (!(((NI) 0) < T25_)) goto LA26_;
#line 424 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T28_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T28_ = srcLocImpl__E8TOT9cR0ozsngOXaKcx4ew();
#line 424 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__77JDPrOat3o3k9b9bX42gf9aQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, (*colonenvP_).res6, T28_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 424 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 424 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = NIM_NIL; goto BeforeRet_;
}
LA26_: ;
}
LA20_: ;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_38); TM__UYWm9bIxk9c4GHvcjnzpvpYw_38.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_38.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_38.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_39;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_39); TM__UYWm9bIxk9c4GHvcjnzpvpYw_39.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_39.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_39.status == 0) { { NI T32_; NimStringDesc* T33_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record7), 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_).record7)); unsureAsgnRef((void**)&(*colonenvP_).record7.output.buffer, NIM_NIL); (*colonenvP_).record7.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_).record7), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_40));
#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"
T32_ = (NI)0; T32_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record7), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T32_);
#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"
T33_ = (NimStringDesc*)0; T33_ = shortLog__9cCixOmM7iLui4xZlrde9bhw((*(*colonenvP_).colonup_).sconn1);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record7), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_16), T33_);
#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_).record7));
#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_).record7));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T36_; Exception* T37_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_39.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T36_ = (Exception*)0; T36_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym1491250198_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T36_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T37_ = (Exception*)0; T37_ = &(*colonenvP_).errX60gensym1491250198_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Received 0-length message", T37_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_39.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_38.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_38.status != 0) reraiseException();
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1);
#line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE5: ;
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T40_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T40_ = srcLocImpl__i28PUB9c1MJpSFWSr7m8t8w();
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__77JDPrOat3o3k9b9bX42gf9aQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, (*colonenvP_).result1, T40_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 6);
#line 0 "\?\?\?"
goto LA2;
STATE6: ;
#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, readMessage_continue__6OMCfetLr9b2zhF49cS7Xfkg)(void* udataX60gensym149050047_, void* ClE_0) { tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA* colonenvP_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_43; colonenvP_ = (tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_43); TM__UYWm9bIxk9c4GHvcjnzpvpYw_43.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_43.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_43.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym149050048_;
#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_).nameIterVarX60gensym1490500463_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym149050048_ = (*colonenvP_).nameIterVarX60gensym1490500463_.ClP_0((*colonenvP_).nameIterVarX60gensym1490500463_.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_ = !((nextX60gensym149050048_ == 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(nextX60gensym149050048_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym149050048_ = (*colonenvP_).nameIterVarX60gensym1490500463_.ClP_0((*colonenvP_).nameIterVarX60gensym1490500463_.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_).nameIterVarX60gensym1490500463_); 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 (!(nextX60gensym149050048_ == 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__uAiPZ2jn5grxHQdo5wIXhwasyncloop((*colonenvP_).chronosInternalRetFuture2); if (!!(T22_)) goto LA23_;
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseAssert__gpGJG5CoQzE64skFd9bPG7A(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_46));
}
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 = readMessage_continue__6OMCfetLr9b2zhF49cS7Xfkg; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym149050048_, 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__UYWm9bIxk9c4GHvcjnzpvpYw_43.status = 0;
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T29_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T29_ = &(*colonenvP_).chronosInternalRetFuture2->Sup;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T30_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T30_ = srcLocImpl__79cY7uR9cmEURqRGzzdHerWg();
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
cancelAndSchedule__1MGH5bJdQgBtESf3VBBOvA_2(T29_, T30_);
popCurrentException(); }
else if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* excX60gensym149050050_; Exception* T32_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_43.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(); excX60gensym149050050_ = ((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__uAiPZ2jn5grxHQdo5wIXhwasyncloop((*colonenvP_).chronosInternalRetFuture2); if (!T35_) goto LA36_;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)excX60gensym149050050_, "CatchableError", "readMessage_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_ = &excX60gensym149050050_->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__u4f9arKHGmBiZpS59c1aYv9cw((*colonenvP_).chronosInternalRetFuture2, T39_, T40_);
}
LA33_: ;
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_43.status != 0) reraiseException();}
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*, readMessage__6UN0gDDeXQlrJCCy5cWOLQ)(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* sconn) { tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* result; tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*)0; colonenv_ = (tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA*) newObj((&NTI__6UXLrIb1BaPX9aKShE9aMWHg_), sizeof(tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA)); (*colonenv_).Sup.m_type = (&NTI__ztgD7WY8ZBGC2pYsyPTFxA_);
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).sconn1), sconn);
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.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__Jf7UgHBGZNqhYrkSrYu9bEw();
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).chronosInternalRetFuture2), newFutureImpl__HDlsl4b9c3SH7ywTZvkTzLg(T1_));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw*) newObj((&NTI__bP4pbSrnAHUFdIeYqmNnfg_), sizeof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw)); (*colonenv__2).Sup.m_type = (&NTI__TisZwGk09c029berxTuLcCJw_);
#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 = readMessage__zchXY7Q6jPv5N1QZE7ucMA; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym1490500463_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym1490500463_.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 = readMessage_continue__6OMCfetLr9b2zhF49cS7Xfkg; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__UYWm9bIxk9c4GHvcjnzpvpYw_47)(T3_.ClP_0))(NIM_NIL);
#line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenv_).chronosInternalRetFuture2; goto BeforeRet_;
}BeforeRet_: ;
return result;}
static N_NIMCALL(void, Marker_tyRef__0wwMc1vVqmCSgjs6UyvZIQ)(void* p, NI op) {
tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA* a;
a = (tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA*)p;
nimGCvisit((void*)(*a).message1, op); nimGCvisit((void*)(*a).chronosInternalRetFuture2, op); nimGCvisit((void*)(*a).sconn3, op); nimGCvisit((void*)(*a).nameIterVarX60gensym1492252544_.ClE_0, op);}
static N_NIMCALL(void, Marker_tyRef__FAVDhobQKVaCymaQuDs3nQ)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA* a;
a = (tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA*)p;
nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).result2, op); nimGCvisit((void*)(*a).cipherFrames4, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture9, op);}
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
static N_INLINE(NIM_BOOL, nimDivInt)(NI a, NI b, NI* res) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
{ NIM_BOOL T3_;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
T3_ = (NIM_BOOL)0;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
T3_ = (a == ((NI) (IL64(-9223372036854775807) - IL64(1)))); if (!(T3_)) goto LA4_;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
T3_ = (b == ((NI) -1)); LA4_: ;
if (!T3_) goto LA5_;
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
result = NIM_TRUE; }
goto LA1_;
LA5_: ;
{
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
(*res) = (NI)(a / b); }
LA1_: ;
return result;}
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
static N_INLINE(void, toBytes__j1beCFVCg9cKKJPXMOyJkggendians2)(NU16 x_0, tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw endian, tyArray__bN9bddWn8oiNSHn2MqEJSZQ Result) { NU16 v;
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
{
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
if (!(endian == ((tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw) 0))) goto LA3_;
v = x_0; }
goto LA1_;
LA3_: ;
{
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
v = swapBytes__pdjjj0yBh2y2BQZEOCYrXwendians2(x_0); }
LA1_: ;
{ NI i; NI i_2; i = (NI)0;
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
i_2 = ((NI) 0); {
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
while (1) { NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_59; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_60;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (!(i_2 < ((NI) 2))) goto LA8;
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
i = i_2; if ((NU)(i) > (NU)(1)){ raiseIndexError2(i, 1); }
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
if (nimMulInt(i, ((NI) 8), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_59)) { raiseOverflow(); }; Result[(i)- 0] = ((NU8) ((NU16)((NU16)((NU16)(v) >> (NU64)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_59))) & ((NU16) 255))));
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (nimAddInt(i_2, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_60)) { raiseOverflow(); }; i_2 = (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_60); } LA8: ;
}
}
}
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
static N_INLINE(void, toBytesBE__hCGzbNjQPv0JXmh9a9cZEFhgendians2)(NU16 x_0, tyArray__bN9bddWn8oiNSHn2MqEJSZQ Result) {
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
toBytes__j1beCFVCg9cKKJPXMOyJkggendians2(x_0, ((tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw) 1), Result);
}
#line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(void, encrypt__syhJpy1lxWMYKGykXyTrRA)(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw* state_0, NU8* data_0, NI data_0Len_0, NU8* ad, NI adLen_0, tyArray__qtqsWM5aXmcpMIVmvq3kAA Result) { tyArray__YHmXll5a9bp5TA5MVvQwRow nonce_1; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T1_; tyArray__cdsir9aPB24hAk6k77P9b9bCA T2_; nimZeroMem((void*)nonce_1, sizeof(tyArray__YHmXll5a9bp5TA5MVvQwRow));
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T1_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 4), ((NI) 11));
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)T2_, sizeof(tyArray__cdsir9aPB24hAk6k77P9b9bCA)); toBytesLE__4UJPiAxU9aF5p8fYoiHyiAw_2endians2((*state_0).n, T2_);
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
X5BX5Deq___TLR2PkVV79beeYIB0bBpWRQ(nonce_1, T1_, T2_, 8);
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
encrypt__uW9aORLGdO0TFQzD09aCMtkQ_2((*state_0).k, nonce_1, Result, data_0, data_0Len_0, ad, adLen_0);
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*state_0).n += ((NI) 1);
#line 133 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w* T7_; NimStringDesc* T8_;
#line 133 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!((NU64)(18446744073709551614ULL) < (NU64)((*state_0).n))) goto LA5_;
T7_ = (tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w*)0; T7_ = (tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w*) newObj((&NTI__UMzWfkFSUe76ogFRLy6qvQ_), sizeof(tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w)); (*T7_).Sup.Sup.Sup.m_type = (&NTI__oGOlBdK5YcEKHgPKGJ7H6w_); (*T7_).Sup.Sup.name = "NoiseNonceMaxError"; T8_ = (NimStringDesc*)0; T8_ = (*T7_).Sup.Sup.message; (*T7_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_37)); if (T8_) nimGCunrefNoCycle(T8_); asgnRef((void**) (&(*T7_).Sup.Sup.parent), NIM_NIL);
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T7_, "NoiseNonceMaxError", "encrypt", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 134); }
LA5_: ;
}
#line 431 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(void, encryptFrame__XHD2vTYiIV4qVqJAaLaJlw)(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* sconn, NU8* cipherFrame, NI cipherFrameLen_0, NU8* src, NI srcLen_0) { tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T9_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_61; tyArray__bN9bddWn8oiNSHn2MqEJSZQ T10_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_62; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_63; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T11_; tyArray__qtqsWM5aXmcpMIVmvq3kAA tag; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_64; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_65; tyArray__ekVvh9bp9cVe7STNUL8R406w T12_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_66; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_67; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T13_;
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!!((srcLen_0 <= ((NI) 65487)))) goto LA3_;
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_55));
}
LA3_: ;
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_56; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_57;
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimAddInt(((NI) 2), srcLen_0, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_56)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_56), ((NI) 16), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_57)) { raiseOverflow(); }; if (!!((cipherFrameLen_0 == (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_57)))) goto LA7_;
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_58));
}
LA7_: ;
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T9_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 0), ((NI) 1));
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimAddInt(srcLen_0, ((NI) 16), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_61)) { raiseOverflow(); };
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)T10_, sizeof(tyArray__bN9bddWn8oiNSHn2MqEJSZQ)); toBytesBE__hCGzbNjQPv0JXmh9a9cZEFhgendians2(((NU16) ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_61))), T10_);
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
X5BX5Deq___PcCQmAfdUds9cWGauPahR7Q(cipherFrame, cipherFrameLen_0, T9_, T10_, 2);
#line 438 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 438 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 2406 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
#line 438 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 438 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimAddInt(((NI) 2), srcLen_0, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_62)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_62), ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_63)) { raiseOverflow(); };
#line 438 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T11_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 2), (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_63));
#line 438 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
X5BX5Deq___PcCQmAfdUds9cWGauPahR7Q(cipherFrame, cipherFrameLen_0, T11_, src, srcLen_0);
nimZeroMem((void*)tag, sizeof(tyArray__qtqsWM5aXmcpMIVmvq3kAA));
#line 440 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimAddInt(((NI) 2), srcLen_0, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_64)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_64), ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_65)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_65)-((NI) 2) != -1 && ((NU)(((NI) 2)) >= (NU)(cipherFrameLen_0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_65)) >= (NU)(cipherFrameLen_0))){ raiseIndexError(); }
#line 440 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
encrypt__syhJpy1lxWMYKGykXyTrRA((&(*sconn).writeCs), (NU8*)(cipherFrame)+(((NI) 2)), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_65))-(((NI) 2))+1, T12_, 0, tag);
#line 443 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 443 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 443 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 443 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimAddInt(((NI) 2), srcLen_0, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_66)) { raiseOverflow(); };
#line 2406 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
#line 443 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt(cipherFrameLen_0, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_67)) { raiseOverflow(); };
#line 443 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T13_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_66), (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_67));
#line 443 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
X5BX5Deq___PcCQmAfdUds9cWGauPahR7Q(cipherFrame, cipherFrameLen_0, T13_, tag, 16);
}
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, write__zchXY7Q6jPv5N1QZE7ucMA_3)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA*) ClE_0;
#line 446 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
while (1) { if (!1) goto LA1;
{ tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T23_; switch ((*colonenvP_).colonstate_) {
case -1:
goto BeforeRet_;
case 0: goto STATE0;
case 1: goto STATE1;
case 2: goto STATE2;
case 3: goto STATE3;
}
STATE0: ; { NI T10_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_50; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_51; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_52; NI T11_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_53; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_54; NI T12_; tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA* T15_; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T16_;
#line 446 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NI T6_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T9_;
#line 446 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 446 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T6_ = ((*(*colonenvP_).colonup_).message1 ? (*(*colonenvP_).colonup_).message1->Sup.len : 0); if (!(T6_ == ((NI) 0))) goto LA7_;
#line 445 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T9_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T9_ = srcLocImpl__wABM9buPCMh2wPy5s2csTSg();
#line 445 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__nHHWNIBkqCfVC3oe9a1ZdIQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, T9_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 447 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 445 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = NIM_NIL; goto BeforeRet_;
}
LA7_: ;
#line 452 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 452 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 452 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 452 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 452 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T10_ = ((*(*colonenvP_).colonup_).message1 ? (*(*colonenvP_).colonup_).message1->Sup.len : 0); if (nimAddInt(T10_, ((NI) 65487), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_50)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_50), ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_51)) { raiseOverflow(); }; if (((NI) 65487) == 0){ raiseDivByZero(); } if (nimDivInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_51), ((NI) 65487), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_52)) { raiseOverflow(); }; (*colonenvP_).frames3 = (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_52);
#line 455 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 455 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 455 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T11_ = ((*(*colonenvP_).colonup_).message1 ? (*(*colonenvP_).colonup_).message1->Sup.len : 0);
#line 455 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimMulInt((*colonenvP_).frames3, ((NI) 18), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_53)) { raiseOverflow(); }; if (nimAddInt(T11_, (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_53), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_54)) { raiseOverflow(); }; if (((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_54)) < ((NI) 0) || ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_54)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_54), ((NI) 0), ((NI) IL64(9223372036854775807))); }
#line 455 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenvP_).cipherFrames4), newSeqUninitialized__DpCWN7DIBuAjgoeQ9c29blYQ_2(((NI) ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_54)))));
#line 456 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 456 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T12_ = ((*(*colonenvP_).colonup_).message1 ? (*(*colonenvP_).colonup_).message1->Sup.len : 0); (*colonenvP_).left5 = T12_;
#line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).offset6 = ((NI) 0);
#line 458 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).woffset7 = ((NI) 0); {
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
while (1) { NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_68; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_69; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_70; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_71; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_72; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_73; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_74; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_75; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_76;
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!(((NI) 0) < (*colonenvP_).left5)) goto LA14;
#line 462 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 462 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).chunkSize8 = ((((NI) 65487) <= (*colonenvP_).left5) ? ((NI) 65487) : (*colonenvP_).left5);
#line 464 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimAddInt((*colonenvP_).woffset7, (*colonenvP_).chunkSize8, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_68)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_68), ((NI) 18), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_69)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_69), ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_70)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_70)-(*colonenvP_).woffset7 != -1 && ((NU)((*colonenvP_).woffset7) >= (NU)((*colonenvP_).cipherFrames4 ? (*colonenvP_).cipherFrames4->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_70)) >= (NU)((*colonenvP_).cipherFrames4 ? (*colonenvP_).cipherFrames4->Sup.len : 0))){ raiseIndexError(); }
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimAddInt((*colonenvP_).offset6, (*colonenvP_).chunkSize8, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_71)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_71), ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_72)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_72)-(*colonenvP_).offset6 != -1 && ((NU)((*colonenvP_).offset6) >= (NU)((*(*colonenvP_).colonup_).message1 ? (*(*colonenvP_).colonup_).message1->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_72)) >= (NU)((*(*colonenvP_).colonup_).message1 ? (*(*colonenvP_).colonup_).message1->Sup.len : 0))){ raiseIndexError(); }
#line 464 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
encryptFrame__XHD2vTYiIV4qVqJAaLaJlw((*(*colonenvP_).colonup_).sconn3, (NU8*)(*colonenvP_).cipherFrames4->data+((*colonenvP_).woffset7), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_70))-((*colonenvP_).woffset7)+1, (NU8*)(*(*colonenvP_).colonup_).message1->data+((*colonenvP_).offset6), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_72))-((*colonenvP_).offset6)+1);
#line 474 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 474 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt((*colonenvP_).left5, (*colonenvP_).chunkSize8, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_73)) { raiseOverflow(); }; (*colonenvP_).left5 = (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_73);
#line 475 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimAddInt((*colonenvP_).offset6, (*colonenvP_).chunkSize8, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_74)) { raiseOverflow(); }; (*colonenvP_).offset6 = (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_74);
#line 476 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 476 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimAddInt((*colonenvP_).chunkSize8, ((NI) 18), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_75)) { raiseOverflow(); }; if (nimAddInt((*colonenvP_).woffset7, (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_75), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_76)) { raiseOverflow(); }; (*colonenvP_).woffset7 = (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_76);
#line 477 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*(*(*colonenvP_).colonup_).sconn3).Sup.Sup.activity = NIM_TRUE; } LA14: ;
}
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture9 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 479 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 479 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T15_ = (tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA*)0; T15_ = &(*(*(*colonenvP_).colonup_).sconn3).Sup.stream->Sup;
#line 479 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T16_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T16_ = write__p9arEFb3fACdRSnfwdTMZuw(T15_, (*colonenvP_).cipherFrames4); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture9), &T16_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), (*colonenvP_).chronosInternalTmpFuture9);
#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_).chronosInternalTmpFuture9; goto BeforeRet_;
}
STATE1: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T21_; NimStringDesc* T22_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.mustCancel) goto LA19_;
T21_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T21_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T21_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T21_).Sup.Sup.Sup.name = "CancelledError"; T22_ = (NimStringDesc*)0; T22_ = (*T21_).Sup.Sup.Sup.message; (*T21_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T22_) nimGCunrefNoCycle(T22_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T21_, "CancelledError", "write", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA19_: ;
#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_).chronosInternalTmpFuture9);
#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_).chronosInternalTmpFuture9)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2);
#line 479 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE2: ;
#line 446 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.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"
T23_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T23_ = srcLocImpl__oL5TGl9bNRrpek5vyWTCABg();
#line 446 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__nHHWNIBkqCfVC3oe9a1ZdIQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, T23_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#line 0 "\?\?\?"
goto LA2;
STATE3: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 0 "\?\?\?"
goto LA2;
} LA2: ;
} LA1: ;
}BeforeRet_: ;
return result;}
#line 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, write_continue__PMjK8ZupMrLmiVKifSIWLw)(void* udataX60gensym149225255_, void* ClE_0) { tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA* colonenvP_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_77; colonenvP_ = (tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_77); TM__UYWm9bIxk9c4GHvcjnzpvpYw_77.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_77.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_77.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym149225256_;
#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_).nameIterVarX60gensym1492252544_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym149225256_ = (*colonenvP_).nameIterVarX60gensym1492252544_.ClP_0((*colonenvP_).nameIterVarX60gensym1492252544_.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_ = !((nextX60gensym149225256_ == 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(nextX60gensym149225256_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym149225256_ = (*colonenvP_).nameIterVarX60gensym1492252544_.ClP_0((*colonenvP_).nameIterVarX60gensym1492252544_.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_).nameIterVarX60gensym1492252544_); 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 (!(nextX60gensym149225256_ == NIM_NIL)) goto LA18_;
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T22_;
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T22_ = (NIM_BOOL)0; T22_ = finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop((*colonenvP_).chronosInternalRetFuture2); if (!!(T22_)) goto LA23_;
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseAssert__gpGJG5CoQzE64skFd9bPG7A(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_80));
}
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 = write_continue__PMjK8ZupMrLmiVKifSIWLw; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym149225256_, 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__UYWm9bIxk9c4GHvcjnzpvpYw_77.status = 0;
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T29_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T29_ = &(*colonenvP_).chronosInternalRetFuture2->Sup;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T30_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T30_ = srcLocImpl__79cY7uR9cmEURqRGzzdHerWg();
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
cancelAndSchedule__1MGH5bJdQgBtESf3VBBOvA_2(T29_, T30_);
popCurrentException(); }
else if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* excX60gensym149225258_; Exception* T32_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_77.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(); excX60gensym149225258_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T32_));
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T35_;
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T35_ = (NIM_BOOL)0; T35_ = finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop((*colonenvP_).chronosInternalRetFuture2); if (!T35_) goto LA36_;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)excX60gensym149225258_, "CatchableError", "write_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_ = &excX60gensym149225258_->Sup;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T40_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T40_ = srcLocImpl__Jr8Jfi7B2iUixKYroydjOg();
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
fail__SwGHbFJf49cefkD9a9cbvNyqA((*colonenvP_).chronosInternalRetFuture2, T39_, T40_);
}
LA33_: ;
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_77.status != 0) reraiseException();}
#line 445 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, write__G076fxs8tkO9cAR87vSNPUg)(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* sconn, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* message) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; colonenv_ = (tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA*) newObj((&NTI__0wwMc1vVqmCSgjs6UyvZIQ_), sizeof(tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA)); (*colonenv_).Sup.m_type = (&NTI__1FCzD3u4mknEtg9cy45oENA_);
#line 445 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).sconn3), sconn);
#line 445 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
genericSeqAssign((&(*colonenv_).message1), message, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_));
#line 445 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 445 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.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__49cFjFK2YSoPdY3gPNsOvlg();
#line 445 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).chronosInternalRetFuture2), newFutureImpl__wu9buovQIxiU3ndXmKRpnVw(T1_));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA*) newObj((&NTI__FAVDhobQKVaCymaQuDs3nQ_), sizeof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA)); (*colonenv__2).Sup.m_type = (&NTI__OiGp4B0N9ccK3ZeVqYyFbEA_);
#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 = write__zchXY7Q6jPv5N1QZE7ucMA_3; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym1492252544_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym1492252544_.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 = write_continue__PMjK8ZupMrLmiVKifSIWLw; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__UYWm9bIxk9c4GHvcjnzpvpYw_81)(T3_.ClP_0))(NIM_NIL);
#line 479 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenv_).chronosInternalRetFuture2; goto BeforeRet_;
}BeforeRet_: ;
return result;}
static N_NIMCALL(void, Marker_tyRef__qgzBoEGBqMGOP2w9cT9c6GxQ)(void* p, NI op) {
tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* a;
NI T1_; NI T2_; NI T3_; NI T4_; a = (tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg*)p;
nimGCvisit((void*)(*a).Sup.Sup.codecs, op); nimGCvisit((void*)(*a).Sup.Sup.handler.ClE_0, op); nimGCvisit((void*)(*a).rng, op); switch ((*a).localPrivateKey.scheme) {
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 0):
nimGCvisit((void*)(*a).localPrivateKey._scheme_1.rsakey, op); break;
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 1):
T1_ = (NI)0; break;
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 2):
T2_ = (NI)0; break;
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 3):
nimGCvisit((void*)(*a).localPrivateKey._scheme_4.eckey, op); break;
}
nimGCvisit((void*)(*a).localPublicKey, op); T3_ = (NI)0; T4_ = (NI)0; nimGCvisit((void*)(*a).commonPrologue, op);}
static N_NIMCALL(void, Marker_tyRef__jWzJccZcz9aOEcxYBCVb8qQ)(void* p, NI op) {
tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg* a;
a = (tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg*)p;
nimGCvisit((void*)(*a).conn1, op); nimGCvisit((void*)(*a).p3, op); nimGCvisit((void*)(*a).chronosInternalRetFuture4, op); nimGCvisit((void*)(*a).nameIterVarX60gensym1492951485_.ClE_0, op);}
static N_NIMCALL(void, Marker_tyRef__RH139cS9bkclfX9aI2VFVskbg)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ* a;
NI T1_; NI T2_; NI T3_; NI T4_; NI T5_; NI T6_; NI T7_; NI T8_; NI T9_; NI T10_; a = (tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ*)p;
T1_ = (NI)0; T2_ = (NI)0; nimGCvisit((void*)(*a).colontmpSlLower01_.remoteP2psecret, op); T3_ = (NI)0; nimGCvisit((void*)(*a).result2, op); nimGCvisit((void*)(*a).record3.output.buffer, op); nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).errX60gensym1493400195_, op); nimGCvisit((void*)(*a).signedPayload7.data, op); nimGCvisit((void*)(*a).libp2pProof8.buffer, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture9, op); nimGCvisit((void*)(*a).result10, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture11, op); T4_ = (NI)0; T5_ = (NI)0; nimGCvisit((void*)(*a).handshakeRes12.remoteP2psecret, op); T6_ = (NI)0; nimGCvisit((void*)(*a).secure13, op); nimGCvisit((void*)(*a).remoteProof14.buffer, op); switch ((*a).remotePubKey15.scheme) {
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 0):
nimGCvisit((void*)(*a).remotePubKey15._scheme_1.rsakey, op); break;
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 1):
T7_ = (NI)0; break;
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 2):
T8_ = (NI)0; break;
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 3):
nimGCvisit((void*)(*a).remotePubKey15._scheme_4.eckey, op); break;
}
nimGCvisit((void*)(*a).remotePubKeyBytes16, op); nimGCvisit((void*)(*a).remoteSig17.data, op); nimGCvisit((void*)(*a).remoteSigBytes18, op); switch ((*a).r119.o) {
case NIM_FALSE:
break;
case NIM_TRUE:
break;
}
switch ((*a).r220.o) {
case NIM_FALSE:
break;
case NIM_TRUE:
break;
}
nimGCvisit((void*)(*a).verifyPayload21, op); nimGCvisit((void*)(*a).record22.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14947001923_, op); switch ((*a).pid24.o) {
case NIM_FALSE:
break;
case NIM_TRUE:
nimGCvisit((void*)(*a).pid24._o_2.v.data, op); break;
}
switch ((*a).failedKey25.scheme) {
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 0):
nimGCvisit((void*)(*a).failedKey25._scheme_1.rsakey, op); break;
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 1):
T9_ = (NI)0; break;
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 2):
T10_ = (NI)0; break;
case ((tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg) 3):
nimGCvisit((void*)(*a).failedKey25._scheme_4.eckey, op); break;
}
nimGCvisit((void*)(*a).record26.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14955501927_, op); nimGCvisit((void*)(*a).tmp28, op); nimGCvisit((void*)(*a).record29.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14967001930_, op);}
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
static N_INLINE(void, tryGet__fUUXwq71T5lZxtHw9bDHKqAresults)(tyObject_Result__ZGY78kIl5s9a88zIUpvwquA self, tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q* Result) {
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
{
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!!(self.o)) goto LA3_;
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
raiseResultError__9bEWNaffPLA0w1iJf3HIyZA(self);
}
LA3_: ;
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_92)); } genericSeqAssign((&(*Result).data), self._o_2.v.data, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_));}
static N_NIMCALL(void, Marker_tyRef__0dCbhTiClWNv61EsVhvlqg)(void* p, NI op) {
tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q* a;
a = (tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q*)p;
nimGCvisit((void*)(*a).p1, op); nimGCvisit((void*)(*a).conn2, op); nimGCvisit((void*)(*a).chronosInternalRetFuture3, op); nimGCvisit((void*)(*a).p2pSecret4, op); nimGCvisit((void*)(*a).nameIterVarX60gensym1478500715_.ClE_0, op);}
static N_NIMCALL(void, Marker_tyRef__LLnYShTczSWMCe2pncZYUQ)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA* a;
NI T1_; NI T2_; NI T3_; NI T4_; NI T5_; NI T6_; NI T7_; NI T8_; NI T9_; NI T10_; NI T11_; NI T12_; NI T13_; NI T14_; a = (tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA*)p;
nimGCvisit((void*)(*a).colontmpSlLower01_, op); nimGCvisit((void*)(*a).coloncurExc2_, op); nimGCvisit((void*)(*a).colontmpResult3_, op); T1_ = (NI)0; T2_ = (NI)0; nimGCvisit((void*)(*a).result5.remoteP2psecret, op); T3_ = (NI)0; T4_ = (NI)0; T5_ = (NI)0; T6_ = (NI)0; T7_ = (NI)0; T8_ = (NI)0; T9_ = (NI)0; T10_ = (NI)0; T11_ = (NI)0; T12_ = (NI)0; nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).msg8.buf, op); nimGCvisit((void*)(*a).record9.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14790501910_, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture11, op); nimGCvisit((void*)(*a).result12, op); nimGCvisit((void*)(*a).record13.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14799001914_, op); nimGCvisit((void*)(*a).record15.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14808001916_, op); nimGCvisit((void*)(*a).record17.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14814001918_, op); nimGCvisit((void*)(*a).record20.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14824001921_, op); nimGCvisit((void*)(*a).remoteP2psecret22, op); nimGCvisit((void*)(*a).record23.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14830501924_, op); nimGCvisit((void*)(*a).record25.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14836501926_, op); T13_ = (NI)0; T14_ = (NI)0;}
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
static N_INLINE(void, closureIterSetupExc)(Exception* e) {
#line 127 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
asgnRef((void**) (&currException__9bVPeDJlYTi9bQApZpfH8wjg), e);}
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw, hashProtocol__5fP53p2JefNhkshmoV2C1Q)(NimStringDesc* name_0) { tyObject_MDigest__law9ct65KplMYBvtmjCQxbw result; nimZeroMem((void*)(&result), sizeof(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw));
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T5_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T6_;
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!((name_0 ? name_0->Sup.len : 0) <= ((NI) 32))) goto LA3_;
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T5_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 0), ((name_0 ? name_0->Sup.len : 0)-1));
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T6_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T6_ = toBytes__U4kZc2UAauSmATzOovzVMA(name_0);
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
X5BX5Deq___wCxLFNoF2DOiuJpFEiBO9cQ(result.data, T5_, T6_->data, (T6_ ? T6_->Sup.len : 0));
}
goto LA1_;
LA3_: ;
{
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = digest__CXo4xdrVR0UXF9aOcb9aJFYg(name_0->data, (name_0 ? name_0->Sup.len : 0)); }
LA1_: ;
return result;}
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA, init__1VnUpKuolNMcHZSGpH7xEg)(void) { tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA result; tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw T1_; nimZeroMem((void*)(&result), sizeof(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA));
#line 166 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 166 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result.h = hashProtocol__5fP53p2JefNhkshmoV2C1Q(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_99));
#line 167 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 167 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
intoChaChaPolyKey__JjGK4vp5v0i2Ac7VvyXdFg(result.h.data, 32, result.ck);
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&T1_), sizeof(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw)); nimCopyMem((void*)T1_.k, (NIM_CONST void*)EmptyKey__s30y9cj7S6M5rm2N9bjldi6Q, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); result.cs = T1_; return result;}
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ, init__ixq1bYlcPdN7uoNA8eIGEQ)(void) { tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ result; nimZeroMem((void*)(&result), sizeof(tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ));
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result.ss = init__1VnUpKuolNMcHZSGpH7xEg(); return result;}
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
static N_INLINE(void, init__C8fXqRtxb2ILgkwYRN3qiQsha2)(tyObject_Sha2Context__5brAquljQjPUyNuIC4vV1w* ctx) {
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).count[(((NI) 0))- 0] = ((NU32) 0);
#line 136 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).count[(((NI) 1))- 0] = ((NU32) 0);
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).state[(((NI) 0))- 0] = ((NU32) 1779033703);
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).state[(((NI) 1))- 0] = ((NU32) IL64(3144134277));
#line 149 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).state[(((NI) 2))- 0] = ((NU32) 1013904242);
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).state[(((NI) 3))- 0] = ((NU32) IL64(2773480762));
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).state[(((NI) 4))- 0] = ((NU32) 1359893119);
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).state[(((NI) 5))- 0] = ((NU32) IL64(2600822924));
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).state[(((NI) 6))- 0] = ((NU32) 528734635);
#line 154 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).state[(((NI) 7))- 0] = ((NU32) 1541459225);}
#line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
static N_INLINE(void, update__JVKV5lsc6z00iHHbNwyg9bAsha2)(tyObject_Sha2Context__5brAquljQjPUyNuIC4vV1w* ctx, NU8* data_0, NI data_0Len_0) { NI pos; NI length;
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
pos = ((NI) 0);
#line 461 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
#line 461 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
length = data_0Len_0; {
#line 464 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
while (1) { NI offset; NI size; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_100; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_101; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_102; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_103;
#line 464 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
if (!(((NI) 0) < length)) goto LA2;
#line 465 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
#line 465 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
offset = ((NI) ((NU32)((*ctx).count[(((NI) 0))- 0] & ((NU32) 63))));
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
if (nimSubInt(((NI) 64), offset, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_100)) { raiseOverflow(); }; size = (((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_100) <= length) ? (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_100) : length);
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
if ((NU)(offset) > (NU)(63)){ raiseIndexError2(offset, 63); } if ((NU)(pos) >= (NU)(data_0Len_0)){ raiseIndexError2(pos,data_0Len_0-1); }
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
if (nimMulInt(size, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_101)) { raiseOverflow(); }; if (((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_101)) < ((NI) 0) || ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_101)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_101), ((NI) 0), ((NI) IL64(9223372036854775807))); }
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*ctx).buffer[(offset)- 0]))), ((void*) ((&data_0[pos]))), ((NI) ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_101))));
#line 468 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
#line 468 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
if (nimAddInt(pos, size, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_102)) { raiseOverflow(); }; pos = (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_102);
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
if (nimSubInt(length, size, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_103)) { raiseOverflow(); }; length = (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_103);
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).count[(((NI) 0))- 0] = (NU32)((NU32)((*ctx).count[(((NI) 0))- 0]) + (NU32)(((NU32) (size))));
#line 471 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
{
#line 471 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
if (!((NU32)((*ctx).count[(((NI) 0))- 0]) < (NU32)(((NU32) (size))))) goto LA5_;
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
(*ctx).count[(((NI) 1))- 0] = (NU32)((NU32)((*ctx).count[(((NI) 1))- 0]) + (NU32)(((NU32) 1))); }
LA5_: ;
#line 473 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
{
#line 473 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
#line 473 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
if (!((NU32)((*ctx).count[(((NI) 0))- 0] & ((NU32) 63)) == ((NU32) 0))) goto LA9_;
#line 474 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
#line 474 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/sha2.nim"
sha256Transform__BJNBQtWr9bJwzqbyfKXd38Q((*ctx).state, (*ctx).buffer, 64);
}
LA9_: ;
} LA2: ;
}
}
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(void, mixHash__WyC4hfyTbbwc6VDP3xuMwA)(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA* ss, NU8* data_0, NI data_0Len_0) { tyObject_Sha2Context__5brAquljQjPUyNuIC4vV1w ctx; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_104; nimZeroMem((void*)(&ctx), sizeof(tyObject_Sha2Context__5brAquljQjPUyNuIC4vV1w));
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
init__C8fXqRtxb2ILgkwYRN3qiQsha2((&ctx));
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
update__JVKV5lsc6z00iHHbNwyg9bAsha2((&ctx), (*ss).h.data, 32);
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
update__JVKV5lsc6z00iHHbNwyg9bAsha2((&ctx), data_0, data_0Len_0);
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*ss).h = finish__x70ALeeaQ1ry9a63hdOCQWA((&ctx));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_104); TM__UYWm9bIxk9c4GHvcjnzpvpYw_104.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_104.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_104.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_105;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_105); TM__UYWm9bIxk9c4GHvcjnzpvpYw_105.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_105.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_105.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T4_; NimStringDesc* T5_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_106));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T4_ = (NI)0; T4_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T4_);
#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"
T5_ = (NimStringDesc*)0; T5_ = shortLog__t8DD2nZSoPvV28s0XouGjw((*ss).h.data, 32);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_107), T5_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
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* errX60gensym147490019_; Exception* T8_; Exception* T9_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_105.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T8_ = (Exception*)0; T8_ = getCurrentException(); errX60gensym147490019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T8_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T9_ = (Exception*)0; T9_ = &errX60gensym147490019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("mixHash", T9_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_105.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_104.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_104.status != 0) reraiseException();}
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ, genKeyPair__uM9a2wE3eF9bencNK88hbdBQ)(br_hmac_drbg_context* rng_0) { tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ result; nimZeroMem((void*)(&result), sizeof(tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ));
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
random__UvoqRnqrR9b9cpFTFwPYNjww(rng_0, result.privateKey);
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
public__m9ciw2UsJ1wFFqS9ara6o9bLQ(result.privateKey, result.publicKey);
return result;}
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasKey__6XENeg2juAuCf19bl5p5AGQ)(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw* cs) { NIM_BOOL result; NIM_BOOL T1_; result = (NIM_BOOL)0;
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T1_ = (NIM_BOOL)0; T1_ = eqeq___9cCVSCLPjOxZxic09c7QiZVQ((*cs).k, EmptyKey__s30y9cj7S6M5rm2N9bjldi6Q); result = !(T1_); return result;}
#line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
static N_INLINE(NimStringDesc*, toHex__lqmu9c0FuSpuQiAj5oTzetAbyteutils)(tyArray__qtqsWM5aXmcpMIVmvq3kAA ba) { NimStringDesc* result; result = (NimStringDesc*)0;
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
result = toHexAux__mTF3iGytPXR76nCDQ9aqz9cw(ba, 16); return result;}
#line 136 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encryptWithAd__soenswleYHdsmp8YBBbiog_2)(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw* state_0, NU8* ad, NI adLen_0, NU8* data_0, NI data_0Len_0) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_111; tyArray__qtqsWM5aXmcpMIVmvq3kAA tag; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_112; result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 137 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 137 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 137 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 137 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimAddInt(data_0Len_0, ((NI) 16), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_111)) { raiseOverflow(); }; if (((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_111)) < ((NI) 0) || ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_111)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_111), ((NI) 0), ((NI) IL64(9223372036854775807))); } result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)nimNewSeqOfCap((&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_), ((NI) ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_111))));
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__dBX55hEvlLvqcAQw6nEieA((&result), data_0, data_0Len_0);
nimZeroMem((void*)tag, sizeof(tyArray__qtqsWM5aXmcpMIVmvq3kAA));
#line 140 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 140 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
encrypt__syhJpy1lxWMYKGykXyTrRA(state_0, result->data, (result ? result->Sup.len : 0), ad, adLen_0, tag);
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__dBX55hEvlLvqcAQw6nEieA((&result), tag, 16);
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_112); TM__UYWm9bIxk9c4GHvcjnzpvpYw_112.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_112.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_112.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_113;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_113); TM__UYWm9bIxk9c4GHvcjnzpvpYw_113.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_113.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_113.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T4_; NimStringDesc* T5_; NimStringDesc* T6_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_114));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T4_ = (NI)0; T4_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T4_);
#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"
T5_ = (NimStringDesc*)0; T5_ = toHex__lqmu9c0FuSpuQiAj5oTzetAbyteutils(tag);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_115), T5_);
#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"
T6_ = (NimStringDesc*)0; T6_ = shortLog__t8DD2nZSoPvV28s0XouGjw(result->data, (result ? result->Sup.len : 0));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_35), T6_);
#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 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__50289csYrKtPg4aO7cz9co9aQ((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_32), (NU64)((NU64)((*state_0).n) - (NU64)(1ULL)));
#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* errX60gensym147165019_; Exception* T9_; Exception* T10_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_113.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T9_ = (Exception*)0; T9_ = getCurrentException(); errX60gensym147165019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T9_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T10_ = (Exception*)0; T10_ = &errX60gensym147165019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("encryptWithAd", T10_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_113.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_112.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_112.status != 0) reraiseException(); return result;}
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encryptAndHash__eheZlc6zkVwv8MKEHCKYcg)(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA* ss, NU8* data_0, NI data_0Len_0) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result; result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T3_;
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T3_ = (NIM_BOOL)0; T3_ = hasKey__6XENeg2juAuCf19bl5p5AGQ((&(*ss).cs)); if (!T3_) goto LA4_;
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = encryptWithAd__soenswleYHdsmp8YBBbiog_2((&(*ss).cs), (*ss).h.data, 32, data_0, data_0Len_0); }
goto LA1_;
LA4_: ;
{
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = at___FKhCG9aXnVoTuyjERVXzd2g(data_0, data_0Len_0); }
LA1_: ;
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixHash__WyC4hfyTbbwc6VDP3xuMwA(ss, result->data, (result ? result->Sup.len : 0));
return result;}
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, writeFrame__GziCLt5DyvlkvlJ1nyM19bg_2)(tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* sconn, NU8* buf_0, NI buf_0Len_0) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; NU16 lesize; tyArray__bN9bddWn8oiNSHn2MqEJSZQ besize; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* outbuf; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_117; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_118; tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA* T17_; result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0;
#line 302 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 302 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{
#line 302 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 302 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 302 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!!((buf_0Len_0 <= ((NI) 65535)))) goto LA3_;
#line 302 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 302 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_116));
}
LA3_: ;
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
lesize = ((NU16) (buf_0Len_0)); nimZeroMem((void*)besize, sizeof(tyArray__bN9bddWn8oiNSHn2MqEJSZQ));
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
toBytesBE__hCGzbNjQPv0JXmh9a9cZEFhgendians2(lesize, besize);
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimAddInt(((NI) 2), buf_0Len_0, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_117)) { raiseOverflow(); }; if (((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_117)) < ((NI) 0) || ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_117)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_117), ((NI) 0), ((NI) IL64(9223372036854775807))); } outbuf = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)nimNewSeqOfCap((&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_), ((NI) ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_117))));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_118); TM__UYWm9bIxk9c4GHvcjnzpvpYw_118.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_118.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_118.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_119;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_119); TM__UYWm9bIxk9c4GHvcjnzpvpYw_119.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_119.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_119.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T8_; NimStringDesc* T9_; NimStringDesc* 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) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_120));
#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"
T8_ = (NI)0; T8_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T8_);
#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"
T9_ = (NimStringDesc*)0; T9_ = shortLog__Fso3jK7jRMeiF9aFUl9as7gw(sconn);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_16), T9_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__qtRbDAVlLxLr29ctXnaT9aOA((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_17), lesize);
#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_ = (NimStringDesc*)0; T10_ = shortLog__t8DD2nZSoPvV28s0XouGjw(buf_0, buf_0Len_0);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_35), 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* errX60gensym147725019_; Exception* T13_; Exception* T14_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_119.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(); errX60gensym147725019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T13_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T14_ = (Exception*)0; T14_ = &errX60gensym147725019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("writeFrame", T14_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_119.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_118.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_118.status != 0) reraiseException();
#line 308 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 308 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__dBX55hEvlLvqcAQw6nEieA((&outbuf), besize, 2);
#line 309 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 309 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__dBX55hEvlLvqcAQw6nEieA((&outbuf), buf_0, buf_0Len_0);
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T17_ = (tyObject_LPStreamcolonObjectType___joBk8a9cI3145at9czM2g6aA*)0; T17_ = &sconn->Sup;
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = write__p9arEFb3fACdRSnfwdTMZuw(T17_, outbuf); return result;}
#line 313 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, sendHSMessage__GziCLt5DyvlkvlJ1nyM19bg)(tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* sconn, NU8* buf_0, NI buf_0Len_0) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0;
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = writeFrame__GziCLt5DyvlkvlJ1nyM19bg_2(sconn, buf_0, buf_0Len_0); return result;}
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
static N_INLINE(void, burnMem__M2x8hwpT3MlFvg9a6qocCMwutils)(tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ* a) {
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
burnMem__haAOjkJjOuRy8ux9bV57dXw(((void*) (a)), ((NI) 296));
}
#line 312 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*, receiveHSMessage__LG9cVt3bjJFYr5hmIqSOzYQ_2)(tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* sconn) { tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* result; result = (tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*)0;
#line 312 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 312 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = readFrame__LG9cVt3bjJFYr5hmIqSOzYQ(sconn); return result;}
static N_NIMCALL(void, Marker_tyRef__lVduX0HkImCKAngD9aYQCBQ)(void* p, NI op) {
tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* a;
a = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)p;
nimGCvisit((void*)(*a).Sup.Sup.parent, op); nimGCvisit((void*)(*a).Sup.Sup.message, op); nimGCvisit((void*)(*a).Sup.Sup.trace, op); nimGCvisit((void*)(*a).Sup.Sup.up, op);}
#line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw, dotdot___vcZJM9c08o2y9b2gLXJZAPiQsystem)(NI a, NI b) { tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw result; nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw));
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw)); result.a = a; result.b = b; return result;}
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(void, mixKey__M4Q9axvA5uVnyPkZaKLa3uQ)(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA* ss, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg ikm) { tyArray__iTh1U8kJ9c9an8d9b9aCWx0fPA temp_keys; tyArray__ekVvh9bp9cVe7STNUL8R406w T1_; tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw T2_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_134; nimZeroMem((void*)temp_keys, sizeof(tyArray__iTh1U8kJ9c9an8d9b9aCWx0fPA));
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
hkdf__8kL4D1rPlBOjUmnHNh872A((*ss).ck, 32, ikm, 32, T1_, 0, temp_keys, 2);
#line 174 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimCopyMem((void*)(*ss).ck, (NIM_CONST void*)temp_keys[(((NI) 0))- 0], sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg));
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&T2_), sizeof(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw)); nimCopyMem((void*)T2_.k, (NIM_CONST void*)temp_keys[(((NI) 1))- 0], sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); (*ss).cs = T2_;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_134); TM__UYWm9bIxk9c4GHvcjnzpvpYw_134.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_134.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_134.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_135;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_135); TM__UYWm9bIxk9c4GHvcjnzpvpYw_135.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_135.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_135.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T6_; NimStringDesc* T7_; nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&record)); nimZeroMem((void*)(&record), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&record), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_136));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T6_ = (NI)0; T6_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T6_);
#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"
T7_ = (NimStringDesc*)0; T7_ = shortLog__t8DD2nZSoPvV28s0XouGjw((*ss).cs.k, 32);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_137), T7_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
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* errX60gensym147425019_; Exception* T10_; Exception* T11_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_135.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T10_ = (Exception*)0; T10_ = getCurrentException(); errX60gensym147425019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T10_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T11_ = (Exception*)0; T11_ = &errX60gensym147425019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("mixKey", T11_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_135.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_134.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_134.status != 0) reraiseException();}
#line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(void, dh__D9b89cbOfAMoxJppVJ3ahUOg)(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg priv, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg pub, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg Result) {
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimCopyMem((void*)Result, (NIM_CONST void*)pub, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg));
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mul__hLDEFWBpnhfm4tQ3LkfzuQ(Result, priv);
}
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, decryptAndHash__eheZlc6zkVwv8MKEHCKYcg_2)(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA* ss, NU8* data_0, NI data_0Len_0) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result; result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 205 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T3_;
#line 205 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 205 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T3_ = (NIM_BOOL)0; T3_ = hasKey__6XENeg2juAuCf19bl5p5AGQ((&(*ss).cs)); if (!T3_) goto LA4_;
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = decryptWithAd__soenswleYHdsmp8YBBbiog((&(*ss).cs), (*ss).h.data, 32, data_0, data_0Len_0); }
goto LA1_;
LA4_: ;
{
#line 208 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 208 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = at___FKhCG9aXnVoTuyjERVXzd2g(data_0, data_0Len_0); }
LA1_: ;
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixHash__WyC4hfyTbbwc6VDP3xuMwA(ss, data_0, data_0Len_0);
return result;}
#line 211 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyTuple__Wuf3jB5MdvsLSYuk9cZVtfg, split__yNiwLkbSP5ZLycopSDGTnQ)(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA* ss) { tyTuple__Wuf3jB5MdvsLSYuk9cZVtfg result; tyArray__iTh1U8kJ9c9an8d9b9aCWx0fPA temp_keys; tyArray__ekVvh9bp9cVe7STNUL8R406w T1_; tyArray__ekVvh9bp9cVe7STNUL8R406w T2_; tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw colontmp_; tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw colontmp__2;{ nimZeroMem((void*)(&result), sizeof(tyTuple__Wuf3jB5MdvsLSYuk9cZVtfg)); nimZeroMem((void*)temp_keys, sizeof(tyArray__iTh1U8kJ9c9an8d9b9aCWx0fPA));
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
hkdf__8kL4D1rPlBOjUmnHNh872A((*ss).ck, 32, T1_, 0, T2_, 0, temp_keys, 2);
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
chckNil((void*)(&colontmp_)); nimZeroMem((void*)(&colontmp_), sizeof(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw)); nimCopyMem((void*)colontmp_.k, (NIM_CONST void*)temp_keys[(((NI) 0))- 0], sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg));
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
chckNil((void*)(&colontmp__2)); nimZeroMem((void*)(&colontmp__2), sizeof(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw)); nimCopyMem((void*)colontmp__2.k, (NIM_CONST void*)temp_keys[(((NI) 1))- 0], sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg));
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result.Field0 = colontmp_; result.Field1 = colontmp__2; goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, handshakeXXOutbound__zchXY7Q6jPv5N1QZE7ucMA_5)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile result; tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA*) ClE_0;
#line 319 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
while (1) { if (!1) goto LA1;
{ TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_98;
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_98); TM__UYWm9bIxk9c4GHvcjnzpvpYw_98.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_98.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_98.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_108; tyArray__ekVvh9bp9cVe7STNUL8R406w T15_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T16_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_121; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T17_; tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* T33_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_122; tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw T56_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_128; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_129; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_130; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_131; tyArray__vEOa9c5qaE9ajWxR5R4zwfQg T67_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_138; tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw T96_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_145; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_146; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_147; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_148; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T97_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_149; tyArray__vEOa9c5qaE9ajWxR5R4zwfQg T108_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_152; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_153; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T119_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_156; tyArray__vEOa9c5qaE9ajWxR5R4zwfQg T130_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T131_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_159; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T132_; tyTuple__Wuf3jB5MdvsLSYuk9cZVtfg colontmp_; tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg T139_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T140_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T141_;
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
closureIterSetupExc((*colonenvP_).coloncurExc2_);
switch ((*colonenvP_).colonstate_) {
case -1:
popSafePoint(); goto BeforeRet_;
case 0: goto STATE0;
case 1: goto STATE1;
case 2: goto STATE2;
case 3: goto STATE3;
case 4: goto STATE4;
case 5: goto STATE5;
case 6: goto STATE6;
case 7: goto STATE7;
case 8: goto STATE8;
case 9: goto STATE9;
case 10: goto STATE10;
case 11: goto STATE11;
}
STATE0: ;
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&(*colonenvP_).result5), sizeof(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg)); {
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).hs6 = init__ixq1bYlcPdN7uoNA8eIGEQ();
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1); popSafePoint();
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
}
STATE1: ;
#line 325 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 325 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixHash__WyC4hfyTbbwc6VDP3xuMwA((&(*colonenvP_).hs6.ss), (*(*(*colonenvP_).colonup_).p1).commonPrologue->data, ((*(*(*colonenvP_).colonup_).p1).commonPrologue ? (*(*(*colonenvP_).colonup_).p1).commonPrologue->Sup.len : 0));
#line 326 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).hs6.s = (*(*(*colonenvP_).colonup_).p1).noiseKeys;
#line 329 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&(*colonenvP_).msg8), sizeof(tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_108); TM__UYWm9bIxk9c4GHvcjnzpvpYw_108.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_108.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_108.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_109;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_109); TM__UYWm9bIxk9c4GHvcjnzpvpYw_109.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_109.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_109.status == 0) { { NI T8_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record9), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&(*colonenvP_).record9)); unsureAsgnRef((void**)&(*colonenvP_).record9.output.buffer, NIM_NIL); (*colonenvP_).record9.level = 0;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&(*colonenvP_).record9), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_110));
#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"
T8_ = (NI)0; T8_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record9), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T8_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&(*colonenvP_).record9));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&(*colonenvP_).record9));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T11_; Exception* T12_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_109.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T11_ = (Exception*)0; T11_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14790501910_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T11_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T12_ = (Exception*)0; T12_ = &(*colonenvP_).errX60gensym14790501910_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise write e", T12_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_109.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_108.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_108.status != 0) reraiseException();
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).hs6.e = genKeyPair__uM9a2wE3eF9bencNK88hbdBQ((*(*(*colonenvP_).colonup_).p1).rng);
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__nLxiBWxsEm2pf6j3XOMb3A((&(*colonenvP_).msg8), (*colonenvP_).hs6.e.publicKey, 32);
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixHash__WyC4hfyTbbwc6VDP3xuMwA((&(*colonenvP_).hs6.ss), (*colonenvP_).hs6.e.publicKey, 32);
#line 334 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 334 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 334 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T16_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T16_ = encryptAndHash__eheZlc6zkVwv8MKEHCKYcg((&(*colonenvP_).hs6.ss), T15_, 0);
#line 334 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__nLxiBWxsEm2pf6j3XOMb3A((&(*colonenvP_).msg8), T16_->data, (T16_ ? T16_->Sup.len : 0));
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture11 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 336 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 336 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimSubInt((*colonenvP_).msg8.wpos, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_121)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_121)-(*colonenvP_).msg8.rpos != -1 && ((NU)((*colonenvP_).msg8.rpos) >= (NU)((*colonenvP_).msg8.buf ? (*colonenvP_).msg8.buf->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_121)) >= (NU)((*colonenvP_).msg8.buf ? (*colonenvP_).msg8.buf->Sup.len : 0))){ raiseIndexError(); }
#line 336 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T17_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T17_ = sendHSMessage__GziCLt5DyvlkvlJ1nyM19bg((*(*colonenvP_).colonup_).conn2, (NU8*)(*colonenvP_).msg8.buf->data+((*colonenvP_).msg8.rpos), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_121))-((*colonenvP_).msg8.rpos)+1); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture11), &T17_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.child), (*colonenvP_).chronosInternalTmpFuture11);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#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_).chronosInternalTmpFuture11; popSafePoint(); goto BeforeRet_;
STATE2: ;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
burnMem__M2x8hwpT3MlFvg9a6qocCMwutils((&(*colonenvP_).hs6));
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ if (!(*colonenvP_).colonunrollFinally4_) goto LA20_;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!((*colonenvP_).coloncurExc2_ == NIM_NIL)) goto LA24_;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenvP_).colontmpResult3_; popSafePoint(); goto BeforeRet_;
}
goto LA22_;
LA24_: ;
{
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
closureIterSetupExc(NIM_NIL);
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)(*colonenvP_).coloncurExc2_, "Exception", "handshakeXXOutbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 363); }
LA22_: ;
}
LA20_: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 10); popSafePoint();
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE3: ;
#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* T31_; NimStringDesc* T32_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.mustCancel) goto LA29_;
T31_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T31_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T31_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T31_).Sup.Sup.Sup.name = "CancelledError"; T32_ = (NimStringDesc*)0; T32_ = (*T31_).Sup.Sup.Sup.message; (*T31_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T32_) nimGCunrefNoCycle(T32_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T31_, "CancelledError", "handshakeXXOutbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA29_: ;
#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_).chronosInternalTmpFuture11);
#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_).chronosInternalTmpFuture11)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4); popSafePoint();
#line 336 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE4: ;
#line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T33_ = (tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*)0; T33_ = receiveHSMessage__LG9cVt3bjJFYr5hmIqSOzYQ_2((*(*colonenvP_).colonup_).conn2); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture11), &T33_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.child), (*colonenvP_).chronosInternalTmpFuture11);
#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_).chronosInternalTmpFuture11; popSafePoint(); goto BeforeRet_;
STATE5: ;
#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* T38_; NimStringDesc* T39_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.mustCancel) goto LA36_;
T38_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T38_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T38_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T38_).Sup.Sup.Sup.name = "CancelledError"; T39_ = (NimStringDesc*)0; T39_ = (*T38_).Sup.Sup.Sup.message; (*T38_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T39_) nimGCunrefNoCycle(T39_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T38_, "CancelledError", "handshakeXXOutbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA36_: ;
#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_).chronosInternalTmpFuture11);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 6); popSafePoint();
#line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE6: ;
#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"
asgnRef((void**) (&(*colonenvP_).colontmpSlLower01_), internalRead__PkaI2I4xSJzS7FEcHwUvGAasyncloop(((tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*) ((*colonenvP_).chronosInternalTmpFuture11))));
#line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
assign__mb80c6kk9afYP1X3BdP4DGQ((&(*colonenvP_).msg8), (*colonenvP_).colontmpSlLower01_->data, ((*colonenvP_).colontmpSlLower01_ ? (*colonenvP_).colontmpSlLower01_->Sup.len : 0));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 7); popSafePoint();
#line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE7: ;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_122); TM__UYWm9bIxk9c4GHvcjnzpvpYw_122.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_122.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_122.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_123;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_123); TM__UYWm9bIxk9c4GHvcjnzpvpYw_123.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_123.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_123.status == 0) { { NI T43_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_125;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record13), 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_).record13)); unsureAsgnRef((void**)&(*colonenvP_).record13.output.buffer, NIM_NIL); (*colonenvP_).record13.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_).record13), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_124));
#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"
T43_ = (NI)0; T43_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T43_);
#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"
if (nimSubInt((*colonenvP_).msg8.wpos, (*colonenvP_).msg8.rpos, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_125)) { raiseOverflow(); };
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_17), (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_125));
#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_).record13));
#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_).record13));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T46_; Exception* T47_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_123.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T46_ = (Exception*)0; T46_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14799001914_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T46_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T47_ = (Exception*)0; T47_ = &(*colonenvP_).errX60gensym14799001914_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise read e", T47_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_123.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_122.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_122.status != 0) reraiseException();
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_126; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T54_; NimStringDesc* T55_;
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt((*colonenvP_).msg8.wpos, (*colonenvP_).msg8.rpos, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_126)) { raiseOverflow(); }; if (!((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_126) < ((NI) 32))) goto LA52_;
T54_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T54_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T54_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T54_).Sup.Sup.name = "NoiseHandshakeError"; T55_ = (NimStringDesc*)0; T55_ = (*T54_).Sup.Sup.message; (*T54_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_127)); if (T55_) nimGCunrefNoCycle(T55_); asgnRef((void**) (&(*T54_).Sup.Sup.parent), NIM_NIL);
#line 263 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T54_, "NoiseHandshakeError", "handshakeXXOutbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 263); }
LA52_: ;
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T56_ = dotdot___vcZJM9c08o2y9b2gLXJZAPiQsystem(((NI) 0), ((NI) 31));
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimAddInt((*colonenvP_).msg8.rpos, ((NI) 0), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_128)) { raiseOverflow(); };
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimAddInt((*colonenvP_).msg8.rpos, ((NI) 31), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_129)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_129), ((NI) 0), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_130)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_130)-(NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_128) != -1 && ((NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_128)) >= (NU)((*colonenvP_).msg8.buf ? (*colonenvP_).msg8.buf->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_130)) >= (NU)((*colonenvP_).msg8.buf ? (*colonenvP_).msg8.buf->Sup.len : 0))){ raiseIndexError(); }
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
X5BX5Deq___P72kWTovFelyc9be7EgESHg((*colonenvP_).hs6.re, T56_, (NU8*)(*colonenvP_).msg8.buf->data+((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_128)), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_130))-((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_128))+1);
#line 267 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 267 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
consume__dQZP3R2k8Hck9b65H7KHXrA_2((&(*colonenvP_).msg8), ((NI) 32));
#line 268 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 268 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixHash__WyC4hfyTbbwc6VDP3xuMwA((&(*colonenvP_).hs6.ss), (*colonenvP_).hs6.re, 32);
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_131); TM__UYWm9bIxk9c4GHvcjnzpvpYw_131.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_131.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_131.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_132;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_132); TM__UYWm9bIxk9c4GHvcjnzpvpYw_132.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_132.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_132.status == 0) { { NI T60_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record15), 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_).record15)); unsureAsgnRef((void**)&(*colonenvP_).record15.output.buffer, NIM_NIL); (*colonenvP_).record15.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_).record15), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_133));
#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"
T60_ = (NI)0; T60_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record15), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T60_);
#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_).record15));
#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_).record15));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T63_; Exception* T64_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_132.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T63_ = (Exception*)0; T63_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14808001916_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T63_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T64_ = (Exception*)0; T64_ = &(*colonenvP_).errX60gensym14808001916_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise dh ee", T64_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_132.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_131.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_131.status != 0) reraiseException();
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)T67_, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); dh__D9b89cbOfAMoxJppVJ3ahUOg((*colonenvP_).hs6.e.privateKey, (*colonenvP_).hs6.re, T67_);
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixKey__M4Q9axvA5uVnyPkZaKLa3uQ((&(*colonenvP_).hs6.ss), T67_);
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_138); TM__UYWm9bIxk9c4GHvcjnzpvpYw_138.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_138.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_138.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_139;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_139); TM__UYWm9bIxk9c4GHvcjnzpvpYw_139.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_139.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_139.status == 0) { { NI T71_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_141;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record17), 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_).record17)); unsureAsgnRef((void**)&(*colonenvP_).record17.output.buffer, NIM_NIL); (*colonenvP_).record17.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_).record17), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_140));
#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"
T71_ = (NI)0; T71_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record17), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T71_);
#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"
if (nimSubInt((*colonenvP_).msg8.wpos, (*colonenvP_).msg8.rpos, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_141)) { raiseOverflow(); };
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record17), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_17), (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_141));
#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_).record17));
#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_).record17));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T74_; Exception* T75_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_139.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T74_ = (Exception*)0; T74_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14814001918_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T74_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T75_ = (Exception*)0; T75_ = &(*colonenvP_).errX60gensym14814001918_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise read s", T75_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_139.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_138.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_138.status != 0) reraiseException();
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T80_;
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T80_ = (NIM_BOOL)0; T80_ = hasKey__6XENeg2juAuCf19bl5p5AGQ((&(*colonenvP_).hs6.ss.cs)); if (!T80_) goto LA81_;
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_142; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T87_; NimStringDesc* T88_;
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt((*colonenvP_).msg8.wpos, (*colonenvP_).msg8.rpos, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_142)) { raiseOverflow(); }; if (!((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_142) < ((NI) 48))) goto LA85_;
T87_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T87_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T87_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T87_).Sup.Sup.name = "NoiseHandshakeError"; T88_ = (NimStringDesc*)0; T88_ = (*T87_).Sup.Sup.message; (*T87_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_143)); if (T88_) nimGCunrefNoCycle(T88_); asgnRef((void**) (&(*T87_).Sup.Sup.parent), NIM_NIL);
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T87_, "NoiseHandshakeError", "handshakeXXOutbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 278); }
LA85_: ;
(*colonenvP_).rsLenX60gensym14810520219_ = ((NI) 48); }
goto LA78_;
LA81_: ;
{
#line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_144; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T94_; NimStringDesc* T95_;
#line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt((*colonenvP_).msg8.wpos, (*colonenvP_).msg8.rpos, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_144)) { raiseOverflow(); }; if (!((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_144) < ((NI) 32))) goto LA92_;
T94_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T94_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T94_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T94_).Sup.Sup.name = "NoiseHandshakeError"; T95_ = (NimStringDesc*)0; T95_ = (*T94_).Sup.Sup.message; (*T94_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_143)); if (T95_) nimGCunrefNoCycle(T95_); asgnRef((void**) (&(*T94_).Sup.Sup.parent), NIM_NIL);
#line 282 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T94_, "NoiseHandshakeError", "handshakeXXOutbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 282); }
LA92_: ;
(*colonenvP_).rsLenX60gensym14810520219_ = ((NI) 32); }
LA78_: ;
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T96_ = dotdot___vcZJM9c08o2y9b2gLXJZAPiQsystem(((NI) 0), ((NI) 31));
#line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimAddInt((*colonenvP_).msg8.rpos, ((NI) 0), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_145)) { raiseOverflow(); };
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
#line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt((*colonenvP_).rsLenX60gensym14810520219_, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_146)) { raiseOverflow(); }; if (nimAddInt((*colonenvP_).msg8.rpos, (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_146), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_147)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_147), ((NI) 0), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_148)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_148)-(NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_145) != -1 && ((NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_145)) >= (NU)((*colonenvP_).msg8.buf ? (*colonenvP_).msg8.buf->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_148)) >= (NU)((*colonenvP_).msg8.buf ? (*colonenvP_).msg8.buf->Sup.len : 0))){ raiseIndexError(); }
#line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T97_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T97_ = decryptAndHash__eheZlc6zkVwv8MKEHCKYcg_2((&(*colonenvP_).hs6.ss), (NU8*)(*colonenvP_).msg8.buf->data+((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_145)), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_148))-((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_145))+1);
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
X5BX5Deq___P72kWTovFelyc9be7EgESHg((*colonenvP_).hs6.rs, T96_, T97_->data, (T97_ ? T97_->Sup.len : 0));
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
consume__dQZP3R2k8Hck9b65H7KHXrA_2((&(*colonenvP_).msg8), (*colonenvP_).rsLenX60gensym14810520219_);
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_149); TM__UYWm9bIxk9c4GHvcjnzpvpYw_149.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_149.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_149.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_150;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_150); TM__UYWm9bIxk9c4GHvcjnzpvpYw_150.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_150.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_150.status == 0) { { NI T101_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record20), 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_).record20)); unsureAsgnRef((void**)&(*colonenvP_).record20.output.buffer, NIM_NIL); (*colonenvP_).record20.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_).record20), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_151));
#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"
T101_ = (NI)0; T101_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record20), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T101_);
#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_).record20));
#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_).record20));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T104_; Exception* T105_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_150.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T104_ = (Exception*)0; T104_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14824001921_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T104_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T105_ = (Exception*)0; T105_ = &(*colonenvP_).errX60gensym14824001921_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise dh es", T105_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_150.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_149.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_149.status != 0) reraiseException();
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)T108_, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); dh__D9b89cbOfAMoxJppVJ3ahUOg((*colonenvP_).hs6.e.privateKey, (*colonenvP_).hs6.rs, T108_);
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixKey__M4Q9axvA5uVnyPkZaKLa3uQ((&(*colonenvP_).hs6.ss), T108_);
#line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimSubInt((*colonenvP_).msg8.wpos, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_152)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_152)-(*colonenvP_).msg8.rpos != -1 && ((NU)((*colonenvP_).msg8.rpos) >= (NU)((*colonenvP_).msg8.buf ? (*colonenvP_).msg8.buf->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_152)) >= (NU)((*colonenvP_).msg8.buf ? (*colonenvP_).msg8.buf->Sup.len : 0))){ raiseIndexError(); }
#line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenvP_).remoteP2psecret22), decryptAndHash__eheZlc6zkVwv8MKEHCKYcg_2((&(*colonenvP_).hs6.ss), (NU8*)(*colonenvP_).msg8.buf->data+((*colonenvP_).msg8.rpos), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_152))-((*colonenvP_).msg8.rpos)+1));
#line 348 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 348 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
clear__s0ElMwi7U7uoA17Nvrysdw((&(*colonenvP_).msg8));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_153); TM__UYWm9bIxk9c4GHvcjnzpvpYw_153.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_153.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_153.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_154;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_154); TM__UYWm9bIxk9c4GHvcjnzpvpYw_154.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_154.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_154.status == 0) { { NI T112_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record23), 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_).record23)); unsureAsgnRef((void**)&(*colonenvP_).record23.output.buffer, NIM_NIL); (*colonenvP_).record23.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_).record23), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_155));
#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"
T112_ = (NI)0; T112_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record23), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T112_);
#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_).record23));
#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_).record23));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T115_; Exception* T116_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_154.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T115_ = (Exception*)0; T115_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14830501924_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T115_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T116_ = (Exception*)0; T116_ = &(*colonenvP_).errX60gensym14830501924_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise write s", T116_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_154.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_153.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_153.status != 0) reraiseException();
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T119_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T119_ = encryptAndHash__eheZlc6zkVwv8MKEHCKYcg((&(*colonenvP_).hs6.ss), (*colonenvP_).hs6.s.publicKey, 32);
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__nLxiBWxsEm2pf6j3XOMb3A((&(*colonenvP_).msg8), T119_->data, (T119_ ? T119_->Sup.len : 0));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_156); TM__UYWm9bIxk9c4GHvcjnzpvpYw_156.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_156.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_156.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_157;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_157); TM__UYWm9bIxk9c4GHvcjnzpvpYw_157.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_157.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_157.status == 0) { { NI T123_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record25), 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_).record25)); unsureAsgnRef((void**)&(*colonenvP_).record25.output.buffer, NIM_NIL); (*colonenvP_).record25.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_).record25), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_158));
#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"
T123_ = (NI)0; T123_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record25), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T123_);
#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_).record25));
#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_).record25));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T126_; Exception* T127_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_157.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T126_ = (Exception*)0; T126_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14836501926_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T126_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T127_ = (Exception*)0; T127_ = &(*colonenvP_).errX60gensym14836501926_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise dh se", T127_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_157.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_156.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_156.status != 0) reraiseException();
#line 249 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 249 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 249 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)T130_, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); dh__D9b89cbOfAMoxJppVJ3ahUOg((*colonenvP_).hs6.s.privateKey, (*colonenvP_).hs6.re, T130_);
#line 249 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixKey__M4Q9axvA5uVnyPkZaKLa3uQ((&(*colonenvP_).hs6.ss), T130_);
#line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T131_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T131_ = encryptAndHash__eheZlc6zkVwv8MKEHCKYcg((&(*colonenvP_).hs6.ss), (*(*colonenvP_).colonup_).p2pSecret4->data, ((*(*colonenvP_).colonup_).p2pSecret4 ? (*(*colonenvP_).colonup_).p2pSecret4->Sup.len : 0));
#line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__nLxiBWxsEm2pf6j3XOMb3A((&(*colonenvP_).msg8), T131_->data, (T131_ ? T131_->Sup.len : 0));
#line 358 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 358 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimSubInt((*colonenvP_).msg8.wpos, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_159)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_159)-(*colonenvP_).msg8.rpos != -1 && ((NU)((*colonenvP_).msg8.rpos) >= (NU)((*colonenvP_).msg8.buf ? (*colonenvP_).msg8.buf->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_159)) >= (NU)((*colonenvP_).msg8.buf ? (*colonenvP_).msg8.buf->Sup.len : 0))){ raiseIndexError(); }
#line 358 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T132_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T132_ = sendHSMessage__GziCLt5DyvlkvlJ1nyM19bg((*(*colonenvP_).colonup_).conn2, (NU8*)(*colonenvP_).msg8.buf->data+((*colonenvP_).msg8.rpos), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_159))-((*colonenvP_).msg8.rpos)+1); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture11), &T132_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.child), (*colonenvP_).chronosInternalTmpFuture11);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 8);
#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_).chronosInternalTmpFuture11; popSafePoint(); goto BeforeRet_;
STATE8: ;
#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* T137_; NimStringDesc* T138_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.mustCancel) goto LA135_;
T137_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T137_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T137_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T137_).Sup.Sup.Sup.name = "CancelledError"; T138_ = (NimStringDesc*)0; T138_ = (*T137_).Sup.Sup.Sup.message; (*T137_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T138_) nimGCunrefNoCycle(T138_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T137_, "CancelledError", "handshakeXXOutbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA135_: ;
#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_).chronosInternalTmpFuture11);
#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_).chronosInternalTmpFuture11)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 9); popSafePoint();
#line 358 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE9: ;
#line 360 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 360 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
colontmp_ = split__yNiwLkbSP5ZLycopSDGTnQ((&(*colonenvP_).hs6.ss));
#line 360 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).cs127 = colontmp_.Field0;
#line 360 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).cs228 = colontmp_.Field1;
#line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&T139_), sizeof(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg)); nimZeroMem((void*)(&T139_), sizeof(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg)); T139_.cs1 = (*colonenvP_).cs127; T139_.cs2 = (*colonenvP_).cs228; genericSeqAssign((&T139_.remoteP2psecret), (*colonenvP_).remoteP2psecret22, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); nimCopyMem((void*)T139_.rs, (NIM_CONST void*)(*colonenvP_).hs6.rs, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg));
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T140_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T140_ = srcLocImpl__uMkCMzJEgbQZFxGqwIAUsA();
#line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__PrhUuRi8yPcsimSohG8j8w((*(*colonenvP_).colonup_).chronosInternalRetFuture3, (&T139_), T140_);
#line 0 "\?\?\?"
(*colonenvP_).colonunrollFinally4_ = NIM_TRUE;
#line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenvP_).colontmpResult3_), NIM_NIL);
#line 0 "\?\?\?"
asgnRef((void**) (&(*colonenvP_).coloncurExc2_), NIM_NIL);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2); popSafePoint();
#line 0 "\?\?\?"
goto LA2;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2); popSafePoint();
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE10: ;
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T141_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T141_ = srcLocImpl__3hm38ivhR69c7cP8etZKvHg();
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__PrhUuRi8yPcsimSohG8j8w((*(*colonenvP_).colonup_).chronosInternalRetFuture3, (&(*colonenvP_).result5), T141_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 11); popSafePoint();
#line 0 "\?\?\?"
goto LA2;
STATE11: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1); popSafePoint();
#line 0 "\?\?\?"
goto LA2;
popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_98.status = 0;
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
if ((NU)((*colonenvP_).colonstate_) > (NU)(12)){ raiseIndexError2((*colonenvP_).colonstate_, 12); } (*colonenvP_).colonstate_ = TM__UYWm9bIxk9c4GHvcjnzpvpYw_160[((*colonenvP_).colonstate_)- 0];
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
{
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
if (!((*colonenvP_).colonstate_ == ((NI) 0))) goto LA146_;
#line 0 "\?\?\?"
reraiseException(); }
LA146_: ;
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
(*colonenvP_).colonunrollFinally4_ = (((NI) 0) < (*colonenvP_).colonstate_);
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
{
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
if (!((*colonenvP_).colonstate_ < ((NI) 0))) goto LA150_;
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
if ((*colonenvP_).colonstate_ == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } (*colonenvP_).colonstate_ = ((NI64)-((*colonenvP_).colonstate_)); }
LA150_: ;
#line 0 "\?\?\?"
#line 0 "\?\?\?"
asgnRef((void**) (&(*colonenvP_).coloncurExc2_), getCurrentException()); popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_98.status != 0) reraiseException(); } LA2: ;
} LA1: ;
}BeforeRet_: ;
return result;}
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(NIM_BOOL, finished__Sn9aIDx9cqpkNubXWeBAX15Aasyncloop)(tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* 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, handshakeXXOutbound_continue__vzGrNM9bL4TRVuvnbJ4DKCQ)(void* udataX60gensym147850072_, void* ClE_0) { tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q* colonenvP_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_161; colonenvP_ = (tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_161); TM__UYWm9bIxk9c4GHvcjnzpvpYw_161.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_161.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_161.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym147850073_;
#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_).nameIterVarX60gensym1478500715_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym147850073_ = (*colonenvP_).nameIterVarX60gensym1478500715_.ClP_0((*colonenvP_).nameIterVarX60gensym1478500715_.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_ = !((nextX60gensym147850073_ == 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(nextX60gensym147850073_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym147850073_ = (*colonenvP_).nameIterVarX60gensym1478500715_.ClP_0((*colonenvP_).nameIterVarX60gensym1478500715_.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_).nameIterVarX60gensym1478500715_); 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 (!(nextX60gensym147850073_ == 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__Sn9aIDx9cqpkNubXWeBAX15Aasyncloop((*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__UYWm9bIxk9c4GHvcjnzpvpYw_164));
}
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 = handshakeXXOutbound_continue__vzGrNM9bL4TRVuvnbJ4DKCQ; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym147850073_, 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__UYWm9bIxk9c4GHvcjnzpvpYw_161.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* excX60gensym147850075_; Exception* T32_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_161.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(); excX60gensym147850075_ = ((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__Sn9aIDx9cqpkNubXWeBAX15Aasyncloop((*colonenvP_).chronosInternalRetFuture3); if (!T35_) goto LA36_;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)excX60gensym147850075_, "CatchableError", "handshakeXXOutbound_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_ = &excX60gensym147850075_->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__pgwjQTg9bIrNo3rqPsDfUwg((*colonenvP_).chronosInternalRetFuture3, T39_, T40_);
}
LA33_: ;
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_161.status != 0) reraiseException();}
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g*, handshakeXXOutbound__ytyTmwD5rrhHLaZq5M63VQ)(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* p_0, tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* p2pSecret) { tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* result; tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g*)0; colonenv_ = (tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q*) newObj((&NTI__0dCbhTiClWNv61EsVhvlqg_), sizeof(tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q)); (*colonenv_).Sup.m_type = (&NTI__paQYhYV9c8AlUwasVq5TE6Q_);
#line 317 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).p1), p_0);
#line 317 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).conn2), conn);
#line 318 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
genericSeqAssign((&(*colonenv_).p2pSecret4), p2pSecret, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_));
#line 318 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 318 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.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__fgvTtOT5f4hX8WJswv4zRw();
#line 318 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).chronosInternalRetFuture3), newFutureImpl__OEyc9ai9cLORbtlo2cmPiLWg(T1_));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA*) newObj((&NTI__LLnYShTczSWMCe2pncZYUQ_), sizeof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA)); (*colonenv__2).Sup.m_type = (&NTI__8EWmiZVEq0BoWmwfdU9cExA_);
#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 = handshakeXXOutbound__zchXY7Q6jPv5N1QZE7ucMA_5; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym1478500715_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym1478500715_.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 = handshakeXXOutbound_continue__vzGrNM9bL4TRVuvnbJ4DKCQ; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__UYWm9bIxk9c4GHvcjnzpvpYw_165)(T3_.ClP_0))(NIM_NIL);
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenv_).chronosInternalRetFuture3; goto BeforeRet_;
}BeforeRet_: ;
return result;}
static N_NIMCALL(void, Marker_tyRef__2NuxoxSSsLjOY3XCNZA2gw)(void* p, NI op) {
tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg* a;
a = (tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg*)p;
nimGCvisit((void*)(*a).p1, op); nimGCvisit((void*)(*a).conn2, op); nimGCvisit((void*)(*a).chronosInternalRetFuture3, op); nimGCvisit((void*)(*a).p2pSecret4, op); nimGCvisit((void*)(*a).nameIterVarX60gensym1484552435_.ClE_0, op);}
static N_NIMCALL(void, Marker_tyRef__lxeGM9b8ZJsLR9aQjiYjgicQ)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ* a;
NI T1_; NI T2_; NI T3_; NI T4_; NI T5_; NI T6_; NI T7_; NI T8_; NI T9_; NI T10_; NI T11_; NI T12_; NI T13_; NI T14_; a = (tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ*)p;
nimGCvisit((void*)(*a).colontmpSlLower01_, op); nimGCvisit((void*)(*a).colontmpSlLower12_, op); nimGCvisit((void*)(*a).coloncurExc3_, op); nimGCvisit((void*)(*a).colontmpResult4_, op); T1_ = (NI)0; T2_ = (NI)0; nimGCvisit((void*)(*a).result6.remoteP2psecret, op); T3_ = (NI)0; T4_ = (NI)0; T5_ = (NI)0; T6_ = (NI)0; T7_ = (NI)0; T8_ = (NI)0; T9_ = (NI)0; T10_ = (NI)0; T11_ = (NI)0; T12_ = (NI)0; nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).msg9.buf, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture10, op); nimGCvisit((void*)(*a).result11, op); nimGCvisit((void*)(*a).record12.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14851501913_, op); nimGCvisit((void*)(*a).earlyData14, op); nimGCvisit((void*)(*a).record15.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14861501916_, op); nimGCvisit((void*)(*a).record17.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14867501918_, op); nimGCvisit((void*)(*a).record19.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14873501920_, op); nimGCvisit((void*)(*a).record21.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14879501922_, op); nimGCvisit((void*)(*a).record23.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14888001924_, op); nimGCvisit((void*)(*a).record26.output.buffer, op); nimGCvisit((void*)(*a).errX60gensym14898001927_, op); nimGCvisit((void*)(*a).remoteP2psecret28, op); T13_ = (NI)0; T14_ = (NI)0;}
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, handshakeXXInbound__zchXY7Q6jPv5N1QZE7ucMA_6)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile result; tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ*) ClE_0;
#line 368 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
while (1) { if (!1) goto LA1;
{ TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_168;
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_168); TM__UYWm9bIxk9c4GHvcjnzpvpYw_168.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_168.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_168.status == 0) { tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* T5_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_169; tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw T37_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_173; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_174; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_175; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_176; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_177; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_178; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_180; tyArray__vEOa9c5qaE9ajWxR5R4zwfQg T58_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_182; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T69_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_184; tyArray__vEOa9c5qaE9ajWxR5R4zwfQg T80_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T81_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_186; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T82_; tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw* T89_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_187; tyObject_HSlice__jQr7LPSxvmf11RxlhL8Tlw T124_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_192; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_193; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_194; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_195; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T125_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_196; tyArray__vEOa9c5qaE9ajWxR5R4zwfQg T136_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_198; tyTuple__Wuf3jB5MdvsLSYuk9cZVtfg colontmp_; tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg T137_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T138_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T139_;
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
closureIterSetupExc((*colonenvP_).coloncurExc3_);
switch ((*colonenvP_).colonstate_) {
case -1:
popSafePoint(); goto BeforeRet_;
case 0: goto STATE0;
case 1: goto STATE1;
case 2: goto STATE2;
case 3: goto STATE3;
case 4: goto STATE4;
case 5: goto STATE5;
case 6: goto STATE6;
case 7: goto STATE7;
case 8: goto STATE8;
case 9: goto STATE9;
case 10: goto STATE10;
case 11: goto STATE11;
case 12: goto STATE12;
}
STATE0: ;
#line 365 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&(*colonenvP_).result6), sizeof(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg)); {
#line 371 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 371 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).hs7 = init__ixq1bYlcPdN7uoNA8eIGEQ();
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1); popSafePoint();
#line 373 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
}
STATE1: ;
#line 374 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 374 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixHash__WyC4hfyTbbwc6VDP3xuMwA((&(*colonenvP_).hs7.ss), (*(*(*colonenvP_).colonup_).p1).commonPrologue->data, ((*(*(*colonenvP_).colonup_).p1).commonPrologue ? (*(*(*colonenvP_).colonup_).p1).commonPrologue->Sup.len : 0));
#line 375 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).hs7.s = (*(*(*colonenvP_).colonup_).p1).noiseKeys;
#line 379 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&(*colonenvP_).msg9), sizeof(tyObject_StreamSeq__rh4FrSJeqFgjpGXgKxSF9cA));
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture10 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 380 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 380 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 380 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T5_ = (tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*)0; T5_ = receiveHSMessage__LG9cVt3bjJFYr5hmIqSOzYQ_2((*(*colonenvP_).colonup_).conn2); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture10), &T5_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.child), (*colonenvP_).chronosInternalTmpFuture10);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#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_).chronosInternalTmpFuture10; popSafePoint(); goto BeforeRet_;
STATE2: ;
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
burnMem__M2x8hwpT3MlFvg9a6qocCMwutils((&(*colonenvP_).hs7));
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ if (!(*colonenvP_).colonunrollFinally5_) goto LA8_;
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!((*colonenvP_).coloncurExc3_ == NIM_NIL)) goto LA12_;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenvP_).colontmpResult4_; popSafePoint(); goto BeforeRet_;
}
goto LA10_;
LA12_: ;
{
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
closureIterSetupExc(NIM_NIL);
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)(*colonenvP_).coloncurExc3_, "Exception", "handshakeXXInbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 413); }
LA10_: ;
}
LA8_: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 11); popSafePoint();
#line 373 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE3: ;
#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* T19_; NimStringDesc* T20_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.mustCancel) goto LA17_;
T19_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T19_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T19_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T19_).Sup.Sup.Sup.name = "CancelledError"; T20_ = (NimStringDesc*)0; T20_ = (*T19_).Sup.Sup.Sup.message; (*T19_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T20_) nimGCunrefNoCycle(T20_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T19_, "CancelledError", "handshakeXXInbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA17_: ;
#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_).chronosInternalTmpFuture10);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4); popSafePoint();
#line 380 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE4: ;
#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"
asgnRef((void**) (&(*colonenvP_).colontmpSlLower01_), internalRead__PkaI2I4xSJzS7FEcHwUvGAasyncloop(((tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*) ((*colonenvP_).chronosInternalTmpFuture10))));
#line 380 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 380 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__nLxiBWxsEm2pf6j3XOMb3A((&(*colonenvP_).msg9), (*colonenvP_).colontmpSlLower01_->data, ((*colonenvP_).colontmpSlLower01_ ? (*colonenvP_).colontmpSlLower01_->Sup.len : 0));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 5); popSafePoint();
#line 380 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE5: ;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_169); TM__UYWm9bIxk9c4GHvcjnzpvpYw_169.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_169.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_169.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_170;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_170); TM__UYWm9bIxk9c4GHvcjnzpvpYw_170.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_170.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_170.status == 0) { { NI T24_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_171;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record12), sizeof(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA));
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
chckNil((void*)(&(*colonenvP_).record12)); unsureAsgnRef((void**)&(*colonenvP_).record12.output.buffer, NIM_NIL); (*colonenvP_).record12.level = 0;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w((&(*colonenvP_).record12), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_124));
#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"
T24_ = (NI)0; T24_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record12), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T24_);
#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"
if (nimSubInt((*colonenvP_).msg9.wpos, (*colonenvP_).msg9.rpos, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_171)) { raiseOverflow(); };
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record12), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_17), (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_171));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ((&(*colonenvP_).record12));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
flushRecord__2TFyTWhDxeU5kGr2yqnA6w((&(*colonenvP_).record12));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T27_; Exception* T28_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_170.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T27_ = (Exception*)0; T27_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14851501913_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T27_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T28_ = (Exception*)0; T28_ = &(*colonenvP_).errX60gensym14851501913_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise read e", T28_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_170.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_169.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_169.status != 0) reraiseException();
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_172; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T35_; NimStringDesc* T36_;
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt((*colonenvP_).msg9.wpos, (*colonenvP_).msg9.rpos, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_172)) { raiseOverflow(); }; if (!((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_172) < ((NI) 32))) goto LA33_;
T35_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T35_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T35_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T35_).Sup.Sup.name = "NoiseHandshakeError"; T36_ = (NimStringDesc*)0; T36_ = (*T35_).Sup.Sup.message; (*T35_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_127)); if (T36_) nimGCunrefNoCycle(T36_); asgnRef((void**) (&(*T35_).Sup.Sup.parent), NIM_NIL);
#line 263 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T35_, "NoiseHandshakeError", "handshakeXXInbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 263); }
LA33_: ;
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T37_ = dotdot___vcZJM9c08o2y9b2gLXJZAPiQsystem(((NI) 0), ((NI) 31));
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimAddInt((*colonenvP_).msg9.rpos, ((NI) 0), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_173)) { raiseOverflow(); };
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimAddInt((*colonenvP_).msg9.rpos, ((NI) 31), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_174)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_174), ((NI) 0), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_175)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_175)-(NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_173) != -1 && ((NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_173)) >= (NU)((*colonenvP_).msg9.buf ? (*colonenvP_).msg9.buf->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_175)) >= (NU)((*colonenvP_).msg9.buf ? (*colonenvP_).msg9.buf->Sup.len : 0))){ raiseIndexError(); }
#line 266 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
X5BX5Deq___P72kWTovFelyc9be7EgESHg((*colonenvP_).hs7.re, T37_, (NU8*)(*colonenvP_).msg9.buf->data+((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_173)), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_175))-((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_173))+1);
#line 267 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 267 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
consume__dQZP3R2k8Hck9b65H7KHXrA_2((&(*colonenvP_).msg9), ((NI) 32));
#line 268 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 268 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixHash__WyC4hfyTbbwc6VDP3xuMwA((&(*colonenvP_).hs7.ss), (*colonenvP_).hs7.re, 32);
#line 385 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimSubInt((*colonenvP_).msg9.wpos, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_176)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_176)-(*colonenvP_).msg9.rpos != -1 && ((NU)((*colonenvP_).msg9.rpos) >= (NU)((*colonenvP_).msg9.buf ? (*colonenvP_).msg9.buf->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_176)) >= (NU)((*colonenvP_).msg9.buf ? (*colonenvP_).msg9.buf->Sup.len : 0))){ raiseIndexError(); }
#line 385 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenvP_).earlyData14), decryptAndHash__eheZlc6zkVwv8MKEHCKYcg_2((&(*colonenvP_).hs7.ss), (NU8*)(*colonenvP_).msg9.buf->data+((*colonenvP_).msg9.rpos), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_176))-((*colonenvP_).msg9.rpos)+1));
#line 389 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 389 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt((*colonenvP_).msg9.wpos, (*colonenvP_).msg9.rpos, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_177)) { raiseOverflow(); };
#line 389 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
consume__dQZP3R2k8Hck9b65H7KHXrA_2((&(*colonenvP_).msg9), (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_177));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_178); TM__UYWm9bIxk9c4GHvcjnzpvpYw_178.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_178.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_178.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_179;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_179); TM__UYWm9bIxk9c4GHvcjnzpvpYw_179.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_179.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_179.status == 0) { { NI T41_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record15), 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_).record15)); unsureAsgnRef((void**)&(*colonenvP_).record15.output.buffer, NIM_NIL); (*colonenvP_).record15.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_).record15), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_110));
#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_).record15), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T41_);
#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_).record15));
#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_).record15));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T44_; Exception* T45_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_179.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T44_ = (Exception*)0; T44_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14861501916_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T44_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T45_ = (Exception*)0; T45_ = &(*colonenvP_).errX60gensym14861501916_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise write e", T45_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_179.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_178.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_178.status != 0) reraiseException();
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).hs7.e = genKeyPair__uM9a2wE3eF9bencNK88hbdBQ((*(*(*colonenvP_).colonup_).p1).rng);
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__nLxiBWxsEm2pf6j3XOMb3A((&(*colonenvP_).msg9), (*colonenvP_).hs7.e.publicKey, 32);
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixHash__WyC4hfyTbbwc6VDP3xuMwA((&(*colonenvP_).hs7.ss), (*colonenvP_).hs7.e.publicKey, 32);
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_180); TM__UYWm9bIxk9c4GHvcjnzpvpYw_180.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_180.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_180.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_181;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_181); TM__UYWm9bIxk9c4GHvcjnzpvpYw_181.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_181.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_181.status == 0) { { NI T51_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record17), 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_).record17)); unsureAsgnRef((void**)&(*colonenvP_).record17.output.buffer, NIM_NIL); (*colonenvP_).record17.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_).record17), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_133));
#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"
T51_ = (NI)0; T51_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record17), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T51_);
#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_).record17));
#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_).record17));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T54_; Exception* T55_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_181.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T54_ = (Exception*)0; T54_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14867501918_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T54_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T55_ = (Exception*)0; T55_ = &(*colonenvP_).errX60gensym14867501918_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise dh ee", T55_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_181.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_180.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_180.status != 0) reraiseException();
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)T58_, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); dh__D9b89cbOfAMoxJppVJ3ahUOg((*colonenvP_).hs7.e.privateKey, (*colonenvP_).hs7.re, T58_);
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixKey__M4Q9axvA5uVnyPkZaKLa3uQ((&(*colonenvP_).hs7.ss), T58_);
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_182); TM__UYWm9bIxk9c4GHvcjnzpvpYw_182.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_182.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_182.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_183;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_183); TM__UYWm9bIxk9c4GHvcjnzpvpYw_183.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_183.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_183.status == 0) { { NI T62_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record19), 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_).record19)); unsureAsgnRef((void**)&(*colonenvP_).record19.output.buffer, NIM_NIL); (*colonenvP_).record19.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_).record19), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_155));
#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"
T62_ = (NI)0; T62_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record19), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T62_);
#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_).record19));
#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_).record19));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T65_; Exception* T66_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_183.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T65_ = (Exception*)0; T65_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14873501920_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T65_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T66_ = (Exception*)0; T66_ = &(*colonenvP_).errX60gensym14873501920_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise write s", T66_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_183.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_182.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_182.status != 0) reraiseException();
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T69_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T69_ = encryptAndHash__eheZlc6zkVwv8MKEHCKYcg((&(*colonenvP_).hs7.ss), (*colonenvP_).hs7.s.publicKey, 32);
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__nLxiBWxsEm2pf6j3XOMb3A((&(*colonenvP_).msg9), T69_->data, (T69_ ? T69_->Sup.len : 0));
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_184); TM__UYWm9bIxk9c4GHvcjnzpvpYw_184.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_184.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_184.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_185;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_185); TM__UYWm9bIxk9c4GHvcjnzpvpYw_185.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_185.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_185.status == 0) { { NI T73_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record21), 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_).record21)); unsureAsgnRef((void**)&(*colonenvP_).record21.output.buffer, NIM_NIL); (*colonenvP_).record21.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_).record21), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_151));
#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"
T73_ = (NI)0; T73_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record21), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T73_);
#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_).record21));
#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_).record21));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T76_; Exception* T77_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_185.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T76_ = (Exception*)0; T76_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14879501922_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T76_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T77_ = (Exception*)0; T77_ = &(*colonenvP_).errX60gensym14879501922_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise dh es", T77_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_185.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_184.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_184.status != 0) reraiseException();
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)T80_, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); dh__D9b89cbOfAMoxJppVJ3ahUOg((*colonenvP_).hs7.s.privateKey, (*colonenvP_).hs7.re, T80_);
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixKey__M4Q9axvA5uVnyPkZaKLa3uQ((&(*colonenvP_).hs7.ss), T80_);
#line 396 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 396 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 396 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T81_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T81_ = encryptAndHash__eheZlc6zkVwv8MKEHCKYcg((&(*colonenvP_).hs7.ss), (*(*colonenvP_).colonup_).p2pSecret4->data, ((*(*colonenvP_).colonup_).p2pSecret4 ? (*(*colonenvP_).colonup_).p2pSecret4->Sup.len : 0));
#line 396 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__nLxiBWxsEm2pf6j3XOMb3A((&(*colonenvP_).msg9), T81_->data, (T81_ ? T81_->Sup.len : 0));
#line 398 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 398 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimSubInt((*colonenvP_).msg9.wpos, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_186)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_186)-(*colonenvP_).msg9.rpos != -1 && ((NU)((*colonenvP_).msg9.rpos) >= (NU)((*colonenvP_).msg9.buf ? (*colonenvP_).msg9.buf->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_186)) >= (NU)((*colonenvP_).msg9.buf ? (*colonenvP_).msg9.buf->Sup.len : 0))){ raiseIndexError(); }
#line 398 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T82_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T82_ = sendHSMessage__GziCLt5DyvlkvlJ1nyM19bg((*(*colonenvP_).colonup_).conn2, (NU8*)(*colonenvP_).msg9.buf->data+((*colonenvP_).msg9.rpos), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_186))-((*colonenvP_).msg9.rpos)+1); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture10), &T82_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.child), (*colonenvP_).chronosInternalTmpFuture10);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 6);
#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_).chronosInternalTmpFuture10; popSafePoint(); goto BeforeRet_;
STATE6: ;
#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* T87_; NimStringDesc* T88_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.mustCancel) goto LA85_;
T87_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T87_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T87_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T87_).Sup.Sup.Sup.name = "CancelledError"; T88_ = (NimStringDesc*)0; T88_ = (*T87_).Sup.Sup.Sup.message; (*T87_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T88_) nimGCunrefNoCycle(T88_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T87_, "CancelledError", "handshakeXXInbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA85_: ;
#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_).chronosInternalTmpFuture10);
#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_).chronosInternalTmpFuture10)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 7); popSafePoint();
#line 398 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE7: ;
#line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
clear__s0ElMwi7U7uoA17Nvrysdw((&(*colonenvP_).msg9));
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T89_ = (tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*)0; T89_ = receiveHSMessage__LG9cVt3bjJFYr5hmIqSOzYQ_2((*(*colonenvP_).colonup_).conn2); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture10), &T89_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.child), (*colonenvP_).chronosInternalTmpFuture10);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 8);
#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_).chronosInternalTmpFuture10; popSafePoint(); goto BeforeRet_;
STATE8: ;
#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* T94_; NimStringDesc* T95_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.mustCancel) goto LA92_;
T94_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T94_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T94_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T94_).Sup.Sup.Sup.name = "CancelledError"; T95_ = (NimStringDesc*)0; T95_ = (*T94_).Sup.Sup.Sup.message; (*T94_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T95_) nimGCunrefNoCycle(T95_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T94_, "CancelledError", "handshakeXXInbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA92_: ;
#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_).chronosInternalTmpFuture10);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 9); popSafePoint();
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE9: ;
#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"
asgnRef((void**) (&(*colonenvP_).colontmpSlLower12_), internalRead__PkaI2I4xSJzS7FEcHwUvGAasyncloop(((tyObject_FuturecolonObjectType___eboBq7BtfTd9c5QprGbgmvw*) ((*colonenvP_).chronosInternalTmpFuture10))));
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
add__nLxiBWxsEm2pf6j3XOMb3A((&(*colonenvP_).msg9), (*colonenvP_).colontmpSlLower12_->data, ((*colonenvP_).colontmpSlLower12_ ? (*colonenvP_).colontmpSlLower12_->Sup.len : 0));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 10); popSafePoint();
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE10: ;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_187); TM__UYWm9bIxk9c4GHvcjnzpvpYw_187.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_187.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_187.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_188;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_188); TM__UYWm9bIxk9c4GHvcjnzpvpYw_188.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_188.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_188.status == 0) { { NI T99_; NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_189;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record23), 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_).record23)); unsureAsgnRef((void**)&(*colonenvP_).record23.output.buffer, NIM_NIL); (*colonenvP_).record23.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_).record23), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_140));
#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"
T99_ = (NI)0; T99_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record23), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T99_);
#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"
if (nimSubInt((*colonenvP_).msg9.wpos, (*colonenvP_).msg9.rpos, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_189)) { raiseOverflow(); };
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record23), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_17), (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_189));
#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_).record23));
#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_).record23));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T102_; Exception* T103_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_188.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T102_ = (Exception*)0; T102_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14888001924_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T102_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T103_ = (Exception*)0; T103_ = &(*colonenvP_).errX60gensym14888001924_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise read s", T103_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_188.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_187.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_187.status != 0) reraiseException();
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T108_;
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T108_ = (NIM_BOOL)0; T108_ = hasKey__6XENeg2juAuCf19bl5p5AGQ((&(*colonenvP_).hs7.ss.cs)); if (!T108_) goto LA109_;
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_190; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T115_; NimStringDesc* T116_;
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt((*colonenvP_).msg9.wpos, (*colonenvP_).msg9.rpos, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_190)) { raiseOverflow(); }; if (!((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_190) < ((NI) 48))) goto LA113_;
T115_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T115_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T115_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T115_).Sup.Sup.name = "NoiseHandshakeError"; T116_ = (NimStringDesc*)0; T116_ = (*T115_).Sup.Sup.message; (*T115_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_143)); if (T116_) nimGCunrefNoCycle(T116_); asgnRef((void**) (&(*T115_).Sup.Sup.parent), NIM_NIL);
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T115_, "NoiseHandshakeError", "handshakeXXInbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 278); }
LA113_: ;
(*colonenvP_).rsLenX60gensym14884501825_ = ((NI) 48); }
goto LA106_;
LA109_: ;
{
#line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NI TM__UYWm9bIxk9c4GHvcjnzpvpYw_191; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T122_; NimStringDesc* T123_;
#line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt((*colonenvP_).msg9.wpos, (*colonenvP_).msg9.rpos, &TM__UYWm9bIxk9c4GHvcjnzpvpYw_191)) { raiseOverflow(); }; if (!((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_191) < ((NI) 32))) goto LA120_;
T122_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T122_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T122_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T122_).Sup.Sup.name = "NoiseHandshakeError"; T123_ = (NimStringDesc*)0; T123_ = (*T122_).Sup.Sup.message; (*T122_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_143)); if (T123_) nimGCunrefNoCycle(T123_); asgnRef((void**) (&(*T122_).Sup.Sup.parent), NIM_NIL);
#line 282 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T122_, "NoiseHandshakeError", "handshakeXXInbound", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 282); }
LA120_: ;
(*colonenvP_).rsLenX60gensym14884501825_ = ((NI) 32); }
LA106_: ;
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T124_ = dotdot___vcZJM9c08o2y9b2gLXJZAPiQsystem(((NI) 0), ((NI) 31));
#line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimAddInt((*colonenvP_).msg9.rpos, ((NI) 0), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_192)) { raiseOverflow(); };
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
#line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (nimSubInt((*colonenvP_).rsLenX60gensym14884501825_, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_193)) { raiseOverflow(); }; if (nimAddInt((*colonenvP_).msg9.rpos, (NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_193), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_194)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_194), ((NI) 0), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_195)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_195)-(NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_192) != -1 && ((NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_192)) >= (NU)((*colonenvP_).msg9.buf ? (*colonenvP_).msg9.buf->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_195)) >= (NU)((*colonenvP_).msg9.buf ? (*colonenvP_).msg9.buf->Sup.len : 0))){ raiseIndexError(); }
#line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T125_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T125_ = decryptAndHash__eheZlc6zkVwv8MKEHCKYcg_2((&(*colonenvP_).hs7.ss), (NU8*)(*colonenvP_).msg9.buf->data+((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_192)), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_195))-((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_192))+1);
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
X5BX5Deq___P72kWTovFelyc9be7EgESHg((*colonenvP_).hs7.rs, T124_, T125_->data, (T125_ ? T125_->Sup.len : 0));
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
consume__dQZP3R2k8Hck9b65H7KHXrA_2((&(*colonenvP_).msg9), (*colonenvP_).rsLenX60gensym14884501825_);
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_196); TM__UYWm9bIxk9c4GHvcjnzpvpYw_196.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_196.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_196.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_197;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_197); TM__UYWm9bIxk9c4GHvcjnzpvpYw_197.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_197.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_197.status == 0) { { NI T129_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record26), 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_).record26)); unsureAsgnRef((void**)&(*colonenvP_).record26.output.buffer, NIM_NIL); (*colonenvP_).record26.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_).record26), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_158));
#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"
T129_ = (NI)0; T129_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record26), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T129_);
#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_).record26));
#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_).record26));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T132_; Exception* T133_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_197.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T132_ = (Exception*)0; T132_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14898001927_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T132_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T133_ = (Exception*)0; T133_ = &(*colonenvP_).errX60gensym14898001927_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("noise dh se", T133_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_197.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_196.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_196.status != 0) reraiseException();
#line 251 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 251 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 251 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)T136_, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); dh__D9b89cbOfAMoxJppVJ3ahUOg((*colonenvP_).hs7.e.privateKey, (*colonenvP_).hs7.rs, T136_);
#line 251 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
mixKey__M4Q9axvA5uVnyPkZaKLa3uQ((&(*colonenvP_).hs7.ss), T136_);
#line 409 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/stream/streamseq.nim"
if (nimSubInt((*colonenvP_).msg9.wpos, ((NI) 1), &TM__UYWm9bIxk9c4GHvcjnzpvpYw_198)) { raiseOverflow(); }; if ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_198)-(*colonenvP_).msg9.rpos != -1 && ((NU)((*colonenvP_).msg9.rpos) >= (NU)((*colonenvP_).msg9.buf ? (*colonenvP_).msg9.buf->Sup.len : 0) || (NU)((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_198)) >= (NU)((*colonenvP_).msg9.buf ? (*colonenvP_).msg9.buf->Sup.len : 0))){ raiseIndexError(); }
#line 409 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenvP_).remoteP2psecret28), decryptAndHash__eheZlc6zkVwv8MKEHCKYcg_2((&(*colonenvP_).hs7.ss), (NU8*)(*colonenvP_).msg9.buf->data+((*colonenvP_).msg9.rpos), ((NI)(TM__UYWm9bIxk9c4GHvcjnzpvpYw_198))-((*colonenvP_).msg9.rpos)+1));
#line 410 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 410 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
colontmp_ = split__yNiwLkbSP5ZLycopSDGTnQ((&(*colonenvP_).hs7.ss));
#line 410 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).cs129 = colontmp_.Field0;
#line 410 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).cs230 = colontmp_.Field1;
#line 411 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&T137_), sizeof(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg)); nimZeroMem((void*)(&T137_), sizeof(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg)); T137_.cs1 = (*colonenvP_).cs129; T137_.cs2 = (*colonenvP_).cs230; genericSeqAssign((&T137_.remoteP2psecret), (*colonenvP_).remoteP2psecret28, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); nimCopyMem((void*)T137_.rs, (NIM_CONST void*)(*colonenvP_).hs7.rs, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg));
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T138_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T138_ = srcLocImpl__9b9a1zgEtu42c0si09a5Bmcsg();
#line 411 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__PrhUuRi8yPcsimSohG8j8w((*(*colonenvP_).colonup_).chronosInternalRetFuture3, (&T137_), T138_);
#line 0 "\?\?\?"
(*colonenvP_).colonunrollFinally5_ = NIM_TRUE;
#line 411 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenvP_).colontmpResult4_), NIM_NIL);
#line 0 "\?\?\?"
asgnRef((void**) (&(*colonenvP_).coloncurExc3_), NIM_NIL);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2); popSafePoint();
#line 0 "\?\?\?"
goto LA2;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2); popSafePoint();
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE11: ;
#line 365 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T139_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T139_ = srcLocImpl__kPzybGNi9cdvQKpoOiaNCdQ();
#line 365 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__PrhUuRi8yPcsimSohG8j8w((*(*colonenvP_).colonup_).chronosInternalRetFuture3, (&(*colonenvP_).result6), T139_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 12); popSafePoint();
#line 0 "\?\?\?"
goto LA2;
STATE12: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1); popSafePoint();
#line 0 "\?\?\?"
goto LA2;
popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_168.status = 0;
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
if ((NU)((*colonenvP_).colonstate_) > (NU)(13)){ raiseIndexError2((*colonenvP_).colonstate_, 13); } (*colonenvP_).colonstate_ = TM__UYWm9bIxk9c4GHvcjnzpvpYw_199[((*colonenvP_).colonstate_)- 0];
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
{
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
if (!((*colonenvP_).colonstate_ == ((NI) 0))) goto LA144_;
#line 0 "\?\?\?"
reraiseException(); }
LA144_: ;
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
(*colonenvP_).colonunrollFinally5_ = (((NI) 0) < (*colonenvP_).colonstate_);
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
{
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
if (!((*colonenvP_).colonstate_ < ((NI) 0))) goto LA148_;
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
if ((*colonenvP_).colonstate_ == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } (*colonenvP_).colonstate_ = ((NI64)-((*colonenvP_).colonstate_)); }
LA148_: ;
#line 0 "\?\?\?"
#line 0 "\?\?\?"
asgnRef((void**) (&(*colonenvP_).coloncurExc3_), getCurrentException()); popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_168.status != 0) reraiseException(); } 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, handshakeXXInbound_continue__wshGzNrKalooc9akNeKAeXA)(void* udataX60gensym148455244_, void* ClE_0) { tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg* colonenvP_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_200; colonenvP_ = (tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_200); TM__UYWm9bIxk9c4GHvcjnzpvpYw_200.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_200.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_200.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym148455245_;
#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_).nameIterVarX60gensym1484552435_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym148455245_ = (*colonenvP_).nameIterVarX60gensym1484552435_.ClP_0((*colonenvP_).nameIterVarX60gensym1484552435_.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_ = !((nextX60gensym148455245_ == 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(nextX60gensym148455245_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym148455245_ = (*colonenvP_).nameIterVarX60gensym1484552435_.ClP_0((*colonenvP_).nameIterVarX60gensym1484552435_.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_).nameIterVarX60gensym1484552435_); 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 (!(nextX60gensym148455245_ == 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__Sn9aIDx9cqpkNubXWeBAX15Aasyncloop((*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__UYWm9bIxk9c4GHvcjnzpvpYw_203));
}
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 = handshakeXXInbound_continue__wshGzNrKalooc9akNeKAeXA; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym148455245_, 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__UYWm9bIxk9c4GHvcjnzpvpYw_200.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* excX60gensym148455247_; Exception* T32_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_200.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(); excX60gensym148455247_ = ((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__Sn9aIDx9cqpkNubXWeBAX15Aasyncloop((*colonenvP_).chronosInternalRetFuture3); if (!T35_) goto LA36_;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)excX60gensym148455247_, "CatchableError", "handshakeXXInbound_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_ = &excX60gensym148455247_->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__pgwjQTg9bIrNo3rqPsDfUwg((*colonenvP_).chronosInternalRetFuture3, T39_, T40_);
}
LA33_: ;
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_200.status != 0) reraiseException();}
#line 365 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g*, handshakeXXInbound__ytyTmwD5rrhHLaZq5M63VQ_2)(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* p_0, tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* p2pSecret) { tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* result; tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g*)0; colonenv_ = (tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg*) newObj((&NTI__2NuxoxSSsLjOY3XCNZA2gw_), sizeof(tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg)); (*colonenv_).Sup.m_type = (&NTI__lNO2ckHz4yxUgL9aOfulbDg_);
#line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).p1), p_0);
#line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).conn2), conn);
#line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
genericSeqAssign((&(*colonenv_).p2pSecret4), p2pSecret, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_));
#line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.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__nBZDqFFpImELTqUz3hgJLg();
#line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).chronosInternalRetFuture3), newFutureImpl__OEyc9ai9cLORbtlo2cmPiLWg(T1_));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ*) newObj((&NTI__lxeGM9b8ZJsLR9aQjiYjgicQ_), sizeof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ)); (*colonenv__2).Sup.m_type = (&NTI__8NjGJA84aKG8OD5mMt9bZzQ_);
#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 = handshakeXXInbound__zchXY7Q6jPv5N1QZE7ucMA_6; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym1484552435_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym1484552435_.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 = handshakeXXInbound_continue__wshGzNrKalooc9akNeKAeXA; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__UYWm9bIxk9c4GHvcjnzpvpYw_204)(T3_.ClP_0))(NIM_NIL);
#line 373 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.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 472 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(void, internalRead__A0eV2m45S7g5kX6a9bEPwVQasyncloop)(tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* fut, tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg* Result) {{
#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).cs1 = (*fut).value.cs1; (*Result).cs2 = (*fut).value.cs2; genericSeqAssign((&(*Result).remoteP2psecret), (*fut).value.remoteP2psecret, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); nimCopyMem((void*)(*Result).rs, (NIM_CONST void*)(*fut).value.rs, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); goto BeforeRet_;
}BeforeRet_: ;
}
#line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
static N_INLINE(NIM_BOOL, get__s81otJuqBWqYQyderjqGnwresults)(tyObject_Result__VR7l4DJaL9cSFn6dTxK0gOQ self) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 463 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
{
#line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!!(self.o)) goto LA3_;
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_207)); }
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
raiseResultDefect__Z3pb1x8uKhrSVPCjH9bDTfg(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_206), self._o_1.e);
}
LA3_: ;
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_92)); } result = self._o_2.v; return result;}
#line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
static N_INLINE(void, get__ME7aJ9cmvtfOzZSR3TgduCAresults)(tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ self, tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw* Result) {
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 463 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
{
#line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!!(self.o)) goto LA3_;
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_207)); }
#line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
raiseResultDefect__owuWoGCIMYubXziJ5dK27w(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_206), self._o_1.e);
}
LA3_: ;
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_92)); } genericSeqAssign((&(*Result).data), self._o_2.v.data, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_));}
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
static N_INLINE(void, tryGet__ME7aJ9cmvtfOzZSR3TgduCA_2results)(tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ self, tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw* Result) {
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
{
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!!(self.o)) goto LA3_;
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
raiseResultError__3mB4FvIEM5rjrsbjkbEISw(self);
}
LA3_: ;
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_92)); } genericSeqAssign((&(*Result).data), self._o_2.v.data, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_));}
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
static N_INLINE(void, burnMem__w14lugIaPvBVkYBaSR3YMQutils)(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg* a) {
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
burnMem__haAOjkJjOuRy8ux9bV57dXw(((void*) (a)), ((NI) 120));
}
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, handshake__zchXY7Q6jPv5N1QZE7ucMA_4)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ*) ClE_0;
#line 482 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
while (1) { if (!1) goto LA1;
{ TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_205; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_227; tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA* T162_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T163_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T164_; switch ((*colonenvP_).colonstate_) {
case -1:
goto BeforeRet_;
case 0: goto STATE0;
case 1: goto STATE1;
case 2: goto STATE2;
case 3: goto STATE3;
case 4: goto STATE4;
case 5: goto STATE5;
case 6: goto STATE6;
case 7: goto STATE7;
case 8: goto STATE8;
}
STATE0: ;
#line 481 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).result2 = (tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA*)0; { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_87; tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw T15_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T16_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T17_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T18_; tyObject_Result__ZGY78kIl5s9a88zIUpvwquA T19_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T20_;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_87); TM__UYWm9bIxk9c4GHvcjnzpvpYw_87.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_87.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_87.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_88;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_88); TM__UYWm9bIxk9c4GHvcjnzpvpYw_88.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_88.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_88.status == 0) { { NI T7_; NimStringDesc* T8_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record3), 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_).record3)); unsureAsgnRef((void**)&(*colonenvP_).record3.output.buffer, NIM_NIL); (*colonenvP_).record3.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_).record3), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_89));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T7_ = (NI)0; T7_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record3), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T7_);
#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"
T8_ = (NimStringDesc*)0; T8_ = shortLog__Fso3jK7jRMeiF9aFUl9as7gw((*(*colonenvP_).colonup_).conn1);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record3), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_90), T8_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__qKEYbZvAL3dyS19atgb6Jpg((&(*colonenvP_).record3), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_91), (*(*colonenvP_).colonup_).initiator2);
#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_).record3));
#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_).record3));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T11_; Exception* T12_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_88.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T11_ = (Exception*)0; T11_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym1493400195_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T11_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T12_ = (Exception*)0; T12_ = &(*colonenvP_).errX60gensym1493400195_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Starting Noise handshake", T12_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_88.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_87.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_87.status != 0) reraiseException();
#line 484 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).timeout6 = (*(*(*colonenvP_).colonup_).conn1).timeout;
#line 319 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/timer.nim"
nimZeroMem((void*)(&T15_), sizeof(tyObject_Duration__Rk1eeZ5K9cdVRk5l7BwOXGw)); T15_.value = IL64(60000000000); (*(*(*colonenvP_).colonup_).conn1).timeout = T15_;
#line 489 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 489 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 490 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 490 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 490 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T16_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T16_ = toBytes__U4kZc2UAauSmATzOovzVMA(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_93));
#line 490 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 490 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T17_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T17_ = getBytes__OIu3ct6Iv4pd9cGG09c9cCFKQ((*(*(*colonenvP_).colonup_).p3).noiseKeys.publicKey);
#line 490 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T18_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T18_ = amp___GKDTgswYEfLZ0HJ4qcD9cGQ(T16_, T17_);
#line 489 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&T19_), sizeof(tyObject_Result__ZGY78kIl5s9a88zIUpvwquA)); sign__aZO9bv2QzDrkoNSd9c7rh3Bg((&(*(*(*colonenvP_).colonup_).p3).localPrivateKey), T18_->data, (T18_ ? T18_->Sup.len : 0), (&T19_));
#line 490 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
tryGet__fUUXwq71T5lZxtHw9bDHKqAresults(T19_, (&(*colonenvP_).signedPayload7));
#line 493 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 493 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng(0, (&(*colonenvP_).libp2pProof8));
#line 494 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 494 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ((&(*colonenvP_).libp2pProof8), ((NI) 1), (*(*(*colonenvP_).colonup_).p3).localPublicKey->data, ((*(*(*colonenvP_).colonup_).p3).localPublicKey ? (*(*(*colonenvP_).colonup_).p3).localPublicKey->Sup.len : 0));
#line 495 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 495 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 495 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T20_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T20_ = getBytes__c1mSmfwMuNxjcxH6tqzdLg((*colonenvP_).signedPayload7);
#line 495 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ((&(*colonenvP_).libp2pProof8), ((NI) 2), T20_->data, (T20_ ? T20_->Sup.len : 0));
#line 497 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 497 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
finish__1rmuOyUuHHnrDPgEOlTQaw((&(*colonenvP_).libp2pProof8));
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* T25_; if (!(*(*colonenvP_).colonup_).initiator2) goto LA23_;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture9 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 501 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 501 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 501 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T25_ = (tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g*)0; T25_ = handshakeXXOutbound__ytyTmwD5rrhHLaZq5M63VQ((*(*colonenvP_).colonup_).p3, (*(*colonenvP_).colonup_).conn1, (*colonenvP_).libp2pProof8.buffer); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture9), &T25_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture4).Sup.child), (*colonenvP_).chronosInternalTmpFuture9);
#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_).chronosInternalTmpFuture9; goto BeforeRet_;
}
goto LA21_;
LA23_: ;
{ tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g* T27_;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture11 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 503 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 503 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 503 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T27_ = (tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g*)0; T27_ = handshakeXXInbound__ytyTmwD5rrhHLaZq5M63VQ_2((*(*colonenvP_).colonup_).p3, (*(*colonenvP_).colonup_).conn1, (*colonenvP_).libp2pProof8.buffer); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture11), &T27_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture4).Sup.child), (*colonenvP_).chronosInternalTmpFuture11);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#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_).chronosInternalTmpFuture11; goto BeforeRet_;
}
LA21_: ;
}
STATE1: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture4).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T32_; NimStringDesc* T33_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture4).Sup.mustCancel) goto LA30_;
T32_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T32_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T32_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T32_).Sup.Sup.Sup.name = "CancelledError"; T33_ = (NimStringDesc*)0; T33_ = (*T32_).Sup.Sup.Sup.message; (*T32_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T33_) nimGCunrefNoCycle(T33_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T32_, "CancelledError", "handshake", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA30_: ;
#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_).chronosInternalTmpFuture9);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2);
#line 501 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE2: ;
#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__A0eV2m45S7g5kX6a9bEPwVQasyncloop(((tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g*) ((*colonenvP_).chronosInternalTmpFuture9)), (&(*colonenvP_).colontmpSlLower01_));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 5);
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE3: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture4).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T38_; NimStringDesc* T39_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture4).Sup.mustCancel) goto LA36_;
T38_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T38_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T38_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T38_).Sup.Sup.Sup.name = "CancelledError"; T39_ = (NimStringDesc*)0; T39_ = (*T38_).Sup.Sup.Sup.message; (*T38_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T39_) nimGCunrefNoCycle(T39_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T38_, "CancelledError", "handshake", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA36_: ;
#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_).chronosInternalTmpFuture11);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4);
#line 503 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE4: ;
#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__A0eV2m45S7g5kX6a9bEPwVQasyncloop(((tyObject_FuturecolonObjectType___WJylK6tQQqN5nmmmAdw12g*) ((*colonenvP_).chronosInternalTmpFuture11)), (&(*colonenvP_).colontmpSlLower01_));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 5);
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE5: ;
#line 499 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).handshakeRes12.cs1 = (*colonenvP_).colontmpSlLower01_.cs1; (*colonenvP_).handshakeRes12.cs2 = (*colonenvP_).colontmpSlLower01_.cs2; genericSeqAssign((&(*colonenvP_).handshakeRes12.remoteP2psecret), (*colonenvP_).colontmpSlLower01_.remoteP2psecret, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); nimCopyMem((void*)(*colonenvP_).handshakeRes12.rs, (NIM_CONST void*)(*colonenvP_).colontmpSlLower01_.rs, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 6);
#line 499 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE6: ;
#line 505 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 505 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_205); TM__UYWm9bIxk9c4GHvcjnzpvpYw_205.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_205.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_205.status == 0) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T77_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T78_;
#line 507 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 507 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
initProtoBuffer__fbykHZzk6a9bvfYMmTBqn3Q((*colonenvP_).handshakeRes12.remoteP2psecret, ((NI) 0), 0, (&(*colonenvP_).remoteProof14));
#line 508 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&(*colonenvP_).remotePubKey15), sizeof(tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA));
#line 509 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).remotePubKeyBytes16 = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 510 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&(*colonenvP_).remoteSig17), sizeof(tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q));
#line 511 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).remoteSigBytes18 = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 513 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 513 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).r119 = getField__TmmAJk0OXMd3CniSvMNDvQ((&(*colonenvP_).remoteProof14), ((NI) 1), (&(*colonenvP_).remotePubKeyBytes16));
#line 514 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 514 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenvP_).r220 = getField__TmmAJk0OXMd3CniSvMNDvQ((&(*colonenvP_).remoteProof14), ((NI) 2), (&(*colonenvP_).remoteSigBytes18));
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T43_; NIM_BOOL T45_; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T48_; NimStringDesc* T49_; NimStringDesc* T50_;
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T43_ = (NIM_BOOL)0;
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T43_ = !((*colonenvP_).r119.o); if (T43_) goto LA44_;
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T45_ = (NIM_BOOL)0; T45_ = get__s81otJuqBWqYQyderjqGnwresults((*colonenvP_).r119); T43_ = !(T45_); LA44_: ;
if (!T43_) goto LA46_;
T48_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T48_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T48_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T48_).Sup.Sup.name = "NoiseHandshakeError";
#line 516 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T49_ = (NimStringDesc*)0;
#line 516 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T50_ = (NimStringDesc*)0; T50_ = nimBoolToStr((*(*colonenvP_).colonup_).initiator2); T49_ = rawNewString((T50_ ? T50_->Sup.len : 0) + 60);appendString(T49_, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_208));appendString(T49_, T50_);appendString(T49_, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_209)); asgnRef((void**) (&(*T48_).Sup.Sup.message), T49_); asgnRef((void**) (&(*T48_).Sup.Sup.parent), NIM_NIL);
#line 516 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T48_, "NoiseHandshakeError", "handshake", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 516); }
LA46_: ;
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T53_; NIM_BOOL T55_; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T58_; NimStringDesc* T59_; NimStringDesc* T60_;
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T53_ = (NIM_BOOL)0;
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T53_ = !((*colonenvP_).r220.o); if (T53_) goto LA54_;
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 517 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T55_ = (NIM_BOOL)0; T55_ = get__s81otJuqBWqYQyderjqGnwresults((*colonenvP_).r220); T53_ = !(T55_); LA54_: ;
if (!T53_) goto LA56_;
T58_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T58_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T58_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T58_).Sup.Sup.name = "NoiseHandshakeError";
#line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T59_ = (NimStringDesc*)0;
#line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T60_ = (NimStringDesc*)0; T60_ = nimBoolToStr((*(*colonenvP_).colonup_).initiator2); T59_ = rawNewString((T60_ ? T60_->Sup.len : 0) + 59);appendString(T59_, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_210));appendString(T59_, T60_);appendString(T59_, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_209)); asgnRef((void**) (&(*T58_).Sup.Sup.message), T59_); asgnRef((void**) (&(*T58_).Sup.Sup.parent), NIM_NIL);
#line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T58_, "NoiseHandshakeError", "handshake", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 518); }
LA56_: ;
#line 520 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T63_; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T66_; NimStringDesc* T67_; NimStringDesc* T68_;
#line 520 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 520 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 520 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T63_ = (NIM_BOOL)0; T63_ = init__ZFrj29apZJPaB79ca09cGOStw((&(*colonenvP_).remotePubKey15), (*colonenvP_).remotePubKeyBytes16->data, ((*colonenvP_).remotePubKeyBytes16 ? (*colonenvP_).remotePubKeyBytes16->Sup.len : 0)); if (!!(T63_)) goto LA64_;
T66_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T66_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T66_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T66_).Sup.Sup.name = "NoiseHandshakeError";
#line 521 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T67_ = (NimStringDesc*)0;
#line 521 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T68_ = (NimStringDesc*)0; T68_ = nimBoolToStr((*(*colonenvP_).colonup_).initiator2); T67_ = rawNewString((T68_ ? T68_->Sup.len : 0) + 49);appendString(T67_, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_211));appendString(T67_, T68_);appendString(T67_, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_209)); asgnRef((void**) (&(*T66_).Sup.Sup.message), T67_); asgnRef((void**) (&(*T66_).Sup.Sup.parent), NIM_NIL);
#line 521 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T66_, "NoiseHandshakeError", "handshake", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 521); }
LA64_: ;
#line 522 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T71_; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T74_; NimStringDesc* T75_; NimStringDesc* T76_;
#line 522 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 522 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 522 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T71_ = (NIM_BOOL)0; T71_ = init__6Cs9aoQUoUHTjlNfrez9bVnw((&(*colonenvP_).remoteSig17), (*colonenvP_).remoteSigBytes18->data, ((*colonenvP_).remoteSigBytes18 ? (*colonenvP_).remoteSigBytes18->Sup.len : 0)); if (!!(T71_)) goto LA72_;
T74_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T74_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T74_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T74_).Sup.Sup.name = "NoiseHandshakeError";
#line 523 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T75_ = (NimStringDesc*)0;
#line 523 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T76_ = (NimStringDesc*)0; T76_ = nimBoolToStr((*(*colonenvP_).colonup_).initiator2); T75_ = rawNewString((T76_ ? T76_->Sup.len : 0) + 48);appendString(T75_, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_212));appendString(T75_, T76_);appendString(T75_, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_209)); asgnRef((void**) (&(*T74_).Sup.Sup.message), T75_); asgnRef((void**) (&(*T74_).Sup.Sup.parent), NIM_NIL);
#line 523 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T74_, "NoiseHandshakeError", "handshake", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 523); }
LA72_: ;
#line 525 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 525 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 525 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T77_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T77_ = toBytes__U4kZc2UAauSmATzOovzVMA(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_93));
#line 525 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 525 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T78_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T78_ = getBytes__OIu3ct6Iv4pd9cGG09c9cCFKQ((*colonenvP_).handshakeRes12.rs);
#line 525 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenvP_).verifyPayload21), amp___GKDTgswYEfLZ0HJ4qcD9cGQ(T77_, T78_));
#line 526 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T81_; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T84_; NimStringDesc* T85_;
#line 526 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 526 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 526 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T81_ = (NIM_BOOL)0; T81_ = verify__TsBOm3TqPuBNRfSnGdwfiw((*colonenvP_).remoteSig17, (*colonenvP_).verifyPayload21->data, ((*colonenvP_).verifyPayload21 ? (*colonenvP_).verifyPayload21->Sup.len : 0), (&(*colonenvP_).remotePubKey15)); if (!!(T81_)) goto LA82_;
T84_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T84_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T84_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T84_).Sup.Sup.name = "NoiseHandshakeError"; T85_ = (NimStringDesc*)0; T85_ = (*T84_).Sup.Sup.message; (*T84_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_213)); if (T85_) nimGCunrefNoCycle(T85_); asgnRef((void**) (&(*T84_).Sup.Sup.parent), NIM_NIL);
#line 527 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T84_, "NoiseHandshakeError", "handshake", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 527); }
goto LA79_;
LA82_: ;
{ TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_214;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_214); TM__UYWm9bIxk9c4GHvcjnzpvpYw_214.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_214.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_214.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_215;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_215); TM__UYWm9bIxk9c4GHvcjnzpvpYw_215.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_215.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_215.status == 0) { { NI T90_; NimStringDesc* T91_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record22), 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_).record22)); unsureAsgnRef((void**)&(*colonenvP_).record22.output.buffer, NIM_NIL); (*colonenvP_).record22.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_).record22), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_216));
#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"
T90_ = (NI)0; T90_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record22), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T90_);
#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"
T91_ = (NimStringDesc*)0; T91_ = shortLog__Fso3jK7jRMeiF9aFUl9as7gw((*(*colonenvP_).colonup_).conn1);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record22), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_90), T91_);
#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_).record22));
#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_).record22));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T94_; Exception* T95_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_215.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T94_ = (Exception*)0; T94_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14947001923_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T94_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T95_ = (Exception*)0; T95_ = &(*colonenvP_).errX60gensym14947001923_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Remote signature verified", T95_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_215.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_214.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_214.status != 0) reraiseException(); }
LA79_: ;
#line 531 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T100_;
#line 531 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T100_ = (NIM_BOOL)0; T100_ = (*(*colonenvP_).colonup_).initiator2; if (!(T100_)) goto LA101_;
#line 531 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 531 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T100_ = !(((*(*(*colonenvP_).colonup_).conn1).peerInfo == 0)); LA101_: ;
if (!T100_) goto LA102_;
#line 532 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 532 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
init__62yqKJpN4T5rhMXt9cfWICA((&(*colonenvP_).remotePubKey15), (&(*colonenvP_).pid24));
#line 533 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T106_; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T109_; NimStringDesc* T110_;
#line 533 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 533 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 533 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T106_ = (NIM_BOOL)0; T106_ = validate__kmLkXiaxy8lRGzIsV2u6Kw_2((*(*(*(*colonenvP_).colonup_).conn1).peerInfo).peerId); if (!!(T106_)) goto LA107_;
T109_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T109_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T109_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T109_).Sup.Sup.name = "NoiseHandshakeError"; T110_ = (NimStringDesc*)0; T110_ = (*T109_).Sup.Sup.message; (*T109_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_217)); if (T110_) nimGCunrefNoCycle(T110_); asgnRef((void**) (&(*T109_).Sup.Sup.parent), NIM_NIL);
#line 534 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T109_, "NoiseHandshakeError", "handshake", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 534); }
LA107_: ;
#line 535 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ NIM_BOOL T113_; tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw T115_; NI T116_; NIM_BOOL T119_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_218; tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ* T131_; NimStringDesc* T132_; NimStringDesc* T133_; NimStringDesc* T134_;
#line 535 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T113_ = (NIM_BOOL)0;
#line 535 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T113_ = !((*colonenvP_).pid24.o); if (T113_) goto LA114_;
#line 535 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 535 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/peerid.nim"
#line 535 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 535 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&T115_), sizeof(tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw)); get__ME7aJ9cmvtfOzZSR3TgduCAresults((*colonenvP_).pid24, (&T115_));
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/peerid.nim"
T116_ = (NI)0; T116_ = cmp__ZNqz9bxrMN09bM1GezFNLRBQ(T115_, (*(*(*(*colonenvP_).colonup_).conn1).peerInfo).peerId); T113_ = !((T116_ == ((NI) 0))); LA114_: ;
if (!T113_) goto LA117_;
#line 537 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&(*colonenvP_).failedKey25), sizeof(tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA));
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T119_ = (NIM_BOOL)0; T119_ = extractPublicKey__oFQyDfGKphQulEV9cuwMmxg((*(*(*(*colonenvP_).colonup_).conn1).peerInfo).peerId, (&(*colonenvP_).failedKey25)); (void)(T119_);
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_218); TM__UYWm9bIxk9c4GHvcjnzpvpYw_218.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_218.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_218.status == 0) { { NI T122_; NimStringDesc* T123_; NimStringDesc* T124_; NimStringDesc* T125_; NimStringDesc* T126_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record26), 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_).record26)); unsureAsgnRef((void**)&(*colonenvP_).record26.output.buffer, NIM_NIL); (*colonenvP_).record26.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_).record26), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 2), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_219));
#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"
T122_ = (NI)0; T122_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record26), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T122_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__qKEYbZvAL3dyS19atgb6Jpg((&(*colonenvP_).record26), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_91), (*(*colonenvP_).colonup_).initiator2);
#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"
T123_ = (NimStringDesc*)0; T123_ = shortLog__Fso3jK7jRMeiF9aFUl9as7gw((*(*colonenvP_).colonup_).conn1);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record26), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_220), T123_);
#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"
T124_ = (NimStringDesc*)0; T124_ = dollar___9bwC9ckFxGbRuRIhv18L2Mvg((&(*colonenvP_).failedKey25));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record26), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_221), T124_);
#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"
T125_ = (NimStringDesc*)0; T125_ = dollar___3k9bWRTai5nC5XjGCnvylEA((*colonenvP_).pid24);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record26), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_222), T125_);
#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"
T126_ = (NimStringDesc*)0; T126_ = dollar___9bwC9ckFxGbRuRIhv18L2Mvg((&(*colonenvP_).remotePubKey15));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&(*colonenvP_).record26), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_223), T126_);
#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_).record26));
#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_).record26));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T129_; Exception* T130_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_218.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T129_ = (Exception*)0; T129_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14955501927_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T129_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T130_ = (Exception*)0; T130_ = &(*colonenvP_).errX60gensym14955501927_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Noise handshake, peer infos don\'t match!", T130_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_218.status != 0) reraiseException(); T131_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*)0; T131_ = (tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*) newObj((&NTI__lVduX0HkImCKAngD9aYQCBQ_), sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ)); (*T131_).Sup.Sup.Sup.m_type = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_); (*T131_).Sup.Sup.name = "NoiseHandshakeError";
#line 543 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T132_ = (NimStringDesc*)0;
#line 543 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 543 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T133_ = (NimStringDesc*)0; T133_ = dollar___3k9bWRTai5nC5XjGCnvylEA((*colonenvP_).pid24);
#line 543 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 543 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T134_ = (NimStringDesc*)0; T134_ = dollar___YvhybdNIMaDdbU9cTJva0oQ_2((*(*(*(*colonenvP_).colonup_).conn1).peerInfo).peerId); T132_ = rawNewString((T133_ ? T133_->Sup.len : 0) + (T134_ ? T134_->Sup.len : 0) + 45);appendString(T132_, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_224));appendString(T132_, T133_);appendString(T132_, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_225));appendString(T132_, T134_); asgnRef((void**) (&(*T131_).Sup.Sup.message), T132_); asgnRef((void**) (&(*T131_).Sup.Sup.parent), NIM_NIL);
#line 543 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
raiseExceptionEx((Exception*)T131_, "NoiseHandshakeError", "handshake", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/secure/noise.nim", 543); }
LA117_: ;
}
LA102_: ;
#line 546 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 546 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{
#line 546 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 546 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
if (!!(((*(*(*colonenvP_).colonup_).conn1).peerInfo == NIM_NIL))) goto LA137_;
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).conn1).peerInfo), (*(*(*colonenvP_).colonup_).conn1).peerInfo); }
goto LA135_;
LA137_: ;
{ tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ T140_; tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw T141_; tyArray__dy9bXFnEOSMt49aV7Vz01bkw T142_; tyArray__8ZvwQIddfpj2THRVPsFzIQ T143_;
#line 549 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 549 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 549 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 549 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&T140_), sizeof(tyObject_Result__rRs2IHyL9cPDf0qPXyWd1oQ)); init__62yqKJpN4T5rhMXt9cfWICA((&(*colonenvP_).remotePubKey15), (&T140_));
#line 549 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&T141_), sizeof(tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw)); tryGet__ME7aJ9cmvtfOzZSR3TgduCA_2results(T140_, (&T141_));
nimZeroMem((void*)T142_, sizeof(tyArray__dy9bXFnEOSMt49aV7Vz01bkw)); nimZeroMem((void*)T143_, sizeof(tyArray__8ZvwQIddfpj2THRVPsFzIQ));
#line 549 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).conn1).peerInfo), init__TUPt4n8JhXOdckFHlV7m8A(T141_, T142_, 0, T143_, 0)); }
LA135_: ;
#line 551 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 551 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenvP_).tmp28), init__VuI2BzZcUuhFhigXrr2cUg((*(*colonenvP_).colonup_).conn1, (*(*(*colonenvP_).colonup_).conn1).peerInfo, (*(*(*colonenvP_).colonup_).conn1).observedAddr, TM__UYWm9bIxk9c4GHvcjnzpvpYw_226));
#line 553 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
{ if (!(*(*colonenvP_).colonup_).initiator2) goto LA146_;
#line 554 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*(*colonenvP_).tmp28).readCs = (*colonenvP_).handshakeRes12.cs2;
#line 555 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*(*colonenvP_).tmp28).writeCs = (*colonenvP_).handshakeRes12.cs1; }
goto LA144_;
LA146_: ;
{
#line 557 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*(*colonenvP_).tmp28).readCs = (*colonenvP_).handshakeRes12.cs1;
#line 558 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*(*colonenvP_).tmp28).writeCs = (*colonenvP_).handshakeRes12.cs2; }
LA144_: ;
asgnRef((void**) (&(*colonenvP_).secure13), (*colonenvP_).tmp28); popSafePoint(); }
else { popSafePoint(); }
{
#line 561 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 561 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
burnMem__w14lugIaPvBVkYBaSR3YMQutils((&(*colonenvP_).handshakeRes12));
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_205.status != 0) nimLeaveFinally(); }
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_205.status != 0) reraiseException();
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_227); TM__UYWm9bIxk9c4GHvcjnzpvpYw_227.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_227.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_227.status == 0) { TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_228;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_228); TM__UYWm9bIxk9c4GHvcjnzpvpYw_228.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_228.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_228.status == 0) { { NI T154_; tyTuple__NevGmcPz5FN13v9cZPsfRXw T155_;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
nimZeroMem((void*)(&(*colonenvP_).record29), 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_).record29)); unsureAsgnRef((void**)&(*colonenvP_).record29.output.buffer, NIM_NIL); (*colonenvP_).record29.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_).record29), ((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_13), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_229));
#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"
T154_ = (NI)0; T154_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&(*colonenvP_).record29), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_15), T154_);
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__qKEYbZvAL3dyS19atgb6Jpg((&(*colonenvP_).record29), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_91), (*(*colonenvP_).colonup_).initiator2);
#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"
nimZeroMem((void*)(&T155_), sizeof(tyTuple__NevGmcPz5FN13v9cZPsfRXw)); shortLog__NrFxHSKgrFj3RYz5I6yAGg((*(*colonenvP_).secure13).Sup.Sup.peerInfo, (&T155_));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__EWSNUL7NJHRwr9aRfa5vNVQ((&(*colonenvP_).record29), ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_230), (&T155_));
#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_).record29));
#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_).record29));
}
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { Exception* T158_; Exception* T159_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_228.status = 0;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T158_ = (Exception*)0; T158_ = getCurrentException(); asgnRef((void**) (&(*colonenvP_).errX60gensym14967001930_), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T158_)));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T159_ = (Exception*)0; T159_ = &(*colonenvP_).errX60gensym14967001930_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("Noise handshake completed!", T159_);
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_228.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__UYWm9bIxk9c4GHvcjnzpvpYw_227.status = 0; popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_227.status != 0) reraiseException();
#line 565 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*(*(*colonenvP_).colonup_).conn1).timeout = (*colonenvP_).timeout6;
#line 567 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T162_ = (tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA*)0; T162_ = &(*colonenvP_).secure13->Sup;
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T163_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T163_ = srcLocImpl__BJnNL6aeO9ce3zVkv9btVtYw();
#line 567 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__mfAiSOoVYAcs3NiT9csuuFQ((*(*colonenvP_).colonup_).chronosInternalRetFuture4, T162_, T163_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 567 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 567 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
result = NIM_NIL; goto BeforeRet_;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 7);
#line 482 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE7: ;
#line 481 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T164_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T164_ = srcLocImpl__nDL4a9cRjmP9bD0a6c55ZJJg();
#line 481 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__mfAiSOoVYAcs3NiT9csuuFQ((*(*colonenvP_).colonup_).chronosInternalRetFuture4, (*colonenvP_).result2, T164_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 8);
#line 0 "\?\?\?"
goto LA2;
STATE8: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 0 "\?\?\?"
goto LA2;
} LA2: ;
} LA1: ;
}BeforeRet_: ;
return result;}
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(NIM_BOOL, finished__K6MD8qU9cYOiuWgxIIj9cYYgasyncloop)(tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q* 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, handshake_continue__oiJw9crZDWguBl1HIq9bgIiw)(void* udataX60gensym149295149_, void* ClE_0) { tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg* colonenvP_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_231; colonenvP_ = (tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_231); TM__UYWm9bIxk9c4GHvcjnzpvpYw_231.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_231.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_231.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym149295150_;
#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_).nameIterVarX60gensym1492951485_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym149295150_ = (*colonenvP_).nameIterVarX60gensym1492951485_.ClP_0((*colonenvP_).nameIterVarX60gensym1492951485_.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_ = !((nextX60gensym149295150_ == 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(nextX60gensym149295150_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym149295150_ = (*colonenvP_).nameIterVarX60gensym1492951485_.ClP_0((*colonenvP_).nameIterVarX60gensym1492951485_.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_).nameIterVarX60gensym1492951485_); 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 (!(nextX60gensym149295150_ == 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__K6MD8qU9cYOiuWgxIIj9cYYgasyncloop((*colonenvP_).chronosInternalRetFuture4); 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__UYWm9bIxk9c4GHvcjnzpvpYw_234));
}
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 = handshake_continue__oiJw9crZDWguBl1HIq9bgIiw; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym149295150_, 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__UYWm9bIxk9c4GHvcjnzpvpYw_231.status = 0;
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T29_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T29_ = &(*colonenvP_).chronosInternalRetFuture4->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* excX60gensym149295152_; Exception* T32_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_231.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(); excX60gensym149295152_ = ((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__K6MD8qU9cYOiuWgxIIj9cYYgasyncloop((*colonenvP_).chronosInternalRetFuture4); if (!T35_) goto LA36_;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)excX60gensym149295152_, "CatchableError", "handshake_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_ = &excX60gensym149295152_->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__XgAYr9cKKkitrv8pmE6f5Rg((*colonenvP_).chronosInternalRetFuture4, T39_, T40_);
}
LA33_: ;
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_231.status != 0) reraiseException();}
#line 481 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q*, handshake__rxhlAKxk5kpRP9bw7P009bWw)(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* p_0, tyObject_ConnectioncolonObjectType___crfbBHXu3U647CckYkg9cYg* conn, NIM_BOOL initiator) { tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q* result; tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___h3NGA0yZw8sOcnJC7Nzi6Q*)0; colonenv_ = (tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg*) newObj((&NTI__jWzJccZcz9aOEcxYBCVb8qQ_), sizeof(tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg)); (*colonenv_).Sup.m_type = (&NTI__0x7BphhwSYR9bY7t9cTMvRcg_);
#line 481 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).p3), p_0);
#line 481 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).conn1), conn);
#line 481 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*colonenv_).initiator2 = initiator;
#line 481 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 481 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.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__wyyCnT9amM6mllWZ3p5EaSQ();
#line 481 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).chronosInternalRetFuture4), newFutureImpl__2ydZ72GwJ9cgMPhmJC8EPrg(T1_));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ*) newObj((&NTI__RH139cS9bkclfX9aI2VFVskbg_), sizeof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ)); (*colonenv__2).Sup.m_type = (&NTI__DEop9bsCr9a2UNXY8Je6COtQ_);
#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 = handshake__zchXY7Q6jPv5N1QZE7ucMA_4; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym1492951485_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym1492951485_.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 = handshake_continue__oiJw9crZDWguBl1HIq9bgIiw; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__UYWm9bIxk9c4GHvcjnzpvpYw_235)(T3_.ClP_0))(NIM_NIL);
#line 567 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenv_).chronosInternalRetFuture4; goto BeforeRet_;
}BeforeRet_: ;
return result;}
static N_NIMCALL(void, Marker_tyRef__jC7M3qre3waJP9cPgRA1sAw)(void* p, NI op) {
tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A* a;
a = (tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A*)p;
nimGCvisit((void*)(*a).s1, op); nimGCvisit((void*)(*a).chronosInternalRetFuture2, op); nimGCvisit((void*)(*a).nameIterVarX60gensym1497563983_.ClE_0, op);}
static N_NIMCALL(void, Marker_tyRef__Gm9a0tB0QN9bjrU3JZp9aTvdA)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg* a;
a = (tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg*)p;
nimGCvisit((void*)(*a).chronosInternalTmpFuture1, op); nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).result3, op);}
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
static N_INLINE(void, burnMem__nkFxKIXvA7zrwGNYm1miiwutils)(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw* a) {
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
burnMem__haAOjkJjOuRy8ux9bV57dXw(((void*) (a)), ((NI) 40));
}
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, closeImpl__zchXY7Q6jPv5N1QZE7ucMA_7)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg*) ClE_0;
#line 570 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
while (1) { if (!1) goto LA1;
{ tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T12_; switch ((*colonenvP_).colonstate_) {
case -1:
goto BeforeRet_;
case 0: goto STATE0;
case 1: goto STATE1;
case 2: goto STATE2;
case 3: goto STATE3;
case 4: goto STATE4;
}
STATE0: ; { tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA* T4_; tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* T5_;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture1 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 570 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 570 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T4_ = (tyObject_SecureConncolonObjectType___EQt0Xolm1d2el9cDkzC6TAA*)0; T4_ = &(*(*colonenvP_).colonup_).s1->Sup;
#line 570 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T5_ = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; T5_ = closeImpl__LwWqgZLID71k7bK9aZdkleg(T4_); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture1), &T5_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), (*colonenvP_).chronosInternalTmpFuture1);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1);
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenvP_).chronosInternalTmpFuture1; goto BeforeRet_;
}
STATE1: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T10_; NimStringDesc* T11_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture2).Sup.mustCancel) goto LA8_;
T10_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T10_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T10_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T10_).Sup.Sup.Sup.name = "CancelledError"; T11_ = (NimStringDesc*)0; T11_ = (*T10_).Sup.Sup.Sup.message; (*T10_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_8)); if (T11_) nimGCunrefNoCycle(T11_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T10_, "CancelledError", "closeImpl", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA8_: ;
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q((*colonenvP_).chronosInternalTmpFuture1);
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
internalRead__QMzIgljDjo9azN3KjB5rGdQasyncloop(((tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*) ((*colonenvP_).chronosInternalTmpFuture1)));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2);
#line 570 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE2: ;
#line 572 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 572 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
burnMem__nkFxKIXvA7zrwGNYm1miiwutils((&(*(*(*colonenvP_).colonup_).s1).readCs));
#line 573 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 573 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
burnMem__nkFxKIXvA7zrwGNYm1miiwutils((&(*(*(*colonenvP_).colonup_).s1).writeCs));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#line 570 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
goto LA2;
STATE3: ;
#line 570 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T12_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T12_ = srcLocImpl__IDUgCX3fbaR1Mino2kRSmQ();
#line 570 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
complete__nHHWNIBkqCfVC3oe9a1ZdIQ((*(*colonenvP_).colonup_).chronosInternalRetFuture2, T12_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4);
#line 0 "\?\?\?"
goto LA2;
STATE4: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 0 "\?\?\?"
goto LA2;
} LA2: ;
} LA1: ;
}BeforeRet_: ;
return result;}
#line 258 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(void, closeImpl_continue__qCESPUqK2eTqYDVWk7OMbw)(void* udataX60gensym149756399_, void* ClE_0) { tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A* colonenvP_; TSafePoint TM__UYWm9bIxk9c4GHvcjnzpvpYw_238; colonenvP_ = (tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__UYWm9bIxk9c4GHvcjnzpvpYw_238); TM__UYWm9bIxk9c4GHvcjnzpvpYw_238.status = setjmp(TM__UYWm9bIxk9c4GHvcjnzpvpYw_238.context); if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_238.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym149756400_;
#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_).nameIterVarX60gensym1497563983_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym149756400_ = (*colonenvP_).nameIterVarX60gensym1497563983_.ClP_0((*colonenvP_).nameIterVarX60gensym1497563983_.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_ = !((nextX60gensym149756400_ == 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(nextX60gensym149756400_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym149756400_ = (*colonenvP_).nameIterVarX60gensym1497563983_.ClP_0((*colonenvP_).nameIterVarX60gensym1497563983_.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_).nameIterVarX60gensym1497563983_); 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 (!(nextX60gensym149756400_ == NIM_NIL)) goto LA18_;
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T22_;
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T22_ = (NIM_BOOL)0; T22_ = finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop((*colonenvP_).chronosInternalRetFuture2); if (!!(T22_)) goto LA23_;
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseAssert__gpGJG5CoQzE64skFd9bPG7A(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_241));
}
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 = closeImpl_continue__qCESPUqK2eTqYDVWk7OMbw; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym149756400_, 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__UYWm9bIxk9c4GHvcjnzpvpYw_238.status = 0;
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T29_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T29_ = &(*colonenvP_).chronosInternalRetFuture2->Sup;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T30_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T30_ = srcLocImpl__79cY7uR9cmEURqRGzzdHerWg();
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
cancelAndSchedule__1MGH5bJdQgBtESf3VBBOvA_2(T29_, T30_);
popCurrentException(); }
else if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* excX60gensym149756402_; Exception* T32_; TM__UYWm9bIxk9c4GHvcjnzpvpYw_238.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(); excX60gensym149756402_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T32_));
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T35_;
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T35_ = (NIM_BOOL)0; T35_ = finished__iXX9caPDsEPl9bWYoI5Y39aLgasyncloop((*colonenvP_).chronosInternalRetFuture2); if (!T35_) goto LA36_;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)excX60gensym149756402_, "CatchableError", "closeImpl_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_ = &excX60gensym149756402_->Sup;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T40_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T40_ = srcLocImpl__Jr8Jfi7B2iUixKYroydjOg();
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
fail__SwGHbFJf49cefkD9a9cbvNyqA((*colonenvP_).chronosInternalRetFuture2, T39_, T40_);
}
LA33_: ;
popCurrentException(); }
}
if (TM__UYWm9bIxk9c4GHvcjnzpvpYw_238.status != 0) reraiseException();}
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*, closeImpl__x0is39cQHERTbKHLBGxZZlA)(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA* s_0) { tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA* result; tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A* colonenv_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T1_; tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T2_; tyProc__9bqx36VxQxXejdrF09bFARDQ T3_;{ result = (tyObject_FuturecolonObjectType___GXFSekg1U8JRoedGa2vBSA*)0; colonenv_ = (tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A*) newObj((&NTI__jC7M3qre3waJP9cPgRA1sAw_), sizeof(tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A)); (*colonenv_).Sup.m_type = (&NTI__3d5LG9bkZEn9bUVuTys6Zl4A_);
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).s1), s_0);
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.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__UmRWpPYbbYhDZKvkR9bWPxw();
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*colonenv_).chronosInternalRetFuture2), newFutureImpl__wu9buovQIxiU3ndXmKRpnVw(T1_));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg*) newObj((&NTI__Gm9a0tB0QN9bjrU3JZp9aTvdA_), sizeof(tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg)); (*colonenv__2).Sup.m_type = (&NTI__Hsb8NO0F8cDq36I9cIKkrxg_);
#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 = closeImpl__zchXY7Q6jPv5N1QZE7ucMA_7; T2_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym1497563983_.ClE_0), T2_.ClE_0); (*colonenv_).nameIterVarX60gensym1497563983_.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 = closeImpl_continue__qCESPUqK2eTqYDVWk7OMbw; T3_.ClE_0 = colonenv_; T3_.ClE_0? T3_.ClP_0(NIM_NIL, T3_.ClE_0):((TM__UYWm9bIxk9c4GHvcjnzpvpYw_242)(T3_.ClP_0))(NIM_NIL);
#line 573 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenv_).chronosInternalRetFuture2; goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 575 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(void, init__whQbduDjdp5I5hCCHb3MDg)(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* p_0) { tyObject_SecurecolonObjectType___rfxdGx6GJLVE9aqiYjwpDKQ* T1_; tyObject_LPProtocolcolonObjectType___5aL02d9bjOYDZmYD0dWxn2w* T2_;
#line 576 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T1_ = (tyObject_SecurecolonObjectType___rfxdGx6GJLVE9aqiYjwpDKQ*)0; T1_ = &p_0->Sup;
#line 576 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
init__HKxPPSXoD44u9b5JpNIfwNw(T1_);
#line 577 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T2_ = (tyObject_LPProtocolcolonObjectType___5aL02d9bjOYDZmYD0dWxn2w*)0; T2_ = &p_0->Sup.Sup;
#line 577 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
codeceq___FJgTWmJomZg9cJD1BFJyUDQ(T2_, ((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_243));
}
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
static N_INLINE(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, tryGet__pg72R9b53e39bPQBiMgCX8Rgresults)(tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ self) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result; result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
{
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!!(self.o)) goto LA3_;
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
raiseResultError__VdO7CLGgWUXuCrOXQ3B2ZA(self);
}
LA3_: ;
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_92)); } genericSeqAssign((&result), self._o_2.v, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); return result;}
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
static N_INLINE(void, tryGet__VeMgo2Cp9aeBXhskxVN2WeAresults)(tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q* self, tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* Result) {
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
{
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!!((*self).o)) goto LA3_;
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
raiseResultError__d2pyGBpUxBG7xw7hcLOp0g(self);
}
LA3_: ;
if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__UYWm9bIxk9c4GHvcjnzpvpYw_92)); } genericAssign((void*)Result, (void*)(&(*self)._o_2.v), (&NTI__mVKS59bRpscItosS0oN9a4zA_));}
#line 579 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg*, newNoise__hpL9bZlRlfmKCv9cjzB9bv3WQ)(br_hmac_drbg_context* rng_0, tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ* privateKey, NIM_BOOL outgoing, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* commonPrologue) { tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* result; tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg* T1_; tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q T2_; tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA T3_; tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ T4_; tyObject_LPProtocolcolonObjectType___5aL02d9bjOYDZmYD0dWxn2w* T5_; result = (tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg*)0;
#line 582 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T1_ = (tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg*)0; T1_ = (tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg*) newObj((&NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_), sizeof(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg)); (*T1_).Sup.Sup.Sup.m_type = (&NTI__9c8eGiIgXq9aArriNxjlYcwg_); asgnRef((void**) (&(*T1_).rng), rng_0); (*T1_).outgoing = outgoing; genericAssign((void*)(&(*T1_).localPrivateKey), (void*)privateKey, (&NTI__GSDbMQxBVd3KO4qBUjzPKQ_));
#line 586 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 586 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 586 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 586 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 586 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&T2_), sizeof(tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q)); getKey__BjB2ThDklmRLi5zxNp1MMg(privateKey, (&T2_));
#line 586 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&T3_), sizeof(tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA)); tryGet__VeMgo2Cp9aeBXhskxVN2WeAresults((&T2_), (&T3_));
#line 586 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
nimZeroMem((void*)(&T4_), sizeof(tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ)); getBytes__4eZxdwajU59aqY5fR5EvlLg((&T3_), (&T4_));
#line 586 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
asgnRef((void**) (&(*T1_).localPublicKey), tryGet__pg72R9b53e39bPQBiMgCX8Rgresults(T4_));
#line 587 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
#line 587 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
(*T1_).noiseKeys = genKeyPair__uM9a2wE3eF9bencNK88hbdBQ(rng_0); genericSeqAssign((&(*T1_).commonPrologue), commonPrologue, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); result = T1_;
#line 590 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
T5_ = (tyObject_LPProtocolcolonObjectType___5aL02d9bjOYDZmYD0dWxn2w*)0; T5_ = &result->Sup.Sup;
#line 590 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/secure/noise.nim"
init__rxApHebrH7xqTi4tmplvfw(T5_);
return result;}
N_LIB_PRIVATE N_NIMCALL(void, libp2p_noiseDatInit000)(void) {
#line 999999 "generated_not_to_break_here"
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_2_4[4];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_3_2[2];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_4_2[2];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_5_9[9];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_6_4[4];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[10];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_48_5[5];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[10];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_82_6[6];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_83_6[6];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_84_2[2];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[31];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_86_4[4];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_94_6[6];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[29];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_96_5[5];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_97_3[3];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_166_6[6];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[31];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_236_4[4];
static TNimNode* TM__UYWm9bIxk9c4GHvcjnzpvpYw_237_4[4];
static TNimNode TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[207];NTI__ztgD7WY8ZBGC2pYsyPTFxA_.size = sizeof(tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA);
NTI__ztgD7WY8ZBGC2pYsyPTFxA_.kind = 17;
NTI__ztgD7WY8ZBGC2pYsyPTFxA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__ztgD7WY8ZBGC2pYsyPTFxA_.name = "object";
NTI__ztgD7WY8ZBGC2pYsyPTFxA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__ztgD7WY8ZBGC2pYsyPTFxA_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_2_4[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[1];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[1].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[1].offset = offsetof(tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[1].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[1].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_2_4[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[2];
NTI__N9b5C9b9c9aEF9ax161aK3KgfkA_.size = sizeof(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA);
NTI__N9b5C9b9c9aEF9ax161aK3KgfkA_.kind = 17;
NTI__N9b5C9b9c9aEF9ax161aK3KgfkA_.base = (&NTI__EQt0Xolm1d2el9cDkzC6TAA_);
NTI__N9b5C9b9c9aEF9ax161aK3KgfkA_.name = "NoiseConnection:ObjectType";
NTI__N9b5C9b9c9aEF9ax161aK3KgfkA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__N9b5C9b9c9aEF9ax161aK3KgfkA_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_3_2[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[4];
NTI__YCZgSAEEw7bBlfog9bRo2Cw_.size = sizeof(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw);
NTI__YCZgSAEEw7bBlfog9bRo2Cw_.kind = 18;
NTI__YCZgSAEEw7bBlfog9bRo2Cw_.base = 0;
NTI__YCZgSAEEw7bBlfog9bRo2Cw_.flags = 3;
NTI__YCZgSAEEw7bBlfog9bRo2Cw_.name = "CipherState";
NTI__YCZgSAEEw7bBlfog9bRo2Cw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__YCZgSAEEw7bBlfog9bRo2Cw_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_4_2[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[6];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[6].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[6].offset = offsetof(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw, k);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[6].typ = (&NTI__vEOa9c5qaE9ajWxR5R4zwfQg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[6].name = "k";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_4_2[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[7];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[7].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[7].offset = offsetof(tyObject_CipherState__YCZgSAEEw7bBlfog9bRo2Cw, n);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[7].typ = (&NTI__wMtfD88jmrPZwfzTH9c8e9cA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[7].name = "n";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[5].len = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[5].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[5].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_4_2[0];
NTI__YCZgSAEEw7bBlfog9bRo2Cw_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[5];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[4].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[4].offset = offsetof(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA, readCs);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[4].typ = (&NTI__YCZgSAEEw7bBlfog9bRo2Cw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[4].name = "readCs";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_3_2[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[8];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[8].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[8].offset = offsetof(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA, writeCs);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[8].typ = (&NTI__YCZgSAEEw7bBlfog9bRo2Cw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[8].name = "writeCs";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[3].len = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[3].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[3].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_3_2[0];
NTI__N9b5C9b9c9aEF9ax161aK3KgfkA_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[3];
NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_.size = sizeof(tyObject_NoiseConnectioncolonObjectType___N9b5C9b9c9aEF9ax161aK3KgfkA*);
NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_.kind = 22;
NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_.base = (&NTI__N9b5C9b9c9aEF9ax161aK3KgfkA_);
NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_.name = "NoiseConnection";
NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_;
NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_.marker = Marker_tyRef__IhcuvquVp9aKgIIO9c9azQ9aPg;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[2].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[2].offset = offsetof(tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA, sconn1);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[2].typ = (&NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[2].name = "sconn1";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_2_4[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[9];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[9].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[9].offset = offsetof(tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA, chronosInternalRetFuture2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[9].typ = (&NTI__lT9buwOIvTTGQ3Bm66flIpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[9].name = "chronosInternalRetFuture2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_2_4[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[10];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[10].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[10].offset = offsetof(tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA, nameIterVarX60gensym1490500463_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[10].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[10].name = "nameIterVar`gensym1490500463";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[0].len = 4; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[0].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[0].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_2_4[0];
NTI__ztgD7WY8ZBGC2pYsyPTFxA_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[0];
NTI__6UXLrIb1BaPX9aKShE9aMWHg_.size = sizeof(tyObject_Env_noisedotnim___ztgD7WY8ZBGC2pYsyPTFxA*);
NTI__6UXLrIb1BaPX9aKShE9aMWHg_.kind = 22;
NTI__6UXLrIb1BaPX9aKShE9aMWHg_.base = (&NTI__ztgD7WY8ZBGC2pYsyPTFxA_);
NTI__6UXLrIb1BaPX9aKShE9aMWHg_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-libp2p/libp2p/protocols/secure/noise.nim(417, 23)";
NTI__6UXLrIb1BaPX9aKShE9aMWHg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__6UXLrIb1BaPX9aKShE9aMWHg_;
NTI__6UXLrIb1BaPX9aKShE9aMWHg_.marker = Marker_tyRef__6UXLrIb1BaPX9aKShE9aMWHg;
NTI__TisZwGk09c029berxTuLcCJw_.size = sizeof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw);
NTI__TisZwGk09c029berxTuLcCJw_.kind = 17;
NTI__TisZwGk09c029berxTuLcCJw_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__TisZwGk09c029berxTuLcCJw_.name = "object";
NTI__TisZwGk09c029berxTuLcCJw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__TisZwGk09c029berxTuLcCJw_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_5_9[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[12];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[12].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[12].offset = offsetof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[12].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[12].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_5_9[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[13];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[13].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[13].offset = offsetof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw, result1);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[13].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[13].name = "result1";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_5_9[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[14];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[14].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[14].offset = offsetof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw, chronosInternalTmpFuture2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[14].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[14].name = "chronosInternalTmpFuture2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_5_9[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[15];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[15].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[15].offset = offsetof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw, colonup_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[15].typ = (&NTI__6UXLrIb1BaPX9aKShE9aMWHg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[15].name = ":up";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_5_9[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[16];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[16].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[16].offset = offsetof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw, result4);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[16].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[16].name = "result4";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_5_9[5] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[17];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[17].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[17].offset = offsetof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw, frame5);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[17].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[17].name = "frame5";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_5_9[6] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[18];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[18].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[18].offset = offsetof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw, res6);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[18].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[18].name = "res6";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_5_9[7] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[19];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[19].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[19].offset = offsetof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw, record7);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[19].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[19].name = "record7";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_5_9[8] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[20];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[20].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[20].offset = offsetof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw, errX60gensym1491250198_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[20].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[20].name = "err`gensym1491250198";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[11].len = 9; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[11].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[11].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_5_9[0];
NTI__TisZwGk09c029berxTuLcCJw_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[11];
NTI__bP4pbSrnAHUFdIeYqmNnfg_.size = sizeof(tyObject_Env_asyncmacro2dotnim___TisZwGk09c029berxTuLcCJw*);
NTI__bP4pbSrnAHUFdIeYqmNnfg_.kind = 22;
NTI__bP4pbSrnAHUFdIeYqmNnfg_.base = (&NTI__TisZwGk09c029berxTuLcCJw_);
NTI__bP4pbSrnAHUFdIeYqmNnfg_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__bP4pbSrnAHUFdIeYqmNnfg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__bP4pbSrnAHUFdIeYqmNnfg_;
NTI__bP4pbSrnAHUFdIeYqmNnfg_.marker = Marker_tyRef__bP4pbSrnAHUFdIeYqmNnfg;
NTI__UAD1InhbqUq9aWjHpv1yGrQ_.size = sizeof(tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ);
NTI__UAD1InhbqUq9aWjHpv1yGrQ_.kind = 17;
NTI__UAD1InhbqUq9aWjHpv1yGrQ_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__UAD1InhbqUq9aWjHpv1yGrQ_.name = "object";
NTI__UAD1InhbqUq9aWjHpv1yGrQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__UAD1InhbqUq9aWjHpv1yGrQ_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_6_4[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[22];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[22].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[22].offset = offsetof(tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[22].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[22].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_6_4[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[23];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[23].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[23].offset = offsetof(tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ, sconn1);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[23].typ = (&NTI__ZerMcZkaRbhs8wv4M9cMNuw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[23].name = "sconn1";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_6_4[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[24];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[24].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[24].offset = offsetof(tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ, chronosInternalRetFuture2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[24].typ = (&NTI__lT9buwOIvTTGQ3Bm66flIpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[24].name = "chronosInternalRetFuture2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_6_4[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[25];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[25].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[25].offset = offsetof(tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ, nameIterVarX60gensym1475255353_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[25].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[25].name = "nameIterVar`gensym1475255353";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[21].len = 4; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[21].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[21].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_6_4[0];
NTI__UAD1InhbqUq9aWjHpv1yGrQ_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[21];
NTI__sevEx2iuO2ciEcYRhGDCFg_.size = sizeof(tyObject_Env_noisedotnim___UAD1InhbqUq9aWjHpv1yGrQ*);
NTI__sevEx2iuO2ciEcYRhGDCFg_.kind = 22;
NTI__sevEx2iuO2ciEcYRhGDCFg_.base = (&NTI__UAD1InhbqUq9aWjHpv1yGrQ_);
NTI__sevEx2iuO2ciEcYRhGDCFg_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-libp2p/libp2p/protocols/secure/noise.nim(291, 9)";
NTI__sevEx2iuO2ciEcYRhGDCFg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__sevEx2iuO2ciEcYRhGDCFg_;
NTI__sevEx2iuO2ciEcYRhGDCFg_.marker = Marker_tyRef__sevEx2iuO2ciEcYRhGDCFg;
NTI__yvjh9bP9ar72rHGaCRMqcbAg_.size = sizeof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg);
NTI__yvjh9bP9ar72rHGaCRMqcbAg_.kind = 17;
NTI__yvjh9bP9ar72rHGaCRMqcbAg_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__yvjh9bP9ar72rHGaCRMqcbAg_.name = "object";
NTI__yvjh9bP9ar72rHGaCRMqcbAg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__yvjh9bP9ar72rHGaCRMqcbAg_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[27];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[27].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[27].offset = offsetof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[27].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[27].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[28];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[28].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[28].offset = offsetof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg, result1);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[28].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[28].name = "result1";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[29];
NTI__bN9bddWn8oiNSHn2MqEJSZQ_.size = sizeof(tyArray__bN9bddWn8oiNSHn2MqEJSZQ);
NTI__bN9bddWn8oiNSHn2MqEJSZQ_.kind = 16;
NTI__bN9bddWn8oiNSHn2MqEJSZQ_.base = (&NTI__k3HXouOuhqAKq0dx450lXQ_);
NTI__bN9bddWn8oiNSHn2MqEJSZQ_.flags = 3;
NTI__bN9bddWn8oiNSHn2MqEJSZQ_.name = "array[0..1, byte]";
NTI__bN9bddWn8oiNSHn2MqEJSZQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__bN9bddWn8oiNSHn2MqEJSZQ_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[29].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[29].offset = offsetof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg, besize2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[29].typ = (&NTI__bN9bddWn8oiNSHn2MqEJSZQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[29].name = "besize2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[30];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[30].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[30].offset = offsetof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg, chronosInternalTmpFuture3);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[30].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[30].name = "chronosInternalTmpFuture3";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[31];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[31].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[31].offset = offsetof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg, colonup_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[31].typ = (&NTI__sevEx2iuO2ciEcYRhGDCFg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[31].name = ":up";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[5] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[32];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[32].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[32].offset = offsetof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg, result5);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[32].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[32].name = "result5";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[6] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[33];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[33].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[33].offset = offsetof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg, size6);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[33].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[33].name = "size6";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[7] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[34];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[34].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[34].offset = offsetof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg, record7);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[34].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[34].name = "record7";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[8] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[35];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[35].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[35].offset = offsetof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg, errX60gensym1475800198_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[35].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[35].name = "err`gensym1475800198";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[9] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[36];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[36].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[36].offset = offsetof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg, buffer9);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[36].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[36].name = "buffer9";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[26].len = 10; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[26].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[26].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_7_10[0];
NTI__yvjh9bP9ar72rHGaCRMqcbAg_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[26];
NTI__mHShlm9bB8e7skdV7tXIDKw_.size = sizeof(tyObject_Env_asyncmacro2dotnim___yvjh9bP9ar72rHGaCRMqcbAg*);
NTI__mHShlm9bB8e7skdV7tXIDKw_.kind = 22;
NTI__mHShlm9bB8e7skdV7tXIDKw_.base = (&NTI__yvjh9bP9ar72rHGaCRMqcbAg_);
NTI__mHShlm9bB8e7skdV7tXIDKw_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__mHShlm9bB8e7skdV7tXIDKw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__mHShlm9bB8e7skdV7tXIDKw_;
NTI__mHShlm9bB8e7skdV7tXIDKw_.marker = Marker_tyRef__mHShlm9bB8e7skdV7tXIDKw;
NTI__DQLLr9cK5Sax4KGSaRMEh5Q_.size = sizeof(tyObject_NoiseDecryptTagError__DQLLr9cK5Sax4KGSaRMEh5Q);
NTI__DQLLr9cK5Sax4KGSaRMEh5Q_.kind = 17;
NTI__DQLLr9cK5Sax4KGSaRMEh5Q_.base = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_);
NTI__DQLLr9cK5Sax4KGSaRMEh5Q_.name = "NoiseDecryptTagError";
NTI__DQLLr9cK5Sax4KGSaRMEh5Q_.nextType = nimTypeRoot; nimTypeRoot=&NTI__DQLLr9cK5Sax4KGSaRMEh5Q_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[37].len = 0; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[37].kind = 2;
NTI__DQLLr9cK5Sax4KGSaRMEh5Q_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[37];
NTI__zlIzvcokRdx8RIT0CHC09cw_.size = sizeof(tyObject_NoiseDecryptTagError__DQLLr9cK5Sax4KGSaRMEh5Q*);
NTI__zlIzvcokRdx8RIT0CHC09cw_.kind = 22;
NTI__zlIzvcokRdx8RIT0CHC09cw_.base = (&NTI__DQLLr9cK5Sax4KGSaRMEh5Q_);
NTI__zlIzvcokRdx8RIT0CHC09cw_.name = "ref NoiseDecryptTagError";
NTI__zlIzvcokRdx8RIT0CHC09cw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__zlIzvcokRdx8RIT0CHC09cw_;
NTI__zlIzvcokRdx8RIT0CHC09cw_.marker = Marker_tyRef__zlIzvcokRdx8RIT0CHC09cw;
NTI__oGOlBdK5YcEKHgPKGJ7H6w_.size = sizeof(tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w);
NTI__oGOlBdK5YcEKHgPKGJ7H6w_.kind = 17;
NTI__oGOlBdK5YcEKHgPKGJ7H6w_.base = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_);
NTI__oGOlBdK5YcEKHgPKGJ7H6w_.name = "NoiseNonceMaxError";
NTI__oGOlBdK5YcEKHgPKGJ7H6w_.nextType = nimTypeRoot; nimTypeRoot=&NTI__oGOlBdK5YcEKHgPKGJ7H6w_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[38].len = 0; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[38].kind = 2;
NTI__oGOlBdK5YcEKHgPKGJ7H6w_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[38];
NTI__UMzWfkFSUe76ogFRLy6qvQ_.size = sizeof(tyObject_NoiseNonceMaxError__oGOlBdK5YcEKHgPKGJ7H6w*);
NTI__UMzWfkFSUe76ogFRLy6qvQ_.kind = 22;
NTI__UMzWfkFSUe76ogFRLy6qvQ_.base = (&NTI__oGOlBdK5YcEKHgPKGJ7H6w_);
NTI__UMzWfkFSUe76ogFRLy6qvQ_.name = "ref NoiseNonceMaxError";
NTI__UMzWfkFSUe76ogFRLy6qvQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__UMzWfkFSUe76ogFRLy6qvQ_;
NTI__UMzWfkFSUe76ogFRLy6qvQ_.marker = Marker_tyRef__UMzWfkFSUe76ogFRLy6qvQ;
NTI__1FCzD3u4mknEtg9cy45oENA_.size = sizeof(tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA);
NTI__1FCzD3u4mknEtg9cy45oENA_.kind = 17;
NTI__1FCzD3u4mknEtg9cy45oENA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__1FCzD3u4mknEtg9cy45oENA_.name = "object";
NTI__1FCzD3u4mknEtg9cy45oENA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__1FCzD3u4mknEtg9cy45oENA_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_48_5[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[40];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[40].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[40].offset = offsetof(tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[40].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[40].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_48_5[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[41];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[41].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[41].offset = offsetof(tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA, message1);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[41].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[41].name = "message1";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_48_5[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[42];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[42].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[42].offset = offsetof(tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA, chronosInternalRetFuture2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[42].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[42].name = "chronosInternalRetFuture2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_48_5[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[43];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[43].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[43].offset = offsetof(tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA, sconn3);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[43].typ = (&NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[43].name = "sconn3";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_48_5[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[44];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[44].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[44].offset = offsetof(tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA, nameIterVarX60gensym1492252544_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[44].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[44].name = "nameIterVar`gensym1492252544";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[39].len = 5; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[39].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[39].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_48_5[0];
NTI__1FCzD3u4mknEtg9cy45oENA_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[39];
NTI__0wwMc1vVqmCSgjs6UyvZIQ_.size = sizeof(tyObject_Env_noisedotnim___1FCzD3u4mknEtg9cy45oENA*);
NTI__0wwMc1vVqmCSgjs6UyvZIQ_.kind = 22;
NTI__0wwMc1vVqmCSgjs6UyvZIQ_.base = (&NTI__1FCzD3u4mknEtg9cy45oENA_);
NTI__0wwMc1vVqmCSgjs6UyvZIQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-libp2p/libp2p/protocols/secure/noise.nim(446, 6)";
NTI__0wwMc1vVqmCSgjs6UyvZIQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__0wwMc1vVqmCSgjs6UyvZIQ_;
NTI__0wwMc1vVqmCSgjs6UyvZIQ_.marker = Marker_tyRef__0wwMc1vVqmCSgjs6UyvZIQ;
NTI__OiGp4B0N9ccK3ZeVqYyFbEA_.size = sizeof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA);
NTI__OiGp4B0N9ccK3ZeVqYyFbEA_.kind = 17;
NTI__OiGp4B0N9ccK3ZeVqYyFbEA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__OiGp4B0N9ccK3ZeVqYyFbEA_.name = "object";
NTI__OiGp4B0N9ccK3ZeVqYyFbEA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__OiGp4B0N9ccK3ZeVqYyFbEA_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[46];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[46].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[46].offset = offsetof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[46].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[46].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[47];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[47].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[47].offset = offsetof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA, colonup_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[47].typ = (&NTI__0wwMc1vVqmCSgjs6UyvZIQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[47].name = ":up";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[48];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[48].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[48].offset = offsetof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA, result2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[48].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[48].name = "result2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[49];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[49].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[49].offset = offsetof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA, frames3);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[49].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[49].name = "frames3";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[50];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[50].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[50].offset = offsetof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA, cipherFrames4);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[50].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[50].name = "cipherFrames4";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[5] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[51];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[51].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[51].offset = offsetof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA, left5);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[51].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[51].name = "left5";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[6] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[52];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[52].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[52].offset = offsetof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA, offset6);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[52].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[52].name = "offset6";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[7] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[53];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[53].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[53].offset = offsetof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA, woffset7);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[53].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[53].name = "woffset7";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[8] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[54];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[54].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[54].offset = offsetof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA, chunkSize8);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[54].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[54].name = "chunkSize8";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[9] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[55];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[55].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[55].offset = offsetof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA, chronosInternalTmpFuture9);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[55].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[55].name = "chronosInternalTmpFuture9";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[45].len = 10; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[45].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[45].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_49_10[0];
NTI__OiGp4B0N9ccK3ZeVqYyFbEA_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[45];
NTI__FAVDhobQKVaCymaQuDs3nQ_.size = sizeof(tyObject_Env_asyncmacro2dotnim___OiGp4B0N9ccK3ZeVqYyFbEA*);
NTI__FAVDhobQKVaCymaQuDs3nQ_.kind = 22;
NTI__FAVDhobQKVaCymaQuDs3nQ_.base = (&NTI__OiGp4B0N9ccK3ZeVqYyFbEA_);
NTI__FAVDhobQKVaCymaQuDs3nQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__FAVDhobQKVaCymaQuDs3nQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__FAVDhobQKVaCymaQuDs3nQ_;
NTI__FAVDhobQKVaCymaQuDs3nQ_.marker = Marker_tyRef__FAVDhobQKVaCymaQuDs3nQ;
NTI__0x7BphhwSYR9bY7t9cTMvRcg_.size = sizeof(tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg);
NTI__0x7BphhwSYR9bY7t9cTMvRcg_.kind = 17;
NTI__0x7BphhwSYR9bY7t9cTMvRcg_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__0x7BphhwSYR9bY7t9cTMvRcg_.name = "object";
NTI__0x7BphhwSYR9bY7t9cTMvRcg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__0x7BphhwSYR9bY7t9cTMvRcg_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_82_6[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[57];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[57].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[57].offset = offsetof(tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[57].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[57].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_82_6[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[58];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[58].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[58].offset = offsetof(tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg, conn1);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[58].typ = (&NTI__ZerMcZkaRbhs8wv4M9cMNuw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[58].name = "conn1";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_82_6[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[59];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[59].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[59].offset = offsetof(tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg, initiator2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[59].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[59].name = "initiator2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_82_6[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[60];
NTI__9c8eGiIgXq9aArriNxjlYcwg_.size = sizeof(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg);
NTI__9c8eGiIgXq9aArriNxjlYcwg_.kind = 17;
NTI__9c8eGiIgXq9aArriNxjlYcwg_.base = (&NTI__rfxdGx6GJLVE9aqiYjwpDKQ_);
NTI__9c8eGiIgXq9aArriNxjlYcwg_.name = "Noise:ObjectType";
NTI__9c8eGiIgXq9aArriNxjlYcwg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__9c8eGiIgXq9aArriNxjlYcwg_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_83_6[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[62];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[62].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[62].offset = offsetof(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg, rng);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[62].typ = (&NTI__RuNvFuo5ptASsihINNteSw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[62].name = "rng";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_83_6[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[63];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[63].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[63].offset = offsetof(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg, localPrivateKey);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[63].typ = (&NTI__GSDbMQxBVd3KO4qBUjzPKQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[63].name = "localPrivateKey";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_83_6[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[64];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[64].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[64].offset = offsetof(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg, localPublicKey);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[64].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[64].name = "localPublicKey";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_83_6[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[65];
NTI__AP6MVDSfkogZQ9aWJV7aVXQ_.size = sizeof(tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ);
NTI__AP6MVDSfkogZQ9aWJV7aVXQ_.kind = 18;
NTI__AP6MVDSfkogZQ9aWJV7aVXQ_.base = 0;
NTI__AP6MVDSfkogZQ9aWJV7aVXQ_.flags = 3;
NTI__AP6MVDSfkogZQ9aWJV7aVXQ_.name = "KeyPair";
NTI__AP6MVDSfkogZQ9aWJV7aVXQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__AP6MVDSfkogZQ9aWJV7aVXQ_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_84_2[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[67];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[67].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[67].offset = offsetof(tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ, privateKey);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[67].typ = (&NTI__vEOa9c5qaE9ajWxR5R4zwfQg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[67].name = "privateKey";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_84_2[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[68];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[68].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[68].offset = offsetof(tyObject_KeyPair__AP6MVDSfkogZQ9aWJV7aVXQ, publicKey);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[68].typ = (&NTI__vEOa9c5qaE9ajWxR5R4zwfQg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[68].name = "publicKey";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[66].len = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[66].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[66].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_84_2[0];
NTI__AP6MVDSfkogZQ9aWJV7aVXQ_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[66];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[65].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[65].offset = offsetof(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg, noiseKeys);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[65].typ = (&NTI__AP6MVDSfkogZQ9aWJV7aVXQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[65].name = "noiseKeys";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_83_6[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[69];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[69].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[69].offset = offsetof(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg, commonPrologue);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[69].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[69].name = "commonPrologue";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_83_6[5] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[70];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[70].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[70].offset = offsetof(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg, outgoing);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[70].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[70].name = "outgoing";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[61].len = 6; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[61].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[61].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_83_6[0];
NTI__9c8eGiIgXq9aArriNxjlYcwg_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[61];
NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_.size = sizeof(tyObject_NoisecolonObjectType___9c8eGiIgXq9aArriNxjlYcwg*);
NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_.kind = 22;
NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_.base = (&NTI__9c8eGiIgXq9aArriNxjlYcwg_);
NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_.name = "Noise";
NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_;
NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_.marker = Marker_tyRef__qgzBoEGBqMGOP2w9cT9c6GxQ;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[60].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[60].offset = offsetof(tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg, p3);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[60].typ = (&NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[60].name = "p3";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_82_6[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[71];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[71].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[71].offset = offsetof(tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg, chronosInternalRetFuture4);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[71].typ = (&NTI__0uYCwcXe9a6ORVuTht1QPfQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[71].name = "chronosInternalRetFuture4";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_82_6[5] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[72];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[72].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[72].offset = offsetof(tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg, nameIterVarX60gensym1492951485_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[72].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[72].name = "nameIterVar`gensym1492951485";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[56].len = 6; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[56].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[56].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_82_6[0];
NTI__0x7BphhwSYR9bY7t9cTMvRcg_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[56];
NTI__jWzJccZcz9aOEcxYBCVb8qQ_.size = sizeof(tyObject_Env_noisedotnim___0x7BphhwSYR9bY7t9cTMvRcg*);
NTI__jWzJccZcz9aOEcxYBCVb8qQ_.kind = 22;
NTI__jWzJccZcz9aOEcxYBCVb8qQ_.base = (&NTI__0x7BphhwSYR9bY7t9cTMvRcg_);
NTI__jWzJccZcz9aOEcxYBCVb8qQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-libp2p/libp2p/protocols/secure/noise.nim(482, 37)";
NTI__jWzJccZcz9aOEcxYBCVb8qQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__jWzJccZcz9aOEcxYBCVb8qQ_;
NTI__jWzJccZcz9aOEcxYBCVb8qQ_.marker = Marker_tyRef__jWzJccZcz9aOEcxYBCVb8qQ;
NTI__DEop9bsCr9a2UNXY8Je6COtQ_.size = sizeof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ);
NTI__DEop9bsCr9a2UNXY8Je6COtQ_.kind = 17;
NTI__DEop9bsCr9a2UNXY8Je6COtQ_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__DEop9bsCr9a2UNXY8Je6COtQ_.name = "object";
NTI__DEop9bsCr9a2UNXY8Je6COtQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__DEop9bsCr9a2UNXY8Je6COtQ_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[74];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[74].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[74].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[74].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[74].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[75];
NTI__OhjTN74UhZiRrIN19aKOSsg_.size = sizeof(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg);
NTI__OhjTN74UhZiRrIN19aKOSsg_.kind = 18;
NTI__OhjTN74UhZiRrIN19aKOSsg_.base = 0;
NTI__OhjTN74UhZiRrIN19aKOSsg_.flags = 2;
NTI__OhjTN74UhZiRrIN19aKOSsg_.name = "HandshakeResult";
NTI__OhjTN74UhZiRrIN19aKOSsg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__OhjTN74UhZiRrIN19aKOSsg_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_86_4[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[77];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[77].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[77].offset = offsetof(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg, cs1);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[77].typ = (&NTI__YCZgSAEEw7bBlfog9bRo2Cw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[77].name = "cs1";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_86_4[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[78];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[78].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[78].offset = offsetof(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg, cs2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[78].typ = (&NTI__YCZgSAEEw7bBlfog9bRo2Cw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[78].name = "cs2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_86_4[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[79];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[79].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[79].offset = offsetof(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg, remoteP2psecret);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[79].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[79].name = "remoteP2psecret";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_86_4[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[80];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[80].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[80].offset = offsetof(tyObject_HandshakeResult__OhjTN74UhZiRrIN19aKOSsg, rs);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[80].typ = (&NTI__vEOa9c5qaE9ajWxR5R4zwfQg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[80].name = "rs";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[76].len = 4; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[76].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[76].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_86_4[0];
NTI__OhjTN74UhZiRrIN19aKOSsg_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[76];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[75].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[75].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, colontmpSlLower01_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[75].typ = (&NTI__OhjTN74UhZiRrIN19aKOSsg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[75].name = ":tmpSlLower01";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[81];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[81].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[81].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, result2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[81].typ = (&NTI__YcNq9cdJHxLn8sA9bkNprHVQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[81].name = "result2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[82];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[82].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[82].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, record3);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[82].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[82].name = "record3";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[83];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[83].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[83].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, colonup_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[83].typ = (&NTI__jWzJccZcz9aOEcxYBCVb8qQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[83].name = ":up";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[5] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[84];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[84].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[84].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, errX60gensym1493400195_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[84].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[84].name = "err`gensym1493400195";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[6] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[85];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[85].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[85].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, timeout6);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[85].typ = (&NTI__Rk1eeZ5K9cdVRk5l7BwOXGw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[85].name = "timeout6";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[7] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[86];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[86].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[86].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, signedPayload7);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[86].typ = (&NTI__CGRrBG2C4jqyNkskN9acy8Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[86].name = "signedPayload7";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[8] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[87];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[87].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[87].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, libp2pProof8);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[87].typ = (&NTI__40iIOZrE3YoWDkFgicA1eA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[87].name = "libp2pProof8";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[9] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[88];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[88].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[88].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, chronosInternalTmpFuture9);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[88].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[88].name = "chronosInternalTmpFuture9";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[10] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[89];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[89].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[89].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, result10);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[89].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[89].name = "result10";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[11] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[90];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[90].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[90].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, chronosInternalTmpFuture11);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[90].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[90].name = "chronosInternalTmpFuture11";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[12] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[91];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[91].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[91].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, handshakeRes12);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[91].typ = (&NTI__OhjTN74UhZiRrIN19aKOSsg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[91].name = "handshakeRes12";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[13] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[92];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[92].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[92].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, secure13);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[92].typ = (&NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[92].name = "secure13";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[14] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[93];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[93].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[93].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, remoteProof14);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[93].typ = (&NTI__40iIOZrE3YoWDkFgicA1eA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[93].name = "remoteProof14";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[15] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[94];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[94].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[94].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, remotePubKey15);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[94].typ = (&NTI__mVKS59bRpscItosS0oN9a4zA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[94].name = "remotePubKey15";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[16] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[95];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[95].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[95].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, remotePubKeyBytes16);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[95].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[95].name = "remotePubKeyBytes16";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[17] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[96];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[96].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[96].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, remoteSig17);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[96].typ = (&NTI__CGRrBG2C4jqyNkskN9acy8Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[96].name = "remoteSig17";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[18] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[97];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[97].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[97].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, remoteSigBytes18);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[97].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[97].name = "remoteSigBytes18";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[19] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[98];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[98].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[98].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, r119);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[98].typ = (&NTI__VR7l4DJaL9cSFn6dTxK0gOQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[98].name = "r119";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[20] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[99];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[99].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[99].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, r220);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[99].typ = (&NTI__VR7l4DJaL9cSFn6dTxK0gOQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[99].name = "r220";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[21] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[100];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[100].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[100].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, verifyPayload21);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[100].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[100].name = "verifyPayload21";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[22] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[101];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[101].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[101].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, record22);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[101].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[101].name = "record22";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[23] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[102];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[102].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[102].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, errX60gensym14947001923_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[102].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[102].name = "err`gensym14947001923";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[24] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[103];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[103].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[103].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, pid24);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[103].typ = (&NTI__rRs2IHyL9cPDf0qPXyWd1oQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[103].name = "pid24";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[25] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[104];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[104].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[104].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, failedKey25);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[104].typ = (&NTI__mVKS59bRpscItosS0oN9a4zA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[104].name = "failedKey25";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[26] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[105];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[105].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[105].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, record26);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[105].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[105].name = "record26";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[27] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[106];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[106].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[106].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, errX60gensym14955501927_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[106].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[106].name = "err`gensym14955501927";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[28] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[107];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[107].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[107].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, tmp28);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[107].typ = (&NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[107].name = "tmp28";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[29] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[108];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[108].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[108].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, record29);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[108].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[108].name = "record29";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[30] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[109];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[109].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[109].offset = offsetof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ, errX60gensym14967001930_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[109].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[109].name = "err`gensym14967001930";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[73].len = 31; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[73].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[73].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_85_31[0];
NTI__DEop9bsCr9a2UNXY8Je6COtQ_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[73];
NTI__RH139cS9bkclfX9aI2VFVskbg_.size = sizeof(tyObject_Env_asyncmacro2dotnim___DEop9bsCr9a2UNXY8Je6COtQ*);
NTI__RH139cS9bkclfX9aI2VFVskbg_.kind = 22;
NTI__RH139cS9bkclfX9aI2VFVskbg_.base = (&NTI__DEop9bsCr9a2UNXY8Je6COtQ_);
NTI__RH139cS9bkclfX9aI2VFVskbg_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__RH139cS9bkclfX9aI2VFVskbg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__RH139cS9bkclfX9aI2VFVskbg_;
NTI__RH139cS9bkclfX9aI2VFVskbg_.marker = Marker_tyRef__RH139cS9bkclfX9aI2VFVskbg;
NTI__paQYhYV9c8AlUwasVq5TE6Q_.size = sizeof(tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q);
NTI__paQYhYV9c8AlUwasVq5TE6Q_.kind = 17;
NTI__paQYhYV9c8AlUwasVq5TE6Q_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__paQYhYV9c8AlUwasVq5TE6Q_.name = "object";
NTI__paQYhYV9c8AlUwasVq5TE6Q_.nextType = nimTypeRoot; nimTypeRoot=&NTI__paQYhYV9c8AlUwasVq5TE6Q_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_94_6[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[111];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[111].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[111].offset = offsetof(tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[111].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[111].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_94_6[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[112];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[112].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[112].offset = offsetof(tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q, p1);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[112].typ = (&NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[112].name = "p1";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_94_6[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[113];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[113].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[113].offset = offsetof(tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q, conn2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[113].typ = (&NTI__ZerMcZkaRbhs8wv4M9cMNuw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[113].name = "conn2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_94_6[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[114];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[114].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[114].offset = offsetof(tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q, chronosInternalRetFuture3);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[114].typ = (&NTI__79b5LWj0YZCN09cCniK8vHVg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[114].name = "chronosInternalRetFuture3";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_94_6[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[115];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[115].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[115].offset = offsetof(tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q, p2pSecret4);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[115].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[115].name = "p2pSecret4";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_94_6[5] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[116];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[116].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[116].offset = offsetof(tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q, nameIterVarX60gensym1478500715_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[116].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[116].name = "nameIterVar`gensym1478500715";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[110].len = 6; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[110].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[110].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_94_6[0];
NTI__paQYhYV9c8AlUwasVq5TE6Q_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[110];
NTI__0dCbhTiClWNv61EsVhvlqg_.size = sizeof(tyObject_Env_noisedotnim___paQYhYV9c8AlUwasVq5TE6Q*);
NTI__0dCbhTiClWNv61EsVhvlqg_.kind = 22;
NTI__0dCbhTiClWNv61EsVhvlqg_.base = (&NTI__paQYhYV9c8AlUwasVq5TE6Q_);
NTI__0dCbhTiClWNv61EsVhvlqg_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-libp2p/libp2p/protocols/secure/noise.nim(325, 19)";
NTI__0dCbhTiClWNv61EsVhvlqg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__0dCbhTiClWNv61EsVhvlqg_;
NTI__0dCbhTiClWNv61EsVhvlqg_.marker = Marker_tyRef__0dCbhTiClWNv61EsVhvlqg;
NTI__8EWmiZVEq0BoWmwfdU9cExA_.size = sizeof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA);
NTI__8EWmiZVEq0BoWmwfdU9cExA_.kind = 17;
NTI__8EWmiZVEq0BoWmwfdU9cExA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__8EWmiZVEq0BoWmwfdU9cExA_.name = "object";
NTI__8EWmiZVEq0BoWmwfdU9cExA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__8EWmiZVEq0BoWmwfdU9cExA_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[118];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[118].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[118].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[118].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[118].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[119];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[119].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[119].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, colontmpSlLower01_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[119].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[119].name = ":tmpSlLower01";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[120];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[120].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[120].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, coloncurExc2_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[120].typ = (&NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[120].name = ":curExc2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[121];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[121].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[121].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, colontmpResult3_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[121].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[121].name = ":tmpResult3";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[122];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[122].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[122].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, colonunrollFinally4_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[122].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[122].name = ":unrollFinally4";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[5] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[123];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[123].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[123].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, result5);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[123].typ = (&NTI__OhjTN74UhZiRrIN19aKOSsg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[123].name = "result5";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[6] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[124];
NTI__eGBpTZdn9cK4ekfQpnduc9bQ_.size = sizeof(tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ);
NTI__eGBpTZdn9cK4ekfQpnduc9bQ_.kind = 18;
NTI__eGBpTZdn9cK4ekfQpnduc9bQ_.base = 0;
NTI__eGBpTZdn9cK4ekfQpnduc9bQ_.flags = 3;
NTI__eGBpTZdn9cK4ekfQpnduc9bQ_.name = "HandshakeState";
NTI__eGBpTZdn9cK4ekfQpnduc9bQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__eGBpTZdn9cK4ekfQpnduc9bQ_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_96_5[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[126];
NTI__EJYN460LmanXigF8xTf8AA_.size = sizeof(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA);
NTI__EJYN460LmanXigF8xTf8AA_.kind = 18;
NTI__EJYN460LmanXigF8xTf8AA_.base = 0;
NTI__EJYN460LmanXigF8xTf8AA_.flags = 3;
NTI__EJYN460LmanXigF8xTf8AA_.name = "SymmetricState";
NTI__EJYN460LmanXigF8xTf8AA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__EJYN460LmanXigF8xTf8AA_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_97_3[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[128];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[128].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[128].offset = offsetof(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA, cs);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[128].typ = (&NTI__YCZgSAEEw7bBlfog9bRo2Cw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[128].name = "cs";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_97_3[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[129];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[129].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[129].offset = offsetof(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA, ck);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[129].typ = (&NTI__vEOa9c5qaE9ajWxR5R4zwfQg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[129].name = "ck";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_97_3[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[130];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[130].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[130].offset = offsetof(tyObject_SymmetricState__EJYN460LmanXigF8xTf8AA, h);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[130].typ = (&NTI__law9ct65KplMYBvtmjCQxbw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[130].name = "h";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[127].len = 3; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[127].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[127].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_97_3[0];
NTI__EJYN460LmanXigF8xTf8AA_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[127];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[126].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[126].offset = offsetof(tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ, ss);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[126].typ = (&NTI__EJYN460LmanXigF8xTf8AA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[126].name = "ss";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_96_5[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[131];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[131].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[131].offset = offsetof(tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ, s);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[131].typ = (&NTI__AP6MVDSfkogZQ9aWJV7aVXQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[131].name = "s";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_96_5[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[132];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[132].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[132].offset = offsetof(tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ, e);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[132].typ = (&NTI__AP6MVDSfkogZQ9aWJV7aVXQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[132].name = "e";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_96_5[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[133];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[133].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[133].offset = offsetof(tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ, rs);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[133].typ = (&NTI__vEOa9c5qaE9ajWxR5R4zwfQg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[133].name = "rs";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_96_5[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[134];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[134].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[134].offset = offsetof(tyObject_HandshakeState__eGBpTZdn9cK4ekfQpnduc9bQ, re);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[134].typ = (&NTI__vEOa9c5qaE9ajWxR5R4zwfQg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[134].name = "re";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[125].len = 5; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[125].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[125].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_96_5[0];
NTI__eGBpTZdn9cK4ekfQpnduc9bQ_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[125];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[124].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[124].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, hs6);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[124].typ = (&NTI__eGBpTZdn9cK4ekfQpnduc9bQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[124].name = "hs6";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[7] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[135];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[135].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[135].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, colonup_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[135].typ = (&NTI__0dCbhTiClWNv61EsVhvlqg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[135].name = ":up";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[8] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[136];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[136].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[136].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, msg8);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[136].typ = (&NTI__rh4FrSJeqFgjpGXgKxSF9cA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[136].name = "msg8";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[9] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[137];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[137].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[137].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, record9);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[137].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[137].name = "record9";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[10] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[138];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[138].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[138].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, errX60gensym14790501910_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[138].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[138].name = "err`gensym14790501910";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[11] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[139];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[139].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[139].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, chronosInternalTmpFuture11);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[139].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[139].name = "chronosInternalTmpFuture11";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[12] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[140];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[140].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[140].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, result12);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[140].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[140].name = "result12";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[13] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[141];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[141].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[141].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, record13);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[141].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[141].name = "record13";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[14] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[142];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[142].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[142].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, errX60gensym14799001914_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[142].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[142].name = "err`gensym14799001914";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[15] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[143];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[143].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[143].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, record15);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[143].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[143].name = "record15";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[16] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[144];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[144].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[144].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, errX60gensym14808001916_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[144].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[144].name = "err`gensym14808001916";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[17] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[145];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[145].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[145].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, record17);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[145].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[145].name = "record17";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[18] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[146];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[146].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[146].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, errX60gensym14814001918_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[146].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[146].name = "err`gensym14814001918";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[19] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[147];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[147].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[147].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, rsLenX60gensym14810520219_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[147].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[147].name = "rsLen`gensym14810520219";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[20] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[148];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[148].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[148].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, record20);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[148].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[148].name = "record20";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[21] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[149];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[149].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[149].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, errX60gensym14824001921_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[149].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[149].name = "err`gensym14824001921";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[22] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[150];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[150].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[150].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, remoteP2psecret22);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[150].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[150].name = "remoteP2psecret22";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[23] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[151];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[151].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[151].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, record23);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[151].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[151].name = "record23";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[24] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[152];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[152].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[152].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, errX60gensym14830501924_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[152].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[152].name = "err`gensym14830501924";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[25] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[153];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[153].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[153].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, record25);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[153].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[153].name = "record25";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[26] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[154];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[154].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[154].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, errX60gensym14836501926_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[154].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[154].name = "err`gensym14836501926";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[27] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[155];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[155].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[155].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, cs127);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[155].typ = (&NTI__YCZgSAEEw7bBlfog9bRo2Cw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[155].name = "cs127";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[28] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[156];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[156].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[156].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA, cs228);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[156].typ = (&NTI__YCZgSAEEw7bBlfog9bRo2Cw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[156].name = "cs228";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[117].len = 29; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[117].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[117].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_95_29[0];
NTI__8EWmiZVEq0BoWmwfdU9cExA_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[117];
NTI__LLnYShTczSWMCe2pncZYUQ_.size = sizeof(tyObject_Env_asyncmacro2dotnim___8EWmiZVEq0BoWmwfdU9cExA*);
NTI__LLnYShTczSWMCe2pncZYUQ_.kind = 22;
NTI__LLnYShTczSWMCe2pncZYUQ_.base = (&NTI__8EWmiZVEq0BoWmwfdU9cExA_);
NTI__LLnYShTczSWMCe2pncZYUQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__LLnYShTczSWMCe2pncZYUQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__LLnYShTczSWMCe2pncZYUQ_;
NTI__LLnYShTczSWMCe2pncZYUQ_.marker = Marker_tyRef__LLnYShTczSWMCe2pncZYUQ;
NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_.size = sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ);
NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_.kind = 17;
NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_.base = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_);
NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_.name = "NoiseHandshakeError";
NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[157].len = 0; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[157].kind = 2;
NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[157];
NTI__lVduX0HkImCKAngD9aYQCBQ_.size = sizeof(tyObject_NoiseHandshakeError__R9c9bF5KUPUfQbRwS7lmRcfQ*);
NTI__lVduX0HkImCKAngD9aYQCBQ_.kind = 22;
NTI__lVduX0HkImCKAngD9aYQCBQ_.base = (&NTI__R9c9bF5KUPUfQbRwS7lmRcfQ_);
NTI__lVduX0HkImCKAngD9aYQCBQ_.name = "ref NoiseHandshakeError";
NTI__lVduX0HkImCKAngD9aYQCBQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__lVduX0HkImCKAngD9aYQCBQ_;
NTI__lVduX0HkImCKAngD9aYQCBQ_.marker = Marker_tyRef__lVduX0HkImCKAngD9aYQCBQ;
NTI__lNO2ckHz4yxUgL9aOfulbDg_.size = sizeof(tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg);
NTI__lNO2ckHz4yxUgL9aOfulbDg_.kind = 17;
NTI__lNO2ckHz4yxUgL9aOfulbDg_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__lNO2ckHz4yxUgL9aOfulbDg_.name = "object";
NTI__lNO2ckHz4yxUgL9aOfulbDg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__lNO2ckHz4yxUgL9aOfulbDg_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_166_6[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[159];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[159].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[159].offset = offsetof(tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[159].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[159].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_166_6[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[160];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[160].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[160].offset = offsetof(tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg, p1);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[160].typ = (&NTI__qgzBoEGBqMGOP2w9cT9c6GxQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[160].name = "p1";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_166_6[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[161];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[161].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[161].offset = offsetof(tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg, conn2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[161].typ = (&NTI__ZerMcZkaRbhs8wv4M9cMNuw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[161].name = "conn2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_166_6[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[162];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[162].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[162].offset = offsetof(tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg, chronosInternalRetFuture3);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[162].typ = (&NTI__79b5LWj0YZCN09cCniK8vHVg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[162].name = "chronosInternalRetFuture3";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_166_6[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[163];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[163].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[163].offset = offsetof(tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg, p2pSecret4);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[163].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[163].name = "p2pSecret4";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_166_6[5] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[164];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[164].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[164].offset = offsetof(tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg, nameIterVarX60gensym1484552435_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[164].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[164].name = "nameIterVar`gensym1484552435";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[158].len = 6; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[158].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[158].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_166_6[0];
NTI__lNO2ckHz4yxUgL9aOfulbDg_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[158];
NTI__2NuxoxSSsLjOY3XCNZA2gw_.size = sizeof(tyObject_Env_noisedotnim___lNO2ckHz4yxUgL9aOfulbDg*);
NTI__2NuxoxSSsLjOY3XCNZA2gw_.kind = 22;
NTI__2NuxoxSSsLjOY3XCNZA2gw_.base = (&NTI__lNO2ckHz4yxUgL9aOfulbDg_);
NTI__2NuxoxSSsLjOY3XCNZA2gw_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-libp2p/libp2p/protocols/secure/noise.nim(374, 19)";
NTI__2NuxoxSSsLjOY3XCNZA2gw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__2NuxoxSSsLjOY3XCNZA2gw_;
NTI__2NuxoxSSsLjOY3XCNZA2gw_.marker = Marker_tyRef__2NuxoxSSsLjOY3XCNZA2gw;
NTI__8NjGJA84aKG8OD5mMt9bZzQ_.size = sizeof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ);
NTI__8NjGJA84aKG8OD5mMt9bZzQ_.kind = 17;
NTI__8NjGJA84aKG8OD5mMt9bZzQ_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__8NjGJA84aKG8OD5mMt9bZzQ_.name = "object";
NTI__8NjGJA84aKG8OD5mMt9bZzQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__8NjGJA84aKG8OD5mMt9bZzQ_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[166];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[166].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[166].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[166].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[166].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[167];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[167].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[167].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, colontmpSlLower01_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[167].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[167].name = ":tmpSlLower01";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[168];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[168].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[168].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, colontmpSlLower12_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[168].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[168].name = ":tmpSlLower12";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[169];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[169].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[169].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, coloncurExc3_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[169].typ = (&NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[169].name = ":curExc3";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[4] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[170];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[170].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[170].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, colontmpResult4_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[170].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[170].name = ":tmpResult4";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[5] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[171];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[171].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[171].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, colonunrollFinally5_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[171].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[171].name = ":unrollFinally5";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[6] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[172];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[172].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[172].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, result6);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[172].typ = (&NTI__OhjTN74UhZiRrIN19aKOSsg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[172].name = "result6";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[7] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[173];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[173].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[173].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, hs7);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[173].typ = (&NTI__eGBpTZdn9cK4ekfQpnduc9bQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[173].name = "hs7";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[8] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[174];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[174].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[174].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, colonup_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[174].typ = (&NTI__2NuxoxSSsLjOY3XCNZA2gw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[174].name = ":up";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[9] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[175];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[175].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[175].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, msg9);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[175].typ = (&NTI__rh4FrSJeqFgjpGXgKxSF9cA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[175].name = "msg9";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[10] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[176];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[176].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[176].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, chronosInternalTmpFuture10);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[176].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[176].name = "chronosInternalTmpFuture10";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[11] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[177];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[177].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[177].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, result11);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[177].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[177].name = "result11";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[12] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[178];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[178].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[178].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, record12);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[178].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[178].name = "record12";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[13] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[179];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[179].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[179].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, errX60gensym14851501913_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[179].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[179].name = "err`gensym14851501913";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[14] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[180];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[180].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[180].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, earlyData14);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[180].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[180].name = "earlyData14";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[15] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[181];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[181].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[181].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, record15);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[181].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[181].name = "record15";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[16] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[182];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[182].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[182].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, errX60gensym14861501916_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[182].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[182].name = "err`gensym14861501916";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[17] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[183];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[183].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[183].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, record17);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[183].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[183].name = "record17";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[18] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[184];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[184].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[184].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, errX60gensym14867501918_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[184].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[184].name = "err`gensym14867501918";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[19] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[185];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[185].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[185].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, record19);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[185].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[185].name = "record19";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[20] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[186];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[186].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[186].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, errX60gensym14873501920_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[186].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[186].name = "err`gensym14873501920";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[21] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[187];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[187].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[187].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, record21);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[187].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[187].name = "record21";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[22] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[188];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[188].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[188].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, errX60gensym14879501922_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[188].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[188].name = "err`gensym14879501922";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[23] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[189];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[189].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[189].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, record23);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[189].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[189].name = "record23";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[24] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[190];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[190].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[190].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, errX60gensym14888001924_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[190].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[190].name = "err`gensym14888001924";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[25] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[191];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[191].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[191].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, rsLenX60gensym14884501825_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[191].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[191].name = "rsLen`gensym14884501825";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[26] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[192];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[192].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[192].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, record26);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[192].typ = (&NTI__EhHqp0aF43SxfS6MTF9b0hA_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[192].name = "record26";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[27] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[193];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[193].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[193].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, errX60gensym14898001927_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[193].typ = (&NTI__gcKyg9bhR5vWTJg3cREMk0Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[193].name = "err`gensym14898001927";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[28] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[194];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[194].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[194].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, remoteP2psecret28);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[194].typ = (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[194].name = "remoteP2psecret28";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[29] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[195];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[195].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[195].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, cs129);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[195].typ = (&NTI__YCZgSAEEw7bBlfog9bRo2Cw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[195].name = "cs129";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[30] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[196];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[196].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[196].offset = offsetof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ, cs230);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[196].typ = (&NTI__YCZgSAEEw7bBlfog9bRo2Cw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[196].name = "cs230";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[165].len = 31; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[165].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[165].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_167_31[0];
NTI__8NjGJA84aKG8OD5mMt9bZzQ_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[165];
NTI__lxeGM9b8ZJsLR9aQjiYjgicQ_.size = sizeof(tyObject_Env_asyncmacro2dotnim___8NjGJA84aKG8OD5mMt9bZzQ*);
NTI__lxeGM9b8ZJsLR9aQjiYjgicQ_.kind = 22;
NTI__lxeGM9b8ZJsLR9aQjiYjgicQ_.base = (&NTI__8NjGJA84aKG8OD5mMt9bZzQ_);
NTI__lxeGM9b8ZJsLR9aQjiYjgicQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__lxeGM9b8ZJsLR9aQjiYjgicQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__lxeGM9b8ZJsLR9aQjiYjgicQ_;
NTI__lxeGM9b8ZJsLR9aQjiYjgicQ_.marker = Marker_tyRef__lxeGM9b8ZJsLR9aQjiYjgicQ;
NTI__3d5LG9bkZEn9bUVuTys6Zl4A_.size = sizeof(tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A);
NTI__3d5LG9bkZEn9bUVuTys6Zl4A_.kind = 17;
NTI__3d5LG9bkZEn9bUVuTys6Zl4A_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__3d5LG9bkZEn9bUVuTys6Zl4A_.name = "object";
NTI__3d5LG9bkZEn9bUVuTys6Zl4A_.nextType = nimTypeRoot; nimTypeRoot=&NTI__3d5LG9bkZEn9bUVuTys6Zl4A_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_236_4[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[198];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[198].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[198].offset = offsetof(tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[198].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[198].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_236_4[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[199];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[199].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[199].offset = offsetof(tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A, s1);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[199].typ = (&NTI__IhcuvquVp9aKgIIO9c9azQ9aPg_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[199].name = "s1";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_236_4[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[200];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[200].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[200].offset = offsetof(tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A, chronosInternalRetFuture2);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[200].typ = (&NTI__wrhe6hYHoM2gc8EiW0lE6Q_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[200].name = "chronosInternalRetFuture2";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_236_4[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[201];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[201].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[201].offset = offsetof(tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A, nameIterVarX60gensym1497563983_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[201].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[201].name = "nameIterVar`gensym1497563983";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[197].len = 4; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[197].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[197].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_236_4[0];
NTI__3d5LG9bkZEn9bUVuTys6Zl4A_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[197];
NTI__jC7M3qre3waJP9cPgRA1sAw_.size = sizeof(tyObject_Env_noisedotnim___3d5LG9bkZEn9bUVuTys6Zl4A*);
NTI__jC7M3qre3waJP9cPgRA1sAw_.kind = 22;
NTI__jC7M3qre3waJP9cPgRA1sAw_.base = (&NTI__3d5LG9bkZEn9bUVuTys6Zl4A_);
NTI__jC7M3qre3waJP9cPgRA1sAw_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-libp2p/libp2p/protocols/secure/noise.nim(570, 29)";
NTI__jC7M3qre3waJP9cPgRA1sAw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__jC7M3qre3waJP9cPgRA1sAw_;
NTI__jC7M3qre3waJP9cPgRA1sAw_.marker = Marker_tyRef__jC7M3qre3waJP9cPgRA1sAw;
NTI__Hsb8NO0F8cDq36I9cIKkrxg_.size = sizeof(tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg);
NTI__Hsb8NO0F8cDq36I9cIKkrxg_.kind = 17;
NTI__Hsb8NO0F8cDq36I9cIKkrxg_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__Hsb8NO0F8cDq36I9cIKkrxg_.name = "object";
NTI__Hsb8NO0F8cDq36I9cIKkrxg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Hsb8NO0F8cDq36I9cIKkrxg_;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_237_4[0] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[203];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[203].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[203].offset = offsetof(tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg, colonstate_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[203].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[203].name = ":state";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_237_4[1] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[204];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[204].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[204].offset = offsetof(tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg, chronosInternalTmpFuture1);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[204].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[204].name = "chronosInternalTmpFuture1";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_237_4[2] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[205];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[205].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[205].offset = offsetof(tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg, colonup_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[205].typ = (&NTI__jC7M3qre3waJP9cPgRA1sAw_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[205].name = ":up";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_237_4[3] = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[206];
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[206].kind = 1;
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[206].offset = offsetof(tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg, result3);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[206].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[206].name = "result3";
TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[202].len = 4; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[202].kind = 2; TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[202].sons = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_237_4[0];
NTI__Hsb8NO0F8cDq36I9cIKkrxg_.node = &TM__UYWm9bIxk9c4GHvcjnzpvpYw_0[202];
NTI__Gm9a0tB0QN9bjrU3JZp9aTvdA_.size = sizeof(tyObject_Env_asyncmacro2dotnim___Hsb8NO0F8cDq36I9cIKkrxg*);
NTI__Gm9a0tB0QN9bjrU3JZp9aTvdA_.kind = 22;
NTI__Gm9a0tB0QN9bjrU3JZp9aTvdA_.base = (&NTI__Hsb8NO0F8cDq36I9cIKkrxg_);
NTI__Gm9a0tB0QN9bjrU3JZp9aTvdA_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__Gm9a0tB0QN9bjrU3JZp9aTvdA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Gm9a0tB0QN9bjrU3JZp9aTvdA_;
NTI__Gm9a0tB0QN9bjrU3JZp9aTvdA_.marker = Marker_tyRef__Gm9a0tB0QN9bjrU3JZp9aTvdA;
}