/* Generated by Nim Compiler v0.19.4 */
/*   (c) 2018 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_NEW_MANGLING_RULES
#define NIM_INTBITS 32

#include "nimbase.h"
#include <sys/mman.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <setjmp.h>
#include <signal.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.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
typedef struct Exception Exception;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyObject_GcStack_7fytPA5bBsob6See21YMRA tyObject_GcStack_7fytPA5bBsob6See21YMRA;
typedef struct tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ;
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 NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyTuple_1v9bKyksXWMsm0vNwmZ4EuQ tyTuple_1v9bKyksXWMsm0vNwmZ4EuQ;
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_Defect_LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA;
typedef struct tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q;
typedef struct tyObject_OutOfMemError_vyjC2ukVFYc78nQPrSCc9bA tyObject_OutOfMemError_vyjC2ukVFYc78nQPrSCc9bA;
typedef struct tySequence_WwUFq9cJ2xKRlsAWVEHyPRg tySequence_WwUFq9cJ2xKRlsAWVEHyPRg;
typedef struct tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA;
typedef struct tyObject_OverflowError_Ss6DFlX5iSZpHRZDmP74bg tyObject_OverflowError_Ss6DFlX5iSZpHRZDmP74bg;
typedef struct tyObject_ArithmeticError_XIT9aewsXycM2U5B437NUDA tyObject_ArithmeticError_XIT9aewsXycM2U5B437NUDA;
typedef struct tyObject_AssertionError_G9cUlLvU4AFC26wbFxLFkFA tyObject_AssertionError_G9cUlLvU4AFC26wbFxLFkFA;
typedef struct tyObject_ObjectAssignmentError_kJMtlLI2jppHdk6nd3I69aw tyObject_ObjectAssignmentError_kJMtlLI2jppHdk6nd3I69aw;
typedef struct tySequence_sM4lkSb7zS6F7OVMvW9cffQ tySequence_sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct tyObject_IndexError_K39aEGuwNdydKn2WFEpUygg tyObject_IndexError_K39aEGuwNdydKn2WFEpUygg;
typedef struct tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw;
typedef struct tyObject_CatchableError_qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError_qrLSDoe2oBoAqNtJ9badtnA;
typedef struct tyObject_ReraiseError_Wyd9avMRCq0gsOu9adFoIjCA tyObject_ReraiseError_Wyd9avMRCq0gsOu9adFoIjCA;
typedef struct tyObject_KeyError_nRD4SGrdQPt47sk7LIklpA tyObject_KeyError_nRD4SGrdQPt47sk7LIklpA;
typedef struct tyObject_OSError_BeJgrOdDsczOwEWOZbRfKA tyObject_OSError_BeJgrOdDsczOwEWOZbRfKA;
typedef struct tyObject_EOFError_KGSY1JdrNB7Xi8KDhXFhSg tyObject_EOFError_KGSY1JdrNB7Xi8KDhXFhSg;
typedef struct tyTuple_kN8up2W6YKc5YA9avn5mV5w tyTuple_kN8up2W6YKc5YA9avn5mV5w;
typedef struct tySequence_Ef05srmQTDulnBdXR4Ja6Q tySequence_Ef05srmQTDulnBdXR4Ja6Q;
typedef struct tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
typedef struct tySequence_nl5fX6g5vxdA4inU5zASDQ tySequence_nl5fX6g5vxdA4inU5zASDQ;
typedef struct tyTuple_gOsvkY4zLbqYcgABB1VEQg tyTuple_gOsvkY4zLbqYcgABB1VEQg;
typedef struct tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w;
typedef struct tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ;
typedef struct tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw;
typedef struct tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q;
typedef struct tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA;
typedef struct tyObject_RangeError_8inKGns6i1OoXN9aLZwcSOw tyObject_RangeError_8inKGns6i1OoXN9aLZwcSOw;
typedef struct tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA;
typedef struct tySequence_DXS6mEo7PVUFJkirsQ9bNQA tySequence_DXS6mEo7PVUFJkirsQ9bNQA;
typedef struct tyObject_HSlice_EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice_EE5dzjqoOrHT6HJhIPXAvA;
typedef struct tySequence_MvZmat48bhe9b6x9aUD58D5Q tySequence_MvZmat48bhe9b6x9aUD58D5Q;
typedef struct tyTuple_zwpS6d6iewrdlBSTNFoyVA tyTuple_zwpS6d6iewrdlBSTNFoyVA;
typedef struct tyObject_DivByZeroError_vASt1Zy2CLWqyBeLxcXqow tyObject_DivByZeroError_vASt1Zy2CLWqyBeLxcXqow;
typedef struct tySequence_hj4BvueOlKB8Z1Qw2ZU4nQ tySequence_hj4BvueOlKB8Z1Qw2ZU4nQ;
typedef struct tyObject_Instr_Iclb1njvAJfjjEpCLzUzZg tyObject_Instr_Iclb1njvAJfjjEpCLzUzZg;
typedef struct tySequence_bZP29c0SHT9aMkbSl4EFvgCg tySequence_bZP29c0SHT9aMkbSl4EFvgCg;
typedef struct tyObject_TBlock_J29b9b9cJiD9aK19cdoA7IwWiyA tyObject_TBlock_J29b9b9cJiD9aK19cdoA7IwWiyA;
typedef struct tySequence_qwqHTkRvwhrRyENtudHQ7g tySequence_qwqHTkRvwhrRyENtudHQ7g;
typedef struct tySequence_0dpGN6F4ocevqUQGsaf41w tySequence_0dpGN6F4ocevqUQGsaf41w;
typedef struct tyObject_CandidateError_5fLnqPfj0Ty9cmak1Q1pBFQ tyObject_CandidateError_5fLnqPfj0Ty9cmak1Q1pBFQ;
typedef struct tySequence_P9c6Y5h4sjjYLVGti5AELHg tySequence_P9c6Y5h4sjjYLVGti5AELHg;
typedef struct tyTuple_aTNxDjHI7v9cq37xS7PT7jA tyTuple_aTNxDjHI7v9cq37xS7PT7jA;
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_AK3cQuijuQxFGdWA8l9a9aYA tySequence_AK3cQuijuQxFGdWA8l9a9aYA;
typedef struct tySequence_PrBYolTs4TOSgE8v5oqDUQ tySequence_PrBYolTs4TOSgE8v5oqDUQ;
typedef struct tyObject_ProcessObj_2rGNQnv9bU4hanI2g3svReg tyObject_ProcessObj_2rGNQnv9bU4hanI2g3svReg;
typedef struct tySequence_oLpBKXzW3hF9aCVMo5EymfQ tySequence_oLpBKXzW3hF9aCVMo5EymfQ;
typedef struct tyObject_JsonNodeObj_df9bshXB7C9cTiWPIOtX3j1Q tyObject_JsonNodeObj_df9bshXB7C9cTiWPIOtX3j1Q;
typedef struct tyObject_IndexEntry_G9ccBDFWfr9aYnLgXTNGDHDg tyObject_IndexEntry_G9ccBDFWfr9aYnLgXTNGDHDg;
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc_9axCnCRMUx32AHzFgBrzSMg) (Exception* e);
typedef N_NIMCALL_PTR(void, tyProc_T4eqaYlFJYZUv9aG9b1TV0bQ) (void);
typedef NU8 tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc_ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc_WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {
NI size;
tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc_ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc_WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
};
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;
};
typedef TNimNode* tyArray_pPliadsJkoxIPLiuFLcL3g[32767];
struct tyObject_GcStack_7fytPA5bBsob6See21YMRA {
void* bottom;
};
struct tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w {
NI len;
NI cap;
tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* tyArray_SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray_BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* tyArray_N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray_N1u1nqOgmuJN9cSZrnMHgOQ tyArray_B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw* tyArray_lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA {
tyArray_lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* tyArray_0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw {
tyArray_0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple_ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple_ujsjpB2O9cjj3uDHsXbnSzg tyArray_LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg {
NI len;
tyArray_LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg {
NI minLargeObj;
NI maxLargeObj;
tyArray_SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray_BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray_B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
};
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;
};
struct tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g {
NI refcount;
TNimType* typ;
};
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;
NI align;
NF data;
};
typedef NI8 tyArray_mkmEeKAWtk2yS9bBb1lUWXA[256];
struct tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg {
  tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w Sup;
tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* next;
tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* prev;
NF data;
};
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef NimStringDesc* tyArray_nHXaesL0DJZHyVS07ARPRA[1];
struct tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw {
NI size;
NI acc;
tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw* next;
};
typedef NI tyArray_9agrCtWKhCnWWMJpKKugJag[16];
struct tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw {
tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw* next;
NI key;
tyArray_9agrCtWKhCnWWMJpKKugJag bits;
};
struct tyTuple_1v9bKyksXWMsm0vNwmZ4EuQ {
NI Field0;
NI Field1;
};
struct tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ {
tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ* next;
NI zeroField;
};
typedef tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* tyArray_9cWU9b808rkyMADpCF9b1NZMw[1];
typedef tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* tyArray_CDjZk8xT9cnkLt1tmaEkX9cw[1];
struct tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg {
tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* next;
NI key;
tyArray_9agrCtWKhCnWWMJpKKugJag bits;
};
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;
NU raise_id;
Exception* up;
};
struct tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA {
NCSTRING procname;
NI line;
NCSTRING filename;
};
typedef NU8 tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ;
typedef TFrame* tyArray_pFdcUVk36Xt0LD9bLg3YaIQ[128];
typedef N_NIMCALL_PTR(void, Finalizer) (void* self);
typedef N_NOCONV_PTR(void, tyProc_lfH2drpqP9aSEAAjWgrYv8Q) (int a);
typedef tyProc_T4eqaYlFJYZUv9aG9b1TV0bQ tyArray_9aTRall1siQT9bXabu2aKXUg[3500];
struct tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA {
  Exception Sup;
};
struct tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q {
  tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA Sup;
};
typedef struct {
N_NIMCALL_PTR(NIM_BOOL, ClP_0) (Exception* e, void* ClE_0);
void* ClE_0;
} tyProc_NT9bSe2DDkjdtx7j9aov2Z6g;
struct TSafePoint {
TSafePoint* prev;
NI status;
jmp_buf context;
NIM_BOOL hasRaiseAction;
tyProc_NT9bSe2DDkjdtx7j9aov2Z6g raiseAction;
};
typedef N_CLOSURE_PTR(NIM_BOOL, TM_Q5wkpxktOdTGvlSRo9bzt9aw_22) (Exception* e);
struct tyObject_OutOfMemError_vyjC2ukVFYc78nQPrSCc9bA {
  tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA Sup;
};
typedef NIM_CHAR tyArray_gpc2RrLEcWgv7ONpLYNHOw[2001];
struct tyObject_ArithmeticError_XIT9aewsXycM2U5B437NUDA {
  tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA Sup;
};
struct tyObject_OverflowError_Ss6DFlX5iSZpHRZDmP74bg {
  tyObject_ArithmeticError_XIT9aewsXycM2U5B437NUDA Sup;
};
struct tyObject_AssertionError_G9cUlLvU4AFC26wbFxLFkFA {
  tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA Sup;
};
typedef NU32 tySet_tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg;
typedef NU8 tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg;
struct tyObject_ObjectAssignmentError_kJMtlLI2jppHdk6nd3I69aw {
  tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA Sup;
};
struct tyObject_IndexError_K39aEGuwNdydKn2WFEpUygg {
  tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA Sup;
};
typedef NU8 tyArray_S8ib5N31oJbAkqOZTlNg5Q[8192];
struct tyObject_CatchableError_qrLSDoe2oBoAqNtJ9badtnA {
  Exception Sup;
};
struct tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw {
  tyObject_CatchableError_qrLSDoe2oBoAqNtJ9badtnA Sup;
};
typedef NU8 tyEnum_FileMode_fVUBHvW79bXUw1j55Oo9avSQ;
typedef NimStringDesc* tyArray_7JTpIvL6tqeRI2Pp9asvFCA[5];
struct tyObject_ReraiseError_Wyd9avMRCq0gsOu9adFoIjCA {
  tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA Sup;
};
struct tyObject_KeyError_nRD4SGrdQPt47sk7LIklpA {
  tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q Sup;
};
struct tyObject_OSError_BeJgrOdDsczOwEWOZbRfKA {
  tyObject_CatchableError_qrLSDoe2oBoAqNtJ9badtnA Sup;
NI32 errorCode;
};
struct tyObject_EOFError_KGSY1JdrNB7Xi8KDhXFhSg {
  tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw Sup;
};
typedef NU8 tyArray_YtcvxHNKV4YiecPE9ap1mcA[20];
struct tyTuple_kN8up2W6YKc5YA9avn5mV5w {
NimStringDesc* Field0;
NI Field1;
NI Field2;
};
typedef NIM_CHAR tyArray_eVNFTutn6un5gcq48fQLdg[65];
struct tyTuple_gOsvkY4zLbqYcgABB1VEQg {
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* Field0;
tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* Field1;
};
struct tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q {
NU16 line;
NI16 col;
NI32 fileIndex;
};
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;
} S1;
struct {NF floatVal;
} S2;
struct {NimStringDesc* strVal;
} S3;
struct {tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* sym;
} S4;
struct {tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* ident;
} S5;
struct {tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
} S6;
} _Ukind;
NimStringDesc* comment;
};
typedef NCSTRING tyArray_z9ac6Ez5VSEHe9bC2NMwuc7Q[1];
typedef NU8 tyEnum_FileSeekPos_I9aQjuvWxs8BspGbxwsngWw;
typedef NF tyArray_yp9a149boki9cCCWgfXI0Ip4A[23];
typedef NIM_CHAR tyArray_PGLh8drTnaWr3s1qUUSq2Q[500];
struct tyObject_RangeError_8inKGns6i1OoXN9aLZwcSOw {
  tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA Sup;
};
struct tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA {
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* sym;
tySequence_Ef05srmQTDulnBdXR4Ja6Q* concreteTypes;
NI compilesId;
};
struct tyObject_HSlice_EE5dzjqoOrHT6HJhIPXAvA {
NI a;
NI b;
};
struct tyTuple_zwpS6d6iewrdlBSTNFoyVA {
NI Field0;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* Field1;
};
struct tyObject_DivByZeroError_vASt1Zy2CLWqyBeLxcXqow {
  tyObject_ArithmeticError_XIT9aewsXycM2U5B437NUDA Sup;
};
typedef NU8 tyEnum_InstrKind_kmjEwko0gQNypI4MTa9chwQ;
struct tyObject_Instr_Iclb1njvAJfjjEpCLzUzZg {
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n;
tyEnum_InstrKind_kmjEwko0gQNypI4MTa9chwQ kind;
union{
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* sym;
NI dest;
} _Ukind;
};
struct tyObject_TBlock_J29b9b9cJiD9aK19cdoA7IwWiyA {
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* label;
tySequence_qwqHTkRvwhrRyENtudHQ7g* fixups;
};
struct tyObject_CandidateError_5fLnqPfj0Ty9cmak1Q1pBFQ {
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* sym;
NI unmatchedVarParam;
NI firstMismatch;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* diagnostics;
NIM_BOOL enabled;
};
struct tyTuple_aTNxDjHI7v9cq37xS7PT7jA {
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* Field0;
NIM_BOOL Field1;
};
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 tyObject_IndexEntry_G9ccBDFWfr9aYnLgXTNGDHDg {
NimStringDesc* keyword;
NimStringDesc* link;
NimStringDesc* linkTitle;
NimStringDesc* linkDesc;
};
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_Ef05srmQTDulnBdXR4Ja6Q {
  TGenericSeq Sup;
  tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* data[SEQ_DECL_SIZE];
};
struct tySequence_nl5fX6g5vxdA4inU5zASDQ {
  TGenericSeq Sup;
  tyTuple_gOsvkY4zLbqYcgABB1VEQg data[SEQ_DECL_SIZE];
};
struct tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ {
  TGenericSeq Sup;
  tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
};
struct tySequence_DXS6mEo7PVUFJkirsQ9bNQA {
  TGenericSeq Sup;
  tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA* data[SEQ_DECL_SIZE];
};
struct tySequence_MvZmat48bhe9b6x9aUD58D5Q {
  TGenericSeq Sup;
  tyTuple_zwpS6d6iewrdlBSTNFoyVA data[SEQ_DECL_SIZE];
};
struct tySequence_hj4BvueOlKB8Z1Qw2ZU4nQ {
  TGenericSeq Sup;
  tyObject_Instr_Iclb1njvAJfjjEpCLzUzZg data[SEQ_DECL_SIZE];
};
struct tySequence_bZP29c0SHT9aMkbSl4EFvgCg {
  TGenericSeq Sup;
  tyObject_TBlock_J29b9b9cJiD9aK19cdoA7IwWiyA data[SEQ_DECL_SIZE];
};
struct tySequence_qwqHTkRvwhrRyENtudHQ7g {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
struct tySequence_0dpGN6F4ocevqUQGsaf41w {
  TGenericSeq Sup;
  tyObject_CandidateError_5fLnqPfj0Ty9cmak1Q1pBFQ data[SEQ_DECL_SIZE];
};
struct tySequence_P9c6Y5h4sjjYLVGti5AELHg {
  TGenericSeq Sup;
  tyTuple_aTNxDjHI7v9cq37xS7PT7jA 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_AK3cQuijuQxFGdWA8l9a9aYA {
  TGenericSeq Sup;
  tySequence_76wc9cnTOK9c6epudv8uYE0w* data[SEQ_DECL_SIZE];
};
struct tySequence_PrBYolTs4TOSgE8v5oqDUQ {
  TGenericSeq Sup;
  tyObject_ProcessObj_2rGNQnv9bU4hanI2g3svReg* 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];
};
N_NIMCALL(void, genericReset)(void* dest, TNimType* mt);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_LIB_PRIVATE N_NOINLINE(NIM_BOOL, isOnStack_dJJW59cIgsBmT59aZrOM71Mg)(void* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_GcStack_7fytPA5bBsob6See21YMRA*, getActiveStack_2XtoPjgvlHPkHLitAW2flw)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch);
static N_INLINE(void, incRef_9cAA5YuQAAC3MVbnGeV86swsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem)(void* usr);
static N_INLINE(void, decRef_MV4BBk6J1qu70IbBxwEn4wsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(void, rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT_fCDI7oO1NNVXXURtxSzsRw)(tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(void, add_Wcf8r6MCjrJeJ3HSYwSp0Qsystem)(tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOCONV(void*, alloc_4cubgSerkjpuLcj5MXjiLw)(NI size);
N_LIB_PRIVATE N_NIMCALL(void*, alloc_WDxgSWQ1mSIerfvC0kmUtg)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* allocator, NI size);
N_LIB_PRIVATE N_NIMCALL(void*, rawAlloc_yn9c8RLaS8vgVBeMBfmkdUg)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI requestedSize);
static N_INLINE(NI, roundup_HS4HdHHFZPftyB49cpIyo7Asystem)(NI x, NI v);
N_LIB_PRIVATE N_NIMCALL(tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ*, getSmallChunk_h6cvXbfQjxIdThM5GthosA)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a);
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*, getBigChunk_z9bCNjXTYllZ3pI24nEsw2g)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI size);
static N_INLINE(void, mappingSearch_maWEJIPxKiJucKB6KTaC1Asystem)(NI* r, NI* fl, NI* sl);
static N_INLINE(NI, msbit_9bytYKSlZB9bNAUaEM5V4v5wsystem)(NU32 x);
static N_INLINE(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*, findSuitableBlock_kkuljspWk8VNThs4rn9bAJgsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI* fl, NI* sl);
static N_INLINE(NI, lsbit_9bytYKSlZB9bNAUaEM5V4v5w_2system)(NU32 x);
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*, requestOsChunks_z9bCNjXTYllZ3pI24nEsw2g_2)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI size);
static N_INLINE(void*, osAllocPages_fxkHg9ajpjxOfBTuIyrgEfwsystem)(NI size);
N_LIB_PRIVATE N_NOINLINE(void, raiseOutOfMem_II46IjNZztN9bmbxUD8dt8g)(void);
N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0);
static N_INLINE(NCSTRING, nimToCStringConv)(NimStringDesc* s);
static N_INLINE(void*, osTryAllocPages_ID9csc9aYiEnjrqnnJOXH2OQsystem)(NI size);
static N_INLINE(void, incCurrMem_rxjvSU4wRoPOjezLtDzm3Qsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI bytes);
N_LIB_PRIVATE N_NIMCALL(void, addHeapLink_fJbggoVEhxEYh2HdNULF3Q)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* p, NI size);
N_LIB_PRIVATE N_NIMCALL(void*, llAlloc_fTkVQ4Gj2glm9btLqR9bdQDQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI size);
static N_INLINE(void, zeroMem_7EL8Zq3xF2ujDWgp3bAEogsystem)(void* p, NI size);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem_2Mfumf6CnyNlShDWdIgobwsystem)(void* a, int v, NI size);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains_tGsWrN4DY41H9btt3FhjrNA)(tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA* s, NI key);
N_LIB_PRIVATE N_NIMCALL(tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw*, intSetGet_FhOZKj4Gih3qQ5OimZYOrg)(tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA* t, NI key);
static N_INLINE(NI, pageIndex_vFgXFo13iF61HsEG6epuwgsystem)(tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* c);
N_LIB_PRIVATE N_NIMCALL(void, splitChunk_8QXhiy717OAl8WNA2X27EA)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c, NI size);
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*, splitChunk2_UxUTh1oy39boKK4NPJIGnLQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c, NI size);
static N_INLINE(void, updatePrevSize_3G5wKZdFZhblebPYdFnpxQsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c, NI prevSize);
static N_INLINE(NIM_BOOL, isAccessible_5nqar3kL9acJcissrFLDdkwsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, void* p);
static N_INLINE(NI, pageIndex_bDTXHqSShXKux9bZH4tvkVgsystem)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, incl_Iz1GYiOVKwItgr5CdCm0dQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA* s, NI key);
N_LIB_PRIVATE N_NIMCALL(tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw*, intSetPut_KWgRM9bUk6rwhAaHSiuK9aYA)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA* t, NI key);
N_LIB_PRIVATE N_NIMCALL(void, addChunkToMatrix_v9bekLOkesgfrZC4aumfLXw)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* b);
static N_INLINE(tyTuple_1v9bKyksXWMsm0vNwmZ4EuQ, mappingInsert_eo6QETBMXRMfCzEMHeNawwsystem)(NI r);
static N_INLINE(void, setBit_x5rnZuDU4uBfR7DYUtFnSAsystem)(NI nr, NU32* dest);
N_LIB_PRIVATE N_NIMCALL(void, removeChunkFromMatrix2_NyesLqu7hqkgfLqcLrQpjw)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* b, NI fl, NI sl);
static N_INLINE(void, clearBit_x5rnZuDU4uBfR7DYUtFnSA_2system)(NI nr, NU32* dest);
static N_INLINE(void, listAdd_DqXPtLsRUwQp3iwLtHEdIgsystem)(tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ** head, tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* c);
static N_INLINE(void, listRemove_DqXPtLsRUwQp3iwLtHEdIg_2system)(tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ** head, tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* c);
N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*, getHugeChunk_z9bCNjXTYllZ3pI24nEsw2g_3)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI size);
N_LIB_PRIVATE N_NIMCALL(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw*, getBottom_QXg9anCfFuhk3avAkOOKNhQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a);
N_LIB_PRIVATE N_NIMCALL(void, add_Xuf47u3imOz8BOk5HURLWQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw** t, NI key, NI upperBound);
N_LIB_PRIVATE N_NIMCALL(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw*, allocAvlNode_neSuioWH6NDTp8E9cNgBmjg)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI key, NI upperBound);
N_LIB_PRIVATE N_NIMCALL(void, skew_Cfx7NvEVZIhBjBm7i89boSg)(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw** t);
N_LIB_PRIVATE N_NIMCALL(void, split_Cfx7NvEVZIhBjBm7i89boSg_2)(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw** t);
static N_INLINE(void, copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem)(void* dest, void* source, NI size);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_LIB_PRIVATE N_NOCONV(void, dealloc_RCjNtRnHdRYntrcE7YtwWw)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, dealloc_jqYVOi4APb9cRx3G9a57AkRw)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* allocator, void* p);
N_LIB_PRIVATE N_NIMCALL(void, rawDealloc_DA62HrGC5sdfCED505KyyQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, void* p);
static N_INLINE(tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*, pageAddr_4uti7hTxTUDxUPqFMgMvHAsystem)(void* p);
static N_INLINE(NIM_BOOL, isSmallChunk_xxNWShoyEPMUVN7FvfpDjwsystem)(tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* c);
N_LIB_PRIVATE N_NIMCALL(void, freeBigChunk_CAqFS1jFL1RxG80t9bOGmAA)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c);
static N_INLINE(NIM_BOOL, chunkUnused_xxNWShoyEPMUVN7FvfpDjw_2system)(tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* c);
N_LIB_PRIVATE N_NIMCALL(void, removeChunkFromMatrix_v9bekLOkesgfrZC4aumfLXw_2)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* b);
N_LIB_PRIVATE N_NIMCALL(void, excl_Z9cZKmN1jjRFCzU0lgW9a1XA)(tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA* s, NI key);
N_LIB_PRIVATE N_NIMCALL(void, del_C66us4UEWCXp84lHW4tDLA)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw** t, NI x);
static N_INLINE(void, deallocAvlNode_E5Kui5a9artJoR6jEn007Vgsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* n);
N_LIB_PRIVATE N_NIMCALL(void, freeHugeChunk_jnrbguyViYONI3PJ1RZJjQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c);
static N_INLINE(void, decCurrMem_rxjvSU4wRoPOjezLtDzm3Q_2system)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI bytes);
static N_INLINE(void, osDeallocPages_I1brEDH0C8CP9a0HfGYsDvAsystem)(void* p, NI size);
N_LIB_PRIVATE N_NIMCALL(void, genericResetAux_ruA1rosalqf8AhzZPPTBQg)(void* dest, TNimNode* n);
N_LIB_PRIVATE N_NIMCALL(TNimNode*, selectBranch_yDNUA0V9a9a9bVLtZ9bXPT0aEg)(void* aa, TNimNode* n);
N_LIB_PRIVATE N_NIMCALL(NI, getDiscriminant_MBlSP9aCmxWSBuDOxawp8Sg)(void* aa, TNimNode* n);
static N_INLINE(void, initAllocator_IZ2oOmqdsYQ7vixQGKSDcAsystem)(void);
static N_INLINE(void, initStackBottom)(void);
N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom);
N_LIB_PRIVATE N_NIMCALL(void, setPosition_plJQLEbXvFqZv6Phpo1t1w)(tyObject_GcStack_7fytPA5bBsob6See21YMRA* stack, void* position);
N_LIB_PRIVATE N_NIMCALL(void, initGC_njssp69aa7hvxte9bJ8uuDcg)(void);
N_LIB_PRIVATE N_NIMCALL(void, init_E1QNZGuo0DGFXyt4Y3MfqA)(tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w* s, NI cap);
N_LIB_PRIVATE N_NOCONV(void*, alloc0_4cubgSerkjpuLcj5MXjiLw_2)(NI size);
N_LIB_PRIVATE N_NIMCALL(void*, alloc0_WDxgSWQ1mSIerfvC0kmUtg_2)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* allocator, NI size);
N_LIB_PRIVATE N_NIMCALL(void, init_WHgd5C59bkXWDz3vnAxfzXQ)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* s);
static N_INLINE(NI, atomicInc_z4A2GBHreJM5Dq9aEBQ9cQUQsystem)(NI* memLoc, NI x);
static N_NIMCALL(void, Marker_tySequence_uB9b75OUPRENsBAu4AnoePA)(void* p, NI op);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_LIB_PRIVATE N_NIMCALL(void, doOperation_3F8QeaTyYrJJF2gjBr6b8A)(void* p, tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ op);
N_LIB_PRIVATE N_NIMCALL(void, markS_NZr5o3Ubzrci4OmK29cHBJA)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, incl_m4q9b16kJJcoKe9c4ERtlpCg)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* cell);
N_LIB_PRIVATE N_NIMCALL(tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg*, cellSetPut_mFUFZ7eVLRT9bMaHzrsxFrQ)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* t, NI key);
static N_INLINE(NI, nextTry_GRX2KbRyW3mlDDFEU50uhwsystem)(NI h, NI maxHash);
N_LIB_PRIVATE N_NIMCALL(void, cellSetEnlarge_ZCqaZEiX9aUtDCRoknrJ9bpQ)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* t);
N_LIB_PRIVATE N_NIMCALL(void, cellSetRawInsert_wqizyapnzNjHA3SIFqE8ow)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ t, tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg** data, tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* desc);
N_LIB_PRIVATE N_NIMCALL(void, forAllChildren_yHFnLgI7q81iFxRlb3Iqlw)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* cell, tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ op);
static N_INLINE(void*, cellToUsr_vA0UG8JLZvpzP1Xf3vkPgwsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* cell);
N_LIB_PRIVATE N_NIMCALL(void, forAllChildrenAux_7ozEvYoq4I7fwvXfiSWM9aA)(void* dest, TNimType* mt, tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ op);
N_LIB_PRIVATE N_NIMCALL(void, forAllSlotsAux_yZE4CUR3NNCoSMnkWbtJrQ)(void* dest, TNimNode* n, tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ op);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl_CbGEjIBKJIi7knlaDzUluA)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* cell);
N_LIB_PRIVATE N_NIMCALL(tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg*, cellSetGet_X4WTfs0wkld8wp8XcE9b8BA)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ t, NI key);
static N_NIMCALL(void, Marker_tyRef_vU9aO9cTqOMn6CBzhV8rX7Sw)(void* p, NI op);
static N_NIMCALL(void, TM_Q5wkpxktOdTGvlSRo9bzt9aw_17)(void);
N_NIMCALL(void, nimRegisterThreadLocalMarker)(tyProc_T4eqaYlFJYZUv9aG9b1TV0bQ markerProc);
N_NOCONV(void, signalHandler)(int sign);
N_LIB_PRIVATE N_NIMCALL(void, showErrorMessage_rsUJ87b89bH0GlWKYL9c8wUQ)(NCSTRING data);
N_NIMCALL(NimStringDesc*, cstrToNimstr)(NCSTRING str);
N_NIMCALL(NimStringDesc*, toNimStr)(NCSTRING str, NI len);
N_NIMCALL(NimStringDesc*, rawNewStringNoInit)(NI space);
N_NIMCALL(void*, newObjNoInit)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(void*, rawNewObj_BpNS5yt3b9cMOponsUKh8aw)(TNimType* typ, NI size, tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NIMCALL(void, collectCT_zoTIuavlrCHyw3B8MBaLJA)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch);
static N_INLINE(NI, getOccupiedMem_61WxanWSOmDDV2uI7O10dQsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a);
N_LIB_PRIVATE N_NIMCALL(void, collectCTBody_zoTIuavlrCHyw3B8MBaLJA_2)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NOINLINE(NI, stackSize_IV9bgfYkinlae0WZ2NZi5JA)(void);
N_LIB_PRIVATE N_NOINLINE(NI, stackSize_61foY5fGmU9c2fC9c6wRIsrA)(tyObject_GcStack_7fytPA5bBsob6See21YMRA* stack);
static N_INLINE(void, prepareForInteriorPointerChecking_Zqr3EQAAcehIfp3uSECEuQsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a);
N_LIB_PRIVATE N_NIMCALL(NI, lowGauge_3mwQtFaBTgevFrybZdgUNw)(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* n);
N_LIB_PRIVATE N_NIMCALL(NI, highGauge_3mwQtFaBTgevFrybZdgUNw_2)(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* n);
CLANG_NO_SANITIZE_ADDRESS void markStackAndRegisters_LdwvBL9bC9c0lik7K9bau9bX0Q(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NIMCALL(void, setPosition_kuKlONPws1O0vpPB9adzcQw)(tyObject_GcStack_7fytPA5bBsob6See21YMRA* stack, void* position);
static N_INLINE(void, gcMark_JLiT51Zk6OLnaexGSTHHEQsystem)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch, void* p);
N_LIB_PRIVATE N_NIMCALL(void*, interiorAllocatedPtr_N7XNyRgfMLnCjS9bVeVc3bA)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, void* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw*, inRange_Bc4Ua6HOMCIDGx9b15HSY4g)(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* root, NI key);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, collectZCT_evVbQ9bNF7LYMhoG9aWXu9bKw)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NIMCALL(void, prepareDealloc_0Ao1u9cpV0dTuUB5G9cEQ8eQ)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* cell);
N_LIB_PRIVATE N_NIMCALL(void, collectCycles_zoTIuavlrCHyw3B8MBaLJA_3)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NIMCALL(void, cellsetReset_WHgd5C59bkXWDz3vnAxfzXQ_2)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* s);
N_LIB_PRIVATE N_NIMCALL(void, deinit_WHgd5C59bkXWDz3vnAxfzXQ_3)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* s);
N_LIB_PRIVATE N_NIMCALL(void, markGlobals_zoTIuavlrCHyw3B8MBaLJA_4)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch);
N_LIB_PRIVATE N_NIMCALL(void, sweep_zoTIuavlrCHyw3B8MBaLJA_5)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch);
static N_INLINE(NIM_BOOL, isCell_CkuKXXC4hAqaVj8vwjANDAsystem)(void* p);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains_9c4TZ2Zl3sU4TUeK9bR8E9ciw)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* cell);
N_LIB_PRIVATE N_NIMCALL(void, freeCyclicCell_NZr5o3Ubzrci4OmK29cHBJA_2)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(NI, getOccupiedMem_9bFvoxSITMVCg7RY8KIar1Q)(void);
N_LIB_PRIVATE N_NIMCALL(void, unmarkStackAndRegisters_zoTIuavlrCHyw3B8MBaLJA_6)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch);
static N_INLINE(void, addNewObjToZCT_Ga5iPZj9bPFJIiW7GQdxs7gsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* res, tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch);
static N_INLINE(size_t, nimCStrLen)(NCSTRING a);
N_LIB_PRIVATE N_NIMCALL(void, writeToStdErr_7HRVfGfZT2rSmBdcLxl8TA)(NCSTRING msg);
N_LIB_PRIVATE N_NIMCALL(void, rawWrite_aa9cLZrFfhW0gTipglUiLSQ)(FILE* f, NCSTRING s);
N_LIB_PRIVATE N_NIMCALL(void, registerSignalHandler_njssp69aa7hvxte9bJ8uuDcg_2)(void);
N_NIMCALL(NI, getRefcount)(void* p);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_NIMCALL(void, Marker_tyRef_yQYk49cCS1VAqkplQuc6KdQ)(void* p, NI op);
N_NIMCALL(void*, newObjRC1)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionAux_na8C8pUZ9cLQWVwk35l5vfw)(Exception* e);
static N_INLINE(void, pushCurrentException)(Exception* e);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(NIM_BOOL, isObjWithCache)(TNimType* obj, TNimType* subclass, TNimType** cache);
N_LIB_PRIVATE N_NOINLINE(NIM_BOOL, isObjSlowPath_yEa9cUwzxhGRtg9cspcfCIHg)(TNimType* obj, TNimType* subclass, TNimType** cache);
static N_INLINE(void, quitOrDebug_IZ2oOmqdsYQ7vixQGKSDcA_2system)(void);
static N_INLINE(NI, resize_bzF9a0JivP3Z4njqaxuLc5wsystem)(NI old);
N_NIMCALL(NimStringDesc*, mnewString)(NI len);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_NIMCALL(NimStringDesc*, mnewString)(NI len);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
N_LIB_PRIVATE N_NIMCALL(void, add_IbYQ9cTcoQ89aIwM2IEYGMng)(NimStringDesc** result, NI64 x);
N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newLen);
static N_NIMCALL(void, Marker_tySequence_WwUFq9cJ2xKRlsAWVEHyPRg)(void* p, NI op);
static N_INLINE(NI, addInt)(NI a, NI b);
N_NOINLINE(void, raiseOverflow)(void);
static N_INLINE(void, sysFatal_OudUc4crgdQucr3v5GkeiQsystem)(NimStringDesc* message) __attribute__((noreturn));
static N_NIMCALL(void, Marker_tyRef_Pjt0MQjoA6TAHAHOFNel9cg)(void* p, NI op);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_NIMCALL(void, raiseException)(Exception* e, NCSTRING ename);
N_NIMCALL(NI, mulInt)(NI a, NI b);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_NIMCALL(TNimType*, extGetCellType)(void* c);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_LIB_PRIVATE N_NOINLINE(void, raiseAssert_PpfSiTIeNpMAb9a5o6SglJw)(NimStringDesc* msg);
static N_INLINE(void, sysFatal_aa9bFZ2DpLJWxbwbTBAK5hgsystem)(NimStringDesc* message) __attribute__((noreturn));
static N_NIMCALL(void, Marker_tyRef_ShBqCFAISBSH2YqBfe6zjg)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString_FUeXwA9coJ09bWxp2Vp6Hy4w)(tySet_tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg x, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted_cdnpne9cVufEGA8Lj0BFOSQ)(NimStringDesc** s, tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg x);
N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);
N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
N_LIB_PRIVATE N_NIMCALL(void, genericAssignAux_mQY3YYo2RBkhPz09ajfLwpQ)(void* dest, void* src, TNimType* mt, NIM_BOOL shallow);
N_NIMCALL(void*, nimNewSeqOfCap)(TNimType* typ, NI cap);
N_LIB_PRIVATE N_NIMCALL(void, genericAssignAux_9asD40QP7ronnack8y7vdug)(void* dest, void* src, TNimNode* n, NIM_BOOL shallow);
static N_INLINE(void, chckObjAsgn)(TNimType* a, TNimType* b);
static N_INLINE(void, sysFatal_MJGs2gcRrsKYGZB9aRWM4oAsystem)(NimStringDesc* message) __attribute__((noreturn));
static N_NIMCALL(void, Marker_tyRef_8tkbLy9bNx4E9ckj02Ra3BCg)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef_9bTGS9b5gqA3m1IgV71Csl0Q)(void* p, NI op);
N_NIMCALL(NI, countBits32)(NI32 n);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr_TWXUwbnq0SWWvDLfr8LXYw)(NimStringDesc* s, NI first, NI last);
N_LIB_PRIVATE N_NIMCALL(NI, writeBuffer_nZ0pNe9cd9cXtoayexCiaDtA)(FILE* f, void* buffer, NI len);
N_LIB_PRIVATE N_NIMCALL(void, checkErr_BWnr8V7RERYno9bIdPmw8Hw)(FILE* f);
N_LIB_PRIVATE N_NOINLINE(void, raiseEIO_PpfSiTIeNpMAb9a5o6SglJw_2)(NimStringDesc* msg) __attribute__((noreturn));
static N_INLINE(void, sysFatal_nMottChWknXyAhGA1fBmOAsystem)(NimStringDesc* message) __attribute__((noreturn));
static N_NIMCALL(void, Marker_tyRef_HMIVdYjdZYWskTmTQVo5BQ)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, open_sEp0GH2306oGo9bqBpj5oTQ)(FILE** f, NimStringDesc* filename, tyEnum_FileMode_fVUBHvW79bXUw1j55Oo9avSQ mode, NI bufSize);
N_LIB_PRIVATE N_NIMCALL(int, getFileHandle_bZ9c2yojtXoDTUpfyl8h8Rg)(FILE* f);
N_LIB_PRIVATE N_NIMCALL(void, close_BWnr8V7RERYno9bIdPmw8Hw_3)(FILE* f);
static N_INLINE(void, sysFatal_YAklE4KzS6SY3Vk3BY0BuAsystem)(NimStringDesc* message, NimStringDesc* arg) __attribute__((noreturn));
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
static N_INLINE(void, sysFatal_CdqX02Nb9anAoNuazSrzczgsystem)(NimStringDesc* message) __attribute__((noreturn));
static N_NIMCALL(void, Marker_tyRef_DsOOBcxCUeVlNUDRmn9afcA)(void* p, NI op);
N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
static N_NIMCALL(void, Marker_tyRef_nuL5K2f5u8HXdjAg35PVfw)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef_9clYsYwyjCqe2PFTuCI3Ubg)(void* p, NI op);
static N_INLINE(void, addEscapedChar_idr49a9aRlvTkf40D5KCA29bgsystem)(NimStringDesc** s, NIM_CHAR c);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readAll_y7iEIBoIrYlvsLCqA1SrwQ)(FILE* file);
N_LIB_PRIVATE N_NIMCALL(NI64, rawFileSize_5kVjkAwDdtJJYVgsQusRMw)(FILE* file);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readAllFile_fcBYWWlGnMMlgQjz7Ax9bzA)(FILE* file, NI64 len);
N_LIB_PRIVATE N_NIMCALL(NI, readBuffer_nZ0pNe9cd9cXtoayexCiaDtA_2)(FILE* f, void* buffer, NI len);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, endOfFile_OpxMRqWNQzmofyVQsNQqVA)(FILE* f);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readAllBuffer_QygGtYi2d8AILktDeUIkvQ)(FILE* file);
static N_INLINE(void, popSafePoint)(void);
N_NIMCALL(void, reraiseException)(void);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, readLine_sO1bQXVRA6RP9cdYJXNKeSw)(FILE* f, NimStringDesc** line);
N_LIB_PRIVATE N_NOINLINE(void, raiseEOF_9b10LwJKWsyrZIEKTB9b6PGQ)(void) __attribute__((noreturn));
static N_INLINE(void, sysFatal_BzuSXNMrFTqBYZCHzFdAzgsystem)(NimStringDesc* message) __attribute__((noreturn));
static N_NIMCALL(void, Marker_tyRef_LEclZrWX2FQAodlapxGITw)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted_KHwyPEV6PV8Q9aS88ENydhw)(NimStringDesc** s, NimStringDesc* x);
N_LIB_PRIVATE N_NIMCALL(void, addQuoted_nyaZAljVI03SH2d9cnD0WMw)(NimStringDesc** s, NI x);
static N_NIMCALL(void, Marker_tyRef_0vJvi4uHbxjbxlkkX7P1EA)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, add_A9bDQDKw5SEqD3OvtOnC1bg)(NimStringDesc** result, NF x);
N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
static N_NIMCALL(void, Marker_tySequence_nl5fX6g5vxdA4inU5zASDQ)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, write_c4mGyJBvK73pdM22jiweKQ)(FILE* f, NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(void, objectInitAux_ruA1rosalqf8AhzZPPTBQg_2)(void* dest, TNimNode* n);
N_NIMCALL(void, objectInit)(void* dest, TNimType* typ);
N_LIB_PRIVATE N_NIMCALL(void*, realloc_O21OiSxurjvup9cA55o9ae1A)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* allocator, void* p, NI newsize);
N_LIB_PRIVATE N_NIMCALL(NI, ptrSize_FVy3yH9cNo61BYTEPuP9awLA)(void* p);
static N_NIMCALL(void, Marker_tySequence_hj4BvueOlKB8Z1Qw2ZU4nQ)(void* p, NI op);
static N_NIMCALL(void, Marker_tySequence_bZP29c0SHT9aMkbSl4EFvgCg)(void* p, NI op);
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_tySequence_AK3cQuijuQxFGdWA8l9a9aYA)(void* p, NI op);
static N_NIMCALL(void, Marker_tySequence_PrBYolTs4TOSgE8v5oqDUQ)(void* p, NI op);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(NIM_BOOL, equalMem_DCrUjdaMvFDHaR1hs7sQGwropes)(void* a, void* b, NI size);
static N_INLINE(NI, cmpStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(void*, seqToPtr_3GXdYap6cQyJyX7ox0bY8wsystem)(tySequence_oLpBKXzW3hF9aCVMo5EymfQ* x);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq__Ujpjfumo30l2ielPaquw0Q)(tyObject_JsonNodeObj_df9bshXB7C9cTiWPIOtX3j1Q* a, tyObject_JsonNodeObj_df9bshXB7C9cTiWPIOtX3j1Q* b);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__9aa1nIS4Akuy1q1Eh3kn0TQ)(tySequence_uB9b75OUPRENsBAu4AnoePA* s);
N_LIB_PRIVATE N_NIMCALL(void, add_XyS0BXa1E5ylXzhvUQlY9cg)(NimStringDesc** x, NCSTRING y);
N_LIB_PRIVATE N_NIMCALL(NI, getMaxMem_ul55t0ZmpoFqT45t9bKhMHw)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a);
N_LIB_PRIVATE N_NIMCALL(NI, getTotalMem_9bFvoxSITMVCg7RY8KIar1Q_3)(void);
N_NIMCALL(NimStringDesc*, nimInt64ToStr)(NI64 x);
NIM_BOOL nimvm_IAxmsqnME4Jmed24hOgrFQ;
NI nim_program_result;
tyProc_9axCnCRMUx32AHzFgBrzSMg globalRaiseHook_JbO1ti4ULxrw54m4zNPbpA;
tyProc_9axCnCRMUx32AHzFgBrzSMg localRaiseHook_EIvMhANBvB9cp2Ezvt29cADg;
tyProc_T4eqaYlFJYZUv9aG9b1TV0bQ outOfMemHook_kZNaA7u1MfSW5ZeoGvw8xg;
TNimType strDesc_D0UzA4zsDu5tgpJQ9a9clXPg;
TNimType NTI_TuG1vdYwChKtx4TOkRnAjw_;
TNimType NTI_rR5Bzr1D5krxoo1NcNyeMA_;
TNimType NTI_jIBKr1ejBgsfM33Kxw4j7A_;
TNimType NTI_v8QUszD1sWlSIWZz7mC4bQ_;
TNimType NTI_MbMVByo9a9ck632Se8onTXew_;
TNimType NTI_7JWFFgr9aqaR3U4iXEpLCag_;
TNimType NTI_kT45dHShde6Al0PdS4U9aGA_;
TNimType NTI_unfNsxrcATrufDZmpBq4HQ_;
TNimType NTI_S9agCYBinaYZnGWcjTdxclg_;
TNimType NTI_pPliadsJkoxIPLiuFLcL3g_;
TNimType NTI_uNps8ABY788DreuZn29bmIg_;
TNimType NTI_mCkh9bHWX9bgGIYpwKekBD2Q_;
TNimType NTI_vr5DoT1jILTGdRlYv1OYpw_;
TNimType NTI_ojoeKfW4VYIm36I9cpDTQIg_;
TNimType NTI_WSm2xU5ARYv9aAR4l0z9c9auQ_;
tyProc_W6IXMh2CA4X1rFYGjUb4yg errorMessageWriter_ZXnv0JyrWe3HTd07wpSr7A;
TFrame* framePtr_HRfVMH3jYeBJz6Q6X9b6Ptw;
TSafePoint* excHandler_rqLlY5bs9atDw2OXYqJEn5g;
Exception* currException_9bVPeDJlYTi9bQApZpfH8wjg;
TNimType NTI_ytyiCJqK439aF9cIibuRVpAg_;
TNimType NTI_XEycrCsme5C8CVWAYEcdBQ_;
TNimType NTI_77mFvmsOLKik79ci2hXkHEg_;
TNimType NTI_oLyohQ7O2XOvGnflOss8EA_;
TNimType NTI_uB9b75OUPRENsBAu4AnoePA_;
TNimType NTI_hMQEc0FMry7Up7EoPki79aA_;
TNimType NTI_vU9aO9cTqOMn6CBzhV8rX7Sw_;
NU raise_counter_f3bDNr19aSiOhd9b8qXLIR7Q;
GcFrameHeader* gcFramePtr_ot48iojqko9aFxGhyjjjVaA;
tyArray_pFdcUVk36Xt0LD9bLg3YaIQ tempFrames_7nBYIr2UsDREpYylZK4fug;
tyProc_W6IXMh2CA4X1rFYGjUb4yg onUnhandledException_bFrawQlTKZhLweDD36j9b8g;
tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ gch_IcYaEuuWivYAS86vFMTS3Q;
NI globalMarkersLen_hgEFy3UCOBoalBh29asu5MA;
tyArray_9aTRall1siQT9bXabu2aKXUg globalMarkers_5ghwSgpo9cT9bT7YStQDJHVQ;
NI threadLocalMarkersLen_0RZOktgt14ljJsHMSX0iCw;
tyArray_9aTRall1siQT9bXabu2aKXUg threadLocalMarkers_pC47Nqd8F629cuTchphM5YA;
NI gHeapidGenerator_hd54mEUTGcVuZLChYgtR9bg;
TNimType NTI_VaVACK0bpYmqIQ0mKcHfQQ_;
TNimType NTI_LbeSGvgPzGzXnW9caIkJqMA_;
TNimType NTI_5aqBlilCK53e9cDu4kUyN5Q_;
TNimType NTI_yQYk49cCS1VAqkplQuc6KdQ_;
TNimType NTI_vyjC2ukVFYc78nQPrSCc9bA_;
static TNimType* Nim_OfCheck_CACHE24[2];
extern TNimType NTI_4hi0XQqK9aLiPuWT9acsXm9aQ_;
TNimType NTI_WwUFq9cJ2xKRlsAWVEHyPRg_;
TNimType NTI_XIT9aewsXycM2U5B437NUDA_;
TNimType NTI_Ss6DFlX5iSZpHRZDmP74bg_;
TNimType NTI_Pjt0MQjoA6TAHAHOFNel9cg_;
TNimType NTI_G9cUlLvU4AFC26wbFxLFkFA_;
TNimType NTI_ShBqCFAISBSH2YqBfe6zjg_;
extern TNimType NTI_jyh9acXHkhZANSSvPIY7ZLg_;
TNimType NTI_M4na42GvebBMnI5wV9cYMxg_;
TNimType NTI_kDPg4wXyR8DDyA0MeEjIsw_;
TNimType NTI_sVg18TP9cLifHyygRe9cro9aA_;
TNimType NTI_chXunH2dwinSkhpA6JnsXw_;
TNimType NTI_w9bl9a1ul9ctRJWiMl9cNnIMvg_;
TNimType NTI_nmiMWKVIe46vacnhAFrQvw_;
TNimType NTI_kJMtlLI2jppHdk6nd3I69aw_;
TNimType NTI_8tkbLy9bNx4E9ckj02Ra3BCg_;
extern TNimType NTI_sM4lkSb7zS6F7OVMvW9cffQ_;
TNimType NTI_K39aEGuwNdydKn2WFEpUygg_;
TNimType NTI_9bTGS9b5gqA3m1IgV71Csl0Q_;
TNimType NTI_qrLSDoe2oBoAqNtJ9badtnA_;
TNimType NTI_iLZrPn9anoh9ad1MmO0RczFw_;
TNimType NTI_HMIVdYjdZYWskTmTQVo5BQ_;
TNimType NTI_Wyd9avMRCq0gsOu9adFoIjCA_;
TNimType NTI_DsOOBcxCUeVlNUDRmn9afcA_;
TNimType NTI_nRD4SGrdQPt47sk7LIklpA_;
TNimType NTI_nuL5K2f5u8HXdjAg35PVfw_;
TNimType NTI_BeJgrOdDsczOwEWOZbRfKA_;
TNimType NTI_9clYsYwyjCqe2PFTuCI3Ubg_;
TNimType NTI_KGSY1JdrNB7Xi8KDhXFhSg_;
TNimType NTI_LEclZrWX2FQAodlapxGITw_;
TNimType NTI_Aav8dQoMlCFnZRxA0IhTHQ_;
TNimType NTI_0vJvi4uHbxjbxlkkX7P1EA_;
TNimType NTI_JrFyJbYm9b5I4hJ9cWDqvfYA_;
TNimType NTI_Y36n7l9b7WX4rcaAYCe6LWw_;
TNimType NTI_13aFwjKaWlqhwUBjDHvkIw_;
TNimType NTI_k3HXouOuhqAKq0dx450lXQ_;
extern TNimType NTI_Ef05srmQTDulnBdXR4Ja6Q_;
TNimType NTI_xHTZrq9aYs6boc9bCba0JbpQ_;
extern TNimType NTI_gOsvkY4zLbqYcgABB1VEQg_;
TNimType NTI_nl5fX6g5vxdA4inU5zASDQ_;
extern TNimType NTI_ehmV9bTklH2Gt9cXHV9c0HLeQ_;
TNimType NTI_UtShRB9b1wZO9cvpdowm9cefA_;
TNimType NTI_nlCscttRCss70IBTyuBqnA_;
TNimType NTI_z9ac6Ez5VSEHe9bC2NMwuc7Q_;
TNimType NTI_Txh9bzc0AU9bDpIbDdD6jBsQ_;
TNimType NTI_9bz2muykEFR6eMHxLnfcjxA_;
TNimType NTI_7BHnQsEj49a9c6QtudqWTo1w_;
TNimType NTI_8inKGns6i1OoXN9aLZwcSOw_;
extern TNimType NTI_Y32tFilzS9adEEksgrCsOzQ_;
extern TNimType NTI_DXS6mEo7PVUFJkirsQ9bNQA_;
extern TNimType NTI_MvZmat48bhe9b6x9aUD58D5Q_;
TNimType NTI_PpavWgyrx5odXyR89aNlcWA_;
TNimType NTI_rUuqTvFmkC6KKRqDAazGEA_;
TNimType NTI_LBgXxpmYOpS8xroRZgNvbg_;
TNimType NTI_Gz6vwaK0PZQIDIwfuvKsOg_;
TNimType NTI_DcZ5N67dL3rBj9bxGtx09bFg_;
TNimType NTI_g9buja9c9aeh0rkDpqsXOJF9bA_;
TNimType NTI_vASt1Zy2CLWqyBeLxcXqow_;
extern TNimType NTI_Iclb1njvAJfjjEpCLzUzZg_;
TNimType NTI_hj4BvueOlKB8Z1Qw2ZU4nQ_;
extern TNimType NTI_J29b9b9cJiD9aK19cdoA7IwWiyA_;
TNimType NTI_bZP29c0SHT9aMkbSl4EFvgCg_;
extern TNimType NTI_qwqHTkRvwhrRyENtudHQ7g_;
extern TNimType NTI_0dpGN6F4ocevqUQGsaf41w_;
extern TNimType NTI_5fLnqPfj0Ty9cmak1Q1pBFQ_;
TNimType NTI_u50F0puw9b9c6p256tX4eJLQ_;
extern TNimType NTI_P9c6Y5h4sjjYLVGti5AELHg_;
extern TNimType NTI_CHGVxU5ophQHfZDcth7p1w_;
TNimType NTI_DL2Id9b2SwHghZpjvWsUcAw_;
extern TNimType NTI_OiD2O9bS9cMtitswLivRUn5g_;
TNimType NTI_76wc9cnTOK9c6epudv8uYE0w_;
TNimType NTI_AK3cQuijuQxFGdWA8l9a9aYA_;
extern TNimType NTI_lw7iqc9cC7bi1oOZOAlJkJA_;
TNimType NTI_PrBYolTs4TOSgE8v5oqDUQ_;
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)}
;
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_14, "out of memory", 13);
NIM_CONST tyArray_nHXaesL0DJZHyVS07ARPRA TM_Q5wkpxktOdTGvlSRo9bzt9aw_13 = {((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_14)}
;
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_19, "[GC] cannot register thread local variable; too many thread loc"
"al variables", 75);
NIM_CONST tyArray_nHXaesL0DJZHyVS07ARPRA TM_Q5wkpxktOdTGvlSRo9bzt9aw_18 = {((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_19)}
;
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_21, "[GC] cannot register global variable; too many global variables", 63);
NIM_CONST tyArray_nHXaesL0DJZHyVS07ARPRA TM_Q5wkpxktOdTGvlSRo9bzt9aw_20 = {((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_21)}
;
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_24, "over- or underflow", 18);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_25, " (invalid data!)", 16);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_26, "{", 1);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_27, ", ", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_28, "}", 1);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_29, "invalid object assignment", 25);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_30, "Unknown IO Error", 16);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_31, "cannot write string to file", 27);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_32, "rb", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_33, "wb", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_34, "w+b", 3);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_35, "r+b", 3);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_36, "ab", 2);
NIM_CONST tyArray_7JTpIvL6tqeRI2Pp9asvFCA FormatOpen_129cS4U5eK4wWqE9bNeKN1Aw = {((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_32),
((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_33),
((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_34),
((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_35),
((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_36)}
;
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_37, "cannot open: ", 13);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_38, "no exception to reraise", 23);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_39, "\"", 1);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_40, "\\a", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_41, "\\b", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_42, "\\t", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_43, "\\n", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_44, "\\v", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_45, "\\f", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_46, "\\c", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_47, "\\e", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_48, "\\\\", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_49, "\\\'", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_50, "\\\"", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_51, "\\x", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_52, "0123456789ABCDEF", 16);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_54, "EOF reached", 11);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_55, "(", 1);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_56, "filename", 8);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_57, ": ", 2);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_58, "line", 4);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_59, "column", 6);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_60, ")", 1);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_61, "nan", 3);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_62, "-inf", 4);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_63, "inf", 3);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_64, "0", 1);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_66, "cannot set file position", 24);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_67, "cannot retrieve file position", 29);
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}
;
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_68, "true", 4);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_69, "false", 5);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_70, "[[reraised from:\012", 17);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_71, "]]\012", 3);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_72, "\012", 1);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_73, "[GC] total memory: ", 19);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_74, "\012[GC] occupied memory: ", 23);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_75, "\012[GC] stack scans: ", 19);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_76, "\012[GC] stack cells: ", 19);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_77, "\012[GC] cycle collections: ", 25);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_78, "\012[GC] max threshold: ", 21);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_79, "\012[GC] zct capacity: ", 20);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_80, "\012[GC] max cycle table size: ", 28);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_81, "\012[GC] max pause time [ms]: ", 27);
STRING_LITERAL(TM_Q5wkpxktOdTGvlSRo9bzt9aw_82, "[GC] max stack size: ", 21);

N_LIB_PRIVATE N_NIMCALL(tyObject_GcStack_7fytPA5bBsob6See21YMRA*, getActiveStack_2XtoPjgvlHPkHLitAW2flw)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	tyObject_GcStack_7fytPA5bBsob6See21YMRA* result;
	result = (tyObject_GcStack_7fytPA5bBsob6See21YMRA*)0;
	result = (&(*gch).stack);
	return result;
}

N_LIB_PRIVATE N_NOINLINE(NIM_BOOL, isOnStack_dJJW59cIgsBmT59aZrOM71Mg)(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*)0;
	stackTop = ((void*) ((&stackTop)));
	T1_ = (tyObject_GcStack_7fytPA5bBsob6See21YMRA*)0;
	T1_ = getActiveStack_2XtoPjgvlHPkHLitAW2flw((&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_ = ((NU32)(a) <= (NU32)(x));
	if (!(T3_)) goto LA4_;
	T3_ = ((NU32)(x) <= (NU32)(b));
	LA4_: ;
	result = T3_;
	return result;
}

static N_INLINE(void, incRef_9cAA5YuQAAC3MVbnGeV86swsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	(*c).refcount = (NI)((NU32)((*c).refcount) + (NU32)(((NI) 8)));
}

static N_INLINE(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem)(void* usr) {
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* result;
	result = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
	result = ((tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*) ((NI)((NU32)(((NI) (ptrdiff_t) (usr))) - (NU32)(((NI)sizeof(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g))))));
	return result;
}

static N_INLINE(NI, roundup_HS4HdHHFZPftyB49cpIyo7Asystem)(NI x, NI v) {
	NI result;
	result = (NI)0;
	result = (NI)((NI)(x + (NI)(v - ((NI) 1))) & (NI)((NU32) ~((NI)(v - ((NI) 1)))));
	return result;
}

static N_INLINE(NI, msbit_9bytYKSlZB9bNAUaEM5V4v5wsystem)(NU32 x) {
	NI result;
	NI a;
	result = (NI)0;
	{
		if (!((NU32)(x) <= (NU32)(((NI) 65535)))) goto LA3_;
		{
			if (!((NU32)(x) <= (NU32)(((NI) 255)))) goto LA7_;
			a = ((NI) 0);
		}
		goto LA5_;
		LA7_: ;
		{
			a = ((NI) 8);
		}
		LA5_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		{
			if (!((NU32)(x) <= (NU32)(((NI) 16777215)))) goto LA13_;
			a = ((NI) 16);
		}
		goto LA11_;
		LA13_: ;
		{
			a = ((NI) 24);
		}
		LA11_: ;
	}
	LA1_: ;
	result = (NI)(((NI) (fsLookupTable_Gn52IZvqY4slyBTOYwGNRQ[((NU32)((NU32)(x) >> (NU32)(a)))- 0])) + a);
	return result;
}

static N_INLINE(void, mappingSearch_maWEJIPxKiJucKB6KTaC1Asystem)(NI* r, NI* fl, NI* sl) {
	NI t;
	NI T1_;
	NI T2_;
	T1_ = (NI)0;
	T1_ = msbit_9bytYKSlZB9bNAUaEM5V4v5wsystem(((NU32) ((*r))));
	T2_ = (NI)0;
	T2_ = roundup_HS4HdHHFZPftyB49cpIyo7Asystem((NI)((NU32)(((NI) 1)) << (NU32)((NI)(T1_ - ((NI) 5)))), ((NI) 4096));
	t = (NI)(T2_ - ((NI) 1));
	(*r) = (NI)((*r) + t);
	(*r) = (NI)((*r) & (NI)((NU32) ~(t)));
	(*r) = (((*r) <= ((NI) 1056964608)) ? (*r) : ((NI) 1056964608));
	(*fl) = msbit_9bytYKSlZB9bNAUaEM5V4v5wsystem(((NU32) ((*r))));
	(*sl) = (NI)((NI)((NU32)((*r)) >> (NU32)((NI)((*fl) - ((NI) 5)))) - ((NI) 32));
	(*fl) -= ((NI) 6);
}

static N_INLINE(NI, lsbit_9bytYKSlZB9bNAUaEM5V4v5w_2system)(NU32 x) {
	NI result;
	result = (NI)0;
	result = msbit_9bytYKSlZB9bNAUaEM5V4v5wsystem((NU32)(x & (NU32)((NU32)((NU32)((NU32) ~(x))) + (NU32)(((NI) 1)))));
	return result;
}

static N_INLINE(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*, findSuitableBlock_kkuljspWk8VNThs4rn9bAJgsystem)(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)((NU32)(((NU32) IL64(4294967295))) << (NU32)((*sl))));
	result = NIM_NIL;
	{
		if (!!((tmp == ((NI) 0)))) goto LA3_;
		(*sl) = lsbit_9bytYKSlZB9bNAUaEM5V4v5w_2system(tmp);
		result = (*a).matrix[((*fl))- 0][((*sl))- 0];
	}
	goto LA1_;
	LA3_: ;
	{
		(*fl) = lsbit_9bytYKSlZB9bNAUaEM5V4v5w_2system((NU32)((*a).flBitmap & (NU32)((NU32)(((NU32) IL64(4294967295))) << (NU32)((NI)((*fl) + ((NI) 1))))));
		{
			if (!(((NI) 0) < (*fl))) goto LA8_;
			(*sl) = lsbit_9bytYKSlZB9bNAUaEM5V4v5w_2system((*a).slBitmap[((*fl))- 0]);
			result = (*a).matrix[((*fl))- 0][((*sl))- 0];
		}
		LA8_: ;
	}
	LA1_: ;
	return result;
}

static N_INLINE(NCSTRING, nimToCStringConv)(NimStringDesc* s) {
	NCSTRING result;
	result = (NCSTRING)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (s == 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_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0) {
	int T5_;
	int T6_;
	flockfile(stdout);
	{
		NimStringDesc* s;
		NI i;
		s = (NimStringDesc*)0;
		i = ((NI) 0);
		{
			while (1) {
				int T4_;
				if (!(i < argsLen_0)) goto LA3;
				s = args[i];
				T4_ = (int)0;
				T4_ = fwrite(((void*) (nimToCStringConv(s))), (s ? s->Sup.len : 0), ((NI) 1), stdout);
				(void)(T4_);
				i += ((NI) 1);
			} LA3: ;
		}
	}
	T5_ = (int)0;
	T5_ = fwrite("\012", ((NI) 1), ((NI) 1), stdout);
	(void)(T5_);
	T6_ = (int)0;
	T6_ = fflush(stdout);
	(void)(T6_);
	funlockfile(stdout);
}

N_LIB_PRIVATE N_NOINLINE(void, raiseOutOfMem_II46IjNZztN9bmbxUD8dt8g)(void) {
	{
		if (!!((outOfMemHook_kZNaA7u1MfSW5ZeoGvw8xg == NIM_NIL))) goto LA3_;
		outOfMemHook_kZNaA7u1MfSW5ZeoGvw8xg();
	}
	LA3_: ;
	echoBinSafe(TM_Q5wkpxktOdTGvlSRo9bzt9aw_13, 1);
	exit(((NI) 1));
}

static N_INLINE(void*, osAllocPages_fxkHg9ajpjxOfBTuIyrgEfwsystem)(NI size) {
	void* result;
	result = (void*)0;
	result = mmap(NIM_NIL, size, ((int) 3), ((int) 4098), ((int) -1), ((NI) 0));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (result == NIM_NIL);
		if (T3_) goto LA4_;
		T3_ = (result == ((void*) -1));
		LA4_: ;
		if (!T3_) goto LA5_;
		raiseOutOfMem_II46IjNZztN9bmbxUD8dt8g();
	}
	LA5_: ;
	return result;
}

static N_INLINE(void*, osTryAllocPages_ID9csc9aYiEnjrqnnJOXH2OQsystem)(NI size) {
	void* result;
	result = (void*)0;
	result = mmap(NIM_NIL, size, ((int) 3), ((int) 4098), ((int) -1), ((NI) 0));
	{
		if (!(result == ((void*) -1))) goto LA3_;
		result = NIM_NIL;
	}
	LA3_: ;
	return result;
}

static N_INLINE(void, incCurrMem_rxjvSU4wRoPOjezLtDzm3Qsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI bytes) {
	(*a).currMem += bytes;
}

static N_INLINE(void, nimSetMem_2Mfumf6CnyNlShDWdIgobwsystem)(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_2Mfumf6CnyNlShDWdIgobwsystem(p, ((int) 0), size);
}

static N_INLINE(void, zeroMem_7EL8Zq3xF2ujDWgp3bAEogsystem)(void* p, NI size) {
	nimZeroMem(p, size);
}

N_LIB_PRIVATE N_NIMCALL(void*, llAlloc_fTkVQ4Gj2glm9btLqR9bdQDQ)(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 == NIM_NIL);
		if (T3_) goto LA4_;
		T3_ = ((*(*a).llmem).size < size);
		LA4_: ;
		if (!T3_) goto LA5_;
		old = (*a).llmem;
		T7_ = (void*)0;
		T7_ = osAllocPages_fxkHg9ajpjxOfBTuIyrgEfwsystem(((NI) 4096));
		(*a).llmem = ((tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw*) (T7_));
		incCurrMem_rxjvSU4wRoPOjezLtDzm3Qsystem(a, ((NI) 4096));
		(*(*a).llmem).size = (NI)(((NI) 4096) - ((NI)sizeof(tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw)));
		(*(*a).llmem).acc = ((NI)sizeof(tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw));
		(*(*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_7EL8Zq3xF2ujDWgp3bAEogsystem(result, ((NI) (size)));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, addHeapLink_fJbggoVEhxEYh2HdNULF3Q)(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 == 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_;
		if (!(it == NIM_NIL)) goto LA7_;
		T9_ = (void*)0;
		T9_ = llAlloc_fTkVQ4Gj2glm9btLqR9bdQDQ(a, ((NI)sizeof(tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg)));
		n = ((tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg*) (T9_));
		(*n).next = (*a).heapLinks.next;
		(*a).heapLinks.next = n;
		(*n).chunks[(((NI) 0))- 0].Field0 = p;
		(*n).chunks[(((NI) 0))- 0].Field1 = size;
		(*n).len = ((NI) 1);
	}
	goto LA5_;
	LA7_: ;
	{
		NI L;
		L = (*it).len;
		(*it).chunks[(L)- 0].Field0 = p;
		(*it).chunks[(L)- 0].Field1 = size;
		(*it).len += ((NI) 1);
	}
	LA5_: ;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw*, intSetGet_FhOZKj4Gih3qQ5OimZYOrg)(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 == NIM_NIL))) goto LA2;
			{
				if (!((*it).key == key)) goto LA5_;
				result = it;
				goto BeforeRet_;
			}
			LA5_: ;
			it = (*it).next;
		} LA2: ;
	}
	result = NIM_NIL;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains_tGsWrN4DY41H9btt3FhjrNA)(tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA* s, NI key) {
	NIM_BOOL result;
	tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw* t;
	result = (NIM_BOOL)0;
	t = intSetGet_FhOZKj4Gih3qQ5OimZYOrg(s, (NI)((NU32)(key) >> (NU32)(((NI) 9))));
	{
		NI u;
		if (!!((t == NIM_NIL))) goto LA3_;
		u = (NI)(key & ((NI) 511));
		result = !(((NI)((*t).bits[((NI)((NU32)(u) >> (NU32)(((NI) 5))))- 0] & (NI)((NU32)(((NI) 1)) << (NU32)((NI)(u & ((NI) 31))))) == ((NI) 0)));
	}
	goto LA1_;
	LA3_: ;
	{
		result = NIM_FALSE;
	}
	LA1_: ;
	return result;
}

static N_INLINE(NI, pageIndex_vFgXFo13iF61HsEG6epuwgsystem)(tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* c) {
	NI result;
	result = (NI)0;
	result = (NI)((NU32)(((NI) (ptrdiff_t) (c))) >> (NU32)(((NI) 12)));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*, requestOsChunks_z9bCNjXTYllZ3pI24nEsw2g_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_HS4HdHHFZPftyB49cpIyo7Asystem((NI)((NU32)(usedMem) >> (NU32)(((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_fxkHg9ajpjxOfBTuIyrgEfwsystem(size_2);
		result = ((tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*) (T15_));
	}
	goto LA11_;
	LA13_: ;
	{
		void* T17_;
		T17_ = (void*)0;
		T17_ = osTryAllocPages_ID9csc9aYiEnjrqnnJOXH2OQsystem((*a).nextChunkSize);
		result = ((tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*) (T17_));
		{
			void* T22_;
			if (!(result == NIM_NIL)) goto LA20_;
			T22_ = (void*)0;
			T22_ = osAllocPages_fxkHg9ajpjxOfBTuIyrgEfwsystem(size_2);
			result = ((tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*) (T22_));
			(*a).blockChunkSizeIncrease = NIM_TRUE;
		}
		goto LA18_;
		LA20_: ;
		{
			size_2 = (*a).nextChunkSize;
		}
		LA18_: ;
	}
	LA11_: ;
	incCurrMem_rxjvSU4wRoPOjezLtDzm3Qsystem(a, size_2);
	(*a).freeMem += size_2;
	addHeapLink_fJbggoVEhxEYh2HdNULF3Q(a, result, size_2);
	(*result).next = NIM_NIL;
	(*result).prev = NIM_NIL;
	(*result).Sup.size = size_2;
	nxt = (NI)((NU32)(((NI) (ptrdiff_t) (result))) + (NU32)(size_2));
	next = ((tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*) (nxt));
	{
		NI T26_;
		NIM_BOOL T27_;
		T26_ = (NI)0;
		T26_ = pageIndex_vFgXFo13iF61HsEG6epuwgsystem(next);
		T27_ = (NIM_BOOL)0;
		T27_ = contains_tGsWrN4DY41H9btt3FhjrNA((&(*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 = (NI)((NU32)(((NI) (ptrdiff_t) (result))) - (NU32)(lastSize));
	prev = ((tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*) (prv));
	{
		NIM_BOOL T37_;
		NI T38_;
		T37_ = (NIM_BOOL)0;
		T38_ = (NI)0;
		T38_ = pageIndex_vFgXFo13iF61HsEG6epuwgsystem(prev);
		T37_ = contains_tGsWrN4DY41H9btt3FhjrNA((&(*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_bDTXHqSShXKux9bZH4tvkVgsystem)(void* p) {
	NI result;
	result = (NI)0;
	result = (NI)((NU32)(((NI) (ptrdiff_t) (p))) >> (NU32)(((NI) 12)));
	return result;
}

static N_INLINE(NIM_BOOL, isAccessible_5nqar3kL9acJcissrFLDdkwsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, void* p) {
	NIM_BOOL result;
	NI T1_;
	result = (NIM_BOOL)0;
	T1_ = (NI)0;
	T1_ = pageIndex_bDTXHqSShXKux9bZH4tvkVgsystem(p);
	result = contains_tGsWrN4DY41H9btt3FhjrNA((&(*a).chunkStarts), T1_);
	return result;
}

static N_INLINE(void, updatePrevSize_3G5wKZdFZhblebPYdFnpxQsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c, NI prevSize) {
	tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* ri;
	ri = ((tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*) ((NI)((NU32)(((NI) (ptrdiff_t) (c))) + (NU32)((*c).Sup.size))));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = isAccessible_5nqar3kL9acJcissrFLDdkwsystem((&(*a)), ((void*) (ri)));
		if (!T3_) goto LA4_;
		(*ri).prevSize = (NI)(prevSize | (NI)((*ri).prevSize & ((NI) 1)));
	}
	LA4_: ;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw*, intSetPut_KWgRM9bUk6rwhAaHSiuK9aYA)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA* t, NI key) {
	tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw* result;
	result = (tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw*)0;
	result = intSetGet_FhOZKj4Gih3qQ5OimZYOrg((&(*t)), key);
	{
		void* T5_;
		if (!(result == NIM_NIL)) goto LA3_;
		T5_ = (void*)0;
		T5_ = llAlloc_fTkVQ4Gj2glm9btLqR9bdQDQ(a, ((NI)sizeof(tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw)));
		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_Iz1GYiOVKwItgr5CdCm0dQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA* s, NI key) {
	tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw* t;
	NI u;
	t = intSetPut_KWgRM9bUk6rwhAaHSiuK9aYA(a, s, (NI)((NU32)(key) >> (NU32)(((NI) 9))));
	u = (NI)(key & ((NI) 511));
	(*t).bits[((NI)((NU32)(u) >> (NU32)(((NI) 5))))- 0] = (NI)((*t).bits[((NI)((NU32)(u) >> (NU32)(((NI) 5))))- 0] | (NI)((NU32)(((NI) 1)) << (NU32)((NI)(u & ((NI) 31)))));
}

N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*, splitChunk2_UxUTh1oy39boKK4NPJIGnLQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c, NI size) {
	tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* result;
	tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* T1_;
	NI T2_;
	result = (tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*)0;
	result = ((tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*) ((NI)((NU32)(((NI) (ptrdiff_t) (c))) + (NU32)(size))));
	(*result).Sup.size = (NI)((*c).Sup.size - size);
	(*result).next = NIM_NIL;
	(*result).prev = NIM_NIL;
	(*result).Sup.prevSize = size;
	updatePrevSize_3G5wKZdFZhblebPYdFnpxQsystem(a, c, (*result).Sup.size);
	(*c).Sup.size = size;
	T1_ = (tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*)0;
	T1_ = &result->Sup;
	T2_ = (NI)0;
	T2_ = pageIndex_vFgXFo13iF61HsEG6epuwgsystem(T1_);
	incl_Iz1GYiOVKwItgr5CdCm0dQ(a, (&(*a).chunkStarts), T2_);
	return result;
}

static N_INLINE(tyTuple_1v9bKyksXWMsm0vNwmZ4EuQ, mappingInsert_eo6QETBMXRMfCzEMHeNawwsystem)(NI r) {
	tyTuple_1v9bKyksXWMsm0vNwmZ4EuQ result;
	nimZeroMem((void*)(&result), sizeof(tyTuple_1v9bKyksXWMsm0vNwmZ4EuQ));
	result.Field0 = msbit_9bytYKSlZB9bNAUaEM5V4v5wsystem(((NU32) (r)));
	result.Field1 = (NI)((NI)((NU32)(r) >> (NU32)((NI)(result.Field0 - ((NI) 5)))) - ((NI) 32));
	result.Field0 -= ((NI) 6);
	return result;
}

static N_INLINE(void, setBit_x5rnZuDU4uBfR7DYUtFnSAsystem)(NI nr, NU32* dest) {
	(*dest) = (NU32)((*dest) | (NU32)((NU32)(((NU32) 1)) << (NU32)((NI)(nr & ((NI) 31)))));
}

N_LIB_PRIVATE N_NIMCALL(void, addChunkToMatrix_v9bekLOkesgfrZC4aumfLXw)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* b) {
	tyTuple_1v9bKyksXWMsm0vNwmZ4EuQ T1_;
	NI fl;
	NI sl;
	T1_ = mappingInsert_eo6QETBMXRMfCzEMHeNawwsystem((*b).Sup.size);
	fl = T1_.Field0;
	sl = T1_.Field1;
	(*b).prev = NIM_NIL;
	(*b).next = (*a).matrix[(fl)- 0][(sl)- 0];
	{
		if (!!(((*a).matrix[(fl)- 0][(sl)- 0] == NIM_NIL))) goto LA4_;
		(*(*a).matrix[(fl)- 0][(sl)- 0]).prev = b;
	}
	LA4_: ;
	(*a).matrix[(fl)- 0][(sl)- 0] = b;
	setBit_x5rnZuDU4uBfR7DYUtFnSAsystem(sl, (&(*a).slBitmap[(fl)- 0]));
	setBit_x5rnZuDU4uBfR7DYUtFnSAsystem(fl, (&(*a).flBitmap));
}

N_LIB_PRIVATE N_NIMCALL(void, splitChunk_8QXhiy717OAl8WNA2X27EA)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c, NI size) {
	tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* rest;
	rest = splitChunk2_UxUTh1oy39boKK4NPJIGnLQ(a, c, size);
	addChunkToMatrix_v9bekLOkesgfrZC4aumfLXw(a, rest);
}

static N_INLINE(void, clearBit_x5rnZuDU4uBfR7DYUtFnSA_2system)(NI nr, NU32* dest) {
	(*dest) = (NU32)((*dest) & (NU32)((NU32) ~((NU32)((NU32)(((NU32) 1)) << (NU32)((NI)(nr & ((NI) 31)))))));
}

N_LIB_PRIVATE N_NIMCALL(void, removeChunkFromMatrix2_NyesLqu7hqkgfLqcLrQpjw)(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] == NIM_NIL))) goto LA3_;
		(*(*a).matrix[(fl)- 0][(sl)- 0]).prev = NIM_NIL;
	}
	goto LA1_;
	LA3_: ;
	{
		clearBit_x5rnZuDU4uBfR7DYUtFnSA_2system(sl, (&(*a).slBitmap[(fl)- 0]));
		{
			if (!((*a).slBitmap[(fl)- 0] == ((NU32) 0))) goto LA8_;
			clearBit_x5rnZuDU4uBfR7DYUtFnSA_2system(fl, (&(*a).flBitmap));
		}
		LA8_: ;
	}
	LA1_: ;
	(*b).prev = NIM_NIL;
	(*b).next = NIM_NIL;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*, getBigChunk_z9bCNjXTYllZ3pI24nEsw2g)(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_maWEJIPxKiJucKB6KTaC1Asystem((&size_2), (&fl), (&sl));
	result = findSuitableBlock_kkuljspWk8VNThs4rn9bAJgsystem((&(*a)), (&fl), (&sl));
	{
		if (!(result == NIM_NIL)) goto LA3_;
		{
			if (!(size_2 < ((NI) 524288))) goto LA7_;
			result = requestOsChunks_z9bCNjXTYllZ3pI24nEsw2g_2(a, ((NI) 524288));
			splitChunk_8QXhiy717OAl8WNA2X27EA(a, result, size_2);
		}
		goto LA5_;
		LA7_: ;
		{
			result = requestOsChunks_z9bCNjXTYllZ3pI24nEsw2g_2(a, size_2);
			{
				if (!(size_2 < (*result).Sup.size)) goto LA12_;
				splitChunk_8QXhiy717OAl8WNA2X27EA(a, result, size_2);
			}
			LA12_: ;
		}
		LA5_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		removeChunkFromMatrix2_NyesLqu7hqkgfLqcLrQpjw(a, result, fl, sl);
		{
			if (!((NI)(size_2 + ((NI) 4096)) <= (*result).Sup.size)) goto LA17_;
			splitChunk_8QXhiy717OAl8WNA2X27EA(a, result, size_2);
		}
		LA17_: ;
	}
	LA1_: ;
	(*result).Sup.prevSize = ((NI) 1);
	T19_ = (tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*)0;
	T19_ = &result->Sup;
	T20_ = (NI)0;
	T20_ = pageIndex_vFgXFo13iF61HsEG6epuwgsystem(T19_);
	incl_Iz1GYiOVKwItgr5CdCm0dQ(a, (&(*a).chunkStarts), T20_);
	(*a).freeMem -= size_2;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ*, getSmallChunk_h6cvXbfQjxIdThM5GthosA)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a) {
	tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* result;
	tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* res;
	result = (tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ*)0;
	res = getBigChunk_z9bCNjXTYllZ3pI24nEsw2g(a, ((NI) 4096));
	result = ((tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ*) (res));
	return result;
}

static N_INLINE(void, listAdd_DqXPtLsRUwQp3iwLtHEdIgsystem)(tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ** head, tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* c) {
	(*c).next = (*head);
	{
		if (!!(((*head) == NIM_NIL))) goto LA3_;
		(*(*head)).prev = c;
	}
	LA3_: ;
	(*head) = c;
}

static N_INLINE(void, listRemove_DqXPtLsRUwQp3iwLtHEdIg_2system)(tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ** head, tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* c) {
	{
		if (!(c == (*head))) goto LA3_;
		(*head) = (*c).next;
		{
			if (!!(((*head) == NIM_NIL))) goto LA7_;
			(*(*head)).prev = NIM_NIL;
		}
		LA7_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		(*(*c).prev).next = (*c).next;
		{
			if (!!(((*c).next == NIM_NIL))) goto LA12_;
			(*(*c).next).prev = (*c).prev;
		}
		LA12_: ;
	}
	LA1_: ;
	(*c).next = NIM_NIL;
	(*c).prev = NIM_NIL;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*, getHugeChunk_z9bCNjXTYllZ3pI24nEsw2g_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_fxkHg9ajpjxOfBTuIyrgEfwsystem(size);
	result = ((tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*) (T1_));
	incCurrMem_rxjvSU4wRoPOjezLtDzm3Qsystem(a, size);
	(*result).next = NIM_NIL;
	(*result).prev = NIM_NIL;
	(*result).Sup.size = size;
	(*result).Sup.prevSize = ((NI) 1);
	T2_ = (tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*)0;
	T2_ = &result->Sup;
	T3_ = (NI)0;
	T3_ = pageIndex_vFgXFo13iF61HsEG6epuwgsystem(T2_);
	incl_Iz1GYiOVKwItgr5CdCm0dQ(a, (&(*a).chunkStarts), T3_);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw*, getBottom_QXg9anCfFuhk3avAkOOKNhQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a) {
	tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* result;
	result = (tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw*)0;
	result = (&(*a).bottomData);
	{
		if (!((*result).link[(((NI) 0))- 0] == 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_neSuioWH6NDTp8E9cNgBmjg)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI key, NI upperBound) {
	tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* result;
	tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* bottom;
	result = (tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw*)0;
	{
		if (!!(((*a).freeAvlNodes == 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_fTkVQ4Gj2glm9btLqR9bdQDQ(a, ((NI)sizeof(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw)));
		result = ((tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw*) (T6_));
	}
	LA1_: ;
	(*result).key = key;
	(*result).upperBound = upperBound;
	bottom = getBottom_QXg9anCfFuhk3avAkOOKNhQ(a);
	(*result).link[(((NI) 0))- 0] = bottom;
	(*result).link[(((NI) 1))- 0] = bottom;
	(*result).level = ((NI) 1);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, skew_Cfx7NvEVZIhBjBm7i89boSg)(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_Cfx7NvEVZIhBjBm7i89boSg_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_Xuf47u3imOz8BOk5HURLWQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw** t, NI key, NI upperBound) {
	{
		if (!((*(*t)).link[(((NI) 0))- 0] == (*t))) goto LA3_;
		(*t) = allocAvlNode_neSuioWH6NDTp8E9cNgBmjg(a, key, upperBound);
	}
	goto LA1_;
	LA3_: ;
	{
		{
			if (!((NU32)(key) < (NU32)((*(*t)).key))) goto LA8_;
			add_Xuf47u3imOz8BOk5HURLWQ(a, &(*(*t)).link[(((NI) 0))- 0], key, upperBound);
		}
		goto LA6_;
		LA8_: ;
		{
			if (!((NU32)((*(*t)).key) < (NU32)(key))) goto LA11_;
			add_Xuf47u3imOz8BOk5HURLWQ(a, &(*(*t)).link[(((NI) 1))- 0], key, upperBound);
		}
		goto LA6_;
		LA11_: ;
		{
		}
		LA6_: ;
		skew_Cfx7NvEVZIhBjBm7i89boSg(t);
		split_Cfx7NvEVZIhBjBm7i89boSg_2(t);
	}
	LA1_: ;
}

N_LIB_PRIVATE N_NIMCALL(void*, rawAlloc_yn9c8RLaS8vgVBeMBfmkdUg)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI requestedSize) {
	void* result;
	NI size;
	result = (void*)0;
	size = roundup_HS4HdHHFZPftyB49cpIyo7Asystem(requestedSize, ((NI) 8));
	{
		NI s;
		tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* c;
		if (!(size <= (NI)(((NI) 4096) - (NI)(((NI)sizeof(tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ)) - ((NI) 8))))) goto LA3_;
		s = (NI)(size / ((NI) 8));
		c = (*a).freeSmallChunks[(s)- 0];
		{
			if (!(c == NIM_NIL)) goto LA7_;
			c = getSmallChunk_h6cvXbfQjxIdThM5GthosA(a);
			(*c).freeList = NIM_NIL;
			(*c).Sup.size = size;
			(*c).acc = size;
			(*c).free = (NI)((NI)(((NI) 4096) - (NI)(((NI)sizeof(tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ)) - ((NI) 8))) - size);
			(*c).next = NIM_NIL;
			(*c).prev = NIM_NIL;
			listAdd_DqXPtLsRUwQp3iwLtHEdIgsystem(&(*a).freeSmallChunks[(s)- 0], c);
			result = ((void*) ((&(*c).data)));
		}
		goto LA5_;
		LA7_: ;
		{
			{
				if (!((*c).freeList == NIM_NIL)) goto LA12_;
				result = ((void*) ((NI)((NU32)(((NI) (ptrdiff_t) ((&(*c).data)))) + (NU32)((*c).acc))));
				(*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 LA17_;
			listRemove_DqXPtLsRUwQp3iwLtHEdIg_2system(&(*a).freeSmallChunks[(s)- 0], c);
		}
		LA17_: ;
		(*a).occ += size;
	}
	goto LA1_;
	LA3_: ;
	{
		tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c_2;
		size = (NI)(requestedSize + (NI)(((NI)sizeof(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg)) - ((NI) 8)));
		{
			if (!(((NI) 1056964609) <= size)) goto LA22_;
			c_2 = getHugeChunk_z9bCNjXTYllZ3pI24nEsw2g_3(a, size);
		}
		goto LA20_;
		LA22_: ;
		{
			c_2 = getBigChunk_z9bCNjXTYllZ3pI24nEsw2g(a, size);
		}
		LA20_: ;
		result = ((void*) ((&(*c_2).data)));
		{
			if (!((*a).root == NIM_NIL)) goto LA27_;
			(*a).root = getBottom_QXg9anCfFuhk3avAkOOKNhQ(a);
		}
		LA27_: ;
		add_Xuf47u3imOz8BOk5HURLWQ(a, &(*a).root, ((NI) (ptrdiff_t) (result)), (NI)((NU32)(((NI) (ptrdiff_t) (result))) + (NU32)(size)));
		(*a).occ += (*c_2).Sup.size;
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void*, alloc_WDxgSWQ1mSIerfvC0kmUtg)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* allocator, NI size) {
	void* result;
	result = (void*)0;
	result = rawAlloc_yn9c8RLaS8vgVBeMBfmkdUg(allocator, (NI)(((NI) (size)) + ((NI)sizeof(tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ))));
	(*((tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ*) (result))).zeroField = ((NI) 1);
	result = ((void*) ((NI)((NU32)(((NI) (ptrdiff_t) (result))) + (NU32)(((NI)sizeof(tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ))))));
	return result;
}

N_LIB_PRIVATE N_NOCONV(void*, alloc_4cubgSerkjpuLcj5MXjiLw)(NI size) {
	void* result;
	result = (void*)0;
	result = alloc_WDxgSWQ1mSIerfvC0kmUtg((&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_fPlwH3r9agN9aEHB6yCPMh0wsystem)(void* dest, void* source, NI size) {
	nimCopyMem(dest, source, size);
}

static N_INLINE(tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*, pageAddr_4uti7hTxTUDxUPqFMgMvHAsystem)(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_xxNWShoyEPMUVN7FvfpDjwsystem)(tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* c) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	result = ((*c).size <= (NI)(((NI) 4096) - (NI)(((NI)sizeof(tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ)) - ((NI) 8))));
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}

static N_INLINE(NIM_BOOL, chunkUnused_xxNWShoyEPMUVN7FvfpDjw_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_v9bekLOkesgfrZC4aumfLXw_2)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* b) {
	tyTuple_1v9bKyksXWMsm0vNwmZ4EuQ T1_;
	NI fl;
	NI sl;
	T1_ = mappingInsert_eo6QETBMXRMfCzEMHeNawwsystem((*b).Sup.size);
	fl = T1_.Field0;
	sl = T1_.Field1;
	{
		if (!!(((*b).next == NIM_NIL))) goto LA4_;
		(*(*b).next).prev = (*b).prev;
	}
	LA4_: ;
	{
		if (!!(((*b).prev == 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] == NIM_NIL)) goto LA16_;
			clearBit_x5rnZuDU4uBfR7DYUtFnSA_2system(sl, (&(*a).slBitmap[(fl)- 0]));
			{
				if (!((*a).slBitmap[(fl)- 0] == ((NU32) 0))) goto LA20_;
				clearBit_x5rnZuDU4uBfR7DYUtFnSA_2system(fl, (&(*a).flBitmap));
			}
			LA20_: ;
		}
		LA16_: ;
	}
	LA12_: ;
	(*b).prev = NIM_NIL;
	(*b).next = NIM_NIL;
}

N_LIB_PRIVATE N_NIMCALL(void, excl_Z9cZKmN1jjRFCzU0lgW9a1XA)(tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA* s, NI key) {
	tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw* t;
	t = intSetGet_FhOZKj4Gih3qQ5OimZYOrg((&(*s)), (NI)((NU32)(key) >> (NU32)(((NI) 9))));
	{
		NI u;
		if (!!((t == NIM_NIL))) goto LA3_;
		u = (NI)(key & ((NI) 511));
		(*t).bits[((NI)((NU32)(u) >> (NU32)(((NI) 5))))- 0] = (NI)((*t).bits[((NI)((NU32)(u) >> (NU32)(((NI) 5))))- 0] & (NI)((NU32) ~((NI)((NU32)(((NI) 1)) << (NU32)((NI)(u & ((NI) 31)))))));
	}
	LA3_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, freeBigChunk_CAqFS1jFL1RxG80t9bOGmAA)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c) {
	tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c_2;
	NI prevSize;
	tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* ri;
	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;
		if (!!((prevSize == ((NI) 0)))) goto LA3_;
		le = ((tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*) ((NI)((NU32)(((NI) (ptrdiff_t) (c_2))) - (NU32)(prevSize))));
		{
			NIM_BOOL T7_;
			T7_ = (NIM_BOOL)0;
			T7_ = isAccessible_5nqar3kL9acJcissrFLDdkwsystem((&(*a)), ((void*) (le)));
			if (!(T7_)) goto LA8_;
			T7_ = chunkUnused_xxNWShoyEPMUVN7FvfpDjw_2system(le);
			LA8_: ;
			if (!T7_) goto LA9_;
			{
				NIM_BOOL T13_;
				NIM_BOOL T14_;
				tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* T18_;
				NI T19_;
				T13_ = (NIM_BOOL)0;
				T14_ = (NIM_BOOL)0;
				T14_ = isSmallChunk_xxNWShoyEPMUVN7FvfpDjwsystem(le);
				T13_ = !(T14_);
				if (!(T13_)) goto LA15_;
				T13_ = ((*le).size < ((NI) 1056964608));
				LA15_: ;
				if (!T13_) goto LA16_;
				removeChunkFromMatrix_v9bekLOkesgfrZC4aumfLXw_2(a, ((tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*) (le)));
				(*le).size += (*c_2).Sup.size;
				T18_ = (tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*)0;
				T18_ = &c_2->Sup;
				T19_ = (NI)0;
				T19_ = pageIndex_vFgXFo13iF61HsEG6epuwgsystem(T18_);
				excl_Z9cZKmN1jjRFCzU0lgW9a1XA((&(*a).chunkStarts), T19_);
				c_2 = ((tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*) (le));
				{
					tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* rest;
					if (!(((NI) 1056964608) < (*c_2).Sup.size)) goto LA22_;
					rest = splitChunk2_UxUTh1oy39boKK4NPJIGnLQ(a, c_2, ((NI) 1056964608));
					addChunkToMatrix_v9bekLOkesgfrZC4aumfLXw(a, c_2);
					c_2 = rest;
				}
				LA22_: ;
			}
			LA16_: ;
		}
		LA9_: ;
	}
	LA3_: ;
	ri = ((tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*) ((NI)((NU32)(((NI) (ptrdiff_t) (c_2))) + (NU32)((*c_2).Sup.size))));
	{
		NIM_BOOL T26_;
		T26_ = (NIM_BOOL)0;
		T26_ = isAccessible_5nqar3kL9acJcissrFLDdkwsystem((&(*a)), ((void*) (ri)));
		if (!(T26_)) goto LA27_;
		T26_ = chunkUnused_xxNWShoyEPMUVN7FvfpDjw_2system(ri);
		LA27_: ;
		if (!T26_) goto LA28_;
		{
			NIM_BOOL T32_;
			NIM_BOOL T33_;
			NI T37_;
			T32_ = (NIM_BOOL)0;
			T33_ = (NIM_BOOL)0;
			T33_ = isSmallChunk_xxNWShoyEPMUVN7FvfpDjwsystem(ri);
			T32_ = !(T33_);
			if (!(T32_)) goto LA34_;
			T32_ = ((*c_2).Sup.size < ((NI) 1056964608));
			LA34_: ;
			if (!T32_) goto LA35_;
			removeChunkFromMatrix_v9bekLOkesgfrZC4aumfLXw_2(a, ((tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*) (ri)));
			(*c_2).Sup.size += (*ri).size;
			T37_ = (NI)0;
			T37_ = pageIndex_vFgXFo13iF61HsEG6epuwgsystem(ri);
			excl_Z9cZKmN1jjRFCzU0lgW9a1XA((&(*a).chunkStarts), T37_);
			{
				tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* rest_2;
				if (!(((NI) 1056964608) < (*c_2).Sup.size)) goto LA40_;
				rest_2 = splitChunk2_UxUTh1oy39boKK4NPJIGnLQ(a, c_2, ((NI) 1056964608));
				addChunkToMatrix_v9bekLOkesgfrZC4aumfLXw(a, rest_2);
			}
			LA40_: ;
		}
		LA35_: ;
	}
	LA28_: ;
	addChunkToMatrix_v9bekLOkesgfrZC4aumfLXw(a, c_2);
}

static N_INLINE(void, deallocAvlNode_E5Kui5a9artJoR6jEn007Vgsystem)(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_C66us4UEWCXp84lHW4tDLA)(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);
	{
		if (!((NU32)(x) < (NU32)((*(*t)).key))) goto LA7_;
		del_C66us4UEWCXp84lHW4tDLA(a, &(*(*t)).link[(((NI) 0))- 0], x);
	}
	goto LA5_;
	LA7_: ;
	{
		(*a).deleted = (*t);
		del_C66us4UEWCXp84lHW4tDLA(a, &(*(*t)).link[(((NI) 1))- 0], x);
	}
	LA5_: ;
	{
		NIM_BOOL T12_;
		NIM_BOOL T13_;
		T12_ = (NIM_BOOL)0;
		T13_ = (NIM_BOOL)0;
		T13_ = ((*t) == (*a).last);
		if (!(T13_)) goto LA14_;
		T13_ = !(((*(*a).deleted).link[(((NI) 0))- 0] == (*a).deleted));
		LA14_: ;
		T12_ = T13_;
		if (!(T12_)) goto LA15_;
		T12_ = (x == (*(*a).deleted).key);
		LA15_: ;
		if (!T12_) goto LA16_;
		(*(*a).deleted).key = (*(*t)).key;
		(*(*a).deleted).upperBound = (*(*t)).upperBound;
		(*a).deleted = getBottom_QXg9anCfFuhk3avAkOOKNhQ(a);
		(*t) = (*(*t)).link[(((NI) 1))- 0];
		deallocAvlNode_E5Kui5a9artJoR6jEn007Vgsystem(a, (*a).last);
	}
	goto LA10_;
	LA16_: ;
	{
		NIM_BOOL T19_;
		T19_ = (NIM_BOOL)0;
		T19_ = ((*(*(*t)).link[(((NI) 0))- 0]).level < (NI)((*(*t)).level - ((NI) 1)));
		if (T19_) goto LA20_;
		T19_ = ((*(*(*t)).link[(((NI) 1))- 0]).level < (NI)((*(*t)).level - ((NI) 1)));
		LA20_: ;
		if (!T19_) goto LA21_;
		(*(*t)).level -= ((NI) 1);
		{
			if (!((*(*t)).level < (*(*(*t)).link[(((NI) 1))- 0]).level)) goto LA25_;
			(*(*(*t)).link[(((NI) 1))- 0]).level = (*(*t)).level;
		}
		LA25_: ;
		skew_Cfx7NvEVZIhBjBm7i89boSg(t);
		skew_Cfx7NvEVZIhBjBm7i89boSg(&(*(*t)).link[(((NI) 1))- 0]);
		skew_Cfx7NvEVZIhBjBm7i89boSg(&(*(*(*t)).link[(((NI) 1))- 0]).link[(((NI) 1))- 0]);
		split_Cfx7NvEVZIhBjBm7i89boSg_2(t);
		split_Cfx7NvEVZIhBjBm7i89boSg_2(&(*(*t)).link[(((NI) 1))- 0]);
	}
	goto LA10_;
	LA21_: ;
	LA10_: ;
	}BeforeRet_: ;
}

static N_INLINE(void, decCurrMem_rxjvSU4wRoPOjezLtDzm3Q_2system)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, NI bytes) {
	(*a).maxMem = (((*a).maxMem >= (*a).currMem) ? (*a).maxMem : (*a).currMem);
	(*a).currMem -= bytes;
}

static N_INLINE(void, osDeallocPages_I1brEDH0C8CP9a0HfGYsDvAsystem)(void* p, NI size) {
	int T1_;
	T1_ = (int)0;
	T1_ = munmap(p, size);
	(void)(T1_);
}

N_LIB_PRIVATE N_NIMCALL(void, freeHugeChunk_jnrbguyViYONI3PJ1RZJjQ)(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_vFgXFo13iF61HsEG6epuwgsystem(T1_);
	excl_Z9cZKmN1jjRFCzU0lgW9a1XA((&(*a).chunkStarts), T2_);
	decCurrMem_rxjvSU4wRoPOjezLtDzm3Q_2system(a, size);
	osDeallocPages_I1brEDH0C8CP9a0HfGYsDvAsystem(((void*) (c)), size);
}

N_LIB_PRIVATE N_NIMCALL(void, rawDealloc_DA62HrGC5sdfCED505KyyQ)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, void* p) {
	tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* c;
	c = pageAddr_4uti7hTxTUDxUPqFMgMvHAsystem(p);
	{
		NIM_BOOL T3_;
		tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* c_2;
		NI s;
		tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ* f;
		T3_ = (NIM_BOOL)0;
		T3_ = isSmallChunk_xxNWShoyEPMUVN7FvfpDjwsystem(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_DqXPtLsRUwQp3iwLtHEdIgsystem(&(*a).freeSmallChunks[((NI)(s / ((NI) 8)))- 0], c_2);
			(*c_2).free += s;
		}
		goto LA6_;
		LA8_: ;
		{
			(*c_2).free += s;
			{
				if (!((*c_2).free == (NI)(((NI) 4096) - (NI)(((NI)sizeof(tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ)) - ((NI) 8))))) goto LA13_;
				listRemove_DqXPtLsRUwQp3iwLtHEdIg_2system(&(*a).freeSmallChunks[((NI)(s / ((NI) 8)))- 0], c_2);
				(*c_2).Sup.size = ((NI) 4096);
				freeBigChunk_CAqFS1jFL1RxG80t9bOGmAA(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_QXg9anCfFuhk3avAkOOKNhQ(a);
		del_C66us4UEWCXp84lHW4tDLA(a, &(*a).root, ((NI) (ptrdiff_t) ((&(*c_3).data))));
		{
			if (!(((NI) 1056964609) <= (*c_3).Sup.size)) goto LA18_;
			freeHugeChunk_jnrbguyViYONI3PJ1RZJjQ(a, c_3);
		}
		goto LA16_;
		LA18_: ;
		{
			freeBigChunk_CAqFS1jFL1RxG80t9bOGmAA(a, c_3);
		}
		LA16_: ;
	}
	LA1_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, dealloc_jqYVOi4APb9cRx3G9a57AkRw)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* allocator, void* p) {
	void* x;
	x = ((void*) ((NI)((NU32)(((NI) (ptrdiff_t) (p))) - (NU32)(((NI)sizeof(tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ))))));
	rawDealloc_DA62HrGC5sdfCED505KyyQ(allocator, x);
}

N_LIB_PRIVATE N_NOCONV(void, dealloc_RCjNtRnHdRYntrcE7YtwWw)(void* p) {
	dealloc_jqYVOi4APb9cRx3G9a57AkRw((&gch_IcYaEuuWivYAS86vFMTS3Q.region), p);
}

static N_INLINE(void, add_Wcf8r6MCjrJeJ3HSYwSp0Qsystem)(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_ = alloc_4cubgSerkjpuLcj5MXjiLw(((NI) ((NI)((*s).cap * ((NI) 4)))));
		d = ((tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g**) (T5_));
		copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) (d)), ((void*) ((*s).d)), ((NI) ((NI)((*s).len * ((NI) 4)))));
		dealloc_RCjNtRnHdRYntrcE7YtwWw(((void*) ((*s).d)));
		(*s).d = d;
	}
	LA3_: ;
	(*s).d[((*s).len)- 0] = c;
	(*s).len += ((NI) 1);
}

N_LIB_PRIVATE N_NOINLINE(void, addZCT_fCDI7oO1NNVXXURtxSzsRw)(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_Wcf8r6MCjrJeJ3HSYwSp0Qsystem(s, c);
	}
	LA3_: ;
}

static N_INLINE(void, rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	addZCT_fCDI7oO1NNVXXURtxSzsRw((&gch_IcYaEuuWivYAS86vFMTS3Q.zct), c);
}

static N_INLINE(void, decRef_MV4BBk6J1qu70IbBxwEn4wsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3_;
		rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system(c);
	}
	LA3_: ;
}

N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src) {
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = isOnStack_dJJW59cIgsBmT59aZrOM71Mg(((void*) (dest)));
		if (!!(T3_)) goto LA4_;
		{
			tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T10_;
			if (!!((src == NIM_NIL))) goto LA8_;
			T10_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
			T10_ = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(src);
			incRef_9cAA5YuQAAC3MVbnGeV86swsystem(T10_);
		}
		LA8_: ;
		{
			tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T15_;
			if (!((NU32)(((NI) 4096)) <= (NU32)(((NI) (ptrdiff_t) ((*dest)))))) goto LA13_;
			T15_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
			T15_ = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem((*dest));
			decRef_MV4BBk6J1qu70IbBxwEn4wsystem(T15_);
		}
		LA13_: ;
	}
	goto LA1_;
	LA4_: ;
	{
	}
	LA1_: ;
	(*dest) = src;
}

N_LIB_PRIVATE N_NIMCALL(NI, getDiscriminant_MBlSP9aCmxWSBuDOxawp8Sg)(void* aa, TNimNode* n) {
	NI result;
	NI d;
	NI a;
{	result = (NI)0;
	d = (NI)0;
	a = ((NI) (ptrdiff_t) (aa));
	switch ((*(*n).typ).size) {
	case ((NI) 1):
	{
		d = ((NI)(NU)(NU8)((*((NI8*) ((NI)((NU32)(a) + (NU32)((*n).offset)))))));
	}
	break;
	case ((NI) 2):
	{
		d = ((NI)(NU)(NU16)((*((NI16*) ((NI)((NU32)(a) + (NU32)((*n).offset)))))));
	}
	break;
	case ((NI) 4):
	{
		d = ((NI) ((*((NI32*) ((NI)((NU32)(a) + (NU32)((*n).offset)))))));
	}
	break;
	case ((NI) 8):
	{
		d = ((NI) ((*((NI64*) ((NI)((NU32)(a) + (NU32)((*n).offset)))))));
	}
	break;
	default:
	{
	}
	break;
	}
	result = d;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(TNimNode*, selectBranch_yDNUA0V9a9a9bVLtZ9bXPT0aEg)(void* aa, TNimNode* n) {
	TNimNode* result;
	NI discr;
	result = (TNimNode*)0;
	discr = getDiscriminant_MBlSP9aCmxWSBuDOxawp8Sg(aa, n);
	{
		if (!((NU32)(discr) < (NU32)((*n).len))) goto LA3_;
		result = (*n).sons[(discr)- 0];
		{
			if (!(result == 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, genericResetAux_ruA1rosalqf8AhzZPPTBQg)(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):
	{
		genericReset(((void*) ((NI)((NU32)(d) + (NU32)((*n).offset)))), (*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 LA6;
					i = res;
					genericResetAux_ruA1rosalqf8AhzZPPTBQg(dest, (*n).sons[(i)- 0]);
					res += ((NI) 1);
				} LA6: ;
			}
		}
	}
	break;
	case ((tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ) 3):
	{
		TNimNode* m;
		m = selectBranch_yDNUA0V9a9a9bVLtZ9bXPT0aEg(dest, n);
		{
			if (!!((m == NIM_NIL))) goto LA10_;
			genericResetAux_ruA1rosalqf8AhzZPPTBQg(dest, m);
		}
		LA10_: ;
		zeroMem_7EL8Zq3xF2ujDWgp3bAEogsystem(((void*) ((NI)((NU32)(d) + (NU32)((*n).offset)))), ((NI) ((*(*n).typ).size)));
	}
	break;
	}
}

N_NIMCALL(void, genericReset)(void* dest, TNimType* mt) {
	NI d;
	d = ((NI) (ptrdiff_t) (dest));
	switch ((*mt).kind) {
	case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 28):
	case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 22):
	case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 45):
	case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 24):
	{
		unsureAsgnRef(((void**) (dest)), NIM_NIL);
	}
	break;
	case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 18):
	{
		genericResetAux_ruA1rosalqf8AhzZPPTBQg(dest, (*mt).node);
	}
	break;
	case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 17):
	{
		TNimType** pint;
		genericResetAux_ruA1rosalqf8AhzZPPTBQg(dest, (*mt).node);
		pint = ((TNimType**) (dest));
		(*pint) = 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) {
					if (!(res <= colontmp_)) goto LA7;
					i = res;
					genericReset(((void*) ((NI)((NU32)(d) + (NU32)((NI)((NU32)(i) * (NU32)((*(*mt).base).size)))))), (*mt).base);
					res += ((NI) 1);
				} LA7: ;
			}
		}
	}
	break;
	default:
	{
		zeroMem_7EL8Zq3xF2ujDWgp3bAEogsystem(dest, ((NI) ((*mt).size)));
	}
	break;
	}
}

static N_INLINE(void, initAllocator_IZ2oOmqdsYQ7vixQGKSDcAsystem)(void) {
}

N_LIB_PRIVATE N_NIMCALL(void, setPosition_plJQLEbXvFqZv6Phpo1t1w)(tyObject_GcStack_7fytPA5bBsob6See21YMRA* stack, void* position) {
}

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_plJQLEbXvFqZv6Phpo1t1w((&gch_IcYaEuuWivYAS86vFMTS3Q.stack), theStackBottom);
}

static N_INLINE(void, initStackBottom)(void) {
	void* volatile locals;
	locals = (void*)0;
	locals = ((void*) ((&locals)));
	nimGC_setStackBottom(locals);
}

N_LIB_PRIVATE N_NIMCALL(void*, alloc0_WDxgSWQ1mSIerfvC0kmUtg_2)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* allocator, NI size) {
	void* result;
	result = (void*)0;
	result = alloc_WDxgSWQ1mSIerfvC0kmUtg(allocator, size);
	zeroMem_7EL8Zq3xF2ujDWgp3bAEogsystem(result, size);
	return result;
}

N_LIB_PRIVATE N_NOCONV(void*, alloc0_4cubgSerkjpuLcj5MXjiLw_2)(NI size) {
	void* result;
	result = (void*)0;
	result = alloc0_WDxgSWQ1mSIerfvC0kmUtg_2((&gch_IcYaEuuWivYAS86vFMTS3Q.region), size);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, init_E1QNZGuo0DGFXyt4Y3MfqA)(tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w* s, NI cap) {
	void* T1_;
	(*s).len = ((NI) 0);
	(*s).cap = cap;
	T1_ = (void*)0;
	T1_ = alloc0_4cubgSerkjpuLcj5MXjiLw_2(((NI) ((NI)(cap * ((NI) 4)))));
	(*s).d = ((tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g**) (T1_));
}

N_LIB_PRIVATE N_NIMCALL(void, init_WHgd5C59bkXWDz3vnAxfzXQ)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* s) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = alloc0_4cubgSerkjpuLcj5MXjiLw_2(((NI) 4096));
	(*s).data = ((tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg**) (T1_));
	(*s).max = ((NI) 1023);
	(*s).counter = ((NI) 0);
	(*s).head = NIM_NIL;
}

static N_INLINE(NI, atomicInc_z4A2GBHreJM5Dq9aEBQ9cQUQsystem)(NI* memLoc, NI x) {
	NI result;
	result = (NI)0;
	(*memLoc) += x;
	result = (*memLoc);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, initGC_njssp69aa7hvxte9bJ8uuDcg)(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_E1QNZGuo0DGFXyt4Y3MfqA((&gch_IcYaEuuWivYAS86vFMTS3Q.zct), ((NI) 1024));
	init_E1QNZGuo0DGFXyt4Y3MfqA((&gch_IcYaEuuWivYAS86vFMTS3Q.tempStack), ((NI) 1024));
	init_E1QNZGuo0DGFXyt4Y3MfqA((&gch_IcYaEuuWivYAS86vFMTS3Q.decStack), ((NI) 1024));
	init_WHgd5C59bkXWDz3vnAxfzXQ((&gch_IcYaEuuWivYAS86vFMTS3Q.marked));
	init_E1QNZGuo0DGFXyt4Y3MfqA((&gch_IcYaEuuWivYAS86vFMTS3Q.additionalRoots), ((NI) 1024));
	T1_ = (NI)0;
	T1_ = atomicInc_z4A2GBHreJM5Dq9aEBQ9cQUQsystem((&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(NI, nextTry_GRX2KbRyW3mlDDFEU50uhwsystem)(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_wqizyapnzNjHA3SIFqE8ow)(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)- 0] == NIM_NIL))) goto LA2;
			h = nextTry_GRX2KbRyW3mlDDFEU50uhwsystem(h, t.max);
		} LA2: ;
	}
	data[(h)- 0] = desc;
}

N_LIB_PRIVATE N_NIMCALL(void, cellSetEnlarge_ZCqaZEiX9aUtDCRoknrJ9bpQ)(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_ = alloc0_4cubgSerkjpuLcj5MXjiLw_2(((NI) ((NI)((NI)((*t).max + ((NI) 1)) * ((NI) 4)))));
	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)- 0] == NIM_NIL))) goto LA7_;
					cellSetRawInsert_wqizyapnzNjHA3SIFqE8ow((*t), n, (*t).data[(i)- 0]);
				}
				LA7_: ;
				res += ((NI) 1);
			} LA4: ;
		}
	}
	dealloc_RCjNtRnHdRYntrcE7YtwWw(((void*) ((*t).data)));
	(*t).data = n;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg*, cellSetPut_mFUFZ7eVLRT9bMaHzrsxFrQ)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* t, NI 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)- 0];
			{
				if (!(x == NIM_NIL)) goto LA5_;
				goto LA1;
			}
			LA5_: ;
			{
				if (!((*x).key == key)) goto LA9_;
				result = x;
				goto BeforeRet_;
			}
			LA9_: ;
			h = nextTry_GRX2KbRyW3mlDDFEU50uhwsystem(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_ZCqaZEiX9aUtDCRoknrJ9bpQ(t);
	}
	LA15_: ;
	(*t).counter += ((NI) 1);
	h = (NI)(((NI) (key)) & (*t).max);
	{
		while (1) {
			if (!!(((*t).data[(h)- 0] == NIM_NIL))) goto LA18;
			h = nextTry_GRX2KbRyW3mlDDFEU50uhwsystem(h, (*t).max);
		} LA18: ;
	}
	T19_ = (void*)0;
	T19_ = alloc0_4cubgSerkjpuLcj5MXjiLw_2(((NI) (((NI)sizeof(tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg)))));
	result = ((tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg*) (T19_));
	(*result).next = (*t).head;
	(*result).key = key;
	(*t).head = result;
	(*t).data[(h)- 0] = result;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NOINLINE(void, incl_m4q9b16kJJcoKe9c4ERtlpCg)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* cell) {
	NI u;
	tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* t;
	u = ((NI) (ptrdiff_t) (cell));
	t = cellSetPut_mFUFZ7eVLRT9bMaHzrsxFrQ(s, (NI)((NU32)(u) >> (NU32)(((NI) 12))));
	u = (NI)((NU32)((NI)((NU32)(u) % (NU32)(((NI) 4096)))) / (NU32)(((NI) 8)));
	(*t).bits[((NI)((NU32)(u) >> (NU32)(((NI) 5))))- 0] = (NI)((*t).bits[((NI)((NU32)(u) >> (NU32)(((NI) 5))))- 0] | (NI)((NU32)(((NI) 1)) << (NU32)((NI)(u & ((NI) 31)))));
}

static N_INLINE(void*, cellToUsr_vA0UG8JLZvpzP1Xf3vkPgwsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* cell) {
	void* result;
	result = (void*)0;
	result = ((void*) ((NI)((NU32)(((NI) (ptrdiff_t) (cell))) + (NU32)(((NI)sizeof(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g))))));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, forAllSlotsAux_yZE4CUR3NNCoSMnkWbtJrQ)(void* dest, TNimNode* n, tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ op) {
	NI d;
	d = ((NI) (ptrdiff_t) (dest));
	switch ((*n).kind) {
	case ((tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ) 1):
	{
		forAllChildrenAux_7ozEvYoq4I7fwvXfiSWM9aA(((void*) ((NI)((NU32)(d) + (NU32)((*n).offset)))), (*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 LA5;
					i = res;
					{
						if (!((*(*n).sons[(i)- 0]).kind == ((tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ) 1))) goto LA8_;
						{
							if (!((*(*(*n).sons[(i)- 0]).typ).kind == ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 22) || (*(*(*n).sons[(i)- 0]).typ).kind == ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 45) || (*(*(*n).sons[(i)- 0]).typ).kind == ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 28) || (*(*(*n).sons[(i)- 0]).typ).kind == ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 24))) goto LA12_;
							doOperation_3F8QeaTyYrJJF2gjBr6b8A((*((void**) ((NI)((NU32)(d) + (NU32)((*(*n).sons[(i)- 0]).offset))))), op);
						}
						goto LA10_;
						LA12_: ;
						{
							forAllChildrenAux_7ozEvYoq4I7fwvXfiSWM9aA(((void*) ((NI)((NU32)(d) + (NU32)((*(*n).sons[(i)- 0]).offset)))), (*(*n).sons[(i)- 0]).typ, op);
						}
						LA10_: ;
					}
					goto LA6_;
					LA8_: ;
					{
						forAllSlotsAux_yZE4CUR3NNCoSMnkWbtJrQ(dest, (*n).sons[(i)- 0], op);
					}
					LA6_: ;
					res += ((NI) 1);
				} LA5: ;
			}
		}
	}
	break;
	case ((tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ) 3):
	{
		TNimNode* m;
		m = selectBranch_yDNUA0V9a9a9bVLtZ9bXPT0aEg(dest, n);
		{
			if (!!((m == NIM_NIL))) goto LA19_;
			forAllSlotsAux_yZE4CUR3NNCoSMnkWbtJrQ(dest, m, op);
		}
		LA19_: ;
	}
	break;
	case ((tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ) 0):
	{
	}
	break;
	}
}

N_LIB_PRIVATE N_NIMCALL(void, forAllChildrenAux_7ozEvYoq4I7fwvXfiSWM9aA)(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 &(1U<<((NU)(((tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ) 0))&7U)))!=0))) goto LA7_;
		switch ((*mt).kind) {
		case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 22):
		case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 45):
		case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 28):
		case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 24):
		{
			doOperation_3F8QeaTyYrJJF2gjBr6b8A((*((void**) (d))), op);
		}
		break;
		case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 17):
		case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 18):
		{
			forAllSlotsAux_yZE4CUR3NNCoSMnkWbtJrQ(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) {
						if (!(res <= colontmp_)) goto LA14;
						i = res;
						forAllChildrenAux_7ozEvYoq4I7fwvXfiSWM9aA(((void*) ((NI)((NU32)(d) + (NU32)((NI)((NU32)(i) * (NU32)((*(*mt).base).size)))))), (*mt).base, op);
						res += ((NI) 1);
					} LA14: ;
				}
			}
		}
		break;
		default:
		{
		}
		break;
		}
	}
	LA7_: ;
	}BeforeRet_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, forAllChildren_yHFnLgI7q81iFxRlb3Iqlw)(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_vA0UG8JLZvpzP1Xf3vkPgwsystem(cell);
		marker(T5_, ((NI) (op)));
	}
	goto LA1_;
	LA3_: ;
	{
		switch ((*(*cell).typ).kind) {
		case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 22):
		case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 45):
		{
			void* T8_;
			T8_ = (void*)0;
			T8_ = cellToUsr_vA0UG8JLZvpzP1Xf3vkPgwsystem(cell);
			forAllChildrenAux_7ozEvYoq4I7fwvXfiSWM9aA(T8_, (*(*cell).typ).base, op);
		}
		break;
		case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 24):
		{
			NI d;
			void* T10_;
			TGenericSeq* s;
			T10_ = (void*)0;
			T10_ = cellToUsr_vA0UG8JLZvpzP1Xf3vkPgwsystem(cell);
			d = ((NI) (ptrdiff_t) (T10_));
			s = ((TGenericSeq*) (d));
			{
				if (!!((s == 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) {
							if (!(res <= colontmp_)) goto LA17;
							i = res;
							forAllChildrenAux_7ozEvYoq4I7fwvXfiSWM9aA(((void*) ((NI)((NU32)((NI)((NU32)(d) + (NU32)((NI)((NU32)(i) * (NU32)((*(*(*cell).typ).base).size))))) + (NU32)(((NI) 8))))), (*(*cell).typ).base, op);
							res += ((NI) 1);
						} LA17: ;
					}
				}
			}
			LA13_: ;
		}
		break;
		default:
		{
		}
		break;
		}
	}
	LA1_: ;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg*, cellSetGet_X4WTfs0wkld8wp8XcE9b8BA)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ t, NI key) {
	tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* result;
	NI h;
{	result = (tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg*)0;
	h = (NI)(((NI) (key)) & t.max);
	{
		while (1) {
			if (!!((t.data[(h)- 0] == NIM_NIL))) goto LA2;
			{
				if (!((*t.data[(h)- 0]).key == key)) goto LA5_;
				result = t.data[(h)- 0];
				goto BeforeRet_;
			}
			LA5_: ;
			h = nextTry_GRX2KbRyW3mlDDFEU50uhwsystem(h, t.max);
		} LA2: ;
	}
	result = NIM_NIL;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl_CbGEjIBKJIi7knlaDzUluA)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* cell) {
	NIM_BOOL result;
	NI u;
	tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* t;
	result = (NIM_BOOL)0;
	u = ((NI) (ptrdiff_t) (cell));
	t = cellSetGet_X4WTfs0wkld8wp8XcE9b8BA((*s), (NI)((NU32)(u) >> (NU32)(((NI) 12))));
	{
		if (!!((t == NIM_NIL))) goto LA3_;
		u = (NI)((NU32)((NI)((NU32)(u) % (NU32)(((NI) 4096)))) / (NU32)(((NI) 8)));
		result = !(((NI)((*t).bits[((NI)((NU32)(u) >> (NU32)(((NI) 5))))- 0] & (NI)((NU32)(((NI) 1)) << (NU32)((NI)(u & ((NI) 31))))) == ((NI) 0)));
		{
			if (!!(result)) goto LA7_;
			(*t).bits[((NI)((NU32)(u) >> (NU32)(((NI) 5))))- 0] = (NI)((*t).bits[((NI)((NU32)(u) >> (NU32)(((NI) 5))))- 0] | (NI)((NU32)(((NI) 1)) << (NU32)((NI)(u & ((NI) 31)))));
		}
		LA7_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		incl_m4q9b16kJJcoKe9c4ERtlpCg(s, cell);
		result = NIM_FALSE;
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, markS_NZr5o3Ubzrci4OmK29cHBJA)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	incl_m4q9b16kJJcoKe9c4ERtlpCg((&(*gch).marked), c);
	forAllChildren_yHFnLgI7q81iFxRlb3Iqlw(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)- 0];
			{
				NIM_BOOL T5_;
				T5_ = (NIM_BOOL)0;
				T5_ = containsOrIncl_CbGEjIBKJIi7knlaDzUluA((&(*gch).marked), d);
				if (!!(T5_)) goto LA6_;
				forAllChildren_yHFnLgI7q81iFxRlb3Iqlw(d, ((tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ) 1));
			}
			LA6_: ;
		} LA2: ;
	}
}

N_LIB_PRIVATE N_NIMCALL(void, doOperation_3F8QeaTyYrJJF2gjBr6b8A)(void* p, tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ op) {
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c;
{	{
		if (!(p == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	c = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(p);
	switch (op) {
	case ((tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ) 2):
	{
		decRef_MV4BBk6J1qu70IbBxwEn4wsystem(c);
	}
	break;
	case ((tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ) 3):
	{
		add_Wcf8r6MCjrJeJ3HSYwSp0Qsystem((&gch_IcYaEuuWivYAS86vFMTS3Q.tempStack), c);
	}
	break;
	case ((tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ) 0):
	{
		markS_NZr5o3Ubzrci4OmK29cHBJA((&gch_IcYaEuuWivYAS86vFMTS3Q), c);
	}
	break;
	case ((tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ) 1):
	{
		add_Wcf8r6MCjrJeJ3HSYwSp0Qsystem((&gch_IcYaEuuWivYAS86vFMTS3Q.tempStack), c);
	}
	break;
	}
	}BeforeRet_: ;
}

N_NIMCALL(void, nimGCvisit)(void* d, NI op) {
	doOperation_3F8QeaTyYrJJF2gjBr6b8A(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_17)(void) {
	nimGCvisit((void*)currException_9bVPeDJlYTi9bQApZpfH8wjg, 0);
}

N_NIMCALL(void, nimRegisterThreadLocalMarker)(tyProc_T4eqaYlFJYZUv9aG9b1TV0bQ markerProc) {
	{
		if (!(threadLocalMarkersLen_0RZOktgt14ljJsHMSX0iCw <= ((NI) 3499))) goto LA3_;
		threadLocalMarkers_pC47Nqd8F629cuTchphM5YA[(threadLocalMarkersLen_0RZOktgt14ljJsHMSX0iCw)- 0] = markerProc;
		threadLocalMarkersLen_0RZOktgt14ljJsHMSX0iCw += ((NI) 1);
	}
	goto LA1_;
	LA3_: ;
	{
		echoBinSafe(TM_Q5wkpxktOdTGvlSRo9bzt9aw_18, 1);
		exit(((NI) 1));
	}
	LA1_: ;
}

static N_INLINE(NI, getOccupiedMem_61WxanWSOmDDV2uI7O10dQsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a) {
	NI result;
	result = (NI)0;
	result = (*a).occ;
	return result;
}

N_LIB_PRIVATE N_NOINLINE(NI, stackSize_61foY5fGmU9c2fC9c6wRIsrA)(tyObject_GcStack_7fytPA5bBsob6See21YMRA* stack) {
	NI result;
	void* volatile pos;
	result = (NI)0;
	pos = (void*)0;
	pos = ((void*) ((&pos)));
	{
		if (!!((pos == NIM_NIL))) goto LA3_;
		result = (NI)((NU32)(((NI) (ptrdiff_t) ((*stack).bottom))) - (NU32)(((NI) (ptrdiff_t) (pos))));
	}
	goto LA1_;
	LA3_: ;
	{
		result = ((NI) 0);
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NOINLINE(NI, stackSize_IV9bgfYkinlae0WZ2NZi5JA)(void) {
	NI result;
	result = (NI)0;
	{
		tyObject_GcStack_7fytPA5bBsob6See21YMRA* stack;
		NI T2_;
		stack = (tyObject_GcStack_7fytPA5bBsob6See21YMRA*)0;
		stack = (&gch_IcYaEuuWivYAS86vFMTS3Q.stack);
		T2_ = (NI)0;
		T2_ = stackSize_61foY5fGmU9c2fC9c6wRIsrA(stack);
		result = (NI)(result + T2_);
	}
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NI, lowGauge_3mwQtFaBTgevFrybZdgUNw)(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_3mwQtFaBTgevFrybZdgUNw_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_Zqr3EQAAcehIfp3uSECEuQsystem)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a) {
	(*a).minLargeObj = lowGauge_3mwQtFaBTgevFrybZdgUNw((*a).root);
	(*a).maxLargeObj = highGauge_3mwQtFaBTgevFrybZdgUNw_2((*a).root);
}

N_LIB_PRIVATE N_NIMCALL(void, setPosition_kuKlONPws1O0vpPB9adzcQw)(tyObject_GcStack_7fytPA5bBsob6See21YMRA* stack, void* position) {
}

N_LIB_PRIVATE N_NIMCALL(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw*, inRange_Bc4Ua6HOMCIDGx9b15HSY4g)(tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* root, NI key) {
	tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* result;
	tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* it;
{	result = (tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw*)0;
	it = root;
	{
		while (1) {
			if (!!(((*it).link[(((NI) 0))- 0] == it))) goto LA2;
			{
				NIM_BOOL T5_;
				T5_ = (NIM_BOOL)0;
				T5_ = ((NU32)((*it).key) <= (NU32)(key));
				if (!(T5_)) goto LA6_;
				T5_ = ((NU32)(key) < (NU32)((*it).upperBound));
				LA6_: ;
				if (!T5_) goto LA7_;
				result = it;
				goto BeforeRet_;
			}
			LA7_: ;
			it = (*it).link[(((NU32)((*it).key) < (NU32)(key)))- 0];
		} LA2: ;
	}
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void*, interiorAllocatedPtr_N7XNyRgfMLnCjS9bVeVc3bA)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* a, void* p) {
	void* result;
	result = (void*)0;
	{
		NIM_BOOL T3_;
		tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* c;
		T3_ = (NIM_BOOL)0;
		T3_ = isAccessible_5nqar3kL9acJcissrFLDdkwsystem(a, p);
		if (!T3_) goto LA4_;
		c = pageAddr_4uti7hTxTUDxUPqFMgMvHAsystem(p);
		{
			NIM_BOOL T8_;
			T8_ = (NIM_BOOL)0;
			T8_ = chunkUnused_xxNWShoyEPMUVN7FvfpDjw_2system(c);
			if (!!(T8_)) goto LA9_;
			{
				NIM_BOOL T13_;
				tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* c_2;
				NI offset;
				T13_ = (NIM_BOOL)0;
				T13_ = isSmallChunk_xxNWShoyEPMUVN7FvfpDjwsystem(c);
				if (!T13_) goto LA14_;
				c_2 = ((tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ*) (c));
				offset = (NI)((NU32)((NI)(((NI) (ptrdiff_t) (p)) & ((NI) 4095))) - (NU32)((NI)(((NI)sizeof(tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ)) - ((NI) 8))));
				{
					tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ* d;
					if (!((NU32)(offset) < (NU32)((*c_2).acc))) goto LA18_;
					d = ((tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ*) ((NI)((NU32)((NI)((NU32)(((NI) (ptrdiff_t) ((&(*c_2).data)))) + (NU32)(offset))) - (NU32)((NI)((NU32)(offset) % (NU32)((*c_2).Sup.size))))));
					{
						if (!((NU32)(((NI) 1)) < (NU32)((*d).zeroField))) goto LA22_;
						result = ((void*) (d));
					}
					LA22_: ;
				}
				LA18_: ;
			}
			goto LA11_;
			LA14_: ;
			{
				tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c_3;
				NF* d_2;
				c_3 = ((tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*) (c));
				d_2 = (&(*c_3).data);
				{
					NIM_BOOL T27_;
					T27_ = (NIM_BOOL)0;
					T27_ = (((void*) (d_2)) <= p);
					if (!(T27_)) goto LA28_;
					T27_ = ((NU32)(((NI) 1)) < (NU32)((*((tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ*) (d_2))).zeroField));
					LA28_: ;
					if (!T27_) goto LA29_;
					result = ((void*) (d_2));
				}
				LA29_: ;
			}
			LA11_: ;
		}
		LA9_: ;
	}
	goto LA1_;
	LA4_: ;
	{
		NI q;
		q = ((NI) (ptrdiff_t) (p));
		{
			NIM_BOOL T34_;
			tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* avlNode;
			T34_ = (NIM_BOOL)0;
			T34_ = ((NU32)((*a).minLargeObj) <= (NU32)(q));
			if (!(T34_)) goto LA35_;
			T34_ = ((NU32)(q) <= (NU32)((*a).maxLargeObj));
			LA35_: ;
			if (!T34_) goto LA36_;
			avlNode = inRange_Bc4Ua6HOMCIDGx9b15HSY4g((*a).root, q);
			{
				void* k;
				tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c_4;
				tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* T42_;
				if (!!((avlNode == NIM_NIL))) goto LA40_;
				k = ((void*) ((*avlNode).key));
				T42_ = (tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*)0;
				T42_ = pageAddr_4uti7hTxTUDxUPqFMgMvHAsystem(k);
				c_4 = ((tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*) (T42_));
				{
					if (!((NU32)(((NI) 1)) < (NU32)((*((tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ*) (k))).zeroField))) goto LA45_;
					result = k;
				}
				LA45_: ;
			}
			LA40_: ;
		}
		LA36_: ;
	}
	LA1_: ;
	return result;
}

static N_INLINE(void, gcMark_JLiT51Zk6OLnaexGSTHHEQsystem)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch, void* p) {
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* cell;
	NI c;
	cell = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(p);
	c = ((NI) (ptrdiff_t) (cell));
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* objStart;
		void* T5_;
		if (!((NU32)(((NI) 4096)) < (NU32)(c))) goto LA3_;
		T5_ = (void*)0;
		T5_ = interiorAllocatedPtr_N7XNyRgfMLnCjS9bVeVc3bA((&(*gch).region), ((void*) (cell)));
		objStart = ((tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*) (T5_));
		{
			if (!!((objStart == NIM_NIL))) goto LA8_;
			(*objStart).refcount = (NI)((NU32)((*objStart).refcount) + (NU32)(((NI) 8)));
			add_Wcf8r6MCjrJeJ3HSYwSp0Qsystem((&(*gch).decStack), objStart);
		}
		LA8_: ;
	}
	LA3_: ;
}

CLANG_NO_SANITIZE_ADDRESS void markStackAndRegisters_LdwvBL9bC9c0lik7K9bau9bX0Q(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	jmp_buf registers;
	tyObject_GcStack_7fytPA5bBsob6See21YMRA* T1_;
	T1_ = (tyObject_GcStack_7fytPA5bBsob6See21YMRA*)0;
	T1_ = getActiveStack_2XtoPjgvlHPkHLitAW2flw(gch);
	setPosition_kuKlONPws1O0vpPB9adzcQw(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) -4));
			{
				while (1) {
					if (!((NU32)(sp) < (NU32)((NI)(max - ((NI) 32))))) goto LA9;
					gcMark_JLiT51Zk6OLnaexGSTHHEQsystem(gch, ((void**) (sp))[(((NI) 0))- 0]);
					gcMark_JLiT51Zk6OLnaexGSTHHEQsystem(gch, ((void**) (sp))[(((NI) 1))- 0]);
					gcMark_JLiT51Zk6OLnaexGSTHHEQsystem(gch, ((void**) (sp))[(((NI) 2))- 0]);
					gcMark_JLiT51Zk6OLnaexGSTHHEQsystem(gch, ((void**) (sp))[(((NI) 3))- 0]);
					gcMark_JLiT51Zk6OLnaexGSTHHEQsystem(gch, ((void**) (sp))[(((NI) 4))- 0]);
					gcMark_JLiT51Zk6OLnaexGSTHHEQsystem(gch, ((void**) (sp))[(((NI) 5))- 0]);
					gcMark_JLiT51Zk6OLnaexGSTHHEQsystem(gch, ((void**) (sp))[(((NI) 6))- 0]);
					gcMark_JLiT51Zk6OLnaexGSTHHEQsystem(gch, ((void**) (sp))[(((NI) 7))- 0]);
					sp = (NI)((NU32)(sp) + (NU32)(((NI) 32)));
				} LA9: ;
			}
			{
				while (1) {
					if (!((NU32)(sp) <= (NU32)(max))) goto LA11;
					gcMark_JLiT51Zk6OLnaexGSTHHEQsystem(gch, (*((void**) (sp))));
					sp = (NI)((NU32)(sp) + (NU32)(((NI) 4)));
				} LA11: ;
			}
		}
	}
	LA5_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, prepareDealloc_0Ao1u9cpV0dTuUB5G9cEQ8eQ)(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_vA0UG8JLZvpzP1Xf3vkPgwsystem(cell);
		((Finalizer) ((*t).finalizer))(T5_);
		gch_IcYaEuuWivYAS86vFMTS3Q.recGcLock -= ((NI) 1);
	}
	LA3_: ;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, collectZCT_evVbQ9bNF7LYMhoG9aWXu9bKw)(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))- 0];
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			(*gch).zct.d[(((NI) 0))- 0] = (*gch).zct.d[((NI)((*L) - ((NI) 1)))- 0];
			(*L) -= ((NI) 1);
			{
				if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA5_;
				prepareDealloc_0Ao1u9cpV0dTuUB5G9cEQ8eQ(c);
				forAllChildren_yHFnLgI7q81iFxRlb3Iqlw(c, ((tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ) 2));
				rawDealloc_DA62HrGC5sdfCED505KyyQ((&(*gch).region), ((void*) (c)));
			}
			LA5_: ;
		} LA2: ;
	}
	result = NIM_TRUE;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, deinit_WHgd5C59bkXWDz3vnAxfzXQ_3)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* s) {
	tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* it;
	it = (*s).head;
	{
		while (1) {
			tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* n;
			if (!!((it == NIM_NIL))) goto LA2;
			n = (*it).next;
			dealloc_RCjNtRnHdRYntrcE7YtwWw(((void*) (it)));
			it = n;
		} LA2: ;
	}
	(*s).head = NIM_NIL;
	dealloc_RCjNtRnHdRYntrcE7YtwWw(((void*) ((*s).data)));
	(*s).data = NIM_NIL;
	(*s).counter = ((NI) 0);
}

N_LIB_PRIVATE N_NIMCALL(void, cellsetReset_WHgd5C59bkXWDz3vnAxfzXQ_2)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ* s) {
	deinit_WHgd5C59bkXWDz3vnAxfzXQ_3(s);
	init_WHgd5C59bkXWDz3vnAxfzXQ(s);
}

N_LIB_PRIVATE N_NIMCALL(void, markGlobals_zoTIuavlrCHyw3B8MBaLJA_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_hgEFy3UCOBoalBh29asu5MA - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					if (!(res <= colontmp_)) goto LA7;
					i = res;
					globalMarkers_5ghwSgpo9cT9bT7YStQDJHVQ[(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_0RZOktgt14ljJsHMSX0iCw - ((NI) 1));
		res_2 = ((NI) 0);
		{
			while (1) {
				if (!(res_2 <= colontmp__2)) goto LA10;
				i_2 = res_2;
				threadLocalMarkers_pC47Nqd8F629cuTchphM5YA[(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_NZr5o3Ubzrci4OmK29cHBJA(gch, d[(i_3)- 0]);
				res_3 += ((NI) 1);
			} LA13: ;
		}
	}
}

static N_INLINE(NIM_BOOL, isCell_CkuKXXC4hAqaVj8vwjANDAsystem)(void* p) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = ((NU32)(((NI) 1)) < (NU32)((*((tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ*) (p))).zeroField));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains_9c4TZ2Zl3sU4TUeK9bR8E9ciw)(tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* cell) {
	NIM_BOOL result;
	NI u;
	tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* t;
	result = (NIM_BOOL)0;
	u = ((NI) (ptrdiff_t) (cell));
	t = cellSetGet_X4WTfs0wkld8wp8XcE9b8BA(s, (NI)((NU32)(u) >> (NU32)(((NI) 12))));
	{
		if (!!((t == NIM_NIL))) goto LA3_;
		u = (NI)((NU32)((NI)((NU32)(u) % (NU32)(((NI) 4096)))) / (NU32)(((NI) 8)));
		result = !(((NI)((*t).bits[((NI)((NU32)(u) >> (NU32)(((NI) 5))))- 0] & (NI)((NU32)(((NI) 1)) << (NU32)((NI)(u & ((NI) 31))))) == ((NI) 0)));
	}
	goto LA1_;
	LA3_: ;
	{
		result = NIM_FALSE;
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, freeCyclicCell_NZr5o3Ubzrci4OmK29cHBJA_2)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	prepareDealloc_0Ao1u9cpV0dTuUB5G9cEQ8eQ(c);
	rawDealloc_DA62HrGC5sdfCED505KyyQ((&(*gch).region), ((void*) (c)));
}

N_LIB_PRIVATE N_NIMCALL(void, sweep_zoTIuavlrCHyw3B8MBaLJA_5)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	{
		void* x;
		x = (void*)0;
		(*gch).region.locked = NIM_TRUE;
		{
			NI s;
			tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA colontmp_;
			s = (NI)0;
			nimZeroMem((void*)(&colontmp_), sizeof(tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA));
			colontmp_ = (*gch).region.chunkStarts;
			{
				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 = colontmp_.data[(h)- 0];
						{
							while (1) {
								NI i;
								if (!!((r == NIM_NIL))) goto LA7;
								i = ((NI) 0);
								{
									while (1) {
										NI w;
										NI j;
										if (!(i <= ((NI) 15))) goto LA9;
										w = (*r).bits[(i)- 0];
										j = ((NI) 0);
										{
											while (1) {
												if (!!((w == ((NI) 0)))) goto LA11;
												{
													if (!!(((NI)(w & ((NI) 1)) == ((NI) 0)))) goto LA14_;
													s = (NI)((NI)((NU32)((*r).key) << (NU32)(((NI) 9))) | (NI)((NU32)((NI)((NU32)(i) << (NU32)(((NI) 5)))) + (NU32)(j)));
													{
														NIM_BOOL T18_;
														tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* c;
														T18_ = (NIM_BOOL)0;
														T18_ = contains_tGsWrN4DY41H9btt3FhjrNA((&(*gch).region.chunkStarts), s);
														if (!T18_) goto LA19_;
														c = ((tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w*) ((NI)((NU32)(s) << (NU32)(((NI) 12)))));
														{
															NIM_BOOL T23_;
															T23_ = (NIM_BOOL)0;
															T23_ = chunkUnused_xxNWShoyEPMUVN7FvfpDjw_2system(c);
															if (!!(T23_)) goto LA24_;
															{
																NIM_BOOL T28_;
																tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* c_2;
																NI size;
																NI a;
																NI limit;
																T28_ = (NIM_BOOL)0;
																T28_ = isSmallChunk_xxNWShoyEPMUVN7FvfpDjwsystem(c);
																if (!T28_) goto LA29_;
																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) {
																		if (!((NU32)(a) < (NU32)(limit))) goto LA32;
																		x = ((void*) (a));
																		{
																			NIM_BOOL T35_;
																			tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c_3;
																			T35_ = (NIM_BOOL)0;
																			T35_ = isCell_CkuKXXC4hAqaVj8vwjANDAsystem(x);
																			if (!T35_) goto LA36_;
																			c_3 = ((tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*) (x));
																			{
																				NIM_BOOL T40_;
																				T40_ = (NIM_BOOL)0;
																				T40_ = contains_9c4TZ2Zl3sU4TUeK9bR8E9ciw((*gch).marked, c_3);
																				if (!!(T40_)) goto LA41_;
																				freeCyclicCell_NZr5o3Ubzrci4OmK29cHBJA_2(gch, c_3);
																			}
																			LA41_: ;
																		}
																		LA36_: ;
																		a = (NI)((NU32)(a) + (NU32)(size));
																	} LA32: ;
																}
															}
															goto LA26_;
															LA29_: ;
															{
																tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* c_4;
																c_4 = ((tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg*) (c));
																x = ((void*) ((&(*c_4).data)));
																{
																	NIM_BOOL T46_;
																	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c_5;
																	T46_ = (NIM_BOOL)0;
																	T46_ = isCell_CkuKXXC4hAqaVj8vwjANDAsystem(x);
																	if (!T46_) goto LA47_;
																	c_5 = ((tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*) (x));
																	{
																		NIM_BOOL T51_;
																		T51_ = (NIM_BOOL)0;
																		T51_ = contains_9c4TZ2Zl3sU4TUeK9bR8E9ciw((*gch).marked, c_5);
																		if (!!(T51_)) goto LA52_;
																		freeCyclicCell_NZr5o3Ubzrci4OmK29cHBJA_2(gch, c_5);
																	}
																	LA52_: ;
																}
																LA47_: ;
															}
															LA26_: ;
														}
														LA24_: ;
													}
													LA19_: ;
												}
												LA14_: ;
												j += ((NI) 1);
												w = (NI)((NU32)(w) >> (NU32)(((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_zoTIuavlrCHyw3B8MBaLJA_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_evVbQ9bNF7LYMhoG9aWXu9bKw(gch);
			(void)(T3_);
		} LA2: ;
	}
	cellsetReset_WHgd5C59bkXWDz3vnAxfzXQ_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_NZr5o3Ubzrci4OmK29cHBJA(gch, d[(i)- 0]);
				res += ((NI) 1);
			} LA6: ;
		}
	}
	markGlobals_zoTIuavlrCHyw3B8MBaLJA_4(gch);
	sweep_zoTIuavlrCHyw3B8MBaLJA_5(gch);
}

N_LIB_PRIVATE N_NIMCALL(NI, getOccupiedMem_9bFvoxSITMVCg7RY8KIar1Q)(void) {
	NI result;
{	result = (NI)0;
	result = gch_IcYaEuuWivYAS86vFMTS3Q.region.occ;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, unmarkStackAndRegisters_zoTIuavlrCHyw3B8MBaLJA_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_MV4BBk6J1qu70IbBxwEn4wsystem(d[(i)- 0]);
				res += ((NI) 1);
			} LA3: ;
		}
	}
	(*gch).decStack.len = ((NI) 0);
}

N_LIB_PRIVATE N_NIMCALL(void, collectCTBody_zoTIuavlrCHyw3B8MBaLJA_2)(tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	NI T1_;
	T1_ = (NI)0;
	T1_ = stackSize_IV9bgfYkinlae0WZ2NZi5JA();
	(*gch).stat.maxStackSize = (((*gch).stat.maxStackSize >= T1_) ? (*gch).stat.maxStackSize : T1_);
	prepareForInteriorPointerChecking_Zqr3EQAAcehIfp3uSECEuQsystem((&(*gch).region));
	markStackAndRegisters_LdwvBL9bC9c0lik7K9bau9bX0Q(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_evVbQ9bNF7LYMhoG9aWXu9bKw(gch);
		if (!T4_) goto LA5_;
		{
			NIM_BOOL T9_;
			NI T10_;
			NI T14_;
			T9_ = (NIM_BOOL)0;
			T10_ = (NI)0;
			T10_ = getOccupiedMem_61WxanWSOmDDV2uI7O10dQsystem((&(*gch).region));
			T9_ = ((*gch).cycleThreshold <= T10_);
			if (T9_) goto LA11_;
			T9_ = NIM_FALSE;
			LA11_: ;
			if (!T9_) goto LA12_;
			collectCycles_zoTIuavlrCHyw3B8MBaLJA_3(gch);
			(*gch).stat.cycleCollections += ((NI) 1);
			T14_ = (NI)0;
			T14_ = getOccupiedMem_9bFvoxSITMVCg7RY8KIar1Q();
			(*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_zoTIuavlrCHyw3B8MBaLJA_6(gch);
}

N_LIB_PRIVATE N_NIMCALL(void, collectCT_zoTIuavlrCHyw3B8MBaLJA)(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_61WxanWSOmDDV2uI7O10dQsystem((&(*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_zoTIuavlrCHyw3B8MBaLJA_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_Ga5iPZj9bPFJIiW7GQdxs7gsystem)(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)))- 0];
		{
			if (!((NU32)(((NI) 8)) <= (NU32)((*c).refcount))) goto LA7_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[((NI)(L - ((NI) 1)))- 0] = res;
			goto BeforeRet_;
		}
		LA7_: ;
		c = d[((NI)(L - ((NI) 2)))- 0];
		{
			if (!((NU32)(((NI) 8)) <= (NU32)((*c).refcount))) goto LA11_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[((NI)(L - ((NI) 2)))- 0] = res;
			goto BeforeRet_;
		}
		LA11_: ;
		c = d[((NI)(L - ((NI) 3)))- 0];
		{
			if (!((NU32)(((NI) 8)) <= (NU32)((*c).refcount))) goto LA15_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[((NI)(L - ((NI) 3)))- 0] = res;
			goto BeforeRet_;
		}
		LA15_: ;
		c = d[((NI)(L - ((NI) 4)))- 0];
		{
			if (!((NU32)(((NI) 8)) <= (NU32)((*c).refcount))) goto LA19_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[((NI)(L - ((NI) 4)))- 0] = res;
			goto BeforeRet_;
		}
		LA19_: ;
		c = d[((NI)(L - ((NI) 5)))- 0];
		{
			if (!((NU32)(((NI) 8)) <= (NU32)((*c).refcount))) goto LA23_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[((NI)(L - ((NI) 5)))- 0] = res;
			goto BeforeRet_;
		}
		LA23_: ;
		c = d[((NI)(L - ((NI) 6)))- 0];
		{
			if (!((NU32)(((NI) 8)) <= (NU32)((*c).refcount))) goto LA27_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[((NI)(L - ((NI) 6)))- 0] = res;
			goto BeforeRet_;
		}
		LA27_: ;
		c = d[((NI)(L - ((NI) 7)))- 0];
		{
			if (!((NU32)(((NI) 8)) <= (NU32)((*c).refcount))) goto LA31_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[((NI)(L - ((NI) 7)))- 0] = res;
			goto BeforeRet_;
		}
		LA31_: ;
		c = d[((NI)(L - ((NI) 8)))- 0];
		{
			if (!((NU32)(((NI) 8)) <= (NU32)((*c).refcount))) goto LA35_;
			(*c).refcount = (NI)((*c).refcount & ((NI) -5));
			d[((NI)(L - ((NI) 8)))- 0] = res;
			goto BeforeRet_;
		}
		LA35_: ;
		add_Wcf8r6MCjrJeJ3HSYwSp0Qsystem((&(*gch).zct), res);
	}
	goto LA1_;
	LA3_: ;
	{
		d[(L)- 0] = res;
		(*gch).zct.len += ((NI) 1);
	}
	LA1_: ;
	}BeforeRet_: ;
}

N_LIB_PRIVATE N_NIMCALL(void*, rawNewObj_BpNS5yt3b9cMOponsUKh8aw)(TNimType* typ, NI size, tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ* gch) {
	void* result;
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* res;
	void* T1_;
	result = (void*)0;
	collectCT_zoTIuavlrCHyw3B8MBaLJA(gch);
	T1_ = (void*)0;
	T1_ = rawAlloc_yn9c8RLaS8vgVBeMBfmkdUg((&(*gch).region), (NI)(size + ((NI)sizeof(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g))));
	res = ((tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
	(*res).typ = typ;
	(*res).refcount = ((NI) 4);
	addNewObjToZCT_Ga5iPZj9bPFJIiW7GQdxs7gsystem(res, gch);
	result = cellToUsr_vA0UG8JLZvpzP1Xf3vkPgwsystem(res);
	return result;
}

N_NIMCALL(void*, newObjNoInit)(TNimType* typ, NI size) {
	void* result;
	result = (void*)0;
	result = rawNewObj_BpNS5yt3b9cMOponsUKh8aw(typ, size, (&gch_IcYaEuuWivYAS86vFMTS3Q));
	return result;
}

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)sizeof(TGenericSeq)) + s) + ((NI) 1)));
	result = ((NimStringDesc*) (T5_));
	(*result).Sup.reserved = s;
	(*result).Sup.len = ((NI) 0);
	return result;
}

N_NIMCALL(NimStringDesc*, toNimStr)(NCSTRING str, NI len) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = rawNewStringNoInit(len);
	(*result).Sup.len = len;
	copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((*result).data)), ((void*) (str)), ((NI) ((NI)(len + ((NI) 1)))));
	return result;
}

static N_INLINE(size_t, nimCStrLen)(NCSTRING a) {
	size_t result;
	result = (size_t)0;
	result = strlen(a);
	return result;
}

N_NIMCALL(NimStringDesc*, cstrToNimstr)(NCSTRING str) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!(((void*) (str)) == NIM_NIL)) goto LA3_;
		result = NIM_NIL;
	}
	goto LA1_;
	LA3_: ;
	{
		result = toNimStr(str, (str ? nimCStrLen(str) : 0));
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, rawWrite_aa9cLZrFfhW0gTipglUiLSQ)(FILE* f, NCSTRING s) {
	int T1_;
	T1_ = (int)0;
	T1_ = fwrite(((void*) (s)), ((NI) 1), (s ? nimCStrLen(s) : 0), f);
	(void)(T1_);
}

N_LIB_PRIVATE N_NIMCALL(void, writeToStdErr_7HRVfGfZT2rSmBdcLxl8TA)(NCSTRING msg) {
	rawWrite_aa9cLZrFfhW0gTipglUiLSQ(stdout, msg);
}

N_LIB_PRIVATE N_NIMCALL(void, showErrorMessage_rsUJ87b89bH0GlWKYL9c8wUQ)(NCSTRING data) {
	{
		NimStringDesc* T5_;
		if (!!((errorMessageWriter_ZXnv0JyrWe3HTd07wpSr7A == NIM_NIL))) goto LA3_;
		T5_ = (NimStringDesc*)0;
		T5_ = cstrToNimstr(data);
		errorMessageWriter_ZXnv0JyrWe3HTd07wpSr7A(T5_);
	}
	goto LA1_;
	LA3_: ;
	{
		writeToStdErr_7HRVfGfZT2rSmBdcLxl8TA(data);
	}
	LA1_: ;
}

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 (!(sign == ((int) 11))) 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_rsUJ87b89bH0GlWKYL9c8wUQ(msg);
	exit(((NI) 1));
}

N_LIB_PRIVATE N_NIMCALL(void, registerSignalHandler_njssp69aa7hvxte9bJ8uuDcg_2)(void) {
	tyProc_lfH2drpqP9aSEAAjWgrYv8Q T1_;
	tyProc_lfH2drpqP9aSEAAjWgrYv8Q T2_;
	tyProc_lfH2drpqP9aSEAAjWgrYv8Q T3_;
	tyProc_lfH2drpqP9aSEAAjWgrYv8Q T4_;
	tyProc_lfH2drpqP9aSEAAjWgrYv8Q T5_;
	tyProc_lfH2drpqP9aSEAAjWgrYv8Q T6_;
	tyProc_lfH2drpqP9aSEAAjWgrYv8Q T7_;
	T1_ = (tyProc_lfH2drpqP9aSEAAjWgrYv8Q)0;
	T1_ = signal(((int) 2), signalHandler);
	T2_ = (tyProc_lfH2drpqP9aSEAAjWgrYv8Q)0;
	T2_ = signal(((int) 11), signalHandler);
	T3_ = (tyProc_lfH2drpqP9aSEAAjWgrYv8Q)0;
	T3_ = signal(((int) 6), signalHandler);
	T4_ = (tyProc_lfH2drpqP9aSEAAjWgrYv8Q)0;
	T4_ = signal(((int) 8), signalHandler);
	T5_ = (tyProc_lfH2drpqP9aSEAAjWgrYv8Q)0;
	T5_ = signal(((int) 4), signalHandler);
	T6_ = (tyProc_lfH2drpqP9aSEAAjWgrYv8Q)0;
	T6_ = signal(((int) 11), signalHandler);
	T7_ = (tyProc_lfH2drpqP9aSEAAjWgrYv8Q)0;
	T7_ = signal(((int) 13), signalHandler);
}

N_NIMCALL(NI, getRefcount)(void* p) {
	NI result;
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T1_;
	result = (NI)0;
	T1_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
	T1_ = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(p);
	result = (NI)((NU32)((*T1_).refcount) >> (NU32)(((NI) 3)));
	return result;
}

N_NIMCALL(void, nimRegisterGlobalMarker)(tyProc_T4eqaYlFJYZUv9aG9b1TV0bQ markerProc) {
	{
		if (!(globalMarkersLen_hgEFy3UCOBoalBh29asu5MA <= ((NI) 3499))) goto LA3_;
		globalMarkers_5ghwSgpo9cT9bT7YStQDJHVQ[(globalMarkersLen_hgEFy3UCOBoalBh29asu5MA)- 0] = markerProc;
		globalMarkersLen_hgEFy3UCOBoalBh29asu5MA += ((NI) 1);
	}
	goto LA1_;
	LA3_: ;
	{
		echoBinSafe(TM_Q5wkpxktOdTGvlSRo9bzt9aw_20, 1);
		exit(((NI) 1));
	}
	LA1_: ;
}

N_NIMCALL(void*, newObj)(TNimType* typ, NI size) {
	void* result;
	result = (void*)0;
	result = rawNewObj_BpNS5yt3b9cMOponsUKh8aw(typ, size, (&gch_IcYaEuuWivYAS86vFMTS3Q));
	zeroMem_7EL8Zq3xF2ujDWgp3bAEogsystem(result, ((NI) (size)));
	return result;
}

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)sizeof(TGenericSeq)) + s) + ((NI) 1)));
	result = ((NimStringDesc*) (T5_));
	(*result).Sup.reserved = s;
	(*result).Sup.len = ((NI) 0);
	return result;
}
static N_NIMCALL(void, Marker_tyRef_yQYk49cCS1VAqkplQuc6KdQ)(void* p, NI op) {
	tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q* a;
	a = (tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q*)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_NIMCALL(void*, newObjRC1)(TNimType* typ, NI size) {
	void* result;
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* res;
	void* T1_;
	result = (void*)0;
	collectCT_zoTIuavlrCHyw3B8MBaLJA((&gch_IcYaEuuWivYAS86vFMTS3Q));
	T1_ = (void*)0;
	T1_ = rawAlloc_yn9c8RLaS8vgVBeMBfmkdUg((&gch_IcYaEuuWivYAS86vFMTS3Q.region), (NI)(size + ((NI)sizeof(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g))));
	res = ((tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
	(*res).typ = typ;
	(*res).refcount = ((NI) 8);
	result = cellToUsr_vA0UG8JLZvpzP1Xf3vkPgwsystem(res);
	zeroMem_7EL8Zq3xF2ujDWgp3bAEogsystem(result, ((NI) (size)));
	return result;
}

N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		NI s;
		void* T9_;
		if (!!((src == NIM_NIL))) goto LA3_;
		s = (*src).Sup.len;
		{
			if (!(s < ((NI) 7))) goto LA7_;
			s = ((NI) 7);
		}
		LA7_: ;
		T9_ = (void*)0;
		T9_ = newObjRC1((&strDesc_D0UzA4zsDu5tgpJQ9a9clXPg), (NI)((NI)(((NI)sizeof(TGenericSeq)) + s) + ((NI) 1)));
		result = ((NimStringDesc*) (T9_));
		(*result).Sup.reserved = s;
		(*result).Sup.len = (*src).Sup.len;
		copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((*result).data)), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
	}
	LA3_: ;
	return result;
}

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_yB9aH5WIlwd0xkYrcdPeXrQsystem(src);
		incRef_9cAA5YuQAAC3MVbnGeV86swsystem(T5_);
	}
	LA3_: ;
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T10_;
		if (!!(((*dest) == NIM_NIL))) goto LA8_;
		T10_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T10_ = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem((*dest));
		decRef_MV4BBk6J1qu70IbBxwEn4wsystem(T10_);
	}
	LA8_: ;
	(*dest) = src;
}

static N_INLINE(void, pushCurrentException)(Exception* e) {
	asgnRef((void**) (&(*e).up), currException_9bVPeDJlYTi9bQApZpfH8wjg);
	asgnRef((void**) (&currException_9bVPeDJlYTi9bQApZpfH8wjg), e);
}

N_LIB_PRIVATE N_NOINLINE(NIM_BOOL, isObjSlowPath_yEa9cUwzxhGRtg9cspcfCIHg)(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 == 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;
}

static N_INLINE(NIM_BOOL, isObjWithCache)(TNimType* obj, TNimType* subclass, TNimType** cache) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		if (!(obj == subclass)) goto LA3_;
		result = NIM_TRUE;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!((*obj).base == subclass)) goto LA7_;
		result = NIM_TRUE;
		goto BeforeRet_;
	}
	LA7_: ;
	{
		if (!(cache[(((NI) 0))- 0] == obj)) goto LA11_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA11_: ;
	{
		if (!(cache[(((NI) 1))- 0] == obj)) goto LA15_;
		result = NIM_TRUE;
		goto BeforeRet_;
	}
	LA15_: ;
	result = isObjSlowPath_yEa9cUwzxhGRtg9cspcfCIHg(obj, subclass, cache);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}

static N_INLINE(void, quitOrDebug_IZ2oOmqdsYQ7vixQGKSDcA_2system)(void) {
	exit(((NI) 1));
}

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 == NIM_NIL))) goto LA21_;
		{
			NIM_BOOL T25_;
			T25_ = (NIM_BOOL)0;
			T25_ = !((*excHandler_rqLlY5bs9atDw2OXYqJEn5g).hasRaiseAction);
			if (T25_) goto LA26_;
			T25_ = (*excHandler_rqLlY5bs9atDw2OXYqJEn5g).raiseAction.ClE_0? (*excHandler_rqLlY5bs9atDw2OXYqJEn5g).raiseAction.ClP_0(e, (*excHandler_rqLlY5bs9atDw2OXYqJEn5g).raiseAction.ClE_0):((TM_Q5wkpxktOdTGvlSRo9bzt9aw_22)((*excHandler_rqLlY5bs9atDw2OXYqJEn5g).raiseAction.ClP_0))(e);
			LA26_: ;
			if (!T25_) goto LA27_;
			pushCurrentException(e);
			_longjmp((*excHandler_rqLlY5bs9atDw2OXYqJEn5g).context, ((int) 1));
		}
		LA27_: ;
	}
	goto LA19_;
	LA21_: ;
	{
		if (!(isObjWithCache((*e).Sup.m_type, (&NTI_vyjC2ukVFYc78nQPrSCc9bA_), Nim_OfCheck_CACHE24))) goto LA30_;
		showErrorMessage_rsUJ87b89bH0GlWKYL9c8wUQ((*e).name);
		quitOrDebug_IZ2oOmqdsYQ7vixQGKSDcA_2system();
	}
	goto LA19_;
	LA30_: ;
	{
		tyArray_gpc2RrLEcWgv7ONpLYNHOw buf;
		NI L;
		nimZeroMem((void*)buf, sizeof(tyArray_gpc2RrLEcWgv7ONpLYNHOw));
		L = ((NI) 0);
		{
			if (!((NI)(L + ((NI) 28)) < ((NI) 2000))) goto LA35_;
			copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((&buf[(L)- 0]))), "Error: unhandled exception: ", ((NI) 28));
			L += ((NI) 28);
		}
		LA35_: ;
		{
			if (!((NI)(L + ((*e).message ? (*e).message->Sup.len : 0)) < ((NI) 2000))) goto LA39_;
			copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((&buf[(L)- 0]))), ((void*) (nimToCStringConv((*e).message))), ((NI) (((*e).message ? (*e).message->Sup.len : 0))));
			L += ((*e).message ? (*e).message->Sup.len : 0);
		}
		LA39_: ;
		{
			if (!((NI)(L + ((NI) 2)) < ((NI) 2000))) goto LA43_;
			copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((&buf[(L)- 0]))), " [", ((NI) 2));
			L += ((NI) 2);
		}
		LA43_: ;
		{
			if (!((NI)(L + ((*e).name ? nimCStrLen((*e).name) : 0)) < ((NI) 2000))) goto LA47_;
			copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((&buf[(L)- 0]))), ((void*) ((*e).name)), ((NI) (((*e).name ? nimCStrLen((*e).name) : 0))));
			L += ((*e).name ? nimCStrLen((*e).name) : 0);
		}
		LA47_: ;
		{
			if (!((NI)(L + ((NI) 2)) < ((NI) 2000))) goto LA51_;
			copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((&buf[(L)- 0]))), "]\012", ((NI) 2));
			L += ((NI) 2);
		}
		LA51_: ;
		{
			NimStringDesc* T57_;
			if (!!((onUnhandledException_bFrawQlTKZhLweDD36j9b8g == NIM_NIL))) goto LA55_;
			T57_ = (NimStringDesc*)0;
			T57_ = cstrToNimstr(((NCSTRING) (buf)));
			onUnhandledException_bFrawQlTKZhLweDD36j9b8g(T57_);
		}
		goto LA53_;
		LA55_: ;
		{
			showErrorMessage_rsUJ87b89bH0GlWKYL9c8wUQ(((NCSTRING) (buf)));
			quitOrDebug_IZ2oOmqdsYQ7vixQGKSDcA_2system();
		}
		LA53_: ;
	}
	LA19_: ;
	}BeforeRet_: ;
}

N_NIMCALL(void, raiseException)(Exception* e, NCSTRING ename) {
	{
		if (!((*e).name == 0)) goto LA3_;
		(*e).name = ename;
	}
	LA3_: ;
	raiseExceptionAux_na8C8pUZ9cLQWVwk35l5vfw(e);
}

static N_INLINE(NI, resize_bzF9a0JivP3Z4njqaxuLc5wsystem)(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_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!(dest == NIM_NIL)) goto LA3_;
		result = rawNewStringNoInit(addlen);
	}
	goto LA1_;
	LA3_: ;
	{
		if (!((NI)((*dest).Sup.len + addlen) <= (NI)((*dest).Sup.reserved & ((NI) 1073741823)))) goto LA6_;
		result = dest;
	}
	goto LA1_;
	LA6_: ;
	{
		NI sp;
		NI T9_;
		T9_ = (NI)0;
		T9_ = resize_bzF9a0JivP3Z4njqaxuLc5wsystem((NI)((*dest).Sup.reserved & ((NI) 1073741823)));
		sp = ((T9_ >= (NI)((*dest).Sup.len + addlen)) ? T9_ : (NI)((*dest).Sup.len + addlen));
		result = rawNewStringNoInit(sp);
		(*result).Sup.len = (*dest).Sup.len;
		copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((&(*result).data[(((NI) 0))- 0]))), ((void*) ((&(*dest).data[(((NI) 0))- 0]))), ((NI) ((NI)((*dest).Sup.len + ((NI) 1)))));
		(*result).Sup.reserved = sp;
	}
	LA1_: ;
	return result;
}

N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!(s == 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) 1073741823)) <= (*result).Sup.len)) goto LA8_;
			r = resize_bzF9a0JivP3Z4njqaxuLc5wsystem((NI)((*result).Sup.reserved & ((NI) 1073741823)));
			result = rawNewStringNoInit(r);
			(*result).Sup.len = (*s).Sup.len;
			copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((&(*result).data[(((NI) 0))- 0]))), ((void*) ((&(*s).data[(((NI) 0))- 0]))), ((NI) ((NI)((*s).Sup.len + ((NI) 1)))));
			(*result).Sup.reserved = r;
		}
		LA8_: ;
	}
	LA1_: ;
	(*result).data[((*result).Sup.len)- 0] = c;
	(*result).data[((NI)((*result).Sup.len + ((NI) 1)))- 0] = 0;
	(*result).Sup.len += ((NI) 1);
	return result;
}

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*, substr_TWXUwbnq0SWWvDLfr8LXYw)(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_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!!((src == NIM_NIL))) goto LA3_;
		{
			if (!!(((NI)((*src).Sup.reserved & ((NI) (-2147483647 -1))) == ((NI) 0)))) goto LA7_;
			result = src;
		}
		goto LA5_;
		LA7_: ;
		{
			result = rawNewStringNoInit((*src).Sup.len);
			(*result).Sup.len = (*src).Sup.len;
			copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((*result).data)), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
		}
		LA5_: ;
	}
	LA3_: ;
	return result;
}

N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newLen) {
	NimStringDesc* result;
	NI n;
	result = (NimStringDesc*)0;
	n = ((newLen >= ((NI) 0)) ? newLen : ((NI) 0));
	{
		if (!(s == NIM_NIL)) goto LA3_;
		result = mnewString(newLen);
	}
	goto LA1_;
	LA3_: ;
	{
		if (!(n <= (NI)((*s).Sup.reserved & ((NI) 1073741823)))) goto LA6_;
		result = s;
	}
	goto LA1_;
	LA6_: ;
	{
		NI sp;
		NI T9_;
		T9_ = (NI)0;
		T9_ = resize_bzF9a0JivP3Z4njqaxuLc5wsystem((NI)((*s).Sup.reserved & ((NI) 1073741823)));
		sp = ((T9_ >= newLen) ? T9_ : newLen);
		result = rawNewStringNoInit(sp);
		(*result).Sup.len = (*s).Sup.len;
		copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((&(*result).data[(((NI) 0))- 0]))), ((void*) ((&(*s).data[(((NI) 0))- 0]))), ((NI) ((NI)((*s).Sup.len + ((NI) 1)))));
		zeroMem_7EL8Zq3xF2ujDWgp3bAEogsystem(((void*) ((&(*result).data[((*s).Sup.len)- 0]))), ((NI) ((NI)(newLen - (*s).Sup.len))));
		(*result).Sup.reserved = sp;
	}
	LA1_: ;
	(*result).Sup.len = n;
	(*result).data[(n)- 0] = 0;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, add_IbYQ9cTcoQ89aIwM2IEYGMng)(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_NIMCALL(NimStringDesc*, nimIntToStr)(NI x) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = rawNewString(((NI) 16));
	add_IbYQ9cTcoQ89aIwM2IEYGMng((&result), ((NI64) (x)));
	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);
	}
}
static N_NIMCALL(void, Marker_tyRef_Pjt0MQjoA6TAHAHOFNel9cg)(void* p, NI op) {
	tyObject_OverflowError_Ss6DFlX5iSZpHRZDmP74bg* a;
	a = (tyObject_OverflowError_Ss6DFlX5iSZpHRZDmP74bg*)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, nimGCunrefNoCycle)(void* p) {
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c;
	c = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(p);
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3_;
		rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system(c);
	}
	LA3_: ;
}

static N_INLINE(void, sysFatal_OudUc4crgdQucr3v5GkeiQsystem)(NimStringDesc* message) {
	tyObject_OverflowError_Ss6DFlX5iSZpHRZDmP74bg* e;
	NimStringDesc* T1_;
	e = (tyObject_OverflowError_Ss6DFlX5iSZpHRZDmP74bg*)0;
	e = (tyObject_OverflowError_Ss6DFlX5iSZpHRZDmP74bg*) newObj((&NTI_Pjt0MQjoA6TAHAHOFNel9cg_), sizeof(tyObject_OverflowError_Ss6DFlX5iSZpHRZDmP74bg));
	(*e).Sup.Sup.Sup.Sup.m_type = (&NTI_Ss6DFlX5iSZpHRZDmP74bg_);
	T1_ = (NimStringDesc*)0;
	T1_ = (*e).Sup.Sup.Sup.message; (*e).Sup.Sup.Sup.message = copyStringRC1(message);
	if (T1_) nimGCunrefNoCycle(T1_);
	raiseException((Exception*)e, "OverflowError");
}

N_NOINLINE(void, raiseOverflow)(void) {
	sysFatal_OudUc4crgdQucr3v5GkeiQsystem(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_24));
}

static N_INLINE(NI, addInt)(NI a, NI b) {
	NI result;
{	result = (NI)0;
	result = (NI)((NU32)(a) + (NU32)(b));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (((NI) 0) <= (NI)(result ^ a));
		if (T3_) goto LA4_;
		T3_ = (((NI) 0) <= (NI)(result ^ b));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}

N_NIMCALL(NI, mulInt)(NI a, NI b) {
	NI result;
	NF resAsFloat;
	NF floatProd;
{	result = (NI)0;
	resAsFloat = (NF)0;
	floatProd = (NF)0;
	result = (NI)((NU32)(a) * (NU32)(b));
	floatProd = ((NF)(((double) (a))) * (NF)(((double) (b))));
	resAsFloat = ((double) (result));
	{
		if (!(resAsFloat == floatProd)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!(((NF)(3.2000000000000000e+01) * (NF)((((NF)(resAsFloat) - (NF)(floatProd)) < 0? -(((NF)(resAsFloat) - (NF)(floatProd))) : (((NF)(resAsFloat) - (NF)(floatProd)))))) <= (floatProd < 0? -(floatProd) : (floatProd)))) goto LA7_;
		goto BeforeRet_;
	}
	LA7_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}

N_NIMCALL(void*, newSeq)(TNimType* typ, NI len) {
	void* result;
	NI size;
	NI T1_;
	result = (void*)0;
	T1_ = (NI)0;
	T1_ = mulInt(len, (*(*typ).base).size);
	size = addInt(T1_, ((NI) 8));
	result = newObj(typ, size);
	(*((TGenericSeq*) (result))).len = len;
	(*((TGenericSeq*) (result))).reserved = len;
	return result;
}

N_NIMCALL(TNimType*, extGetCellType)(void* c) {
	TNimType* result;
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T1_;
	result = (TNimType*)0;
	T1_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
	T1_ = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(c);
	result = (*T1_).typ;
	return result;
}

N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen) {
	TGenericSeq* result;
	result = (TGenericSeq*)0;
	{
		void* T5_;
		if (!(s == NIM_NIL)) goto LA3_;
		T5_ = (void*)0;
		T5_ = newSeq(typ, newLen);
		result = ((TGenericSeq*) (T5_));
	}
	goto LA1_;
	LA3_: ;
	{
		NI elemSize;
		elemSize = (*(*typ).base).size;
		{
			NI r;
			NI T11_;
			void* T12_;
			if (!((NI)((*s).reserved & ((NI) 1073741823)) < newLen)) goto LA9_;
			T11_ = (NI)0;
			T11_ = resize_bzF9a0JivP3Z4njqaxuLc5wsystem((NI)((*s).reserved & ((NI) 1073741823)));
			r = ((T11_ >= newLen) ? T11_ : newLen);
			T12_ = (void*)0;
			T12_ = newSeq(typ, r);
			result = ((TGenericSeq*) (T12_));
			copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((NI)((NU32)(((NI) (ptrdiff_t) (result))) + (NU32)(((NI) 8))))), ((void*) ((NI)((NU32)(((NI) (ptrdiff_t) (s))) + (NU32)(((NI) 8))))), ((NI) ((NI)((*s).len * elemSize))));
			(*s).len = ((NI) 0);
		}
		goto LA7_;
		LA9_: ;
		{
			if (!(newLen < (*s).len)) goto LA14_;
			result = s;
			{
				if (!!((((*(*typ).base).flags &(1U<<((NU)(((tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ) 0))&7U)))!=0))) goto LA18_;
				{
					NI i;
					NI colontmp_;
					NI res;
					i = (NI)0;
					colontmp_ = (NI)0;
					colontmp_ = (NI)((*result).len - ((NI) 1));
					res = newLen;
					{
						while (1) {
							TNimType* T23_;
							if (!(res <= colontmp_)) goto LA22;
							i = res;
							T23_ = (TNimType*)0;
							T23_ = extGetCellType(((void*) (result)));
							forAllChildrenAux_7ozEvYoq4I7fwvXfiSWM9aA(((void*) ((NI)((NU32)((NI)((NU32)(((NI) (ptrdiff_t) (result))) + (NU32)(((NI) 8)))) + (NU32)((NI)((NU32)(i) * (NU32)(elemSize)))))), (*T23_).base, ((tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ) 2));
							res += ((NI) 1);
						} LA22: ;
					}
				}
			}
			LA18_: ;
			zeroMem_7EL8Zq3xF2ujDWgp3bAEogsystem(((void*) ((NI)((NU32)((NI)((NU32)(((NI) (ptrdiff_t) (result))) + (NU32)(((NI) 8)))) + (NU32)((NI)((NU32)(newLen) * (NU32)(elemSize)))))), ((NI) ((NI)((NU32)((NI)((NU32)((*result).len) - (NU32)(newLen))) * (NU32)(elemSize)))));
		}
		goto LA7_;
		LA14_: ;
		{
			result = s;
		}
		LA7_: ;
		(*result).len = newLen;
	}
	LA1_: ;
	return result;
}

N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ) {
	TGenericSeq* result;
	result = (TGenericSeq*)0;
	{
		void* T5_;
		if (!(s == 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_;
			if (!((NI)((*result).reserved & ((NI) 1073741823)) <= (*result).len)) goto LA9_;
			r = resize_bzF9a0JivP3Z4njqaxuLc5wsystem((NI)((*result).reserved & ((NI) 1073741823)));
			T11_ = (void*)0;
			T11_ = newSeq(typ, r);
			result = ((TGenericSeq*) (T11_));
			(*result).len = (*s).len;
			copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((NI)((NU32)(((NI) (ptrdiff_t) (result))) + (NU32)(((NI) 8))))), ((void*) ((NI)((NU32)(((NI) (ptrdiff_t) (s))) + (NU32)(((NI) 8))))), ((NI) ((NI)((*s).len * (*(*typ).base).size))));
			(*s).len = ((NI) 0);
		}
		LA9_: ;
	}
	LA1_: ;
	return result;
}

N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = mnewString(((NI) 1));
	result->data[((NI) 0)] = x;
	return result;
}

static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
	{
		if (!!((src == NIM_NIL))) goto LA3_;
		copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((&(*dest).data[((*dest).Sup.len)- 0]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
		(*dest).Sup.len += (*src).Sup.len;
	}
	LA3_: ;
}

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 &(1U<<((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_ = ((NU32)(o) < (NU32)((*(*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_25));
	result = T19_;
	}BeforeRet_: ;
	return result;
}
static N_NIMCALL(void, Marker_tyRef_ShBqCFAISBSH2YqBfe6zjg)(void* p, NI op) {
	tyObject_AssertionError_G9cUlLvU4AFC26wbFxLFkFA* a;
	a = (tyObject_AssertionError_G9cUlLvU4AFC26wbFxLFkFA*)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_aa9bFZ2DpLJWxbwbTBAK5hgsystem)(NimStringDesc* message) {
	tyObject_AssertionError_G9cUlLvU4AFC26wbFxLFkFA* e;
	NimStringDesc* T1_;
	e = (tyObject_AssertionError_G9cUlLvU4AFC26wbFxLFkFA*)0;
	e = (tyObject_AssertionError_G9cUlLvU4AFC26wbFxLFkFA*) newObj((&NTI_ShBqCFAISBSH2YqBfe6zjg_), sizeof(tyObject_AssertionError_G9cUlLvU4AFC26wbFxLFkFA));
	(*e).Sup.Sup.Sup.m_type = (&NTI_G9cUlLvU4AFC26wbFxLFkFA_);
	T1_ = (NimStringDesc*)0;
	T1_ = (*e).Sup.Sup.message; (*e).Sup.Sup.message = copyStringRC1(message);
	if (T1_) nimGCunrefNoCycle(T1_);
	raiseException((Exception*)e, "AssertionError");
}

N_LIB_PRIVATE N_NOINLINE(void, raiseAssert_PpfSiTIeNpMAb9a5o6SglJw)(NimStringDesc* msg) {
	sysFatal_aa9bFZ2DpLJWxbwbTBAK5hgsystem(msg);
}

N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl_aDmpBTs9cPuXp0Mp9cfiNeyA)(NimStringDesc* msg) {
	raiseAssert_PpfSiTIeNpMAb9a5o6SglJw(msg);
}

N_NIMCALL(NimStringDesc*, nimInt64ToStr)(NI64 x) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = rawNewString(((NI) 32));
	add_IbYQ9cTcoQ89aIwM2IEYGMng((&result), x);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, addQuoted_cdnpne9cVufEGA8Lj0BFOSQ)(NimStringDesc** s, tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg x) {
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), (reprEnum((NI)x, (&NTI_jyh9acXHkhZANSSvPIY7ZLg_)) ? reprEnum((NI)x, (&NTI_jyh9acXHkhZANSSvPIY7ZLg_))->Sup.len : 0) + 0));
appendString((*s), reprEnum((NI)x, (&NTI_jyh9acXHkhZANSSvPIY7ZLg_)));
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, collectionToString_FUeXwA9coJ09bWxp2Vp6Hy4w)(tySet_tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg x, NimStringDesc* prefix, NimStringDesc* separator, NimStringDesc* suffix) {
	NimStringDesc* result;
	NIM_BOOL firstElement;
	result = (NimStringDesc*)0;
	result = copyString(prefix);
	firstElement = NIM_TRUE;
	{
		tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg value;
		NI i;
		value = (tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg)0;
		i = ((NI) 0);
		{
			while (1) {
				if (!(i <= ((NI) 18))) goto LA3;
				{
					if (!((x &(1U<<((NU)(((tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg) (i)))&31U)))!=0)) goto LA6_;
					value = ((tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg) (i));
					{
						if (!firstElement) goto LA10_;
						firstElement = NIM_FALSE;
					}
					goto LA8_;
					LA10_: ;
					{
						result = resizeString(result, (separator ? separator->Sup.len : 0) + 0);
appendString(result, separator);
					}
					LA8_: ;
					addQuoted_cdnpne9cVufEGA8Lj0BFOSQ((&result), value);
				}
				LA6_: ;
				i += ((NI) 1);
			} LA3: ;
		}
	}
	result = resizeString(result, (suffix ? suffix->Sup.len : 0) + 0);
appendString(result, suffix);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__WpfBZfa3ShEZUytsTL9bpzA)(tySet_tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg x) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = collectionToString_FUeXwA9coJ09bWxp2Vp6Hy4w(x, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_26), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_27), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_28));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, GC_disableMarkAndSweep_njssp69aa7hvxte9bJ8uuDcg_3)(void) {
	gch_IcYaEuuWivYAS86vFMTS3Q.cycleThreshold = ((NI) 2147483646);
}

N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len) {
	void* result;
	NI size;
	NI T1_;
	result = (void*)0;
	T1_ = (NI)0;
	T1_ = mulInt(len, (*(*typ).base).size);
	size = addInt(T1_, ((NI) 8));
	result = newObjRC1(typ, size);
	(*((TGenericSeq*) (result))).len = len;
	(*((TGenericSeq*) (result))).reserved = len;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(int, getFileHandle_bZ9c2yojtXoDTUpfyl8h8Rg)(FILE* f) {
	int result;
	result = (int)0;
	result = fileno(f);
	return result;
}

N_NIMCALL(void*, nimNewSeqOfCap)(TNimType* typ, NI cap) {
	void* result;
	NI s;
	NI T1_;
	result = (void*)0;
	T1_ = (NI)0;
	T1_ = mulInt(cap, (*(*typ).base).size);
	s = addInt(T1_, ((NI) 8));
	{
		if (!(((*(*typ).base).flags &(1U<<((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, genericAssignAux_9asD40QP7ronnack8y7vdug)(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):
	{
		genericAssignAux_mQY3YYo2RBkhPz09ajfLwpQ(((void*) ((NI)((NU32)(d) + (NU32)((*n).offset)))), ((void*) ((NI)((NU32)(s) + (NU32)((*n).offset)))), (*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 LA5;
					i = res;
					genericAssignAux_9asD40QP7ronnack8y7vdug(dest, src, (*n).sons[(i)- 0], shallow);
					res += ((NI) 1);
				} LA5: ;
			}
		}
	}
	break;
	case ((tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ) 3):
	{
		TNimNode* dd;
		TNimNode* m;
		dd = selectBranch_yDNUA0V9a9a9bVLtZ9bXPT0aEg(dest, n);
		m = selectBranch_yDNUA0V9a9a9bVLtZ9bXPT0aEg(src, n);
		{
			NIM_BOOL T9_;
			T9_ = (NIM_BOOL)0;
			T9_ = !((m == dd));
			if (!(T9_)) goto LA10_;
			T9_ = !((dd == NIM_NIL));
			LA10_: ;
			if (!T9_) goto LA11_;
			genericResetAux_ruA1rosalqf8AhzZPPTBQg(dest, dd);
		}
		LA11_: ;
		copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((NI)((NU32)(d) + (NU32)((*n).offset)))), ((void*) ((NI)((NU32)(s) + (NU32)((*n).offset)))), ((NI) ((*(*n).typ).size)));
		{
			if (!!((m == NIM_NIL))) goto LA15_;
			genericAssignAux_9asD40QP7ronnack8y7vdug(dest, src, m, shallow);
		}
		LA15_: ;
	}
	break;
	case ((tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ) 0):
	{
	}
	break;
	}
}
static N_NIMCALL(void, Marker_tyRef_8tkbLy9bNx4E9ckj02Ra3BCg)(void* p, NI op) {
	tyObject_ObjectAssignmentError_kJMtlLI2jppHdk6nd3I69aw* a;
	a = (tyObject_ObjectAssignmentError_kJMtlLI2jppHdk6nd3I69aw*)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_MJGs2gcRrsKYGZB9aRWM4oAsystem)(NimStringDesc* message) {
	tyObject_ObjectAssignmentError_kJMtlLI2jppHdk6nd3I69aw* e;
	NimStringDesc* T1_;
	e = (tyObject_ObjectAssignmentError_kJMtlLI2jppHdk6nd3I69aw*)0;
	e = (tyObject_ObjectAssignmentError_kJMtlLI2jppHdk6nd3I69aw*) newObj((&NTI_8tkbLy9bNx4E9ckj02Ra3BCg_), sizeof(tyObject_ObjectAssignmentError_kJMtlLI2jppHdk6nd3I69aw));
	(*e).Sup.Sup.Sup.m_type = (&NTI_kJMtlLI2jppHdk6nd3I69aw_);
	T1_ = (NimStringDesc*)0;
	T1_ = (*e).Sup.Sup.message; (*e).Sup.Sup.message = copyStringRC1(message);
	if (T1_) nimGCunrefNoCycle(T1_);
	raiseException((Exception*)e, "ObjectAssignmentError");
}

static N_INLINE(void, chckObjAsgn)(TNimType* a, TNimType* b) {
	{
		if (!!((a == b))) goto LA3_;
		sysFatal_MJGs2gcRrsKYGZB9aRWM4oAsystem(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_29));
	}
	LA3_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, genericAssignAux_mQY3YYo2RBkhPz09ajfLwpQ)(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) (-2147483647 -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) (-2147483647 -1))) == ((NI) 0)));
			LA18_: ;
			if (!T15_) goto LA19_;
			unsureAsgnRef(x_2, s2_2);
			goto BeforeRet_;
		}
		LA19_: ;
		{
			void* ss;
			NI dst;
			if (!(((*(*mt).base).flags &(1U<<((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)))));
			copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) ((NI)((NU32)(dst) + (NU32)(((NI) 8))))), ((void*) ((NI)((NU32)(((NI) (ptrdiff_t) (s2_2))) + (NU32)(((NI) 8))))), ((NI) ((NI)((*seq).len * (*(*mt).base).size))));
		}
		goto LA21_;
		LA23_: ;
		{
			void* T26_;
			NI dst_2;
			T26_ = (void*)0;
			T26_ = newSeq(mt, (*seq).len);
			unsureAsgnRef(x_2, T26_);
			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) {
						if (!(res <= colontmp_)) goto LA29;
						i = res;
						genericAssignAux_mQY3YYo2RBkhPz09ajfLwpQ(((void*) ((NI)((NU32)((NI)((NU32)(dst_2) + (NU32)((NI)((NU32)(i) * (NU32)((*(*mt).base).size))))) + (NU32)(((NI) 8))))), ((void*) ((NI)((NU32)((NI)((NU32)(((NI) (ptrdiff_t) (s2_2))) + (NU32)((NI)((NU32)(i) * (NU32)((*(*mt).base).size))))) + (NU32)(((NI) 8))))), (*mt).base, shallow);
						res += ((NI) 1);
					} LA29: ;
				}
			}
		}
		LA21_: ;
	}
	break;
	case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 17):
	{
		TNimType* it;
		TNimType** pint;
		it = (*mt).base;
		{
			while (1) {
				if (!!((it == NIM_NIL))) goto LA32;
				genericAssignAux_9asD40QP7ronnack8y7vdug(dest, src, (*it).node, shallow);
				it = (*it).base;
			} LA32: ;
		}
		genericAssignAux_9asD40QP7ronnack8y7vdug(dest, src, (*mt).node, shallow);
		pint = ((TNimType**) (dest));
		chckObjAsgn((*((TNimType**) (src))), mt);
		(*pint) = mt;
	}
	break;
	case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 18):
	{
		genericAssignAux_9asD40QP7ronnack8y7vdug(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) {
					if (!(res_2 <= colontmp__2)) goto LA37;
					i_2 = res_2;
					genericAssignAux_mQY3YYo2RBkhPz09ajfLwpQ(((void*) ((NI)((NU32)(d) + (NU32)((NI)((NU32)(i_2) * (NU32)((*(*mt).base).size)))))), ((void*) ((NI)((NU32)(s) + (NU32)((NI)((NU32)(i_2) * (NU32)((*(*mt).base).size)))))), (*mt).base, shallow);
					res_2 += ((NI) 1);
				} LA37: ;
			}
		}
	}
	break;
	case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 22):
	{
		unsureAsgnRef(((void**) (dest)), (*((void**) (s))));
	}
	break;
	case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 45):
	{
		void* s2_3;
		void** d_2;
		s2_3 = (*((void**) (src)));
		d_2 = ((void**) (dest));
		{
			if (!(s2_3 == NIM_NIL)) goto LA42_;
			unsureAsgnRef(d_2, s2_3);
		}
		goto LA40_;
		LA42_: ;
		{
			TNimType* realType;
			tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T45_;
			void* z;
			T45_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
			T45_ = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(s2_3);
			realType = (*T45_).typ;
			z = newObj(realType, (*(*realType).base).size);
			genericAssignAux_mQY3YYo2RBkhPz09ajfLwpQ(((void*) (d_2)), ((void*) ((&z))), (*mt).base, shallow);
		}
		LA40_: ;
	}
	break;
	default:
	{
		copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(dest, src, ((NI) ((*mt).size)));
	}
	break;
	}
	}BeforeRet_: ;
}

N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt) {
	genericAssignAux_mQY3YYo2RBkhPz09ajfLwpQ(dest, src, mt, NIM_FALSE);
}

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_U5hr1aflwKP9cnEP9cdTyPKA)(NI len) {
	tySequence_sM4lkSb7zS6F7OVMvW9cffQ* result;
	result = (tySequence_sM4lkSb7zS6F7OVMvW9cffQ*)0;
	result = (tySequence_sM4lkSb7zS6F7OVMvW9cffQ*) newSeq((&NTI_sM4lkSb7zS6F7OVMvW9cffQ_), len);
	return result;
}
static N_NIMCALL(void, Marker_tyRef_9bTGS9b5gqA3m1IgV71Csl0Q)(void* p, NI op) {
	tyObject_IndexError_K39aEGuwNdydKn2WFEpUygg* a;
	a = (tyObject_IndexError_K39aEGuwNdydKn2WFEpUygg*)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_NIMCALL(NI, countBits32)(NI32 n) {
	NI result;
	NI32 v;
	result = (NI)0;
	v = n;
	v = (NI32)((NU32)(v) - (NU32)((NI32)((NI32)((NU32)(v) >> (NU32)(((NI32) 1))) & ((NI32) 1431655765))));
	v = (NI32)((NU32)((NI32)(v & ((NI32) 858993459))) + (NU32)((NI32)((NI32)((NU32)(v) >> (NU32)(((NI32) 2))) & ((NI32) 858993459))));
	result = ((NI) ((NI32)((NU32)((NI32)((NU32)((NI32)((NI32)((NU32)(v) + (NU32)((NI32)((NU32)(v) >> (NU32)(((NI32) 4))))) & ((NI32) 252645135))) * (NU32)(((NI32) 16843009)))) >> (NU32)(((NI32) 24)))));
	return result;
}

N_NIMCALL(NI, cardSet)(tyArray_S8ib5N31oJbAkqOZTlNg5Q s, NI len) {
	NI result;
	result = (NI)0;
	result = ((NI) 0);
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (NI)(len - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				NI T4_;
				if (!(res <= colontmp_)) goto LA3;
				i = res;
				T4_ = (NI)0;
				T4_ = countBits32(((NI32) (s[(i)- 0])));
				result += T4_;
				res += ((NI) 1);
			} LA3: ;
		}
	}
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr_9bUFQ4OV1temcDF0GZp317g)(NimStringDesc* s, NI first) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = substr_TWXUwbnq0SWWvDLfr8LXYw(s, first, ((s ? s->Sup.len : 0)-1));
	return result;
}

N_NIMCALL(NI, hashString)(NimStringDesc* s) {
	NI result;
	NI h;
	result = (NI)0;
	h = ((NI) 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 = (NI)((NU32)(h) + (NU32)(((NU8)(s->data[i]))));
				h = (NI)((NU32)(h) + (NU32)((NI)((NU32)(h) << (NU32)(((NI) 10)))));
				h = (NI)(h ^ (NI)((NU32)(h) >> (NU32)(((NI) 6))));
				res += ((NI) 1);
			} LA3: ;
		}
	}
	h = (NI)((NU32)(h) + (NU32)((NI)((NU32)(h) << (NU32)(((NI) 3)))));
	h = (NI)(h ^ (NI)((NU32)(h) >> (NU32)(((NI) 11))));
	h = (NI)((NU32)(h) + (NU32)((NI)((NU32)(h) << (NU32)(((NI) 15)))));
	result = h;
	return result;
}
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);
}

static N_INLINE(void, sysFatal_nMottChWknXyAhGA1fBmOAsystem)(NimStringDesc* message) {
	tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw* e;
	NimStringDesc* T1_;
	e = (tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw*)0;
	e = (tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw*) newObj((&NTI_HMIVdYjdZYWskTmTQVo5BQ_), sizeof(tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw));
	(*e).Sup.Sup.Sup.m_type = (&NTI_iLZrPn9anoh9ad1MmO0RczFw_);
	T1_ = (NimStringDesc*)0;
	T1_ = (*e).Sup.Sup.message; (*e).Sup.Sup.message = copyStringRC1(message);
	if (T1_) nimGCunrefNoCycle(T1_);
	raiseException((Exception*)e, "IOError");
}

N_LIB_PRIVATE N_NOINLINE(void, raiseEIO_PpfSiTIeNpMAb9a5o6SglJw_2)(NimStringDesc* msg) {
	sysFatal_nMottChWknXyAhGA1fBmOAsystem(msg);
}

N_LIB_PRIVATE N_NIMCALL(void, checkErr_BWnr8V7RERYno9bIdPmw8Hw)(FILE* f) {
	{
		int T3_;
		T3_ = (int)0;
		T3_ = ferror(f);
		if (!!((T3_ == ((NI32) 0)))) goto LA4_;
		clearerr(f);
		raiseEIO_PpfSiTIeNpMAb9a5o6SglJw_2(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_30));
	}
	LA4_: ;
}

N_LIB_PRIVATE N_NIMCALL(NI, writeBuffer_nZ0pNe9cd9cXtoayexCiaDtA)(FILE* f, void* buffer, NI len) {
	NI result;
	int T1_;
	result = (NI)0;
	T1_ = (int)0;
	T1_ = fwrite(buffer, ((NI) 1), ((size_t) (len)), f);
	result = ((NI) (T1_));
	checkErr_BWnr8V7RERYno9bIdPmw8Hw(f);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, write_c4mGyJBvK73pdM22jiweKQ)(FILE* f, NimStringDesc* s) {
	{
		NI T3_;
		T3_ = (NI)0;
		T3_ = writeBuffer_nZ0pNe9cd9cXtoayexCiaDtA(f, ((void*) (nimToCStringConv(s))), ((NI) ((s ? s->Sup.len : 0))));
		if (!!((T3_ == (s ? s->Sup.len : 0)))) goto LA4_;
		raiseEIO_PpfSiTIeNpMAb9a5o6SglJw_2(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_31));
	}
	LA4_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, flushFile_BWnr8V7RERYno9bIdPmw8Hw_2)(FILE* f) {
	int T1_;
	T1_ = (int)0;
	T1_ = fflush(f);
	(void)(T1_);
}

N_LIB_PRIVATE N_NIMCALL(void, close_BWnr8V7RERYno9bIdPmw8Hw_3)(FILE* f) {
	{
		int T5_;
		if (!!((f == 0))) goto LA3_;
		T5_ = (int)0;
		T5_ = fclose(f);
		(void)(T5_);
	}
	LA3_: ;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, open_sEp0GH2306oGo9bqBpj5oTQ)(FILE** f, NimStringDesc* filename, tyEnum_FileMode_fVUBHvW79bXUw1j55Oo9avSQ mode, NI bufSize) {
	NIM_BOOL result;
	void* p;
{	result = (NIM_BOOL)0;
	p = fopen(nimToCStringConv(filename), nimToCStringConv(FormatOpen_129cS4U5eK4wWqE9bNeKN1Aw[(mode)- 0]));
	{
		FILE* f2;
		struct stat res;
		if (!!((p == NIM_NIL))) goto LA3_;
		f2 = ((FILE*) (p));
		nimZeroMem((void*)(&res), sizeof(struct stat));
		{
			NIM_BOOL T7_;
			int T8_;
			int T9_;
			T7_ = (NIM_BOOL)0;
			T8_ = (int)0;
			T8_ = getFileHandle_bZ9c2yojtXoDTUpfyl8h8Rg(f2);
			T9_ = (int)0;
			T9_ = fstat(T8_, (&res));
			T7_ = (((NI32) 0) <= T9_);
			if (!(T7_)) goto LA10_;
			T7_ = S_ISDIR(res.st_mode);
			LA10_: ;
			if (!T7_) goto LA11_;
			close_BWnr8V7RERYno9bIdPmw8Hw_3(f2);
			result = NIM_FALSE;
			goto BeforeRet_;
		}
		LA11_: ;
		result = NIM_TRUE;
		(*f) = ((FILE*) (p));
		{
			NIM_BOOL T15_;
			int T19_;
			T15_ = (NIM_BOOL)0;
			T15_ = (((NI) 0) < bufSize);
			if (!(T15_)) goto LA16_;
			T15_ = (bufSize <= ((NI) 2147483647));
			LA16_: ;
			if (!T15_) goto LA17_;
			T19_ = (int)0;
			T19_ = setvbuf((*f), NIM_NIL, _IOFBF, ((size_t) (((int) (bufSize)))));
			(void)(T19_);
		}
		goto LA13_;
		LA17_: ;
		{
			int T23_;
			if (!(bufSize == ((NI) 0))) goto LA21_;
			T23_ = (int)0;
			T23_ = setvbuf((*f), NIM_NIL, _IONBF, ((NI) 0));
			(void)(T23_);
		}
		goto LA13_;
		LA21_: ;
		LA13_: ;
	}
	LA3_: ;
	}BeforeRet_: ;
	return result;
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c;
		if (!!((src == NIM_NIL))) goto LA3_;
		c = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(src);
		(*c).refcount += ((NI) 8);
	}
	LA3_: ;
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c_2;
		if (!!(((*dest) == NIM_NIL))) goto LA7_;
		c_2 = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem((*dest));
		{
			(*c_2).refcount -= ((NI) 8);
			if (!((NU32)((*c_2).refcount) < (NU32)(((NI) 8)))) goto LA11_;
			rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system(c_2);
		}
		LA11_: ;
	}
	LA7_: ;
	(*dest) = src;
}

static N_INLINE(void, sysFatal_YAklE4KzS6SY3Vk3BY0BuAsystem)(NimStringDesc* message, NimStringDesc* arg) {
	tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw* e;
	NimStringDesc* T1_;
	e = (tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw*)0;
	e = (tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw*) newObj((&NTI_HMIVdYjdZYWskTmTQVo5BQ_), sizeof(tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw));
	(*e).Sup.Sup.Sup.m_type = (&NTI_iLZrPn9anoh9ad1MmO0RczFw_);
	T1_ = (NimStringDesc*)0;
	T1_ = rawNewString((message ? message->Sup.len : 0) + (arg ? arg->Sup.len : 0) + 0);
appendString(T1_, message);
appendString(T1_, arg);
	asgnRefNoCycle((void**) (&(*e).Sup.Sup.message), T1_);
	raiseException((Exception*)e, "IOError");
}

N_LIB_PRIVATE N_NIMCALL(FILE*, open_hqzpWQbdA2B8l9a6wwNoP4g)(NimStringDesc* filename, tyEnum_FileMode_fVUBHvW79bXUw1j55Oo9avSQ mode, NI bufSize) {
	FILE* result;
	result = (FILE*)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = open_sEp0GH2306oGo9bqBpj5oTQ(&result, filename, mode, bufSize);
		if (!!(T3_)) goto LA4_;
		sysFatal_YAklE4KzS6SY3Vk3BY0BuAsystem(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_37), filename);
	}
	LA4_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, readLine_sO1bQXVRA6RP9cdYJXNKeSw)(FILE* f, NimStringDesc** line) {
	NIM_BOOL result;
	NI pos;
	NI sp;
{	result = (NIM_BOOL)0;
	pos = ((NI) 0);
	sp = ((((*line) ? (*line)->Sup.len : 0) >= ((NI) 80)) ? ((*line) ? (*line)->Sup.len : 0) : ((NI) 80));
	unsureAsgnRef((void**) (&(*line)), setLengthStr((*line), ((NI) (sp))));
	{
		while (1) {
			NIM_BOOL fgetsSuccess;
			NCSTRING T3_;
			void* m;
			nimSetMem_2Mfumf6CnyNlShDWdIgobwsystem(((void*) ((&(*line)->data[pos]))), ((int) 10), ((NI) (sp)));
			T3_ = (NCSTRING)0;
			T3_ = fgets(((NCSTRING) ((&(*line)->data[pos]))), ((int) (sp)), f);
			fgetsSuccess = !((((void*) (T3_)) == NIM_NIL));
			{
				if (!!(fgetsSuccess)) goto LA6_;
				checkErr_BWnr8V7RERYno9bIdPmw8Hw(f);
			}
			LA6_: ;
			m = memchr(((void*) ((&(*line)->data[pos]))), ((int) 10), sp);
			{
				NI last;
				NIM_BOOL T31_;
				if (!!((m == NIM_NIL))) goto LA10_;
				last = (NI)(((NI) (ptrdiff_t) (m)) - ((NI) (ptrdiff_t) ((&(*line)->data[((NI) 0)]))));
				{
					NIM_BOOL T14_;
					NIM_BOOL T18_;
					T14_ = (NIM_BOOL)0;
					T14_ = (((NI) 0) < last);
					if (!(T14_)) goto LA15_;
					T14_ = ((NU8)((*line)->data[(NI)(last - ((NI) 1))]) == (NU8)(13));
					LA15_: ;
					if (!T14_) goto LA16_;
					unsureAsgnRef((void**) (&(*line)), setLengthStr((*line), ((NI) ((NI)(last - ((NI) 1))))));
					T18_ = (NIM_BOOL)0;
					T18_ = (((NI) 1) < last);
					if (T18_) goto LA19_;
					T18_ = fgetsSuccess;
					LA19_: ;
					result = T18_;
					goto BeforeRet_;
				}
				goto LA12_;
				LA16_: ;
				{
					NIM_BOOL T21_;
					T21_ = (NIM_BOOL)0;
					T21_ = (((NI) 0) < last);
					if (!(T21_)) goto LA22_;
					T21_ = ((NU8)((*line)->data[(NI)(last - ((NI) 1))]) == (NU8)(0));
					LA22_: ;
					if (!T21_) goto LA23_;
					{
						NIM_BOOL T27_;
						T27_ = (NIM_BOOL)0;
						T27_ = (last < (NI)((NI)(pos + sp) - ((NI) 1)));
						if (!(T27_)) goto LA28_;
						T27_ = !(((NU8)((*line)->data[(NI)(last + ((NI) 1))]) == (NU8)(0)));
						LA28_: ;
						if (!T27_) goto LA29_;
						last -= ((NI) 1);
					}
					LA29_: ;
				}
				goto LA12_;
				LA23_: ;
				LA12_: ;
				unsureAsgnRef((void**) (&(*line)), setLengthStr((*line), ((NI) (last))));
				T31_ = (NIM_BOOL)0;
				T31_ = (((NI) 0) < last);
				if (T31_) goto LA32_;
				T31_ = fgetsSuccess;
				LA32_: ;
				result = T31_;
				goto BeforeRet_;
			}
			goto LA8_;
			LA10_: ;
			{
				sp -= ((NI) 1);
			}
			LA8_: ;
			pos += sp;
			sp = ((NI) 128);
			unsureAsgnRef((void**) (&(*line)), setLengthStr((*line), ((NI) ((NI)(pos + sp)))));
		}
	}
	}BeforeRet_: ;
	return result;
}
static N_NIMCALL(void, Marker_tyRef_DsOOBcxCUeVlNUDRmn9afcA)(void* p, NI op) {
	tyObject_ReraiseError_Wyd9avMRCq0gsOu9adFoIjCA* a;
	a = (tyObject_ReraiseError_Wyd9avMRCq0gsOu9adFoIjCA*)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_CdqX02Nb9anAoNuazSrzczgsystem)(NimStringDesc* message) {
	tyObject_ReraiseError_Wyd9avMRCq0gsOu9adFoIjCA* e;
	NimStringDesc* T1_;
	e = (tyObject_ReraiseError_Wyd9avMRCq0gsOu9adFoIjCA*)0;
	e = (tyObject_ReraiseError_Wyd9avMRCq0gsOu9adFoIjCA*) newObj((&NTI_DsOOBcxCUeVlNUDRmn9afcA_), sizeof(tyObject_ReraiseError_Wyd9avMRCq0gsOu9adFoIjCA));
	(*e).Sup.Sup.Sup.m_type = (&NTI_Wyd9avMRCq0gsOu9adFoIjCA_);
	T1_ = (NimStringDesc*)0;
	T1_ = (*e).Sup.Sup.message; (*e).Sup.Sup.message = copyStringRC1(message);
	if (T1_) nimGCunrefNoCycle(T1_);
	raiseException((Exception*)e, "ReraiseError");
}

N_NIMCALL(void, reraiseException)(void) {
	{
		if (!(currException_9bVPeDJlYTi9bQApZpfH8wjg == NIM_NIL)) goto LA3_;
		sysFatal_CdqX02Nb9anAoNuazSrzczgsystem(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_38));
	}
	goto LA1_;
	LA3_: ;
	{
		raiseExceptionAux_na8C8pUZ9cLQWVwk35l5vfw(currException_9bVPeDJlYTi9bQApZpfH8wjg);
	}
	LA1_: ;
}

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 == 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_wACAbIVQ9chE25gS5iNqm9bw)(void) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = NIM_FALSE;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, writeStackTrace_BDp9bawgAP2bl9ay9bR0TJdMg)(void) {
	showErrorMessage_rsUJ87b89bH0GlWKYL9c8wUQ("No stack traceback available\012");
}

N_LIB_PRIVATE N_NIMCALL(void, insert_Eiy9bbhYifU3m5q0dPiRL0Q)(tySequence_sM4lkSb7zS6F7OVMvW9cffQ** x, NimStringDesc* item, NI i) {
	NI xl;
	NI T1_;
	NI j;
	NimStringDesc* T4_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xl = T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence_sM4lkSb7zS6F7OVMvW9cffQ*) setLengthSeqV2(&((*x))->Sup, (&NTI_sM4lkSb7zS6F7OVMvW9cffQ_), ((NI) ((NI)(xl + ((NI) 1))))));
	j = (NI)(xl - ((NI) 1));
	{
		while (1) {
			if (!(((NI) (i)) <= j)) goto LA3;
			asgnRefNoCycle((void**) (&(*x)->data[(NI)(j + ((NI) 1))]), (*x)->data[j]);
			j -= ((NI) 1);
		} LA3: ;
	}
	T4_ = (NimStringDesc*)0;
	T4_ = (*x)->data[i]; (*x)->data[i] = copyStringRC1(item);
	if (T4_) nimGCunrefNoCycle(T4_);
}

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_xEnKsp9cfvO7Do9cTYXo8eJw)(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) (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;
}
static N_NIMCALL(void, Marker_tyRef_nuL5K2f5u8HXdjAg35PVfw)(void* p, NI op) {
	tyObject_KeyError_nRD4SGrdQPt47sk7LIklpA* a;
	a = (tyObject_KeyError_nRD4SGrdQPt47sk7LIklpA*)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_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);
}

static N_INLINE(void, addEscapedChar_idr49a9aRlvTkf40D5KCA29bgsystem)(NimStringDesc** s, NIM_CHAR c) {
	switch (((NU8)(c))) {
	case 7:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_40));
	}
	break;
	case 8:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_41));
	}
	break;
	case 9:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_42));
	}
	break;
	case 10:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_43));
	}
	break;
	case 11:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_44));
	}
	break;
	case 12:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_45));
	}
	break;
	case 13:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_46));
	}
	break;
	case 27:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_47));
	}
	break;
	case 92:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_48));
	}
	break;
	case 39:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_49));
	}
	break;
	case 34:
	{
		unsureAsgnRef((void**) (&(*s)), resizeString((*s), 2));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_50));
	}
	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_51));
		n = ((NU8)(c));
		unsureAsgnRef((void**) (&(*s)), addChar((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_52)->data[(NI)((NU32)((NI)(n & ((NI) 240))) >> (NU32)(((NI) 4)))]));
		unsureAsgnRef((void**) (&(*s)), addChar((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_52)->data[(NI)(n & ((NI) 15))]));
	}
	break;
	}
}

N_LIB_PRIVATE N_NIMCALL(void, addQuoted_KHwyPEV6PV8Q9aS88ENydhw)(NimStringDesc** s, NimStringDesc* x) {
	unsureAsgnRef((void**) (&(*s)), resizeString((*s), 1));
appendString((*s), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_39));
	{
		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_idr49a9aRlvTkf40D5KCA29bgsystem(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_39));
}

N_NIMCALL(NI64, mulInt64)(NI64 a, NI64 b) {
	NI64 result;
	NF resAsFloat;
	NF floatProd;
{	result = (NI64)0;
	resAsFloat = (NF)0;
	floatProd = (NF)0;
	result = (NI64)((NU64)(a) * (NU64)(b));
	floatProd = ((double) (a));
	floatProd = ((NF)(floatProd) * (NF)(((double) (b))));
	resAsFloat = ((double) (result));
	{
		if (!(resAsFloat == floatProd)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!(((NF)(3.2000000000000000e+01) * (NF)((((NF)(resAsFloat) - (NF)(floatProd)) < 0? -(((NF)(resAsFloat) - (NF)(floatProd))) : (((NF)(resAsFloat) - (NF)(floatProd)))))) <= (floatProd < 0? -(floatProd) : (floatProd)))) goto LA7_;
		goto BeforeRet_;
	}
	LA7_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}

static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
	(*s).hasRaiseAction = NIM_FALSE;
	(*s).prev = excHandler_rqLlY5bs9atDw2OXYqJEn5g;
	excHandler_rqLlY5bs9atDw2OXYqJEn5g = s;
}

N_LIB_PRIVATE N_NIMCALL(NI64, rawFileSize_5kVjkAwDdtJJYVgsQusRMw)(FILE* file) {
	NI64 result;
	NI64 oldPos;
	int T1_;
	int T2_;
	result = (NI64)0;
	oldPos = ftello(file);
	T1_ = (int)0;
	T1_ = fseeko(file, IL64(0), ((int) 2));
	(void)(T1_);
	result = ftello(file);
	T2_ = (int)0;
	T2_ = fseeko(file, oldPos, ((int) 0));
	(void)(T2_);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NI, readBuffer_nZ0pNe9cd9cXtoayexCiaDtA_2)(FILE* f, void* buffer, NI len) {
	NI result;
	result = (NI)0;
	result = fread(buffer, ((NI) 1), ((size_t) (len)), f);
	{
		if (!!((result == ((NI) (len))))) goto LA3_;
		checkErr_BWnr8V7RERYno9bIdPmw8Hw(f);
	}
	LA3_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, endOfFile_OpxMRqWNQzmofyVQsNQqVA)(FILE* f) {
	NIM_BOOL result;
	int c;
	int T1_;
{	result = (NIM_BOOL)0;
	c = fgetc(f);
	T1_ = (int)0;
	T1_ = ungetc(c, f);
	(void)(T1_);
	result = (c < ((NI32) 0));
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readAllBuffer_QygGtYi2d8AILktDeUIkvQ)(FILE* file) {
	NimStringDesc* result;
	NimStringDesc* buffer;
	result = (NimStringDesc*)0;
	result = ((NimStringDesc*) NIM_NIL);
	buffer = mnewString(((NI) 4000));
	{
		while (1) {
			NI bytesRead;
			bytesRead = readBuffer_nZ0pNe9cd9cXtoayexCiaDtA_2(file, ((void*) ((&buffer->data[((NI) 0)]))), ((NI) 4000));
			{
				if (!(bytesRead == ((NI) 4000))) goto LA5_;
				result = resizeString(result, (buffer ? buffer->Sup.len : 0) + 0);
appendString(result, buffer);
			}
			goto LA3_;
			LA5_: ;
			{
				buffer = setLengthStr(buffer, ((NI) (bytesRead)));
				result = resizeString(result, (buffer ? buffer->Sup.len : 0) + 0);
appendString(result, buffer);
				goto LA1;
			}
			LA3_: ;
		}
	} LA1: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readAllFile_fcBYWWlGnMMlgQjz7Ax9bzA)(FILE* file, NI64 len) {
	NimStringDesc* result;
	NI bytes;
	result = (NimStringDesc*)0;
	result = mnewString(((NI) (len)));
	bytes = readBuffer_nZ0pNe9cd9cXtoayexCiaDtA_2(file, ((void*) ((&result->data[((NI) 0)]))), ((NI) (len)));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = endOfFile_OpxMRqWNQzmofyVQsNQqVA(file);
		if (!T3_) goto LA4_;
		{
			if (!(((NI64) (bytes)) < len)) goto LA8_;
			result = setLengthStr(result, ((NI) (bytes)));
		}
		LA8_: ;
	}
	goto LA1_;
	LA4_: ;
	{
		NimStringDesc* T11_;
		T11_ = (NimStringDesc*)0;
		T11_ = readAllBuffer_QygGtYi2d8AILktDeUIkvQ(file);
		result = resizeString(result, (T11_ ? T11_->Sup.len : 0) + 0);
appendString(result, T11_);
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readAll_y7iEIBoIrYlvsLCqA1SrwQ)(FILE* file) {
	NimStringDesc* result;
	NI64 len;
	result = (NimStringDesc*)0;
	{
		if (!!((file == stdin))) goto LA3_;
		len = rawFileSize_5kVjkAwDdtJJYVgsQusRMw(file);
	}
	goto LA1_;
	LA3_: ;
	{
		len = IL64(-1);
	}
	LA1_: ;
	{
		if (!(IL64(0) < len)) goto LA8_;
		result = readAllFile_fcBYWWlGnMMlgQjz7Ax9bzA(file, len);
	}
	goto LA6_;
	LA8_: ;
	{
		result = readAllBuffer_QygGtYi2d8AILktDeUIkvQ(file);
	}
	LA6_: ;
	return result;
}

static N_INLINE(void, popSafePoint)(void) {
	excHandler_rqLlY5bs9atDw2OXYqJEn5g = (*excHandler_rqLlY5bs9atDw2OXYqJEn5g).prev;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readFile_T9cm5LIRX2tKEH9aREBZ8A0w)(NimStringDesc* filename) {
	NimStringDesc* volatile result;
	FILE* f;
	result = (NimStringDesc*)0;
	f = (FILE*)0;
	{
		NIM_BOOL T3_;
		TSafePoint TM_Q5wkpxktOdTGvlSRo9bzt9aw_53;
		T3_ = (NIM_BOOL)0;
		T3_ = open_sEp0GH2306oGo9bqBpj5oTQ(&f, filename, ((tyEnum_FileMode_fVUBHvW79bXUw1j55Oo9avSQ) 0), ((NI) -1));
		if (!T3_) goto LA4_;
		pushSafePoint(&TM_Q5wkpxktOdTGvlSRo9bzt9aw_53);
		TM_Q5wkpxktOdTGvlSRo9bzt9aw_53.status = _setjmp(TM_Q5wkpxktOdTGvlSRo9bzt9aw_53.context);
		if (TM_Q5wkpxktOdTGvlSRo9bzt9aw_53.status == 0) {
			result = readAll_y7iEIBoIrYlvsLCqA1SrwQ(f);
			popSafePoint();
		}
		else {
			popSafePoint();
		}
		{
			close_BWnr8V7RERYno9bIdPmw8Hw_3(f);
		}
		if (TM_Q5wkpxktOdTGvlSRo9bzt9aw_53.status != 0) reraiseException();
	}
	goto LA1_;
	LA4_: ;
	{
		sysFatal_YAklE4KzS6SY3Vk3BY0BuAsystem(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_37), filename);
	}
	LA1_: ;
	return result;
}
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);
}

static N_INLINE(void, sysFatal_BzuSXNMrFTqBYZCHzFdAzgsystem)(NimStringDesc* message) {
	tyObject_EOFError_KGSY1JdrNB7Xi8KDhXFhSg* e;
	NimStringDesc* T1_;
	e = (tyObject_EOFError_KGSY1JdrNB7Xi8KDhXFhSg*)0;
	e = (tyObject_EOFError_KGSY1JdrNB7Xi8KDhXFhSg*) newObj((&NTI_LEclZrWX2FQAodlapxGITw_), sizeof(tyObject_EOFError_KGSY1JdrNB7Xi8KDhXFhSg));
	(*e).Sup.Sup.Sup.Sup.m_type = (&NTI_KGSY1JdrNB7Xi8KDhXFhSg_);
	T1_ = (NimStringDesc*)0;
	T1_ = (*e).Sup.Sup.Sup.message; (*e).Sup.Sup.Sup.message = copyStringRC1(message);
	if (T1_) nimGCunrefNoCycle(T1_);
	raiseException((Exception*)e, "EOFError");
}

N_LIB_PRIVATE N_NOINLINE(void, raiseEOF_9b10LwJKWsyrZIEKTB9b6PGQ)(void) {
	sysFatal_BzuSXNMrFTqBYZCHzFdAzgsystem(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_54));
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readLine_fPRnXwDTqtynUYGl4OixAg)(FILE* f) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = rawNewString(((NI) 80));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = readLine_sO1bQXVRA6RP9cdYJXNKeSw(f, (&result));
		if (!!(T3_)) goto LA4_;
		raiseEOF_9b10LwJKWsyrZIEKTB9b6PGQ();
	}
	LA4_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq__Ql5vZ51gew5fqwplIYujaw)(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_UQ2dOWdL5w7NwPQRo77KBg)(tySequence_sM4lkSb7zS6F7OVMvW9cffQ** x, NimStringDesc* item, NI i) {
	NI xl;
	NI T1_;
	NI j;
	NimStringDesc* T4_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xl = T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence_sM4lkSb7zS6F7OVMvW9cffQ*) setLengthSeqV2(&((*x))->Sup, (&NTI_sM4lkSb7zS6F7OVMvW9cffQ_), ((NI) ((NI)(xl + ((NI) 1))))));
	j = (NI)(xl - ((NI) 1));
	{
		while (1) {
			if (!(((NI) (i)) <= j)) goto LA3;
			asgnRefNoCycle((void**) (&(*x)->data[(NI)(j + ((NI) 1))]), (*x)->data[j]);
			j -= ((NI) 1);
		} LA3: ;
	}
	T4_ = (NimStringDesc*)0;
	T4_ = (*x)->data[i]; (*x)->data[i] = copyStringRC1(item);
	if (T4_) nimGCunrefNoCycle(T4_);
}

N_LIB_PRIVATE N_NIMCALL(void, addQuoted_nyaZAljVI03SH2d9cnD0WMw)(NimStringDesc** s, NI x) {
	add_IbYQ9cTcoQ89aIwM2IEYGMng(s, ((NI64) (x)));
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__E5ya0OOlyISUCw4ENFn9bLA)(tyTuple_kN8up2W6YKc5YA9avn5mV5w x) {
	NimStringDesc* result;
	NIM_BOOL firstElement;
	result = (NimStringDesc*)0;
	result = copyString(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_55));
	firstElement = NIM_TRUE;
	{
		if (!!(firstElement)) goto LA3_;
		result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_27));
	}
	LA3_: ;
	result = resizeString(result, 8);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_56));
	result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_57));
	addQuoted_KHwyPEV6PV8Q9aS88ENydhw((&result), x.Field0);
	firstElement = NIM_FALSE;
	{
		if (!!(firstElement)) goto LA7_;
		result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_27));
	}
	LA7_: ;
	result = resizeString(result, 4);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_58));
	result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_57));
	addQuoted_nyaZAljVI03SH2d9cnD0WMw((&result), x.Field1);
	firstElement = NIM_FALSE;
	{
		if (!!(firstElement)) goto LA11_;
		result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_27));
	}
	LA11_: ;
	result = resizeString(result, 6);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_59));
	result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_57));
	addQuoted_nyaZAljVI03SH2d9cnD0WMw((&result), x.Field2);
	firstElement = NIM_FALSE;
	result = resizeString(result, 1);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_60));
	return result;
}
static N_NIMCALL(void, Marker_tyRef_0vJvi4uHbxjbxlkkX7P1EA)(void* p, NI op) {
	RootObj* a;
	a = (RootObj*)p;
}

N_LIB_PRIVATE N_NIMCALL(void, add_A9bDQDKw5SEqD3OvtOnC1bg)(NimStringDesc** result, NF x) {
	tyArray_eVNFTutn6un5gcq48fQLdg buf;
	NI n;
	int T1_;
	NIM_BOOL hasDot;
	nimZeroMem((void*)buf, sizeof(tyArray_eVNFTutn6un5gcq48fQLdg));
	T1_ = (int)0;
	T1_ = sprintf(((NCSTRING) (buf)), "%.16g", x);
	n = ((NI) (T1_));
	hasDot = NIM_FALSE;
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (NI)(n - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA4;
				i = res;
				{
					if (!((NU8)(buf[(i)- 0]) == (NU8)(44))) goto LA7_;
					buf[(i)- 0] = 46;
					hasDot = NIM_TRUE;
				}
				goto LA5_;
				LA7_: ;
				{
					if (!(((NU8)(buf[(i)- 0])) >= ((NU8)(97)) && ((NU8)(buf[(i)- 0])) <= ((NU8)(122)) || ((NU8)(buf[(i)- 0])) >= ((NU8)(65)) && ((NU8)(buf[(i)- 0])) <= ((NU8)(90)) || ((NU8)(buf[(i)- 0])) == ((NU8)(46)))) goto LA10_;
					hasDot = NIM_TRUE;
				}
				goto LA5_;
				LA10_: ;
				LA5_: ;
				res += ((NI) 1);
			} LA4: ;
		}
	}
	{
		if (!!(hasDot)) goto LA14_;
		buf[(n)- 0] = 46;
		buf[((NI)(n + ((NI) 1)))- 0] = 48;
		buf[((NI)(n + ((NI) 2)))- 0] = 0;
	}
	LA14_: ;
	{
		if (!(((NU8)(buf[((NI)(n - ((NI) 1)))- 0])) == ((NU8)(110)) || ((NU8)(buf[((NI)(n - ((NI) 1)))- 0])) == ((NU8)(78)) || ((NU8)(buf[((NI)(n - ((NI) 1)))- 0])) == ((NU8)(68)) || ((NU8)(buf[((NI)(n - ((NI) 1)))- 0])) == ((NU8)(100)))) goto LA18_;
		unsureAsgnRef((void**) (&(*result)), resizeString((*result), 3));
appendString((*result), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_61));
	}
	goto LA16_;
	LA18_: ;
	{
		if (!((NU8)(buf[((NI)(n - ((NI) 1)))- 0]) == (NU8)(70))) goto LA21_;
		{
			if (!((NU8)(buf[(((NI) 0))- 0]) == (NU8)(45))) goto LA25_;
			unsureAsgnRef((void**) (&(*result)), resizeString((*result), 4));
appendString((*result), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_62));
		}
		goto LA23_;
		LA25_: ;
		{
			unsureAsgnRef((void**) (&(*result)), resizeString((*result), 3));
appendString((*result), ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_63));
		}
		LA23_: ;
	}
	goto LA16_;
	LA21_: ;
	{
		NI i_2;
		i_2 = ((NI) 0);
		{
			while (1) {
				if (!!(((NU8)(buf[(i_2)- 0]) == (NU8)(0)))) goto LA30;
				unsureAsgnRef((void**) (&(*result)), addChar((*result), buf[(i_2)- 0]));
				i_2 += ((NI) 1);
			} LA30: ;
		}
	}
	LA16_: ;
}

N_NIMCALL(NimStringDesc*, nimFloatToStr)(NF f) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = rawNewString(((NI) 8));
	add_A9bDQDKw5SEqD3OvtOnC1bg((&result), f);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq__acdBa63tG7KT1YiswWh3aw)(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, safeAdd_sWj9cQEeYRFzlYJxtMxtLCw)(tySequence_Ef05srmQTDulnBdXR4Ja6Q** x, tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* y) {
	NI T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence_Ef05srmQTDulnBdXR4Ja6Q*) incrSeqV3(&((*x))->Sup, (&NTI_Ef05srmQTDulnBdXR4Ja6Q_)));
	T1_ = (*x)->Sup.len++;
	asgnRefNoCycle((void**) (&(*x)->data[T1_]), y);
}
static N_NIMCALL(void, Marker_tySequence_nl5fX6g5vxdA4inU5zASDQ)(void* p, NI op) {
	tySequence_nl5fX6g5vxdA4inU5zASDQ* a;
	NI T1_;
	a = (tySequence_nl5fX6g5vxdA4inU5zASDQ*)p;
	T1_ = (NI)0;
	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
	nimGCvisit((void*)a->data[T1_].Field0, op);
	nimGCvisit((void*)a->data[T1_].Field1, op);
	}
}

N_LIB_PRIVATE N_NIMCALL(void, safeAdd_JUDmc4EvFK9c9c02wu1Skx0w)(tySequence_nl5fX6g5vxdA4inU5zASDQ** x, tyTuple_gOsvkY4zLbqYcgABB1VEQg y) {
	NI T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence_nl5fX6g5vxdA4inU5zASDQ*) incrSeqV3(&((*x))->Sup, (&NTI_nl5fX6g5vxdA4inU5zASDQ_)));
	T1_ = (*x)->Sup.len++;
	asgnRefNoCycle((void**) (&(*x)->data[T1_].Field0), y.Field0);
	asgnRefNoCycle((void**) (&(*x)->data[T1_].Field1), y.Field1);
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__rzAI8EMyNBAQwGODeohhAA)(NU64 x) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!(x == ((NI) 0))) goto LA3_;
		result = copyString(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_64));
	}
	goto LA1_;
	LA3_: ;
	{
		NI i;
		NU64 n;
		NI half;
		result = mnewString(((NI) 60));
		i = ((NI) 0);
		n = x;
		{
			while (1) {
				NU64 nn;
				if (!!((n == ((NI) 0)))) goto LA7;
				nn = (NU64)((NU64)(n) / (NU64)(10ULL));
				result->data[i] = ((NIM_CHAR) ((NU64)((NU64)((NU64)((NU64)(n) - (NU64)((NU64)((NU64)(10ULL) * (NU64)(nn))))) + (NU64)(((NI) 48)))));
				i += ((NI) 1);
				n = nn;
			} LA7: ;
		}
		result = setLengthStr(result, ((NI) (i)));
		half = (NI)(i / ((NI) 2));
		{
			NI t;
			NI colontmp_;
			NI res;
			t = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = (NI)(half - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					NIM_CHAR T11_;
					if (!(res <= colontmp_)) goto LA10;
					t = res;
					T11_ = (NIM_CHAR)0;
					T11_ = result->data[t];
					result->data[t] = result->data[(NI)((NI)(i - t) - ((NI) 1))];
					result->data[(NI)((NI)(i - t) - ((NI) 1))] = T11_;
					res += ((NI) 1);
				} LA10: ;
			}
		}
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, safeAdd_ty21nvPg2DzUZ3WFU9crAyw)(tySequence_sM4lkSb7zS6F7OVMvW9cffQ** x, NimStringDesc* y) {
	NI T1_;
	NimStringDesc* T2_;
	unsureAsgnRef((void**) (&(*x)), (tySequence_sM4lkSb7zS6F7OVMvW9cffQ*) incrSeqV3(&((*x))->Sup, (&NTI_sM4lkSb7zS6F7OVMvW9cffQ_)));
	T1_ = (*x)->Sup.len++;
	T2_ = (NimStringDesc*)0;
	T2_ = (*x)->data[T1_]; (*x)->data[T1_] = copyStringRC1(y);
	if (T2_) nimGCunrefNoCycle(T2_);
}

N_LIB_PRIVATE N_NIMCALL(void, writeFile_c1B29b0ZdDRPHc27YaKqwaA)(NimStringDesc* filename, NimStringDesc* content) {
	FILE* f;
	f = (FILE*)0;
	{
		NIM_BOOL T3_;
		TSafePoint TM_Q5wkpxktOdTGvlSRo9bzt9aw_65;
		T3_ = (NIM_BOOL)0;
		T3_ = open_sEp0GH2306oGo9bqBpj5oTQ(&f, filename, ((tyEnum_FileMode_fVUBHvW79bXUw1j55Oo9avSQ) 1), ((NI) -1));
		if (!T3_) goto LA4_;
		pushSafePoint(&TM_Q5wkpxktOdTGvlSRo9bzt9aw_65);
		TM_Q5wkpxktOdTGvlSRo9bzt9aw_65.status = _setjmp(TM_Q5wkpxktOdTGvlSRo9bzt9aw_65.context);
		if (TM_Q5wkpxktOdTGvlSRo9bzt9aw_65.status == 0) {
			write_c4mGyJBvK73pdM22jiweKQ(f, content);
			popSafePoint();
		}
		else {
			popSafePoint();
		}
		{
			close_BWnr8V7RERYno9bIdPmw8Hw_3(f);
		}
		if (TM_Q5wkpxktOdTGvlSRo9bzt9aw_65.status != 0) reraiseException();
	}
	goto LA1_;
	LA4_: ;
	{
		sysFatal_YAklE4KzS6SY3Vk3BY0BuAsystem(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_37), filename);
	}
	LA1_: ;
}

N_LIB_PRIVATE N_NIMCALL(tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ*, at__bQHHihY0PYrZkZONSF9a7Cg)(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;
				asgnRefNoCycle((void**) (&result->data[i]), a[i]);
				res += ((NI) 1);
			} LA3: ;
		}
	}
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NCSTRING*, allocCStringArray_TEzwlF389aOWujK0ZU6Ck9bA)(NimStringDesc** a, NI aLen_0) {
	NCSTRING* result;
	void* T1_;
	NimStringDesc** x;
	result = (NCSTRING*)0;
	T1_ = (void*)0;
	T1_ = alloc0_4cubgSerkjpuLcj5MXjiLw_2(((NI) ((NI)((NI)(aLen_0 + ((NI) 1)) * ((NI) 4)))));
	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_ = alloc0_4cubgSerkjpuLcj5MXjiLw_2(((NI) ((NI)((x[(i)- 0] ? x[(i)- 0]->Sup.len : 0) + ((NI) 1)))));
				result[(i)- 0] = ((NCSTRING) (T5_));
				copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(((void*) (result[(i)- 0])), ((void*) ((&x[(i)- 0]->data[((NI) 0)]))), ((NI) ((x[(i)- 0] ? x[(i)- 0]->Sup.len : 0))));
				res += ((NI) 1);
			} LA4: ;
		}
	}
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, deallocCStringArray_C6iuca1Cowwvc7xYXRiSig)(NCSTRING* a) {
	NI i;
	i = ((NI) 0);
	{
		while (1) {
			if (!!((((void*) (a[(i)- 0])) == NIM_NIL))) goto LA2;
			dealloc_RCjNtRnHdRYntrcE7YtwWw(((void*) (a[(i)- 0])));
			i += ((NI) 1);
		} LA2: ;
	}
	dealloc_RCjNtRnHdRYntrcE7YtwWw(((void*) (a)));
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, open_GRr4dBTChSldEteMxZDsuw)(FILE** f, int filehandle, tyEnum_FileMode_fVUBHvW79bXUw1j55Oo9avSQ mode) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	(*f) = fdopen(filehandle, nimToCStringConv(FormatOpen_129cS4U5eK4wWqE9bNeKN1Aw[(mode)- 0]));
	result = !(((*f) == NIM_NIL));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, setFilePos_YAngY19cHH2nZ9bqhMgAHz8Q)(FILE* f, NI64 pos, tyEnum_FileSeekPos_I9aQjuvWxs8BspGbxwsngWw relativeTo) {
	{
		int T3_;
		T3_ = (int)0;
		T3_ = fseeko(f, pos, ((int) (relativeTo)));
		if (!!((T3_ == ((NI32) 0)))) goto LA4_;
		raiseEIO_PpfSiTIeNpMAb9a5o6SglJw_2(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_66));
	}
	LA4_: ;
}

N_LIB_PRIVATE N_NIMCALL(NI64, getFilePos_XePgC9ccBXCgb9bEHXZpnMqA)(FILE* f) {
	NI64 result;
	result = (NI64)0;
	result = ftello(f);
	{
		if (!(result < IL64(0))) goto LA3_;
		raiseEIO_PpfSiTIeNpMAb9a5o6SglJw_2(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_67));
	}
	LA3_: ;
	return result;
}

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 frac_exponent;
	NI exp_sign;
	NI first_digit;
	NIM_BOOL has_sign;
	NI real_exponent;
	NIM_BOOL exp_negative;
	NI abs_exponent;
	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 = (NU64)0;
	frac_exponent = ((NI) 0);
	exp_sign = ((NI) 1);
	first_digit = ((NI) -1);
	has_sign = NIM_FALSE;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = ((NU8)(s->data[i]) == (NU8)(43));
		if (T3_) goto LA4_;
		T3_ = ((NU8)(s->data[i]) == (NU8)(45));
		LA4_: ;
		if (!T3_) goto LA5_;
		has_sign = NIM_TRUE;
		{
			if (!((NU8)(s->data[i]) == (NU8)(45))) goto LA9_;
			sign = -1.0000000000000000e+00;
		}
		LA9_: ;
		i += ((NI) 1);
	}
	LA5_: ;
	{
		NIM_BOOL T13_;
		T13_ = (NIM_BOOL)0;
		T13_ = ((NU8)(s->data[i]) == (NU8)(78));
		if (T13_) goto LA14_;
		T13_ = ((NU8)(s->data[i]) == (NU8)(110));
		LA14_: ;
		if (!T13_) goto LA15_;
		{
			NIM_BOOL T19_;
			T19_ = (NIM_BOOL)0;
			T19_ = ((NU8)(s->data[(NI)(i + ((NI) 1))]) == (NU8)(65));
			if (T19_) goto LA20_;
			T19_ = ((NU8)(s->data[(NI)(i + ((NI) 1))]) == (NU8)(97));
			LA20_: ;
			if (!T19_) goto LA21_;
			{
				NIM_BOOL T25_;
				T25_ = (NIM_BOOL)0;
				T25_ = ((NU8)(s->data[(NI)(i + ((NI) 2))]) == (NU8)(78));
				if (T25_) goto LA26_;
				T25_ = ((NU8)(s->data[(NI)(i + ((NI) 2))]) == (NU8)(110));
				LA26_: ;
				if (!T25_) goto LA27_;
				{
					if (!!((((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))))) goto LA31_;
					(*number) = NAN;
					result = (NI)((NI)(i + ((NI) 3)) - start);
					goto BeforeRet_;
				}
				LA31_: ;
			}
			LA27_: ;
		}
		LA21_: ;
		result = ((NI) 0);
		goto BeforeRet_;
	}
	LA15_: ;
	{
		NIM_BOOL T35_;
		T35_ = (NIM_BOOL)0;
		T35_ = ((NU8)(s->data[i]) == (NU8)(73));
		if (T35_) goto LA36_;
		T35_ = ((NU8)(s->data[i]) == (NU8)(105));
		LA36_: ;
		if (!T35_) goto LA37_;
		{
			NIM_BOOL T41_;
			T41_ = (NIM_BOOL)0;
			T41_ = ((NU8)(s->data[(NI)(i + ((NI) 1))]) == (NU8)(78));
			if (T41_) goto LA42_;
			T41_ = ((NU8)(s->data[(NI)(i + ((NI) 1))]) == (NU8)(110));
			LA42_: ;
			if (!T41_) goto LA43_;
			{
				NIM_BOOL T47_;
				T47_ = (NIM_BOOL)0;
				T47_ = ((NU8)(s->data[(NI)(i + ((NI) 2))]) == (NU8)(70));
				if (T47_) goto LA48_;
				T47_ = ((NU8)(s->data[(NI)(i + ((NI) 2))]) == (NU8)(102));
				LA48_: ;
				if (!T47_) goto LA49_;
				{
					if (!!((((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))))) goto LA53_;
					(*number) = ((NF)(INF) * (NF)(sign));
					result = (NI)((NI)(i + ((NI) 3)) - start);
					goto BeforeRet_;
				}
				LA53_: ;
			}
			LA49_: ;
		}
		LA43_: ;
		result = ((NI) 0);
		goto BeforeRet_;
	}
	LA37_: ;
	{
		if (!(((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)))) goto LA57_;
		first_digit = (NI)(((NU8)(s->data[i])) - ((NI) 48));
	}
	LA57_: ;
	{
		while (1) {
			if (!(((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)))) goto LA60;
			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) {
					if (!((NU8)(s->data[i]) == (NU8)(95))) goto LA62;
					i += ((NI) 1);
				} LA62: ;
			}
		} LA60: ;
	}
	{
		if (!((NU8)(s->data[i]) == (NU8)(46))) goto LA65_;
		i += ((NI) 1);
		{
			if (!(kdigits <= ((NI) 0))) goto LA69_;
			{
				while (1) {
					if (!((NU8)(s->data[i]) == (NU8)(48))) goto LA72;
					frac_exponent += ((NI) 1);
					i += ((NI) 1);
					{
						while (1) {
							if (!((NU8)(s->data[i]) == (NU8)(95))) goto LA74;
							i += ((NI) 1);
						} LA74: ;
					}
				} LA72: ;
			}
		}
		LA69_: ;
		{
			NIM_BOOL T77_;
			T77_ = (NIM_BOOL)0;
			T77_ = (first_digit == ((NI) -1));
			if (!(T77_)) goto LA78_;
			T77_ = (((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)));
			LA78_: ;
			if (!T77_) goto LA79_;
			first_digit = (NI)(((NU8)(s->data[i])) - ((NI) 48));
		}
		LA79_: ;
		{
			while (1) {
				if (!(((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)))) goto LA82;
				fdigits += ((NI) 1);
				frac_exponent += ((NI) 1);
				integer = (NU64)((NU64)((NU64)((NU64)(integer) * (NU64)(10ULL))) + (NU64)(((NU64) ((NI)(((NU8)(s->data[i])) - ((NI) 48))))));
				i += ((NI) 1);
				{
					while (1) {
						if (!((NU8)(s->data[i]) == (NU8)(95))) goto LA84;
						i += ((NI) 1);
					} LA84: ;
				}
			} LA82: ;
		}
	}
	LA65_: ;
	{
		NIM_BOOL T87_;
		NIM_BOOL T89_;
		NIM_BOOL T91_;
		T87_ = (NIM_BOOL)0;
		T87_ = ((NI)(kdigits + fdigits) <= ((NI) 0));
		if (!(T87_)) goto LA88_;
		T89_ = (NIM_BOOL)0;
		T89_ = (i == start);
		if (T89_) goto LA90_;
		T91_ = (NIM_BOOL)0;
		T91_ = (i == (NI)(start + ((NI) 1)));
		if (!(T91_)) goto LA92_;
		T91_ = has_sign;
		LA92_: ;
		T89_ = T91_;
		LA90_: ;
		T87_ = T89_;
		LA88_: ;
		if (!T87_) goto LA93_;
		result = ((NI) 0);
		goto BeforeRet_;
	}
	LA93_: ;
	{
		if (!(((NU8)(s->data[i])) == ((NU8)(101)) || ((NU8)(s->data[i])) == ((NU8)(69)))) goto LA97_;
		i += ((NI) 1);
		{
			NIM_BOOL T101_;
			T101_ = (NIM_BOOL)0;
			T101_ = ((NU8)(s->data[i]) == (NU8)(43));
			if (T101_) goto LA102_;
			T101_ = ((NU8)(s->data[i]) == (NU8)(45));
			LA102_: ;
			if (!T101_) goto LA103_;
			{
				if (!((NU8)(s->data[i]) == (NU8)(45))) goto LA107_;
				exp_sign = ((NI) -1);
			}
			LA107_: ;
			i += ((NI) 1);
		}
		LA103_: ;
		{
			if (!!((((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57))))) goto LA111_;
			result = ((NI) 0);
			goto BeforeRet_;
		}
		LA111_: ;
		{
			while (1) {
				if (!(((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)))) goto LA114;
				exponent = (NI)((NI)(exponent * ((NI) 10)) + (NI)(((NU8)(s->data[i])) - ((NI) 48)));
				i += ((NI) 1);
				{
					while (1) {
						if (!((NU8)(s->data[i]) == (NU8)(95))) goto LA116;
						i += ((NI) 1);
					} LA116: ;
				}
			} LA114: ;
		}
	}
	LA97_: ;
	real_exponent = (NI)((NI)(exp_sign * exponent) - frac_exponent);
	exp_negative = (real_exponent < ((NI) 0));
	abs_exponent = (real_exponent > 0? (real_exponent) : -(real_exponent));
	{
		if (!(((NI) 999) < abs_exponent)) goto LA119_;
		{
			if (!exp_negative) goto LA123_;
			(*number) = ((NF)(0.0) * (NF)(sign));
		}
		goto LA121_;
		LA123_: ;
		{
			(*number) = ((NF)(INF) * (NF)(sign));
		}
		LA121_: ;
		result = (NI)(i - start);
		goto BeforeRet_;
	}
	LA119_: ;
	digits = (NI)(kdigits + fdigits);
	{
		NIM_BOOL T128_;
		NIM_BOOL T130_;
		NI slop;
		T128_ = (NIM_BOOL)0;
		T128_ = (digits <= ((NI) 15));
		if (T128_) goto LA129_;
		T130_ = (NIM_BOOL)0;
		T130_ = (digits <= ((NI) 16));
		if (!(T130_)) goto LA131_;
		T130_ = (first_digit <= ((NI) 8));
		LA131_: ;
		T128_ = T130_;
		LA129_: ;
		if (!T128_) goto LA132_;
		{
			if (!(abs_exponent <= ((NI) 22))) goto LA136_;
			{
				if (!exp_negative) goto LA140_;
				(*number) = ((NF)(((NF)(sign) * (NF)(((NF) (integer))))) / (NF)(powtens_l8b44pimyaWe7sztIOF1Tw[(abs_exponent)- 0]));
			}
			goto LA138_;
			LA140_: ;
			{
				(*number) = ((NF)(((NF)(sign) * (NF)(((NF) (integer))))) * (NF)(powtens_l8b44pimyaWe7sztIOF1Tw[(abs_exponent)- 0]));
			}
			LA138_: ;
			result = (NI)(i - start);
			goto BeforeRet_;
		}
		LA136_: ;
		slop = (NI)((NI)(((NI) 15) - kdigits) - fdigits);
		{
			NIM_BOOL T145_;
			T145_ = (NIM_BOOL)0;
			T145_ = (abs_exponent <= (NI)(((NI) 22) + slop));
			if (!(T145_)) goto LA146_;
			T145_ = !(exp_negative);
			LA146_: ;
			if (!T145_) goto LA147_;
			(*number) = ((NF)(((NF)(((NF)(sign) * (NF)(((NF) (integer))))) * (NF)(powtens_l8b44pimyaWe7sztIOF1Tw[(slop)- 0]))) * (NF)(powtens_l8b44pimyaWe7sztIOF1Tw[((NI)(abs_exponent - slop))- 0]));
			result = (NI)(i - start);
			goto BeforeRet_;
		}
		LA147_: ;
	}
	LA132_: ;
	nimZeroMem((void*)t, sizeof(tyArray_PGLh8drTnaWr3s1qUUSq2Q));
	ti = ((NI) 0);
	maxlen = ((NI) 494);
	result = (NI)(i - start);
	i = start;
	{
		if (!((NU8)(s->data[i]) == (NU8)(46))) goto LA151_;
		i += ((NI) 1);
	}
	LA151_: ;
	{
		while (1) {
			if (!(((NU8)(s->data[i])) >= ((NU8)(48)) && ((NU8)(s->data[i])) <= ((NU8)(57)) || ((NU8)(s->data[i])) == ((NU8)(43)) || ((NU8)(s->data[i])) == ((NU8)(45)))) goto LA154;
			{
				if (!(ti < maxlen)) goto LA157_;
				t[(ti)- 0] = s->data[i];
				ti += ((NI) 1);
			}
			LA157_: ;
			i += ((NI) 1);
			{
				while (1) {
					if (!(((NU8)(s->data[i])) == ((NU8)(46)) || ((NU8)(s->data[i])) == ((NU8)(95)))) goto LA160;
					i += ((NI) 1);
				} LA160: ;
			}
		} LA154: ;
	}
	t[(ti)- 0] = 69;
	ti += ((NI) 1);
	{
		if (!exp_negative) goto LA163_;
		t[(ti)- 0] = 45;
	}
	goto LA161_;
	LA163_: ;
	{
		t[(ti)- 0] = 43;
	}
	LA161_: ;
	ti += ((NI) 1);
	ti += ((NI) 3);
	t[((NI)(ti - ((NI) 1)))- 0] = ((NIM_CHAR) ((NI)(((NI) 48) + (NI)(abs_exponent % ((NI) 10)))));
	abs_exponent = (NI)(abs_exponent / ((NI) 10));
	t[((NI)(ti - ((NI) 2)))- 0] = ((NIM_CHAR) ((NI)(((NI) 48) + (NI)(abs_exponent % ((NI) 10)))));
	abs_exponent = (NI)(abs_exponent / ((NI) 10));
	t[((NI)(ti - ((NI) 3)))- 0] = ((NIM_CHAR) ((NI)(((NI) 48) + (NI)(abs_exponent % ((NI) 10)))));
	(*number) = strtod(((NCSTRING) (t)), NIM_NIL);
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, objectInitAux_ruA1rosalqf8AhzZPPTBQg_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):
	{
		objectInit(((void*) ((NI)((NU32)(d) + (NU32)((*n).offset)))), (*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 LA6;
					i = res;
					objectInitAux_ruA1rosalqf8AhzZPPTBQg_2(dest, (*n).sons[(i)- 0]);
					res += ((NI) 1);
				} LA6: ;
			}
		}
	}
	break;
	case ((tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ) 3):
	{
		TNimNode* m;
		m = selectBranch_yDNUA0V9a9a9bVLtZ9bXPT0aEg(dest, n);
		{
			if (!!((m == NIM_NIL))) goto LA10_;
			objectInitAux_ruA1rosalqf8AhzZPPTBQg_2(dest, m);
		}
		LA10_: ;
	}
	break;
	}
}

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_ruA1rosalqf8AhzZPPTBQg_2(dest, (*typ).node);
	}
	break;
	case ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 18):
	{
		objectInitAux_ruA1rosalqf8AhzZPPTBQg_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) {
					if (!(res <= colontmp_)) goto LA6;
					i = res;
					objectInit(((void*) ((NI)((NU32)(d) + (NU32)((NI)(i * (*(*typ).base).size))))), (*typ).base);
					res += ((NI) 1);
				} LA6: ;
			}
		}
	}
	break;
	default:
	{
	}
	break;
	}
}

N_LIB_PRIVATE N_NIMCALL(NI, ptrSize_FVy3yH9cNo61BYTEPuP9awLA)(void* p) {
	NI result;
	void* x;
	tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w* c;
	result = (NI)0;
	x = ((void*) ((NI)((NU32)(((NI) (ptrdiff_t) (p))) - (NU32)(((NI)sizeof(tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ))))));
	c = pageAddr_4uti7hTxTUDxUPqFMgMvHAsystem(p);
	result = (NI)((NU32)((*c).size) - (NU32)(((NI)sizeof(tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ))));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = isSmallChunk_xxNWShoyEPMUVN7FvfpDjwsystem(c);
		if (!!(T3_)) goto LA4_;
		result -= (NI)(((NI)sizeof(tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg)) - ((NI) 8));
	}
	LA4_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void*, realloc_O21OiSxurjvup9cA55o9ae1A)(tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg* allocator, void* p, NI newsize) {
	void* result;
	result = (void*)0;
	{
		if (!(((NI) 0) < ((NI) (newsize)))) goto LA3_;
		result = alloc0_WDxgSWQ1mSIerfvC0kmUtg_2(allocator, newsize);
		{
			NI T9_;
			if (!!((p == NIM_NIL))) goto LA7_;
			T9_ = (NI)0;
			T9_ = ptrSize_FVy3yH9cNo61BYTEPuP9awLA(p);
			copyMem_fPlwH3r9agN9aEHB6yCPMh0wsystem(result, p, ((NI) (((T9_ <= ((NI) (newsize))) ? T9_ : ((NI) (newsize))))));
			dealloc_jqYVOi4APb9cRx3G9a57AkRw(allocator, p);
		}
		LA7_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		if (!!((p == NIM_NIL))) goto LA11_;
		dealloc_jqYVOi4APb9cRx3G9a57AkRw(allocator, p);
	}
	goto LA1_;
	LA11_: ;
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NOCONV(void*, realloc_epWYXy7oruYtiNJhUF25Zg)(void* p, NI newSize) {
	void* result;
	result = (void*)0;
	result = realloc_O21OiSxurjvup9cA55o9ae1A((&gch_IcYaEuuWivYAS86vFMTS3Q.region), p, newSize);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NI, clamp_RrNgT2340KObgDMnZWSK5A)(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_NIMCALL(NimStringDesc*, nimBoolToStr)(NIM_BOOL x) {
	NimStringDesc* result;
{	result = (NimStringDesc*)0;
	{
		if (!x) goto LA3_;
		result = copyString(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_68));
	}
	goto LA1_;
	LA3_: ;
	{
		result = copyString(((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_69));
	}
	LA1_: ;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA*, new_WXvut0jf9avLrZqje29bbhTQ)(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(void, safeAdd_159bXvKbDCwtLAAM9au9cb2iw)(tySequence_DXS6mEo7PVUFJkirsQ9bNQA** x, tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA* y) {
	NI T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence_DXS6mEo7PVUFJkirsQ9bNQA*) incrSeqV3(&((*x))->Sup, (&NTI_DXS6mEo7PVUFJkirsQ9bNQA_)));
	T1_ = (*x)->Sup.len++;
	asgnRefNoCycle((void**) (&(*x)->data[T1_]), y);
}

N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq__qp0QnTj4n9bRuO69cX64g09bw)(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;
					asgnRefNoCycle((void**) (&(*s)->data[(NI)(i + a)]), b[i]);
					i_2 += ((NI) 1);
				} LA7: ;
			}
		}
	}
	goto LA1_;
	LA3_: ;
	{
		NI shift;
		NI newLen;
		NI T9_;
		shift = (NI)(bLen_0 - ((((NI) 0) >= L) ? ((NI) 0) : L));
		T9_ = ((*s) ? (*s)->Sup.len : 0);
		newLen = (NI)(T9_ + shift);
		{
			if (!(((NI) 0) < shift)) goto LA12_;
			unsureAsgnRef((void**) (&(*s)), (tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*s))->Sup, (&NTI_ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) (newLen))));
			{
				NI i_3;
				NI colontmp_;
				NI colontmp__2;
				NI res;
				i_3 = (NI)0;
				colontmp_ = (NI)0;
				colontmp__2 = (NI)0;
				colontmp_ = (NI)(newLen - ((NI) 1));
				colontmp__2 = (NI)(a + bLen_0);
				res = colontmp_;
				{
					while (1) {
						if (!(colontmp__2 <= res)) goto LA16;
						i_3 = res;
						asgnRefNoCycle((void**) (&(*s)->data[i_3]), (*s)->data[(NI)(i_3 - shift)]);
						res -= ((NI) 1);
					} LA16: ;
				}
			}
		}
		goto LA10_;
		LA12_: ;
		{
			{
				NI i_4;
				NI colontmp__3;
				NI colontmp__4;
				NI res_2;
				i_4 = (NI)0;
				colontmp__3 = (NI)0;
				colontmp__4 = (NI)0;
				colontmp__3 = (NI)(a + bLen_0);
				colontmp__4 = (NI)(newLen - ((NI) 1));
				res_2 = colontmp__3;
				{
					while (1) {
						if (!(res_2 <= colontmp__4)) goto LA20;
						i_4 = res_2;
						asgnRefNoCycle((void**) (&(*s)->data[i_4]), (*s)->data[(NI)(i_4 - shift)]);
						res_2 += ((NI) 1);
					} LA20: ;
				}
			}
			unsureAsgnRef((void**) (&(*s)), (tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*s))->Sup, (&NTI_ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) (newLen))));
		}
		LA10_: ;
		{
			NI i_5;
			NI colontmp__5;
			NI i_6;
			i_5 = (NI)0;
			colontmp__5 = (NI)0;
			colontmp__5 = bLen_0;
			i_6 = ((NI) 0);
			{
				while (1) {
					if (!(i_6 < colontmp__5)) goto LA23;
					i_5 = i_6;
					asgnRefNoCycle((void**) (&(*s)->data[(NI)(a + i_5)]), b[i_5]);
					i_6 += ((NI) 1);
				} LA23: ;
			}
		}
	}
	LA1_: ;
}

N_LIB_PRIVATE N_NIMCALL(tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ*, X5BX5D__9cueLd9bkUmFfQlhou0cPvIg)(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;
				asgnRefNoCycle((void**) (&result->data[i]), s[(NI)(i + a)]);
				i_2 += ((NI) 1);
			} LA3: ;
		}
	}
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, safeAdd_TWFnHoF9cUXsejH5sIoriow)(tySequence_MvZmat48bhe9b6x9aUD58D5Q** x, tyTuple_zwpS6d6iewrdlBSTNFoyVA y) {
	NI T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence_MvZmat48bhe9b6x9aUD58D5Q*) incrSeqV3(&((*x))->Sup, (&NTI_MvZmat48bhe9b6x9aUD58D5Q_)));
	T1_ = (*x)->Sup.len++;
	(*x)->data[T1_].Field0 = y.Field0;
	asgnRefNoCycle((void**) (&(*x)->data[T1_].Field1), y.Field1);
}

N_LIB_PRIVATE N_NIMCALL(tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ*, X5BX5D__soQUrGHO6ZZoRcS87CkP6w)(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;
				asgnRefNoCycle((void**) (&result->data[i]), s[(NI)(i + a)]);
				i_2 += ((NI) 1);
			} LA3: ;
		}
	}
	return result;
}
static N_NIMCALL(void, Marker_tySequence_hj4BvueOlKB8Z1Qw2ZU4nQ)(void* p, NI op) {
	tySequence_hj4BvueOlKB8Z1Qw2ZU4nQ* a;
	NI T1_;
	a = (tySequence_hj4BvueOlKB8Z1Qw2ZU4nQ*)p;
	T1_ = (NI)0;
	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
	nimGCvisit((void*)a->data[T1_].n, op);
	switch (a->data[T1_].kind) {
	case ((tyEnum_InstrKind_kmjEwko0gQNypI4MTa9chwQ) 2):
	case ((tyEnum_InstrKind_kmjEwko0gQNypI4MTa9chwQ) 3):
	case ((tyEnum_InstrKind_kmjEwko0gQNypI4MTa9chwQ) 4):
	nimGCvisit((void*)a->data[T1_]._Ukind.sym, op);
	break;
	case ((tyEnum_InstrKind_kmjEwko0gQNypI4MTa9chwQ) 0):
	case ((tyEnum_InstrKind_kmjEwko0gQNypI4MTa9chwQ) 1):
	break;
	} 
	}
}
static N_NIMCALL(void, Marker_tySequence_bZP29c0SHT9aMkbSl4EFvgCg)(void* p, NI op) {
	tySequence_bZP29c0SHT9aMkbSl4EFvgCg* a;
	NI T1_;
	a = (tySequence_bZP29c0SHT9aMkbSl4EFvgCg*)p;
	T1_ = (NI)0;
	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
	nimGCvisit((void*)a->data[T1_].label, op);
	nimGCvisit((void*)a->data[T1_].fixups, op);
	}
}

N_LIB_PRIVATE N_NIMCALL(void, add_5krzJTgr5rBc6qyWc9aphuw)(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;
				asgnRefNoCycle((void**) (&(*x)->data[(NI)(xl + i)]), y[i]);
				res += ((NI) 1);
			} LA4: ;
		}
	}
}

N_LIB_PRIVATE N_NIMCALL(void, delete_CLZdKKlcUPYhcUpOnWP7ag)(tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ** x, NI i) {
	NI xl;
	NI T1_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xl = T1_;
	{
		NI j;
		NI colontmp_;
		NI colontmp__2;
		NI res;
		j = (NI)0;
		colontmp_ = (NI)0;
		colontmp__2 = (NI)0;
		colontmp_ = ((NI) (i));
		colontmp__2 = (NI)(xl - ((NI) 2));
		res = colontmp_;
		{
			while (1) {
				if (!(res <= colontmp__2)) goto LA4;
				j = res;
				asgnRefNoCycle((void**) (&(*x)->data[j]), (*x)->data[(NI)(j + ((NI) 1))]);
				res += ((NI) 1);
			} LA4: ;
		}
	}
	unsureAsgnRef((void**) (&(*x)), (tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*x))->Sup, (&NTI_ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) ((NI)(xl - ((NI) 1))))));
}

N_LIB_PRIVATE N_NIMCALL(void, delete_9bSCVC9bGqCpBkwep0LldvIg)(tySequence_qwqHTkRvwhrRyENtudHQ7g** x, NI i) {
	NI xl;
	NI T1_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xl = T1_;
	{
		NI j;
		NI colontmp_;
		NI colontmp__2;
		NI res;
		j = (NI)0;
		colontmp_ = (NI)0;
		colontmp__2 = (NI)0;
		colontmp_ = ((NI) (i));
		colontmp__2 = (NI)(xl - ((NI) 2));
		res = colontmp_;
		{
			while (1) {
				if (!(res <= colontmp__2)) goto LA4;
				j = res;
				(*x)->data[j] = (*x)->data[(NI)(j + ((NI) 1))];
				res += ((NI) 1);
			} LA4: ;
		}
	}
	unsureAsgnRef((void**) (&(*x)), (tySequence_qwqHTkRvwhrRyENtudHQ7g*) setLengthSeqV2(&((*x))->Sup, (&NTI_qwqHTkRvwhrRyENtudHQ7g_), ((NI) ((NI)(xl - ((NI) 1))))));
}

N_LIB_PRIVATE N_NIMCALL(void, del_CLZdKKlcUPYhcUpOnWP7ag_2)(tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ** x, NI i) {
	NI xl;
	NI T1_;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xl = (NI)(T1_ - ((NI) 1));
	asgnRefNoCycle((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, safeAdd_TLXpby9abwZs6Huf5RGwBbQ)(tySequence_0dpGN6F4ocevqUQGsaf41w** x, tyObject_CandidateError_5fLnqPfj0Ty9cmak1Q1pBFQ y) {
	NI T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence_0dpGN6F4ocevqUQGsaf41w*) incrSeqV3(&((*x))->Sup, (&NTI_0dpGN6F4ocevqUQGsaf41w_)));
	T1_ = (*x)->Sup.len++;
	genericAssign((void*)(&(*x)->data[T1_]), (void*)(&y), (&NTI_5fLnqPfj0Ty9cmak1Q1pBFQ_));
}

N_LIB_PRIVATE N_NIMCALL(void, insert_sdPxAA6tJBXORWiLIJmHnQ)(tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ** x, tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* item, NI i) {
	NI xl;
	NI T1_;
	NI j;
	T1_ = ((*x) ? (*x)->Sup.len : 0);
	xl = T1_;
	unsureAsgnRef((void**) (&(*x)), (tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ*) setLengthSeqV2(&((*x))->Sup, (&NTI_ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI) ((NI)(xl + ((NI) 1))))));
	j = (NI)(xl - ((NI) 1));
	{
		while (1) {
			if (!(((NI) (i)) <= j)) goto LA3;
			asgnRefNoCycle((void**) (&(*x)->data[(NI)(j + ((NI) 1))]), (*x)->data[j]);
			j -= ((NI) 1);
		} LA3: ;
	}
	asgnRefNoCycle((void**) (&(*x)->data[i]), item);
}

N_LIB_PRIVATE N_NIMCALL(tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ*, newSeq_kRt1ZLhQ6puUVenSqCOflw)(NI len) {
	tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ* result;
	result = (tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ*)0;
	result = (tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ*) newSeq((&NTI_ehmV9bTklH2Gt9cXHV9c0HLeQ_), len);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, write_OG3BP9aaTiau0tBdonibGTg)(FILE* f, NimStringDesc** a, NI aLen_0) {
	{
		NimStringDesc* x;
		NI i;
		x = (NimStringDesc*)0;
		i = ((NI) 0);
		{
			while (1) {
				if (!(i < aLen_0)) goto LA3;
				x = a[i];
				write_c4mGyJBvK73pdM22jiweKQ(f, x);
				i += ((NI) 1);
			} LA3: ;
		}
	}
}

N_LIB_PRIVATE N_NIMCALL(tySequence_P9c6Y5h4sjjYLVGti5AELHg*, newSeq_FPLn3nr4CMLhNvEtwdij0g)(NI len) {
	tySequence_P9c6Y5h4sjjYLVGti5AELHg* result;
	result = (tySequence_P9c6Y5h4sjjYLVGti5AELHg*)0;
	result = (tySequence_P9c6Y5h4sjjYLVGti5AELHg*) newSeq((&NTI_P9c6Y5h4sjjYLVGti5AELHg_), len);
	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_EAMxp3joo6DeNIj1mLFCYg)(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);
	}
}
static N_NIMCALL(void, Marker_tySequence_AK3cQuijuQxFGdWA8l9a9aYA)(void* p, NI op) {
	tySequence_AK3cQuijuQxFGdWA8l9a9aYA* a;
	NI T1_;
	a = (tySequence_AK3cQuijuQxFGdWA8l9a9aYA*)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_AK3cQuijuQxFGdWA8l9a9aYA*, newSeq_vSHfZxYHd69bixD0qSxJBDA)(NI len) {
	tySequence_AK3cQuijuQxFGdWA8l9a9aYA* result;
	result = (tySequence_AK3cQuijuQxFGdWA8l9a9aYA*)0;
	result = (tySequence_AK3cQuijuQxFGdWA8l9a9aYA*) newSeq((&NTI_AK3cQuijuQxFGdWA8l9a9aYA_), len);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tySequence_76wc9cnTOK9c6epudv8uYE0w*, newSeq_SM25CWRj1WXgxTGKtgmdEA)(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_8Eruo47qvrfENwO9aWPZfBQ)(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_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_sR1OBdsDRiRfIJbzk6iUkg)(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_BlrccvgyrVECLCXlhRK9cMw)(NI len) {
	tySequence_qwqHTkRvwhrRyENtudHQ7g* result;
	result = (tySequence_qwqHTkRvwhrRyENtudHQ7g*)0;
	result = (tySequence_qwqHTkRvwhrRyENtudHQ7g*) newSeq((&NTI_qwqHTkRvwhrRyENtudHQ7g_), len);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tySequence_sM4lkSb7zS6F7OVMvW9cffQ*, newSeq_3vPdD21FJmto10rHa4nFYA)(NI len) {
	tySequence_sM4lkSb7zS6F7OVMvW9cffQ* result;
	result = (tySequence_sM4lkSb7zS6F7OVMvW9cffQ*)0;
	result = (tySequence_sM4lkSb7zS6F7OVMvW9cffQ*) newSeq((&NTI_sM4lkSb7zS6F7OVMvW9cffQ_), len);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, insert_noz5YDnGdGKiDcPEZenHJA)(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: ;
	}
}

static N_INLINE(NIM_BOOL, equalMem_DCrUjdaMvFDHaR1hs7sQGwropes)(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_DCrUjdaMvFDHaR1hs7sQGwropes(((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)]))), 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_xEnKsp9cfvO7Do9cTYXo8eJw_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(void, quit_y2WuTG82qH44FHhQsKXOCg)(NimStringDesc* errormsg, NI errorcode) {
	tyArray_nHXaesL0DJZHyVS07ARPRA T1_;
	nimZeroMem((void*)T1_, sizeof(tyArray_nHXaesL0DJZHyVS07ARPRA));
	T1_[0] = copyString(errormsg);
	echoBinSafe(T1_, 1);
	exit(errorcode);
}

static N_INLINE(void*, seqToPtr_3GXdYap6cQyJyX7ox0bY8wsystem)(tySequence_oLpBKXzW3hF9aCVMo5EymfQ* x) {
	void* result;
	result = (void*)0;
	result = ((void*) (x));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq__fL0tq3d6JfMw9bvY7G6spBQ)(tySequence_oLpBKXzW3hF9aCVMo5EymfQ* x, tySequence_oLpBKXzW3hF9aCVMo5EymfQ* y) {
	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		void* T3_;
		void* T4_;
		T3_ = (void*)0;
		T3_ = seqToPtr_3GXdYap6cQyJyX7ox0bY8wsystem(x);
		T4_ = (void*)0;
		T4_ = seqToPtr_3GXdYap6cQyJyX7ox0bY8wsystem(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__Ujpjfumo30l2ielPaquw0Q(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__fsWIAWPnaoNtepsWNV0Ldw)(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(void, add_XyS0BXa1E5ylXzhvUQlY9cg)(NimStringDesc** x, NCSTRING y) {
	NI i;
	i = ((NI) 0);
	{
		while (1) {
			if (!!(((NU8)(y[i]) == (NU8)(0)))) goto LA2;
			unsureAsgnRef((void**) (&(*x)), addChar((*x), y[i]));
			i += ((NI) 1);
		} LA2: ;
	}
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__9aa1nIS4Akuy1q1Eh3kn0TQ)(tySequence_uB9b75OUPRENsBAu4AnoePA* s) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	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_70));
				}
				goto LA5_;
				LA7_: ;
				{
					if (!(s->data[i].line == ((NI) -100))) goto LA10_;
					result = resizeString(result, 3);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_71));
				}
				goto LA5_;
				LA10_: ;
				{
					NI oldLen;
					oldLen = (result ? result->Sup.len : 0);
					add_XyS0BXa1E5ylXzhvUQlY9cg((&result), s->data[i].filename);
					{
						NimStringDesc* T17_;
						if (!(((NI) 0) < s->data[i].line)) goto LA15_;
						result = addChar(result, 40);
						T17_ = (NimStringDesc*)0;
						T17_ = nimIntToStr(s->data[i].line);
						result = resizeString(result, (T17_ ? T17_->Sup.len : 0) + 0);
appendString(result, T17_);
						result = addChar(result, 41);
					}
					LA15_: ;
					{
						NI k;
						NI colontmp__2;
						NI res_2;
						k = (NI)0;
						colontmp__2 = (NI)0;
						colontmp__2 = ((((NI) 1) >= (NI)(((NI) 25) - (NI)((result ? result->Sup.len : 0) - oldLen))) ? ((NI) 1) : (NI)(((NI) 25) - (NI)((result ? result->Sup.len : 0) - oldLen)));
						res_2 = ((NI) 1);
						{
							while (1) {
								if (!(res_2 <= colontmp__2)) goto LA20;
								k = res_2;
								result = addChar(result, 32);
								res_2 += ((NI) 1);
							} LA20: ;
						}
					}
					add_XyS0BXa1E5ylXzhvUQlY9cg((&result), s->data[i].procname);
					result = resizeString(result, 1);
appendString(result, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_72));
				}
				LA5_: ;
				res += ((NI) 1);
			} LA4: ;
		}
	}
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getStackTrace_mI9ab9brIr0sj9cwM7dRnfc5Q)(Exception* e) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!!((e == 0))) goto LA3_;
		result = dollar__9aa1nIS4Akuy1q1Eh3kn0TQ((*e).trace);
	}
	goto LA1_;
	LA3_: ;
	{
		result = ((NimStringDesc*) NIM_NIL);
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NI, getMaxMem_ul55t0ZmpoFqT45t9bKhMHw)(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_9bFvoxSITMVCg7RY8KIar1Q_2)(void) {
	NI result;
{	result = (NI)0;
	result = getMaxMem_ul55t0ZmpoFqT45t9bKhMHw((&gch_IcYaEuuWivYAS86vFMTS3Q.region));
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NI, getTotalMem_9bFvoxSITMVCg7RY8KIar1Q_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_J4pluHK783lhY9aB0aYTnzg)(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_9bFvoxSITMVCg7RY8KIar1Q_3();
	T3_ = (NimStringDesc*)0;
	T3_ = nimIntToStr(T2_);
	T4_ = (NI)0;
	T4_ = getOccupiedMem_9bFvoxSITMVCg7RY8KIar1Q();
	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_73));
appendString(T1_, T3_);
appendString(T1_, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_74));
appendString(T1_, T5_);
appendString(T1_, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_75));
appendString(T1_, T6_);
appendString(T1_, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_76));
appendString(T1_, T7_);
appendString(T1_, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_77));
appendString(T1_, T8_);
appendString(T1_, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_78));
appendString(T1_, T9_);
appendString(T1_, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_79));
appendString(T1_, T10_);
appendString(T1_, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_80));
appendString(T1_, T11_);
appendString(T1_, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_81));
appendString(T1_, T12_);
appendString(T1_, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_72));
	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_82));
appendString(T13_, T14_);
appendString(T13_, ((NimStringDesc*) &TM_Q5wkpxktOdTGvlSRo9bzt9aw_72));
	result = resizeString(result, (T13_ ? T13_->Sup.len : 0) + 0);
appendString(result, T13_);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void) {
{
	TFrame FR_; FR_.len = 0;
}
nimRegisterThreadLocalMarker(TM_Q5wkpxktOdTGvlSRo9bzt9aw_17);
	nimvm_IAxmsqnME4Jmed24hOgrFQ = NIM_FALSE;
	genericReset((void*)(&strDesc_D0UzA4zsDu5tgpJQ9a9clXPg), (&NTI_TuG1vdYwChKtx4TOkRnAjw_));
	strDesc_D0UzA4zsDu5tgpJQ9a9clXPg.size = ((NI)sizeof(NimStringDesc*));
	strDesc_D0UzA4zsDu5tgpJQ9a9clXPg.kind = ((tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A) 28);
	strDesc_D0UzA4zsDu5tgpJQ9a9clXPg.flags = 2;
	initAllocator_IZ2oOmqdsYQ7vixQGKSDcAsystem();
	initStackBottom();
	initGC_njssp69aa7hvxte9bJ8uuDcg();
	registerSignalHandler_njssp69aa7hvxte9bJ8uuDcg_2();
}

N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void) {
static TNimNode* TM_Q5wkpxktOdTGvlSRo9bzt9aw_2[8];
static TNimNode* TM_Q5wkpxktOdTGvlSRo9bzt9aw_3[64];
NI TM_Q5wkpxktOdTGvlSRo9bzt9aw_5;
static char* NIM_CONST TM_Q5wkpxktOdTGvlSRo9bzt9aw_4[64] = {
"tyNone", 
"tyBool", 
"tyChar", 
"tyEmpty", 
"tyArrayConstr", 
"tyNil", 
"tyExpr", 
"tyStmt", 
"tyTypeDesc", 
"tyGenericInvocation", 
"tyGenericBody", 
"tyGenericInst", 
"tyGenericParam", 
"tyDistinct", 
"tyEnum", 
"tyOrdinal", 
"tyArray", 
"tyObject", 
"tyTuple", 
"tySet", 
"tyRange", 
"tyPtr", 
"tyRef", 
"tyVar", 
"tySequence", 
"tyProc", 
"tyPointer", 
"tyOpenArray", 
"tyString", 
"tyCString", 
"tyForward", 
"tyInt", 
"tyInt8", 
"tyInt16", 
"tyInt32", 
"tyInt64", 
"tyFloat", 
"tyFloat32", 
"tyFloat64", 
"tyFloat128", 
"tyUInt", 
"tyUInt8", 
"tyUInt16", 
"tyUInt32", 
"tyUInt64", 
"tyOptAsRef", 
"tyUnused1", 
"tyUnused2", 
"tyVarargsHidden", 
"tyUnusedHidden", 
"tyProxyHidden", 
"tyBuiltInTypeClassHidden", 
"tyUserTypeClassHidden", 
"tyUserTypeClassInstHidden", 
"tyCompositeTypeClassHidden", 
"tyInferredHidden", 
"tyAndHidden", 
"tyOrHidden", 
"tyNotHidden", 
"tyAnythingHidden", 
"tyStaticHidden", 
"tyFromExprHidden", 
"tyOpt", 
"tyVoidHidden"};
static TNimNode* TM_Q5wkpxktOdTGvlSRo9bzt9aw_6[3];
NI TM_Q5wkpxktOdTGvlSRo9bzt9aw_8;
static char* NIM_CONST TM_Q5wkpxktOdTGvlSRo9bzt9aw_7[3] = {
"ntfNoRefs", 
"ntfAcyclic", 
"ntfEnumHole"};
static TNimNode* TM_Q5wkpxktOdTGvlSRo9bzt9aw_9[6];
static TNimNode* TM_Q5wkpxktOdTGvlSRo9bzt9aw_10[4];
NI TM_Q5wkpxktOdTGvlSRo9bzt9aw_12;
static char* NIM_CONST TM_Q5wkpxktOdTGvlSRo9bzt9aw_11[4] = {
"nkNone", 
"nkSlot", 
"nkList", 
"nkCase"};
static TNimNode* TM_Q5wkpxktOdTGvlSRo9bzt9aw_15[6];
static TNimNode* TM_Q5wkpxktOdTGvlSRo9bzt9aw_16[3];
static TNimNode TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[120];
NTI_TuG1vdYwChKtx4TOkRnAjw_.size = sizeof(TNimType);
NTI_TuG1vdYwChKtx4TOkRnAjw_.kind = 18;
NTI_TuG1vdYwChKtx4TOkRnAjw_.base = 0;
NTI_TuG1vdYwChKtx4TOkRnAjw_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_2[0] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[1];
NTI_rR5Bzr1D5krxoo1NcNyeMA_.size = sizeof(NI);
NTI_rR5Bzr1D5krxoo1NcNyeMA_.kind = 31;
NTI_rR5Bzr1D5krxoo1NcNyeMA_.base = 0;
NTI_rR5Bzr1D5krxoo1NcNyeMA_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[1].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[1].offset = offsetof(TNimType, size);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[1].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[1].name = "size";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_2[1] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[2];
NTI_jIBKr1ejBgsfM33Kxw4j7A_.size = sizeof(tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A);
NTI_jIBKr1ejBgsfM33Kxw4j7A_.kind = 14;
NTI_jIBKr1ejBgsfM33Kxw4j7A_.base = 0;
NTI_jIBKr1ejBgsfM33Kxw4j7A_.flags = 3;
for (TM_Q5wkpxktOdTGvlSRo9bzt9aw_5 = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_5 < 64; TM_Q5wkpxktOdTGvlSRo9bzt9aw_5++) {
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_5+3].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_5+3].offset = TM_Q5wkpxktOdTGvlSRo9bzt9aw_5;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_5+3].name = TM_Q5wkpxktOdTGvlSRo9bzt9aw_4[TM_Q5wkpxktOdTGvlSRo9bzt9aw_5];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_3[TM_Q5wkpxktOdTGvlSRo9bzt9aw_5] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_5+3];
}
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[67].len = 64; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[67].kind = 2; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[67].sons = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_3[0];
NTI_jIBKr1ejBgsfM33Kxw4j7A_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[67];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[2].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[2].offset = offsetof(TNimType, kind);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[2].typ = (&NTI_jIBKr1ejBgsfM33Kxw4j7A_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[2].name = "kind";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_2[2] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[68];
NTI_v8QUszD1sWlSIWZz7mC4bQ_.size = sizeof(tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ);
NTI_v8QUszD1sWlSIWZz7mC4bQ_.kind = 14;
NTI_v8QUszD1sWlSIWZz7mC4bQ_.base = 0;
NTI_v8QUszD1sWlSIWZz7mC4bQ_.flags = 3;
for (TM_Q5wkpxktOdTGvlSRo9bzt9aw_8 = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_8 < 3; TM_Q5wkpxktOdTGvlSRo9bzt9aw_8++) {
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_8+69].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_8+69].offset = TM_Q5wkpxktOdTGvlSRo9bzt9aw_8;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_8+69].name = TM_Q5wkpxktOdTGvlSRo9bzt9aw_7[TM_Q5wkpxktOdTGvlSRo9bzt9aw_8];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_6[TM_Q5wkpxktOdTGvlSRo9bzt9aw_8] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_8+69];
}
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[72].len = 3; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[72].kind = 2; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[72].sons = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_6[0];
NTI_v8QUszD1sWlSIWZz7mC4bQ_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[72];
NTI_MbMVByo9a9ck632Se8onTXew_.size = sizeof(tySet_tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ);
NTI_MbMVByo9a9ck632Se8onTXew_.kind = 19;
NTI_MbMVByo9a9ck632Se8onTXew_.base = (&NTI_v8QUszD1sWlSIWZz7mC4bQ_);
NTI_MbMVByo9a9ck632Se8onTXew_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[73].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[73].kind = 0;
NTI_MbMVByo9a9ck632Se8onTXew_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[73];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[68].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[68].offset = offsetof(TNimType, flags);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[68].typ = (&NTI_MbMVByo9a9ck632Se8onTXew_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[68].name = "flags";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_2[3] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[74];
NTI_7JWFFgr9aqaR3U4iXEpLCag_.size = sizeof(TNimType*);
NTI_7JWFFgr9aqaR3U4iXEpLCag_.kind = 21;
NTI_7JWFFgr9aqaR3U4iXEpLCag_.base = (&NTI_TuG1vdYwChKtx4TOkRnAjw_);
NTI_7JWFFgr9aqaR3U4iXEpLCag_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[74].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[74].offset = offsetof(TNimType, base);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[74].typ = (&NTI_7JWFFgr9aqaR3U4iXEpLCag_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[74].name = "base";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_2[4] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[75];
NTI_kT45dHShde6Al0PdS4U9aGA_.size = sizeof(TNimNode);
NTI_kT45dHShde6Al0PdS4U9aGA_.kind = 18;
NTI_kT45dHShde6Al0PdS4U9aGA_.base = 0;
NTI_kT45dHShde6Al0PdS4U9aGA_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_9[0] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[77];
NTI_unfNsxrcATrufDZmpBq4HQ_.size = sizeof(tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ);
NTI_unfNsxrcATrufDZmpBq4HQ_.kind = 14;
NTI_unfNsxrcATrufDZmpBq4HQ_.base = 0;
NTI_unfNsxrcATrufDZmpBq4HQ_.flags = 3;
for (TM_Q5wkpxktOdTGvlSRo9bzt9aw_12 = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_12 < 4; TM_Q5wkpxktOdTGvlSRo9bzt9aw_12++) {
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_12+78].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_12+78].offset = TM_Q5wkpxktOdTGvlSRo9bzt9aw_12;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_12+78].name = TM_Q5wkpxktOdTGvlSRo9bzt9aw_11[TM_Q5wkpxktOdTGvlSRo9bzt9aw_12];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_10[TM_Q5wkpxktOdTGvlSRo9bzt9aw_12] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[TM_Q5wkpxktOdTGvlSRo9bzt9aw_12+78];
}
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[82].len = 4; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[82].kind = 2; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[82].sons = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_10[0];
NTI_unfNsxrcATrufDZmpBq4HQ_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[82];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[77].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[77].offset = offsetof(TNimNode, kind);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[77].typ = (&NTI_unfNsxrcATrufDZmpBq4HQ_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[77].name = "kind";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_9[1] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[83];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[83].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[83].offset = offsetof(TNimNode, offset);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[83].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[83].name = "offset";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_9[2] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[84];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[84].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[84].offset = offsetof(TNimNode, typ);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[84].typ = (&NTI_7JWFFgr9aqaR3U4iXEpLCag_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[84].name = "typ";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_9[3] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[85];
NTI_S9agCYBinaYZnGWcjTdxclg_.size = sizeof(NCSTRING);
NTI_S9agCYBinaYZnGWcjTdxclg_.kind = 29;
NTI_S9agCYBinaYZnGWcjTdxclg_.base = 0;
NTI_S9agCYBinaYZnGWcjTdxclg_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[85].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[85].offset = offsetof(TNimNode, name);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[85].typ = (&NTI_S9agCYBinaYZnGWcjTdxclg_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[85].name = "name";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_9[4] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[86];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[86].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[86].offset = offsetof(TNimNode, len);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[86].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[86].name = "len";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_9[5] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[87];
NTI_pPliadsJkoxIPLiuFLcL3g_.size = sizeof(tyArray_pPliadsJkoxIPLiuFLcL3g);
NTI_pPliadsJkoxIPLiuFLcL3g_.kind = 16;
NTI_pPliadsJkoxIPLiuFLcL3g_.base = (&NTI_mCkh9bHWX9bgGIYpwKekBD2Q_);
NTI_pPliadsJkoxIPLiuFLcL3g_.flags = 3;
NTI_uNps8ABY788DreuZn29bmIg_.size = sizeof(TNimNode**);
NTI_uNps8ABY788DreuZn29bmIg_.kind = 21;
NTI_uNps8ABY788DreuZn29bmIg_.base = (&NTI_pPliadsJkoxIPLiuFLcL3g_);
NTI_uNps8ABY788DreuZn29bmIg_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[87].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[87].offset = offsetof(TNimNode, sons);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[87].typ = (&NTI_uNps8ABY788DreuZn29bmIg_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[87].name = "sons";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[76].len = 6; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[76].kind = 2; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[76].sons = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_9[0];
NTI_kT45dHShde6Al0PdS4U9aGA_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[76];
NTI_mCkh9bHWX9bgGIYpwKekBD2Q_.size = sizeof(TNimNode*);
NTI_mCkh9bHWX9bgGIYpwKekBD2Q_.kind = 21;
NTI_mCkh9bHWX9bgGIYpwKekBD2Q_.base = (&NTI_kT45dHShde6Al0PdS4U9aGA_);
NTI_mCkh9bHWX9bgGIYpwKekBD2Q_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[75].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[75].offset = offsetof(TNimType, node);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[75].typ = (&NTI_mCkh9bHWX9bgGIYpwKekBD2Q_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[75].name = "node";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_2[5] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[88];
NTI_vr5DoT1jILTGdRlYv1OYpw_.size = sizeof(void*);
NTI_vr5DoT1jILTGdRlYv1OYpw_.kind = 26;
NTI_vr5DoT1jILTGdRlYv1OYpw_.base = 0;
NTI_vr5DoT1jILTGdRlYv1OYpw_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[88].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[88].offset = offsetof(TNimType, finalizer);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[88].typ = (&NTI_vr5DoT1jILTGdRlYv1OYpw_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[88].name = "finalizer";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_2[6] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[89];
NTI_ojoeKfW4VYIm36I9cpDTQIg_.size = sizeof(tyProc_ojoeKfW4VYIm36I9cpDTQIg);
NTI_ojoeKfW4VYIm36I9cpDTQIg_.kind = 25;
NTI_ojoeKfW4VYIm36I9cpDTQIg_.base = 0;
NTI_ojoeKfW4VYIm36I9cpDTQIg_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[89].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[89].offset = offsetof(TNimType, marker);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[89].typ = (&NTI_ojoeKfW4VYIm36I9cpDTQIg_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[89].name = "marker";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_2[7] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[90];
NTI_WSm2xU5ARYv9aAR4l0z9c9auQ_.size = sizeof(tyProc_WSm2xU5ARYv9aAR4l0z9c9auQ);
NTI_WSm2xU5ARYv9aAR4l0z9c9auQ_.kind = 25;
NTI_WSm2xU5ARYv9aAR4l0z9c9auQ_.base = 0;
NTI_WSm2xU5ARYv9aAR4l0z9c9auQ_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[90].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[90].offset = offsetof(TNimType, deepcopy);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[90].typ = (&NTI_WSm2xU5ARYv9aAR4l0z9c9auQ_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[90].name = "deepcopy";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[0].len = 8; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[0].kind = 2; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[0].sons = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_2[0];
NTI_TuG1vdYwChKtx4TOkRnAjw_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[0];
NTI_ytyiCJqK439aF9cIibuRVpAg_.size = sizeof(RootObj);
NTI_ytyiCJqK439aF9cIibuRVpAg_.kind = 17;
NTI_ytyiCJqK439aF9cIibuRVpAg_.base = 0;
NTI_ytyiCJqK439aF9cIibuRVpAg_.flags = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[91].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[91].kind = 2;
NTI_ytyiCJqK439aF9cIibuRVpAg_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[91];
NTI_XEycrCsme5C8CVWAYEcdBQ_.size = sizeof(Exception);
NTI_XEycrCsme5C8CVWAYEcdBQ_.kind = 17;
NTI_XEycrCsme5C8CVWAYEcdBQ_.base = (&NTI_ytyiCJqK439aF9cIibuRVpAg_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_15[0] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[93];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[93].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[93].offset = offsetof(Exception, parent);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[93].typ = (&NTI_vU9aO9cTqOMn6CBzhV8rX7Sw_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[93].name = "parent";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_15[1] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[94];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[94].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[94].offset = offsetof(Exception, name);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[94].typ = (&NTI_S9agCYBinaYZnGWcjTdxclg_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[94].name = "name";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_15[2] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[95];
NTI_77mFvmsOLKik79ci2hXkHEg_.size = sizeof(NimStringDesc*);
NTI_77mFvmsOLKik79ci2hXkHEg_.kind = 28;
NTI_77mFvmsOLKik79ci2hXkHEg_.base = 0;
NTI_77mFvmsOLKik79ci2hXkHEg_.flags = 2;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[95].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[95].offset = offsetof(Exception, message);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[95].typ = (&NTI_77mFvmsOLKik79ci2hXkHEg_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[95].name = "msg";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_15[3] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[96];
NTI_oLyohQ7O2XOvGnflOss8EA_.size = sizeof(tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA);
NTI_oLyohQ7O2XOvGnflOss8EA_.kind = 18;
NTI_oLyohQ7O2XOvGnflOss8EA_.base = 0;
NTI_oLyohQ7O2XOvGnflOss8EA_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_16[0] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[98];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[98].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[98].offset = offsetof(tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA, procname);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[98].typ = (&NTI_S9agCYBinaYZnGWcjTdxclg_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[98].name = "procname";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_16[1] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[99];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[99].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[99].offset = offsetof(tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA, line);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[99].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[99].name = "line";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_16[2] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[100];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[100].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[100].offset = offsetof(tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA, filename);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[100].typ = (&NTI_S9agCYBinaYZnGWcjTdxclg_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[100].name = "filename";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[97].len = 3; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[97].kind = 2; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[97].sons = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_16[0];
NTI_oLyohQ7O2XOvGnflOss8EA_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[97];
NTI_uB9b75OUPRENsBAu4AnoePA_.size = sizeof(tySequence_uB9b75OUPRENsBAu4AnoePA*);
NTI_uB9b75OUPRENsBAu4AnoePA_.kind = 24;
NTI_uB9b75OUPRENsBAu4AnoePA_.base = (&NTI_oLyohQ7O2XOvGnflOss8EA_);
NTI_uB9b75OUPRENsBAu4AnoePA_.flags = 2;
NTI_uB9b75OUPRENsBAu4AnoePA_.marker = Marker_tySequence_uB9b75OUPRENsBAu4AnoePA;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[96].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[96].offset = offsetof(Exception, trace);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[96].typ = (&NTI_uB9b75OUPRENsBAu4AnoePA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[96].name = "trace";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_15[4] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[101];
NTI_hMQEc0FMry7Up7EoPki79aA_.size = sizeof(NU);
NTI_hMQEc0FMry7Up7EoPki79aA_.kind = 40;
NTI_hMQEc0FMry7Up7EoPki79aA_.base = 0;
NTI_hMQEc0FMry7Up7EoPki79aA_.flags = 3;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[101].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[101].offset = offsetof(Exception, raise_id);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[101].typ = (&NTI_hMQEc0FMry7Up7EoPki79aA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[101].name = "raise_id";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_15[5] = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[102];
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[102].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[102].offset = offsetof(Exception, up);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[102].typ = (&NTI_vU9aO9cTqOMn6CBzhV8rX7Sw_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[102].name = "up";
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[92].len = 6; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[92].kind = 2; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[92].sons = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_15[0];
NTI_XEycrCsme5C8CVWAYEcdBQ_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[92];
NTI_vU9aO9cTqOMn6CBzhV8rX7Sw_.size = sizeof(Exception*);
NTI_vU9aO9cTqOMn6CBzhV8rX7Sw_.kind = 22;
NTI_vU9aO9cTqOMn6CBzhV8rX7Sw_.base = (&NTI_XEycrCsme5C8CVWAYEcdBQ_);
NTI_vU9aO9cTqOMn6CBzhV8rX7Sw_.marker = Marker_tyRef_vU9aO9cTqOMn6CBzhV8rX7Sw;
NTI_VaVACK0bpYmqIQ0mKcHfQQ_.size = sizeof(NIM_BOOL);
NTI_VaVACK0bpYmqIQ0mKcHfQQ_.kind = 1;
NTI_VaVACK0bpYmqIQ0mKcHfQQ_.base = 0;
NTI_VaVACK0bpYmqIQ0mKcHfQQ_.flags = 3;
NTI_LbeSGvgPzGzXnW9caIkJqMA_.size = sizeof(tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA);
NTI_LbeSGvgPzGzXnW9caIkJqMA_.kind = 17;
NTI_LbeSGvgPzGzXnW9caIkJqMA_.base = (&NTI_XEycrCsme5C8CVWAYEcdBQ_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[103].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[103].kind = 2;
NTI_LbeSGvgPzGzXnW9caIkJqMA_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[103];
NTI_5aqBlilCK53e9cDu4kUyN5Q_.size = sizeof(tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q);
NTI_5aqBlilCK53e9cDu4kUyN5Q_.kind = 17;
NTI_5aqBlilCK53e9cDu4kUyN5Q_.base = (&NTI_LbeSGvgPzGzXnW9caIkJqMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[104].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[104].kind = 2;
NTI_5aqBlilCK53e9cDu4kUyN5Q_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[104];
NTI_yQYk49cCS1VAqkplQuc6KdQ_.size = sizeof(tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q*);
NTI_yQYk49cCS1VAqkplQuc6KdQ_.kind = 22;
NTI_yQYk49cCS1VAqkplQuc6KdQ_.base = (&NTI_5aqBlilCK53e9cDu4kUyN5Q_);
NTI_yQYk49cCS1VAqkplQuc6KdQ_.marker = Marker_tyRef_yQYk49cCS1VAqkplQuc6KdQ;
NTI_vyjC2ukVFYc78nQPrSCc9bA_.size = sizeof(tyObject_OutOfMemError_vyjC2ukVFYc78nQPrSCc9bA);
NTI_vyjC2ukVFYc78nQPrSCc9bA_.kind = 17;
NTI_vyjC2ukVFYc78nQPrSCc9bA_.base = (&NTI_LbeSGvgPzGzXnW9caIkJqMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[105].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[105].kind = 2;
NTI_vyjC2ukVFYc78nQPrSCc9bA_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[105];
NTI_WwUFq9cJ2xKRlsAWVEHyPRg_.size = sizeof(tySequence_WwUFq9cJ2xKRlsAWVEHyPRg*);
NTI_WwUFq9cJ2xKRlsAWVEHyPRg_.kind = 24;
NTI_WwUFq9cJ2xKRlsAWVEHyPRg_.base = (&NTI_4hi0XQqK9aLiPuWT9acsXm9aQ_);
NTI_WwUFq9cJ2xKRlsAWVEHyPRg_.flags = 2;
NTI_WwUFq9cJ2xKRlsAWVEHyPRg_.marker = Marker_tySequence_WwUFq9cJ2xKRlsAWVEHyPRg;
NTI_XIT9aewsXycM2U5B437NUDA_.size = sizeof(tyObject_ArithmeticError_XIT9aewsXycM2U5B437NUDA);
NTI_XIT9aewsXycM2U5B437NUDA_.kind = 17;
NTI_XIT9aewsXycM2U5B437NUDA_.base = (&NTI_LbeSGvgPzGzXnW9caIkJqMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[106].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[106].kind = 2;
NTI_XIT9aewsXycM2U5B437NUDA_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[106];
NTI_Ss6DFlX5iSZpHRZDmP74bg_.size = sizeof(tyObject_OverflowError_Ss6DFlX5iSZpHRZDmP74bg);
NTI_Ss6DFlX5iSZpHRZDmP74bg_.kind = 17;
NTI_Ss6DFlX5iSZpHRZDmP74bg_.base = (&NTI_XIT9aewsXycM2U5B437NUDA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[107].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[107].kind = 2;
NTI_Ss6DFlX5iSZpHRZDmP74bg_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[107];
NTI_Pjt0MQjoA6TAHAHOFNel9cg_.size = sizeof(tyObject_OverflowError_Ss6DFlX5iSZpHRZDmP74bg*);
NTI_Pjt0MQjoA6TAHAHOFNel9cg_.kind = 22;
NTI_Pjt0MQjoA6TAHAHOFNel9cg_.base = (&NTI_Ss6DFlX5iSZpHRZDmP74bg_);
NTI_Pjt0MQjoA6TAHAHOFNel9cg_.marker = Marker_tyRef_Pjt0MQjoA6TAHAHOFNel9cg;
NTI_G9cUlLvU4AFC26wbFxLFkFA_.size = sizeof(tyObject_AssertionError_G9cUlLvU4AFC26wbFxLFkFA);
NTI_G9cUlLvU4AFC26wbFxLFkFA_.kind = 17;
NTI_G9cUlLvU4AFC26wbFxLFkFA_.base = (&NTI_LbeSGvgPzGzXnW9caIkJqMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[108].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[108].kind = 2;
NTI_G9cUlLvU4AFC26wbFxLFkFA_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[108];
NTI_ShBqCFAISBSH2YqBfe6zjg_.size = sizeof(tyObject_AssertionError_G9cUlLvU4AFC26wbFxLFkFA*);
NTI_ShBqCFAISBSH2YqBfe6zjg_.kind = 22;
NTI_ShBqCFAISBSH2YqBfe6zjg_.base = (&NTI_G9cUlLvU4AFC26wbFxLFkFA_);
NTI_ShBqCFAISBSH2YqBfe6zjg_.marker = Marker_tyRef_ShBqCFAISBSH2YqBfe6zjg;
NTI_M4na42GvebBMnI5wV9cYMxg_.size = sizeof(NU16);
NTI_M4na42GvebBMnI5wV9cYMxg_.kind = 42;
NTI_M4na42GvebBMnI5wV9cYMxg_.base = 0;
NTI_M4na42GvebBMnI5wV9cYMxg_.flags = 3;
NTI_kDPg4wXyR8DDyA0MeEjIsw_.size = sizeof(NI16);
NTI_kDPg4wXyR8DDyA0MeEjIsw_.kind = 33;
NTI_kDPg4wXyR8DDyA0MeEjIsw_.base = 0;
NTI_kDPg4wXyR8DDyA0MeEjIsw_.flags = 3;
NTI_sVg18TP9cLifHyygRe9cro9aA_.size = sizeof(NI32);
NTI_sVg18TP9cLifHyygRe9cro9aA_.kind = 34;
NTI_sVg18TP9cLifHyygRe9cro9aA_.base = 0;
NTI_sVg18TP9cLifHyygRe9cro9aA_.flags = 3;
NTI_chXunH2dwinSkhpA6JnsXw_.size = sizeof(NI8);
NTI_chXunH2dwinSkhpA6JnsXw_.kind = 32;
NTI_chXunH2dwinSkhpA6JnsXw_.base = 0;
NTI_chXunH2dwinSkhpA6JnsXw_.flags = 3;
NTI_w9bl9a1ul9ctRJWiMl9cNnIMvg_.size = sizeof(NF);
NTI_w9bl9a1ul9ctRJWiMl9cNnIMvg_.kind = 36;
NTI_w9bl9a1ul9ctRJWiMl9cNnIMvg_.base = 0;
NTI_w9bl9a1ul9ctRJWiMl9cNnIMvg_.flags = 3;
NTI_nmiMWKVIe46vacnhAFrQvw_.size = sizeof(NIM_CHAR);
NTI_nmiMWKVIe46vacnhAFrQvw_.kind = 2;
NTI_nmiMWKVIe46vacnhAFrQvw_.base = 0;
NTI_nmiMWKVIe46vacnhAFrQvw_.flags = 3;
NTI_kJMtlLI2jppHdk6nd3I69aw_.size = sizeof(tyObject_ObjectAssignmentError_kJMtlLI2jppHdk6nd3I69aw);
NTI_kJMtlLI2jppHdk6nd3I69aw_.kind = 17;
NTI_kJMtlLI2jppHdk6nd3I69aw_.base = (&NTI_LbeSGvgPzGzXnW9caIkJqMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[109].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[109].kind = 2;
NTI_kJMtlLI2jppHdk6nd3I69aw_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[109];
NTI_8tkbLy9bNx4E9ckj02Ra3BCg_.size = sizeof(tyObject_ObjectAssignmentError_kJMtlLI2jppHdk6nd3I69aw*);
NTI_8tkbLy9bNx4E9ckj02Ra3BCg_.kind = 22;
NTI_8tkbLy9bNx4E9ckj02Ra3BCg_.base = (&NTI_kJMtlLI2jppHdk6nd3I69aw_);
NTI_8tkbLy9bNx4E9ckj02Ra3BCg_.marker = Marker_tyRef_8tkbLy9bNx4E9ckj02Ra3BCg;
NTI_K39aEGuwNdydKn2WFEpUygg_.size = sizeof(tyObject_IndexError_K39aEGuwNdydKn2WFEpUygg);
NTI_K39aEGuwNdydKn2WFEpUygg_.kind = 17;
NTI_K39aEGuwNdydKn2WFEpUygg_.base = (&NTI_LbeSGvgPzGzXnW9caIkJqMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[110].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[110].kind = 2;
NTI_K39aEGuwNdydKn2WFEpUygg_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[110];
NTI_9bTGS9b5gqA3m1IgV71Csl0Q_.size = sizeof(tyObject_IndexError_K39aEGuwNdydKn2WFEpUygg*);
NTI_9bTGS9b5gqA3m1IgV71Csl0Q_.kind = 22;
NTI_9bTGS9b5gqA3m1IgV71Csl0Q_.base = (&NTI_K39aEGuwNdydKn2WFEpUygg_);
NTI_9bTGS9b5gqA3m1IgV71Csl0Q_.marker = Marker_tyRef_9bTGS9b5gqA3m1IgV71Csl0Q;
NTI_qrLSDoe2oBoAqNtJ9badtnA_.size = sizeof(tyObject_CatchableError_qrLSDoe2oBoAqNtJ9badtnA);
NTI_qrLSDoe2oBoAqNtJ9badtnA_.kind = 17;
NTI_qrLSDoe2oBoAqNtJ9badtnA_.base = (&NTI_XEycrCsme5C8CVWAYEcdBQ_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[111].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[111].kind = 2;
NTI_qrLSDoe2oBoAqNtJ9badtnA_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[111];
NTI_iLZrPn9anoh9ad1MmO0RczFw_.size = sizeof(tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw);
NTI_iLZrPn9anoh9ad1MmO0RczFw_.kind = 17;
NTI_iLZrPn9anoh9ad1MmO0RczFw_.base = (&NTI_qrLSDoe2oBoAqNtJ9badtnA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[112].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[112].kind = 2;
NTI_iLZrPn9anoh9ad1MmO0RczFw_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[112];
NTI_HMIVdYjdZYWskTmTQVo5BQ_.size = sizeof(tyObject_IOError_iLZrPn9anoh9ad1MmO0RczFw*);
NTI_HMIVdYjdZYWskTmTQVo5BQ_.kind = 22;
NTI_HMIVdYjdZYWskTmTQVo5BQ_.base = (&NTI_iLZrPn9anoh9ad1MmO0RczFw_);
NTI_HMIVdYjdZYWskTmTQVo5BQ_.marker = Marker_tyRef_HMIVdYjdZYWskTmTQVo5BQ;
NTI_Wyd9avMRCq0gsOu9adFoIjCA_.size = sizeof(tyObject_ReraiseError_Wyd9avMRCq0gsOu9adFoIjCA);
NTI_Wyd9avMRCq0gsOu9adFoIjCA_.kind = 17;
NTI_Wyd9avMRCq0gsOu9adFoIjCA_.base = (&NTI_LbeSGvgPzGzXnW9caIkJqMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[113].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[113].kind = 2;
NTI_Wyd9avMRCq0gsOu9adFoIjCA_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[113];
NTI_DsOOBcxCUeVlNUDRmn9afcA_.size = sizeof(tyObject_ReraiseError_Wyd9avMRCq0gsOu9adFoIjCA*);
NTI_DsOOBcxCUeVlNUDRmn9afcA_.kind = 22;
NTI_DsOOBcxCUeVlNUDRmn9afcA_.base = (&NTI_Wyd9avMRCq0gsOu9adFoIjCA_);
NTI_DsOOBcxCUeVlNUDRmn9afcA_.marker = Marker_tyRef_DsOOBcxCUeVlNUDRmn9afcA;
NTI_nRD4SGrdQPt47sk7LIklpA_.size = sizeof(tyObject_KeyError_nRD4SGrdQPt47sk7LIklpA);
NTI_nRD4SGrdQPt47sk7LIklpA_.kind = 17;
NTI_nRD4SGrdQPt47sk7LIklpA_.base = (&NTI_5aqBlilCK53e9cDu4kUyN5Q_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[114].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[114].kind = 2;
NTI_nRD4SGrdQPt47sk7LIklpA_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[114];
NTI_nuL5K2f5u8HXdjAg35PVfw_.size = sizeof(tyObject_KeyError_nRD4SGrdQPt47sk7LIklpA*);
NTI_nuL5K2f5u8HXdjAg35PVfw_.kind = 22;
NTI_nuL5K2f5u8HXdjAg35PVfw_.base = (&NTI_nRD4SGrdQPt47sk7LIklpA_);
NTI_nuL5K2f5u8HXdjAg35PVfw_.marker = Marker_tyRef_nuL5K2f5u8HXdjAg35PVfw;
NTI_BeJgrOdDsczOwEWOZbRfKA_.size = sizeof(tyObject_OSError_BeJgrOdDsczOwEWOZbRfKA);
NTI_BeJgrOdDsczOwEWOZbRfKA_.kind = 17;
NTI_BeJgrOdDsczOwEWOZbRfKA_.base = (&NTI_qrLSDoe2oBoAqNtJ9badtnA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[115].kind = 1;
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[115].offset = offsetof(tyObject_OSError_BeJgrOdDsczOwEWOZbRfKA, errorCode);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[115].typ = (&NTI_sVg18TP9cLifHyygRe9cro9aA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[115].name = "errorCode";
NTI_BeJgrOdDsczOwEWOZbRfKA_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[115];
NTI_9clYsYwyjCqe2PFTuCI3Ubg_.size = sizeof(tyObject_OSError_BeJgrOdDsczOwEWOZbRfKA*);
NTI_9clYsYwyjCqe2PFTuCI3Ubg_.kind = 22;
NTI_9clYsYwyjCqe2PFTuCI3Ubg_.base = (&NTI_BeJgrOdDsczOwEWOZbRfKA_);
NTI_9clYsYwyjCqe2PFTuCI3Ubg_.marker = Marker_tyRef_9clYsYwyjCqe2PFTuCI3Ubg;
NTI_KGSY1JdrNB7Xi8KDhXFhSg_.size = sizeof(tyObject_EOFError_KGSY1JdrNB7Xi8KDhXFhSg);
NTI_KGSY1JdrNB7Xi8KDhXFhSg_.kind = 17;
NTI_KGSY1JdrNB7Xi8KDhXFhSg_.base = (&NTI_iLZrPn9anoh9ad1MmO0RczFw_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[116].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[116].kind = 2;
NTI_KGSY1JdrNB7Xi8KDhXFhSg_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[116];
NTI_LEclZrWX2FQAodlapxGITw_.size = sizeof(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_.kind = 35;
NTI_Aav8dQoMlCFnZRxA0IhTHQ_.base = 0;
NTI_Aav8dQoMlCFnZRxA0IhTHQ_.flags = 3;
NTI_0vJvi4uHbxjbxlkkX7P1EA_.size = sizeof(RootObj*);
NTI_0vJvi4uHbxjbxlkkX7P1EA_.kind = 22;
NTI_0vJvi4uHbxjbxlkkX7P1EA_.base = (&NTI_ytyiCJqK439aF9cIibuRVpAg_);
NTI_0vJvi4uHbxjbxlkkX7P1EA_.marker = Marker_tyRef_0vJvi4uHbxjbxlkkX7P1EA;
NTI_JrFyJbYm9b5I4hJ9cWDqvfYA_.size = sizeof(NU32);
NTI_JrFyJbYm9b5I4hJ9cWDqvfYA_.kind = 43;
NTI_JrFyJbYm9b5I4hJ9cWDqvfYA_.base = 0;
NTI_JrFyJbYm9b5I4hJ9cWDqvfYA_.flags = 3;
NTI_Y36n7l9b7WX4rcaAYCe6LWw_.size = sizeof(NimStringDesc**);
NTI_Y36n7l9b7WX4rcaAYCe6LWw_.kind = 21;
NTI_Y36n7l9b7WX4rcaAYCe6LWw_.base = (&NTI_77mFvmsOLKik79ci2hXkHEg_);
NTI_Y36n7l9b7WX4rcaAYCe6LWw_.flags = 3;
NTI_13aFwjKaWlqhwUBjDHvkIw_.size = sizeof(NI);
NTI_13aFwjKaWlqhwUBjDHvkIw_.kind = 31;
NTI_13aFwjKaWlqhwUBjDHvkIw_.base = 0;
NTI_13aFwjKaWlqhwUBjDHvkIw_.flags = 3;
NTI_k3HXouOuhqAKq0dx450lXQ_.size = sizeof(NU8);
NTI_k3HXouOuhqAKq0dx450lXQ_.kind = 41;
NTI_k3HXouOuhqAKq0dx450lXQ_.base = 0;
NTI_k3HXouOuhqAKq0dx450lXQ_.flags = 3;
NTI_xHTZrq9aYs6boc9bCba0JbpQ_.size = sizeof(NI);
NTI_xHTZrq9aYs6boc9bCba0JbpQ_.kind = 31;
NTI_xHTZrq9aYs6boc9bCba0JbpQ_.base = 0;
NTI_xHTZrq9aYs6boc9bCba0JbpQ_.flags = 3;
NTI_nl5fX6g5vxdA4inU5zASDQ_.size = sizeof(tySequence_nl5fX6g5vxdA4inU5zASDQ*);
NTI_nl5fX6g5vxdA4inU5zASDQ_.kind = 24;
NTI_nl5fX6g5vxdA4inU5zASDQ_.base = (&NTI_gOsvkY4zLbqYcgABB1VEQg_);
NTI_nl5fX6g5vxdA4inU5zASDQ_.flags = 2;
NTI_nl5fX6g5vxdA4inU5zASDQ_.marker = Marker_tySequence_nl5fX6g5vxdA4inU5zASDQ;
NTI_UtShRB9b1wZO9cvpdowm9cefA_.size = sizeof(int);
NTI_UtShRB9b1wZO9cvpdowm9cefA_.kind = 34;
NTI_UtShRB9b1wZO9cvpdowm9cefA_.base = 0;
NTI_UtShRB9b1wZO9cvpdowm9cefA_.flags = 3;
NTI_nlCscttRCss70IBTyuBqnA_.size = sizeof(int);
NTI_nlCscttRCss70IBTyuBqnA_.kind = 34;
NTI_nlCscttRCss70IBTyuBqnA_.base = 0;
NTI_nlCscttRCss70IBTyuBqnA_.flags = 3;
NTI_z9ac6Ez5VSEHe9bC2NMwuc7Q_.size = sizeof(void*);
NTI_z9ac6Ez5VSEHe9bC2NMwuc7Q_.kind = 16;
NTI_z9ac6Ez5VSEHe9bC2NMwuc7Q_.base = (&NTI_S9agCYBinaYZnGWcjTdxclg_);
NTI_z9ac6Ez5VSEHe9bC2NMwuc7Q_.flags = 3;
NTI_Txh9bzc0AU9bDpIbDdD6jBsQ_.size = sizeof(NCSTRING*);
NTI_Txh9bzc0AU9bDpIbDdD6jBsQ_.kind = 21;
NTI_Txh9bzc0AU9bDpIbDdD6jBsQ_.base = (&NTI_z9ac6Ez5VSEHe9bC2NMwuc7Q_);
NTI_Txh9bzc0AU9bDpIbDdD6jBsQ_.flags = 3;
NTI_9bz2muykEFR6eMHxLnfcjxA_.size = sizeof(void*);
NTI_9bz2muykEFR6eMHxLnfcjxA_.kind = 18;
NTI_9bz2muykEFR6eMHxLnfcjxA_.base = 0;
NTI_9bz2muykEFR6eMHxLnfcjxA_.flags = 3;
NTI_9bz2muykEFR6eMHxLnfcjxA_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[117];
NTI_7BHnQsEj49a9c6QtudqWTo1w_.size = sizeof(FILE*);
NTI_7BHnQsEj49a9c6QtudqWTo1w_.kind = 21;
NTI_7BHnQsEj49a9c6QtudqWTo1w_.base = (&NTI_9bz2muykEFR6eMHxLnfcjxA_);
NTI_7BHnQsEj49a9c6QtudqWTo1w_.flags = 3;
NTI_8inKGns6i1OoXN9aLZwcSOw_.size = sizeof(tyObject_RangeError_8inKGns6i1OoXN9aLZwcSOw);
NTI_8inKGns6i1OoXN9aLZwcSOw_.kind = 17;
NTI_8inKGns6i1OoXN9aLZwcSOw_.base = (&NTI_LbeSGvgPzGzXnW9caIkJqMA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[118].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[118].kind = 2;
NTI_8inKGns6i1OoXN9aLZwcSOw_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[118];
NTI_PpavWgyrx5odXyR89aNlcWA_.size = sizeof(NI);
NTI_PpavWgyrx5odXyR89aNlcWA_.kind = 31;
NTI_PpavWgyrx5odXyR89aNlcWA_.base = 0;
NTI_PpavWgyrx5odXyR89aNlcWA_.flags = 3;
NTI_rUuqTvFmkC6KKRqDAazGEA_.size = sizeof(NI);
NTI_rUuqTvFmkC6KKRqDAazGEA_.kind = 31;
NTI_rUuqTvFmkC6KKRqDAazGEA_.base = 0;
NTI_rUuqTvFmkC6KKRqDAazGEA_.flags = 3;
NTI_LBgXxpmYOpS8xroRZgNvbg_.size = sizeof(NI);
NTI_LBgXxpmYOpS8xroRZgNvbg_.kind = 31;
NTI_LBgXxpmYOpS8xroRZgNvbg_.base = 0;
NTI_LBgXxpmYOpS8xroRZgNvbg_.flags = 3;
NTI_Gz6vwaK0PZQIDIwfuvKsOg_.size = sizeof(NI);
NTI_Gz6vwaK0PZQIDIwfuvKsOg_.kind = 31;
NTI_Gz6vwaK0PZQIDIwfuvKsOg_.base = 0;
NTI_Gz6vwaK0PZQIDIwfuvKsOg_.flags = 3;
NTI_DcZ5N67dL3rBj9bxGtx09bFg_.size = sizeof(NI);
NTI_DcZ5N67dL3rBj9bxGtx09bFg_.kind = 31;
NTI_DcZ5N67dL3rBj9bxGtx09bFg_.base = 0;
NTI_DcZ5N67dL3rBj9bxGtx09bFg_.flags = 3;
NTI_g9buja9c9aeh0rkDpqsXOJF9bA_.size = sizeof(NI);
NTI_g9buja9c9aeh0rkDpqsXOJF9bA_.kind = 31;
NTI_g9buja9c9aeh0rkDpqsXOJF9bA_.base = 0;
NTI_g9buja9c9aeh0rkDpqsXOJF9bA_.flags = 3;
NTI_vASt1Zy2CLWqyBeLxcXqow_.size = sizeof(tyObject_DivByZeroError_vASt1Zy2CLWqyBeLxcXqow);
NTI_vASt1Zy2CLWqyBeLxcXqow_.kind = 17;
NTI_vASt1Zy2CLWqyBeLxcXqow_.base = (&NTI_XIT9aewsXycM2U5B437NUDA_);
TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[119].len = 0; TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[119].kind = 2;
NTI_vASt1Zy2CLWqyBeLxcXqow_.node = &TM_Q5wkpxktOdTGvlSRo9bzt9aw_0[119];
NTI_hj4BvueOlKB8Z1Qw2ZU4nQ_.size = sizeof(tySequence_hj4BvueOlKB8Z1Qw2ZU4nQ*);
NTI_hj4BvueOlKB8Z1Qw2ZU4nQ_.kind = 24;
NTI_hj4BvueOlKB8Z1Qw2ZU4nQ_.base = (&NTI_Iclb1njvAJfjjEpCLzUzZg_);
NTI_hj4BvueOlKB8Z1Qw2ZU4nQ_.flags = 2;
NTI_hj4BvueOlKB8Z1Qw2ZU4nQ_.marker = Marker_tySequence_hj4BvueOlKB8Z1Qw2ZU4nQ;
NTI_bZP29c0SHT9aMkbSl4EFvgCg_.size = sizeof(tySequence_bZP29c0SHT9aMkbSl4EFvgCg*);
NTI_bZP29c0SHT9aMkbSl4EFvgCg_.kind = 24;
NTI_bZP29c0SHT9aMkbSl4EFvgCg_.base = (&NTI_J29b9b9cJiD9aK19cdoA7IwWiyA_);
NTI_bZP29c0SHT9aMkbSl4EFvgCg_.flags = 2;
NTI_bZP29c0SHT9aMkbSl4EFvgCg_.marker = Marker_tySequence_bZP29c0SHT9aMkbSl4EFvgCg;
NTI_u50F0puw9b9c6p256tX4eJLQ_.size = sizeof(NI);
NTI_u50F0puw9b9c6p256tX4eJLQ_.kind = 31;
NTI_u50F0puw9b9c6p256tX4eJLQ_.base = 0;
NTI_u50F0puw9b9c6p256tX4eJLQ_.flags = 3;
NTI_DL2Id9b2SwHghZpjvWsUcAw_.size = sizeof(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_.kind = 24;
NTI_76wc9cnTOK9c6epudv8uYE0w_.base = (&NTI_OiD2O9bS9cMtitswLivRUn5g_);
NTI_76wc9cnTOK9c6epudv8uYE0w_.flags = 2;
NTI_76wc9cnTOK9c6epudv8uYE0w_.marker = Marker_tySequence_76wc9cnTOK9c6epudv8uYE0w;
NTI_AK3cQuijuQxFGdWA8l9a9aYA_.size = sizeof(tySequence_AK3cQuijuQxFGdWA8l9a9aYA*);
NTI_AK3cQuijuQxFGdWA8l9a9aYA_.kind = 24;
NTI_AK3cQuijuQxFGdWA8l9a9aYA_.base = (&NTI_76wc9cnTOK9c6epudv8uYE0w_);
NTI_AK3cQuijuQxFGdWA8l9a9aYA_.flags = 2;
NTI_AK3cQuijuQxFGdWA8l9a9aYA_.marker = Marker_tySequence_AK3cQuijuQxFGdWA8l9a9aYA;
NTI_PrBYolTs4TOSgE8v5oqDUQ_.size = sizeof(tySequence_PrBYolTs4TOSgE8v5oqDUQ*);
NTI_PrBYolTs4TOSgE8v5oqDUQ_.kind = 24;
NTI_PrBYolTs4TOSgE8v5oqDUQ_.base = (&NTI_lw7iqc9cC7bi1oOZOAlJkJA_);
NTI_PrBYolTs4TOSgE8v5oqDUQ_.marker = Marker_tySequence_PrBYolTs4TOSgE8v5oqDUQ;
}

