nwaku/nimcache/release/wakubridge/@m..@s..@svendor@snim-libp2p@slibp2p@sprotocols@spubsub@srpc@smessage.nim.c

1188 lines
79 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 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/certs -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@spubsub@srpc@smessage.nim.c.o nimcache/release/wakubridge/@m..@s..@svendor@snim-libp2p@slibp2p@sprotocols@spubsub@srpc@smessage.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <sys/types.h>
#include <pthread.h>
#include <string.h>
#include <setjmp.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_CountercolonObjectType___cOLAOcl7p0BPhf5kvmQRqw tyObject_CountercolonObjectType___cOLAOcl7p0BPhf5kvmQRqw;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_RegistrycolonObjectType___BYp09bQgV1UDe8gKDGtyK7Q tyObject_RegistrycolonObjectType___BYp09bQgV1UDe8gKDGtyK7Q;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
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 tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
typedef struct tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg;
typedef struct tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw;
typedef struct tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q;
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 Exception Exception;
typedef struct RootObj RootObj;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
typedef struct TSafePoint TSafePoint;
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 tyObject_Option__Q5vHW2Jp3i5sJjCp9cdgKug tyObject_Option__Q5vHW2Jp3i5sJjCp9cdgKug;
typedef struct tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw;
typedef struct tyObject_Option__wHefNd5THCi6xMTxzEWqIw tyObject_Option__wHefNd5THCi6xMTxzEWqIw;
typedef struct tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw;
typedef struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA;
typedef struct tySequence__pJDjdGjSf3HlAOELaHOmSA tySequence__pJDjdGjSf3HlAOELaHOmSA;
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_Result__wI9bduJs1m4ktObREEZ9adiQ tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ;
typedef struct tyObject_Result__ZGY78kIl5s9a88zIUpvwquA tyObject_Result__ZGY78kIl5s9a88zIUpvwquA;
typedef struct tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q;
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
typedef struct tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw;
typedef struct tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA;
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {NI size;
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
NCSTRING name;
TNimType* nextType;
NI instances;
NI sizes;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
typedef N_NIMCALL_PTR(void, tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ) (void);
struct TGenericSeq {NI len;
NI reserved;
};
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
};
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_PeerID__Se8YyoPxzDpFnTeAyeCVCw {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data;
};
struct tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg {tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw fromPeer;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* seqno;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* topicIDs;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* signature;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* key;
};
struct tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data;
};
typedef NU8 tyEnum_PKScheme__GeN4EiKxd9aXAvv5y1lfmHg;
typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32];
struct tyObject_EdPublicKey__fCTHNrLwOTcb1HatTDTAEA {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
};
typedef NU8 tyArray__w5VB8h5K8DB3oWrO5U2wqg[64];
struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ {tyArray__w5VB8h5K8DB3oWrO5U2wqg data;
};
struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA {tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ data;
};
struct tyObject_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 RootObj {TNimType* m_type;};
struct Exception { RootObj Sup;Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
typedef long tyArray__TcvIiMAJvcwzNLsZkfnFnQ[25];
struct TSafePoint {TSafePoint* prev;
NI status;
jmp_buf context;
};
struct tyObject_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_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;};
struct tyObject_Option__Q5vHW2Jp3i5sJjCp9cdgKug {tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw* val;
};
struct tyObject_Option__wHefNd5THCi6xMTxzEWqIw {NU64 val;
NIM_BOOL has;
};
typedef NU8 tyArray__cdsir9aPB24hAk6k77P9b9bCA[8];
typedef NU8 tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw;
struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA { Exception Sup;};
struct tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw { tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;};
typedef NU8 tyEnum_KeyType__RX9cgRnEh9bnsWx9cuPhqOgtw;
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_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 NU8 tyEnum_CryptoError__Z6S5YnPavFcXanJgC9cU1uw;
struct tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ {NIM_BOOL o;
union{
struct {tyEnum_CryptoError__Z6S5YnPavFcXanJgC9cU1uw e;
} _o_1;
struct {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* v;
} _o_2;
};
};
struct tyObject_Result__ZGY78kIl5s9a88zIUpvwquA {NIM_BOOL o;
union{
struct {tyEnum_CryptoError__Z6S5YnPavFcXanJgC9cU1uw e;
} _o_1;
struct {tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q 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_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
NI line;
NCSTRING filename;
};
struct tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* buffer;
NI offset;
};
struct tyObject_MultiAddress__MntiKgxV52rXueBQXpXCJw {tyObject_VBuffer__pgrKDkZLiJID3rDHrYm5UA data;
};
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ { TGenericSeq Sup; NimStringDesc* data[SEQ_DECL_SIZE];};struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 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(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, TM__lZjRsquDHfVf5FPLR5Qc5g_2)(void);
N_LIB_PRIVATE N_NIMCALL(void, nimRegisterGlobalMarker)(tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ markerProc);
N_LIB_PRIVATE N_NIMCALL(tyObject_CountercolonObjectType___cOLAOcl7p0BPhf5kvmQRqw*, newCounter__aCN0px5Tq3H2b76ZI5TVlg)(NimStringDesc* name_0, NimStringDesc* help, NimStringDesc** labels, NI labelsLen_0, tyObject_RegistrycolonObjectType___BYp09bQgV1UDe8gKDGtyK7Q* registry, NF sampleRate);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_NIMCALL(void, TM__lZjRsquDHfVf5FPLR5Qc5g_5)(void);
static N_INLINE(NimStringDesc*, toHex__19cqtdsadv8K0DQ9cF6PPp8Qbyteutils)(NU8* ba, NI baLen_0);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toHexAux__mTF3iGytPXR76nCDQ9aqz9cw)(NU8* ba, NI baLen_0);
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*, dollar___YvhybdNIMaDdbU9cTJva0oQ_2)(tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw pid);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_LIB_PRIVATE N_NIMCALL(NI, hash__CiCiZV9c7F9alrF1xV3QD1ag_2)(NU8* x_0, NI x_0Len_0);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_LIB_PRIVATE N_NIMCALL(NI, hash__WYDIaLCbmWhyxpD9cQWB2yg)(NimStringDesc** x, NI xLen_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, toBytes__U4kZc2UAauSmATzOovzVMA)(NimStringDesc* s_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(void, genericAssign)(void* dest, void* src, TNimType* mt);
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, init__ZFrj29apZJPaB79ca09cGOStw)(tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* key_0, NU8* data_0, NI data_0Len_0);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
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__tq4FVrYoNOW1QLctX86ryA)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q val_0);
N_LIB_PRIVATE N_NIMCALL(void, logAllDynamicProperties__2fo45m4EsDq89bdWxK19aOpQ)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r);
N_LIB_PRIVATE N_NIMCALL(void, flushRecord__2TFyTWhDxeU5kGr2yqnA6w)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r);
static N_INLINE(void, popSafePoint)(void);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
static N_INLINE(Exception*, nimBorrowCurrentException)(void);
static N_INLINE(Exception*, getCurrentException)(void);
N_LIB_PRIVATE N_NIMCALL(void, logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg)(NCSTRING msg, Exception* ex);
static N_INLINE(void, popCurrentException)(void);
N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, verify__TsBOm3TqPuBNRfSnGdwfiw)(tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q sig, NU8* message, NI messageLen_0, tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA* key_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, amp___GKDTgswYEfLZ0HJ4qcD9cGQ)(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* x_0, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* y_0);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encodeMessage__ZrHwirrpJWivVXgCTJwKlA)(tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg* msg, NIM_BOOL anonymize);
N_LIB_PRIVATE N_NIMCALL(void, incCounter__f2vgkX6kvglPffAjFK9bTCA)(tyObject_CountercolonObjectType___cOLAOcl7p0BPhf5kvmQRqw* counter, NI amount, NimStringDesc** labelValues, NI labelValuesLen_0);
N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest, void* src, TNimType* mt);
N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(NIM_BOOL, isSome__b4ukeunPPAPt7x6yOsxZdAoptions)(tyObject_Option__wHefNd5THCi6xMTxzEWqIw self);
static N_INLINE(void, toBytesBE__4UJPiAxU9aF5p8fYoiHyiAwendians2)(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_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
static N_INLINE(NU64, get__sOb2raIbvv0Cxmp9czrUGUAoptions)(tyObject_Option__wHefNd5THCi6xMTxzEWqIw self);
static N_INLINE(NIM_BOOL, isNone__b4ukeunPPAPt7x6yOsxZdA_2options)(tyObject_Option__wHefNd5THCi6xMTxzEWqIw self);
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
static N_INLINE(NIM_BOOL, isSome__ljhzT9bB2ihads5mjiSENoAoptions)(tyObject_Option__Q5vHW2Jp3i5sJjCp9cdgKug self);
static N_INLINE(tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw*, get__ZFCcKUMPTSSTWs87Vhr9bnwoptions)(tyObject_Option__Q5vHW2Jp3i5sJjCp9cdgKug self);
static N_INLINE(NIM_BOOL, isNone__ljhzT9bB2ihads5mjiSENoA_2options)(tyObject_Option__Q5vHW2Jp3i5sJjCp9cdgKug self);
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_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
N_LIB_PRIVATE N_NIMCALL(void, sign__5utDVdGOBPJvq52X9cysqZQ)(tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg* msg, tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ* privateKey, tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ* Result);
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, getBytes__c1mSmfwMuNxjcxH6tqzdLg)(tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q sig);
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(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);
extern TNimType NTI__1zvu7qZyvvdj9bFNfopFZvQ_;
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_3, "libp2p_pubsub_sig_verify_success", 32);
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_4, "pubsub successfully validated messages", 38);
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_6, "libp2p_pubsub_sig_verify_failure", 32);
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_7, "pubsub failed validated messages", 32);
extern TNimType NTI__9bIfp9aTAZKB9cehqCItD41cg_;
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_10, "pubsubmessage", 13);
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_11, "verifying signature", 19);
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_12, "tid", 3);
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_13, "remoteSignature", 15);
extern TNimType NTI__qrLSDoe2oBoAqNtJ9badtnA_;
static NIM_CONST struct { TGenericSeq Sup; NU8 data[14];} TM__lZjRsquDHfVf5FPLR5Qc5g_14 = {{14, 14 | NIM_STRLIT_FLAG}, {((NU8) 108),
((NU8) 105),
((NU8) 98),
((NU8) 112),
((NU8) 50),
((NU8) 112),
((NU8) 45),
((NU8) 112),
((NU8) 117),
((NU8) 98),
((NU8) 115),
((NU8) 117),
((NU8) 98),
((NU8) 58)}};N_LIB_PRIVATE NIM_CONST tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* PubSubPrefix__1filUaYnOOoRG9clAONt0bg = ((tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)&TM__lZjRsquDHfVf5FPLR5Qc5g_14);
extern TNimType NTI__6H5Oh5UUvVCLiakt9aTwtUQ_;
extern TNimType NTI__sM4lkSb7zS6F7OVMvW9cffQ_;
extern TNimType NTI__GntyqsSCwg00S5X6lKEPuQ_;
extern TNimType NTI__VAWWBGXQQxBx5kHPK2xRMw_;
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_17, "Can\'t obtain a value from a `none`", 34);
extern TNimType NTI__gcKyg9bhR5vWTJg3cREMk0Q_;
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_18, "Cannot sign message without private key", 39);
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_19, "\'v\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_20, "\'e\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_21, "\'privateKey\' is not accessible using discriminant \'keyType\' of "
"type \'PeerInfo\'", 78);
extern TNimType NTI__mVKS59bRpscItosS0oN9a4zA_;
STRING_LITERAL(TM__lZjRsquDHfVf5FPLR5Qc5g_22, "Cannot sign message without peer info", 37);
N_LIB_PRIVATE tyObject_CountercolonObjectType___cOLAOcl7p0BPhf5kvmQRqw* libp2p_pubsub_sig_verify_success__zRL9b74GTFtrwsJ0p0QpFog;
extern tyObject_RegistrycolonObjectType___BYp09bQgV1UDe8gKDGtyK7Q* defaultRegistry__io1tPp0SUJ9acKTx5nDy47A;
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
N_LIB_PRIVATE tyObject_CountercolonObjectType___cOLAOcl7p0BPhf5kvmQRqw* libp2p_pubsub_sig_verify_failure__ty17VNHuFWp1peBj3k4tmw;
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;
static N_NIMCALL(void, TM__lZjRsquDHfVf5FPLR5Qc5g_2)(void) {
nimGCvisit((void*)libp2p_pubsub_sig_verify_success__zRL9b74GTFtrwsJ0p0QpFog, 0);}
#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, TM__lZjRsquDHfVf5FPLR5Qc5g_5)(void) {
nimGCvisit((void*)libp2p_pubsub_sig_verify_failure__ty17VNHuFWp1peBj3k4tmw, 0);}
#line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
static N_INLINE(NimStringDesc*, toHex__19cqtdsadv8K0DQ9cF6PPp8Qbyteutils)(NU8* ba, NI baLen_0) { NimStringDesc* result; result = (NimStringDesc*)0;
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
result = toHexAux__mTF3iGytPXR76nCDQ9aqz9cw(ba, baLen_0); 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 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, defaultMsgIdProvider__1zgCXaiY7GusCtRZUJr8ZA)(tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg* m) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result; NimStringDesc* mid; result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
{ NIM_BOOL T3_; NI T4_; NI T6_; NimStringDesc* T9_; NimStringDesc* T10_; NimStringDesc* T11_;
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T3_ = (NIM_BOOL)0;
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T4_ = ((*m).seqno ? (*m).seqno->Sup.len : 0); T3_ = (((NI) 0) < T4_); if (!(T3_)) goto LA5_;
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T6_ = ((*m).fromPeer.data ? (*m).fromPeer.data->Sup.len : 0); T3_ = (((NI) 0) < T6_); LA5_: ;
if (!T3_) goto LA7_;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T9_ = (NimStringDesc*)0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T10_ = (NimStringDesc*)0; T10_ = toHex__19cqtdsadv8K0DQ9cF6PPp8Qbyteutils((*m).seqno->data, ((*m).seqno ? (*m).seqno->Sup.len : 0));
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T11_ = (NimStringDesc*)0; T11_ = dollar___YvhybdNIMaDdbU9cTJva0oQ_2((*m).fromPeer); T9_ = rawNewString((T10_ ? T10_->Sup.len : 0) + (T11_ ? T11_->Sup.len : 0) + 0);appendString(T9_, T10_);appendString(T9_, T11_); mid = T9_; }
goto LA1_;
LA7_: ;
{ NimStringDesc* T13_; NI T14_; NimStringDesc* T15_; NI T16_; NimStringDesc* T17_;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T13_ = (NimStringDesc*)0;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T14_ = (NI)0; T14_ = hash__CiCiZV9c7F9alrF1xV3QD1ag_2((*m).data->data, ((*m).data ? (*m).data->Sup.len : 0)); T15_ = (NimStringDesc*)0; T15_ = nimIntToStr(T14_);
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T16_ = (NI)0; T16_ = hash__WYDIaLCbmWhyxpD9cQWB2yg((*m).topicIDs->data, ((*m).topicIDs ? (*m).topicIDs->Sup.len : 0)); T17_ = (NimStringDesc*)0; T17_ = nimIntToStr(T16_); T13_ = rawNewString((T15_ ? T15_->Sup.len : 0) + (T17_ ? T17_->Sup.len : 0) + 0);appendString(T13_, T15_);appendString(T13_, T17_); mid = T13_; }
LA1_: ;
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
result = toBytes__U4kZc2UAauSmATzOovzVMA(mid); return result;}
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_;
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));}
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
}
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
(*s).prev = excHandler__rqLlY5bs9atDw2OXYqJEn5g;
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
excHandler__rqLlY5bs9atDw2OXYqJEn5g = s;}
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
static N_INLINE(void, popSafePoint)(void) {
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
excHandler__rqLlY5bs9atDw2OXYqJEn5g = (*excHandler__rqLlY5bs9atDw2OXYqJEn5g).prev;}
#line 2292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(Exception*, nimBorrowCurrentException)(void) { Exception* result; result = (Exception*)0;
#line 2295 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
result = currException__9bVPeDJlYTi9bQApZpfH8wjg; return result;}
#line 2288 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(Exception*, getCurrentException)(void) { Exception* result; result = (Exception*)0;
#line 2290 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
result = currException__9bVPeDJlYTi9bQApZpfH8wjg; return result;}
#line 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 45 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, verify__A6q2dicjWlZSzocUH1td7Q)(tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg* m) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
{ NIM_BOOL T3_; NI T4_; NI T6_; tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg msg; tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q remote; tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA key_1;
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T3_ = (NIM_BOOL)0;
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T4_ = ((*m).signature ? (*m).signature->Sup.len : 0); T3_ = (((NI) 0) < T4_); if (!(T3_)) goto LA5_;
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T6_ = ((*m).key ? (*m).key->Sup.len : 0); T3_ = (((NI) 0) < T6_); LA5_: ;
if (!T3_) goto LA7_;
nimZeroMem((void*)(&msg), sizeof(tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg));
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
genericAssign((void*)(&msg), (void*)m, (&NTI__9bIfp9aTAZKB9cehqCItD41cg_));
#line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
msg.signature = NIM_NIL;
#line 49 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
msg.key = NIM_NIL; nimZeroMem((void*)(&remote), sizeof(tyObject_Signature__CGRrBG2C4jqyNkskN9acy8Q)); nimZeroMem((void*)(&key_1), sizeof(tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA));
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
{ NIM_BOOL T11_; TSafePoint TM__lZjRsquDHfVf5FPLR5Qc5g_8; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T25_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T26_;
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T11_ = (NIM_BOOL)0;
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T11_ = init__6Cs9aoQUoUHTjlNfrez9bVnw((&remote), (*m).signature->data, ((*m).signature ? (*m).signature->Sup.len : 0)); if (!(T11_)) goto LA12_;
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T11_ = init__ZFrj29apZJPaB79ca09cGOStw((&key_1), (*m).key->data, ((*m).key ? (*m).key->Sup.len : 0)); LA12_: ;
if (!T11_) goto LA13_;
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__lZjRsquDHfVf5FPLR5Qc5g_8); TM__lZjRsquDHfVf5FPLR5Qc5g_8.status = setjmp(TM__lZjRsquDHfVf5FPLR5Qc5g_8.context); if (TM__lZjRsquDHfVf5FPLR5Qc5g_8.status == 0) { TSafePoint TM__lZjRsquDHfVf5FPLR5Qc5g_9;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__lZjRsquDHfVf5FPLR5Qc5g_9); TM__lZjRsquDHfVf5FPLR5Qc5g_9.status = setjmp(TM__lZjRsquDHfVf5FPLR5Qc5g_9.context); if (TM__lZjRsquDHfVf5FPLR5Qc5g_9.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T18_; 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__lZjRsquDHfVf5FPLR5Qc5g_10), ((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_11));
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T18_ = (NI)0; T18_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_12), T18_);
#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__tq4FVrYoNOW1QLctX86ryA((&record), ((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_13), remote);
#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* errX60gensym172220019_; Exception* T21_; Exception* T22_; TM__lZjRsquDHfVf5FPLR5Qc5g_9.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T21_ = (Exception*)0; T21_ = getCurrentException(); errX60gensym172220019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T21_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T22_ = (Exception*)0; T22_ = &errX60gensym172220019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("verifying signature", T22_);
popCurrentException(); }
}
if (TM__lZjRsquDHfVf5FPLR5Qc5g_9.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__lZjRsquDHfVf5FPLR5Qc5g_8.status = 0; popCurrentException(); }
}
if (TM__lZjRsquDHfVf5FPLR5Qc5g_8.status != 0) reraiseException();
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T25_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T25_ = encodeMessage__ZrHwirrpJWivVXgCTJwKlA((&msg), NIM_FALSE);
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T26_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T26_ = amp___GKDTgswYEfLZ0HJ4qcD9cGQ(PubSubPrefix__1filUaYnOOoRG9clAONt0bg, T25_);
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
result = verify__TsBOm3TqPuBNRfSnGdwfiw(remote, T26_->data, (T26_ ? T26_->Sup.len : 0), (&key_1)); }
LA13_: ;
}
LA7_: ;
#line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
{ tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T31_; if (!result) goto LA29_;
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nim-metrics/metrics.nim"
T31_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0; T31_ = NIM_NIL;
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nim-metrics/metrics.nim"
incCounter__f2vgkX6kvglPffAjFK9bTCA(libp2p_pubsub_sig_verify_success__zRL9b74GTFtrwsJ0p0QpFog, ((NI) 1), T31_->data, (T31_ ? T31_->Sup.len : 0));
}
goto LA27_;
LA29_: ;
{ tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T33_;
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nim-metrics/metrics.nim"
T33_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0; T33_ = NIM_NIL;
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nim-metrics/metrics.nim"
incCounter__f2vgkX6kvglPffAjFK9bTCA(libp2p_pubsub_sig_verify_failure__ty17VNHuFWp1peBj3k4tmw, ((NI) 1), T33_->data, (T33_ ? T33_->Sup.len : 0));
}
LA27_: ;
return result;}
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, nimGCunrefNoCycle)(void* p) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
}
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
static N_INLINE(NIM_BOOL, isSome__b4ukeunPPAPt7x6yOsxZdAoptions)(tyObject_Option__wHefNd5THCi6xMTxzEWqIw self) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
result = self.has; 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__lZjRsquDHfVf5FPLR5Qc5g_15; NI TM__lZjRsquDHfVf5FPLR5Qc5g_16;
#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__lZjRsquDHfVf5FPLR5Qc5g_15)) { raiseOverflow(); }; Result[(i)- 0] = ((NU8) ((NU64)((NU64)((NU64)(v) >> (NU64)((NI)(TM__lZjRsquDHfVf5FPLR5Qc5g_15))) & 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__lZjRsquDHfVf5FPLR5Qc5g_16)) { raiseOverflow(); }; i_2 = (NI)(TM__lZjRsquDHfVf5FPLR5Qc5g_16); } LA8: ;
}
}
}
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/endians2.nim"
static N_INLINE(void, toBytesBE__4UJPiAxU9aF5p8fYoiHyiAwendians2)(NU64 x_0, tyArray__cdsir9aPB24hAk6k77P9b9bCA 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__0qTvPujbb0rvktscQDoIiwendians2(x_0, ((tyEnum_Endianness__0BVYNY0K9cz7BUPI3AnbEQw) 1), Result);
}
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
static N_INLINE(NIM_BOOL, isNone__b4ukeunPPAPt7x6yOsxZdA_2options)(tyObject_Option__wHefNd5THCi6xMTxzEWqIw self) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
result = !(self.has); return result;}
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
static N_INLINE(NU64, get__sOb2raIbvv0Cxmp9czrUGUAoptions)(tyObject_Option__wHefNd5THCi6xMTxzEWqIw self) { NU64 result; result = (NU64)0;
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
{ NIM_BOOL T3_; tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw* T6_; NimStringDesc* T7_;
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
T3_ = (NIM_BOOL)0; T3_ = isNone__b4ukeunPPAPt7x6yOsxZdA_2options(self); if (!T3_) goto LA4_;
T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*)0; T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*) newObj((&NTI__GntyqsSCwg00S5X6lKEPuQ_), sizeof(tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw)); (*T6_).Sup.Sup.Sup.m_type = (&NTI__VAWWBGXQQxBx5kHPK2xRMw_); (*T6_).Sup.Sup.name = "UnpackError"; T7_ = (NimStringDesc*)0; T7_ = (*T6_).Sup.Sup.message; (*T6_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_17)); if (T7_) nimGCunrefNoCycle(T7_); asgnRef((void**) (&(*T6_).Sup.Sup.parent), NIM_NIL);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
raiseExceptionEx((Exception*)T6_, "UnpackError", "get", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/options.nim", 185); }
LA4_: ;
result = self.val; return result;}
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
static N_INLINE(NIM_BOOL, isSome__ljhzT9bB2ihads5mjiSENoAoptions)(tyObject_Option__Q5vHW2Jp3i5sJjCp9cdgKug self) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
result = !((self.val == 0)); return result;}
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
static N_INLINE(NIM_BOOL, isNone__ljhzT9bB2ihads5mjiSENoA_2options)(tyObject_Option__Q5vHW2Jp3i5sJjCp9cdgKug self) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
#line 166 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
result = (self.val == 0); return result;}
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
static N_INLINE(tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw*, get__ZFCcKUMPTSSTWs87Vhr9bnwoptions)(tyObject_Option__Q5vHW2Jp3i5sJjCp9cdgKug self) { tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw* result; result = (tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw*)0;
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
{ NIM_BOOL T3_; tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw* T6_; NimStringDesc* T7_;
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
T3_ = (NIM_BOOL)0; T3_ = isNone__ljhzT9bB2ihads5mjiSENoA_2options(self); if (!T3_) goto LA4_;
T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*)0; T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*) newObj((&NTI__GntyqsSCwg00S5X6lKEPuQ_), sizeof(tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw)); (*T6_).Sup.Sup.Sup.m_type = (&NTI__VAWWBGXQQxBx5kHPK2xRMw_); (*T6_).Sup.Sup.name = "UnpackError"; T7_ = (NimStringDesc*)0; T7_ = (*T6_).Sup.Sup.message; (*T6_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_17)); if (T7_) nimGCunrefNoCycle(T7_); asgnRef((void**) (&(*T6_).Sup.Sup.parent), NIM_NIL);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
raiseExceptionEx((Exception*)T6_, "UnpackError", "get", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/options.nim", 185); }
LA4_: ;
result = self.val; return result;}
#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__lZjRsquDHfVf5FPLR5Qc5g_19)); } genericSeqAssign((&result), self._o_2.v, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); return result;}
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
N_LIB_PRIVATE N_NIMCALL(void, sign__5utDVdGOBPJvq52X9cysqZQ)(tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg* msg, tyObject_PrivateKey__GSDbMQxBVd3KO4qBUjzPKQ* privateKey, tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ* Result) { tyObject_Result__ZGY78kIl5s9a88zIUpvwquA vX60gensym172160056_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T1_; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T2_;{ chckNil((void*)Result); switch ((*Result).o) {
case NIM_FALSE:
(*Result)._o_1.e = 0; break;
case NIM_TRUE:
unsureAsgnRef((void**)&(*Result)._o_2.v, NIM_NIL); break;
}
(*Result).o = 0;
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
chckNil((void*)Result); switch ((*Result).o) {
case NIM_FALSE:
(*Result)._o_1.e = 0; break;
case NIM_TRUE:
unsureAsgnRef((void**)&(*Result)._o_2.v, NIM_NIL); break;
}
(*Result).o = 0; (*Result).o = NIM_TRUE;
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
nimZeroMem((void*)(&vX60gensym172160056_), sizeof(tyObject_Result__ZGY78kIl5s9a88zIUpvwquA));
#line 657 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T1_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T1_ = encodeMessage__ZrHwirrpJWivVXgCTJwKlA(msg, NIM_FALSE);
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T2_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T2_ = amp___GKDTgswYEfLZ0HJ4qcD9cGQ(PubSubPrefix__1filUaYnOOoRG9clAONt0bg, T1_);
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
sign__aZO9bv2QzDrkoNSd9c7rh3Bg(privateKey, T2_->data, (T2_ ? T2_->Sup.len : 0), (&vX60gensym172160056_));
#line 658 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
{
#line 658 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
if (!!(vX60gensym172160056_.o)) goto LA5_;
#line 662 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
#line 662 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
chckNil((void*)Result); switch ((*Result).o) {
case NIM_FALSE:
(*Result)._o_1.e = 0; break;
case NIM_TRUE:
unsureAsgnRef((void**)&(*Result)._o_2.v, NIM_NIL); break;
}
(*Result).o = 0; (*Result).o = NIM_FALSE; if (!(((1 &(1U<<((NU)(vX60gensym172160056_.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_20)); } (*Result)._o_1.e = vX60gensym172160056_._o_1.e; goto BeforeRet_;
}
LA5_: ;
if (!(((2 &(1U<<((NU)(vX60gensym172160056_.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_19)); }
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
unsureAsgnRef((void**) (&(*Result)._o_2.v), getBytes__c1mSmfwMuNxjcxH6tqzdLg(vX60gensym172160056_._o_2.v)); }BeforeRet_: ;
}
#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__lZjRsquDHfVf5FPLR5Qc5g_19)); } genericAssign((void*)Result, (void*)(&(*self)._o_2.v), (&NTI__mVKS59bRpscItosS0oN9a4zA_));}
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
N_LIB_PRIVATE N_NIMCALL(void, init__3MySuBKCIqnHn9aiwbAfpAw)(tyObject_Option__Q5vHW2Jp3i5sJjCp9cdgKug peer, tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data_0, NimStringDesc* topic, tyObject_Option__wHefNd5THCi6xMTxzEWqIw seqno, NIM_BOOL sign, tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg* Result) { tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg msg; NimStringDesc* T1_;
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
nimZeroMem((void*)(&msg), sizeof(tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg));
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
chckNil((void*)(&msg)); nimZeroMem((void*)(&msg), sizeof(tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg)); genericSeqAssign((&msg.data), data_0, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_));
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
msg.topicIDs = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) newSeq((&NTI__sM4lkSb7zS6F7OVMvW9cffQ_), 1); T1_ = (NimStringDesc*)0; T1_ = msg.topicIDs->data[0]; msg.topicIDs->data[0] = copyStringRC1(topic); if (T1_) nimGCunrefNoCycle(T1_);
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
{ NIM_BOOL T4_; NU64 T7_; tyArray__cdsir9aPB24hAk6k77P9b9bCA T8_;
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T4_ = (NIM_BOOL)0; T4_ = isSome__b4ukeunPPAPt7x6yOsxZdAoptions(seqno); if (!T4_) goto LA5_;
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
msg.seqno = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*) newSeq((&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_), 8);
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T7_ = (NU64)0; T7_ = get__sOb2raIbvv0Cxmp9czrUGUAoptions(seqno);
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
nimZeroMem((void*)T8_, sizeof(tyArray__cdsir9aPB24hAk6k77P9b9bCA)); toBytesBE__4UJPiAxU9aF5p8fYoiHyiAwendians2(T7_, T8_);
msg.seqno->data[0] = T8_[0]; msg.seqno->data[1] = T8_[1]; msg.seqno->data[2] = T8_[2]; msg.seqno->data[3] = T8_[3]; msg.seqno->data[4] = T8_[4]; msg.seqno->data[5] = T8_[5]; msg.seqno->data[6] = T8_[6]; msg.seqno->data[7] = T8_[7]; }
LA5_: ;
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
{ NIM_BOOL T11_; tyObject_PeerInfocolonObjectType___tniXhe3Zv7xQqYX3AOw9aQw* peer_2;
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T11_ = (NIM_BOOL)0; T11_ = isSome__ljhzT9bB2ihads5mjiSENoAoptions(peer); if (!T11_) goto LA12_;
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
peer_2 = get__ZFCcKUMPTSSTWs87Vhr9bnwoptions(peer);
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
genericSeqAssign((&msg.fromPeer.data), (*peer_2).peerId.data, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_));
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
{ tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ T24_; tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q T25_; tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA T26_; tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ T27_; if (!sign) goto LA16_;
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
{ tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* T22_; NimStringDesc* T23_;
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
if (!!(((*peer_2).keyType == ((tyEnum_KeyType__RX9cgRnEh9bnsWx9cuPhqOgtw) 0)))) goto LA20_;
T22_ = (tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*)0; T22_ = (tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) newObj((&NTI__gcKyg9bhR5vWTJg3cREMk0Q_), sizeof(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA)); (*T22_).Sup.Sup.m_type = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_); (*T22_).Sup.name = "CatchableError"; T23_ = (NimStringDesc*)0; T23_ = (*T22_).Sup.message; (*T22_).Sup.message = copyStringRC1(((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_18)); if (T23_) nimGCunrefNoCycle(T23_);
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
raiseExceptionEx((Exception*)T22_, "CatchableError", "init", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/pubsub/rpc/message.nim", 80); }
LA20_: ;
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
if (!(((1 &(1U<<((NU)((*peer_2).keyType)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_21)); }
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
nimZeroMem((void*)(&T24_), sizeof(tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ)); sign__5utDVdGOBPJvq52X9cysqZQ((&msg), (&(*peer_2)._keyType_1.privateKey), (&T24_));
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
msg.signature = tryGet__pg72R9b53e39bPQBiMgCX8Rgresults(T24_);
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
if (!(((1 &(1U<<((NU)((*peer_2).keyType)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_21)); }
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
nimZeroMem((void*)(&T25_), sizeof(tyObject_Result__vwq6q8V74XCA8dzFvuzU1Q)); getKey__BjB2ThDklmRLi5zxNp1MMg((&(*peer_2)._keyType_1.privateKey), (&T25_));
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
nimZeroMem((void*)(&T26_), sizeof(tyObject_PublicKey__mVKS59bRpscItosS0oN9a4zA)); tryGet__VeMgo2Cp9aeBXhskxVN2WeAresults((&T25_), (&T26_));
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
nimZeroMem((void*)(&T27_), sizeof(tyObject_Result__wI9bduJs1m4ktObREEZ9adiQ)); getBytes__4eZxdwajU59aqY5fR5EvlLg((&T26_), (&T27_));
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
msg.key = tryGet__pg72R9b53e39bPQBiMgCX8Rgresults(T27_); }
LA16_: ;
}
goto LA9_;
LA12_: ;
{ tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* T31_; NimStringDesc* T32_; if (!sign) goto LA29_;
T31_ = (tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*)0; T31_ = (tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) newObj((&NTI__gcKyg9bhR5vWTJg3cREMk0Q_), sizeof(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA)); (*T31_).Sup.Sup.m_type = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_); (*T31_).Sup.name = "CatchableError"; T32_ = (NimStringDesc*)0; T32_ = (*T31_).Sup.message; (*T31_).Sup.message = copyStringRC1(((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_22)); if (T32_) nimGCunrefNoCycle(T32_);
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
raiseExceptionEx((Exception*)T31_, "CatchableError", "init", "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/pr"
"otocols/pubsub/rpc/message.nim", 84); }
goto LA9_;
LA29_: ;
LA9_: ;
genericAssign((void*)Result, (void*)(&msg), (&NTI__9bIfp9aTAZKB9cehqCItD41cg_));}
N_LIB_PRIVATE N_NIMCALL(void, libp2p_messageInit000)(void) {
#line 999999 "generated_not_to_break_here"
{
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T1_; tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T2_; nimRegisterGlobalMarker(TM__lZjRsquDHfVf5FPLR5Qc5g_2); nimRegisterGlobalMarker(TM__lZjRsquDHfVf5FPLR5Qc5g_5);
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T1_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0; T1_ = NIM_NIL;
#line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-metrics/metrics.nim"
asgnRef((void**) (&libp2p_pubsub_sig_verify_success__zRL9b74GTFtrwsJ0p0QpFog), newCounter__aCN0px5Tq3H2b76ZI5TVlg(((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_3), ((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_4), T1_->data, (T1_ ? T1_->Sup.len : 0), defaultRegistry__io1tPp0SUJ9acKTx5nDy47A, 1.0000000000000000e+00));
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/message.nim"
T2_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0; T2_ = NIM_NIL;
#line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-metrics/metrics.nim"
asgnRef((void**) (&libp2p_pubsub_sig_verify_failure__ty17VNHuFWp1peBj3k4tmw), newCounter__aCN0px5Tq3H2b76ZI5TVlg(((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_6), ((NimStringDesc*) &TM__lZjRsquDHfVf5FPLR5Qc5g_7), T2_->data, (T2_ ? T2_->Sup.len : 0), defaultRegistry__io1tPp0SUJ9acKTx5nDy47A, 1.0000000000000000e+00));}
}