nwaku/nimcache/release/wakubridge/@m..@s..@svendor@snim-json-rpc@sjson_rpc@sserver.nim.c

874 lines
57 KiB
C

/* Generated by Nim Compiler v1.2.6 */
/* (c) 2020 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Linux, amd64, gcc */
/* Command for C compiler:
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/libnatpmp-upstream -DENABLE_STRNATPMPERR -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/waku/common -o nimcache/release/wakubridge/@m..@s..@svendor@snim-json-rpc@sjson_rpc@sserver.nim.c.o nimcache/release/wakubridge/@m..@s..@svendor@snim-json-rpc@sjson_rpc@sserver.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <sys/types.h>
#include <pthread.h>
#include <string.h>
#include <setjmp.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
#define nimfr_(x, y)
#define nimln_(x, y)
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyObject_RpcServercolonObjectType___9b9cTJXNFx2tRw69cd9arh9co9cA tyObject_RpcServercolonObjectType___9b9cTJXNFx2tRw69cd9arh9co9cA;
typedef struct RootObj RootObj;
typedef struct tyObject_RpcRouter__9asxr42aH9bAea87pFK7qAaQ tyObject_RpcRouter__9asxr42aH9bAea87pFK7qAaQ;
typedef struct tyObject_Table__cyYxCUPoDV6DZhlaLrrcXw tyObject_Table__cyYxCUPoDV6DZhlaLrrcXw;
typedef struct tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA;
typedef struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw;
typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
typedef struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw;
typedef struct tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg;
typedef struct tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg;
typedef struct tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg;
typedef struct tySequence__qkV9cggxceO9cpfUWIbCnvJg tySequence__qkV9cggxceO9cpfUWIbCnvJg;
typedef struct Exception Exception;
typedef struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA;
typedef struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q;
typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
typedef struct TSafePoint TSafePoint;
typedef struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw;
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {NI size;
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
NCSTRING name;
TNimType* nextType;
NI instances;
NI sizes;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct RootObj {TNimType* m_type;};
struct tyObject_RpcRouter__9asxr42aH9bAea87pFK7qAaQ {tyObject_Table__cyYxCUPoDV6DZhlaLrrcXw* procs;
};
struct tyObject_RpcServercolonObjectType___9b9cTJXNFx2tRw69cd9arh9co9cA { RootObj Sup;tyObject_RpcRouter__9asxr42aH9bAea87pFK7qAaQ router;
};
struct TGenericSeq {NI len;
NI reserved;
};
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef struct {
N_NIMCALL_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, ClP_0) (void* ClE_0);
void* ClE_0;
} tyProc__Y7TIAk6Os9cRMtmIj9bEqCww;
struct tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA { RootObj Sup;NI colonstate_;
tyObject_RpcServercolonObjectType___9b9cTJXNFx2tRw69cd9arh9co9cA* server1;
NimStringDesc* line2;
tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg* chronosInternalRetFuture3;
tyProc__Y7TIAk6Os9cRMtmIj9bEqCww nameIterVarX60gensym395611234_;
};
struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {NI refcount;
TNimType* typ;
};
struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {void* bottom;
};
struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {NI len;
NI cap;
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {tyArray__0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {NI len;
tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {NI minLargeObj;
NI maxLargeObj;
tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
NI allocCounter;
NI deallocCounter;
};
struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {NI counter;
NI max;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
};
typedef long tyArray__xDUyu9aScDpt0JZLU6q9aEZQ[5];
struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw {tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* head;
tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* tail;
pthread_mutex_t lock;
};
struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
NI zctThreshold;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw toDispose;
NI gcThreadId;
};
struct tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg { RootObj Sup;NI colonstate_;
NimStringDesc* result1;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* chronosInternalTmpFuture2;
tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA* colonup_;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result4;
};
typedef tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* tyArray__06L8jjfbunFPxVliYUVjmQ[2];
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (void* arg, void* ClE_0);
void* ClE_0;
} tyProc__9bqx36VxQxXejdrF09bFARDQ;
typedef NU8 tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA;
struct tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw { RootObj Sup;tyArray__06L8jjfbunFPxVliYUVjmQ location;
tySequence__qkV9cggxceO9cpfUWIbCnvJg* callbacks;
tyProc__9bqx36VxQxXejdrF09bFARDQ cancelcb;
tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* child;
tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA state;
Exception* error;
NIM_BOOL mustCancel;
NI id;
};
struct tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw Sup;NimStringDesc* value;
};
struct Exception { RootObj Sup;Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;};
struct tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
struct tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA { tyObject_FutureError__EUoRp7OBZg41PuLzH7xC8Q Sup;};
typedef long tyArray__TcvIiMAJvcwzNLsZkfnFnQ[25];
struct TSafePoint {TSafePoint* prev;
NI status;
jmp_buf context;
};
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__pMyjrESVdooPZoVL82ZJuQ_6) (void);
typedef N_CLOSURE_PTR(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, TM__pMyjrESVdooPZoVL82ZJuQ_7) (void);
typedef N_CLOSURE_PTR(void, TM__pMyjrESVdooPZoVL82ZJuQ_9) (void* udataX60gensym39561124_);
struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw {tyProc__9bqx36VxQxXejdrF09bFARDQ function;
void* udata;
};
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
NI line;
NCSTRING filename;
};
struct tySequence__qkV9cggxceO9cpfUWIbCnvJg { TGenericSeq Sup; tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tyRef__ateVCo4M4kqhFi9aJzHoNww)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__gPq9bnAtgn7JmtMu7XO2vsw)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg*, newFutureImpl__7vFxULoNZP8fCBHkE09auNw)(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__ALhIb5m5BxPh9az8wKso3bQ)(void);
static N_NIMCALL(void, Marker_tyRef__7TQY5G7xRTh7ghp6VKVa3Q)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, route__4JhWafNTfSkgRjXJ7U9bzpw)(void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg*, route__zk6QEQxZjJhsidamKwJT7Q)(tyObject_RpcRouter__9asxr42aH9bAea87pFK7qAaQ router, NimStringDesc* data_0);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
N_LIB_PRIVATE N_NIMCALL(void, internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* fut);
static N_INLINE(NimStringDesc*, internalRead__Ki7REN5TPb0QDSmGGDLHQgasyncloop)(tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg* fut);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(void, complete__i8f13ePu36j4UPeXRwX9cSg)(tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg* future, NimStringDesc* val_0, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__h1ZekHZ9apDYZIpXUKvp3TA)(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_CLOSURE(void, route_continue__GsJQ9cG4Yofwf7ppjcNzPxg)(void* udataX60gensym39561124_, void* ClE_0);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
static N_INLINE(NIM_BOOL, finished__jZtCnaq0a9atKQMcz6A0Atwsystem)(tyProc__Y7TIAk6Os9cRMtmIj9bEqCww x);
static N_INLINE(NIM_BOOL, finished__JXDwCFE0FKiFPAKUUjgdVg_2asyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future);
static N_INLINE(NIM_BOOL, finished__Wm8dlPcdoKhGpuEa8kaFfQasyncloop)(tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg* future);
N_LIB_PRIVATE N_NOINLINE(void, raiseAssert__gpGJG5CoQzE64skFd9bPG7A)(NimStringDesc* msg) __attribute__((noreturn));
N_LIB_PRIVATE N_NIMCALL(void, addCallback__QeHWXKbDl8k58l1wtsnOOw)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, tyProc__9bqx36VxQxXejdrF09bFARDQ cb, void* udata);
static N_INLINE(void, popSafePoint)(void);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
static N_INLINE(Exception*, nimBorrowCurrentException)(void);
N_LIB_PRIVATE N_NIMCALL(void, cancelAndSchedule__1MGH5bJdQgBtESf3VBBOvA_2)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__79cY7uR9cmEURqRGzzdHerWg)(void);
static N_INLINE(void, popCurrentException)(void);
static N_INLINE(Exception*, getCurrentException)(void);
N_LIB_PRIVATE N_NIMCALL(void, fail__dC1YNoPjka9bmg3s9al4QO7A)(tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg* future, Exception* error, tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* loc);
N_LIB_PRIVATE N_NIMCALL(tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*, srcLocImpl__Jr8Jfi7B2iUixKYroydjOg)(void);
N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void);
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
N_LIB_PRIVATE TNimType NTI__9b9cTJXNFx2tRw69cd9arh9co9cA_;
extern TNimType NTI__9asxr42aH9bAea87pFK7qAaQ_;
N_LIB_PRIVATE TNimType NTI__fX2xgmNVLs7CXvYvQDmwpA_;
extern TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_;
N_LIB_PRIVATE TNimType NTI__ateVCo4M4kqhFi9aJzHoNww_;
extern TNimType NTI__77mFvmsOLKik79ci2hXkHEg_;
extern TNimType NTI__Nqt2DnDVkqisGGBVr9c3PfA_;
extern TNimType NTI__Y7TIAk6Os9cRMtmIj9bEqCww_;
N_LIB_PRIVATE TNimType NTI__gPq9bnAtgn7JmtMu7XO2vsw_;
N_LIB_PRIVATE TNimType NTI__uCRk9cx9c49a9b09adLQSLVor9bg_;
extern TNimType NTI__Oe5U64nDSwOh3KlTzM9b9c7g_;
N_LIB_PRIVATE TNimType NTI__7TQY5G7xRTh7ghp6VKVa3Q_;
extern TNimType NTI__paaBQT4pyImJiuEdGp60qA_;
extern TNimType NTI__REH9aBNkNbeLkDu8Z1q6BeA_;
STRING_LITERAL(TM__pMyjrESVdooPZoVL82ZJuQ_4, "Future operation cancelled!", 27);
STRING_LITERAL(TM__pMyjrESVdooPZoVL82ZJuQ_8, "Async procedure (&route) yielded `nil`, are you await\'ing a `ni"
"l` Future\?", 73);
extern TNimType NTI__qrLSDoe2oBoAqNtJ9badtnA_;
extern TNimType* nimTypeRoot;
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
static N_NIMCALL(void, Marker_tyRef__ateVCo4M4kqhFi9aJzHoNww)(void* p, NI op) {
tyObject_RpcServercolonObjectType___9b9cTJXNFx2tRw69cd9arh9co9cA* a;
a = (tyObject_RpcServercolonObjectType___9b9cTJXNFx2tRw69cd9arh9co9cA*)p;
nimGCvisit((void*)(*a).router.procs, op);}
static N_NIMCALL(void, Marker_tyRef__gPq9bnAtgn7JmtMu7XO2vsw)(void* p, NI op) {
tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA* a;
a = (tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA*)p;
nimGCvisit((void*)(*a).server1, op); nimGCvisit((void*)(*a).line2, op); nimGCvisit((void*)(*a).chronosInternalRetFuture3, op); nimGCvisit((void*)(*a).nameIterVarX60gensym395611234_.ClE_0, op);}
#line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0;
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;}
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));}
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0;
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;}
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;}
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;}
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
}
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ NIM_BOOL T3_;
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_;
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
}
LA4_: ;
}
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, asgnRef)(void** dest, void* src) {
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!((src == NIM_NIL))) goto LA3_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
}
LA3_: ;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!(((*dest) == NIM_NIL))) goto LA8_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
}
LA8_: ;
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*dest) = src;}
#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_);
}
static N_NIMCALL(void, Marker_tyRef__7TQY5G7xRTh7ghp6VKVa3Q)(void* p, NI op) {
tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg* a;
a = (tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg*)p;
nimGCvisit((void*)(*a).result1, op); nimGCvisit((void*)(*a).chronosInternalTmpFuture2, op); nimGCvisit((void*)(*a).colonup_, op); nimGCvisit((void*)(*a).result4, op);}
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(NimStringDesc*, internalRead__Ki7REN5TPb0QDSmGGDLHQgasyncloop)(tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg* fut) { NimStringDesc* result;{ result = (NimStringDesc*)0;
#line 475 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 475 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
result = copyString((*fut).value); goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*, route__4JhWafNTfSkgRjXJ7U9bzpw)(void* ClE_0) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* result; tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg* colonenvP_;{ result = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; colonenvP_ = (tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg*) ClE_0;
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
while (1) { if (!1) goto LA1;
{ tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T11_; switch ((*colonenvP_).colonstate_) {
case -1:
goto BeforeRet_;
case 0: goto STATE0;
case 1: goto STATE1;
case 2: goto STATE2;
case 3: goto STATE3;
case 4: goto STATE4;
}
STATE0: ;
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
(*colonenvP_).result1 = (NimStringDesc*)0; { tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg* T4_;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
(*colonenvP_).chronosInternalTmpFuture2 = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0;
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
T4_ = (tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg*)0; T4_ = route__zk6QEQxZjJhsidamKwJT7Q((*(*(*colonenvP_).colonup_).server1).router, (*(*colonenvP_).colonup_).line2); asgnRef((void**) (&(*colonenvP_).chronosInternalTmpFuture2), &T4_->Sup);
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.child), (*colonenvP_).chronosInternalTmpFuture2);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 1);
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenvP_).chronosInternalTmpFuture2; goto BeforeRet_;
}
STATE1: ;
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.child), NIM_NIL);
#line 304 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA* T9_; NimStringDesc* T10_; if (!(*(*(*colonenvP_).colonup_).chronosInternalRetFuture3).Sup.mustCancel) goto LA7_;
T9_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*)0; T9_ = (tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA*) newObj((&NTI__paaBQT4pyImJiuEdGp60qA_), sizeof(tyObject_CancelledError__REH9aBNkNbeLkDu8Z1q6BeA)); (*T9_).Sup.Sup.Sup.Sup.m_type = (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_); (*T9_).Sup.Sup.Sup.name = "CancelledError"; T10_ = (NimStringDesc*)0; T10_ = (*T9_).Sup.Sup.Sup.message; (*T9_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__pMyjrESVdooPZoVL82ZJuQ_4)); if (T10_) nimGCunrefNoCycle(T10_);
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)T9_, "CancelledError", "route", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 305); }
LA7_: ;
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
internalCheckComplete__U2ZB6XUvBxzBuOPMWx524Q((*colonenvP_).chronosInternalTmpFuture2);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 2);
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
goto LA2;
STATE2: ;
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 307 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*colonenvP_).result1), internalRead__Ki7REN5TPb0QDSmGGDLHQgasyncloop(((tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg*) ((*colonenvP_).chronosInternalTmpFuture2))));
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 3);
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
goto LA2;
STATE3: ;
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T11_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T11_ = srcLocImpl__h1ZekHZ9apDYZIpXUKvp3TA();
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
complete__i8f13ePu36j4UPeXRwX9cSg((*(*colonenvP_).colonup_).chronosInternalRetFuture3, (*colonenvP_).result1, T11_);
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) 4);
#line 0 "\?\?\?"
goto LA2;
STATE4: ;
#line 0 "\?\?\?"
(*colonenvP_).colonstate_ = ((NI) -1);
#line 0 "\?\?\?"
goto LA2;
} LA2: ;
} LA1: ;
}BeforeRet_: ;
return result;}
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_;
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));}
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
}
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
(*s).prev = excHandler__rqLlY5bs9atDw2OXYqJEn5g;
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
excHandler__rqLlY5bs9atDw2OXYqJEn5g = s;}
#line 2329 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(NIM_BOOL, finished__jZtCnaq0a9atKQMcz6A0Atwsystem)(tyProc__Y7TIAk6Os9cRMtmIj9bEqCww x) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 2331 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
result = ((NI*) x.ClE_0)[1] < 0;
return result;}
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(NIM_BOOL, finished__JXDwCFE0FKiFPAKUUjgdVg_2asyncloop)(tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* future) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
result = !(((*future).state == ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 0))); return result;}
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
static N_INLINE(NIM_BOOL, finished__Wm8dlPcdoKhGpuEa8kaFfQasyncloop)(tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg* future) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
result = !(((*future).Sup.state == ((tyEnum_FutureState__WzRzKRS6S9aqphI4AiMjRNA) 0))); return result;}
#line 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 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 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 258 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
N_LIB_PRIVATE N_CLOSURE(void, route_continue__GsJQ9cG4Yofwf7ppjcNzPxg)(void* udataX60gensym39561124_, void* ClE_0) { tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA* colonenvP_; TSafePoint TM__pMyjrESVdooPZoVL82ZJuQ_5; colonenvP_ = (tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA*) ClE_0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
pushSafePoint(&TM__pMyjrESVdooPZoVL82ZJuQ_5); TM__pMyjrESVdooPZoVL82ZJuQ_5.status = setjmp(TM__pMyjrESVdooPZoVL82ZJuQ_5.context); if (TM__pMyjrESVdooPZoVL82ZJuQ_5.status == 0) {
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T4_; tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* volatile nextX60gensym39561125_;
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T4_ = (NIM_BOOL)0; T4_ = finished__jZtCnaq0a9atKQMcz6A0Atwsystem((*colonenvP_).nameIterVarX60gensym395611234_); if (!!(T4_)) goto LA5_;
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym39561125_ = (*colonenvP_).nameIterVarX60gensym395611234_.ClP_0((*colonenvP_).nameIterVarX60gensym395611234_.ClE_0); {
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
while (1) { NIM_BOOL T9_;
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T9_ = (NIM_BOOL)0;
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T9_ = !((nextX60gensym39561125_ == 0)); if (!(T9_)) goto LA10_;
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T9_ = finished__JXDwCFE0FKiFPAKUUjgdVg_2asyncloop(nextX60gensym39561125_); LA10_: ;
if (!T9_) goto LA8;
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nextX60gensym39561125_ = (*colonenvP_).nameIterVarX60gensym395611234_.ClP_0((*colonenvP_).nameIterVarX60gensym395611234_.ClE_0);
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T13_;
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T13_ = (NIM_BOOL)0; T13_ = finished__jZtCnaq0a9atKQMcz6A0Atwsystem((*colonenvP_).nameIterVarX60gensym395611234_); if (!T13_) goto LA14_;
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
goto LA7;
}
LA14_: ;
} LA8: ;
} LA7: ;
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
if (!(nextX60gensym39561125_ == NIM_NIL)) goto LA18_;
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T22_;
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T22_ = (NIM_BOOL)0; T22_ = finished__Wm8dlPcdoKhGpuEa8kaFfQasyncloop((*colonenvP_).chronosInternalRetFuture3); if (!!(T22_)) goto LA23_;
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseAssert__gpGJG5CoQzE64skFd9bPG7A(((NimStringDesc*) &TM__pMyjrESVdooPZoVL82ZJuQ_8));
}
LA23_: ;
}
goto LA16_;
LA18_: ;
{ tyProc__9bqx36VxQxXejdrF09bFARDQ T26_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nimZeroMem((void*)(&T26_), sizeof(tyProc__9bqx36VxQxXejdrF09bFARDQ)); T26_.ClP_0 = route_continue__GsJQ9cG4Yofwf7ppjcNzPxg; T26_.ClE_0 = colonenvP_;
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
addCallback__QeHWXKbDl8k58l1wtsnOOw(nextX60gensym39561125_, T26_, NIM_NIL);
}
LA16_: ;
}
LA5_: ;
popSafePoint(); }
else { popSafePoint(); if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__REH9aBNkNbeLkDu8Z1q6BeA_))) { tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw* T29_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T30_; TM__pMyjrESVdooPZoVL82ZJuQ_5.status = 0;
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T29_ = (tyObject_FutureBasecolonObjectType___V9aHQccB2Pyjfqk9bdE5ZRnw*)0; T29_ = &(*colonenvP_).chronosInternalRetFuture3->Sup;
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T30_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T30_ = srcLocImpl__79cY7uR9cmEURqRGzzdHerWg();
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
cancelAndSchedule__1MGH5bJdQgBtESf3VBBOvA_2(T29_, T30_);
popCurrentException(); }
else if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTI__qrLSDoe2oBoAqNtJ9badtnA_))) { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* excX60gensym39561127_; Exception* T32_; TM__pMyjrESVdooPZoVL82ZJuQ_5.status = 0;
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 0 "\?\?\?"
#line 0 "\?\?\?"
T32_ = (Exception*)0; T32_ = getCurrentException(); excX60gensym39561127_ = ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) (T32_));
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
{ NIM_BOOL T35_;
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T35_ = (NIM_BOOL)0; T35_ = finished__Wm8dlPcdoKhGpuEa8kaFfQasyncloop((*colonenvP_).chronosInternalRetFuture3); if (!T35_) goto LA36_;
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
raiseExceptionEx((Exception*)excX60gensym39561127_, "CatchableError", "route_continue", "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/"
"asyncmacro2.nim", 59); }
goto LA33_;
LA36_: ;
{ Exception* T39_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T40_;
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
T39_ = (Exception*)0; T39_ = &excX60gensym39561127_->Sup;
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T40_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T40_ = srcLocImpl__Jr8Jfi7B2iUixKYroydjOg();
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
fail__dC1YNoPjka9bmg3s9al4QO7A((*colonenvP_).chronosInternalRetFuture3, T39_, T40_);
}
LA33_: ;
popCurrentException(); }
}
if (TM__pMyjrESVdooPZoVL82ZJuQ_5.status != 0) reraiseException();}
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg*, route__o6tYbpAGosAeJHIlpkpsyQ)(tyObject_RpcServercolonObjectType___9b9cTJXNFx2tRw69cd9arh9co9cA* server, NimStringDesc* line) { tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg* result; tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA* colonenv_; NimStringDesc* T1_; tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg* T2_; tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg* colonenv__2; tyProc__Y7TIAk6Os9cRMtmIj9bEqCww T3_; tyProc__9bqx36VxQxXejdrF09bFARDQ T4_;{ result = (tyObject_FuturecolonObjectType___hOsQ2qAQi9bBy9b9abRqpkhsg*)0; colonenv_ = (tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv_ = (tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA*) newObj((&NTI__gPq9bnAtgn7JmtMu7XO2vsw_), sizeof(tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA)); (*colonenv_).Sup.m_type = (&NTI__fX2xgmNVLs7CXvYvQDmwpA_);
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
asgnRef((void**) (&(*colonenv_).server1), server);
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
T1_ = (NimStringDesc*)0; T1_ = (*colonenv_).line2; (*colonenv_).line2 = copyStringRC1(line); if (T1_) nimGCunrefNoCycle(T1_);
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncfutures2.nim"
T2_ = (tyObject_SrcLoc__9cugm8iqHlSb5d0xCTLlcbg*)0; T2_ = srcLocImpl__ALhIb5m5BxPh9az8wKso3bQ();
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
asgnRef((void**) (&(*colonenv_).chronosInternalRetFuture3), newFutureImpl__7vFxULoNZP8fCBHkE09auNw(T2_));
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg*)0;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
colonenv__2 = (tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg*) newObj((&NTI__7TQY5G7xRTh7ghp6VKVa3Q_), sizeof(tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg)); (*colonenv__2).Sup.m_type = (&NTI__uCRk9cx9c49a9b09adLQSLVor9bg_);
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
asgnRef((void**) (&(*colonenv__2).colonup_), colonenv_); nimZeroMem((void*)(&T3_), sizeof(tyProc__Y7TIAk6Os9cRMtmIj9bEqCww)); T3_.ClP_0 = route__4JhWafNTfSkgRjXJ7U9bzpw; T3_.ClE_0 = colonenv__2; asgnRef((void**) (&(*colonenv_).nameIterVarX60gensym395611234_.ClE_0), T3_.ClE_0); (*colonenv_).nameIterVarX60gensym395611234_.ClP_0 = T3_.ClP_0;
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
nimZeroMem((void*)(&T4_), sizeof(tyProc__9bqx36VxQxXejdrF09bFARDQ)); T4_.ClP_0 = route_continue__GsJQ9cG4Yofwf7ppjcNzPxg; T4_.ClE_0 = colonenv_; T4_.ClE_0? T4_.ClP_0(NIM_NIL, T4_.ClE_0):((TM__pMyjrESVdooPZoVL82ZJuQ_9)(T4_.ClP_0))(NIM_NIL);
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-json-rpc/json_rpc/server.nim"
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/asyncmacro2.nim"
result = (*colonenv_).chronosInternalRetFuture3; goto BeforeRet_;
}BeforeRet_: ;
return result;}
N_LIB_PRIVATE N_NIMCALL(void, json_rpc_serverDatInit000)(void) {
#line 999999 "generated_not_to_break_here"
static TNimNode* TM__pMyjrESVdooPZoVL82ZJuQ_2_5[5];
static TNimNode* TM__pMyjrESVdooPZoVL82ZJuQ_3_5[5];
static TNimNode TM__pMyjrESVdooPZoVL82ZJuQ_0[13];NTI__9b9cTJXNFx2tRw69cd9arh9co9cA_.size = sizeof(tyObject_RpcServercolonObjectType___9b9cTJXNFx2tRw69cd9arh9co9cA);
NTI__9b9cTJXNFx2tRw69cd9arh9co9cA_.kind = 17;
NTI__9b9cTJXNFx2tRw69cd9arh9co9cA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__9b9cTJXNFx2tRw69cd9arh9co9cA_.name = "RpcServer:ObjectType";
NTI__9b9cTJXNFx2tRw69cd9arh9co9cA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__9b9cTJXNFx2tRw69cd9arh9co9cA_;
TM__pMyjrESVdooPZoVL82ZJuQ_0[0].kind = 1;
TM__pMyjrESVdooPZoVL82ZJuQ_0[0].offset = offsetof(tyObject_RpcServercolonObjectType___9b9cTJXNFx2tRw69cd9arh9co9cA, router);
TM__pMyjrESVdooPZoVL82ZJuQ_0[0].typ = (&NTI__9asxr42aH9bAea87pFK7qAaQ_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[0].name = "router";
NTI__9b9cTJXNFx2tRw69cd9arh9co9cA_.node = &TM__pMyjrESVdooPZoVL82ZJuQ_0[0];
NTI__fX2xgmNVLs7CXvYvQDmwpA_.size = sizeof(tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA);
NTI__fX2xgmNVLs7CXvYvQDmwpA_.kind = 17;
NTI__fX2xgmNVLs7CXvYvQDmwpA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__fX2xgmNVLs7CXvYvQDmwpA_.name = "object";
NTI__fX2xgmNVLs7CXvYvQDmwpA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__fX2xgmNVLs7CXvYvQDmwpA_;
TM__pMyjrESVdooPZoVL82ZJuQ_2_5[0] = &TM__pMyjrESVdooPZoVL82ZJuQ_0[2];
TM__pMyjrESVdooPZoVL82ZJuQ_0[2].kind = 1;
TM__pMyjrESVdooPZoVL82ZJuQ_0[2].offset = offsetof(tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA, colonstate_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[2].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[2].name = ":state";
TM__pMyjrESVdooPZoVL82ZJuQ_2_5[1] = &TM__pMyjrESVdooPZoVL82ZJuQ_0[3];
NTI__ateVCo4M4kqhFi9aJzHoNww_.size = sizeof(tyObject_RpcServercolonObjectType___9b9cTJXNFx2tRw69cd9arh9co9cA*);
NTI__ateVCo4M4kqhFi9aJzHoNww_.kind = 22;
NTI__ateVCo4M4kqhFi9aJzHoNww_.base = (&NTI__9b9cTJXNFx2tRw69cd9arh9co9cA_);
NTI__ateVCo4M4kqhFi9aJzHoNww_.name = "RpcServer";
NTI__ateVCo4M4kqhFi9aJzHoNww_.nextType = nimTypeRoot; nimTypeRoot=&NTI__ateVCo4M4kqhFi9aJzHoNww_;
NTI__ateVCo4M4kqhFi9aJzHoNww_.marker = Marker_tyRef__ateVCo4M4kqhFi9aJzHoNww;
TM__pMyjrESVdooPZoVL82ZJuQ_0[3].kind = 1;
TM__pMyjrESVdooPZoVL82ZJuQ_0[3].offset = offsetof(tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA, server1);
TM__pMyjrESVdooPZoVL82ZJuQ_0[3].typ = (&NTI__ateVCo4M4kqhFi9aJzHoNww_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[3].name = "server1";
TM__pMyjrESVdooPZoVL82ZJuQ_2_5[2] = &TM__pMyjrESVdooPZoVL82ZJuQ_0[4];
TM__pMyjrESVdooPZoVL82ZJuQ_0[4].kind = 1;
TM__pMyjrESVdooPZoVL82ZJuQ_0[4].offset = offsetof(tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA, line2);
TM__pMyjrESVdooPZoVL82ZJuQ_0[4].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[4].name = "line2";
TM__pMyjrESVdooPZoVL82ZJuQ_2_5[3] = &TM__pMyjrESVdooPZoVL82ZJuQ_0[5];
TM__pMyjrESVdooPZoVL82ZJuQ_0[5].kind = 1;
TM__pMyjrESVdooPZoVL82ZJuQ_0[5].offset = offsetof(tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA, chronosInternalRetFuture3);
TM__pMyjrESVdooPZoVL82ZJuQ_0[5].typ = (&NTI__Nqt2DnDVkqisGGBVr9c3PfA_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[5].name = "chronosInternalRetFuture3";
TM__pMyjrESVdooPZoVL82ZJuQ_2_5[4] = &TM__pMyjrESVdooPZoVL82ZJuQ_0[6];
TM__pMyjrESVdooPZoVL82ZJuQ_0[6].kind = 1;
TM__pMyjrESVdooPZoVL82ZJuQ_0[6].offset = offsetof(tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA, nameIterVarX60gensym395611234_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[6].typ = (&NTI__Y7TIAk6Os9cRMtmIj9bEqCww_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[6].name = "nameIterVar`gensym395611234";
TM__pMyjrESVdooPZoVL82ZJuQ_0[1].len = 5; TM__pMyjrESVdooPZoVL82ZJuQ_0[1].kind = 2; TM__pMyjrESVdooPZoVL82ZJuQ_0[1].sons = &TM__pMyjrESVdooPZoVL82ZJuQ_2_5[0];
NTI__fX2xgmNVLs7CXvYvQDmwpA_.node = &TM__pMyjrESVdooPZoVL82ZJuQ_0[1];
NTI__gPq9bnAtgn7JmtMu7XO2vsw_.size = sizeof(tyObject_Env_serverdotnim___fX2xgmNVLs7CXvYvQDmwpA*);
NTI__gPq9bnAtgn7JmtMu7XO2vsw_.kind = 22;
NTI__gPq9bnAtgn7JmtMu7XO2vsw_.base = (&NTI__fX2xgmNVLs7CXvYvQDmwpA_);
NTI__gPq9bnAtgn7JmtMu7XO2vsw_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-json-rpc/json_rpc/server.nim(24, 18)";
NTI__gPq9bnAtgn7JmtMu7XO2vsw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__gPq9bnAtgn7JmtMu7XO2vsw_;
NTI__gPq9bnAtgn7JmtMu7XO2vsw_.marker = Marker_tyRef__gPq9bnAtgn7JmtMu7XO2vsw;
NTI__uCRk9cx9c49a9b09adLQSLVor9bg_.size = sizeof(tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg);
NTI__uCRk9cx9c49a9b09adLQSLVor9bg_.kind = 17;
NTI__uCRk9cx9c49a9b09adLQSLVor9bg_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__uCRk9cx9c49a9b09adLQSLVor9bg_.name = "object";
NTI__uCRk9cx9c49a9b09adLQSLVor9bg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__uCRk9cx9c49a9b09adLQSLVor9bg_;
TM__pMyjrESVdooPZoVL82ZJuQ_3_5[0] = &TM__pMyjrESVdooPZoVL82ZJuQ_0[8];
TM__pMyjrESVdooPZoVL82ZJuQ_0[8].kind = 1;
TM__pMyjrESVdooPZoVL82ZJuQ_0[8].offset = offsetof(tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg, colonstate_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[8].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[8].name = ":state";
TM__pMyjrESVdooPZoVL82ZJuQ_3_5[1] = &TM__pMyjrESVdooPZoVL82ZJuQ_0[9];
TM__pMyjrESVdooPZoVL82ZJuQ_0[9].kind = 1;
TM__pMyjrESVdooPZoVL82ZJuQ_0[9].offset = offsetof(tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg, result1);
TM__pMyjrESVdooPZoVL82ZJuQ_0[9].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[9].name = "result1";
TM__pMyjrESVdooPZoVL82ZJuQ_3_5[2] = &TM__pMyjrESVdooPZoVL82ZJuQ_0[10];
TM__pMyjrESVdooPZoVL82ZJuQ_0[10].kind = 1;
TM__pMyjrESVdooPZoVL82ZJuQ_0[10].offset = offsetof(tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg, chronosInternalTmpFuture2);
TM__pMyjrESVdooPZoVL82ZJuQ_0[10].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[10].name = "chronosInternalTmpFuture2";
TM__pMyjrESVdooPZoVL82ZJuQ_3_5[3] = &TM__pMyjrESVdooPZoVL82ZJuQ_0[11];
TM__pMyjrESVdooPZoVL82ZJuQ_0[11].kind = 1;
TM__pMyjrESVdooPZoVL82ZJuQ_0[11].offset = offsetof(tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg, colonup_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[11].typ = (&NTI__gPq9bnAtgn7JmtMu7XO2vsw_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[11].name = ":up";
TM__pMyjrESVdooPZoVL82ZJuQ_3_5[4] = &TM__pMyjrESVdooPZoVL82ZJuQ_0[12];
TM__pMyjrESVdooPZoVL82ZJuQ_0[12].kind = 1;
TM__pMyjrESVdooPZoVL82ZJuQ_0[12].offset = offsetof(tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg, result4);
TM__pMyjrESVdooPZoVL82ZJuQ_0[12].typ = (&NTI__Oe5U64nDSwOh3KlTzM9b9c7g_);
TM__pMyjrESVdooPZoVL82ZJuQ_0[12].name = "result4";
TM__pMyjrESVdooPZoVL82ZJuQ_0[7].len = 5; TM__pMyjrESVdooPZoVL82ZJuQ_0[7].kind = 2; TM__pMyjrESVdooPZoVL82ZJuQ_0[7].sons = &TM__pMyjrESVdooPZoVL82ZJuQ_3_5[0];
NTI__uCRk9cx9c49a9b09adLQSLVor9bg_.node = &TM__pMyjrESVdooPZoVL82ZJuQ_0[7];
NTI__7TQY5G7xRTh7ghp6VKVa3Q_.size = sizeof(tyObject_Env_asyncmacro2dotnim___uCRk9cx9c49a9b09adLQSLVor9bg*);
NTI__7TQY5G7xRTh7ghp6VKVa3Q_.kind = 22;
NTI__7TQY5G7xRTh7ghp6VKVa3Q_.base = (&NTI__uCRk9cx9c49a9b09adLQSLVor9bg_);
NTI__7TQY5G7xRTh7ghp6VKVa3Q_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
"/nim-chronos/chronos/asyncmacro2.nim(259, 33)";
NTI__7TQY5G7xRTh7ghp6VKVa3Q_.nextType = nimTypeRoot; nimTypeRoot=&NTI__7TQY5G7xRTh7ghp6VKVa3Q_;
NTI__7TQY5G7xRTh7ghp6VKVa3Q_.marker = Marker_tyRef__7TQY5G7xRTh7ghp6VKVa3Q;
}