nwaku/nimcache/release/start_network/@m..@s..@s..@svendor@snim-confutils@sconfutils@sshell_completion.nim.c

1025 lines
64 KiB
C

/* Generated by Nim Compiler v1.2.6 */
/* (c) 2020 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Linux, amd64, gcc */
/* Command for C compiler:
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -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@sshell_completion.nim.c.o nimcache/release/start_network/@m..@s..@s..@svendor@snim-confutils@sconfutils@sshell_completion.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <string.h>
#include <sys/types.h>
#include <pthread.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
#define nimfr_(x, y)
#define nimln_(x, y)
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct TGenericSeq TGenericSeq;
typedef struct NimStringDesc NimStringDesc;
typedef struct tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw;
typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
typedef struct tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg;
typedef struct tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg;
typedef struct RootObj RootObj;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ;
typedef struct tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A;
typedef struct tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw;
typedef struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA;
typedef struct Exception Exception;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
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_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
struct TGenericSeq {NI len;
NI reserved;
};
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
};
struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {NI a;
NI b;
};
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;};
typedef NU8 tySet_tyChar__nmiMWKVIe46vacnhAFrQvw[32];
struct tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg { RootObj Sup;NI bufpos;
NimStringDesc* buf;
tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* input;
NI lineNumber;
NI sentinel;
NI lineStart;
NI offsetBase;
tySet_tyChar__nmiMWKVIe46vacnhAFrQvw refillChars;
};
struct tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg { tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg Sup;NIM_BOOL preserveTrailingWs;
NIM_BOOL mergeWordBreaks;
NimStringDesc* wordBreakChars;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
typedef N_NIMCALL_PTR(void, tyProc__JQrsH08b4uPTH9cyFPlVOZg) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s);
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__9bmhFrLahRsL2hltfRDVtlQ) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s);
typedef N_NIMCALL_PTR(void, tyProc__3svSoGIUJIsHkaBL7q4DAQ) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s, NI pos);
typedef N_NIMCALL_PTR(NI, tyProc__xflqkf2D1uVClg70czEDHA) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s);
typedef N_NIMCALL_PTR(NI, tyProc__c9c0f59ak4YGQ6neEym8LPKw) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s, NimStringDesc** buffer, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA slice);
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__7jFfqMk9ajToCz6Hv9atCA4A) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s, NimStringDesc** line);
typedef N_NIMCALL_PTR(NI, tyProc__2VVzVL9bOnKhj1eZKkf9cEuA) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s, void* buffer, NI bufLen);
typedef N_NIMCALL_PTR(void, tyProc__ki6p1QyfOkJLQJ9aw5NI0AQ) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s, void* buffer, NI bufLen);
struct tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ { RootObj Sup;tyProc__JQrsH08b4uPTH9cyFPlVOZg closeImpl;
tyProc__9bmhFrLahRsL2hltfRDVtlQ atEndImpl;
tyProc__3svSoGIUJIsHkaBL7q4DAQ setPositionImpl;
tyProc__xflqkf2D1uVClg70czEDHA getPositionImpl;
tyProc__c9c0f59ak4YGQ6neEym8LPKw readDataStrImpl;
tyProc__7jFfqMk9ajToCz6Hv9atCA4A readLineImpl;
tyProc__2VVzVL9bOnKhj1eZKkf9cEuA readDataImpl;
tyProc__2VVzVL9bOnKhj1eZKkf9cEuA peekDataImpl;
tyProc__ki6p1QyfOkJLQJ9aw5NI0AQ writeDataImpl;
tyProc__JQrsH08b4uPTH9cyFPlVOZg flushImpl;
};
struct tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw { tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ Sup;NimStringDesc* data;
NI pos;
};
struct tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A {NimStringDesc* val;
NIM_BOOL has;
};
struct Exception { RootObj Sup;Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA { Exception Sup;};
struct tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw { tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;};
struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {NI refcount;
TNimType* typ;
};
struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {void* bottom;
};
struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {NI len;
NI cap;
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {tyArray__0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {NI len;
tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {NI minLargeObj;
NI maxLargeObj;
tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
NI allocCounter;
NI deallocCounter;
};
struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {NI counter;
NI max;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
};
typedef long tyArray__xDUyu9aScDpt0JZLU6q9aEZQ[5];
struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw {tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* head;
tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* tail;
pthread_mutex_t lock;
};
struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
NI zctThreshold;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw toDispose;
NI gcThreadId;
};
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
NI line;
NCSTRING filename;
};
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ { TGenericSeq Sup; NimStringDesc* data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getEnv__hhED57tMl0Iaa5bOg9cJaig)(NimStringDesc* key_0, NimStringDesc* default_0);
N_LIB_PRIVATE N_NIMCALL(NI, nsuParseInt)(NimStringDesc* s);
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*, newStringStream__9aLRtgEYeRMrZKrObtoOslQ)(NimStringDesc* s);
static N_INLINE(NimStringDesc*, X5BX5D___FPvLvuwqfYMFkcbGfPM8QQsystem)(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);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___BokNSDrKN1xmV1nA01G9brAsystem)(NI a, NI b);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, open__pT3FlBSoAcSDoz7svsz9btg)(tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg* l, tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* input, NimStringDesc* wordBreakChars, NIM_BOOL preserveTrailingWs);
N_LIB_PRIVATE N_NIMCALL(void, open__P89aGatd6bDNJ0Ak5E9cQgWw)(tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* L, tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* input, NI bufLen, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw refillChars);
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(void, getTok__Ty72g9bf9autV9bH4RH69c3Eww)(tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg* l, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result);
N_LIB_PRIVATE N_NIMCALL(NI, handleCR__sLQC1Z9cokufE3lZEw9b42Cw)(tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* L, NI pos);
N_LIB_PRIVATE N_NIMCALL(NI, handleLF__sLQC1Z9cokufE3lZEw9b42Cw_3)(tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* L, NI pos);
static N_INLINE(void, some__sgddJT1RdlkGeWdlq9cgU0Aoptions)(NimStringDesc* val_0, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result);
static N_INLINE(void, none__buJJ9ajp0wuYthKYXnCpQagoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result);
N_LIB_PRIVATE N_NIMCALL(NI, parseQuoted__OnfTiHipcv9aGOAIGoyf4YQ)(tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg* l, NI pos, NIM_BOOL isSingle, NimStringDesc** output);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
static N_INLINE(NIM_BOOL, contains__Pa9a8m0kZYH6LC8N1EcZJdQsystem)(NIM_CHAR* a, NI aLen_0, NIM_CHAR item);
static N_INLINE(NI, find__31wM5Ui9c8jnrQ5QD4oPxOQsystem)(NIM_CHAR* a, NI aLen_0, NIM_CHAR item);
static N_INLINE(NIM_BOOL, isNone__SBpZC5L2ngoUiy0hnfoIYQ_2options)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A self);
static N_INLINE(NimStringDesc*, get__MwtcpGbpnX9bvK9by7COEbNwoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A self);
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
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);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
STRING_LITERAL(TM__1t63UaH9cCIfDUdP3IafS1w_2, "COMP_LINE", 9);
STRING_LITERAL(TM__1t63UaH9cCIfDUdP3IafS1w_3, "COMP_POINT", 10);
STRING_LITERAL(TM__1t63UaH9cCIfDUdP3IafS1w_4, "0", 1);
extern TNimType NTI__MAw8rJZtJ279bVV3TWMtXSg_;
N_LIB_PRIVATE TNimType NTI__hdWl9bvT0OFfuI9bW8PozaRg_;
extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
extern TNimType NTI__77mFvmsOLKik79ci2hXkHEg_;
static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__1t63UaH9cCIfDUdP3IafS1w_11 = {
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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__1t63UaH9cCIfDUdP3IafS1w_12, "\"\'@><=;|&(:", 11);
extern TNimType NTI__GntyqsSCwg00S5X6lKEPuQ_;
extern TNimType NTI__VAWWBGXQQxBx5kHPK2xRMw_;
STRING_LITERAL(TM__1t63UaH9cCIfDUdP3IafS1w_28, "Can\'t obtain a value from a `none`", 34);
extern TNimType NTI__sM4lkSb7zS6F7OVMvW9cffQ_;
extern TNimType* nimTypeRoot;
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
#line 2429 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(NimStringDesc*, X5BX5D___FPvLvuwqfYMFkcbGfPM8QQsystem)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0) { NimStringDesc* result; NI a; NI L; NI TM__1t63UaH9cCIfDUdP3IafS1w_6; NI TM__1t63UaH9cCIfDUdP3IafS1w_7; 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"
if (nimSubInt(x_0.b, a, &TM__1t63UaH9cCIfDUdP3IafS1w_6)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__1t63UaH9cCIfDUdP3IafS1w_6), ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_7)) { raiseOverflow(); }; L = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_7);
#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__1t63UaH9cCIfDUdP3IafS1w_8; NI TM__1t63UaH9cCIfDUdP3IafS1w_9;
#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__1t63UaH9cCIfDUdP3IafS1w_8)) { raiseOverflow(); }; if ((NU)((NI)(TM__1t63UaH9cCIfDUdP3IafS1w_8)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__1t63UaH9cCIfDUdP3IafS1w_8),(s ? s->Sup.len : 0)-1); } result->data[i] = s->data[(NI)(TM__1t63UaH9cCIfDUdP3IafS1w_8)];
#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__1t63UaH9cCIfDUdP3IafS1w_9)) { raiseOverflow(); }; i_2 = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_9); } LA3: ;
}
}
return result;}
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_;
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));}
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
}
#line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___BokNSDrKN1xmV1nA01G9brAsystem)(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 18 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
N_LIB_PRIVATE N_NIMCALL(void, open__pT3FlBSoAcSDoz7svsz9btg)(tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg* l, tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* input, NimStringDesc* wordBreakChars, NIM_BOOL preserveTrailingWs) { tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* T1_;
#line 19 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T1_ = (tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg*)0; T1_ = &l->Sup;
#line 19 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
open__P89aGatd6bDNJ0Ak5E9cQgWw(T1_, input, ((NI) 8192), TM__1t63UaH9cCIfDUdP3IafS1w_11);
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
(*l).preserveTrailingWs = preserveTrailingWs;
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
(*l).mergeWordBreaks = NIM_FALSE;
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
unsureAsgnRef((void**) (&(*l).wordBreakChars), copyString(wordBreakChars));}
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
static N_INLINE(void, some__sgddJT1RdlkGeWdlq9cgU0Aoptions)(NimStringDesc* val_0, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result) { chckNil((void*)Result); unsureAsgnRef((void**)&(*Result).val, NIM_NIL); (*Result).has = 0;
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
(*Result).has = NIM_TRUE;
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
unsureAsgnRef((void**) (&(*Result).val), copyString(val_0));}
#line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
static N_INLINE(void, none__buJJ9ajp0wuYthKYXnCpQagoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result) { chckNil((void*)Result); unsureAsgnRef((void**)&(*Result).val, NIM_NIL); (*Result).has = 0;}
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
N_LIB_PRIVATE N_NIMCALL(NI, parseQuoted__OnfTiHipcv9aGOAIGoyf4YQ)(tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg* l, NI pos, NIM_BOOL isSingle, NimStringDesc** output) { NI result; NI pos_2;{ result = (NI)0;
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
pos_2 = pos; {
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
while (1) {
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos_2) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos_2,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } switch (((NU8)((*l).Sup.buf->data[pos_2]))) {
case 13:
{ tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* T4_;
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T4_ = (tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg*)0; T4_ = &l->Sup;
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
pos_2 = handleCR__sLQC1Z9cokufE3lZEw9b42Cw(T4_, pos_2); }
break;
case 10:
{ tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* T6_;
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T6_ = (tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg*)0; T6_ = &l->Sup;
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
pos_2 = handleLF__sLQC1Z9cokufE3lZEw9b42Cw_3(T6_, pos_2); }
break;
case 0:
{
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
goto LA1;
}
break;
case 92:
{ NI TM__1t63UaH9cCIfDUdP3IafS1w_16; NI TM__1t63UaH9cCIfDUdP3IafS1w_17;
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos_2, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_16)) { raiseOverflow(); }; pos_2 = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_16);
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
{ NIM_BOOL T11_; NIM_BOOL T12_; NIM_BOOL T15_;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T11_ = (NIM_BOOL)0;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T12_ = (NIM_BOOL)0; T12_ = isSingle; if (!(T12_)) goto LA13_;
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos_2) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos_2,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } T12_ = (((NU8)((*l).Sup.buf->data[pos_2])) == ((NU8)(39))); LA13_: ;
T11_ = T12_; if (T11_) goto LA14_;
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T15_ = (NIM_BOOL)0;
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T15_ = !(isSingle); if (!(T15_)) goto LA16_;
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos_2) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos_2,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } T15_ = (((NU8)((*l).Sup.buf->data[pos_2])) == ((NU8)(36)) || ((NU8)((*l).Sup.buf->data[pos_2])) == ((NU8)(96)) || ((NU8)((*l).Sup.buf->data[pos_2])) == ((NU8)(92)) || ((NU8)((*l).Sup.buf->data[pos_2])) == ((NU8)(34))); LA16_: ;
T11_ = T15_; LA14_: ;
if (!T11_) goto LA17_;
#line 37 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos_2) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos_2,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } unsureAsgnRef((void**) (&(*output)), addChar((*output), (*l).Sup.buf->data[pos_2])); }
goto LA9_;
LA17_: ;
{
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
unsureAsgnRef((void**) (&(*output)), addChar((*output), 92));
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos_2) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos_2,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } unsureAsgnRef((void**) (&(*output)), addChar((*output), (*l).Sup.buf->data[pos_2])); }
LA9_: ;
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos_2, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_17)) { raiseOverflow(); }; pos_2 = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_17); }
break;
case 34:
{ NI TM__1t63UaH9cCIfDUdP3IafS1w_18;
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos_2, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_18)) { raiseOverflow(); }; pos_2 = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_18);
#line 45 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
{ if (!isSingle) goto LA23_;
#line 45 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
unsureAsgnRef((void**) (&(*output)), addChar((*output), 34)); }
goto LA21_;
LA23_: ;
{
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
goto LA1;
}
LA21_: ;
}
break;
case 39:
{ NI TM__1t63UaH9cCIfDUdP3IafS1w_19;
#line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos_2, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_19)) { raiseOverflow(); }; pos_2 = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_19);
#line 49 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
{ if (!isSingle) goto LA29_;
#line 49 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
goto LA1;
}
goto LA27_;
LA29_: ;
{
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
unsureAsgnRef((void**) (&(*output)), addChar((*output), 39)); }
LA27_: ;
}
break;
default:
{ NI TM__1t63UaH9cCIfDUdP3IafS1w_20;
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos_2) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos_2,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } unsureAsgnRef((void**) (&(*output)), addChar((*output), (*l).Sup.buf->data[pos_2]));
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos_2, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_20)) { raiseOverflow(); }; pos_2 = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_20); }
break;
}
}
} LA1: ;
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
result = pos_2; goto BeforeRet_;
}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__31wM5Ui9c8jnrQ5QD4oPxOQsystem)(NIM_CHAR* a, NI aLen_0, NIM_CHAR item) { NI result;{ result = (NI)0; { NIM_CHAR i; NI i_2; i = (NIM_CHAR)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__1t63UaH9cCIfDUdP3IafS1w_24; NI TM__1t63UaH9cCIfDUdP3IafS1w_25;
#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 (!((NU8)(i) == (NU8)(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__1t63UaH9cCIfDUdP3IafS1w_24)) { raiseOverflow(); }; result = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_24);
#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__1t63UaH9cCIfDUdP3IafS1w_25)) { raiseOverflow(); }; i_2 = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_25); } 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__Pa9a8m0kZYH6LC8N1EcZJdQsystem)(NIM_CHAR* a, NI aLen_0, NIM_CHAR 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__31wM5Ui9c8jnrQ5QD4oPxOQsystem(a, aLen_0, item); result = (((NI) 0) <= T1_); goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
N_LIB_PRIVATE N_NIMCALL(void, getTok__Ty72g9bf9autV9bH4RH69c3Eww)(tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg* l, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result) { NI pos; NimStringDesc* tokLit;{
#line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
pos = (*l).Sup.bufpos; {
#line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
while (1) {
#line 61 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } switch (((NU8)((*l).Sup.buf->data[pos]))) {
case 13:
{ tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* T4_;
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T4_ = (tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg*)0; T4_ = &l->Sup;
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
pos = handleCR__sLQC1Z9cokufE3lZEw9b42Cw(T4_, pos); }
break;
case 10:
{ tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* T6_;
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T6_ = (tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg*)0; T6_ = &l->Sup;
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
pos = handleLF__sLQC1Z9cokufE3lZEw9b42Cw_3(T6_, pos); }
break;
case 35:
{ {
#line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
while (1) { NI TM__1t63UaH9cCIfDUdP3IafS1w_13;
#line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } if (!!((((NU8)((*l).Sup.buf->data[pos])) == ((NU8)(13)) || ((NU8)((*l).Sup.buf->data[pos])) == ((NU8)(10)) || ((NU8)((*l).Sup.buf->data[pos])) == ((NU8)(0))))) goto LA9;
#line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_13)) { raiseOverflow(); }; pos = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_13); } LA9: ;
}
}
break;
case 0:
{
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
{ NIM_BOOL T13_;
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T13_ = (NIM_BOOL)0; T13_ = (*l).preserveTrailingWs; if (!(T13_)) goto LA14_;
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T13_ = !(((*l).Sup.bufpos == pos)); LA14_: ;
if (!T13_) goto LA15_;
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
(*l).Sup.bufpos = pos;
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
some__sgddJT1RdlkGeWdlq9cgU0Aoptions(((NimStringDesc*) NIM_NIL), Result);
goto BeforeRet_;
}
LA15_: ;
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
none__buJJ9ajp0wuYthKYXnCpQagoptions(Result);
goto BeforeRet_;
}
break;
case 32:
case 9:
{ NI TM__1t63UaH9cCIfDUdP3IafS1w_14;
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_14)) { raiseOverflow(); }; pos = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_14); }
break;
default:
{
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
goto LA1;
}
break;
}
}
} LA1: ;
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
tokLit = ((NimStringDesc*) NIM_NIL); {
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
while (1) {
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } switch (((NU8)((*l).Sup.buf->data[pos]))) {
case 13:
{ tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* T22_;
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T22_ = (tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg*)0; T22_ = &l->Sup;
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
pos = handleCR__sLQC1Z9cokufE3lZEw9b42Cw(T22_, pos); }
break;
case 10:
{ tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg* T24_;
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T24_ = (tyObject_BaseLexer__MAw8rJZtJ279bVV3TWMtXSg*)0; T24_ = &l->Sup;
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
pos = handleLF__sLQC1Z9cokufE3lZEw9b42Cw_3(T24_, pos); }
break;
case 39:
{ NI TM__1t63UaH9cCIfDUdP3IafS1w_15;
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_15)) { raiseOverflow(); }; pos = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_15);
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
pos = parseQuoted__OnfTiHipcv9aGOAIGoyf4YQ(l, pos, NIM_TRUE, (&tokLit)); }
break;
case 34:
{ NI TM__1t63UaH9cCIfDUdP3IafS1w_21;
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_21)) { raiseOverflow(); }; pos = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_21);
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
pos = parseQuoted__OnfTiHipcv9aGOAIGoyf4YQ(l, pos, NIM_FALSE, (&tokLit)); }
break;
case 92:
{ NI TM__1t63UaH9cCIfDUdP3IafS1w_22;
#line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_22)) { raiseOverflow(); }; pos = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_22);
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
{ NI TM__1t63UaH9cCIfDUdP3IafS1w_23;
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } if (!!(((NU8)((*l).Sup.buf->data[pos]) == (NU8)(0)))) goto LA30_;
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } tokLit = addChar(tokLit, (*l).Sup.buf->data[pos]);
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_23)) { raiseOverflow(); }; pos = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_23); }
LA30_: ;
}
break;
case 35:
case 32:
case 9:
case 0:
{
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
goto LA19;
}
break;
default:
{ NIM_CHAR ch;
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } ch = (*l).Sup.buf->data[pos];
#line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
{ NIM_BOOL T36_; NI TM__1t63UaH9cCIfDUdP3IafS1w_26;
#line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T36_ = (NIM_BOOL)0; T36_ = contains__Pa9a8m0kZYH6LC8N1EcZJdQsystem((*l).wordBreakChars->data, ((*l).wordBreakChars ? (*l).wordBreakChars->Sup.len : 0), ch); if (!!(T36_)) goto LA37_;
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } tokLit = addChar(tokLit, (*l).Sup.buf->data[pos]);
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_26)) { raiseOverflow(); }; pos = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_26); }
goto LA34_;
LA37_: ;
{ if (!(*l).mergeWordBreaks) goto LA40_;
{
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
while (1) { NIM_BOOL T44_; NI TM__1t63UaH9cCIfDUdP3IafS1w_27;
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); }
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T44_ = (NIM_BOOL)0; T44_ = contains__Pa9a8m0kZYH6LC8N1EcZJdQsystem((*l).wordBreakChars->data, ((*l).wordBreakChars ? (*l).wordBreakChars->Sup.len : 0), (*l).Sup.buf->data[pos]); if (!T44_) goto LA43;
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if ((NU)(pos) >= (NU)((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)){ raiseIndexError2(pos,((*l).Sup.buf ? (*l).Sup.buf->Sup.len : 0)-1); } tokLit = addChar(tokLit, (*l).Sup.buf->data[pos]);
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimAddInt(pos, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_27)) { raiseOverflow(); }; pos = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_27); } LA43: ;
}
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
(*l).mergeWordBreaks = NIM_FALSE;
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
goto LA19;
}
goto LA34_;
LA40_: ;
{
#line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
(*l).mergeWordBreaks = NIM_TRUE;
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
goto LA19;
}
LA34_: ;
}
break;
}
}
} LA19: ;
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
(*l).Sup.bufpos = pos;
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
some__sgddJT1RdlkGeWdlq9cgU0Aoptions(tokLit, Result);
goto BeforeRet_;
}BeforeRet_: ;
}
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
static N_INLINE(NIM_BOOL, isNone__SBpZC5L2ngoUiy0hnfoIYQ_2options)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A self) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
result = !(self.has); return result;}
#line 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 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 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 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, nimGCunrefNoCycle)(void* p) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
}
#line 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 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 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
static N_INLINE(NimStringDesc*, get__MwtcpGbpnX9bvK9by7COEbNwoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A self) { NimStringDesc* result; result = (NimStringDesc*)0;
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
{ NIM_BOOL T3_; tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw* T6_; NimStringDesc* T7_;
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
T3_ = (NIM_BOOL)0; T3_ = isNone__SBpZC5L2ngoUiy0hnfoIYQ_2options(self); if (!T3_) goto LA4_;
T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*)0; T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*) newObj((&NTI__GntyqsSCwg00S5X6lKEPuQ_), sizeof(tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw)); (*T6_).Sup.Sup.Sup.m_type = (&NTI__VAWWBGXQQxBx5kHPK2xRMw_); (*T6_).Sup.Sup.name = "UnpackError"; T7_ = (NimStringDesc*)0; T7_ = (*T6_).Sup.Sup.message; (*T6_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__1t63UaH9cCIfDUdP3IafS1w_28)); if (T7_) nimGCunrefNoCycle(T7_); asgnRef((void**) (&(*T6_).Sup.Sup.parent), NIM_NIL);
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
raiseExceptionEx((Exception*)T6_, "UnpackError", "get", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/options.nim", 185); }
LA4_: ;
result = copyString(self.val); return result;}
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, splitCompletionLine__aPGFUMgkFd0kCjcLUuEb4w)(void) { tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result; NimStringDesc* comp_line; NI comp_point; NimStringDesc* T1_; tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* strm; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T12_; NimStringDesc* T13_; tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg l; tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* T14_;{ result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
comp_line = getEnv__hhED57tMl0Iaa5bOg9cJaig(((NimStringDesc*) &TM__1t63UaH9cCIfDUdP3IafS1w_2), ((NimStringDesc*) NIM_NIL));
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T1_ = (NimStringDesc*)0; T1_ = getEnv__hhED57tMl0Iaa5bOg9cJaig(((NimStringDesc*) &TM__1t63UaH9cCIfDUdP3IafS1w_3), ((NimStringDesc*) &TM__1t63UaH9cCIfDUdP3IafS1w_4));
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
comp_point = nsuParseInt(T1_);
#line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
{ NI TM__1t63UaH9cCIfDUdP3IafS1w_5;
#line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 125 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (!(comp_point == (comp_line ? comp_line->Sup.len : 0))) goto LA4_;
#line 126 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
if (nimSubInt(comp_point, ((NI) 1), &TM__1t63UaH9cCIfDUdP3IafS1w_5)) { raiseOverflow(); }; comp_point = (NI)(TM__1t63UaH9cCIfDUdP3IafS1w_5); }
LA4_: ;
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
{ NIM_BOOL T8_;
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T8_ = (NIM_BOOL)0;
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T8_ = (comp_point < ((NI) 0)); if (T8_) goto LA9_;
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T8_ = ((comp_line ? comp_line->Sup.len : 0) < comp_point); LA9_: ;
if (!T8_) goto LA10_;
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
result = NIM_NIL; goto BeforeRet_;
}
LA10_: ;
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T12_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 0), comp_point);
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T13_ = (NimStringDesc*)0; T13_ = X5BX5D___FPvLvuwqfYMFkcbGfPM8QQsystem(comp_line, T12_);
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
strm = newStringStream__9aLRtgEYeRMrZKrObtoOslQ(T13_); nimZeroMem((void*)(&l), sizeof(tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg)); l.Sup.Sup.m_type = (&NTI__hdWl9bvT0OFfuI9bW8PozaRg_);
#line 136 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T14_ = (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ*)0; T14_ = &strm->Sup;
#line 136 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
open__pT3FlBSoAcSDoz7svsz9btg((&l), T14_, ((NimStringDesc*) &TM__1t63UaH9cCIfDUdP3IafS1w_12), NIM_TRUE);
{
#line 137 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
while (1) { tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A token; NimStringDesc* T22_; NI T23_; NimStringDesc* T24_; nimZeroMem((void*)(&token), sizeof(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A));
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
getTok__Ty72g9bf9autV9bH4RH69c3Eww((&l), (&token));
#line 139 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
{ NIM_BOOL T19_;
#line 139 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 139 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T19_ = (NIM_BOOL)0; T19_ = isNone__SBpZC5L2ngoUiy0hnfoIYQ_2options(token); if (!T19_) goto LA20_;
#line 140 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
goto LA15;
}
LA20_: ;
#line 141 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 141 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
#line 141 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/shell_completion.nim"
T22_ = (NimStringDesc*)0; T22_ = get__MwtcpGbpnX9bvK9by7COEbNwoptions(token); result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) incrSeqV3((TGenericSeq*)(result), (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_)); T23_ = result->Sup.len++; T24_ = (NimStringDesc*)0; T24_ = result->data[T23_]; result->data[T23_] = copyStringRC1(T22_); if (T24_) nimGCunrefNoCycle(T24_); }
} LA15: ;
}BeforeRet_: ;
return result;}
N_LIB_PRIVATE N_NIMCALL(void, confutils_shell_completionDatInit000)(void) {
#line 999999 "generated_not_to_break_here"
static TNimNode* TM__1t63UaH9cCIfDUdP3IafS1w_10_3[3];
static TNimNode TM__1t63UaH9cCIfDUdP3IafS1w_0[4];NTI__hdWl9bvT0OFfuI9bW8PozaRg_.size = sizeof(tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg);
NTI__hdWl9bvT0OFfuI9bW8PozaRg_.kind = 17;
NTI__hdWl9bvT0OFfuI9bW8PozaRg_.base = (&NTI__MAw8rJZtJ279bVV3TWMtXSg_);
NTI__hdWl9bvT0OFfuI9bW8PozaRg_.name = "ShellLexer";
NTI__hdWl9bvT0OFfuI9bW8PozaRg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__hdWl9bvT0OFfuI9bW8PozaRg_;
TM__1t63UaH9cCIfDUdP3IafS1w_10_3[0] = &TM__1t63UaH9cCIfDUdP3IafS1w_0[1];
TM__1t63UaH9cCIfDUdP3IafS1w_0[1].kind = 1;
TM__1t63UaH9cCIfDUdP3IafS1w_0[1].offset = offsetof(tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg, preserveTrailingWs);
TM__1t63UaH9cCIfDUdP3IafS1w_0[1].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__1t63UaH9cCIfDUdP3IafS1w_0[1].name = "preserveTrailingWs";
TM__1t63UaH9cCIfDUdP3IafS1w_10_3[1] = &TM__1t63UaH9cCIfDUdP3IafS1w_0[2];
TM__1t63UaH9cCIfDUdP3IafS1w_0[2].kind = 1;
TM__1t63UaH9cCIfDUdP3IafS1w_0[2].offset = offsetof(tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg, mergeWordBreaks);
TM__1t63UaH9cCIfDUdP3IafS1w_0[2].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__1t63UaH9cCIfDUdP3IafS1w_0[2].name = "mergeWordBreaks";
TM__1t63UaH9cCIfDUdP3IafS1w_10_3[2] = &TM__1t63UaH9cCIfDUdP3IafS1w_0[3];
TM__1t63UaH9cCIfDUdP3IafS1w_0[3].kind = 1;
TM__1t63UaH9cCIfDUdP3IafS1w_0[3].offset = offsetof(tyObject_ShellLexer__hdWl9bvT0OFfuI9bW8PozaRg, wordBreakChars);
TM__1t63UaH9cCIfDUdP3IafS1w_0[3].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
TM__1t63UaH9cCIfDUdP3IafS1w_0[3].name = "wordBreakChars";
TM__1t63UaH9cCIfDUdP3IafS1w_0[0].len = 3; TM__1t63UaH9cCIfDUdP3IafS1w_0[0].kind = 2; TM__1t63UaH9cCIfDUdP3IafS1w_0[0].sons = &TM__1t63UaH9cCIfDUdP3IafS1w_10_3[0];
NTI__hdWl9bvT0OFfuI9bW8PozaRg_.node = &TM__1t63UaH9cCIfDUdP3IafS1w_0[0];
}