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

1421 lines
93 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-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-bearssl/bearssl/certs -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 -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/v2/node -o nimcache/release/quicksim2/@m..@s..@s..@svendor@snim-libp2p@slibp2p@sprotocols@spubsub@srpc@sprotobuf.nim.c.o nimcache/release/quicksim2/@m..@s..@s..@svendor@snim-libp2p@slibp2p@sprotocols@spubsub@srpc@sprotobuf.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <setjmp.h>
#include <string.h>
#include <sys/types.h>
#include <pthread.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 tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_RPCMsg__knoSCw739arKRCPJPue07qQ tyObject_RPCMsg__knoSCw739arKRCPJPue07qQ;
typedef struct Exception Exception;
typedef struct RootObj RootObj;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct NimStringDesc NimStringDesc;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
typedef struct TSafePoint TSafePoint;
typedef struct tyObject_TopicSettings__oHdFGV9aUkZXwZgwzeiU4oQ tyObject_TopicSettings__oHdFGV9aUkZXwZgwzeiU4oQ;
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 tyTuple__TEVxBpejpD9b9bkfFnONsDcQ tyTuple__TEVxBpejpD9b9bkfFnONsDcQ;
typedef struct tySequence__RQAvfm3tUYD1QWb9c4P8NNA tySequence__RQAvfm3tUYD1QWb9c4P8NNA;
typedef struct tyObject_SubOpts__89cudN1q3YtAd8ENHWPechw tyObject_SubOpts__89cudN1q3YtAd8ENHWPechw;
typedef struct tySequence__Yp9cu4D4OMATC8CwGTSwJWg tySequence__Yp9cu4D4OMATC8CwGTSwJWg;
typedef struct tyTuple__eGnhlwfm2NpsYsHYI8bMsQ tyTuple__eGnhlwfm2NpsYsHYI8bMsQ;
typedef struct tyTuple__xqTsL59bhkuE37loYHcbVJw tyTuple__xqTsL59bhkuE37loYHcbVJw;
typedef struct tySequence__29caZmiPrO6d9cg0Ucdm9bdAA tySequence__29caZmiPrO6d9cg0Ucdm9bdAA;
typedef struct tyTuple__wOvXi5VibnCNgN9buQRQD4A tyTuple__wOvXi5VibnCNgN9buQRQD4A;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct tySequence__1fUS5rAN5IrEgQFi0Y0tRA tySequence__1fUS5rAN5IrEgQFi0Y0tRA;
typedef struct tyTuple__tS9aiWZLTrb6VlKfDrDTMMg tyTuple__tS9aiWZLTrb6VlKfDrDTMMg;
typedef struct tySequence__pxoGuYGfJ7gF1jIkkyp7IA tySequence__pxoGuYGfJ7gF1jIkkyp7IA;
typedef struct tyTuple__kyBTaZ2hQD2w8Nf0myO9aZw tyTuple__kyBTaZ2hQD2w8Nf0myO9aZw;
typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
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_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA;
typedef struct tySequence__oRzyI2tapcwoHwH1Bz2exA tySequence__oRzyI2tapcwoHwH1Bz2exA;
typedef struct tyObject_Option__ChQnHuXLEQ5RD1fCRvT7YQ tyObject_Option__ChQnHuXLEQ5RD1fCRvT7YQ;
typedef struct tyObject_ControlMessage__R2iwvkxFY4f0aLqyHsJIng tyObject_ControlMessage__R2iwvkxFY4f0aLqyHsJIng;
typedef struct tySequence__8MW0JodCedjay9anGTGrBmA tySequence__8MW0JodCedjay9anGTGrBmA;
typedef struct tySequence__zAf2abIhMjaomS6jkKP9a8w tySequence__zAf2abIhMjaomS6jkKP9a8w;
typedef struct tySequence__IjDV3u39bZeDnOOTq5TAF5g tySequence__IjDV3u39bZeDnOOTq5TAF5g;
typedef struct tySequence__WSbLInFxGn0pnyF9cry8bUA tySequence__WSbLInFxGn0pnyF9cry8bUA;
typedef struct tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg;
typedef struct tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw;
typedef struct tyObject_ControlIHave__CnOQkdAngH72aJYNy5NLDg tyObject_ControlIHave__CnOQkdAngH72aJYNy5NLDg;
typedef struct tySequence__aLjCOs9bu5l2rz6ENM6m6Sg tySequence__aLjCOs9bu5l2rz6ENM6m6Sg;
typedef struct tyObject_ControlIWant__geKK9cLMGr6gb7OdFvazkIQ tyObject_ControlIWant__geKK9cLMGr6gb7OdFvazkIQ;
typedef struct tyObject_ControlGraft__Pu9bBse0c7O7IZRmRsi9b07w tyObject_ControlGraft__Pu9bBse0c7O7IZRmRsi9b07w;
typedef struct tyObject_ControlPrune__FKVoWyfO9bQ2bdVQGPLNZvA tyObject_ControlPrune__FKVoWyfO9bQ2bdVQGPLNZvA;
typedef struct tySequence__FEFXDzYbVdCsaxKNxgC9akw tySequence__FEFXDzYbVdCsaxKNxgC9akw;
typedef struct tyObject_PeerInfoMsg__W4epI9boAZXsWE9avB49a5Zew tyObject_PeerInfoMsg__W4epI9boAZXsWE9avB49a5Zew;
typedef struct tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw;
typedef struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA;
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
struct TGenericSeq {NI len;
NI reserved;
};
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {NI size;
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
NCSTRING name;
TNimType* nextType;
NI instances;
NI sizes;
};
struct RootObj {TNimType* m_type;};
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
};
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;
};
typedef NU8 tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA;
typedef tyObject_TopicSettings__oHdFGV9aUkZXwZgwzeiU4oQ* tyArray__9c78XLTqudZ5E3xt5X2tFUQ[1];
struct tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA {char dummy;
};
struct tyTuple__yobv8JsmBBRNC1NIieLJzQ {
tyObject_StdOutOutput__QHttWltDMaZ0hK1JkeyuCA Field0;
};
struct tyObject_BufferedOutput__8P9alBgCoSqOy9alEKOH4etg {tyTuple__yobv8JsmBBRNC1NIieLJzQ finalOutputs;
NimStringDesc* buffer;
};
struct tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA {tyObject_BufferedOutput__8P9alBgCoSqOy9alEKOH4etg output;
tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA level;
};
struct tyObject_SubOpts__89cudN1q3YtAd8ENHWPechw {NIM_BOOL subscribe;
NimStringDesc* topic;
};
struct tyTuple__eGnhlwfm2NpsYsHYI8bMsQ {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
NimStringDesc* Field3;
NimStringDesc* Field4;
NimStringDesc* Field5;
};
struct tyTuple__wOvXi5VibnCNgN9buQRQD4A {
NimStringDesc* Field0;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* Field1;
};
struct tyTuple__tS9aiWZLTrb6VlKfDrDTMMg {
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* Field0;
};
struct tyTuple__kyBTaZ2hQD2w8Nf0myO9aZw {
NimStringDesc* Field0;
};
struct tyTuple__xqTsL59bhkuE37loYHcbVJw {
tySequence__29caZmiPrO6d9cg0Ucdm9bdAA* Field0;
tySequence__1fUS5rAN5IrEgQFi0Y0tRA* Field1;
tySequence__pxoGuYGfJ7gF1jIkkyp7IA* Field2;
tySequence__pxoGuYGfJ7gF1jIkkyp7IA* Field3;
};
struct tyTuple__TEVxBpejpD9b9bkfFnONsDcQ {
tySequence__RQAvfm3tUYD1QWb9c4P8NNA* Field0;
tySequence__Yp9cu4D4OMATC8CwGTSwJWg* Field1;
tyTuple__xqTsL59bhkuE37loYHcbVJw Field2;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;};
struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {NI refcount;
TNimType* typ;
};
struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {void* bottom;
};
struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {NI len;
NI cap;
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {tyArray__0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {NI len;
tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {NI minLargeObj;
NI maxLargeObj;
tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
NI allocCounter;
NI deallocCounter;
};
struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {NI counter;
NI max;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
};
typedef long tyArray__xDUyu9aScDpt0JZLU6q9aEZQ[5];
struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw {tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* head;
tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* tail;
pthread_mutex_t lock;
};
struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
NI zctThreshold;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw toDispose;
NI gcThreadId;
};
typedef NU8 tySet_tyEnum_ProtoFlags__34NlqR9bQ2hXegI29bJO9bfbA;
struct tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA {tySet_tyEnum_ProtoFlags__34NlqR9bQ2hXegI29bJO9bfbA options;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* buffer;
NI offset;
NI length;
};
struct tyObject_ControlMessage__R2iwvkxFY4f0aLqyHsJIng {tySequence__8MW0JodCedjay9anGTGrBmA* ihave;
tySequence__zAf2abIhMjaomS6jkKP9a8w* iwant;
tySequence__IjDV3u39bZeDnOOTq5TAF5g* graft;
tySequence__WSbLInFxGn0pnyF9cry8bUA* prune;
};
struct tyObject_Option__ChQnHuXLEQ5RD1fCRvT7YQ {tyObject_ControlMessage__R2iwvkxFY4f0aLqyHsJIng val;
NIM_BOOL has;
};
struct tyObject_RPCMsg__knoSCw739arKRCPJPue07qQ {tySequence__RQAvfm3tUYD1QWb9c4P8NNA* subscriptions;
tySequence__oRzyI2tapcwoHwH1Bz2exA* messages;
tyObject_Option__ChQnHuXLEQ5RD1fCRvT7YQ control;
};
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_ControlIHave__CnOQkdAngH72aJYNy5NLDg {NimStringDesc* topicID;
tySequence__aLjCOs9bu5l2rz6ENM6m6Sg* messageIDs;
};
struct tyObject_ControlIWant__geKK9cLMGr6gb7OdFvazkIQ {tySequence__aLjCOs9bu5l2rz6ENM6m6Sg* messageIDs;
};
struct tyObject_ControlGraft__Pu9bBse0c7O7IZRmRsi9b07w {NimStringDesc* topicID;
};
struct tyObject_ControlPrune__FKVoWyfO9bQ2bdVQGPLNZvA {NimStringDesc* topicID;
tySequence__FEFXDzYbVdCsaxKNxgC9akw* peers;
NU64 backoff;
};
struct tyObject_PeerInfoMsg__W4epI9boAZXsWE9avB49a5Zew {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* peerID;
tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* signedPeerRecord;
};
struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA { Exception Sup;};
struct tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw { tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;};
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
NI line;
NCSTRING filename;
};
struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 data[SEQ_DECL_SIZE];};struct tySequence__RQAvfm3tUYD1QWb9c4P8NNA { TGenericSeq Sup; tyObject_SubOpts__89cudN1q3YtAd8ENHWPechw data[SEQ_DECL_SIZE];};struct tySequence__Yp9cu4D4OMATC8CwGTSwJWg { TGenericSeq Sup; tyTuple__eGnhlwfm2NpsYsHYI8bMsQ data[SEQ_DECL_SIZE];};struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ { TGenericSeq Sup; NimStringDesc* data[SEQ_DECL_SIZE];};struct tySequence__29caZmiPrO6d9cg0Ucdm9bdAA { TGenericSeq Sup; tyTuple__wOvXi5VibnCNgN9buQRQD4A data[SEQ_DECL_SIZE];};struct tySequence__1fUS5rAN5IrEgQFi0Y0tRA { TGenericSeq Sup; tyTuple__tS9aiWZLTrb6VlKfDrDTMMg data[SEQ_DECL_SIZE];};struct tySequence__pxoGuYGfJ7gF1jIkkyp7IA { TGenericSeq Sup; tyTuple__kyBTaZ2hQD2w8Nf0myO9aZw data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};struct tySequence__oRzyI2tapcwoHwH1Bz2exA { TGenericSeq Sup; tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg data[SEQ_DECL_SIZE];};struct tySequence__8MW0JodCedjay9anGTGrBmA { TGenericSeq Sup; tyObject_ControlIHave__CnOQkdAngH72aJYNy5NLDg data[SEQ_DECL_SIZE];};struct tySequence__zAf2abIhMjaomS6jkKP9a8w { TGenericSeq Sup; tyObject_ControlIWant__geKK9cLMGr6gb7OdFvazkIQ data[SEQ_DECL_SIZE];};struct tySequence__IjDV3u39bZeDnOOTq5TAF5g { TGenericSeq Sup; tyObject_ControlGraft__Pu9bBse0c7O7IZRmRsi9b07w data[SEQ_DECL_SIZE];};struct tySequence__WSbLInFxGn0pnyF9cry8bUA { TGenericSeq Sup; tyObject_ControlPrune__FKVoWyfO9bQ2bdVQGPLNZvA data[SEQ_DECL_SIZE];};struct tySequence__aLjCOs9bu5l2rz6ENM6m6Sg { TGenericSeq Sup; tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* data[SEQ_DECL_SIZE];};struct tySequence__FEFXDzYbVdCsaxKNxgC9akw { TGenericSeq Sup; tyObject_PeerInfoMsg__W4epI9boAZXsWE9avB49a5Zew data[SEQ_DECL_SIZE];};static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, topicsMatch__KytrWChpQmaEFB83SSLTgg)(tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA logStmtLevel, tyObject_TopicSettings__oHdFGV9aUkZXwZgwzeiU4oQ** logStmtTopics, NI logStmtTopicsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_TopicSettings__oHdFGV9aUkZXwZgwzeiU4oQ*, topicStateIMPL__Xw85lndDuOG7rnXm9a2SS9ag)(void);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, initLogRecord__HL9c9cddRJSOGQAMUgF3lB0w)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA lvl, NimStringDesc* topics, NimStringDesc* name);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__czv7v33Y9bwyVAHI9b2eiKDw)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key, NI val);
N_LIB_PRIVATE N_NIMCALL(NI, getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw)(void);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__U2vmGWVLHFSD9cvjHnmuu2A)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key, NimStringDesc* val);
N_LIB_PRIVATE N_NIMCALL(void, setProperty__GhWi7AIWVqt7uu6sxAhbKw)(tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA* r, NimStringDesc* key_0, tyTuple__TEVxBpejpD9b9bkfFnONsDcQ* val_0);
N_LIB_PRIVATE N_NIMCALL(void, shortLog__n660G9aZnuXW5FgQ0r19aHlw)(tyObject_RPCMsg__knoSCw739arKRCPJPue07qQ* m, tyTuple__TEVxBpejpD9b9bkfFnONsDcQ* Result);
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);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void);
N_LIB_PRIVATE N_NIMCALL(void, initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng)(tySet_tyEnum_ProtoFlags__34NlqR9bQ2hXegI29bJO9bfbA options, tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* Result);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NIMCALL(void, write__Ws0S9bDcQtM0pALeUJUvx2w)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_SubOpts__89cudN1q3YtAd8ENHWPechw subs);
N_LIB_PRIVATE N_NIMCALL(void, write__WL2qD4LleS3p9aN3TKfkYKQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, NU64 value_0);
N_LIB_PRIVATE N_NIMCALL(void, write__6wmnKg6f3Ejtxp6wcA1yTA)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, NIM_CHAR* value_0, NI value_0Len_0);
N_LIB_PRIVATE N_NIMCALL(void, finish__1rmuOyUuHHnrDPgEOlTQaw)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb);
static N_INLINE(void, write__LTdUVVUbYE5LoTPca7yHvAminprotobuf)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* value_0);
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_NOINLINE(void, raiseOverflow)(void);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_LIB_PRIVATE N_NIMCALL(void, write__CDJJtLOdJiEqq16BezGpCw)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg* msg, NIM_BOOL anonymize);
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encodeMessage__ZrHwirrpJWivVXgCTJwKlA)(tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg* msg, NIM_BOOL anonymize);
N_LIB_PRIVATE N_NIMCALL(void, write__zDE4CpDxVLl7v6nRLKxcSQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_PeerID__Se8YyoPxzDpFnTeAyeCVCw pid);
N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest, void* src, TNimType* mt);
static N_INLINE(NIM_BOOL, isSome__bhrvo6ipbsA5Wa1TLr16dwoptions)(tyObject_Option__ChQnHuXLEQ5RD1fCRvT7YQ* self);
N_LIB_PRIVATE N_NIMCALL(void, write__9aH3rJsYjJre69cyz9cfW8lxw)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ControlMessage__R2iwvkxFY4f0aLqyHsJIng* control);
N_LIB_PRIVATE N_NIMCALL(void, write__nGa29bih4H8NGJAUYeknOiQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ControlIHave__CnOQkdAngH72aJYNy5NLDg ihave);
N_LIB_PRIVATE N_NIMCALL(void, write__EjXwdtLsLqLt4FNXtmr79cw)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ControlIWant__geKK9cLMGr6gb7OdFvazkIQ iwant);
N_LIB_PRIVATE N_NIMCALL(void, write__0CLZoHg8Kxx42BNK9aLU9bOQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ControlGraft__Pu9bBse0c7O7IZRmRsi9b07w graft);
N_LIB_PRIVATE N_NIMCALL(void, write__ELxlkvz2DX1ZtxOaS9cEfWQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ControlPrune__FKVoWyfO9bQ2bdVQGPLNZvA prune);
N_LIB_PRIVATE N_NIMCALL(void, write__YucSV80GrqgEMeXdHRUP9bQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_PeerInfoMsg__W4epI9boAZXsWE9avB49a5Zew infoMsg);
static N_INLINE(void, get__k09bxzZWltqj7L0ZrdLDeagoptions)(tyObject_Option__ChQnHuXLEQ5RD1fCRvT7YQ* self, tyObject_ControlMessage__R2iwvkxFY4f0aLqyHsJIng* Result);
static N_INLINE(NIM_BOOL, isNone__bhrvo6ipbsA5Wa1TLr16dw_2options)(tyObject_Option__ChQnHuXLEQ5RD1fCRvT7YQ* self);
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
STRING_LITERAL(TM__ULDljMVWuz6CdX4Yv4QTIA_4, "pubsubprotobuf", 14);
STRING_LITERAL(TM__ULDljMVWuz6CdX4Yv4QTIA_5, "encodeRpcMsg: encoding message", 30);
STRING_LITERAL(TM__ULDljMVWuz6CdX4Yv4QTIA_6, "tid", 3);
STRING_LITERAL(TM__ULDljMVWuz6CdX4Yv4QTIA_7, "file", 4);
STRING_LITERAL(TM__ULDljMVWuz6CdX4Yv4QTIA_8, "protobuf.nim:308", 16);
STRING_LITERAL(TM__ULDljMVWuz6CdX4Yv4QTIA_9, "msg", 3);
extern TNimType NTI__qrLSDoe2oBoAqNtJ9badtnA_;
STRING_LITERAL(TM__ULDljMVWuz6CdX4Yv4QTIA_11, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/system/iterators.nim(189, 11) `len(a) == L` the l"
"ength of the seq changed while iterating over it", 175);
extern TNimType NTI__6H5Oh5UUvVCLiakt9aTwtUQ_;
extern TNimType NTI__GntyqsSCwg00S5X6lKEPuQ_;
extern TNimType NTI__VAWWBGXQQxBx5kHPK2xRMw_;
STRING_LITERAL(TM__ULDljMVWuz6CdX4Yv4QTIA_21, "Can\'t obtain a value from a `none`", 34);
extern TNimType NTI__8MW0JodCedjay9anGTGrBmA_;
extern TNimType NTI__zAf2abIhMjaomS6jkKP9a8w_;
extern TNimType NTI__IjDV3u39bZeDnOOTq5TAF5g_;
extern TNimType NTI__WSbLInFxGn0pnyF9cry8bUA_;
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 tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
#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 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 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 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0;
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;}
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));}
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0;
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;}
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;}
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;}
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
}
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ NIM_BOOL T3_;
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_;
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
}
LA4_: ;
}
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, asgnRef)(void** dest, void* src) {
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!((src == NIM_NIL))) goto LA3_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
}
LA3_: ;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!(((*dest) == NIM_NIL))) goto LA8_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
}
LA8_: ;
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*dest) = src;}
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
static N_INLINE(void, popCurrentException)(void) {
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
asgnRef((void**) (&currException__9bVPeDJlYTi9bQApZpfH8wjg), (*currException__9bVPeDJlYTi9bQApZpfH8wjg).up);}
#line 297 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protobuf/minprotobuf.nim"
static N_INLINE(void, write__LTdUVVUbYE5LoTPca7yHvAminprotobuf)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* value_0) {
#line 300 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protobuf/minprotobuf.nim"
#line 300 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protobuf/minprotobuf.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ(pb, field, (*value_0).buffer->data, ((*value_0).buffer ? (*value_0).buffer->Sup.len : 0));
}
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
N_LIB_PRIVATE N_NIMCALL(void, write__Ws0S9bDcQtM0pALeUJUvx2w)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_SubOpts__89cudN1q3YtAd8ENHWPechw subs) { tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA ipb; nimZeroMem((void*)(&ipb), sizeof(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA));
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng(0, (&ipb));
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__WL2qD4LleS3p9aN3TKfkYKQ((&ipb), ((NI) 1), ((NU64) (subs.subscribe)));
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__6wmnKg6f3Ejtxp6wcA1yTA((&ipb), ((NI) 2), subs.topic->data, (subs.topic ? subs.topic->Sup.len : 0));
#line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
finish__1rmuOyUuHHnrDPgEOlTQaw((&ipb));
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__LTdUVVUbYE5LoTPca7yHvAminprotobuf(pb, field, (&ipb));
}
#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 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encodeMessage__ZrHwirrpJWivVXgCTJwKlA)(tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg* msg, NIM_BOOL anonymize) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result; tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA pb; result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
nimZeroMem((void*)(&pb), sizeof(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA));
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng(0, (&pb));
#line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
{ NIM_BOOL T3_; NI T4_;
#line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T3_ = (NIM_BOOL)0;
#line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T4_ = ((*msg).fromPeer.data ? (*msg).fromPeer.data->Sup.len : 0); T3_ = (((NI) 0) < T4_); if (!(T3_)) goto LA5_;
#line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T3_ = !(anonymize); LA5_: ;
if (!T3_) goto LA6_;
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__zDE4CpDxVLl7v6nRLKxcSQ((&pb), ((NI) 1), (*msg).fromPeer);
}
LA6_: ;
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ((&pb), ((NI) 2), (*msg).data->data, ((*msg).data ? (*msg).data->Sup.len : 0));
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
{ NIM_BOOL T10_; NI T11_;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T10_ = (NIM_BOOL)0;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T11_ = ((*msg).seqno ? (*msg).seqno->Sup.len : 0); T10_ = (((NI) 0) < T11_); if (!(T10_)) goto LA12_;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T10_ = !(anonymize); LA12_: ;
if (!T10_) goto LA13_;
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ((&pb), ((NI) 3), (*msg).seqno->data, ((*msg).seqno ? (*msg).seqno->Sup.len : 0));
}
LA13_: ;
{ NimStringDesc* topic; NI i; NI L; NI T16_; topic = (NimStringDesc*)0;
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i = ((NI) 0);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T16_ = ((*msg).topicIDs ? (*msg).topicIDs->Sup.len : 0); L = T16_; {
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { NI TM__ULDljMVWuz6CdX4Yv4QTIA_12;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i < L)) goto LA18;
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
if ((NU)(i) >= (NU)((*msg).topicIDs ? (*msg).topicIDs->Sup.len : 0)){ raiseIndexError2(i,((*msg).topicIDs ? (*msg).topicIDs->Sup.len : 0)-1); } topic = (*msg).topicIDs->data[i];
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__6wmnKg6f3Ejtxp6wcA1yTA((&pb), ((NI) 4), topic->data, (topic ? topic->Sup.len : 0));
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i, ((NI) 1), &TM__ULDljMVWuz6CdX4Yv4QTIA_12)) { raiseOverflow(); }; i = (NI)(TM__ULDljMVWuz6CdX4Yv4QTIA_12);
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T21_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T21_ = ((*msg).topicIDs ? (*msg).topicIDs->Sup.len : 0); if (!!((T21_ == L))) goto LA22_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_11));
}
LA22_: ;
} LA18: ;
}
}
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
{ NIM_BOOL T26_; NI T27_;
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T26_ = (NIM_BOOL)0;
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T27_ = ((*msg).signature ? (*msg).signature->Sup.len : 0); T26_ = (((NI) 0) < T27_); if (!(T26_)) goto LA28_;
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T26_ = !(anonymize); LA28_: ;
if (!T26_) goto LA29_;
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ((&pb), ((NI) 5), (*msg).signature->data, ((*msg).signature ? (*msg).signature->Sup.len : 0));
}
LA29_: ;
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
{ NIM_BOOL T33_; NI T34_;
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T33_ = (NIM_BOOL)0;
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T34_ = ((*msg).key ? (*msg).key->Sup.len : 0); T33_ = (((NI) 0) < T34_); if (!(T33_)) goto LA35_;
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T33_ = !(anonymize); LA35_: ;
if (!T33_) goto LA36_;
#line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ((&pb), ((NI) 6), (*msg).key->data, ((*msg).key ? (*msg).key->Sup.len : 0));
}
LA36_: ;
#line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
finish__1rmuOyUuHHnrDPgEOlTQaw((&pb));
genericSeqAssign((&result), pb.buffer, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); return result;}
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
N_LIB_PRIVATE N_NIMCALL(void, write__CDJJtLOdJiEqq16BezGpCw)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg* msg, NIM_BOOL anonymize) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* T1_;
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T1_ = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0; T1_ = encodeMessage__ZrHwirrpJWivVXgCTJwKlA(msg, anonymize);
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ(pb, field, T1_->data, (T1_ ? T1_->Sup.len : 0));
}
#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__bhrvo6ipbsA5Wa1TLr16dwoptions)(tyObject_Option__ChQnHuXLEQ5RD1fCRvT7YQ* 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 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
N_LIB_PRIVATE N_NIMCALL(void, write__nGa29bih4H8NGJAUYeknOiQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ControlIHave__CnOQkdAngH72aJYNy5NLDg ihave) { tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA ipb; nimZeroMem((void*)(&ipb), sizeof(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA));
#line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng(0, (&ipb));
#line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__6wmnKg6f3Ejtxp6wcA1yTA((&ipb), ((NI) 1), ihave.topicID->data, (ihave.topicID ? ihave.topicID->Sup.len : 0));
{ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* mid; NI i; NI L; NI T2_; mid = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i = ((NI) 0);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T2_ = (ihave.messageIDs ? ihave.messageIDs->Sup.len : 0); L = T2_; {
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { NI TM__ULDljMVWuz6CdX4Yv4QTIA_14;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i < L)) goto LA4;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
if ((NU)(i) >= (NU)(ihave.messageIDs ? ihave.messageIDs->Sup.len : 0)){ raiseIndexError2(i,(ihave.messageIDs ? ihave.messageIDs->Sup.len : 0)-1); } mid = ihave.messageIDs->data[i];
#line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ((&ipb), ((NI) 2), mid->data, (mid ? mid->Sup.len : 0));
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i, ((NI) 1), &TM__ULDljMVWuz6CdX4Yv4QTIA_14)) { raiseOverflow(); }; i = (NI)(TM__ULDljMVWuz6CdX4Yv4QTIA_14);
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T7_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T7_ = (ihave.messageIDs ? ihave.messageIDs->Sup.len : 0); if (!!((T7_ == L))) goto LA8_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_11));
}
LA8_: ;
} LA4: ;
}
}
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
finish__1rmuOyUuHHnrDPgEOlTQaw((&ipb));
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__LTdUVVUbYE5LoTPca7yHvAminprotobuf(pb, field, (&ipb));
}
#line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
N_LIB_PRIVATE N_NIMCALL(void, write__EjXwdtLsLqLt4FNXtmr79cw)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ControlIWant__geKK9cLMGr6gb7OdFvazkIQ iwant) { tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA ipb; nimZeroMem((void*)(&ipb), sizeof(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA));
#line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng(0, (&ipb));
{ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* mid; NI i; NI L; NI T2_; mid = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i = ((NI) 0);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T2_ = (iwant.messageIDs ? iwant.messageIDs->Sup.len : 0); L = T2_; {
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { NI TM__ULDljMVWuz6CdX4Yv4QTIA_16;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i < L)) goto LA4;
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
if ((NU)(i) >= (NU)(iwant.messageIDs ? iwant.messageIDs->Sup.len : 0)){ raiseIndexError2(i,(iwant.messageIDs ? iwant.messageIDs->Sup.len : 0)-1); } mid = iwant.messageIDs->data[i];
#line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ((&ipb), ((NI) 1), mid->data, (mid ? mid->Sup.len : 0));
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i, ((NI) 1), &TM__ULDljMVWuz6CdX4Yv4QTIA_16)) { raiseOverflow(); }; i = (NI)(TM__ULDljMVWuz6CdX4Yv4QTIA_16);
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T7_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T7_ = (iwant.messageIDs ? iwant.messageIDs->Sup.len : 0); if (!!((T7_ == L))) goto LA8_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_11));
}
LA8_: ;
} LA4: ;
}
}
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
{ NI T12_;
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T12_ = (ipb.buffer ? ipb.buffer->Sup.len : 0); if (!(((NI) 0) < T12_)) goto LA13_;
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
finish__1rmuOyUuHHnrDPgEOlTQaw((&ipb));
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__LTdUVVUbYE5LoTPca7yHvAminprotobuf(pb, field, (&ipb));
}
LA13_: ;
}
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
N_LIB_PRIVATE N_NIMCALL(void, write__0CLZoHg8Kxx42BNK9aLU9bOQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ControlGraft__Pu9bBse0c7O7IZRmRsi9b07w graft) { tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA ipb; nimZeroMem((void*)(&ipb), sizeof(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA));
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng(0, (&ipb));
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__6wmnKg6f3Ejtxp6wcA1yTA((&ipb), ((NI) 1), graft.topicID->data, (graft.topicID ? graft.topicID->Sup.len : 0));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
finish__1rmuOyUuHHnrDPgEOlTQaw((&ipb));
#line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__LTdUVVUbYE5LoTPca7yHvAminprotobuf(pb, field, (&ipb));
}
#line 37 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
N_LIB_PRIVATE N_NIMCALL(void, write__YucSV80GrqgEMeXdHRUP9bQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_PeerInfoMsg__W4epI9boAZXsWE9avB49a5Zew infoMsg) { tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA ipb; nimZeroMem((void*)(&ipb), sizeof(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA));
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng(0, (&ipb));
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ((&ipb), ((NI) 1), infoMsg.peerID->data, (infoMsg.peerID ? infoMsg.peerID->Sup.len : 0));
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__4tkJJWHqmkKO9cj2FvJ9cDoQ((&ipb), ((NI) 2), infoMsg.signedPeerRecord->data, (infoMsg.signedPeerRecord ? infoMsg.signedPeerRecord->Sup.len : 0));
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
finish__1rmuOyUuHHnrDPgEOlTQaw((&ipb));
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__LTdUVVUbYE5LoTPca7yHvAminprotobuf(pb, field, (&ipb));
}
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
N_LIB_PRIVATE N_NIMCALL(void, write__ELxlkvz2DX1ZtxOaS9cEfWQ)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ControlPrune__FKVoWyfO9bQ2bdVQGPLNZvA prune) { tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA ipb; nimZeroMem((void*)(&ipb), sizeof(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA));
#line 45 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 45 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng(0, (&ipb));
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__6wmnKg6f3Ejtxp6wcA1yTA((&ipb), ((NI) 1), prune.topicID->data, (prune.topicID ? prune.topicID->Sup.len : 0));
{ tyObject_PeerInfoMsg__W4epI9boAZXsWE9avB49a5Zew peer; NI i; NI L; NI T2_; nimZeroMem((void*)(&peer), sizeof(tyObject_PeerInfoMsg__W4epI9boAZXsWE9avB49a5Zew));
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i = ((NI) 0);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T2_ = (prune.peers ? prune.peers->Sup.len : 0); L = T2_; {
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { NI TM__ULDljMVWuz6CdX4Yv4QTIA_19;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i < L)) goto LA4;
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
if ((NU)(i) >= (NU)(prune.peers ? prune.peers->Sup.len : 0)){ raiseIndexError2(i,(prune.peers ? prune.peers->Sup.len : 0)-1); } peer.peerID = prune.peers->data[i].peerID; peer.signedPeerRecord = prune.peers->data[i].signedPeerRecord;
#line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__YucSV80GrqgEMeXdHRUP9bQ((&ipb), ((NI) 2), peer);
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i, ((NI) 1), &TM__ULDljMVWuz6CdX4Yv4QTIA_19)) { raiseOverflow(); }; i = (NI)(TM__ULDljMVWuz6CdX4Yv4QTIA_19);
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T7_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T7_ = (prune.peers ? prune.peers->Sup.len : 0); if (!!((T7_ == L))) goto LA8_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_11));
}
LA8_: ;
} LA4: ;
}
}
#line 49 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 49 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__WL2qD4LleS3p9aN3TKfkYKQ((&ipb), ((NI) 3), prune.backoff);
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
finish__1rmuOyUuHHnrDPgEOlTQaw((&ipb));
#line 51 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 51 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__LTdUVVUbYE5LoTPca7yHvAminprotobuf(pb, field, (&ipb));
}
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
N_LIB_PRIVATE N_NIMCALL(void, write__9aH3rJsYjJre69cyz9cfW8lxw)(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA* pb, NI field, tyObject_ControlMessage__R2iwvkxFY4f0aLqyHsJIng* control) { tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA ipb; nimZeroMem((void*)(&ipb), sizeof(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA));
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng(0, (&ipb));
{ tyObject_ControlIHave__CnOQkdAngH72aJYNy5NLDg ihave; NI i; NI L; NI T2_; nimZeroMem((void*)(&ihave), sizeof(tyObject_ControlIHave__CnOQkdAngH72aJYNy5NLDg));
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i = ((NI) 0);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T2_ = ((*control).ihave ? (*control).ihave->Sup.len : 0); L = T2_; {
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { NI TM__ULDljMVWuz6CdX4Yv4QTIA_15;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i < L)) goto LA4;
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
if ((NU)(i) >= (NU)((*control).ihave ? (*control).ihave->Sup.len : 0)){ raiseIndexError2(i,((*control).ihave ? (*control).ihave->Sup.len : 0)-1); } ihave.topicID = (*control).ihave->data[i].topicID; ihave.messageIDs = (*control).ihave->data[i].messageIDs;
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__nGa29bih4H8NGJAUYeknOiQ((&ipb), ((NI) 1), ihave);
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i, ((NI) 1), &TM__ULDljMVWuz6CdX4Yv4QTIA_15)) { raiseOverflow(); }; i = (NI)(TM__ULDljMVWuz6CdX4Yv4QTIA_15);
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T7_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T7_ = ((*control).ihave ? (*control).ihave->Sup.len : 0); if (!!((T7_ == L))) goto LA8_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_11));
}
LA8_: ;
} LA4: ;
}
}
{ tyObject_ControlIWant__geKK9cLMGr6gb7OdFvazkIQ iwant; NI i_2; NI L_2; NI T11_; nimZeroMem((void*)(&iwant), sizeof(tyObject_ControlIWant__geKK9cLMGr6gb7OdFvazkIQ));
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i_2 = ((NI) 0);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T11_ = ((*control).iwant ? (*control).iwant->Sup.len : 0); L_2 = T11_; {
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { NI TM__ULDljMVWuz6CdX4Yv4QTIA_17;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i_2 < L_2)) goto LA13;
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
if ((NU)(i_2) >= (NU)((*control).iwant ? (*control).iwant->Sup.len : 0)){ raiseIndexError2(i_2,((*control).iwant ? (*control).iwant->Sup.len : 0)-1); } iwant.messageIDs = (*control).iwant->data[i_2].messageIDs;
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__EjXwdtLsLqLt4FNXtmr79cw((&ipb), ((NI) 2), iwant);
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i_2, ((NI) 1), &TM__ULDljMVWuz6CdX4Yv4QTIA_17)) { raiseOverflow(); }; i_2 = (NI)(TM__ULDljMVWuz6CdX4Yv4QTIA_17);
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T16_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T16_ = ((*control).iwant ? (*control).iwant->Sup.len : 0); if (!!((T16_ == L_2))) goto LA17_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_11));
}
LA17_: ;
} LA13: ;
}
}
{ tyObject_ControlGraft__Pu9bBse0c7O7IZRmRsi9b07w graft; NI i_3; NI L_3; NI T20_; nimZeroMem((void*)(&graft), sizeof(tyObject_ControlGraft__Pu9bBse0c7O7IZRmRsi9b07w));
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i_3 = ((NI) 0);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T20_ = ((*control).graft ? (*control).graft->Sup.len : 0); L_3 = T20_; {
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { NI TM__ULDljMVWuz6CdX4Yv4QTIA_18;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i_3 < L_3)) goto LA22;
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
if ((NU)(i_3) >= (NU)((*control).graft ? (*control).graft->Sup.len : 0)){ raiseIndexError2(i_3,((*control).graft ? (*control).graft->Sup.len : 0)-1); } graft.topicID = (*control).graft->data[i_3].topicID;
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__0CLZoHg8Kxx42BNK9aLU9bOQ((&ipb), ((NI) 3), graft);
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i_3, ((NI) 1), &TM__ULDljMVWuz6CdX4Yv4QTIA_18)) { raiseOverflow(); }; i_3 = (NI)(TM__ULDljMVWuz6CdX4Yv4QTIA_18);
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T25_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T25_ = ((*control).graft ? (*control).graft->Sup.len : 0); if (!!((T25_ == L_3))) goto LA26_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_11));
}
LA26_: ;
} LA22: ;
}
}
{ tyObject_ControlPrune__FKVoWyfO9bQ2bdVQGPLNZvA prune; NI i_4; NI L_4; NI T29_; nimZeroMem((void*)(&prune), sizeof(tyObject_ControlPrune__FKVoWyfO9bQ2bdVQGPLNZvA));
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i_4 = ((NI) 0);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T29_ = ((*control).prune ? (*control).prune->Sup.len : 0); L_4 = T29_; {
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { NI TM__ULDljMVWuz6CdX4Yv4QTIA_20;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i_4 < L_4)) goto LA31;
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
if ((NU)(i_4) >= (NU)((*control).prune ? (*control).prune->Sup.len : 0)){ raiseIndexError2(i_4,((*control).prune ? (*control).prune->Sup.len : 0)-1); } prune.topicID = (*control).prune->data[i_4].topicID; prune.peers = (*control).prune->data[i_4].peers; prune.backoff = (*control).prune->data[i_4].backoff;
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__ELxlkvz2DX1ZtxOaS9cEfWQ((&ipb), ((NI) 4), prune);
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i_4, ((NI) 1), &TM__ULDljMVWuz6CdX4Yv4QTIA_20)) { raiseOverflow(); }; i_4 = (NI)(TM__ULDljMVWuz6CdX4Yv4QTIA_20);
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T34_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T34_ = ((*control).prune ? (*control).prune->Sup.len : 0); if (!!((T34_ == L_4))) goto LA35_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_11));
}
LA35_: ;
} LA31: ;
}
}
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
{ NI T39_;
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T39_ = (ipb.buffer ? ipb.buffer->Sup.len : 0); if (!(((NI) 0) < T39_)) goto LA40_;
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
finish__1rmuOyUuHHnrDPgEOlTQaw((&ipb));
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__LTdUVVUbYE5LoTPca7yHvAminprotobuf(pb, field, (&ipb));
}
LA40_: ;
}
#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__bhrvo6ipbsA5Wa1TLr16dw_2options)(tyObject_Option__ChQnHuXLEQ5RD1fCRvT7YQ* 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 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 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
static N_INLINE(void, get__k09bxzZWltqj7L0ZrdLDeagoptions)(tyObject_Option__ChQnHuXLEQ5RD1fCRvT7YQ* self, tyObject_ControlMessage__R2iwvkxFY4f0aLqyHsJIng* Result) {
#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__bhrvo6ipbsA5Wa1TLr16dw_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__ULDljMVWuz6CdX4Yv4QTIA_21)); 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_: ;
genericSeqAssign((&(*Result).ihave), (*self).val.ihave, (&NTI__8MW0JodCedjay9anGTGrBmA_)); genericSeqAssign((&(*Result).iwant), (*self).val.iwant, (&NTI__zAf2abIhMjaomS6jkKP9a8w_)); genericSeqAssign((&(*Result).graft), (*self).val.graft, (&NTI__IjDV3u39bZeDnOOTq5TAF5g_)); genericSeqAssign((&(*Result).prune), (*self).val.prune, (&NTI__WSbLInFxGn0pnyF9cry8bUA_));}
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, encodeRpcMsg__kzQsDwREWRLYecw3lFsiGw)(tyObject_RPCMsg__knoSCw739arKRCPJPue07qQ* msg, NIM_BOOL anonymize) { tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result; TSafePoint TM__ULDljMVWuz6CdX4Yv4QTIA_2; tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA pb; result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
#line 308 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__ULDljMVWuz6CdX4Yv4QTIA_2); TM__ULDljMVWuz6CdX4Yv4QTIA_2.status = setjmp(TM__ULDljMVWuz6CdX4Yv4QTIA_2.context); if (TM__ULDljMVWuz6CdX4Yv4QTIA_2.status == 0) { TSafePoint TM__ULDljMVWuz6CdX4Yv4QTIA_3;
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
pushSafePoint(&TM__ULDljMVWuz6CdX4Yv4QTIA_3); TM__ULDljMVWuz6CdX4Yv4QTIA_3.status = setjmp(TM__ULDljMVWuz6CdX4Yv4QTIA_3.context); if (TM__ULDljMVWuz6CdX4Yv4QTIA_3.status == 0) { { tyObject_TextLineRecord__EhHqp0aF43SxfS6MTF9b0hA volatile record; NI T10_; tyTuple__TEVxBpejpD9b9bkfFnONsDcQ T11_;
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
{ tyArray__9c78XLTqudZ5E3xt5X2tFUQ T6_; NIM_BOOL T7_;
#line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T6_[0] = topicStateIMPL__Xw85lndDuOG7rnXm9a2SS9ag();
#line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T7_ = (NIM_BOOL)0; T7_ = topicsMatch__KytrWChpQmaEFB83SSLTgg(((tyEnum_LogLevel__9bciZEQ8iC1G2PermjsuXmA) 1), T6_, 1); if (!!(T7_)) goto LA8_;
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
goto LA3;
}
LA8_: ;
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__ULDljMVWuz6CdX4Yv4QTIA_4), ((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_5));
#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"
T10_ = (NI)0; T10_ = getLogThreadId__MquaZIXVsrxU5lCSpmC3Jw();
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
setProperty__czv7v33Y9bwyVAHI9b2eiKDw((&record), ((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_6), 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"
setProperty__U2vmGWVLHFSD9cvjHnmuu2A((&record), ((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_7), ((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_8));
#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*)(&T11_), sizeof(tyTuple__TEVxBpejpD9b9bkfFnONsDcQ)); shortLog__n660G9aZnuXW5FgQ0r19aHlw(msg, (&T11_));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
setProperty__GhWi7AIWVqt7uu6sxAhbKw((&record), ((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_9), (&T11_));
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles/log_output.nim"
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));
} LA3: ;
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errX60gensym128220019_; Exception* T14_; Exception* T15_; TM__ULDljMVWuz6CdX4Yv4QTIA_3.status = 0;
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T14_ = (Exception*)0; T14_ = getCurrentException(); errX60gensym128220019_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T14_));
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
T15_ = (Exception*)0; T15_ = &errX60gensym128220019_->Sup;
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronicles/chronicles.nim"
logLoggingFailure__HTlKfqAl9c6Ci7zIH6cYlmg("encodeRpcMsg: encoding message", T15_);
popCurrentException(); }
}
if (TM__ULDljMVWuz6CdX4Yv4QTIA_3.status != 0) reraiseException(); popSafePoint(); }
else { popSafePoint(); { TM__ULDljMVWuz6CdX4Yv4QTIA_2.status = 0; popCurrentException(); }
}
if (TM__ULDljMVWuz6CdX4Yv4QTIA_2.status != 0) reraiseException(); nimZeroMem((void*)(&pb), sizeof(tyObject_ProtoBuffer__40iIOZrE3YoWDkFgicA1eA));
#line 309 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 309 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
initProtoBuffer__WvyuU9b9b5JbJrzKXmuwx4ng(0, (&pb));
{ tyObject_SubOpts__89cudN1q3YtAd8ENHWPechw item; NI i; NI L; NI T19_; nimZeroMem((void*)(&item), sizeof(tyObject_SubOpts__89cudN1q3YtAd8ENHWPechw));
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i = ((NI) 0);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T19_ = ((*msg).subscriptions ? (*msg).subscriptions->Sup.len : 0); L = T19_; {
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { NI TM__ULDljMVWuz6CdX4Yv4QTIA_10;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i < L)) goto LA21;
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
if ((NU)(i) >= (NU)((*msg).subscriptions ? (*msg).subscriptions->Sup.len : 0)){ raiseIndexError2(i,((*msg).subscriptions ? (*msg).subscriptions->Sup.len : 0)-1); } item.subscribe = (*msg).subscriptions->data[i].subscribe; item.topic = (*msg).subscriptions->data[i].topic;
#line 311 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 311 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__Ws0S9bDcQtM0pALeUJUvx2w((&pb), ((NI) 1), item);
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i, ((NI) 1), &TM__ULDljMVWuz6CdX4Yv4QTIA_10)) { raiseOverflow(); }; i = (NI)(TM__ULDljMVWuz6CdX4Yv4QTIA_10);
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T24_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T24_ = ((*msg).subscriptions ? (*msg).subscriptions->Sup.len : 0); if (!!((T24_ == L))) goto LA25_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_11));
}
LA25_: ;
} LA21: ;
}
}
{ tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg item_2; NI i_2; NI L_2; NI T28_; nimZeroMem((void*)(&item_2), sizeof(tyObject_Message__9bIfp9aTAZKB9cehqCItD41cg));
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
i_2 = ((NI) 0);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T28_ = ((*msg).messages ? (*msg).messages->Sup.len : 0); L_2 = T28_; {
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
while (1) { NI TM__ULDljMVWuz6CdX4Yv4QTIA_13;
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (!(i_2 < L_2)) goto LA30;
#line 312 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
if ((NU)(i_2) >= (NU)((*msg).messages ? (*msg).messages->Sup.len : 0)){ raiseIndexError2(i_2,((*msg).messages ? (*msg).messages->Sup.len : 0)-1); } nimCopyMem((void*)(&item_2), (NIM_CONST void*)(&(*msg).messages->data[i_2]), sizeof(item_2));
#line 313 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 313 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__CDJJtLOdJiEqq16BezGpCw((&pb), ((NI) 2), (&item_2), anonymize);
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
if (nimAddInt(i_2, ((NI) 1), &TM__ULDljMVWuz6CdX4Yv4QTIA_13)) { raiseOverflow(); }; i_2 = (NI)(TM__ULDljMVWuz6CdX4Yv4QTIA_13);
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
{ NI T33_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
T33_ = ((*msg).messages ? (*msg).messages->Sup.len : 0); if (!!((T33_ == L_2))) goto LA34_;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ULDljMVWuz6CdX4Yv4QTIA_11));
}
LA34_: ;
} LA30: ;
}
}
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
{ NIM_BOOL T38_; tyObject_ControlMessage__R2iwvkxFY4f0aLqyHsJIng T41_;
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T38_ = (NIM_BOOL)0; T38_ = isSome__bhrvo6ipbsA5Wa1TLr16dwoptions((&(*msg).control)); if (!T38_) goto LA39_;
#line 315 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 315 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 315 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
nimZeroMem((void*)(&T41_), sizeof(tyObject_ControlMessage__R2iwvkxFY4f0aLqyHsJIng)); get__k09bxzZWltqj7L0ZrdLDeagoptions((&(*msg).control), (&T41_));
#line 315 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
write__9aH3rJsYjJre69cyz9cfW8lxw((&pb), ((NI) 3), (&T41_));
}
LA39_: ;
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
{ NI T44_;
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
T44_ = (pb.buffer ? pb.buffer->Sup.len : 0); if (!(((NI) 0) < T44_)) goto LA45_;
#line 317 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
#line 317 "/home/runner/work/nim-waku/nim-waku/vendor/nim-libp2p/libp2p/protocols/pubsub/rpc/protobuf.nim"
finish__1rmuOyUuHHnrDPgEOlTQaw((&pb));
}
LA45_: ;
genericSeqAssign((&result), pb.buffer, (&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_)); return result;}