nwaku/nimcache/release/start_network/stdlib_times.nim.c

2628 lines
190 KiB
C

/* Generated by Nim Compiler v1.2.6 */
/* (c) 2020 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Linux, amd64, gcc */
/* Command for C compiler:
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/waku/v1/node -o nimcache/release/start_network/stdlib_times.nim.c.o nimcache/release/start_network/stdlib_times.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <time.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 tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw;
typedef struct tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ;
typedef struct tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyTuple__JfHvHzMrhKkWAUvQKe0i1A tyTuple__JfHvHzMrhKkWAUvQKe0i1A;
typedef struct tyObject_Env_timesdotnim___diB2NTuAIWY0FO9c5IUJRGg tyObject_Env_timesdotnim___diB2NTuAIWY0FO9c5IUJRGg;
typedef struct tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw;
typedef struct tyObject_TimeFormat__Nsh4TB3AD6ERMz3D74BTxA tyObject_TimeFormat__Nsh4TB3AD6ERMz3D74BTxA;
typedef struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
typedef struct tyObject_DateTimeLocale__uNv3Dc4hHpAREXnLVqGWZQ tyObject_DateTimeLocale__uNv3Dc4hHpAREXnLVqGWZQ;
typedef struct RootObj RootObj;
typedef struct tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw;
typedef struct tyTuple__XjuGlLf9cyYx66ViXrBCvPQ tyTuple__XjuGlLf9cyYx66ViXrBCvPQ;
typedef struct tyTuple__47w2DboNEPf69aPgubZdd7Q tyTuple__47w2DboNEPf69aPgubZdd7Q;
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__pfrdooyxJsC6cg34ebuBag tyTuple__pfrdooyxJsC6cg34ebuBag;
struct tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q {NI64 seconds;
NI nanosecond;
};
struct tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ {tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q time;
NI utcOffset;
NIM_BOOL isDst;
};
typedef struct {
N_NIMCALL_PTR(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ, ClP_0) (tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q x, void* ClE_0);
void* ClE_0;
} tyProc__bs1dgeTxHIjPGTR9axkkHbg;
struct TGenericSeq {NI len;
NI reserved;
};
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
};
struct tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw {tyProc__bs1dgeTxHIjPGTR9axkkHbg zonedTimeFromTimeImpl;
tyProc__bs1dgeTxHIjPGTR9axkkHbg zonedTimeFromAdjTimeImpl;
NimStringDesc* name;
};
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 tyTuple__JfHvHzMrhKkWAUvQKe0i1A {
void* Field0;
tyObject_Env_timesdotnim___diB2NTuAIWY0FO9c5IUJRGg* Field1;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
typedef N_NIMCALL_PTR(void, tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ) (void);
struct tyObject_TimeFormat__Nsh4TB3AD6ERMz3D74BTxA {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* patterns;
NimStringDesc* formatStr;
};
typedef NU8 tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ;
struct RootObj {TNimType* m_type;};
typedef NU8 tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw;
typedef NU8 tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg;
struct tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw { RootObj Sup;NI nanosecond;
NI second;
NI minute;
NI hour;
NI monthday;
tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw month;
NI year;
tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg weekday;
NI yearday;
NIM_BOOL isDst;
tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* timezone;
NI utcOffset;
};
typedef NimStringDesc* tyArray__3hurAvNmIXWWeqMzKryr2A[12];
typedef NimStringDesc* tyArray__O9c55L7dGQruaGz5nJ2r4rA[7];
struct tyObject_DateTimeLocale__uNv3Dc4hHpAREXnLVqGWZQ {tyArray__3hurAvNmIXWWeqMzKryr2A MMM;
tyArray__3hurAvNmIXWWeqMzKryr2A MMMM;
tyArray__O9c55L7dGQruaGz5nJ2r4rA ddd;
tyArray__O9c55L7dGQruaGz5nJ2r4rA dddd;
};
typedef NU8 tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ;
typedef NI64 tyArray__pDfjTbtkTNjmi9bTcaNV32Q[8];
struct tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw {NI64 seconds;
NI nanosecond;
};
struct tyTuple__XjuGlLf9cyYx66ViXrBCvPQ {
NI Field0;
tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw Field1;
NI Field2;
};
struct tyTuple__47w2DboNEPf69aPgubZdd7Q {
NI Field0;
NI Field1;
NI Field2;
};
typedef NI tyArray__Splpnswz3rudLg9bDsQoDXg[12];
typedef N_CLOSURE_PTR(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ, TM__6NbDwwj5FY059b1gz2AsAZQ_197) (tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q x);
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__pfrdooyxJsC6cg34ebuBag {
NI Field0;
NIM_BOOL Field1;
};
typedef N_CLOSURE_PTR(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ, TM__6NbDwwj5FY059b1gz2AsAZQ_208) (tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q time, void* ClE_0);
typedef N_CLOSURE_PTR(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ, TM__6NbDwwj5FY059b1gz2AsAZQ_214) (tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q adjTime, void* ClE_0);
struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tyRef__9a5v4OQPlGqsA25ioN8hFYA)(void* p, NI op);
static N_NIMCALL(void, TM__6NbDwwj5FY059b1gz2AsAZQ_4)(void);
N_LIB_PRIVATE N_NIMCALL(void, nimRegisterThreadLocalMarker)(tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ markerProc);
static N_NIMCALL(void, TM__6NbDwwj5FY059b1gz2AsAZQ_5)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, format__mJBnGHvSWAC6GZ5ELoijxg)(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* dt, tyObject_TimeFormat__Nsh4TB3AD6ERMz3D74BTxA f, tyObject_DateTimeLocale__uNv3Dc4hHpAREXnLVqGWZQ* loc);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(void, formatPattern__S4WegiBO0BkW28IP3SncnA)(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* dt, tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ pattern, NimStringDesc** result, tyObject_DateTimeLocale__uNv3Dc4hHpAREXnLVqGWZQ* loc);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuIntToStr)(NI x_0, NI minchars);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError3)(NI i, NI a, NI b);
static N_INLINE(NI, convert__bBJ7N1GpubC85YlnXz3nHgtimes)(tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitFrom, tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitTo, NI quantity);
N_LIB_PRIVATE N_NOINLINE(void, raiseDivByZero)(void);
static N_INLINE(NIM_BOOL, nimDivInt64)(NI64 a, NI64 b, NI64* res);
static N_INLINE(void, appendChar)(NimStringDesc* dest_0, NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___uJ3ui4E9b9bOpe9bnJkEo4LvQ)(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* zone1, tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* zone2);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
static N_INLINE(NIM_BOOL, nimDivInt)(NI a, NI b, NI* res);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
N_LIB_PRIVATE N_NIMCALL(void, local__JDUz4bfwLSZvJxYV9aiNG9bg)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q t, tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* Result);
N_LIB_PRIVATE N_NIMCALL(void, inZone__o59cT0ssqq4BC09cuUGSdJiA)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q time, tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* zone, tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* Result);
N_LIB_PRIVATE N_NIMCALL(void, initDateTime__9aNghJ6FEvB9bmfWkrG4iUag)(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ* zt, tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* zone, tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* Result);
N_LIB_PRIVATE N_NIMCALL(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q, ntSubTime)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q a, tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw b);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
N_LIB_PRIVATE N_NIMCALL(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q, normalize__PiFB72i3f9cc4IO17Lz9cB7w)(NI64 seconds_0, NI64 nanoseconds);
static N_INLINE(NI64, convert__2z1a0DRE31bT73xgVvBfQAtimes)(tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitFrom, tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitTo, NI64 quantity);
static N_INLINE(NI, convert__vsrmXCcg8GubJb67VXeq4wtimes)(tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitFrom, tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitTo, NI quantity);
N_LIB_PRIVATE N_NIMCALL(tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw, initDuration__wcR3zetvspAUsyuvWZ07Xg)(NI64 nanoseconds, NI64 microseconds, NI64 milliseconds, NI64 seconds_0, NI64 minutes, NI64 hours, NI64 days_0, NI64 weeks);
N_LIB_PRIVATE N_NIMCALL(tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw, normalize__JK8O6vJVu4WsESmu0kL4aQ)(NI64 seconds_0, NI64 nanoseconds);
N_LIB_PRIVATE N_NIMCALL(NI64, floorDiv__AhJW2V9aOggsJyHuT9bgq9bug)(NI64 x_0, NI64 y_0);
N_LIB_PRIVATE N_NIMCALL(tyTuple__XjuGlLf9cyYx66ViXrBCvPQ, fromEpochDay__Q6dL9aKf9alEEEm3deeqatPQ)(NI64 epochday);
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
N_LIB_PRIVATE N_NIMCALL(tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg, getDayOfWeek__mJS9aX4seDJTXPb8lsduIJQ)(NI monthday, tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw month, NI year);
static N_INLINE(void, assertValidDate__f2Fk39au9a9a6rBs21PXyCIwQtimes)(NI monthday, tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw month, NI year);
N_LIB_PRIVATE N_NIMCALL(NI, getDaysInMonth__9c0c5LEKvayZjopjsP8l54g)(tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw month, NI year);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isLeapYear__fs8eIeJ5mOYFq6g12UKiwQ)(NI year);
N_LIB_PRIVATE N_NIMCALL(NI64, toEpochDay__af2n9cSSmlgt19bLZ9bxJgAfw)(NI monthday, tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw month, NI year);
N_LIB_PRIVATE N_NIMCALL(NI, getDayOfYear__Rz86hD1Kcki9b7ycaX9c9cWvQ)(NI monthday, tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw month, NI year);
N_LIB_PRIVATE N_NIMCALL(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ, zonedTimeFromTime__zT9bMgAwfe1o0G71u2tO24Q)(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* zone, tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q time);
N_LIB_PRIVATE N_NIMCALL(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw*, local__qUBQvQNLA9buHXwkwhObxQg)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw*, newTimezone__wByPoqWZicj9aruaaS1n9bFQ)(NimStringDesc* name_0, tyProc__bs1dgeTxHIjPGTR9axkkHbg zonedTimeFromTimeImpl, tyProc__bs1dgeTxHIjPGTR9axkkHbg zonedTimeFromAdjTimeImpl);
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(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ, localZonedTimeFromTime__uDYZeDxzpPQoN8cxZKMtTQ)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q time);
N_LIB_PRIVATE N_NIMCALL(tyTuple__pfrdooyxJsC6cg34ebuBag, getLocalOffsetAndDst__wPlTAoiD9bfaYQuVXohuphA)(NI64 unix_0);
N_LIB_PRIVATE N_NIMCALL(NI64, clamp__4FyNK9boFeHv6A9b7jEfnv4Q)(NI64 x_0, NI64 a, NI64 b);
N_LIB_PRIVATE N_NIMCALL(NI64, toAdjUnix__7gZ56sIczRw5Us60WRxM6Q)(struct tm tm);
N_LIB_PRIVATE N_NIMCALL(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ, localZonedTimeFromAdjTime__GmSlVYJeJjQvBZrTGP0v1w)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q adjTime);
N_LIB_PRIVATE N_NIMCALL(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q, initTime__JIXNH9cQMG3SbZ0hXqEYDvA)(NI64 unix_0, NI nanosecond);
N_LIB_PRIVATE N_NIMCALL(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q, getTime__h20mpqrwsumk6J9bRdCm6IQ)(void);
N_LIB_PRIVATE TNimType NTI__F8OvqlxXyGXRSiK9c1fCDVw_;
N_LIB_PRIVATE TNimType NTI__bs1dgeTxHIjPGTR9axkkHbg_;
extern TNimType NTI__vr5DoT1jILTGdRlYv1OYpw_;
extern TNimType NTI__HsJiUUcO9cHBdUCi0HwkSTA_;
extern TNimType NTI__77mFvmsOLKik79ci2hXkHEg_;
N_LIB_PRIVATE TNimType NTI__9a5v4OQPlGqsA25ioN8hFYA_;
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_10, "12", 2);
N_LIB_PRIVATE NIM_CONST tyArray__pDfjTbtkTNjmi9bTcaNV32Q unitWeights__cpugRVHYEC9bUpLa71eZMsQ = {IL64(1),
IL64(1000),
IL64(1000000),
IL64(1000000000),
IL64(60000000000),
IL64(3600000000000),
IL64(86400000000000),
IL64(604800000000000)}
;
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_17, "P", 1);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_18, "A", 1);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_19, "PM", 2);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_20, "AM", 2);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_31, "Etc/UTC", 7);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_37, ":", 1);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_42, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/times.nim(2076, 20) `false` ", 111);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_43, "BC", 2);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_44, "AD", 2);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_45, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/times.nim(2079, 18) `false` ", 111);
static NIM_CONST struct { TGenericSeq Sup; NU8 data[26];} TM__6NbDwwj5FY059b1gz2AsAZQ_48 = {{26, 26 | NIM_STRLIT_FLAG}, {((NU8) 24),
((NU8) 34),
((NU8) 1),
((NU8) 45),
((NU8) 11),
((NU8) 34),
((NU8) 1),
((NU8) 45),
((NU8) 1),
((NU8) 34),
((NU8) 1),
((NU8) 32),
((NU8) 7),
((NU8) 34),
((NU8) 1),
((NU8) 58),
((NU8) 9),
((NU8) 34),
((NU8) 1),
((NU8) 58),
((NU8) 15),
((NU8) 34),
((NU8) 1),
((NU8) 46),
((NU8) 16),
((NU8) 31)}};STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_49, "yyyy-MM-dd HH:mm:ss\'.\'fffzzz", 28);
static NIM_CONST tyObject_TimeFormat__Nsh4TB3AD6ERMz3D74BTxA TM__6NbDwwj5FY059b1gz2AsAZQ_47 = {((tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)&TM__6NbDwwj5FY059b1gz2AsAZQ_48), ((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_49)}
;
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_51, "Jan", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_52, "Feb", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_53, "Mar", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_54, "Apr", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_55, "May", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_56, "Jun", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_57, "Jul", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_58, "Aug", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_59, "Sep", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_60, "Oct", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_61, "Nov", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_62, "Dec", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_63, "January", 7);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_64, "February", 8);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_65, "March", 5);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_66, "April", 5);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_67, "June", 4);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_68, "July", 4);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_69, "August", 6);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_70, "September", 9);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_71, "October", 7);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_72, "November", 8);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_73, "December", 8);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_74, "Mon", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_75, "Tue", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_76, "Wed", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_77, "Thu", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_78, "Fri", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_79, "Sat", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_80, "Sun", 3);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_81, "Monday", 6);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_82, "Tuesday", 7);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_83, "Wednesday", 9);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_84, "Thursday", 8);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_85, "Friday", 6);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_86, "Saturday", 8);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_87, "Sunday", 6);
static NIM_CONST tyObject_DateTimeLocale__uNv3Dc4hHpAREXnLVqGWZQ TM__6NbDwwj5FY059b1gz2AsAZQ_50 = {{((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_51),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_52),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_53),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_54),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_55),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_56),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_57),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_58),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_59),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_60),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_61),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_62)}
, {((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_63),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_64),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_65),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_66),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_55),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_67),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_68),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_69),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_70),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_71),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_72),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_73)}
, {((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_74),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_75),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_76),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_77),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_78),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_79),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_80)}
, {((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_81),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_82),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_83),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_84),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_85),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_86),
((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_87)}
}
;
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
N_LIB_PRIVATE TNimType NTI__d9cK9cyKZPJJxFXUmx8dSpPw_;
extern TNimType NTI__PpavWgyrx5odXyR89aNlcWA_;
extern TNimType NTI__rUuqTvFmkC6KKRqDAazGEA_;
extern TNimType NTI__LBgXxpmYOpS8xroRZgNvbg_;
extern TNimType NTI__Gz6vwaK0PZQIDIwfuvKsOg_;
extern TNimType NTI__R6xyK4emLrjzESwYWG6z5A_;
N_LIB_PRIVATE TNimType NTI__JS0JuFvCBbC2GL3xXBnPQw_;
extern TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_;
N_LIB_PRIVATE TNimType NTI__SVfemTA9aCOyua2TJYa6yBg_;
extern TNimType NTI__g9buja9c9aeh0rkDpqsXOJF9bA_;
extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_166, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
"vendor/Nim/lib/pure/times.nim(675, 10) `monthday > 0 and monthda"
"y <= getDaysInMonth(month, year)` ", 161);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_167, "-", 1);
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_168, " is not a valid date", 20);
N_LIB_PRIVATE NIM_CONST tyArray__Splpnswz3rudLg9bDsQoDXg daysUntilMonthLeap__bWLQu3i9bqoFDTyygQP29aFA = {((NI) 0),
((NI) 31),
((NI) 60),
((NI) 91),
((NI) 121),
((NI) 152),
((NI) 182),
((NI) 213),
((NI) 244),
((NI) 274),
((NI) 305),
((NI) 335)}
;
N_LIB_PRIVATE NIM_CONST tyArray__Splpnswz3rudLg9bDsQoDXg daysUntilMonth__TV2R7Va3CeAXpg6eZUosdg = {((NI) 0),
((NI) 31),
((NI) 59),
((NI) 90),
((NI) 120),
((NI) 151),
((NI) 181),
((NI) 212),
((NI) 243),
((NI) 273),
((NI) 304),
((NI) 334)}
;
STRING_LITERAL(TM__6NbDwwj5FY059b1gz2AsAZQ_198, "LOCAL", 5);
N_LIB_PRIVATE NIM_THREADVAR tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* utcInstance__oeKVHn4dFpBJO35HhEkelw;
extern TNimType* nimTypeRoot;
N_LIB_PRIVATE NIM_THREADVAR tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* localInstance__cLtN9cK9bCe6IPhJ3UFNLNKA;
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
static N_NIMCALL(void, Marker_tyRef__9a5v4OQPlGqsA25ioN8hFYA)(void* p, NI op) {
tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* a;
a = (tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw*)p;
nimGCvisit((void*)(*a).zonedTimeFromTimeImpl.ClE_0, op); nimGCvisit((void*)(*a).zonedTimeFromAdjTimeImpl.ClE_0, op); nimGCvisit((void*)(*a).name, op);}
static N_NIMCALL(void, TM__6NbDwwj5FY059b1gz2AsAZQ_4)(void) {
nimGCvisit((void*)utcInstance__oeKVHn4dFpBJO35HhEkelw, 0);}
static N_NIMCALL(void, TM__6NbDwwj5FY059b1gz2AsAZQ_5)(void) {
nimGCvisit((void*)localInstance__cLtN9cK9bCe6IPhJ3UFNLNKA, 0);}
#line 11 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_;
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size)));}
#line 2112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
nimCopyMem(dest, source, size);
}
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
{
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
if (!!((src == NIM_NIL))) goto LA3_;
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
(*dest).Sup.len += (*src).Sup.len; }
LA3_: ;
}
#line 123 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
static N_INLINE(NIM_BOOL, nimDivInt64)(NI64 a, NI64 b, NI64* res) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
{ NIM_BOOL T3_;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
T3_ = (NIM_BOOL)0;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
T3_ = (a == (IL64(-9223372036854775807) - IL64(1))); if (!(T3_)) goto LA4_;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
T3_ = (b == IL64(-1)); LA4_: ;
if (!T3_) goto LA5_;
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
result = NIM_TRUE; }
goto LA1_;
LA5_: ;
{
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
(*res) = (NI64)(a / b); }
LA1_: ;
return result;}
#line 449 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
static N_INLINE(NI, convert__bBJ7N1GpubC85YlnXz3nHgtimes)(tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitFrom, tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitTo, NI quantity) { NI result; result = (NI)0;
#line 451 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_13; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_14;
#line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(unitFrom < unitTo)) goto LA3_;
#line 458 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 458 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0] == 0){ raiseDivByZero(); } if (nimDivInt64(unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0], unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0], &TM__6NbDwwj5FY059b1gz2AsAZQ_13)) { raiseOverflow(); }; if ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_13) == 0){ raiseDivByZero(); } if (nimDivInt64(((NI64) (quantity)), (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_13), &TM__6NbDwwj5FY059b1gz2AsAZQ_14)) { raiseOverflow(); }; if (((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_14)) < ((NI) 0) || ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_14)) > ((NI) 999999999)){ raiseRangeErrorI((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_14), ((NI) 0), ((NI) 999999999)); } result = ((NI) ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_14))); }
goto LA1_;
LA3_: ;
{ NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_15; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_16;
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0] == 0){ raiseDivByZero(); } if (nimDivInt64(unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0], unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0], &TM__6NbDwwj5FY059b1gz2AsAZQ_15)) { raiseOverflow(); }; if (nimMulInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_15), ((NI64) (quantity)), &TM__6NbDwwj5FY059b1gz2AsAZQ_16)) { raiseOverflow(); }; if (((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_16)) < ((NI) 0) || ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_16)) > ((NI) 999999999)){ raiseRangeErrorI((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_16), ((NI) 0), ((NI) 999999999)); } result = ((NI) ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_16))); }
LA1_: ;
return result;}
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
static N_INLINE(void, appendChar)(NimStringDesc* dest_0, NIM_CHAR c) {
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
(*dest_0).data[(*dest_0).Sup.len] = c;
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
(*dest_0).data[(NI)((*dest_0).Sup.len + ((NI) 1))] = 0;
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
(*dest_0).Sup.len += ((NI) 1);}
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) { int result; result = (int)0;
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
result = memcmp(a, b, ((size_t) (size))); return result;}
#line 2120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size) { NIM_BOOL result; int T1_; result = (NIM_BOOL)0;
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
T1_ = (int)0; T1_ = nimCmpMem(a, b, size); result = (T1_ == ((NI32) 0)); return result;}
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) { NIM_BOOL result; NI alen; NI blen;{ result = (NIM_BOOL)0;
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
alen = (a ? a->Sup.len : 0);
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
blen = (b ? b->Sup.len : 0);
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
{
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
if (!(alen == blen)) goto LA3_;
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
{
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
if (!(alen == ((NI) 0))) goto LA7_;
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
result = NIM_TRUE; goto BeforeRet_;
}
LA7_: ;
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
result = equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen))); goto BeforeRet_;
}
LA3_: ;
}BeforeRet_: ;
return result;}
#line 1080 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___uJ3ui4E9b9bOpe9bnJkEo4LvQ)(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* zone1, tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* zone2) { NIM_BOOL result;{ result = (NIM_BOOL)0;
#line 1081 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1082 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 1082 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(zone1 == zone2)) goto LA3_;
#line 1083 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1083 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result = NIM_TRUE; goto BeforeRet_;
}
LA3_: ;
#line 1084 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NIM_BOOL T7_;
#line 1084 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T7_ = (NIM_BOOL)0;
#line 1084 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T7_ = (zone1 == 0); if (T7_) goto LA8_;
#line 1084 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T7_ = (zone2 == 0); LA8_: ;
if (!T7_) goto LA9_;
#line 1085 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1085 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result = NIM_FALSE; goto BeforeRet_;
}
LA9_: ;
#line 1090 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result = eqStrings((*zone1).name, (*zone2).name); }BeforeRet_: ;
return result;}
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
static N_INLINE(NIM_BOOL, nimDivInt)(NI a, NI b, NI* res) { NIM_BOOL result; result = (NIM_BOOL)0;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
{ NIM_BOOL T3_;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
T3_ = (NIM_BOOL)0;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
T3_ = (a == ((NI) (IL64(-9223372036854775807) - IL64(1)))); if (!(T3_)) goto LA4_;
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
T3_ = (b == ((NI) -1)); LA4_: ;
if (!T3_) goto LA5_;
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
result = NIM_TRUE; }
goto LA1_;
LA5_: ;
{
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/integerops.nim"
(*res) = (NI)(a / b); }
LA1_: ;
return result;}
#line 1972 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(void, formatPattern__S4WegiBO0BkW28IP3SncnA)(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* dt, tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ pattern, NimStringDesc** result, tyObject_DateTimeLocale__uNv3Dc4hHpAREXnLVqGWZQ* loc) {
#line 1977 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
switch (pattern) {
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 0):
{ NimStringDesc* T2_;
#line 1979 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1979 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T2_ = (NimStringDesc*)0; T2_ = nimIntToStr(((NI) ((*dt).monthday))); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T2_ ? T2_->Sup.len : 0) + 0));appendString((*result), T2_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 1):
{ NimStringDesc* T4_;
#line 1981 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1981 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1981 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T4_ = (NimStringDesc*)0; T4_ = nsuIntToStr(((NI) ((*dt).monthday)), ((NI) 2)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T4_ ? T4_->Sup.len : 0) + 0));appendString((*result), T4_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 2):
{
#line 1983 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
unsureAsgnRef((void**) (&(*result)), resizeString((*result), ((*loc).ddd[((*dt).weekday)- 0] ? (*loc).ddd[((*dt).weekday)- 0]->Sup.len : 0) + 0));appendString((*result), (*loc).ddd[((*dt).weekday)- 0]); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 3):
{
#line 1985 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
unsureAsgnRef((void**) (&(*result)), resizeString((*result), ((*loc).dddd[((*dt).weekday)- 0] ? (*loc).dddd[((*dt).weekday)- 0]->Sup.len : 0) + 0));appendString((*result), (*loc).dddd[((*dt).weekday)- 0]); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 4):
{ NimStringDesc* T8_;
#line 1987 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T8_ = (NimStringDesc*)0;
#line 1988 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 1988 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(((NI) ((*dt).hour)) == ((NI) 0))) goto LA11_;
T8_ = copyString(((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_10)); }
goto LA9_;
LA11_: ;
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_11;
#line 1989 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(((NI) 12) < ((NI) ((*dt).hour)))) goto LA14_;
#line 1989 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1989 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt(((NI) ((*dt).hour)), ((NI) 12), &TM__6NbDwwj5FY059b1gz2AsAZQ_11)) { raiseOverflow(); }; T8_ = nimIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_11)); }
goto LA9_;
LA14_: ;
{
#line 1990 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T8_ = nimIntToStr(((NI) ((*dt).hour))); }
LA9_: ;
unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T8_ ? T8_->Sup.len : 0) + 0));appendString((*result), T8_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 5):
{ NimStringDesc* T18_;
#line 1993 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T18_ = (NimStringDesc*)0;
#line 1994 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 1994 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(((NI) ((*dt).hour)) == ((NI) 0))) goto LA21_;
T18_ = copyString(((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_10)); }
goto LA19_;
LA21_: ;
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_12;
#line 1995 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(((NI) 12) < ((NI) ((*dt).hour)))) goto LA24_;
#line 1995 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1995 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt(((NI) ((*dt).hour)), ((NI) 12), &TM__6NbDwwj5FY059b1gz2AsAZQ_12)) { raiseOverflow(); };
#line 1995 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T18_ = nsuIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_12), ((NI) 2)); }
goto LA19_;
LA24_: ;
{
#line 1996 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1996 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T18_ = nsuIntToStr(((NI) ((*dt).hour)), ((NI) 2)); }
LA19_: ;
unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T18_ ? T18_->Sup.len : 0) + 0));appendString((*result), T18_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 6):
{ NimStringDesc* T28_;
#line 1999 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1999 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T28_ = (NimStringDesc*)0; T28_ = nimIntToStr(((NI) ((*dt).hour))); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T28_ ? T28_->Sup.len : 0) + 0));appendString((*result), T28_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 7):
{ NimStringDesc* T30_;
#line 2001 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2001 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2001 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T30_ = (NimStringDesc*)0; T30_ = nsuIntToStr(((NI) ((*dt).hour)), ((NI) 2)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T30_ ? T30_->Sup.len : 0) + 0));appendString((*result), T30_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 8):
{ NimStringDesc* T32_;
#line 2003 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2003 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T32_ = (NimStringDesc*)0; T32_ = nimIntToStr(((NI) ((*dt).minute))); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T32_ ? T32_->Sup.len : 0) + 0));appendString((*result), T32_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 9):
{ NimStringDesc* T34_;
#line 2005 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2005 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2005 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T34_ = (NimStringDesc*)0; T34_ = nsuIntToStr(((NI) ((*dt).minute)), ((NI) 2)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T34_ ? T34_->Sup.len : 0) + 0));appendString((*result), T34_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 10):
{ NimStringDesc* T36_;
#line 2007 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2007 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2007 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T36_ = (NimStringDesc*)0; T36_ = nimIntToStr((*dt).month); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T36_ ? T36_->Sup.len : 0) + 0));appendString((*result), T36_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 11):
{ NimStringDesc* T38_;
#line 2009 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2009 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2009 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2009 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T38_ = (NimStringDesc*)0; T38_ = nsuIntToStr((*dt).month, ((NI) 2)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T38_ ? T38_->Sup.len : 0) + 0));appendString((*result), T38_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 12):
{
#line 2011 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((*dt).month < 1 || (*dt).month > 12){ raiseIndexError3((*dt).month, 1, 12); } unsureAsgnRef((void**) (&(*result)), resizeString((*result), ((*loc).MMM[((*dt).month)- 1] ? (*loc).MMM[((*dt).month)- 1]->Sup.len : 0) + 0));appendString((*result), (*loc).MMM[((*dt).month)- 1]); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 13):
{
#line 2013 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((*dt).month < 1 || (*dt).month > 12){ raiseIndexError3((*dt).month, 1, 12); } unsureAsgnRef((void**) (&(*result)), resizeString((*result), ((*loc).MMMM[((*dt).month)- 1] ? (*loc).MMMM[((*dt).month)- 1]->Sup.len : 0) + 0));appendString((*result), (*loc).MMMM[((*dt).month)- 1]); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 14):
{ NimStringDesc* T42_;
#line 2015 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2015 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T42_ = (NimStringDesc*)0; T42_ = nimIntToStr(((NI) ((*dt).second))); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T42_ ? T42_->Sup.len : 0) + 0));appendString((*result), T42_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 15):
{ NimStringDesc* T44_;
#line 2017 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2017 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2017 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T44_ = (NimStringDesc*)0; T44_ = nsuIntToStr(((NI) ((*dt).second)), ((NI) 2)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T44_ ? T44_->Sup.len : 0) + 0));appendString((*result), T44_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 16):
{ NI T46_; NimStringDesc* T47_;
#line 2019 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2019 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2019 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2019 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T46_ = (NI)0; T46_ = convert__bBJ7N1GpubC85YlnXz3nHgtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 2), (*dt).nanosecond);
#line 2019 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T47_ = (NimStringDesc*)0; T47_ = nsuIntToStr(((NI) (T46_)), ((NI) 3)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T47_ ? T47_->Sup.len : 0) + 0));appendString((*result), T47_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 17):
{ NI T49_; NimStringDesc* T50_;
#line 2021 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2021 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2021 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2021 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T49_ = (NI)0; T49_ = convert__bBJ7N1GpubC85YlnXz3nHgtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 1), (*dt).nanosecond);
#line 2021 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T50_ = (NimStringDesc*)0; T50_ = nsuIntToStr(((NI) (T49_)), ((NI) 6)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T50_ ? T50_->Sup.len : 0) + 0));appendString((*result), T50_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 18):
{ NimStringDesc* T52_;
#line 2023 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2023 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2023 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T52_ = (NimStringDesc*)0; T52_ = nsuIntToStr(((NI) ((*dt).nanosecond)), ((NI) 9)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T52_ ? T52_->Sup.len : 0) + 0));appendString((*result), T52_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 19):
{ NimStringDesc* T54_;
#line 2025 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T54_ = (NimStringDesc*)0;
#line 2025 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 2025 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(((NI) 12) <= ((NI) ((*dt).hour)))) goto LA57_;
T54_ = copyString(((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_17)); }
goto LA55_;
LA57_: ;
{ T54_ = copyString(((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_18)); }
LA55_: ;
unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T54_ ? T54_->Sup.len : 0) + 0));appendString((*result), T54_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 20):
{ NimStringDesc* T61_;
#line 2027 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T61_ = (NimStringDesc*)0;
#line 2027 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 2027 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(((NI) 12) <= ((NI) ((*dt).hour)))) goto LA64_;
T61_ = copyString(((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_19)); }
goto LA62_;
LA64_: ;
{ T61_ = copyString(((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_20)); }
LA62_: ;
unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T61_ ? T61_->Sup.len : 0) + 0));appendString((*result), T61_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 21):
{ NI T68_; NI TM__6NbDwwj5FY059b1gz2AsAZQ_22; NimStringDesc* T74_;
#line 2029 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2029 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2029 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T68_ = (NI)0;
#line 2029 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_21;
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!((*dt).year <= ((NI) 0))) goto LA71_;
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((*dt).year == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } if (nimAddInt(((*dt).year > 0? ((*dt).year) : -((*dt).year)), ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_21)) { raiseOverflow(); }; T68_ = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_21); }
goto LA69_;
LA71_: ;
{ T68_ = (*dt).year; }
LA69_: ;
if (((NI) 10) == 0){ raiseDivByZero(); } if (nimModInt(T68_, ((NI) 10), &TM__6NbDwwj5FY059b1gz2AsAZQ_22)) { raiseOverflow(); }; T74_ = (NimStringDesc*)0; T74_ = nimIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_22)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T74_ ? T74_->Sup.len : 0) + 0));appendString((*result), T74_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 22):
{ NI T76_; NI TM__6NbDwwj5FY059b1gz2AsAZQ_24; NimStringDesc* T82_;
#line 2031 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2031 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2031 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T76_ = (NI)0;
#line 2031 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_23;
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!((*dt).year <= ((NI) 0))) goto LA79_;
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((*dt).year == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } if (nimAddInt(((*dt).year > 0? ((*dt).year) : -((*dt).year)), ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_23)) { raiseOverflow(); }; T76_ = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_23); }
goto LA77_;
LA79_: ;
{ T76_ = (*dt).year; }
LA77_: ;
if (((NI) 100) == 0){ raiseDivByZero(); } if (nimModInt(T76_, ((NI) 100), &TM__6NbDwwj5FY059b1gz2AsAZQ_24)) { raiseOverflow(); };
#line 2031 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T82_ = (NimStringDesc*)0; T82_ = nsuIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_24), ((NI) 2)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T82_ ? T82_->Sup.len : 0) + 0));appendString((*result), T82_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 23):
{ NI T84_; NI TM__6NbDwwj5FY059b1gz2AsAZQ_26; NimStringDesc* T90_;
#line 2033 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2033 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2033 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T84_ = (NI)0;
#line 2033 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_25;
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!((*dt).year <= ((NI) 0))) goto LA87_;
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((*dt).year == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } if (nimAddInt(((*dt).year > 0? ((*dt).year) : -((*dt).year)), ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_25)) { raiseOverflow(); }; T84_ = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_25); }
goto LA85_;
LA87_: ;
{ T84_ = (*dt).year; }
LA85_: ;
if (((NI) 1000) == 0){ raiseDivByZero(); } if (nimModInt(T84_, ((NI) 1000), &TM__6NbDwwj5FY059b1gz2AsAZQ_26)) { raiseOverflow(); };
#line 2033 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T90_ = (NimStringDesc*)0; T90_ = nsuIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_26), ((NI) 3)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T90_ ? T90_->Sup.len : 0) + 0));appendString((*result), T90_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 24):
{ NI year;
#line 2035 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2035 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_27;
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!((*dt).year <= ((NI) 0))) goto LA94_;
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((*dt).year == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } if (nimAddInt(((*dt).year > 0? ((*dt).year) : -((*dt).year)), ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_27)) { raiseOverflow(); }; year = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_27); }
goto LA92_;
LA94_: ;
{ year = (*dt).year; }
LA92_: ;
#line 2036 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NimStringDesc* T101_;
#line 2036 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(year < ((NI) 10000))) goto LA99_;
#line 2037 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2037 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2037 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T101_ = (NimStringDesc*)0; T101_ = nsuIntToStr(year, ((NI) 4)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T101_ ? T101_->Sup.len : 0) + 0));appendString((*result), T101_); }
goto LA97_;
LA99_: ;
{ NimStringDesc* T103_; NimStringDesc* T104_;
#line 2039 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2039 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T103_ = (NimStringDesc*)0;
#line 2039 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T104_ = (NimStringDesc*)0; T104_ = nimIntToStr(year); T103_ = rawNewString((T104_ ? T104_->Sup.len : 0) + 1);appendChar(T103_, 43);appendString(T103_, T104_); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T103_ ? T103_->Sup.len : 0) + 0));appendString((*result), T103_); }
LA97_: ;
}
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 25):
{ NI T106_; NI TM__6NbDwwj5FY059b1gz2AsAZQ_29; NimStringDesc* T112_;
#line 2041 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2041 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2041 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T106_ = (NI)0;
#line 2041 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_28;
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!((*dt).year <= ((NI) 0))) goto LA109_;
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1975 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((*dt).year == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } if (nimAddInt(((*dt).year > 0? ((*dt).year) : -((*dt).year)), ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_28)) { raiseOverflow(); }; T106_ = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_28); }
goto LA107_;
LA109_: ;
{ T106_ = (*dt).year; }
LA107_: ;
if (((NI) 100000) == 0){ raiseDivByZero(); } if (nimModInt(T106_, ((NI) 100000), &TM__6NbDwwj5FY059b1gz2AsAZQ_29)) { raiseOverflow(); };
#line 2041 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T112_ = (NimStringDesc*)0; T112_ = nsuIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_29), ((NI) 5)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T112_ ? T112_->Sup.len : 0) + 0));appendString((*result), T112_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 26):
{
#line 2043 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_30; NimStringDesc* T118_;
#line 2043 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!((*dt).year < ((NI) 1))) goto LA116_;
#line 2044 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2044 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2044 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2044 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((*dt).year == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } if (nimAddInt(((*dt).year > 0? ((*dt).year) : -((*dt).year)), ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_30)) { raiseOverflow(); }; T118_ = (NimStringDesc*)0; T118_ = nimIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_30)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T118_ ? T118_->Sup.len : 0) + 0));appendString((*result), T118_); }
goto LA114_;
LA116_: ;
{ NimStringDesc* T120_;
#line 2046 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2046 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T120_ = (NimStringDesc*)0; T120_ = nimIntToStr((*dt).year); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T120_ ? T120_->Sup.len : 0) + 0));appendString((*result), T120_); }
LA114_: ;
}
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 27):
{ NI year_2;
#line 2048 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
year_2 = (*dt).year;
#line 2049 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NIM_BOOL T124_; NimStringDesc* T128_;
#line 2049 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T124_ = (NIM_BOOL)0;
#line 2049 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T124_ = (year_2 < ((NI) 10000)); if (T124_) goto LA125_;
#line 2049 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T124_ = (year_2 < ((NI) 0)); LA125_: ;
if (!T124_) goto LA126_;
#line 2050 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2050 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2050 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T128_ = (NimStringDesc*)0; T128_ = nsuIntToStr(year_2, ((NI) 4)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T128_ ? T128_->Sup.len : 0) + 0));appendString((*result), T128_); }
goto LA122_;
LA126_: ;
{ NimStringDesc* T130_; NimStringDesc* T131_;
#line 2052 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2052 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T130_ = (NimStringDesc*)0;
#line 2052 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T131_ = (NimStringDesc*)0; T131_ = nimIntToStr(year_2); T130_ = rawNewString((T131_ ? T131_->Sup.len : 0) + 1);appendChar(T130_, 43);appendString(T130_, T131_); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T130_ ? T130_->Sup.len : 0) + 0));appendString((*result), T130_); }
LA122_: ;
}
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 28):
{ NimStringDesc* T133_;
#line 2054 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2054 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T133_ = (NimStringDesc*)0; T133_ = nimIntToStr((*dt).year); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T133_ ? T133_->Sup.len : 0) + 0));appendString((*result), T133_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 29):
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 30):
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 31):
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 32):
{
#line 2056 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NIM_BOOL T137_; NIM_BOOL T138_;
#line 2056 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T137_ = (NIM_BOOL)0;
#line 2056 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2056 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2056 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T138_ = (NIM_BOOL)0; T138_ = eqeq___uJ3ui4E9b9bOpe9bnJkEo4LvQ((*dt).timezone, NIM_NIL); T137_ = !(T138_); if (!(T137_)) goto LA139_;
#line 2056 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T137_ = eqStrings((*(*dt).timezone).name, ((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_31)); LA139_: ;
if (!T137_) goto LA140_;
#line 2057 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
unsureAsgnRef((void**) (&(*result)), addChar((*result), 90)); }
goto LA135_;
LA140_: ;
{ NIM_CHAR T143_; NI absOffset;
#line 2059 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T143_ = (NIM_CHAR)0;
#line 2059 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 2059 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2059 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((*dt).utcOffset == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } if (!(((NI) 0) <= ((NI64)-((*dt).utcOffset)))) goto LA146_;
T143_ = 43; }
goto LA144_;
LA146_: ;
{ T143_ = 45; }
LA144_: ;
unsureAsgnRef((void**) (&(*result)), addChar((*result), T143_));
#line 2060 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2060 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((*dt).utcOffset == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } absOffset = ((*dt).utcOffset > 0? ((*dt).utcOffset) : -((*dt).utcOffset));
#line 2061 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
switch (pattern) {
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 29):
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_32; NimStringDesc* T150_;
#line 2063 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2063 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2063 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 3600) == 0){ raiseDivByZero(); } if (nimDivInt(absOffset, ((NI) 3600), &TM__6NbDwwj5FY059b1gz2AsAZQ_32)) { raiseOverflow(); }; T150_ = (NimStringDesc*)0; T150_ = nimIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_32)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T150_ ? T150_->Sup.len : 0) + 0));appendString((*result), T150_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 30):
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_33; NimStringDesc* T152_;
#line 2065 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2065 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2065 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 3600) == 0){ raiseDivByZero(); } if (nimDivInt(absOffset, ((NI) 3600), &TM__6NbDwwj5FY059b1gz2AsAZQ_33)) { raiseOverflow(); };
#line 2065 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T152_ = (NimStringDesc*)0; T152_ = nsuIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_33), ((NI) 2)); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T152_ ? T152_->Sup.len : 0) + 0));appendString((*result), T152_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 31):
{ NimStringDesc* h_1; NI TM__6NbDwwj5FY059b1gz2AsAZQ_34; NimStringDesc* m; NI TM__6NbDwwj5FY059b1gz2AsAZQ_35; NI TM__6NbDwwj5FY059b1gz2AsAZQ_36; NimStringDesc* T154_;
#line 2067 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2067 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 3600) == 0){ raiseDivByZero(); } if (nimDivInt(absOffset, ((NI) 3600), &TM__6NbDwwj5FY059b1gz2AsAZQ_34)) { raiseOverflow(); };
#line 2067 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
h_1 = nsuIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_34), ((NI) 2));
#line 2068 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2068 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2068 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 60) == 0){ raiseDivByZero(); } if (nimDivInt(absOffset, ((NI) 60), &TM__6NbDwwj5FY059b1gz2AsAZQ_35)) { raiseOverflow(); }; if (((NI) 60) == 0){ raiseDivByZero(); } if (nimModInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_35), ((NI) 60), &TM__6NbDwwj5FY059b1gz2AsAZQ_36)) { raiseOverflow(); };
#line 2068 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
m = nsuIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_36), ((NI) 2));
#line 2069 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2069 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T154_ = (NimStringDesc*)0; T154_ = rawNewString((h_1 ? h_1->Sup.len : 0) + (m ? m->Sup.len : 0) + 1);appendString(T154_, h_1);appendString(T154_, ((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_37));appendString(T154_, m); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T154_ ? T154_->Sup.len : 0) + 0));appendString((*result), T154_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 32):
{ NI absOffset_2; NimStringDesc* h_2; NI TM__6NbDwwj5FY059b1gz2AsAZQ_38; NimStringDesc* m_2; NI TM__6NbDwwj5FY059b1gz2AsAZQ_39; NI TM__6NbDwwj5FY059b1gz2AsAZQ_40; NimStringDesc* s; NI TM__6NbDwwj5FY059b1gz2AsAZQ_41; NimStringDesc* T156_;
#line 2071 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2071 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((*dt).utcOffset == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); } absOffset_2 = ((*dt).utcOffset > 0? ((*dt).utcOffset) : -((*dt).utcOffset));
#line 2072 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2072 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 3600) == 0){ raiseDivByZero(); } if (nimDivInt(absOffset_2, ((NI) 3600), &TM__6NbDwwj5FY059b1gz2AsAZQ_38)) { raiseOverflow(); };
#line 2072 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
h_2 = nsuIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_38), ((NI) 2));
#line 2073 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2073 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2073 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 60) == 0){ raiseDivByZero(); } if (nimDivInt(absOffset_2, ((NI) 60), &TM__6NbDwwj5FY059b1gz2AsAZQ_39)) { raiseOverflow(); }; if (((NI) 60) == 0){ raiseDivByZero(); } if (nimModInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_39), ((NI) 60), &TM__6NbDwwj5FY059b1gz2AsAZQ_40)) { raiseOverflow(); };
#line 2073 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
m_2 = nsuIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_40), ((NI) 2));
#line 2074 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2074 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 60) == 0){ raiseDivByZero(); } if (nimModInt(absOffset_2, ((NI) 60), &TM__6NbDwwj5FY059b1gz2AsAZQ_41)) { raiseOverflow(); };
#line 2074 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
s = nsuIntToStr((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_41), ((NI) 2));
#line 2075 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2075 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T156_ = (NimStringDesc*)0; T156_ = rawNewString((h_2 ? h_2->Sup.len : 0) + (m_2 ? m_2->Sup.len : 0) + (s ? s->Sup.len : 0) + 2);appendString(T156_, h_2);appendString(T156_, ((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_37));appendString(T156_, m_2);appendString(T156_, ((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_37));appendString(T156_, s); unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T156_ ? T156_->Sup.len : 0) + 0));appendString((*result), T156_); }
break;
default:
{
#line 2076 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ if (!NIM_TRUE) goto LA160_;
#line 2076 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2076 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_42));
}
LA160_: ;
}
break;
}
}
LA135_: ;
}
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 33):
{ NimStringDesc* T163_;
#line 2078 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T163_ = (NimStringDesc*)0;
#line 2078 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 2078 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!((*dt).year < ((NI) 1))) goto LA166_;
T163_ = copyString(((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_43)); }
goto LA164_;
LA166_: ;
{ T163_ = copyString(((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_44)); }
LA164_: ;
unsureAsgnRef((void**) (&(*result)), resizeString((*result), (T163_ ? T163_->Sup.len : 0) + 0));appendString((*result), T163_); }
break;
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 34):
{
#line 2079 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ if (!NIM_TRUE) goto LA172_;
#line 2079 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2079 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_45));
}
LA172_: ;
}
break;
}
}
#line 2314 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, format__mJBnGHvSWAC6GZ5ELoijxg)(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* dt, tyObject_TimeFormat__Nsh4TB3AD6ERMz3D74BTxA f, tyObject_DateTimeLocale__uNv3Dc4hHpAREXnLVqGWZQ* loc) { NimStringDesc* result; NI idx; result = (NimStringDesc*)0;
#line 2321 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
idx = ((NI) 0); {
#line 2322 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
while (1) { NI T3_;
#line 2322 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2322 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T3_ = ((f.patterns ? f.patterns->Sup.len : 0)-1); if (!(idx <= T3_)) goto LA2;
#line 2323 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((NU)(idx) >= (NU)(f.patterns ? f.patterns->Sup.len : 0)){ raiseIndexError2(idx,(f.patterns ? f.patterns->Sup.len : 0)-1); } if ((f.patterns->data[idx]) < ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 0) || (f.patterns->data[idx]) > ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 34)){ raiseRangeErrorI(f.patterns->data[idx], ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 0), ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 34)); } switch (((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) (f.patterns->data[idx]))) {
case ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 34):
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_6; NU8 len_1; NI TM__6NbDwwj5FY059b1gz2AsAZQ_9;
#line 2325 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt(idx, ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_6)) { raiseOverflow(); }; idx = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_6);
#line 2326 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((NU)(idx) >= (NU)(f.patterns ? f.patterns->Sup.len : 0)){ raiseIndexError2(idx,(f.patterns ? f.patterns->Sup.len : 0)-1); } len_1 = f.patterns->data[idx]; { NU8 i; NI res; i = (NU8)0;
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
res = ((NI) 1); {
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
while (1) { NI TM__6NbDwwj5FY059b1gz2AsAZQ_7; NI TM__6NbDwwj5FY059b1gz2AsAZQ_8;
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (!(res <= ((NI) (len_1)))) goto LA7;
#line 2327 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
i = ((NU8) (res));
#line 2328 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt(idx, ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_7)) { raiseOverflow(); }; idx = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_7);
#line 2329 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((NU)(idx) >= (NU)(f.patterns ? f.patterns->Sup.len : 0)){ raiseIndexError2(idx,(f.patterns ? f.patterns->Sup.len : 0)-1); } result = addChar(result, ((NIM_CHAR) (f.patterns->data[idx])));
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
if (nimAddInt(res, ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_8)) { raiseOverflow(); }; res = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_8); } LA7: ;
}
}
#line 2330 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt(idx, ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_9)) { raiseOverflow(); }; idx = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_9); }
break;
default:
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_46;
#line 2332 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((NU)(idx) >= (NU)(f.patterns ? f.patterns->Sup.len : 0)){ raiseIndexError2(idx,(f.patterns ? f.patterns->Sup.len : 0)-1); } if ((f.patterns->data[idx]) < ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 0) || (f.patterns->data[idx]) > ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 34)){ raiseRangeErrorI(f.patterns->data[idx], ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 0), ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) 34)); }
#line 2332 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
formatPattern__S4WegiBO0BkW28IP3SncnA(dt, ((tyEnum_FormatPattern__asapJ9b4qGHESR0g3CfbCjQ) (f.patterns->data[idx])), (&result), loc);
#line 2333 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt(idx, ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_46)) { raiseOverflow(); }; idx = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_46); }
break;
}
} LA2: ;
}
return result;}
#line 2347 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, format__aitHIMP1zP9cdolKXyTfr6g)(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* dt) { NimStringDesc* result; result = (NimStringDesc*)0;
#line 2350 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 2350 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result = format__mJBnGHvSWAC6GZ5ELoijxg(dt, TM__6NbDwwj5FY059b1gz2AsAZQ_47, (&TM__6NbDwwj5FY059b1gz2AsAZQ_50)); return result;}
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_;
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));}
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
}
#line 449 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
static N_INLINE(NI64, convert__2z1a0DRE31bT73xgVvBfQAtimes)(tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitFrom, tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitTo, NI64 quantity) { NI64 result; result = (NI64)0;
#line 451 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_88; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_89;
#line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(unitFrom < unitTo)) goto LA3_;
#line 458 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 458 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0] == 0){ raiseDivByZero(); } if (nimDivInt64(unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0], unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0], &TM__6NbDwwj5FY059b1gz2AsAZQ_88)) { raiseOverflow(); }; if ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_88) == 0){ raiseDivByZero(); } if (nimDivInt64(quantity, (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_88), &TM__6NbDwwj5FY059b1gz2AsAZQ_89)) { raiseOverflow(); }; result = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_89); }
goto LA1_;
LA3_: ;
{ NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_90; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_91;
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0] == 0){ raiseDivByZero(); } if (nimDivInt64(unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0], unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0], &TM__6NbDwwj5FY059b1gz2AsAZQ_90)) { raiseOverflow(); }; if (nimMulInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_90), quantity, &TM__6NbDwwj5FY059b1gz2AsAZQ_91)) { raiseOverflow(); }; result = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_91); }
LA1_: ;
return result;}
#line 449 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
static N_INLINE(NI, convert__vsrmXCcg8GubJb67VXeq4wtimes)(tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitFrom, tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ unitTo, NI quantity) { NI result; result = (NI)0;
#line 451 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_93; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_94;
#line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(unitFrom < unitTo)) goto LA3_;
#line 458 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 458 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0] == 0){ raiseDivByZero(); } if (nimDivInt64(unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0], unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0], &TM__6NbDwwj5FY059b1gz2AsAZQ_93)) { raiseOverflow(); }; if ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_93) == 0){ raiseDivByZero(); } if (nimDivInt64(((NI64) (quantity)), (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_93), &TM__6NbDwwj5FY059b1gz2AsAZQ_94)) { raiseOverflow(); }; result = ((NI) ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_94))); }
goto LA1_;
LA3_: ;
{ NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_95; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_96;
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 460 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0] == 0){ raiseDivByZero(); } if (nimDivInt64(unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitFrom)- 0], unitWeights__cpugRVHYEC9bUpLa71eZMsQ[(unitTo)- 0], &TM__6NbDwwj5FY059b1gz2AsAZQ_95)) { raiseOverflow(); }; if (nimMulInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_95), ((NI64) (quantity)), &TM__6NbDwwj5FY059b1gz2AsAZQ_96)) { raiseOverflow(); }; result = ((NI) ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_96))); }
LA1_: ;
return result;}
#line 462 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q, normalize__PiFB72i3f9cc4IO17Lz9cB7w)(NI64 seconds_0, NI64 nanoseconds) { tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q result; NI64 T1_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_92; NI64 nanosecond; NI T2_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_97; nimZeroMem((void*)(&result), sizeof(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q));
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = (NI64)0; T1_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), nanoseconds); if (nimAddInt64(seconds_0, T1_, &TM__6NbDwwj5FY059b1gz2AsAZQ_92)) { raiseOverflow(); }; result.seconds = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_92);
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T2_ = (NI)0; T2_ = convert__vsrmXCcg8GubJb67VXeq4wtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), ((NI) 1)); if (((NI64) (T2_)) == 0){ raiseDivByZero(); } if (nimModInt64(nanoseconds, ((NI64) (T2_)), &TM__6NbDwwj5FY059b1gz2AsAZQ_97)) { raiseOverflow(); }; nanosecond = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_97);
#line 468 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI T7_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_98; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_99;
#line 468 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(nanosecond < IL64(0))) goto LA5_;
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T7_ = (NI)0; T7_ = convert__vsrmXCcg8GubJb67VXeq4wtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), ((NI) 1)); if (nimAddInt64(nanosecond, ((NI64) (T7_)), &TM__6NbDwwj5FY059b1gz2AsAZQ_98)) { raiseOverflow(); }; nanosecond = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_98);
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt64(result.seconds, ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_99)) { raiseOverflow(); }; result.seconds = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_99); }
LA5_: ;
#line 471 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((((NI) (nanosecond))) < ((NI) 0) || (((NI) (nanosecond))) > ((NI) 999999999)){ raiseRangeErrorI(((NI) (nanosecond)), ((NI) 0), ((NI) 999999999)); } result.nanosecond = ((NI) (((NI) (nanosecond)))); return result;}
#line 945 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q, ntSubTime)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q a, tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw b) { tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q result; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_100; NI TM__6NbDwwj5FY059b1gz2AsAZQ_101; nimZeroMem((void*)(&result), sizeof(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q));
#line 946 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 949 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 753 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt64(a.seconds, b.seconds, &TM__6NbDwwj5FY059b1gz2AsAZQ_100)) { raiseOverflow(); };
#line 753 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt(((NI) (a.nanosecond)), ((NI) (b.nanosecond)), &TM__6NbDwwj5FY059b1gz2AsAZQ_101)) { raiseOverflow(); };
#line 949 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result = normalize__PiFB72i3f9cc4IO17Lz9cB7w((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_100), ((NI64) ((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_101)))); return result;}
#line 462 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw, normalize__JK8O6vJVu4WsESmu0kL4aQ)(NI64 seconds_0, NI64 nanoseconds) { tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw result; NI64 T1_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_114; NI64 nanosecond; NI T2_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_115; nimZeroMem((void*)(&result), sizeof(tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw));
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = (NI64)0; T1_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), nanoseconds); if (nimAddInt64(seconds_0, T1_, &TM__6NbDwwj5FY059b1gz2AsAZQ_114)) { raiseOverflow(); }; result.seconds = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_114);
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 467 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T2_ = (NI)0; T2_ = convert__vsrmXCcg8GubJb67VXeq4wtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), ((NI) 1)); if (((NI64) (T2_)) == 0){ raiseDivByZero(); } if (nimModInt64(nanoseconds, ((NI64) (T2_)), &TM__6NbDwwj5FY059b1gz2AsAZQ_115)) { raiseOverflow(); }; nanosecond = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_115);
#line 468 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI T7_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_116; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_117;
#line 468 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(nanosecond < IL64(0))) goto LA5_;
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T7_ = (NI)0; T7_ = convert__vsrmXCcg8GubJb67VXeq4wtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), ((NI) 1)); if (nimAddInt64(nanosecond, ((NI64) (T7_)), &TM__6NbDwwj5FY059b1gz2AsAZQ_116)) { raiseOverflow(); }; nanosecond = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_116);
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt64(result.seconds, ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_117)) { raiseOverflow(); }; result.seconds = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_117); }
LA5_: ;
#line 471 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((((NI) (nanosecond))) < ((NI) 0) || (((NI) (nanosecond))) > ((NI) 999999999)){ raiseRangeErrorI(((NI) (nanosecond)), ((NI) 0), ((NI) 999999999)); } result.nanosecond = ((NI) (((NI) (nanosecond)))); return result;}
#line 488 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw, initDuration__wcR3zetvspAUsyuvWZ07Xg)(NI64 nanoseconds, NI64 microseconds, NI64 milliseconds, NI64 seconds_0, NI64 minutes, NI64 hours, NI64 days_0, NI64 weeks) { tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw result; NI64 seconds_2; NI64 T1_; NI64 T2_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_102; NI64 T3_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_103; NI64 T4_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_104; NI64 T5_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_105; NI64 T6_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_106; NI64 T7_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_107; NI64 T8_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_108; NI nanoseconds_2; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_109; NI64 T9_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_110; NI64 T10_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_111; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_112; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_113; nimZeroMem((void*)(&result), sizeof(tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw));
#line 496 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 502 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 501 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 499 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 498 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 497 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 496 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 496 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 496 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = (NI64)0; T1_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 7), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), weeks);
#line 497 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 497 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T2_ = (NI64)0; T2_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 6), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), days_0); if (nimAddInt64(T1_, T2_, &TM__6NbDwwj5FY059b1gz2AsAZQ_102)) { raiseOverflow(); };
#line 498 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 498 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T3_ = (NI64)0; T3_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 4), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), minutes); if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_102), T3_, &TM__6NbDwwj5FY059b1gz2AsAZQ_103)) { raiseOverflow(); };
#line 499 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 499 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T4_ = (NI64)0; T4_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 5), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), hours); if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_103), T4_, &TM__6NbDwwj5FY059b1gz2AsAZQ_104)) { raiseOverflow(); };
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 500 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T5_ = (NI64)0; T5_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), seconds_0); if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_104), T5_, &TM__6NbDwwj5FY059b1gz2AsAZQ_105)) { raiseOverflow(); };
#line 501 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 501 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T6_ = (NI64)0; T6_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 2), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), milliseconds); if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_105), T6_, &TM__6NbDwwj5FY059b1gz2AsAZQ_106)) { raiseOverflow(); };
#line 502 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 502 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T7_ = (NI64)0; T7_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 1), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), microseconds); if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_106), T7_, &TM__6NbDwwj5FY059b1gz2AsAZQ_107)) { raiseOverflow(); };
#line 503 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 503 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T8_ = (NI64)0; T8_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 3), nanoseconds); if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_107), T8_, &TM__6NbDwwj5FY059b1gz2AsAZQ_108)) { raiseOverflow(); }; seconds_2 = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_108);
#line 504 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 505 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 504 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 504 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 504 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (IL64(1000) == 0){ raiseDivByZero(); } if (nimModInt64(milliseconds, IL64(1000), &TM__6NbDwwj5FY059b1gz2AsAZQ_109)) { raiseOverflow(); };
#line 504 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T9_ = (NI64)0; T9_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 2), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_109));
#line 505 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 505 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (IL64(1000000) == 0){ raiseDivByZero(); } if (nimModInt64(microseconds, IL64(1000000), &TM__6NbDwwj5FY059b1gz2AsAZQ_110)) { raiseOverflow(); };
#line 505 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T10_ = (NI64)0; T10_ = convert__2z1a0DRE31bT73xgVvBfQAtimes(((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 1), ((tyEnum_TimeUnit__52alPn04ElUUbqLeok9b3PQ) 0), (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_110)); if (nimAddInt64(T9_, T10_, &TM__6NbDwwj5FY059b1gz2AsAZQ_111)) { raiseOverflow(); };
#line 506 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (IL64(1000000000) == 0){ raiseDivByZero(); } if (nimModInt64(nanoseconds, IL64(1000000000), &TM__6NbDwwj5FY059b1gz2AsAZQ_112)) { raiseOverflow(); }; if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_111), (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_112), &TM__6NbDwwj5FY059b1gz2AsAZQ_113)) { raiseOverflow(); }; nanoseconds_2 = ((NI) ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_113)));
#line 508 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 508 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result = normalize__JK8O6vJVu4WsESmu0kL4aQ(seconds_2, ((NI64) (nanoseconds_2))); return result;}
#line 695 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyTuple__XjuGlLf9cyYx66ViXrBCvPQ, fromEpochDay__Q6dL9aKf9alEEEm3deeqatPQ)(NI64 epochday) { tyTuple__XjuGlLf9cyYx66ViXrBCvPQ result; NI64 z; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_126; NI64 era; NI64 T1_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_128; NI64 doe; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_129; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_130; NI64 yoe; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_131; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_132; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_133; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_134; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_135; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_136; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_137; NI64 y_1; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_138; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_139; NI64 doy; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_140; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_141; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_142; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_143; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_144; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_145; NI64 mp; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_146; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_147; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_148; NI64 d; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_149; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_150; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_151; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_152; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_153; NI64 m; NI T7_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_154; NI colontmp_; tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw colontmp__2; NI colontmp__3; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_155;{ nimZeroMem((void*)(&result), sizeof(tyTuple__XjuGlLf9cyYx66ViXrBCvPQ));
#line 701 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
z = epochday;
#line 702 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt64(z, ((NI) 719468), &TM__6NbDwwj5FY059b1gz2AsAZQ_126)) { raiseOverflow(); }; z = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_126);
#line 703 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 703 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = (NI64)0;
#line 703 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 703 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(IL64(0) <= z)) goto LA4_;
T1_ = z; }
goto LA2_;
LA4_: ;
{ NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_127;
#line 703 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt64(z, IL64(146096), &TM__6NbDwwj5FY059b1gz2AsAZQ_127)) { raiseOverflow(); }; T1_ = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_127); }
LA2_: ;
if (IL64(146097) == 0){ raiseDivByZero(); } if (nimDivInt64(T1_, IL64(146097), &TM__6NbDwwj5FY059b1gz2AsAZQ_128)) { raiseOverflow(); }; era = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_128);
#line 704 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 704 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 704 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt64(era, IL64(146097), &TM__6NbDwwj5FY059b1gz2AsAZQ_129)) { raiseOverflow(); }; if (nimSubInt64(z, (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_129), &TM__6NbDwwj5FY059b1gz2AsAZQ_130)) { raiseOverflow(); }; doe = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_130);
#line 705 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 705 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 705 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 705 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 705 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 705 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (IL64(1460) == 0){ raiseDivByZero(); } if (nimDivInt64(doe, IL64(1460), &TM__6NbDwwj5FY059b1gz2AsAZQ_131)) { raiseOverflow(); }; if (nimSubInt64(doe, (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_131), &TM__6NbDwwj5FY059b1gz2AsAZQ_132)) { raiseOverflow(); };
#line 705 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (IL64(36524) == 0){ raiseDivByZero(); } if (nimDivInt64(doe, IL64(36524), &TM__6NbDwwj5FY059b1gz2AsAZQ_133)) { raiseOverflow(); }; if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_132), (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_133), &TM__6NbDwwj5FY059b1gz2AsAZQ_134)) { raiseOverflow(); };
#line 705 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (IL64(146096) == 0){ raiseDivByZero(); } if (nimDivInt64(doe, IL64(146096), &TM__6NbDwwj5FY059b1gz2AsAZQ_135)) { raiseOverflow(); }; if (nimSubInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_134), (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_135), &TM__6NbDwwj5FY059b1gz2AsAZQ_136)) { raiseOverflow(); }; if (IL64(365) == 0){ raiseDivByZero(); } if (nimDivInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_136), IL64(365), &TM__6NbDwwj5FY059b1gz2AsAZQ_137)) { raiseOverflow(); }; yoe = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_137);
#line 706 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 706 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 706 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt64(era, IL64(400), &TM__6NbDwwj5FY059b1gz2AsAZQ_138)) { raiseOverflow(); }; if (nimAddInt64(yoe, (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_138), &TM__6NbDwwj5FY059b1gz2AsAZQ_139)) { raiseOverflow(); }; y_1 = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_139);
#line 707 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 707 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 707 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 707 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 707 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt64(IL64(365), yoe, &TM__6NbDwwj5FY059b1gz2AsAZQ_140)) { raiseOverflow(); };
#line 707 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (IL64(4) == 0){ raiseDivByZero(); } if (nimDivInt64(yoe, IL64(4), &TM__6NbDwwj5FY059b1gz2AsAZQ_141)) { raiseOverflow(); }; if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_140), (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_141), &TM__6NbDwwj5FY059b1gz2AsAZQ_142)) { raiseOverflow(); };
#line 707 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (IL64(100) == 0){ raiseDivByZero(); } if (nimDivInt64(yoe, IL64(100), &TM__6NbDwwj5FY059b1gz2AsAZQ_143)) { raiseOverflow(); }; if (nimSubInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_142), (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_143), &TM__6NbDwwj5FY059b1gz2AsAZQ_144)) { raiseOverflow(); }; if (nimSubInt64(doe, (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_144), &TM__6NbDwwj5FY059b1gz2AsAZQ_145)) { raiseOverflow(); }; doy = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_145);
#line 708 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 708 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 708 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 708 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt64(IL64(5), doy, &TM__6NbDwwj5FY059b1gz2AsAZQ_146)) { raiseOverflow(); }; if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_146), IL64(2), &TM__6NbDwwj5FY059b1gz2AsAZQ_147)) { raiseOverflow(); }; if (IL64(153) == 0){ raiseDivByZero(); } if (nimDivInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_147), IL64(153), &TM__6NbDwwj5FY059b1gz2AsAZQ_148)) { raiseOverflow(); }; mp = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_148);
#line 709 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 709 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 709 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 709 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 709 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 709 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt64(IL64(153), mp, &TM__6NbDwwj5FY059b1gz2AsAZQ_149)) { raiseOverflow(); }; if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_149), IL64(2), &TM__6NbDwwj5FY059b1gz2AsAZQ_150)) { raiseOverflow(); }; if (IL64(5) == 0){ raiseDivByZero(); } if (nimDivInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_150), IL64(5), &TM__6NbDwwj5FY059b1gz2AsAZQ_151)) { raiseOverflow(); }; if (nimSubInt64(doy, (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_151), &TM__6NbDwwj5FY059b1gz2AsAZQ_152)) { raiseOverflow(); }; if (nimAddInt64((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_152), IL64(1), &TM__6NbDwwj5FY059b1gz2AsAZQ_153)) { raiseOverflow(); }; d = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_153);
#line 710 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 710 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T7_ = (NI)0;
#line 710 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 710 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(mp < IL64(10))) goto LA10_;
T7_ = ((NI) 3); }
goto LA8_;
LA10_: ;
{ T7_ = ((NI) -9); }
LA8_: ;
if (nimAddInt64(mp, ((NI64) (T7_)), &TM__6NbDwwj5FY059b1gz2AsAZQ_154)) { raiseOverflow(); }; m = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_154);
#line 711 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 711 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((d) < ((NI) 0) || (d) > ((NI) 31)){ raiseRangeErrorI(d, ((NI) 0), ((NI) 31)); } colontmp_ = ((NI) (d));
#line 711 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((m) < ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 1) || (m) > ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 12)){ raiseRangeErrorI(m, ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 1), ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 12)); } colontmp__2 = ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) (m));
#line 711 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 711 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 711 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 711 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt64(y_1, ((NI64) ((m <= IL64(2)))), &TM__6NbDwwj5FY059b1gz2AsAZQ_155)) { raiseOverflow(); }; colontmp__3 = ((NI) ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_155)));
#line 711 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result.Field0 = colontmp_; result.Field1 = colontmp__2; result.Field2 = colontmp__3; goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 635 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isLeapYear__fs8eIeJ5mOYFq6g12UKiwQ)(NI year) { NIM_BOOL result; NIM_BOOL T1_; NI TM__6NbDwwj5FY059b1gz2AsAZQ_163; NIM_BOOL T3_; NI TM__6NbDwwj5FY059b1gz2AsAZQ_164; NI TM__6NbDwwj5FY059b1gz2AsAZQ_165; result = (NIM_BOOL)0;
#line 636 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = (NIM_BOOL)0;
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 4) == 0){ raiseDivByZero(); } if (nimModInt(year, ((NI) 4), &TM__6NbDwwj5FY059b1gz2AsAZQ_163)) { raiseOverflow(); }; T1_ = ((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_163) == ((NI) 0)); if (!(T1_)) goto LA2_;
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T3_ = (NIM_BOOL)0;
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 100) == 0){ raiseDivByZero(); } if (nimModInt(year, ((NI) 100), &TM__6NbDwwj5FY059b1gz2AsAZQ_164)) { raiseOverflow(); }; T3_ = !(((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_164) == ((NI) 0))); if (T3_) goto LA4_;
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 400) == 0){ raiseDivByZero(); } if (nimModInt(year, ((NI) 400), &TM__6NbDwwj5FY059b1gz2AsAZQ_165)) { raiseOverflow(); }; T3_ = ((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_165) == ((NI) 0)); LA4_: ;
T1_ = T3_; LA2_: ;
result = T1_; return result;}
#line 655 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(NI, getDaysInMonth__9c0c5LEKvayZjopjsP8l54g)(tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw month, NI year) { NI result; result = (NI)0;
#line 661 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
switch (month) {
case ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 2):
{
#line 662 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 662 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NIM_BOOL T4_;
#line 662 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 662 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T4_ = (NIM_BOOL)0; T4_ = isLeapYear__fs8eIeJ5mOYFq6g12UKiwQ(year); if (!T4_) goto LA5_;
result = ((NI) 29); }
goto LA2_;
LA5_: ;
{ result = ((NI) 28); }
LA2_: ;
}
break;
case ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 4):
case ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 6):
case ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 9):
case ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 11):
{
#line 663 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result = ((NI) 30); }
break;
default:
{
#line 664 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result = ((NI) 31); }
break;
}
return result;}
#line 673 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
static N_INLINE(void, assertValidDate__f2Fk39au9a9a6rBs21PXyCIwQtimes)(NI monthday, tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw month, NI year) {
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NIM_BOOL T3_; NI T5_; NimStringDesc* T8_; NimStringDesc* T9_; NimStringDesc* T10_; NimStringDesc* T11_;
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T3_ = (NIM_BOOL)0;
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T3_ = (((NI) 0) < ((NI) (monthday))); if (!(T3_)) goto LA4_;
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T5_ = (NI)0; T5_ = getDaysInMonth__9c0c5LEKvayZjopjsP8l54g(month, year); T3_ = (((NI) (monthday)) <= T5_); LA4_: ;
if (!!(T3_)) goto LA6_;
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T8_ = (NimStringDesc*)0;
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T9_ = (NimStringDesc*)0; T9_ = nimIntToStr(year);
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T10_ = (NimStringDesc*)0; T10_ = nsuIntToStr(month, ((NI) 2));
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T11_ = (NimStringDesc*)0; T11_ = nimIntToStr(((NI) (monthday))); T8_ = rawNewString((T9_ ? T9_->Sup.len : 0) + (T10_ ? T10_->Sup.len : 0) + (T11_ ? T11_->Sup.len : 0) + 183);appendString(T8_, ((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_166));appendString(T8_, T9_);appendString(T8_, ((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_167));appendString(T8_, T10_);appendString(T8_, ((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_167));appendString(T8_, T11_);appendString(T8_, ((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_168));
#line 675 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(T8_);
}
LA6_: ;
}
#line 679 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(NI64, toEpochDay__af2n9cSSmlgt19bLZ9bxJgAfw)(NI monthday, tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw month, NI year) { NI64 result; tyTuple__47w2DboNEPf69aPgubZdd7Q T1_; NI y_1; NI m; NI d; NI era; NI T6_; NI TM__6NbDwwj5FY059b1gz2AsAZQ_171; NI yoe; NI TM__6NbDwwj5FY059b1gz2AsAZQ_172; NI TM__6NbDwwj5FY059b1gz2AsAZQ_173; NI doy; NI T12_; NI TM__6NbDwwj5FY059b1gz2AsAZQ_174; NI TM__6NbDwwj5FY059b1gz2AsAZQ_175; NI TM__6NbDwwj5FY059b1gz2AsAZQ_176; NI TM__6NbDwwj5FY059b1gz2AsAZQ_177; NI TM__6NbDwwj5FY059b1gz2AsAZQ_178; NI TM__6NbDwwj5FY059b1gz2AsAZQ_179; NI doe; NI TM__6NbDwwj5FY059b1gz2AsAZQ_180; NI TM__6NbDwwj5FY059b1gz2AsAZQ_181; NI TM__6NbDwwj5FY059b1gz2AsAZQ_182; NI TM__6NbDwwj5FY059b1gz2AsAZQ_183; NI TM__6NbDwwj5FY059b1gz2AsAZQ_184; NI TM__6NbDwwj5FY059b1gz2AsAZQ_185; NI TM__6NbDwwj5FY059b1gz2AsAZQ_186; NI TM__6NbDwwj5FY059b1gz2AsAZQ_187; NI TM__6NbDwwj5FY059b1gz2AsAZQ_188;{ result = (NI64)0;
#line 684 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 684 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
assertValidDate__f2Fk39au9a9a6rBs21PXyCIwQtimes(monthday, month, year);
#line 685 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_.Field0 = year;
#line 685 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_.Field1 = month; T1_.Field2 = ((NI) (monthday)); y_1 = T1_.Field0; m = T1_.Field1; d = T1_.Field2;
#line 686 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_169;
#line 686 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(m <= ((NI) 2))) goto LA4_;
#line 687 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt(y_1, ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_169)) { raiseOverflow(); }; y_1 = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_169); }
LA4_: ;
#line 689 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 689 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T6_ = (NI)0;
#line 689 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 689 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(((NI) 0) <= y_1)) goto LA9_;
T6_ = y_1; }
goto LA7_;
LA9_: ;
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_170;
#line 689 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt(y_1, ((NI) 399), &TM__6NbDwwj5FY059b1gz2AsAZQ_170)) { raiseOverflow(); }; T6_ = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_170); }
LA7_: ;
if (((NI) 400) == 0){ raiseDivByZero(); } if (nimDivInt(T6_, ((NI) 400), &TM__6NbDwwj5FY059b1gz2AsAZQ_171)) { raiseOverflow(); }; era = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_171);
#line 690 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 690 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 690 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt(era, ((NI) 400), &TM__6NbDwwj5FY059b1gz2AsAZQ_172)) { raiseOverflow(); }; if (nimSubInt(y_1, (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_172), &TM__6NbDwwj5FY059b1gz2AsAZQ_173)) { raiseOverflow(); }; yoe = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_173);
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T12_ = (NI)0;
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(((NI) 2) < m)) goto LA15_;
T12_ = ((NI) -3); }
goto LA13_;
LA15_: ;
{ T12_ = ((NI) 9); }
LA13_: ;
if (nimAddInt(m, T12_, &TM__6NbDwwj5FY059b1gz2AsAZQ_174)) { raiseOverflow(); }; if (nimMulInt(((NI) 153), (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_174), &TM__6NbDwwj5FY059b1gz2AsAZQ_175)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_175), ((NI) 2), &TM__6NbDwwj5FY059b1gz2AsAZQ_176)) { raiseOverflow(); }; if (((NI) 5) == 0){ raiseDivByZero(); } if (nimDivInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_176), ((NI) 5), &TM__6NbDwwj5FY059b1gz2AsAZQ_177)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_177), d, &TM__6NbDwwj5FY059b1gz2AsAZQ_178)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_178), ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_179)) { raiseOverflow(); }; doy = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_179);
#line 692 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 692 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 692 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 692 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 692 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt(yoe, ((NI) 365), &TM__6NbDwwj5FY059b1gz2AsAZQ_180)) { raiseOverflow(); };
#line 692 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 4) == 0){ raiseDivByZero(); } if (nimDivInt(yoe, ((NI) 4), &TM__6NbDwwj5FY059b1gz2AsAZQ_181)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_180), (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_181), &TM__6NbDwwj5FY059b1gz2AsAZQ_182)) { raiseOverflow(); };
#line 692 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (((NI) 100) == 0){ raiseDivByZero(); } if (nimDivInt(yoe, ((NI) 100), &TM__6NbDwwj5FY059b1gz2AsAZQ_183)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_182), (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_183), &TM__6NbDwwj5FY059b1gz2AsAZQ_184)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_184), doy, &TM__6NbDwwj5FY059b1gz2AsAZQ_185)) { raiseOverflow(); }; doe = (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_185);
#line 693 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 693 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 693 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 693 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 693 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt(era, ((NI) 146097), &TM__6NbDwwj5FY059b1gz2AsAZQ_186)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_186), doe, &TM__6NbDwwj5FY059b1gz2AsAZQ_187)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_187), ((NI) 719468), &TM__6NbDwwj5FY059b1gz2AsAZQ_188)) { raiseOverflow(); }; result = ((NI64) ((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_188))); goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 733 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg, getDayOfWeek__mJS9aX4seDJTXPb8lsduIJQ)(NI monthday, tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw month, NI year) { tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg result; NI64 days_1; NI64 T1_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_189; NI64 weeks; NI64 wd; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_190; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_191; result = (tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg)0;
#line 741 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 741 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
assertValidDate__f2Fk39au9a9a6rBs21PXyCIwQtimes(monthday, month, year);
#line 743 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 743 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 743 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 743 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = (NI64)0; T1_ = toEpochDay__af2n9cSSmlgt19bLZ9bxJgAfw(monthday, month, year); if (nimSubInt64(T1_, IL64(3), &TM__6NbDwwj5FY059b1gz2AsAZQ_189)) { raiseOverflow(); }; days_1 = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_189);
#line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 744 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
weeks = floorDiv__AhJW2V9aOggsJyHuT9bgq9bug(days_1, ((NI) 7));
#line 745 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 745 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 745 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt64(weeks, IL64(7), &TM__6NbDwwj5FY059b1gz2AsAZQ_190)) { raiseOverflow(); }; if (nimSubInt64(days_1, (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_190), &TM__6NbDwwj5FY059b1gz2AsAZQ_191)) { raiseOverflow(); }; wd = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_191);
#line 748 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 748 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 748 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(wd == IL64(0))) goto LA4_;
result = ((tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg) 6); }
goto LA2_;
LA4_: ;
{ NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_192;
#line 748 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt64(wd, IL64(1), &TM__6NbDwwj5FY059b1gz2AsAZQ_192)) { raiseOverflow(); }; if (((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_192)) < ((tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg) 0) || ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_192)) > ((tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg) 6)){ raiseRangeErrorI((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_192), ((tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg) 0), ((tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg) 6)); } result = ((tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg) ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_192))); }
LA2_: ;
return result;}
#line 713 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(NI, getDayOfYear__Rz86hD1Kcki9b7ycaX9c9cWvQ)(NI monthday, tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw month, NI year) { NI result; result = (NI)0;
#line 722 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 722 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
assertValidDate__f2Fk39au9a9a6rBs21PXyCIwQtimes(monthday, month, year);
#line 728 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NIM_BOOL T3_; NI TM__6NbDwwj5FY059b1gz2AsAZQ_193; NI TM__6NbDwwj5FY059b1gz2AsAZQ_194;
#line 728 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 728 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T3_ = (NIM_BOOL)0; T3_ = isLeapYear__fs8eIeJ5mOYFq6g12UKiwQ(year); if (!T3_) goto LA4_;
#line 729 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 729 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 729 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (month < 1 || month > 12){ raiseIndexError3(month, 1, 12); } if (nimAddInt(daysUntilMonthLeap__bWLQu3i9bqoFDTyygQP29aFA[(month)- 1], ((NI) (monthday)), &TM__6NbDwwj5FY059b1gz2AsAZQ_193)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_193), ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_194)) { raiseOverflow(); }; if (((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_194)) < ((NI) 0) || ((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_194)) > ((NI) 365)){ raiseRangeErrorI((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_194), ((NI) 0), ((NI) 365)); } result = ((NI) ((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_194))); }
goto LA1_;
LA4_: ;
{ NI TM__6NbDwwj5FY059b1gz2AsAZQ_195; NI TM__6NbDwwj5FY059b1gz2AsAZQ_196;
#line 731 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 731 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 731 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (month < 1 || month > 12){ raiseIndexError3(month, 1, 12); } if (nimAddInt(daysUntilMonth__TV2R7Va3CeAXpg6eZUosdg[(month)- 1], ((NI) (monthday)), &TM__6NbDwwj5FY059b1gz2AsAZQ_195)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_195), ((NI) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_196)) { raiseOverflow(); }; if (((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_196)) < ((NI) 0) || ((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_196)) > ((NI) 365)){ raiseRangeErrorI((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_196), ((NI) 0), ((NI) 365)); } result = ((NI) ((NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_196))); }
LA1_: ;
return result;}
#line 995 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(void, initDateTime__9aNghJ6FEvB9bmfWkrG4iUag)(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ* zt, tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* zone, tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* Result) { tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q adjTime; tyObject_Duration__lj9ar6Co3fgk6NgGnVaNpJw T1_; NI64 s; NI64 epochday; NI64 rem; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_118; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_119; NI64 hour; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_120; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_121; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_122; NI64 minute; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_123; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_124; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_125; NI64 second; tyTuple__XjuGlLf9cyYx66ViXrBCvPQ T2_; NI d; tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw m; NI y_1;
#line 996 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 997 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 997 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 997 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = initDuration__wcR3zetvspAUsyuvWZ07Xg(IL64(0), IL64(0), IL64(0), ((NI64) ((*zt).utcOffset)), IL64(0), IL64(0), IL64(0), IL64(0));
#line 997 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
adjTime = ntSubTime((*zt).time, T1_);
#line 998 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
s = adjTime.seconds;
#line 999 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 999 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
epochday = floorDiv__AhJW2V9aOggsJyHuT9bgq9bug(s, ((NI) 86400));
#line 1000 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1000 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1000 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt64(epochday, IL64(86400), &TM__6NbDwwj5FY059b1gz2AsAZQ_118)) { raiseOverflow(); }; if (nimSubInt64(s, (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_118), &TM__6NbDwwj5FY059b1gz2AsAZQ_119)) { raiseOverflow(); }; rem = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_119);
#line 1001 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1001 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (IL64(3600) == 0){ raiseDivByZero(); } if (nimDivInt64(rem, IL64(3600), &TM__6NbDwwj5FY059b1gz2AsAZQ_120)) { raiseOverflow(); }; hour = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_120);
#line 1002 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1002 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1002 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt64(hour, IL64(3600), &TM__6NbDwwj5FY059b1gz2AsAZQ_121)) { raiseOverflow(); }; if (nimSubInt64(rem, (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_121), &TM__6NbDwwj5FY059b1gz2AsAZQ_122)) { raiseOverflow(); }; rem = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_122);
#line 1003 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1003 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (IL64(60) == 0){ raiseDivByZero(); } if (nimDivInt64(rem, IL64(60), &TM__6NbDwwj5FY059b1gz2AsAZQ_123)) { raiseOverflow(); }; minute = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_123);
#line 1004 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1004 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1004 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt64(minute, IL64(60), &TM__6NbDwwj5FY059b1gz2AsAZQ_124)) { raiseOverflow(); }; if (nimSubInt64(rem, (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_124), &TM__6NbDwwj5FY059b1gz2AsAZQ_125)) { raiseOverflow(); }; rem = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_125);
#line 1005 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
second = rem;
#line 1007 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1007 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1007 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T2_ = fromEpochDay__Q6dL9aKf9alEEEm3deeqatPQ(epochday); d = T2_.Field0; m = T2_.Field1; y_1 = T2_.Field2; chckNil((void*)Result); (*Result).month = 0; (*Result).year = 0; (*Result).weekday = 0; (*Result).isDst = 0; unsureAsgnRef((void**)&(*Result).timezone, NIM_NIL); (*Result).utcOffset = 0; (*Result).Sup.m_type = (&NTI__d9cK9cyKZPJJxFXUmx8dSpPw_); (*Result).year = y_1; (*Result).month = m; (*Result).monthday = d; if ((hour) < ((NI) 0) || (hour) > ((NI) 23)){ raiseRangeErrorI(hour, ((NI) 0), ((NI) 23)); } (*Result).hour = ((NI) (hour)); if ((minute) < ((NI) 0) || (minute) > ((NI) 59)){ raiseRangeErrorI(minute, ((NI) 0), ((NI) 59)); } (*Result).minute = ((NI) (minute)); if ((second) < ((NI) 0) || (second) > ((NI) 60)){ raiseRangeErrorI(second, ((NI) 0), ((NI) 60)); } (*Result).second = ((NI) (second)); (*Result).nanosecond = (*zt).time.nanosecond;
#line 1017 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1017 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
(*Result).weekday = getDayOfWeek__mJS9aX4seDJTXPb8lsduIJQ(d, m, y_1);
#line 1018 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1018 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
(*Result).yearday = getDayOfYear__Rz86hD1Kcki9b7ycaX9c9cWvQ(d, m, y_1); (*Result).isDst = (*zt).isDst; unsureAsgnRef((void**) (&(*Result).timezone), zone); (*Result).utcOffset = (*zt).utcOffset;}
#line 1064 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ, zonedTimeFromTime__zT9bMgAwfe1o0G71u2tO24Q)(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* zone, tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q time) { tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ result; nimZeroMem((void*)(&result), sizeof(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ));
#line 1065 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1066 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result = (*zone).zonedTimeFromTimeImpl.ClE_0? (*zone).zonedTimeFromTimeImpl.ClP_0(time, (*zone).zonedTimeFromTimeImpl.ClE_0):((TM__6NbDwwj5FY059b1gz2AsAZQ_197)((*zone).zonedTimeFromTimeImpl.ClP_0))(time); return result;}
#line 1092 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(void, inZone__o59cT0ssqq4BC09cuUGSdJiA)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q time, tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* zone, tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* Result) { tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ T1_;
#line 1095 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1095 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1095 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = zonedTimeFromTime__zT9bMgAwfe1o0G71u2tO24Q(zone, time);
#line 1095 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
initDateTime__9aNghJ6FEvB9bmfWkrG4iUag((&T1_), zone, 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 1024 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw*, newTimezone__wByPoqWZicj9aruaaS1n9bFQ)(NimStringDesc* name_0, tyProc__bs1dgeTxHIjPGTR9axkkHbg zonedTimeFromTimeImpl, tyProc__bs1dgeTxHIjPGTR9axkkHbg zonedTimeFromAdjTimeImpl) { tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* result; tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* T1_; NimStringDesc* T2_; result = (tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw*)0;
#line 1031 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = (tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw*)0; T1_ = (tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw*) newObj((&NTI__9a5v4OQPlGqsA25ioN8hFYA_), sizeof(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw)); T2_ = (NimStringDesc*)0; T2_ = (*T1_).name; (*T1_).name = copyStringRC1(name_0); if (T2_) nimGCunrefNoCycle(T2_); asgnRef((void**) (&(*T1_).zonedTimeFromTimeImpl.ClE_0), zonedTimeFromTimeImpl.ClE_0); (*T1_).zonedTimeFromTimeImpl.ClP_0 = zonedTimeFromTimeImpl.ClP_0; asgnRef((void**) (&(*T1_).zonedTimeFromAdjTimeImpl.ClE_0), zonedTimeFromAdjTimeImpl.ClE_0); (*T1_).zonedTimeFromAdjTimeImpl.ClP_0 = zonedTimeFromAdjTimeImpl.ClP_0; result = T1_; return result;}
#line 1137 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(NI64, toAdjUnix__7gZ56sIczRw5Us60WRxM6Q)(struct tm tm) { NI64 result; NI64 epochDay; NI TM__6NbDwwj5FY059b1gz2AsAZQ_199; NI TM__6NbDwwj5FY059b1gz2AsAZQ_200; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_201; NI TM__6NbDwwj5FY059b1gz2AsAZQ_202; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_203; NI TM__6NbDwwj5FY059b1gz2AsAZQ_204; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_205; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_206; result = (NI64)0;
#line 1138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((tm.tm_mday) < ((NI) 0) || (tm.tm_mday) > ((NI) 31)){ raiseRangeErrorI(tm.tm_mday, ((NI) 0), ((NI) 31)); }
#line 1138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt(tm.tm_mon, ((NI32) 1), &TM__6NbDwwj5FY059b1gz2AsAZQ_199)) { raiseOverflow(); }; if (TM__6NbDwwj5FY059b1gz2AsAZQ_199 < (-2147483647 -1) || TM__6NbDwwj5FY059b1gz2AsAZQ_199 > 2147483647){ raiseOverflow(); } if (((NI32)(TM__6NbDwwj5FY059b1gz2AsAZQ_199)) < ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 1) || ((NI32)(TM__6NbDwwj5FY059b1gz2AsAZQ_199)) > ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 12)){ raiseRangeErrorI((NI32)(TM__6NbDwwj5FY059b1gz2AsAZQ_199), ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 1), ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) 12)); }
#line 1139 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt(((NI) (tm.tm_year)), ((NI) 1900), &TM__6NbDwwj5FY059b1gz2AsAZQ_200)) { raiseOverflow(); };
#line 1138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
epochDay = toEpochDay__af2n9cSSmlgt19bLZ9bxJgAfw(((NI) (tm.tm_mday)), ((tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw) ((NI32)(TM__6NbDwwj5FY059b1gz2AsAZQ_199))), (NI)(TM__6NbDwwj5FY059b1gz2AsAZQ_200));
#line 1140 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1140 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt64(epochDay, IL64(86400), &TM__6NbDwwj5FY059b1gz2AsAZQ_201)) { raiseOverflow(); }; result = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_201);
#line 1141 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1141 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt(tm.tm_hour, ((NI32) 3600), &TM__6NbDwwj5FY059b1gz2AsAZQ_202)) { raiseOverflow(); }; if (TM__6NbDwwj5FY059b1gz2AsAZQ_202 < (-2147483647 -1) || TM__6NbDwwj5FY059b1gz2AsAZQ_202 > 2147483647){ raiseOverflow(); } if (nimAddInt64(result, ((NI) ((NI32)(TM__6NbDwwj5FY059b1gz2AsAZQ_202))), &TM__6NbDwwj5FY059b1gz2AsAZQ_203)) { raiseOverflow(); }; result = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_203);
#line 1142 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1142 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimMulInt(tm.tm_min, ((NI32) 60), &TM__6NbDwwj5FY059b1gz2AsAZQ_204)) { raiseOverflow(); }; if (TM__6NbDwwj5FY059b1gz2AsAZQ_204 < (-2147483647 -1) || TM__6NbDwwj5FY059b1gz2AsAZQ_204 > 2147483647){ raiseOverflow(); } if (nimAddInt64(result, ((NI) ((NI32)(TM__6NbDwwj5FY059b1gz2AsAZQ_204))), &TM__6NbDwwj5FY059b1gz2AsAZQ_205)) { raiseOverflow(); }; result = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_205);
#line 1143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt64(result, ((NI) (tm.tm_sec)), &TM__6NbDwwj5FY059b1gz2AsAZQ_206)) { raiseOverflow(); }; result = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_206); return result;}
#line 1145 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyTuple__pfrdooyxJsC6cg34ebuBag, getLocalOffsetAndDst__wPlTAoiD9bfaYQuVXohuphA)(NI64 unix_0) { tyTuple__pfrdooyxJsC6cg34ebuBag result; long a; NI64 T1_; struct tm* tmPtr; NI colontmp__3; NIM_BOOL colontmp__4;{ nimZeroMem((void*)(&result), sizeof(tyTuple__pfrdooyxJsC6cg34ebuBag));
#line 1159 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1159 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1159 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = (NI64)0; T1_ = clamp__4FyNK9boFeHv6A9b7jEfnv4Q(unix_0, (IL64(-9223372036854775807) - IL64(1)), IL64(9223372036854775807)); a = ((long) (T1_));
#line 1160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1160 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
tmPtr = localtime((&a));
#line 1161 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ struct tm tm; NI colontmp_; NI64 T6_; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_207; NIM_BOOL colontmp__2;
#line 1161 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1161 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!!((tmPtr == 0))) goto LA4_;
#line 1162 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
tm = (*tmPtr);
#line 1163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T6_ = (NI64)0; T6_ = toAdjUnix__7gZ56sIczRw5Us60WRxM6Q(tm); if (nimSubInt64(((NI64) (a)), T6_, &TM__6NbDwwj5FY059b1gz2AsAZQ_207)) { raiseOverflow(); }; colontmp_ = ((NI) ((NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_207)));
#line 1163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
colontmp__2 = (((NI32) 0) < tm.tm_isdst);
#line 1163 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result.Field0 = colontmp_; result.Field1 = colontmp__2; goto BeforeRet_;
}
LA4_: ;
#line 1164 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1164 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
colontmp__3 = ((NI) 0);
#line 1164 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
colontmp__4 = NIM_FALSE;
#line 1164 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result.Field0 = colontmp__3; result.Field1 = colontmp__4; goto BeforeRet_;
}BeforeRet_: ;
return result;}
#line 1166 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ, localZonedTimeFromTime__uDYZeDxzpPQoN8cxZKMtTQ)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q time) { tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ result; tyTuple__pfrdooyxJsC6cg34ebuBag T1_; NI offset; NIM_BOOL dst; nimZeroMem((void*)(&result), sizeof(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ));
#line 1167 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1167 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1167 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = getLocalOffsetAndDst__wPlTAoiD9bfaYQuVXohuphA(time.seconds); offset = T1_.Field0; dst = T1_.Field1;
#line 1168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result.time = time;
#line 1169 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result.utcOffset = offset;
#line 1170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result.isDst = dst; return result;}
#line 927 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q, initTime__JIXNH9cQMG3SbZ0hXqEYDvA)(NI64 unix_0, NI nanosecond) { tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q result; nimZeroMem((void*)(&result), sizeof(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q));
#line 929 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result.seconds = unix_0;
#line 930 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result.nanosecond = nanosecond; return result;}
#line 1172 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ, localZonedTimeFromAdjTime__GmSlVYJeJjQvBZrTGP0v1w)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q adjTime) { tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ result; NI64 adjUnix; NI64 past; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_209; tyTuple__pfrdooyxJsC6cg34ebuBag T1_; NI pastOffset; NIM_BOOL _; NI64 future; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_210; tyTuple__pfrdooyxJsC6cg34ebuBag T2_; NI futureOffset; NIM_BOOL __2; NI utcOffset; NI64 utcUnix; NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_213; tyTuple__pfrdooyxJsC6cg34ebuBag T13_; NI finalOffset; NIM_BOOL dst; nimZeroMem((void*)(&result), sizeof(tyObject_ZonedTime__WigfH9apQAxJ69bBPh3wB8RQ));
#line 1173 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
adjUnix = adjTime.seconds;
#line 1174 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1174 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt64(adjUnix, IL64(86400), &TM__6NbDwwj5FY059b1gz2AsAZQ_209)) { raiseOverflow(); }; past = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_209);
#line 1175 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1175 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1175 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = getLocalOffsetAndDst__wPlTAoiD9bfaYQuVXohuphA(past); pastOffset = T1_.Field0; _ = T1_.Field1;
#line 1177 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1177 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt64(adjUnix, IL64(86400), &TM__6NbDwwj5FY059b1gz2AsAZQ_210)) { raiseOverflow(); }; future = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_210);
#line 1178 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1178 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1178 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T2_ = getLocalOffsetAndDst__wPlTAoiD9bfaYQuVXohuphA(future); futureOffset = T2_.Field0; __2 = T2_.Field1; utcOffset = (NI)0;
#line 1181 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{
#line 1181 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(pastOffset == futureOffset)) goto LA5_;
#line 1182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
utcOffset = pastOffset; }
goto LA3_;
LA5_: ;
{ NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_212; tyTuple__pfrdooyxJsC6cg34ebuBag T12_;
#line 1184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ NI64 TM__6NbDwwj5FY059b1gz2AsAZQ_211;
#line 1184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(futureOffset < pastOffset)) goto LA10_;
#line 1185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimSubInt64(adjUnix, ((NI) 3600), &TM__6NbDwwj5FY059b1gz2AsAZQ_211)) { raiseOverflow(); }; adjUnix = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_211); }
LA10_: ;
#line 1187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt64(adjUnix, ((NI64) (pastOffset)), &TM__6NbDwwj5FY059b1gz2AsAZQ_212)) { raiseOverflow(); }; adjUnix = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_212);
#line 1188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T12_ = getLocalOffsetAndDst__wPlTAoiD9bfaYQuVXohuphA(adjUnix); utcOffset = T12_.Field0; }
LA3_: ;
#line 1192 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1192 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (nimAddInt64(adjTime.seconds, ((NI64) (utcOffset)), &TM__6NbDwwj5FY059b1gz2AsAZQ_213)) { raiseOverflow(); }; utcUnix = (NI64)(TM__6NbDwwj5FY059b1gz2AsAZQ_213);
#line 1193 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1193 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1193 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T13_ = getLocalOffsetAndDst__wPlTAoiD9bfaYQuVXohuphA(utcUnix); finalOffset = T13_.Field0; dst = T13_.Field1;
#line 1194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result.time = initTime__JIXNH9cQMG3SbZ0hXqEYDvA(utcUnix, adjTime.nanosecond);
#line 1195 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result.utcOffset = finalOffset;
#line 1196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result.isDst = dst; return result;}
#line 1213 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw*, local__qUBQvQNLA9buHXwkwhObxQg)(void) { tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* result; result = (tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw*)0;
#line 1218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
{ tyProc__bs1dgeTxHIjPGTR9axkkHbg T5_; tyProc__bs1dgeTxHIjPGTR9axkkHbg T6_;
#line 1218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if (!(localInstance__cLtN9cK9bCe6IPhJ3UFNLNKA == 0)) goto LA3_;
#line 1219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
nimZeroMem((void*)(&T5_), sizeof(tyProc__bs1dgeTxHIjPGTR9axkkHbg)); T5_.ClP_0 = ((TM__6NbDwwj5FY059b1gz2AsAZQ_208) (localZonedTimeFromTime__uDYZeDxzpPQoN8cxZKMtTQ)); T5_.ClE_0 = NIM_NIL; nimZeroMem((void*)(&T6_), sizeof(tyProc__bs1dgeTxHIjPGTR9axkkHbg)); T6_.ClP_0 = ((TM__6NbDwwj5FY059b1gz2AsAZQ_214) (localZonedTimeFromAdjTime__GmSlVYJeJjQvBZrTGP0v1w)); T6_.ClE_0 = NIM_NIL;
#line 1219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
asgnRef((void**) (&localInstance__cLtN9cK9bCe6IPhJ3UFNLNKA), newTimezone__wByPoqWZicj9aruaaS1n9bFQ(((NimStringDesc*) &TM__6NbDwwj5FY059b1gz2AsAZQ_198), T5_, T6_)); }
LA3_: ;
#line 1221 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result = localInstance__cLtN9cK9bCe6IPhJ3UFNLNKA; return result;}
#line 1235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(void, local__JDUz4bfwLSZvJxYV9aiNG9bg)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q t, tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* Result) { tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw* T1_;
#line 1236 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = (tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw*)0; T1_ = local__qUBQvQNLA9buHXwkwhObxQg();
#line 1237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
inZone__o59cT0ssqq4BC09cuUGSdJiA(t, T1_, Result);
}
#line 1239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q, getTime__h20mpqrwsumk6J9bRdCm6IQ)(void) { tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q result; struct timespec ts; int T1_; nimZeroMem((void*)(&result), sizeof(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q)); nimZeroMem((void*)(&ts), sizeof(struct timespec));
#line 1254 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1254 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1254 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = (int)0; T1_ = clock_gettime(((int) 0), (&ts)); (void)(T1_);
#line 1255 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
if ((ts.tv_nsec) < ((NI) 0) || (ts.tv_nsec) > ((NI) 999999999)){ raiseRangeErrorI(ts.tv_nsec, ((NI) 0), ((NI) 999999999)); }
#line 1255 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
result = initTime__JIXNH9cQMG3SbZ0hXqEYDvA(((NI64) (ts.tv_sec)), ((NI) (ts.tv_nsec))); return result;}
#line 1261 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
N_LIB_PRIVATE N_NIMCALL(void, now__YmAcAi9bz5G8OQqVFWHN2uA)(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw* Result) { tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q T1_;
#line 1262 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1265 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1265 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 1265 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
T1_ = getTime__h20mpqrwsumk6J9bRdCm6IQ();
#line 1265 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
local__JDUz4bfwLSZvJxYV9aiNG9bg(T1_, Result);
}
N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void) {
#line 999999 "generated_not_to_break_here"
{
nimRegisterThreadLocalMarker(TM__6NbDwwj5FY059b1gz2AsAZQ_4); nimRegisterThreadLocalMarker(TM__6NbDwwj5FY059b1gz2AsAZQ_5);
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/times.nim"
tzset();
}
}
N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void) {
#line 999999 "generated_not_to_break_here"
static TNimNode* TM__6NbDwwj5FY059b1gz2AsAZQ_2_3[3];
static TNimNode* TM__6NbDwwj5FY059b1gz2AsAZQ_3_2[2];
static TNimNode* TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[12];
static TNimNode* TM__6NbDwwj5FY059b1gz2AsAZQ_157_12[12];
NI TM__6NbDwwj5FY059b1gz2AsAZQ_159;
static char* NIM_CONST TM__6NbDwwj5FY059b1gz2AsAZQ_158[12] = {
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"};
static TNimNode* TM__6NbDwwj5FY059b1gz2AsAZQ_160_7[7];
NI TM__6NbDwwj5FY059b1gz2AsAZQ_162;
static char* NIM_CONST TM__6NbDwwj5FY059b1gz2AsAZQ_161[7] = {
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"};
static TNimNode TM__6NbDwwj5FY059b1gz2AsAZQ_0[41];NTI__F8OvqlxXyGXRSiK9c1fCDVw_.size = sizeof(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw);
NTI__F8OvqlxXyGXRSiK9c1fCDVw_.kind = 18;
NTI__F8OvqlxXyGXRSiK9c1fCDVw_.base = 0;
NTI__F8OvqlxXyGXRSiK9c1fCDVw_.name = "Timezone:ObjectType";
NTI__F8OvqlxXyGXRSiK9c1fCDVw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__F8OvqlxXyGXRSiK9c1fCDVw_;
TM__6NbDwwj5FY059b1gz2AsAZQ_2_3[0] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[1];
NTI__bs1dgeTxHIjPGTR9axkkHbg_.size = sizeof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A);
NTI__bs1dgeTxHIjPGTR9axkkHbg_.kind = 18;
NTI__bs1dgeTxHIjPGTR9axkkHbg_.base = 0;
NTI__bs1dgeTxHIjPGTR9axkkHbg_.name = "tuple of (pointer, ref object)";
NTI__bs1dgeTxHIjPGTR9axkkHbg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__bs1dgeTxHIjPGTR9axkkHbg_;
TM__6NbDwwj5FY059b1gz2AsAZQ_3_2[0] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[3];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[3].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[3].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field0);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[3].typ = (&NTI__vr5DoT1jILTGdRlYv1OYpw_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[3].name = "Field0";
TM__6NbDwwj5FY059b1gz2AsAZQ_3_2[1] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[4];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[4].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[4].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field1);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[4].typ = (&NTI__HsJiUUcO9cHBdUCi0HwkSTA_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[4].name = "Field1";
TM__6NbDwwj5FY059b1gz2AsAZQ_0[2].len = 2; TM__6NbDwwj5FY059b1gz2AsAZQ_0[2].kind = 2; TM__6NbDwwj5FY059b1gz2AsAZQ_0[2].sons = &TM__6NbDwwj5FY059b1gz2AsAZQ_3_2[0];
NTI__bs1dgeTxHIjPGTR9axkkHbg_.node = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[2];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[1].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[1].offset = offsetof(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw, zonedTimeFromTimeImpl);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[1].typ = (&NTI__bs1dgeTxHIjPGTR9axkkHbg_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[1].name = "zonedTimeFromTimeImpl";
TM__6NbDwwj5FY059b1gz2AsAZQ_2_3[1] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[5];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[5].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[5].offset = offsetof(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw, zonedTimeFromAdjTimeImpl);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[5].typ = (&NTI__bs1dgeTxHIjPGTR9axkkHbg_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[5].name = "zonedTimeFromAdjTimeImpl";
TM__6NbDwwj5FY059b1gz2AsAZQ_2_3[2] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[6];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[6].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[6].offset = offsetof(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw, name);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[6].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[6].name = "name";
TM__6NbDwwj5FY059b1gz2AsAZQ_0[0].len = 3; TM__6NbDwwj5FY059b1gz2AsAZQ_0[0].kind = 2; TM__6NbDwwj5FY059b1gz2AsAZQ_0[0].sons = &TM__6NbDwwj5FY059b1gz2AsAZQ_2_3[0];
NTI__F8OvqlxXyGXRSiK9c1fCDVw_.node = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[0];
NTI__9a5v4OQPlGqsA25ioN8hFYA_.size = sizeof(tyObject_TimezonecolonObjectType___F8OvqlxXyGXRSiK9c1fCDVw*);
NTI__9a5v4OQPlGqsA25ioN8hFYA_.kind = 22;
NTI__9a5v4OQPlGqsA25ioN8hFYA_.base = (&NTI__F8OvqlxXyGXRSiK9c1fCDVw_);
NTI__9a5v4OQPlGqsA25ioN8hFYA_.name = "Timezone";
NTI__9a5v4OQPlGqsA25ioN8hFYA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__9a5v4OQPlGqsA25ioN8hFYA_;
NTI__9a5v4OQPlGqsA25ioN8hFYA_.marker = Marker_tyRef__9a5v4OQPlGqsA25ioN8hFYA;
NTI__d9cK9cyKZPJJxFXUmx8dSpPw_.size = sizeof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw);
NTI__d9cK9cyKZPJJxFXUmx8dSpPw_.kind = 17;
NTI__d9cK9cyKZPJJxFXUmx8dSpPw_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__d9cK9cyKZPJJxFXUmx8dSpPw_.name = "DateTime";
NTI__d9cK9cyKZPJJxFXUmx8dSpPw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__d9cK9cyKZPJJxFXUmx8dSpPw_;
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[0] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[8];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[8].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[8].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, nanosecond);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[8].typ = (&NTI__PpavWgyrx5odXyR89aNlcWA_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[8].name = "nanosecond";
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[1] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[9];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[9].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[9].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, second);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[9].typ = (&NTI__rUuqTvFmkC6KKRqDAazGEA_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[9].name = "second";
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[2] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[10];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[10].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[10].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, minute);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[10].typ = (&NTI__LBgXxpmYOpS8xroRZgNvbg_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[10].name = "minute";
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[3] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[11];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[11].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[11].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, hour);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[11].typ = (&NTI__Gz6vwaK0PZQIDIwfuvKsOg_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[11].name = "hour";
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[4] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[12];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[12].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[12].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, monthday);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[12].typ = (&NTI__R6xyK4emLrjzESwYWG6z5A_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[12].name = "monthday";
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[5] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[13];
NTI__JS0JuFvCBbC2GL3xXBnPQw_.size = sizeof(tyEnum_Month__JS0JuFvCBbC2GL3xXBnPQw);
NTI__JS0JuFvCBbC2GL3xXBnPQw_.kind = 14;
NTI__JS0JuFvCBbC2GL3xXBnPQw_.base = 0;
NTI__JS0JuFvCBbC2GL3xXBnPQw_.flags = 3;
NTI__JS0JuFvCBbC2GL3xXBnPQw_.name = "Month";
NTI__JS0JuFvCBbC2GL3xXBnPQw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__JS0JuFvCBbC2GL3xXBnPQw_;
for (TM__6NbDwwj5FY059b1gz2AsAZQ_159 = 0; TM__6NbDwwj5FY059b1gz2AsAZQ_159 < 12; TM__6NbDwwj5FY059b1gz2AsAZQ_159++) {
TM__6NbDwwj5FY059b1gz2AsAZQ_0[TM__6NbDwwj5FY059b1gz2AsAZQ_159+14].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[TM__6NbDwwj5FY059b1gz2AsAZQ_159+14].offset = TM__6NbDwwj5FY059b1gz2AsAZQ_159;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[TM__6NbDwwj5FY059b1gz2AsAZQ_159+14].name = TM__6NbDwwj5FY059b1gz2AsAZQ_158[TM__6NbDwwj5FY059b1gz2AsAZQ_159];
TM__6NbDwwj5FY059b1gz2AsAZQ_157_12[TM__6NbDwwj5FY059b1gz2AsAZQ_159] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[TM__6NbDwwj5FY059b1gz2AsAZQ_159+14];
}
TM__6NbDwwj5FY059b1gz2AsAZQ_0[14].offset = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[15].offset = 2;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[16].offset = 3;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[17].offset = 4;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[18].offset = 5;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[19].offset = 6;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[20].offset = 7;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[21].offset = 8;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[22].offset = 9;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[23].offset = 10;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[24].offset = 11;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[25].offset = 12;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[26].len = 12; TM__6NbDwwj5FY059b1gz2AsAZQ_0[26].kind = 2; TM__6NbDwwj5FY059b1gz2AsAZQ_0[26].sons = &TM__6NbDwwj5FY059b1gz2AsAZQ_157_12[0];
NTI__JS0JuFvCBbC2GL3xXBnPQw_.node = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[26];
NTI__JS0JuFvCBbC2GL3xXBnPQw_.flags = 1<<2;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[13].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[13].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, month);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[13].typ = (&NTI__JS0JuFvCBbC2GL3xXBnPQw_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[13].name = "month";
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[6] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[27];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[27].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[27].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, year);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[27].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[27].name = "year";
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[7] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[28];
NTI__SVfemTA9aCOyua2TJYa6yBg_.size = sizeof(tyEnum_WeekDay__SVfemTA9aCOyua2TJYa6yBg);
NTI__SVfemTA9aCOyua2TJYa6yBg_.kind = 14;
NTI__SVfemTA9aCOyua2TJYa6yBg_.base = 0;
NTI__SVfemTA9aCOyua2TJYa6yBg_.flags = 3;
NTI__SVfemTA9aCOyua2TJYa6yBg_.name = "WeekDay";
NTI__SVfemTA9aCOyua2TJYa6yBg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__SVfemTA9aCOyua2TJYa6yBg_;
for (TM__6NbDwwj5FY059b1gz2AsAZQ_162 = 0; TM__6NbDwwj5FY059b1gz2AsAZQ_162 < 7; TM__6NbDwwj5FY059b1gz2AsAZQ_162++) {
TM__6NbDwwj5FY059b1gz2AsAZQ_0[TM__6NbDwwj5FY059b1gz2AsAZQ_162+29].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[TM__6NbDwwj5FY059b1gz2AsAZQ_162+29].offset = TM__6NbDwwj5FY059b1gz2AsAZQ_162;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[TM__6NbDwwj5FY059b1gz2AsAZQ_162+29].name = TM__6NbDwwj5FY059b1gz2AsAZQ_161[TM__6NbDwwj5FY059b1gz2AsAZQ_162];
TM__6NbDwwj5FY059b1gz2AsAZQ_160_7[TM__6NbDwwj5FY059b1gz2AsAZQ_162] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[TM__6NbDwwj5FY059b1gz2AsAZQ_162+29];
}
TM__6NbDwwj5FY059b1gz2AsAZQ_0[36].len = 7; TM__6NbDwwj5FY059b1gz2AsAZQ_0[36].kind = 2; TM__6NbDwwj5FY059b1gz2AsAZQ_0[36].sons = &TM__6NbDwwj5FY059b1gz2AsAZQ_160_7[0];
NTI__SVfemTA9aCOyua2TJYa6yBg_.node = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[36];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[28].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[28].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, weekday);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[28].typ = (&NTI__SVfemTA9aCOyua2TJYa6yBg_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[28].name = "weekday";
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[8] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[37];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[37].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[37].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, yearday);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[37].typ = (&NTI__g9buja9c9aeh0rkDpqsXOJF9bA_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[37].name = "yearday";
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[9] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[38];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[38].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[38].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, isDst);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[38].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[38].name = "isDst";
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[10] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[39];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[39].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[39].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, timezone);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[39].typ = (&NTI__9a5v4OQPlGqsA25ioN8hFYA_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[39].name = "timezone";
TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[11] = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[40];
TM__6NbDwwj5FY059b1gz2AsAZQ_0[40].kind = 1;
TM__6NbDwwj5FY059b1gz2AsAZQ_0[40].offset = offsetof(tyObject_DateTime__d9cK9cyKZPJJxFXUmx8dSpPw, utcOffset);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[40].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__6NbDwwj5FY059b1gz2AsAZQ_0[40].name = "utcOffset";
TM__6NbDwwj5FY059b1gz2AsAZQ_0[7].len = 12; TM__6NbDwwj5FY059b1gz2AsAZQ_0[7].kind = 2; TM__6NbDwwj5FY059b1gz2AsAZQ_0[7].sons = &TM__6NbDwwj5FY059b1gz2AsAZQ_156_12[0];
NTI__d9cK9cyKZPJJxFXUmx8dSpPw_.node = &TM__6NbDwwj5FY059b1gz2AsAZQ_0[7];
}