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

#include "nimbase.h"
#include <string.h>
#include <setjmp.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_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw;
typedef struct tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyTuple_JfHvHzMrhKkWAUvQKe0i1A tyTuple_JfHvHzMrhKkWAUvQKe0i1A;
typedef struct tyObject_Env_slashUsersslashtravisslashbuildslashnimminuslangslashnightliesslashnimslashe7471cebae2a404f3e4239f199f5a0c422484aacslashcompilerslashcmdlinehelperdotnim__diB2NTuAIWY0FO9c5IUJRGg tyObject_Env_slashUsersslashtravisslashbuildslashnimminuslangslashnightliesslashnimslashe7471cebae2a404f3e4239f199f5a0c422484aacslashcompilerslashcmdlinehelperdotnim__diB2NTuAIWY0FO9c5IUJRGg;
typedef struct tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg;
typedef struct tyObject_Target_9abOl5DLX8suLujOaHSvGzw tyObject_Target_9abOl5DLX8suLujOaHSvGzw;
typedef struct tyObject_MsgConfig_kV7r8HWT0SqOYW2k2ukC6A tyObject_MsgConfig_kV7r8HWT0SqOYW2k2ukC6A;
typedef struct tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q;
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_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 Exception Exception;
typedef struct RootObj RootObj;
typedef struct tySequence_uB9b75OUPRENsBAu4AnoePA tySequence_uB9b75OUPRENsBAu4AnoePA;
typedef struct TSafePoint TSafePoint;
typedef struct tyTuple_7q7q3E6Oj24ZNVJb9aonhAg tyTuple_7q7q3E6Oj24ZNVJb9aonhAg;
typedef struct tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw;
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 tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w;
typedef struct tySequence_bWZXqEvLFwhLvAqSRoFNgQ tySequence_bWZXqEvLFwhLvAqSRoFNgQ;
typedef struct tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
typedef struct tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw;
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 tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ;
typedef struct tyTuple_z822nu9bFF1AlQnLrHjdwpA tyTuple_z822nu9bFF1AlQnLrHjdwpA;
typedef struct tyTuple_xYhUhS7X82rKTqbT9bRfCnw tyTuple_xYhUhS7X82rKTqbT9bRfCnw;
typedef struct tyObject_TFileInfo_GE3hAakXKOEpch4ap3zXAw tyObject_TFileInfo_GE3hAakXKOEpch4ap3zXAw;
typedef struct tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA;
typedef struct tyTuple_QeWl6B6ffS4pU6WWrtcrDw tyTuple_QeWl6B6ffS4pU6WWrtcrDw;
typedef struct tyObject_Cfile_i9cKq1ZGd1wgagjUEHLVFtg tyObject_Cfile_i9cKq1ZGd1wgagjUEHLVFtg;
typedef struct tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA;
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 NU8 tyEnum_TCmdLinePass_IiBn9cB6WYIMDHOT44O82wA;
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (tyEnum_TCmdLinePass_IiBn9cB6WYIMDHOT44O82wA pass, NimStringDesc* cmd, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* config, void* ClE_0);
void* ClE_0;
} tyProc_i9bFoqtqxp04BtVm7kl4aWw;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph, void* ClE_0);
void* ClE_0;
} tyProc_8Pq7MMcEYdoHud6JxiCxig;
struct tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg {
NIM_BOOL suggestMode;
NIM_BOOL supportsStdinFile;
tyProc_i9bFoqtqxp04BtVm7kl4aWw processCmdLine;
tyProc_8Pq7MMcEYdoHud6JxiCxig mainCommand;
};
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_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct tyTuple_JfHvHzMrhKkWAUvQKe0i1A {
void* Field0;
tyObject_Env_slashUsersslashtravisslashbuildslashnimminuslangslashnightliesslashnimslashe7471cebae2a404f3e4239f199f5a0c422484aacslashcompilerslashcmdlinehelperdotnim__diB2NTuAIWY0FO9c5IUJRGg* Field1;
};
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 NU32 tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg;
typedef NU64 tySet_tyEnum_TGlobalOption_RAfAEZqjnKMDumgyKKc1qw;
struct tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q {
NU16 line;
NI16 col;
NI32 fileIndex;
};
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;
};
typedef N_CLOSURE_PTR(void, TM_BxyDeRCaUtiykBhMyyq9cqA_6) (tyEnum_TCmdLinePass_IiBn9cB6WYIMDHOT44O82wA pass, NimStringDesc* cmd, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* config);
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;
};
struct RootObj {
TNimType* m_type;
};
struct Exception {
  RootObj Sup;
Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence_uB9b75OUPRENsBAu4AnoePA* trace;
NU raiseId;
Exception* up;
};
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;
};
struct tyTuple_7q7q3E6Oj24ZNVJb9aonhAg {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
typedef NU8 tyEnum_TGlobalOption_RAfAEZqjnKMDumgyKKc1qw;
typedef N_CLOSURE_PTR(void, TM_BxyDeRCaUtiykBhMyyq9cqA_18) (tyEnum_TCmdLinePass_IiBn9cB6WYIMDHOT44O82wA pass, NimStringDesc* cmd, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* config);
typedef NU8 tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w;
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(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, tyProc_d5yEkT9aXkAtHvVerr7IeCQ) (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;
};
typedef N_CLOSURE_PTR(void, TM_BxyDeRCaUtiykBhMyyq9cqA_20) (tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph);
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 tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA {
NCSTRING procname;
NI line;
NCSTRING filename;
};
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 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];
};
struct tySequence_uB9b75OUPRENsBAu4AnoePA {
  TGenericSeq Sup;
  tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];
};
struct tySequence_DfgJFJEYoj4YBAHLZPl5lQ {
  TGenericSeq Sup;
  tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* data[SEQ_DECL_SIZE];
};
struct tySequence_9brg1xNurxcus33lU4IE1Dw {
  TGenericSeq Sup;
  tyObject_Trunk_ul49aWfv9aes8cutmeltT3gQ* data[SEQ_DECL_SIZE];
};
struct tySequence_48JTohSgTy339bRxHzUD8KA {
  TGenericSeq Sup;
  NI32 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];
};
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tyRef_oQuE3daAnIJJmmxLCZ80bA)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, initDefines_hODM2As3BZvC4AAFuVvWwQ)(tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* symbols);
N_LIB_PRIVATE N_NIMCALL(void, defineSymbol_znuJizGq3isbcihOOtUY0A)(tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* symbols, NimStringDesc* symbol, NimStringDesc* value);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(NIM_BOOL, equalMem_9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(void, decRef_AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(void, rtlAddZCT_AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT_Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell_QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef_AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, canonicalizePath_9bhgFqdEZM7DoX7p3U69bQEg)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* path);
static N_INLINE(void, popSafePoint)(void);
N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
static N_INLINE(Exception*, getCurrentException)(void);
static N_INLINE(void, popCurrentException)(void);
N_NIMCALL(void, reraiseException)(void);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem_zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
N_LIB_PRIVATE N_NIMCALL(void, splitFile_z7B4FbwzX3Y0L1EA2lLGXw)(NimStringDesc* x, tyTuple_7q7q3E6Oj24ZNVJb9aonhAg* Result);
static N_INLINE(NIM_BOOL, isEmpty_ZNWb41IwBSHCUIjlqlGoxgpathutils)(NimStringDesc* x);
N_LIB_PRIVATE N_NIMCALL(void, loadConfigs_YEwEmZgkg9cjY353WcQKcEQ)(NimStringDesc* cfg, tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getSystemConfigPath_20ZvyukzMEoGWloXckQXaw)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename);
static N_INLINE(NIM_BOOL, fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos)(NimStringDesc* filename);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosexistsFile)(NimStringDesc* filename);
N_LIB_PRIVATE N_NIMCALL(void, runNimScript_9aK66nKYiNl2TBdU36GDs9aA)(tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw* cache, NimStringDesc* scriptName, NIM_BOOL freshDefines, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getUserConfigPath_JWCVdcP9a8q9acNEgF9aYr8sA)(NimStringDesc* filename);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, slash__QVqo5OOQAdrjFqBsPctklw)(NimStringDesc* base, NimStringDesc* f);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosisRootDir)(NimStringDesc* path);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosparentDir)(NimStringDesc* path);
static N_INLINE(NI, subInt)(NI a, NI b);
N_NOINLINE(void, raiseOverflow)(void);
N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr_2yh9cer0ymNRHlOOg8P7IuA)(NimStringDesc* s, NI first, NI last);
static N_INLINE(NI, addInt)(NI a, NI b);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq__UCoYdHlZt2oxX9ceSn0adYg)(NimStringDesc* x, NimStringDesc* y);
N_LIB_PRIVATE N_NIMCALL(void, initVars_LewyFn4Dwlat7Ce2QWFbZA)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(void, rawMessage_h30HgTFwbGq0PsyHmRqZ8g)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w msg, NimStringDesc* arg);
N_LIB_PRIVATE N_NIMCALL(tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ*, newModuleGraph_i9b4NK8jPhAUAsvbtMitNLw)(tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* config);
TNimType NTI_bzPe2PlnnyJH4wKrjRuvwg_;
extern TNimType NTI_VaVACK0bpYmqIQ0mKcHfQQ_;
TNimType NTI_i9bFoqtqxp04BtVm7kl4aWw_;
extern TNimType NTI_vr5DoT1jILTGdRlYv1OYpw_;
extern TNimType NTI_HsJiUUcO9cHBdUCi0HwkSTA_;
TNimType NTI_8Pq7MMcEYdoHud6JxiCxig_;
TNimType NTI_oQuE3daAnIJJmmxLCZ80bA_;
extern tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ gch_IcYaEuuWivYAS86vFMTS3Q;
extern TSafePoint* excHandler_rqLlY5bs9atDw2OXYqJEn5g;
extern TSafePoint* excHandler_rqLlY5bs9atDw2OXYqJEn5g;
extern TSafePoint* excHandler_rqLlY5bs9atDw2OXYqJEn5g;
extern TSafePoint* excHandler_rqLlY5bs9atDw2OXYqJEn5g;
extern TNimType NTI_BeJgrOdDsczOwEWOZbRfKA_;
extern Exception* currException_9bVPeDJlYTi9bQApZpfH8wjg;
extern Exception* currException_9bVPeDJlYTi9bQApZpfH8wjg;
extern Exception* currException_9bVPeDJlYTi9bQApZpfH8wjg;
STRING_LITERAL(TM_BxyDeRCaUtiykBhMyyq9cqA_5, "true", 4);
STRING_LITERAL(TM_BxyDeRCaUtiykBhMyyq9cqA_7, "-", 1);
STRING_LITERAL(TM_BxyDeRCaUtiykBhMyyq9cqA_8, "stdinfile", 9);
STRING_LITERAL(TM_BxyDeRCaUtiykBhMyyq9cqA_9, "stdinfile", 9);
STRING_LITERAL(TM_BxyDeRCaUtiykBhMyyq9cqA_11, "nim.cfg", 7);
STRING_LITERAL(TM_BxyDeRCaUtiykBhMyyq9cqA_12, "nimsuggest", 10);
STRING_LITERAL(TM_BxyDeRCaUtiykBhMyyq9cqA_13, "config.nims", 11);
STRING_LITERAL(TM_BxyDeRCaUtiykBhMyyq9cqA_17, "nims", 4);
STRING_LITERAL(TM_BxyDeRCaUtiykBhMyyq9cqA_19, "command missing", 15);
static N_NIMCALL(void, Marker_tyRef_oQuE3daAnIJJmmxLCZ80bA)(void* p, NI op) {
	tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg* a;
	a = (tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg*)p;
	nimGCvisit((void*)(*a).processCmdLine.ClE_0, op);
	nimGCvisit((void*)(*a).mainCommand.ClE_0, op);
}

N_LIB_PRIVATE N_NIMCALL(void, initDefinesProg_59abjgA38liT9axvqVqzqA1A)(tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg* self, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* name) {
	initDefines_hODM2As3BZvC4AAFuVvWwQ((*conf).symbols);
	defineSymbol_znuJizGq3isbcihOOtUY0A((*conf).symbols, name, ((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_5));
}

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

static N_INLINE(NIM_BOOL, equalMem_9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size) {
	NIM_BOOL result;
	int T1_;
	result = (NIM_BOOL)0;
	T1_ = (int)0;
	T1_ = nimCmpMem(a, b, size);
	result = (T1_ == ((NI32) 0));
	return result;
}

static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	NI alen;
	NI blen;
{	result = (NIM_BOOL)0;
	alen = (a ? a->Sup.len : 0);
	blen = (b ? b->Sup.len : 0);
	{
		if (!(alen == blen)) goto LA3_;
		{
			if (!(alen == ((NI) 0))) goto LA7_;
			result = NIM_TRUE;
			goto BeforeRet_;
		}
		LA7_: ;
		result = equalMem_9bGgqEk7RXXl6eqM9c1HdELAsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
		goto BeforeRet_;
	}
	LA3_: ;
	}BeforeRet_: ;
	return result;
}

static N_INLINE(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)((NU64)((*c).refcount) - (NU64)(((NI) 8)));
	{
		if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3_;
		rtlAddZCT_AT1eRuflKWyTTBdLjEDZbg_2system(c);
	}
	LA3_: ;
}

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

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T1_;
	T1_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
	T1_ = usrToCell_QFQqcLB3lgOdwipkv9a60xwsystem(p);
	decRef_AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
}

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

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, pushSafePoint)(TSafePoint* s) {
	(*s).hasRaiseAction = NIM_FALSE;
	(*s).prev = excHandler_rqLlY5bs9atDw2OXYqJEn5g;
	excHandler_rqLlY5bs9atDw2OXYqJEn5g = s;
}

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

static N_INLINE(Exception*, getCurrentException)(void) {
	Exception* result;
	result = (Exception*)0;
	result = currException_9bVPeDJlYTi9bQApZpfH8wjg;
	return result;
}

static N_INLINE(void, popCurrentException)(void) {
	asgnRef((void**) (&currException_9bVPeDJlYTi9bQApZpfH8wjg), (*currException_9bVPeDJlYTi9bQApZpfH8wjg).up);
}

static N_INLINE(void, nimSetMem_zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = memset(a, v, ((size_t) (size)));
}

static N_INLINE(void, nimZeroMem)(void* p, NI size) {
	nimSetMem_zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
}

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

N_LIB_PRIVATE N_NIMCALL(void, processCmdLineAndProjectPath_Cg1dOQGwciny9ad7gh4258w)(tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg* self, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf) {
	(*self).processCmdLine.ClE_0? (*self).processCmdLine.ClP_0(((tyEnum_TCmdLinePass_IiBn9cB6WYIMDHOT44O82wA) 0), ((NimStringDesc*) NIM_NIL), conf, (*self).processCmdLine.ClE_0):((TM_BxyDeRCaUtiykBhMyyq9cqA_6)((*self).processCmdLine.ClP_0))(((tyEnum_TCmdLinePass_IiBn9cB6WYIMDHOT44O82wA) 0), ((NimStringDesc*) NIM_NIL), conf);
	{
		NIM_BOOL T3_;
		NimStringDesc* T7_;
		NimStringDesc* T8_;
		T3_ = (NIM_BOOL)0;
		T3_ = (*self).supportsStdinFile;
		if (!(T3_)) goto LA4_;
		T3_ = eqStrings((*conf).projectName, ((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_7));
		LA4_: ;
		if (!T3_) goto LA5_;
		T7_ = (NimStringDesc*)0;
		T7_ = (*conf).projectName; (*conf).projectName = copyStringRC1(((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_8));
		if (T7_) nimGCunrefNoCycle(T7_);
		T8_ = (NimStringDesc*)0;
		T8_ = (*conf).projectFull; (*conf).projectFull = copyStringRC1(((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_9));
		if (T8_) nimGCunrefNoCycle(T8_);
		asgnRef((void**) (&(*conf).projectPath), nosgetCurrentDir());
		(*conf).projectIsStdin = NIM_TRUE;
	}
	goto LA1_;
	LA5_: ;
	{
		TSafePoint TM_BxyDeRCaUtiykBhMyyq9cqA_10;
		tyTuple_7q7q3E6Oj24ZNVJb9aonhAg p;
		NimStringDesc* dir;
		NimStringDesc* T22_;
		if (!!((((*conf).projectName ? (*conf).projectName->Sup.len : 0) == 0))) goto LA10_;
		pushSafePoint(&TM_BxyDeRCaUtiykBhMyyq9cqA_10);
		TM_BxyDeRCaUtiykBhMyyq9cqA_10.status = _setjmp(TM_BxyDeRCaUtiykBhMyyq9cqA_10.context);
		if (TM_BxyDeRCaUtiykBhMyyq9cqA_10.status == 0) {
			asgnRef((void**) (&(*conf).projectFull), canonicalizePath_9bhgFqdEZM7DoX7p3U69bQEg(conf, (*conf).projectName));
			popSafePoint();
		}
		else {
			popSafePoint();
			if (isObj(getCurrentException()->Sup.m_type, (&NTI_BeJgrOdDsczOwEWOZbRfKA_))) {
				NimStringDesc* T15_;
				TM_BxyDeRCaUtiykBhMyyq9cqA_10.status = 0;
				T15_ = (NimStringDesc*)0;
				T15_ = (*conf).projectFull; (*conf).projectFull = copyStringRC1((*conf).projectName);
				if (T15_) nimGCunrefNoCycle(T15_);
				popCurrentException();
			}
		}
		if (TM_BxyDeRCaUtiykBhMyyq9cqA_10.status != 0) reraiseException();
		nimZeroMem((void*)(&p), sizeof(tyTuple_7q7q3E6Oj24ZNVJb9aonhAg));
		splitFile_z7B4FbwzX3Y0L1EA2lLGXw((*conf).projectFull, (&p));
		{
			NIM_BOOL T18_;
			T18_ = (NIM_BOOL)0;
			T18_ = isEmpty_ZNWb41IwBSHCUIjlqlGoxgpathutils(p.Field0);
			if (!T18_) goto LA19_;
			dir = nosgetCurrentDir();
		}
		goto LA16_;
		LA19_: ;
		{
			dir = p.Field0;
		}
		LA16_: ;
		asgnRef((void**) (&(*conf).projectPath), canonicalizePath_9bhgFqdEZM7DoX7p3U69bQEg(conf, dir));
		T22_ = (NimStringDesc*)0;
		T22_ = (*conf).projectName; (*conf).projectName = copyStringRC1(p.Field1);
		if (T22_) nimGCunrefNoCycle(T22_);
	}
	goto LA1_;
	LA10_: ;
	{
		NimStringDesc* T24_;
		T24_ = (NimStringDesc*)0;
		T24_ = nosgetCurrentDir();
		asgnRef((void**) (&(*conf).projectPath), canonicalizePath_9bhgFqdEZM7DoX7p3U69bQEg(conf, T24_));
	}
	LA1_: ;
}

static N_INLINE(NIM_BOOL, fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos)(NimStringDesc* filename) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = nosexistsFile(filename);
	return result;
}

static N_INLINE(NI, subInt)(NI a, NI b) {
	NI result;
{	result = (NI)0;
	result = (NI)((NU64)(a) - (NU64)(b));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (((NI) 0) <= (NI)(result ^ a));
		if (T3_) goto LA4_;
		T3_ = (((NI) 0) <= (NI)(result ^ (NI)((NU64) ~(b))));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}

static N_INLINE(NI, addInt)(NI a, NI b) {
	NI result;
{	result = (NI)0;
	result = (NI)((NU64)(a) + (NU64)(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_LIB_PRIVATE N_NIMCALL(NIM_BOOL, loadConfigsAndRunMainCommand_Zakie0oLAV2ve6DuAr547w)(tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg* self, tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf) {
	NIM_BOOL result;
	tyObject_ModuleGraphcolonObjectType__RZI3hCs0FTPYx8StfC81qQ* graph;
{	result = (NIM_BOOL)0;
	loadConfigs_YEwEmZgkg9cjY353WcQKcEQ(((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_11), cache, conf);
	{
		NimStringDesc* T5_;
		if (!(*self).suggestMode) goto LA3_;
		T5_ = (NimStringDesc*)0;
		T5_ = (*conf).command; (*conf).command = copyStringRC1(((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_12));
		if (T5_) nimGCunrefNoCycle(T5_);
	}
	LA3_: ;
	{
		NimStringDesc* p;
		if (!!((((*conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption_RAfAEZqjnKMDumgyKKc1qw) 15))&63U)))!=0))) goto LA8_;
		p = getSystemConfigPath_20ZvyukzMEoGWloXckQXaw(conf, ((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_13));
		{
			NIM_BOOL T12_;
			T12_ = (NIM_BOOL)0;
			T12_ = fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos(p);
			if (!T12_) goto LA13_;
			runNimScript_9aK66nKYiNl2TBdU36GDs9aA(cache, p, NIM_FALSE, conf);
		}
		LA13_: ;
	}
	LA8_: ;
	{
		NimStringDesc* p_2;
		if (!!((((*conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption_RAfAEZqjnKMDumgyKKc1qw) 17))&63U)))!=0))) goto LA17_;
		p_2 = getUserConfigPath_JWCVdcP9a8q9acNEgF9aYr8sA(((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_13));
		{
			NIM_BOOL T21_;
			T21_ = (NIM_BOOL)0;
			T21_ = fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos(p_2);
			if (!T21_) goto LA22_;
			runNimScript_9aK66nKYiNl2TBdU36GDs9aA(cache, p_2, NIM_FALSE, conf);
		}
		LA22_: ;
	}
	LA17_: ;
	{
		if (!!((((*conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption_RAfAEZqjnKMDumgyKKc1qw) 18))&63U)))!=0))) goto LA26_;
		{
			NimStringDesc* dir;
			NimStringDesc* colontmp_;
			dir = (NimStringDesc*)0;
			colontmp_ = (NimStringDesc*)0;
			colontmp_ = (*conf).projectPath;
			{
				NimStringDesc* current;
				if (!NIM_FALSE) goto LA31_;
				current = copyString(colontmp_);
				{
					NimStringDesc* p_3;
					if (!NIM_FALSE) goto LA35_;
					dir = colontmp_;
					p_3 = slash__QVqo5OOQAdrjFqBsPctklw(dir, ((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_13));
					{
						NIM_BOOL T39_;
						T39_ = (NIM_BOOL)0;
						T39_ = fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos(p_3);
						if (!T39_) goto LA40_;
						runNimScript_9aK66nKYiNl2TBdU36GDs9aA(cache, p_3, NIM_FALSE, conf);
					}
					LA40_: ;
				}
				LA35_: ;
				{
					while (1) {
						NimStringDesc* p_4;
						{
							NIM_BOOL T46_;
							T46_ = (NIM_BOOL)0;
							T46_ = nosisRootDir(current);
							if (!T46_) goto LA47_;
							goto LA42;
						}
						LA47_: ;
						current = nosparentDir(current);
						dir = current;
						p_4 = slash__QVqo5OOQAdrjFqBsPctklw(dir, ((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_13));
						{
							NIM_BOOL T51_;
							T51_ = (NIM_BOOL)0;
							T51_ = fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos(p_4);
							if (!T51_) goto LA52_;
							runNimScript_9aK66nKYiNl2TBdU36GDs9aA(cache, p_4, NIM_FALSE, conf);
						}
						LA52_: ;
					}
				} LA42: ;
			}
			goto LA29_;
			LA31_: ;
			{
				{
					NI i;
					NI colontmp__2;
					NI TM_BxyDeRCaUtiykBhMyyq9cqA_14;
					NI res;
					i = (NI)0;
					colontmp__2 = (NI)0;
					TM_BxyDeRCaUtiykBhMyyq9cqA_14 = subInt((colontmp_ ? colontmp_->Sup.len : 0), ((NI) 2));
					colontmp__2 = (NI)(TM_BxyDeRCaUtiykBhMyyq9cqA_14);
					res = ((NI) 0);
					{
						while (1) {
							NI TM_BxyDeRCaUtiykBhMyyq9cqA_16;
							if (!(res <= colontmp__2)) goto LA57;
							i = res;
							{
								NIM_BOOL T60_;
								NIM_BOOL T62_;
								NI TM_BxyDeRCaUtiykBhMyyq9cqA_15;
								NimStringDesc* p_5;
								T60_ = (NIM_BOOL)0;
								if ((NU)(i) >= (NU)(colontmp_ ? colontmp_->Sup.len : 0)) raiseIndexError2(i,(colontmp_ ? colontmp_->Sup.len : 0)-1);
								T60_ = (((NU8)(colontmp_->data[i])) == ((NU8)(47)) || ((NU8)(colontmp_->data[i])) == ((NU8)(47)));
								if (!(T60_)) goto LA61_;
								T62_ = (NIM_BOOL)0;
								T62_ = (i == ((NI) 0));
								if (T62_) goto LA63_;
								TM_BxyDeRCaUtiykBhMyyq9cqA_15 = subInt(i, ((NI) 1));
								if ((NU)((NI)(TM_BxyDeRCaUtiykBhMyyq9cqA_15)) >= (NU)(colontmp_ ? colontmp_->Sup.len : 0)) raiseIndexError2((NI)(TM_BxyDeRCaUtiykBhMyyq9cqA_15),(colontmp_ ? colontmp_->Sup.len : 0)-1);
								T62_ = !((((NU8)(colontmp_->data[(NI)(TM_BxyDeRCaUtiykBhMyyq9cqA_15)])) == ((NU8)(47)) || ((NU8)(colontmp_->data[(NI)(TM_BxyDeRCaUtiykBhMyyq9cqA_15)])) == ((NU8)(47))));
								LA63_: ;
								T60_ = T62_;
								LA61_: ;
								if (!T60_) goto LA64_;
								dir = substr_2yh9cer0ymNRHlOOg8P7IuA(colontmp_, ((NI) 0), i);
								p_5 = slash__QVqo5OOQAdrjFqBsPctklw(dir, ((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_13));
								{
									NIM_BOOL T68_;
									T68_ = (NIM_BOOL)0;
									T68_ = fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos(p_5);
									if (!T68_) goto LA69_;
									runNimScript_9aK66nKYiNl2TBdU36GDs9aA(cache, p_5, NIM_FALSE, conf);
								}
								LA69_: ;
							}
							LA64_: ;
							TM_BxyDeRCaUtiykBhMyyq9cqA_16 = addInt(res, ((NI) 1));
							res = (NI)(TM_BxyDeRCaUtiykBhMyyq9cqA_16);
						} LA57: ;
					}
				}
				{
					NimStringDesc* p_6;
					if (!NIM_FALSE) goto LA73_;
					dir = colontmp_;
					p_6 = slash__QVqo5OOQAdrjFqBsPctklw(dir, ((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_13));
					{
						NIM_BOOL T77_;
						T77_ = (NIM_BOOL)0;
						T77_ = fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos(p_6);
						if (!T77_) goto LA78_;
						runNimScript_9aK66nKYiNl2TBdU36GDs9aA(cache, p_6, NIM_FALSE, conf);
					}
					LA78_: ;
				}
				LA73_: ;
			}
			LA29_: ;
		}
	}
	LA26_: ;
	{
		NimStringDesc* p_7;
		if (!!((((*conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption_RAfAEZqjnKMDumgyKKc1qw) 16))&63U)))!=0))) goto LA82_;
		p_7 = slash__QVqo5OOQAdrjFqBsPctklw((*conf).projectPath, ((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_13));
		{
			NIM_BOOL T86_;
			T86_ = (NIM_BOOL)0;
			T86_ = fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos(p_7);
			if (!T86_) goto LA87_;
			runNimScript_9aK66nKYiNl2TBdU36GDs9aA(cache, p_7, NIM_FALSE, conf);
		}
		LA87_: ;
	}
	LA82_: ;
	{
		NimStringDesc* scriptFile;
		scriptFile = noschangeFileExt((*conf).projectFull, ((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_17));
		{
			NimStringDesc* p_8;
			if (!!((*self).suggestMode)) goto LA92_;
			p_8 = scriptFile;
			{
				NIM_BOOL T96_;
				T96_ = (NIM_BOOL)0;
				T96_ = fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos(p_8);
				if (!T96_) goto LA97_;
				runNimScript_9aK66nKYiNl2TBdU36GDs9aA(cache, p_8, NIM_FALSE, conf);
			}
			LA97_: ;
			{
				NIM_BOOL T101_;
				T101_ = (NIM_BOOL)0;
				T101_ = fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos(scriptFile);
				if (!(T101_)) goto LA102_;
				T101_ = eqeq__UCoYdHlZt2oxX9ceSn0adYg(scriptFile, (*conf).projectFull);
				LA102_: ;
				if (!T101_) goto LA103_;
				result = NIM_FALSE;
				goto BeforeRet_;
			}
			LA103_: ;
		}
		goto LA90_;
		LA92_: ;
		{
			{
				NIM_BOOL T108_;
				NimStringDesc* p_9;
				T108_ = (NIM_BOOL)0;
				T108_ = eqeq__UCoYdHlZt2oxX9ceSn0adYg(scriptFile, (*conf).projectFull);
				if (!!(T108_)) goto LA109_;
				p_9 = scriptFile;
				{
					NIM_BOOL T113_;
					T113_ = (NIM_BOOL)0;
					T113_ = fileExists_2KLbGVKGy3qOdtJ4Bb1ADgos(p_9);
					if (!T113_) goto LA114_;
					runNimScript_9aK66nKYiNl2TBdU36GDs9aA(cache, p_9, NIM_FALSE, conf);
				}
				LA114_: ;
			}
			goto LA106_;
			LA109_: ;
			{
			}
			LA106_: ;
		}
		LA90_: ;
	}
	initVars_LewyFn4Dwlat7Ce2QWFbZA(conf);
	(*self).processCmdLine.ClE_0? (*self).processCmdLine.ClP_0(((tyEnum_TCmdLinePass_IiBn9cB6WYIMDHOT44O82wA) 1), ((NimStringDesc*) NIM_NIL), conf, (*self).processCmdLine.ClE_0):((TM_BxyDeRCaUtiykBhMyyq9cqA_18)((*self).processCmdLine.ClP_0))(((tyEnum_TCmdLinePass_IiBn9cB6WYIMDHOT44O82wA) 1), ((NimStringDesc*) NIM_NIL), conf);
	{
		if (!(((*conf).command ? (*conf).command->Sup.len : 0) == 0)) goto LA119_;
		rawMessage_h30HgTFwbGq0PsyHmRqZ8g(conf, ((tyEnum_TMsgKind_29cbg2fC1z5iM1PAI28kR5w) 9), ((NimStringDesc*) &TM_BxyDeRCaUtiykBhMyyq9cqA_19));
	}
	LA119_: ;
	graph = newModuleGraph_i9b4NK8jPhAUAsvbtMitNLw(cache, conf);
	(*graph).suggestMode = (*self).suggestMode;
	(*self).mainCommand.ClE_0? (*self).mainCommand.ClP_0(graph, (*self).mainCommand.ClE_0):((TM_BxyDeRCaUtiykBhMyyq9cqA_20)((*self).mainCommand.ClP_0))(graph);
	result = NIM_TRUE;
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, compiler_cmdlinehelperDatInit000)(void) {
static TNimNode* TM_BxyDeRCaUtiykBhMyyq9cqA_2_4[4];
static TNimNode* TM_BxyDeRCaUtiykBhMyyq9cqA_3_2[2];
static TNimNode* TM_BxyDeRCaUtiykBhMyyq9cqA_4_2[2];
static TNimNode TM_BxyDeRCaUtiykBhMyyq9cqA_0[11];
NTI_bzPe2PlnnyJH4wKrjRuvwg_.size = sizeof(tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg);
NTI_bzPe2PlnnyJH4wKrjRuvwg_.kind = 18;
NTI_bzPe2PlnnyJH4wKrjRuvwg_.base = 0;
TM_BxyDeRCaUtiykBhMyyq9cqA_2_4[0] = &TM_BxyDeRCaUtiykBhMyyq9cqA_0[1];
TM_BxyDeRCaUtiykBhMyyq9cqA_0[1].kind = 1;
TM_BxyDeRCaUtiykBhMyyq9cqA_0[1].offset = offsetof(tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg, suggestMode);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[1].typ = (&NTI_VaVACK0bpYmqIQ0mKcHfQQ_);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[1].name = "suggestMode";
TM_BxyDeRCaUtiykBhMyyq9cqA_2_4[1] = &TM_BxyDeRCaUtiykBhMyyq9cqA_0[2];
TM_BxyDeRCaUtiykBhMyyq9cqA_0[2].kind = 1;
TM_BxyDeRCaUtiykBhMyyq9cqA_0[2].offset = offsetof(tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg, supportsStdinFile);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[2].typ = (&NTI_VaVACK0bpYmqIQ0mKcHfQQ_);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[2].name = "supportsStdinFile";
TM_BxyDeRCaUtiykBhMyyq9cqA_2_4[2] = &TM_BxyDeRCaUtiykBhMyyq9cqA_0[3];
NTI_i9bFoqtqxp04BtVm7kl4aWw_.size = sizeof(tyTuple_JfHvHzMrhKkWAUvQKe0i1A);
NTI_i9bFoqtqxp04BtVm7kl4aWw_.kind = 18;
NTI_i9bFoqtqxp04BtVm7kl4aWw_.base = 0;
TM_BxyDeRCaUtiykBhMyyq9cqA_3_2[0] = &TM_BxyDeRCaUtiykBhMyyq9cqA_0[5];
TM_BxyDeRCaUtiykBhMyyq9cqA_0[5].kind = 1;
TM_BxyDeRCaUtiykBhMyyq9cqA_0[5].offset = offsetof(tyTuple_JfHvHzMrhKkWAUvQKe0i1A, Field0);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[5].typ = (&NTI_vr5DoT1jILTGdRlYv1OYpw_);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[5].name = "Field0";
TM_BxyDeRCaUtiykBhMyyq9cqA_3_2[1] = &TM_BxyDeRCaUtiykBhMyyq9cqA_0[6];
TM_BxyDeRCaUtiykBhMyyq9cqA_0[6].kind = 1;
TM_BxyDeRCaUtiykBhMyyq9cqA_0[6].offset = offsetof(tyTuple_JfHvHzMrhKkWAUvQKe0i1A, Field1);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[6].typ = (&NTI_HsJiUUcO9cHBdUCi0HwkSTA_);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[6].name = "Field1";
TM_BxyDeRCaUtiykBhMyyq9cqA_0[4].len = 2; TM_BxyDeRCaUtiykBhMyyq9cqA_0[4].kind = 2; TM_BxyDeRCaUtiykBhMyyq9cqA_0[4].sons = &TM_BxyDeRCaUtiykBhMyyq9cqA_3_2[0];
NTI_i9bFoqtqxp04BtVm7kl4aWw_.node = &TM_BxyDeRCaUtiykBhMyyq9cqA_0[4];
TM_BxyDeRCaUtiykBhMyyq9cqA_0[3].kind = 1;
TM_BxyDeRCaUtiykBhMyyq9cqA_0[3].offset = offsetof(tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg, processCmdLine);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[3].typ = (&NTI_i9bFoqtqxp04BtVm7kl4aWw_);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[3].name = "processCmdLine";
TM_BxyDeRCaUtiykBhMyyq9cqA_2_4[3] = &TM_BxyDeRCaUtiykBhMyyq9cqA_0[7];
NTI_8Pq7MMcEYdoHud6JxiCxig_.size = sizeof(tyTuple_JfHvHzMrhKkWAUvQKe0i1A);
NTI_8Pq7MMcEYdoHud6JxiCxig_.kind = 18;
NTI_8Pq7MMcEYdoHud6JxiCxig_.base = 0;
TM_BxyDeRCaUtiykBhMyyq9cqA_4_2[0] = &TM_BxyDeRCaUtiykBhMyyq9cqA_0[9];
TM_BxyDeRCaUtiykBhMyyq9cqA_0[9].kind = 1;
TM_BxyDeRCaUtiykBhMyyq9cqA_0[9].offset = offsetof(tyTuple_JfHvHzMrhKkWAUvQKe0i1A, Field0);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[9].typ = (&NTI_vr5DoT1jILTGdRlYv1OYpw_);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[9].name = "Field0";
TM_BxyDeRCaUtiykBhMyyq9cqA_4_2[1] = &TM_BxyDeRCaUtiykBhMyyq9cqA_0[10];
TM_BxyDeRCaUtiykBhMyyq9cqA_0[10].kind = 1;
TM_BxyDeRCaUtiykBhMyyq9cqA_0[10].offset = offsetof(tyTuple_JfHvHzMrhKkWAUvQKe0i1A, Field1);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[10].typ = (&NTI_HsJiUUcO9cHBdUCi0HwkSTA_);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[10].name = "Field1";
TM_BxyDeRCaUtiykBhMyyq9cqA_0[8].len = 2; TM_BxyDeRCaUtiykBhMyyq9cqA_0[8].kind = 2; TM_BxyDeRCaUtiykBhMyyq9cqA_0[8].sons = &TM_BxyDeRCaUtiykBhMyyq9cqA_4_2[0];
NTI_8Pq7MMcEYdoHud6JxiCxig_.node = &TM_BxyDeRCaUtiykBhMyyq9cqA_0[8];
TM_BxyDeRCaUtiykBhMyyq9cqA_0[7].kind = 1;
TM_BxyDeRCaUtiykBhMyyq9cqA_0[7].offset = offsetof(tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg, mainCommand);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[7].typ = (&NTI_8Pq7MMcEYdoHud6JxiCxig_);
TM_BxyDeRCaUtiykBhMyyq9cqA_0[7].name = "mainCommand";
TM_BxyDeRCaUtiykBhMyyq9cqA_0[0].len = 4; TM_BxyDeRCaUtiykBhMyyq9cqA_0[0].kind = 2; TM_BxyDeRCaUtiykBhMyyq9cqA_0[0].sons = &TM_BxyDeRCaUtiykBhMyyq9cqA_2_4[0];
NTI_bzPe2PlnnyJH4wKrjRuvwg_.node = &TM_BxyDeRCaUtiykBhMyyq9cqA_0[0];
NTI_oQuE3daAnIJJmmxLCZ80bA_.size = sizeof(tyObject_NimProgcolonObjectType__bzPe2PlnnyJH4wKrjRuvwg*);
NTI_oQuE3daAnIJJmmxLCZ80bA_.kind = 22;
NTI_oQuE3daAnIJJmmxLCZ80bA_.base = (&NTI_bzPe2PlnnyJH4wKrjRuvwg_);
NTI_oQuE3daAnIJJmmxLCZ80bA_.marker = Marker_tyRef_oQuE3daAnIJJmmxLCZ80bA;
}

