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

#include "nimbase.h"
#include <string.h>
#include <stdio.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
#define nimfr_(x, y)
#define nimln_(x, y)
typedef struct tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ;
typedef struct tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw;
typedef struct tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w;
typedef struct tySequence_DfgJFJEYoj4YBAHLZPl5lQ tySequence_DfgJFJEYoj4YBAHLZPl5lQ;
typedef struct tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA;
typedef struct tyObject_IntSet_PQrmFm4BXFkFSVOUl1ojSg tyObject_IntSet_PQrmFm4BXFkFSVOUl1ojSg;
typedef struct tyObject_Trunk_ul49aWfv9aes8cutmeltT3gQ tyObject_Trunk_ul49aWfv9aes8cutmeltT3gQ;
typedef struct tySequence_9brg1xNurxcus33lU4IE1Dw tySequence_9brg1xNurxcus33lU4IE1Dw;
typedef struct tyObject_Table_fdKWDDO1P17zvuQPReVgRA tyObject_Table_fdKWDDO1P17zvuQPReVgRA;
typedef struct tySequence_fdmz6VkIf1ewwrssKYqRFg tySequence_fdmz6VkIf1ewwrssKYqRFg;
typedef struct tyObject_Table_e2Ciu0s1q49aVQ7ULXy7l9bQ tyObject_Table_e2Ciu0s1q49aVQ7ULXy7l9bQ;
typedef struct tySequence_kxu4GK0onha2t9bo86mdVAg tySequence_kxu4GK0onha2t9bo86mdVAg;
typedef struct tySequence_48JTohSgTy339bRxHzUD8KA tySequence_48JTohSgTy339bRxHzUD8KA;
typedef struct RootObj RootObj;
typedef struct tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw;
typedef struct tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw;
typedef struct tySequence_bWZXqEvLFwhLvAqSRoFNgQ tySequence_bWZXqEvLFwhLvAqSRoFNgQ;
typedef struct tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
typedef struct tyObject_IncrementalCtx_sdH7TnbKACuAzE7DBabnCA tyObject_IncrementalCtx_sdH7TnbKACuAzE7DBabnCA;
typedef struct tyObject_Table_IioUJGdqPI6xC7S7QF8MBw tyObject_Table_IioUJGdqPI6xC7S7QF8MBw;
typedef struct tySequence_Qr6E8eH7btq79cFKGaJfGLw tySequence_Qr6E8eH7btq79cFKGaJfGLw;
typedef struct tyObject_Table_G1v8c16HePOldLeucwe05Q tyObject_Table_G1v8c16HePOldLeucwe05Q;
typedef struct tySequence_fIB1rTQ55aFonoft9a9bmljQ tySequence_fIB1rTQ55aFonoft9a9bmljQ;
typedef struct tyObject_Table_0Y2brGGKD9bV6GJLXT9aUDgA tyObject_Table_0Y2brGGKD9bV6GJLXT9aUDgA;
typedef struct tySequence_23SMqauuRsbDANhthj9bWlA tySequence_23SMqauuRsbDANhthj9bWlA;
typedef struct tyObject_Table_NttoEzoiq5CiphZe81oadg tyObject_Table_NttoEzoiq5CiphZe81oadg;
typedef struct tySequence_squ9b9bUH4OLHf6cEMrt6hVA tySequence_squ9b9bUH4OLHf6cEMrt6hVA;
typedef struct tyObject_Table_nagDFX4QHx0s6Fvma9blmSg tyObject_Table_nagDFX4QHx0s6Fvma9blmSg;
typedef struct tySequence_pHNq3oXj9av2sEUdqaqeZjw tySequence_pHNq3oXj9av2sEUdqaqeZjw;
typedef struct tySequence_PzqTLBFNawCGiqTk0UORYw tySequence_PzqTLBFNawCGiqTk0UORYw;
typedef struct tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q;
typedef struct tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA;
typedef struct tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tySequence_Ef05srmQTDulnBdXR4Ja6Q tySequence_Ef05srmQTDulnBdXR4Ja6Q;
typedef struct tySequence_DXS6mEo7PVUFJkirsQ9bNQA tySequence_DXS6mEo7PVUFJkirsQ9bNQA;
typedef struct tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA;
typedef struct tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA;
typedef struct tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA;
typedef struct tyTuple_K9bYwLtGKmFQYg8TwmqoG3Q tyTuple_K9bYwLtGKmFQYg8TwmqoG3Q;
typedef struct tyTuple_7q7q3E6Oj24ZNVJb9aonhAg tyTuple_7q7q3E6Oj24ZNVJb9aonhAg;
typedef struct tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g;
typedef struct tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w;
typedef struct tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ;
typedef struct tyObject_GcStack_7fytPA5bBsob6See21YMRA tyObject_GcStack_7fytPA5bBsob6See21YMRA;
typedef struct tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg;
typedef struct tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ;
typedef struct tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg;
typedef struct tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw;
typedef struct tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA;
typedef struct tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw;
typedef struct tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw;
typedef struct tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg;
typedef struct tyTuple_ujsjpB2O9cjj3uDHsXbnSzg tyTuple_ujsjpB2O9cjj3uDHsXbnSzg;
typedef struct tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg;
typedef struct tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ;
typedef struct tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg;
typedef struct tyObject_Target_9abOl5DLX8suLujOaHSvGzw tyObject_Target_9abOl5DLX8suLujOaHSvGzw;
typedef struct tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg;
typedef struct tyObject_MsgConfig_kV7r8HWT0SqOYW2k2ukC6A tyObject_MsgConfig_kV7r8HWT0SqOYW2k2ukC6A;
typedef struct tySequence_tNFrR3kRuS1FSwuiLGoSSA tySequence_tNFrR3kRuS1FSwuiLGoSSA;
typedef struct tyObject_Table_Ab4q9c36aMR4mtkEOIBzdzA tyObject_Table_Ab4q9c36aMR4mtkEOIBzdzA;
typedef struct tySequence_7lEisrXlQEzwtUKW5pzRCw tySequence_7lEisrXlQEzwtUKW5pzRCw;
typedef struct tySequence_Zi9cGbCWofbtABoHJ5RbLNQ tySequence_Zi9cGbCWofbtABoHJ5RbLNQ;
typedef struct tyObject_HashSet_CD8Dpv0WGmASelVaNSo6zg tyObject_HashSet_CD8Dpv0WGmASelVaNSo6zg;
typedef struct tySequence_4eRCaZmrYLLw2k30GPTiMw tySequence_4eRCaZmrYLLw2k30GPTiMw;
typedef struct tySequence_sM4lkSb7zS6F7OVMvW9cffQ tySequence_sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct tySequence_pK3qSsBZwdXd6qyUMkd5Jw tySequence_pK3qSsBZwdXd6qyUMkd5Jw;
typedef struct tyObject_SuggestcolonObjectType__bkMuTTb2G70XfpzAiyNrnQ tyObject_SuggestcolonObjectType__bkMuTTb2G70XfpzAiyNrnQ;
typedef struct tyObject_TLLStream_a5oZYQ9aTktYME2449ayEi6g tyObject_TLLStream_a5oZYQ9aTktYME2449ayEi6g;
typedef struct tyTuple_1mtQ8sCEE7DbfIuQciv9b5Q tyTuple_1mtQ8sCEE7DbfIuQciv9b5Q;
typedef struct tyTuple_xDU9bZmv1ZbZkJDaATBekIQ tyTuple_xDU9bZmv1ZbZkJDaATBekIQ;
typedef struct tyTuple_quA39a2QdEQU9cSEIUSibApQ tyTuple_quA39a2QdEQU9cSEIUSibApQ;
typedef struct tyTuple_EkGTYRWQ6y9cppXTlT8Xm5g tyTuple_EkGTYRWQ6y9cppXTlT8Xm5g;
typedef struct tyTuple_OJFzEczluV8Jmo9bRpBfkzw tyTuple_OJFzEczluV8Jmo9bRpBfkzw;
typedef struct tyTuple_2SGm9aGCXuo7XSQ9bqD29axXw tyTuple_2SGm9aGCXuo7XSQ9bqD29axXw;
typedef struct tyTuple_F3gkSrMB1qp2Tvf9bixVXwg tyTuple_F3gkSrMB1qp2Tvf9bixVXwg;
typedef struct tyTuple_wcNatyuf8WOqAhGLhSvgiw tyTuple_wcNatyuf8WOqAhGLhSvgiw;
typedef struct tyObject_BTree_VZdzO0Tlflp7WMN4gS8oPg tyObject_BTree_VZdzO0Tlflp7WMN4gS8oPg;
typedef struct tyObject_NodecolonObjectType__dNELmBSmY7nthjhZupWO6g tyObject_NodecolonObjectType__dNELmBSmY7nthjhZupWO6g;
typedef struct tyTuple_euPCXX9bc3XzndEhYlqNS7g tyTuple_euPCXX9bc3XzndEhYlqNS7g;
typedef struct tyObject_TPassContext_Hb6rFM0ecvtlLf2kv9aU75w tyObject_TPassContext_Hb6rFM0ecvtlLf2kv9aU75w;
typedef struct tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA;
typedef struct tyTuple_z822nu9bFF1AlQnLrHjdwpA tyTuple_z822nu9bFF1AlQnLrHjdwpA;
typedef struct tyTuple_xYhUhS7X82rKTqbT9bRfCnw tyTuple_xYhUhS7X82rKTqbT9bRfCnw;
typedef struct tyObject_TFileInfo_GE3hAakXKOEpch4ap3zXAw tyObject_TFileInfo_GE3hAakXKOEpch4ap3zXAw;
typedef struct tyTuple_QeWl6B6ffS4pU6WWrtcrDw tyTuple_QeWl6B6ffS4pU6WWrtcrDw;
typedef struct tyObject_Cfile_i9cKq1ZGd1wgagjUEHLVFtg tyObject_Cfile_i9cKq1ZGd1wgagjUEHLVFtg;
typedef N_NIMCALL_PTR(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, tyProc_d5yEkT9aXkAtHvVerr7IeCQ) (tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* m, NI32 fileIdx);
struct tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA {
NI counter;
tySequence_DfgJFJEYoj4YBAHLZPl5lQ* data;
};
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 tyObject_Table_fdKWDDO1P17zvuQPReVgRA {
tySequence_fdmz6VkIf1ewwrssKYqRFg* data;
NI counter;
};
struct tyObject_Table_e2Ciu0s1q49aVQ7ULXy7l9bQ {
tySequence_kxu4GK0onha2t9bo86mdVAg* data;
NI counter;
};
typedef struct {
N_NIMCALL_PTR(NIM_BOOL, ClP_0) (void* ClE_0);
void* ClE_0;
} tyProc_xdLb0cyzx3FuM6Q4NnRTpQ;
typedef tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* tyArray_OLX364rHC66WkzRbMp49aQg[64];
typedef tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* tyArray_6GDJmNRiFxkWAAdMgUie8g[70];
struct tyObject_IncrementalCtx_sdH7TnbKACuAzE7DBabnCA {
char dummy;
};
struct tyObject_Table_IioUJGdqPI6xC7S7QF8MBw {
tySequence_Qr6E8eH7btq79cFKGaJfGLw* data;
NI counter;
};
struct tyObject_Table_G1v8c16HePOldLeucwe05Q {
tySequence_fIB1rTQ55aFonoft9a9bmljQ* data;
NI counter;
};
typedef N_NIMCALL_PTR(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, tyProc_c6vdo1yHyj19b9bS17tijS2w) (tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* m, NI32 fileIdx);
typedef N_NIMCALL_PTR(void, tyProc_sP1I7TbCn358eLy9bX4IphA) (tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* m, tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n);
struct tyObject_Table_0Y2brGGKD9bV6GJLXT9aUDgA {
tySequence_23SMqauuRsbDANhthj9bWlA* data;
NI counter;
};
struct tyObject_Table_NttoEzoiq5CiphZe81oadg {
tySequence_squ9b9bUH4OLHf6cEMrt6hVA* data;
NI counter;
};
struct tyObject_Table_nagDFX4QHx0s6Fvma9blmSg {
tySequence_pHNq3oXj9av2sEUdqaqeZjw* data;
NI counter;
};
typedef N_NIMCALL_PTR(void, tyProc_R9aa9aO9cNhvWgTGK9bAAvuSRA) (tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* s, tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info);
struct tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ {
tySequence_DfgJFJEYoj4YBAHLZPl5lQ* modules;
tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA packageSyms;
tyObject_IntSet_PQrmFm4BXFkFSVOUl1ojSg deps;
tyObject_Table_fdKWDDO1P17zvuQPReVgRA importDeps;
NIM_BOOL suggestMode;
NIM_BOOL invalidTransitiveClosure;
tyObject_Table_e2Ciu0s1q49aVQ7ULXy7l9bQ inclToMod;
tySequence_48JTohSgTy339bRxHzUD8KA* importStack;
RootObj* backend;
tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* config;
tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw* cache;
RootObj* vm;
tyProc_xdLb0cyzx3FuM6Q4NnRTpQ doStopCompile;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* usageSym;
tySequence_DfgJFJEYoj4YBAHLZPl5lQ* owners;
tySequence_bWZXqEvLFwhLvAqSRoFNgQ* methods;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* systemModule;
tyArray_OLX364rHC66WkzRbMp49aQg sysTypes;
tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA compilerprocs;
tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA exposed;
tyArray_6GDJmNRiFxkWAAdMgUie8g intTypeCache;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* opContains;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* opNot;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* emptyNode;
tyObject_IncrementalCtx_sdH7TnbKACuAzE7DBabnCA incr;
tyObject_Table_IioUJGdqPI6xC7S7QF8MBw canonTypes;
tyObject_Table_G1v8c16HePOldLeucwe05Q symBodyHashes;
tyProc_c6vdo1yHyj19b9bS17tijS2w importModuleCallback;
tyProc_d5yEkT9aXkAtHvVerr7IeCQ includeFileCallback;
tyProc_sP1I7TbCn358eLy9bX4IphA recordStmt;
tyObject_Table_0Y2brGGKD9bV6GJLXT9aUDgA cacheSeqs;
tyObject_Table_NttoEzoiq5CiphZe81oadg cacheCounters;
tyObject_Table_nagDFX4QHx0s6Fvma9blmSg cacheTables;
tySequence_PzqTLBFNawCGiqTk0UORYw* passes;
tyProc_R9aa9aO9cNhvWgTGK9bAAvuSRA onDefinition;
tyProc_R9aa9aO9cNhvWgTGK9bAAvuSRA onDefinitionResolveForward;
tyProc_R9aa9aO9cNhvWgTGK9bAAvuSRA onUsage;
tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ* globalDestructors;
};
struct tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q {
NU16 line;
NI16 col;
NI32 fileIndex;
};
typedef NU32 tySet_tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg;
typedef NU8 tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw;
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
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;
};
struct {NF floatVal;
};
struct {NimStringDesc* strVal;
};
struct {tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* sym;
};
struct {tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* ident;
};
struct {tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
};
};
NimStringDesc* comment;
};
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;
};
struct RootObj {
TNimType* m_type;
};
struct tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA {
  RootObj Sup;
NI id;
};
typedef NU8 tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw;
typedef NU16 tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg;
typedef NU64 tySet_tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw;
typedef NU32 tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg;
typedef NU8 tyEnum_TLocKind_O7PRFZKuiBBWbku09cayVBg;
typedef NU8 tyEnum_TStorageLoc_JK9cKMX3XnqHaUky9b6gkGEw;
typedef NU16 tySet_tyEnum_TLocFlag_o2bqJgR4ceIupnUSpxiudA;
struct tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA {
tyEnum_TLocKind_O7PRFZKuiBBWbku09cayVBg k;
tyEnum_TStorageLoc_JK9cKMX3XnqHaUky9b6gkGEw storage;
tySet_tyEnum_TLocFlag_o2bqJgR4ceIupnUSpxiudA flags;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* lode;
tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA* r;
};
struct tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w {
  tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA Sup;
tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw kind;
union{
struct {tySequence_Ef05srmQTDulnBdXR4Ja6Q* typeInstCache;
};
struct {tySequence_DXS6mEo7PVUFJkirsQ9bNQA* procInstCache;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* gcUnsafetyReason;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* transformedBody;
};
struct {tySequence_DXS6mEo7PVUFJkirsQ9bNQA* usedGenerics;
tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA tab;
};
struct {tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* guard;
NI bitsize;
};
};
tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg magic;
tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* name;
tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* owner;
tySet_tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw flags;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* ast;
tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg options;
NI position;
NI offset;
tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA loc;
tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA* annex;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* constraint;
};
struct tyTuple_K9bYwLtGKmFQYg8TwmqoG3Q {
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* Field0;
NI Field1;
};
typedef NU8 tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA {
  tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA Sup;
NimStringDesc* s;
tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* next;
NI h;
};
struct tyTuple_7q7q3E6Oj24ZNVJb9aonhAg {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
struct tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g {
NI refcount;
TNimType* typ;
};
struct tyObject_GcStack_7fytPA5bBsob6See21YMRA {
void* bottom;
};
struct tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w {
NI len;
NI cap;
tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* tyArray_SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray_BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* tyArray_N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray_N1u1nqOgmuJN9cSZrnMHgOQ tyArray_B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw* tyArray_lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA {
tyArray_lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* tyArray_0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw {
tyArray_0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple_ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple_ujsjpB2O9cjj3uDHsXbnSzg tyArray_LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg {
NI len;
tyArray_LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg {
NI minLargeObj;
NI maxLargeObj;
tyArray_SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray_BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray_B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
};
struct tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg {
NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ {
NI counter;
NI max;
tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg** data;
};
struct tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ {
tyObject_GcStack_7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
NI zctThreshold;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w additionalRoots;
NI gcThreadId;
};
typedef NU8 tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w;
typedef NU8 tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw;
typedef NU8 tyEnum_TSystemCPU_XYDt7D1G3qcClFyZy1Ky9ag;
typedef NU8 tyEnum_TSystemOS_s7Mlr1t66SUqP6BKJMXLaQ;
struct tyObject_Target_9abOl5DLX8suLujOaHSvGzw {
tyEnum_TSystemCPU_XYDt7D1G3qcClFyZy1Ky9ag targetCPU;
tyEnum_TSystemCPU_XYDt7D1G3qcClFyZy1Ky9ag hostCPU;
tyEnum_TSystemOS_s7Mlr1t66SUqP6BKJMXLaQ targetOS;
tyEnum_TSystemOS_s7Mlr1t66SUqP6BKJMXLaQ hostOS;
NI intSize;
NI floatSize;
NI ptrSize;
NimStringDesc* tnl;
};
typedef NU64 tySet_tyEnum_TGlobalOption_RAfAEZqjnKMDumgyKKc1qw;
typedef NU8 tySet_tyEnum_TErrorOutput_fBf8Teueoz9aAkO5cXaxrpA;
struct tyObject_Table_Ab4q9c36aMR4mtkEOIBzdzA {
tySequence_7lEisrXlQEzwtUKW5pzRCw* data;
NI counter;
};
struct tyObject_MsgConfig_kV7r8HWT0SqOYW2k2ukC6A {
tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q trackPos;
NIM_BOOL trackPosAttached;
tySet_tyEnum_TErrorOutput_fBf8Teueoz9aAkO5cXaxrpA errorOutputs;
tySequence_tNFrR3kRuS1FSwuiLGoSSA* msgContext;
tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q lastError;
tyObject_Table_Ab4q9c36aMR4mtkEOIBzdzA filenameToIndexTbl;
tySequence_Zi9cGbCWofbtABoHJ5RbLNQ* fileInfos;
NI32 systemFileIdx;
};
typedef NU8 tyEnum_TCommands_VH3ghgQVwLSg3krOAoXigw;
typedef NU8 tyEnum_TGCMode_tkz389aDYNd8ykeZszCuBSw;
typedef NU8 tyEnum_SymbolFilesOption_gBES9bqm1ru9ape8SeMRAFgQ;
struct tyObject_HashSet_CD8Dpv0WGmASelVaNSo6zg {
tySequence_4eRCaZmrYLLw2k30GPTiMw* data;
NI counter;
};
typedef NU16 tySet_tyEnum_Feature_01UoAKYz1MxZiuG1X2VhNQ;
typedef NU8 tyEnum_IdeCmd_1Ced39bl5eePmZ1PKMPXigQ;
typedef NU8 tyEnum_TSystemCC_1eWBJUonHMOnlBwsOvpFmA;
typedef NU64 tySet_tyEnum_TMsgKind_Ns87ee9bXonvIM8SMewfbmA;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (tyObject_SuggestcolonObjectType__bkMuTTb2G70XfpzAiyNrnQ* result, void* ClE_0);
void* ClE_0;
} tyProc_QYEVXrYc9beQ379crS3rzqRA;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (NimStringDesc* output, void* ClE_0);
void* ClE_0;
} tyProc_Q1W5D85O9cNu3iq9cZ9alS9aWA;
typedef NU8 tyEnum_Severity_x5BWBPGAbIH9clm5pmNp5DA;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* config, tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info, NimStringDesc* msg, tyEnum_Severity_x5BWBPGAbIH9clm5pmNp5DA severity, void* ClE_0);
void* ClE_0;
} tyProc_22mgIiTBBoqNe1T0FSw9ahQ;
struct tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw {
tyObject_Target_9abOl5DLX8suLujOaHSvGzw target;
NI linesCompiled;
tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg options;
tySet_tyEnum_TGlobalOption_RAfAEZqjnKMDumgyKKc1qw globalOptions;
tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* macrosToExpand;
tyObject_MsgConfig_kV7r8HWT0SqOYW2k2ukC6A m;
NI evalTemplateCounter;
NI evalMacroCounter;
NI8 exitcode;
tyEnum_TCommands_VH3ghgQVwLSg3krOAoXigw cmd;
tyEnum_TGCMode_tkz389aDYNd8ykeZszCuBSw selectedGC;
NI verbosity;
NI numberOfProcessors;
NimStringDesc* evalExpr;
NF lastCmdTime;
tyEnum_SymbolFilesOption_gBES9bqm1ru9ape8SeMRAFgQ symbolFiles;
tyObject_HashSet_CD8Dpv0WGmASelVaNSo6zg cppDefines;
NimStringDesc* headerFile;
tySet_tyEnum_Feature_01UoAKYz1MxZiuG1X2VhNQ features;
NimStringDesc* arguments;
tyEnum_IdeCmd_1Ced39bl5eePmZ1PKMPXigQ ideCmd;
NIM_BOOL oldNewlines;
tyEnum_TSystemCC_1eWBJUonHMOnlBwsOvpFmA cCompiler;
tySet_tyEnum_TMsgKind_Ns87ee9bXonvIM8SMewfbmA enableNotes;
tySet_tyEnum_TMsgKind_Ns87ee9bXonvIM8SMewfbmA disableNotes;
tySet_tyEnum_TMsgKind_Ns87ee9bXonvIM8SMewfbmA foreignPackageNotes;
tySet_tyEnum_TMsgKind_Ns87ee9bXonvIM8SMewfbmA notes;
tySet_tyEnum_TMsgKind_Ns87ee9bXonvIM8SMewfbmA mainPackageNotes;
NI mainPackageId;
NI errorCounter;
NI hintCounter;
NI warnCounter;
NI errorMax;
tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* configVars;
tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* symbols;
tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* packageCache;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* searchPaths;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* lazyPaths;
NimStringDesc* outFile;
NimStringDesc* outDir;
NimStringDesc* prefixDir;
NimStringDesc* libpath;
NimStringDesc* nimcacheDir;
tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* dllOverrides;
tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* moduleOverrides;
NimStringDesc* projectName;
NimStringDesc* projectPath;
NimStringDesc* projectFull;
NIM_BOOL projectIsStdin;
NI32 projectMainIdx;
NimStringDesc* command;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* commandArgs;
NIM_BOOL keepComments;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* implicitImports;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* implicitIncludes;
NimStringDesc* docSeeSrcUrl;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* cIncludes;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* cLibs;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* cLinkedLibs;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* externalToLink;
NimStringDesc* linkOptionsCmd;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* compileOptionsCmd;
NimStringDesc* linkOptions;
NimStringDesc* compileOptions;
NimStringDesc* ccompilerpath;
tySequence_pK3qSsBZwdXd6qyUMkd5Jw* toCompile;
tyProc_QYEVXrYc9beQ379crS3rzqRA suggestionResultHook;
NI suggestVersion;
NI suggestMaxResults;
tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q lastLineInfo;
tyProc_Q1W5D85O9cNu3iq9cZ9alS9aWA writelnHook;
tyProc_22mgIiTBBoqNe1T0FSw9ahQ structuredErrorHook;
NimStringDesc* cppCustomNamespace;
};
struct tyTuple_1mtQ8sCEE7DbfIuQciv9b5Q {
NI Field0;
NI32 Field1;
tySequence_48JTohSgTy339bRxHzUD8KA* Field2;
};
struct tyTuple_xDU9bZmv1ZbZkJDaATBekIQ {
NI Field0;
NI32 Field1;
NI32 Field2;
};
struct tyTuple_quA39a2QdEQU9cSEIUSibApQ {
tySequence_DfgJFJEYoj4YBAHLZPl5lQ* Field0;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* Field1;
};
typedef NU8 tyArray_qtqsWM5aXmcpMIVmvq3kAA[16];
struct tyTuple_EkGTYRWQ6y9cppXTlT8Xm5g {
NI Field0;
tyArray_qtqsWM5aXmcpMIVmvq3kAA Field1;
tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* Field2;
};
struct tyTuple_OJFzEczluV8Jmo9bRpBfkzw {
NI Field0;
NI Field1;
tyArray_qtqsWM5aXmcpMIVmvq3kAA Field2;
};
struct tyTuple_2SGm9aGCXuo7XSQ9bqD29axXw {
NI Field0;
NimStringDesc* Field1;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* Field2;
};
struct tyTuple_F3gkSrMB1qp2Tvf9bixVXwg {
NI Field0;
NimStringDesc* Field1;
NI64 Field2;
};
struct tyObject_BTree_VZdzO0Tlflp7WMN4gS8oPg {
tyObject_NodecolonObjectType__dNELmBSmY7nthjhZupWO6g* root;
NI entries;
};
struct tyTuple_wcNatyuf8WOqAhGLhSvgiw {
NI Field0;
NimStringDesc* Field1;
tyObject_BTree_VZdzO0Tlflp7WMN4gS8oPg Field2;
};
typedef N_NIMCALL_PTR(tyObject_TPassContext_Hb6rFM0ecvtlLf2kv9aU75w*, tyProc_8ooe5vdoqmvpHnfXV29bP3w) (tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* module);
typedef N_NIMCALL_PTR(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, tyProc_A7Sdoem70tRxSEmKrf9cmyg) (tyObject_TPassContext_Hb6rFM0ecvtlLf2kv9aU75w* p, tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* topLevelStmt);
typedef N_NIMCALL_PTR(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, tyProc_EAEKmBUgKFg29agoUGtzDEQ) (tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TPassContext_Hb6rFM0ecvtlLf2kv9aU75w* p, tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n);
struct tyTuple_euPCXX9bc3XzndEhYlqNS7g {
tyProc_8ooe5vdoqmvpHnfXV29bP3w Field0;
tyProc_A7Sdoem70tRxSEmKrf9cmyg Field1;
tyProc_EAEKmBUgKFg29agoUGtzDEQ Field2;
NIM_BOOL Field3;
};
struct tyTuple_z822nu9bFF1AlQnLrHjdwpA {
tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q Field0;
NimStringDesc* Field1;
};
struct tyTuple_xYhUhS7X82rKTqbT9bRfCnw {
NI Field0;
NimStringDesc* Field1;
NI32 Field2;
};
struct tyObject_TFileInfo_GE3hAakXKOEpch4ap3zXAw {
NimStringDesc* fullPath;
NimStringDesc* projPath;
NimStringDesc* shortName;
tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA* quotedName;
tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA* quotedFullName;
tySequence_sM4lkSb7zS6F7OVMvW9cffQ* lines;
NimStringDesc* dirtyfile;
NimStringDesc* hash;
NIM_BOOL dirty;
};
struct tyTuple_QeWl6B6ffS4pU6WWrtcrDw {
NI Field0;
NimStringDesc* Field1;
};
typedef NU8 tySet_tyEnum_CfileFlag_Vl9c9ayddDuXiWtnWTsEYGsA;
struct tyObject_Cfile_i9cKq1ZGd1wgagjUEHLVFtg {
NimStringDesc* nimname;
NimStringDesc* cname;
NimStringDesc* obj;
tySet_tyEnum_CfileFlag_Vl9c9ayddDuXiWtnWTsEYGsA flags;
};
struct tySequence_DfgJFJEYoj4YBAHLZPl5lQ {
  TGenericSeq Sup;
  tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* data[SEQ_DECL_SIZE];
};
struct tySequence_48JTohSgTy339bRxHzUD8KA {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct tySequence_9brg1xNurxcus33lU4IE1Dw {
  TGenericSeq Sup;
  tyObject_Trunk_ul49aWfv9aes8cutmeltT3gQ* data[SEQ_DECL_SIZE];
};
struct tySequence_fdmz6VkIf1ewwrssKYqRFg {
  TGenericSeq Sup;
  tyTuple_1mtQ8sCEE7DbfIuQciv9b5Q data[SEQ_DECL_SIZE];
};
struct tySequence_kxu4GK0onha2t9bo86mdVAg {
  TGenericSeq Sup;
  tyTuple_xDU9bZmv1ZbZkJDaATBekIQ data[SEQ_DECL_SIZE];
};
struct tySequence_bWZXqEvLFwhLvAqSRoFNgQ {
  TGenericSeq Sup;
  tyTuple_quA39a2QdEQU9cSEIUSibApQ data[SEQ_DECL_SIZE];
};
struct tySequence_Qr6E8eH7btq79cFKGaJfGLw {
  TGenericSeq Sup;
  tyTuple_EkGTYRWQ6y9cppXTlT8Xm5g data[SEQ_DECL_SIZE];
};
struct tySequence_fIB1rTQ55aFonoft9a9bmljQ {
  TGenericSeq Sup;
  tyTuple_OJFzEczluV8Jmo9bRpBfkzw data[SEQ_DECL_SIZE];
};
struct tySequence_23SMqauuRsbDANhthj9bWlA {
  TGenericSeq Sup;
  tyTuple_2SGm9aGCXuo7XSQ9bqD29axXw data[SEQ_DECL_SIZE];
};
struct tySequence_squ9b9bUH4OLHf6cEMrt6hVA {
  TGenericSeq Sup;
  tyTuple_F3gkSrMB1qp2Tvf9bixVXwg data[SEQ_DECL_SIZE];
};
struct tySequence_pHNq3oXj9av2sEUdqaqeZjw {
  TGenericSeq Sup;
  tyTuple_wcNatyuf8WOqAhGLhSvgiw data[SEQ_DECL_SIZE];
};
struct tySequence_PzqTLBFNawCGiqTk0UORYw {
  TGenericSeq Sup;
  tyTuple_euPCXX9bc3XzndEhYlqNS7g data[SEQ_DECL_SIZE];
};
struct tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ {
  TGenericSeq Sup;
  tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
};
struct tySequence_Ef05srmQTDulnBdXR4Ja6Q {
  TGenericSeq Sup;
  tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* data[SEQ_DECL_SIZE];
};
struct tySequence_DXS6mEo7PVUFJkirsQ9bNQA {
  TGenericSeq Sup;
  tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA* data[SEQ_DECL_SIZE];
};
struct tySequence_tNFrR3kRuS1FSwuiLGoSSA {
  TGenericSeq Sup;
  tyTuple_z822nu9bFF1AlQnLrHjdwpA data[SEQ_DECL_SIZE];
};
struct tySequence_7lEisrXlQEzwtUKW5pzRCw {
  TGenericSeq Sup;
  tyTuple_xYhUhS7X82rKTqbT9bRfCnw data[SEQ_DECL_SIZE];
};
struct tySequence_Zi9cGbCWofbtABoHJ5RbLNQ {
  TGenericSeq Sup;
  tyObject_TFileInfo_GE3hAakXKOEpch4ap3zXAw data[SEQ_DECL_SIZE];
};
struct tySequence_4eRCaZmrYLLw2k30GPTiMw {
  TGenericSeq Sup;
  tyTuple_QeWl6B6ffS4pU6WWrtcrDw data[SEQ_DECL_SIZE];
};
struct tySequence_sM4lkSb7zS6F7OVMvW9cffQ {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
struct tySequence_pK3qSsBZwdXd6qyUMkd5Jw {
  TGenericSeq Sup;
  tyObject_Cfile_i9cKq1ZGd1wgagjUEHLVFtg data[SEQ_DECL_SIZE];
};
N_LIB_PRIVATE N_NIMCALL(void, connectCallbacks_bgKSaiGTRW4vbGh2XuGqSw)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, includeModule_79assLzFh5inGi2H09aq2gdg)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* s, NI32 fileIdx);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, parseFile_HSBHiITVPKlv327uAC12yw)(NI32 fileIdx, tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* config);
N_LIB_PRIVATE N_NIMCALL(void, addDep_cCI0fqtTipEqkPEycgnc9cg)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* m, NI32 dep);
N_LIB_PRIVATE N_NIMCALL(void, addIncludeDep_sRGnaJBZsj1fPp3iXseulA)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* g, NI32 module, NI32 includeFile);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, importModule_eaYLAZLmi86rX9aH754cWPA)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* s, NI32 fileIdx);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl_W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, compileModule_G7A63DimkOmtueyLoB89c8w)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, NI32 fileIdx, tySet_tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw flags);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, getModule_M1TGnt0pSqOaMTLwmaJc6A)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* g, NI32 fileIdx);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toFullPath_VW1RaR1l9c9bPnJxr1KuvIrg)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NI32 fileIdx);
static N_INLINE(void, loadModuleSym_TZ4cSdWFBQGxqYL9bgrU75wrod)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* g, NI32 fileIdx, NimStringDesc* fullpath, tyTuple_K9bYwLtGKmFQYg8TwmqoG3Q* Result);
static N_INLINE(NI, getID_82csy2YSddf27azS9awAkVgidgen)(void);
static N_INLINE(NI, addInt)(NI a, NI b);
N_NOINLINE(void, raiseOverflow)(void);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem_JE6t4x7Z3v2iVz27Nx0MRAmemory)(void* a, int v, NI size);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, newModule_PN7pK647RUHkTUxfFZcwhQ)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, NI32 fileIdx);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_NIMCALL(void, FieldDiscriminantCheck)(NI oldDiscVal, NI newDiscVal, TNimNode** a, NI L);
N_LIB_PRIVATE N_NIMCALL(tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA*, getIdent_9coBOmdXN09be4rJvXK6fQGQ)(tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw* ic, NimStringDesc* identifier);
N_LIB_PRIVATE N_NIMCALL(void, splitFile_z7B4FbwzX3Y0L1EA2lLGXw)(NimStringDesc* x, tyTuple_7q7q3E6Oj24ZNVJb9aonhAg* Result);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef_AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell_QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
static N_INLINE(void, decRef_AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(void, rtlAddZCT_AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT_Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isNimIdentifier_IzgWZFLZbxyANl3JI6qyFw)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(void, rawMessage_h30HgTFwbGq0PsyHmRqZ8g)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w msg, NimStringDesc* arg);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
static N_INLINE(void, copyMem_M04YC71iJg1N7gBF3HZTngsystem)(void* dest, void* source, NI size);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_LIB_PRIVATE N_NIMCALL(tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q, newLineInfo_NPagzbOMpGo9aqJmfnDrITg)(NI32 fileInfoIdx, NI line, NI col);
N_LIB_PRIVATE N_NIMCALL(void, partialInitModule_eelaJUyoBMuhkxminjeGOw)(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* result, tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, NI32 fileIdx, NimStringDesc* filename);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getPackageName_ez7MSoVdvcTOZlBJgbu5Sg)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* path);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, strTableGet_2ZDXFT8aKmu3vdgfJFQCgQ)(tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA t, tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* name);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, newSym_IXbidcxhXTQGZY9abN63Cxg)(tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw symKind, tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* name, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* owner, tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info, tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg options);
N_LIB_PRIVATE N_NIMCALL(void, initStrTable_2n9b6ELeZfbbP5wqNYm7VyA)(tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA* x);
N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
N_LIB_PRIVATE N_NIMCALL(void, strTableAdd_tyTgUybFIoow4CX2l5beug)(tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA* t, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* n);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, fakePackageName_NVe5toRYw3S9bLZGxvxCDiw)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* path);
static N_INLINE(NI, chckRange)(NI i, NI a, NI b);
N_NOINLINE(void, raiseRangeError)(NI64 val);
N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, processModule_zPTa50e0M05UK8aJ9bS48aw)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* module, tyObject_TLLStream_a5oZYQ9aTktYME2449ayEi6g* stream);
N_LIB_PRIVATE N_NIMCALL(tyObject_TLLStream_a5oZYQ9aTktYME2449ayEi6g*, llStreamOpen_ocAqkLNlxt5nOhrSLH4gwQ)(FILE* f);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isDirty_gr6489cOEwVr6TfMdoo7GTw)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* g, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* m);
N_LIB_PRIVATE N_NIMCALL(void, markClientsDirty_gLr5oeGR5aDtAVYJdMe5wg)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* g, NI32 fileIdx);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hcrOn_UhPXgqyDuuU9cKcS8FM883w)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(tySequence_48JTohSgTy339bRxHzUD8KA**, mgetOrPut_zZWWGOWkKOEGJoEiQeIHZA)(tyObject_Table_fdKWDDO1P17zvuQPReVgRA* t, NI32 key, tySequence_48JTohSgTy339bRxHzUD8KA* val);
N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isDefined_jkXTnxDf8MX1Pmks3s0XxA)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* symbol);
N_LIB_PRIVATE N_NIMCALL(void, wantMainModule_pfNwDAcuVGDsWqOQBMvUpw)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf);
static N_INLINE(NIM_BOOL, isEmpty_kPpSxL0H5sJ9a6ujvdQ0QVQpathutils)(NimStringDesc* x);
N_LIB_PRIVATE N_NIMCALL(void, fatal_mMj7lrOf3zBP9bl69amiKu5g_4)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info, tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w msg, NimStringDesc* arg);
static N_INLINE(tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q, newLineInfo_q6yS31W9c9bTxOv5YvOB1n7gmsgs)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NI line, NI col);
N_LIB_PRIVATE N_NIMCALL(NI32, fileInfoIdx_3HRSVgYDcnQTolSZGx1zjA)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosaddFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, slash__QVqo5OOQAdrjFqBsPctklw)(NimStringDesc* base, NimStringDesc* f);
N_LIB_PRIVATE N_NIMCALL(void, compileSystemModule_bgKSaiGTRW4vbGh2XuGqSw_2)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, makeModule_X0YNzSZYcyX9cz31YOsPZuA)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, NimStringDesc* filename);
N_LIB_PRIVATE N_NIMCALL(void, resetSysTypes_lBh9acn5qUM9bnzEQFRHJG0Q)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* g);
extern NI gFrontEndId_gyRrMPnY7JyC6tAu9bCfGng;
extern TNimType NTI_K9bspPztfoWajecnwjyHuYQ_;
extern TNimType NTI_JpsEh5i1AcKChGYbg7aV4w_;
extern TNimNode* NimDT__JpsEh5i1AcKChGYbg7aV4w_kind[27];
extern tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ gch_IcYaEuuWivYAS86vFMTS3Q;
extern TNimType NTI_DfgJFJEYoj4YBAHLZPl5lQ_;
extern TNimType NTI_48JTohSgTy339bRxHzUD8KA_;
STRING_LITERAL(TM_M5T16KOkc0tDi9bZeKl6v1w_2, "/Users/travis/build/nim-lang/nightlies/nim/e7471cebae2a404f3e42"
"39f199f5a0c422484aac/compiler/modules.nim(101, 10) `graph.config"
" != nil` ", 136);
STRING_LITERAL(TM_M5T16KOkc0tDi9bZeKl6v1w_4, "invalid module name: ", 21);
STRING_LITERAL(TM_M5T16KOkc0tDi9bZeKl6v1w_5, "unknown", 7);
STRING_LITERAL(TM_M5T16KOkc0tDi9bZeKl6v1w_6, "tab", 3);
STRING_LITERAL(TM_M5T16KOkc0tDi9bZeKl6v1w_8, "/Users/travis/build/nim-lang/nightlies/nim/e7471cebae2a404f3e42"
"39f199f5a0c422484aac/compiler/modules.nim(87, 14) `result.id < 0"
"` ", 129);
STRING_LITERAL(TM_M5T16KOkc0tDi9bZeKl6v1w_9, "booting", 7);
STRING_LITERAL(TM_M5T16KOkc0tDi9bZeKl6v1w_10, "command line", 12);
STRING_LITERAL(TM_M5T16KOkc0tDi9bZeKl6v1w_11, "command expects a filename", 26);
STRING_LITERAL(TM_M5T16KOkc0tDi9bZeKl6v1w_12, "nim", 3);
STRING_LITERAL(TM_M5T16KOkc0tDi9bZeKl6v1w_13, "system.nim", 10);
STRING_LITERAL(TM_M5T16KOkc0tDi9bZeKl6v1w_14, "stdin", 5);

N_LIB_PRIVATE N_NIMCALL(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, includeModule_79assLzFh5inGi2H09aq2gdg)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* s, NI32 fileIdx) {
	tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* result;
	result = (tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*)0;
	result = parseFile_HSBHiITVPKlv327uAC12yw(fileIdx, (*graph).cache, (*graph).config);
	addDep_cCI0fqtTipEqkPEycgnc9cg(graph, s, fileIdx);
	addIncludeDep_sRGnaJBZsj1fPp3iXseulA(graph, ((NI32) ((*s).position)), fileIdx);
	return result;
}

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;
}

static N_INLINE(NI, getID_82csy2YSddf27azS9awAkVgidgen)(void) {
	NI result;
	NI TM_M5T16KOkc0tDi9bZeKl6v1w_3;
	result = (NI)0;
	result = gFrontEndId_gyRrMPnY7JyC6tAu9bCfGng;
	TM_M5T16KOkc0tDi9bZeKl6v1w_3 = addInt(gFrontEndId_gyRrMPnY7JyC6tAu9bCfGng, ((NI) 1));
	gFrontEndId_gyRrMPnY7JyC6tAu9bCfGng = (NI)(TM_M5T16KOkc0tDi9bZeKl6v1w_3);
	return result;
}

static N_INLINE(void, loadModuleSym_TZ4cSdWFBQGxqYL9bgrU75wrod)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* g, NI32 fileIdx, NimStringDesc* fullpath, tyTuple_K9bYwLtGKmFQYg8TwmqoG3Q* Result) {
	tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* colontmp_;
	NI colontmp__2;
	colontmp_ = NIM_NIL;
	colontmp__2 = getID_82csy2YSddf27azS9awAkVgidgen();
	unsureAsgnRef((void**) (&(*Result).Field0), colontmp_);
	(*Result).Field1 = colontmp__2;
}

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

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

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

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

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

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T5_;
		if (!!((src == NIM_NIL))) goto LA3_;
		T5_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T5_ = usrToCell_QFQqcLB3lgOdwipkv9a60xwsystem(src);
		incRef_AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
	}
	LA3_: ;
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T10_;
		if (!!(((*dest) == NIM_NIL))) goto LA8_;
		T10_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T10_ = usrToCell_QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
		decRef_AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
	}
	LA8_: ;
	(*dest) = src;
}

static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = memcpy(dest, source, ((size_t) (size)));
}

static N_INLINE(void, copyMem_M04YC71iJg1N7gBF3HZTngsystem)(void* dest, void* source, NI size) {
	nimCopyMem(dest, source, size);
}

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

static N_INLINE(NI, chckRange)(NI i, NI a, NI b) {
	NI result;
{	result = (NI)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (a <= i);
		if (!(T3_)) goto LA4_;
		T3_ = (i <= b);
		LA4_: ;
		if (!T3_) goto LA5_;
		result = i;
		goto BeforeRet_;
	}
	goto LA1_;
	LA5_: ;
	{
		raiseRangeError(((NI64) (i)));
	}
	LA1_: ;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, partialInitModule_eelaJUyoBMuhkxminjeGOw)(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* result, tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, NI32 fileIdx, NimStringDesc* filename) {
	NimStringDesc* pck;
	NimStringDesc* pck2;
	tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* pack;
	tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* packSym;
	pck = getPackageName_ez7MSoVdvcTOZlBJgbu5Sg((*graph).config, filename);
	{
		if (!(((NI) 0) < (pck ? pck->Sup.len : 0))) goto LA3_;
		pck2 = pck;
	}
	goto LA1_;
	LA3_: ;
	{
		pck2 = copyString(((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_5));
	}
	LA1_: ;
	pack = getIdent_9coBOmdXN09be4rJvXK6fQGQ((*graph).cache, pck2);
	packSym = strTableGet_2ZDXFT8aKmu3vdgfJFQCgQ((*graph).packageSyms, pack);
	{
		tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* T10_;
		if (!(packSym == NIM_NIL)) goto LA8_;
		T10_ = (tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA*)0;
		T10_ = getIdent_9coBOmdXN09be4rJvXK6fQGQ((*graph).cache, pck2);
		packSym = newSym_IXbidcxhXTQGZY9abN63Cxg(((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 24), T10_, NIM_NIL, (*result).info, 0);
		if (!(((16777280 &(1U<<((NU)((*packSym).kind)&31U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_6));
		initStrTable_2n9b6ELeZfbbP5wqNYm7VyA((&(*packSym).tab));
		strTableAdd_tyTgUybFIoow4CX2l5beug((&(*graph).packageSyms), packSym);
	}
	goto LA6_;
	LA8_: ;
	{
		tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* existing;
		if (!(((16777280 &(1U<<((NU)((*packSym).kind)&31U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_6));
		existing = strTableGet_2ZDXFT8aKmu3vdgfJFQCgQ((*packSym).tab, (*result).name);
		{
			NIM_BOOL T14_;
			NimStringDesc* pck3;
			tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* T18_;
			T14_ = (NIM_BOOL)0;
			T14_ = !((existing == NIM_NIL));
			if (!(T14_)) goto LA15_;
			T14_ = !(((*existing).info.fileIndex == (*result).info.fileIndex));
			LA15_: ;
			if (!T14_) goto LA16_;
			pck3 = fakePackageName_NVe5toRYw3S9bLZGxvxCDiw((*graph).config, filename);
			T18_ = (tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA*)0;
			T18_ = getIdent_9coBOmdXN09be4rJvXK6fQGQ((*graph).cache, pck3);
			packSym = newSym_IXbidcxhXTQGZY9abN63Cxg(((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 24), T18_, NIM_NIL, (*result).info, 0);
			if (!(((16777280 &(1U<<((NU)((*packSym).kind)&31U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_6));
			initStrTable_2n9b6ELeZfbbP5wqNYm7VyA((&(*packSym).tab));
			strTableAdd_tyTgUybFIoow4CX2l5beug((&(*graph).packageSyms), packSym);
		}
		LA16_: ;
	}
	LA6_: ;
	asgnRef((void**) (&(*result).owner), packSym);
	(*result).position = ((NI) (fileIdx));
	{
		NI T21_;
		NI TM_M5T16KOkc0tDi9bZeKl6v1w_7;
		T21_ = ((*graph).modules ? (*graph).modules->Sup.len : 0);
		if (!(T21_ <= ((NI) (fileIdx)))) goto LA22_;
		TM_M5T16KOkc0tDi9bZeKl6v1w_7 = addInt(((NI) (fileIdx)), ((NI) 1));
		asgnRef((void**) (&(*graph).modules), (tySequence_DfgJFJEYoj4YBAHLZPl5lQ*) setLengthSeqV2(&((*graph).modules)->Sup, (&NTI_DfgJFJEYoj4YBAHLZPl5lQ_), ((NI)chckRange((NI)(TM_M5T16KOkc0tDi9bZeKl6v1w_7), ((NI) 0), ((NI) 2147483647)))));
	}
	LA22_: ;
	if ((NU)((*result).position) >= (NU)((*graph).modules ? (*graph).modules->Sup.len : 0)) raiseIndexError2((*result).position,((*graph).modules ? (*graph).modules->Sup.len : 0)-1);
	asgnRef((void**) (&(*graph).modules->data[(*result).position]), result);
	(*result).flags |= ((NU64)1)<<((((tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw) 0)) & 63);
	if (!(((16777280 &(1U<<((NU)((*result).kind)&31U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_6));
	initStrTable_2n9b6ELeZfbbP5wqNYm7VyA((&(*result).tab));
	if (!(((16777280 &(1U<<((NU)((*result).kind)&31U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_6));
	strTableAdd_tyTgUybFIoow4CX2l5beug((&(*result).tab), result);
	if (!(((16777280 &(1U<<((NU)((*packSym).kind)&31U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_6));
	strTableAdd_tyTgUybFIoow4CX2l5beug((&(*packSym).tab), result);
}

N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, newModule_PN7pK647RUHkTUxfFZcwhQ)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, NI32 fileIdx) {
	tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* result;
	tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw T1_;
	NimStringDesc* filename;
	tyTuple_7q7q3E6Oj24ZNVJb9aonhAg T2_;
	result = (tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*)0;
	result = (tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*) newObj((&NTI_K9bspPztfoWajecnwjyHuYQ_), sizeof(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w));
	(*result).Sup.Sup.m_type = (&NTI_JpsEh5i1AcKChGYbg7aV4w_);
	(*result).Sup.id = ((NI) -1);
	T1_ = (tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw)0;
	T1_ = ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 6);
	FieldDiscriminantCheck((NI)(NU)((*result).kind), (NI)(NU)(T1_), NimDT__JpsEh5i1AcKChGYbg7aV4w_kind, 27);
	(*result).kind = T1_;
	filename = toFullPath_VW1RaR1l9c9bPnJxr1KuvIrg((*graph).config, fileIdx);
	nimZeroMem((void*)(&T2_), sizeof(tyTuple_7q7q3E6Oj24ZNVJb9aonhAg));
	splitFile_z7B4FbwzX3Y0L1EA2lLGXw(filename, (&T2_));
	asgnRef((void**) (&(*result).name), getIdent_9coBOmdXN09be4rJvXK6fQGQ((*graph).cache, T2_.Field1));
	{
		NIM_BOOL T5_;
		NimStringDesc* T8_;
		T5_ = (NIM_BOOL)0;
		T5_ = isNimIdentifier_IzgWZFLZbxyANl3JI6qyFw((*(*result).name).s);
		if (!!(T5_)) goto LA6_;
		T8_ = (NimStringDesc*)0;
		T8_ = rawNewString(((*(*result).name).s ? (*(*result).name).s->Sup.len : 0) + 21);
appendString(T8_, ((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_4));
appendString(T8_, (*(*result).name).s);
		rawMessage_h30HgTFwbGq0PsyHmRqZ8g((*graph).config, ((tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w) 9), T8_);
	}
	LA6_: ;
	(*result).info = newLineInfo_NPagzbOMpGo9aqJmfnDrITg(fileIdx, ((NI) 1), ((NI) 1));
	partialInitModule_eelaJUyoBMuhkxminjeGOw(result, graph, fileIdx, filename);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, compileModule_G7A63DimkOmtueyLoB89c8w)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, NI32 fileIdx, tySet_tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw flags) {
	tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* result;
	result = (tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*)0;
	result = getModule_M1TGnt0pSqOaMTLwmaJc6A(graph, fileIdx);
	{
		NimStringDesc* filename;
		tyTuple_K9bYwLtGKmFQYg8TwmqoG3Q T5_;
		tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* r;
		NI id;
		tyObject_TLLStream_a5oZYQ9aTktYME2449ayEi6g* T19_;
		NIM_BOOL T27_;
		if (!(result == NIM_NIL)) goto LA3_;
		filename = toFullPath_VW1RaR1l9c9bPnJxr1KuvIrg((*graph).config, fileIdx);
		nimZeroMem((void*)(&T5_), sizeof(tyTuple_K9bYwLtGKmFQYg8TwmqoG3Q));
		loadModuleSym_TZ4cSdWFBQGxqYL9bgrU75wrod(graph, fileIdx, filename, (&T5_));
		r = (tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*)0;
		r = T5_.Field0;
		id = (NI)0;
		id = T5_.Field1;
		result = r;
		{
			if (!(result == NIM_NIL)) goto LA8_;
			result = newModule_PN7pK647RUHkTUxfFZcwhQ(graph, fileIdx);
			(*result).flags = ((*result).flags | flags);
			{
				if (!(((*result).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw) 12))&63U)))!=0)) goto LA12_;
				(*(*graph).config).mainPackageId = (*(*result).owner).Sup.id;
			}
			LA12_: ;
			(*result).Sup.id = id;
		}
		goto LA6_;
		LA8_: ;
		{
			partialInitModule_eelaJUyoBMuhkxminjeGOw(result, graph, fileIdx, filename);
			(*result).Sup.id = id;
			{
				if (!!(((*result).Sup.id < ((NI) 0)))) goto LA17_;
				failedAssertImpl_W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_8));
			}
			LA17_: ;
		}
		LA6_: ;
		T19_ = (tyObject_TLLStream_a5oZYQ9aTktYME2449ayEi6g*)0;
		{
			NIM_BOOL T22_;
			T22_ = (NIM_BOOL)0;
			T22_ = ((flags &((NU64)1<<((NU)(((tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw) 12))&63U)))!=0);
			if (!(T22_)) goto LA23_;
			T22_ = (*(*graph).config).projectIsStdin;
			LA23_: ;
			if (!T22_) goto LA24_;
			T19_ = llStreamOpen_ocAqkLNlxt5nOhrSLH4gwQ(stdin);
		}
		goto LA20_;
		LA24_: ;
		{
			T19_ = NIM_NIL;
		}
		LA20_: ;
		T27_ = (NIM_BOOL)0;
		T27_ = processModule_zPTa50e0M05UK8aJ9bS48aw(graph, result, T19_);
		(void)(T27_);
	}
	goto LA1_;
	LA3_: ;
	{
		NIM_BOOL T29_;
		tyObject_TLLStream_a5oZYQ9aTktYME2449ayEi6g* T32_;
		NIM_BOOL T40_;
		T29_ = (NIM_BOOL)0;
		T29_ = isDirty_gr6489cOEwVr6TfMdoo7GTw(graph, result);
		if (!T29_) goto LA30_;
		(*result).flags &= ~(((NU64)1) << ((((tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw) 9)) & 63));
		if (!(((16777280 &(1U<<((NU)((*result).kind)&31U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_6));
		initStrTable_2n9b6ELeZfbbP5wqNYm7VyA((&(*result).tab));
		asgnRef((void**) (&(*result).ast), NIM_NIL);
		T32_ = (tyObject_TLLStream_a5oZYQ9aTktYME2449ayEi6g*)0;
		{
			NIM_BOOL T35_;
			T35_ = (NIM_BOOL)0;
			T35_ = ((flags &((NU64)1<<((NU)(((tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw) 12))&63U)))!=0);
			if (!(T35_)) goto LA36_;
			T35_ = (*(*graph).config).projectIsStdin;
			LA36_: ;
			if (!T35_) goto LA37_;
			T32_ = llStreamOpen_ocAqkLNlxt5nOhrSLH4gwQ(stdin);
		}
		goto LA33_;
		LA37_: ;
		{
			T32_ = NIM_NIL;
		}
		LA33_: ;
		T40_ = (NIM_BOOL)0;
		T40_ = processModule_zPTa50e0M05UK8aJ9bS48aw(graph, result, T32_);
		(void)(T40_);
		markClientsDirty_gLr5oeGR5aDtAVYJdMe5wg(graph, fileIdx);
	}
	goto LA1_;
	LA30_: ;
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, importModule_eaYLAZLmi86rX9aH754cWPA)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* s, NI32 fileIdx) {
	tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* result;
	result = (tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*)0;
	{
		if (!!(!(((*graph).config == NIM_NIL)))) goto LA3_;
		failedAssertImpl_W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_2));
	}
	LA3_: ;
	result = compileModule_G7A63DimkOmtueyLoB89c8w(graph, fileIdx, 0);
	addDep_cCI0fqtTipEqkPEycgnc9cg(graph, s, fileIdx);
	{
		NIM_BOOL T7_;
		tySequence_48JTohSgTy339bRxHzUD8KA* T10_;
		tySequence_48JTohSgTy339bRxHzUD8KA** T11_;
		NI T12_;
		T7_ = (NIM_BOOL)0;
		T7_ = hcrOn_UhPXgqyDuuU9cKcS8FM883w((*graph).config);
		if (!T7_) goto LA8_;
		T10_ = (tySequence_48JTohSgTy339bRxHzUD8KA*)0;
		T10_ = NIM_NIL;
		T11_ = (tySequence_48JTohSgTy339bRxHzUD8KA**)0;
		T11_ = mgetOrPut_zZWWGOWkKOEGJoEiQeIHZA((&(*graph).importDeps), ((NI32) ((*s).position)), T10_);
		unsureAsgnRef((void**) (&(*T11_)), (tySequence_48JTohSgTy339bRxHzUD8KA*) incrSeqV3((TGenericSeq*)((*T11_)), (&NTI_48JTohSgTy339bRxHzUD8KA_)));
		T12_ = (*T11_)->Sup.len++;
		(*T11_)->data[T12_] = fileIdx;
	}
	LA8_: ;
	{
		NIM_BOOL T15_;
		T15_ = (NIM_BOOL)0;
		T15_ = ((*(*s).owner).Sup.id == (*(*graph).config).mainPackageId);
		if (T15_) goto LA16_;
		T15_ = isDefined_jkXTnxDf8MX1Pmks3s0XxA((*graph).config, ((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_9));
		LA16_: ;
		if (!T15_) goto LA17_;
		(*(*graph).config).notes = (*(*graph).config).mainPackageNotes;
	}
	goto LA13_;
	LA17_: ;
	{
		(*(*graph).config).notes = (*(*graph).config).foreignPackageNotes;
	}
	LA13_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, connectCallbacks_bgKSaiGTRW4vbGh2XuGqSw)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph) {
	(*graph).includeFileCallback = includeModule_79assLzFh5inGi2H09aq2gdg;
	(*graph).importModuleCallback = importModule_eaYLAZLmi86rX9aH754cWPA;
}

static N_INLINE(NIM_BOOL, isEmpty_kPpSxL0H5sJ9a6ujvdQ0QVQpathutils)(NimStringDesc* x) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = ((x ? x->Sup.len : 0) == ((NI) 0));
	return result;
}

static N_INLINE(tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q, newLineInfo_q6yS31W9c9bTxOv5YvOB1n7gmsgs)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NI line, NI col) {
	tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q result;
	NI32 T1_;
	nimZeroMem((void*)(&result), sizeof(tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q));
	T1_ = (NI32)0;
	T1_ = fileInfoIdx_3HRSVgYDcnQTolSZGx1zjA(conf, filename);
	result = newLineInfo_NPagzbOMpGo9aqJmfnDrITg(T1_, line, col);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, wantMainModule_pfNwDAcuVGDsWqOQBMvUpw)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf) {
	NimStringDesc* T7_;
	{
		NIM_BOOL T3_;
		tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q T6_;
		T3_ = (NIM_BOOL)0;
		T3_ = isEmpty_kPpSxL0H5sJ9a6ujvdQ0QVQpathutils((*conf).projectFull);
		if (!T3_) goto LA4_;
		T6_ = newLineInfo_q6yS31W9c9bTxOv5YvOB1n7gmsgs(conf, ((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_10), ((NI) 1), ((NI) 1));
		fatal_mMj7lrOf3zBP9bl69amiKu5g_4(conf, T6_, ((tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w) 9), ((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_11));
	}
	LA4_: ;
	T7_ = (NimStringDesc*)0;
	T7_ = nosaddFileExt((*conf).projectFull, ((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_12));
	(*conf).projectMainIdx = fileInfoIdx_3HRSVgYDcnQTolSZGx1zjA(conf, T7_);
}

N_LIB_PRIVATE N_NIMCALL(void, compileSystemModule_bgKSaiGTRW4vbGh2XuGqSw_2)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph) {
	{
		NimStringDesc* T5_;
		tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* T6_;
		if (!((*graph).systemModule == NIM_NIL)) goto LA3_;
		connectCallbacks_bgKSaiGTRW4vbGh2XuGqSw(graph);
		T5_ = (NimStringDesc*)0;
		T5_ = slash__QVqo5OOQAdrjFqBsPctklw((*(*graph).config).libpath, ((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_13));
		(*(*graph).config).m.systemFileIdx = fileInfoIdx_3HRSVgYDcnQTolSZGx1zjA((*graph).config, T5_);
		T6_ = (tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*)0;
		T6_ = compileModule_G7A63DimkOmtueyLoB89c8w(graph, (*(*graph).config).m.systemFileIdx, 8192);
		(void)(T6_);
	}
	LA3_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, compileProject_KlDcF6rnOBDQLo439cvjPjg)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, NI32 projectFileIdx) {
	tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf;
	NI32 systemFileIdx;
	NimStringDesc* T1_;
	NI32 projectFile;
	NI T7_;
	connectCallbacks_bgKSaiGTRW4vbGh2XuGqSw(graph);
	conf = (*graph).config;
	wantMainModule_pfNwDAcuVGDsWqOQBMvUpw(conf);
	T1_ = (NimStringDesc*)0;
	T1_ = slash__QVqo5OOQAdrjFqBsPctklw((*conf).libpath, ((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_13));
	systemFileIdx = fileInfoIdx_3HRSVgYDcnQTolSZGx1zjA(conf, T1_);
	{
		if (!(projectFileIdx == ((NI32) -1))) goto LA4_;
		projectFile = (*conf).projectMainIdx;
	}
	goto LA2_;
	LA4_: ;
	{
		projectFile = projectFileIdx;
	}
	LA2_: ;
	asgnRef((void**) (&(*graph).importStack), (tySequence_48JTohSgTy339bRxHzUD8KA*) incrSeqV3((TGenericSeq*)((*graph).importStack), (&NTI_48JTohSgTy339bRxHzUD8KA_)));
	T7_ = (*graph).importStack->Sup.len++;
	(*graph).importStack->data[T7_] = projectFile;
	{
		tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* T12_;
		if (!(projectFile == systemFileIdx)) goto LA10_;
		T12_ = (tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*)0;
		T12_ = compileModule_G7A63DimkOmtueyLoB89c8w(graph, projectFile, 12288);
		(void)(T12_);
	}
	goto LA8_;
	LA10_: ;
	{
		tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* T14_;
		compileSystemModule_bgKSaiGTRW4vbGh2XuGqSw_2(graph);
		T14_ = (tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*)0;
		T14_ = compileModule_G7A63DimkOmtueyLoB89c8w(graph, projectFile, 4096);
		(void)(T14_);
	}
	LA8_: ;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, makeModule_X0YNzSZYcyX9cz31YOsPZuA)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, NimStringDesc* filename) {
	tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* result;
	NI32 T1_;
	result = (tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*)0;
	T1_ = (NI32)0;
	T1_ = fileInfoIdx_3HRSVgYDcnQTolSZGx1zjA((*graph).config, filename);
	result = newModule_PN7pK647RUHkTUxfFZcwhQ(graph, T1_);
	(*result).Sup.id = getID_82csy2YSddf27azS9awAkVgidgen();
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, makeStdinModule_9c3D8YlQlCYUtPb7tMWHTZg)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph) {
	tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* result;
	result = (tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*)0;
	result = makeModule_X0YNzSZYcyX9cz31YOsPZuA(graph, ((NimStringDesc*) &TM_M5T16KOkc0tDi9bZeKl6v1w_14));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, resetSystemArtifacts_qtJqiNk9aIOJrZ429bKn9aGZw)(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* g) {
	resetSysTypes_lBh9acn5qUM9bnzEQFRHJG0Q(g);
}
