mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-15 17:35:45 +00:00
2091 lines
132 KiB
C
2091 lines
132 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/examples/v1 -o nimcache/release/example/@m..@s..@svendor@snim-stint@sstint@sprivate@suint_div.nim.c.o nimcache/release/example/@m..@s..@svendor@snim-stint@sstint@sprivate@suint_div.nim.c */
|
|
#define NIM_INTBITS 64
|
|
|
|
#include "nimbase.h"
|
|
#include <string.h>
|
|
#include <sys/types.h>
|
|
#include <pthread.h>
|
|
#undef LANGUAGE_C
|
|
#undef MIPSEB
|
|
#undef MIPSEL
|
|
#undef PPC
|
|
#undef R3000
|
|
#undef R4000
|
|
#undef i386
|
|
#undef linux
|
|
#undef mips
|
|
#undef near
|
|
#undef far
|
|
#undef powerpc
|
|
#undef unix
|
|
#define nimfr_(x, y)
|
|
#define nimln_(x, y)
|
|
typedef struct tyTuple__cEA2BnesWvD8MYdhMKmxgg tyTuple__cEA2BnesWvD8MYdhMKmxgg;
|
|
typedef struct tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA;
|
|
typedef struct tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g;
|
|
typedef struct tyObject_DivByZeroError__vASt1Zy2CLWqyBeLxcXqow tyObject_DivByZeroError__vASt1Zy2CLWqyBeLxcXqow;
|
|
typedef struct tyObject_ArithmeticError__XIT9aewsXycM2U5B437NUDA tyObject_ArithmeticError__XIT9aewsXycM2U5B437NUDA;
|
|
typedef struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA;
|
|
typedef struct Exception Exception;
|
|
typedef struct RootObj RootObj;
|
|
typedef struct TNimType TNimType;
|
|
typedef struct TNimNode TNimNode;
|
|
typedef struct NimStringDesc NimStringDesc;
|
|
typedef struct TGenericSeq TGenericSeq;
|
|
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
|
|
typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
|
|
typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
|
|
typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
|
|
typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
|
|
typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
|
|
typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
|
|
typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
|
|
typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
|
|
typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
|
|
typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
|
|
typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
|
|
typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
|
|
typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
|
|
typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
|
|
typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
|
|
typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
|
|
typedef struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw;
|
|
typedef struct tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg;
|
|
typedef struct tyTuple__QQF1dzTX8TMgqr7veHY7aA tyTuple__QQF1dzTX8TMgqr7veHY7aA;
|
|
typedef struct tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw;
|
|
typedef struct tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg;
|
|
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
|
|
struct tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g {NU64 lo;
|
|
NU64 hi;
|
|
};
|
|
struct tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA {tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g lo;
|
|
tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g hi;
|
|
};
|
|
struct tyTuple__cEA2BnesWvD8MYdhMKmxgg {
|
|
tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA Field0;
|
|
tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA Field1;
|
|
};
|
|
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
|
|
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
|
|
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
|
|
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
|
|
struct TNimType {NI size;
|
|
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
|
|
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
|
|
TNimType* base;
|
|
TNimNode* node;
|
|
void* finalizer;
|
|
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
|
|
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
|
|
NCSTRING name;
|
|
TNimType* nextType;
|
|
NI instances;
|
|
NI sizes;
|
|
};
|
|
struct RootObj {TNimType* m_type;};
|
|
struct TGenericSeq {NI len;
|
|
NI reserved;
|
|
};
|
|
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
|
|
};
|
|
struct Exception { RootObj Sup;Exception* parent;
|
|
NCSTRING name;
|
|
NimStringDesc* message;
|
|
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
|
|
Exception* up;
|
|
};
|
|
struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA { Exception Sup;};
|
|
struct tyObject_ArithmeticError__XIT9aewsXycM2U5B437NUDA { tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;};
|
|
struct tyObject_DivByZeroError__vASt1Zy2CLWqyBeLxcXqow { tyObject_ArithmeticError__XIT9aewsXycM2U5B437NUDA Sup;};
|
|
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
|
|
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
|
|
NI offset;
|
|
TNimType* typ;
|
|
NCSTRING name;
|
|
NI len;
|
|
TNimNode** sons;
|
|
};
|
|
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 tyTuple__QQF1dzTX8TMgqr7veHY7aA {
|
|
tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g Field0;
|
|
tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g Field1;
|
|
};
|
|
struct tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw {
|
|
NU64 Field0;
|
|
NU64 Field1;
|
|
};
|
|
struct tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg {tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA lo;
|
|
tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA hi;
|
|
};
|
|
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
|
|
NI line;
|
|
NCSTRING filename;
|
|
};
|
|
struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};static N_INLINE(void, nimZeroMem)(void* p, NI size);
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
|
|
static N_INLINE(NI, leadingZeros__wnGRVvQhDIsMqDU8RtSeUQbitops2_priv)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0);
|
|
static N_INLINE(NI, leadingZeros__TzQMsFsIeKkU3CC19bN5c9bgbitops2_priv)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0);
|
|
static N_INLINE(NI, leadingZeros__JUTEj5BmsGKeHXyHCiekNAbitops2)(NU64 x_0);
|
|
static N_INLINE(NI, log2trunc__JUTEj5BmsGKeHXyHCiekNA_2bitops2)(NU64 x_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, log2truncBuiltin__Q9bJ2xbAkstwTwtdSZpZY9aw)(NU64 v);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
|
|
static N_INLINE(NIM_BOOL, isZero__hHCuOZEP3SZNWlqnu0VGGguint_comparison)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* n_0);
|
|
static N_INLINE(NIM_BOOL, isZero__Yu9aLkQ9cLhL5VwnNUuyAvKQuint_comparison)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g n_0);
|
|
static N_INLINE(NIM_BOOL, isZero__bitbVizNc3i9cchE5bo9acoAuint_comparison)(NU64 n_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
|
|
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
|
|
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
|
|
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
|
|
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
|
|
static N_INLINE(void, asgnRef)(void** dest, void* src);
|
|
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
|
|
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, or__7z55WRR24vBbMLIAXjoNCAuint_bitwise_ops)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0);
|
|
N_LIB_PRIVATE N_NIMCALL(tyTuple__QQF1dzTX8TMgqr7veHY7aA, divmod__toQ0ltQtsVKCYo9cBAdkkIw)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0);
|
|
static N_INLINE(tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw, divmod__P1adIYgoIi7JslJoY6Y8ZAuint_div)(NU64 x_0, NU64 y_0);
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, and__7z55WRR24vBbMLIAXjoNCA_2uint_bitwise_ops)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0);
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, minus___4AD83Vrv1Sd5PcOgxwnv0wuint_addsub)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0);
|
|
static N_INLINE(NU64, toSubtype__fKl7Mxo1VN34AGpJN6awlQconversion)(NIM_BOOL b);
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, one__7mIPSMgb4KryhjfgE9bm9cVwinitialization)(void);
|
|
static N_INLINE(NU64, one__GHrrTPkKKUWzNxC0A70leQinitialization)(void);
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, shr__8XaZYcNW5fJKGdkhyYByyAuint_bitwise_ops)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, NI y_0);
|
|
static N_INLINE(NIM_BOOL, eqeq___hyOd3DRsfGOsZ3ykXUTopAuint_comparison)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0);
|
|
static N_INLINE(NIM_BOOL, lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, divmodBS__E1Kpw9aKCX9b6F2gPJwY9cyWw)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* q_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* r);
|
|
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, shl__8XaZYcNW5fJKGdkhyYByyA_2uint_bitwise_ops)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, NI y_0);
|
|
static N_INLINE(void, pluseq___bxrm0UcFINbvpb9cx688ySwuint_addsub)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0);
|
|
static N_INLINE(NIM_BOOL, lteq___hyOd3DRsfGOsZ3ykXUTopA_3uint_comparison)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0);
|
|
static N_INLINE(void, minuseq___bxrm0UcFINbvpb9cx688ySw_2uint_addsub)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, divmodBZ__E1Kpw9aKCX9b6F2gPJwY9cyWw_2)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* q_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* r);
|
|
N_LIB_PRIVATE N_NIMCALL(void, div2n1n__AwoaKPEIReCl1UCc6TyFFA)(NU64* q_0, NU64* r, NU64 n_hi, NU64 n_lo, NU64 d);
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, shl__c9bvNmi8v9aU3Vi4sSXq6fPguint_bitwise_ops)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, NI y_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, div2n1n__SDcxLu9cNgFXce38S9abpYWw)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* q_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* r, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g ah, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g al, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g b);
|
|
N_LIB_PRIVATE N_NIMCALL(void, div3n2n__eiS0NA9c9b4BolBVNwZZ4WkA)(NU64* q_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* r, NU64 a2, NU64 a1, NU64 a0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g b);
|
|
N_LIB_PRIVATE N_NIMCALL(void, extPrecMul__3j9aAELx8YtNMW0EwyRHEnQ)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* result, NU64 u, NU64 v);
|
|
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, and__nmeaiDSAf9bms7NeNVIXv3guint_bitwise_ops)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0);
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, minus___s6tn9c20yzXB9cKHqhwMrN6guint_addsub)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0);
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, toSubtype__g2lgwCJMHlESLa9bs4vJeDAconversion)(NIM_BOOL b);
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, one__qBFgoucE9cGL78cMBFToOpg_2initialization)(void);
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, shr__c9bvNmi8v9aU3Vi4sSXq6fPg_2uint_bitwise_ops)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, NI y_0);
|
|
static N_INLINE(NIM_BOOL, eqeq___CEU6rCDBDF9aJ6KPYSjCDgAuint_comparison)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0);
|
|
static N_INLINE(NIM_BOOL, lt___CEU6rCDBDF9aJ6KPYSjCDgA_2uint_comparison)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, divmodBS__9aroeCNW0nagPXZf769cKozQ)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* q_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* r);
|
|
static N_INLINE(void, pluseq___VhxJTfC5BLsAuA0kNpkWhwuint_addsub)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0);
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, plus___4AD83Vrv1Sd5PcOgxwnv0w_2uint_addsub)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0);
|
|
static N_INLINE(NIM_BOOL, lteq___CEU6rCDBDF9aJ6KPYSjCDgA_3uint_comparison)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0);
|
|
static N_INLINE(void, minuseq___VhxJTfC5BLsAuA0kNpkWhw_2uint_addsub)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, divmodBZ__9aroeCNW0nagPXZf769cKozQ_2)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* q_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* r);
|
|
static N_INLINE(tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg, shl__XGlUsILkUqK1JhalyiDJCwuint_bitwise_ops)(tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg* x_0, NI y_0);
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, or__nmeaiDSAf9bms7NeNVIXv3g_2uint_bitwise_ops)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, div2n1n__CXIKm79cqoLKFmxxZ4oM0XA)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* q_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* r, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* ah, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* al, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* b);
|
|
N_LIB_PRIVATE N_NIMCALL(void, div3n2n__siT9bBneHIvq5gV9cKqWu0Ig)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* q_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* r, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g a2, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g a1, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g a0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* b);
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, zero__7mIPSMgb4KryhjfgE9bm9cVw_2initialization)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(void, extPrecMul__vOPa86RDryHp0lB9bNTb6KQ)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* result, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g u, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g v);
|
|
extern TNimType NTI__l9cxZBMkgRuliCVgWAnHVRg_;
|
|
extern TNimType NTI__vASt1Zy2CLWqyBeLxcXqow_;
|
|
STRING_LITERAL(TM__UnGfM2pyoz73fd3kOhfgqA_5, "You attempted to divide by zero", 31);
|
|
STRING_LITERAL(TM__UnGfM2pyoz73fd3kOhfgqA_11, "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/priv"
|
|
"ate/uint_div.nim(210, 12) `y.isZero.not()` ", 106);
|
|
STRING_LITERAL(TM__UnGfM2pyoz73fd3kOhfgqA_16, "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/priv"
|
|
"ate/uint_div.nim(173, 12) `y.isZero.not()` ", 106);
|
|
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
|
|
|
|
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_;
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));}
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
|
|
}
|
|
|
|
#line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/bitops2.nim"
|
|
static N_INLINE(NI, log2trunc__JUTEj5BmsGKeHXyHCiekNA_2bitops2)(NU64 x_0) { NI result; result = (NI)0;
|
|
#line 341 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/bitops2.nim"
|
|
|
|
#line 350 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/bitops2.nim"
|
|
{
|
|
#line 350 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/bitops2.nim"
|
|
if (!(x_0 == 0ULL)) goto LA3_;
|
|
result = ((NI) -1); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/bitops2.nim"
|
|
|
|
#line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/bitops2.nim"
|
|
result = log2truncBuiltin__Q9bJ2xbAkstwTwtdSZpZY9aw(x_0); }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 365 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/bitops2.nim"
|
|
static N_INLINE(NI, leadingZeros__JUTEj5BmsGKeHXyHCiekNAbitops2)(NU64 x_0) { NI result; NI T1_; NI TM__UnGfM2pyoz73fd3kOhfgqA_2; result = (NI)0;
|
|
#line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/bitops2.nim"
|
|
|
|
#line 375 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/bitops2.nim"
|
|
|
|
#line 375 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/bitops2.nim"
|
|
|
|
#line 375 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/bitops2.nim"
|
|
T1_ = (NI)0; T1_ = log2trunc__JUTEj5BmsGKeHXyHCiekNA_2bitops2(x_0); if (nimSubInt(((NI) 63), T1_, &TM__UnGfM2pyoz73fd3kOhfgqA_2)) { raiseOverflow(); }; result = (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_2); return result;}
|
|
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
static N_INLINE(NI, leadingZeros__TzQMsFsIeKkU3CC19bN5c9bgbitops2_priv)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0) { NI result; NI tmp_1; result = (NI)0;
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
tmp_1 = leadingZeros__JUTEj5BmsGKeHXyHCiekNAbitops2(x_0.hi);
|
|
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
{ NI T5_; NI TM__UnGfM2pyoz73fd3kOhfgqA_3;
|
|
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
if (!(tmp_1 == ((NI) 64))) goto LA3_;
|
|
|
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
|
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
|
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
T5_ = (NI)0; T5_ = leadingZeros__JUTEj5BmsGKeHXyHCiekNAbitops2(x_0.lo); if (nimAddInt(T5_, ((NI) 64), &TM__UnGfM2pyoz73fd3kOhfgqA_3)) { raiseOverflow(); }; result = (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_3); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ result = tmp_1; }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
static N_INLINE(NI, leadingZeros__wnGRVvQhDIsMqDU8RtSeUQbitops2_priv)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0) { NI result; NI tmp_1; result = (NI)0;
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
tmp_1 = leadingZeros__TzQMsFsIeKkU3CC19bN5c9bgbitops2_priv((*x_0).hi);
|
|
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
{ NI T5_; NI TM__UnGfM2pyoz73fd3kOhfgqA_4;
|
|
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
if (!(tmp_1 == ((NI) 128))) goto LA3_;
|
|
|
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
|
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
|
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/bitops2_priv.nim"
|
|
T5_ = (NI)0; T5_ = leadingZeros__TzQMsFsIeKkU3CC19bN5c9bgbitops2_priv((*x_0).lo); if (nimAddInt(T5_, ((NI) 128), &TM__UnGfM2pyoz73fd3kOhfgqA_4)) { raiseOverflow(); }; result = (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_4); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ result = tmp_1; }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 12 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
static N_INLINE(NIM_BOOL, isZero__bitbVizNc3i9cchE5bo9acoAuint_comparison)(NU64 n_0) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
result = (n_0 == 0ULL); return result;}
|
|
|
|
#line 15 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
static N_INLINE(NIM_BOOL, isZero__Yu9aLkQ9cLhL5VwnNUuyAvKQuint_comparison)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g n_0) { NIM_BOOL result; NIM_BOOL T1_; result = (NIM_BOOL)0;
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = (NIM_BOOL)0;
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = isZero__bitbVizNc3i9cchE5bo9acoAuint_comparison(n_0.hi); if (!(T1_)) goto LA2_;
|
|
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = isZero__bitbVizNc3i9cchE5bo9acoAuint_comparison(n_0.lo); LA2_: ;
|
|
result = T1_; return result;}
|
|
|
|
#line 15 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
static N_INLINE(NIM_BOOL, isZero__hHCuOZEP3SZNWlqnu0VGGguint_comparison)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* n_0) { NIM_BOOL result; NIM_BOOL T1_; result = (NIM_BOOL)0;
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = (NIM_BOOL)0;
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = isZero__Yu9aLkQ9cLhL5VwnNUuyAvKQuint_comparison((*n_0).hi); if (!(T1_)) goto LA2_;
|
|
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = isZero__Yu9aLkQ9cLhL5VwnNUuyAvKQuint_comparison((*n_0).lo); LA2_: ;
|
|
result = T1_; return result;}
|
|
|
|
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0;
|
|
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;}
|
|
|
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
|
|
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;}
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
|
|
}
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
{ NIM_BOOL T3_;
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_;
|
|
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
|
|
}
|
|
LA4_: ;
|
|
}
|
|
|
|
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;}
|
|
|
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, nimGCunrefNoCycle)(void* p) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
|
|
}
|
|
|
|
#line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0;
|
|
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;}
|
|
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));}
|
|
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, asgnRef)(void** dest, void* src) {
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
if (!!((src == NIM_NIL))) goto LA3_;
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
if (!!(((*dest) == NIM_NIL))) goto LA8_;
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
|
|
}
|
|
LA8_: ;
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
(*dest) = src;}
|
|
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, or__7z55WRR24vBbMLIAXjoNCAuint_bitwise_ops)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0) { tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g result; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g resX60gensym39565056_; nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g));
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
nimZeroMem((void*)(&resX60gensym39565056_), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g));
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
resX60gensym39565056_.hi = (NU64)(x_0.hi | y_0.hi);
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
resX60gensym39565056_.lo = (NU64)(x_0.lo | y_0.lo); result = resX60gensym39565056_; return result;}
|
|
|
|
#line 51 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
static N_INLINE(tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw, divmod__P1adIYgoIi7JslJoY6Y8ZAuint_div)(NU64 x_0, NU64 y_0) { tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw result; NU64 colontmp_; NU64 colontmp__2; nimZeroMem((void*)(&result), sizeof(tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw));
|
|
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
colontmp_ = (NU64)((NU64)(x_0) / (NU64)(y_0));
|
|
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
colontmp__2 = (NU64)((NU64)(x_0) % (NU64)(y_0));
|
|
#line 53 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field0 = colontmp_; result.Field1 = colontmp__2; return result;}
|
|
|
|
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, and__7z55WRR24vBbMLIAXjoNCA_2uint_bitwise_ops)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0) { tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g result; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g resX60gensym42070110_; nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g));
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
nimZeroMem((void*)(&resX60gensym42070110_), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g));
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
resX60gensym42070110_.hi = (NU64)(x_0.hi & y_0.hi);
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
resX60gensym42070110_.lo = (NU64)(x_0.lo & y_0.lo); result = resX60gensym42070110_; return result;}
|
|
|
|
#line 12 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/conversion.nim"
|
|
static N_INLINE(NU64, toSubtype__fKl7Mxo1VN34AGpJN6awlQconversion)(NIM_BOOL b) { NU64 result; result = (NU64)0;
|
|
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/conversion.nim"
|
|
result = ((NU64) (b)); return result;}
|
|
|
|
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, minus___4AD83Vrv1Sd5PcOgxwnv0wuint_addsub)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0) { tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g result; NU64 T1_; nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g));
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
result.lo = (NU64)((NU64)(x_0.lo) - (NU64)(y_0.lo));
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
T1_ = (NU64)0; T1_ = toSubtype__fKl7Mxo1VN34AGpJN6awlQconversion(((NU64)(x_0.lo) < (NU64)(y_0.lo))); result.hi = (NU64)((NU64)((NU64)((NU64)(x_0.hi) - (NU64)(y_0.hi))) - (NU64)(T1_)); return result;}
|
|
|
|
#line 15 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/initialization.nim"
|
|
static N_INLINE(NU64, one__GHrrTPkKKUWzNxC0A70leQinitialization)(void) { NU64 result; result = (NU64)0;
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/initialization.nim"
|
|
result = 1ULL; return result;}
|
|
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/initialization.nim"
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, one__7mIPSMgb4KryhjfgE9bm9cVwinitialization)(void) { tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g result; nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g));
|
|
#line 19 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/initialization.nim"
|
|
|
|
#line 19 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/initialization.nim"
|
|
result.lo = one__GHrrTPkKKUWzNxC0A70leQinitialization(); return result;}
|
|
|
|
#line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, shr__8XaZYcNW5fJKGdkhyYByyAuint_bitwise_ops)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, NI y_0) { tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g result;{ nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g));
|
|
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
{
|
|
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 == ((NI) 0))) goto LA3_;
|
|
|
|
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result = x_0; goto BeforeRet_;
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 == ((NI) 64))) goto LA6_;
|
|
|
|
#line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.lo = x_0.hi; }
|
|
goto LA1_;
|
|
LA6_: ;
|
|
{ NI TM__UnGfM2pyoz73fd3kOhfgqA_8;
|
|
#line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 < ((NI) 64))) goto LA9_;
|
|
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (nimSubInt(((NI) 64), y_0, &TM__UnGfM2pyoz73fd3kOhfgqA_8)) { raiseOverflow(); }; result.lo = (NU64)((NU64)((NU64)(x_0.lo) >> (NU64)(y_0)) | (NU64)((NU64)(x_0.hi) << (NU64)((NI)(TM__UnGfM2pyoz73fd3kOhfgqA_8))));
|
|
#line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.hi = (NU64)((NU64)(x_0.hi) >> (NU64)(y_0)); }
|
|
goto LA1_;
|
|
LA9_: ;
|
|
{ NI TM__UnGfM2pyoz73fd3kOhfgqA_9;
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (nimSubInt(y_0, ((NI) 64), &TM__UnGfM2pyoz73fd3kOhfgqA_9)) { raiseOverflow(); }; result.lo = (NU64)((NU64)(x_0.hi) >> (NU64)((NI)(TM__UnGfM2pyoz73fd3kOhfgqA_9))); }
|
|
LA1_: ;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
static N_INLINE(NIM_BOOL, eqeq___hyOd3DRsfGOsZ3ykXUTopAuint_comparison)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0) { NIM_BOOL result; NIM_BOOL T1_; result = (NIM_BOOL)0;
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = (NIM_BOOL)0;
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = (x_0.hi == y_0.hi); if (!(T1_)) goto LA2_;
|
|
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = (x_0.lo == y_0.lo); LA2_: ;
|
|
result = T1_; return result;}
|
|
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
static N_INLINE(NIM_BOOL, lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0) { NIM_BOOL result; NIM_BOOL T1_; NIM_BOOL T3_; result = (NIM_BOOL)0;
|
|
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = (NIM_BOOL)0;
|
|
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = ((NU64)(x_0.hi) < (NU64)(y_0.hi)); if (T1_) goto LA2_;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = (NIM_BOOL)0;
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = (x_0.hi == y_0.hi); if (!(T3_)) goto LA4_;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = ((NU64)(x_0.lo) < (NU64)(y_0.lo)); LA4_: ;
|
|
T1_ = T3_; LA2_: ;
|
|
result = T1_; return result;}
|
|
|
|
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, shl__8XaZYcNW5fJKGdkhyYByyA_2uint_bitwise_ops)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, NI y_0) { tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g result;{ nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g));
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
{
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 == ((NI) 0))) goto LA3_;
|
|
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result = x_0; goto BeforeRet_;
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 == ((NI) 64))) goto LA6_;
|
|
|
|
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.hi = x_0.lo; }
|
|
goto LA1_;
|
|
LA6_: ;
|
|
{ NI TM__UnGfM2pyoz73fd3kOhfgqA_13;
|
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 < ((NI) 64))) goto LA9_;
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (nimSubInt(((NI) 64), y_0, &TM__UnGfM2pyoz73fd3kOhfgqA_13)) { raiseOverflow(); }; result.hi = (NU64)((NU64)((NU64)(x_0.hi) << (NU64)(y_0)) | (NU64)((NU64)(x_0.lo) >> (NU64)((NI)(TM__UnGfM2pyoz73fd3kOhfgqA_13))));
|
|
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.lo = (NU64)((NU64)(x_0.lo) << (NU64)(y_0)); }
|
|
goto LA1_;
|
|
LA9_: ;
|
|
{ NI TM__UnGfM2pyoz73fd3kOhfgqA_14;
|
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (nimSubInt(y_0, ((NI) 64), &TM__UnGfM2pyoz73fd3kOhfgqA_14)) { raiseOverflow(); }; result.hi = (NU64)((NU64)(x_0.lo) << (NU64)((NI)(TM__UnGfM2pyoz73fd3kOhfgqA_14))); }
|
|
LA1_: ;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
static N_INLINE(void, pluseq___bxrm0UcFINbvpb9cx688ySwuint_addsub)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0) { NU64 T1_;
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
(*x_0).lo += y_0.lo;
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
T1_ = (NU64)0; T1_ = toSubtype__fKl7Mxo1VN34AGpJN6awlQconversion(((NU64)((*x_0).lo) < (NU64)(y_0.lo))); (*x_0).hi += (NU64)((NU64)(T1_) + (NU64)(y_0.hi));}
|
|
|
|
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
static N_INLINE(NIM_BOOL, lteq___hyOd3DRsfGOsZ3ykXUTopA_3uint_comparison)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0) { NIM_BOOL result; NIM_BOOL T1_; NIM_BOOL T3_; result = (NIM_BOOL)0;
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = (NIM_BOOL)0;
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = ((NU64)(x_0.hi) < (NU64)(y_0.hi)); if (T1_) goto LA2_;
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = (NIM_BOOL)0;
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = (x_0.hi == y_0.hi); if (!(T3_)) goto LA4_;
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = ((NU64)(x_0.lo) <= (NU64)(y_0.lo)); LA4_: ;
|
|
T1_ = T3_; LA2_: ;
|
|
result = T1_; return result;}
|
|
|
|
#line 37 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
static N_INLINE(void, minuseq___bxrm0UcFINbvpb9cx688ySw_2uint_addsub)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0) {
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
(*x_0) = minus___4AD83Vrv1Sd5PcOgxwnv0wuint_addsub((*x_0), y_0);}
|
|
|
|
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, divmodBS__E1Kpw9aKCX9b6F2gPJwY9cyWw)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* q_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* r) { NI shift; NI T6_; NI T7_; NI TM__UnGfM2pyoz73fd3kOhfgqA_12; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g d;
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T3_;
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isZero__Yu9aLkQ9cLhL5VwnNUuyAvKQuint_comparison(y_0); if (!!(!(T3_))) goto LA4_;
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__UnGfM2pyoz73fd3kOhfgqA_11));
|
|
}
|
|
LA4_: ;
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T6_ = (NI)0; T6_ = leadingZeros__TzQMsFsIeKkU3CC19bN5c9bgbitops2_priv(y_0);
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T7_ = (NI)0; T7_ = leadingZeros__TzQMsFsIeKkU3CC19bN5c9bgbitops2_priv(x_0); if (nimSubInt(T6_, T7_, &TM__UnGfM2pyoz73fd3kOhfgqA_12)) { raiseOverflow(); }; shift = (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_12);
|
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
d = shl__8XaZYcNW5fJKGdkhyYByyA_2uint_bitwise_ops(y_0, shift);
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*r) = x_0; {
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
while (1) { NI TM__UnGfM2pyoz73fd3kOhfgqA_15;
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (!(((NI) 0) <= shift)) goto LA9;
|
|
|
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
pluseq___bxrm0UcFINbvpb9cx688ySwuint_addsub(q_0, (*q_0));
|
|
|
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T12_; NU64 T15_;
|
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T12_ = (NIM_BOOL)0; T12_ = lteq___hyOd3DRsfGOsZ3ykXUTopA_3uint_comparison(d, (*r)); if (!T12_) goto LA13_;
|
|
|
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
minuseq___bxrm0UcFINbvpb9cx688ySw_2uint_addsub(r, d);
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T15_ = (NU64)0; T15_ = one__GHrrTPkKKUWzNxC0A70leQinitialization(); (*q_0).lo = (NU64)((*q_0).lo | T15_); }
|
|
LA13_: ;
|
|
|
|
#line 226 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 226 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
d = shr__8XaZYcNW5fJKGdkhyYByyAuint_bitwise_ops(d, ((NI) 1));
|
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (nimSubInt(shift, ((NI) 1), &TM__UnGfM2pyoz73fd3kOhfgqA_15)) { raiseOverflow(); }; shift = (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_15); } LA9: ;
|
|
}
|
|
}
|
|
|
|
#line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, div2n1n__AwoaKPEIReCl1UCc6TyFFA)(NU64* q_0, NU64* r, NU64 n_hi, NU64 n_lo, NU64 d) { NU64 d_hi; NU64 d_lo; NU64 n_lohi; NU64 n_lolo; tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw T1_; NU64 qX60gensym42110044_; NU64 rX60gensym42110045_; NU64 mX60gensym42110046_; tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw T12_; NU64 q1; NU64 r1; tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw T13_; NU64 qX60gensym42115051_; NU64 rX60gensym42115052_; NU64 mX60gensym42115053_; tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw T24_; NU64 q2; NU64 r2;
|
|
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
d_hi = (NU64)((NU64)(d) >> (NU64)(((NI) 32)));
|
|
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
d_lo = (NU64)(d & 4294967295ULL);
|
|
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
n_lohi = (NU64)((NU64)(n_lo) >> (NU64)(((NI) 32)));
|
|
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
n_lolo = (NU64)(n_lo & 4294967295ULL);
|
|
#line 163 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T1_ = divmod__P1adIYgoIi7JslJoY6Y8ZAuint_div(n_hi, d_hi); qX60gensym42110044_ = T1_.Field0; rX60gensym42110045_ = T1_.Field1;
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
mX60gensym42110046_ = (NU64)((NU64)(qX60gensym42110044_) * (NU64)(d_lo));
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
rX60gensym42110045_ = (NU64)((NU64)((NU64)(rX60gensym42110045_) << (NU64)(((NI) 32))) | n_lohi);
|
|
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{
|
|
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (!((NU64)(rX60gensym42110045_) < (NU64)(mX60gensym42110046_))) goto LA4_;
|
|
|
|
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
qX60gensym42110044_ -= ((NI) 1);
|
|
#line 149 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
rX60gensym42110045_ += d;
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T8_;
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T8_ = (NIM_BOOL)0;
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T8_ = ((NU64)(d) <= (NU64)(rX60gensym42110045_)); if (!(T8_)) goto LA9_;
|
|
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T8_ = ((NU64)(rX60gensym42110045_) < (NU64)(mX60gensym42110046_)); LA9_: ;
|
|
if (!T8_) goto LA10_;
|
|
|
|
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
qX60gensym42110044_ -= ((NI) 1);
|
|
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
rX60gensym42110045_ += d; }
|
|
LA10_: ;
|
|
}
|
|
LA4_: ;
|
|
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
rX60gensym42110045_ -= mX60gensym42110046_; T12_.Field0 = qX60gensym42110044_; T12_.Field1 = rX60gensym42110045_; q1 = T12_.Field0; r1 = T12_.Field1;
|
|
#line 166 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T13_ = divmod__P1adIYgoIi7JslJoY6Y8ZAuint_div(r1, d_hi); qX60gensym42115051_ = T13_.Field0; rX60gensym42115052_ = T13_.Field1;
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
mX60gensym42115053_ = (NU64)((NU64)(qX60gensym42115051_) * (NU64)(d_lo));
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
rX60gensym42115052_ = (NU64)((NU64)((NU64)(rX60gensym42115052_) << (NU64)(((NI) 32))) | n_lolo);
|
|
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{
|
|
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (!((NU64)(rX60gensym42115052_) < (NU64)(mX60gensym42115053_))) goto LA16_;
|
|
|
|
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
qX60gensym42115051_ -= ((NI) 1);
|
|
#line 149 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
rX60gensym42115052_ += d;
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T20_;
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T20_ = (NIM_BOOL)0;
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T20_ = ((NU64)(d) <= (NU64)(rX60gensym42115052_)); if (!(T20_)) goto LA21_;
|
|
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T20_ = ((NU64)(rX60gensym42115052_) < (NU64)(mX60gensym42115053_)); LA21_: ;
|
|
if (!T20_) goto LA22_;
|
|
|
|
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
qX60gensym42115051_ -= ((NI) 1);
|
|
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
rX60gensym42115052_ += d; }
|
|
LA22_: ;
|
|
}
|
|
LA16_: ;
|
|
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
rX60gensym42115052_ -= mX60gensym42115053_; T24_.Field0 = qX60gensym42115051_; T24_.Field1 = rX60gensym42115052_; q2 = T24_.Field0; r2 = T24_.Field1;
|
|
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*q_0) = (NU64)((NU64)((NU64)(q1) << (NU64)(((NI) 32))) | q2);
|
|
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*r) = r2;}
|
|
|
|
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, shl__c9bvNmi8v9aU3Vi4sSXq6fPguint_bitwise_ops)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, NI y_0) { tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA result;{ nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA));
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
{
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 == ((NI) 0))) goto LA3_;
|
|
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result = (*x_0); goto BeforeRet_;
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 == ((NI) 128))) goto LA6_;
|
|
|
|
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.hi = (*x_0).lo; }
|
|
goto LA1_;
|
|
LA6_: ;
|
|
{ tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T11_; NI TM__UnGfM2pyoz73fd3kOhfgqA_17; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T12_;
|
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 < ((NI) 128))) goto LA9_;
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
T11_ = shl__8XaZYcNW5fJKGdkhyYByyA_2uint_bitwise_ops((*x_0).hi, y_0);
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (nimSubInt(((NI) 128), y_0, &TM__UnGfM2pyoz73fd3kOhfgqA_17)) { raiseOverflow(); };
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
T12_ = shr__8XaZYcNW5fJKGdkhyYByyAuint_bitwise_ops((*x_0).lo, (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_17));
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.hi = or__7z55WRR24vBbMLIAXjoNCAuint_bitwise_ops(T11_, T12_);
|
|
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.lo = shl__8XaZYcNW5fJKGdkhyYByyA_2uint_bitwise_ops((*x_0).lo, y_0); }
|
|
goto LA1_;
|
|
LA9_: ;
|
|
{ NI TM__UnGfM2pyoz73fd3kOhfgqA_18;
|
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (nimSubInt(y_0, ((NI) 128), &TM__UnGfM2pyoz73fd3kOhfgqA_18)) { raiseOverflow(); };
|
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.hi = shl__8XaZYcNW5fJKGdkhyYByyA_2uint_bitwise_ops((*x_0).lo, (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_18)); }
|
|
LA1_: ;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, div3n2n__eiS0NA9c9b4BolBVNwZZ4WkA)(NU64* q_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* r, NU64 a2, NU64 a1, NU64 a0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g b) { NU64 c; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g d; NIM_BOOL carry; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g ca0; c = (NU64)0; nimZeroMem((void*)(&d), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g)); carry = (NIM_BOOL)0;
|
|
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{
|
|
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (!((NU64)(a2) < (NU64)(b.hi))) goto LA3_;
|
|
|
|
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 102 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
div2n1n__AwoaKPEIReCl1UCc6TyFFA(q_0, (&c), a2, a1, b.hi);
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*q_0) = 18446744073709551615ULL;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
c = (NU64)((NU64)(a1) + (NU64)(b.hi));
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (!((NU64)(c) < (NU64)(a1))) goto LA8_;
|
|
|
|
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
carry = NIM_TRUE; }
|
|
LA8_: ;
|
|
}
|
|
LA1_: ;
|
|
|
|
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
extPrecMul__3j9aAELx8YtNMW0EwyRHEnQ((&d), (*q_0), b.lo);
|
|
|
|
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
chckNil((void*)(&ca0)); nimZeroMem((void*)(&ca0), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g)); ca0.hi = c; ca0.lo = a0;
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*r) = minus___4AD83Vrv1Sd5PcOgxwnv0wuint_addsub(ca0, d);
|
|
#line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T12_;
|
|
#line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T12_ = (NIM_BOOL)0;
|
|
#line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T12_ = !(carry); if (!(T12_)) goto LA13_;
|
|
|
|
#line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 114 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T12_ = lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison(ca0, d); LA13_: ;
|
|
if (!T12_) goto LA14_;
|
|
|
|
#line 115 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*q_0) -= ((NI) 1);
|
|
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
pluseq___bxrm0UcFINbvpb9cx688ySwuint_addsub(r, b);
|
|
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T18_;
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T18_ = (NIM_BOOL)0; T18_ = lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison(b, (*r)); if (!T18_) goto LA19_;
|
|
|
|
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*q_0) -= ((NI) 1);
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
pluseq___bxrm0UcFINbvpb9cx688ySwuint_addsub(r, b);
|
|
}
|
|
LA19_: ;
|
|
}
|
|
LA14_: ;
|
|
}
|
|
|
|
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, div2n1n__SDcxLu9cNgFXce38S9abpYWw)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* q_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* r, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g ah, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g al, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g b) { tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g s_1; nimZeroMem((void*)(&s_1), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g));
|
|
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
div3n2n__eiS0NA9c9b4BolBVNwZZ4WkA((&(*q_0).hi), (&s_1), ah.hi, ah.lo, al.hi, b);
|
|
|
|
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
div3n2n__eiS0NA9c9b4BolBVNwZZ4WkA((&(*q_0).lo), r, s_1.hi, s_1.lo, al.lo, b);
|
|
}
|
|
|
|
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, divmodBZ__E1Kpw9aKCX9b6F2gPJwY9cyWw_2)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* q_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* r) { NI clz_2; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA xx_2; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA T15_; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g yy_2;{
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T3_;
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isZero__Yu9aLkQ9cLhL5VwnNUuyAvKQuint_comparison(y_0); if (!!(!(T3_))) goto LA4_;
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__UnGfM2pyoz73fd3kOhfgqA_16));
|
|
}
|
|
LA4_: ;
|
|
|
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T8_;
|
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T8_ = (NIM_BOOL)0; T8_ = isZero__bitbVizNc3i9cchE5bo9acoAuint_comparison(y_0.hi); if (!T8_) goto LA9_;
|
|
|
|
#line 177 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NI clz; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g xx; NU64 yy;
|
|
#line 177 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (!((NU64)(x_0.hi) < (NU64)(y_0.lo))) goto LA13_;
|
|
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
clz = leadingZeros__JUTEj5BmsGKeHXyHCiekNAbitops2(y_0.lo);
|
|
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
xx = shl__8XaZYcNW5fJKGdkhyYByyA_2uint_bitwise_ops(x_0, clz);
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
yy = (NU64)((NU64)(y_0.lo) << (NU64)(clz));
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
div2n1n__AwoaKPEIReCl1UCc6TyFFA((&(*q_0).lo), (&(*r).lo), xx.hi, xx.lo, yy);
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*r).lo = (NU64)((NU64)((*r).lo) >> (NU64)(clz));
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
goto BeforeRet_;
|
|
}
|
|
LA13_: ;
|
|
}
|
|
LA9_: ;
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
clz_2 = leadingZeros__TzQMsFsIeKkU3CC19bN5c9bgbitops2_priv(y_0);
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
nimZeroMem((void*)(&T15_), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA)); T15_.lo = x_0;
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
xx_2 = shl__c9bvNmi8v9aU3Vi4sSXq6fPguint_bitwise_ops((&T15_), clz_2);
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
yy_2 = shl__8XaZYcNW5fJKGdkhyYByyA_2uint_bitwise_ops(y_0, clz_2);
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
div2n1n__SDcxLu9cNgFXce38S9abpYWw(q_0, r, xx_2.hi, xx_2.lo, yy_2);
|
|
|
|
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*r) = shr__8XaZYcNW5fJKGdkhyYByyAuint_bitwise_ops((*r), clz_2); }BeforeRet_: ;
|
|
}
|
|
|
|
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyTuple__QQF1dzTX8TMgqr7veHY7aA, divmod__toQ0ltQtsVKCYo9cBAdkkIw)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0) { tyTuple__QQF1dzTX8TMgqr7veHY7aA result; NI x_clz; NI y_clz; nimZeroMem((void*)(&result), sizeof(tyTuple__QQF1dzTX8TMgqr7veHY7aA));
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
x_clz = leadingZeros__TzQMsFsIeKkU3CC19bN5c9bgbitops2_priv(x_0);
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
y_clz = leadingZeros__TzQMsFsIeKkU3CC19bN5c9bgbitops2_priv(y_0);
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T3_; NIM_BOOL T4_; tyObject_DivByZeroError__vASt1Zy2CLWqyBeLxcXqow* T7_; NimStringDesc* T8_;
|
|
#line 2042 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isZero__Yu9aLkQ9cLhL5VwnNUuyAvKQuint_comparison(y_0);
|
|
#line 2042 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
T4_ = (NIM_BOOL)0; T4_ = NIM_UNLIKELY(T3_); if (!T4_) goto LA5_;
|
|
T7_ = (tyObject_DivByZeroError__vASt1Zy2CLWqyBeLxcXqow*)0; T7_ = (tyObject_DivByZeroError__vASt1Zy2CLWqyBeLxcXqow*) newObj((&NTI__l9cxZBMkgRuliCVgWAnHVRg_), sizeof(tyObject_DivByZeroError__vASt1Zy2CLWqyBeLxcXqow)); (*T7_).Sup.Sup.Sup.Sup.m_type = (&NTI__vASt1Zy2CLWqyBeLxcXqow_); (*T7_).Sup.Sup.Sup.name = "DivByZeroError"; T8_ = (NimStringDesc*)0; T8_ = (*T7_).Sup.Sup.Sup.message; (*T7_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UnGfM2pyoz73fd3kOhfgqA_5)); if (T8_) nimGCunrefNoCycle(T8_); asgnRef((void**) (&(*T7_).Sup.Sup.Sup.parent), NIM_NIL);
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
raiseExceptionEx((Exception*)T7_, "DivByZeroError", "divmod", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/priv"
|
|
"ate/uint_div.nim", 240); }
|
|
goto LA1_;
|
|
LA5_: ;
|
|
{
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (!(y_clz == ((NI) 127))) goto LA10_;
|
|
|
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field0 = x_0; }
|
|
goto LA1_;
|
|
LA10_: ;
|
|
{ NIM_BOOL T13_; tyTuple__GviMuKbe9c3Hsi9c4x4m9avrw _;
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T13_ = (NIM_BOOL)0; T13_ = isZero__bitbVizNc3i9cchE5bo9acoAuint_comparison((NU64)(x_0.hi | y_0.hi)); if (!T13_) goto LA14_;
|
|
|
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
_ = divmod__P1adIYgoIi7JslJoY6Y8ZAuint_div(x_0.lo, y_0.lo);
|
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field0.lo = _.Field0;
|
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field1.lo = _.Field1; }
|
|
goto LA1_;
|
|
LA14_: ;
|
|
{ tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T17_; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T18_; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T19_; NIM_BOOL T20_; NI y_ctz; NI TM__UnGfM2pyoz73fd3kOhfgqA_6; NI TM__UnGfM2pyoz73fd3kOhfgqA_7; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T23_; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T24_;
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T17_ = one__7mIPSMgb4KryhjfgE9bm9cVwinitialization();
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T18_ = minus___4AD83Vrv1Sd5PcOgxwnv0wuint_addsub(y_0, T17_);
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T19_ = and__7z55WRR24vBbMLIAXjoNCA_2uint_bitwise_ops(y_0, T18_);
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T20_ = (NIM_BOOL)0; T20_ = isZero__Yu9aLkQ9cLhL5VwnNUuyAvKQuint_comparison(T19_); if (!T20_) goto LA21_;
|
|
|
|
#line 252 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 252 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 252 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (nimSubInt(((NI) 128), y_clz, &TM__UnGfM2pyoz73fd3kOhfgqA_6)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__UnGfM2pyoz73fd3kOhfgqA_6), ((NI) 1), &TM__UnGfM2pyoz73fd3kOhfgqA_7)) { raiseOverflow(); }; y_ctz = (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_7);
|
|
#line 253 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 253 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field0 = shr__8XaZYcNW5fJKGdkhyYByyAuint_bitwise_ops(x_0, y_ctz);
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T23_ = one__7mIPSMgb4KryhjfgE9bm9cVwinitialization();
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T24_ = minus___4AD83Vrv1Sd5PcOgxwnv0wuint_addsub(y_0, T23_);
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field1 = and__7z55WRR24vBbMLIAXjoNCA_2uint_bitwise_ops(x_0, T24_); }
|
|
goto LA1_;
|
|
LA21_: ;
|
|
{ NIM_BOOL T26_;
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T26_ = (NIM_BOOL)0; T26_ = eqeq___hyOd3DRsfGOsZ3ykXUTopAuint_comparison(x_0, y_0); if (!T26_) goto LA27_;
|
|
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field0.lo = one__GHrrTPkKKUWzNxC0A70leQinitialization(); }
|
|
goto LA1_;
|
|
LA27_: ;
|
|
{ NIM_BOOL T30_;
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T30_ = (NIM_BOOL)0; T30_ = lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison(x_0, y_0); if (!T30_) goto LA31_;
|
|
|
|
#line 258 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field1 = x_0; }
|
|
goto LA1_;
|
|
LA31_: ;
|
|
{ NI TM__UnGfM2pyoz73fd3kOhfgqA_10;
|
|
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (nimSubInt(y_clz, x_clz, &TM__UnGfM2pyoz73fd3kOhfgqA_10)) { raiseOverflow(); }; if (!((NI)(TM__UnGfM2pyoz73fd3kOhfgqA_10) < ((NI) 8))) goto LA34_;
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
divmodBS__E1Kpw9aKCX9b6F2gPJwY9cyWw(x_0, y_0, (&result.Field0), (&result.Field1));
|
|
}
|
|
goto LA1_;
|
|
LA34_: ;
|
|
{
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
divmodBZ__E1Kpw9aKCX9b6F2gPJwY9cyWw_2(x_0, y_0, (&result.Field0), (&result.Field1));
|
|
}
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, and__nmeaiDSAf9bms7NeNVIXv3guint_bitwise_ops)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0) { tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA result; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA resX60gensym42120437_; nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA));
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
nimZeroMem((void*)(&resX60gensym42120437_), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA));
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
resX60gensym42120437_.hi = and__7z55WRR24vBbMLIAXjoNCA_2uint_bitwise_ops((*x_0).hi, (*y_0).hi);
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
resX60gensym42120437_.lo = and__7z55WRR24vBbMLIAXjoNCA_2uint_bitwise_ops((*x_0).lo, (*y_0).lo); result = resX60gensym42120437_; return result;}
|
|
|
|
#line 15 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/conversion.nim"
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, toSubtype__g2lgwCJMHlESLa9bs4vJeDAconversion)(NIM_BOOL b) { tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g result; nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g));
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/conversion.nim"
|
|
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/conversion.nim"
|
|
result.lo = toSubtype__fKl7Mxo1VN34AGpJN6awlQconversion(b); return result;}
|
|
|
|
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, minus___s6tn9c20yzXB9cKHqhwMrN6guint_addsub)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0) { tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA result; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T1_; NIM_BOOL T2_; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T3_; nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA));
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
result.lo = minus___4AD83Vrv1Sd5PcOgxwnv0wuint_addsub((*x_0).lo, (*y_0).lo);
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
T1_ = minus___4AD83Vrv1Sd5PcOgxwnv0wuint_addsub((*x_0).hi, (*y_0).hi);
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
T2_ = (NIM_BOOL)0; T2_ = lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison((*x_0).lo, (*y_0).lo);
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
T3_ = toSubtype__g2lgwCJMHlESLa9bs4vJeDAconversion(T2_);
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
result.hi = minus___4AD83Vrv1Sd5PcOgxwnv0wuint_addsub(T1_, T3_); return result;}
|
|
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/initialization.nim"
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, one__qBFgoucE9cGL78cMBFToOpg_2initialization)(void) { tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA result; nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA));
|
|
#line 19 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/initialization.nim"
|
|
|
|
#line 19 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/initialization.nim"
|
|
result.lo = one__7mIPSMgb4KryhjfgE9bm9cVwinitialization(); return result;}
|
|
|
|
#line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, shr__c9bvNmi8v9aU3Vi4sSXq6fPg_2uint_bitwise_ops)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, NI y_0) { tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA result;{ nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA));
|
|
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
{
|
|
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 == ((NI) 0))) goto LA3_;
|
|
|
|
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 55 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result = (*x_0); goto BeforeRet_;
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 56 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 == ((NI) 128))) goto LA6_;
|
|
|
|
#line 57 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.lo = (*x_0).hi; }
|
|
goto LA1_;
|
|
LA6_: ;
|
|
{ tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T11_; NI TM__UnGfM2pyoz73fd3kOhfgqA_21; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T12_;
|
|
#line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 < ((NI) 128))) goto LA9_;
|
|
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
T11_ = shr__8XaZYcNW5fJKGdkhyYByyAuint_bitwise_ops((*x_0).lo, y_0);
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (nimSubInt(((NI) 128), y_0, &TM__UnGfM2pyoz73fd3kOhfgqA_21)) { raiseOverflow(); };
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
T12_ = shl__8XaZYcNW5fJKGdkhyYByyA_2uint_bitwise_ops((*x_0).hi, (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_21));
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.lo = or__7z55WRR24vBbMLIAXjoNCAuint_bitwise_ops(T11_, T12_);
|
|
#line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.hi = shr__8XaZYcNW5fJKGdkhyYByyAuint_bitwise_ops((*x_0).hi, y_0); }
|
|
goto LA1_;
|
|
LA9_: ;
|
|
{ NI TM__UnGfM2pyoz73fd3kOhfgqA_22;
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (nimSubInt(y_0, ((NI) 128), &TM__UnGfM2pyoz73fd3kOhfgqA_22)) { raiseOverflow(); };
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.lo = shr__8XaZYcNW5fJKGdkhyYByyAuint_bitwise_ops((*x_0).hi, (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_22)); }
|
|
LA1_: ;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
static N_INLINE(NIM_BOOL, eqeq___CEU6rCDBDF9aJ6KPYSjCDgAuint_comparison)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0) { NIM_BOOL result; NIM_BOOL T1_; result = (NIM_BOOL)0;
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = (NIM_BOOL)0;
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = eqeq___hyOd3DRsfGOsZ3ykXUTopAuint_comparison((*x_0).hi, (*y_0).hi); if (!(T1_)) goto LA2_;
|
|
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = eqeq___hyOd3DRsfGOsZ3ykXUTopAuint_comparison((*x_0).lo, (*y_0).lo); LA2_: ;
|
|
result = T1_; return result;}
|
|
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
static N_INLINE(NIM_BOOL, lt___CEU6rCDBDF9aJ6KPYSjCDgA_2uint_comparison)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0) { NIM_BOOL result; NIM_BOOL T1_; NIM_BOOL T3_; result = (NIM_BOOL)0;
|
|
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = (NIM_BOOL)0;
|
|
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison((*x_0).hi, (*y_0).hi); if (T1_) goto LA2_;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = (NIM_BOOL)0;
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = eqeq___hyOd3DRsfGOsZ3ykXUTopAuint_comparison((*x_0).hi, (*y_0).hi); if (!(T3_)) goto LA4_;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison((*x_0).lo, (*y_0).lo); LA4_: ;
|
|
T1_ = T3_; LA2_: ;
|
|
result = T1_; return result;}
|
|
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, plus___4AD83Vrv1Sd5PcOgxwnv0w_2uint_addsub)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g x_0, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g y_0) { tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g result; nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g));
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
result = x_0;
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
pluseq___bxrm0UcFINbvpb9cx688ySwuint_addsub((&result), y_0);
|
|
return result;}
|
|
|
|
#line 20 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
static N_INLINE(void, pluseq___VhxJTfC5BLsAuA0kNpkWhwuint_addsub)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0) { NIM_BOOL T1_; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T2_; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T3_;
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
pluseq___bxrm0UcFINbvpb9cx688ySwuint_addsub((&(*x_0).lo), (*y_0).lo);
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
T1_ = (NIM_BOOL)0; T1_ = lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison((*x_0).lo, (*y_0).lo);
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
T2_ = toSubtype__g2lgwCJMHlESLa9bs4vJeDAconversion(T1_);
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
T3_ = plus___4AD83Vrv1Sd5PcOgxwnv0w_2uint_addsub(T2_, (*y_0).hi);
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
pluseq___bxrm0UcFINbvpb9cx688ySwuint_addsub((&(*x_0).hi), T3_);
|
|
}
|
|
|
|
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
static N_INLINE(NIM_BOOL, lteq___CEU6rCDBDF9aJ6KPYSjCDgA_3uint_comparison)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0) { NIM_BOOL result; NIM_BOOL T1_; NIM_BOOL T3_; result = (NIM_BOOL)0;
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = (NIM_BOOL)0;
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T1_ = lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison((*x_0).hi, (*y_0).hi); if (T1_) goto LA2_;
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = (NIM_BOOL)0;
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = eqeq___hyOd3DRsfGOsZ3ykXUTopAuint_comparison((*x_0).hi, (*y_0).hi); if (!(T3_)) goto LA4_;
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_comparison.nim"
|
|
T3_ = lteq___hyOd3DRsfGOsZ3ykXUTopA_3uint_comparison((*x_0).lo, (*y_0).lo); LA4_: ;
|
|
T1_ = T3_; LA2_: ;
|
|
result = T1_; return result;}
|
|
|
|
#line 37 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
static N_INLINE(void, minuseq___VhxJTfC5BLsAuA0kNpkWhw_2uint_addsub)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0) {
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_addsub.nim"
|
|
(*x_0) = minus___s6tn9c20yzXB9cKHqhwMrN6guint_addsub((&(*x_0)), y_0);}
|
|
|
|
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, divmodBS__9aroeCNW0nagPXZf769cKozQ)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* q_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* r) { NI shift; NI T6_; NI T7_; NI TM__UnGfM2pyoz73fd3kOhfgqA_24; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA d;
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T3_;
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isZero__hHCuOZEP3SZNWlqnu0VGGguint_comparison(y_0); if (!!(!(T3_))) goto LA4_;
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__UnGfM2pyoz73fd3kOhfgqA_11));
|
|
}
|
|
LA4_: ;
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T6_ = (NI)0; T6_ = leadingZeros__wnGRVvQhDIsMqDU8RtSeUQbitops2_priv(y_0);
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T7_ = (NI)0; T7_ = leadingZeros__wnGRVvQhDIsMqDU8RtSeUQbitops2_priv(x_0); if (nimSubInt(T6_, T7_, &TM__UnGfM2pyoz73fd3kOhfgqA_24)) { raiseOverflow(); }; shift = (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_24);
|
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
d = shl__c9bvNmi8v9aU3Vi4sSXq6fPguint_bitwise_ops(y_0, shift);
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*r) = (*x_0); {
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
while (1) { NI TM__UnGfM2pyoz73fd3kOhfgqA_25;
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (!(((NI) 0) <= shift)) goto LA9;
|
|
|
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
pluseq___VhxJTfC5BLsAuA0kNpkWhwuint_addsub(q_0, (&(*q_0)));
|
|
|
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T12_; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T15_;
|
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T12_ = (NIM_BOOL)0; T12_ = lteq___CEU6rCDBDF9aJ6KPYSjCDgA_3uint_comparison((&d), (&(*r))); if (!T12_) goto LA13_;
|
|
|
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
minuseq___VhxJTfC5BLsAuA0kNpkWhw_2uint_addsub(r, (&d));
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T15_ = one__7mIPSMgb4KryhjfgE9bm9cVwinitialization();
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*q_0).lo = or__7z55WRR24vBbMLIAXjoNCAuint_bitwise_ops((*q_0).lo, T15_); }
|
|
LA13_: ;
|
|
|
|
#line 226 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 226 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
d = shr__c9bvNmi8v9aU3Vi4sSXq6fPg_2uint_bitwise_ops((&d), ((NI) 1));
|
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (nimSubInt(shift, ((NI) 1), &TM__UnGfM2pyoz73fd3kOhfgqA_25)) { raiseOverflow(); }; shift = (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_25); } LA9: ;
|
|
}
|
|
}
|
|
|
|
#line 16 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
static N_INLINE(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA, or__nmeaiDSAf9bms7NeNVIXv3g_2uint_bitwise_ops)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0) { tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA result; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA resX60gensym41690090_; nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA));
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
nimZeroMem((void*)(&resX60gensym41690090_), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA));
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
resX60gensym41690090_.hi = or__7z55WRR24vBbMLIAXjoNCAuint_bitwise_ops((*x_0).hi, (*y_0).hi);
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/datatypes.nim"
|
|
resX60gensym41690090_.lo = or__7z55WRR24vBbMLIAXjoNCAuint_bitwise_ops((*x_0).lo, (*y_0).lo); result = resX60gensym41690090_; return result;}
|
|
|
|
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
static N_INLINE(tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg, shl__XGlUsILkUqK1JhalyiDJCwuint_bitwise_ops)(tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg* x_0, NI y_0) { tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg result;{ nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg));
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
{
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 == ((NI) 0))) goto LA3_;
|
|
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 39 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result = (*x_0); goto BeforeRet_;
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 40 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 == ((NI) 256))) goto LA6_;
|
|
|
|
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.hi = (*x_0).lo; }
|
|
goto LA1_;
|
|
LA6_: ;
|
|
{ tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA T11_; NI TM__UnGfM2pyoz73fd3kOhfgqA_26; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA T12_;
|
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (!(y_0 < ((NI) 256))) goto LA9_;
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
T11_ = shl__c9bvNmi8v9aU3Vi4sSXq6fPguint_bitwise_ops((&(*x_0).hi), y_0);
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (nimSubInt(((NI) 256), y_0, &TM__UnGfM2pyoz73fd3kOhfgqA_26)) { raiseOverflow(); };
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
T12_ = shr__c9bvNmi8v9aU3Vi4sSXq6fPg_2uint_bitwise_ops((&(*x_0).lo), (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_26));
|
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.hi = or__nmeaiDSAf9bms7NeNVIXv3g_2uint_bitwise_ops((&T11_), (&T12_));
|
|
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.lo = shl__c9bvNmi8v9aU3Vi4sSXq6fPguint_bitwise_ops((&(*x_0).lo), y_0); }
|
|
goto LA1_;
|
|
LA9_: ;
|
|
{ NI TM__UnGfM2pyoz73fd3kOhfgqA_27;
|
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
|
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
if (nimSubInt(y_0, ((NI) 256), &TM__UnGfM2pyoz73fd3kOhfgqA_27)) { raiseOverflow(); };
|
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_bitwise_ops.nim"
|
|
result.hi = shl__c9bvNmi8v9aU3Vi4sSXq6fPguint_bitwise_ops((&(*x_0).lo), (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_27)); }
|
|
LA1_: ;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 12 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/initialization.nim"
|
|
static N_INLINE(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g, zero__7mIPSMgb4KryhjfgE9bm9cVw_2initialization)(void) { tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g result; nimZeroMem((void*)(&result), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g)); return result;}
|
|
|
|
#line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, div3n2n__siT9bBneHIvq5gV9cKqWu0Ig)(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g* q_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* r, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g a2, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g a1, tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g a0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* b) { tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g c; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA d; NIM_BOOL carry; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA ca0; nimZeroMem((void*)(&c), sizeof(tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g)); nimZeroMem((void*)(&d), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA)); carry = (NIM_BOOL)0;
|
|
#line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T3_;
|
|
#line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison(a2, (*b).hi); if (!T3_) goto LA4_;
|
|
|
|
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
div2n1n__SDcxLu9cNgFXce38S9abpYWw(q_0, (&c), a2, a1, (*b).hi);
|
|
}
|
|
goto LA1_;
|
|
LA4_: ;
|
|
{ tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T7_; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T8_;
|
|
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T7_ = zero__7mIPSMgb4KryhjfgE9bm9cVw_2initialization();
|
|
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T8_ = one__7mIPSMgb4KryhjfgE9bm9cVwinitialization();
|
|
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*q_0) = minus___4AD83Vrv1Sd5PcOgxwnv0wuint_addsub(T7_, T8_);
|
|
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 72 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
c = plus___4AD83Vrv1Sd5PcOgxwnv0w_2uint_addsub(a1, (*b).hi);
|
|
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T11_;
|
|
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T11_ = (NIM_BOOL)0; T11_ = lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison(c, a1); if (!T11_) goto LA12_;
|
|
|
|
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
carry = NIM_TRUE; }
|
|
LA12_: ;
|
|
}
|
|
LA1_: ;
|
|
|
|
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 76 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
extPrecMul__vOPa86RDryHp0lB9bNTb6KQ((&d), (*q_0), (*b).lo);
|
|
|
|
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
chckNil((void*)(&ca0)); nimZeroMem((void*)(&ca0), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA)); ca0.hi = c; ca0.lo = a0;
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*r) = minus___s6tn9c20yzXB9cKHqhwMrN6guint_addsub((&ca0), (&d));
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T16_; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T20_;
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T16_ = (NIM_BOOL)0;
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T16_ = !(carry); if (!(T16_)) goto LA17_;
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T16_ = lt___CEU6rCDBDF9aJ6KPYSjCDgA_2uint_comparison((&ca0), (&d)); LA17_: ;
|
|
if (!T16_) goto LA18_;
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T20_ = one__7mIPSMgb4KryhjfgE9bm9cVwinitialization();
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
minuseq___bxrm0UcFINbvpb9cx688ySw_2uint_addsub(q_0, T20_);
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
pluseq___VhxJTfC5BLsAuA0kNpkWhwuint_addsub(r, b);
|
|
|
|
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T23_; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T26_;
|
|
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T23_ = (NIM_BOOL)0; T23_ = lt___CEU6rCDBDF9aJ6KPYSjCDgA_2uint_comparison(b, (&(*r))); if (!T23_) goto LA24_;
|
|
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T26_ = one__7mIPSMgb4KryhjfgE9bm9cVwinitialization();
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
minuseq___bxrm0UcFINbvpb9cx688ySw_2uint_addsub(q_0, T26_);
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
pluseq___VhxJTfC5BLsAuA0kNpkWhwuint_addsub(r, b);
|
|
}
|
|
LA24_: ;
|
|
}
|
|
LA18_: ;
|
|
}
|
|
|
|
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, div2n1n__CXIKm79cqoLKFmxxZ4oM0XA)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* q_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* r, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* ah, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* al, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* b) { tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA s_1; nimZeroMem((void*)(&s_1), sizeof(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA));
|
|
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
div3n2n__siT9bBneHIvq5gV9cKqWu0Ig((&(*q_0).hi), (&s_1), (*ah).hi, (*ah).lo, (*al).hi, b);
|
|
|
|
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 129 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
div3n2n__siT9bBneHIvq5gV9cKqWu0Ig((&(*q_0).lo), r, s_1.hi, s_1.lo, (*al).lo, b);
|
|
}
|
|
|
|
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, divmodBZ__9aroeCNW0nagPXZf769cKozQ_2)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* q_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* r) { NI clz_2; tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg xx_2; tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg T16_; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA yy_2;{
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T3_;
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isZero__hHCuOZEP3SZNWlqnu0VGGguint_comparison(y_0); if (!!(!(T3_))) goto LA4_;
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__UnGfM2pyoz73fd3kOhfgqA_16));
|
|
}
|
|
LA4_: ;
|
|
|
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T8_;
|
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T8_ = (NIM_BOOL)0; T8_ = isZero__Yu9aLkQ9cLhL5VwnNUuyAvKQuint_comparison((*y_0).hi); if (!T8_) goto LA9_;
|
|
|
|
#line 177 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T13_; NI clz; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA xx; tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g yy;
|
|
#line 177 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 177 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T13_ = (NIM_BOOL)0; T13_ = lt___hyOd3DRsfGOsZ3ykXUTopA_2uint_comparison((*x_0).hi, (*y_0).lo); if (!T13_) goto LA14_;
|
|
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
clz = leadingZeros__TzQMsFsIeKkU3CC19bN5c9bgbitops2_priv((*y_0).lo);
|
|
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
xx = shl__c9bvNmi8v9aU3Vi4sSXq6fPguint_bitwise_ops(x_0, clz);
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
yy = shl__8XaZYcNW5fJKGdkhyYByyA_2uint_bitwise_ops((*y_0).lo, clz);
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
div2n1n__SDcxLu9cNgFXce38S9abpYWw((&(*q_0).lo), (&(*r).lo), xx.hi, xx.lo, yy);
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*r).lo = shr__8XaZYcNW5fJKGdkhyYByyAuint_bitwise_ops((*r).lo, clz);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
goto BeforeRet_;
|
|
}
|
|
LA14_: ;
|
|
}
|
|
LA9_: ;
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
clz_2 = leadingZeros__wnGRVvQhDIsMqDU8RtSeUQbitops2_priv(y_0);
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
nimZeroMem((void*)(&T16_), sizeof(tyObject_UintImpl__EKr9a8sT5j5KTH6f9bNGkgQg)); T16_.lo = (*x_0);
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
xx_2 = shl__XGlUsILkUqK1JhalyiDJCwuint_bitwise_ops((&T16_), clz_2);
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
yy_2 = shl__c9bvNmi8v9aU3Vi4sSXq6fPguint_bitwise_ops(y_0, clz_2);
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
div2n1n__CXIKm79cqoLKFmxxZ4oM0XA(q_0, r, (&xx_2.hi), (&xx_2.lo), (&yy_2));
|
|
|
|
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
(*r) = shr__c9bvNmi8v9aU3Vi4sSXq6fPg_2uint_bitwise_ops((&(*r)), clz_2); }BeforeRet_: ;
|
|
}
|
|
|
|
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyTuple__cEA2BnesWvD8MYdhMKmxgg, divmod__pWdXtdF9alC1QLZFoh8MYSg)(tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* x_0, tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA* y_0) { tyTuple__cEA2BnesWvD8MYdhMKmxgg result; NI x_clz; NI y_clz; nimZeroMem((void*)(&result), sizeof(tyTuple__cEA2BnesWvD8MYdhMKmxgg));
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
x_clz = leadingZeros__wnGRVvQhDIsMqDU8RtSeUQbitops2_priv(x_0);
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
y_clz = leadingZeros__wnGRVvQhDIsMqDU8RtSeUQbitops2_priv(y_0);
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
{ NIM_BOOL T3_; NIM_BOOL T4_; tyObject_DivByZeroError__vASt1Zy2CLWqyBeLxcXqow* T7_; NimStringDesc* T8_;
|
|
#line 2042 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isZero__hHCuOZEP3SZNWlqnu0VGGguint_comparison(y_0);
|
|
#line 2042 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
T4_ = (NIM_BOOL)0; T4_ = NIM_UNLIKELY(T3_); if (!T4_) goto LA5_;
|
|
T7_ = (tyObject_DivByZeroError__vASt1Zy2CLWqyBeLxcXqow*)0; T7_ = (tyObject_DivByZeroError__vASt1Zy2CLWqyBeLxcXqow*) newObj((&NTI__l9cxZBMkgRuliCVgWAnHVRg_), sizeof(tyObject_DivByZeroError__vASt1Zy2CLWqyBeLxcXqow)); (*T7_).Sup.Sup.Sup.Sup.m_type = (&NTI__vASt1Zy2CLWqyBeLxcXqow_); (*T7_).Sup.Sup.Sup.name = "DivByZeroError"; T8_ = (NimStringDesc*)0; T8_ = (*T7_).Sup.Sup.Sup.message; (*T7_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__UnGfM2pyoz73fd3kOhfgqA_5)); if (T8_) nimGCunrefNoCycle(T8_); asgnRef((void**) (&(*T7_).Sup.Sup.Sup.parent), NIM_NIL);
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
raiseExceptionEx((Exception*)T7_, "DivByZeroError", "divmod", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/priv"
|
|
"ate/uint_div.nim", 240); }
|
|
goto LA1_;
|
|
LA5_: ;
|
|
{
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (!(y_clz == ((NI) 255))) goto LA10_;
|
|
|
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field0 = (*x_0); }
|
|
goto LA1_;
|
|
LA10_: ;
|
|
{ tyObject_UintImpl__7gzUBTJUlPE55RUsMXYp5g T13_; NIM_BOOL T14_; tyTuple__QQF1dzTX8TMgqr7veHY7aA _;
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T13_ = or__7z55WRR24vBbMLIAXjoNCAuint_bitwise_ops((*x_0).hi, (*y_0).hi);
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T14_ = (NIM_BOOL)0; T14_ = isZero__Yu9aLkQ9cLhL5VwnNUuyAvKQuint_comparison(T13_); if (!T14_) goto LA15_;
|
|
|
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
_ = divmod__toQ0ltQtsVKCYo9cBAdkkIw((*x_0).lo, (*y_0).lo);
|
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field0.lo = _.Field0;
|
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field1.lo = _.Field1; }
|
|
goto LA1_;
|
|
LA15_: ;
|
|
{ tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA T18_; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA T19_; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA T20_; NIM_BOOL T21_; NI y_ctz; NI TM__UnGfM2pyoz73fd3kOhfgqA_19; NI TM__UnGfM2pyoz73fd3kOhfgqA_20; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA T24_; tyObject_UintImpl__3RPAuTAh9bcIRq9bgsNKRahA T25_;
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T18_ = one__qBFgoucE9cGL78cMBFToOpg_2initialization();
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T19_ = minus___s6tn9c20yzXB9cKHqhwMrN6guint_addsub(y_0, (&T18_));
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T20_ = and__nmeaiDSAf9bms7NeNVIXv3guint_bitwise_ops(y_0, (&T19_));
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T21_ = (NIM_BOOL)0; T21_ = isZero__hHCuOZEP3SZNWlqnu0VGGguint_comparison((&T20_)); if (!T21_) goto LA22_;
|
|
|
|
#line 252 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 252 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 252 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (nimSubInt(((NI) 256), y_clz, &TM__UnGfM2pyoz73fd3kOhfgqA_19)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__UnGfM2pyoz73fd3kOhfgqA_19), ((NI) 1), &TM__UnGfM2pyoz73fd3kOhfgqA_20)) { raiseOverflow(); }; y_ctz = (NI)(TM__UnGfM2pyoz73fd3kOhfgqA_20);
|
|
#line 253 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 253 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field0 = shr__c9bvNmi8v9aU3Vi4sSXq6fPg_2uint_bitwise_ops(x_0, y_ctz);
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T24_ = one__qBFgoucE9cGL78cMBFToOpg_2initialization();
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T25_ = minus___s6tn9c20yzXB9cKHqhwMrN6guint_addsub(y_0, (&T24_));
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field1 = and__nmeaiDSAf9bms7NeNVIXv3guint_bitwise_ops(x_0, (&T25_)); }
|
|
goto LA1_;
|
|
LA22_: ;
|
|
{ NIM_BOOL T27_;
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T27_ = (NIM_BOOL)0; T27_ = eqeq___CEU6rCDBDF9aJ6KPYSjCDgAuint_comparison(x_0, y_0); if (!T27_) goto LA28_;
|
|
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field0.lo = one__7mIPSMgb4KryhjfgE9bm9cVwinitialization(); }
|
|
goto LA1_;
|
|
LA28_: ;
|
|
{ NIM_BOOL T31_;
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
T31_ = (NIM_BOOL)0; T31_ = lt___CEU6rCDBDF9aJ6KPYSjCDgA_2uint_comparison(x_0, y_0); if (!T31_) goto LA32_;
|
|
|
|
#line 258 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
result.Field1 = (*x_0); }
|
|
goto LA1_;
|
|
LA32_: ;
|
|
{ NI TM__UnGfM2pyoz73fd3kOhfgqA_23;
|
|
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
if (nimSubInt(y_clz, x_clz, &TM__UnGfM2pyoz73fd3kOhfgqA_23)) { raiseOverflow(); }; if (!((NI)(TM__UnGfM2pyoz73fd3kOhfgqA_23) < ((NI) 8))) goto LA35_;
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
divmodBS__9aroeCNW0nagPXZf769cKozQ(x_0, y_0, (&result.Field0), (&result.Field1));
|
|
}
|
|
goto LA1_;
|
|
LA35_: ;
|
|
{
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stint/stint/private/uint_div.nim"
|
|
divmodBZ__9aroeCNW0nagPXZf769cKozQ_2(x_0, y_0, (&result.Field0), (&result.Field1));
|
|
}
|
|
LA1_: ;
|
|
return result;}
|