nwaku/nimcache/release/wakubridge/stdlib_selectors.nim.c

2199 lines
150 KiB
C

/* Generated by Nim Compiler v1.2.6 */
/* (c) 2020 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Linux, amd64, gcc */
/* Command for C compiler:
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/libnatpmp-upstream -DENABLE_STRNATPMPERR -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/waku/common -o nimcache/release/wakubridge/stdlib_selectors.nim.c.o nimcache/release/wakubridge/stdlib_selectors.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <sys/resource.h>
#include <string.h>
#include <sys/epoll.h>
#include <sys/types.h>
#include <pthread.h>
#include <sys/socket.h>
#include <unistd.h>
#include <sys/signalfd.h>
#include <signal.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 tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA;
typedef struct tySequence__iPL3rW9a9bV9cIzaXekL6AsDg tySequence__iPL3rW9a9bV9cIzaXekL6AsDg;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg;
typedef struct tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww;
typedef struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw;
typedef struct tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw;
typedef struct NimStringDesc NimStringDesc;
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_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew;
typedef struct Exception Exception;
typedef struct RootObj RootObj;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
typedef struct tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ;
typedef struct tySequence__5L9b5Ztm9adPEys1vE9cEPQJA tySequence__5L9b5Ztm9adPEys1vE9cEPQJA;
typedef struct tyObject_SelectorKey__561GPxg10TdJiEAAWoraPw tyObject_SelectorKey__561GPxg10TdJiEAAWoraPw;
typedef struct tyObject_AsyncData__hOYUN4IOpj9adMwn6W7S2VA tyObject_AsyncData__hOYUN4IOpj9adMwn6W7S2VA;
typedef struct tySequence__lBAKjtL5n9bzoWNSpC1Vu3A tySequence__lBAKjtL5n9bzoWNSpC1Vu3A;
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
struct tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA {int epollFD;
NI maxFD;
NI numFD;
tySequence__iPL3rW9a9bV9cIzaXekL6AsDg* fds;
NI count;
};
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;
};
typedef NU32 tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (void* arg, void* ClE_0);
void* ClE_0;
} tyProc__9bqx36VxQxXejdrF09bFARDQ;
struct tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw {tyProc__9bqx36VxQxXejdrF09bFARDQ function;
void* udata;
};
struct tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw {int fd;
void* udata;
};
struct tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww {tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw reader;
tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw rdata;
tyObject_AsyncCallback__Swoy2e9aGWZSpT0Jm9aqp3Zw writer;
tyObject_CompletionData__EBfvX747tMGQ0twDQltLkw wdata;
};
struct tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg {NI ident;
tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg events;
NI param;
tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww data;
};
typedef NU8 tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg;
struct TGenericSeq {NI len;
NI reserved;
};
struct tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw {NI fd;
tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg events;
NI32 errorCode;
};
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
};
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 RootObj {TNimType* m_type;};
struct Exception { RootObj Sup;Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
struct tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew { Exception Sup;};
typedef struct epoll_event tyArray__FS3tk39b6JCJ6siEPK54vgg[64];
typedef NU8 tyArray__imubzojaOiPVfv1g8EarTA[48];
struct tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ {int epollFD;
NI maxFD;
NI numFD;
tySequence__5L9b5Ztm9adPEys1vE9cEPQJA* fds;
NI count;
};
struct tyObject_AsyncData__hOYUN4IOpj9adMwn6W7S2VA {tySequence__lBAKjtL5n9bzoWNSpC1Vu3A* readList;
tySequence__lBAKjtL5n9bzoWNSpC1Vu3A* writeList;
};
struct tyObject_SelectorKey__561GPxg10TdJiEAAWoraPw {NI ident;
tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg events;
NI param;
tyObject_AsyncData__hOYUN4IOpj9adMwn6W7S2VA data;
};
typedef unsigned long tyArray__2VPt2Ygo2bc8d9cj8iiKnSg[16];
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
NI line;
NCSTRING filename;
};
typedef struct {
N_NIMCALL_PTR(NIM_BOOL, ClP_0) (int fd, void* ClE_0);
void* ClE_0;
} tyProc__9cnjNsE9aOh8FkRG9ccBKTpWg;
struct tySequence__iPL3rW9a9bV9cIzaXekL6AsDg { TGenericSeq Sup; tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg data[SEQ_DECL_SIZE];};struct tySequence__5L9b5Ztm9adPEys1vE9cEPQJA { TGenericSeq Sup; tyObject_SelectorKey__561GPxg10TdJiEAAWoraPw data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};struct tySequence__lBAKjtL5n9bzoWNSpC1Vu3A { TGenericSeq Sup; tyProc__9cnjNsE9aOh8FkRG9ccBKTpWg data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tySequence__iPL3rW9a9bV9cIzaXekL6AsDg)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__HhFgDyQdqUwF69cxqPVsT8w)(void* p, NI op);
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
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, raiseOSError__CWyPYlyH9a6rAuZckFyVxPA)(NI32 errorCode, NimStringDesc* additionalInfo);
N_LIB_PRIVATE N_NIMCALL(NI32, osLastError__9bUWNxbcGnToMWA9b79aTXLIw)(void);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(tySequence__iPL3rW9a9bV9cIzaXekL6AsDg*, newSeq__2MueU2CkFmB9cp1o7idI9czw)(NI len);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
N_LIB_PRIVATE N_NIMCALL(void, verifySelectParams__VELOTGJpsenobkytwG1KAw)(NI timeout);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
N_LIB_PRIVATE N_NIMCALL(void, raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w)(NI32 message);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, osErrorMsg__33xViSVWAmDrexoKkLfMhg)(NI32 errorCode);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
static N_NIMCALL(void, Marker_tyRef__AwXiAVUXPdcLyQW5mY84tA)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
N_LIB_PRIVATE N_NIMCALL(void, raiseIOSelectorsError__DsOWi00vXgEmCXwnjpsJhw)(NimStringDesc* message);
static N_INLINE(void, stareq___ogcC1Md4c289bEhAZWpmZUwsystem)(NI* x, NI y);
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
static N_INLINE(NIM_BOOL, contains__OZFzGZer6mx0buZiLTnhyQselectors)(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* s, NI fd);
static N_NIMCALL(void, Marker_tySequence__5L9b5Ztm9adPEys1vE9cEPQJA)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__Y5hK0M9cL3lXwccEV9cgR9cQw)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatSingleElem)(NimStringDesc* formatstr, NimStringDesc* a);
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_LIB_PRIVATE TNimType NTI__g9a4S3yH20afsjHZx9aezm9bA_;
extern TNimType NTI__nlCscttRCss70IBTyuBqnA_;
extern TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_;
N_LIB_PRIVATE TNimType NTI__s8WfktWY9bd6XxYsLizlOtg_;
N_LIB_PRIVATE TNimType NTI__nI40bZzTyYVrl763dZ9aHDg_;
N_LIB_PRIVATE TNimType NTI__YIRsZrDT89buh37M5yeUgng_;
extern TNimType NTI__bCtwor9caPGFc9ccCxVlW5Ww_;
N_LIB_PRIVATE TNimType NTI__iPL3rW9a9bV9cIzaXekL6AsDg_;
N_LIB_PRIVATE TNimType NTI__HhFgDyQdqUwF69cxqPVsT8w_;
N_LIB_PRIVATE TNimType NTI__vOvPQEijZeFv1xAgbh5rNw_;
extern TNimType NTI__sVg18TP9cLifHyygRe9cro9aA_;
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_8, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim(80, 11) `\0120 "
"< maxFD` ", 136);
extern TNimType NTI__XEycrCsme5C8CVWAYEcdBQ_;
N_LIB_PRIVATE TNimType NTI__QyK3XdhgwEegLQs5Yj3Vew_;
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_10, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/selectors.nim(321, 13) `timeout >= -1` Canno"
"t select with a negative value, got ", 163);
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_11, " (code: ", 8);
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_12, ")", 1);
N_LIB_PRIVATE TNimType NTI__AwXiAVUXPdcLyQW5mY84tA_;
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_13, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim(399, 15) `\012n"
"ot (pkey.ident == InvalidIdent)` ", 160);
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_19, "Maximum number of descriptors is exhausted!", 43);
N_LIB_PRIVATE TNimType NTI__jkoZicTBtYdKkYck5SFJEQ_;
N_LIB_PRIVATE TNimType NTI__561GPxg10TdJiEAAWoraPw_;
extern TNimType NTI__hOYUN4IOpj9adMwn6W7S2VA_;
N_LIB_PRIVATE TNimType NTI__5L9b5Ztm9adPEys1vE9cEPQJA_;
N_LIB_PRIVATE TNimType NTI__Y5hK0M9cL3lXwccEV9cgR9cQw_;
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_25, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim(168, 11) `\012n"
"ot (pkey.ident == InvalidIdent)` ", 160);
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_26, "Descriptor $# is not registered in the selector!", 48);
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_27, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim(170, 11) `pk"
"ey.events * maskEvents == {}` ", 157);
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_31, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim(196, 11) `\012n"
"ot (pkey.ident == InvalidIdent)` ", 160);
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_37, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim(151, 11) `s."
"fds[fdi].ident == InvalidIdent` ", 159);
STRING_LITERAL(TM__ln5vuDpFyDrAqQbYD2g52Q_38, "Descriptor $# already registered", 32);
extern TNimType* nimTypeRoot;
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
static N_NIMCALL(void, Marker_tySequence__iPL3rW9a9bV9cIzaXekL6AsDg)(void* p, NI op) {
tySequence__iPL3rW9a9bV9cIzaXekL6AsDg* a;
NI T1_; a = (tySequence__iPL3rW9a9bV9cIzaXekL6AsDg*)p;
T1_ = (NI)0; for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
nimGCvisit((void*)a->data[T1_].data.reader.function.ClE_0, op); nimGCvisit((void*)a->data[T1_].data.writer.function.ClE_0, op); }
}
static N_NIMCALL(void, Marker_tyRef__HhFgDyQdqUwF69cxqPVsT8w)(void* p, NI op) {
tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* a;
a = (tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA*)p;
nimGCvisit((void*)(*a).fds, op);}
#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 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0;
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;}
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));}
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0;
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;}
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;}
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;}
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
}
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ NIM_BOOL T3_;
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_;
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
}
LA4_: ;
}
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
static N_INLINE(void, asgnRef)(void** dest, void* src) {
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!((src == NIM_NIL))) goto LA3_;
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
}
LA3_: ;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
if (!!(((*dest) == NIM_NIL))) goto LA8_;
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
}
LA8_: ;
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
(*dest) = src;}
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA*, newSelector__jafMlDV4ZKvuJjquPHA18g)(void) { tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* result; struct rlimit a; NI maxFD; int epollFD; tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* T16_; result = (tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA*)0;
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
chckNil((void*)(&a)); nimZeroMem((void*)(&a), sizeof(struct rlimit));
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T3_; NI32 T6_;
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T3_ = (int)0; T3_ = getrlimit(((int) 7), (&a)); if (!!((T3_ == ((NI32) 0)))) goto LA4_;
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T6_ = (NI32)0; T6_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseOSError__CWyPYlyH9a6rAuZckFyVxPA(T6_, ((NimStringDesc*) NIM_NIL));
}
LA4_: ;
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
maxFD = a.rlim_max;
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!((((NI) 0) < maxFD))) goto LA9_;
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_8));
}
LA9_: ;
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
epollFD = epoll_create(((int) 64));
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI32 T15_;
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(epollFD < ((NI32) 0))) goto LA13_;
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T15_ = (NI32)0; T15_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseOSError__CWyPYlyH9a6rAuZckFyVxPA(T15_, ((NimStringDesc*) NIM_NIL));
}
LA13_: ;
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T16_ = (tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA*)0; T16_ = (tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA*) newObj((&NTI__HhFgDyQdqUwF69cxqPVsT8w_), sizeof(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA)); result = T16_;
#line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*result).epollFD = epollFD;
#line 97 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*result).maxFD = maxFD;
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*result).numFD = ((NI) 1024);
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 99 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
asgnRef((void**) (&(*result).fds), newSeq__2MueU2CkFmB9cp1o7idI9czw(((NI) 1024))); { 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__ln5vuDpFyDrAqQbYD2g52Q_9;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (!(i_2 < ((NI) 1024))) goto LA19;
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
i = i_2; if ((NU)(i) >= (NU)((*result).fds ? (*result).fds->Sup.len : 0)){ raiseIndexError2(i,((*result).fds ? (*result).fds->Sup.len : 0)-1); }
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*result).fds->data[i].ident = ((NI) -1);
#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__ln5vuDpFyDrAqQbYD2g52Q_9)) { raiseOverflow(); }; i_2 = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_9); } LA19: ;
}
}
return result;}
#line 11 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_;
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size)));}
#line 2112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
nimCopyMem(dest, source, size);
}
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
{
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
if (!!((src == NIM_NIL))) goto LA3_;
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
(*dest).Sup.len += (*src).Sup.len; }
LA3_: ;
}
#line 318 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
N_LIB_PRIVATE N_NIMCALL(void, verifySelectParams__VELOTGJpsenobkytwG1KAw)(NI timeout) {
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
{ NimStringDesc* T5_; NimStringDesc* T6_;
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
if (!!((((NI) -1) <= timeout))) goto LA3_;
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
T5_ = (NimStringDesc*)0;
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
T6_ = (NimStringDesc*)0; T6_ = nimIntToStr(timeout); T5_ = rawNewString((T6_ ? T6_->Sup.len : 0) + 163);appendString(T5_, ((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_10));appendString(T5_, T6_);
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(T5_);
}
LA3_: ;
}
static N_NIMCALL(void, Marker_tyRef__AwXiAVUXPdcLyQW5mY84tA)(void* p, NI op) {
tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew* a;
a = (tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew*)p;
nimGCvisit((void*)(*a).Sup.parent, op); nimGCvisit((void*)(*a).Sup.message, op); nimGCvisit((void*)(*a).Sup.trace, op); nimGCvisit((void*)(*a).Sup.up, op);}
#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 271 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
N_LIB_PRIVATE N_NIMCALL(void, raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w)(NI32 message) { NimStringDesc* msg; NimStringDesc* T1_; NimStringDesc* T2_; NimStringDesc* T3_; tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew* err; tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew* T4_; NimStringDesc* T5_;
#line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
msg = ((NimStringDesc*) NIM_NIL);
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
T1_ = (NimStringDesc*)0;
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
T2_ = (NimStringDesc*)0; T2_ = osErrorMsg__33xViSVWAmDrexoKkLfMhg(message);
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
T3_ = (NimStringDesc*)0; T3_ = nimIntToStr(((NI) (message))); T1_ = rawNewString((T2_ ? T2_->Sup.len : 0) + (T3_ ? T3_->Sup.len : 0) + 9);appendString(T1_, T2_);appendString(T1_, ((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_11));appendString(T1_, T3_);appendString(T1_, ((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_12)); msg = resizeString(msg, (T1_ ? T1_->Sup.len : 0) + 0);appendString(msg, T1_);
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
T4_ = (tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew*)0; T4_ = (tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew*) newObj((&NTI__AwXiAVUXPdcLyQW5mY84tA_), sizeof(tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew)); (*T4_).Sup.Sup.m_type = (&NTI__QyK3XdhgwEegLQs5Yj3Vew_); (*T4_).Sup.name = "IOSelectorsException"; T5_ = (NimStringDesc*)0; T5_ = (*T4_).Sup.message; (*T4_).Sup.message = copyStringRC1(msg); if (T5_) nimGCunrefNoCycle(T5_); asgnRef((void**) (&(*T4_).Sup.parent), NIM_NIL); err = T4_;
#line 280 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
raiseExceptionEx((Exception*)err, "IOSelectorsException", "raiseIOSelectorsError", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/selectors.nim", 280);}
#line 371 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
N_LIB_PRIVATE N_NIMCALL(NI, selectInto__g9bC709by87fZZEElpoIiY9aQ)(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* s, NI timeout, tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw* results, NI resultsLen_0) { NI result; tyArray__FS3tk39b6JCJ6siEPK54vgg resTable; NI maxres; NI i; NI k; int count; result = (NI)0; nimZeroMem((void*)resTable, sizeof(tyArray__FS3tk39b6JCJ6siEPK54vgg));
#line 375 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
maxres = ((NI) 64); i = (NI)0; k = (NI)0;
#line 378 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 378 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 378 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(resultsLen_0 < maxres)) goto LA3_;
#line 379 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 379 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
maxres = resultsLen_0; }
LA3_: ;
#line 381 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 381 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
verifySelectParams__VELOTGJpsenobkytwG1KAw(timeout);
#line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((maxres) < ((int) (-2147483647 -1)) || (maxres) > ((int) 2147483647)){ raiseRangeErrorI(maxres, ((int) (-2147483647 -1)), ((int) 2147483647)); } if ((timeout) < ((int) (-2147483647 -1)) || (timeout) > ((int) 2147483647)){ raiseRangeErrorI(timeout, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
count = epoll_wait((*s).epollFD, (&resTable[(((NI) 0))- 0]), ((int) (maxres)), ((int) (timeout)));
#line 385 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI32 err;
#line 385 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(count < ((NI32) 0))) goto LA7_;
#line 386 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
result = ((NI) 0);
#line 387 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 387 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
err = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 388 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 388 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 388 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!((err == ((int) 4)))) goto LA11_;
#line 389 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 389 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(err);
}
LA11_: ;
}
goto LA5_;
LA7_: ;
{
#line 390 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(count == ((NI32) 0))) goto LA14_;
#line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
result = ((NI) 0); }
goto LA5_;
LA14_: ;
{
#line 393 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
i = ((NI) 0);
#line 394 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
k = ((NI) 0); {
#line 395 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
while (1) {
#line 395 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(i < ((NI) (count)))) goto LA18;
{ NI fdi; NU32 pevents; tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg* pkey; tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw rkey; NI TM__ln5vuDpFyDrAqQbYD2g52Q_17; NI TM__ln5vuDpFyDrAqQbYD2g52Q_18;
#line 396 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((NU)(i) > (NU)(63)){ raiseIndexError2(i, 63); } if ((NI64)(resTable[(i)- 0].data.u64) < ((NI) (IL64(-9223372036854775807) - IL64(1))) || (NI64)(resTable[(i)- 0].data.u64) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(resTable[(i)- 0].data.u64, ((NI) (IL64(-9223372036854775807) - IL64(1))), ((NI) IL64(9223372036854775807))); } fdi = ((NI) (resTable[(i)- 0].data.u64));
#line 397 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((NU)(i) > (NU)(63)){ raiseIndexError2(i, 63); } pevents = resTable[(i)- 0].events;
#line 398 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((NU)(fdi) >= (NU)((*s).fds ? (*s).fds->Sup.len : 0)){ raiseIndexError2(fdi,((*s).fds ? (*s).fds->Sup.len : 0)-1); } pkey = (&(*s).fds->data[fdi]);
#line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!(!(((*pkey).ident == ((NI) -1))))) goto LA22_;
#line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 399 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_13));
}
LA22_: ;
#line 400 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
chckNil((void*)(&rkey)); nimZeroMem((void*)(&rkey), sizeof(tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw)); rkey.fd = fdi; rkey.events = 0;
#line 402 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NIM_BOOL T26_;
#line 402 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T26_ = (NIM_BOOL)0;
#line 402 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 402 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 402 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T26_ = !(((NU32)(pevents & ((NU32) 8)) == ((NU32) 0))); if (T26_) goto LA27_;
#line 402 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 402 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 402 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T26_ = !(((NU32)(pevents & ((NU32) 16)) == ((NU32) 0))); LA27_: ;
if (!T26_) goto LA28_;
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!(((NU32)(pevents & ((NU32) 16)) == ((NU32) 0)))) goto LA32_;
#line 404 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
rkey.errorCode = ((NI32) 104); }
goto LA30_;
LA32_: ;
{ int error; socklen_t size; error = (int)0;
#line 408 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
size = ((socklen_t) 4);
#line 409 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T37_;
#line 410 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 409 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 409 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T37_ = (int)0; T37_ = getsockopt(((int) (fdi)), ((int) 1), ((int) 4), ((void*) ((&error))), (&size)); if (!(T37_ == ((NI32) 0))) goto LA38_;
#line 411 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
rkey.errorCode = error; }
LA38_: ;
}
LA30_: ;
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
rkey.events |= ((NU32)1)<<((((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 7)) & 31);
}
LA28_: ;
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!(((NU32)(pevents & ((NU32) 4)) == ((NU32) 0)))) goto LA42_;
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
rkey.events |= ((NU32)1)<<((((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 1)) & 31);
}
LA42_: ;
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!(((NU32)(pevents & ((NU32) 1)) == ((NU32) 0)))) goto LA46_;
#line 418 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 418 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(((*pkey).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 0))&31U)))!=0)) goto LA50_;
#line 419 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
rkey.events |= ((NU32)1)<<((((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 0)) & 31);
}
goto LA48_;
LA50_: ;
{ NU64 data;
#line 420 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(((*pkey).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 2))&31U)))!=0)) goto LA53_;
#line 421 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
data = 0ULL;
#line 422 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI T57_; NI32 T60_;
#line 423 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 423 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 422 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 422 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T57_ = (NI)0; T57_ = read(((int) (fdi)), ((void*) ((&data))), ((NI) 8)); if (!!((T57_ == ((NI) 8)))) goto LA58_;
#line 424 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 424 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 424 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T60_ = (NI32)0; T60_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 424 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T60_);
}
LA58_: ;
#line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
rkey.events |= ((NU32)1)<<((((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 2)) & 31);
}
goto LA48_;
LA53_: ;
{ struct signalfd_siginfo data_2;
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(((*pkey).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 3))&31U)))!=0)) goto LA62_;
#line 427 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
chckNil((void*)(&data_2)); nimZeroMem((void*)(&data_2), sizeof(struct signalfd_siginfo));
#line 428 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI T66_; NI32 T69_;
#line 429 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 429 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 428 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 429 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 428 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T66_ = (NI)0; T66_ = read(((int) (fdi)), ((void*) ((&data_2))), ((NI)sizeof(struct signalfd_siginfo)));
#line 429 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!((T66_ == ((NI)sizeof(struct signalfd_siginfo))))) goto LA67_;
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T69_ = (NI32)0; T69_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T69_);
}
LA67_: ;
#line 431 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
rkey.events |= ((NU32)1)<<((((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 3)) & 31);
}
goto LA48_;
LA62_: ;
{ struct signalfd_siginfo data_3;
#line 432 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(((*pkey).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 4))&31U)))!=0)) goto LA71_;
#line 433 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
chckNil((void*)(&data_3)); nimZeroMem((void*)(&data_3), sizeof(struct signalfd_siginfo));
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI T75_; NI32 T78_;
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T75_ = (NI)0; T75_ = read(((int) (fdi)), ((void*) ((&data_3))), ((NI)sizeof(struct signalfd_siginfo)));
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!((T75_ == ((NI)sizeof(struct signalfd_siginfo))))) goto LA76_;
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T78_ = (NI32)0; T78_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T78_);
}
LA76_: ;
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(((NI) (data_3.ssi_pid)) == (*pkey).param)) goto LA81_;
#line 438 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
rkey.events |= ((NU32)1)<<((((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 4)) & 31);
}
goto LA79_;
LA81_: ;
{ NI TM__ln5vuDpFyDrAqQbYD2g52Q_14;
#line 440 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimAddInt(i, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_14)) { raiseOverflow(); }; i = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_14);
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
goto LA19;
}
LA79_: ;
}
goto LA48_;
LA71_: ;
{ NU64 data_4;
#line 442 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(((*pkey).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 6))&31U)))!=0)) goto LA85_;
#line 443 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
data_4 = 0ULL;
#line 444 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI T89_; NI32 err_2;
#line 445 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 445 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 444 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 444 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T89_ = (NI)0; T89_ = read(((int) (fdi)), ((void*) ((&data_4))), ((NI) 8)); if (!!((T89_ == ((NI) 8)))) goto LA90_;
#line 446 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 446 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
err_2 = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 447 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI TM__ln5vuDpFyDrAqQbYD2g52Q_15;
#line 447 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(err_2 == ((NI32) 11))) goto LA94_;
#line 448 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimAddInt(i, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_15)) { raiseOverflow(); }; i = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_15);
#line 449 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
goto LA19;
}
goto LA92_;
LA94_: ;
{
#line 451 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 451 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(err_2);
}
LA92_: ;
}
LA90_: ;
#line 452 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
rkey.events |= ((NU32)1)<<((((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 6)) & 31);
}
goto LA48_;
LA85_: ;
LA48_: ;
}
LA46_: ;
#line 475 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ struct epoll_event epv; NI TM__ln5vuDpFyDrAqQbYD2g52Q_16;
#line 475 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(((*pkey).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 8))&31U)))!=0)) goto LA99_;
#line 476 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
chckNil((void*)(&epv)); nimZeroMem((void*)(&epv), sizeof(struct epoll_event));
#line 477 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T103_; NI32 T106_;
#line 477 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 477 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 477 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 477 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T103_ = (int)0; T103_ = epoll_ctl((*s).epollFD, ((int) 2), ((int) (fdi)), (&epv)); if (!!((T103_ == ((NI32) 0)))) goto LA104_;
#line 478 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 478 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 478 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T106_ = (NI32)0; T106_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 478 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T106_);
}
LA104_: ;
#line 482 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimSubInt((*s).count, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_16)) { raiseOverflow(); }; (*s).count = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_16);
#line 484 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*pkey).events |= ((NU32)1)<<((((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 9)) & 31);
}
LA99_: ;
if ((NU)(k) >= (NU)(resultsLen_0)){ raiseIndexError2(k,resultsLen_0-1); }
#line 486 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
results[k] = rkey;
#line 487 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimAddInt(k, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_17)) { raiseOverflow(); }; k = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_17);
#line 488 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimAddInt(i, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_18)) { raiseOverflow(); }; i = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_18); } LA19: ;
} LA18: ;
}
#line 489 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
result = k; }
LA5_: ;
return result;}
#line 271 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
N_LIB_PRIVATE N_NIMCALL(void, raiseIOSelectorsError__DsOWi00vXgEmCXwnjpsJhw)(NimStringDesc* message) { NimStringDesc* msg; tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew* err; tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew* T1_; NimStringDesc* T2_;
#line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
msg = ((NimStringDesc*) NIM_NIL);
#line 274 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
msg = resizeString(msg, (message ? message->Sup.len : 0) + 0);appendString(msg, message);
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
T1_ = (tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew*)0; T1_ = (tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew*) newObj((&NTI__AwXiAVUXPdcLyQW5mY84tA_), sizeof(tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew)); (*T1_).Sup.Sup.m_type = (&NTI__QyK3XdhgwEegLQs5Yj3Vew_); (*T1_).Sup.name = "IOSelectorsException"; T2_ = (NimStringDesc*)0; T2_ = (*T1_).Sup.message; (*T1_).Sup.message = copyStringRC1(msg); if (T2_) nimGCunrefNoCycle(T2_); asgnRef((void**) (&(*T1_).Sup.parent), NIM_NIL); err = T1_;
#line 280 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
raiseExceptionEx((Exception*)err, "IOSelectorsException", "raiseIOSelectorsError", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/selectors.nim", 280);}
#line 496 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
static N_INLINE(void, stareq___ogcC1Md4c289bEhAZWpmZUwsystem)(NI* x, NI y) { NI TM__ln5vuDpFyDrAqQbYD2g52Q_20;
#line 499 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
#line 499 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
if (nimMulInt((*x), y, &TM__ln5vuDpFyDrAqQbYD2g52Q_20)) { raiseOverflow(); }; (*x) = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_20);}
#line 499 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
static N_INLINE(NIM_BOOL, contains__OZFzGZer6mx0buZiLTnhyQselectors)(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* s, NI fd) { NIM_BOOL result;{ result = (NIM_BOOL)0;
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((NU)(fd) >= (NU)((*s).fds ? (*s).fds->Sup.len : 0)){ raiseIndexError2(fd,((*s).fds ? (*s).fds->Sup.len : 0)-1); } result = !(((*s).fds->data[fd].ident == ((NI) -1))); goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 502 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww*, getData__eQNlkfRqy3U9bSizZjte5dQ)(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* s, NI fd) { tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww* result; NI fdi; result = (tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww*)0;
#line 503 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
fdi = fd;
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((*s).maxFD <= fdi)) goto LA3_;
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__DsOWi00vXgEmCXwnjpsJhw(((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_19));
}
LA3_: ;
#line 504 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI numFDX60gensym18540281_;
#line 136 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((*s).numFD <= fdi)) goto LA7_;
#line 137 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
numFDX60gensym18540281_ = (*s).numFD; {
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
while (1) {
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(numFDX60gensym18540281_ <= fdi)) goto LA10;
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
stareq___ogcC1Md4c289bEhAZWpmZUwsystem((&numFDX60gensym18540281_), ((NI) 2));
} LA10: ;
}
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((numFDX60gensym18540281_) < ((NI) 0) || (numFDX60gensym18540281_) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(numFDX60gensym18540281_, ((NI) 0), ((NI) IL64(9223372036854775807))); } asgnRef((void**) (&(*s).fds), (tySequence__iPL3rW9a9bV9cIzaXekL6AsDg*) setLengthSeqV2(&((*s).fds)->Sup, (&NTI__iPL3rW9a9bV9cIzaXekL6AsDg_), ((NI) (numFDX60gensym18540281_)))); { NI iX60gensym18540282_; NI i; iX60gensym18540282_ = (NI)0;
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
i = (*s).numFD; {
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
while (1) { NI TM__ln5vuDpFyDrAqQbYD2g52Q_21;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (!(i < numFDX60gensym18540281_)) goto LA13;
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
iX60gensym18540282_ = i; if ((NU)(iX60gensym18540282_) >= (NU)((*s).fds ? (*s).fds->Sup.len : 0)){ raiseIndexError2(iX60gensym18540282_,((*s).fds ? (*s).fds->Sup.len : 0)-1); }
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*s).fds->data[iX60gensym18540282_].ident = ((NI) -1);
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (nimAddInt(i, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_21)) { raiseOverflow(); }; i = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_21); } LA13: ;
}
}
#line 145 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*s).numFD = numFDX60gensym18540281_; }
LA7_: ;
#line 505 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NIM_BOOL T16_;
#line 505 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 505 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T16_ = (NIM_BOOL)0; T16_ = contains__OZFzGZer6mx0buZiLTnhyQselectors(s, fdi); if (!T16_) goto LA17_;
#line 506 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((NU)(fdi) >= (NU)((*s).fds ? (*s).fds->Sup.len : 0)){ raiseIndexError2(fdi,((*s).fds ? (*s).fds->Sup.len : 0)-1); } result = (&(*s).fds->data[fdi].data); }
LA17_: ;
return result;}
static N_NIMCALL(void, Marker_tySequence__5L9b5Ztm9adPEys1vE9cEPQJA)(void* p, NI op) {
tySequence__5L9b5Ztm9adPEys1vE9cEPQJA* a;
NI T1_; a = (tySequence__5L9b5Ztm9adPEys1vE9cEPQJA*)p;
T1_ = (NI)0; for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
nimGCvisit((void*)a->data[T1_].data.readList, op); nimGCvisit((void*)a->data[T1_].data.writeList, op); }
}
static N_NIMCALL(void, Marker_tyRef__Y5hK0M9cL3lXwccEV9cgR9cQw)(void* p, NI op) {
tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ* a;
a = (tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ*)p;
nimGCvisit((void*)(*a).fds, op);}
#line 162 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
N_LIB_PRIVATE N_NIMCALL(void, updateHandle__l2o1CcnG9arehtEoJlMlHxg)(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* s, NI fd, tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg events) { tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg maskEvents; NI fdi; tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg* pkey_1;
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
maskEvents = 508;
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
fdi = fd;
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((*s).maxFD <= fdi)) goto LA3_;
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__DsOWi00vXgEmCXwnjpsJhw(((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_19));
}
LA3_: ;
#line 166 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI numFDX60gensym18560041_;
#line 136 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((*s).numFD <= fdi)) goto LA7_;
#line 137 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
numFDX60gensym18560041_ = (*s).numFD; {
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
while (1) {
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(numFDX60gensym18560041_ <= fdi)) goto LA10;
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
stareq___ogcC1Md4c289bEhAZWpmZUwsystem((&numFDX60gensym18560041_), ((NI) 2));
} LA10: ;
}
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((numFDX60gensym18560041_) < ((NI) 0) || (numFDX60gensym18560041_) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(numFDX60gensym18560041_, ((NI) 0), ((NI) IL64(9223372036854775807))); } asgnRef((void**) (&(*s).fds), (tySequence__iPL3rW9a9bV9cIzaXekL6AsDg*) setLengthSeqV2(&((*s).fds)->Sup, (&NTI__iPL3rW9a9bV9cIzaXekL6AsDg_), ((NI) (numFDX60gensym18560041_)))); { NI iX60gensym18560042_; NI i; iX60gensym18560042_ = (NI)0;
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
i = (*s).numFD; {
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
while (1) { NI TM__ln5vuDpFyDrAqQbYD2g52Q_24;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (!(i < numFDX60gensym18560041_)) goto LA13;
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
iX60gensym18560042_ = i; if ((NU)(iX60gensym18560042_) >= (NU)((*s).fds ? (*s).fds->Sup.len : 0)){ raiseIndexError2(iX60gensym18560042_,((*s).fds ? (*s).fds->Sup.len : 0)-1); }
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*s).fds->data[iX60gensym18560042_].ident = ((NI) -1);
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (nimAddInt(i, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_24)) { raiseOverflow(); }; i = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_24); } LA13: ;
}
}
#line 145 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*s).numFD = numFDX60gensym18560041_; }
LA7_: ;
#line 167 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((NU)(fdi) >= (NU)((*s).fds ? (*s).fds->Sup.len : 0)){ raiseIndexError2(fdi,((*s).fds ? (*s).fds->Sup.len : 0)-1); } pkey_1 = (&(*s).fds->data[fdi]);
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NimStringDesc* T18_; NimStringDesc* T19_; NimStringDesc* T20_;
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!(!(((*pkey_1).ident == ((NI) -1))))) goto LA16_;
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T18_ = (NimStringDesc*)0;
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T19_ = (NimStringDesc*)0; T19_ = nimIntToStr(fdi);
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T20_ = (NimStringDesc*)0; T20_ = nsuFormatSingleElem(((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_26), T19_); T18_ = rawNewString((T20_ ? T20_->Sup.len : 0) + 160);appendString(T18_, ((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_25));appendString(T18_, T20_);
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(T18_);
}
LA16_: ;
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!((((*pkey_1).events & maskEvents) == 0))) goto LA23_;
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_27));
}
LA23_: ;
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ struct epoll_event epv;
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!(((*pkey_1).events == events))) goto LA27_;
#line 172 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
chckNil((void*)(&epv)); nimZeroMem((void*)(&epv), sizeof(struct epoll_event)); epv.events = ((NU32) 8192);
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
epv.data.u64 = ((NU64) (((NU) (fdi))));
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 0))&31U)))!=0)) goto LA31_;
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
epv.events = (NU32)(epv.events | ((NU32) 1)); }
LA31_: ;
#line 176 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 176 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 1))&31U)))!=0)) goto LA35_;
#line 176 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 176 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
epv.events = (NU32)(epv.events | ((NU32) 4)); }
LA35_: ;
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI TM__ln5vuDpFyDrAqQbYD2g52Q_28;
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((*pkey_1).events == 0)) goto LA39_;
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T43_; NI32 T46_;
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T43_ = (int)0; T43_ = epoll_ctl((*s).epollFD, ((int) 1), ((int) (fdi)), (&epv)); if (!!((T43_ == ((NI32) 0)))) goto LA44_;
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T46_ = (NI32)0; T46_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T46_);
}
LA44_: ;
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimAddInt((*s).count, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_28)) { raiseOverflow(); }; (*s).count = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_28); }
goto LA37_;
LA39_: ;
{
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!((events == 0))) goto LA50_;
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T54_; NI32 T57_;
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T54_ = (int)0; T54_ = epoll_ctl((*s).epollFD, ((int) 3), ((int) (fdi)), (&epv)); if (!!((T54_ == ((NI32) 0)))) goto LA55_;
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T57_ = (NI32)0; T57_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T57_);
}
LA55_: ;
}
goto LA48_;
LA50_: ;
{ NI TM__ln5vuDpFyDrAqQbYD2g52Q_29;
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T61_; NI32 T64_;
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T61_ = (int)0; T61_ = epoll_ctl((*s).epollFD, ((int) 2), ((int) (fdi)), (&epv)); if (!!((T61_ == ((NI32) 0)))) goto LA62_;
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T64_ = (NI32)0; T64_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T64_);
}
LA62_: ;
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimSubInt((*s).count, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_29)) { raiseOverflow(); }; (*s).count = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_29); }
LA48_: ;
}
LA37_: ;
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*pkey_1).events = events; }
LA27_: ;
}
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
N_LIB_PRIVATE N_NIMCALL(void, unregister__GO5h9ak8yiGEI40zvJNb4Lg)(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* s, NI fd) { NI fdi; tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg* pkey_1; tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww emptyX60gensym18505216_;
#line 193 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
fdi = fd;
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((*s).maxFD <= fdi)) goto LA3_;
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__DsOWi00vXgEmCXwnjpsJhw(((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_19));
}
LA3_: ;
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI numFDX60gensym18470204_;
#line 136 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((*s).numFD <= fdi)) goto LA7_;
#line 137 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
numFDX60gensym18470204_ = (*s).numFD; {
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
while (1) {
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(numFDX60gensym18470204_ <= fdi)) goto LA10;
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
stareq___ogcC1Md4c289bEhAZWpmZUwsystem((&numFDX60gensym18470204_), ((NI) 2));
} LA10: ;
}
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((numFDX60gensym18470204_) < ((NI) 0) || (numFDX60gensym18470204_) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(numFDX60gensym18470204_, ((NI) 0), ((NI) IL64(9223372036854775807))); } asgnRef((void**) (&(*s).fds), (tySequence__iPL3rW9a9bV9cIzaXekL6AsDg*) setLengthSeqV2(&((*s).fds)->Sup, (&NTI__iPL3rW9a9bV9cIzaXekL6AsDg_), ((NI) (numFDX60gensym18470204_)))); { NI iX60gensym18470205_; NI i; iX60gensym18470205_ = (NI)0;
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
i = (*s).numFD; {
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
while (1) { NI TM__ln5vuDpFyDrAqQbYD2g52Q_30;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (!(i < numFDX60gensym18470204_)) goto LA13;
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
iX60gensym18470205_ = i; if ((NU)(iX60gensym18470205_) >= (NU)((*s).fds ? (*s).fds->Sup.len : 0)){ raiseIndexError2(iX60gensym18470205_,((*s).fds ? (*s).fds->Sup.len : 0)-1); }
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*s).fds->data[iX60gensym18470205_].ident = ((NI) -1);
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (nimAddInt(i, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_30)) { raiseOverflow(); }; i = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_30); } LA13: ;
}
}
#line 145 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*s).numFD = numFDX60gensym18470204_; }
LA7_: ;
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((NU)(fdi) >= (NU)((*s).fds ? (*s).fds->Sup.len : 0)){ raiseIndexError2(fdi,((*s).fds ? (*s).fds->Sup.len : 0)-1); } pkey_1 = (&(*s).fds->data[fdi]);
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NimStringDesc* T18_; NimStringDesc* T19_; NimStringDesc* T20_;
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!(!(((*pkey_1).ident == ((NI) -1))))) goto LA16_;
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T18_ = (NimStringDesc*)0;
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T19_ = (NimStringDesc*)0; T19_ = nimIntToStr(fdi);
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T20_ = (NimStringDesc*)0; T20_ = nsuFormatSingleElem(((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_26), T19_); T18_ = rawNewString((T20_ ? T20_->Sup.len : 0) + 160);appendString(T18_, ((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_31));appendString(T18_, T20_);
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(T18_);
}
LA16_: ;
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!(((*pkey_1).events == 0))) goto LA23_;
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NIM_BOOL T27_; NIM_BOOL T28_; struct epoll_event epv; NI TM__ln5vuDpFyDrAqQbYD2g52Q_32;
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T27_ = (NIM_BOOL)0;
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T28_ = (NIM_BOOL)0;
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T28_ = (((*pkey_1).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 0))&31U)))!=0); if (T28_) goto LA29_;
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T28_ = (((*pkey_1).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 1))&31U)))!=0); LA29_: ;
T27_ = T28_; if (T27_) goto LA30_;
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T27_ = (((*pkey_1).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 6))&31U)))!=0); LA30_: ;
if (!T27_) goto LA31_;
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
chckNil((void*)(&epv)); nimZeroMem((void*)(&epv), sizeof(struct epoll_event));
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T35_; NI32 T38_;
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T35_ = (int)0; T35_ = epoll_ctl((*s).epollFD, ((int) 2), ((int) (fdi)), (&epv)); if (!!((T35_ == ((NI32) 0)))) goto LA36_;
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T38_ = (NI32)0; T38_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T38_);
}
LA36_: ;
#line 205 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimSubInt((*s).count, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_32)) { raiseOverflow(); }; (*s).count = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_32); }
goto LA25_;
LA31_: ;
{
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(((*pkey_1).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 2))&31U)))!=0)) goto LA40_;
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ struct epoll_event epv_2; NI TM__ln5vuDpFyDrAqQbYD2g52Q_33;
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!((((*pkey_1).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 9))&31U)))!=0))) goto LA44_;
#line 208 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
chckNil((void*)(&epv_2)); nimZeroMem((void*)(&epv_2), sizeof(struct epoll_event));
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T48_; NI32 T51_;
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T48_ = (int)0; T48_ = epoll_ctl((*s).epollFD, ((int) 2), ((int) (fdi)), (&epv_2)); if (!!((T48_ == ((NI32) 0)))) goto LA49_;
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T51_ = (NI32)0; T51_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T51_);
}
LA49_: ;
#line 211 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimSubInt((*s).count, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_33)) { raiseOverflow(); }; (*s).count = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_33); }
LA44_: ;
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T54_; NI32 T57_;
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T54_ = (int)0; T54_ = close(((int) (fdi))); if (!!((T54_ == ((NI32) 0)))) goto LA55_;
#line 213 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 213 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 213 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T57_ = (NI32)0; T57_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 213 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T57_);
}
LA55_: ;
}
goto LA25_;
LA40_: ;
{ struct epoll_event epv_3; sigset_t nmask; sigset_t omask; int T67_; int T68_; int T69_; NI TM__ln5vuDpFyDrAqQbYD2g52Q_34;
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(((*pkey_1).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 3))&31U)))!=0)) goto LA59_;
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
chckNil((void*)(&epv_3)); nimZeroMem((void*)(&epv_3), sizeof(struct epoll_event));
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T63_; NI32 T66_;
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T63_ = (int)0; T63_ = epoll_ctl((*s).epollFD, ((int) 2), ((int) (fdi)), (&epv_3)); if (!!((T63_ == ((NI32) 0)))) goto LA64_;
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T66_ = (NI32)0; T66_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T66_);
}
LA64_: ;
nimZeroMem((void*)(&nmask), sizeof(sigset_t)); nimZeroMem((void*)(&omask), sizeof(sigset_t));
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T67_ = (int)0; T67_ = sigemptyset((&nmask)); (void)(T67_);
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T68_ = (int)0; T68_ = sigemptyset((&omask)); (void)(T68_);
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((NU)(fdi) >= (NU)((*s).fds ? (*s).fds->Sup.len : 0)){ raiseIndexError2(fdi,((*s).fds ? (*s).fds->Sup.len : 0)-1); } if (((*s).fds->data[fdi].param) < ((int) (-2147483647 -1)) || ((*s).fds->data[fdi].param) > ((int) 2147483647)){ raiseRangeErrorI((*s).fds->data[fdi].param, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T69_ = (int)0; T69_ = sigaddset((&nmask), ((int) ((*s).fds->data[fdi].param))); (void)(T69_);
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T72_; NI32 T75_;
#line 309 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 309 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 309 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
T72_ = (int)0; T72_ = sigprocmask(((int) 1), (&nmask), (&omask)); if (!(T72_ == ((NI32) -1))) goto LA73_;
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
T75_ = (NI32)0; T75_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T75_);
}
LA73_: ;
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimSubInt((*s).count, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_34)) { raiseOverflow(); }; (*s).count = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_34);
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T78_; NI32 T81_;
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T78_ = (int)0; T78_ = close(((int) (fdi))); if (!!((T78_ == ((NI32) 0)))) goto LA79_;
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T81_ = (NI32)0; T81_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T81_);
}
LA79_: ;
}
goto LA25_;
LA59_: ;
{
#line 226 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(((*pkey_1).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 4))&31U)))!=0)) goto LA83_;
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ struct epoll_event epv_4; sigset_t nmask_2; sigset_t omask_2; int T95_; int T96_; int T97_; NI TM__ln5vuDpFyDrAqQbYD2g52Q_35;
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!((((*pkey_1).events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 9))&31U)))!=0))) goto LA87_;
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
chckNil((void*)(&epv_4)); nimZeroMem((void*)(&epv_4), sizeof(struct epoll_event));
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T91_; NI32 T94_;
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T91_ = (int)0; T91_ = epoll_ctl((*s).epollFD, ((int) 2), ((int) (fdi)), (&epv_4)); if (!!((T91_ == ((NI32) 0)))) goto LA92_;
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T94_ = (NI32)0; T94_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T94_);
}
LA92_: ;
nimZeroMem((void*)(&nmask_2), sizeof(sigset_t)); nimZeroMem((void*)(&omask_2), sizeof(sigset_t));
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T95_ = (int)0; T95_ = sigemptyset((&nmask_2)); (void)(T95_);
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T96_ = (int)0; T96_ = sigemptyset((&omask_2)); (void)(T96_);
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T97_ = (int)0; T97_ = sigaddset((&nmask_2), ((int) 17)); (void)(T97_);
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T100_; NI32 T103_;
#line 309 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 309 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 309 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
T100_ = (int)0; T100_ = sigprocmask(((int) 1), (&nmask_2), (&omask_2)); if (!(T100_ == ((NI32) -1))) goto LA101_;
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
T103_ = (NI32)0; T103_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T103_);
}
LA101_: ;
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimSubInt((*s).count, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_35)) { raiseOverflow(); }; (*s).count = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_35); }
LA87_: ;
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T106_; NI32 T109_;
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T106_ = (int)0; T106_ = close(((int) (fdi))); if (!!((T106_ == ((NI32) 0)))) goto LA107_;
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T109_ = (NI32)0; T109_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T109_);
}
LA107_: ;
}
goto LA25_;
LA83_: ;
LA25_: ;
}
LA23_: ;
nimZeroMem((void*)(&emptyX60gensym18505216_), sizeof(tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww));
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
(*pkey_1).ident = ((NI) -1);
#line 315 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
(*pkey_1).events = 0;
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
unsureAsgnRef((void**) (&(*pkey_1).data.reader.function.ClE_0), emptyX60gensym18505216_.reader.function.ClE_0); (*pkey_1).data.reader.function.ClP_0 = emptyX60gensym18505216_.reader.function.ClP_0; (*pkey_1).data.reader.udata = emptyX60gensym18505216_.reader.udata; (*pkey_1).data.rdata = emptyX60gensym18505216_.rdata; unsureAsgnRef((void**) (&(*pkey_1).data.writer.function.ClE_0), emptyX60gensym18505216_.writer.function.ClE_0); (*pkey_1).data.writer.function.ClP_0 = emptyX60gensym18505216_.writer.function.ClP_0; (*pkey_1).data.writer.udata = emptyX60gensym18505216_.writer.udata; (*pkey_1).data.wdata = emptyX60gensym18505216_.wdata;}
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
N_LIB_PRIVATE N_NIMCALL(void, registerHandle__4R9aQTwr5gBdQhGD8tL3VYw)(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA* s_0, NI fd, tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg events, tyObject_SelectorData__bCtwor9caPGFc9ccCxVlW5Ww* data_0) { NI fdi; tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg* skeyX60gensym18465201_;
#line 149 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
fdi = fd;
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((*s_0).maxFD <= fdi)) goto LA3_;
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__DsOWi00vXgEmCXwnjpsJhw(((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_19));
}
LA3_: ;
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NI numFDX60gensym18435787_;
#line 136 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((*s_0).numFD <= fdi)) goto LA7_;
#line 137 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
numFDX60gensym18435787_ = (*s_0).numFD; {
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
while (1) {
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!(numFDX60gensym18435787_ <= fdi)) goto LA10;
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
stareq___ogcC1Md4c289bEhAZWpmZUwsystem((&numFDX60gensym18435787_), ((NI) 2));
} LA10: ;
}
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((numFDX60gensym18435787_) < ((NI) 0) || (numFDX60gensym18435787_) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(numFDX60gensym18435787_, ((NI) 0), ((NI) IL64(9223372036854775807))); } asgnRef((void**) (&(*s_0).fds), (tySequence__iPL3rW9a9bV9cIzaXekL6AsDg*) setLengthSeqV2(&((*s_0).fds)->Sup, (&NTI__iPL3rW9a9bV9cIzaXekL6AsDg_), ((NI) (numFDX60gensym18435787_)))); { NI iX60gensym18435788_; NI i; iX60gensym18435788_ = (NI)0;
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
i = (*s_0).numFD; {
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
while (1) { NI TM__ln5vuDpFyDrAqQbYD2g52Q_36;
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (!(i < numFDX60gensym18435787_)) goto LA13;
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
iX60gensym18435788_ = i; if ((NU)(iX60gensym18435788_) >= (NU)((*s_0).fds ? (*s_0).fds->Sup.len : 0)){ raiseIndexError2(iX60gensym18435788_,((*s_0).fds ? (*s_0).fds->Sup.len : 0)-1); }
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*s_0).fds->data[iX60gensym18435788_].ident = ((NI) -1);
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (nimAddInt(i, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_36)) { raiseOverflow(); }; i = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_36); } LA13: ;
}
}
#line 145 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*s_0).numFD = numFDX60gensym18435787_; }
LA7_: ;
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ NimStringDesc* T18_; NimStringDesc* T19_; NimStringDesc* T20_;
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((NU)(fdi) >= (NU)((*s_0).fds ? (*s_0).fds->Sup.len : 0)){ raiseIndexError2(fdi,((*s_0).fds ? (*s_0).fds->Sup.len : 0)-1); } if (!!(((*s_0).fds->data[fdi].ident == ((NI) -1)))) goto LA16_;
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T18_ = (NimStringDesc*)0;
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T19_ = (NimStringDesc*)0; T19_ = nimIntToStr(fdi);
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T20_ = (NimStringDesc*)0; T20_ = nsuFormatSingleElem(((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_38), T19_); T18_ = rawNewString((T20_ ? T20_->Sup.len : 0) + 159);appendString(T18_, ((NimStringDesc*) &TM__ln5vuDpFyDrAqQbYD2g52Q_37));appendString(T18_, T20_);
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(T18_);
}
LA16_: ;
#line 289 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
if ((NU)(fdi) >= (NU)((*s_0).fds ? (*s_0).fds->Sup.len : 0)){ raiseIndexError2(fdi,((*s_0).fds ? (*s_0).fds->Sup.len : 0)-1); } skeyX60gensym18465201_ = (&(*s_0).fds->data[fdi]);
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*skeyX60gensym18465201_).ident = fdi;
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*skeyX60gensym18465201_).events = events;
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
(*skeyX60gensym18465201_).param = ((NI) 0);
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/selectors.nim"
unsureAsgnRef((void**) (&(*skeyX60gensym18465201_).data.reader.function.ClE_0), (*data_0).reader.function.ClE_0); (*skeyX60gensym18465201_).data.reader.function.ClP_0 = (*data_0).reader.function.ClP_0; (*skeyX60gensym18465201_).data.reader.udata = (*data_0).reader.udata; (*skeyX60gensym18465201_).data.rdata = (*data_0).rdata; unsureAsgnRef((void**) (&(*skeyX60gensym18465201_).data.writer.function.ClE_0), (*data_0).writer.function.ClE_0); (*skeyX60gensym18465201_).data.writer.function.ClP_0 = (*data_0).writer.function.ClP_0; (*skeyX60gensym18465201_).data.writer.udata = (*data_0).writer.udata; (*skeyX60gensym18465201_).data.wdata = (*data_0).wdata;
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ struct epoll_event epv; NI TM__ln5vuDpFyDrAqQbYD2g52Q_39;
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!!((events == 0))) goto LA23_;
#line 154 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
chckNil((void*)(&epv)); nimZeroMem((void*)(&epv), sizeof(struct epoll_event)); epv.events = ((NU32) 8192);
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
epv.data.u64 = ((NU64) (((NU) (fdi))));
#line 156 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 156 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 0))&31U)))!=0)) goto LA27_;
#line 156 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 156 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
epv.events = (NU32)(epv.events | ((NU32) 1)); }
LA27_: ;
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (!((events &(1U<<((NU)(((tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg) 1))&31U)))!=0)) goto LA31_;
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
epv.events = (NU32)(epv.events | ((NU32) 4)); }
LA31_: ;
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
{ int T35_; NI32 T38_;
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if ((fdi) < ((int) (-2147483647 -1)) || (fdi) > ((int) 2147483647)){ raiseRangeErrorI(fdi, ((int) (-2147483647 -1)), ((int) 2147483647)); }
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T35_ = (int)0; T35_ = epoll_ctl((*s_0).epollFD, ((int) 1), ((int) (fdi)), (&epv)); if (!!((T35_ == ((NI32) 0)))) goto LA36_;
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
T38_ = (NI32)0; T38_ = osLastError__9bUWNxbcGnToMWA9b79aTXLIw();
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
raiseIOSelectorsError__E2YyF3Q0SipazWf0jnjh7w(T38_);
}
LA36_: ;
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/ioselects/ioselectors_epoll.nim"
if (nimAddInt((*s_0).count, ((NI) 1), &TM__ln5vuDpFyDrAqQbYD2g52Q_39)) { raiseOverflow(); }; (*s_0).count = (NI)(TM__ln5vuDpFyDrAqQbYD2g52Q_39); }
LA23_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, stdlib_selectorsDatInit000)(void) {
#line 999999 "generated_not_to_break_here"
static TNimNode* TM__ln5vuDpFyDrAqQbYD2g52Q_2_5[5];
static TNimNode* TM__ln5vuDpFyDrAqQbYD2g52Q_3_4[4];
static TNimNode* TM__ln5vuDpFyDrAqQbYD2g52Q_4_17[17];
NI TM__ln5vuDpFyDrAqQbYD2g52Q_6;
static char* NIM_CONST TM__ln5vuDpFyDrAqQbYD2g52Q_5[17] = {
"Read",
"Write",
"Timer",
"Signal",
"Process",
"Vnode",
"User",
"Error",
"Oneshot",
"Finished",
"VnodeWrite",
"VnodeDelete",
"VnodeExtend",
"VnodeAttrib",
"VnodeLink",
"VnodeRename",
"VnodeRevoke"};
static TNimNode* TM__ln5vuDpFyDrAqQbYD2g52Q_7_3[3];
static TNimNode* TM__ln5vuDpFyDrAqQbYD2g52Q_22_5[5];
static TNimNode* TM__ln5vuDpFyDrAqQbYD2g52Q_23_4[4];
static TNimNode TM__ln5vuDpFyDrAqQbYD2g52Q_0[46];NTI__g9a4S3yH20afsjHZx9aezm9bA_.size = sizeof(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA);
NTI__g9a4S3yH20afsjHZx9aezm9bA_.kind = 18;
NTI__g9a4S3yH20afsjHZx9aezm9bA_.base = 0;
NTI__g9a4S3yH20afsjHZx9aezm9bA_.name = "SelectorImpl[asyncloop.SelectorData]";
NTI__g9a4S3yH20afsjHZx9aezm9bA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__g9a4S3yH20afsjHZx9aezm9bA_;
TM__ln5vuDpFyDrAqQbYD2g52Q_2_5[0] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[1];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[1].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[1].offset = offsetof(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA, epollFD);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[1].typ = (&NTI__nlCscttRCss70IBTyuBqnA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[1].name = "epollFD";
TM__ln5vuDpFyDrAqQbYD2g52Q_2_5[1] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[2];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[2].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[2].offset = offsetof(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA, maxFD);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[2].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[2].name = "maxFD";
TM__ln5vuDpFyDrAqQbYD2g52Q_2_5[2] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[3];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[3].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[3].offset = offsetof(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA, numFD);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[3].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[3].name = "numFD";
TM__ln5vuDpFyDrAqQbYD2g52Q_2_5[3] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[4];
NTI__s8WfktWY9bd6XxYsLizlOtg_.size = sizeof(tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg);
NTI__s8WfktWY9bd6XxYsLizlOtg_.kind = 18;
NTI__s8WfktWY9bd6XxYsLizlOtg_.base = 0;
NTI__s8WfktWY9bd6XxYsLizlOtg_.name = "SelectorKey[asyncloop.SelectorData]";
NTI__s8WfktWY9bd6XxYsLizlOtg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__s8WfktWY9bd6XxYsLizlOtg_;
TM__ln5vuDpFyDrAqQbYD2g52Q_3_4[0] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[6];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[6].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[6].offset = offsetof(tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg, ident);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[6].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[6].name = "ident";
TM__ln5vuDpFyDrAqQbYD2g52Q_3_4[1] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[7];
NTI__nI40bZzTyYVrl763dZ9aHDg_.size = sizeof(tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg);
NTI__nI40bZzTyYVrl763dZ9aHDg_.kind = 14;
NTI__nI40bZzTyYVrl763dZ9aHDg_.base = 0;
NTI__nI40bZzTyYVrl763dZ9aHDg_.flags = 3;
NTI__nI40bZzTyYVrl763dZ9aHDg_.name = "Event";
NTI__nI40bZzTyYVrl763dZ9aHDg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__nI40bZzTyYVrl763dZ9aHDg_;
for (TM__ln5vuDpFyDrAqQbYD2g52Q_6 = 0; TM__ln5vuDpFyDrAqQbYD2g52Q_6 < 17; TM__ln5vuDpFyDrAqQbYD2g52Q_6++) {
TM__ln5vuDpFyDrAqQbYD2g52Q_0[TM__ln5vuDpFyDrAqQbYD2g52Q_6+8].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[TM__ln5vuDpFyDrAqQbYD2g52Q_6+8].offset = TM__ln5vuDpFyDrAqQbYD2g52Q_6;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[TM__ln5vuDpFyDrAqQbYD2g52Q_6+8].name = TM__ln5vuDpFyDrAqQbYD2g52Q_5[TM__ln5vuDpFyDrAqQbYD2g52Q_6];
TM__ln5vuDpFyDrAqQbYD2g52Q_4_17[TM__ln5vuDpFyDrAqQbYD2g52Q_6] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[TM__ln5vuDpFyDrAqQbYD2g52Q_6+8];
}
TM__ln5vuDpFyDrAqQbYD2g52Q_0[25].len = 17; TM__ln5vuDpFyDrAqQbYD2g52Q_0[25].kind = 2; TM__ln5vuDpFyDrAqQbYD2g52Q_0[25].sons = &TM__ln5vuDpFyDrAqQbYD2g52Q_4_17[0];
NTI__nI40bZzTyYVrl763dZ9aHDg_.node = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[25];
NTI__YIRsZrDT89buh37M5yeUgng_.size = sizeof(tySet_tyEnum_Event__nI40bZzTyYVrl763dZ9aHDg);
NTI__YIRsZrDT89buh37M5yeUgng_.kind = 19;
NTI__YIRsZrDT89buh37M5yeUgng_.base = (&NTI__nI40bZzTyYVrl763dZ9aHDg_);
NTI__YIRsZrDT89buh37M5yeUgng_.flags = 3;
NTI__YIRsZrDT89buh37M5yeUgng_.name = "set[Event]";
NTI__YIRsZrDT89buh37M5yeUgng_.nextType = nimTypeRoot; nimTypeRoot=&NTI__YIRsZrDT89buh37M5yeUgng_;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[26].len = 0; TM__ln5vuDpFyDrAqQbYD2g52Q_0[26].kind = 0;
NTI__YIRsZrDT89buh37M5yeUgng_.node = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[26];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[7].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[7].offset = offsetof(tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg, events);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[7].typ = (&NTI__YIRsZrDT89buh37M5yeUgng_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[7].name = "events";
TM__ln5vuDpFyDrAqQbYD2g52Q_3_4[2] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[27];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[27].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[27].offset = offsetof(tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg, param);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[27].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[27].name = "param";
TM__ln5vuDpFyDrAqQbYD2g52Q_3_4[3] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[28];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[28].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[28].offset = offsetof(tyObject_SelectorKey__s8WfktWY9bd6XxYsLizlOtg, data);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[28].typ = (&NTI__bCtwor9caPGFc9ccCxVlW5Ww_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[28].name = "data";
TM__ln5vuDpFyDrAqQbYD2g52Q_0[5].len = 4; TM__ln5vuDpFyDrAqQbYD2g52Q_0[5].kind = 2; TM__ln5vuDpFyDrAqQbYD2g52Q_0[5].sons = &TM__ln5vuDpFyDrAqQbYD2g52Q_3_4[0];
NTI__s8WfktWY9bd6XxYsLizlOtg_.node = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[5];
NTI__iPL3rW9a9bV9cIzaXekL6AsDg_.size = sizeof(tySequence__iPL3rW9a9bV9cIzaXekL6AsDg*);
NTI__iPL3rW9a9bV9cIzaXekL6AsDg_.kind = 24;
NTI__iPL3rW9a9bV9cIzaXekL6AsDg_.base = (&NTI__s8WfktWY9bd6XxYsLizlOtg_);
NTI__iPL3rW9a9bV9cIzaXekL6AsDg_.name = "seq[SelectorKey[asyncloop.SelectorData]]";
NTI__iPL3rW9a9bV9cIzaXekL6AsDg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__iPL3rW9a9bV9cIzaXekL6AsDg_;
NTI__iPL3rW9a9bV9cIzaXekL6AsDg_.marker = Marker_tySequence__iPL3rW9a9bV9cIzaXekL6AsDg;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[4].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[4].offset = offsetof(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA, fds);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[4].typ = (&NTI__iPL3rW9a9bV9cIzaXekL6AsDg_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[4].name = "fds";
TM__ln5vuDpFyDrAqQbYD2g52Q_2_5[4] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[29];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[29].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[29].offset = offsetof(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA, count);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[29].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[29].name = "count";
TM__ln5vuDpFyDrAqQbYD2g52Q_0[0].len = 5; TM__ln5vuDpFyDrAqQbYD2g52Q_0[0].kind = 2; TM__ln5vuDpFyDrAqQbYD2g52Q_0[0].sons = &TM__ln5vuDpFyDrAqQbYD2g52Q_2_5[0];
NTI__g9a4S3yH20afsjHZx9aezm9bA_.node = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[0];
NTI__HhFgDyQdqUwF69cxqPVsT8w_.size = sizeof(tyObject_SelectorImpl__g9a4S3yH20afsjHZx9aezm9bA*);
NTI__HhFgDyQdqUwF69cxqPVsT8w_.kind = 22;
NTI__HhFgDyQdqUwF69cxqPVsT8w_.base = (&NTI__g9a4S3yH20afsjHZx9aezm9bA_);
NTI__HhFgDyQdqUwF69cxqPVsT8w_.name = "Selector[asyncloop.SelectorData]";
NTI__HhFgDyQdqUwF69cxqPVsT8w_.nextType = nimTypeRoot; nimTypeRoot=&NTI__HhFgDyQdqUwF69cxqPVsT8w_;
NTI__HhFgDyQdqUwF69cxqPVsT8w_.marker = Marker_tyRef__HhFgDyQdqUwF69cxqPVsT8w;
NTI__vOvPQEijZeFv1xAgbh5rNw_.size = sizeof(tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw);
NTI__vOvPQEijZeFv1xAgbh5rNw_.kind = 18;
NTI__vOvPQEijZeFv1xAgbh5rNw_.base = 0;
NTI__vOvPQEijZeFv1xAgbh5rNw_.flags = 3;
NTI__vOvPQEijZeFv1xAgbh5rNw_.name = "ReadyKey";
NTI__vOvPQEijZeFv1xAgbh5rNw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__vOvPQEijZeFv1xAgbh5rNw_;
TM__ln5vuDpFyDrAqQbYD2g52Q_7_3[0] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[31];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[31].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[31].offset = offsetof(tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw, fd);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[31].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[31].name = "fd";
TM__ln5vuDpFyDrAqQbYD2g52Q_7_3[1] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[32];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[32].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[32].offset = offsetof(tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw, events);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[32].typ = (&NTI__YIRsZrDT89buh37M5yeUgng_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[32].name = "events";
TM__ln5vuDpFyDrAqQbYD2g52Q_7_3[2] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[33];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[33].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[33].offset = offsetof(tyObject_ReadyKey__vOvPQEijZeFv1xAgbh5rNw, errorCode);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[33].typ = (&NTI__sVg18TP9cLifHyygRe9cro9aA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[33].name = "errorCode";
TM__ln5vuDpFyDrAqQbYD2g52Q_0[30].len = 3; TM__ln5vuDpFyDrAqQbYD2g52Q_0[30].kind = 2; TM__ln5vuDpFyDrAqQbYD2g52Q_0[30].sons = &TM__ln5vuDpFyDrAqQbYD2g52Q_7_3[0];
NTI__vOvPQEijZeFv1xAgbh5rNw_.node = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[30];
NTI__QyK3XdhgwEegLQs5Yj3Vew_.size = sizeof(tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew);
NTI__QyK3XdhgwEegLQs5Yj3Vew_.kind = 17;
NTI__QyK3XdhgwEegLQs5Yj3Vew_.base = (&NTI__XEycrCsme5C8CVWAYEcdBQ_);
NTI__QyK3XdhgwEegLQs5Yj3Vew_.name = "IOSelectorsException";
NTI__QyK3XdhgwEegLQs5Yj3Vew_.nextType = nimTypeRoot; nimTypeRoot=&NTI__QyK3XdhgwEegLQs5Yj3Vew_;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[34].len = 0; TM__ln5vuDpFyDrAqQbYD2g52Q_0[34].kind = 2;
NTI__QyK3XdhgwEegLQs5Yj3Vew_.node = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[34];
NTI__AwXiAVUXPdcLyQW5mY84tA_.size = sizeof(tyObject_IOSelectorsException__QyK3XdhgwEegLQs5Yj3Vew*);
NTI__AwXiAVUXPdcLyQW5mY84tA_.kind = 22;
NTI__AwXiAVUXPdcLyQW5mY84tA_.base = (&NTI__QyK3XdhgwEegLQs5Yj3Vew_);
NTI__AwXiAVUXPdcLyQW5mY84tA_.name = "ref IOSelectorsException";
NTI__AwXiAVUXPdcLyQW5mY84tA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__AwXiAVUXPdcLyQW5mY84tA_;
NTI__AwXiAVUXPdcLyQW5mY84tA_.marker = Marker_tyRef__AwXiAVUXPdcLyQW5mY84tA;
NTI__jkoZicTBtYdKkYck5SFJEQ_.size = sizeof(tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ);
NTI__jkoZicTBtYdKkYck5SFJEQ_.kind = 18;
NTI__jkoZicTBtYdKkYck5SFJEQ_.base = 0;
NTI__jkoZicTBtYdKkYck5SFJEQ_.name = "SelectorImpl[asyncdispatch.AsyncData]";
NTI__jkoZicTBtYdKkYck5SFJEQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__jkoZicTBtYdKkYck5SFJEQ_;
TM__ln5vuDpFyDrAqQbYD2g52Q_22_5[0] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[36];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[36].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[36].offset = offsetof(tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ, epollFD);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[36].typ = (&NTI__nlCscttRCss70IBTyuBqnA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[36].name = "epollFD";
TM__ln5vuDpFyDrAqQbYD2g52Q_22_5[1] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[37];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[37].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[37].offset = offsetof(tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ, maxFD);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[37].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[37].name = "maxFD";
TM__ln5vuDpFyDrAqQbYD2g52Q_22_5[2] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[38];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[38].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[38].offset = offsetof(tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ, numFD);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[38].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[38].name = "numFD";
TM__ln5vuDpFyDrAqQbYD2g52Q_22_5[3] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[39];
NTI__561GPxg10TdJiEAAWoraPw_.size = sizeof(tyObject_SelectorKey__561GPxg10TdJiEAAWoraPw);
NTI__561GPxg10TdJiEAAWoraPw_.kind = 18;
NTI__561GPxg10TdJiEAAWoraPw_.base = 0;
NTI__561GPxg10TdJiEAAWoraPw_.name = "SelectorKey[asyncdispatch.AsyncData]";
NTI__561GPxg10TdJiEAAWoraPw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__561GPxg10TdJiEAAWoraPw_;
TM__ln5vuDpFyDrAqQbYD2g52Q_23_4[0] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[41];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[41].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[41].offset = offsetof(tyObject_SelectorKey__561GPxg10TdJiEAAWoraPw, ident);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[41].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[41].name = "ident";
TM__ln5vuDpFyDrAqQbYD2g52Q_23_4[1] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[42];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[42].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[42].offset = offsetof(tyObject_SelectorKey__561GPxg10TdJiEAAWoraPw, events);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[42].typ = (&NTI__YIRsZrDT89buh37M5yeUgng_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[42].name = "events";
TM__ln5vuDpFyDrAqQbYD2g52Q_23_4[2] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[43];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[43].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[43].offset = offsetof(tyObject_SelectorKey__561GPxg10TdJiEAAWoraPw, param);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[43].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[43].name = "param";
TM__ln5vuDpFyDrAqQbYD2g52Q_23_4[3] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[44];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[44].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[44].offset = offsetof(tyObject_SelectorKey__561GPxg10TdJiEAAWoraPw, data);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[44].typ = (&NTI__hOYUN4IOpj9adMwn6W7S2VA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[44].name = "data";
TM__ln5vuDpFyDrAqQbYD2g52Q_0[40].len = 4; TM__ln5vuDpFyDrAqQbYD2g52Q_0[40].kind = 2; TM__ln5vuDpFyDrAqQbYD2g52Q_0[40].sons = &TM__ln5vuDpFyDrAqQbYD2g52Q_23_4[0];
NTI__561GPxg10TdJiEAAWoraPw_.node = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[40];
NTI__5L9b5Ztm9adPEys1vE9cEPQJA_.size = sizeof(tySequence__5L9b5Ztm9adPEys1vE9cEPQJA*);
NTI__5L9b5Ztm9adPEys1vE9cEPQJA_.kind = 24;
NTI__5L9b5Ztm9adPEys1vE9cEPQJA_.base = (&NTI__561GPxg10TdJiEAAWoraPw_);
NTI__5L9b5Ztm9adPEys1vE9cEPQJA_.name = "seq[SelectorKey[asyncdispatch.AsyncData]]";
NTI__5L9b5Ztm9adPEys1vE9cEPQJA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__5L9b5Ztm9adPEys1vE9cEPQJA_;
NTI__5L9b5Ztm9adPEys1vE9cEPQJA_.marker = Marker_tySequence__5L9b5Ztm9adPEys1vE9cEPQJA;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[39].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[39].offset = offsetof(tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ, fds);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[39].typ = (&NTI__5L9b5Ztm9adPEys1vE9cEPQJA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[39].name = "fds";
TM__ln5vuDpFyDrAqQbYD2g52Q_22_5[4] = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[45];
TM__ln5vuDpFyDrAqQbYD2g52Q_0[45].kind = 1;
TM__ln5vuDpFyDrAqQbYD2g52Q_0[45].offset = offsetof(tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ, count);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[45].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__ln5vuDpFyDrAqQbYD2g52Q_0[45].name = "count";
TM__ln5vuDpFyDrAqQbYD2g52Q_0[35].len = 5; TM__ln5vuDpFyDrAqQbYD2g52Q_0[35].kind = 2; TM__ln5vuDpFyDrAqQbYD2g52Q_0[35].sons = &TM__ln5vuDpFyDrAqQbYD2g52Q_22_5[0];
NTI__jkoZicTBtYdKkYck5SFJEQ_.node = &TM__ln5vuDpFyDrAqQbYD2g52Q_0[35];
NTI__Y5hK0M9cL3lXwccEV9cgR9cQw_.size = sizeof(tyObject_SelectorImpl__jkoZicTBtYdKkYck5SFJEQ*);
NTI__Y5hK0M9cL3lXwccEV9cgR9cQw_.kind = 22;
NTI__Y5hK0M9cL3lXwccEV9cgR9cQw_.base = (&NTI__jkoZicTBtYdKkYck5SFJEQ_);
NTI__Y5hK0M9cL3lXwccEV9cgR9cQw_.name = "Selector[asyncdispatch.AsyncData]";
NTI__Y5hK0M9cL3lXwccEV9cgR9cQw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Y5hK0M9cL3lXwccEV9cgR9cQw_;
NTI__Y5hK0M9cL3lXwccEV9cgR9cQw_.marker = Marker_tyRef__Y5hK0M9cL3lXwccEV9cgR9cQw;
}