/* 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 -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/v1/node -o nimcache/release/start_network/@m..@s..@s..@svendor@snim-confutils@sconfutils@scli_parser.nim.c.o nimcache/release/start_network/@m..@s..@s..@svendor@snim-confutils@sconfutils@scli_parser.nim.c */ #define NIM_INTBITS 64 #include "nimbase.h" #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 TNimType TNimType; typedef struct TNimNode TNimNode; typedef struct tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw; typedef struct RootObj RootObj; typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; 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;}; typedef NU8 tySet_tyChar__nmiMWKVIe46vacnhAFrQvw[32]; typedef NU8 tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA; struct TGenericSeq {NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE]; }; struct tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw { RootObj Sup;NI pos; NIM_BOOL inShortState; NIM_BOOL allowWhitespaceAfterColon; tySet_tyChar__nmiMWKVIe46vacnhAFrQvw shortNoVal; tySequence__sM4lkSb7zS6F7OVMvW9cffQ* longNoVal; tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cmds; NI idx; tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA kind; NimStringDesc* key; NimStringDesc* val; }; typedef NU8 tyArray__S8ib5N31oJbAkqOZTlNg5Q[8192]; struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ { TGenericSeq Sup; NimStringDesc* data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p); N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src); static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size); N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest_0, void* src, TNimType* mt); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newLen); N_LIB_PRIVATE N_NIMCALL(void, handleShortOption__yHChUiO0pERw50n8LDk1yg)(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw* p_0, NimStringDesc* cmd); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c); static N_INLINE(NI, cardSet)(tyArray__S8ib5N31oJbAkqOZTlNg5Q s, NI len_0); static N_INLINE(NI, countBits64)(NU64 n_0); N_LIB_PRIVATE N_NIMCALL(NI, countBits32)(NU32 n_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr__iGg0RIKceRvsmvq8FUHOEw)(NimStringDesc* s, NI first); N_LIB_PRIVATE N_NIMCALL(NI, parseWord__9cG2nwo8jgMzLi5P49aVqzoQ)(NimStringDesc* s, NI i, NimStringDesc** w, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw delim); static N_INLINE(NIM_BOOL, contains__MghwuKjQqmVLYE8A59cNGHgsystem)(NimStringDesc** a, NI aLen_0, NimStringDesc* item); static N_INLINE(NI, find__CWgb1wQSxTCKtdHVU5pCYQsystem)(NimStringDesc** a, NI aLen_0, NimStringDesc* item); static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b); static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size); static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src); extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_; N_LIB_PRIVATE TNimType NTI__sYItNXxlbIcNQiWc9bKCjDw_; extern TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_; extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_; extern TNimType NTI__HDqWPvEAxZK51ZcfaeQEdg_; extern TNimType NTI__sM4lkSb7zS6F7OVMvW9cffQ_; N_LIB_PRIVATE TNimType NTI__Mnl0OYRuY5Sjmnjr6sTzBA_; extern TNimType NTI__77mFvmsOLKik79ci2hXkHEg_; static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__xsuJ7Mj0S1SNb5HqkzoS5g_20 = { 0x00, 0x02, 0x00, 0x00, 0x01, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} ; extern TNimType* nimTypeRoot; #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 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" N_LIB_PRIVATE N_NIMCALL(void, initOptParser__I9airQRe9azp3bExyjWqjJXw)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cmds, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw shortNoVal, tySequence__sM4lkSb7zS6F7OVMvW9cffQ* longNoVal, NIM_BOOL allowWhitespaceAfterColon, tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw* Result) { chckNil((void*)Result); (*Result).pos = 0; (*Result).inShortState = 0; (*Result).allowWhitespaceAfterColon = 0; unsureAsgnRef((void**)&(*Result).longNoVal, NIM_NIL); unsureAsgnRef((void**)&(*Result).cmds, NIM_NIL); (*Result).idx = 0; (*Result).kind = 0; unsureAsgnRef((void**)&(*Result).key, NIM_NIL); unsureAsgnRef((void**)&(*Result).val, NIM_NIL); (*Result).Sup.m_type = (&NTI__sYItNXxlbIcNQiWc9bKCjDw_); #line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*Result).pos = ((NI) 0); #line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*Result).idx = ((NI) 0); #line 45 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*Result).inShortState = NIM_FALSE; #line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" nimCopyMem((void*)(*Result).shortNoVal, (NIM_CONST void*)shortNoVal, 32); #line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" genericSeqAssign((&(*Result).longNoVal), longNoVal, (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_)); #line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*Result).allowWhitespaceAfterColon = allowWhitespaceAfterColon; #line 49 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" genericSeqAssign((&(*Result).cmds), cmds, (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_)); #line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*Result).kind = ((tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA) 0); #line 51 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" unsureAsgnRef((void**) (&(*Result).key), ((NimStringDesc*) NIM_NIL)); #line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" unsureAsgnRef((void**) (&(*Result).val), ((NimStringDesc*) NIM_NIL));} #line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" static N_INLINE(NI, countBits64)(NU64 n_0) { NI result; NU64 v; result = (NI)0; #line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" v = n_0; #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" v = (NU64)((NU64)(v) - (NU64)((NU64)((NU64)((NU64)(v) >> (NU64)(1ULL)) & 6148914691236517205ULL))); #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" v = (NU64)((NU64)((NU64)(v & 3689348814741910323ULL)) + (NU64)((NU64)((NU64)((NU64)(v) >> (NU64)(2ULL)) & 3689348814741910323ULL))); #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" v = (NU64)((NU64)((NU64)(v) + (NU64)((NU64)((NU64)(v) >> (NU64)(4ULL)))) & 1085102592571150095ULL); #line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" result = ((NI) ((NU64)((NU64)((NU64)((NU64)(v) * (NU64)(72340172838076673ULL))) >> (NU64)(56ULL)))); return result;} #line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" static N_INLINE(NI, cardSet)(tyArray__S8ib5N31oJbAkqOZTlNg5Q s, NI len_0) { NI result; NI i; result = (NI)0; #line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" i = ((NI) 0); { #line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" while (1) { NI T3_; #line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" if (!(i < (NI)(len_0 - ((NI) 8)))) goto LA2; #line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" T3_ = (NI)0; T3_ = countBits64((*((NU64*) ((&s[(i)- 0]))))); result += T3_; #line 37 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" i += ((NI) 8); } LA2: ; } { #line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" while (1) { NI T6_; #line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" if (!(i < len_0)) goto LA5; #line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" #line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" T6_ = (NI)0; T6_ = countBits32(((NU32) (s[(i)- 0]))); result += T6_; #line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sets.nim" i += ((NI) 1); } LA5: ; } return result;} #line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" N_LIB_PRIVATE N_NIMCALL(void, handleShortOption__yHChUiO0pERw50n8LDk1yg)(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw* p_0, NimStringDesc* cmd) { NI i; #line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" i = (*p_0).pos; #line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).kind = ((tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA) 3); #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_8; #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (!(i < (cmd ? cmd->Sup.len : 0))) goto LA3_; #line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)(i) >= (NU)(cmd ? cmd->Sup.len : 0)){ raiseIndexError2(i,(cmd ? cmd->Sup.len : 0)-1); } unsureAsgnRef((void**) (&(*p_0).key), addChar((*p_0).key, cmd->data[i])); #line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(i, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_8)) { raiseOverflow(); }; i = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_8); } LA3_: ; #line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).inShortState = NIM_TRUE; { #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" while (1) { NIM_BOOL T7_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_9; #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T7_ = (NIM_BOOL)0; #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T7_ = (i < (cmd ? cmd->Sup.len : 0)); if (!(T7_)) goto LA8_; #line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)(i) >= (NU)(cmd ? cmd->Sup.len : 0)){ raiseIndexError2(i,(cmd ? cmd->Sup.len : 0)-1); } T7_ = (((NU8)(cmd->data[i])) == ((NU8)(9)) || ((NU8)(cmd->data[i])) == ((NU8)(32))); LA8_: ; if (!T7_) goto LA6; #line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(i, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_9)) { raiseOverflow(); }; i = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_9); #line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).inShortState = NIM_FALSE; } LA6: ; } #line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NIM_BOOL T11_; NIM_BOOL T12_; NIM_BOOL T15_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_12; #line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T11_ = (NIM_BOOL)0; #line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T12_ = (NIM_BOOL)0; #line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T12_ = (i < (cmd ? cmd->Sup.len : 0)); if (!(T12_)) goto LA13_; #line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)(i) >= (NU)(cmd ? cmd->Sup.len : 0)){ raiseIndexError2(i,(cmd ? cmd->Sup.len : 0)-1); } T12_ = (((NU8)(cmd->data[i])) == ((NU8)(58)) || ((NU8)(cmd->data[i])) == ((NU8)(61))); LA13_: ; T11_ = T12_; if (T11_) goto LA14_; #line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T15_ = (NIM_BOOL)0; #line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T15_ = (((NI) 0) < cardSet((*p_0).shortNoVal, 32)); if (!(T15_)) goto LA16_; #line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)(((NI) 0)) >= (NU)((*p_0).key ? (*p_0).key->Sup.len : 0)){ raiseIndexError2(((NI) 0),((*p_0).key ? (*p_0).key->Sup.len : 0)-1); } T15_ = !((((*p_0).shortNoVal[(NU)(((NU8)((*p_0).key->data[((NI) 0)])))>>3] &(1U<<((NU)(((NU8)((*p_0).key->data[((NI) 0)])))&7U)))!=0)); LA16_: ; T11_ = T15_; LA14_: ; if (!T11_) goto LA17_; #line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NIM_BOOL T21_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_10; #line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T21_ = (NIM_BOOL)0; #line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T21_ = (i < (cmd ? cmd->Sup.len : 0)); if (!(T21_)) goto LA22_; #line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)(i) >= (NU)(cmd ? cmd->Sup.len : 0)){ raiseIndexError2(i,(cmd ? cmd->Sup.len : 0)-1); } T21_ = (((NU8)(cmd->data[i])) == ((NU8)(58)) || ((NU8)(cmd->data[i])) == ((NU8)(61))); LA22_: ; if (!T21_) goto LA23_; #line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(i, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_10)) { raiseOverflow(); }; i = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_10); } LA23_: ; #line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).inShortState = NIM_FALSE; { #line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" while (1) { NIM_BOOL T27_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_11; #line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T27_ = (NIM_BOOL)0; #line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T27_ = (i < (cmd ? cmd->Sup.len : 0)); if (!(T27_)) goto LA28_; #line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)(i) >= (NU)(cmd ? cmd->Sup.len : 0)){ raiseIndexError2(i,(cmd ? cmd->Sup.len : 0)-1); } T27_ = (((NU8)(cmd->data[i])) == ((NU8)(9)) || ((NU8)(cmd->data[i])) == ((NU8)(32))); LA28_: ; if (!T27_) goto LA26; #line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(i, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_11)) { raiseOverflow(); }; i = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_11); } LA26: ; } #line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" unsureAsgnRef((void**) (&(*p_0).val), substr__iGg0RIKceRvsmvq8FUHOEw(cmd, i)); #line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).pos = ((NI) 0); #line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt((*p_0).idx, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_12)) { raiseOverflow(); }; (*p_0).idx = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_12); } goto LA9_; LA17_: ; { #line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).pos = i; } LA9_: ; #line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_13; #line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 75 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (!((cmd ? cmd->Sup.len : 0) <= i)) goto LA32_; #line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).inShortState = NIM_FALSE; #line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).pos = ((NI) 0); #line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt((*p_0).idx, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_13)) { raiseOverflow(); }; (*p_0).idx = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_13); } LA32_: ; } #line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" N_LIB_PRIVATE N_NIMCALL(NI, parseWord__9cG2nwo8jgMzLi5P49aVqzoQ)(NimStringDesc* s, NI i, NimStringDesc** w, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw delim) { NI result; result = (NI)0; #line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" result = i; #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NIM_BOOL T3_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_16; #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T3_ = (NIM_BOOL)0; #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T3_ = (result < (s ? s->Sup.len : 0)); if (!(T3_)) goto LA4_; #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)(result) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(result,(s ? s->Sup.len : 0)-1); } T3_ = ((NU8)(s->data[result]) == (NU8)(34)); LA4_: ; if (!T3_) goto LA5_; #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(result, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_16)) { raiseOverflow(); }; result = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_16); { #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" while (1) { NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_18; #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (!(result < (s ? s->Sup.len : 0))) goto LA8; #line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_17; #line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)(result) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(result,(s ? s->Sup.len : 0)-1); } if (!((NU8)(s->data[result]) == (NU8)(34))) goto LA11_; #line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(result, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_17)) { raiseOverflow(); }; result = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_17); #line 32 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" goto LA7; } LA11_: ; #line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)(result) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(result,(s ? s->Sup.len : 0)-1); } unsureAsgnRef((void**) (&(*w)), addChar((*w), s->data[result])); #line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(result, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_18)) { raiseOverflow(); }; result = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_18); } LA8: ; } LA7: ; } goto LA1_; LA5_: ; { { #line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" while (1) { NIM_BOOL T16_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_19; #line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T16_ = (NIM_BOOL)0; #line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T16_ = (result < (s ? s->Sup.len : 0)); if (!(T16_)) goto LA17_; #line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)(result) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(result,(s ? s->Sup.len : 0)-1); } T16_ = !(((delim[(NU)(((NU8)(s->data[result])))>>3] &(1U<<((NU)(((NU8)(s->data[result])))&7U)))!=0)); LA17_: ; if (!T16_) goto LA15; #line 37 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)(result) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(result,(s ? s->Sup.len : 0)-1); } unsureAsgnRef((void**) (&(*w)), addChar((*w), s->data[result])); #line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(result, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_19)) { raiseOverflow(); }; result = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_19); } LA15: ; } } LA1_: ; return result;} #line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) { int result; result = (int)0; #line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" #line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim" result = memcmp(a, b, ((size_t) (size))); return result;} #line 2120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size) { NIM_BOOL result; int T1_; result = (NIM_BOOL)0; #line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" T1_ = (int)0; T1_ = nimCmpMem(a, b, size); result = (T1_ == ((NI32) 0)); return result;} #line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) { NIM_BOOL result; NI alen; NI blen;{ result = (NIM_BOOL)0; #line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" #line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" alen = (a ? a->Sup.len : 0); #line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" #line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" blen = (b ? b->Sup.len : 0); #line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" { #line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" if (!(alen == blen)) goto LA3_; #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" { #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" if (!(alen == ((NI) 0))) goto LA7_; #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" #line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" result = NIM_TRUE; goto BeforeRet_; } LA7_: ; #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" #line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim" result = equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen))); goto BeforeRet_; } LA3_: ; }BeforeRet_: ; return result;} #line 1748 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(NI, find__CWgb1wQSxTCKtdHVU5pCYQsystem)(NimStringDesc** a, NI aLen_0, NimStringDesc* item) { NI result;{ result = (NI)0; { NimStringDesc* i; NI i_2; i = (NimStringDesc*)0; #line 3 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" i_2 = ((NI) 0); { #line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" while (1) { NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_27; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_28; #line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" #line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (!(i_2 < aLen_0)) goto LA3; #line 1751 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" if ((NU)(i_2) >= (NU)(aLen_0)){ raiseIndexError2(i_2,aLen_0-1); } i = a[i_2]; #line 1752 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" { #line 1752 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" if (!eqStrings(i, item)) goto LA6_; #line 1752 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" goto BeforeRet_; } LA6_: ; #line 1753 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" if (nimAddInt(result, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_27)) { raiseOverflow(); }; result = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_27); #line 6 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim" if (nimAddInt(i_2, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_28)) { raiseOverflow(); }; i_2 = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_28); } LA3: ; } } #line 1754 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" result = ((NI) -1); }BeforeRet_: ; return result;} #line 1756 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(NIM_BOOL, contains__MghwuKjQqmVLYE8A59cNGHgsystem)(NimStringDesc** a, NI aLen_0, NimStringDesc* item) { NIM_BOOL result; NI T1_;{ result = (NIM_BOOL)0; #line 1768 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 1768 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 1768 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 1768 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" #line 1768 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" T1_ = (NI)0; T1_ = find__CWgb1wQSxTCKtdHVU5pCYQsystem(a, aLen_0, item); result = (((NI) 0) <= T1_); goto BeforeRet_; }BeforeRet_: ; return result;} #line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" N_LIB_PRIVATE N_NIMCALL(void, next__bhBX9cyTjmG5x9acqxvtK9cxQ)(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw* p_0) { NI i;{ #line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NI T3_; #line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T3_ = ((*p_0).cmds ? (*p_0).cmds->Sup.len : 0); if (!(T3_ <= (*p_0).idx)) goto LA4_; #line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).kind = ((tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA) 0); #line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" goto BeforeRet_; } LA4_: ; #line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" i = (*p_0).pos; { #line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" while (1) { NIM_BOOL T8_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_6; #line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T8_ = (NIM_BOOL)0; #line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } T8_ = (i < ((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)); if (!(T8_)) goto LA9_; #line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } if ((NU)(i) >= (NU)((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)){ raiseIndexError2(i,((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)-1); } T8_ = (((NU8)((*p_0).cmds->data[(*p_0).idx]->data[i])) == ((NU8)(9)) || ((NU8)((*p_0).cmds->data[(*p_0).idx]->data[i])) == ((NU8)(32))); LA9_: ; if (!T8_) goto LA7; #line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(i, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_6)) { raiseOverflow(); }; i = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_6); } LA7: ; } #line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).pos = i; #line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" unsureAsgnRef((void**) (&(*p_0).key), setLengthStr((*p_0).key, ((NI) 0))); #line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" unsureAsgnRef((void**) (&(*p_0).val), setLengthStr((*p_0).val, ((NI) 0))); #line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { if (!(*p_0).inShortState) goto LA12_; #line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).inShortState = NIM_FALSE; #line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_7; #line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } if (!(((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0) <= i)) goto LA16_; #line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt((*p_0).idx, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_7)) { raiseOverflow(); }; (*p_0).idx = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_7); #line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).pos = ((NI) 0); #line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NI T20_; #line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T20_ = ((*p_0).cmds ? (*p_0).cmds->Sup.len : 0); if (!(T20_ <= (*p_0).idx)) goto LA21_; #line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).kind = ((tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA) 0); #line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" goto BeforeRet_; } LA21_: ; } goto LA14_; LA16_: ; { #line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } #line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" handleShortOption__yHChUiO0pERw50n8LDk1yg(p_0, (*p_0).cmds->data[(*p_0).idx]); #line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" goto BeforeRet_; } LA14_: ; } LA12_: ; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NIM_BOOL T26_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_14; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T26_ = (NIM_BOOL)0; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } T26_ = (i < ((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)); if (!(T26_)) goto LA27_; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } if ((NU)(i) >= (NU)((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)){ raiseIndexError2(i,((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)-1); } T26_ = ((NU8)((*p_0).cmds->data[(*p_0).idx]->data[i]) == (NU8)(45)); LA27_: ; if (!T26_) goto LA28_; #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(i, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_14)) { raiseOverflow(); }; i = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_14); #line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NIM_BOOL T32_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_15; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_32; #line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T32_ = (NIM_BOOL)0; #line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } T32_ = (i < ((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)); if (!(T32_)) goto LA33_; #line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } if ((NU)(i) >= (NU)((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)){ raiseIndexError2(i,((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)-1); } T32_ = ((NU8)((*p_0).cmds->data[(*p_0).idx]->data[i]) == (NU8)(45)); LA33_: ; if (!T32_) goto LA34_; #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).kind = ((tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA) 2); #line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(i, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_15)) { raiseOverflow(); }; i = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_15); #line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } #line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" i = parseWord__9cG2nwo8jgMzLi5P49aVqzoQ((*p_0).cmds->data[(*p_0).idx], i, (&(*p_0).key), TM__xsuJ7Mj0S1SNb5HqkzoS5g_20); { #line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" while (1) { NIM_BOOL T38_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_21; #line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T38_ = (NIM_BOOL)0; #line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } T38_ = (i < ((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)); if (!(T38_)) goto LA39_; #line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } if ((NU)(i) >= (NU)((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)){ raiseIndexError2(i,((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)-1); } T38_ = (((NU8)((*p_0).cmds->data[(*p_0).idx]->data[i])) == ((NU8)(9)) || ((NU8)((*p_0).cmds->data[(*p_0).idx]->data[i])) == ((NU8)(32))); LA39_: ; if (!T38_) goto LA37; #line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(i, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_21)) { raiseOverflow(); }; i = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_21); } LA37: ; } #line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NIM_BOOL T42_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_22; #line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T42_ = (NIM_BOOL)0; #line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } T42_ = (i < ((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)); if (!(T42_)) goto LA43_; #line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } if ((NU)(i) >= (NU)((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)){ raiseIndexError2(i,((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)-1); } T42_ = (((NU8)((*p_0).cmds->data[(*p_0).idx]->data[i])) == ((NU8)(58)) || ((NU8)((*p_0).cmds->data[(*p_0).idx]->data[i])) == ((NU8)(61))); LA43_: ; if (!T42_) goto LA44_; #line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(i, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_22)) { raiseOverflow(); }; i = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_22); { #line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" while (1) { NIM_BOOL T48_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_23; #line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T48_ = (NIM_BOOL)0; #line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } T48_ = (i < ((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)); if (!(T48_)) goto LA49_; #line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } if ((NU)(i) >= (NU)((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)){ raiseIndexError2(i,((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0)-1); } T48_ = (((NU8)((*p_0).cmds->data[(*p_0).idx]->data[i])) == ((NU8)(9)) || ((NU8)((*p_0).cmds->data[(*p_0).idx]->data[i])) == ((NU8)(32))); LA49_: ; if (!T48_) goto LA47; #line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt(i, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_23)) { raiseOverflow(); }; i = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_23); } LA47: ; } #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NIM_BOOL T52_; NIM_BOOL T53_; NIM_BOOL T54_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_24; NI T57_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_25; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_26; #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T52_ = (NIM_BOOL)0; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T53_ = (NIM_BOOL)0; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T54_ = (NIM_BOOL)0; T54_ = (*p_0).allowWhitespaceAfterColon; if (!(T54_)) goto LA55_; #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } T54_ = (((*p_0).cmds->data[(*p_0).idx] ? (*p_0).cmds->data[(*p_0).idx]->Sup.len : 0) <= i); LA55_: ; T53_ = T54_; if (!(T53_)) goto LA56_; #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt((*p_0).idx, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_24)) { raiseOverflow(); }; #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T57_ = ((*p_0).cmds ? (*p_0).cmds->Sup.len : 0); T53_ = ((NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_24) < T57_); LA56_: ; T52_ = T53_; if (!(T52_)) goto LA58_; #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt((*p_0).idx, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_25)) { raiseOverflow(); }; if ((NU)((NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_25)) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_25),((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } if ((NU)(((NI) 0)) >= (NU)((*p_0).cmds->data[(NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_25)] ? (*p_0).cmds->data[(NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_25)]->Sup.len : 0)){ raiseIndexError2(((NI) 0),((*p_0).cmds->data[(NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_25)] ? (*p_0).cmds->data[(NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_25)]->Sup.len : 0)-1); } T52_ = !(((NU8)((*p_0).cmds->data[(NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_25)]->data[((NI) 0)]) == (NU8)(45))); LA58_: ; if (!T52_) goto LA59_; #line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt((*p_0).idx, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_26)) { raiseOverflow(); }; (*p_0).idx = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_26); #line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" i = ((NI) 0); } LA59_: ; #line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" { NI T63_; #line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T63_ = ((*p_0).cmds ? (*p_0).cmds->Sup.len : 0); if (!((*p_0).idx < T63_)) goto LA64_; #line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } #line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" unsureAsgnRef((void**) (&(*p_0).val), substr__iGg0RIKceRvsmvq8FUHOEw((*p_0).cmds->data[(*p_0).idx], i)); } LA64_: ; } goto LA40_; LA44_: ; { NIM_BOOL T67_; NIM_BOOL T68_; NI T69_; NIM_BOOL T71_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_29; NI T73_; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_30; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_31; #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T67_ = (NIM_BOOL)0; #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T68_ = (NIM_BOOL)0; #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T69_ = ((*p_0).longNoVal ? (*p_0).longNoVal->Sup.len : 0); T68_ = (((NI) 0) < T69_); if (!(T68_)) goto LA70_; #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T71_ = (NIM_BOOL)0; T71_ = contains__MghwuKjQqmVLYE8A59cNGHgsystem((*p_0).longNoVal->data, ((*p_0).longNoVal ? (*p_0).longNoVal->Sup.len : 0), (*p_0).key); T68_ = !(T71_); LA70_: ; T67_ = T68_; if (!(T67_)) goto LA72_; #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt((*p_0).idx, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_29)) { raiseOverflow(); }; #line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" T73_ = ((*p_0).cmds ? (*p_0).cmds->Sup.len : 0); T67_ = ((NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_29) < T73_); LA72_: ; if (!T67_) goto LA74_; #line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" #line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt((*p_0).idx, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_30)) { raiseOverflow(); }; if ((NU)((NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_30)) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_30),((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } unsureAsgnRef((void**) (&(*p_0).val), copyString((*p_0).cmds->data[(NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_30)])); #line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt((*p_0).idx, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_31)) { raiseOverflow(); }; (*p_0).idx = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_31); } goto LA40_; LA74_: ; { #line 127 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" unsureAsgnRef((void**) (&(*p_0).val), ((NimStringDesc*) NIM_NIL)); } LA40_: ; #line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt((*p_0).idx, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_32)) { raiseOverflow(); }; (*p_0).idx = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_32); #line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).pos = ((NI) 0); } goto LA30_; LA34_: ; { #line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).pos = i; #line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } #line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" handleShortOption__yHChUiO0pERw50n8LDk1yg(p_0, (*p_0).cmds->data[(*p_0).idx]); } LA30_: ; } goto LA24_; LA28_: ; { NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_33; #line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).kind = ((tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA) 1); #line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if ((NU)((*p_0).idx) >= (NU)((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)){ raiseIndexError2((*p_0).idx,((*p_0).cmds ? (*p_0).cmds->Sup.len : 0)-1); } unsureAsgnRef((void**) (&(*p_0).key), copyString((*p_0).cmds->data[(*p_0).idx])); #line 136 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" if (nimAddInt((*p_0).idx, ((NI) 1), &TM__xsuJ7Mj0S1SNb5HqkzoS5g_33)) { raiseOverflow(); }; (*p_0).idx = (NI)(TM__xsuJ7Mj0S1SNb5HqkzoS5g_33); #line 137 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim" (*p_0).pos = ((NI) 0); } LA24_: ; }BeforeRet_: ; } N_LIB_PRIVATE N_NIMCALL(void, confutils_cli_parserDatInit000)(void) { #line 999999 "generated_not_to_break_here" static TNimNode* TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[10]; static TNimNode* TM__xsuJ7Mj0S1SNb5HqkzoS5g_3_4[4]; NI TM__xsuJ7Mj0S1SNb5HqkzoS5g_5; static char* NIM_CONST TM__xsuJ7Mj0S1SNb5HqkzoS5g_4[4] = { "cmdEnd", "cmdArgument", "cmdLongOption", "cmdShortOption"}; static TNimNode TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[16];NTI__sYItNXxlbIcNQiWc9bKCjDw_.size = sizeof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw); NTI__sYItNXxlbIcNQiWc9bKCjDw_.kind = 17; NTI__sYItNXxlbIcNQiWc9bKCjDw_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_); NTI__sYItNXxlbIcNQiWc9bKCjDw_.name = "OptParser"; NTI__sYItNXxlbIcNQiWc9bKCjDw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__sYItNXxlbIcNQiWc9bKCjDw_; TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[0] = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[1]; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[1].kind = 1; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[1].offset = offsetof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw, pos); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[1].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[1].name = "pos"; TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[1] = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[2]; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[2].kind = 1; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[2].offset = offsetof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw, inShortState); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[2].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[2].name = "inShortState"; TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[2] = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[3]; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[3].kind = 1; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[3].offset = offsetof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw, allowWhitespaceAfterColon); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[3].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[3].name = "allowWhitespaceAfterColon"; TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[3] = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[4]; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[4].kind = 1; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[4].offset = offsetof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw, shortNoVal); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[4].typ = (&NTI__HDqWPvEAxZK51ZcfaeQEdg_); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[4].name = "shortNoVal"; TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[4] = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[5]; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[5].kind = 1; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[5].offset = offsetof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw, longNoVal); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[5].typ = (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[5].name = "longNoVal"; TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[5] = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[6]; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[6].kind = 1; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[6].offset = offsetof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw, cmds); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[6].typ = (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[6].name = "cmds"; TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[6] = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[7]; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[7].kind = 1; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[7].offset = offsetof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw, idx); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[7].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[7].name = "idx"; TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[7] = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[8]; NTI__Mnl0OYRuY5Sjmnjr6sTzBA_.size = sizeof(tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA); NTI__Mnl0OYRuY5Sjmnjr6sTzBA_.kind = 14; NTI__Mnl0OYRuY5Sjmnjr6sTzBA_.base = 0; NTI__Mnl0OYRuY5Sjmnjr6sTzBA_.flags = 3; NTI__Mnl0OYRuY5Sjmnjr6sTzBA_.name = "CmdLineKind"; NTI__Mnl0OYRuY5Sjmnjr6sTzBA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Mnl0OYRuY5Sjmnjr6sTzBA_; for (TM__xsuJ7Mj0S1SNb5HqkzoS5g_5 = 0; TM__xsuJ7Mj0S1SNb5HqkzoS5g_5 < 4; TM__xsuJ7Mj0S1SNb5HqkzoS5g_5++) { TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[TM__xsuJ7Mj0S1SNb5HqkzoS5g_5+9].kind = 1; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[TM__xsuJ7Mj0S1SNb5HqkzoS5g_5+9].offset = TM__xsuJ7Mj0S1SNb5HqkzoS5g_5; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[TM__xsuJ7Mj0S1SNb5HqkzoS5g_5+9].name = TM__xsuJ7Mj0S1SNb5HqkzoS5g_4[TM__xsuJ7Mj0S1SNb5HqkzoS5g_5]; TM__xsuJ7Mj0S1SNb5HqkzoS5g_3_4[TM__xsuJ7Mj0S1SNb5HqkzoS5g_5] = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[TM__xsuJ7Mj0S1SNb5HqkzoS5g_5+9]; } TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[13].len = 4; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[13].kind = 2; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[13].sons = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_3_4[0]; NTI__Mnl0OYRuY5Sjmnjr6sTzBA_.node = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[13]; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[8].kind = 1; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[8].offset = offsetof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw, kind); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[8].typ = (&NTI__Mnl0OYRuY5Sjmnjr6sTzBA_); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[8].name = "kind"; TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[8] = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[14]; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[14].kind = 1; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[14].offset = offsetof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw, key); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[14].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[14].name = "key"; TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[9] = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[15]; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[15].kind = 1; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[15].offset = offsetof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw, val); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[15].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_); TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[15].name = "val"; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[0].len = 10; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[0].kind = 2; TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[0].sons = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_2_10[0]; NTI__sYItNXxlbIcNQiWc9bKCjDw_.node = &TM__xsuJ7Mj0S1SNb5HqkzoS5g_0[0]; }