/* 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-bearssl/bearssl/certs -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/libnatpmp-upstream -DENABLE_STRNATPMPERR -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/examples/v2 -o nimcache/release/chat2/stdlib_strformat.nim.c.o nimcache/release/chat2/stdlib_strformat.nim.c */ #define NIM_INTBITS 64 #include "nimbase.h" #include #include #include #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 NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct tyObject_StandardFormatSpecifier__NDU7AW5Eu6Q69c8cH6RDouQ tyObject_StandardFormatSpecifier__NDU7AW5Eu6Q69c8cH6RDouQ; typedef struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw; typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA; typedef struct Exception Exception; typedef struct RootObj RootObj; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA; typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA; 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_Oid__v0fX7UzOqz7toHgI0d87SA tyObject_Oid__v0fX7UzOqz7toHgI0d87SA; typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA; struct TGenericSeq {NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE]; }; struct tyObject_StandardFormatSpecifier__NDU7AW5Eu6Q69c8cH6RDouQ {NIM_CHAR fill; NIM_CHAR align; NIM_CHAR sign; NIM_BOOL alternateForm; NIM_BOOL padWithZero; NI minimumWidth; NI precision; NIM_CHAR typ; NI endPosition; }; typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A; typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ; typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op); typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p); struct TNimType {NI size; tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind; tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags; TNimType* base; TNimNode* node; void* finalizer; tyProc__ojoeKfW4VYIm36I9cpDTQIg marker; tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy; NCSTRING name; TNimType* nextType; NI instances; NI sizes; }; struct RootObj {TNimType* m_type;}; struct Exception { RootObj Sup;Exception* parent; NCSTRING name; NimStringDesc* message; tySequence__uB9b75OUPRENsBAu4AnoePA* trace; Exception* up; }; struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;}; struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;}; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {NI a; NI b; }; 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_Oid__v0fX7UzOqz7toHgI0d87SA {NI32 time; NI32 fuzz; NI32 count; }; typedef NU8 tyEnum_TokKind__tFVERTiomAoorA9ajTuxnaQ; typedef NU8 tyEnum_ExpectedTokenCategory__BMaCL9adD39bTV7N7vDAL9cwA; struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname; NI line; NCSTRING filename; }; struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(tyObject_StandardFormatSpecifier__NDU7AW5Eu6Q69c8cH6RDouQ, parseStandardFormatSpecifier__VVCKI4fK6GYPxQ9cDpjISyA)(NimStringDesc* s, NI start, NIM_BOOL ignoreUnknownSuffix); 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, raiseOverflow)(void); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n); N_LIB_PRIVATE N_NIMCALL(NI, parseSaturatedNatural__hGWFPKYRsDcYFCjZLM9acZw)(NimStringDesc* s, NI* b, NI start); N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size); static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src); static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size); static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size); static N_INLINE(NimStringDesc*, X5BX5D___ogYTOKbgqbjPfyC123US1gsystem)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0); N_NIMCALL(NimStringDesc*, mnewString)(NI len); N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b); static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem)(NI a, NI b); N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space); 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, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src); static N_INLINE(void, appendChar)(NimStringDesc* dest_0, NIM_CHAR c); N_LIB_PRIVATE N_NIMCALL(NI, nucruneLen)(NimStringDesc* s); N_LIB_PRIVATE N_NIMCALL(NI, runeOffset__EnrqtYM0boqQqeAIRc9bdmA)(NimStringDesc* s, NI pos, NI start); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newLen); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, alignString__pfisktkC9crnJPz5c4ILtRg)(NimStringDesc* s, NI minimumWidth, NIM_CHAR align, NIM_CHAR fill); N_LIB_PRIVATE N_NIMCALL(NI, validateUtf8__gZHDHaRdP4jROav7Hun29aA)(NimStringDesc* s); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuRepeatChar)(NIM_CHAR c, NI count_0); N_LIB_PRIVATE N_NOINLINE(void, raiseDivByZero)(void); static N_INLINE(NIM_BOOL, nimDivInt)(NI a, NI b, NI* res); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen); N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, formatInt__mfFKm9aYkQ8qj8x65rdunAg)(NI n_0, NI radix, tyObject_StandardFormatSpecifier__NDU7AW5Eu6Q69c8cH6RDouQ* spec); static N_INLINE(NIM_BOOL, nimDivInt64)(NI64 a, NI64 b, NI64* res); static N_INLINE(NimStringDesc*, mkDigit__MPiQ66k9cc3im5NcFk1Mg9cwstrformat)(NI v, NIM_CHAR typ); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c); N_LIB_PRIVATE N_NIMCALL(void, formatValue__3zjq9csYPBcIN7AqvyU5ZLA)(NimStringDesc** result, NimStringDesc* value_0, NimStringDesc* specifier); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___39cF9bFahdYMwI55nfkiIPqA)(tyObject_Oid__v0fX7UzOqz7toHgI0d87SA oid_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e_0, TNimType* typ); extern TNimType NTI__Ie1m0dv1ZHg72IgPRr1cDw_; extern TNimType NTI__yoNlBGx0D2tRizIdhQuENw_; STRING_LITERAL(TM__qDXzsifTQdn8ucTam9cFp4w_16, "invalid format string, cannot parse: ", 37); STRING_LITERAL(TM__qDXzsifTQdn8ucTam9cFp4w_22, "invalid type in format string for string, expected \'s\', but got" " ", 64); STRING_LITERAL(TM__qDXzsifTQdn8ucTam9cFp4w_26, "invalid type in format string for number, expected one of \'x\'," " \'X\', \'b\', \'d\', \'o\' but got: ", 92); STRING_LITERAL(TM__qDXzsifTQdn8ucTam9cFp4w_28, "0x", 2); STRING_LITERAL(TM__qDXzsifTQdn8ucTam9cFp4w_29, "0b", 2); STRING_LITERAL(TM__qDXzsifTQdn8ucTam9cFp4w_30, "0o", 2); STRING_LITERAL(TM__qDXzsifTQdn8ucTam9cFp4w_31, "0", 1); STRING_LITERAL(TM__qDXzsifTQdn8ucTam9cFp4w_34, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/pure/strformat.nim(270, 9) `v < 26` ", 114); STRING_LITERAL(TM__qDXzsifTQdn8ucTam9cFp4w_45, "-", 1); extern TNimType NTI__tFVERTiomAoorA9ajTuxnaQ_; extern TNimType NTI__BMaCL9adD39bTV7N7vDAL9cwA_; extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q; #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 11 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_; #line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" #line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size)));} #line 2112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) { #line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" nimCopyMem(dest, source, size); } #line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) { #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" { #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" if (!!((src == NIM_NIL))) goto LA3_; #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1))))); #line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" (*dest).Sup.len += (*src).Sup.len; } LA3_: ; } #line 2429 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(NimStringDesc*, X5BX5D___ogYTOKbgqbjPfyC123US1gsystem)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0) { NimStringDesc* result; NI a; NI L; NI TM__qDXzsifTQdn8ucTam9cFp4w_17; NI TM__qDXzsifTQdn8ucTam9cFp4w_18; NI TM__qDXzsifTQdn8ucTam9cFp4w_19; result = (NimStringDesc*)0; #line 2436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" a = x_0.a; #line 2437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2424 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2424 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" if (nimSubInt((s ? s->Sup.len : 0), x_0.b, &TM__qDXzsifTQdn8ucTam9cFp4w_17)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_17), a, &TM__qDXzsifTQdn8ucTam9cFp4w_18)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_18), ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_19)) { raiseOverflow(); }; L = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_19); #line 2438 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2438 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" if ((L) < ((NI) 0) || (L) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(L, ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 2438 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" result = mnewString(((NI) (L))); { NI i; NI i_2; i = (NI)0; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" i_2 = ((NI) 0); { #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" while (1) { NI TM__qDXzsifTQdn8ucTam9cFp4w_20; NI TM__qDXzsifTQdn8ucTam9cFp4w_21; #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (!(i_2 < L)) goto LA3; #line 2439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" i = i_2; if ((NU)(i) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(i,(result ? result->Sup.len : 0)-1); } #line 2439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" if (nimAddInt(i, a, &TM__qDXzsifTQdn8ucTam9cFp4w_20)) { raiseOverflow(); }; if ((NU)((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_20)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_20),(s ? s->Sup.len : 0)-1); } result->data[i] = s->data[(NI)(TM__qDXzsifTQdn8ucTam9cFp4w_20)]; #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (nimAddInt(i_2, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_21)) { raiseOverflow(); }; i_2 = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_21); } LA3: ; } } return result;} #line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem)(NI a, NI b) { tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result; nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA)); #line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA)); result.a = a; result.b = b; return result;} #line 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 368 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" N_LIB_PRIVATE N_NIMCALL(tyObject_StandardFormatSpecifier__NDU7AW5Eu6Q69c8cH6RDouQ, parseStandardFormatSpecifier__VVCKI4fK6GYPxQ9cDpjISyA)(NimStringDesc* s, NI start, NIM_BOOL ignoreUnknownSuffix) { tyObject_StandardFormatSpecifier__NDU7AW5Eu6Q69c8cH6RDouQ result; NI i; NI parsedLength; NI TM__qDXzsifTQdn8ucTam9cFp4w_12; nimZeroMem((void*)(&result), sizeof(tyObject_StandardFormatSpecifier__NDU7AW5Eu6Q69c8cH6RDouQ)); #line 379 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result.fill = 32; #line 380 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result.align = 0; #line 381 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result.sign = 45; #line 382 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" i = start; #line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NIM_BOOL T3_; NI TM__qDXzsifTQdn8ucTam9cFp4w_2; NI TM__qDXzsifTQdn8ucTam9cFp4w_3; NI TM__qDXzsifTQdn8ucTam9cFp4w_4; NI TM__qDXzsifTQdn8ucTam9cFp4w_5; #line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T3_ = (NIM_BOOL)0; #line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_2)) { raiseOverflow(); }; #line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T3_ = ((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_2) < (s ? s->Sup.len : 0)); if (!(T3_)) goto LA4_; #line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_3)) { raiseOverflow(); }; if ((NU)((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_3)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_3),(s ? s->Sup.len : 0)-1); } T3_ = (((NU8)(s->data[(NI)(TM__qDXzsifTQdn8ucTam9cFp4w_3)])) == ((NU8)(60)) || ((NU8)(s->data[(NI)(TM__qDXzsifTQdn8ucTam9cFp4w_3)])) == ((NU8)(62)) || ((NU8)(s->data[(NI)(TM__qDXzsifTQdn8ucTam9cFp4w_3)])) == ((NU8)(94))); LA4_: ; if (!T3_) goto LA5_; #line 384 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } result.fill = s->data[i]; #line 385 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 385 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_4)) { raiseOverflow(); }; if ((NU)((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_4)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_4),(s ? s->Sup.len : 0)-1); } result.align = s->data[(NI)(TM__qDXzsifTQdn8ucTam9cFp4w_4)]; #line 386 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 2), &TM__qDXzsifTQdn8ucTam9cFp4w_5)) { raiseOverflow(); }; i = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_5); } goto LA1_; LA5_: ; { NIM_BOOL T8_; NI TM__qDXzsifTQdn8ucTam9cFp4w_6; #line 387 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T8_ = (NIM_BOOL)0; #line 387 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 387 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T8_ = (i < (s ? s->Sup.len : 0)); if (!(T8_)) goto LA9_; #line 387 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } T8_ = (((NU8)(s->data[i])) == ((NU8)(60)) || ((NU8)(s->data[i])) == ((NU8)(62)) || ((NU8)(s->data[i])) == ((NU8)(94))); LA9_: ; if (!T8_) goto LA10_; #line 388 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } result.align = s->data[i]; #line 389 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_6)) { raiseOverflow(); }; i = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_6); } goto LA1_; LA10_: ; LA1_: ; #line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NIM_BOOL T14_; NI TM__qDXzsifTQdn8ucTam9cFp4w_7; #line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T14_ = (NIM_BOOL)0; #line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T14_ = (i < (s ? s->Sup.len : 0)); if (!(T14_)) goto LA15_; #line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } T14_ = (((NU8)(s->data[i])) == ((NU8)(45)) || ((NU8)(s->data[i])) == ((NU8)(43)) || ((NU8)(s->data[i])) == ((NU8)(32))); LA15_: ; if (!T14_) goto LA16_; #line 392 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } result.sign = s->data[i]; #line 393 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_7)) { raiseOverflow(); }; i = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_7); } LA16_: ; #line 395 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NIM_BOOL T20_; NI TM__qDXzsifTQdn8ucTam9cFp4w_8; #line 395 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T20_ = (NIM_BOOL)0; #line 395 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 395 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T20_ = (i < (s ? s->Sup.len : 0)); if (!(T20_)) goto LA21_; #line 395 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } T20_ = ((NU8)(s->data[i]) == (NU8)(35)); LA21_: ; if (!T20_) goto LA22_; #line 396 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result.alternateForm = NIM_TRUE; #line 397 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_8)) { raiseOverflow(); }; i = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_8); } LA22_: ; #line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NIM_BOOL T26_; NIM_BOOL T27_; NI TM__qDXzsifTQdn8ucTam9cFp4w_9; NI TM__qDXzsifTQdn8ucTam9cFp4w_10; NI TM__qDXzsifTQdn8ucTam9cFp4w_11; #line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T26_ = (NIM_BOOL)0; #line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T27_ = (NIM_BOOL)0; #line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_9)) { raiseOverflow(); }; #line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T27_ = ((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_9) < (s ? s->Sup.len : 0)); if (!(T27_)) goto LA28_; #line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } T27_ = ((NU8)(s->data[i]) == (NU8)(48)); LA28_: ; T26_ = T27_; if (!(T26_)) goto LA29_; #line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_10)) { raiseOverflow(); }; if ((NU)((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_10)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_10),(s ? s->Sup.len : 0)-1); } T26_ = (((NU8)(s->data[(NI)(TM__qDXzsifTQdn8ucTam9cFp4w_10)])) >= ((NU8)(48)) && ((NU8)(s->data[(NI)(TM__qDXzsifTQdn8ucTam9cFp4w_10)])) <= ((NU8)(57))); LA29_: ; if (!T26_) goto LA30_; #line 400 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result.padWithZero = NIM_TRUE; #line 401 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_11)) { raiseOverflow(); }; i = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_11); } LA30_: ; #line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" parsedLength = parseSaturatedNatural__hGWFPKYRsDcYFCjZLM9acZw(s, (&result.minimumWidth), i); #line 404 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, parsedLength, &TM__qDXzsifTQdn8ucTam9cFp4w_12)) { raiseOverflow(); }; i = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_12); #line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NIM_BOOL T34_; NI TM__qDXzsifTQdn8ucTam9cFp4w_13; NI parsedLengthB; NI TM__qDXzsifTQdn8ucTam9cFp4w_14; #line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T34_ = (NIM_BOOL)0; #line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T34_ = (i < (s ? s->Sup.len : 0)); if (!(T34_)) goto LA35_; #line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } T34_ = ((NU8)(s->data[i]) == (NU8)(46)); LA35_: ; if (!T34_) goto LA36_; #line 406 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_13)) { raiseOverflow(); }; i = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_13); #line 407 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 407 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" parsedLengthB = parseSaturatedNatural__hGWFPKYRsDcYFCjZLM9acZw(s, (&result.precision), i); #line 408 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, parsedLengthB, &TM__qDXzsifTQdn8ucTam9cFp4w_14)) { raiseOverflow(); }; i = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_14); } goto LA32_; LA36_: ; { #line 410 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result.precision = ((NI) -1); } LA32_: ; #line 412 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NIM_BOOL T41_; NI TM__qDXzsifTQdn8ucTam9cFp4w_15; #line 412 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T41_ = (NIM_BOOL)0; #line 412 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 412 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T41_ = (i < (s ? s->Sup.len : 0)); if (!(T41_)) goto LA42_; #line 412 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } T41_ = (((NU8)(s->data[i])) >= ((NU8)(65)) && ((NU8)(s->data[i])) <= ((NU8)(90)) || ((NU8)(s->data[i])) >= ((NU8)(97)) && ((NU8)(s->data[i])) <= ((NU8)(122))); LA42_: ; if (!T41_) goto LA43_; #line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } result.typ = s->data[i]; #line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_15)) { raiseOverflow(); }; i = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_15); } LA43_: ; #line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result.endPosition = i; #line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NIM_BOOL T47_; tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw* T51_; NimStringDesc* T52_; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T53_; NimStringDesc* T54_; #line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T47_ = (NIM_BOOL)0; #line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T47_ = !((i == (s ? s->Sup.len : 0))); if (!(T47_)) goto LA48_; #line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T47_ = !(ignoreUnknownSuffix); LA48_: ; if (!T47_) goto LA49_; T51_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*)0; T51_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*) newObj((&NTI__Ie1m0dv1ZHg72IgPRr1cDw_), sizeof(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw)); (*T51_).Sup.Sup.Sup.m_type = (&NTI__yoNlBGx0D2tRizIdhQuENw_); (*T51_).Sup.Sup.name = "ValueError"; #line 418 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T52_ = (NimStringDesc*)0; #line 418 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 418 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 418 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T53_ = dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem(i, ((NI) 1)); #line 418 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T54_ = (NimStringDesc*)0; T54_ = X5BX5D___ogYTOKbgqbjPfyC123US1gsystem(s, T53_); T52_ = rawNewString((T54_ ? T54_->Sup.len : 0) + 37);appendString(T52_, ((NimStringDesc*) &TM__qDXzsifTQdn8ucTam9cFp4w_16));appendString(T52_, T54_); asgnRef((void**) (&(*T51_).Sup.Sup.message), T52_); asgnRef((void**) (&(*T51_).Sup.Sup.parent), NIM_NIL); #line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" raiseExceptionEx((Exception*)T51_, "ValueError", "parseStandardFormatSpecifier", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/pure/strformat.nim", 417); } LA49_: ; return result;} #line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" static N_INLINE(void, appendChar)(NimStringDesc* dest_0, NIM_CHAR c) { #line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" (*dest_0).data[(*dest_0).Sup.len] = c; #line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" #line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" (*dest_0).data[(NI)((*dest_0).Sup.len + ((NI) 1))] = 0; #line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim" (*dest_0).Sup.len += ((NI) 1);} #line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" static N_INLINE(NIM_BOOL, nimDivInt)(NI a, NI b, NI* res) { NIM_BOOL result; result = (NIM_BOOL)0; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" { NIM_BOOL T3_; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" T3_ = (NIM_BOOL)0; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" T3_ = (a == ((NI) (IL64(-9223372036854775807) - IL64(1)))); if (!(T3_)) goto LA4_; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" T3_ = (b == ((NI) -1)); LA4_: ; if (!T3_) goto LA5_; #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" result = NIM_TRUE; } goto LA1_; LA5_: ; { #line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" #line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" (*res) = (NI)(a / b); } LA1_: ; return result;} #line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, alignString__pfisktkC9crnJPz5c4ILtRg)(NimStringDesc* s, NI minimumWidth, NIM_CHAR align, NIM_CHAR fill) { NimStringDesc* result; result = (NimStringDesc*)0; #line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { #line 281 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!(minimumWidth == ((NI) 0))) goto LA3_; #line 282 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result = copyString(s); } goto LA1_; LA3_: ; { NI sRuneLen; NI toFill; NI TM__qDXzsifTQdn8ucTam9cFp4w_23; #line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NI T8_; #line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T8_ = (NI)0; T8_ = validateUtf8__gZHDHaRdP4jROav7Hun29aA(s); if (!(T8_ == ((NI) -1))) goto LA9_; #line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" sRuneLen = nucruneLen(s); } goto LA6_; LA9_: ; { #line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" sRuneLen = (s ? s->Sup.len : 0); } LA6_: ; #line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimSubInt(minimumWidth, sRuneLen, &TM__qDXzsifTQdn8ucTam9cFp4w_23)) { raiseOverflow(); }; toFill = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_23); #line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { #line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!(toFill <= ((NI) 0))) goto LA14_; #line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result = copyString(s); } goto LA12_; LA14_: ; { NIM_BOOL T17_; NimStringDesc* T21_; NimStringDesc* T22_; #line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T17_ = (NIM_BOOL)0; #line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T17_ = ((NU8)(align) == (NU8)(60)); if (T17_) goto LA18_; #line 288 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T17_ = ((NU8)(align) == (NU8)(0)); LA18_: ; if (!T17_) goto LA19_; #line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T21_ = (NimStringDesc*)0; #line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((toFill) < ((NI) 0) || (toFill) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(toFill, ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T22_ = (NimStringDesc*)0; T22_ = nsuRepeatChar(fill, ((NI) (toFill))); T21_ = rawNewString((s ? s->Sup.len : 0) + (T22_ ? T22_->Sup.len : 0) + 0);appendString(T21_, s);appendString(T21_, T22_); result = T21_; } goto LA12_; LA19_: ; { NI half; NI TM__qDXzsifTQdn8ucTam9cFp4w_24; NimStringDesc* T26_; NimStringDesc* T27_; NI TM__qDXzsifTQdn8ucTam9cFp4w_25; NimStringDesc* T28_; #line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!((NU8)(align) == (NU8)(94))) goto LA24_; #line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 291 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (((NI) 2) == 0){ raiseDivByZero(); } if (nimDivInt(toFill, ((NI) 2), &TM__qDXzsifTQdn8ucTam9cFp4w_24)) { raiseOverflow(); }; half = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_24); #line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T26_ = (NimStringDesc*)0; #line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((half) < ((NI) 0) || (half) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(half, ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T27_ = (NimStringDesc*)0; T27_ = nsuRepeatChar(fill, ((NI) (half))); #line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimSubInt(toFill, half, &TM__qDXzsifTQdn8ucTam9cFp4w_25)) { raiseOverflow(); }; if (((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_25)) < ((NI) 0) || ((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_25)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_25), ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T28_ = (NimStringDesc*)0; T28_ = nsuRepeatChar(fill, ((NI) ((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_25)))); T26_ = rawNewString((T27_ ? T27_->Sup.len : 0) + (s ? s->Sup.len : 0) + (T28_ ? T28_->Sup.len : 0) + 0);appendString(T26_, T27_);appendString(T26_, s);appendString(T26_, T28_); result = T26_; } goto LA12_; LA24_: ; { NimStringDesc* T30_; NimStringDesc* T31_; #line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T30_ = (NimStringDesc*)0; #line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((toFill) < ((NI) 0) || (toFill) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(toFill, ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 294 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T31_ = (NimStringDesc*)0; T31_ = nsuRepeatChar(fill, ((NI) (toFill))); T30_ = rawNewString((T31_ ? T31_->Sup.len : 0) + (s ? s->Sup.len : 0) + 0);appendString(T30_, T31_);appendString(T30_, s); result = T30_; } LA12_: ; } LA1_: ; return result;} #line 498 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" N_LIB_PRIVATE N_NIMCALL(void, formatValue__3zjq9csYPBcIN7AqvyU5ZLA)(NimStringDesc** result, NimStringDesc* value_0, NimStringDesc* specifier) { tyObject_StandardFormatSpecifier__NDU7AW5Eu6Q69c8cH6RDouQ spec; NimStringDesc* value_2; NimStringDesc* T15_; #line 502 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 502 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" spec = parseStandardFormatSpecifier__VVCKI4fK6GYPxQ9cDpjISyA(specifier, ((NI) 0), NIM_FALSE); #line 503 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" value_2 = copyString(value_0); #line 504 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" switch (((NU8)(spec.typ))) { case 115: case 0: { } break; default: { tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw* T3_; NimStringDesc* T4_; T3_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*)0; T3_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*) newObj((&NTI__Ie1m0dv1ZHg72IgPRr1cDw_), sizeof(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw)); (*T3_).Sup.Sup.Sup.m_type = (&NTI__yoNlBGx0D2tRizIdhQuENw_); (*T3_).Sup.Sup.name = "ValueError"; #line 508 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T4_ = (NimStringDesc*)0; T4_ = rawNewString(65);appendString(T4_, ((NimStringDesc*) &TM__qDXzsifTQdn8ucTam9cFp4w_22));appendChar(T4_, spec.typ); asgnRef((void**) (&(*T3_).Sup.Sup.message), T4_); asgnRef((void**) (&(*T3_).Sup.Sup.parent), NIM_NIL); #line 507 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" raiseExceptionEx((Exception*)T3_, "ValueError", "formatValue", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/pure/strformat.nim", 507); } break; } #line 510 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { #line 510 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 510 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!!((spec.precision == ((NI) -1)))) goto LA7_; #line 511 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NI T11_; NI T14_; #line 511 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 511 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 511 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T11_ = (NI)0; T11_ = nucruneLen(value_2); if (!(spec.precision < T11_)) goto LA12_; #line 512 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 512 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((spec.precision) < ((NI) 0) || (spec.precision) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(spec.precision, ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 512 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T14_ = (NI)0; T14_ = runeOffset__EnrqtYM0boqQqeAIRc9bdmA(value_2, ((NI) (spec.precision)), ((NI) 0)); if ((T14_) < ((NI) 0) || (T14_) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(T14_, ((NI) 0), ((NI) IL64(9223372036854775807))); } value_2 = setLengthStr(value_2, ((NI) (T14_))); } LA12_: ; } LA7_: ; #line 513 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 513 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 513 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T15_ = (NimStringDesc*)0; T15_ = alignString__pfisktkC9crnJPz5c4ILtRg(value_2, spec.minimumWidth, spec.align, spec.fill); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T15_ ? T15_->Sup.len : 0) + 0));appendString((*result), T15_);} #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" static N_INLINE(NIM_BOOL, nimDivInt64)(NI64 a, NI64 b, NI64* res) { NIM_BOOL result; result = (NIM_BOOL)0; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" { NIM_BOOL T3_; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" T3_ = (NIM_BOOL)0; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" T3_ = (a == (IL64(-9223372036854775807) - IL64(1))); if (!(T3_)) goto LA4_; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" T3_ = (b == IL64(-1)); LA4_: ; if (!T3_) goto LA5_; #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" result = NIM_TRUE; } goto LA1_; LA5_: ; { #line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" #line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim" (*res) = (NI64)(a / b); } LA1_: ; return result;} #line 269 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" static N_INLINE(NimStringDesc*, mkDigit__MPiQ66k9cc3im5NcFk1Mg9cwstrformat)(NI v, NIM_CHAR typ) { NimStringDesc* result; result = (NimStringDesc*)0; #line 270 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { #line 270 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 270 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!!((v < ((NI) 26)))) goto LA3_; #line 270 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 270 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__qDXzsifTQdn8ucTam9cFp4w_34)); } LA3_: ; #line 271 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NI TM__qDXzsifTQdn8ucTam9cFp4w_35; #line 271 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!(v < ((NI) 10))) goto LA7_; #line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimAddInt(((NI) 48), v, &TM__qDXzsifTQdn8ucTam9cFp4w_35)) { raiseOverflow(); }; if (((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_35)) < ((NI) 0) || ((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_35)) > ((NI) 255)){ raiseRangeErrorI((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_35), ((NI) 0), ((NI) 255)); } result = nimCharToStr(((NIM_CHAR) (((NI) ((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_35)))))); } goto LA5_; LA7_: ; { NIM_CHAR T10_; NI TM__qDXzsifTQdn8ucTam9cFp4w_36; NI TM__qDXzsifTQdn8ucTam9cFp4w_37; #line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T10_ = (NIM_CHAR)0; #line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { #line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!((NU8)(typ) == (NU8)(120))) goto LA13_; T10_ = 97; } goto LA11_; LA13_: ; { T10_ = 65; } LA11_: ; if (nimAddInt(((NU8)(T10_)), v, &TM__qDXzsifTQdn8ucTam9cFp4w_36)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_36), ((NI) 10), &TM__qDXzsifTQdn8ucTam9cFp4w_37)) { raiseOverflow(); }; if (((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_37)) < ((NI) 0) || ((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_37)) > ((NI) 255)){ raiseRangeErrorI((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_37), ((NI) 0), ((NI) 255)); } result = nimCharToStr(((NIM_CHAR) (((NI) ((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_37)))))); } LA5_: ; return result;} #line 308 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, formatInt__mfFKm9aYkQ8qj8x65rdunAg)(NI n_0, NI radix, tyObject_StandardFormatSpecifier__NDU7AW5Eu6Q69c8cH6RDouQ* spec) { NimStringDesc* result; NI64 v; NIM_BOOL negative; NimStringDesc* xx; result = (NimStringDesc*)0; #line 318 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" v = ((NI64) (n_0)); #line 319 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 319 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" negative = (v < IL64(0)); #line 320 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NI64 TM__qDXzsifTQdn8ucTam9cFp4w_27; if (!negative) goto LA3_; #line 322 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 322 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimMulInt64(v, IL64(-1), &TM__qDXzsifTQdn8ucTam9cFp4w_27)) { raiseOverflow(); }; v = (NI64)(TM__qDXzsifTQdn8ucTam9cFp4w_27); } LA3_: ; #line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" xx = ((NimStringDesc*) NIM_NIL); #line 325 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { if (!(*spec).alternateForm) goto LA7_; #line 326 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" switch (((NU8)((*spec).typ))) { case 88: { #line 327 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" xx = copyString(((NimStringDesc*) &TM__qDXzsifTQdn8ucTam9cFp4w_28)); } break; case 120: { #line 328 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" xx = copyString(((NimStringDesc*) &TM__qDXzsifTQdn8ucTam9cFp4w_28)); } break; case 98: { #line 329 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" xx = copyString(((NimStringDesc*) &TM__qDXzsifTQdn8ucTam9cFp4w_29)); } break; case 111: { #line 330 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" xx = copyString(((NimStringDesc*) &TM__qDXzsifTQdn8ucTam9cFp4w_30)); } break; default: { } break; } } LA7_: ; #line 333 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { #line 333 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!(v == IL64(0))) goto LA16_; #line 334 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result = copyString(((NimStringDesc*) &TM__qDXzsifTQdn8ucTam9cFp4w_31)); } goto LA14_; LA16_: ; { #line 336 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result = ((NimStringDesc*) NIM_NIL); { #line 337 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" while (1) { NI64 d; NI64 TM__qDXzsifTQdn8ucTam9cFp4w_32; NI64 TM__qDXzsifTQdn8ucTam9cFp4w_33; NimStringDesc* T21_; #line 337 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!(IL64(0) < v)) goto LA20; #line 338 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 338 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (((NI64) (radix)) == 0){ raiseDivByZero(); } if (nimModInt64(v, ((NI64) (radix)), &TM__qDXzsifTQdn8ucTam9cFp4w_32)) { raiseOverflow(); }; d = (NI64)(TM__qDXzsifTQdn8ucTam9cFp4w_32); #line 339 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 339 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (((NI64) (radix)) == 0){ raiseDivByZero(); } if (nimDivInt64(v, ((NI64) (radix)), &TM__qDXzsifTQdn8ucTam9cFp4w_33)) { raiseOverflow(); }; v = (NI64)(TM__qDXzsifTQdn8ucTam9cFp4w_33); #line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T21_ = (NimStringDesc*)0; T21_ = mkDigit__MPiQ66k9cc3im5NcFk1Mg9cwstrformat(((NI) (d)), (*spec).typ); result = resizeString(result, (T21_ ? T21_->Sup.len : 0) + 0);appendString(result, T21_); } LA20: ; } { NI idx; NI colontmp_; NI TM__qDXzsifTQdn8ucTam9cFp4w_38; NI i; idx = (NI)0; colontmp_ = (NI)0; #line 341 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 341 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 341 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (((NI) 2) == 0){ raiseDivByZero(); } if (nimDivInt((result ? result->Sup.len : 0), ((NI) 2), &TM__qDXzsifTQdn8ucTam9cFp4w_38)) { raiseOverflow(); }; colontmp_ = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_38); #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" i = ((NI) 0); { #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" while (1) { NIM_CHAR T25_; NI TM__qDXzsifTQdn8ucTam9cFp4w_39; NI TM__qDXzsifTQdn8ucTam9cFp4w_40; NI TM__qDXzsifTQdn8ucTam9cFp4w_41; #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (!(i < colontmp_)) goto LA24; #line 341 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" idx = i; #line 342 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T25_ = (NIM_CHAR)0; if ((NU)(idx) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(idx,(result ? result->Sup.len : 0)-1); } #line 342 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 342 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 342 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimSubInt((result ? result->Sup.len : 0), idx, &TM__qDXzsifTQdn8ucTam9cFp4w_39)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_39), ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_40)) { raiseOverflow(); }; if ((NU)((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_40)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_40),(result ? result->Sup.len : 0)-1); } T25_ = result->data[idx]; result->data[idx] = result->data[(NI)(TM__qDXzsifTQdn8ucTam9cFp4w_40)]; result->data[(NI)(TM__qDXzsifTQdn8ucTam9cFp4w_40)] = T25_; #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (nimAddInt(i, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_41)) { raiseOverflow(); }; i = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_41); } LA24: ; } } } LA14_: ; #line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NIM_BOOL sign; NIM_BOOL T30_; NI toFill; NI TM__qDXzsifTQdn8ucTam9cFp4w_42; NI TM__qDXzsifTQdn8ucTam9cFp4w_43; NI TM__qDXzsifTQdn8ucTam9cFp4w_44; if (!(*spec).padWithZero) goto LA28_; #line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T30_ = (NIM_BOOL)0; T30_ = negative; if (T30_) goto LA31_; #line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T30_ = !(((NU8)((*spec).sign) == (NU8)(45))); LA31_: ; sign = T30_; #line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimSubInt((*spec).minimumWidth, (result ? result->Sup.len : 0), &TM__qDXzsifTQdn8ucTam9cFp4w_42)) { raiseOverflow(); }; #line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimSubInt((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_42), (xx ? xx->Sup.len : 0), &TM__qDXzsifTQdn8ucTam9cFp4w_43)) { raiseOverflow(); }; #line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimSubInt((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_43), sign, &TM__qDXzsifTQdn8ucTam9cFp4w_44)) { raiseOverflow(); }; toFill = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_44); #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NimStringDesc* T36_; NimStringDesc* T37_; #line 346 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!(((NI) 0) < toFill)) goto LA34_; #line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T36_ = (NimStringDesc*)0; #line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((toFill) < ((NI) 0) || (toFill) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(toFill, ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T37_ = (NimStringDesc*)0; T37_ = nsuRepeatChar(48, ((NI) (toFill))); T36_ = rawNewString((T37_ ? T37_->Sup.len : 0) + (result ? result->Sup.len : 0) + 0);appendString(T36_, T37_);appendString(T36_, result); result = T36_; } LA34_: ; } LA28_: ; #line 349 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NimStringDesc* T42_; if (!negative) goto LA40_; #line 350 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 350 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T42_ = (NimStringDesc*)0; T42_ = rawNewString((xx ? xx->Sup.len : 0) + (result ? result->Sup.len : 0) + 1);appendString(T42_, ((NimStringDesc*) &TM__qDXzsifTQdn8ucTam9cFp4w_45));appendString(T42_, xx);appendString(T42_, result); result = T42_; } goto LA38_; LA40_: ; { NimStringDesc* T46_; #line 351 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 351 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!!(((NU8)((*spec).sign) == (NU8)(45)))) goto LA44_; #line 352 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 352 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T46_ = (NimStringDesc*)0; T46_ = rawNewString((xx ? xx->Sup.len : 0) + (result ? result->Sup.len : 0) + 1);appendChar(T46_, (*spec).sign);appendString(T46_, xx);appendString(T46_, result); result = T46_; } goto LA38_; LA44_: ; { NimStringDesc* T48_; #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T48_ = (NimStringDesc*)0; T48_ = rawNewString((xx ? xx->Sup.len : 0) + (result ? result->Sup.len : 0) + 0);appendString(T48_, xx);appendString(T48_, result); result = T48_; } LA38_: ; #line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { #line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!((NU8)((*spec).align) == (NU8)(60))) goto LA51_; { NI i_2; NI colontmp__2; NI i_3; i_2 = (NI)0; colontmp__2 = (NI)0; #line 357 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 357 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" colontmp__2 = (result ? result->Sup.len : 0); #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" i_3 = colontmp__2; { #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" while (1) { NI TM__qDXzsifTQdn8ucTam9cFp4w_46; #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (!(i_3 < (*spec).minimumWidth)) goto LA55; #line 357 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" i_2 = i_3; #line 358 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" result = addChar(result, (*spec).fill); #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (nimAddInt(i_3, ((NI) 1), &TM__qDXzsifTQdn8ucTam9cFp4w_46)) { raiseOverflow(); }; i_3 = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_46); } LA55: ; } } } goto LA49_; LA51_: ; { NI toFill_2; NI TM__qDXzsifTQdn8ucTam9cFp4w_47; #line 360 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 360 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 360 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimSubInt((*spec).minimumWidth, (result ? result->Sup.len : 0), &TM__qDXzsifTQdn8ucTam9cFp4w_47)) { raiseOverflow(); }; toFill_2 = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_47); #line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NI half; NI TM__qDXzsifTQdn8ucTam9cFp4w_48; NimStringDesc* T61_; NimStringDesc* T62_; NI TM__qDXzsifTQdn8ucTam9cFp4w_49; NimStringDesc* T63_; #line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!((NU8)((*spec).align) == (NU8)(94))) goto LA59_; #line 362 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 362 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (((NI) 2) == 0){ raiseDivByZero(); } if (nimDivInt(toFill_2, ((NI) 2), &TM__qDXzsifTQdn8ucTam9cFp4w_48)) { raiseOverflow(); }; half = (NI)(TM__qDXzsifTQdn8ucTam9cFp4w_48); #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T61_ = (NimStringDesc*)0; #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((half) < ((NI) 0) || (half) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(half, ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T62_ = (NimStringDesc*)0; T62_ = nsuRepeatChar((*spec).fill, ((NI) (half))); #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (nimSubInt(toFill_2, half, &TM__qDXzsifTQdn8ucTam9cFp4w_49)) { raiseOverflow(); }; if (((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_49)) < ((NI) 0) || ((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_49)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_49), ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T63_ = (NimStringDesc*)0; T63_ = nsuRepeatChar((*spec).fill, ((NI) ((NI)(TM__qDXzsifTQdn8ucTam9cFp4w_49)))); T61_ = rawNewString((T62_ ? T62_->Sup.len : 0) + (result ? result->Sup.len : 0) + (T63_ ? T63_->Sup.len : 0) + 0);appendString(T61_, T62_);appendString(T61_, result);appendString(T61_, T63_); result = T61_; } goto LA57_; LA59_: ; { #line 365 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NimStringDesc* T69_; NimStringDesc* T70_; #line 365 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!(((NI) 0) < toFill_2)) goto LA67_; #line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T69_ = (NimStringDesc*)0; #line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if ((toFill_2) < ((NI) 0) || (toFill_2) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(toFill_2, ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T70_ = (NimStringDesc*)0; T70_ = nsuRepeatChar((*spec).fill, ((NI) (toFill_2))); T69_ = rawNewString((T70_ ? T70_->Sup.len : 0) + (result ? result->Sup.len : 0) + 0);appendString(T69_, T70_);appendString(T69_, result); result = T69_; } LA67_: ; } LA57_: ; } LA49_: ; return result;} #line 420 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" N_LIB_PRIVATE N_NIMCALL(void, formatValue__ACNJL1q6Oxfvi53i9bkeK6Q)(NimStringDesc** result, NI value_0, NimStringDesc* specifier) { tyObject_StandardFormatSpecifier__NDU7AW5Eu6Q69c8cH6RDouQ spec; NI radix; NimStringDesc* T13_;{ #line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" { NimStringDesc* T5_; #line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" if (!((specifier ? specifier->Sup.len : 0) == ((NI) 0))) goto LA3_; #line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T5_ = (NimStringDesc*)0; T5_ = nimIntToStr(value_0); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T5_ ? T5_->Sup.len : 0) + 0));appendString((*result), T5_); #line 427 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" goto BeforeRet_; } LA3_: ; #line 428 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 428 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" spec = parseStandardFormatSpecifier__VVCKI4fK6GYPxQ9cDpjISyA(specifier, ((NI) 0), NIM_FALSE); #line 429 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" radix = ((NI) 10); #line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" switch (((NU8)(spec.typ))) { case 120: case 88: { #line 431 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" radix = ((NI) 16); } break; case 100: case 0: { } break; case 98: { #line 433 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" radix = ((NI) 2); } break; case 111: { #line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" radix = ((NI) 8); } break; default: { tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw* T11_; NimStringDesc* T12_; T11_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*)0; T11_ = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*) newObj((&NTI__Ie1m0dv1ZHg72IgPRr1cDw_), sizeof(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw)); (*T11_).Sup.Sup.Sup.m_type = (&NTI__yoNlBGx0D2tRizIdhQuENw_); (*T11_).Sup.Sup.name = "ValueError"; #line 438 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T12_ = (NimStringDesc*)0; T12_ = rawNewString(93);appendString(T12_, ((NimStringDesc*) &TM__qDXzsifTQdn8ucTam9cFp4w_26));appendChar(T12_, spec.typ); asgnRef((void**) (&(*T11_).Sup.Sup.message), T12_); asgnRef((void**) (&(*T11_).Sup.Sup.parent), NIM_NIL); #line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" raiseExceptionEx((Exception*)T11_, "ValueError", "formatValue", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/" "vendor/Nim/lib/pure/strformat.nim", 436); } break; } #line 439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 439 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T13_ = (NimStringDesc*)0; T13_ = formatInt__mfFKm9aYkQ8qj8x65rdunAg(value_0, radix, (&spec)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T13_ ? T13_->Sup.len : 0) + 0));appendString((*result), T13_); }BeforeRet_: ; } #line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" N_LIB_PRIVATE N_NIMCALL(void, formatValue__4Cb9cVfSGcgGpilK3qihKMg)(NimStringDesc** result, tyObject_Oid__v0fX7UzOqz7toHgI0d87SA value_0, NimStringDesc* specifier) { NimStringDesc* T1_; #line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" T1_ = (NimStringDesc*)0; T1_ = dollar___39cF9bFahdYMwI55nfkiIPqA(value_0); #line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" formatValue__3zjq9csYPBcIN7AqvyU5ZLA(result, T1_, specifier); } #line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" N_LIB_PRIVATE N_NIMCALL(void, formatValue__tOsaR3r2YOUJrqv5YfECPQ)(NimStringDesc** result, tyEnum_TokKind__tFVERTiomAoorA9ajTuxnaQ value_0, NimStringDesc* specifier) { #line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" formatValue__3zjq9csYPBcIN7AqvyU5ZLA(result, reprEnum((NI)value_0, (&NTI__tFVERTiomAoorA9ajTuxnaQ_)), specifier); } #line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" N_LIB_PRIVATE N_NIMCALL(void, formatValue__cN86y24u9bmA9cTsc1EdltJg)(NimStringDesc** result, tyEnum_ExpectedTokenCategory__BMaCL9adD39bTV7N7vDAL9cwA value_0, NimStringDesc* specifier) { #line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" #line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strformat.nim" formatValue__3zjq9csYPBcIN7AqvyU5ZLA(result, reprEnum((NI)value_0, (&NTI__BMaCL9adD39bTV7N7vDAL9cwA_)), specifier); }