/* Generated by Nim Compiler v1.4.2 */
/*   (c) 2020 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_INTBITS 64
#define NIM_EmulateOverflowChecks

/* section: NIM_merge_HEADERS */

#include "nimbase.h"
#include <malloc.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <switch/kernel/virtmem.h>
#include <switch/kernel/svc.h>
#include <setjmp.h>
#include <signal.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix

/* section: NIM_merge_FRAME_DEFINES */
#define nimfr_(x, y)
#define nimln_(x, y)

/* section: NIM_merge_FORWARD_TYPES */
typedef struct Exception Exception;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
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_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w;
typedef struct tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ;
typedef struct tyObject_NSwitchBlock__B9aTrG3ZApNTF4lzdqtKa3A tyObject_NSwitchBlock__B9aTrG3ZApNTF4lzdqtKa3A;
typedef struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct TSafePoint TSafePoint;
typedef struct RootObj RootObj;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
typedef struct GcFrameHeader GcFrameHeader;
typedef struct tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g;
typedef struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA;
typedef struct tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ;
typedef struct tyObject_ArithmeticDefect__cT9c9bHlHSpA1QTnKbHjnIkA tyObject_ArithmeticDefect__cT9c9bHlHSpA1QTnKbHjnIkA;
typedef struct tySequence__WwUFq9cJ2xKRlsAWVEHyPRg tySequence__WwUFq9cJ2xKRlsAWVEHyPRg;
typedef struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA;
typedef struct tyObject_AssertionDefect__PtYxPmY5X0dorfvxAFbJpQ tyObject_AssertionDefect__PtYxPmY5X0dorfvxAFbJpQ;
typedef struct tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
typedef struct tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA;
typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
typedef struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw;
typedef struct tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw;
typedef struct tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag;
typedef struct tyObject_EOFError__KGSY1JdrNB7Xi8KDhXFhSg tyObject_EOFError__KGSY1JdrNB7Xi8KDhXFhSg;
typedef struct tyObject_RangeDefect__Rp9adJYTsbbIUzQ8fWxwgdA tyObject_RangeDefect__Rp9adJYTsbbIUzQ8fWxwgdA;
typedef struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ;
typedef struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw;
typedef struct tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
typedef struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q;
typedef struct tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w;
typedef struct tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA;
typedef struct tySequence__DL2Id9b2SwHghZpjvWsUcAw tySequence__DL2Id9b2SwHghZpjvWsUcAw;
typedef struct tyTuple__CHGVxU5ophQHfZDcth7p1w tyTuple__CHGVxU5ophQHfZDcth7p1w;
typedef struct tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg;
typedef struct tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ;
typedef struct tySequence__9brg1xNurxcus33lU4IE1Dw tySequence__9brg1xNurxcus33lU4IE1Dw;
typedef struct tySequence__76wc9cnTOK9c6epudv8uYE0w tySequence__76wc9cnTOK9c6epudv8uYE0w;
typedef struct tyObject_DepNcolonObjectType___eVONEEaK4II8kv8La51d2Q tyObject_DepNcolonObjectType___eVONEEaK4II8kv8La51d2Q;
typedef struct tySequence__d4l6E4jBnTQ3BEfsLOpmEQ tySequence__d4l6E4jBnTQ3BEfsLOpmEQ;
typedef struct tyTuple__DJxbl4DYEJfb29cy1MYaUPQ tyTuple__DJxbl4DYEJfb29cy1MYaUPQ;
typedef struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
typedef struct tyObject_DivByZeroDefect__n3A4gjRrFZBuNnTYx1h9a8w tyObject_DivByZeroDefect__n3A4gjRrFZBuNnTYx1h9a8w;
typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g tySequence__qwqHTkRvwhrRyENtudHQ7g;
typedef struct tyObject_TFullReg__GJRDbRqzZnSsmt2gZMzKBA tyObject_TFullReg__GJRDbRqzZnSsmt2gZMzKBA;
typedef struct tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA;
typedef struct tySequence__Ef05srmQTDulnBdXR4Ja6Q tySequence__Ef05srmQTDulnBdXR4Ja6Q;
typedef struct tySequence__shxop0zPIs5Ec3k71aCLuQ tySequence__shxop0zPIs5Ec3k71aCLuQ;
typedef struct tySequence__KjgUMUjT3LUKOFIK4xt5ug tySequence__KjgUMUjT3LUKOFIK4xt5ug;
typedef struct tyTuple__FxkU4d1VDodDMc9ah6Mbagw tyTuple__FxkU4d1VDodDMc9ah6Mbagw;
typedef struct tySequence__DfgJFJEYoj4YBAHLZPl5lQ tySequence__DfgJFJEYoj4YBAHLZPl5lQ;
typedef struct tySequence__PrBYolTs4TOSgE8v5oqDUQ tySequence__PrBYolTs4TOSgE8v5oqDUQ;
typedef struct tyObject_ProcessObj__2rGNQnv9bU4hanI2g3svReg tyObject_ProcessObj__2rGNQnv9bU4hanI2g3svReg;
typedef struct tySequence__9c1n3IOF5T6xvPNf6ipRnuQ tySequence__9c1n3IOF5T6xvPNf6ipRnuQ;
typedef struct tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA;
typedef struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ tySequence__oLpBKXzW3hF9aCVMo5EymfQ;
typedef struct tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q;
typedef struct tyObject_IndexEntry__G9ccBDFWfr9aYnLgXTNGDHDg tyObject_IndexEntry__G9ccBDFWfr9aYnLgXTNGDHDg;

/* section: NIM_merge_TYPES */
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__9axCnCRMUx32AHzFgBrzSMg) (Exception* e);
typedef N_NIMCALL_PTR(void, tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ) (void);
typedef N_NIMCALL_PTR(void, tyProc__NFmM6mqUOVW3cJg4yvk8Fw) (Exception* e);
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;
NI align;
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
};
struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {
void* bottom;
};
struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {
NI len;
NI cap;
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SPr7N6UKfuF549bNPiUvSRw[256];
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__SPr7N6UKfuF549bNPiUvSRw 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;
};
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;
};
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;
NI gcThreadId;
};
typedef tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* tyUncheckedArray__qYl1ErvQvkPpq9bTvm2UvTg[1];
struct tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w {
NI prevSize;
NI size;
};
struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ {
  tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w Sup;
tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* next;
tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* prev;
tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ* freeList;
NI free;
NI acc;
NIM_ALIGN(16) NU8 data[SEQ_DECL_SIZE];
};
typedef NI8 tyArray__mkmEeKAWtk2yS9bBb1lUWXA[256];
struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg {
  tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w Sup;
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* next;
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* prev;
NIM_ALIGN(16) NU8 data[SEQ_DECL_SIZE];
};
struct tyObject_NSwitchBlock__B9aTrG3ZApNTF4lzdqtKa3A {
NI realSize;
void* heap;
void* heapMirror;
};
struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw {
NI size;
NI acc;
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* next;
};
typedef NU tyArray__VqSA39cBDWnwnJySTumCdjw[8];
struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw {
tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* next;
NI key;
tyArray__VqSA39cBDWnwnJySTumCdjw bits;
};
struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ {
NI Field0;
NI Field1;
};
struct tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ {
tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ* next;
NI zeroField;
};
typedef tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* tyUncheckedArray__xm0FYDlyTP1z2D1LZJL9bqQ[1];
typedef NI tyArray__OQPb4glXtXQGOV29cAX1uQg[4];
struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg {
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* next;
NU key;
tyArray__OQPb4glXtXQGOV29cAX1uQg bits;
};
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef N_NIMCALL_PTR(void, tyProc__W6IXMh2CA4X1rFYGjUb4yg) (NimStringDesc* msg);
struct RootObj {
TNimType* m_type;
};
struct Exception {
  RootObj Sup;
Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {
NCSTRING procname;
NI line;
NCSTRING filename;
};
typedef NU8 tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ;
struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {
NI refcount;
TNimType* typ;
};
typedef NU8 tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct TSafePoint {
TSafePoint* prev;
NI status;
jmp_buf context;
};
typedef N_NIMCALL_PTR(void, Finalizer) (void* self);
struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA {
  Exception Sup;
};
struct tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g {
  tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;
};
struct tyObject_ArithmeticDefect__cT9c9bHlHSpA1QTnKbHjnIkA {
  tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;
};
struct tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ {
  tyObject_ArithmeticDefect__cT9c9bHlHSpA1QTnKbHjnIkA Sup;
};
typedef NIM_CHAR tyArray__gpc2RrLEcWgv7ONpLYNHOw[2001];
typedef N_NOCONV_PTR(void, tyProc__ZEo3s9cIqJYP74f7GMZM2FA) (int a);
typedef tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ tyArray__9aTRall1siQT9bXabu2aKXUg[3500];
struct tyObject_AssertionDefect__PtYxPmY5X0dorfvxAFbJpQ {
  tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;
};
struct tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g {
  tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;
};
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA {
  Exception Sup;
};
struct tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA {
  tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;
NI32 errorCode;
};
struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {
NI a;
NI b;
};
struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw {
  tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;
};
struct tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw {
  tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;
};
struct tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag {
  tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw Sup;
};
struct tyObject_EOFError__KGSY1JdrNB7Xi8KDhXFhSg {
  tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw Sup;
};
typedef NU8 tyArray__YtcvxHNKV4YiecPE9ap1mcA[20];
typedef NF tyArray__yp9a149boki9cCCWgfXI0Ip4A[23];
typedef NIM_CHAR tyArray__PGLh8drTnaWr3s1qUUSq2Q[500];
struct tyObject_RangeDefect__Rp9adJYTsbbIUzQ8fWxwgdA {
  tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;
};
typedef NIM_CHAR tyArray__eVNFTutn6un5gcq48fQLdg[65];
struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q {
NU16 line;
NI16 col;
NI32 fileIndex;
};
typedef NU32 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
typedef NU8 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw;
struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw {
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg flags;
tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind;
union{
struct {NI64 intVal;
} _kind_1;
struct {NF floatVal;
} _kind_2;
struct {NimStringDesc* strVal;
} _kind_3;
struct {tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym;
} _kind_4;
struct {tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* ident;
} _kind_5;
struct {tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
} _kind_6;
};
NimStringDesc* comment;
};
typedef NI tyArray__emiAJ8okywrJw7ZHLzlXbQ[34];
struct tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg {
NI elems;
NI counter;
NI max;
tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ* head;
tySequence__9brg1xNurxcus33lU4IE1Dw* data;
tyArray__emiAJ8okywrJw7ZHLzlXbQ a;
};
struct tyTuple__CHGVxU5ophQHfZDcth7p1w {
tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg Field0;
tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg Field1;
};
struct tyTuple__DJxbl4DYEJfb29cy1MYaUPQ {
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* Field0;
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q Field1;
};
typedef NCSTRING tyUncheckedArray__nvS6J9clHMUMHfoZd8Ad2zg[1];
struct tyObject_DivByZeroDefect__n3A4gjRrFZBuNnTYx1h9a8w {
  tyObject_ArithmeticDefect__cT9c9bHlHSpA1QTnKbHjnIkA Sup;
};
typedef NU8 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag;
typedef NU8 tyEnum_TRegisterKind__BUH8cfx9botv2xAfmC8mnAQ;
struct tyObject_TFullReg__GJRDbRqzZnSsmt2gZMzKBA {
tyEnum_TRegisterKind__BUH8cfx9botv2xAfmC8mnAQ kind;
union{
NI64 intVal;
NF floatVal;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* node;
tyObject_TFullReg__GJRDbRqzZnSsmt2gZMzKBA* regAddr;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** nodeAddr;
};
};
struct tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA {
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym;
tySequence__Ef05srmQTDulnBdXR4Ja6Q* concreteTypes;
NI compilesId;
};
struct tyTuple__FxkU4d1VDodDMc9ah6Mbagw {
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* Field0;
NIM_BOOL Field1;
NI Field2;
};
typedef NU16 tySet_tyEnum_FilePermission__uTVeDpjCH6aWw9c74YkAskA;
typedef NU8 tyEnum_FilePermission__uTVeDpjCH6aWw9c74YkAskA;
typedef NU8 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
typedef NU8 tyEnum_TJSTypeKind__9aFSCXgaSEq2m81RJRMKDeA;
struct tyObject_IndexEntry__G9ccBDFWfr9aYnLgXTNGDHDg {
NimStringDesc* keyword;
NimStringDesc* link;
NimStringDesc* linkTitle;
NimStringDesc* linkDesc;
};

/* section: NIM_merge_SEQ_TYPES */
struct tySequence__uB9b75OUPRENsBAu4AnoePA {
  TGenericSeq Sup;
  tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];
};
struct tySequence__WwUFq9cJ2xKRlsAWVEHyPRg {
  TGenericSeq Sup;
  tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* data[SEQ_DECL_SIZE];
};
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ {
  TGenericSeq Sup;
  tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
};
struct tySequence__DL2Id9b2SwHghZpjvWsUcAw {
  TGenericSeq Sup;
  tyTuple__CHGVxU5ophQHfZDcth7p1w data[SEQ_DECL_SIZE];
};
struct tySequence__76wc9cnTOK9c6epudv8uYE0w {
  TGenericSeq Sup;
  tyObject_DepNcolonObjectType___eVONEEaK4II8kv8La51d2Q* data[SEQ_DECL_SIZE];
};
struct tySequence__d4l6E4jBnTQ3BEfsLOpmEQ {
  TGenericSeq Sup;
  tyTuple__DJxbl4DYEJfb29cy1MYaUPQ data[SEQ_DECL_SIZE];
};
struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ {
  TGenericSeq Sup;
  NU8 data[SEQ_DECL_SIZE];
};
struct tySequence__qwqHTkRvwhrRyENtudHQ7g {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
struct tySequence__Ef05srmQTDulnBdXR4Ja6Q {
  TGenericSeq Sup;
  tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* data[SEQ_DECL_SIZE];
};
struct tySequence__shxop0zPIs5Ec3k71aCLuQ {
  TGenericSeq Sup;
  NIM_BOOL data[SEQ_DECL_SIZE];
};
struct tySequence__KjgUMUjT3LUKOFIK4xt5ug {
  TGenericSeq Sup;
  tyTuple__FxkU4d1VDodDMc9ah6Mbagw data[SEQ_DECL_SIZE];
};
struct tySequence__DfgJFJEYoj4YBAHLZPl5lQ {
  TGenericSeq Sup;
  tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* data[SEQ_DECL_SIZE];
};
struct tySequence__PrBYolTs4TOSgE8v5oqDUQ {
  TGenericSeq Sup;
  tyObject_ProcessObj__2rGNQnv9bU4hanI2g3svReg* data[SEQ_DECL_SIZE];
};
struct tySequence__9c1n3IOF5T6xvPNf6ipRnuQ {
  TGenericSeq Sup;
  tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* data[SEQ_DECL_SIZE];
};
struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ {
  TGenericSeq Sup;
  tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* data[SEQ_DECL_SIZE];
};
struct tySequence__9brg1xNurxcus33lU4IE1Dw {
  TGenericSeq Sup;
  tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ* data[SEQ_DECL_SIZE];
};

/* section: NIM_merge_PROC_HEADERS */
static N_INLINE(void, initStackBottom)(void);
N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom);
N_LIB_PRIVATE N_NIMCALL(void, setPosition__Zp3k9bHhfG9aKFJWRJNwKuKw)(tyObject_GcStack__7fytPA5bBsob6See21YMRA* stack, void* position);
N_LIB_PRIVATE N_NIMCALL(void, initGC__amVlU9ajqZ06ujoesRBHcDg)(void);
N_LIB_PRIVATE N_NIMCALL(void, init__wKM37ZoL6WtPOU9bn6Ug18A)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, NI cap);
N_LIB_PRIVATE N_NOCONV(void*, alloc0Impl__KzdpcuLT9aef9bsiSHlIu9aFg)(NI size);
N_LIB_PRIVATE N_NIMCALL(void*, alloc0__UxtcZ3QOXKsB7mMchxUf9cg)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* allocator, NI size);
N_LIB_PRIVATE N_NIMCALL(void*, alloc__UxtcZ3QOXKsB7mMchxUf9cg_2)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* allocator, NI size);
N_LIB_PRIVATE N_NIMCALL(void*, rawAlloc__mE4QEVyMvGRVliDWDngZCQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI requestedSize);
static N_INLINE(NI, roundup__ix09bNPnFKmnm9c9bTyF5mHpAsystem)(NI x, NI v);
N_LIB_PRIVATE N_NIMCALL(tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*, getSmallChunk__0ixBBlKB5QN59bxrmztRmCw)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a);
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*, getBigChunk__stlXHMKRKFIGOvq8t4ynRQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI size);
static N_INLINE(void, mappingSearch__x0o9aLs0rybi5SymOs9ciTLQsystem)(NI* r, NI* fl, NI* sl);
static N_INLINE(NI, msbit__NR8XkKls428clCUr82szCgsystem)(NU32 x);
static N_INLINE(tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*, findSuitableBlock__asVN3MOMG2rBAqS7SmK0xQsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI* fl, NI* sl);
static N_INLINE(NI, lsbit__NR8XkKls428clCUr82szCg_2system)(NU32 x);
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*, requestOsChunks__stlXHMKRKFIGOvq8t4ynRQ_2)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI size);
static N_INLINE(void*, osAllocPages__HMOhWrY1QMa49a2BcJwSDZQsystem)(NI size);
static N_INLINE(NI, alignSize__AX9b3YPKDS9bGpwBolbNkTVgsystem)(NI size);
N_LIB_PRIVATE N_NOINLINE(void, raiseOutOfMem__mMRdr4sgmnykA9aWeM9aDZlw)(void);
static N_INLINE(void, rawWrite)(FILE* f, NCSTRING s);
static N_INLINE(NI, nimCStrLen)(NCSTRING a);
N_LIB_PRIVATE N_NIMCALL(void, deallocate__cCpQq9acYKGygEEy0GZFtug)(void* heapMirror, void* heap, NI size);
static N_INLINE(void*, getOriginalHeapPosition__XoWjPjBmArdfAbMRm79aRqQsystem)(void* address, NI difference);
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
static N_INLINE(void, storeHeapData__xfpBNB8ge4x0MUl0Zbc2VAsystem)(void* address, void* heapMirror, void* heap, NI size);
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
N_LIB_PRIVATE N_NIMCALL(void*, osTryAllocPages__L5ere5Rie0vcF2avOZxr0A)(NI size);
static N_INLINE(void, incCurrMem__JPUl8p4328ZL9bXnEtbaZcAsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI bytes);
N_LIB_PRIVATE N_NIMCALL(void, addHeapLink__LIRFHBfc9aX3C5dmMmLnpwA)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* p, NI size);
N_LIB_PRIVATE N_NIMCALL(void*, llAlloc__ovw3NMWXeZ0Qi9cGYq1E2Tg)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI size);
static N_INLINE(void, zeroMem__FsvhfMqbswETmyMWtamDewsystem)(void* p, NI size);
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(NIM_BOOL, contains__9b5xR7VBZVwQDvk5Nr9bDKdQ)(tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA* s, NI key);
N_LIB_PRIVATE N_NIMCALL(tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*, intSetGet__O3FRrWKKUdi8uRTGxiPdIg)(tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA* t, NI key);
static N_INLINE(NI, pageIndex__D8ZW0myZd7Fa6ncDvW9a9cMQsystem)(tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* c);
N_LIB_PRIVATE N_NIMCALL(void, splitChunk__BqFVAuadgXfvAiq8B9cBjqQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c, NI size);
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*, splitChunk2__gSNzk4aToVCSTE1opfEv2A)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c, NI size);
static N_INLINE(void, updatePrevSize__9b5Bu9akw7RalDC4isB4QVbgsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c, NI prevSize);
static N_INLINE(NIM_BOOL, isAccessible__EZspgz843pJ9adnD0ZpJO6wsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, void* p);
static N_INLINE(NI, pageIndex__cMO7rAWQ0KzYXPVgB0ZR3gsystem)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, incl__tSnfTXv7GxXoDyFDm9bvzqg)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA* s, NI key);
N_LIB_PRIVATE N_NIMCALL(tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*, intSetPut__Cw86Sj6YgVACdT20AkWjcA)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA* t, NI key);
N_LIB_PRIVATE N_NIMCALL(void, addChunkToMatrix__YSJZJgeU5UU2aa8GNvs3WA)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* b);
static N_INLINE(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ, mappingInsert__SRLfEtcWb2dn0ht85HEwbQsystem)(NI r);
static N_INLINE(void, setBit__I4TSeZGFKfrVTL1oqiweCgsystem)(NI nr, NU32* dest);
N_LIB_PRIVATE N_NIMCALL(void, removeChunkFromMatrix2__XFftAAJrARamxGOKUFQy9aw)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* b, NI fl, NI sl);
static N_INLINE(void, clearBit__I4TSeZGFKfrVTL1oqiweCg_2system)(NI nr, NU32* dest);
static N_INLINE(void, listAdd__G9cCXZ1ju0DgzqrqBg9acaKQsystem)(tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ** head, tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* c);
static N_INLINE(void, listRemove__G9cCXZ1ju0DgzqrqBg9acaKQ_2system)(tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ** head, tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* c);
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*, getHugeChunk__stlXHMKRKFIGOvq8t4ynRQ_3)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI size);
N_LIB_PRIVATE N_NIMCALL(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*, getBottom__3mqnVBLDtYhZizqw9bvHELA)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a);
N_LIB_PRIVATE N_NIMCALL(void, add__3D9aOyz4rDquPZKBlqn0xig)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw** t, NI key, NI upperBound);
N_LIB_PRIVATE N_NIMCALL(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*, allocAvlNode__Du8pyfSfDLyN9aoS2IcBsHg)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI key, NI upperBound);
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
N_LIB_PRIVATE N_NIMCALL(void, skew__NJo8pxZdXEAIa7wkHls9cOw)(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw** t);
N_LIB_PRIVATE N_NIMCALL(void, split__NJo8pxZdXEAIa7wkHls9cOw_2)(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw** t);
N_LIB_PRIVATE N_NIMCALL(void, init__Y9c9cQhDWRSgYkHfKWcqFlsQ)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s);
static N_INLINE(NI, atomicInc__v6qORsZ9azlHHhOL1JYACRAsystem)(NI* memLoc, NI x);
static N_NIMCALL(void, Marker_tySequence__uB9b75OUPRENsBAu4AnoePA)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_LIB_PRIVATE N_NIMCALL(void, doOperation__sl6eqhLncFedgwzv6TlMVw)(void* p, tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ op);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
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(void, add__W9aRfhn7HvnQTPAb8ajo1uwsystem)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOCONV(void*, allocImpl__KzdpcuLT9aef9bsiSHlIu9aFg_2)(NI size);
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_NOCONV(void, dealloc)(void* p);
N_LIB_PRIVATE N_NOCONV(void, deallocImpl__SAtZpVrJ3o5FJvSdLQe9auA)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, dealloc__Jg1OaY9ahkT3MBopLAXRSGw)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* allocator, void* p);
N_LIB_PRIVATE N_NIMCALL(void, rawDealloc__K7uQ6aTKvW6OnOV8EMoNNQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, void* p);
static N_INLINE(tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*, pageAddr__JNTkgd9cRu9a9bEvn7wS0U8EAsystem)(void* p);
static N_INLINE(NIM_BOOL, isSmallChunk__2Ih49c9ai3KYJhUe3C8xg07wsystem)(tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* c);
N_LIB_PRIVATE N_NIMCALL(void, freeBigChunk__IPvsryqksLyNxxag3IQr2g)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c);
static N_INLINE(NIM_BOOL, chunkUnused__2Ih49c9ai3KYJhUe3C8xg07w_2system)(tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* c);
N_LIB_PRIVATE N_NIMCALL(void, removeChunkFromMatrix__YSJZJgeU5UU2aa8GNvs3WA_2)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* b);
N_LIB_PRIVATE N_NIMCALL(void, excl__9cAWqpgI1NbhhZ3cVPHhI5A)(tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA* s, NI key);
N_LIB_PRIVATE N_NIMCALL(void, del__Io5JDKCS5u26IEWw0J53hQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw** t, NI x);
static N_INLINE(void, deallocAvlNode__pgghNmDMWP23LqxNq9atk7gsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* n);
N_LIB_PRIVATE N_NIMCALL(void, freeHugeChunk__IPvsryqksLyNxxag3IQr2g_2)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c);
static N_INLINE(void, decCurrMem__JPUl8p4328ZL9bXnEtbaZcA_2system)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI bytes);
N_LIB_PRIVATE N_NIMCALL(void, osDeallocPages__zINr2Agc4d9cAk9aUvp6bG7w)(void* p, NI size);
N_LIB_PRIVATE N_NIMCALL(void, freeMem__exTX6tpBCa9cy9brTz9cYZsNA)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, markS__SOJE9bROCOc8iabVsKM64Sg)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(void, incl__azHo9bY5qs9b2EZ9cSse4fmZA)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell);
N_LIB_PRIVATE N_NIMCALL(tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*, cellSetPut__6bBl0A4vUXoRvva9bRmnwSQ)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* t, NU key);
static N_INLINE(NI, nextTry__46i6pOTgUeAywXs7rPqurwsystem)(NI h, NI maxHash);
N_LIB_PRIVATE N_NIMCALL(void, cellSetEnlarge__9bhPFIGFYIneoHljx8OXvqA)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* t);
N_LIB_PRIVATE N_NIMCALL(void, cellSetRawInsert__a1sVKTgcDTTmcnBQqk9bNdA)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* t, tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data, tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* desc);
N_LIB_PRIVATE N_NIMCALL(void, forAllChildren__XCvXrotwhq0gugZtuZTNPQ)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell, tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ op);
static N_INLINE(void*, cellToUsr__oh8PwD5vOIN9awo20FR9c8qAsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell);
N_LIB_PRIVATE N_NIMCALL(void, forAllChildrenAux__3hKpU9c72lqUqbltnsyFjRw)(void* dest, TNimType* mt, tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ op);
N_LIB_PRIVATE N_NIMCALL(void, forAllSlotsAux__ld9axHPi9bpxevVrdgKiDF5Q)(void* dest, TNimNode* n, tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ op);
N_LIB_PRIVATE N_NIMCALL(TNimNode*, selectBranch__2us2RQByTh81i9aW4EEgfmw)(void* aa, TNimNode* n);
N_LIB_PRIVATE N_NIMCALL(NU, getDiscriminant__7LnhHf25BuMRNdnPtDbjcw)(void* aa, TNimNode* n);
static N_INLINE(NI, starpercent___dgYAo7RfdUVVpvkfKDym8w_3system)(NI x, NI y);
N_LIB_PRIVATE N_NIMCALL(NI, align__vzThvqZajaR9ct9cQ7SOy1tQ)(NI address, NI alignment);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl__qhy8GaXaPs9bLqr6V8CV9cFg)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell);
N_LIB_PRIVATE N_NIMCALL(tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*, cellSetGet__ld9aj9akVqWcvwRCEMEk1MnQ)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* t, NU key);
static N_NIMCALL(void, Marker_tyRef__vU9aO9cTqOMn6CBzhV8rX7Sw)(void* p, NI op);
static N_NIMCALL(void, TM__Q5wkpxktOdTGvlSRo9bzt9aw_4)(void);
N_LIB_PRIVATE N_NIMCALL(void, nimRegisterThreadLocalMarker)(tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ markerProc);
N_LIB_PRIVATE N_NOCONV(void, signalHandler)(int sign);
N_LIB_PRIVATE N_NIMCALL(void, showErrorMessage__zsORN9crdKxsL9cHrQcdHSMw)(NCSTRING data);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, cstrToNimstr)(NCSTRING str);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toNimStr)(NCSTRING str, NI len);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewStringNoInit)(NI space);
N_LIB_PRIVATE N_NIMCALL(void*, newObjNoInit)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(void*, rawNewObj__ehkAaLROrd0Hc9aLROWt1nQ)(TNimType* typ, NI size, tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NIMCALL(void, collectCT__XHio9cMpnLoH7GyCj1Z9besg)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch);
static N_INLINE(NI, getOccupiedMem__o7kGt4Ciqh9aCBinZc9bV9cugsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a);
N_LIB_PRIVATE N_NIMCALL(void, collectCTBody__XHio9cMpnLoH7GyCj1Z9besg_2)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NOINLINE(NI, stackSize__0yw8cp0rOgL8i0O5kzzb0g)(void);
N_LIB_PRIVATE N_NOINLINE(NI, stackSize__VOU3z9bbtHMYBiCVB5tMX1g)(tyObject_GcStack__7fytPA5bBsob6See21YMRA* stack);
static N_INLINE(void, prepareForInteriorPointerChecking__ot9aebHKDFT2OPbEVY47F9bQsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a);
N_LIB_PRIVATE N_NIMCALL(NI, lowGauge__vu9a10GqvNeXA9alSqdG48cw)(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* n);
N_LIB_PRIVATE N_NIMCALL(NI, highGauge__vu9a10GqvNeXA9alSqdG48cw_2)(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* n);
CLANG_NO_SANITIZE_ADDRESS N_LIB_PRIVATE void markStackAndRegisters__U6T7JWtDLrWhtmhXSoy9a6g(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NIMCALL(void, setPosition__Fnam3HOmbq2ymF0tDBas5Q)(tyObject_GcStack__7fytPA5bBsob6See21YMRA* stack, void* position);
N_LIB_PRIVATE N_NIMCALL(tyObject_GcStack__7fytPA5bBsob6See21YMRA*, getActiveStack__muO7WGG730PTJWpoUnluHg)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch);
static N_INLINE(void, gcMark__x5SbLN3uVBCsEa67N20nPwsystem)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch, void* p);
N_LIB_PRIVATE N_NIMCALL(void*, interiorAllocatedPtr__NuzKjA4SX9afyji9cHHIuKpQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, void* p);
static N_INLINE(NI, percentpercent___dgYAo7RfdUVVpvkfKDym8w_4system)(NI x, NI y);
static N_INLINE(NIM_BOOL, lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system)(NI x, NI y);
N_LIB_PRIVATE N_NIMCALL(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*, inRange__BIq3l3oBvrBeYSWFT5iXiw)(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root, NI key);
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, collectZCT__EN6T32AMm3va9bsrdxtF0cg)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NIMCALL(void, prepareDealloc__fvhnFro5wEfzy879alizcUQ)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell);
N_LIB_PRIVATE N_NIMCALL(void, collectCycles__XHio9cMpnLoH7GyCj1Z9besg_3)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NIMCALL(void, cellsetReset__Y9c9cQhDWRSgYkHfKWcqFlsQ_2)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s);
N_LIB_PRIVATE N_NIMCALL(void, deinit__Y9c9cQhDWRSgYkHfKWcqFlsQ_3)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s);
N_LIB_PRIVATE N_NIMCALL(void, markGlobals__XHio9cMpnLoH7GyCj1Z9besg_4)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NIMCALL(void, sweep__XHio9cMpnLoH7GyCj1Z9besg_5)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch);
static N_INLINE(NIM_BOOL, isCell__knKGR9cPCi0isv7h4omKxdAsystem)(void* p);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__ClLkUQKF8KrRxQPdAJDd5w)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell);
N_LIB_PRIVATE N_NIMCALL(void, freeCyclicCell__SOJE9bROCOc8iabVsKM64Sg_2)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(NI, getOccupiedMem__hrQB9bN29c1nR1E9cHqYcNcDA)(void);
N_LIB_PRIVATE N_NIMCALL(void, unmarkStackAndRegisters__XHio9cMpnLoH7GyCj1Z9besg_6)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch);
static N_INLINE(void, addNewObjToZCT__xkq8ZbJr9bIUKHN9cK4tT5NAsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* res, tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch);
static N_INLINE(void, popSafePoint)(void);
static N_INLINE(void, popCurrentException)(void);
static N_INLINE(void, asgnRef)(void** dest, void* src);
N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void);
static N_INLINE(void, sysFatal__27U3EueEEOKabXYRrgiy5Asystem)(NimStringDesc* message) __attribute__((noreturn));
static N_NIMCALL(void, Marker_tyRef__uG62cfJZ15c2siK3CKLmnQ)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(void*, newObjRC1)(TNimType* typ, NI size);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
static N_INLINE(NIM_BOOL, nimMulInt)(NI a, NI b, NI* res);
static N_INLINE(NF, toFloat__y1Fm9aHmxw9bS2jir137Fu5gsystem)(NI i);
static N_INLINE(NF, abs__BRaAqinz6OWTHkALb4oj6Qsystem)(NF x);
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
static N_INLINE(void, sysFatal__pO9abt7E7FWB3DInHeLgZeQsystem)(NimStringDesc* message) __attribute__((noreturn));
static N_NIMCALL(void, Marker_tyRef__r8GBEWywN07B3Rat3azS4Q)(void* p, NI op);
static N_INLINE(NIM_BOOL, nimAddInt)(NI a, NI b, NI* res);
static N_INLINE(NI, resize__cOCDWr16YD4j3dBrbbH3yQsystem)(NI old);
N_LIB_PRIVATE N_NIMCALL(void*, dataPointer__dMaT1dYJWy6HCDx9bdXp24A)(TGenericSeq* a, NI elemAlign);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionAux__na8C8pUZ9cLQWVwk35l5vfw)(Exception* e);
static N_INLINE(void, pushCurrentException)(Exception* e);
N_LIB_PRIVATE N_NIMCALL(void, reportUnhandledError__na8C8pUZ9cLQWVwk35l5vfw_2)(Exception* e);
N_LIB_PRIVATE N_NIMCALL(void, reportUnhandledErrorAux__na8C8pUZ9cLQWVwk35l5vfw_3)(Exception* e);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___liwwu6qv5HyRiFI58oBO0g)(tySequence__uB9b75OUPRENsBAu4AnoePA* stackTraceEntries);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_LIB_PRIVATE N_NIMCALL(void, add__8FwY5enLGB0dFerO6Ny9caw)(NimStringDesc** x, NCSTRING y);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_LIB_PRIVATE N_NOINLINE(NIM_BOOL, isOnStack__plOlFsQAAvcYd3nF5LfWzw)(void* p);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_LIB_PRIVATE N_NIMCALL(void, addInt__mftMOxbyu0h4yByfs3sqjA)(NimStringDesc** result, NI64 x);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newLen);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, mnewString)(NI len);
static N_INLINE(NCSTRING, nimToCStringConv)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dS1BF3Vxjg9aJMmmhVJKSpQ)(NimStringDesc** dest);
N_LIB_PRIVATE N_NIMCALL(void, writeToStdErr__a2kDfqdSc1eYf0ZCWOGinQ)(NCSTRING msg);
N_LIB_PRIVATE N_NIMCALL(void, registerSignalHandler__amVlU9ajqZ06ujoesRBHcDg_2)(void);
N_LIB_PRIVATE N_NIMCALL(NI, getRefcount)(void* p);
static N_NIMCALL(void, Marker_tySequence__WwUFq9cJ2xKRlsAWVEHyPRg)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void*, dataPointer__8Wn9cfOy9assdXGuxu0oUaVA)(TGenericSeq* a, NI elemAlign, NI elemSize, NI index);
N_LIB_PRIVATE N_NIMCALL(TNimType*, extGetCellType)(void* c);
static N_NIMCALL(void, Marker_tyRef__S8DV6hfcgC9c0IiUsAoR29cQ)(void* p, NI op);
N_NIMCALL(NimStringDesc*, mnewString)(NI len);
N_LIB_PRIVATE N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
N_LIB_PRIVATE N_NIMCALL(void, genericAssignAux__U5DxFPRpHCCZDKWQzM9adaw)(void* dest, void* src, TNimType* mt, NIM_BOOL shallow);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(void*, nimNewSeqOfCap)(TNimType* typ, NI cap);
N_LIB_PRIVATE N_NIMCALL(void, genericAssignAux__69cRBG8C28ydeYlu49a9aOJCQ)(void* dest, void* src, TNimNode* n, NIM_BOOL shallow);
N_LIB_PRIVATE N_NIMCALL(void, genericResetAux__9bFXTAJ8caOL4Ioy2o3B3aw)(void* dest, TNimNode* n);
N_LIB_PRIVATE N_NIMCALL(void, genericReset)(void* dest, TNimType* mt);
static N_INLINE(void, chckObjAsgn)(TNimType* a, TNimType* b);
static N_INLINE(void, sysFatal__LGIwiR9aqSM70ldGCThzJ3gsystem)(NimStringDesc* message) __attribute__((noreturn));
static N_NIMCALL(void, Marker_tyRef__C0A9bPZSVeyr2BWpBf4Jxqw)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__9clYsYwyjCqe2PFTuCI3Ubg)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr__2yh9cer0ymNRHlOOg8P7IuA)(NimStringDesc* s, NI first, NI last);
static N_NIMCALL(void, Marker_tyRef__Ie1m0dv1ZHg72IgPRr1cDw)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__HMIVdYjdZYWskTmTQVo5BQ)(void* p, NI op);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
static N_INLINE(void, addEscapedChar__dfKNBK6s29c7zfWj2JwI7EQsystem)(NimStringDesc** s, NIM_CHAR c);
static N_NIMCALL(void, Marker_tyRef__8SzoIAgLw9ci2v0yafHj9b6Q)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__LEclZrWX2FQAodlapxGITw)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__0vJvi4uHbxjbxlkkX7P1EA)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, addFloat__R7rBahgTSmBayFrvvbK9bKQ)(NimStringDesc** result, NF x);
N_LIB_PRIVATE N_NIMCALL(NI, writeFloatToBuffer__UrA9aquvUwHFUFx78eUQk3A)(NIM_CHAR* buf, NF value);
N_LIB_PRIVATE N_NIMCALL(void, addCstringN__DuMbk0Tea09bkpFWJtZlU6A)(NimStringDesc** result, NCSTRING buf, NI buflen);
N_LIB_PRIVATE N_NIMCALL(void, objectInitAux__9bFXTAJ8caOL4Ioy2o3B3aw_2)(void* dest, TNimNode* n);
N_LIB_PRIVATE N_NIMCALL(void, objectInit)(void* dest, TNimType* typ);
static N_NIMCALL(void, Marker_tySequence__DL2Id9b2SwHghZpjvWsUcAw)(void* p, NI op);
static N_NIMCALL(void, Marker_tySequence__76wc9cnTOK9c6epudv8uYE0w)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__9ai78kkwqt3gikTN9cpHKUVg)(void* p, NI op);
static N_NIMCALL(void, Marker_tySequence__6H5Oh5UUvVCLiakt9aTwtUQ)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);
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(NI, cmpStrings)(NimStringDesc* a, NimStringDesc* b);
static N_NIMCALL(void, Marker_tySequence__PrBYolTs4TOSgE8v5oqDUQ)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___rwI9b63GTi28OPn2o8TnuVg)(tySet_tyEnum_FilePermission__uTVeDpjCH6aWw9c74YkAskA x);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___CnzWTAK1KY9b8GSEsCs57dA)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, lt___CnzWTAK1KY9b8GSEsCs57dA_2)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y);
N_LIB_PRIVATE N_NIMCALL(NI, cmp__sulHEHLaDujOhOm0ckj5uA)(NI x, NI y);
static N_INLINE(void*, seqToPtr__gd0QkJZEsaxOKR9b9a75gd8wsystem)(tySequence__oLpBKXzW3hF9aCVMo5EymfQ* x);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___ufBNJwWgb20cY5Bv3NMT7A)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* a, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* b);
N_LIB_PRIVATE N_NIMCALL(NI, getMaxMem__wXmqysjdbsoVIQfBCJ7sGg)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a);
N_LIB_PRIVATE N_NIMCALL(NI, getTotalMem__hrQB9bN29c1nR1E9cHqYcNcDA_3)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimInt64ToStr)(NI64 x);
static N_INLINE(void, initStackBottomWith)(void* locals);

/* section: NIM_merge_DATA */
N_LIB_PRIVATE NIM_CONST tyArray__mkmEeKAWtk2yS9bBb1lUWXA fsLookupTable__Gn52IZvqY4slyBTOYwGNRQ = {((NI8) -1),
((NI8) 0),
((NI8) 1),
((NI8) 1),
((NI8) 2),
((NI8) 2),
((NI8) 2),
((NI8) 2),
((NI8) 3),
((NI8) 3),
((NI8) 3),
((NI8) 3),
((NI8) 3),
((NI8) 3),
((NI8) 3),
((NI8) 3),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 4),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 5),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 6),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7),
((NI8) 7)}
;
N_LIB_PRIVATE TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
N_LIB_PRIVATE TNimType NTI__XEycrCsme5C8CVWAYEcdBQ_;
N_LIB_PRIVATE TNimType NTI__S9agCYBinaYZnGWcjTdxclg_;
N_LIB_PRIVATE TNimType NTI__77mFvmsOLKik79ci2hXkHEg_;
N_LIB_PRIVATE TNimType NTI__oLyohQ7O2XOvGnflOss8EA_;
N_LIB_PRIVATE TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_;
N_LIB_PRIVATE TNimType NTI__uB9b75OUPRENsBAu4AnoePA_;
N_LIB_PRIVATE TNimType NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_;
N_LIB_PRIVATE TNimType NTI__LbeSGvgPzGzXnW9caIkJqMA_;
N_LIB_PRIVATE TNimType NTI__E0L0wGYS1gPD81VLstNO2g_;
N_LIB_PRIVATE TNimType NTI__uG62cfJZ15c2siK3CKLmnQ_;
N_LIB_PRIVATE TNimType NTI__cT9c9bHlHSpA1QTnKbHjnIkA_;
N_LIB_PRIVATE TNimType NTI__9cxMi1BPLc3UKt9br86bGfGQ_;
N_LIB_PRIVATE TNimType NTI__r8GBEWywN07B3Rat3azS4Q_;
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_7, "over- or underflow", 18);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_9, "[[reraised from:\012", 17);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_10, "]]\012", 3);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_11, "(", 1);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_12, ", ", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_13, "0", 1);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_14, ")", 1);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_15, "\012", 1);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_16, "no exception to reraise", 23);
N_LIB_PRIVATE TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_17, " (invalid data!)", 16);
extern TNimType NTI__4hi0XQqK9aLiPuWT9acsXm9aQ_;
N_LIB_PRIVATE TNimType NTI__WwUFq9cJ2xKRlsAWVEHyPRg_;
N_LIB_PRIVATE TNimType NTI__PtYxPmY5X0dorfvxAFbJpQ_;
N_LIB_PRIVATE TNimType NTI__S8DV6hfcgC9c0IiUsAoR29cQ_;
N_LIB_PRIVATE TNimType NTI__M4na42GvebBMnI5wV9cYMxg_;
N_LIB_PRIVATE TNimType NTI__kDPg4wXyR8DDyA0MeEjIsw_;
N_LIB_PRIVATE TNimType NTI__sVg18TP9cLifHyygRe9cro9aA_;
N_LIB_PRIVATE TNimType NTI__chXunH2dwinSkhpA6JnsXw_;
N_LIB_PRIVATE TNimType NTI__w9bl9a1ul9ctRJWiMl9cNnIMvg_;
N_LIB_PRIVATE TNimType NTI__nmiMWKVIe46vacnhAFrQvw_;
N_LIB_PRIVATE TNimType NTI__6toVe0IizlEwN9bORXEdX3g_;
N_LIB_PRIVATE TNimType NTI__C0A9bPZSVeyr2BWpBf4Jxqw_;
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_22, "invalid object assignment", 25);
extern TNimType NTI__sM4lkSb7zS6F7OVMvW9cffQ_;
N_LIB_PRIVATE TNimType NTI__qrLSDoe2oBoAqNtJ9badtnA_;
N_LIB_PRIVATE TNimType NTI__BeJgrOdDsczOwEWOZbRfKA_;
N_LIB_PRIVATE TNimType NTI__9clYsYwyjCqe2PFTuCI3Ubg_;
N_LIB_PRIVATE TNimType NTI__yoNlBGx0D2tRizIdhQuENw_;
N_LIB_PRIVATE TNimType NTI__Ie1m0dv1ZHg72IgPRr1cDw_;
N_LIB_PRIVATE TNimType NTI__iLZrPn9anoh9ad1MmO0RczFw_;
N_LIB_PRIVATE TNimType NTI__HMIVdYjdZYWskTmTQVo5BQ_;
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_23, "\"", 1);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_24, "\\a", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_25, "\\b", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_26, "\\t", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_27, "\\n", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_28, "\\v", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_29, "\\f", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_30, "\\c", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_31, "\\e", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_32, "\\\\", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_33, "\\\'", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_34, "\\\"", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_35, "\\x", 2);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_36, "0123456789ABCDEF", 16);
N_LIB_PRIVATE TNimType NTI__t7nhKLvXTQS9cS8ByJU9bIag_;
N_LIB_PRIVATE TNimType NTI__8SzoIAgLw9ci2v0yafHj9b6Q_;
N_LIB_PRIVATE TNimType NTI__KGSY1JdrNB7Xi8KDhXFhSg_;
N_LIB_PRIVATE TNimType NTI__LEclZrWX2FQAodlapxGITw_;
N_LIB_PRIVATE TNimType NTI__Aav8dQoMlCFnZRxA0IhTHQ_;
N_LIB_PRIVATE TNimType NTI__0vJvi4uHbxjbxlkkX7P1EA_;
N_LIB_PRIVATE TNimType NTI__k3HXouOuhqAKq0dx450lXQ_;
N_LIB_PRIVATE NIM_CONST tyArray__yp9a149boki9cCCWgfXI0Ip4A powtens__l8b44pimyaWe7sztIOF1Tw = {1.0000000000000000e+00,
1.0000000000000000e+01,
1.0000000000000000e+02,
1.0000000000000000e+03,
1.0000000000000000e+04,
1.0000000000000000e+05,
1.0000000000000000e+06,
1.0000000000000000e+07,
1.0000000000000000e+08,
1.0000000000000000e+09,
1.0000000000000000e+10,
1.0000000000000000e+11,
1.0000000000000000e+12,
1.0000000000000000e+13,
1.0000000000000000e+14,
1.0000000000000000e+15,
1.0000000000000000e+16,
1.0000000000000000e+17,
1.0000000000000000e+18,
1.0000000000000000e+19,
1.0000000000000000e+20,
1.0000000000000000e+21,
1.0000000000000000e+22}
;
N_LIB_PRIVATE TNimType NTI__Rp9adJYTsbbIUzQ8fWxwgdA_;
extern TNimType NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_;
extern TNimType NTI__CHGVxU5ophQHfZDcth7p1w_;
N_LIB_PRIVATE TNimType NTI__DL2Id9b2SwHghZpjvWsUcAw_;
extern TNimType NTI__OiD2O9bS9cMtitswLivRUn5g_;
N_LIB_PRIVATE TNimType NTI__76wc9cnTOK9c6epudv8uYE0w_;
N_LIB_PRIVATE TNimType NTI__9ai78kkwqt3gikTN9cpHKUVg_;
N_LIB_PRIVATE TNimType NTI__Y36n7l9b7WX4rcaAYCe6LWw_;
N_LIB_PRIVATE TNimType NTI__13aFwjKaWlqhwUBjDHvkIw_;
N_LIB_PRIVATE TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_;
extern TNimType NTI__d4l6E4jBnTQ3BEfsLOpmEQ_;
N_LIB_PRIVATE TNimType NTI__nlCscttRCss70IBTyuBqnA_;
N_LIB_PRIVATE TNimType NTI__6H5Oh5UUvVCLiakt9aTwtUQ_;
N_LIB_PRIVATE TNimType NTI__PpavWgyrx5odXyR89aNlcWA_;
N_LIB_PRIVATE TNimType NTI__rUuqTvFmkC6KKRqDAazGEA_;
N_LIB_PRIVATE TNimType NTI__LBgXxpmYOpS8xroRZgNvbg_;
N_LIB_PRIVATE TNimType NTI__Gz6vwaK0PZQIDIwfuvKsOg_;
N_LIB_PRIVATE TNimType NTI__g9buja9c9aeh0rkDpqsXOJF9bA_;
N_LIB_PRIVATE TNimType NTI__n3A4gjRrFZBuNnTYx1h9a8w_;
extern TNimType NTI__qwqHTkRvwhrRyENtudHQ7g_;
extern TNimType NTI__G4E4Gxe7oI2Cm03rkiOzQw_;
extern TNimType NTI__9a3YiReNVD0IJHWFKgXRe9ag_;
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_37, "true", 4);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_38, "false", 5);
extern TNimType NTI__Y32tFilzS9adEEksgrCsOzQ_;
extern TNimType NTI__Ef05srmQTDulnBdXR4Ja6Q_;
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_39, "\'", 1);
N_LIB_PRIVATE TNimType NTI__hLlQjbV9bLNq5PFxYcqacsA_;
extern TNimType NTI__shxop0zPIs5Ec3k71aCLuQ_;
extern TNimType NTI__KjgUMUjT3LUKOFIK4xt5ug_;
extern TNimType NTI__lw7iqc9cC7bi1oOZOAlJkJA_;
N_LIB_PRIVATE TNimType NTI__PrBYolTs4TOSgE8v5oqDUQ_;
extern TNimType NTI__uTVeDpjCH6aWw9c74YkAskA_;
extern TNimType NTI__cNCW9acsSznmEccl1fgQwkw_;
extern TNimType NTI__9aFSCXgaSEq2m81RJRMKDeA_;
extern TNimType NTI__9c1n3IOF5T6xvPNf6ipRnuQ_;
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_40, "[GC] total memory: ", 19);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_41, "\012[GC] occupied memory: ", 23);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_42, "\012[GC] stack scans: ", 19);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_43, "\012[GC] stack cells: ", 19);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_44, "\012[GC] cycle collections: ", 25);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_45, "\012[GC] max threshold: ", 21);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_46, "\012[GC] zct capacity: ", 20);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_47, "\012[GC] max cycle table size: ", 28);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_48, "\012[GC] max pause time [ms]: ", 27);
STRING_LITERAL(TM__Q5wkpxktOdTGvlSRo9bzt9aw_49, "[GC] max stack size: ", 21);

/* section: NIM_merge_VARS */
N_LIB_PRIVATE NI nim_program_result;
N_LIB_PRIVATE tyProc__9axCnCRMUx32AHzFgBrzSMg globalRaiseHook__JbO1ti4ULxrw54m4zNPbpA;
N_LIB_PRIVATE tyProc__9axCnCRMUx32AHzFgBrzSMg localRaiseHook__EIvMhANBvB9cp2Ezvt29cADg;
N_LIB_PRIVATE tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ outOfMemHook__kZNaA7u1MfSW5ZeoGvw8xg;
N_LIB_PRIVATE tyProc__NFmM6mqUOVW3cJg4yvk8Fw unhandledExceptionHook__RJpSsXsRUH8ochbXTEhRIw;
N_LIB_PRIVATE TNimType strDesc__D0UzA4zsDu5tgpJQ9a9clXPg = {((NI) 8), 0, ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 28), 2, NIM_NIL, NIM_NIL, NIM_NIL, NIM_NIL, NIM_NIL}
;
N_LIB_PRIVATE tyProc__W6IXMh2CA4X1rFYGjUb4yg errorMessageWriter__ZXnv0JyrWe3HTd07wpSr7A;
N_LIB_PRIVATE TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw;
N_LIB_PRIVATE TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
N_LIB_PRIVATE Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
N_LIB_PRIVATE GcFrameHeader* gcFramePtr__ot48iojqko9aFxGhyjjjVaA;
N_LIB_PRIVATE tyProc__W6IXMh2CA4X1rFYGjUb4yg onUnhandledException__bFrawQlTKZhLweDD36j9b8g;
N_LIB_PRIVATE tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
N_LIB_PRIVATE NI globalMarkersLen;
N_LIB_PRIVATE tyArray__9aTRall1siQT9bXabu2aKXUg globalMarkers;
N_LIB_PRIVATE NI threadLocalMarkersLen;
N_LIB_PRIVATE tyArray__9aTRall1siQT9bXabu2aKXUg threadLocalMarkers;
N_LIB_PRIVATE NI gHeapidGenerator__hd54mEUTGcVuZLChYgtR9bg;

/* section: NIM_merge_PROCS */
N_LIB_PRIVATE N_NIMCALL(void, setPosition__Zp3k9bHhfG9aKFJWRJNwKuKw)(tyObject_GcStack__7fytPA5bBsob6See21YMRA* stack, void* position) {
}
N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom) {
	{
		if (!(gch__IcYaEuuWivYAS86vFMTS3Q.stack.bottom == NIM_NIL)) goto LA3_;
		gch__IcYaEuuWivYAS86vFMTS3Q.stack.bottom = theStackBottom;
	}
	goto LA1_;
	LA3_: ;
	{
		NI a;
		NI b;
		if (!!((theStackBottom == gch__IcYaEuuWivYAS86vFMTS3Q.stack.bottom))) goto LA6_;
		a = ((NI) (ptrdiff_t) (theStackBottom));
		b = ((NI) (ptrdiff_t) (gch__IcYaEuuWivYAS86vFMTS3Q.stack.bottom));
		gch__IcYaEuuWivYAS86vFMTS3Q.stack.bottom = ((void*) (((a >= b) ? a : b)));
	}
	goto LA1_;
	LA6_: ;
	LA1_: ;
	setPosition__Zp3k9bHhfG9aKFJWRJNwKuKw((&gch__IcYaEuuWivYAS86vFMTS3Q.stack), theStackBottom);
}
static N_INLINE(void, initStackBottom)(void) {
	void* volatile locals;
	locals = ((void*) ((&locals)));
	nimGC_setStackBottom(locals);
}
static N_INLINE(NI, roundup__ix09bNPnFKmnm9c9bTyF5mHpAsystem)(NI x, NI v) {
	NI result;
	result = (NI)0;
	result = (NI)((NI)(x + (NI)(v - ((NI) 1))) & (NI)((NU64) ~((NI)(v - ((NI) 1)))));
	return result;
}
static N_INLINE(NI, msbit__NR8XkKls428clCUr82szCgsystem)(NU32 x) {
	NI result;
	NI a;
	result = (NI)0;
	{
		if (!((NU32)(x) <= (NU32)(((NU32) 65535)))) goto LA3_;
		{
			if (!((NU32)(x) <= (NU32)(((NU32) 255)))) goto LA7_;
			a = ((NI) 0);
		}
		goto LA5_;
		LA7_: ;
		{
			a = ((NI) 8);
		}
		LA5_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		{
			if (!((NU32)(x) <= (NU32)(((NU32) 16777215)))) goto LA13_;
			a = ((NI) 16);
		}
		goto LA11_;
		LA13_: ;
		{
			a = ((NI) 24);
		}
		LA11_: ;
	}
	LA1_: ;
	result = (NI)(((NI) (fsLookupTable__Gn52IZvqY4slyBTOYwGNRQ[((NU32)((NU32)(x) >> (NU64)(a)))- 0])) + a);
	return result;
}
static N_INLINE(void, mappingSearch__x0o9aLs0rybi5SymOs9ciTLQsystem)(NI* r, NI* fl, NI* sl) {
	NI t;
	NI T1_;
	NI T2_;
	T1_ = (NI)0;
	T1_ = msbit__NR8XkKls428clCUr82szCgsystem(((NU32) ((*r))));
	T2_ = (NI)0;
	T2_ = roundup__ix09bNPnFKmnm9c9bTyF5mHpAsystem((NI)((NU64)(((NI) 1)) << (NU64)((NI)(T1_ - ((NI) 5)))), ((NI) 4096));
	t = (NI)(T2_ - ((NI) 1));
	(*r) = (NI)((*r) + t);
	(*r) = (NI)((*r) & (NI)((NU64) ~(t)));
	(*r) = (((*r) <= ((NI) 1056964608)) ? (*r) : ((NI) 1056964608));
	(*fl) = msbit__NR8XkKls428clCUr82szCgsystem(((NU32) ((*r))));
	(*sl) = (NI)((NI)((NI64)((*r)) >> (NU64)((NI)((*fl) - ((NI) 5)))) - ((NI) 32));
	(*fl) -= ((NI) 6);
}
static N_INLINE(NI, lsbit__NR8XkKls428clCUr82szCg_2system)(NU32 x) {
	NI result;
	result = (NI)0;
	result = msbit__NR8XkKls428clCUr82szCgsystem((NU32)(x & (NU32)((NU32)((NU32)((NU32) ~(x))) + (NU32)(((NU32) 1)))));
	return result;
}
static N_INLINE(tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*, findSuitableBlock__asVN3MOMG2rBAqS7SmK0xQsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI* fl, NI* sl) {
	tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* result;
	NU32 tmp;
	result = (tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*)0;
	tmp = (NU32)((*a).slBitmap[((*fl))- 0] & (NU32)((NU64)(((NU32) IL64(4294967295))) << (NU64)((*sl))));
	result = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
	{
		if (!!((tmp == ((NU32) 0)))) goto LA3_;
		(*sl) = lsbit__NR8XkKls428clCUr82szCg_2system(tmp);
		result = (*a).matrix[((*fl))- 0][((*sl))- 0];
	}
	goto LA1_;
	LA3_: ;
	{
		(*fl) = lsbit__NR8XkKls428clCUr82szCg_2system((NU32)((*a).flBitmap & (NU32)((NU64)(((NU32) IL64(4294967295))) << (NU64)((NI)((*fl) + ((NI) 1))))));
		{
			if (!(((NI) 0) < (*fl))) goto LA8_;
			(*sl) = lsbit__NR8XkKls428clCUr82szCg_2system((*a).slBitmap[((*fl))- 0]);
			result = (*a).matrix[((*fl))- 0][((*sl))- 0];
		}
		LA8_: ;
	}
	LA1_: ;
	return result;
}
static N_INLINE(NI, alignSize__AX9b3YPKDS9bGpwBolbNkTVgsystem)(NI size) {
	NI result;
	result = (NI)0;
	result = (NI)((NI)(size + ((NI) 4095)) & ((NI) -4096));
	return result;
}
static N_INLINE(NI, nimCStrLen)(NCSTRING a) {
	NI result;
	size_t T1_;
	result = (NI)0;
	T1_ = (size_t)0;
	T1_ = strlen(a);
	result = ((NI) (T1_));
	return result;
}
static N_INLINE(void, rawWrite)(FILE* f, NCSTRING s) {
	int T1_;
	int T2_;
	T1_ = (int)0;
	T1_ = fwrite(((void*) (s)), ((size_t) 1), ((size_t) ((s ? nimCStrLen(s) : 0))), f);
	(void)(T1_);
	T2_ = (int)0;
	T2_ = fflush(f);
	(void)(T2_);
}
N_LIB_PRIVATE N_NOINLINE(void, raiseOutOfMem__mMRdr4sgmnykA9aWeM9aDZlw)(void) {
	{
		if (!!((outOfMemHook__kZNaA7u1MfSW5ZeoGvw8xg == NIM_NIL))) goto LA3_;
		outOfMemHook__kZNaA7u1MfSW5ZeoGvw8xg();
	}
	LA3_: ;
	rawWrite(stderr, "out of memory\012");
	exit(((NI) 1));
}
N_LIB_PRIVATE N_NIMCALL(void, deallocate__cCpQq9acYKGygEEy0GZFtug)(void* heapMirror, void* heap, NI size) {
	NU32 T1_;
	T1_ = (NU32)0;
	T1_ = svcUnmapMemory(heapMirror, heap, ((NU64) (size)));
	(void)(T1_);
}
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) {
	NI result;
	result = (NI)0;
	result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y))))));
	return result;
}
static N_INLINE(void*, getOriginalHeapPosition__XoWjPjBmArdfAbMRm79aRqQsystem)(void* address, NI difference) {
	void* result;
	NI pos;
	NI newPos;
{	result = (void*)0;
	pos = ((NI) (ptrdiff_t) (address));
	newPos = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (pos)), difference);
	result = ((void*) (newPos));
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) {
	NI result;
	result = (NI)0;
	result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y))))));
	return result;
}
static N_INLINE(void, storeHeapData__xfpBNB8ge4x0MUl0Zbc2VAsystem)(void* address, void* heapMirror, void* heap, NI size) {
	NI nswitchBlockPos;
	tyObject_NSwitchBlock__B9aTrG3ZApNTF4lzdqtKa3A* nswitchBlock;
	nswitchBlockPos = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (address)), ((NI) 24));
	nswitchBlock = ((tyObject_NSwitchBlock__B9aTrG3ZApNTF4lzdqtKa3A*) (nswitchBlockPos));
	(*nswitchBlock).realSize = size;
	(*nswitchBlock).heap = heap;
	(*nswitchBlock).heapMirror = heapMirror;
}
static N_INLINE(void*, osAllocPages__HMOhWrY1QMa49a2BcJwSDZQsystem)(NI size) {
	void* result;
	NI realSizeX60gensym146_;
	void* heapX60gensym146_;
	void* heapMirrorX60gensym146_;
	NU32 rcX60gensym146_;
	result = (void*)0;
	realSizeX60gensym146_ = alignSize__AX9b3YPKDS9bGpwBolbNkTVgsystem((NI)(size + ((NI) 24)));
	heapX60gensym146_ = memalign(((NI) 4096), realSizeX60gensym146_);
	{
		if (!(heapX60gensym146_ == 0)) goto LA3_;
		raiseOutOfMem__mMRdr4sgmnykA9aWeM9aDZlw();
	}
	LA3_: ;
	heapMirrorX60gensym146_ = virtmemReserveMap(realSizeX60gensym146_);
	result = heapMirrorX60gensym146_;
	rcX60gensym146_ = svcMapMemory(heapMirrorX60gensym146_, heapX60gensym146_, ((NU64) (realSizeX60gensym146_)));
	{
		if (!!((rcX60gensym146_ == ((NU32) 0)))) goto LA7_;
		deallocate__cCpQq9acYKGygEEy0GZFtug(heapMirrorX60gensym146_, heapX60gensym146_, realSizeX60gensym146_);
		raiseOutOfMem__mMRdr4sgmnykA9aWeM9aDZlw();
	}
	LA7_: ;
	result = getOriginalHeapPosition__XoWjPjBmArdfAbMRm79aRqQsystem(result, (NI)(realSizeX60gensym146_ - size));
	storeHeapData__xfpBNB8ge4x0MUl0Zbc2VAsystem(result, heapMirrorX60gensym146_, heapX60gensym146_, realSizeX60gensym146_);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void*, osTryAllocPages__L5ere5Rie0vcF2avOZxr0A)(NI size) {
	void* result;
	NI realSizeX60gensym148_;
	void* heapX60gensym148_;
	void* heapMirrorX60gensym148_;
	NU32 rcX60gensym148_;
{	result = (void*)0;
	realSizeX60gensym148_ = alignSize__AX9b3YPKDS9bGpwBolbNkTVgsystem((NI)(size + ((NI) 24)));
	heapX60gensym148_ = memalign(((NI) 4096), realSizeX60gensym148_);
	{
		if (!(heapX60gensym148_ == 0)) goto LA3_;
		result = NIM_NIL;
		goto BeforeRet_;
	}
	LA3_: ;
	heapMirrorX60gensym148_ = virtmemReserveMap(realSizeX60gensym148_);
	result = heapMirrorX60gensym148_;
	rcX60gensym148_ = svcMapMemory(heapMirrorX60gensym148_, heapX60gensym148_, ((NU64) (realSizeX60gensym148_)));
	{
		if (!!((rcX60gensym148_ == ((NU32) 0)))) goto LA7_;
		deallocate__cCpQq9acYKGygEEy0GZFtug(heapMirrorX60gensym148_, heapX60gensym148_, realSizeX60gensym148_);
		result = NIM_NIL;
		goto BeforeRet_;
	}
	LA7_: ;
	result = getOriginalHeapPosition__XoWjPjBmArdfAbMRm79aRqQsystem(result, (NI)(realSizeX60gensym148_ - size));
	storeHeapData__xfpBNB8ge4x0MUl0Zbc2VAsystem(result, heapMirrorX60gensym148_, heapX60gensym148_, realSizeX60gensym148_);
	}BeforeRet_: ;
	return result;
}
static N_INLINE(void, incCurrMem__JPUl8p4328ZL9bXnEtbaZcAsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI bytes) {
	(*a).currMem += bytes;
}
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = memset(a, v, ((size_t) (size)));
}
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
	nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
}
static N_INLINE(void, zeroMem__FsvhfMqbswETmyMWtamDewsystem)(void* p, NI size) {
	nimZeroMem(p, size);
}
N_LIB_PRIVATE N_NIMCALL(void*, llAlloc__ovw3NMWXeZ0Qi9cGYq1E2Tg)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI size) {
	void* result;
	result = (void*)0;
	{
		NIM_BOOL T3_;
		tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* old;
		void* T7_;
		T3_ = (NIM_BOOL)0;
		T3_ = ((*a).llmem == ((tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw*) NIM_NIL));
		if (T3_) goto LA4_;
		T3_ = ((*(*a).llmem).size < size);
		LA4_: ;
		if (!T3_) goto LA5_;
		old = (*a).llmem;
		T7_ = (void*)0;
		T7_ = osAllocPages__HMOhWrY1QMa49a2BcJwSDZQsystem(((NI) 4096));
		(*a).llmem = ((tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw*) (T7_));
		incCurrMem__JPUl8p4328ZL9bXnEtbaZcAsystem(a, ((NI) 4096));
		(*(*a).llmem).size = ((NI) 4072);
		(*(*a).llmem).acc = ((NI) 24);
		(*(*a).llmem).next = old;
	}
	LA5_: ;
	result = ((void*) ((NI)(((NI) (ptrdiff_t) ((*a).llmem)) + (*(*a).llmem).acc)));
	(*(*a).llmem).size -= size;
	(*(*a).llmem).acc += size;
	zeroMem__FsvhfMqbswETmyMWtamDewsystem(result, ((NI) (size)));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, addHeapLink__LIRFHBfc9aX3C5dmMmLnpwA)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* p, NI size) {
	tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* it;
	it = (&(*a).heapLinks);
	{
		while (1) {
			NIM_BOOL T3_;
			T3_ = (NIM_BOOL)0;
			T3_ = !((it == ((tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg*) NIM_NIL)));
			if (!(T3_)) goto LA4_;
			T3_ = (((NI) 30) <= (*it).len);
			LA4_: ;
			if (!T3_) goto LA2;
			it = (*it).next;
		} LA2: ;
	}
	{
		tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* n;
		void* T9_;
		tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* colontmp_;
		NI colontmp__2;
		if (!(it == ((tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg*) NIM_NIL))) goto LA7_;
		T9_ = (void*)0;
		T9_ = llAlloc__ovw3NMWXeZ0Qi9cGYq1E2Tg(a, ((NI) 496));
		n = ((tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg*) (T9_));
		(*n).next = (*a).heapLinks.next;
		(*a).heapLinks.next = n;
		colontmp_ = p;
		colontmp__2 = size;
		(*n).chunks[(((NI) 0))- 0].Field0 = colontmp_;
		(*n).chunks[(((NI) 0))- 0].Field1 = colontmp__2;
		(*n).len = ((NI) 1);
	}
	goto LA5_;
	LA7_: ;
	{
		NI L;
		tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* colontmp__3;
		NI colontmp__4;
		L = (*it).len;
		colontmp__3 = p;
		colontmp__4 = size;
		(*it).chunks[(L)- 0].Field0 = colontmp__3;
		(*it).chunks[(L)- 0].Field1 = colontmp__4;
		(*it).len += ((NI) 1);
	}
	LA5_: ;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*, intSetGet__O3FRrWKKUdi8uRTGxiPdIg)(tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA* t, NI key) {
	tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* result;
	tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* it;
{	result = (tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*)0;
	it = (*t).data[((NI)(key & ((NI) 255)))- 0];
	{
		while (1) {
			if (!!((it == ((tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*) NIM_NIL)))) goto LA2;
			{
				if (!((*it).key == key)) goto LA5_;
				result = it;
				goto BeforeRet_;
			}
			LA5_: ;
			it = (*it).next;
		} LA2: ;
	}
	result = ((tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*) NIM_NIL);
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__9b5xR7VBZVwQDvk5Nr9bDKdQ)(tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA* s, NI key) {
	NIM_BOOL result;
	tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* t;
	result = (NIM_BOOL)0;
	t = intSetGet__O3FRrWKKUdi8uRTGxiPdIg(s, (NI)((NI64)(key) >> (NU64)(((NI) 9))));
	{
		NI u;
		if (!!((t == ((tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*) NIM_NIL)))) goto LA3_;
		u = (NI)(key & ((NI) 511));
		result = !(((NU)((*t).bits[((NI)((NI64)(u) >> (NU64)(((NI) 6))))- 0] & (NU)((NU64)(((NU) 1)) << (NU64)((NI)(u & ((NI) 63))))) == ((NU) 0)));
	}
	goto LA1_;
	LA3_: ;
	{
		result = NIM_FALSE;
	}
	LA1_: ;
	return result;
}
static N_INLINE(NI, pageIndex__D8ZW0myZd7Fa6ncDvW9a9cMQsystem)(tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* c) {
	NI result;
	result = (NI)0;
	result = (NI)((NI64)(((NI) (ptrdiff_t) (c))) >> (NU64)(((NI) 12)));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*, requestOsChunks__stlXHMKRKFIGOvq8t4ynRQ_2)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI size) {
	tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* result;
	NI size_2;
	NI nxt;
	tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* next;
	NI lastSize;
	NI prv;
	tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* prev;
	result = (tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*)0;
	{
		NI usedMem;
		if (!!((*a).blockChunkSizeIncrease)) goto LA3_;
		usedMem = (*a).occ;
		{
			if (!(usedMem < ((NI) 65536))) goto LA7_;
			(*a).nextChunkSize = ((NI) 16384);
		}
		goto LA5_;
		LA7_: ;
		{
			NI T10_;
			T10_ = (NI)0;
			T10_ = roundup__ix09bNPnFKmnm9c9bTyF5mHpAsystem((NI)((NI64)(usedMem) >> (NU64)(((NI) 2))), ((NI) 4096));
			(*a).nextChunkSize = ((T10_ <= (NI)((*a).nextChunkSize * ((NI) 2))) ? T10_ : (NI)((*a).nextChunkSize * ((NI) 2)));
			(*a).nextChunkSize = (((*a).nextChunkSize <= ((NI) 1056964608)) ? (*a).nextChunkSize : ((NI) 1056964608));
		}
		LA5_: ;
	}
	LA3_: ;
	size_2 = size;
	{
		void* T15_;
		if (!((*a).nextChunkSize < size_2)) goto LA13_;
		T15_ = (void*)0;
		T15_ = osAllocPages__HMOhWrY1QMa49a2BcJwSDZQsystem(size_2);
		result = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (T15_));
	}
	goto LA11_;
	LA13_: ;
	{
		void* T17_;
		T17_ = (void*)0;
		T17_ = osTryAllocPages__L5ere5Rie0vcF2avOZxr0A((*a).nextChunkSize);
		result = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (T17_));
		{
			void* T22_;
			if (!(result == ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL))) goto LA20_;
			T22_ = (void*)0;
			T22_ = osAllocPages__HMOhWrY1QMa49a2BcJwSDZQsystem(size_2);
			result = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (T22_));
			(*a).blockChunkSizeIncrease = NIM_TRUE;
		}
		goto LA18_;
		LA20_: ;
		{
			size_2 = (*a).nextChunkSize;
		}
		LA18_: ;
	}
	LA11_: ;
	incCurrMem__JPUl8p4328ZL9bXnEtbaZcAsystem(a, size_2);
	(*a).freeMem += size_2;
	addHeapLink__LIRFHBfc9aX3C5dmMmLnpwA(a, result, size_2);
	(*result).next = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
	(*result).prev = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
	(*result).Sup.size = size_2;
	nxt = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) (result)), size_2);
	next = ((tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*) (nxt));
	{
		NI T26_;
		NIM_BOOL T27_;
		T26_ = (NI)0;
		T26_ = pageIndex__D8ZW0myZd7Fa6ncDvW9a9cMQsystem(next);
		T27_ = (NIM_BOOL)0;
		T27_ = contains__9b5xR7VBZVwQDvk5Nr9bDKdQ((&(*a).chunkStarts), T26_);
		if (!T27_) goto LA28_;
		(*next).prevSize = (NI)(size_2 | (NI)((*next).prevSize & ((NI) 1)));
	}
	LA28_: ;
	{
		if (!!(((*a).lastSize == ((NI) 0)))) goto LA32_;
		lastSize = (*a).lastSize;
	}
	goto LA30_;
	LA32_: ;
	{
		lastSize = ((NI) 4096);
	}
	LA30_: ;
	prv = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (result)), lastSize);
	prev = ((tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*) (prv));
	{
		NIM_BOOL T37_;
		NI T38_;
		T37_ = (NIM_BOOL)0;
		T38_ = (NI)0;
		T38_ = pageIndex__D8ZW0myZd7Fa6ncDvW9a9cMQsystem(prev);
		T37_ = contains__9b5xR7VBZVwQDvk5Nr9bDKdQ((&(*a).chunkStarts), T38_);
		if (!(T37_)) goto LA39_;
		T37_ = ((*prev).size == lastSize);
		LA39_: ;
		if (!T37_) goto LA40_;
		(*result).Sup.prevSize = (NI)(lastSize | (NI)((*result).Sup.prevSize & ((NI) 1)));
	}
	goto LA35_;
	LA40_: ;
	{
		(*result).Sup.prevSize = (NI)(((NI) 0) | (NI)((*result).Sup.prevSize & ((NI) 1)));
	}
	LA35_: ;
	(*a).lastSize = size_2;
	return result;
}
static N_INLINE(NI, pageIndex__cMO7rAWQ0KzYXPVgB0ZR3gsystem)(void* p) {
	NI result;
	result = (NI)0;
	result = (NI)((NI64)(((NI) (ptrdiff_t) (p))) >> (NU64)(((NI) 12)));
	return result;
}
static N_INLINE(NIM_BOOL, isAccessible__EZspgz843pJ9adnD0ZpJO6wsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, void* p) {
	NIM_BOOL result;
	NI T1_;
	result = (NIM_BOOL)0;
	T1_ = (NI)0;
	T1_ = pageIndex__cMO7rAWQ0KzYXPVgB0ZR3gsystem(p);
	result = contains__9b5xR7VBZVwQDvk5Nr9bDKdQ((&(*a).chunkStarts), T1_);
	return result;
}
static N_INLINE(void, updatePrevSize__9b5Bu9akw7RalDC4isB4QVbgsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c, NI prevSize) {
	tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* ri;
	NI T1_;
	T1_ = (NI)0;
	T1_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) (c)), (*c).Sup.size);
	ri = ((tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*) (T1_));
	{
		NIM_BOOL T4_;
		T4_ = (NIM_BOOL)0;
		T4_ = isAccessible__EZspgz843pJ9adnD0ZpJO6wsystem((&(*a)), ((void*) (ri)));
		if (!T4_) goto LA5_;
		(*ri).prevSize = (NI)(prevSize | (NI)((*ri).prevSize & ((NI) 1)));
	}
	LA5_: ;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*, intSetPut__Cw86Sj6YgVACdT20AkWjcA)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA* t, NI key) {
	tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* result;
	result = (tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*)0;
	result = intSetGet__O3FRrWKKUdi8uRTGxiPdIg((&(*t)), key);
	{
		void* T5_;
		if (!(result == ((tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*) NIM_NIL))) goto LA3_;
		T5_ = (void*)0;
		T5_ = llAlloc__ovw3NMWXeZ0Qi9cGYq1E2Tg(a, ((NI) 80));
		result = ((tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*) (T5_));
		(*result).next = (*t).data[((NI)(key & ((NI) 255)))- 0];
		(*t).data[((NI)(key & ((NI) 255)))- 0] = result;
		(*result).key = key;
	}
	LA3_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, incl__tSnfTXv7GxXoDyFDm9bvzqg)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA* s, NI key) {
	tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* t;
	NI u;
	t = intSetPut__Cw86Sj6YgVACdT20AkWjcA(a, s, (NI)((NI64)(key) >> (NU64)(((NI) 9))));
	u = (NI)(key & ((NI) 511));
	(*t).bits[((NI)((NI64)(u) >> (NU64)(((NI) 6))))- 0] = (NU)((*t).bits[((NI)((NI64)(u) >> (NU64)(((NI) 6))))- 0] | (NU)((NU64)(((NU) 1)) << (NU64)((NI)(u & ((NI) 63)))));
}
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*, splitChunk2__gSNzk4aToVCSTE1opfEv2A)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c, NI size) {
	tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* result;
	NI T1_;
	tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* T2_;
	NI T3_;
	result = (tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*)0;
	T1_ = (NI)0;
	T1_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) (c)), size);
	result = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (T1_));
	(*result).Sup.size = (NI)((*c).Sup.size - size);
	(*result).next = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
	(*result).prev = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
	(*result).Sup.prevSize = size;
	updatePrevSize__9b5Bu9akw7RalDC4isB4QVbgsystem(a, c, (*result).Sup.size);
	(*c).Sup.size = size;
	T2_ = (tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*)0;
	T2_ = &result->Sup;
	T3_ = (NI)0;
	T3_ = pageIndex__D8ZW0myZd7Fa6ncDvW9a9cMQsystem(T2_);
	incl__tSnfTXv7GxXoDyFDm9bvzqg(a, (&(*a).chunkStarts), T3_);
	return result;
}
static N_INLINE(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ, mappingInsert__SRLfEtcWb2dn0ht85HEwbQsystem)(NI r) {
	tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ result;
	nimZeroMem((void*)(&result), sizeof(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ));
	result.Field0 = msbit__NR8XkKls428clCUr82szCgsystem(((NU32) (r)));
	result.Field1 = (NI)((NI)((NI64)(r) >> (NU64)((NI)(result.Field0 - ((NI) 5)))) - ((NI) 32));
	result.Field0 -= ((NI) 6);
	return result;
}
static N_INLINE(void, setBit__I4TSeZGFKfrVTL1oqiweCgsystem)(NI nr, NU32* dest) {
	(*dest) = (NU32)((*dest) | (NU32)((NU64)(((NU32) 1)) << (NU64)((NI)(nr & ((NI) 31)))));
}
N_LIB_PRIVATE N_NIMCALL(void, addChunkToMatrix__YSJZJgeU5UU2aa8GNvs3WA)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* b) {
	tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ T1_;
	NI fl;
	NI sl;
	T1_ = mappingInsert__SRLfEtcWb2dn0ht85HEwbQsystem((*b).Sup.size);
	fl = T1_.Field0;
	sl = T1_.Field1;
	(*b).prev = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
	(*b).next = (*a).matrix[(fl)- 0][(sl)- 0];
	{
		if (!!(((*a).matrix[(fl)- 0][(sl)- 0] == ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL)))) goto LA4_;
		(*(*a).matrix[(fl)- 0][(sl)- 0]).prev = b;
	}
	LA4_: ;
	(*a).matrix[(fl)- 0][(sl)- 0] = b;
	setBit__I4TSeZGFKfrVTL1oqiweCgsystem(sl, (&(*a).slBitmap[(fl)- 0]));
	setBit__I4TSeZGFKfrVTL1oqiweCgsystem(fl, (&(*a).flBitmap));
}
N_LIB_PRIVATE N_NIMCALL(void, splitChunk__BqFVAuadgXfvAiq8B9cBjqQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c, NI size) {
	tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* rest;
	rest = splitChunk2__gSNzk4aToVCSTE1opfEv2A(a, c, size);
	addChunkToMatrix__YSJZJgeU5UU2aa8GNvs3WA(a, rest);
}
static N_INLINE(void, clearBit__I4TSeZGFKfrVTL1oqiweCg_2system)(NI nr, NU32* dest) {
	(*dest) = (NU32)((*dest) & (NU32)((NU32) ~((NU32)((NU64)(((NU32) 1)) << (NU64)((NI)(nr & ((NI) 31)))))));
}
N_LIB_PRIVATE N_NIMCALL(void, removeChunkFromMatrix2__XFftAAJrARamxGOKUFQy9aw)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* b, NI fl, NI sl) {
	(*a).matrix[(fl)- 0][(sl)- 0] = (*b).next;
	{
		if (!!(((*a).matrix[(fl)- 0][(sl)- 0] == ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL)))) goto LA3_;
		(*(*a).matrix[(fl)- 0][(sl)- 0]).prev = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
	}
	goto LA1_;
	LA3_: ;
	{
		clearBit__I4TSeZGFKfrVTL1oqiweCg_2system(sl, (&(*a).slBitmap[(fl)- 0]));
		{
			if (!((*a).slBitmap[(fl)- 0] == ((NU32) 0))) goto LA8_;
			clearBit__I4TSeZGFKfrVTL1oqiweCg_2system(fl, (&(*a).flBitmap));
		}
		LA8_: ;
	}
	LA1_: ;
	(*b).prev = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
	(*b).next = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
}
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*, getBigChunk__stlXHMKRKFIGOvq8t4ynRQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI size) {
	tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* result;
	NI size_2;
	NI fl;
	NI sl;
	tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* T19_;
	NI T20_;
	result = (tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*)0;
	size_2 = size;
	fl = ((NI) 0);
	sl = ((NI) 0);
	mappingSearch__x0o9aLs0rybi5SymOs9ciTLQsystem((&size_2), (&fl), (&sl));
	result = findSuitableBlock__asVN3MOMG2rBAqS7SmK0xQsystem((&(*a)), (&fl), (&sl));
	{
		if (!(result == ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL))) goto LA3_;
		{
			if (!(size_2 < ((NI) 524288))) goto LA7_;
			result = requestOsChunks__stlXHMKRKFIGOvq8t4ynRQ_2(a, ((NI) 524288));
			splitChunk__BqFVAuadgXfvAiq8B9cBjqQ(a, result, size_2);
		}
		goto LA5_;
		LA7_: ;
		{
			result = requestOsChunks__stlXHMKRKFIGOvq8t4ynRQ_2(a, size_2);
			{
				if (!(size_2 < (*result).Sup.size)) goto LA12_;
				splitChunk__BqFVAuadgXfvAiq8B9cBjqQ(a, result, size_2);
			}
			LA12_: ;
		}
		LA5_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		removeChunkFromMatrix2__XFftAAJrARamxGOKUFQy9aw(a, result, fl, sl);
		{
			if (!((NI)(size_2 + ((NI) 4096)) <= (*result).Sup.size)) goto LA17_;
			splitChunk__BqFVAuadgXfvAiq8B9cBjqQ(a, result, size_2);
		}
		LA17_: ;
	}
	LA1_: ;
	(*result).Sup.prevSize = ((NI) 1);
	T19_ = (tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*)0;
	T19_ = &result->Sup;
	T20_ = (NI)0;
	T20_ = pageIndex__D8ZW0myZd7Fa6ncDvW9a9cMQsystem(T19_);
	incl__tSnfTXv7GxXoDyFDm9bvzqg(a, (&(*a).chunkStarts), T20_);
	(*a).freeMem -= size_2;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*, getSmallChunk__0ixBBlKB5QN59bxrmztRmCw)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a) {
	tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* result;
	tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* res;
	result = (tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*)0;
	res = getBigChunk__stlXHMKRKFIGOvq8t4ynRQ(a, ((NI) 4096));
	result = ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) (res));
	return result;
}
static N_INLINE(void, listAdd__G9cCXZ1ju0DgzqrqBg9acaKQsystem)(tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ** head, tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* c) {
	(*c).next = (*head);
	{
		if (!!(((*head) == ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) NIM_NIL)))) goto LA3_;
		(*(*head)).prev = c;
	}
	LA3_: ;
	(*head) = c;
}
static N_INLINE(void, listRemove__G9cCXZ1ju0DgzqrqBg9acaKQ_2system)(tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ** head, tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* c) {
	{
		if (!(c == (*head))) goto LA3_;
		(*head) = (*c).next;
		{
			if (!!(((*head) == ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) NIM_NIL)))) goto LA7_;
			(*(*head)).prev = ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) NIM_NIL);
		}
		LA7_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		(*(*c).prev).next = (*c).next;
		{
			if (!!(((*c).next == ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) NIM_NIL)))) goto LA12_;
			(*(*c).next).prev = (*c).prev;
		}
		LA12_: ;
	}
	LA1_: ;
	(*c).next = ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) NIM_NIL);
	(*c).prev = ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) NIM_NIL);
}
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*, getHugeChunk__stlXHMKRKFIGOvq8t4ynRQ_3)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI size) {
	tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* result;
	void* T1_;
	tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* T2_;
	NI T3_;
	result = (tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*)0;
	T1_ = (void*)0;
	T1_ = osAllocPages__HMOhWrY1QMa49a2BcJwSDZQsystem(size);
	result = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (T1_));
	incCurrMem__JPUl8p4328ZL9bXnEtbaZcAsystem(a, size);
	(*result).next = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
	(*result).prev = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
	(*result).Sup.size = size;
	(*result).Sup.prevSize = ((NI) 1);
	T2_ = (tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*)0;
	T2_ = &result->Sup;
	T3_ = (NI)0;
	T3_ = pageIndex__D8ZW0myZd7Fa6ncDvW9a9cMQsystem(T2_);
	incl__tSnfTXv7GxXoDyFDm9bvzqg(a, (&(*a).chunkStarts), T3_);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*, getBottom__3mqnVBLDtYhZizqw9bvHELA)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a) {
	tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* result;
	result = (tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*)0;
	result = (&(*a).bottomData);
	{
		if (!((*result).link[(((NI) 0))- 0] == ((tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*) NIM_NIL))) goto LA3_;
		(*result).link[(((NI) 0))- 0] = result;
		(*result).link[(((NI) 1))- 0] = result;
	}
	LA3_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*, allocAvlNode__Du8pyfSfDLyN9aoS2IcBsHg)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI key, NI upperBound) {
	tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* result;
	tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* bottom;
	result = (tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*)0;
	{
		if (!!(((*a).freeAvlNodes == ((tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*) NIM_NIL)))) goto LA3_;
		result = (*a).freeAvlNodes;
		(*a).freeAvlNodes = (*(*a).freeAvlNodes).link[(((NI) 0))- 0];
	}
	goto LA1_;
	LA3_: ;
	{
		void* T6_;
		T6_ = (void*)0;
		T6_ = llAlloc__ovw3NMWXeZ0Qi9cGYq1E2Tg(a, ((NI) 40));
		result = ((tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*) (T6_));
	}
	LA1_: ;
	(*result).key = key;
	(*result).upperBound = upperBound;
	bottom = getBottom__3mqnVBLDtYhZizqw9bvHELA(a);
	(*result).link[(((NI) 0))- 0] = bottom;
	(*result).link[(((NI) 1))- 0] = bottom;
	(*result).level = ((NI) 1);
	return result;
}
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y))));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, skew__NJo8pxZdXEAIa7wkHls9cOw)(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw** t) {
	{
		tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* temp;
		if (!((*(*(*t)).link[(((NI) 0))- 0]).level == (*(*t)).level)) goto LA3_;
		temp = (*t);
		(*t) = (*(*t)).link[(((NI) 0))- 0];
		(*temp).link[(((NI) 0))- 0] = (*(*t)).link[(((NI) 1))- 0];
		(*(*t)).link[(((NI) 1))- 0] = temp;
	}
	LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, split__NJo8pxZdXEAIa7wkHls9cOw_2)(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw** t) {
	{
		tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* temp;
		if (!((*(*(*(*t)).link[(((NI) 1))- 0]).link[(((NI) 1))- 0]).level == (*(*t)).level)) goto LA3_;
		temp = (*t);
		(*t) = (*(*t)).link[(((NI) 1))- 0];
		(*temp).link[(((NI) 1))- 0] = (*(*t)).link[(((NI) 0))- 0];
		(*(*t)).link[(((NI) 0))- 0] = temp;
		(*(*t)).level += ((NI) 1);
	}
	LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, add__3D9aOyz4rDquPZKBlqn0xig)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw** t, NI key, NI upperBound) {
	{
		if (!((*(*t)).link[(((NI) 0))- 0] == (*t))) goto LA3_;
		(*t) = allocAvlNode__Du8pyfSfDLyN9aoS2IcBsHg(a, key, upperBound);
	}
	goto LA1_;
	LA3_: ;
	{
		{
			NIM_BOOL T8_;
			T8_ = (NIM_BOOL)0;
			T8_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(key, (*(*t)).key);
			if (!T8_) goto LA9_;
			add__3D9aOyz4rDquPZKBlqn0xig(a, &(*(*t)).link[(((NI) 0))- 0], key, upperBound);
		}
		goto LA6_;
		LA9_: ;
		{
			NIM_BOOL T12_;
			T12_ = (NIM_BOOL)0;
			T12_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*(*t)).key, key);
			if (!T12_) goto LA13_;
			add__3D9aOyz4rDquPZKBlqn0xig(a, &(*(*t)).link[(((NI) 1))- 0], key, upperBound);
		}
		goto LA6_;
		LA13_: ;
		{
		}
		LA6_: ;
		skew__NJo8pxZdXEAIa7wkHls9cOw(t);
		split__NJo8pxZdXEAIa7wkHls9cOw_2(t);
	}
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(void*, rawAlloc__mE4QEVyMvGRVliDWDngZCQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI requestedSize) {
	void* result;
	NI size;
	result = (void*)0;
	size = roundup__ix09bNPnFKmnm9c9bTyF5mHpAsystem(requestedSize, ((NI) 16));
	{
		NI s;
		tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* c;
		if (!(size <= ((NI) 4032))) goto LA3_;
		s = (NI)(size / ((NI) 16));
		c = (*a).freeSmallChunks[(s)- 0];
		{
			if (!(c == ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) NIM_NIL))) goto LA7_;
			c = getSmallChunk__0ixBBlKB5QN59bxrmztRmCw(a);
			(*c).freeList = ((tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ*) NIM_NIL);
			(*c).Sup.size = size;
			(*c).acc = size;
			(*c).free = (NI)(((NI) 4032) - size);
			(*c).next = ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) NIM_NIL);
			(*c).prev = ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) NIM_NIL);
			listAdd__G9cCXZ1ju0DgzqrqBg9acaKQsystem(&(*a).freeSmallChunks[(s)- 0], c);
			result = ((void*) ((*c).data));
		}
		goto LA5_;
		LA7_: ;
		{
			{
				NI T14_;
				if (!((*c).freeList == ((tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ*) NIM_NIL))) goto LA12_;
				T14_ = (NI)0;
				T14_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) ((*c).data)), (*c).acc);
				result = ((void*) (T14_));
				(*c).acc += size;
			}
			goto LA10_;
			LA12_: ;
			{
				result = ((void*) ((*c).freeList));
				(*c).freeList = (*(*c).freeList).next;
			}
			LA10_: ;
			(*c).free -= size;
		}
		LA5_: ;
		{
			if (!((*c).free < size)) goto LA18_;
			listRemove__G9cCXZ1ju0DgzqrqBg9acaKQ_2system(&(*a).freeSmallChunks[(s)- 0], c);
		}
		LA18_: ;
		(*a).occ += size;
	}
	goto LA1_;
	LA3_: ;
	{
		tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c_2;
		NI T30_;
		size = (NI)(requestedSize + ((NI) 32));
		{
			if (!(((NI) 1056964609) <= size)) goto LA23_;
			c_2 = getHugeChunk__stlXHMKRKFIGOvq8t4ynRQ_3(a, size);
		}
		goto LA21_;
		LA23_: ;
		{
			c_2 = getBigChunk__stlXHMKRKFIGOvq8t4ynRQ(a, size);
		}
		LA21_: ;
		result = ((void*) ((*c_2).data));
		{
			if (!((*a).root == ((tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*) NIM_NIL))) goto LA28_;
			(*a).root = getBottom__3mqnVBLDtYhZizqw9bvHELA(a);
		}
		LA28_: ;
		T30_ = (NI)0;
		T30_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) (result)), size);
		add__3D9aOyz4rDquPZKBlqn0xig(a, &(*a).root, ((NI) (ptrdiff_t) (result)), T30_);
		(*a).occ += (*c_2).Sup.size;
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void*, alloc__UxtcZ3QOXKsB7mMchxUf9cg_2)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* allocator, NI size) {
	void* result;
	NI T1_;
	result = (void*)0;
	result = rawAlloc__mE4QEVyMvGRVliDWDngZCQ(allocator, (NI)(((NI) (size)) + ((NI) 16)));
	(*((tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ*) (result))).zeroField = ((NI) 1);
	T1_ = (NI)0;
	T1_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) (result)), ((NI) 16));
	result = ((void*) (T1_));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void*, alloc0__UxtcZ3QOXKsB7mMchxUf9cg)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* allocator, NI size) {
	void* result;
	result = (void*)0;
	result = alloc__UxtcZ3QOXKsB7mMchxUf9cg_2(allocator, size);
	zeroMem__FsvhfMqbswETmyMWtamDewsystem(result, size);
	return result;
}
N_LIB_PRIVATE N_NOCONV(void*, alloc0Impl__KzdpcuLT9aef9bsiSHlIu9aFg)(NI size) {
	void* result;
	result = (void*)0;
	result = alloc0__UxtcZ3QOXKsB7mMchxUf9cg((&gch__IcYaEuuWivYAS86vFMTS3Q.region), size);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, init__wKM37ZoL6WtPOU9bn6Ug18A)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, NI cap) {
	void* T1_;
	(*s).len = ((NI) 0);
	(*s).cap = cap;
	T1_ = (void*)0;
	T1_ = alloc0Impl__KzdpcuLT9aef9bsiSHlIu9aFg(((NI) ((NI)(cap * ((NI) 8)))));
	(*s).d = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g**) (T1_));
}
N_LIB_PRIVATE N_NIMCALL(void, init__Y9c9cQhDWRSgYkHfKWcqFlsQ)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = alloc0Impl__KzdpcuLT9aef9bsiSHlIu9aFg(((NI) 8192));
	(*s).data = ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg**) (T1_));
	(*s).max = ((NI) 1023);
	(*s).counter = ((NI) 0);
	(*s).head = ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) NIM_NIL);
}
static N_INLINE(NI, atomicInc__v6qORsZ9azlHHhOL1JYACRAsystem)(NI* memLoc, NI x) {
	NI result;
	result = (NI)0;
	(*memLoc) += x;
	result = (*memLoc);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, initGC__amVlU9ajqZ06ujoesRBHcDg)(void) {
	NI T1_;
	gch__IcYaEuuWivYAS86vFMTS3Q.cycleThreshold = ((NI) 4194304);
	gch__IcYaEuuWivYAS86vFMTS3Q.zctThreshold = ((NI) 500);
	gch__IcYaEuuWivYAS86vFMTS3Q.stat.stackScans = ((NI) 0);
	gch__IcYaEuuWivYAS86vFMTS3Q.stat.cycleCollections = ((NI) 0);
	gch__IcYaEuuWivYAS86vFMTS3Q.stat.maxThreshold = ((NI) 0);
	gch__IcYaEuuWivYAS86vFMTS3Q.stat.maxStackSize = ((NI) 0);
	gch__IcYaEuuWivYAS86vFMTS3Q.stat.maxStackCells = ((NI) 0);
	gch__IcYaEuuWivYAS86vFMTS3Q.stat.cycleTableSize = ((NI) 0);
	init__wKM37ZoL6WtPOU9bn6Ug18A((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), ((NI) 1024));
	init__wKM37ZoL6WtPOU9bn6Ug18A((&gch__IcYaEuuWivYAS86vFMTS3Q.tempStack), ((NI) 1024));
	init__wKM37ZoL6WtPOU9bn6Ug18A((&gch__IcYaEuuWivYAS86vFMTS3Q.decStack), ((NI) 1024));
	init__Y9c9cQhDWRSgYkHfKWcqFlsQ((&gch__IcYaEuuWivYAS86vFMTS3Q.marked));
	init__wKM37ZoL6WtPOU9bn6Ug18A((&gch__IcYaEuuWivYAS86vFMTS3Q.additionalRoots), ((NI) 1024));
	T1_ = (NI)0;
	T1_ = atomicInc__v6qORsZ9azlHHhOL1JYACRAsystem((&gHeapidGenerator__hd54mEUTGcVuZLChYgtR9bg), ((NI) 1));
	gch__IcYaEuuWivYAS86vFMTS3Q.gcThreadId = (NI)(T1_ - ((NI) 1));
}
static N_NIMCALL(void, Marker_tySequence__uB9b75OUPRENsBAu4AnoePA)(void* p, NI op) {
	tySequence__uB9b75OUPRENsBAu4AnoePA* a;
	NI T1_;
	a = (tySequence__uB9b75OUPRENsBAu4AnoePA*)p;
	T1_ = (NI)0;
}
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) {
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
	NI T1_;
	result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
	T1_ = (NI)0;
	T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16));
	result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
	return result;
}
N_LIB_PRIVATE N_NOCONV(void*, allocImpl__KzdpcuLT9aef9bsiSHlIu9aFg_2)(NI size) {
	void* result;
	result = (void*)0;
	result = alloc__UxtcZ3QOXKsB7mMchxUf9cg_2((&gch__IcYaEuuWivYAS86vFMTS3Q.region), size);
	return result;
}
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = memcpy(dest, source, ((size_t) (size)));
}
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {
	nimCopyMem(dest, source, size);
}
static N_INLINE(tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*, pageAddr__JNTkgd9cRu9a9bEvn7wS0U8EAsystem)(void* p) {
	tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* result;
	result = (tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*)0;
	result = ((tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*) ((NI)(((NI) (ptrdiff_t) (p)) & ((NI) -4096))));
	return result;
}
static N_INLINE(NIM_BOOL, isSmallChunk__2Ih49c9ai3KYJhUe3C8xg07wsystem)(tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* c) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	result = ((*c).size <= ((NI) 4032));
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NIM_BOOL, chunkUnused__2Ih49c9ai3KYJhUe3C8xg07w_2system)(tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* c) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = ((NI)((*c).prevSize & ((NI) 1)) == ((NI) 0));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, removeChunkFromMatrix__YSJZJgeU5UU2aa8GNvs3WA_2)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* b) {
	tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ T1_;
	NI fl;
	NI sl;
	T1_ = mappingInsert__SRLfEtcWb2dn0ht85HEwbQsystem((*b).Sup.size);
	fl = T1_.Field0;
	sl = T1_.Field1;
	{
		if (!!(((*b).next == ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL)))) goto LA4_;
		(*(*b).next).prev = (*b).prev;
	}
	LA4_: ;
	{
		if (!!(((*b).prev == ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL)))) goto LA8_;
		(*(*b).prev).next = (*b).next;
	}
	LA8_: ;
	{
		if (!((*a).matrix[(fl)- 0][(sl)- 0] == b)) goto LA12_;
		(*a).matrix[(fl)- 0][(sl)- 0] = (*b).next;
		{
			if (!((*a).matrix[(fl)- 0][(sl)- 0] == ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL))) goto LA16_;
			clearBit__I4TSeZGFKfrVTL1oqiweCg_2system(sl, (&(*a).slBitmap[(fl)- 0]));
			{
				if (!((*a).slBitmap[(fl)- 0] == ((NU32) 0))) goto LA20_;
				clearBit__I4TSeZGFKfrVTL1oqiweCg_2system(fl, (&(*a).flBitmap));
			}
			LA20_: ;
		}
		LA16_: ;
	}
	LA12_: ;
	(*b).prev = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
	(*b).next = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) NIM_NIL);
}
N_LIB_PRIVATE N_NIMCALL(void, excl__9cAWqpgI1NbhhZ3cVPHhI5A)(tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA* s, NI key) {
	tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* t;
	t = intSetGet__O3FRrWKKUdi8uRTGxiPdIg((&(*s)), (NI)((NI64)(key) >> (NU64)(((NI) 9))));
	{
		NI u;
		if (!!((t == ((tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*) NIM_NIL)))) goto LA3_;
		u = (NI)(key & ((NI) 511));
		(*t).bits[((NI)((NI64)(u) >> (NU64)(((NI) 6))))- 0] = (NU)((*t).bits[((NI)((NI64)(u) >> (NU64)(((NI) 6))))- 0] & (NU)((NU64) ~((NU)((NU64)(((NU) 1)) << (NU64)((NI)(u & ((NI) 63)))))));
	}
	LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, freeBigChunk__IPvsryqksLyNxxag3IQr2g)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c) {
	tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c_2;
	NI prevSize;
	tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* ri;
	NI T25_;
	c_2 = c;
	(*a).freeMem += (*c_2).Sup.size;
	(*c_2).Sup.prevSize = (NI)((*c_2).Sup.prevSize & ((NI) -2));
	prevSize = (*c_2).Sup.prevSize;
	{
		tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* le;
		NI T5_;
		if (!!((prevSize == ((NI) 0)))) goto LA3_;
		T5_ = (NI)0;
		T5_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (c_2)), prevSize);
		le = ((tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*) (T5_));
		{
			NIM_BOOL T8_;
			T8_ = (NIM_BOOL)0;
			T8_ = isAccessible__EZspgz843pJ9adnD0ZpJO6wsystem((&(*a)), ((void*) (le)));
			if (!(T8_)) goto LA9_;
			T8_ = chunkUnused__2Ih49c9ai3KYJhUe3C8xg07w_2system(le);
			LA9_: ;
			if (!T8_) goto LA10_;
			{
				NIM_BOOL T14_;
				NIM_BOOL T15_;
				tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* T19_;
				NI T20_;
				T14_ = (NIM_BOOL)0;
				T15_ = (NIM_BOOL)0;
				T15_ = isSmallChunk__2Ih49c9ai3KYJhUe3C8xg07wsystem(le);
				T14_ = !(T15_);
				if (!(T14_)) goto LA16_;
				T14_ = ((*le).size < ((NI) 1056964608));
				LA16_: ;
				if (!T14_) goto LA17_;
				removeChunkFromMatrix__YSJZJgeU5UU2aa8GNvs3WA_2(a, ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (le)));
				(*le).size += (*c_2).Sup.size;
				T19_ = (tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*)0;
				T19_ = &c_2->Sup;
				T20_ = (NI)0;
				T20_ = pageIndex__D8ZW0myZd7Fa6ncDvW9a9cMQsystem(T19_);
				excl__9cAWqpgI1NbhhZ3cVPHhI5A((&(*a).chunkStarts), T20_);
				c_2 = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (le));
				{
					tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* rest;
					if (!(((NI) 1056964608) < (*c_2).Sup.size)) goto LA23_;
					rest = splitChunk2__gSNzk4aToVCSTE1opfEv2A(a, c_2, ((NI) 1056964608));
					addChunkToMatrix__YSJZJgeU5UU2aa8GNvs3WA(a, c_2);
					c_2 = rest;
				}
				LA23_: ;
			}
			LA17_: ;
		}
		LA10_: ;
	}
	LA3_: ;
	T25_ = (NI)0;
	T25_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) (c_2)), (*c_2).Sup.size);
	ri = ((tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*) (T25_));
	{
		NIM_BOOL T28_;
		T28_ = (NIM_BOOL)0;
		T28_ = isAccessible__EZspgz843pJ9adnD0ZpJO6wsystem((&(*a)), ((void*) (ri)));
		if (!(T28_)) goto LA29_;
		T28_ = chunkUnused__2Ih49c9ai3KYJhUe3C8xg07w_2system(ri);
		LA29_: ;
		if (!T28_) goto LA30_;
		{
			NIM_BOOL T34_;
			NIM_BOOL T35_;
			NI T39_;
			T34_ = (NIM_BOOL)0;
			T35_ = (NIM_BOOL)0;
			T35_ = isSmallChunk__2Ih49c9ai3KYJhUe3C8xg07wsystem(ri);
			T34_ = !(T35_);
			if (!(T34_)) goto LA36_;
			T34_ = ((*c_2).Sup.size < ((NI) 1056964608));
			LA36_: ;
			if (!T34_) goto LA37_;
			removeChunkFromMatrix__YSJZJgeU5UU2aa8GNvs3WA_2(a, ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (ri)));
			(*c_2).Sup.size += (*ri).size;
			T39_ = (NI)0;
			T39_ = pageIndex__D8ZW0myZd7Fa6ncDvW9a9cMQsystem(ri);
			excl__9cAWqpgI1NbhhZ3cVPHhI5A((&(*a).chunkStarts), T39_);
			{
				tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* rest_2;
				if (!(((NI) 1056964608) < (*c_2).Sup.size)) goto LA42_;
				rest_2 = splitChunk2__gSNzk4aToVCSTE1opfEv2A(a, c_2, ((NI) 1056964608));
				addChunkToMatrix__YSJZJgeU5UU2aa8GNvs3WA(a, rest_2);
			}
			LA42_: ;
		}
		LA37_: ;
	}
	LA30_: ;
	addChunkToMatrix__YSJZJgeU5UU2aa8GNvs3WA(a, c_2);
}
static N_INLINE(void, deallocAvlNode__pgghNmDMWP23LqxNq9atk7gsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* n) {
	(*n).link[(((NI) 0))- 0] = (*a).freeAvlNodes;
	(*a).freeAvlNodes = n;
}
N_LIB_PRIVATE N_NIMCALL(void, del__Io5JDKCS5u26IEWw0J53hQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw** t, NI x) {
{	{
		if (!((*(*t)).link[(((NI) 0))- 0] == (*t))) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	(*a).last = (*t);
	{
		NIM_BOOL T7_;
		T7_ = (NIM_BOOL)0;
		T7_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(x, (*(*t)).key);
		if (!T7_) goto LA8_;
		del__Io5JDKCS5u26IEWw0J53hQ(a, &(*(*t)).link[(((NI) 0))- 0], x);
	}
	goto LA5_;
	LA8_: ;
	{
		(*a).deleted = (*t);
		del__Io5JDKCS5u26IEWw0J53hQ(a, &(*(*t)).link[(((NI) 1))- 0], x);
	}
	LA5_: ;
	{
		NIM_BOOL T13_;
		NIM_BOOL T14_;
		T13_ = (NIM_BOOL)0;
		T14_ = (NIM_BOOL)0;
		T14_ = ((*t) == (*a).last);
		if (!(T14_)) goto LA15_;
		T14_ = !(((*(*a).deleted).link[(((NI) 0))- 0] == (*a).deleted));
		LA15_: ;
		T13_ = T14_;
		if (!(T13_)) goto LA16_;
		T13_ = (x == (*(*a).deleted).key);
		LA16_: ;
		if (!T13_) goto LA17_;
		(*(*a).deleted).key = (*(*t)).key;
		(*(*a).deleted).upperBound = (*(*t)).upperBound;
		(*a).deleted = getBottom__3mqnVBLDtYhZizqw9bvHELA(a);
		(*t) = (*(*t)).link[(((NI) 1))- 0];
		deallocAvlNode__pgghNmDMWP23LqxNq9atk7gsystem(a, (*a).last);
	}
	goto LA11_;
	LA17_: ;
	{
		NIM_BOOL T20_;
		T20_ = (NIM_BOOL)0;
		T20_ = ((*(*(*t)).link[(((NI) 0))- 0]).level < (NI)((*(*t)).level - ((NI) 1)));
		if (T20_) goto LA21_;
		T20_ = ((*(*(*t)).link[(((NI) 1))- 0]).level < (NI)((*(*t)).level - ((NI) 1)));
		LA21_: ;
		if (!T20_) goto LA22_;
		(*(*t)).level -= ((NI) 1);
		{
			if (!((*(*t)).level < (*(*(*t)).link[(((NI) 1))- 0]).level)) goto LA26_;
			(*(*(*t)).link[(((NI) 1))- 0]).level = (*(*t)).level;
		}
		LA26_: ;
		skew__NJo8pxZdXEAIa7wkHls9cOw(t);
		skew__NJo8pxZdXEAIa7wkHls9cOw(&(*(*t)).link[(((NI) 1))- 0]);
		skew__NJo8pxZdXEAIa7wkHls9cOw(&(*(*(*t)).link[(((NI) 1))- 0]).link[(((NI) 1))- 0]);
		split__NJo8pxZdXEAIa7wkHls9cOw_2(t);
		split__NJo8pxZdXEAIa7wkHls9cOw_2(&(*(*t)).link[(((NI) 1))- 0]);
	}
	goto LA11_;
	LA22_: ;
	LA11_: ;
	}BeforeRet_: ;
}
static N_INLINE(void, decCurrMem__JPUl8p4328ZL9bXnEtbaZcA_2system)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, NI bytes) {
	(*a).maxMem = (((*a).maxMem >= (*a).currMem) ? (*a).maxMem : (*a).currMem);
	(*a).currMem -= bytes;
}
N_LIB_PRIVATE N_NIMCALL(void, freeMem__exTX6tpBCa9cy9brTz9cYZsNA)(void* p) {
	NI nswitchDescrPos;
	tyObject_NSwitchBlock__B9aTrG3ZApNTF4lzdqtKa3A* nswitchBlock;
	nswitchDescrPos = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (p)), ((NI) 24));
	nswitchBlock = ((tyObject_NSwitchBlock__B9aTrG3ZApNTF4lzdqtKa3A*) (nswitchDescrPos));
	deallocate__cCpQq9acYKGygEEy0GZFtug((*nswitchBlock).heapMirror, (*nswitchBlock).heap, (*nswitchBlock).realSize);
}
N_LIB_PRIVATE N_NIMCALL(void, osDeallocPages__zINr2Agc4d9cAk9aUvp6bG7w)(void* p, NI size) {
	freeMem__exTX6tpBCa9cy9brTz9cYZsNA(p);
}
N_LIB_PRIVATE N_NIMCALL(void, freeHugeChunk__IPvsryqksLyNxxag3IQr2g_2)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c) {
	NI size;
	tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* T1_;
	NI T2_;
	size = (*c).Sup.size;
	T1_ = (tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*)0;
	T1_ = &c->Sup;
	T2_ = (NI)0;
	T2_ = pageIndex__D8ZW0myZd7Fa6ncDvW9a9cMQsystem(T1_);
	excl__9cAWqpgI1NbhhZ3cVPHhI5A((&(*a).chunkStarts), T2_);
	decCurrMem__JPUl8p4328ZL9bXnEtbaZcA_2system(a, size);
	osDeallocPages__zINr2Agc4d9cAk9aUvp6bG7w(((void*) (c)), size);
}
N_LIB_PRIVATE N_NIMCALL(void, rawDealloc__K7uQ6aTKvW6OnOV8EMoNNQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, void* p) {
	tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* c;
	c = pageAddr__JNTkgd9cRu9a9bEvn7wS0U8EAsystem(p);
	{
		NIM_BOOL T3_;
		tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* c_2;
		NI s;
		tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ* f;
		T3_ = (NIM_BOOL)0;
		T3_ = isSmallChunk__2Ih49c9ai3KYJhUe3C8xg07wsystem(c);
		if (!T3_) goto LA4_;
		c_2 = ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) (c));
		s = (*c_2).Sup.size;
		(*a).occ -= s;
		f = ((tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ*) (p));
		(*f).zeroField = ((NI) 0);
		(*f).next = (*c_2).freeList;
		(*c_2).freeList = f;
		{
			if (!((*c_2).free < s)) goto LA8_;
			listAdd__G9cCXZ1ju0DgzqrqBg9acaKQsystem(&(*a).freeSmallChunks[((NI)(s / ((NI) 16)))- 0], c_2);
			(*c_2).free += s;
		}
		goto LA6_;
		LA8_: ;
		{
			(*c_2).free += s;
			{
				if (!((*c_2).free == ((NI) 4032))) goto LA13_;
				listRemove__G9cCXZ1ju0DgzqrqBg9acaKQ_2system(&(*a).freeSmallChunks[((NI)(s / ((NI) 16)))- 0], c_2);
				(*c_2).Sup.size = ((NI) 4096);
				freeBigChunk__IPvsryqksLyNxxag3IQr2g(a, ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (c_2)));
			}
			LA13_: ;
		}
		LA6_: ;
	}
	goto LA1_;
	LA4_: ;
	{
		tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c_3;
		c_3 = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (c));
		(*a).occ -= (*c_3).Sup.size;
		(*a).deleted = getBottom__3mqnVBLDtYhZizqw9bvHELA(a);
		del__Io5JDKCS5u26IEWw0J53hQ(a, &(*a).root, ((NI) (ptrdiff_t) ((*c_3).data)));
		{
			if (!(((NI) 1056964609) <= (*c_3).Sup.size)) goto LA18_;
			freeHugeChunk__IPvsryqksLyNxxag3IQr2g_2(a, c_3);
		}
		goto LA16_;
		LA18_: ;
		{
			freeBigChunk__IPvsryqksLyNxxag3IQr2g(a, c_3);
		}
		LA16_: ;
	}
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, dealloc__Jg1OaY9ahkT3MBopLAXRSGw)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* allocator, void* p) {
	void* x;
	NI T1_;
	T1_ = (NI)0;
	T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (p)), ((NI) 16));
	x = ((void*) (T1_));
	rawDealloc__K7uQ6aTKvW6OnOV8EMoNNQ(allocator, x);
}
N_LIB_PRIVATE N_NOCONV(void, deallocImpl__SAtZpVrJ3o5FJvSdLQe9auA)(void* p) {
	dealloc__Jg1OaY9ahkT3MBopLAXRSGw((&gch__IcYaEuuWivYAS86vFMTS3Q.region), p);
}
N_LIB_PRIVATE N_NOCONV(void, dealloc)(void* p) {
	deallocImpl__SAtZpVrJ3o5FJvSdLQe9auA(p);
}
static N_INLINE(void, add__W9aRfhn7HvnQTPAb8ajo1uwsystem)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
	{
		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
		void* T5_;
		if (!((*s).cap <= (*s).len)) goto LA3_;
		(*s).cap = (NI)((NI)((*s).cap * ((NI) 3)) / ((NI) 2));
		T5_ = (void*)0;
		T5_ = allocImpl__KzdpcuLT9aef9bsiSHlIu9aFg_2(((NI) ((NI)((*s).cap * ((NI) 8)))));
		d = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g**) (T5_));
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) (d)), ((void*) ((*s).d)), ((NI) ((NI)((*s).len * ((NI) 8)))));
		dealloc(((void*) ((*s).d)));
		(*s).d = d;
	}
	LA3_: ;
	(*s).d[(*s).len] = c;
	(*s).len += ((NI) 1);
}
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
	{
		if (!((NI)((*c).refcount & ((NI) 4)) == ((NI) 0))) goto LA3_;
		(*c).refcount = (NI)((*c).refcount | ((NI) 4));
		add__W9aRfhn7HvnQTPAb8ajo1uwsystem(s, c);
	}
	LA3_: ;
}
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
	addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
}
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
	(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8));
		if (!T3_) goto LA4_;
		rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
	}
	LA4_: ;
}
static N_INLINE(NI, nextTry__46i6pOTgUeAywXs7rPqurwsystem)(NI h, NI maxHash) {
	NI result;
	result = (NI)0;
	result = (NI)((NI)((NI)(((NI) 5) * h) + ((NI) 1)) & maxHash);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, cellSetRawInsert__a1sVKTgcDTTmcnBQqk9bNdA)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* t, tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data, tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* desc) {
	NI h;
	h = (NI)(((NI) ((*desc).key)) & (*t).max);
	{
		while (1) {
			if (!!((data[h] == ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) NIM_NIL)))) goto LA2;
			h = nextTry__46i6pOTgUeAywXs7rPqurwsystem(h, (*t).max);
		} LA2: ;
	}
	data[h] = desc;
}
N_LIB_PRIVATE N_NIMCALL(void, cellSetEnlarge__9bhPFIGFYIneoHljx8OXvqA)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* t) {
	NI oldMax;
	tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** n;
	void* T1_;
	oldMax = (*t).max;
	(*t).max = (NI)((NI)((NI)((*t).max + ((NI) 1)) * ((NI) 2)) - ((NI) 1));
	T1_ = (void*)0;
	T1_ = alloc0Impl__KzdpcuLT9aef9bsiSHlIu9aFg(((NI) ((NI)((NI)((*t).max + ((NI) 1)) * ((NI) 8)))));
	n = ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg**) (T1_));
	{
		NI i;
		NI res;
		i = (NI)0;
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= oldMax)) goto LA4;
				i = res;
				{
					if (!!(((*t).data[i] == ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) NIM_NIL)))) goto LA7_;
					cellSetRawInsert__a1sVKTgcDTTmcnBQqk9bNdA((&(*t)), n, (*t).data[i]);
				}
				LA7_: ;
				res += ((NI) 1);
			} LA4: ;
		}
	}
	dealloc(((void*) ((*t).data)));
	(*t).data = n;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*, cellSetPut__6bBl0A4vUXoRvva9bRmnwSQ)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* t, NU key) {
	tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* result;
	NI h;
	void* T19_;
{	result = (tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*)0;
	h = (NI)(((NI) (key)) & (*t).max);
	{
		while (1) {
			tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* x;
			x = (*t).data[h];
			{
				if (!(x == ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) NIM_NIL))) goto LA5_;
				goto LA1;
			}
			LA5_: ;
			{
				if (!((*x).key == key)) goto LA9_;
				result = x;
				goto BeforeRet_;
			}
			LA9_: ;
			h = nextTry__46i6pOTgUeAywXs7rPqurwsystem(h, (*t).max);
		}
	} LA1: ;
	{
		NIM_BOOL T13_;
		T13_ = (NIM_BOOL)0;
		T13_ = ((NI)((NI)((*t).max + ((NI) 1)) * ((NI) 2)) < (NI)((*t).counter * ((NI) 3)));
		if (T13_) goto LA14_;
		T13_ = ((NI)((NI)((*t).max + ((NI) 1)) - (*t).counter) < ((NI) 4));
		LA14_: ;
		if (!T13_) goto LA15_;
		cellSetEnlarge__9bhPFIGFYIneoHljx8OXvqA(t);
	}
	LA15_: ;
	(*t).counter += ((NI) 1);
	h = (NI)(((NI) (key)) & (*t).max);
	{
		while (1) {
			if (!!(((*t).data[h] == ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) NIM_NIL)))) goto LA18;
			h = nextTry__46i6pOTgUeAywXs7rPqurwsystem(h, (*t).max);
		} LA18: ;
	}
	T19_ = (void*)0;
	T19_ = alloc0Impl__KzdpcuLT9aef9bsiSHlIu9aFg(((NI) 48));
	result = ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) (T19_));
	(*result).next = (*t).head;
	(*result).key = key;
	(*t).head = result;
	(*t).data[h] = result;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, incl__azHo9bY5qs9b2EZ9cSse4fmZA)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell) {
	NU u;
	tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* t;
	u = ((NU) (ptrdiff_t) (cell));
	t = cellSetPut__6bBl0A4vUXoRvva9bRmnwSQ(s, (NU)((NU64)(u) >> (NU64)(((NI) 12))));
	u = (NU)((NU64)((NU)((NU64)(u) % (NU64)(((NU) 4096)))) / (NU64)(((NU) 16)));
	(*t).bits[((NU)((NU64)(u) >> (NU64)(((NI) 6))))- 0] = (NI)((*t).bits[((NU)((NU64)(u) >> (NU64)(((NI) 6))))- 0] | (NI)((NU64)(((NI) 1)) << (NU64)((NU)(u & ((NU) 63)))));
}
static N_INLINE(void*, cellToUsr__oh8PwD5vOIN9awo20FR9c8qAsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell) {
	void* result;
	NI T1_;
	result = (void*)0;
	T1_ = (NI)0;
	T1_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) (cell)), ((NI) 16));
	result = ((void*) (T1_));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NU, getDiscriminant__7LnhHf25BuMRNdnPtDbjcw)(void* aa, TNimNode* n) {
	NU result;
	NU d;
	NU a;
{	result = (NU)0;
	d = (NU)0;
	a = ((NU) (ptrdiff_t) (aa));
	switch ((*(*n).typ).size) {
	case ((NI) 1):
	{
		d = ((NU) ((*((NU8*) ((NU)((NU64)(a) + (NU64)(((NU) ((*n).offset)))))))));
	}
	break;
	case ((NI) 2):
	{
		d = ((NU) ((*((NU16*) ((NU)((NU64)(a) + (NU64)(((NU) ((*n).offset)))))))));
	}
	break;
	case ((NI) 4):
	{
		d = ((NU) ((*((NU32*) ((NU)((NU64)(a) + (NU64)(((NU) ((*n).offset)))))))));
	}
	break;
	case ((NI) 8):
	{
		d = ((NU) ((*((NU64*) ((NU)((NU64)(a) + (NU64)(((NU) ((*n).offset)))))))));
	}
	break;
	default:
	{
		d = ((NU) 0);
	}
	break;
	}
	result = d;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(TNimNode*, selectBranch__2us2RQByTh81i9aW4EEgfmw)(void* aa, TNimNode* n) {
	TNimNode* result;
	NU discr;
	result = (TNimNode*)0;
	discr = getDiscriminant__7LnhHf25BuMRNdnPtDbjcw(aa, n);
	{
		if (!((NU64)(discr) < (NU64)(((NU) ((*n).len))))) goto LA3_;
		result = (*n).sons[(discr)- 0];
		{
			if (!(result == ((TNimNode*) NIM_NIL))) goto LA7_;
			result = (*n).sons[((*n).len)- 0];
		}
		LA7_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		result = (*n).sons[((*n).len)- 0];
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, forAllSlotsAux__ld9axHPi9bpxevVrdgKiDF5Q)(void* dest, TNimNode* n, tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ op) {
	NI d;
	d = ((NI) (ptrdiff_t) (dest));
	switch ((*n).kind) {
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 1):
	{
		NI T2_;
		T2_ = (NI)0;
		T2_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, (*n).offset);
		forAllChildrenAux__3hKpU9c72lqUqbltnsyFjRw(((void*) (T2_)), (*n).typ, op);
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 2):
	{
		{
			NI i;
			NI colontmp_;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = (NI)((*n).len - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					if (!(res <= colontmp_)) goto LA6;
					i = res;
					{
						if (!((*(*n).sons[(i)- 0]).kind == ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 1))) goto LA9_;
						{
							NI T15_;
							if (!((289406976 &((NU64)1<<((NU)((*(*(*n).sons[(i)- 0]).typ).kind)&63U)))!=0)) goto LA13_;
							T15_ = (NI)0;
							T15_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, (*(*n).sons[(i)- 0]).offset);
							doOperation__sl6eqhLncFedgwzv6TlMVw((*((void**) (T15_))), op);
						}
						goto LA11_;
						LA13_: ;
						{
							NI T17_;
							T17_ = (NI)0;
							T17_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, (*(*n).sons[(i)- 0]).offset);
							forAllChildrenAux__3hKpU9c72lqUqbltnsyFjRw(((void*) (T17_)), (*(*n).sons[(i)- 0]).typ, op);
						}
						LA11_: ;
					}
					goto LA7_;
					LA9_: ;
					{
						forAllSlotsAux__ld9axHPi9bpxevVrdgKiDF5Q(dest, (*n).sons[(i)- 0], op);
					}
					LA7_: ;
					res += ((NI) 1);
				} LA6: ;
			}
		}
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 3):
	{
		TNimNode* m;
		m = selectBranch__2us2RQByTh81i9aW4EEgfmw(dest, n);
		{
			if (!!((m == ((TNimNode*) NIM_NIL)))) goto LA22_;
			forAllSlotsAux__ld9axHPi9bpxevVrdgKiDF5Q(dest, m, op);
		}
		LA22_: ;
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 0):
	{
	}
	break;
	}
}
static N_INLINE(NI, starpercent___dgYAo7RfdUVVpvkfKDym8w_3system)(NI x, NI y) {
	NI result;
	result = (NI)0;
	result = ((NI) ((NU)((NU64)(((NU) (x))) * (NU64)(((NU) (y))))));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, forAllChildrenAux__3hKpU9c72lqUqbltnsyFjRw)(void* dest, TNimType* mt, tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ op) {
	NI d;
{	d = ((NI) (ptrdiff_t) (dest));
	{
		if (!(dest == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!!((((*mt).flags &((NU8)1<<((NU)(((tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ) 0))&7U)))!=0))) goto LA7_;
		switch ((*mt).kind) {
		case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 22):
		case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 28):
		case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 24):
		{
			doOperation__sl6eqhLncFedgwzv6TlMVw((*((void**) (d))), op);
		}
		break;
		case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 17):
		case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 18):
		{
			forAllSlotsAux__ld9axHPi9bpxevVrdgKiDF5Q(dest, (*mt).node, op);
		}
		break;
		case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 16):
		case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 4):
		case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 27):
		{
			{
				NI i;
				NI colontmp_;
				NI res;
				i = (NI)0;
				colontmp_ = (NI)0;
				colontmp_ = (NI)((NI)((*mt).size / (*(*mt).base).size) - ((NI) 1));
				res = ((NI) 0);
				{
					while (1) {
						NI T15_;
						NI T16_;
						if (!(res <= colontmp_)) goto LA14;
						i = res;
						T15_ = (NI)0;
						T15_ = starpercent___dgYAo7RfdUVVpvkfKDym8w_3system(i, (*(*mt).base).size);
						T16_ = (NI)0;
						T16_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, T15_);
						forAllChildrenAux__3hKpU9c72lqUqbltnsyFjRw(((void*) (T16_)), (*mt).base, op);
						res += ((NI) 1);
					} LA14: ;
				}
			}
		}
		break;
		default:
		{
		}
		break;
		}
	}
	LA7_: ;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(NI, align__vzThvqZajaR9ct9cQ7SOy1tQ)(NI address, NI alignment) {
	NI result;
	result = (NI)0;
	{
		if (!(alignment == ((NI) 0))) goto LA3_;
		result = address;
	}
	goto LA1_;
	LA3_: ;
	{
		result = (NI)((NI)(address + (NI)(alignment - ((NI) 1))) & (NI)((NU64) ~((NI)(alignment - ((NI) 1)))));
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, forAllChildren__XCvXrotwhq0gugZtuZTNPQ)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell, tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ op) {
	tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
	marker = (*(*cell).typ).marker;
	{
		void* T5_;
		if (!!((marker == NIM_NIL))) goto LA3_;
		T5_ = (void*)0;
		T5_ = cellToUsr__oh8PwD5vOIN9awo20FR9c8qAsystem(cell);
		marker(T5_, ((NI) (op)));
	}
	goto LA1_;
	LA3_: ;
	{
		switch ((*(*cell).typ).kind) {
		case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 22):
		{
			void* T8_;
			T8_ = (void*)0;
			T8_ = cellToUsr__oh8PwD5vOIN9awo20FR9c8qAsystem(cell);
			forAllChildrenAux__3hKpU9c72lqUqbltnsyFjRw(T8_, (*(*cell).typ).base, op);
		}
		break;
		case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 24):
		{
			NI d;
			void* T10_;
			TGenericSeq* s;
			T10_ = (void*)0;
			T10_ = cellToUsr__oh8PwD5vOIN9awo20FR9c8qAsystem(cell);
			d = ((NI) (ptrdiff_t) (T10_));
			s = ((TGenericSeq*) (d));
			{
				if (!!((s == ((TGenericSeq*) NIM_NIL)))) goto LA13_;
				{
					NI i;
					NI colontmp_;
					NI res;
					i = (NI)0;
					colontmp_ = (NI)0;
					colontmp_ = (NI)((*s).len - ((NI) 1));
					res = ((NI) 0);
					{
						while (1) {
							NI T18_;
							NI T19_;
							NI T20_;
							NI T21_;
							if (!(res <= colontmp_)) goto LA17;
							i = res;
							T18_ = (NI)0;
							T18_ = align__vzThvqZajaR9ct9cQ7SOy1tQ(((NI) 16), (*(*(*cell).typ).base).align);
							T19_ = (NI)0;
							T19_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, T18_);
							T20_ = (NI)0;
							T20_ = starpercent___dgYAo7RfdUVVpvkfKDym8w_3system(i, (*(*(*cell).typ).base).size);
							T21_ = (NI)0;
							T21_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(T19_, T20_);
							forAllChildrenAux__3hKpU9c72lqUqbltnsyFjRw(((void*) (T21_)), (*(*cell).typ).base, op);
							res += ((NI) 1);
						} LA17: ;
					}
				}
			}
			LA13_: ;
		}
		break;
		default:
		{
		}
		break;
		}
	}
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*, cellSetGet__ld9aj9akVqWcvwRCEMEk1MnQ)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* t, NU key) {
	tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* result;
	NI h;
{	result = (tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*)0;
	h = (NI)(((NI) (key)) & (*t).max);
	{
		while (1) {
			if (!!(((*t).data[h] == ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) NIM_NIL)))) goto LA2;
			{
				if (!((*(*t).data[h]).key == key)) goto LA5_;
				result = (*t).data[h];
				goto BeforeRet_;
			}
			LA5_: ;
			h = nextTry__46i6pOTgUeAywXs7rPqurwsystem(h, (*t).max);
		} LA2: ;
	}
	result = ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) NIM_NIL);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl__qhy8GaXaPs9bLqr6V8CV9cFg)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell) {
	NIM_BOOL result;
	NU u;
	tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* t;
	result = (NIM_BOOL)0;
	u = ((NU) (ptrdiff_t) (cell));
	t = cellSetGet__ld9aj9akVqWcvwRCEMEk1MnQ((&(*s)), (NU)((NU64)(u) >> (NU64)(((NI) 12))));
	{
		if (!!((t == ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) NIM_NIL)))) goto LA3_;
		u = (NU)((NU64)((NU)((NU64)(u) % (NU64)(((NU) 4096)))) / (NU64)(((NU) 16)));
		result = !(((NI)((*t).bits[((NU)((NU64)(u) >> (NU64)(((NI) 6))))- 0] & (NI)((NU64)(((NI) 1)) << (NU64)((NU)(u & ((NU) 63))))) == ((NI) 0)));
		{
			if (!!(result)) goto LA7_;
			(*t).bits[((NU)((NU64)(u) >> (NU64)(((NI) 6))))- 0] = (NI)((*t).bits[((NU)((NU64)(u) >> (NU64)(((NI) 6))))- 0] | (NI)((NU64)(((NI) 1)) << (NU64)((NU)(u & ((NU) 63)))));
		}
		LA7_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		incl__azHo9bY5qs9b2EZ9cSse4fmZA(s, cell);
		result = NIM_FALSE;
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, markS__SOJE9bROCOc8iabVsKM64Sg)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
	incl__azHo9bY5qs9b2EZ9cSse4fmZA((&(*gch).marked), c);
	forAllChildren__XCvXrotwhq0gugZtuZTNPQ(c, ((tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ) 1));
	{
		while (1) {
			tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* d;
			if (!(((NI) 0) < (*gch).tempStack.len)) goto LA2;
			(*gch).tempStack.len -= ((NI) 1);
			d = (*gch).tempStack.d[(*gch).tempStack.len];
			{
				NIM_BOOL T5_;
				T5_ = (NIM_BOOL)0;
				T5_ = containsOrIncl__qhy8GaXaPs9bLqr6V8CV9cFg((&(*gch).marked), d);
				if (!!(T5_)) goto LA6_;
				forAllChildren__XCvXrotwhq0gugZtuZTNPQ(d, ((tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ) 1));
			}
			LA6_: ;
		} LA2: ;
	}
}
N_LIB_PRIVATE N_NIMCALL(void, doOperation__sl6eqhLncFedgwzv6TlMVw)(void* p, tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ op) {
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c;
{	{
		if (!(p == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	c = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
	switch (op) {
	case ((tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ) 2):
	{
		decRef__AT1eRuflKWyTTBdLjEDZbgsystem(c);
	}
	break;
	case ((tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ) 3):
	{
		add__W9aRfhn7HvnQTPAb8ajo1uwsystem((&gch__IcYaEuuWivYAS86vFMTS3Q.tempStack), c);
	}
	break;
	case ((tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ) 0):
	{
		markS__SOJE9bROCOc8iabVsKM64Sg((&gch__IcYaEuuWivYAS86vFMTS3Q), c);
	}
	break;
	case ((tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ) 1):
	{
		add__W9aRfhn7HvnQTPAb8ajo1uwsystem((&gch__IcYaEuuWivYAS86vFMTS3Q.tempStack), c);
	}
	break;
	}
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op) {
	doOperation__sl6eqhLncFedgwzv6TlMVw(d, ((tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ) (op)));
}
static N_NIMCALL(void, Marker_tyRef__vU9aO9cTqOMn6CBzhV8rX7Sw)(void* p, NI op) {
	Exception* a;
	a = (Exception*)p;
	nimGCvisit((void*)(*a).parent, op);
	nimGCvisit((void*)(*a).message, op);
	nimGCvisit((void*)(*a).trace, op);
	nimGCvisit((void*)(*a).up, op);
}
static N_NIMCALL(void, TM__Q5wkpxktOdTGvlSRo9bzt9aw_4)(void) {
	nimGCvisit((void*)currException__9bVPeDJlYTi9bQApZpfH8wjg, 0);
}
N_LIB_PRIVATE N_NIMCALL(void, nimRegisterThreadLocalMarker)(tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ markerProc) {
	{
		if (!(threadLocalMarkersLen <= ((NI) 3499))) goto LA3_;
		threadLocalMarkers[(threadLocalMarkersLen)- 0] = markerProc;
		threadLocalMarkersLen += ((NI) 1);
	}
	goto LA1_;
	LA3_: ;
	{
		rawWrite(stderr, "[GC] cannot register thread local variable; too many thread loc"
"al variables");
		exit(((NI) 1));
	}
	LA1_: ;
}
static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
	(*s).prev = excHandler__rqLlY5bs9atDw2OXYqJEn5g;
	excHandler__rqLlY5bs9atDw2OXYqJEn5g = s;
}
static N_INLINE(NI, getOccupiedMem__o7kGt4Ciqh9aCBinZc9bV9cugsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a) {
	NI result;
	result = (NI)0;
	result = (*a).occ;
	return result;
}
N_LIB_PRIVATE N_NOINLINE(NI, stackSize__VOU3z9bbtHMYBiCVB5tMX1g)(tyObject_GcStack__7fytPA5bBsob6See21YMRA* stack) {
	NI result;
	void* volatile pos;
	result = (NI)0;
	pos = ((void*) ((&pos)));
	{
		if (!!((pos == NIM_NIL))) goto LA3_;
		result = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) ((*stack).bottom)), ((NI) (ptrdiff_t) (pos)));
	}
	goto LA1_;
	LA3_: ;
	{
		result = ((NI) 0);
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NOINLINE(NI, stackSize__0yw8cp0rOgL8i0O5kzzb0g)(void) {
	NI result;
	result = (NI)0;
	result = ((NI) 0);
	{
		tyObject_GcStack__7fytPA5bBsob6See21YMRA* stack;
		NI T2_;
		stack = (tyObject_GcStack__7fytPA5bBsob6See21YMRA*)0;
		stack = (&gch__IcYaEuuWivYAS86vFMTS3Q.stack);
		T2_ = (NI)0;
		T2_ = stackSize__VOU3z9bbtHMYBiCVB5tMX1g(stack);
		result = (NI)(result + T2_);
	}
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, lowGauge__vu9a10GqvNeXA9alSqdG48cw)(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* n) {
	NI result;
	tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* it;
	result = (NI)0;
	it = n;
	{
		while (1) {
			if (!!(((*it).link[(((NI) 0))- 0] == it))) goto LA2;
			result = (*it).key;
			it = (*it).link[(((NI) 0))- 0];
		} LA2: ;
	}
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, highGauge__vu9a10GqvNeXA9alSqdG48cw_2)(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* n) {
	NI result;
	tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* it;
	result = (NI)0;
	result = ((NI) -1);
	it = n;
	{
		while (1) {
			if (!!(((*it).link[(((NI) 0))- 0] == it))) goto LA2;
			result = (*it).upperBound;
			it = (*it).link[(((NI) 1))- 0];
		} LA2: ;
	}
	return result;
}
static N_INLINE(void, prepareForInteriorPointerChecking__ot9aebHKDFT2OPbEVY47F9bQsystem)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a) {
	(*a).minLargeObj = lowGauge__vu9a10GqvNeXA9alSqdG48cw((*a).root);
	(*a).maxLargeObj = highGauge__vu9a10GqvNeXA9alSqdG48cw_2((*a).root);
}
N_LIB_PRIVATE N_NIMCALL(void, setPosition__Fnam3HOmbq2ymF0tDBas5Q)(tyObject_GcStack__7fytPA5bBsob6See21YMRA* stack, void* position) {
}
N_LIB_PRIVATE N_NIMCALL(tyObject_GcStack__7fytPA5bBsob6See21YMRA*, getActiveStack__muO7WGG730PTJWpoUnluHg)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	tyObject_GcStack__7fytPA5bBsob6See21YMRA* result;
	result = (tyObject_GcStack__7fytPA5bBsob6See21YMRA*)0;
	result = (&(*gch).stack);
	return result;
}
static N_INLINE(NI, percentpercent___dgYAo7RfdUVVpvkfKDym8w_4system)(NI x, NI y) {
	NI result;
	result = (NI)0;
	result = ((NI) ((NU)((NU64)(((NU) (x))) % (NU64)(((NU) (y))))));
	return result;
}
static N_INLINE(NIM_BOOL, lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system)(NI x, NI y) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = ((NU64)(((NU) (x))) <= (NU64)(((NU) (y))));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*, inRange__BIq3l3oBvrBeYSWFT5iXiw)(tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root, NI key) {
	tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* result;
	tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* it;
{	result = (tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*)0;
	it = root;
	{
		while (1) {
			NIM_BOOL T9_;
			if (!!(((*it).link[(((NI) 0))- 0] == it))) goto LA2;
			{
				NIM_BOOL T5_;
				T5_ = (NIM_BOOL)0;
				T5_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system((*it).key, key);
				if (!(T5_)) goto LA6_;
				T5_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(key, (*it).upperBound);
				LA6_: ;
				if (!T5_) goto LA7_;
				result = it;
				goto BeforeRet_;
			}
			LA7_: ;
			T9_ = (NIM_BOOL)0;
			T9_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*it).key, key);
			it = (*it).link[(T9_)- 0];
		} LA2: ;
	}
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void*, interiorAllocatedPtr__NuzKjA4SX9afyji9cHHIuKpQ)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a, void* p) {
	void* result;
	result = (void*)0;
	{
		NIM_BOOL T3_;
		tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* c;
		T3_ = (NIM_BOOL)0;
		T3_ = isAccessible__EZspgz843pJ9adnD0ZpJO6wsystem(a, p);
		if (!T3_) goto LA4_;
		c = pageAddr__JNTkgd9cRu9a9bEvn7wS0U8EAsystem(p);
		{
			NIM_BOOL T8_;
			T8_ = (NIM_BOOL)0;
			T8_ = chunkUnused__2Ih49c9ai3KYJhUe3C8xg07w_2system(c);
			if (!!(T8_)) goto LA9_;
			{
				NIM_BOOL T13_;
				tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* c_2;
				NI offset;
				T13_ = (NIM_BOOL)0;
				T13_ = isSmallChunk__2Ih49c9ai3KYJhUe3C8xg07wsystem(c);
				if (!T13_) goto LA14_;
				c_2 = ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) (c));
				offset = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((NI)(((NI) (ptrdiff_t) (p)) & ((NI) 4095)), ((NI) 64));
				{
					NIM_BOOL T18_;
					tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ* d;
					NI T21_;
					NI T22_;
					NI T23_;
					T18_ = (NIM_BOOL)0;
					T18_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(offset, (*c_2).acc);
					if (!T18_) goto LA19_;
					T21_ = (NI)0;
					T21_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) ((*c_2).data)), offset);
					T22_ = (NI)0;
					T22_ = percentpercent___dgYAo7RfdUVVpvkfKDym8w_4system(offset, (*c_2).Sup.size);
					T23_ = (NI)0;
					T23_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(T21_, T22_);
					d = ((tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ*) (T23_));
					{
						NIM_BOOL T26_;
						T26_ = (NIM_BOOL)0;
						T26_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(((NI) 1), (*d).zeroField);
						if (!T26_) goto LA27_;
						result = ((void*) (d));
					}
					LA27_: ;
				}
				LA19_: ;
			}
			goto LA11_;
			LA14_: ;
			{
				tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c_3;
				NU8* d_2;
				c_3 = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (c));
				d_2 = (*c_3).data;
				{
					NIM_BOOL T32_;
					T32_ = (NIM_BOOL)0;
					T32_ = (((void*) (d_2)) <= p);
					if (!(T32_)) goto LA33_;
					T32_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(((NI) 1), (*((tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ*) (d_2))).zeroField);
					LA33_: ;
					if (!T32_) goto LA34_;
					result = ((void*) (d_2));
				}
				LA34_: ;
			}
			LA11_: ;
		}
		LA9_: ;
	}
	goto LA1_;
	LA4_: ;
	{
		NI q;
		q = ((NI) (ptrdiff_t) (p));
		{
			NIM_BOOL T39_;
			tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* avlNode;
			T39_ = (NIM_BOOL)0;
			T39_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system((*a).minLargeObj, q);
			if (!(T39_)) goto LA40_;
			T39_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(q, (*a).maxLargeObj);
			LA40_: ;
			if (!T39_) goto LA41_;
			avlNode = inRange__BIq3l3oBvrBeYSWFT5iXiw((*a).root, q);
			{
				void* k;
				tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c_4;
				tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* T47_;
				if (!!((avlNode == ((tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw*) NIM_NIL)))) goto LA45_;
				k = ((void*) ((*avlNode).key));
				T47_ = (tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*)0;
				T47_ = pageAddr__JNTkgd9cRu9a9bEvn7wS0U8EAsystem(k);
				c_4 = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (T47_));
				{
					NIM_BOOL T50_;
					T50_ = (NIM_BOOL)0;
					T50_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(((NI) 1), (*((tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ*) (k))).zeroField);
					if (!T50_) goto LA51_;
					result = k;
				}
				LA51_: ;
			}
			LA45_: ;
		}
		LA41_: ;
	}
	LA1_: ;
	return result;
}
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
	(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));
}
static N_INLINE(void, gcMark__x5SbLN3uVBCsEa67N20nPwsystem)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch, void* p) {
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell;
	NI c;
	cell = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
	c = ((NI) (ptrdiff_t) (cell));
	{
		NIM_BOOL T3_;
		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* objStart;
		void* T6_;
		T3_ = (NIM_BOOL)0;
		T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(((NI) 4096), c);
		if (!T3_) goto LA4_;
		T6_ = (void*)0;
		T6_ = interiorAllocatedPtr__NuzKjA4SX9afyji9cHHIuKpQ((&(*gch).region), ((void*) (cell)));
		objStart = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T6_));
		{
			if (!!((objStart == ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) NIM_NIL)))) goto LA9_;
			incRef__AT1eRuflKWyTTBdLjEDZbg_3system(objStart);
			add__W9aRfhn7HvnQTPAb8ajo1uwsystem((&(*gch).decStack), objStart);
		}
		LA9_: ;
	}
	LA4_: ;
}
CLANG_NO_SANITIZE_ADDRESS N_LIB_PRIVATE void markStackAndRegisters__U6T7JWtDLrWhtmhXSoy9a6g(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	jmp_buf registers;
	tyObject_GcStack__7fytPA5bBsob6See21YMRA* T1_;
	T1_ = (tyObject_GcStack__7fytPA5bBsob6See21YMRA*)0;
	T1_ = getActiveStack__muO7WGG730PTJWpoUnluHg(gch);
	setPosition__Fnam3HOmbq2ymF0tDBas5Q(T1_, ((void*) ((&registers))));
	{
		int T4_;
		T4_ = (int)0;
		T4_ = setjmp(registers);
		if (!(T4_ == ((NI32) 0))) goto LA5_;
		{
			tyObject_GcStack__7fytPA5bBsob6See21YMRA* stack;
			NI max;
			NI sp;
			stack = (tyObject_GcStack__7fytPA5bBsob6See21YMRA*)0;
			stack = (&(*gch).stack);
			max = ((NI) (ptrdiff_t) ((*stack).bottom));
			sp = ((NI) (ptrdiff_t) ((&registers)));
			sp = (NI)(sp & ((NI) -8));
			{
				while (1) {
					NIM_BOOL T10_;
					T10_ = (NIM_BOOL)0;
					T10_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(sp, (NI)(max - ((NI) 64)));
					if (!T10_) goto LA9;
					gcMark__x5SbLN3uVBCsEa67N20nPwsystem(gch, ((void**) (sp))[(((NI) 0))- 0]);
					gcMark__x5SbLN3uVBCsEa67N20nPwsystem(gch, ((void**) (sp))[(((NI) 1))- 0]);
					gcMark__x5SbLN3uVBCsEa67N20nPwsystem(gch, ((void**) (sp))[(((NI) 2))- 0]);
					gcMark__x5SbLN3uVBCsEa67N20nPwsystem(gch, ((void**) (sp))[(((NI) 3))- 0]);
					gcMark__x5SbLN3uVBCsEa67N20nPwsystem(gch, ((void**) (sp))[(((NI) 4))- 0]);
					gcMark__x5SbLN3uVBCsEa67N20nPwsystem(gch, ((void**) (sp))[(((NI) 5))- 0]);
					gcMark__x5SbLN3uVBCsEa67N20nPwsystem(gch, ((void**) (sp))[(((NI) 6))- 0]);
					gcMark__x5SbLN3uVBCsEa67N20nPwsystem(gch, ((void**) (sp))[(((NI) 7))- 0]);
					sp = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(sp, ((NI) 64));
				} LA9: ;
			}
			{
				while (1) {
					NIM_BOOL T13_;
					T13_ = (NIM_BOOL)0;
					T13_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(sp, max);
					if (!T13_) goto LA12;
					gcMark__x5SbLN3uVBCsEa67N20nPwsystem(gch, (*((void**) (sp))));
					sp = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(sp, ((NI) 8));
				} LA12: ;
			}
		}
	}
	LA5_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, prepareDealloc__fvhnFro5wEfzy879alizcUQ)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell) {
	TNimType* t;
	t = (*cell).typ;
	{
		void* T5_;
		if (!!(((*t).finalizer == NIM_NIL))) goto LA3_;
		gch__IcYaEuuWivYAS86vFMTS3Q.recGcLock += ((NI) 1);
		T5_ = (void*)0;
		T5_ = cellToUsr__oh8PwD5vOIN9awo20FR9c8qAsystem(cell);
		((Finalizer) ((*t).finalizer))(T5_);
		gch__IcYaEuuWivYAS86vFMTS3Q.recGcLock -= ((NI) 1);
	}
	LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, collectZCT__EN6T32AMm3va9bsrdxtF0cg)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	NIM_BOOL result;
	NI* L;
	result = (NIM_BOOL)0;
	L = (&(*gch).zct.len);
	{
		while (1) {
			tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c;
			if (!(((NI) 0) < (*L))) goto LA2;
			c = (*gch).zct.d[((NI) 0)];
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			(*gch).zct.d[((NI) 0)] = (*gch).zct.d[(NI)((*L) - ((NI) 1))];
			(*L) -= ((NI) 1);
			{
				NIM_BOOL T5_;
				T5_ = (NIM_BOOL)0;
				T5_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8));
				if (!T5_) goto LA6_;
				prepareDealloc__fvhnFro5wEfzy879alizcUQ(c);
				forAllChildren__XCvXrotwhq0gugZtuZTNPQ(c, ((tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ) 2));
				rawDealloc__K7uQ6aTKvW6OnOV8EMoNNQ((&(*gch).region), ((void*) (c)));
			}
			LA6_: ;
		} LA2: ;
	}
	result = NIM_TRUE;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, deinit__Y9c9cQhDWRSgYkHfKWcqFlsQ_3)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s) {
	tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* it;
	it = (*s).head;
	{
		while (1) {
			tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* n;
			if (!!((it == ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) NIM_NIL)))) goto LA2;
			n = (*it).next;
			dealloc(((void*) (it)));
			it = n;
		} LA2: ;
	}
	(*s).head = ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) NIM_NIL);
	dealloc(((void*) ((*s).data)));
	(*s).data = ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg**) NIM_NIL);
	(*s).counter = ((NI) 0);
}
N_LIB_PRIVATE N_NIMCALL(void, cellsetReset__Y9c9cQhDWRSgYkHfKWcqFlsQ_2)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s) {
	deinit__Y9c9cQhDWRSgYkHfKWcqFlsQ_3(s);
	init__Y9c9cQhDWRSgYkHfKWcqFlsQ(s);
}
N_LIB_PRIVATE N_NIMCALL(void, markGlobals__XHio9cMpnLoH7GyCj1Z9besg_4)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
	{
		if (!((*gch).gcThreadId == ((NI) 0))) goto LA3_;
		{
			NI i;
			NI colontmp_;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = (NI)(globalMarkersLen - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					if (!(res <= colontmp_)) goto LA7;
					i = res;
					globalMarkers[(i)- 0]();
					res += ((NI) 1);
				} LA7: ;
			}
		}
	}
	LA3_: ;
	{
		NI i_2;
		NI colontmp__2;
		NI res_2;
		i_2 = (NI)0;
		colontmp__2 = (NI)0;
		colontmp__2 = (NI)(threadLocalMarkersLen - ((NI) 1));
		res_2 = ((NI) 0);
		{
			while (1) {
				if (!(res_2 <= colontmp__2)) goto LA10;
				i_2 = res_2;
				threadLocalMarkers[(i_2)- 0]();
				res_2 += ((NI) 1);
			} LA10: ;
		}
	}
	d = (*gch).additionalRoots.d;
	{
		NI i_3;
		NI colontmp__3;
		NI res_3;
		i_3 = (NI)0;
		colontmp__3 = (NI)0;
		colontmp__3 = (NI)((*gch).additionalRoots.len - ((NI) 1));
		res_3 = ((NI) 0);
		{
			while (1) {
				if (!(res_3 <= colontmp__3)) goto LA13;
				i_3 = res_3;
				markS__SOJE9bROCOc8iabVsKM64Sg(gch, d[i_3]);
				res_3 += ((NI) 1);
			} LA13: ;
		}
	}
}
static N_INLINE(NIM_BOOL, isCell__knKGR9cPCi0isv7h4omKxdAsystem)(void* p) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(((NI) 1), (*((tyObject_FreeCell__u6M5LHprqzkn9axr04yg9bGQ*) (p))).zeroField);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__ClLkUQKF8KrRxQPdAJDd5w)(tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* cell) {
	NIM_BOOL result;
	NU u;
	tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* t;
	result = (NIM_BOOL)0;
	u = ((NU) (ptrdiff_t) (cell));
	t = cellSetGet__ld9aj9akVqWcvwRCEMEk1MnQ(s, (NU)((NU64)(u) >> (NU64)(((NI) 12))));
	{
		if (!!((t == ((tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg*) NIM_NIL)))) goto LA3_;
		u = (NU)((NU64)((NU)((NU64)(u) % (NU64)(((NU) 4096)))) / (NU64)(((NU) 16)));
		result = !(((NI)((*t).bits[((NU)((NU64)(u) >> (NU64)(((NI) 6))))- 0] & (NI)((NU64)(((NI) 1)) << (NU64)((NU)(u & ((NU) 63))))) == ((NI) 0)));
	}
	goto LA1_;
	LA3_: ;
	{
		result = NIM_FALSE;
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, freeCyclicCell__SOJE9bROCOc8iabVsKM64Sg_2)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
	prepareDealloc__fvhnFro5wEfzy879alizcUQ(c);
	rawDealloc__K7uQ6aTKvW6OnOV8EMoNNQ((&(*gch).region), ((void*) (c)));
}
N_LIB_PRIVATE N_NIMCALL(void, sweep__XHio9cMpnLoH7GyCj1Z9besg_5)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	{
		void* x;
		x = (void*)0;
		(*gch).region.locked = NIM_TRUE;
		{
			NI s;
			s = (NI)0;
			{
				NI h;
				NI res;
				h = (NI)0;
				res = ((NI) 0);
				{
					while (1) {
						tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* r;
						if (!(res <= ((NI) 255))) goto LA5;
						h = res;
						r = (*gch).region.chunkStarts.data[(h)- 0];
						{
							while (1) {
								NI i;
								if (!!((r == ((tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw*) NIM_NIL)))) goto LA7;
								i = ((NI) 0);
								{
									while (1) {
										NU w;
										NI j;
										if (!(i <= ((NI) 7))) goto LA9;
										w = (*r).bits[(i)- 0];
										j = ((NI) 0);
										{
											while (1) {
												if (!!((w == ((NU) 0)))) goto LA11;
												{
													NI T16_;
													if (!!(((NU)(w & ((NU) 1)) == ((NU) 0)))) goto LA14_;
													T16_ = (NI)0;
													T16_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((NI)((NU64)(i) << (NU64)(((NI) 6))), j);
													s = (NI)((NI)((NU64)((*r).key) << (NU64)(((NI) 9))) | T16_);
													{
														NIM_BOOL T19_;
														tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w* c;
														T19_ = (NIM_BOOL)0;
														T19_ = contains__9b5xR7VBZVwQDvk5Nr9bDKdQ((&(*gch).region.chunkStarts), s);
														if (!T19_) goto LA20_;
														c = ((tyObject_BaseChunk__Sdq7WpT6qAH858F5ZEdG3w*) ((NI)((NU64)(s) << (NU64)(((NI) 12)))));
														{
															NIM_BOOL T24_;
															T24_ = (NIM_BOOL)0;
															T24_ = chunkUnused__2Ih49c9ai3KYJhUe3C8xg07w_2system(c);
															if (!!(T24_)) goto LA25_;
															{
																NIM_BOOL T29_;
																tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* c_2;
																NI size;
																NI a;
																NI limit;
																T29_ = (NIM_BOOL)0;
																T29_ = isSmallChunk__2Ih49c9ai3KYJhUe3C8xg07wsystem(c);
																if (!T29_) goto LA30_;
																c_2 = ((tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ*) (c));
																size = (*c_2).Sup.size;
																a = ((NI) (ptrdiff_t) ((*c_2).data));
																limit = (NI)(a + (*c_2).acc);
																{
																	while (1) {
																		NIM_BOOL T34_;
																		T34_ = (NIM_BOOL)0;
																		T34_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(a, limit);
																		if (!T34_) goto LA33;
																		x = ((void*) (a));
																		{
																			NIM_BOOL T37_;
																			tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c_3;
																			T37_ = (NIM_BOOL)0;
																			T37_ = isCell__knKGR9cPCi0isv7h4omKxdAsystem(x);
																			if (!T37_) goto LA38_;
																			c_3 = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (x));
																			{
																				NIM_BOOL T42_;
																				T42_ = (NIM_BOOL)0;
																				T42_ = contains__ClLkUQKF8KrRxQPdAJDd5w((&(*gch).marked), c_3);
																				if (!!(T42_)) goto LA43_;
																				freeCyclicCell__SOJE9bROCOc8iabVsKM64Sg_2(gch, c_3);
																			}
																			LA43_: ;
																		}
																		LA38_: ;
																		a = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(a, size);
																	} LA33: ;
																}
															}
															goto LA27_;
															LA30_: ;
															{
																tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* c_4;
																c_4 = ((tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg*) (c));
																x = ((void*) ((*c_4).data));
																{
																	NIM_BOOL T48_;
																	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c_5;
																	T48_ = (NIM_BOOL)0;
																	T48_ = isCell__knKGR9cPCi0isv7h4omKxdAsystem(x);
																	if (!T48_) goto LA49_;
																	c_5 = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (x));
																	{
																		NIM_BOOL T53_;
																		T53_ = (NIM_BOOL)0;
																		T53_ = contains__ClLkUQKF8KrRxQPdAJDd5w((&(*gch).marked), c_5);
																		if (!!(T53_)) goto LA54_;
																		freeCyclicCell__SOJE9bROCOc8iabVsKM64Sg_2(gch, c_5);
																	}
																	LA54_: ;
																}
																LA49_: ;
															}
															LA27_: ;
														}
														LA25_: ;
													}
													LA20_: ;
												}
												LA14_: ;
												j += ((NI) 1);
												w = (NU)((NU64)(w) >> (NU64)(((NI) 1)));
											} LA11: ;
										}
										i += ((NI) 1);
									} LA9: ;
								}
								r = (*r).next;
							} LA7: ;
						}
						res += ((NI) 1);
					} LA5: ;
				}
			}
		}
		(*gch).region.locked = NIM_FALSE;
	}
}
N_LIB_PRIVATE N_NIMCALL(void, collectCycles__XHio9cMpnLoH7GyCj1Z9besg_3)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
	{
		while (1) {
			NIM_BOOL T3_;
			if (!(((NI) 0) < (*gch).zct.len)) goto LA2;
			T3_ = (NIM_BOOL)0;
			T3_ = collectZCT__EN6T32AMm3va9bsrdxtF0cg(gch);
			(void)(T3_);
		} LA2: ;
	}
	cellsetReset__Y9c9cQhDWRSgYkHfKWcqFlsQ_2((&(*gch).marked));
	d = (*gch).decStack.d;
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (NI)((*gch).decStack.len - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA6;
				i = res;
				markS__SOJE9bROCOc8iabVsKM64Sg(gch, d[i]);
				res += ((NI) 1);
			} LA6: ;
		}
	}
	markGlobals__XHio9cMpnLoH7GyCj1Z9besg_4(gch);
	sweep__XHio9cMpnLoH7GyCj1Z9besg_5(gch);
}
N_LIB_PRIVATE N_NIMCALL(NI, getOccupiedMem__hrQB9bN29c1nR1E9cHqYcNcDA)(void) {
	NI result;
{	result = (NI)0;
	result = gch__IcYaEuuWivYAS86vFMTS3Q.region.occ;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, unmarkStackAndRegisters__XHio9cMpnLoH7GyCj1Z9besg_6)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
	d = (*gch).decStack.d;
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (NI)((*gch).decStack.len - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA3;
				i = res;
				decRef__AT1eRuflKWyTTBdLjEDZbgsystem(d[i]);
				res += ((NI) 1);
			} LA3: ;
		}
	}
	(*gch).decStack.len = ((NI) 0);
}
N_LIB_PRIVATE N_NIMCALL(void, collectCTBody__XHio9cMpnLoH7GyCj1Z9besg_2)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	NI T1_;
	T1_ = (NI)0;
	T1_ = stackSize__0yw8cp0rOgL8i0O5kzzb0g();
	(*gch).stat.maxStackSize = (((*gch).stat.maxStackSize >= T1_) ? (*gch).stat.maxStackSize : T1_);
	prepareForInteriorPointerChecking__ot9aebHKDFT2OPbEVY47F9bQsystem((&(*gch).region));
	markStackAndRegisters__U6T7JWtDLrWhtmhXSoy9a6g(gch);
	(*gch).stat.maxStackCells = (((*gch).stat.maxStackCells >= (*gch).decStack.len) ? (*gch).stat.maxStackCells : (*gch).decStack.len);
	(*gch).stat.stackScans += ((NI) 1);
	{
		NIM_BOOL T4_;
		T4_ = (NIM_BOOL)0;
		T4_ = collectZCT__EN6T32AMm3va9bsrdxtF0cg(gch);
		if (!T4_) goto LA5_;
		{
			NIM_BOOL T9_;
			NI T10_;
			NI T14_;
			T9_ = (NIM_BOOL)0;
			T10_ = (NI)0;
			T10_ = getOccupiedMem__o7kGt4Ciqh9aCBinZc9bV9cugsystem((&(*gch).region));
			T9_ = ((*gch).cycleThreshold <= T10_);
			if (T9_) goto LA11_;
			T9_ = NIM_FALSE;
			LA11_: ;
			if (!T9_) goto LA12_;
			collectCycles__XHio9cMpnLoH7GyCj1Z9besg_3(gch);
			(*gch).stat.cycleCollections += ((NI) 1);
			T14_ = (NI)0;
			T14_ = getOccupiedMem__hrQB9bN29c1nR1E9cHqYcNcDA();
			(*gch).cycleThreshold = ((((NI) 4194304) >= (NI)(T14_ * ((NI) 2))) ? ((NI) 4194304) : (NI)(T14_ * ((NI) 2)));
			(*gch).stat.maxThreshold = (((*gch).stat.maxThreshold >= (*gch).cycleThreshold) ? (*gch).stat.maxThreshold : (*gch).cycleThreshold);
		}
		LA12_: ;
	}
	LA5_: ;
	unmarkStackAndRegisters__XHio9cMpnLoH7GyCj1Z9besg_6(gch);
}
N_LIB_PRIVATE N_NIMCALL(void, collectCT__XHio9cMpnLoH7GyCj1Z9besg)(tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	{
		NIM_BOOL T3_;
		NIM_BOOL T4_;
		NIM_BOOL T5_;
		NIM_BOOL T7_;
		NI T9_;
		T3_ = (NIM_BOOL)0;
		T4_ = (NIM_BOOL)0;
		T5_ = (NIM_BOOL)0;
		T5_ = ((*gch).zctThreshold <= (*gch).zct.len);
		if (T5_) goto LA6_;
		T7_ = (NIM_BOOL)0;
		T7_ = NIM_TRUE;
		if (!(T7_)) goto LA8_;
		T9_ = (NI)0;
		T9_ = getOccupiedMem__o7kGt4Ciqh9aCBinZc9bV9cugsystem((&(*gch).region));
		T7_ = ((*gch).cycleThreshold <= T9_);
		LA8_: ;
		T5_ = T7_;
		LA6_: ;
		T4_ = T5_;
		if (T4_) goto LA10_;
		T4_ = NIM_FALSE;
		LA10_: ;
		T3_ = T4_;
		if (!(T3_)) goto LA11_;
		T3_ = ((*gch).recGcLock == ((NI) 0));
		LA11_: ;
		if (!T3_) goto LA12_;
		collectCTBody__XHio9cMpnLoH7GyCj1Z9besg_2(gch);
		(*gch).zctThreshold = ((((NI) 500) >= (NI)((*gch).zct.len * ((NI) 2))) ? ((NI) 500) : (NI)((*gch).zct.len * ((NI) 2)));
	}
	LA12_: ;
}
static N_INLINE(void, addNewObjToZCT__xkq8ZbJr9bIUKHN9cK4tT5NAsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* res, tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	NI L;
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
{	L = (*gch).zct.len;
	d = (*gch).zct.d;
	{
		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c;
		if (!(((NI) 8) < L)) goto LA3_;
		c = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
		c = d[(NI)(L - ((NI) 1))];
		{
			NIM_BOOL T7_;
			T7_ = (NIM_BOOL)0;
			T7_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(((NI) 8), (*c).refcount);
			if (!T7_) goto LA8_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[(NI)(L - ((NI) 1))] = res;
			goto BeforeRet_;
		}
		LA8_: ;
		c = d[(NI)(L - ((NI) 2))];
		{
			NIM_BOOL T12_;
			T12_ = (NIM_BOOL)0;
			T12_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(((NI) 8), (*c).refcount);
			if (!T12_) goto LA13_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[(NI)(L - ((NI) 2))] = res;
			goto BeforeRet_;
		}
		LA13_: ;
		c = d[(NI)(L - ((NI) 3))];
		{
			NIM_BOOL T17_;
			T17_ = (NIM_BOOL)0;
			T17_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(((NI) 8), (*c).refcount);
			if (!T17_) goto LA18_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[(NI)(L - ((NI) 3))] = res;
			goto BeforeRet_;
		}
		LA18_: ;
		c = d[(NI)(L - ((NI) 4))];
		{
			NIM_BOOL T22_;
			T22_ = (NIM_BOOL)0;
			T22_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(((NI) 8), (*c).refcount);
			if (!T22_) goto LA23_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[(NI)(L - ((NI) 4))] = res;
			goto BeforeRet_;
		}
		LA23_: ;
		c = d[(NI)(L - ((NI) 5))];
		{
			NIM_BOOL T27_;
			T27_ = (NIM_BOOL)0;
			T27_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(((NI) 8), (*c).refcount);
			if (!T27_) goto LA28_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[(NI)(L - ((NI) 5))] = res;
			goto BeforeRet_;
		}
		LA28_: ;
		c = d[(NI)(L - ((NI) 6))];
		{
			NIM_BOOL T32_;
			T32_ = (NIM_BOOL)0;
			T32_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(((NI) 8), (*c).refcount);
			if (!T32_) goto LA33_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[(NI)(L - ((NI) 6))] = res;
			goto BeforeRet_;
		}
		LA33_: ;
		c = d[(NI)(L - ((NI) 7))];
		{
			NIM_BOOL T37_;
			T37_ = (NIM_BOOL)0;
			T37_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(((NI) 8), (*c).refcount);
			if (!T37_) goto LA38_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[(NI)(L - ((NI) 7))] = res;
			goto BeforeRet_;
		}
		LA38_: ;
		c = d[(NI)(L - ((NI) 8))];
		{
			NIM_BOOL T42_;
			T42_ = (NIM_BOOL)0;
			T42_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(((NI) 8), (*c).refcount);
			if (!T42_) goto LA43_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[(NI)(L - ((NI) 8))] = res;
			goto BeforeRet_;
		}
		LA43_: ;
		add__W9aRfhn7HvnQTPAb8ajo1uwsystem((&(*gch).zct), res);
	}
	goto LA1_;
	LA3_: ;
	{
		d[L] = res;
		(*gch).zct.len += ((NI) 1);
	}
	LA1_: ;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void*, rawNewObj__ehkAaLROrd0Hc9aLROWt1nQ)(TNimType* typ, NI size, tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	void* result;
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* res;
	void* T1_;
	result = (void*)0;
	collectCT__XHio9cMpnLoH7GyCj1Z9besg(gch);
	T1_ = (void*)0;
	T1_ = rawAlloc__mE4QEVyMvGRVliDWDngZCQ((&(*gch).region), (NI)(size + ((NI) 16)));
	res = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
	(*res).typ = typ;
	(*res).refcount = ((NI) 4);
	addNewObjToZCT__xkq8ZbJr9bIUKHN9cK4tT5NAsystem(res, gch);
	result = cellToUsr__oh8PwD5vOIN9awo20FR9c8qAsystem(res);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void*, newObjNoInit)(TNimType* typ, NI size) {
	void* result;
	result = (void*)0;
	result = rawNewObj__ehkAaLROrd0Hc9aLROWt1nQ(typ, size, (&gch__IcYaEuuWivYAS86vFMTS3Q));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewStringNoInit)(NI space) {
	NimStringDesc* result;
	NI s;
	void* T5_;
	result = (NimStringDesc*)0;
	s = space;
	{
		if (!(s < ((NI) 7))) goto LA3_;
		s = ((NI) 7);
	}
	LA3_: ;
	T5_ = (void*)0;
	T5_ = newObjNoInit((&strDesc__D0UzA4zsDu5tgpJQ9a9clXPg), (NI)((NI)(((NI) 16) + s) + ((NI) 1)));
	result = ((NimStringDesc*) (T5_));
	(*result).Sup.reserved = s;
	(*result).Sup.len = ((NI) 0);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toNimStr)(NCSTRING str, NI len) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = rawNewStringNoInit(len);
	(*result).Sup.len = len;
	copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((*result).data)), ((void*) (str)), ((NI) ((NI)(len + ((NI) 1)))));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, cstrToNimstr)(NCSTRING str) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!(((void*) (str)) == NIM_NIL)) goto LA3_;
		result = ((NimStringDesc*) NIM_NIL);
	}
	goto LA1_;
	LA3_: ;
	{
		result = toNimStr(str, (str ? nimCStrLen(str) : 0));
	}
	LA1_: ;
	return result;
}
static N_INLINE(void, popSafePoint)(void) {
	excHandler__rqLlY5bs9atDw2OXYqJEn5g = (*excHandler__rqLlY5bs9atDw2OXYqJEn5g).prev;
}
static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
		if (!!((src == NIM_NIL))) goto LA3_;
		T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
		incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
	}
	LA3_: ;
	{
		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
		if (!!(((*dest) == NIM_NIL))) goto LA8_;
		T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
		decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
	}
	LA8_: ;
	(*dest) = src;
}
static N_INLINE(void, popCurrentException)(void) {
	asgnRef((void**) (&currException__9bVPeDJlYTi9bQApZpfH8wjg), (*currException__9bVPeDJlYTi9bQApZpfH8wjg).up);
}
static N_NIMCALL(void, Marker_tyRef__uG62cfJZ15c2siK3CKLmnQ)(void* p, NI op) {
	tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g* a;
	a = (tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g*)p;
	nimGCvisit((void*)(*a).Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.trace, op);
	nimGCvisit((void*)(*a).Sup.Sup.up, op);
}
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size) {
	void* result;
	result = (void*)0;
	result = rawNewObj__ehkAaLROrd0Hc9aLROWt1nQ(typ, size, (&gch__IcYaEuuWivYAS86vFMTS3Q));
	zeroMem__FsvhfMqbswETmyMWtamDewsystem(result, ((NI) (size)));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void*, newObjRC1)(TNimType* typ, NI size) {
	void* result;
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* res;
	void* T1_;
	result = (void*)0;
	collectCT__XHio9cMpnLoH7GyCj1Z9besg((&gch__IcYaEuuWivYAS86vFMTS3Q));
	T1_ = (void*)0;
	T1_ = rawAlloc__mE4QEVyMvGRVliDWDngZCQ((&gch__IcYaEuuWivYAS86vFMTS3Q.region), (NI)(size + ((NI) 16)));
	res = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
	(*res).typ = typ;
	(*res).refcount = ((NI) 8);
	result = cellToUsr__oh8PwD5vOIN9awo20FR9c8qAsystem(res);
	zeroMem__FsvhfMqbswETmyMWtamDewsystem(result, ((NI) (size)));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
		{
			tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T9_;
			if (!!(((NI)((*src).Sup.reserved & ((NI) (IL64(-9223372036854775807) - IL64(1)))) == ((NI) 0)))) goto LA7_;
			result = src;
			T9_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
			T9_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(((void*) (result)));
			incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T9_);
		}
		goto LA5_;
		LA7_: ;
		{
			NI s;
			void* T15_;
			s = (*src).Sup.len;
			{
				if (!(s < ((NI) 7))) goto LA13_;
				s = ((NI) 7);
			}
			LA13_: ;
			T15_ = (void*)0;
			T15_ = newObjRC1((&strDesc__D0UzA4zsDu5tgpJQ9a9clXPg), (NI)((NI)(((NI) 16) + s) + ((NI) 1)));
			result = ((NimStringDesc*) (T15_));
			(*result).Sup.reserved = s;
			(*result).Sup.len = (*src).Sup.len;
			copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((*result).data)), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
		}
		LA5_: ;
	}
	LA3_: ;
	return result;
}
static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
	T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
	T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
	decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
}
static N_INLINE(NF, toFloat__y1Fm9aHmxw9bS2jir137Fu5gsystem)(NI i) {
	NF result;
	result = (NF)0;
	result = ((NF) (i));
	return result;
}
static N_INLINE(NF, abs__BRaAqinz6OWTHkALb4oj6Qsystem)(NF x) {
	NF result;
	result = (NF)0;
	{
		if (!(x < 0.0)) goto LA3_;
		result = -(x);
	}
	goto LA1_;
	LA3_: ;
	{
		result = x;
	}
	LA1_: ;
	return result;
}
static N_INLINE(NIM_BOOL, nimMulInt)(NI a, NI b, NI* res) {
	NIM_BOOL result;
	NI r;
	NF floatProd;
	NF T1_;
	NF T2_;
	NF resAsFloat;
	result = (NIM_BOOL)0;
	r = ((NI) ((NU)((NU64)(((NU) (a))) * (NU64)(((NU) (b))))));
	T1_ = (NF)0;
	T1_ = toFloat__y1Fm9aHmxw9bS2jir137Fu5gsystem(a);
	T2_ = (NF)0;
	T2_ = toFloat__y1Fm9aHmxw9bS2jir137Fu5gsystem(b);
	floatProd = ((NF)(T1_) * (NF)(T2_));
	resAsFloat = toFloat__y1Fm9aHmxw9bS2jir137Fu5gsystem(r);
	{
		if (!(resAsFloat == floatProd)) goto LA5_;
		(*res) = r;
	}
	goto LA3_;
	LA5_: ;
	{
		{
			NF T10_;
			NF T11_;
			T10_ = (NF)0;
			T10_ = abs__BRaAqinz6OWTHkALb4oj6Qsystem(((NF)(resAsFloat) - (NF)(floatProd)));
			T11_ = (NF)0;
			T11_ = abs__BRaAqinz6OWTHkALb4oj6Qsystem(floatProd);
			if (!(((NF)(3.2000000000000000e+01) * (NF)(T10_)) <= T11_)) goto LA12_;
			(*res) = r;
		}
		goto LA8_;
		LA12_: ;
		{
			result = NIM_TRUE;
		}
		LA8_: ;
	}
	LA3_: ;
	return result;
}
static N_NIMCALL(void, Marker_tyRef__r8GBEWywN07B3Rat3azS4Q)(void* p, NI op) {
	tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ* a;
	a = (tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ*)p;
	nimGCvisit((void*)(*a).Sup.Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.trace, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.up, op);
}
static N_INLINE(void, sysFatal__pO9abt7E7FWB3DInHeLgZeQsystem)(NimStringDesc* message) {
	tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ* T1_;
	NimStringDesc* T2_;
	T1_ = (tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ*)0;
	T1_ = (tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ*) newObj((&NTI__r8GBEWywN07B3Rat3azS4Q_), sizeof(tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ));
	(*T1_).Sup.Sup.Sup.Sup.m_type = (&NTI__9cxMi1BPLc3UKt9br86bGfGQ_);
	(*T1_).Sup.Sup.Sup.name = "OverflowDefect";
	T2_ = (NimStringDesc*)0;
	T2_ = (*T1_).Sup.Sup.Sup.message; (*T1_).Sup.Sup.Sup.message = copyStringRC1(message);
	if (T2_) nimGCunrefNoCycle(T2_);
	raiseExceptionEx((Exception*)T1_, "OverflowDefect", "sysFatal", "fatal.nim", 49);
}
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void) {
	sysFatal__pO9abt7E7FWB3DInHeLgZeQsystem(((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_7));
}
static N_INLINE(NIM_BOOL, nimAddInt)(NI a, NI b, NI* res) {
	NIM_BOOL result;
	NI r;
	result = (NIM_BOOL)0;
	r = ((NI) ((NU)((NU64)(((NU) (a))) + (NU64)(((NU) (b))))));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (((NI) 0) <= (NI)(r ^ a));
		if (T3_) goto LA4_;
		T3_ = (((NI) 0) <= (NI)(r ^ b));
		LA4_: ;
		if (!T3_) goto LA5_;
		(*res) = r;
	}
	goto LA1_;
	LA5_: ;
	{
		result = NIM_TRUE;
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len) {
	void* result;
	NI size;
	NI T1_;
	NI TM__Q5wkpxktOdTGvlSRo9bzt9aw_6;
	NI TM__Q5wkpxktOdTGvlSRo9bzt9aw_8;
	result = (void*)0;
	T1_ = (NI)0;
	T1_ = align__vzThvqZajaR9ct9cQ7SOy1tQ(((NI) 16), (*(*typ).base).align);
	if (nimMulInt(len, (*(*typ).base).size, &TM__Q5wkpxktOdTGvlSRo9bzt9aw_6)) { raiseOverflow(); };
	if (nimAddInt(T1_, (NI)(TM__Q5wkpxktOdTGvlSRo9bzt9aw_6), &TM__Q5wkpxktOdTGvlSRo9bzt9aw_8)) { raiseOverflow(); };
	size = (NI)(TM__Q5wkpxktOdTGvlSRo9bzt9aw_8);
	result = newObj(typ, size);
	(*((TGenericSeq*) (result))).len = len;
	(*((TGenericSeq*) (result))).reserved = len;
	return result;
}
static N_INLINE(NI, resize__cOCDWr16YD4j3dBrbbH3yQsystem)(NI old) {
	NI result;
	result = (NI)0;
	{
		if (!(old <= ((NI) 0))) goto LA3_;
		result = ((NI) 4);
	}
	goto LA1_;
	LA3_: ;
	{
		if (!(old < ((NI) 65536))) goto LA6_;
		result = (NI)(old * ((NI) 2));
	}
	goto LA1_;
	LA6_: ;
	{
		result = (NI)((NI)(old * ((NI) 3)) / ((NI) 2));
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void*, dataPointer__dMaT1dYJWy6HCDx9bdXp24A)(TGenericSeq* a, NI elemAlign) {
	void* result;
	NI T1_;
	NI T2_;
	result = (void*)0;
	T1_ = (NI)0;
	T1_ = align__vzThvqZajaR9ct9cQ7SOy1tQ(((NI) 16), elemAlign);
	T2_ = (NI)0;
	T2_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) (a)), T1_);
	result = ((void*) (T2_));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ) {
	TGenericSeq* result;
	result = (TGenericSeq*)0;
	{
		void* T5_;
		if (!(s == ((TGenericSeq*) NIM_NIL))) goto LA3_;
		T5_ = (void*)0;
		T5_ = newSeq(typ, ((NI) 1));
		result = ((TGenericSeq*) (T5_));
		(*result).len = ((NI) 0);
	}
	goto LA1_;
	LA3_: ;
	{
		result = s;
		{
			NI r;
			void* T11_;
			void* T12_;
			void* T13_;
			if (!((NI)((*result).reserved & ((NI) IL64(4611686018427387903))) <= (*result).len)) goto LA9_;
			r = resize__cOCDWr16YD4j3dBrbbH3yQsystem((NI)((*result).reserved & ((NI) IL64(4611686018427387903))));
			T11_ = (void*)0;
			T11_ = newSeq(typ, r);
			result = ((TGenericSeq*) (T11_));
			(*result).len = (*s).len;
			T12_ = (void*)0;
			T12_ = dataPointer__dMaT1dYJWy6HCDx9bdXp24A(result, (*(*typ).base).align);
			T13_ = (void*)0;
			T13_ = dataPointer__dMaT1dYJWy6HCDx9bdXp24A(s, (*(*typ).base).align);
			copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(T12_, T13_, ((NI) ((NI)((*s).len * (*(*typ).base).size))));
			(*s).len = ((NI) 0);
		}
		LA9_: ;
	}
	LA1_: ;
	return result;
}
static N_INLINE(void, pushCurrentException)(Exception* e) {
	asgnRef((void**) (&(*e).up), currException__9bVPeDJlYTi9bQApZpfH8wjg);
	asgnRef((void**) (&currException__9bVPeDJlYTi9bQApZpfH8wjg), e);
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space) {
	NimStringDesc* result;
	NI s;
	void* T5_;
	result = (NimStringDesc*)0;
	s = space;
	{
		if (!(s < ((NI) 7))) goto LA3_;
		s = ((NI) 7);
	}
	LA3_: ;
	T5_ = (void*)0;
	T5_ = newObj((&strDesc__D0UzA4zsDu5tgpJQ9a9clXPg), (NI)((NI)(((NI) 16) + s) + ((NI) 1)));
	result = ((NimStringDesc*) (T5_));
	(*result).Sup.reserved = s;
	(*result).Sup.len = ((NI) 0);
	return result;
}
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
	{
		if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
		(*dest).Sup.len += (*src).Sup.len;
	}
	LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!(dest == ((NimStringDesc*) NIM_NIL))) goto LA3_;
		result = rawNewStringNoInit(addlen);
	}
	goto LA1_;
	LA3_: ;
	{
		if (!((NI)((*dest).Sup.len + addlen) <= (NI)((*dest).Sup.reserved & ((NI) IL64(4611686018427387903))))) goto LA6_;
		result = dest;
	}
	goto LA1_;
	LA6_: ;
	{
		NI sp;
		NI T9_;
		T9_ = (NI)0;
		T9_ = resize__cOCDWr16YD4j3dBrbbH3yQsystem((NI)((*dest).Sup.reserved & ((NI) IL64(4611686018427387903))));
		sp = ((T9_ >= (NI)((*dest).Sup.len + addlen)) ? T9_ : (NI)((*dest).Sup.len + addlen));
		result = rawNewStringNoInit(sp);
		(*result).Sup.len = (*dest).Sup.len;
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*result).data[((NI) 0)]))), ((void*) ((&(*dest).data[((NI) 0)]))), ((NI) ((NI)((*dest).Sup.len + ((NI) 1)))));
		(*result).Sup.reserved = sp;
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!(s == ((NimStringDesc*) NIM_NIL))) goto LA3_;
		result = rawNewStringNoInit(((NI) 1));
		(*result).Sup.len = ((NI) 0);
	}
	goto LA1_;
	LA3_: ;
	{
		result = s;
		{
			NI r;
			if (!((NI)((*result).Sup.reserved & ((NI) IL64(4611686018427387903))) <= (*result).Sup.len)) goto LA8_;
			r = resize__cOCDWr16YD4j3dBrbbH3yQsystem((NI)((*result).Sup.reserved & ((NI) IL64(4611686018427387903))));
			result = rawNewStringNoInit(r);
			(*result).Sup.len = (*s).Sup.len;
			copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*result).data[((NI) 0)]))), ((void*) ((&(*s).data[((NI) 0)]))), ((NI) ((NI)((*s).Sup.len + ((NI) 1)))));
			(*result).Sup.reserved = r;
		}
		LA8_: ;
	}
	LA1_: ;
	(*result).data[(*result).Sup.len] = c;
	(*result).data[(NI)((*result).Sup.len + ((NI) 1))] = 0;
	(*result).Sup.len += ((NI) 1);
	return result;
}
N_LIB_PRIVATE N_NOINLINE(NIM_BOOL, isOnStack__plOlFsQAAvcYd3nF5LfWzw)(void* p) {
	NIM_BOOL result;
	void* volatile stackTop;
	NI a;
	tyObject_GcStack__7fytPA5bBsob6See21YMRA* T1_;
	NI b;
	NI T2_;
	NI x;
	NIM_BOOL T3_;
	result = (NIM_BOOL)0;
	stackTop = ((void*) ((&stackTop)));
	T1_ = (tyObject_GcStack__7fytPA5bBsob6See21YMRA*)0;
	T1_ = getActiveStack__muO7WGG730PTJWpoUnluHg((&gch__IcYaEuuWivYAS86vFMTS3Q));
	a = ((NI) (ptrdiff_t) ((*T1_).bottom));
	b = ((NI) (ptrdiff_t) (stackTop));
	T2_ = (NI)0;
	T2_ = a;
	a = b;
	b = T2_;
	x = ((NI) (ptrdiff_t) (p));
	T3_ = (NIM_BOOL)0;
	T3_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(a, x);
	if (!(T3_)) goto LA4_;
	T3_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(x, b);
	LA4_: ;
	result = T3_;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src) {
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = isOnStack__plOlFsQAAvcYd3nF5LfWzw(((void*) (dest)));
		if (!!(T3_)) goto LA4_;
		{
			tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
			if (!!((src == NIM_NIL))) goto LA8_;
			T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
			T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
			incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T10_);
		}
		LA8_: ;
		{
			NIM_BOOL T13_;
			tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T16_;
			T13_ = (NIM_BOOL)0;
			T13_ = lteqpercent___hPljn3JCDQ00ua1R07X9bxQ_2system(((NI) 4096), ((NI) (ptrdiff_t) ((*dest))));
			if (!T13_) goto LA14_;
			T16_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
			T16_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
			decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T16_);
		}
		LA14_: ;
	}
	goto LA1_;
	LA4_: ;
	{
	}
	LA1_: ;
	(*dest) = src;
}
N_LIB_PRIVATE N_NIMCALL(void, add__8FwY5enLGB0dFerO6Ny9caw)(NimStringDesc** x, NCSTRING y) {
	NI i;
	i = ((NI) 0);
	{
		if (!!((((void*) (y)) == NIM_NIL))) goto LA3_;
		{
			while (1) {
				if (!!(((NU8)(y[i]) == (NU8)(0)))) goto LA6;
				unsureAsgnRef((void**) (&(*x)), addChar((*x), y[i]));
				i += ((NI) 1);
			} LA6: ;
		}
	}
	LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, mnewString)(NI len) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = rawNewString(len);
	(*result).Sup.len = len;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newLen) {
	NimStringDesc* result;
	NI n;
	result = (NimStringDesc*)0;
	n = ((newLen >= ((NI) 0)) ? newLen : ((NI) 0));
	{
		if (!(s == ((NimStringDesc*) NIM_NIL))) goto LA3_;
		result = mnewString(newLen);
	}
	goto LA1_;
	LA3_: ;
	{
		if (!(n <= (NI)((*s).Sup.reserved & ((NI) IL64(4611686018427387903))))) goto LA6_;
		result = s;
	}
	goto LA1_;
	LA6_: ;
	{
		NI sp;
		NI T9_;
		T9_ = (NI)0;
		T9_ = resize__cOCDWr16YD4j3dBrbbH3yQsystem((NI)((*s).Sup.reserved & ((NI) IL64(4611686018427387903))));
		sp = ((T9_ >= newLen) ? T9_ : newLen);
		result = rawNewStringNoInit(sp);
		(*result).Sup.len = (*s).Sup.len;
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*result).data[((NI) 0)]))), ((void*) ((&(*s).data[((NI) 0)]))), ((NI) ((NI)((*s).Sup.len + ((NI) 1)))));
		zeroMem__FsvhfMqbswETmyMWtamDewsystem(((void*) ((&(*result).data[(*s).Sup.len]))), ((NI) ((NI)(newLen - (*s).Sup.len))));
		(*result).Sup.reserved = sp;
	}
	LA1_: ;
	(*result).Sup.len = n;
	(*result).data[n] = 0;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, addInt__mftMOxbyu0h4yByfs3sqjA)(NimStringDesc** result, NI64 x) {
	NI base;
	NI i;
	NI64 y;
	base = ((*result) ? (*result)->Sup.len : 0);
	unsureAsgnRef((void**) (&(*result)), setLengthStr((*result), ((NI) ((NI)(base + ((NI) 32))))));
	i = ((NI) 0);
	y = x;
	{
		while (1) {
			NI64 d;
			d = (NI64)(y / IL64(10));
			(*result)->data[(NI)(base + i)] = ((NIM_CHAR) (((NI) ((NI)((((NI) ((NI64)(y - (NI64)(d * IL64(10))))) > 0? (((NI) ((NI64)(y - (NI64)(d * IL64(10)))))) : -(((NI) ((NI64)(y - (NI64)(d * IL64(10))))))) + ((NI) 48))))));
			i += ((NI) 1);
			y = d;
			{
				if (!(y == IL64(0))) goto LA5_;
				goto LA1;
			}
			LA5_: ;
		}
	} LA1: ;
	{
		if (!(x < IL64(0))) goto LA9_;
		(*result)->data[(NI)(base + i)] = 45;
		i += ((NI) 1);
	}
	LA9_: ;
	unsureAsgnRef((void**) (&(*result)), setLengthStr((*result), ((NI) ((NI)(base + i)))));
	{
		NI j;
		NI colontmp_;
		NI res;
		j = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (NI)((NI)(i / ((NI) 2)) - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				NIM_CHAR T14_;
				if (!(res <= colontmp_)) goto LA13;
				j = res;
				T14_ = (NIM_CHAR)0;
				T14_ = (*result)->data[(NI)(base + j)];
				(*result)->data[(NI)(base + j)] = (*result)->data[(NI)((NI)((NI)(base + i) - j) - ((NI) 1))];
				(*result)->data[(NI)((NI)((NI)(base + i) - j) - ((NI) 1))] = T14_;
				res += ((NI) 1);
			} LA13: ;
		}
	}
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = rawNewString(((NI) 32));
	addInt__mftMOxbyu0h4yByfs3sqjA((&result), ((NI64) (x)));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___liwwu6qv5HyRiFI58oBO0g)(tySequence__uB9b75OUPRENsBAu4AnoePA* stackTraceEntries) {
	NimStringDesc* result;
	tySequence__uB9b75OUPRENsBAu4AnoePA* s;
	result = (NimStringDesc*)0;
	s = stackTraceEntries;
	result = rawNewString(((NI) 2000));
	{
		NI i;
		NI colontmp_;
		NI T2_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		T2_ = (s ? s->Sup.len : 0);
		colontmp_ = (NI)(T2_ - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA4;
				i = res;
				{
					if (!(s->data[i].line == ((NI) -10))) goto LA7_;
					result = resizeString(result, 17);
appendString(result, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_9));
				}
				goto LA5_;
				LA7_: ;
				{
					if (!(s->data[i].line == ((NI) -100))) goto LA10_;
					result = resizeString(result, 3);
appendString(result, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_10));
				}
				goto LA5_;
				LA10_: ;
				{
					NI oldLenX60gensym68_;
					oldLenX60gensym68_ = (result ? result->Sup.len : 0);
					add__8FwY5enLGB0dFerO6Ny9caw((&result), s->data[i].filename);
					{
						NimStringDesc* T17_;
						if (!(((NI) 0) < s->data[i].line)) goto LA15_;
						result = resizeString(result, 1);
appendString(result, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_11));
						T17_ = (NimStringDesc*)0;
						T17_ = nimIntToStr(s->data[i].line);
						result = resizeString(result, (T17_ ? T17_->Sup.len : 0) + 0);
appendString(result, T17_);
						{
							if (!NIM_FALSE) goto LA20_;
							result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_12));
							result = resizeString(result, 1);
appendString(result, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_13));
						}
						LA20_: ;
						result = resizeString(result, 1);
appendString(result, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_14));
					}
					LA15_: ;
					{
						NI kX60gensym68_;
						NI colontmp__2;
						NI res_2;
						kX60gensym68_ = (NI)0;
						colontmp__2 = (NI)0;
						colontmp__2 = ((((NI) 1) >= (NI)(((NI) 25) - (NI)((result ? result->Sup.len : 0) - oldLenX60gensym68_))) ? ((NI) 1) : (NI)(((NI) 25) - (NI)((result ? result->Sup.len : 0) - oldLenX60gensym68_)));
						res_2 = ((NI) 1);
						{
							while (1) {
								if (!(res_2 <= colontmp__2)) goto LA24;
								kX60gensym68_ = res_2;
								result = addChar(result, 32);
								res_2 += ((NI) 1);
							} LA24: ;
						}
					}
					add__8FwY5enLGB0dFerO6Ny9caw((&result), s->data[i].procname);
					result = resizeString(result, 1);
appendString(result, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_15));
				}
				LA5_: ;
				res += ((NI) 1);
			} LA4: ;
		}
	}
	return result;
}
static N_INLINE(NCSTRING, nimToCStringConv)(NimStringDesc* s) {
	NCSTRING result;
	result = (NCSTRING)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (s == ((NimStringDesc*) NIM_NIL));
		if (T3_) goto LA4_;
		T3_ = ((*s).Sup.len == ((NI) 0));
		LA4_: ;
		if (!T3_) goto LA5_;
		result = "";
	}
	goto LA1_;
	LA5_: ;
	{
		result = ((NCSTRING) ((*s).data));
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dS1BF3Vxjg9aJMmmhVJKSpQ)(NimStringDesc** dest) {
}
N_LIB_PRIVATE N_NIMCALL(void, reportUnhandledErrorAux__na8C8pUZ9cLQWVwk35l5vfw_3)(Exception* e) {
	tyArray__gpc2RrLEcWgv7ONpLYNHOw buf;
	NI L;
	nimZeroMem((void*)buf, sizeof(tyArray__gpc2RrLEcWgv7ONpLYNHOw));
	L = ((NI) 0);
	{
		NI T3_;
		NimStringDesc* trace;
		T3_ = ((*e).trace ? (*e).trace->Sup.len : 0);
		if (!!((T3_ == ((NI) 0)))) goto LA4_;
		trace = dollar___liwwu6qv5HyRiFI58oBO0g((*e).trace);
		{
			if (!((NI)(L + (trace ? trace->Sup.len : 0)) < ((NI) 2000))) goto LA8_;
			copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&buf[(L)- 0]))), ((void*) (nimToCStringConv(trace))), ((NI) ((trace ? trace->Sup.len : 0))));
			L += (trace ? trace->Sup.len : 0);
		}
		LA8_: ;
		eqdestroy___dS1BF3Vxjg9aJMmmhVJKSpQ((&trace));
	}
	LA4_: ;
	{
		if (!((NI)(L + ((NI) 28)) < ((NI) 2000))) goto LA12_;
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&buf[(L)- 0]))), ((void*) ("Error: unhandled exception: ")), ((NI) 28));
		L += ((NI) 28);
	}
	LA12_: ;
	{
		if (!((NI)(L + ((*e).message ? (*e).message->Sup.len : 0)) < ((NI) 2000))) goto LA16_;
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&buf[(L)- 0]))), ((void*) (nimToCStringConv((*e).message))), ((NI) (((*e).message ? (*e).message->Sup.len : 0))));
		L += ((*e).message ? (*e).message->Sup.len : 0);
	}
	LA16_: ;
	{
		if (!((NI)(L + ((NI) 2)) < ((NI) 2000))) goto LA20_;
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&buf[(L)- 0]))), ((void*) (" [")), ((NI) 2));
		L += ((NI) 2);
	}
	LA20_: ;
	{
		if (!((NI)(L + ((*e).name ? nimCStrLen((*e).name) : 0)) < ((NI) 2000))) goto LA24_;
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&buf[(L)- 0]))), ((void*) ((*e).name)), ((NI) (((*e).name ? nimCStrLen((*e).name) : 0))));
		L += ((*e).name ? nimCStrLen((*e).name) : 0);
	}
	LA24_: ;
	{
		if (!((NI)(L + ((NI) 2)) < ((NI) 2000))) goto LA28_;
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&buf[(L)- 0]))), ((void*) ("]\012")), ((NI) 2));
		L += ((NI) 2);
	}
	LA28_: ;
	{
		NimStringDesc* T34_;
		if (!!((onUnhandledException__bFrawQlTKZhLweDD36j9b8g == NIM_NIL))) goto LA32_;
		T34_ = (NimStringDesc*)0;
		T34_ = cstrToNimstr(((NCSTRING) (buf)));
		onUnhandledException__bFrawQlTKZhLweDD36j9b8g(T34_);
	}
	goto LA30_;
	LA32_: ;
	{
		showErrorMessage__zsORN9crdKxsL9cHrQcdHSMw(((NCSTRING) (buf)));
	}
	LA30_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, reportUnhandledError__na8C8pUZ9cLQWVwk35l5vfw_2)(Exception* e) {
	{
		if (!!((unhandledExceptionHook__RJpSsXsRUH8ochbXTEhRIw == NIM_NIL))) goto LA3_;
		unhandledExceptionHook__RJpSsXsRUH8ochbXTEhRIw(e);
	}
	LA3_: ;
	reportUnhandledErrorAux__na8C8pUZ9cLQWVwk35l5vfw_3(e);
}
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionAux__na8C8pUZ9cLQWVwk35l5vfw)(Exception* e) {
{	{
		if (!!((localRaiseHook__EIvMhANBvB9cp2Ezvt29cADg == NIM_NIL))) goto LA3_;
		{
			NIM_BOOL T7_;
			T7_ = (NIM_BOOL)0;
			T7_ = localRaiseHook__EIvMhANBvB9cp2Ezvt29cADg(e);
			if (!!(T7_)) goto LA8_;
			goto BeforeRet_;
		}
		LA8_: ;
	}
	LA3_: ;
	{
		if (!!((globalRaiseHook__JbO1ti4ULxrw54m4zNPbpA == NIM_NIL))) goto LA12_;
		{
			NIM_BOOL T16_;
			T16_ = (NIM_BOOL)0;
			T16_ = globalRaiseHook__JbO1ti4ULxrw54m4zNPbpA(e);
			if (!!(T16_)) goto LA17_;
			goto BeforeRet_;
		}
		LA17_: ;
	}
	LA12_: ;
	{
		if (!!((excHandler__rqLlY5bs9atDw2OXYqJEn5g == ((TSafePoint*) NIM_NIL)))) goto LA21_;
		pushCurrentException(e);
		longjmp((*excHandler__rqLlY5bs9atDw2OXYqJEn5g).context, ((int) 1));
	}
	goto LA19_;
	LA21_: ;
	{
		reportUnhandledError__na8C8pUZ9cLQWVwk35l5vfw_2(e);
		exit(((NI) 1));
	}
	LA19_: ;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line) {
	{
		if (!((*e).name == 0)) goto LA3_;
		(*e).name = ename;
	}
	LA3_: ;
	{
		NIM_BOOL T7_;
		tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA T11_;
		NI T12_;
		T7_ = (NIM_BOOL)0;
		T7_ = !((((void*) (procname)) == NIM_NIL));
		if (!(T7_)) goto LA8_;
		T7_ = !((((void*) (filename)) == NIM_NIL));
		LA8_: ;
		if (!T7_) goto LA9_;
		nimZeroMem((void*)(&T11_), sizeof(tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA));
		T11_.procname = procname;
		T11_.filename = filename;
		T11_.line = line;
		asgnRef((void**) (&(*e).trace), (tySequence__uB9b75OUPRENsBAu4AnoePA*) incrSeqV3((TGenericSeq*)((*e).trace), (&NTI__uB9b75OUPRENsBAu4AnoePA_)));
		T12_ = (*e).trace->Sup.len++;
		(*e).trace->data[T12_] = T11_;
	}
	LA9_: ;
	raiseExceptionAux__na8C8pUZ9cLQWVwk35l5vfw(e);
}
static N_INLINE(void, sysFatal__27U3EueEEOKabXYRrgiy5Asystem)(NimStringDesc* message) {
	tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g* T1_;
	NimStringDesc* T2_;
	T1_ = (tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g*)0;
	T1_ = (tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g*) newObj((&NTI__uG62cfJZ15c2siK3CKLmnQ_), sizeof(tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g));
	(*T1_).Sup.Sup.Sup.m_type = (&NTI__E0L0wGYS1gPD81VLstNO2g_);
	(*T1_).Sup.Sup.name = "ReraiseDefect";
	T2_ = (NimStringDesc*)0;
	T2_ = (*T1_).Sup.Sup.message; (*T1_).Sup.Sup.message = copyStringRC1(message);
	if (T2_) nimGCunrefNoCycle(T2_);
	raiseExceptionEx((Exception*)T1_, "ReraiseDefect", "sysFatal", "fatal.nim", 49);
}
N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void) {
	{
		if (!(currException__9bVPeDJlYTi9bQApZpfH8wjg == ((Exception*) NIM_NIL))) goto LA3_;
		sysFatal__27U3EueEEOKabXYRrgiy5Asystem(((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_16));
	}
	goto LA1_;
	LA3_: ;
	{
		raiseExceptionAux__na8C8pUZ9cLQWVwk35l5vfw(currException__9bVPeDJlYTi9bQApZpfH8wjg);
	}
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, writeToStdErr__a2kDfqdSc1eYf0ZCWOGinQ)(NCSTRING msg) {
	rawWrite(stderr, msg);
}
N_LIB_PRIVATE N_NIMCALL(void, showErrorMessage__zsORN9crdKxsL9cHrQcdHSMw)(NCSTRING data) {
	NIM_BOOL volatile toWrite;
	toWrite = NIM_TRUE;
	{
		TSafePoint TM__Q5wkpxktOdTGvlSRo9bzt9aw_5;
		NimStringDesc* T5_;
		if (!!((errorMessageWriter__ZXnv0JyrWe3HTd07wpSr7A == NIM_NIL))) goto LA3_;
		pushSafePoint(&TM__Q5wkpxktOdTGvlSRo9bzt9aw_5);
		TM__Q5wkpxktOdTGvlSRo9bzt9aw_5.status = setjmp(TM__Q5wkpxktOdTGvlSRo9bzt9aw_5.context);
		if (TM__Q5wkpxktOdTGvlSRo9bzt9aw_5.status == 0) {
		T5_ = (NimStringDesc*)0;
		T5_ = cstrToNimstr(data);
		errorMessageWriter__ZXnv0JyrWe3HTd07wpSr7A(T5_);
		toWrite = NIM_FALSE;
		popSafePoint();
		}
		else {
			popSafePoint();
			{
				TM__Q5wkpxktOdTGvlSRo9bzt9aw_5.status = 0;
				popCurrentException();
			}
		}
		if (TM__Q5wkpxktOdTGvlSRo9bzt9aw_5.status != 0) reraiseException();
	}
	LA3_: ;
	{
		if (!toWrite) goto LA10_;
		writeToStdErr__a2kDfqdSc1eYf0ZCWOGinQ(data);
	}
	LA10_: ;
}
N_LIB_PRIVATE N_NOCONV(void, signalHandler)(int sign) {
	NCSTRING msg;
	msg = (NCSTRING)0;
	{
		if (!(sign == ((int) 2))) goto LA3_;
		msg = "SIGINT: Interrupted by Ctrl-C.\012";
	}
	goto LA1_;
	LA3_: ;
	{
		if (!(sign == ((int) 11))) goto LA6_;
		msg = "SIGSEGV: Illegal storage access. (Attempt to read from nil\?)\012";
	}
	goto LA1_;
	LA6_: ;
	{
		if (!(sign == ((int) 6))) goto LA9_;
		msg = "SIGABRT: Abnormal termination.\012";
	}
	goto LA1_;
	LA9_: ;
	{
		if (!(sign == ((int) 8))) goto LA12_;
		msg = "SIGFPE: Arithmetic error.\012";
	}
	goto LA1_;
	LA12_: ;
	{
		if (!(sign == ((int) 4))) goto LA15_;
		msg = "SIGILL: Illegal operation.\012";
	}
	goto LA1_;
	LA15_: ;
	{
		if (!NIM_FALSE) goto LA18_;
		msg = "SIGBUS: Illegal storage access. (Attempt to read from nil\?)\012";
	}
	goto LA1_;
	LA18_: ;
	{
		{
			{
				if (!(sign == ((int) 13))) goto LA24_;
				msg = "SIGPIPE: Pipe closed.\012";
				goto LA21;
			}
			LA24_: ;
			msg = "unknown signal\012";
		} LA21: ;
	}
	LA1_: ;
	showErrorMessage__zsORN9crdKxsL9cHrQcdHSMw(msg);
	exit(((NI) 1));
}
N_LIB_PRIVATE N_NIMCALL(void, registerSignalHandler__amVlU9ajqZ06ujoesRBHcDg_2)(void) {
	tyProc__ZEo3s9cIqJYP74f7GMZM2FA T1_;
	tyProc__ZEo3s9cIqJYP74f7GMZM2FA T2_;
	tyProc__ZEo3s9cIqJYP74f7GMZM2FA T3_;
	tyProc__ZEo3s9cIqJYP74f7GMZM2FA T4_;
	tyProc__ZEo3s9cIqJYP74f7GMZM2FA T5_;
	tyProc__ZEo3s9cIqJYP74f7GMZM2FA T6_;
	T1_ = (tyProc__ZEo3s9cIqJYP74f7GMZM2FA)0;
	T1_ = signal(((int) 2), signalHandler);
	T2_ = (tyProc__ZEo3s9cIqJYP74f7GMZM2FA)0;
	T2_ = signal(((int) 11), signalHandler);
	T3_ = (tyProc__ZEo3s9cIqJYP74f7GMZM2FA)0;
	T3_ = signal(((int) 6), signalHandler);
	T4_ = (tyProc__ZEo3s9cIqJYP74f7GMZM2FA)0;
	T4_ = signal(((int) 8), signalHandler);
	T5_ = (tyProc__ZEo3s9cIqJYP74f7GMZM2FA)0;
	T5_ = signal(((int) 4), signalHandler);
	T6_ = (tyProc__ZEo3s9cIqJYP74f7GMZM2FA)0;
	T6_ = signal(((int) 13), signalHandler);
}
N_LIB_PRIVATE N_NIMCALL(NI, getRefcount)(void* p) {
	NI result;
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
	result = (NI)0;
	T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
	T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
	result = (NI)((NI64)((*T1_).refcount) >> (NU64)(((NI) 3)));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, nimRegisterGlobalMarker)(tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ markerProc) {
	{
		if (!(globalMarkersLen <= ((NI) 3499))) goto LA3_;
		globalMarkers[(globalMarkersLen)- 0] = markerProc;
		globalMarkersLen += ((NI) 1);
	}
	goto LA1_;
	LA3_: ;
	{
		rawWrite(stderr, "[GC] cannot register global variable; too many global variables");
		exit(((NI) 1));
	}
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ) {
	NimStringDesc* result;
	TNimNode* n;
	NimStringDesc* T19_;
	NimStringDesc* T20_;
{	result = (NimStringDesc*)0;
	n = (*typ).node;
	{
		NI o;
		if (!!((((*typ).flags &((NU8)1<<((NU)(((tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ) 2))&7U)))!=0))) goto LA3_;
		o = (NI)(e - (*(*n).sons[(((NI) 0))- 0]).offset);
		{
			NIM_BOOL T7_;
			T7_ = (NIM_BOOL)0;
			T7_ = (((NI) 0) <= o);
			if (!(T7_)) goto LA8_;
			T7_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem(o, (*(*typ).node).len);
			LA8_: ;
			if (!T7_) goto LA9_;
			result = cstrToNimstr((*(*n).sons[(o)- 0]).name);
			goto BeforeRet_;
		}
		LA9_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		TNimNode** s;
		s = (*n).sons;
		{
			NI i;
			NI colontmp_;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = (NI)((*n).len - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					if (!(res <= colontmp_)) goto LA14;
					i = res;
					{
						if (!((*s[(i)- 0]).offset == e)) goto LA17_;
						result = cstrToNimstr((*s[(i)- 0]).name);
						goto BeforeRet_;
					}
					LA17_: ;
					res += ((NI) 1);
				} LA14: ;
			}
		}
	}
	LA1_: ;
	T19_ = (NimStringDesc*)0;
	T20_ = (NimStringDesc*)0;
	T20_ = nimIntToStr(e);
	T19_ = rawNewString((T20_ ? T20_->Sup.len : 0) + 16);
appendString(T19_, T20_);
appendString(T19_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_17));
	result = T19_;
	}BeforeRet_: ;
	return result;
}
static N_NIMCALL(void, Marker_tySequence__WwUFq9cJ2xKRlsAWVEHyPRg)(void* p, NI op) {
	tySequence__WwUFq9cJ2xKRlsAWVEHyPRg* a;
	NI T1_;
	a = (tySequence__WwUFq9cJ2xKRlsAWVEHyPRg*)p;
	T1_ = (NI)0;
	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
	nimGCvisit((void*)a->data[T1_], op);
	}
}
N_LIB_PRIVATE N_NIMCALL(void*, dataPointer__8Wn9cfOy9assdXGuxu0oUaVA)(TGenericSeq* a, NI elemAlign, NI elemSize, NI index) {
	void* result;
	NI T1_;
	NI T2_;
	NI T3_;
	NI T4_;
	result = (void*)0;
	T1_ = (NI)0;
	T1_ = align__vzThvqZajaR9ct9cQ7SOy1tQ(((NI) 16), elemAlign);
	T2_ = (NI)0;
	T2_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) (a)), T1_);
	T3_ = (NI)0;
	T3_ = starpercent___dgYAo7RfdUVVpvkfKDym8w_3system(index, elemSize);
	T4_ = (NI)0;
	T4_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(T2_, T3_);
	result = ((void*) (T4_));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(TNimType*, extGetCellType)(void* c) {
	TNimType* result;
	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
	result = (TNimType*)0;
	T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
	T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(c);
	result = (*T1_).typ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen) {
	TGenericSeq* result;
	result = (TGenericSeq*)0;
	{
		void* T5_;
		if (!(s == ((TGenericSeq*) NIM_NIL))) goto LA3_;
		T5_ = (void*)0;
		T5_ = newSeq(typ, newLen);
		result = ((TGenericSeq*) (T5_));
	}
	goto LA1_;
	LA3_: ;
	{
		NI elemSize;
		NI elemAlign;
		elemSize = (*(*typ).base).size;
		elemAlign = (*(*typ).base).align;
		{
			NI r;
			NI T11_;
			void* T12_;
			void* T13_;
			void* T14_;
			if (!((NI)((*s).reserved & ((NI) IL64(4611686018427387903))) < newLen)) goto LA9_;
			T11_ = (NI)0;
			T11_ = resize__cOCDWr16YD4j3dBrbbH3yQsystem((NI)((*s).reserved & ((NI) IL64(4611686018427387903))));
			r = ((T11_ >= newLen) ? T11_ : newLen);
			T12_ = (void*)0;
			T12_ = newSeq(typ, r);
			result = ((TGenericSeq*) (T12_));
			T13_ = (void*)0;
			T13_ = dataPointer__dMaT1dYJWy6HCDx9bdXp24A(result, elemAlign);
			T14_ = (void*)0;
			T14_ = dataPointer__dMaT1dYJWy6HCDx9bdXp24A(s, elemAlign);
			copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(T13_, T14_, ((NI) ((NI)((*s).len * elemSize))));
			(*s).len = ((NI) 0);
		}
		goto LA7_;
		LA9_: ;
		{
			void* T27_;
			NI T28_;
			NI T29_;
			if (!(newLen < (*s).len)) goto LA16_;
			result = s;
			{
				if (!!((((*(*typ).base).flags &((NU8)1<<((NU)(((tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ) 0))&7U)))!=0))) goto LA20_;
				{
					NI i;
					NI colontmp_;
					NI res;
					i = (NI)0;
					colontmp_ = (NI)0;
					colontmp_ = (NI)((*result).len - ((NI) 1));
					res = newLen;
					{
						while (1) {
							void* T25_;
							TNimType* T26_;
							if (!(res <= colontmp_)) goto LA24;
							i = res;
							T25_ = (void*)0;
							T25_ = dataPointer__8Wn9cfOy9assdXGuxu0oUaVA(result, elemAlign, elemSize, i);
							T26_ = (TNimType*)0;
							T26_ = extGetCellType(((void*) (result)));
							forAllChildrenAux__3hKpU9c72lqUqbltnsyFjRw(T25_, (*T26_).base, ((tyEnum_WalkOp__Wfy7gT5VQ8B3aJBxqU8D9cQ) 2));
							res += ((NI) 1);
						} LA24: ;
					}
				}
			}
			LA20_: ;
			T27_ = (void*)0;
			T27_ = dataPointer__8Wn9cfOy9assdXGuxu0oUaVA(result, elemAlign, elemSize, newLen);
			T28_ = (NI)0;
			T28_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*result).len, newLen);
			T29_ = (NI)0;
			T29_ = starpercent___dgYAo7RfdUVVpvkfKDym8w_3system(T28_, elemSize);
			zeroMem__FsvhfMqbswETmyMWtamDewsystem(T27_, ((NI) (T29_)));
		}
		goto LA7_;
		LA16_: ;
		{
			void* T31_;
			NI T32_;
			NI T33_;
			result = s;
			T31_ = (void*)0;
			T31_ = dataPointer__8Wn9cfOy9assdXGuxu0oUaVA(result, elemAlign, elemSize, (*result).len);
			T32_ = (NI)0;
			T32_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(newLen, (*result).len);
			T33_ = (NI)0;
			T33_ = starpercent___dgYAo7RfdUVVpvkfKDym8w_3system(T32_, elemSize);
			zeroMem__FsvhfMqbswETmyMWtamDewsystem(T31_, ((NI) (T33_)));
		}
		LA7_: ;
		(*result).len = newLen;
	}
	LA1_: ;
	return result;
}
static N_NIMCALL(void, Marker_tyRef__S8DV6hfcgC9c0IiUsAoR29cQ)(void* p, NI op) {
	tyObject_AssertionDefect__PtYxPmY5X0dorfvxAFbJpQ* a;
	a = (tyObject_AssertionDefect__PtYxPmY5X0dorfvxAFbJpQ*)p;
	nimGCvisit((void*)(*a).Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.trace, op);
	nimGCvisit((void*)(*a).Sup.Sup.up, op);
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr__2yh9cer0ymNRHlOOg8P7IuA)(NimStringDesc* s, NI first, NI last) {
	NimStringDesc* result;
	NI first_2;
	NI L;
	result = (NimStringDesc*)0;
	first_2 = ((first >= ((NI) 0)) ? first : ((NI) 0));
	L = (((NI)((NI)(((last <= ((s ? s->Sup.len : 0)-1)) ? last : ((s ? s->Sup.len : 0)-1)) - first_2) + ((NI) 1)) >= ((NI) 0)) ? (NI)((NI)(((last <= ((s ? s->Sup.len : 0)-1)) ? last : ((s ? s->Sup.len : 0)-1)) - first_2) + ((NI) 1)) : ((NI) 0));
	result = mnewString(((NI) (L)));
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (NI)(L - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA3;
				i = res;
				result->data[i] = s->data[(NI)(i + first_2)];
				res += ((NI) 1);
			} LA3: ;
		}
	}
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
		{
			if (!!(((NI)((*src).Sup.reserved & ((NI) (IL64(-9223372036854775807) - IL64(1)))) == ((NI) 0)))) goto LA7_;
			result = src;
		}
		goto LA5_;
		LA7_: ;
		{
			result = rawNewStringNoInit((*src).Sup.len);
			(*result).Sup.len = (*src).Sup.len;
			copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((*result).data)), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
		}
		LA5_: ;
	}
	LA3_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = mnewString(((NI) 1));
	result->data[((NI) 0)] = x;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimInt64ToStr)(NI64 x) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = rawNewString(((NI) 32));
	addInt__mftMOxbyu0h4yByfs3sqjA((&result), x);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, countBits32)(NU32 n) {
	NI result;
	NU32 v;
	result = (NI)0;
	v = n;
	v = (NU32)((NU32)(v) - (NU32)((NU32)((NU32)((NU32)(v) >> (NU32)(((NU32) 1))) & ((NU32) 1431655765))));
	v = (NU32)((NU32)((NU32)(v & ((NU32) 858993459))) + (NU32)((NU32)((NU32)((NU32)(v) >> (NU32)(((NU32) 2))) & ((NU32) 858993459))));
	result = ((NI) ((NU32)((NU32)((NU32)((NU32)((NU32)((NU32)((NU32)(v) + (NU32)((NU32)((NU32)(v) >> (NU32)(((NU32) 4))))) & ((NU32) 252645135))) * (NU32)(((NU32) 16843009)))) >> (NU32)(((NU32) 24)))));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, GC_disableMarkAndSweep__amVlU9ajqZ06ujoesRBHcDg_3)(void) {
	gch__IcYaEuuWivYAS86vFMTS3Q.cycleThreshold = ((NI) IL64(9223372036854775806));
}
N_LIB_PRIVATE N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len) {
	void* result;
	NI size;
	NI T1_;
	NI TM__Q5wkpxktOdTGvlSRo9bzt9aw_18;
	NI TM__Q5wkpxktOdTGvlSRo9bzt9aw_19;
	result = (void*)0;
	T1_ = (NI)0;
	T1_ = align__vzThvqZajaR9ct9cQ7SOy1tQ(((NI) 16), (*(*typ).base).align);
	if (nimMulInt(len, (*(*typ).base).size, &TM__Q5wkpxktOdTGvlSRo9bzt9aw_18)) { raiseOverflow(); };
	if (nimAddInt(T1_, (NI)(TM__Q5wkpxktOdTGvlSRo9bzt9aw_18), &TM__Q5wkpxktOdTGvlSRo9bzt9aw_19)) { raiseOverflow(); };
	size = (NI)(TM__Q5wkpxktOdTGvlSRo9bzt9aw_19);
	result = newObjRC1(typ, size);
	(*((TGenericSeq*) (result))).len = len;
	(*((TGenericSeq*) (result))).reserved = len;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void*, nimNewSeqOfCap)(TNimType* typ, NI cap) {
	void* result;
	NI s;
	NI T1_;
	NI TM__Q5wkpxktOdTGvlSRo9bzt9aw_20;
	NI TM__Q5wkpxktOdTGvlSRo9bzt9aw_21;
	result = (void*)0;
	T1_ = (NI)0;
	T1_ = align__vzThvqZajaR9ct9cQ7SOy1tQ(((NI) 16), (*(*typ).base).align);
	if (nimMulInt(cap, (*(*typ).base).size, &TM__Q5wkpxktOdTGvlSRo9bzt9aw_20)) { raiseOverflow(); };
	if (nimAddInt(T1_, (NI)(TM__Q5wkpxktOdTGvlSRo9bzt9aw_20), &TM__Q5wkpxktOdTGvlSRo9bzt9aw_21)) { raiseOverflow(); };
	s = (NI)(TM__Q5wkpxktOdTGvlSRo9bzt9aw_21);
	{
		if (!(((*(*typ).base).flags &((NU8)1<<((NU)(((tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ) 0))&7U)))!=0)) goto LA4_;
		result = newObjNoInit(typ, s);
	}
	goto LA2_;
	LA4_: ;
	{
		result = newObj(typ, s);
	}
	LA2_: ;
	(*((TGenericSeq*) (result))).len = ((NI) 0);
	(*((TGenericSeq*) (result))).reserved = cap;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, genericReset)(void* dest, TNimType* mt) {
	NI d;
	d = ((NI) (ptrdiff_t) (dest));
	switch ((*mt).kind) {
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 22):
	{
		unsureAsgnRef(((void**) (dest)), NIM_NIL);
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 28):
	{
		unsureAsgnRef(((void**) (dest)), NIM_NIL);
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 24):
	{
		unsureAsgnRef(((void**) (dest)), NIM_NIL);
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 18):
	{
		genericResetAux__9bFXTAJ8caOL4Ioy2o3B3aw(dest, (*mt).node);
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 17):
	{
		TNimType** pint;
		genericResetAux__9bFXTAJ8caOL4Ioy2o3B3aw(dest, (*mt).node);
		pint = ((TNimType**) (dest));
		(*pint) = ((TNimType*) NIM_NIL);
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 16):
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 4):
	{
		{
			NI i;
			NI colontmp_;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = (NI)((NI)((*mt).size / (*(*mt).base).size) - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					NI T10_;
					NI T11_;
					if (!(res <= colontmp_)) goto LA9;
					i = res;
					T10_ = (NI)0;
					T10_ = starpercent___dgYAo7RfdUVVpvkfKDym8w_3system(i, (*(*mt).base).size);
					T11_ = (NI)0;
					T11_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, T10_);
					genericReset(((void*) (T11_)), (*mt).base);
					res += ((NI) 1);
				} LA9: ;
			}
		}
	}
	break;
	default:
	{
		zeroMem__FsvhfMqbswETmyMWtamDewsystem(dest, ((NI) ((*mt).size)));
	}
	break;
	}
}
N_LIB_PRIVATE N_NIMCALL(void, genericResetAux__9bFXTAJ8caOL4Ioy2o3B3aw)(void* dest, TNimNode* n) {
	NI d;
	d = ((NI) (ptrdiff_t) (dest));
	switch ((*n).kind) {
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 0):
	{
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 1):
	{
		NI T3_;
		T3_ = (NI)0;
		T3_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, (*n).offset);
		genericReset(((void*) (T3_)), (*n).typ);
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 2):
	{
		{
			NI i;
			NI colontmp_;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = (NI)((*n).len - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					if (!(res <= colontmp_)) goto LA7;
					i = res;
					genericResetAux__9bFXTAJ8caOL4Ioy2o3B3aw(dest, (*n).sons[(i)- 0]);
					res += ((NI) 1);
				} LA7: ;
			}
		}
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 3):
	{
		TNimNode* m;
		NI T13_;
		m = selectBranch__2us2RQByTh81i9aW4EEgfmw(dest, n);
		{
			if (!!((m == ((TNimNode*) NIM_NIL)))) goto LA11_;
			genericResetAux__9bFXTAJ8caOL4Ioy2o3B3aw(dest, m);
		}
		LA11_: ;
		T13_ = (NI)0;
		T13_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, (*n).offset);
		zeroMem__FsvhfMqbswETmyMWtamDewsystem(((void*) (T13_)), ((NI) ((*(*n).typ).size)));
	}
	break;
	}
}
N_LIB_PRIVATE N_NIMCALL(void, genericAssignAux__69cRBG8C28ydeYlu49a9aOJCQ)(void* dest, void* src, TNimNode* n, NIM_BOOL shallow) {
	NI d;
	NI s;
	d = ((NI) (ptrdiff_t) (dest));
	s = ((NI) (ptrdiff_t) (src));
	switch ((*n).kind) {
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 1):
	{
		NI T2_;
		NI T3_;
		T2_ = (NI)0;
		T2_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, (*n).offset);
		T3_ = (NI)0;
		T3_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(s, (*n).offset);
		genericAssignAux__U5DxFPRpHCCZDKWQzM9adaw(((void*) (T2_)), ((void*) (T3_)), (*n).typ, shallow);
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 2):
	{
		{
			NI i;
			NI colontmp_;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = (NI)((*n).len - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					if (!(res <= colontmp_)) goto LA7;
					i = res;
					genericAssignAux__69cRBG8C28ydeYlu49a9aOJCQ(dest, src, (*n).sons[(i)- 0], shallow);
					res += ((NI) 1);
				} LA7: ;
			}
		}
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 3):
	{
		TNimNode* dd;
		TNimNode* m;
		NI T15_;
		NI T16_;
		dd = selectBranch__2us2RQByTh81i9aW4EEgfmw(dest, n);
		m = selectBranch__2us2RQByTh81i9aW4EEgfmw(src, n);
		{
			NIM_BOOL T11_;
			T11_ = (NIM_BOOL)0;
			T11_ = !((m == dd));
			if (!(T11_)) goto LA12_;
			T11_ = !((dd == ((TNimNode*) NIM_NIL)));
			LA12_: ;
			if (!T11_) goto LA13_;
			genericResetAux__9bFXTAJ8caOL4Ioy2o3B3aw(dest, dd);
		}
		LA13_: ;
		T15_ = (NI)0;
		T15_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, (*n).offset);
		T16_ = (NI)0;
		T16_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(s, (*n).offset);
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) (T15_)), ((void*) (T16_)), ((NI) ((*(*n).typ).size)));
		{
			if (!!((m == ((TNimNode*) NIM_NIL)))) goto LA19_;
			genericAssignAux__69cRBG8C28ydeYlu49a9aOJCQ(dest, src, m, shallow);
		}
		LA19_: ;
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 0):
	{
	}
	break;
	}
}
static N_NIMCALL(void, Marker_tyRef__C0A9bPZSVeyr2BWpBf4Jxqw)(void* p, NI op) {
	tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g* a;
	a = (tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g*)p;
	nimGCvisit((void*)(*a).Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.trace, op);
	nimGCvisit((void*)(*a).Sup.Sup.up, op);
}
static N_INLINE(void, sysFatal__LGIwiR9aqSM70ldGCThzJ3gsystem)(NimStringDesc* message) {
	tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g* T1_;
	NimStringDesc* T2_;
	T1_ = (tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g*)0;
	T1_ = (tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g*) newObj((&NTI__C0A9bPZSVeyr2BWpBf4Jxqw_), sizeof(tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g));
	(*T1_).Sup.Sup.Sup.m_type = (&NTI__6toVe0IizlEwN9bORXEdX3g_);
	(*T1_).Sup.Sup.name = "ObjectAssignmentDefect";
	T2_ = (NimStringDesc*)0;
	T2_ = (*T1_).Sup.Sup.message; (*T1_).Sup.Sup.message = copyStringRC1(message);
	if (T2_) nimGCunrefNoCycle(T2_);
	raiseExceptionEx((Exception*)T1_, "ObjectAssignmentDefect", "sysFatal", "fatal.nim", 49);
}
static N_INLINE(void, chckObjAsgn)(TNimType* a, TNimType* b) {
	{
		if (!!((a == b))) goto LA3_;
		sysFatal__LGIwiR9aqSM70ldGCThzJ3gsystem(((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_22));
	}
	LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, genericAssignAux__U5DxFPRpHCCZDKWQzM9adaw)(void* dest, void* src, TNimType* mt, NIM_BOOL shallow) {
	NI d;
	NI s;
{	d = ((NI) (ptrdiff_t) (dest));
	s = ((NI) (ptrdiff_t) (src));
	switch ((*mt).kind) {
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 28):
	{
		void** x;
		void* s2;
		x = ((void**) (dest));
		s2 = (*((void**) (s)));
		{
			NIM_BOOL T4_;
			NIM_BOOL T5_;
			T4_ = (NIM_BOOL)0;
			T5_ = (NIM_BOOL)0;
			T5_ = (s2 == NIM_NIL);
			if (T5_) goto LA6_;
			T5_ = shallow;
			LA6_: ;
			T4_ = T5_;
			if (T4_) goto LA7_;
			T4_ = !(((NI)((*((TGenericSeq*) (s2))).reserved & ((NI) (IL64(-9223372036854775807) - IL64(1)))) == ((NI) 0)));
			LA7_: ;
			if (!T4_) goto LA8_;
			unsureAsgnRef(x, s2);
		}
		goto LA2_;
		LA8_: ;
		{
			NimStringDesc* T11_;
			T11_ = (NimStringDesc*)0;
			T11_ = copyString(((NimStringDesc*) (s2)));
			unsureAsgnRef(x, ((void*) (T11_)));
		}
		LA2_: ;
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 24):
	{
		void* s2_2;
		TGenericSeq* seq;
		void** x_2;
		s2_2 = (*((void**) (src)));
		seq = ((TGenericSeq*) (s2_2));
		x_2 = ((void**) (dest));
		{
			NIM_BOOL T15_;
			NIM_BOOL T16_;
			T15_ = (NIM_BOOL)0;
			T16_ = (NIM_BOOL)0;
			T16_ = (s2_2 == NIM_NIL);
			if (T16_) goto LA17_;
			T16_ = shallow;
			LA17_: ;
			T15_ = T16_;
			if (T15_) goto LA18_;
			T15_ = !(((NI)((*seq).reserved & ((NI) (IL64(-9223372036854775807) - IL64(1)))) == ((NI) 0)));
			LA18_: ;
			if (!T15_) goto LA19_;
			unsureAsgnRef(x_2, s2_2);
			goto BeforeRet_;
		}
		LA19_: ;
		{
			void* ss;
			NI dst;
			NI T25_;
			NI T26_;
			NI T27_;
			NI T28_;
			NI T29_;
			if (!(((*(*mt).base).flags &((NU8)1<<((NU)(((tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ) 0))&7U)))!=0)) goto LA23_;
			ss = nimNewSeqOfCap(mt, (*seq).len);
			(*((TGenericSeq*) (ss))).len = (*seq).len;
			unsureAsgnRef(x_2, ss);
			dst = ((NI) (ptrdiff_t) ((*((void**) (dest)))));
			T25_ = (NI)0;
			T25_ = align__vzThvqZajaR9ct9cQ7SOy1tQ(((NI) 16), (*(*mt).base).align);
			T26_ = (NI)0;
			T26_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(dst, T25_);
			T27_ = (NI)0;
			T27_ = align__vzThvqZajaR9ct9cQ7SOy1tQ(((NI) 16), (*(*mt).base).align);
			T28_ = (NI)0;
			T28_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) (s2_2)), T27_);
			T29_ = (NI)0;
			T29_ = starpercent___dgYAo7RfdUVVpvkfKDym8w_3system((*seq).len, (*(*mt).base).size);
			copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) (T26_)), ((void*) (T28_)), ((NI) (T29_)));
		}
		goto LA21_;
		LA23_: ;
		{
			void* T31_;
			NI dst_2;
			T31_ = (void*)0;
			T31_ = newSeq(mt, (*seq).len);
			unsureAsgnRef(x_2, T31_);
			dst_2 = ((NI) (ptrdiff_t) ((*((void**) (dest)))));
			{
				NI i;
				NI colontmp_;
				NI res;
				i = (NI)0;
				colontmp_ = (NI)0;
				colontmp_ = (NI)((*seq).len - ((NI) 1));
				res = ((NI) 0);
				{
					while (1) {
						NI T35_;
						NI T36_;
						NI T37_;
						NI T38_;
						NI T39_;
						NI T40_;
						NI T41_;
						NI T42_;
						if (!(res <= colontmp_)) goto LA34;
						i = res;
						T35_ = (NI)0;
						T35_ = align__vzThvqZajaR9ct9cQ7SOy1tQ(((NI) 16), (*(*mt).base).align);
						T36_ = (NI)0;
						T36_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(dst_2, T35_);
						T37_ = (NI)0;
						T37_ = starpercent___dgYAo7RfdUVVpvkfKDym8w_3system(i, (*(*mt).base).size);
						T38_ = (NI)0;
						T38_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(T36_, T37_);
						T39_ = (NI)0;
						T39_ = align__vzThvqZajaR9ct9cQ7SOy1tQ(((NI) 16), (*(*mt).base).align);
						T40_ = (NI)0;
						T40_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(((NI) (ptrdiff_t) (s2_2)), T39_);
						T41_ = (NI)0;
						T41_ = starpercent___dgYAo7RfdUVVpvkfKDym8w_3system(i, (*(*mt).base).size);
						T42_ = (NI)0;
						T42_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(T40_, T41_);
						genericAssignAux__U5DxFPRpHCCZDKWQzM9adaw(((void*) (T38_)), ((void*) (T42_)), (*mt).base, shallow);
						res += ((NI) 1);
					} LA34: ;
				}
			}
		}
		LA21_: ;
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 17):
	{
		TNimType* it;
		TNimType** pint;
		it = (*mt).base;
		{
			while (1) {
				if (!!((it == ((TNimType*) NIM_NIL)))) goto LA45;
				genericAssignAux__69cRBG8C28ydeYlu49a9aOJCQ(dest, src, (*it).node, shallow);
				it = (*it).base;
			} LA45: ;
		}
		genericAssignAux__69cRBG8C28ydeYlu49a9aOJCQ(dest, src, (*mt).node, shallow);
		pint = ((TNimType**) (dest));
		chckObjAsgn((*((TNimType**) (src))), mt);
		(*pint) = mt;
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 18):
	{
		genericAssignAux__69cRBG8C28ydeYlu49a9aOJCQ(dest, src, (*mt).node, shallow);
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 16):
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 4):
	{
		{
			NI i_2;
			NI colontmp__2;
			NI res_2;
			i_2 = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = (NI)((NI)((*mt).size / (*(*mt).base).size) - ((NI) 1));
			res_2 = ((NI) 0);
			{
				while (1) {
					NI T51_;
					NI T52_;
					NI T53_;
					NI T54_;
					if (!(res_2 <= colontmp__2)) goto LA50;
					i_2 = res_2;
					T51_ = (NI)0;
					T51_ = starpercent___dgYAo7RfdUVVpvkfKDym8w_3system(i_2, (*(*mt).base).size);
					T52_ = (NI)0;
					T52_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, T51_);
					T53_ = (NI)0;
					T53_ = starpercent___dgYAo7RfdUVVpvkfKDym8w_3system(i_2, (*(*mt).base).size);
					T54_ = (NI)0;
					T54_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(s, T53_);
					genericAssignAux__U5DxFPRpHCCZDKWQzM9adaw(((void*) (T52_)), ((void*) (T54_)), (*mt).base, shallow);
					res_2 += ((NI) 1);
				} LA50: ;
			}
		}
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 22):
	{
		unsureAsgnRef(((void**) (dest)), (*((void**) (s))));
	}
	break;
	default:
	{
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(dest, src, ((NI) ((*mt).size)));
	}
	break;
	}
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt) {
	genericAssignAux__U5DxFPRpHCCZDKWQzM9adaw(dest, src, mt, NIM_FALSE);
}
N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest, void* src, TNimType* mt) {
	void* src_2;
	src_2 = src;
	genericAssign(dest, ((void*) ((&src_2))), mt);
}
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, newSeq__q7W9bxIQ7BrFLngLO9cYelsA)(NI len) {
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result;
	result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
	result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) newSeq((&NTI__sM4lkSb7zS6F7OVMvW9cffQ_), len);
	return result;
}
static N_NIMCALL(void, Marker_tyRef__9clYsYwyjCqe2PFTuCI3Ubg)(void* p, NI op) {
	tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA* a;
	a = (tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA*)p;
	nimGCvisit((void*)(*a).Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.trace, op);
	nimGCvisit((void*)(*a).Sup.Sup.up, op);
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr__iGg0RIKceRvsmvq8FUHOEw)(NimStringDesc* s, NI first) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = substr__2yh9cer0ymNRHlOOg8P7IuA(s, first, ((s ? s->Sup.len : 0)-1));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, X5BX5D___dxs1m8X8HLcMK21WAkRfcw)(NimStringDesc** s, NI sLen_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x) {
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result;
	NI a;
	NI L;
	result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
	a = x.a;
	L = (NI)((NI)((NI)(sLen_0 - x.b) - a) + ((NI) 1));
	result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) newSeq((&NTI__sM4lkSb7zS6F7OVMvW9cffQ_), ((NI) (L)));
	{
		NI i;
		NI i_2;
		i = (NI)0;
		i_2 = ((NI) 0);
		{
			while (1) {
				NimStringDesc* T4_;
				if (!(i_2 < L)) goto LA3;
				i = i_2;
				T4_ = (NimStringDesc*)0;
				T4_ = result->data[i]; result->data[i] = copyStringRC1(s[(NI)(i + a)]);
				if (T4_) nimGCunrefNoCycle(T4_);
				i_2 += ((NI) 1);
			} LA3: ;
		}
	}
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, hashString)(NimStringDesc* s) {
	NI result;
	NU h;
	result = (NI)0;
	h = ((NU) 0);
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (NI)((s ? s->Sup.len : 0) - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA3;
				i = res;
				h = (NU)((NU64)(h) + (NU64)(((NU) (((NU8)(s->data[i]))))));
				h = (NU)((NU64)(h) + (NU64)((NU)((NU64)(h) << (NU64)(((NI) 10)))));
				h = (NU)(h ^ (NU)((NU64)(h) >> (NU64)(((NI) 6))));
				res += ((NI) 1);
			} LA3: ;
		}
	}
	h = (NU)((NU64)(h) + (NU64)((NU)((NU64)(h) << (NU64)(((NI) 3)))));
	h = (NU)(h ^ (NU)((NU64)(h) >> (NU64)(((NI) 11))));
	h = (NU)((NU64)(h) + (NU64)((NU)((NU64)(h) << (NU64)(((NI) 15)))));
	result = ((NI) (h));
	return result;
}
static N_NIMCALL(void, Marker_tyRef__Ie1m0dv1ZHg72IgPRr1cDw)(void* p, NI op) {
	tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw* a;
	a = (tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*)p;
	nimGCvisit((void*)(*a).Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.trace, op);
	nimGCvisit((void*)(*a).Sup.Sup.up, op);
}
static N_NIMCALL(void, Marker_tyRef__HMIVdYjdZYWskTmTQVo5BQ)(void* p, NI op) {
	tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw* a;
	a = (tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw*)p;
	nimGCvisit((void*)(*a).Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.trace, op);
	nimGCvisit((void*)(*a).Sup.Sup.up, op);
}
N_LIB_PRIVATE N_NIMCALL(void, nimLeaveFinally)(void) {
	{
		if (!!((excHandler__rqLlY5bs9atDw2OXYqJEn5g == ((TSafePoint*) NIM_NIL)))) goto LA3_;
		longjmp((*excHandler__rqLlY5bs9atDw2OXYqJEn5g).context, ((int) 1));
	}
	goto LA1_;
	LA3_: ;
	{
		reportUnhandledError__na8C8pUZ9cLQWVwk35l5vfw_2(currException__9bVPeDJlYTi9bQApZpfH8wjg);
		exit(((NI) 1));
	}
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass) {
	NIM_BOOL result;
	TNimType* x;
{	result = (NIM_BOOL)0;
	x = obj;
	{
		if (!(x == subclass)) goto LA3_;
		result = NIM_TRUE;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		while (1) {
			if (!!((x == subclass))) goto LA6;
			{
				if (!(x == ((TNimType*) NIM_NIL))) goto LA9_;
				result = NIM_FALSE;
				goto BeforeRet_;
			}
			LA9_: ;
			x = (*x).base;
		} LA6: ;
	}
	result = NIM_TRUE;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, stackTraceAvailable__xiAaEKYdoaDLIIbJ78BqmQ)(void) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = NIM_FALSE;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, writeStackTrace__amVlU9ajqZ06ujoesRBHcDg_4)(void) {
	showErrorMessage__zsORN9crdKxsL9cHrQcdHSMw("No stack traceback available\012");
}
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
	int result;
	result = (int)0;
	result = memcmp(a, b, ((size_t) (size)));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, cmp__NAicU5bAGXmkx2NJujGi7g)(NimStringDesc* x, NimStringDesc* y) {
	NI result;
	NI minlen;
	int T1_;
	result = (NI)0;
	minlen = (((x ? x->Sup.len : 0) <= (y ? y->Sup.len : 0)) ? (x ? x->Sup.len : 0) : (y ? y->Sup.len : 0));
	T1_ = (int)0;
	T1_ = nimCmpMem(((void*) (nimToCStringConv(x))), ((void*) (nimToCStringConv(y))), ((NI) (((size_t) (minlen)))));
	result = ((NI) (T1_));
	{
		if (!(result == ((NI) 0))) goto LA4_;
		result = (NI)((x ? x->Sup.len : 0) - (y ? y->Sup.len : 0));
	}
	LA4_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, insert__qXnbI9b45z8apamwI0NlLCQ)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ** x, NimStringDesc* item, NI i) {
	NI xlX60gensym1_;
	NI T1_;
	NI jX60gensym1_;
	NimStringDesc* T4_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xlX60gensym1_ = T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) setLengthSeqV2(&((*x))->Sup, (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_), ((NI) ((NI)(xlX60gensym1_ + ((NI) 1))))));
	jX60gensym1_ = (NI)(xlX60gensym1_ - ((NI) 1));
	{
		while (1) {
			if (!(((NI) (i)) <= jX60gensym1_)) goto LA3;
			asgnRef((void**) (&(*x)->data[(NI)(jX60gensym1_ + ((NI) 1))]), (*x)->data[jX60gensym1_]);
			jX60gensym1_ -= ((NI) 1);
		} LA3: ;
	}
	T4_ = (NimStringDesc*)0;
	T4_ = (*x)->data[i]; (*x)->data[i] = copyStringRC1(item);
	if (T4_) nimGCunrefNoCycle(T4_);
}
static N_INLINE(void, addEscapedChar__dfKNBK6s29c7zfWj2JwI7EQsystem)(NimStringDesc** s, NIM_CHAR c) {
	switch (((NU8)(c))) {
	case 7:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_24));
	}
	break;
	case 8:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_25));
	}
	break;
	case 9:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_26));
	}
	break;
	case 10:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_27));
	}
	break;
	case 11:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_28));
	}
	break;
	case 12:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_29));
	}
	break;
	case 13:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_30));
	}
	break;
	case 27:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_31));
	}
	break;
	case 92:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_32));
	}
	break;
	case 39:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_33));
	}
	break;
	case 34:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_34));
	}
	break;
	case 32 ... 33:
	case 35 ... 38:
	case 40 ... 91:
	case 93 ... 126:
	{
		unsureAsgnRef((void**) (&(*s)), addChar((*s), c));
	}
	break;
	default:
	{
		NI n;
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_35));
		n = ((NU8)(c));
		unsureAsgnRef((void**) (&(*s)), addChar((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_36)->data[(NI)((NI64)((NI)(n & ((NI) 240))) >> (NU64)(((NI) 4)))]));
		unsureAsgnRef((void**) (&(*s)), addChar((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_36)->data[(NI)(n & ((NI) 15))]));
	}
	break;
	}
}
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__45fPtFhY4FavRaYwDhRfuA)(NimStringDesc** s, NimStringDesc* x) {
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_23));
	{
		NIM_CHAR c;
		NI i;
		NI L;
		c = (NIM_CHAR)0;
		i = ((NI) 0);
		L = (x ? x->Sup.len : 0);
		{
			while (1) {
				if (!(i < L)) goto LA3;
				c = x->data[i];
				{
					if (!((NU8)(c) <= (NU8)(127))) goto LA6_;
					addEscapedChar__dfKNBK6s29c7zfWj2JwI7EQsystem(s, c);
				}
				goto LA4_;
				LA6_: ;
				{
					unsureAsgnRef((void**) (&(*s)), addChar((*s), c));
				}
				LA4_: ;
				i += ((NI) 1);
			} LA3: ;
		}
	}
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_23));
}
N_LIB_PRIVATE N_NIMCALL(void, delete__DoB9bRPaUM0oAyF41O59cWYQ)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ** x, NI i) {
	NI xlX60gensym21_;
	NI T1_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xlX60gensym21_ = T1_;
	{
		NI jX60gensym21_;
		NI colontmp_;
		NI colontmp__2;
		NI res;
		jX60gensym21_ = (NI)0;
		colontmp_ = (NI)0;
		colontmp__2 = (NI)0;
		colontmp_ = ((NI) (i));
		colontmp__2 = (NI)(xlX60gensym21_ - ((NI) 2));
		res = colontmp_;
		{
			while (1) {
				if (!(res <= colontmp__2)) goto LA4;
				jX60gensym21_ = res;
				asgnRef((void**) (&(*x)->data[jX60gensym21_]), (*x)->data[(NI)(jX60gensym21_ + ((NI) 1))]);
				res += ((NI) 1);
			} LA4: ;
		}
	}
	unsureAsgnRef((void**) (&(*x)), (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) setLengthSeqV2(&((*x))->Sup, (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_), ((NI) ((NI)(xlX60gensym21_ - ((NI) 1))))));
}
static N_NIMCALL(void, Marker_tyRef__8SzoIAgLw9ci2v0yafHj9b6Q)(void* p, NI op) {
	tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag* a;
	a = (tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag*)p;
	nimGCvisit((void*)(*a).Sup.Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.trace, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.up, op);
}
static N_NIMCALL(void, Marker_tyRef__LEclZrWX2FQAodlapxGITw)(void* p, NI op) {
	tyObject_EOFError__KGSY1JdrNB7Xi8KDhXFhSg* a;
	a = (tyObject_EOFError__KGSY1JdrNB7Xi8KDhXFhSg*)p;
	nimGCvisit((void*)(*a).Sup.Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.trace, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.up, op);
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___PwqVAsfJ49cJp2hIm2xHpPQ)(tyArray__YtcvxHNKV4YiecPE9ap1mcA x, tyArray__YtcvxHNKV4YiecPE9ap1mcA y) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		NI f;
		NI res;
		f = (NI)0;
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= ((NI) 19))) goto LA3;
				f = ((NI) (res));
				{
					if (!!((x[(f)- 0] == y[(f)- 0]))) goto LA6_;
					goto BeforeRet_;
				}
				LA6_: ;
				res += ((NI) 1);
			} LA3: ;
		}
	}
	result = NIM_TRUE;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, insert__QiSrmi7QFVZLWumqReTo7w)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ** x, NimStringDesc* item, NI i) {
	NI xlX60gensym21_;
	NI T1_;
	NI jX60gensym21_;
	NimStringDesc* T4_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xlX60gensym21_ = T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) setLengthSeqV2(&((*x))->Sup, (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_), ((NI) ((NI)(xlX60gensym21_ + ((NI) 1))))));
	jX60gensym21_ = (NI)(xlX60gensym21_ - ((NI) 1));
	{
		while (1) {
			if (!(((NI) (i)) <= jX60gensym21_)) goto LA3;
			asgnRef((void**) (&(*x)->data[(NI)(jX60gensym21_ + ((NI) 1))]), (*x)->data[jX60gensym21_]);
			jX60gensym21_ -= ((NI) 1);
		} LA3: ;
	}
	T4_ = (NimStringDesc*)0;
	T4_ = (*x)->data[i]; (*x)->data[i] = copyStringRC1(item);
	if (T4_) nimGCunrefNoCycle(T4_);
}
static N_NIMCALL(void, Marker_tyRef__0vJvi4uHbxjbxlkkX7P1EA)(void* p, NI op) {
	RootObj* a;
	a = (RootObj*)p;
}
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, newSeq__XBEivtAkQKaRR3thJ0t9amQ)(NI len) {
	tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result;
	result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
	result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) newSeq((&NTI__sM4lkSb7zS6F7OVMvW9cffQ_), len);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, nimParseBiggestFloat)(NimStringDesc* s, NF* number, NI start) {
	NI result;
	NI i;
	NF sign;
	NI kdigits;
	NI fdigits;
	NI exponent;
	NU64 integer;
	NI fracExponent;
	NI expSign;
	NI firstDigit;
	NIM_BOOL hasSign;
	NI realExponent;
	NIM_BOOL expNegative;
	NI absExponent;
	NI digits;
	tyArray__PGLh8drTnaWr3s1qUUSq2Q t;
	NI ti;
	NI maxlen;
{	result = (NI)0;
	i = start;
	sign = 1.0000000000000000e+00;
	kdigits = ((NI) 0);
	fdigits = ((NI) 0);
	exponent = ((NI) 0);
	integer = 0ULL;
	fracExponent = ((NI) 0);
	expSign = ((NI) 1);
	firstDigit = ((NI) -1);
	hasSign = NIM_FALSE;
	{
		NIM_BOOL T3_;
		NIM_BOOL T5_;
		T3_ = (NIM_BOOL)0;
		T3_ = (i < (s ? s->Sup.len : 0));
		if (!(T3_)) goto LA4_;
		T5_ = (NIM_BOOL)0;
		T5_ = ((NU8)(s->data[i]) == (NU8)(43));
		if (T5_) goto LA6_;
		T5_ = ((NU8)(s->data[i]) == (NU8)(45));
		LA6_: ;
		T3_ = T5_;
		LA4_: ;
		if (!T3_) goto LA7_;
		hasSign = NIM_TRUE;
		{
			if (!((NU8)(s->data[i]) == (NU8)(45))) goto LA11_;
			sign = -1.0000000000000000e+00;
		}
		LA11_: ;
		i += ((NI) 1);
	}
	LA7_: ;
	{
		NIM_BOOL T15_;
		NIM_BOOL T17_;
		T15_ = (NIM_BOOL)0;
		T15_ = ((NI)(i + ((NI) 2)) < (s ? s->Sup.len : 0));
		if (!(T15_)) goto LA16_;
		T17_ = (NIM_BOOL)0;
		T17_ = ((NU8)(s->data[i]) == (NU8)(78));
		if (T17_) goto LA18_;
		T17_ = ((NU8)(s->data[i]) == (NU8)(110));
		LA18_: ;
		T15_ = T17_;
		LA16_: ;
		if (!T15_) goto LA19_;
		{
			NIM_BOOL T23_;
			T23_ = (NIM_BOOL)0;
			T23_ = ((NU8)(s->data[(NI)(i + ((NI) 1))]) == (NU8)(65));
			if (T23_) goto LA24_;
			T23_ = ((NU8)(s->data[(NI)(i + ((NI) 1))]) == (NU8)(97));
			LA24_: ;
			if (!T23_) goto LA25_;
			{
				NIM_BOOL T29_;
				T29_ = (NIM_BOOL)0;
				T29_ = ((NU8)(s->data[(NI)(i + ((NI) 2))]) == (NU8)(78));
				if (T29_) goto LA30_;
				T29_ = ((NU8)(s->data[(NI)(i + ((NI) 2))]) == (NU8)(110));
				LA30_: ;
				if (!T29_) goto LA31_;
				{
					NIM_BOOL T35_;
					T35_ = (NIM_BOOL)0;
					T35_ = ((s ? s->Sup.len : 0) <= (NI)(i + ((NI) 3)));
					if (T35_) goto LA36_;
					T35_ = !((((NU8)(s->data[(NI)(i + ((NI) 3))])) >= ((NU8)(97)) && ((NU8)(s->data[(NI)(i + ((NI) 3))])) <= ((NU8)(122)) || ((NU8)(s->data[(NI)(i + ((NI) 3))])) >= ((NU8)(65)) && ((NU8)(s->data[(NI)(i + ((NI) 3))])) <= ((NU8)(90)) || ((NU8)(s->data[(NI)(i + ((NI) 3))])) >= ((NU8)(48)) && ((NU8)(s->data[(NI)(i + ((NI) 3))])) <= ((NU8)(57)) || ((NU8)(s->data[(NI)(i + ((NI) 3))])) == ((NU8)(95))));
					LA36_: ;
					if (!T35_) goto LA37_;
					(*number) = NAN;
					result = (NI)((NI)(i + ((NI) 3)) - start);
					goto BeforeRet_;
				}
				LA37_: ;
			}
			LA31_: ;
		}
		LA25_: ;
		result = ((NI) 0);
		goto BeforeRet_;
	}
	LA19_: ;
	{
		NIM_BOOL T41_;
		NIM_BOOL T43_;
		T41_ = (NIM_BOOL)0;
		T41_ = ((NI)(i + ((NI) 2)) < (s ? s->Sup.len : 0));
		if (!(T41_)) goto LA42_;
		T43_ = (NIM_BOOL)0;
		T43_ = ((NU8)(s->data[i]) == (NU8)(73));
		if (T43_) goto LA44_;
		T43_ = ((NU8)(s->data[i]) == (NU8)(105));
		LA44_: ;
		T41_ = T43_;
		LA42_: ;
		if (!T41_) goto LA45_;
		{
			NIM_BOOL T49_;
			T49_ = (NIM_BOOL)0;
			T49_ = ((NU8)(s->data[(NI)(i + ((NI) 1))]) == (NU8)(78));
			if (T49_) goto LA50_;
			T49_ = ((NU8)(s->data[(NI)(i + ((NI) 1))]) == (NU8)(110));
			LA50_: ;
			if (!T49_) goto LA51_;
			{
				NIM_BOOL T55_;
				T55_ = (NIM_BOOL)0;
				T55_ = ((NU8)(s->data[(NI)(i + ((NI) 2))]) == (NU8)(70));
				if (T55_) goto LA56_;
				T55_ = ((NU8)(s->data[(NI)(i + ((NI) 2))]) == (NU8)(102));
				LA56_: ;
				if (!T55_) goto LA57_;
				{
					NIM_BOOL T61_;
					T61_ = (NIM_BOOL)0;
					T61_ = ((s ? s->Sup.len : 0) <= (NI)(i + ((NI) 3)));
					if (T61_) goto LA62_;
					T61_ = !((((NU8)(s->data[(NI)(i + ((NI) 3))])) >= ((NU8)(97)) && ((NU8)(s->data[(NI)(i + ((NI) 3))])) <= ((NU8)(122)) || ((NU8)(s->data[(NI)(i + ((NI) 3))])) >= ((NU8)(65)) && ((NU8)(s->data[(NI)(i + ((NI) 3))])) <= ((NU8)(90)) || ((NU8)(s->data[(NI)(i + ((NI) 3))])) >= ((NU8)(48)) && ((NU8)(s->data[(NI)(i + ((NI) 3))])) <= ((NU8)(57)) || ((NU8)(s->data[(NI)(i + ((NI) 3))])) == ((NU8)(95))));
					LA62_: ;
					if (!T61_) goto LA63_;
					(*number) = ((NF)(INF) * (NF)(sign));
					result = (NI)((NI)(i + ((NI) 3)) - start);
					goto BeforeRet_;
				}
				LA63_: ;
			}
			LA57_: ;
		}
		LA51_: ;
		result = ((NI) 0);
		goto BeforeRet_;
	}
	LA45_: ;
	{
		NIM_BOOL T67_;
		T67_ = (NIM_BOOL)0;
		T67_ = (i < (s ? s->Sup.len : 0));
		if (!(T67_)) goto LA68_;
		T67_ = (((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)));
		LA68_: ;
		if (!T67_) goto LA69_;
		firstDigit = (NI)(((NU8)(s->data[i])) - ((NI) 48));
	}
	LA69_: ;
	{
		while (1) {
			NIM_BOOL T73_;
			T73_ = (NIM_BOOL)0;
			T73_ = (i < (s ? s->Sup.len : 0));
			if (!(T73_)) goto LA74_;
			T73_ = (((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)));
			LA74_: ;
			if (!T73_) goto LA72;
			kdigits += ((NI) 1);
			integer = (NU64)((NU64)((NU64)((NU64)(integer) * (NU64)(10ULL))) + (NU64)(((NU64) ((NI)(((NU8)(s->data[i])) - ((NI) 48))))));
			i += ((NI) 1);
			{
				while (1) {
					NIM_BOOL T77_;
					T77_ = (NIM_BOOL)0;
					T77_ = (i < (s ? s->Sup.len : 0));
					if (!(T77_)) goto LA78_;
					T77_ = ((NU8)(s->data[i]) == (NU8)(95));
					LA78_: ;
					if (!T77_) goto LA76;
					i += ((NI) 1);
				} LA76: ;
			}
		} LA72: ;
	}
	{
		NIM_BOOL T81_;
		T81_ = (NIM_BOOL)0;
		T81_ = (i < (s ? s->Sup.len : 0));
		if (!(T81_)) goto LA82_;
		T81_ = ((NU8)(s->data[i]) == (NU8)(46));
		LA82_: ;
		if (!T81_) goto LA83_;
		i += ((NI) 1);
		{
			if (!(kdigits <= ((NI) 0))) goto LA87_;
			{
				while (1) {
					NIM_BOOL T91_;
					T91_ = (NIM_BOOL)0;
					T91_ = (i < (s ? s->Sup.len : 0));
					if (!(T91_)) goto LA92_;
					T91_ = ((NU8)(s->data[i]) == (NU8)(48));
					LA92_: ;
					if (!T91_) goto LA90;
					fracExponent += ((NI) 1);
					i += ((NI) 1);
					{
						while (1) {
							NIM_BOOL T95_;
							T95_ = (NIM_BOOL)0;
							T95_ = (i < (s ? s->Sup.len : 0));
							if (!(T95_)) goto LA96_;
							T95_ = ((NU8)(s->data[i]) == (NU8)(95));
							LA96_: ;
							if (!T95_) goto LA94;
							i += ((NI) 1);
						} LA94: ;
					}
				} LA90: ;
			}
		}
		LA87_: ;
		{
			NIM_BOOL T99_;
			NIM_BOOL T100_;
			T99_ = (NIM_BOOL)0;
			T100_ = (NIM_BOOL)0;
			T100_ = (firstDigit == ((NI) -1));
			if (!(T100_)) goto LA101_;
			T100_ = (i < (s ? s->Sup.len : 0));
			LA101_: ;
			T99_ = T100_;
			if (!(T99_)) goto LA102_;
			T99_ = (((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)));
			LA102_: ;
			if (!T99_) goto LA103_;
			firstDigit = (NI)(((NU8)(s->data[i])) - ((NI) 48));
		}
		LA103_: ;
		{
			while (1) {
				NIM_BOOL T107_;
				T107_ = (NIM_BOOL)0;
				T107_ = (i < (s ? s->Sup.len : 0));
				if (!(T107_)) goto LA108_;
				T107_ = (((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)));
				LA108_: ;
				if (!T107_) goto LA106;
				fdigits += ((NI) 1);
				fracExponent += ((NI) 1);
				integer = (NU64)((NU64)((NU64)((NU64)(integer) * (NU64)(10ULL))) + (NU64)(((NU64) ((NI)(((NU8)(s->data[i])) - ((NI) 48))))));
				i += ((NI) 1);
				{
					while (1) {
						NIM_BOOL T111_;
						T111_ = (NIM_BOOL)0;
						T111_ = (i < (s ? s->Sup.len : 0));
						if (!(T111_)) goto LA112_;
						T111_ = ((NU8)(s->data[i]) == (NU8)(95));
						LA112_: ;
						if (!T111_) goto LA110;
						i += ((NI) 1);
					} LA110: ;
				}
			} LA106: ;
		}
	}
	LA83_: ;
	{
		NIM_BOOL T115_;
		NIM_BOOL T117_;
		NIM_BOOL T119_;
		T115_ = (NIM_BOOL)0;
		T115_ = ((NI)(kdigits + fdigits) <= ((NI) 0));
		if (!(T115_)) goto LA116_;
		T117_ = (NIM_BOOL)0;
		T117_ = (i == start);
		if (T117_) goto LA118_;
		T119_ = (NIM_BOOL)0;
		T119_ = (i == (NI)(start + ((NI) 1)));
		if (!(T119_)) goto LA120_;
		T119_ = hasSign;
		LA120_: ;
		T117_ = T119_;
		LA118_: ;
		T115_ = T117_;
		LA116_: ;
		if (!T115_) goto LA121_;
		result = ((NI) 0);
		goto BeforeRet_;
	}
	LA121_: ;
	{
		NIM_BOOL T125_;
		T125_ = (NIM_BOOL)0;
		T125_ = ((NI)(i + ((NI) 1)) < (s ? s->Sup.len : 0));
		if (!(T125_)) goto LA126_;
		T125_ = (((NU8)(s->data[i])) == ((NU8)(101)) || ((NU8)(s->data[i])) == ((NU8)(69)));
		LA126_: ;
		if (!T125_) goto LA127_;
		i += ((NI) 1);
		{
			NIM_BOOL T131_;
			T131_ = (NIM_BOOL)0;
			T131_ = ((NU8)(s->data[i]) == (NU8)(43));
			if (T131_) goto LA132_;
			T131_ = ((NU8)(s->data[i]) == (NU8)(45));
			LA132_: ;
			if (!T131_) goto LA133_;
			{
				if (!((NU8)(s->data[i]) == (NU8)(45))) goto LA137_;
				expSign = ((NI) -1);
			}
			LA137_: ;
			i += ((NI) 1);
		}
		LA133_: ;
		{
			if (!!((((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57))))) goto LA141_;
			result = ((NI) 0);
			goto BeforeRet_;
		}
		LA141_: ;
		{
			while (1) {
				NIM_BOOL T145_;
				T145_ = (NIM_BOOL)0;
				T145_ = (i < (s ? s->Sup.len : 0));
				if (!(T145_)) goto LA146_;
				T145_ = (((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)));
				LA146_: ;
				if (!T145_) goto LA144;
				exponent = (NI)((NI)(exponent * ((NI) 10)) + (NI)(((NU8)(s->data[i])) - ((NI) 48)));
				i += ((NI) 1);
				{
					while (1) {
						NIM_BOOL T149_;
						T149_ = (NIM_BOOL)0;
						T149_ = (i < (s ? s->Sup.len : 0));
						if (!(T149_)) goto LA150_;
						T149_ = ((NU8)(s->data[i]) == (NU8)(95));
						LA150_: ;
						if (!T149_) goto LA148;
						i += ((NI) 1);
					} LA148: ;
				}
			} LA144: ;
		}
	}
	LA127_: ;
	realExponent = (NI)((NI)(expSign * exponent) - fracExponent);
	expNegative = (realExponent < ((NI) 0));
	absExponent = (realExponent > 0? (realExponent) : -(realExponent));
	{
		if (!(((NI) 999) < absExponent)) goto LA153_;
		{
			if (!expNegative) goto LA157_;
			(*number) = ((NF)(0.0) * (NF)(sign));
		}
		goto LA155_;
		LA157_: ;
		{
			(*number) = ((NF)(INF) * (NF)(sign));
		}
		LA155_: ;
		result = (NI)(i - start);
		goto BeforeRet_;
	}
	LA153_: ;
	digits = (NI)(kdigits + fdigits);
	{
		NIM_BOOL T162_;
		NIM_BOOL T164_;
		NI slop;
		T162_ = (NIM_BOOL)0;
		T162_ = (digits <= ((NI) 15));
		if (T162_) goto LA163_;
		T164_ = (NIM_BOOL)0;
		T164_ = (digits <= ((NI) 16));
		if (!(T164_)) goto LA165_;
		T164_ = (firstDigit <= ((NI) 8));
		LA165_: ;
		T162_ = T164_;
		LA163_: ;
		if (!T162_) goto LA166_;
		{
			if (!(absExponent <= ((NI) 22))) goto LA170_;
			{
				if (!expNegative) goto LA174_;
				(*number) = ((NF)(((NF)(sign) * (NF)(((NF) (integer))))) / (NF)(powtens__l8b44pimyaWe7sztIOF1Tw[(absExponent)- 0]));
			}
			goto LA172_;
			LA174_: ;
			{
				(*number) = ((NF)(((NF)(sign) * (NF)(((NF) (integer))))) * (NF)(powtens__l8b44pimyaWe7sztIOF1Tw[(absExponent)- 0]));
			}
			LA172_: ;
			result = (NI)(i - start);
			goto BeforeRet_;
		}
		LA170_: ;
		slop = (NI)((NI)(((NI) 15) - kdigits) - fdigits);
		{
			NIM_BOOL T179_;
			T179_ = (NIM_BOOL)0;
			T179_ = (absExponent <= (NI)(((NI) 22) + slop));
			if (!(T179_)) goto LA180_;
			T179_ = !(expNegative);
			LA180_: ;
			if (!T179_) goto LA181_;
			(*number) = ((NF)(((NF)(((NF)(sign) * (NF)(((NF) (integer))))) * (NF)(powtens__l8b44pimyaWe7sztIOF1Tw[(slop)- 0]))) * (NF)(powtens__l8b44pimyaWe7sztIOF1Tw[((NI)(absExponent - slop))- 0]));
			result = (NI)(i - start);
			goto BeforeRet_;
		}
		LA181_: ;
	}
	LA166_: ;
	nimZeroMem((void*)t, sizeof(tyArray__PGLh8drTnaWr3s1qUUSq2Q));
	ti = ((NI) 0);
	maxlen = ((NI) 494);
	result = (NI)(i - start);
	i = start;
	{
		NIM_BOOL T185_;
		T185_ = (NIM_BOOL)0;
		T185_ = (i < (s ? s->Sup.len : 0));
		if (!(T185_)) goto LA186_;
		T185_ = ((NU8)(s->data[i]) == (NU8)(46));
		LA186_: ;
		if (!T185_) goto LA187_;
		i += ((NI) 1);
	}
	LA187_: ;
	{
		while (1) {
			NIM_BOOL T191_;
			T191_ = (NIM_BOOL)0;
			T191_ = (i < (s ? s->Sup.len : 0));
			if (!(T191_)) goto LA192_;
			T191_ = (((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)) || ((NU8)(s->data[i])) == ((NU8)(43)) || ((NU8)(s->data[i])) == ((NU8)(45)));
			LA192_: ;
			if (!T191_) goto LA190;
			{
				if (!(ti < maxlen)) goto LA195_;
				t[(ti)- 0] = s->data[i];
				ti += ((NI) 1);
			}
			LA195_: ;
			i += ((NI) 1);
			{
				while (1) {
					NIM_BOOL T199_;
					T199_ = (NIM_BOOL)0;
					T199_ = (i < (s ? s->Sup.len : 0));
					if (!(T199_)) goto LA200_;
					T199_ = (((NU8)(s->data[i])) == ((NU8)(46)) || ((NU8)(s->data[i])) == ((NU8)(95)));
					LA200_: ;
					if (!T199_) goto LA198;
					i += ((NI) 1);
				} LA198: ;
			}
		} LA190: ;
	}
	t[(ti)- 0] = 69;
	ti += ((NI) 1);
	{
		if (!expNegative) goto LA203_;
		t[(ti)- 0] = 45;
	}
	goto LA201_;
	LA203_: ;
	{
		t[(ti)- 0] = 43;
	}
	LA201_: ;
	ti += ((NI) 4);
	t[((NI)(ti - ((NI) 1)))- 0] = ((NIM_CHAR) ((NI)(((NI) 48) + (NI)(absExponent % ((NI) 10)))));
	absExponent = (NI)(absExponent / ((NI) 10));
	t[((NI)(ti - ((NI) 2)))- 0] = ((NIM_CHAR) ((NI)(((NI) 48) + (NI)(absExponent % ((NI) 10)))));
	absExponent = (NI)(absExponent / ((NI) 10));
	t[((NI)(ti - ((NI) 3)))- 0] = ((NIM_CHAR) ((NI)(((NI) 48) + (NI)(absExponent % ((NI) 10)))));
	(*number) = strtod(((NCSTRING) (t)), ((NCSTRING*) NIM_NIL));
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, addCstringN__DuMbk0Tea09bkpFWJtZlU6A)(NimStringDesc** result, NCSTRING buf, NI buflen) {
	NI oldLen;
	NI newLen;
	oldLen = ((*result) ? (*result)->Sup.len : 0);
	newLen = (NI)(oldLen + buflen);
	unsureAsgnRef((void**) (&(*result)), setLengthStr((*result), ((NI) (newLen))));
	copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*result)->data[oldLen]))), ((void*) (buf)), ((NI) (buflen)));
}
N_LIB_PRIVATE N_NIMCALL(void, addFloat__R7rBahgTSmBayFrvvbK9bKQ)(NimStringDesc** result, NF x) {
	tyArray__eVNFTutn6un5gcq48fQLdg buffer;
	NI n;
	n = writeFloatToBuffer__UrA9aquvUwHFUFx78eUQk3A(buffer, x);
	addCstringN__DuMbk0Tea09bkpFWJtZlU6A(result, ((NCSTRING) ((&buffer[(((NI) 0))- 0]))), n);
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimFloatToStr)(NF f) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = rawNewString(((NI) 8));
	addFloat__R7rBahgTSmBayFrvvbK9bKQ((&result), f);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, objectInitAux__9bFXTAJ8caOL4Ioy2o3B3aw_2)(void* dest, TNimNode* n) {
	NI d;
	d = ((NI) (ptrdiff_t) (dest));
	switch ((*n).kind) {
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 0):
	{
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 1):
	{
		NI T3_;
		T3_ = (NI)0;
		T3_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, (*n).offset);
		objectInit(((void*) (T3_)), (*n).typ);
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 2):
	{
		{
			NI i;
			NI colontmp_;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = (NI)((*n).len - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					if (!(res <= colontmp_)) goto LA7;
					i = res;
					objectInitAux__9bFXTAJ8caOL4Ioy2o3B3aw_2(dest, (*n).sons[(i)- 0]);
					res += ((NI) 1);
				} LA7: ;
			}
		}
	}
	break;
	case ((tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ) 3):
	{
		TNimNode* m;
		m = selectBranch__2us2RQByTh81i9aW4EEgfmw(dest, n);
		{
			if (!!((m == ((TNimNode*) NIM_NIL)))) goto LA11_;
			objectInitAux__9bFXTAJ8caOL4Ioy2o3B3aw_2(dest, m);
		}
		LA11_: ;
	}
	break;
	}
}
N_LIB_PRIVATE N_NIMCALL(void, objectInit)(void* dest, TNimType* typ) {
	NI d;
	d = ((NI) (ptrdiff_t) (dest));
	switch ((*typ).kind) {
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 17):
	{
		TNimType** pint;
		pint = ((TNimType**) (dest));
		(*pint) = typ;
		objectInitAux__9bFXTAJ8caOL4Ioy2o3B3aw_2(dest, (*typ).node);
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 18):
	{
		objectInitAux__9bFXTAJ8caOL4Ioy2o3B3aw_2(dest, (*typ).node);
	}
	break;
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 16):
	case ((tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A) 4):
	{
		{
			NI i;
			NI colontmp_;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = (NI)((NI)((*typ).size / (*(*typ).base).size) - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					NI T7_;
					if (!(res <= colontmp_)) goto LA6;
					i = res;
					T7_ = (NI)0;
					T7_ = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem(d, (NI)(i * (*(*typ).base).size));
					objectInit(((void*) (T7_)), (*typ).base);
					res += ((NI) 1);
				} LA6: ;
			}
		}
	}
	break;
	default:
	{
	}
	break;
	}
}
N_LIB_PRIVATE N_NIMCALL(void, genericShallowAssign)(void* dest, void* src, TNimType* mt) {
	genericAssignAux__U5DxFPRpHCCZDKWQzM9adaw(dest, src, mt, NIM_TRUE);
}
N_LIB_PRIVATE N_NIMCALL(tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*, at___l5EwVkovx8Ofyb2pm635QA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** a, NI aLen_0) {
	tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* result;
	result = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*)0;
	result = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) newSeq((&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) (aLen_0)));
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (NI)(aLen_0 - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA3;
				i = res;
				asgnRef((void**) (&result->data[i]), a[i]);
				res += ((NI) 1);
			} LA3: ;
		}
	}
	return result;
}
static N_NIMCALL(void, Marker_tySequence__DL2Id9b2SwHghZpjvWsUcAw)(void* p, NI op) {
	tySequence__DL2Id9b2SwHghZpjvWsUcAw* a;
	NI T1_;
	NI T2_;
	NI T3_;
	a = (tySequence__DL2Id9b2SwHghZpjvWsUcAw*)p;
	T1_ = (NI)0;
	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
	nimGCvisit((void*)a->data[T1_].Field0.head, op);
	nimGCvisit((void*)a->data[T1_].Field0.data, op);
	T2_ = (NI)0;
	nimGCvisit((void*)a->data[T1_].Field1.head, op);
	nimGCvisit((void*)a->data[T1_].Field1.data, op);
	T3_ = (NI)0;
	}
}
N_LIB_PRIVATE N_NIMCALL(tySequence__DL2Id9b2SwHghZpjvWsUcAw*, newSeq__WTLrxQOyqUrGXib4dKrzTw)(NI len) {
	tySequence__DL2Id9b2SwHghZpjvWsUcAw* result;
	result = (tySequence__DL2Id9b2SwHghZpjvWsUcAw*)0;
	result = (tySequence__DL2Id9b2SwHghZpjvWsUcAw*) newSeq((&NTI__DL2Id9b2SwHghZpjvWsUcAw_), len);
	return result;
}
static N_NIMCALL(void, Marker_tySequence__76wc9cnTOK9c6epudv8uYE0w)(void* p, NI op) {
	tySequence__76wc9cnTOK9c6epudv8uYE0w* a;
	NI T1_;
	a = (tySequence__76wc9cnTOK9c6epudv8uYE0w*)p;
	T1_ = (NI)0;
	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
	nimGCvisit((void*)a->data[T1_], op);
	}
}
N_LIB_PRIVATE N_NIMCALL(tySequence__76wc9cnTOK9c6epudv8uYE0w*, newSeq__hJ5RQ2a9bsrV6HM2KvQcKQw)(NI len) {
	tySequence__76wc9cnTOK9c6epudv8uYE0w* result;
	result = (tySequence__76wc9cnTOK9c6epudv8uYE0w*)0;
	result = (tySequence__76wc9cnTOK9c6epudv8uYE0w*) newSeq((&NTI__76wc9cnTOK9c6epudv8uYE0w_), len);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, cmp__sulHEHLaDujOhOm0ckj5uA)(NI x, NI y) {
	NI result;
{	result = (NI)0;
	{
		if (!(x == y)) goto LA3_;
		result = ((NI) 0);
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!(x < y)) goto LA7_;
		result = ((NI) -1);
		goto BeforeRet_;
	}
	LA7_: ;
	result = ((NI) 1);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
static N_NIMCALL(void, Marker_tyRef__9ai78kkwqt3gikTN9cpHKUVg)(void* p, NI op) {
	NI* a;
	a = (NI*)p;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___fYL9a3Az3ZsTT2jDLG5BgUQ)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		if (!!((x.Field0 == y.Field0))) goto LA3_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!!((x.Field1 == y.Field1))) goto LA7_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA7_: ;
	result = NIM_TRUE;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, cmp__3PzpNkpGPYcOZGLQgQC9c2g)(NI32 x, NI32 y) {
	NI result;
{	result = (NI)0;
	{
		if (!(x == y)) goto LA3_;
		result = ((NI) 0);
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!(x < y)) goto LA7_;
		result = ((NI) -1);
		goto BeforeRet_;
	}
	LA7_: ;
	result = ((NI) 1);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, cmp__xx9bb4cI6NNgduU6C6csc2Q)(NU32 x, NU32 y) {
	NI result;
{	result = (NI)0;
	{
		if (!(x == y)) goto LA3_;
		result = ((NI) 0);
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!((NU32)(x) < (NU32)(y))) goto LA7_;
		result = ((NI) -1);
		goto BeforeRet_;
	}
	LA7_: ;
	result = ((NI) 1);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___Zo7f0ykgAjRa3BqfD3izBw)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		if (!!((x.Field0 == y.Field0))) goto LA3_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!!((x.Field1 == y.Field1))) goto LA7_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA7_: ;
	result = NIM_TRUE;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, del__euuxT1DiEjSOKbaBvsuoZA)(tySequence__d4l6E4jBnTQ3BEfsLOpmEQ** x, NI i) {
	NI xl;
	NI T1_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xl = (NI)(T1_ - ((NI) 1));
	asgnRef((void**) (&(*x)->data[i].Field0), (*x)->data[xl].Field0);
	(*x)->data[i].Field1 = (*x)->data[xl].Field1;
	unsureAsgnRef((void**) (&(*x)), (tySequence__d4l6E4jBnTQ3BEfsLOpmEQ*) setLengthSeqV2(&((*x))->Sup, (&NTI__d4l6E4jBnTQ3BEfsLOpmEQ_), ((NI) (xl))));
}
N_LIB_PRIVATE N_NIMCALL(NCSTRING*, allocCStringArray__LjSatDbwrF5hMmOARlJhEw)(NimStringDesc** a, NI aLen_0) {
	NCSTRING* result;
	void* T1_;
	NimStringDesc** x;
	result = (NCSTRING*)0;
	T1_ = (void*)0;
	T1_ = alloc0Impl__KzdpcuLT9aef9bsiSHlIu9aFg(((NI) ((NI)((NI)(aLen_0 + ((NI) 1)) * ((NI) 8)))));
	result = ((NCSTRING*) (T1_));
	x = ((NimStringDesc**) (a));
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (aLen_0-1);
		res = ((NI) 0);
		{
			while (1) {
				void* T5_;
				if (!(res <= colontmp_)) goto LA4;
				i = res;
				T5_ = (void*)0;
				T5_ = alloc0Impl__KzdpcuLT9aef9bsiSHlIu9aFg(((NI) ((NI)((x[i] ? x[i]->Sup.len : 0) + ((NI) 1)))));
				result[i] = ((NCSTRING) (T5_));
				copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) (result[i])), ((void*) ((&x[i]->data[((NI) 0)]))), ((NI) ((x[i] ? x[i]->Sup.len : 0))));
				res += ((NI) 1);
			} LA4: ;
		}
	}
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, deallocCStringArray__4ixt9bnFA4tfz1dFgECtQLw)(NCSTRING* a) {
	NI i;
	i = ((NI) 0);
	{
		while (1) {
			if (!!((((void*) (a[i])) == NIM_NIL))) goto LA2;
			dealloc(((void*) (a[i])));
			i += ((NI) 1);
		} LA2: ;
	}
	dealloc(((void*) (a)));
}
static N_NIMCALL(void, Marker_tySequence__6H5Oh5UUvVCLiakt9aTwtUQ)(void* p, NI op) {
	tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* a;
	NI T1_;
	a = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)p;
	T1_ = (NI)0;
}
N_LIB_PRIVATE N_NIMCALL(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*, newSeq__DpCWN7DIBuAjgoeQ9c29blYQ)(NI len) {
	tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* result;
	result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*)0;
	result = (tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*) newSeq((&NTI__6H5Oh5UUvVCLiakt9aTwtUQ_), len);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, insert__k2dh9aOATKmq7LxvapyA7CA)(tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ** x, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* item, NI i) {
	NI xlX60gensym134_;
	NI T1_;
	NI jX60gensym134_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xlX60gensym134_ = T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*x))->Sup, (&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) ((NI)(xlX60gensym134_ + ((NI) 1))))));
	jX60gensym134_ = (NI)(xlX60gensym134_ - ((NI) 1));
	{
		while (1) {
			if (!(((NI) (i)) <= jX60gensym134_)) goto LA3;
			asgnRef((void**) (&(*x)->data[(NI)(jX60gensym134_ + ((NI) 1))]), (*x)->data[jX60gensym134_]);
			jX60gensym134_ -= ((NI) 1);
		} LA3: ;
	}
	asgnRef((void**) (&(*x)->data[i]), item);
}
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___txCax6HTxTvaDY9bSHIRipg)(tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ** s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** b, NI bLen_0) {
	NI a;
	NI L;
	a = x.a;
	L = (NI)((NI)(x.b - a) + ((NI) 1));
	{
		if (!(L == bLen_0)) goto LA3_;
		{
			NI i;
			NI i_2;
			i = (NI)0;
			i_2 = ((NI) 0);
			{
				while (1) {
					if (!(i_2 < L)) goto LA7;
					i = i_2;
					asgnRef((void**) (&(*s)->data[(NI)(i + a)]), b[i]);
					i_2 += ((NI) 1);
				} LA7: ;
			}
		}
	}
	goto LA1_;
	LA3_: ;
	{
		NI shiftX60gensym638_;
		NI newLenX60gensym638_;
		NI T9_;
		shiftX60gensym638_ = (NI)(bLen_0 - ((((NI) 0) >= L) ? ((NI) 0) : L));
		T9_ = ((*s) ? (*s)->Sup.len : 0);
		newLenX60gensym638_ = (NI)(T9_ + shiftX60gensym638_);
		{
			if (!(((NI) 0) < shiftX60gensym638_)) goto LA12_;
			unsureAsgnRef((void**) (&(*s)), (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*s))->Sup, (&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) (newLenX60gensym638_))));
			{
				NI iX60gensym638_;
				NI colontmp_;
				NI colontmp__2;
				NI res;
				iX60gensym638_ = (NI)0;
				colontmp_ = (NI)0;
				colontmp__2 = (NI)0;
				colontmp_ = (NI)(newLenX60gensym638_ - ((NI) 1));
				colontmp__2 = (NI)(a + bLen_0);
				res = colontmp_;
				{
					while (1) {
						if (!(colontmp__2 <= res)) goto LA16;
						iX60gensym638_ = res;
						asgnRef((void**) (&(*s)->data[iX60gensym638_]), (*s)->data[(NI)(iX60gensym638_ - shiftX60gensym638_)]);
						res -= ((NI) 1);
					} LA16: ;
				}
			}
		}
		goto LA10_;
		LA12_: ;
		{
			{
				NI iX60gensym638__2;
				NI colontmp__3;
				NI colontmp__4;
				NI res_2;
				iX60gensym638__2 = (NI)0;
				colontmp__3 = (NI)0;
				colontmp__4 = (NI)0;
				colontmp__3 = (NI)(a + bLen_0);
				colontmp__4 = (NI)(newLenX60gensym638_ - ((NI) 1));
				res_2 = colontmp__3;
				{
					while (1) {
						if (!(res_2 <= colontmp__4)) goto LA20;
						iX60gensym638__2 = res_2;
						asgnRef((void**) (&(*s)->data[iX60gensym638__2]), (*s)->data[(NI)(iX60gensym638__2 - shiftX60gensym638_)]);
						res_2 += ((NI) 1);
					} LA20: ;
				}
			}
			unsureAsgnRef((void**) (&(*s)), (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*s))->Sup, (&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) (newLenX60gensym638_))));
		}
		LA10_: ;
		{
			NI iX60gensym638__3;
			NI colontmp__5;
			NI i_3;
			iX60gensym638__3 = (NI)0;
			colontmp__5 = (NI)0;
			colontmp__5 = bLen_0;
			i_3 = ((NI) 0);
			{
				while (1) {
					if (!(i_3 < colontmp__5)) goto LA23;
					iX60gensym638__3 = i_3;
					asgnRef((void**) (&(*s)->data[(NI)(a + iX60gensym638__3)]), b[iX60gensym638__3]);
					i_3 += ((NI) 1);
				} LA23: ;
			}
		}
	}
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*, X5BX5D___5Y2wMdX1Q5sV9abRFAviD9aw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** s, NI sLen_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x) {
	tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* result;
	NI a;
	NI L;
	result = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*)0;
	a = x.a;
	L = (NI)((NI)(x.b - a) + ((NI) 1));
	result = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) newSeq((&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) (L)));
	{
		NI i;
		NI i_2;
		i = (NI)0;
		i_2 = ((NI) 0);
		{
			while (1) {
				if (!(i_2 < L)) goto LA3;
				i = i_2;
				asgnRef((void**) (&result->data[i]), s[(NI)(i + a)]);
				i_2 += ((NI) 1);
			} LA3: ;
		}
	}
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, add__VtZAvh3FTvs4RsUIdDz79aQ)(tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ** x, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** y, NI yLen_0) {
	NI xl;
	NI T1_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xl = T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*x))->Sup, (&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) ((NI)(xl + yLen_0)))));
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (yLen_0-1);
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA4;
				i = res;
				asgnRef((void**) (&(*x)->data[(NI)(xl + i)]), y[i]);
				res += ((NI) 1);
			} LA4: ;
		}
	}
}
N_LIB_PRIVATE N_NIMCALL(void, delete__TgBXLpGAm0rF5SZ3bkKUbg)(tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ** x, NI i) {
	NI xlX60gensym301_;
	NI T1_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xlX60gensym301_ = T1_;
	{
		NI jX60gensym301_;
		NI colontmp_;
		NI colontmp__2;
		NI res;
		jX60gensym301_ = (NI)0;
		colontmp_ = (NI)0;
		colontmp__2 = (NI)0;
		colontmp_ = ((NI) (i));
		colontmp__2 = (NI)(xlX60gensym301_ - ((NI) 2));
		res = colontmp_;
		{
			while (1) {
				if (!(res <= colontmp__2)) goto LA4;
				jX60gensym301_ = res;
				asgnRef((void**) (&(*x)->data[jX60gensym301_]), (*x)->data[(NI)(jX60gensym301_ + ((NI) 1))]);
				res += ((NI) 1);
			} LA4: ;
		}
	}
	unsureAsgnRef((void**) (&(*x)), (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*x))->Sup, (&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) ((NI)(xlX60gensym301_ - ((NI) 1))))));
}
N_LIB_PRIVATE N_NIMCALL(void, delete__zhhe9bbLyE7Vk89co9bd9cMSBg)(tySequence__qwqHTkRvwhrRyENtudHQ7g** x, NI i) {
	NI xlX60gensym303_;
	NI T1_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xlX60gensym303_ = T1_;
	{
		NI jX60gensym303_;
		NI colontmp_;
		NI colontmp__2;
		NI res;
		jX60gensym303_ = (NI)0;
		colontmp_ = (NI)0;
		colontmp__2 = (NI)0;
		colontmp_ = ((NI) (i));
		colontmp__2 = (NI)(xlX60gensym303_ - ((NI) 2));
		res = colontmp_;
		{
			while (1) {
				if (!(res <= colontmp__2)) goto LA4;
				jX60gensym303_ = res;
				(*x)->data[jX60gensym303_] = (*x)->data[(NI)(jX60gensym303_ + ((NI) 1))];
				res += ((NI) 1);
			} LA4: ;
		}
	}
	unsureAsgnRef((void**) (&(*x)), (tySequence__qwqHTkRvwhrRyENtudHQ7g*) setLengthSeqV2(&((*x))->Sup, (&NTI__qwqHTkRvwhrRyENtudHQ7g_), ((NI) ((NI)(xlX60gensym303_ - ((NI) 1))))));
}
N_LIB_PRIVATE N_NIMCALL(void, del__TgBXLpGAm0rF5SZ3bkKUbg_2)(tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ** x, NI i) {
	NI xl;
	NI T1_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xl = (NI)(T1_ - ((NI) 1));
	asgnRef((void**) (&(*x)->data[i]), (*x)->data[xl]);
	unsureAsgnRef((void**) (&(*x)), (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*x))->Sup, (&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) (xl))));
}
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__sCg9bHpRxLXpSphc63mtWdw)(NimStringDesc** s, tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw x) {
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), (reprEnum((NI)x, (&NTI__G4E4Gxe7oI2Cm03rkiOzQw_)) ? reprEnum((NI)x, (&NTI__G4E4Gxe7oI2Cm03rkiOzQw_))->Sup.len : 0) + 0));
appendString((*s), reprEnum((NI)x, (&NTI__G4E4Gxe7oI2Cm03rkiOzQw_)));
}
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__wRMAZHpaipmaQ037ptRATQ)(NimStringDesc** s, NI x) {
	addInt__mftMOxbyu0h4yByfs3sqjA(s, ((NI64) (x)));
}
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__2NPdL9cn8CBwngwsy2yb9bcg)(NimStringDesc** s, tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag x) {
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), (reprEnum((NI)x, (&NTI__9a3YiReNVD0IJHWFKgXRe9ag_)) ? reprEnum((NI)x, (&NTI__9a3YiReNVD0IJHWFKgXRe9ag_))->Sup.len : 0) + 0));
appendString((*s), reprEnum((NI)x, (&NTI__9a3YiReNVD0IJHWFKgXRe9ag_)));
}
N_LIB_PRIVATE N_NIMCALL(void, reset__PQ29bzVEjUtJukXgkwDQPoQ)(tyObject_TFullReg__GJRDbRqzZnSsmt2gZMzKBA* obj) {
	switch ((*obj).kind) {
	case ((tyEnum_TRegisterKind__BUH8cfx9botv2xAfmC8mnAQ) 0):
	break;
	case ((tyEnum_TRegisterKind__BUH8cfx9botv2xAfmC8mnAQ) 2):
	(*obj).intVal = 0;
	break;
	case ((tyEnum_TRegisterKind__BUH8cfx9botv2xAfmC8mnAQ) 3):
	(*obj).floatVal = 0;
	break;
	case ((tyEnum_TRegisterKind__BUH8cfx9botv2xAfmC8mnAQ) 1):
	unsureAsgnRef((void**)&(*obj).node, NIM_NIL);
	break;
	case ((tyEnum_TRegisterKind__BUH8cfx9botv2xAfmC8mnAQ) 4):
	(*obj).regAddr = NIM_NIL;
	break;
	case ((tyEnum_TRegisterKind__BUH8cfx9botv2xAfmC8mnAQ) 5):
	(*obj).nodeAddr = NIM_NIL;
	break;
	} 
	(*obj).kind = 0;
}
N_LIB_PRIVATE N_NIMCALL(NI, clamp__hyQgGui0RxAott4YXwjJHQ)(NI x, NI a, NI b) {
	NI result;
{	result = (NI)0;
	{
		if (!(x < a)) goto LA3_;
		result = a;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!(b < x)) goto LA7_;
		result = b;
		goto BeforeRet_;
	}
	LA7_: ;
	result = x;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimBoolToStr)(NIM_BOOL x) {
	NimStringDesc* result;
{	result = (NimStringDesc*)0;
	{
		if (!x) goto LA3_;
		result = copyString(((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_37));
	}
	goto LA1_;
	LA3_: ;
	{
		result = copyString(((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_38));
	}
	LA1_: ;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___xg1zPyXc6cdWexuBqSObOw)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q x, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q y) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		if (!!((x.line == y.line))) goto LA3_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!!((x.col == y.col))) goto LA7_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA7_: ;
	{
		if (!!((x.fileIndex == y.fileIndex))) goto LA11_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA11_: ;
	result = NIM_TRUE;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA*, new__BiEKflRN9azaxRNwAA9br7uA)(void) {
	tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA* result;
	tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA* r;
{	result = (tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA*)0;
	r = (tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA*)0;
	r = (tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA*) newObj((&NTI__Y32tFilzS9adEEksgrCsOzQ_), sizeof(tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA));
	result = r;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*, X5BX5D___lNrbV6XRsw9boDXksMOKVag)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** s, NI sLen_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x) {
	tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* result;
	NI a;
	NI L;
	result = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*)0;
	a = x.a;
	L = (NI)((NI)((NI)(sLen_0 - x.b) - a) + ((NI) 1));
	result = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) newSeq((&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) (L)));
	{
		NI i;
		NI i_2;
		i = (NI)0;
		i_2 = ((NI) 0);
		{
			while (1) {
				if (!(i_2 < L)) goto LA3;
				i = i_2;
				asgnRef((void**) (&result->data[i]), s[(NI)(i + a)]);
				i_2 += ((NI) 1);
			} LA3: ;
		}
	}
	return result;
}
static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size) {
	NIM_BOOL result;
	int T1_;
	result = (NIM_BOOL)0;
	T1_ = (int)0;
	T1_ = nimCmpMem(a, b, size);
	result = (T1_ == ((NI32) 0));
	return result;
}
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	NI alen;
	NI blen;
{	result = (NIM_BOOL)0;
	alen = (a ? a->Sup.len : 0);
	blen = (b ? b->Sup.len : 0);
	{
		if (!(alen == blen)) goto LA3_;
		{
			if (!(alen == ((NI) 0))) goto LA7_;
			result = NIM_TRUE;
			goto BeforeRet_;
		}
		LA7_: ;
		result = equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
		goto BeforeRet_;
	}
	LA3_: ;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, cmpStrings)(NimStringDesc* a, NimStringDesc* b) {
	NI result;
	NI alen;
	NI blen;
	NI minlen;
	result = (NI)0;
	alen = (a ? a->Sup.len : 0);
	blen = (b ? b->Sup.len : 0);
	minlen = ((alen <= blen) ? alen : blen);
	{
		int T5_;
		if (!(((NI) 0) < minlen)) goto LA3_;
		T5_ = (int)0;
		T5_ = memcmp(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((size_t) (minlen)));
		result = ((NI) (T5_));
		{
			if (!(result == ((NI) 0))) goto LA8_;
			result = (NI)(alen - blen);
		}
		LA8_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		result = (NI)(alen - blen);
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, cmp__NAicU5bAGXmkx2NJujGi7g_2)(NimStringDesc* x, NimStringDesc* y) {
	NI result;
{	result = (NI)0;
	{
		if (!eqStrings(x, y)) goto LA3_;
		result = ((NI) 0);
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!(cmpStrings(x, y) < 0)) goto LA7_;
		result = ((NI) -1);
		goto BeforeRet_;
	}
	LA7_: ;
	result = ((NI) 1);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tySequence__Ef05srmQTDulnBdXR4Ja6Q*, newSeq__g2qIn6210g4boJ9cN37Mg3Q)(NI len) {
	tySequence__Ef05srmQTDulnBdXR4Ja6Q* result;
	result = (tySequence__Ef05srmQTDulnBdXR4Ja6Q*)0;
	result = (tySequence__Ef05srmQTDulnBdXR4Ja6Q*) newSeq((&NTI__Ef05srmQTDulnBdXR4Ja6Q_), len);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, add__nwwm9b9bBoB1ncFx4PAFdmiA)(tySequence__qwqHTkRvwhrRyENtudHQ7g** x, NI* y, NI yLen_0) {
	NI xl;
	NI T1_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xl = T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence__qwqHTkRvwhrRyENtudHQ7g*) setLengthSeqV2(&((*x))->Sup, (&NTI__qwqHTkRvwhrRyENtudHQ7g_), ((NI) ((NI)(xl + yLen_0)))));
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (yLen_0-1);
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA4;
				i = res;
				(*x)->data[(NI)(xl + i)] = y[i];
				res += ((NI) 1);
			} LA4: ;
		}
	}
}
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__Jx9cyf9byen4PwchGOyl5LUg)(NimStringDesc** s, NIM_CHAR x) {
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_39));
	addEscapedChar__dfKNBK6s29c7zfWj2JwI7EQsystem(s, x);
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_39));
}
N_LIB_PRIVATE N_NIMCALL(void, reset__2DpKIamrWIkCdM4vNi0Xcw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* obj) {
	unsureAsgnRef((void**)&(*obj).typ, NIM_NIL);
	(*obj).info.line = 0;
	(*obj).info.col = 0;
	(*obj).info.fileIndex = 0;
	switch ((*obj).kind) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 15):
	(*obj)._kind_1.intVal = 0;
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 19):
	(*obj)._kind_2.floatVal = 0;
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22):
	unsureAsgnRef((void**)&(*obj)._kind_3.strVal, NIM_NIL);
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
	unsureAsgnRef((void**)&(*obj)._kind_4.sym, NIM_NIL);
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
	unsureAsgnRef((void**)&(*obj)._kind_5.ident, NIM_NIL);
	break;
	default:
	unsureAsgnRef((void**)&(*obj)._kind_6.sons, NIM_NIL);
	break;
	} 
	(*obj).kind = 0;
	unsureAsgnRef((void**)&(*obj).comment, NIM_NIL);
}
N_LIB_PRIVATE N_NIMCALL(tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*, newSeq__rWQEUE6RvOVfamepP2TwPw)(NI len) {
	tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* result;
	result = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*)0;
	result = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) newSeq((&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), len);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI*, new__wSSF51wLRD8g2UFxfG6Hvg)(void) {
	NI* result;
	NI* r;
{	result = (NI*)0;
	r = (NI*)0;
	r = (NI*) newObj((&NTI__9ai78kkwqt3gikTN9cpHKUVg_), sizeof(NI));
	result = r;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NOINLINE(NIM_BOOL, isObjSlowPath__H8B7g6iFRPI5Em52KFoD6w)(TNimType* obj, TNimType* subclass, TNimType** cache) {
	NIM_BOOL result;
	TNimType* x;
{	result = (NIM_BOOL)0;
	x = (*obj).base;
	{
		while (1) {
			if (!!((x == subclass))) goto LA2;
			{
				if (!(x == ((TNimType*) NIM_NIL))) goto LA5_;
				cache[(((NI) 0))- 0] = obj;
				result = NIM_FALSE;
				goto BeforeRet_;
			}
			LA5_: ;
			x = (*x).base;
		} LA2: ;
	}
	cache[(((NI) 1))- 0] = obj;
	result = NIM_TRUE;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__ARWLtdz6aJCA2LIYS9cFiGQ)(NimStringDesc** s, NCSTRING x) {
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_23));
	{
		NIM_CHAR c;
		NI i;
		c = (NIM_CHAR)0;
		i = ((NI) 0);
		{
			while (1) {
				if (!!(((NU8)(x[i]) == (NU8)(0)))) goto LA3;
				c = x[i];
				{
					if (!((NU8)(c) <= (NU8)(127))) goto LA6_;
					addEscapedChar__dfKNBK6s29c7zfWj2JwI7EQsystem(s, c);
				}
				goto LA4_;
				LA6_: ;
				{
					unsureAsgnRef((void**) (&(*s)), addChar((*s), c));
				}
				LA4_: ;
				i += ((NI) 1);
			} LA3: ;
		}
	}
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_23));
}
N_LIB_PRIVATE N_NIMCALL(void, delete__FxJSSlM1HtYUBJdvsqL6Sg)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ** x, NI i) {
	NI xlX60gensym69_;
	NI T1_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xlX60gensym69_ = T1_;
	{
		NI jX60gensym69_;
		NI colontmp_;
		NI colontmp__2;
		NI res;
		jX60gensym69_ = (NI)0;
		colontmp_ = (NI)0;
		colontmp__2 = (NI)0;
		colontmp_ = ((NI) (i));
		colontmp__2 = (NI)(xlX60gensym69_ - ((NI) 2));
		res = colontmp_;
		{
			while (1) {
				if (!(res <= colontmp__2)) goto LA4;
				jX60gensym69_ = res;
				asgnRef((void**) (&(*x)->data[jX60gensym69_]), (*x)->data[(NI)(jX60gensym69_ + ((NI) 1))]);
				res += ((NI) 1);
			} LA4: ;
		}
	}
	unsureAsgnRef((void**) (&(*x)), (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) setLengthSeqV2(&((*x))->Sup, (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_), ((NI) ((NI)(xlX60gensym69_ - ((NI) 1))))));
}
N_LIB_PRIVATE N_NIMCALL(NI, toInt__7Qr09cHZFNez4HAfMzCud1g)(NF f) {
	NI result;
	result = (NI)0;
	{
		if (!(0.0 <= f)) goto LA3_;
		result = ((NI) (((NF)(f) + (NF)(5.0000000000000000e-01))));
	}
	goto LA1_;
	LA3_: ;
	{
		result = ((NI) (((NF)(f) - (NF)(5.0000000000000000e-01))));
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tySequence__shxop0zPIs5Ec3k71aCLuQ*, newSeq__U5V382ej7wXp4NiZ9bGeoQQ)(NI len) {
	tySequence__shxop0zPIs5Ec3k71aCLuQ* result;
	result = (tySequence__shxop0zPIs5Ec3k71aCLuQ*)0;
	result = (tySequence__shxop0zPIs5Ec3k71aCLuQ*) newSeq((&NTI__shxop0zPIs5Ec3k71aCLuQ_), len);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tySequence__KjgUMUjT3LUKOFIK4xt5ug*, newSeq__Qp0N482afAkyhv5I1wP1LA)(NI len) {
	tySequence__KjgUMUjT3LUKOFIK4xt5ug* result;
	result = (tySequence__KjgUMUjT3LUKOFIK4xt5ug*)0;
	result = (tySequence__KjgUMUjT3LUKOFIK4xt5ug*) newSeq((&NTI__KjgUMUjT3LUKOFIK4xt5ug_), len);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, reset__wWlgiv42bMjPaZIPtEb67w)(tySequence__DfgJFJEYoj4YBAHLZPl5lQ** obj) {
	unsureAsgnRef((void**) (&(*obj)), NIM_NIL);
}
N_LIB_PRIVATE N_NIMCALL(void, reset__oB9cU60GMAKcBJZRXAVlNxA)(NimStringDesc** obj) {
	unsureAsgnRef((void**) (&(*obj)), NIM_NIL);
}
static N_NIMCALL(void, Marker_tySequence__PrBYolTs4TOSgE8v5oqDUQ)(void* p, NI op) {
	tySequence__PrBYolTs4TOSgE8v5oqDUQ* a;
	NI T1_;
	a = (tySequence__PrBYolTs4TOSgE8v5oqDUQ*)p;
	T1_ = (NI)0;
	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
	nimGCvisit((void*)a->data[T1_], op);
	}
}
N_LIB_PRIVATE N_NIMCALL(tySequence__PrBYolTs4TOSgE8v5oqDUQ*, newSeq__ts9cTzRyL9a2RDNIcwmlP9bnw)(NI len) {
	tySequence__PrBYolTs4TOSgE8v5oqDUQ* result;
	result = (tySequence__PrBYolTs4TOSgE8v5oqDUQ*)0;
	result = (tySequence__PrBYolTs4TOSgE8v5oqDUQ*) newSeq((&NTI__PrBYolTs4TOSgE8v5oqDUQ_), len);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tySequence__qwqHTkRvwhrRyENtudHQ7g*, newSeq__eA9b5cYyFZe7gRm4F9aRTKlA)(NI len) {
	tySequence__qwqHTkRvwhrRyENtudHQ7g* result;
	result = (tySequence__qwqHTkRvwhrRyENtudHQ7g*)0;
	result = (tySequence__qwqHTkRvwhrRyENtudHQ7g*) newSeq((&NTI__qwqHTkRvwhrRyENtudHQ7g_), len);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI64, clamp__4FyNK9boFeHv6A9b7jEfnv4Q)(NI64 x, NI64 a, NI64 b) {
	NI64 result;
{	result = (NI64)0;
	{
		if (!(x < a)) goto LA3_;
		result = a;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!(b < x)) goto LA7_;
		result = b;
		goto BeforeRet_;
	}
	LA7_: ;
	result = x;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__a1NjIrFmhV6Q9aR4YbBJQ5g)(NimStringDesc** s, tyEnum_FilePermission__uTVeDpjCH6aWw9c74YkAskA x) {
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), (reprEnum((NI)x, (&NTI__uTVeDpjCH6aWw9c74YkAskA_)) ? reprEnum((NI)x, (&NTI__uTVeDpjCH6aWw9c74YkAskA_))->Sup.len : 0) + 0));
appendString((*s), reprEnum((NI)x, (&NTI__uTVeDpjCH6aWw9c74YkAskA_)));
}
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__1G4urwoNQVZWpvb9cOSxyDg)(NimStringDesc** s, tySet_tyEnum_FilePermission__uTVeDpjCH6aWw9c74YkAskA x) {
	NimStringDesc* T1_;
	T1_ = (NimStringDesc*)0;
	T1_ = dollar___rwI9b63GTi28OPn2o8TnuVg(x);
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), (T1_ ? T1_->Sup.len : 0) + 0));
appendString((*s), T1_);
}
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__bNErf7GhjMrVOemPdPJ2MQ)(NimStringDesc** s, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw x) {
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), (reprEnum((NI)x, (&NTI__cNCW9acsSznmEccl1fgQwkw_)) ? reprEnum((NI)x, (&NTI__cNCW9acsSznmEccl1fgQwkw_))->Sup.len : 0) + 0));
appendString((*s), reprEnum((NI)x, (&NTI__cNCW9acsSznmEccl1fgQwkw_)));
}
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__VkbNubvSrpK6VayQ9aRjUvA)(NimStringDesc** s, tyEnum_TJSTypeKind__9aFSCXgaSEq2m81RJRMKDeA x) {
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), (reprEnum((NI)x, (&NTI__9aFSCXgaSEq2m81RJRMKDeA_)) ? reprEnum((NI)x, (&NTI__9aFSCXgaSEq2m81RJRMKDeA_))->Sup.len : 0) + 0));
appendString((*s), reprEnum((NI)x, (&NTI__9aFSCXgaSEq2m81RJRMKDeA_)));
}
N_LIB_PRIVATE N_NIMCALL(tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*, newSeq__ro0dfxRAhnoMfPR6w6NJqQ)(NI len) {
	tySequence__9c1n3IOF5T6xvPNf6ipRnuQ* result;
	result = (tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*)0;
	result = (tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*) newSeq((&NTI__9c1n3IOF5T6xvPNf6ipRnuQ_), len);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___CnzWTAK1KY9b8GSEsCs57dA)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		if (!!((x.Field0 == y.Field0))) goto LA3_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!!((x.Field1 == y.Field1))) goto LA7_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA7_: ;
	result = NIM_TRUE;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, lt___CnzWTAK1KY9b8GSEsCs57dA_2)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y) {
	NIM_BOOL result;
	NI c;
	NI c_2;
{	result = (NIM_BOOL)0;
	c = cmp__sulHEHLaDujOhOm0ckj5uA(x.Field0, y.Field0);
	{
		if (!(c < ((NI) 0))) goto LA3_;
		result = NIM_TRUE;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!(((NI) 0) < c)) goto LA7_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA7_: ;
	c_2 = cmp__sulHEHLaDujOhOm0ckj5uA(x.Field1, y.Field1);
	{
		if (!(c_2 < ((NI) 0))) goto LA11_;
		result = NIM_TRUE;
		goto BeforeRet_;
	}
	LA11_: ;
	{
		if (!(((NI) 0) < c_2)) goto LA15_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA15_: ;
	result = NIM_FALSE;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, cmp__c3Clqm4S3lJWcp3H9aPZZAA)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y) {
	NI result;
{	result = (NI)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = eqeq___CnzWTAK1KY9b8GSEsCs57dA(x, y);
		if (!T3_) goto LA4_;
		result = ((NI) 0);
		goto BeforeRet_;
	}
	LA4_: ;
	{
		NIM_BOOL T8_;
		T8_ = (NIM_BOOL)0;
		T8_ = lt___CnzWTAK1KY9b8GSEsCs57dA_2(x, y);
		if (!T8_) goto LA9_;
		result = ((NI) -1);
		goto BeforeRet_;
	}
	LA9_: ;
	result = ((NI) 1);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, insert__bnB13E7BS4dZJaaSQFdX5w)(NimStringDesc** x, NimStringDesc* item, NI i) {
	NI xl;
	NI j;
	xl = ((*x) ? (*x)->Sup.len : 0);
	unsureAsgnRef((void**) (&(*x)), setLengthStr((*x), ((NI) ((NI)(xl + (item ? item->Sup.len : 0))))));
	j = (NI)(xl - ((NI) 1));
	{
		while (1) {
			if (!(((NI) (i)) <= j)) goto LA2;
			(*x)->data[(NI)(j + (item ? item->Sup.len : 0))] = (*x)->data[j];
			j -= ((NI) 1);
		} LA2: ;
	}
	j = ((NI) 0);
	{
		while (1) {
			if (!(j < (item ? item->Sup.len : 0))) goto LA4;
			(*x)->data[(NI)(j + ((NI) (i)))] = item->data[j];
			j += ((NI) 1);
		} LA4: ;
	}
}
N_LIB_PRIVATE N_NIMCALL(void, quit__q8QKbUwWyOe9b9a1QNJQr71A)(NimStringDesc* errormsg, NI errorcode) {
	rawWrite(stderr, nimToCStringConv(errormsg));
	rawWrite(stderr, "\012");
	exit(errorcode);
}
N_LIB_PRIVATE N_NIMCALL(void, addQuoted__Eys2fLM61EBlquSM8n9cIsw)(NimStringDesc** s, NI x) {
	addInt__mftMOxbyu0h4yByfs3sqjA(s, ((NI64) (x)));
}
static N_INLINE(void*, seqToPtr__gd0QkJZEsaxOKR9b9a75gd8wsystem)(tySequence__oLpBKXzW3hF9aCVMo5EymfQ* x) {
	void* result;
	result = (void*)0;
	result = ((void*) (x));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___WUEoyFlf3ou2qTAgb1SQ9ag)(tySequence__oLpBKXzW3hF9aCVMo5EymfQ* x, tySequence__oLpBKXzW3hF9aCVMo5EymfQ* y) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		void* T3_;
		void* T4_;
		T3_ = (void*)0;
		T3_ = seqToPtr__gd0QkJZEsaxOKR9b9a75gd8wsystem(x);
		T4_ = (void*)0;
		T4_ = seqToPtr__gd0QkJZEsaxOKR9b9a75gd8wsystem(y);
		if (!(T3_ == T4_)) goto LA5_;
		result = NIM_TRUE;
		goto BeforeRet_;
	}
	LA5_: ;
	{
		NI T9_;
		NI T10_;
		T9_ = (x ? x->Sup.len : 0);
		T10_ = (y ? y->Sup.len : 0);
		if (!!((T9_ == T10_))) goto LA11_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA11_: ;
	{
		NI i;
		NI colontmp_;
		NI T14_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		T14_ = (x ? x->Sup.len : 0);
		colontmp_ = (NI)(T14_ - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA16;
				i = res;
				{
					NIM_BOOL T19_;
					T19_ = (NIM_BOOL)0;
					T19_ = eqeq___ufBNJwWgb20cY5Bv3NMT7A(x->data[i], y->data[i]);
					if (!!(T19_)) goto LA20_;
					result = NIM_FALSE;
					goto BeforeRet_;
				}
				LA20_: ;
				res += ((NI) 1);
			} LA16: ;
		}
	}
	result = NIM_TRUE;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___Z149cxs9a8jIB6voh7d344JA)(tyObject_IndexEntry__G9ccBDFWfr9aYnLgXTNGDHDg* x, tyObject_IndexEntry__G9ccBDFWfr9aYnLgXTNGDHDg* y) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		if (!!(eqStrings((*x).keyword, (*y).keyword))) goto LA3_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!!(eqStrings((*x).link, (*y).link))) goto LA7_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA7_: ;
	{
		if (!!(eqStrings((*x).linkTitle, (*y).linkTitle))) goto LA11_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA11_: ;
	{
		if (!!(eqStrings((*x).linkDesc, (*y).linkDesc))) goto LA15_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA15_: ;
	result = NIM_TRUE;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getStackTrace__UTyxM84G9cIKwBP74ZFOh4A)(Exception* e) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!!((e == 0))) goto LA3_;
		result = dollar___liwwu6qv5HyRiFI58oBO0g((*e).trace);
	}
	goto LA1_;
	LA3_: ;
	{
		result = ((NimStringDesc*) NIM_NIL);
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, getMaxMem__wXmqysjdbsoVIQfBCJ7sGg)(tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg* a) {
	NI result;
	result = (NI)0;
	result = (((*a).currMem >= (*a).maxMem) ? (*a).currMem : (*a).maxMem);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, getMaxMem__hrQB9bN29c1nR1E9cHqYcNcDA_2)(void) {
	NI result;
{	result = (NI)0;
	result = getMaxMem__wXmqysjdbsoVIQfBCJ7sGg((&gch__IcYaEuuWivYAS86vFMTS3Q.region));
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, getTotalMem__hrQB9bN29c1nR1E9cHqYcNcDA_3)(void) {
	NI result;
{	result = (NI)0;
	result = gch__IcYaEuuWivYAS86vFMTS3Q.region.currMem;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, GC_getStatistics__wZiNbtaUL82bHwwHPZjV9cQ)(void) {
	NimStringDesc* result;
	NimStringDesc* T1_;
	NI T2_;
	NimStringDesc* T3_;
	NI T4_;
	NimStringDesc* T5_;
	NimStringDesc* T6_;
	NimStringDesc* T7_;
	NimStringDesc* T8_;
	NimStringDesc* T9_;
	NimStringDesc* T10_;
	NimStringDesc* T11_;
	NimStringDesc* T12_;
	NimStringDesc* T13_;
	NimStringDesc* T14_;
	result = (NimStringDesc*)0;
	T1_ = (NimStringDesc*)0;
	T2_ = (NI)0;
	T2_ = getTotalMem__hrQB9bN29c1nR1E9cHqYcNcDA_3();
	T3_ = (NimStringDesc*)0;
	T3_ = nimIntToStr(T2_);
	T4_ = (NI)0;
	T4_ = getOccupiedMem__hrQB9bN29c1nR1E9cHqYcNcDA();
	T5_ = (NimStringDesc*)0;
	T5_ = nimIntToStr(T4_);
	T6_ = (NimStringDesc*)0;
	T6_ = nimIntToStr(gch__IcYaEuuWivYAS86vFMTS3Q.stat.stackScans);
	T7_ = (NimStringDesc*)0;
	T7_ = nimIntToStr(gch__IcYaEuuWivYAS86vFMTS3Q.stat.maxStackCells);
	T8_ = (NimStringDesc*)0;
	T8_ = nimIntToStr(gch__IcYaEuuWivYAS86vFMTS3Q.stat.cycleCollections);
	T9_ = (NimStringDesc*)0;
	T9_ = nimIntToStr(gch__IcYaEuuWivYAS86vFMTS3Q.stat.maxThreshold);
	T10_ = (NimStringDesc*)0;
	T10_ = nimIntToStr(gch__IcYaEuuWivYAS86vFMTS3Q.zct.cap);
	T11_ = (NimStringDesc*)0;
	T11_ = nimIntToStr(gch__IcYaEuuWivYAS86vFMTS3Q.stat.cycleTableSize);
	T12_ = (NimStringDesc*)0;
	T12_ = nimInt64ToStr((NI64)(gch__IcYaEuuWivYAS86vFMTS3Q.stat.maxPause / IL64(1000000)));
	T1_ = rawNewString((T3_ ? T3_->Sup.len : 0) + (T5_ ? T5_->Sup.len : 0) + (T6_ ? T6_->Sup.len : 0) + (T7_ ? T7_->Sup.len : 0) + (T8_ ? T8_->Sup.len : 0) + (T9_ ? T9_->Sup.len : 0) + (T10_ ? T10_->Sup.len : 0) + (T11_ ? T11_->Sup.len : 0) + (T12_ ? T12_->Sup.len : 0) + 202);
appendString(T1_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_40));
appendString(T1_, T3_);
appendString(T1_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_41));
appendString(T1_, T5_);
appendString(T1_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_42));
appendString(T1_, T6_);
appendString(T1_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_43));
appendString(T1_, T7_);
appendString(T1_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_44));
appendString(T1_, T8_);
appendString(T1_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_45));
appendString(T1_, T9_);
appendString(T1_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_46));
appendString(T1_, T10_);
appendString(T1_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_47));
appendString(T1_, T11_);
appendString(T1_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_48));
appendString(T1_, T12_);
appendString(T1_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_15));
	result = T1_;
	T13_ = (NimStringDesc*)0;
	T14_ = (NimStringDesc*)0;
	T14_ = nimIntToStr(gch__IcYaEuuWivYAS86vFMTS3Q.stat.maxStackSize);
	T13_ = rawNewString((T14_ ? T14_->Sup.len : 0) + 22);
appendString(T13_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_49));
appendString(T13_, T14_);
appendString(T13_, ((NimStringDesc*) &TM__Q5wkpxktOdTGvlSRo9bzt9aw_15));
	result = resizeString(result, (T13_ ? T13_->Sup.len : 0) + 0);
appendString(result, T13_);
	return result;
}
static N_INLINE(void, initStackBottomWith)(void* locals) {
	nimGC_setStackBottom(locals);
}
N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void) {
{

	nimRegisterThreadLocalMarker(TM__Q5wkpxktOdTGvlSRo9bzt9aw_4);

	initStackBottom();
	initGC__amVlU9ajqZ06ujoesRBHcDg();
	registerSignalHandler__amVlU9ajqZ06ujoesRBHcDg_2();
}
}

N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void) {

/* section: NIM_merge_TYPE_INIT1 */
static TNimNode* TM__Q5wkpxktOdTGvlSRo9bzt9aw_2_5[5];
static TNimNode* TM__Q5wkpxktOdTGvlSRo9bzt9aw_3_3[3];
static TNimNode TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[25];

/* section: NIM_merge_TYPE_INIT3 */
NTI__ytyiCJqK439aF9cIibuRVpAg_.size = sizeof(RootObj);
NTI__ytyiCJqK439aF9cIibuRVpAg_.align = NIM_ALIGNOF(RootObj);
NTI__ytyiCJqK439aF9cIibuRVpAg_.kind = 17;
NTI__ytyiCJqK439aF9cIibuRVpAg_.base = 0;
NTI__ytyiCJqK439aF9cIibuRVpAg_.flags = 1;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[0].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[0].kind = 2;
NTI__ytyiCJqK439aF9cIibuRVpAg_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[0];
NTI__XEycrCsme5C8CVWAYEcdBQ_.size = sizeof(Exception);
NTI__XEycrCsme5C8CVWAYEcdBQ_.align = NIM_ALIGNOF(Exception);
NTI__XEycrCsme5C8CVWAYEcdBQ_.kind = 17;
NTI__XEycrCsme5C8CVWAYEcdBQ_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_2_5[0] = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[2];
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[2].kind = 1;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[2].offset = offsetof(Exception, parent);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[2].typ = (&NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[2].name = "parent";
TM__Q5wkpxktOdTGvlSRo9bzt9aw_2_5[1] = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[3];
NTI__S9agCYBinaYZnGWcjTdxclg_.size = sizeof(NCSTRING);
NTI__S9agCYBinaYZnGWcjTdxclg_.align = NIM_ALIGNOF(NCSTRING);
NTI__S9agCYBinaYZnGWcjTdxclg_.kind = 29;
NTI__S9agCYBinaYZnGWcjTdxclg_.base = 0;
NTI__S9agCYBinaYZnGWcjTdxclg_.flags = 3;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[3].kind = 1;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[3].offset = offsetof(Exception, name);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[3].typ = (&NTI__S9agCYBinaYZnGWcjTdxclg_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[3].name = "name";
TM__Q5wkpxktOdTGvlSRo9bzt9aw_2_5[2] = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[4];
NTI__77mFvmsOLKik79ci2hXkHEg_.size = sizeof(NimStringDesc*);
NTI__77mFvmsOLKik79ci2hXkHEg_.align = NIM_ALIGNOF(NimStringDesc*);
NTI__77mFvmsOLKik79ci2hXkHEg_.kind = 28;
NTI__77mFvmsOLKik79ci2hXkHEg_.base = 0;
NTI__77mFvmsOLKik79ci2hXkHEg_.flags = 2;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[4].kind = 1;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[4].offset = offsetof(Exception, message);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[4].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[4].name = "msg";
TM__Q5wkpxktOdTGvlSRo9bzt9aw_2_5[3] = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[5];
NTI__oLyohQ7O2XOvGnflOss8EA_.size = sizeof(tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA);
NTI__oLyohQ7O2XOvGnflOss8EA_.align = NIM_ALIGNOF(tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA);
NTI__oLyohQ7O2XOvGnflOss8EA_.kind = 18;
NTI__oLyohQ7O2XOvGnflOss8EA_.base = 0;
NTI__oLyohQ7O2XOvGnflOss8EA_.flags = 3;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_3_3[0] = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[7];
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[7].kind = 1;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[7].offset = offsetof(tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA, procname);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[7].typ = (&NTI__S9agCYBinaYZnGWcjTdxclg_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[7].name = "procname";
TM__Q5wkpxktOdTGvlSRo9bzt9aw_3_3[1] = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[8];
NTI__rR5Bzr1D5krxoo1NcNyeMA_.size = sizeof(NI);
NTI__rR5Bzr1D5krxoo1NcNyeMA_.align = NIM_ALIGNOF(NI);
NTI__rR5Bzr1D5krxoo1NcNyeMA_.kind = 31;
NTI__rR5Bzr1D5krxoo1NcNyeMA_.base = 0;
NTI__rR5Bzr1D5krxoo1NcNyeMA_.flags = 3;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[8].kind = 1;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[8].offset = offsetof(tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA, line);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[8].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[8].name = "line";
TM__Q5wkpxktOdTGvlSRo9bzt9aw_3_3[2] = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[9];
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[9].kind = 1;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[9].offset = offsetof(tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA, filename);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[9].typ = (&NTI__S9agCYBinaYZnGWcjTdxclg_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[9].name = "filename";
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[6].len = 3; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[6].kind = 2; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[6].sons = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_3_3[0];
NTI__oLyohQ7O2XOvGnflOss8EA_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[6];
NTI__uB9b75OUPRENsBAu4AnoePA_.size = sizeof(tySequence__uB9b75OUPRENsBAu4AnoePA*);
NTI__uB9b75OUPRENsBAu4AnoePA_.align = NIM_ALIGNOF(tySequence__uB9b75OUPRENsBAu4AnoePA*);
NTI__uB9b75OUPRENsBAu4AnoePA_.kind = 24;
NTI__uB9b75OUPRENsBAu4AnoePA_.base = (&NTI__oLyohQ7O2XOvGnflOss8EA_);
NTI__uB9b75OUPRENsBAu4AnoePA_.flags = 2;
NTI__uB9b75OUPRENsBAu4AnoePA_.marker = Marker_tySequence__uB9b75OUPRENsBAu4AnoePA;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[5].kind = 1;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[5].offset = offsetof(Exception, trace);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[5].typ = (&NTI__uB9b75OUPRENsBAu4AnoePA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[5].name = "trace";
TM__Q5wkpxktOdTGvlSRo9bzt9aw_2_5[4] = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[10];
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[10].kind = 1;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[10].offset = offsetof(Exception, up);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[10].typ = (&NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[10].name = "up";
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[1].len = 5; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[1].kind = 2; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[1].sons = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_2_5[0];
NTI__XEycrCsme5C8CVWAYEcdBQ_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[1];
NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_.size = sizeof(Exception*);
NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_.align = NIM_ALIGNOF(Exception*);
NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_.kind = 22;
NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_.base = (&NTI__XEycrCsme5C8CVWAYEcdBQ_);
NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_.marker = Marker_tyRef__vU9aO9cTqOMn6CBzhV8rX7Sw;
NTI__LbeSGvgPzGzXnW9caIkJqMA_.size = sizeof(tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA);
NTI__LbeSGvgPzGzXnW9caIkJqMA_.align = NIM_ALIGNOF(tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA);
NTI__LbeSGvgPzGzXnW9caIkJqMA_.kind = 17;
NTI__LbeSGvgPzGzXnW9caIkJqMA_.base = (&NTI__XEycrCsme5C8CVWAYEcdBQ_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[11].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[11].kind = 2;
NTI__LbeSGvgPzGzXnW9caIkJqMA_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[11];
NTI__E0L0wGYS1gPD81VLstNO2g_.size = sizeof(tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g);
NTI__E0L0wGYS1gPD81VLstNO2g_.align = NIM_ALIGNOF(tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g);
NTI__E0L0wGYS1gPD81VLstNO2g_.kind = 17;
NTI__E0L0wGYS1gPD81VLstNO2g_.base = (&NTI__LbeSGvgPzGzXnW9caIkJqMA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[12].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[12].kind = 2;
NTI__E0L0wGYS1gPD81VLstNO2g_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[12];
NTI__uG62cfJZ15c2siK3CKLmnQ_.size = sizeof(tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g*);
NTI__uG62cfJZ15c2siK3CKLmnQ_.align = NIM_ALIGNOF(tyObject_ReraiseDefect__E0L0wGYS1gPD81VLstNO2g*);
NTI__uG62cfJZ15c2siK3CKLmnQ_.kind = 22;
NTI__uG62cfJZ15c2siK3CKLmnQ_.base = (&NTI__E0L0wGYS1gPD81VLstNO2g_);
NTI__uG62cfJZ15c2siK3CKLmnQ_.marker = Marker_tyRef__uG62cfJZ15c2siK3CKLmnQ;
NTI__cT9c9bHlHSpA1QTnKbHjnIkA_.size = sizeof(tyObject_ArithmeticDefect__cT9c9bHlHSpA1QTnKbHjnIkA);
NTI__cT9c9bHlHSpA1QTnKbHjnIkA_.align = NIM_ALIGNOF(tyObject_ArithmeticDefect__cT9c9bHlHSpA1QTnKbHjnIkA);
NTI__cT9c9bHlHSpA1QTnKbHjnIkA_.kind = 17;
NTI__cT9c9bHlHSpA1QTnKbHjnIkA_.base = (&NTI__LbeSGvgPzGzXnW9caIkJqMA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[13].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[13].kind = 2;
NTI__cT9c9bHlHSpA1QTnKbHjnIkA_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[13];
NTI__9cxMi1BPLc3UKt9br86bGfGQ_.size = sizeof(tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ);
NTI__9cxMi1BPLc3UKt9br86bGfGQ_.align = NIM_ALIGNOF(tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ);
NTI__9cxMi1BPLc3UKt9br86bGfGQ_.kind = 17;
NTI__9cxMi1BPLc3UKt9br86bGfGQ_.base = (&NTI__cT9c9bHlHSpA1QTnKbHjnIkA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[14].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[14].kind = 2;
NTI__9cxMi1BPLc3UKt9br86bGfGQ_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[14];
NTI__r8GBEWywN07B3Rat3azS4Q_.size = sizeof(tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ*);
NTI__r8GBEWywN07B3Rat3azS4Q_.align = NIM_ALIGNOF(tyObject_OverflowDefect__9cxMi1BPLc3UKt9br86bGfGQ*);
NTI__r8GBEWywN07B3Rat3azS4Q_.kind = 22;
NTI__r8GBEWywN07B3Rat3azS4Q_.base = (&NTI__9cxMi1BPLc3UKt9br86bGfGQ_);
NTI__r8GBEWywN07B3Rat3azS4Q_.marker = Marker_tyRef__r8GBEWywN07B3Rat3azS4Q;
NTI__VaVACK0bpYmqIQ0mKcHfQQ_.size = sizeof(NIM_BOOL);
NTI__VaVACK0bpYmqIQ0mKcHfQQ_.align = NIM_ALIGNOF(NIM_BOOL);
NTI__VaVACK0bpYmqIQ0mKcHfQQ_.kind = 1;
NTI__VaVACK0bpYmqIQ0mKcHfQQ_.base = 0;
NTI__VaVACK0bpYmqIQ0mKcHfQQ_.flags = 3;
NTI__WwUFq9cJ2xKRlsAWVEHyPRg_.size = sizeof(tySequence__WwUFq9cJ2xKRlsAWVEHyPRg*);
NTI__WwUFq9cJ2xKRlsAWVEHyPRg_.align = NIM_ALIGNOF(tySequence__WwUFq9cJ2xKRlsAWVEHyPRg*);
NTI__WwUFq9cJ2xKRlsAWVEHyPRg_.kind = 24;
NTI__WwUFq9cJ2xKRlsAWVEHyPRg_.base = (&NTI__4hi0XQqK9aLiPuWT9acsXm9aQ_);
NTI__WwUFq9cJ2xKRlsAWVEHyPRg_.flags = 2;
NTI__WwUFq9cJ2xKRlsAWVEHyPRg_.marker = Marker_tySequence__WwUFq9cJ2xKRlsAWVEHyPRg;
NTI__PtYxPmY5X0dorfvxAFbJpQ_.size = sizeof(tyObject_AssertionDefect__PtYxPmY5X0dorfvxAFbJpQ);
NTI__PtYxPmY5X0dorfvxAFbJpQ_.align = NIM_ALIGNOF(tyObject_AssertionDefect__PtYxPmY5X0dorfvxAFbJpQ);
NTI__PtYxPmY5X0dorfvxAFbJpQ_.kind = 17;
NTI__PtYxPmY5X0dorfvxAFbJpQ_.base = (&NTI__LbeSGvgPzGzXnW9caIkJqMA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[15].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[15].kind = 2;
NTI__PtYxPmY5X0dorfvxAFbJpQ_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[15];
NTI__S8DV6hfcgC9c0IiUsAoR29cQ_.size = sizeof(tyObject_AssertionDefect__PtYxPmY5X0dorfvxAFbJpQ*);
NTI__S8DV6hfcgC9c0IiUsAoR29cQ_.align = NIM_ALIGNOF(tyObject_AssertionDefect__PtYxPmY5X0dorfvxAFbJpQ*);
NTI__S8DV6hfcgC9c0IiUsAoR29cQ_.kind = 22;
NTI__S8DV6hfcgC9c0IiUsAoR29cQ_.base = (&NTI__PtYxPmY5X0dorfvxAFbJpQ_);
NTI__S8DV6hfcgC9c0IiUsAoR29cQ_.marker = Marker_tyRef__S8DV6hfcgC9c0IiUsAoR29cQ;
NTI__M4na42GvebBMnI5wV9cYMxg_.size = sizeof(NU16);
NTI__M4na42GvebBMnI5wV9cYMxg_.align = NIM_ALIGNOF(NU16);
NTI__M4na42GvebBMnI5wV9cYMxg_.kind = 42;
NTI__M4na42GvebBMnI5wV9cYMxg_.base = 0;
NTI__M4na42GvebBMnI5wV9cYMxg_.flags = 3;
NTI__kDPg4wXyR8DDyA0MeEjIsw_.size = sizeof(NI16);
NTI__kDPg4wXyR8DDyA0MeEjIsw_.align = NIM_ALIGNOF(NI16);
NTI__kDPg4wXyR8DDyA0MeEjIsw_.kind = 33;
NTI__kDPg4wXyR8DDyA0MeEjIsw_.base = 0;
NTI__kDPg4wXyR8DDyA0MeEjIsw_.flags = 3;
NTI__sVg18TP9cLifHyygRe9cro9aA_.size = sizeof(NI32);
NTI__sVg18TP9cLifHyygRe9cro9aA_.align = NIM_ALIGNOF(NI32);
NTI__sVg18TP9cLifHyygRe9cro9aA_.kind = 34;
NTI__sVg18TP9cLifHyygRe9cro9aA_.base = 0;
NTI__sVg18TP9cLifHyygRe9cro9aA_.flags = 3;
NTI__chXunH2dwinSkhpA6JnsXw_.size = sizeof(NI8);
NTI__chXunH2dwinSkhpA6JnsXw_.align = NIM_ALIGNOF(NI8);
NTI__chXunH2dwinSkhpA6JnsXw_.kind = 32;
NTI__chXunH2dwinSkhpA6JnsXw_.base = 0;
NTI__chXunH2dwinSkhpA6JnsXw_.flags = 3;
NTI__w9bl9a1ul9ctRJWiMl9cNnIMvg_.size = sizeof(NF);
NTI__w9bl9a1ul9ctRJWiMl9cNnIMvg_.align = NIM_ALIGNOF(NF);
NTI__w9bl9a1ul9ctRJWiMl9cNnIMvg_.kind = 36;
NTI__w9bl9a1ul9ctRJWiMl9cNnIMvg_.base = 0;
NTI__w9bl9a1ul9ctRJWiMl9cNnIMvg_.flags = 3;
NTI__nmiMWKVIe46vacnhAFrQvw_.size = sizeof(NIM_CHAR);
NTI__nmiMWKVIe46vacnhAFrQvw_.align = NIM_ALIGNOF(NIM_CHAR);
NTI__nmiMWKVIe46vacnhAFrQvw_.kind = 2;
NTI__nmiMWKVIe46vacnhAFrQvw_.base = 0;
NTI__nmiMWKVIe46vacnhAFrQvw_.flags = 3;
NTI__6toVe0IizlEwN9bORXEdX3g_.size = sizeof(tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g);
NTI__6toVe0IizlEwN9bORXEdX3g_.align = NIM_ALIGNOF(tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g);
NTI__6toVe0IizlEwN9bORXEdX3g_.kind = 17;
NTI__6toVe0IizlEwN9bORXEdX3g_.base = (&NTI__LbeSGvgPzGzXnW9caIkJqMA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[16].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[16].kind = 2;
NTI__6toVe0IizlEwN9bORXEdX3g_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[16];
NTI__C0A9bPZSVeyr2BWpBf4Jxqw_.size = sizeof(tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g*);
NTI__C0A9bPZSVeyr2BWpBf4Jxqw_.align = NIM_ALIGNOF(tyObject_ObjectAssignmentDefect__6toVe0IizlEwN9bORXEdX3g*);
NTI__C0A9bPZSVeyr2BWpBf4Jxqw_.kind = 22;
NTI__C0A9bPZSVeyr2BWpBf4Jxqw_.base = (&NTI__6toVe0IizlEwN9bORXEdX3g_);
NTI__C0A9bPZSVeyr2BWpBf4Jxqw_.marker = Marker_tyRef__C0A9bPZSVeyr2BWpBf4Jxqw;
NTI__qrLSDoe2oBoAqNtJ9badtnA_.size = sizeof(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA);
NTI__qrLSDoe2oBoAqNtJ9badtnA_.align = NIM_ALIGNOF(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA);
NTI__qrLSDoe2oBoAqNtJ9badtnA_.kind = 17;
NTI__qrLSDoe2oBoAqNtJ9badtnA_.base = (&NTI__XEycrCsme5C8CVWAYEcdBQ_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[17].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[17].kind = 2;
NTI__qrLSDoe2oBoAqNtJ9badtnA_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[17];
NTI__BeJgrOdDsczOwEWOZbRfKA_.size = sizeof(tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA);
NTI__BeJgrOdDsczOwEWOZbRfKA_.align = NIM_ALIGNOF(tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA);
NTI__BeJgrOdDsczOwEWOZbRfKA_.kind = 17;
NTI__BeJgrOdDsczOwEWOZbRfKA_.base = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[18].kind = 1;
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[18].offset = offsetof(tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA, errorCode);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[18].typ = (&NTI__sVg18TP9cLifHyygRe9cro9aA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[18].name = "errorCode";
NTI__BeJgrOdDsczOwEWOZbRfKA_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[18];
NTI__9clYsYwyjCqe2PFTuCI3Ubg_.size = sizeof(tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA*);
NTI__9clYsYwyjCqe2PFTuCI3Ubg_.align = NIM_ALIGNOF(tyObject_OSError__BeJgrOdDsczOwEWOZbRfKA*);
NTI__9clYsYwyjCqe2PFTuCI3Ubg_.kind = 22;
NTI__9clYsYwyjCqe2PFTuCI3Ubg_.base = (&NTI__BeJgrOdDsczOwEWOZbRfKA_);
NTI__9clYsYwyjCqe2PFTuCI3Ubg_.marker = Marker_tyRef__9clYsYwyjCqe2PFTuCI3Ubg;
NTI__yoNlBGx0D2tRizIdhQuENw_.size = sizeof(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw);
NTI__yoNlBGx0D2tRizIdhQuENw_.align = NIM_ALIGNOF(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw);
NTI__yoNlBGx0D2tRizIdhQuENw_.kind = 17;
NTI__yoNlBGx0D2tRizIdhQuENw_.base = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[19].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[19].kind = 2;
NTI__yoNlBGx0D2tRizIdhQuENw_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[19];
NTI__Ie1m0dv1ZHg72IgPRr1cDw_.size = sizeof(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*);
NTI__Ie1m0dv1ZHg72IgPRr1cDw_.align = NIM_ALIGNOF(tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw*);
NTI__Ie1m0dv1ZHg72IgPRr1cDw_.kind = 22;
NTI__Ie1m0dv1ZHg72IgPRr1cDw_.base = (&NTI__yoNlBGx0D2tRizIdhQuENw_);
NTI__Ie1m0dv1ZHg72IgPRr1cDw_.marker = Marker_tyRef__Ie1m0dv1ZHg72IgPRr1cDw;
NTI__iLZrPn9anoh9ad1MmO0RczFw_.size = sizeof(tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw);
NTI__iLZrPn9anoh9ad1MmO0RczFw_.align = NIM_ALIGNOF(tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw);
NTI__iLZrPn9anoh9ad1MmO0RczFw_.kind = 17;
NTI__iLZrPn9anoh9ad1MmO0RczFw_.base = (&NTI__qrLSDoe2oBoAqNtJ9badtnA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[20].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[20].kind = 2;
NTI__iLZrPn9anoh9ad1MmO0RczFw_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[20];
NTI__HMIVdYjdZYWskTmTQVo5BQ_.size = sizeof(tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw*);
NTI__HMIVdYjdZYWskTmTQVo5BQ_.align = NIM_ALIGNOF(tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw*);
NTI__HMIVdYjdZYWskTmTQVo5BQ_.kind = 22;
NTI__HMIVdYjdZYWskTmTQVo5BQ_.base = (&NTI__iLZrPn9anoh9ad1MmO0RczFw_);
NTI__HMIVdYjdZYWskTmTQVo5BQ_.marker = Marker_tyRef__HMIVdYjdZYWskTmTQVo5BQ;
NTI__t7nhKLvXTQS9cS8ByJU9bIag_.size = sizeof(tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag);
NTI__t7nhKLvXTQS9cS8ByJU9bIag_.align = NIM_ALIGNOF(tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag);
NTI__t7nhKLvXTQS9cS8ByJU9bIag_.kind = 17;
NTI__t7nhKLvXTQS9cS8ByJU9bIag_.base = (&NTI__yoNlBGx0D2tRizIdhQuENw_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[21].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[21].kind = 2;
NTI__t7nhKLvXTQS9cS8ByJU9bIag_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[21];
NTI__8SzoIAgLw9ci2v0yafHj9b6Q_.size = sizeof(tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag*);
NTI__8SzoIAgLw9ci2v0yafHj9b6Q_.align = NIM_ALIGNOF(tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag*);
NTI__8SzoIAgLw9ci2v0yafHj9b6Q_.kind = 22;
NTI__8SzoIAgLw9ci2v0yafHj9b6Q_.base = (&NTI__t7nhKLvXTQS9cS8ByJU9bIag_);
NTI__8SzoIAgLw9ci2v0yafHj9b6Q_.marker = Marker_tyRef__8SzoIAgLw9ci2v0yafHj9b6Q;
NTI__KGSY1JdrNB7Xi8KDhXFhSg_.size = sizeof(tyObject_EOFError__KGSY1JdrNB7Xi8KDhXFhSg);
NTI__KGSY1JdrNB7Xi8KDhXFhSg_.align = NIM_ALIGNOF(tyObject_EOFError__KGSY1JdrNB7Xi8KDhXFhSg);
NTI__KGSY1JdrNB7Xi8KDhXFhSg_.kind = 17;
NTI__KGSY1JdrNB7Xi8KDhXFhSg_.base = (&NTI__iLZrPn9anoh9ad1MmO0RczFw_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[22].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[22].kind = 2;
NTI__KGSY1JdrNB7Xi8KDhXFhSg_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[22];
NTI__LEclZrWX2FQAodlapxGITw_.size = sizeof(tyObject_EOFError__KGSY1JdrNB7Xi8KDhXFhSg*);
NTI__LEclZrWX2FQAodlapxGITw_.align = NIM_ALIGNOF(tyObject_EOFError__KGSY1JdrNB7Xi8KDhXFhSg*);
NTI__LEclZrWX2FQAodlapxGITw_.kind = 22;
NTI__LEclZrWX2FQAodlapxGITw_.base = (&NTI__KGSY1JdrNB7Xi8KDhXFhSg_);
NTI__LEclZrWX2FQAodlapxGITw_.marker = Marker_tyRef__LEclZrWX2FQAodlapxGITw;
NTI__Aav8dQoMlCFnZRxA0IhTHQ_.size = sizeof(NI64);
NTI__Aav8dQoMlCFnZRxA0IhTHQ_.align = NIM_ALIGNOF(NI64);
NTI__Aav8dQoMlCFnZRxA0IhTHQ_.kind = 35;
NTI__Aav8dQoMlCFnZRxA0IhTHQ_.base = 0;
NTI__Aav8dQoMlCFnZRxA0IhTHQ_.flags = 3;
NTI__0vJvi4uHbxjbxlkkX7P1EA_.size = sizeof(RootObj*);
NTI__0vJvi4uHbxjbxlkkX7P1EA_.align = NIM_ALIGNOF(RootObj*);
NTI__0vJvi4uHbxjbxlkkX7P1EA_.kind = 22;
NTI__0vJvi4uHbxjbxlkkX7P1EA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
NTI__0vJvi4uHbxjbxlkkX7P1EA_.marker = Marker_tyRef__0vJvi4uHbxjbxlkkX7P1EA;
NTI__k3HXouOuhqAKq0dx450lXQ_.size = sizeof(NU8);
NTI__k3HXouOuhqAKq0dx450lXQ_.align = NIM_ALIGNOF(NU8);
NTI__k3HXouOuhqAKq0dx450lXQ_.kind = 41;
NTI__k3HXouOuhqAKq0dx450lXQ_.base = 0;
NTI__k3HXouOuhqAKq0dx450lXQ_.flags = 3;
NTI__Rp9adJYTsbbIUzQ8fWxwgdA_.size = sizeof(tyObject_RangeDefect__Rp9adJYTsbbIUzQ8fWxwgdA);
NTI__Rp9adJYTsbbIUzQ8fWxwgdA_.align = NIM_ALIGNOF(tyObject_RangeDefect__Rp9adJYTsbbIUzQ8fWxwgdA);
NTI__Rp9adJYTsbbIUzQ8fWxwgdA_.kind = 17;
NTI__Rp9adJYTsbbIUzQ8fWxwgdA_.base = (&NTI__LbeSGvgPzGzXnW9caIkJqMA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[23].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[23].kind = 2;
NTI__Rp9adJYTsbbIUzQ8fWxwgdA_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[23];
NTI__DL2Id9b2SwHghZpjvWsUcAw_.size = sizeof(tySequence__DL2Id9b2SwHghZpjvWsUcAw*);
NTI__DL2Id9b2SwHghZpjvWsUcAw_.align = NIM_ALIGNOF(tySequence__DL2Id9b2SwHghZpjvWsUcAw*);
NTI__DL2Id9b2SwHghZpjvWsUcAw_.kind = 24;
NTI__DL2Id9b2SwHghZpjvWsUcAw_.base = (&NTI__CHGVxU5ophQHfZDcth7p1w_);
NTI__DL2Id9b2SwHghZpjvWsUcAw_.flags = 2;
NTI__DL2Id9b2SwHghZpjvWsUcAw_.marker = Marker_tySequence__DL2Id9b2SwHghZpjvWsUcAw;
NTI__76wc9cnTOK9c6epudv8uYE0w_.size = sizeof(tySequence__76wc9cnTOK9c6epudv8uYE0w*);
NTI__76wc9cnTOK9c6epudv8uYE0w_.align = NIM_ALIGNOF(tySequence__76wc9cnTOK9c6epudv8uYE0w*);
NTI__76wc9cnTOK9c6epudv8uYE0w_.kind = 24;
NTI__76wc9cnTOK9c6epudv8uYE0w_.base = (&NTI__OiD2O9bS9cMtitswLivRUn5g_);
NTI__76wc9cnTOK9c6epudv8uYE0w_.flags = 2;
NTI__76wc9cnTOK9c6epudv8uYE0w_.marker = Marker_tySequence__76wc9cnTOK9c6epudv8uYE0w;
NTI__9ai78kkwqt3gikTN9cpHKUVg_.size = sizeof(NI*);
NTI__9ai78kkwqt3gikTN9cpHKUVg_.align = NIM_ALIGNOF(NI*);
NTI__9ai78kkwqt3gikTN9cpHKUVg_.kind = 22;
NTI__9ai78kkwqt3gikTN9cpHKUVg_.base = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
NTI__9ai78kkwqt3gikTN9cpHKUVg_.flags = 2;
NTI__9ai78kkwqt3gikTN9cpHKUVg_.marker = Marker_tyRef__9ai78kkwqt3gikTN9cpHKUVg;
NTI__Y36n7l9b7WX4rcaAYCe6LWw_.size = sizeof(NimStringDesc**);
NTI__Y36n7l9b7WX4rcaAYCe6LWw_.align = NIM_ALIGNOF(NimStringDesc**);
NTI__Y36n7l9b7WX4rcaAYCe6LWw_.kind = 21;
NTI__Y36n7l9b7WX4rcaAYCe6LWw_.base = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
NTI__Y36n7l9b7WX4rcaAYCe6LWw_.flags = 3;
NTI__13aFwjKaWlqhwUBjDHvkIw_.size = sizeof(NI);
NTI__13aFwjKaWlqhwUBjDHvkIw_.align = NIM_ALIGNOF(NI);
NTI__13aFwjKaWlqhwUBjDHvkIw_.kind = 31;
NTI__13aFwjKaWlqhwUBjDHvkIw_.base = 0;
NTI__13aFwjKaWlqhwUBjDHvkIw_.flags = 3;
NTI__xHTZrq9aYs6boc9bCba0JbpQ_.size = sizeof(NI);
NTI__xHTZrq9aYs6boc9bCba0JbpQ_.align = NIM_ALIGNOF(NI);
NTI__xHTZrq9aYs6boc9bCba0JbpQ_.kind = 31;
NTI__xHTZrq9aYs6boc9bCba0JbpQ_.base = 0;
NTI__xHTZrq9aYs6boc9bCba0JbpQ_.flags = 3;
NTI__nlCscttRCss70IBTyuBqnA_.size = sizeof(int);
NTI__nlCscttRCss70IBTyuBqnA_.align = NIM_ALIGNOF(int);
NTI__nlCscttRCss70IBTyuBqnA_.kind = 34;
NTI__nlCscttRCss70IBTyuBqnA_.base = 0;
NTI__nlCscttRCss70IBTyuBqnA_.flags = 3;
NTI__6H5Oh5UUvVCLiakt9aTwtUQ_.size = sizeof(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*);
NTI__6H5Oh5UUvVCLiakt9aTwtUQ_.align = NIM_ALIGNOF(tySequence__6H5Oh5UUvVCLiakt9aTwtUQ*);
NTI__6H5Oh5UUvVCLiakt9aTwtUQ_.kind = 24;
NTI__6H5Oh5UUvVCLiakt9aTwtUQ_.base = (&NTI__k3HXouOuhqAKq0dx450lXQ_);
NTI__6H5Oh5UUvVCLiakt9aTwtUQ_.flags = 2;
NTI__6H5Oh5UUvVCLiakt9aTwtUQ_.marker = Marker_tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
NTI__PpavWgyrx5odXyR89aNlcWA_.size = sizeof(NI);
NTI__PpavWgyrx5odXyR89aNlcWA_.align = NIM_ALIGNOF(NI);
NTI__PpavWgyrx5odXyR89aNlcWA_.kind = 31;
NTI__PpavWgyrx5odXyR89aNlcWA_.base = 0;
NTI__PpavWgyrx5odXyR89aNlcWA_.flags = 3;
NTI__rUuqTvFmkC6KKRqDAazGEA_.size = sizeof(NI);
NTI__rUuqTvFmkC6KKRqDAazGEA_.align = NIM_ALIGNOF(NI);
NTI__rUuqTvFmkC6KKRqDAazGEA_.kind = 31;
NTI__rUuqTvFmkC6KKRqDAazGEA_.base = 0;
NTI__rUuqTvFmkC6KKRqDAazGEA_.flags = 3;
NTI__LBgXxpmYOpS8xroRZgNvbg_.size = sizeof(NI);
NTI__LBgXxpmYOpS8xroRZgNvbg_.align = NIM_ALIGNOF(NI);
NTI__LBgXxpmYOpS8xroRZgNvbg_.kind = 31;
NTI__LBgXxpmYOpS8xroRZgNvbg_.base = 0;
NTI__LBgXxpmYOpS8xroRZgNvbg_.flags = 3;
NTI__Gz6vwaK0PZQIDIwfuvKsOg_.size = sizeof(NI);
NTI__Gz6vwaK0PZQIDIwfuvKsOg_.align = NIM_ALIGNOF(NI);
NTI__Gz6vwaK0PZQIDIwfuvKsOg_.kind = 31;
NTI__Gz6vwaK0PZQIDIwfuvKsOg_.base = 0;
NTI__Gz6vwaK0PZQIDIwfuvKsOg_.flags = 3;
NTI__g9buja9c9aeh0rkDpqsXOJF9bA_.size = sizeof(NI);
NTI__g9buja9c9aeh0rkDpqsXOJF9bA_.align = NIM_ALIGNOF(NI);
NTI__g9buja9c9aeh0rkDpqsXOJF9bA_.kind = 31;
NTI__g9buja9c9aeh0rkDpqsXOJF9bA_.base = 0;
NTI__g9buja9c9aeh0rkDpqsXOJF9bA_.flags = 3;
NTI__n3A4gjRrFZBuNnTYx1h9a8w_.size = sizeof(tyObject_DivByZeroDefect__n3A4gjRrFZBuNnTYx1h9a8w);
NTI__n3A4gjRrFZBuNnTYx1h9a8w_.align = NIM_ALIGNOF(tyObject_DivByZeroDefect__n3A4gjRrFZBuNnTYx1h9a8w);
NTI__n3A4gjRrFZBuNnTYx1h9a8w_.kind = 17;
NTI__n3A4gjRrFZBuNnTYx1h9a8w_.base = (&NTI__cT9c9bHlHSpA1QTnKbHjnIkA_);
TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[24].len = 0; TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[24].kind = 2;
NTI__n3A4gjRrFZBuNnTYx1h9a8w_.node = &TM__Q5wkpxktOdTGvlSRo9bzt9aw_0[24];
NTI__hLlQjbV9bLNq5PFxYcqacsA_.size = sizeof(NI);
NTI__hLlQjbV9bLNq5PFxYcqacsA_.align = NIM_ALIGNOF(NI);
NTI__hLlQjbV9bLNq5PFxYcqacsA_.kind = 31;
NTI__hLlQjbV9bLNq5PFxYcqacsA_.base = 0;
NTI__hLlQjbV9bLNq5PFxYcqacsA_.flags = 3;
NTI__PrBYolTs4TOSgE8v5oqDUQ_.size = sizeof(tySequence__PrBYolTs4TOSgE8v5oqDUQ*);
NTI__PrBYolTs4TOSgE8v5oqDUQ_.align = NIM_ALIGNOF(tySequence__PrBYolTs4TOSgE8v5oqDUQ*);
NTI__PrBYolTs4TOSgE8v5oqDUQ_.kind = 24;
NTI__PrBYolTs4TOSgE8v5oqDUQ_.base = (&NTI__lw7iqc9cC7bi1oOZOAlJkJA_);
NTI__PrBYolTs4TOSgE8v5oqDUQ_.marker = Marker_tySequence__PrBYolTs4TOSgE8v5oqDUQ;
}

