/* Generated by Nim Compiler v0.10.2 */
/*   (c) 2014 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_INTBITS 32
#include "nimbase.h"

#include <string.h>

#include <stdlib.h>
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tcell44733 tcell44733;
typedef struct TNimType TNimType;
typedef struct tcellseq44749 tcellseq44749;
typedef struct tgcheap46816 tgcheap46816;
typedef struct tcellset44745 tcellset44745;
typedef struct tpagedesc44741 tpagedesc44741;
typedef struct tmemregion27010 tmemregion27010;
typedef struct tsmallchunk26240 tsmallchunk26240;
typedef struct tllchunk27004 tllchunk27004;
typedef struct tbigchunk26242 tbigchunk26242;
typedef struct tintset26217 tintset26217;
typedef struct ttrunk26213 ttrunk26213;
typedef struct tavlnode27008 tavlnode27008;
typedef struct tgcstat46814 tgcstat46814;
typedef struct tinfoos175048 tinfoos175048;
typedef struct tinfocpu175463 tinfocpu175463;
typedef struct optparser208011 optparser208011;
typedef struct TNimObject TNimObject;
typedef struct TNimNode TNimNode;
typedef struct tlineinfo196539 tlineinfo196539;
typedef struct tlinkedlist129028 tlinkedlist129028;
typedef struct tlistentry129022 tlistentry129022;
typedef struct slice85779 slice85779;
typedef struct TY120608 TY120608;
typedef struct tbasechunk26238 tbasechunk26238;
typedef struct tfreecell26230 tfreecell26230;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  tcell44733  {
NI Refcount;
TNimType* Typ;
};
struct  tcellseq44749  {
NI Len;
NI Cap;
tcell44733** D;
};
struct  tcellset44745  {
NI Counter;
NI Max;
tpagedesc44741* Head;
tpagedesc44741** Data;
};
typedef tsmallchunk26240* TY27022[512];
typedef ttrunk26213* ttrunkbuckets26215[256];
struct  tintset26217  {
ttrunkbuckets26215 Data;
};
struct  tmemregion27010  {
NI Minlargeobj;
NI Maxlargeobj;
TY27022 Freesmallchunks;
tllchunk27004* Llmem;
NI Currmem;
NI Maxmem;
NI Freemem;
NI Lastsize;
tbigchunk26242* Freechunkslist;
tintset26217 Chunkstarts;
tavlnode27008* Root;
tavlnode27008* Deleted;
tavlnode27008* Last;
tavlnode27008* Freeavlnodes;
};
struct  tgcstat46814  {
NI Stackscans;
NI Cyclecollections;
NI Maxthreshold;
NI Maxstacksize;
NI Maxstackcells;
NI Cycletablesize;
NI64 Maxpause;
};
struct  tgcheap46816  {
void* Stackbottom;
NI Cyclethreshold;
tcellseq44749 Zct;
tcellseq44749 Decstack;
tcellset44745 Cycleroots;
tcellseq44749 Tempstack;
NI Recgclock;
tmemregion27010 Region;
tgcstat46814 Stat;
};
typedef NimStringDesc* TY209063[3];
struct tinfoos175048 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
NimStringDesc* Field3;
NimStringDesc* Field4;
NimStringDesc* Field5;
NimStringDesc* Field6;
NimStringDesc* Field7;
NimStringDesc* Field8;
NimStringDesc* Field9;
NimStringDesc* Field10;
NimStringDesc* Field11;
NU8 Field12;
};
typedef tinfoos175048 TY175070[23];
struct tinfocpu175463 {
NimStringDesc* Field0;
NI Field1;
NU8 Field2;
NI Field3;
NI Field4;
};
typedef tinfocpu175463 TY175481[14];
typedef N_NIMCALL_PTR(void, TY3089) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3094) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3089 marker;
TY3094 deepcopy;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  optparser208011  {
  TNimObject Sup;
NimStringDesc* Cmd;
NI Pos;
NIM_BOOL Inshortstate;
NU8 Kind;
NimStringDesc* Key;
NimStringDesc* Val;
};
struct  tlineinfo196539  {
NI16 Line;
NI16 Col;
NI32 Fileindex;
};
typedef NimStringDesc* TY210111[12];
struct  tlinkedlist129028  {
tlistentry129022* Head;
tlistentry129022* Tail;
NI Counter;
};
struct  slice85779  {
NI A;
NI B;
};
typedef NimStringDesc* TY196500[17];
typedef NimStringDesc* TY196495[29];
typedef NI TY26220[16];
struct  tpagedesc44741  {
tpagedesc44741* Next;
NI Key;
TY26220 Bits;
};
struct  tbasechunk26238  {
NI Prevsize;
NI Size;
NIM_BOOL Used;
};
struct  tsmallchunk26240  {
  tbasechunk26238 Sup;
tsmallchunk26240* Next;
tsmallchunk26240* Prev;
tfreecell26230* Freelist;
NI Free;
NI Acc;
NF Data;
};
struct  tllchunk27004  {
NI Size;
NI Acc;
tllchunk27004* Next;
};
struct  tbigchunk26242  {
  tbasechunk26238 Sup;
tbigchunk26242* Next;
tbigchunk26242* Prev;
NI Align;
NF Data;
};
struct  ttrunk26213  {
ttrunk26213* Next;
NI Key;
TY26220 Bits;
};
typedef tavlnode27008* TY27014[2];
struct  tavlnode27008  {
TY27014 Link;
NI Key;
NI Upperbound;
NI Level;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  tlistentry129022  {
  TNimObject Sup;
tlistentry129022* Prev;
tlistentry129022* Next;
};
struct  tfreecell26230  {
tfreecell26230* Next;
NI Zerofield;
};
struct TY120608 {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(tcell44733*, usrtocell_48446)(void* usr);
static N_INLINE(void, rtladdzct_50004)(tcell44733* c);
N_NOINLINE(void, addzct_48417)(tcellseq44749* s, tcell44733* c);
N_NIMCALL(void, msgwriteln_198236)(NimStringDesc* s);
N_NIMCALL(NimStringDesc*, getcommandlinedesc_209058)(void);
N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen0);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_NIMCALL(NI, nsuFindChar)(NimStringDesc* s, NIM_CHAR sub, NI start);
N_NIMCALL(NimStringDesc*, copyStrLast)(NimStringDesc* s, NI start_74628, NI last);
N_NIMCALL(NimStringDesc*, copyStrLast)(NimStringDesc* s, NI first, NI last);
N_NIMCALL(NimStringDesc*, copyStr)(NimStringDesc* s, NI start);
N_NIMCALL(NimStringDesc*, copyStr)(NimStringDesc* s, NI first);
static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c);
N_NIMCALL(void, processswitch_209040)(NimStringDesc* switch_209042, NimStringDesc* arg, NU8 pass, tlineinfo196539 info);
N_NIMCALL(NimStringDesc*, nsuNormalize)(NimStringDesc* s);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(NI, hashString)(NimStringDesc* s);
N_NIMCALL(void, expectarg_209334)(NimStringDesc* switch_209336, NimStringDesc* arg, NU8 pass, tlineinfo196539 info);
N_NIMCALL(void, localerror_198955)(tlineinfo196539 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(NimStringDesc*, addprefix_209146)(NimStringDesc* switch_209148);
N_NIMCALL(void, addpath_206012)(NimStringDesc* path, tlineinfo196539 info);
N_NIMCALL(NimStringDesc*, processpath_210103)(NimStringDesc* path, NIM_BOOL notrelativetoproj);
N_NIMCALL(NIM_BOOL, nosisAbsolute)(NimStringDesc* path);
N_NIMCALL(NIM_BOOL, contains_99245)(NimStringDesc* s, NIM_CHAR c);
N_NIMCALL(NimStringDesc*, HEX2F_116499)(NimStringDesc* head, NimStringDesc* tail);
N_NIMCALL(NimStringDesc*, nosunixToNativePath)(NimStringDesc* path, NimStringDesc* drive);
N_NIMCALL(NimStringDesc*, getprefixdir_170381)(void);
N_NIMCALL(NimStringDesc*, removetrailingdirsep_170418)(NimStringDesc* path);
N_NIMCALL(NimStringDesc*, nosgetHomeDir)(void);
N_NIMCALL(void, nimblepath_206372)(NimStringDesc* path, tlineinfo196539 info);
N_NIMCALL(void, expectnoarg_209346)(NimStringDesc* switch_209348, NimStringDesc* arg, NU8 pass, tlineinfo196539 info);
N_NIMCALL(void, excludepath_129807)(tlinkedlist129028* list, NimStringDesc* data);
static N_INLINE(NimStringDesc*, HEX5BHEX5D_85772)(NimStringDesc* s, slice85779 x);
static N_INLINE(slice85779, HEX2EHEX2E_94498)(NI a_94502, NI b_94504);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
N_NIMCALL(void, definesymbol_202009)(NimStringDesc* symbol);
N_NIMCALL(void, undefsymbol_202027)(NimStringDesc* symbol);
N_NIMCALL(void, declaresymbol_202018)(NimStringDesc* symbol);
N_NIMCALL(void, processcompile_209494)(NimStringDesc* filename);
N_NIMCALL(NimStringDesc*, findfile_171356)(NimStringDesc* f);
N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(void, addexternalfiletocompile_204399)(NimStringDesc* filename);
N_NIMCALL(void, addfiletolink_203897)(NimStringDesc* filename);
N_NIMCALL(NimStringDesc*, completecfilepath_203855)(NimStringDesc* cfile, NIM_BOOL createsubdir);
N_NIMCALL(void, processonoffswitch_209242)(NU32 op, NimStringDesc* arg, NU8 pass, tlineinfo196539 info);
N_NIMCALL(NU8, whichkeyword_205393)(NimStringDesc* id);
N_NIMCALL(void, processspecificnote_209358)(NimStringDesc* arg, NU8 state, NU8 pass, tlineinfo196539 info);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
N_NIMCALL(void, invalidcmdlineoption_209156)(NU8 pass, NimStringDesc* switch_209159, tlineinfo196539 info);
N_NIMCALL(NI, findstr_205342)(NimStringDesc** a, NI aLen0, NimStringDesc* s);
N_NIMCALL(void, processonoffswitchg_209288)(NU32 op, NimStringDesc* arg, NU8 pass, tlineinfo196539 info);
N_NIMCALL(void, addcompileoption_203809)(NimStringDesc* option);
N_NIMCALL(void, addlinkoption_203798)(NimStringDesc* option);
N_NIMCALL(TGenericSeq*, incrSeq)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(NU8, nametoos_175598)(NimStringDesc* name);
N_NIMCALL(void, settarget_175621)(NU8 o, NU8 c);
N_NIMCALL(void, initdefines_202146)(void);
N_NIMCALL(NU8, nametocpu_175604)(NimStringDesc* name);
N_NIMCALL(NI, nsuParseInt)(NimStringDesc* s);
N_NIMCALL(void, writeversioninfo_209111)(NU8 pass);
N_NIMCALL(void, writeadvancedusage_209089)(NU8 pass);
N_NIMCALL(void, helponerror_209071)(NU8 pass);
N_NIMCALL(void, splitswitch_209167)(NimStringDesc* switch_209169, NimStringDesc** cmd, NimStringDesc** arg, NU8 pass, tlineinfo196539 info);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_NIMCALL(void, putenv_121266)(NimStringDesc* key, NimStringDesc* val);
N_NIMCALL(void, setcc_203708)(NimStringDesc* ccname);
N_NIMCALL(void, track_210147)(NimStringDesc* arg, tlineinfo196539 info);
N_NIMCALL(TY120608*, nsuSplitChar)(NimStringDesc* s, NIM_CHAR sep);
N_NIMCALL(NI, npuParseInt)(NimStringDesc* s, NI* number, NI start);
static N_INLINE(tlineinfo196539, newlineinfo_197141)(NimStringDesc* filename, NI line, NI col);
N_NIMCALL(tlineinfo196539, newlineinfo_197129)(NI32 fileinfoidx, NI line, NI col);
N_NIMCALL(NI32, fileinfoidx_196747)(NimStringDesc* filename);
N_NIMCALL(void, addcheckpoint_198161)(tlineinfo196539 info);
N_NIMCALL(void, trackdirty_210119)(NimStringDesc* arg, tlineinfo196539 info);
N_NIMCALL(void, dynliboverride_210175)(NimStringDesc* switch_210177, NimStringDesc* arg, NU8 pass, tlineinfo196539 info);
N_NIMCALL(void, incldynliboverride_171481)(NimStringDesc* lib);
N_NIMCALL(void, setconfigvar_170360)(NimStringDesc* key, NimStringDesc* val);
N_NIMCALL(NimStringDesc*, npocmdLineRest)(optparser208011* p);
STRING_LITERAL(TMP721, "", 0);
STRING_LITERAL(TMP1566, "Nim Compiler Version $1 (2014-12-29) [$2: $3]\015\012Copyright (c) 20"
"06-2014 by Andreas Rumpf\015\012", 89);
STRING_LITERAL(TMP1567, "0.10.2", 6);
extern NIM_CONST TY175070 os_175069;
extern NIM_CONST TY175481 cpu_175480;
STRING_LITERAL(TMP1568, "::\012\012    nim command [options] [projectfile] [arguments]\012\012Comman"
"d:\012  compile, c                compile project with default code"
" generator (C)\012  doc                       generate the document"
"ation for inputfile\012  doc2                      generate the doc"
"umentation for the whole project\012  i                         sta"
"rt Nim in interactive mode (limited)\012\012Arguments:\012  arguments are"
" passed to the program being run (if --run option is selected)\012O"
"ptions:\012  -p, --path:PATH           add path to search paths\012  -"
"d, --define:SYMBOL       define a conditional symbol\012  -u, --und"
"ef:SYMBOL        undefine a conditional symbol\012  --symbol:SYMBOL"
"           declare a conditional symbol\012  -f, --forceBuild      "
"    force rebuilding of all modules\012  --stackTrace:on|off       "
"turn stack tracing on|off\012  --lineTrace:on|off        turn line "
"tracing on|off\012  --threads:on|off          turn support for mult"
"i-threading on|off\012  -x, --checks:on|off       turn all runtime "
"checks on|off\012  --objChecks:on|off        turn obj conversion ch"
"ecks on|off\012  --fieldChecks:on|off      turn case variant field "
"checks on|off\012  --rangeChecks:on|off      turn range checks on|o"
"ff\012  --boundChecks:on|off      turn bound checks on|off\012  --over"
"flowChecks:on|off   turn int over-/underflow checks on|off\012  -a,"
" --assertions:on|off   turn assertions on|off\012  --floatChecks:on"
"|off      turn all floating point (NaN/Inf) checks on|off\012  --na"
"nChecks:on|off        turn NaN checks on|off\012  --infChecks:on|of"
"f        turn Inf checks on|off\012  --deadCodeElim:on|off     whol"
"e program dead code elimination on|off\012  --opt:none|speed|size  "
"   optimize not at all or for speed|size\012  --app:console|gui|lib"
"|staticlib\012                            generate a console app|GU"
"I app|DLL|static library\012  -r, --run                 run the com"
"piled program with given arguments\012  --advanced                s"
"how advanced command line switches\012  -h, --help                s"
"how this help\012\012Note: Even single letter options require the colo"
"n: -p:PATH.\012", 1995);
STRING_LITERAL(TMP1578, "path", 4);
STRING_LITERAL(TMP1579, "p", 1);
STRING_LITERAL(TMP1580, "nimblepath", 10);
STRING_LITERAL(TMP1581, "babelpath", 9);
STRING_LITERAL(TMP1582, "nonimblepath", 12);
STRING_LITERAL(TMP1583, "nobabelpath", 11);
STRING_LITERAL(TMP1584, "excludepath", 11);
STRING_LITERAL(TMP1585, "nimcache", 8);
STRING_LITERAL(TMP1586, "out", 3);
STRING_LITERAL(TMP1587, "o", 1);
STRING_LITERAL(TMP1588, "docseesrcurl", 12);
STRING_LITERAL(TMP1589, "mainmodule", 10);
STRING_LITERAL(TMP1590, "m", 1);
STRING_LITERAL(TMP1591, "define", 6);
STRING_LITERAL(TMP1592, "d", 1);
STRING_LITERAL(TMP1593, "undef", 5);
STRING_LITERAL(TMP1594, "u", 1);
STRING_LITERAL(TMP1595, "symbol", 6);
STRING_LITERAL(TMP1596, "compile", 7);
STRING_LITERAL(TMP1597, "link", 4);
STRING_LITERAL(TMP1598, "debuginfo", 9);
STRING_LITERAL(TMP1599, "embedsrc", 8);
STRING_LITERAL(TMP1600, "compileonly", 11);
STRING_LITERAL(TMP1601, "c", 1);
STRING_LITERAL(TMP1602, "nolinking", 9);
STRING_LITERAL(TMP1603, "nomain", 6);
STRING_LITERAL(TMP1604, "forcebuild", 10);
STRING_LITERAL(TMP1605, "f", 1);
STRING_LITERAL(TMP1606, "project", 7);
STRING_LITERAL(TMP1607, "gc", 2);
STRING_LITERAL(TMP1608, "warnings", 8);
STRING_LITERAL(TMP1609, "w", 1);
STRING_LITERAL(TMP1610, "warning", 7);
STRING_LITERAL(TMP1611, "hint", 4);
STRING_LITERAL(TMP1612, "hints", 5);
STRING_LITERAL(TMP1613, "threadanalysis", 14);
STRING_LITERAL(TMP1614, "stacktrace", 10);
STRING_LITERAL(TMP1615, "linetrace", 9);
STRING_LITERAL(TMP1616, "debugger", 8);
STRING_LITERAL(TMP1617, "profiler", 8);
STRING_LITERAL(TMP1618, "checks", 6);
STRING_LITERAL(TMP1619, "x", 1);
STRING_LITERAL(TMP1620, "floatchecks", 11);
STRING_LITERAL(TMP1621, "infchecks", 9);
STRING_LITERAL(TMP1622, "nanchecks", 9);
STRING_LITERAL(TMP1623, "objchecks", 9);
STRING_LITERAL(TMP1624, "fieldchecks", 11);
STRING_LITERAL(TMP1625, "rangechecks", 11);
STRING_LITERAL(TMP1626, "boundchecks", 11);
STRING_LITERAL(TMP1627, "overflowchecks", 14);
STRING_LITERAL(TMP1628, "linedir", 7);
STRING_LITERAL(TMP1629, "assertions", 10);
STRING_LITERAL(TMP1630, "a", 1);
STRING_LITERAL(TMP1631, "deadcodeelim", 12);
STRING_LITERAL(TMP1632, "threads", 7);
STRING_LITERAL(TMP1633, "tlsemulation", 12);
STRING_LITERAL(TMP1634, "taintmode", 9);
STRING_LITERAL(TMP1635, "implicitstatic", 14);
STRING_LITERAL(TMP1636, "patterns", 8);
STRING_LITERAL(TMP1637, "opt", 3);
STRING_LITERAL(TMP1638, "app", 3);
STRING_LITERAL(TMP1639, "passc", 5);
STRING_LITERAL(TMP1640, "t", 1);
STRING_LITERAL(TMP1641, "passl", 5);
STRING_LITERAL(TMP1642, "l", 1);
STRING_LITERAL(TMP1643, "cincludes", 9);
STRING_LITERAL(TMP1644, "clibdir", 7);
STRING_LITERAL(TMP1645, "clib", 4);
STRING_LITERAL(TMP1646, "header", 6);
STRING_LITERAL(TMP1647, "index", 5);
STRING_LITERAL(TMP1648, "import", 6);
STRING_LITERAL(TMP1649, "include", 7);
STRING_LITERAL(TMP1650, "listcmd", 7);
STRING_LITERAL(TMP1651, "genmapping", 10);
STRING_LITERAL(TMP1652, "os", 2);
STRING_LITERAL(TMP1653, "cpu", 3);
STRING_LITERAL(TMP1654, "run", 3);
STRING_LITERAL(TMP1655, "r", 1);
STRING_LITERAL(TMP1656, "verbosity", 9);
STRING_LITERAL(TMP1657, "parallelbuild", 13);
STRING_LITERAL(TMP1658, "version", 7);
STRING_LITERAL(TMP1659, "v", 1);
STRING_LITERAL(TMP1660, "advanced", 8);
STRING_LITERAL(TMP1661, "help", 4);
STRING_LITERAL(TMP1662, "h", 1);
STRING_LITERAL(TMP1663, "symbolfiles", 11);
STRING_LITERAL(TMP1664, "skipcfg", 7);
STRING_LITERAL(TMP1665, "skipprojcfg", 11);
STRING_LITERAL(TMP1666, "skipusercfg", 11);
STRING_LITERAL(TMP1667, "skipparentcfg", 13);
STRING_LITERAL(TMP1668, "genscript", 9);
STRING_LITERAL(TMP1669, "lib", 3);
STRING_LITERAL(TMP1670, "putenv", 6);
STRING_LITERAL(TMP1671, "cc", 2);
STRING_LITERAL(TMP1672, "track", 5);
STRING_LITERAL(TMP1673, "trackdirty", 10);
STRING_LITERAL(TMP1674, "suggest", 7);
STRING_LITERAL(TMP1675, "def", 3);
STRING_LITERAL(TMP1676, "eval", 4);
STRING_LITERAL(TMP1677, "context", 7);
STRING_LITERAL(TMP1678, "usages", 6);
STRING_LITERAL(TMP1679, "stdout", 6);
STRING_LITERAL(TMP1680, "listfullpaths", 13);
STRING_LITERAL(TMP1681, "dynliboverride", 14);
STRING_LITERAL(TMP1682, "cs", 2);
STRING_LITERAL(TMP1683, "experimental", 12);
STRING_LITERAL(TMP1684, "-", 1);
STRING_LITERAL(TMP1685, "--", 2);
STRING_LITERAL(TMP1691, "nimrod", 6);
STRING_LITERAL(TMP1692, "nim", 3);
STRING_LITERAL(TMP1693, "home", 4);
STRING_LITERAL(TMP1695, "projectname", 11);
STRING_LITERAL(TMP1696, "projectpath", 11);
STRING_LITERAL(TMP1816, "boehm", 5);
STRING_LITERAL(TMP1817, "refc", 4);
STRING_LITERAL(TMP1818, "v2", 2);
STRING_LITERAL(TMP1819, "markandsweep", 12);
STRING_LITERAL(TMP1820, "generational", 12);
STRING_LITERAL(TMP1821, "none", 4);
STRING_LITERAL(TMP1822, "boehmgc", 7);
STRING_LITERAL(TMP1823, "gcmarkandsweep", 14);
STRING_LITERAL(TMP1824, "gcgenerational", 14);
STRING_LITERAL(TMP1825, "nogc", 4);
STRING_LITERAL(TMP1826, " ", 1);
STRING_LITERAL(TMP1828, "Success", 7);
STRING_LITERAL(TMP1829, "SuccessX", 8);
STRING_LITERAL(TMP1830, "LineTooLong", 11);
STRING_LITERAL(TMP1831, "XDeclaredButNotUsed", 19);
STRING_LITERAL(TMP1832, "ConvToBaseNotNeeded", 19);
STRING_LITERAL(TMP1833, "ConvFromXtoItselfNotNeeded", 26);
STRING_LITERAL(TMP1834, "ExprAlwaysX", 11);
STRING_LITERAL(TMP1835, "QuitCalled", 10);
STRING_LITERAL(TMP1836, "Processing", 10);
STRING_LITERAL(TMP1837, "CodeBegin", 9);
STRING_LITERAL(TMP1838, "CodeEnd", 7);
STRING_LITERAL(TMP1839, "Conf", 4);
STRING_LITERAL(TMP1840, "Path", 4);
STRING_LITERAL(TMP1841, "CondTrue", 8);
STRING_LITERAL(TMP1842, "Name", 4);
STRING_LITERAL(TMP1843, "Pattern", 7);
STRING_LITERAL(TMP1844, "User", 4);
NIM_CONST TY196500 TMP1827 = {((NimStringDesc*) &TMP1828),
((NimStringDesc*) &TMP1829),
((NimStringDesc*) &TMP1830),
((NimStringDesc*) &TMP1831),
((NimStringDesc*) &TMP1832),
((NimStringDesc*) &TMP1833),
((NimStringDesc*) &TMP1834),
((NimStringDesc*) &TMP1835),
((NimStringDesc*) &TMP1836),
((NimStringDesc*) &TMP1837),
((NimStringDesc*) &TMP1838),
((NimStringDesc*) &TMP1839),
((NimStringDesc*) &TMP1840),
((NimStringDesc*) &TMP1841),
((NimStringDesc*) &TMP1842),
((NimStringDesc*) &TMP1843),
((NimStringDesc*) &TMP1844)}
;
STRING_LITERAL(TMP1846, "CannotOpenFile", 14);
STRING_LITERAL(TMP1847, "OctalEscape", 11);
STRING_LITERAL(TMP1848, "XIsNeverRead", 12);
STRING_LITERAL(TMP1849, "XmightNotBeenInit", 17);
STRING_LITERAL(TMP1850, "Deprecated", 10);
STRING_LITERAL(TMP1851, "ConfigDeprecated", 16);
STRING_LITERAL(TMP1852, "SmallLshouldNotBeUsed", 21);
STRING_LITERAL(TMP1853, "UnknownMagic", 12);
STRING_LITERAL(TMP1854, "RedefinitionOfLabel", 19);
STRING_LITERAL(TMP1855, "UnknownSubstitutionX", 20);
STRING_LITERAL(TMP1856, "LanguageXNotSupported", 21);
STRING_LITERAL(TMP1857, "FieldXNotSupported", 18);
STRING_LITERAL(TMP1858, "CommentXIgnored", 15);
STRING_LITERAL(TMP1859, "NilStmt", 7);
STRING_LITERAL(TMP1860, "AnalysisLoophole", 16);
STRING_LITERAL(TMP1861, "DifferentHeaps", 14);
STRING_LITERAL(TMP1862, "WriteToForeignHeap", 18);
STRING_LITERAL(TMP1863, "UnsafeCode", 10);
STRING_LITERAL(TMP1864, "EachIdentIsTuple", 16);
STRING_LITERAL(TMP1865, "ShadowIdent", 11);
STRING_LITERAL(TMP1866, "ProveInit", 9);
STRING_LITERAL(TMP1867, "ProveField", 10);
STRING_LITERAL(TMP1868, "ProveIndex", 10);
STRING_LITERAL(TMP1869, "GcUnsafe", 8);
STRING_LITERAL(TMP1870, "GcUnsafe2", 9);
STRING_LITERAL(TMP1871, "Uninit", 6);
STRING_LITERAL(TMP1872, "GcMem", 5);
STRING_LITERAL(TMP1873, "LockLevel", 9);
NIM_CONST TY196495 TMP1845 = {((NimStringDesc*) &TMP1846),
((NimStringDesc*) &TMP1847),
((NimStringDesc*) &TMP1848),
((NimStringDesc*) &TMP1849),
((NimStringDesc*) &TMP1850),
((NimStringDesc*) &TMP1851),
((NimStringDesc*) &TMP1852),
((NimStringDesc*) &TMP1853),
((NimStringDesc*) &TMP1854),
((NimStringDesc*) &TMP1855),
((NimStringDesc*) &TMP1856),
((NimStringDesc*) &TMP1857),
((NimStringDesc*) &TMP1858),
((NimStringDesc*) &TMP1859),
((NimStringDesc*) &TMP1860),
((NimStringDesc*) &TMP1861),
((NimStringDesc*) &TMP1862),
((NimStringDesc*) &TMP1863),
((NimStringDesc*) &TMP1864),
((NimStringDesc*) &TMP1865),
((NimStringDesc*) &TMP1866),
((NimStringDesc*) &TMP1867),
((NimStringDesc*) &TMP1868),
((NimStringDesc*) &TMP1869),
((NimStringDesc*) &TMP1870),
((NimStringDesc*) &TMP1871),
((NimStringDesc*) &TMP1872),
((NimStringDesc*) &TMP1873),
((NimStringDesc*) &TMP1844)}
;
STRING_LITERAL(TMP1874, "endb", 4);
STRING_LITERAL(TMP1875, "speed", 5);
STRING_LITERAL(TMP1876, "size", 4);
STRING_LITERAL(TMP1877, "gui", 3);
STRING_LITERAL(TMP1878, "console", 7);
STRING_LITERAL(TMP1879, "staticlib", 9);
STRING_LITERAL(TMP1880, "executable", 10);
STRING_LITERAL(TMP1881, "guiapp", 6);
STRING_LITERAL(TMP1882, "consoleapp", 10);
STRING_LITERAL(TMP1883, "library", 7);
STRING_LITERAL(TMP1884, "dll", 3);
STRING_LITERAL(TMP1885, "active boot switches: -d:release", 32);
STRING_LITERAL(TMP1886, "Advanced commands:\012  compileToC, cc          compile project wi"
"th C code generator\012  compileToCpp, cpp       compile project to"
" C++ code\012  compileToOC, objc       compile project to Objective"
" C code\012  js                      compile project to Javascript\012"
"  rst2html                convert a reStructuredText file to HTM"
"L\012  rst2tex                 convert a reStructuredText file to T"
"eX\012  jsondoc                 extract the documentation to a json"
" file\012  buildIndex              build an index for the whole doc"
"umentation\012  run                     run the project (with Tiny "
"C backend; buggy!)\012  genDepend               generate a DOT file"
" containing the\012                            module dependency gr"
"aph\012  dump                    dump all defined conditionals and "
"search paths\012  check                   checks the project for sy"
"ntax and semantic\012  idetools                compiler support for"
" IDEs: possible options:\012    --track:FILE,LINE,COL   track a fil"
"e/cursor position\012    --trackDirty:DIRTY_FILE,ORIG_FILE,LINE,COL"
"\012                            track a file, currently not saved t"
"o disk\012    --suggest               suggest all possible symbols "
"at position\012    --def                   list all possible defini"
"tions at position\012    --context               list possible invo"
"kation context\012    --usages                list all usages of th"
"e symbol at position\012    --eval                  evaluates an ex"
"pression\012  serve                   start the compiler as a servi"
"ce mode (CAAS)\012    --server.type:TYPE      either stdin or tcp\012 "
"   --server.port:PORT      port for tcp mode, by default 6000\012  "
"  --server.address:HOST   binds to that address, by default \"\"\012\012"
"Advanced options:\012  -o, --out:FILE            set the output fil"
"ename\012  --stdout                  output to stdout\012  --listFullP"
"aths           list full paths in messages\012  -w, --warnings:on|o"
"ff     turn all warnings on|off\012  --warning[X]:on|off       turn"
" specific warning X on|off\012  --hints:on|off            turn all "
"hints on|off\012  --hint[X]:on|off          turn specific hint X on"
"|off\012  --lib:PATH                set the system library path\012  -"
"-import:PATH             add an automatically imported module\012  "
"--include:PATH            add an automatically included module\012 "
" --nimcache:PATH           set the path used for generated files"
"\012  --header:FILE             the compiler should produce a .h fi"
"le (FILE\012                            is optional)\012  -c, --compil"
"eOnly         compile only; do not assemble or link\012  --noLinkin"
"g               compile but do not link\012  --noMain              "
"    do not generate a main procedure\012  --genScript              "
" generate a compile script (in the \'nimcache\'\012                  "
"          subdirectory named \'compile_$project$scriptext\')\012  --o"
"s:SYMBOL               set the target operating system (cross-co"
"mpilation)\012  --cpu:SYMBOL              set the target processor "
"(cross-compilation)\012  --debuginfo               enables debug in"
"formation\012  --debugger:on|off         turn Embedded Nim Debugger"
" on|off\012  -t, --passC:OPTION        pass an option to the C comp"
"iler\012  -l, --passL:OPTION        pass an option to the linker\012  "
"--cincludes:DIR           modify the C compiler header search pa"
"th\012  --clibdir:DIR             modify the linker library search "
"path\012  --clib:LIBNAME            link an additional C library\012  "
"                          (you should omit platform-specific ext"
"ensions)\012  --genMapping              generate a mapping file con"
"taining\012                            (Nim, mangled) identifier pa"
"irs\012  --project                 document the whole project (doc2"
")\012  --docSeeSrcUrl:url        activate \'see source\' for doc and "
"doc2 commands\012                            (see doc.item.seesrc i"
"n config/nimdoc.cfg)\012  --lineDir:on|off          generation of #"
"line directive on|off\012  --embedsrc                embeds the ori"
"ginal source code as comments\012                            in the"
" generated output\012  --threadanalysis:on|off   turn thread analys"
"is on|off\012  --tlsEmulation:on|off     turn thread local storage "
"emulation on|off\012  --taintMode:on|off        turn taint mode on|"
"off\012  --symbolFiles:on|off      turn symbol files on|off (experi"
"mental)\012  --implicitStatic:on|off   turn implicit compile time e"
"valuation on|off\012  --patterns:on|off         turn pattern matchi"
"ng on|off\012  --skipCfg                 do not read the general co"
"nfiguration file\012  --skipUserCfg             do not read the use"
"r\'s configuration file\012  --skipParentCfg           do not read t"
"he parent dirs\' configuration files\012  --skipProjCfg             "
"do not read the project\'s configuration file\012  --gc:refc|v2|mark"
"AndSweep|boehm|none\012                            select the GC to"
" use; default is \'refc\'\012  --index:on|off            turn index f"
"ile generation on|off\012  --putenv:key=value        set an environ"
"ment variable\012  --NimblePath:PATH         add a path for Nimble "
"support\012  --noNimblePath            deactivate the Nimble path\012 "
" --excludePath:PATH        exclude a path from the list of searc"
"h paths\012  --dynlibOverride:SYMBOL   marks SYMBOL so that dynlib:"
"SYMBOL\012                            has no effect and can be stat"
"ically linked instead;\012                            symbol matchi"
"ng is fuzzy so\012                            that --dynlibOverride"
":lua matches \012                            dynlib: \"liblua.so.3\"\012"
"  --listCmd                 list the commands used to execute ex"
"ternal programs\012  --parallelBuild=0|1|...   perform a parallel b"
"uild\012                            value = number of processors (0"
" for auto-detect)\012  --verbosity:0|1|2|3       set Nim\'s verbosit"
"y level (1 is default)\012  --cs:none|partial         set case sens"
"itivity level (default: none);\012                            do no"
"t use! this setting affects the whole language\012  --experimental "
"           enable experimental language features\012  -v, --version"
"             show detailed version information\012", 5870);
STRING_LITERAL(TMP1890, "FILE,LINE,COLUMN", 16);
STRING_LITERAL(TMP1891, "DIRTY_BUFFER,ORIGINAL_FILE,LINE,COLUMN", 38);
STRING_LITERAL(TMP1895, "partial", 7);
STRING_LITERAL(TMP1896, "\'partial\' or \'none\' expected, but found ", 40);
NIM_BOOL helpwritten_209133;
NimStringDesc* arguments_211144;
extern tgcheap46816 gch_46844;
extern NU8 hostos_175590;
extern NU8 hostcpu_175588;
extern NimStringDesc* gprojectpath_170235;
extern NimStringDesc* libpath_170233;
extern NimStringDesc* gprojectname_170234;
extern NIM_BOOL gnonimblepath_170136;
extern tlinkedlist129028 searchpaths_170122;
extern tlinkedlist129028 lazypaths_170123;
extern NimStringDesc* nimcachedir_170238;
extern NimStringDesc* outfile_170124;
extern NimStringDesc* docseesrcurl_170125;
extern NU32 gglobaloptions_170118;
extern NIM_BOOL gwholeproject_170129;
extern NU8 gselectedgc_170121;
extern NU32 goptions_170116;
extern NU64 gnotes_197305;
extern TY120608* cincludes_203484;
extern TY120608* clibs_203506;
extern TY120608* clinkedlibs_203528;
extern NimStringDesc* headerfile_170126;
extern TY120608* implicitimports_170284;
extern TY120608* implicitincludes_170306;
extern NU8 targetcpu_175587;
extern NU8 targetos_175589;
extern NI gverbosity_170127;
extern NI gnumberofprocessors_170128;
extern tlineinfo196539 opttrackpos_198156;
extern NI32 gdirtybufferidx_170134;
extern NI32 gdirtyoriginalidx_170135;
extern NimStringDesc* gevalexpr_170130;
extern NIM_BOOL glistfullpaths_170132;
extern NIM_BOOL firstchariscs_201029;
extern NIM_BOOL gexperimentalmode_170137;
extern tlineinfo196539 gcmdlineinfo_197192;
extern NimStringDesc* command_170239;
extern TY120608* commandargs_170261;

static N_INLINE(tcell44733*, usrtocell_48446)(void* usr) {
	tcell44733* result;
	result = 0;
	result = ((tcell44733*) ((NI)((NU32)(((NI) (usr))) - (NU32)(((NI)sizeof(tcell44733))))));
	return result;
}

static N_INLINE(void, rtladdzct_50004)(tcell44733* c) {
	addzct_48417((&gch_46844.Zct), c);
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	tcell44733* c;
	c = usrtocell_48446(p);
	{
		(*c).Refcount -= 8;
		if (!((NU32)((*c).Refcount) < (NU32)(8))) goto LA3;
		rtladdzct_50004(c);
	}
	LA3: ;
}

static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
	memcpy(((NCSTRING) ((&(*dest).data[((*dest).Sup.len)- 0]))), ((NCSTRING) ((*src).data)), (NI32)((*src).Sup.len + 1));
	(*dest).Sup.len += (*src).Sup.len;
}

N_NIMCALL(NimStringDesc*, getcommandlinedesc_209058)(void) {
	NimStringDesc* result;
	NimStringDesc* LOC1;
	TY209063 LOC2;
	NimStringDesc* LOC3;
	result = 0;
	LOC1 = 0;
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC2[0] = copyString(((NimStringDesc*) &TMP1567));
	LOC2[1] = copyString(os_175069[(hostos_175590)- 1].Field0);
	LOC2[2] = copyString(cpu_175480[(hostcpu_175588)- 1].Field0);
	LOC3 = 0;
	LOC3 = nsuFormatOpenArray(((NimStringDesc*) &TMP1566), LOC2, 3);
	LOC1 = rawNewString(LOC3->Sup.len + 1995);
appendString(LOC1, LOC3);
appendString(LOC1, ((NimStringDesc*) &TMP1568));
	result = LOC1;
	return result;
}

N_NIMCALL(void, writecommandlineusage_209020)(void) {
	{
		NimStringDesc* LOC5;
		if (!!(helpwritten_209133)) goto LA3;
		LOC5 = 0;
		LOC5 = getcommandlinedesc_209058();
		msgwriteln_198236(LOC5);
		helpwritten_209133 = NIM_TRUE;
	}
	LA3: ;
}

static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c) {
	(*dest).data[((*dest).Sup.len)- 0] = c;
	(*dest).data[((NI32)((*dest).Sup.len + 1))- 0] = 0;
	(*dest).Sup.len += 1;
}

static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	NIM_BOOL LOC11;
	int LOC13;
	result = 0;
	{
		if (!(a == b)) goto LA3;
		result = NIM_TRUE;
		goto BeforeRet;
	}
	LA3: ;
	{
		NIM_BOOL LOC7;
		LOC7 = 0;
		LOC7 = (a == NIM_NIL);
		if (LOC7) goto LA8;
		LOC7 = (b == NIM_NIL);
		LA8: ;
		if (!LOC7) goto LA9;
		result = NIM_FALSE;
		goto BeforeRet;
	}
	LA9: ;
	LOC11 = 0;
	LOC11 = ((*a).Sup.len == (*b).Sup.len);
	if (!(LOC11)) goto LA12;
	LOC13 = 0;
	LOC13 = memcmp(((NCSTRING) ((*a).data)), ((NCSTRING) ((*b).data)), (NI32)((*a).Sup.len * 1));
	LOC11 = (LOC13 == ((NI32) 0));
	LA12: ;
	result = LOC11;
	goto BeforeRet;
	BeforeRet: ;
	return result;
}

N_NIMCALL(NimStringDesc*, addprefix_209146)(NimStringDesc* switch_209148) {
	NimStringDesc* result;
	result = 0;
	{
		NimStringDesc* LOC5;
		if (!(switch_209148->Sup.len == 1)) goto LA3;
		LOC5 = 0;
		LOC5 = rawNewString(switch_209148->Sup.len + 1);
appendString(LOC5, ((NimStringDesc*) &TMP1684));
appendString(LOC5, switch_209148);
		result = LOC5;
	}
	goto LA1;
	LA3: ;
	{
		NimStringDesc* LOC7;
		LOC7 = 0;
		LOC7 = rawNewString(switch_209148->Sup.len + 2);
appendString(LOC7, ((NimStringDesc*) &TMP1685));
appendString(LOC7, switch_209148);
		result = LOC7;
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, expectarg_209334)(NimStringDesc* switch_209336, NimStringDesc* arg, NU8 pass, tlineinfo196539 info) {
	{
		NimStringDesc* LOC5;
		if (!((arg) && (arg)->Sup.len == 0)) goto LA3;
		LOC5 = 0;
		LOC5 = addprefix_209146(switch_209336);
		localerror_198955(info, ((NU16) 45), LOC5);
	}
	LA3: ;
}

N_NIMCALL(NimStringDesc*, processpath_210103)(NimStringDesc* path, NIM_BOOL notrelativetoproj) {
	NimStringDesc* result;
	NimStringDesc* p;
	TY210111 LOC12;
	NimStringDesc* LOC13;
	NimStringDesc* LOC14;
	result = 0;
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		NIM_BOOL LOC5;
		LOC3 = 0;
		LOC4 = 0;
		LOC5 = 0;
		LOC5 = notrelativetoproj;
		if (LOC5) goto LA6;
		LOC5 = nosisAbsolute(path);
		LA6: ;
		LOC4 = LOC5;
		if (LOC4) goto LA7;
		LOC4 = contains_99245(path, 36);
		LA7: ;
		LOC3 = LOC4;
		if (LOC3) goto LA8;
		LOC3 = ((NU8)(path->data[0]) == (NU8)(46));
		LA8: ;
		if (!LOC3) goto LA9;
		p = path;
	}
	goto LA1;
	LA9: ;
	{
		p = HEX2F_116499(gprojectpath_170235, path);
	}
	LA1: ;
	memset((void*)LOC12, 0, sizeof(LOC12));
	LOC12[0] = copyString(((NimStringDesc*) &TMP1691));
	LOC12[1] = getprefixdir_170381();
	LOC12[2] = copyString(((NimStringDesc*) &TMP1692));
	LOC12[3] = getprefixdir_170381();
	LOC12[4] = copyString(((NimStringDesc*) &TMP1669));
	LOC12[5] = copyString(libpath_170233);
	LOC12[6] = copyString(((NimStringDesc*) &TMP1693));
	LOC13 = 0;
	LOC13 = nosgetHomeDir();
	LOC12[7] = removetrailingdirsep_170418(LOC13);
	LOC12[8] = copyString(((NimStringDesc*) &TMP1695));
	LOC12[9] = copyString(gprojectname_170234);
	LOC12[10] = copyString(((NimStringDesc*) &TMP1696));
	LOC12[11] = copyString(gprojectpath_170235);
	LOC14 = 0;
	LOC14 = nsuFormatOpenArray(p, LOC12, 12);
	result = nosunixToNativePath(LOC14, ((NimStringDesc*) &TMP721));
	return result;
}

N_NIMCALL(void, expectnoarg_209346)(NimStringDesc* switch_209348, NimStringDesc* arg, NU8 pass, tlineinfo196539 info) {
	{
		NimStringDesc* LOC5;
		if (!!(((arg) && (arg)->Sup.len == 0))) goto LA3;
		LOC5 = 0;
		LOC5 = addprefix_209146(switch_209348);
		localerror_198955(info, ((NU16) 46), LOC5);
	}
	LA3: ;
}

static N_INLINE(NimStringDesc*, HEX5BHEX5D_85772)(NimStringDesc* s, slice85779 x) {
	NimStringDesc* result;
	NI LOC1;
	NI LOC7;
	result = 0;
	LOC1 = 0;
	{
		if (!(0 <= x.A)) goto LA4;
		LOC1 = x.A;
	}
	goto LA2;
	LA4: ;
	{
		LOC1 = (NI32)(s->Sup.len + x.A);
	}
	LA2: ;
	LOC7 = 0;
	{
		if (!(0 <= x.B)) goto LA10;
		LOC7 = x.B;
	}
	goto LA8;
	LA10: ;
	{
		LOC7 = (NI32)(s->Sup.len + x.B);
	}
	LA8: ;
	result = copyStrLast(s, LOC1, LOC7);
	return result;
}

static N_INLINE(slice85779, HEX2EHEX2E_94498)(NI a_94502, NI b_94504) {
	slice85779 result;
	memset((void*)(&result), 0, sizeof(result));
	result.A = a_94502;
	result.B = b_94504;
	return result;
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		tcell44733* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_48446(src);
		(*c).Refcount += 8;
	}
	LA3: ;
	{
		tcell44733* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_48446((*dest));
		{
			(*c).Refcount -= 8;
			if (!((NU32)((*c).Refcount) < (NU32)(8))) goto LA11;
			rtladdzct_50004(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

N_NIMCALL(void, processcompile_209494)(NimStringDesc* filename) {
	NimStringDesc* found;
	NimStringDesc* trunc;
	NimStringDesc* LOC5;
	found = findfile_171356(filename);
	{
		if (!((found) && (found)->Sup.len == 0)) goto LA3;
		found = copyString(filename);
	}
	LA3: ;
	trunc = noschangeFileExt(found, ((NimStringDesc*) &TMP721));
	addexternalfiletocompile_204399(found);
	LOC5 = 0;
	LOC5 = completecfilepath_203855(trunc, NIM_FALSE);
	addfiletolink_203897(LOC5);
}

N_NIMCALL(void, processonoffswitch_209242)(NU32 op, NimStringDesc* arg, NU8 pass, tlineinfo196539 info) {
	NU8 LOC1;
	LOC1 = 0;
	LOC1 = whichkeyword_205393(arg);
	switch (LOC1) {
	case ((NU8) 137):
	{
		goptions_170116 = (goptions_170116 | op);
	}
	break;
	case ((NU8) 138):
	{
		goptions_170116 = (goptions_170116 & ~ op);
	}
	break;
	default:
	{
		localerror_198955(info, ((NU16) 50), arg);
	}
	break;
	}
}

N_NIMCALL(void, invalidcmdlineoption_209156)(NU8 pass, NimStringDesc* switch_209159, tlineinfo196539 info) {
	{
		if (!eqStrings(switch_209159, ((NimStringDesc*) &TMP1826))) goto LA3;
		localerror_198955(info, ((NU16) 44), ((NimStringDesc*) &TMP1684));
	}
	goto LA1;
	LA3: ;
	{
		NimStringDesc* LOC6;
		LOC6 = 0;
		LOC6 = addprefix_209146(switch_209159);
		localerror_198955(info, ((NU16) 44), LOC6);
	}
	LA1: ;
}

N_NIMCALL(void, processspecificnote_209358)(NimStringDesc* arg, NU8 state, NU8 pass, tlineinfo196539 info) {
	NimStringDesc* id;
	NI i;
	NU16 n;
	NimStringDesc* LOC34;
	NU8 LOC35;
	id = copyString(((NimStringDesc*) &TMP721));
	i = 0;
	n = ((NU16) 259);
	{
		while (1) {
			NIM_BOOL LOC3;
			LOC3 = 0;
			LOC3 = (i < arg->Sup.len);
			if (!(LOC3)) goto LA4;
			LOC3 = !(((NU8)(arg->data[i]) == (NU8)(93)));
			LA4: ;
			if (!LOC3) goto LA2;
			id = addChar(id, arg->data[i]);
			i += 1;
		} LA2: ;
	}
	{
		NIM_BOOL LOC7;
		LOC7 = 0;
		LOC7 = (i < arg->Sup.len);
		if (!(LOC7)) goto LA8;
		LOC7 = ((NU8)(arg->data[i]) == (NU8)(93));
		LA8: ;
		if (!LOC7) goto LA9;
		i += 1;
	}
	goto LA5;
	LA9: ;
	{
		invalidcmdlineoption_209156(pass, arg, info);
	}
	LA5: ;
	{
		NIM_BOOL LOC14;
		LOC14 = 0;
		LOC14 = (i < arg->Sup.len);
		if (!(LOC14)) goto LA15;
		LOC14 = (((NU8)(arg->data[i])) == ((NU8)(58)) || ((NU8)(arg->data[i])) == ((NU8)(61)));
		LA15: ;
		if (!LOC14) goto LA16;
		i += 1;
	}
	goto LA12;
	LA16: ;
	{
		invalidcmdlineoption_209156(pass, arg, info);
	}
	LA12: ;
	{
		NI x;
		if (!(state == ((NU8) 110))) goto LA21;
		x = findstr_205342(TMP1827, 17, id);
		{
			if (!(0 <= x)) goto LA25;
			n = ((NU16) (((NU16) ((NI32)(x + 259)))));
		}
		goto LA23;
		LA25: ;
		{
			invalidcmdlineoption_209156(pass, arg, info);
		}
		LA23: ;
	}
	goto LA19;
	LA21: ;
	{
		NI x;
		x = findstr_205342(TMP1845, 29, id);
		{
			if (!(0 <= x)) goto LA31;
			n = ((NU16) (((NU16) ((NI32)(x + 230)))));
		}
		goto LA29;
		LA31: ;
		{
			invalidcmdlineoption_209156(pass, arg, info);
		}
		LA29: ;
	}
	LA19: ;
	LOC34 = 0;
	LOC34 = copyStr(arg, i);
	LOC35 = 0;
	LOC35 = whichkeyword_205393(LOC34);
	switch (LOC35) {
	case ((NU8) 137):
	{
		gnotes_197305 |= ((NI64)1)<<(((((NU16) (n))- 230))%(sizeof(NI64)*8));
	}
	break;
	case ((NU8) 138):
	{
		gnotes_197305 &= ~(((NI64)1) << (((((NU16) (n))- 230)) % (sizeof(NI64)*8)));
	}
	break;
	default:
	{
		localerror_198955(info, ((NU16) 50), arg);
	}
	break;
	}
}

N_NIMCALL(void, processonoffswitchg_209288)(NU32 op, NimStringDesc* arg, NU8 pass, tlineinfo196539 info) {
	NU8 LOC1;
	LOC1 = 0;
	LOC1 = whichkeyword_205393(arg);
	switch (LOC1) {
	case ((NU8) 137):
	{
		gglobaloptions_170118 = (gglobaloptions_170118 | op);
	}
	break;
	case ((NU8) 138):
	{
		gglobaloptions_170118 = (gglobaloptions_170118 & ~ op);
	}
	break;
	default:
	{
		localerror_198955(info, ((NU16) 50), arg);
	}
	break;
	}
}

N_NIMCALL(void, writeversioninfo_209111)(NU8 pass) {
	{
		TY209063 LOC5;
		NimStringDesc* LOC6;
		if (!(pass == ((NU8) 0))) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = copyString(((NimStringDesc*) &TMP1567));
		LOC5[1] = copyString(os_175069[(hostos_175590)- 1].Field0);
		LOC5[2] = copyString(cpu_175480[(hostcpu_175588)- 1].Field0);
		LOC6 = 0;
		LOC6 = nsuFormatOpenArray(((NimStringDesc*) &TMP1566), LOC5, 3);
		msgwriteln_198236(LOC6);
		msgwriteln_198236(((NimStringDesc*) &TMP1885));
		exit(0);
	}
	LA3: ;
}

N_NIMCALL(void, writeadvancedusage_209089)(NU8 pass) {
	{
		NimStringDesc* LOC5;
		TY209063 LOC6;
		NimStringDesc* LOC7;
		if (!(pass == ((NU8) 0))) goto LA3;
		LOC5 = 0;
		memset((void*)LOC6, 0, sizeof(LOC6));
		LOC6[0] = copyString(((NimStringDesc*) &TMP1567));
		LOC6[1] = copyString(os_175069[(hostos_175590)- 1].Field0);
		LOC6[2] = copyString(cpu_175480[(hostcpu_175588)- 1].Field0);
		LOC7 = 0;
		LOC7 = nsuFormatOpenArray(((NimStringDesc*) &TMP1566), LOC6, 3);
		LOC5 = rawNewString(LOC7->Sup.len + 5870);
appendString(LOC5, LOC7);
appendString(LOC5, ((NimStringDesc*) &TMP1886));
		msgwriteln_198236(LOC5);
		exit(0);
	}
	LA3: ;
}

N_NIMCALL(void, helponerror_209071)(NU8 pass) {
	{
		NimStringDesc* LOC5;
		if (!(pass == ((NU8) 0))) goto LA3;
		LOC5 = 0;
		LOC5 = getcommandlinedesc_209058();
		msgwriteln_198236(LOC5);
		exit(0);
	}
	LA3: ;
}

N_NIMCALL(void, splitswitch_209167)(NimStringDesc* switch_209169, NimStringDesc** cmd, NimStringDesc** arg, NU8 pass, tlineinfo196539 info) {
	NI i;
	unsureAsgnRef((void**) (&(*cmd)), copyString(((NimStringDesc*) &TMP721)));
	i = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = (i < switch_209169->Sup.len);
		if (!(LOC3)) goto LA4;
		LOC3 = ((NU8)(switch_209169->data[i]) == (NU8)(45));
		LA4: ;
		if (!LOC3) goto LA5;
		i += 1;
	}
	LA5: ;
	{
		NIM_BOOL LOC9;
		LOC9 = 0;
		LOC9 = (i < switch_209169->Sup.len);
		if (!(LOC9)) goto LA10;
		LOC9 = ((NU8)(switch_209169->data[i]) == (NU8)(45));
		LA10: ;
		if (!LOC9) goto LA11;
		i += 1;
	}
	LA11: ;
	{
		while (1) {
			if (!(i < switch_209169->Sup.len)) goto LA14;
			switch (((NU8)(switch_209169->data[i]))) {
			case 97 ... 122:
			case 65 ... 90:
			case 48 ... 57:
			case 95:
			case 46:
			{
				(*cmd) = addChar((*cmd), switch_209169->data[i]);
			}
			break;
			default:
			{
				goto LA13;
			}
			break;
			}
			i += 1;
		} LA14: ;
	} LA13: ;
	{
		if (!(switch_209169->Sup.len <= i)) goto LA19;
		unsureAsgnRef((void**) (&(*arg)), copyString(((NimStringDesc*) &TMP721)));
	}
	goto LA17;
	LA19: ;
	{
		if (!(((NU8)(switch_209169->data[i])) == ((NU8)(58)) || ((NU8)(switch_209169->data[i])) == ((NU8)(61)) || ((NU8)(switch_209169->data[i])) == ((NU8)(91)))) goto LA22;
		unsureAsgnRef((void**) (&(*arg)), copyStr(switch_209169, (NI32)(i + 1)));
	}
	goto LA17;
	LA22: ;
	{
		invalidcmdlineoption_209156(pass, switch_209169, info);
	}
	LA17: ;
}

static N_INLINE(tlineinfo196539, newlineinfo_197141)(NimStringDesc* filename, NI line, NI col) {
	tlineinfo196539 result;
	NI32 LOC1;
	memset((void*)(&result), 0, sizeof(result));
	LOC1 = 0;
	LOC1 = fileinfoidx_196747(filename);
	result = newlineinfo_197129(LOC1, line, col);
	return result;
}

N_NIMCALL(void, track_210147)(NimStringDesc* arg, tlineinfo196539 info) {
	TY120608* a;
	NI line;
	NI column;
	a = nsuSplitChar(arg, 44);
	{
		if (!!((a->Sup.len == 3))) goto LA3;
		localerror_198955(info, ((NU16) 23), ((NimStringDesc*) &TMP1890));
	}
	LA3: ;
	line = 0;
	column = 0;
	{
		NI LOC7;
		LOC7 = 0;
		LOC7 = npuParseInt(a->data[1], (&line), 0);
		if (!(LOC7 <= 0)) goto LA8;
		localerror_198955(info, ((NU16) 14), a->data[1]);
	}
	LA8: ;
	{
		NI LOC12;
		LOC12 = 0;
		LOC12 = npuParseInt(a->data[2], (&column), 0);
		if (!(LOC12 <= 0)) goto LA13;
		localerror_198955(info, ((NU16) 14), a->data[2]);
	}
	LA13: ;
	opttrackpos_198156 = newlineinfo_197141(a->data[0], line, column);
	addcheckpoint_198161(opttrackpos_198156);
}

N_NIMCALL(void, trackdirty_210119)(NimStringDesc* arg, tlineinfo196539 info) {
	TY120608* a;
	NI line;
	NI column;
	a = nsuSplitChar(arg, 44);
	{
		if (!!((a->Sup.len == 4))) goto LA3;
		localerror_198955(info, ((NU16) 23), ((NimStringDesc*) &TMP1891));
	}
	LA3: ;
	line = 0;
	column = 0;
	{
		NI LOC7;
		LOC7 = 0;
		LOC7 = npuParseInt(a->data[2], (&line), 0);
		if (!(LOC7 <= 0)) goto LA8;
		localerror_198955(info, ((NU16) 14), a->data[1]);
	}
	LA8: ;
	{
		NI LOC12;
		LOC12 = 0;
		LOC12 = npuParseInt(a->data[3], (&column), 0);
		if (!(LOC12 <= 0)) goto LA13;
		localerror_198955(info, ((NU16) 14), a->data[2]);
	}
	LA13: ;
	gdirtybufferidx_170134 = fileinfoidx_196747(a->data[0]);
	gdirtyoriginalidx_170135 = fileinfoidx_196747(a->data[1]);
	opttrackpos_198156 = newlineinfo_197129(gdirtybufferidx_170134, line, column);
	addcheckpoint_198161(opttrackpos_198156);
}

N_NIMCALL(void, dynliboverride_210175)(NimStringDesc* switch_210177, NimStringDesc* arg, NU8 pass, tlineinfo196539 info) {
	{
		if (!((6 &(1<<((pass)&7)))!=0)) goto LA3;
		expectarg_209334(switch_210177, arg, pass, info);
		incldynliboverride_171481(arg);
	}
	LA3: ;
}

N_NIMCALL(void, processswitch_209040)(NimStringDesc* switch_209042, NimStringDesc* arg, NU8 pass, tlineinfo196539 info) {
	NU8 theos;
	NU8 cpu;
	NimStringDesc* key;
	NimStringDesc* val;
	NimStringDesc* LOC1;
	theos = 0;
	cpu = 0;
	key = 0;
	val = 0;
	LOC1 = 0;
	LOC1 = nsuNormalize(switch_209042);
	switch (hashString(LOC1) & 127) {
	case 1: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1583))) goto LA4;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1618))) goto LA32;
break;
	case 3: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1665))) goto LA72;
break;
	case 5: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1592))) goto LA10;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1641))) goto LA52;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1678))) goto LA85;
break;
	case 8: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1644))) goto LA54;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1663))) goto LA70;
break;
	case 14: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1602))) goto LA18;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1629))) goto LA42;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1679))) goto LA86;
break;
	case 16: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1586))) goto LA7;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1608))) goto LA23;
break;
	case 17: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1595))) goto LA12;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1638))) goto LA50;
break;
	case 18: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1589))) goto LA9;
break;
	case 19: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1593))) goto LA11;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1617))) goto LA31;
break;
	case 22: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1628))) goto LA41;
break;
	case 24: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1604))) goto LA20;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1615))) goto LA29;
break;
	case 27: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1611))) goto LA25;
break;
	case 28: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1585))) goto LA6;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1682))) goto LA89;
break;
	case 30: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1599))) goto LA16;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1600))) goto LA17;
break;
	case 32: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1596))) goto LA13;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1609))) goto LA23;
break;
	case 34: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1631))) goto LA43;
break;
	case 37: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1643))) goto LA53;
break;
	case 39: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1660))) goto LA68;
break;
	case 41: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1626))) goto LA39;
break;
	case 42: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1668))) goto LA75;
break;
	case 43: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1675))) goto LA82;
break;
	case 45: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1607))) goto LA22;
break;
	case 47: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1680))) goto LA87;
break;
	case 50: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1650))) goto LA60;
break;
	case 51: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1612))) goto LA26;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1658))) goto LA67;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1674))) goto LA81;
break;
	case 52: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1651))) goto LA61;
break;
	case 53: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1578))) goto LA2;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1620))) goto LA33;
break;
	case 54: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1584))) goto LA5;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1591))) goto LA10;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1681))) goto LA88;
break;
	case 55: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1666))) goto LA73;
break;
	case 56: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1580))) goto LA3;
break;
	case 57: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1647))) goto LA57;
break;
	case 60: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1610))) goto LA24;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1639))) goto LA51;
break;
	case 62: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1635))) goto LA47;
break;
	case 66: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1630))) goto LA42;
break;
	case 69: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1637))) goto LA49;
break;
	case 71: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1652))) goto LA62;
break;
	case 72: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1622))) goto LA35;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1636))) goto LA48;
break;
	case 73: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1594))) goto LA11;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1613))) goto LA27;
break;
	case 74: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1671))) goto LA78;
break;
	case 76: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1581))) goto LA3;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1634))) goto LA46;
break;
	case 78: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1625))) goto LA38;
break;
	case 79: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1640))) goto LA51;
break;
	case 82: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1653))) goto LA63;
break;
	case 83: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1616))) goto LA30;
break;
	case 85: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1659))) goto LA67;
break;
	case 89: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1601))) goto LA17;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1664))) goto LA71;
break;
	case 90: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1621))) goto LA34;
break;
	case 91: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1588))) goto LA8;
break;
	case 93: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1603))) goto LA19;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1670))) goto LA77;
break;
	case 95: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1627))) goto LA40;
break;
	case 98: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1655))) goto LA64;
break;
	case 99: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1606))) goto LA21;
break;
	case 100: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1623))) goto LA36;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1633))) goto LA45;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1649))) goto LA59;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1657))) goto LA66;
break;
	case 101: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1619))) goto LA32;
break;
	case 104: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1614))) goto LA28;
break;
	case 105: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1654))) goto LA64;
break;
	case 106: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1662))) goto LA69;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1667))) goto LA74;
break;
	case 108: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1661))) goto LA69;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1669))) goto LA76;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1677))) goto LA84;
break;
	case 109: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1598))) goto LA15;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1683))) goto LA90;
break;
	case 110: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1605))) goto LA20;
break;
	case 111: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1676))) goto LA83;
break;
	case 112: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1597))) goto LA14;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1656))) goto LA65;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1673))) goto LA80;
break;
	case 113: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1624))) goto LA37;
break;
	case 115: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1645))) goto LA55;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1672))) goto LA79;
break;
	case 117: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1590))) goto LA9;
break;
	case 118: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1632))) goto LA44;
break;
	case 119: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1648))) goto LA58;
break;
	case 120: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1642))) goto LA52;
break;
	case 121: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1579))) goto LA2;
break;
	case 126: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1582))) goto LA4;
break;
	case 127: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1587))) goto LA7;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1646))) goto LA56;
break;
	}
	goto LA91;
	LA2: ;
	{
		NimStringDesc* LOC94;
		expectarg_209334(switch_209042, arg, pass, info);
		LOC94 = 0;
		LOC94 = processpath_210103(arg, NIM_FALSE);
		addpath_206012(LOC94, info);
	}
	goto LA92;
	LA3: ;
	{
		{
			NIM_BOOL LOC98;
			NimStringDesc* path;
			LOC98 = 0;
			LOC98 = ((6 &(1<<((pass)&7)))!=0);
			if (!(LOC98)) goto LA99;
			LOC98 = !(gnonimblepath_170136);
			LA99: ;
			if (!LOC98) goto LA100;
			expectarg_209334(switch_209042, arg, pass, info);
			path = processpath_210103(arg, NIM_TRUE);
			nimblepath_206372(path, info);
		}
		LA100: ;
	}
	goto LA92;
	LA4: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gnonimblepath_170136 = NIM_TRUE;
	}
	goto LA92;
	LA5: ;
	{
		NimStringDesc* path;
		expectarg_209334(switch_209042, arg, pass, info);
		path = processpath_210103(arg, NIM_FALSE);
		excludepath_129807((&searchpaths_170122), path);
		excludepath_129807((&lazypaths_170123), path);
		{
			NIM_BOOL LOC106;
			NimStringDesc* strippedpath;
			slice85779 LOC110;
			LOC106 = 0;
			LOC106 = (0 < path->Sup.len);
			if (!(LOC106)) goto LA107;
			LOC106 = ((NU8)(path->data[(NI32)(path->Sup.len - 1)]) == (NU8)(92));
			LA107: ;
			if (!LOC106) goto LA108;
			LOC110 = HEX2EHEX2E_94498(0, (NI32)(path->Sup.len - 2));
			strippedpath = HEX5BHEX5D_85772(path, LOC110);
			excludepath_129807((&searchpaths_170122), strippedpath);
			excludepath_129807((&lazypaths_170123), strippedpath);
		}
		LA108: ;
	}
	goto LA92;
	LA6: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		asgnRefNoCycle((void**) (&nimcachedir_170238), processpath_210103(arg, NIM_FALSE));
	}
	goto LA92;
	LA7: ;
	{
		NimStringDesc* LOC113;
		expectarg_209334(switch_209042, arg, pass, info);
		LOC113 = 0;
		LOC113 = outfile_170124; outfile_170124 = copyStringRC1(arg);
		if (LOC113) nimGCunrefNoCycle(LOC113);
	}
	goto LA92;
	LA8: ;
	{
		NimStringDesc* LOC115;
		expectarg_209334(switch_209042, arg, pass, info);
		LOC115 = 0;
		LOC115 = docseesrcurl_170125; docseesrcurl_170125 = copyStringRC1(arg);
		if (LOC115) nimGCunrefNoCycle(LOC115);
	}
	goto LA92;
	LA9: ;
	{
	}
	goto LA92;
	LA10: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		definesymbol_202009(arg);
	}
	goto LA92;
	LA11: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		undefsymbol_202027(arg);
	}
	goto LA92;
	LA12: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		declaresymbol_202018(arg);
	}
	goto LA92;
	LA13: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		{
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA123;
			processcompile_209494(arg);
		}
		LA123: ;
	}
	goto LA92;
	LA14: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		{
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA128;
			addfiletolink_203897(arg);
		}
		LA128: ;
	}
	goto LA92;
	LA15: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 7))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA16: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 31))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA17: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 4))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA18: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 5))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA19: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 20))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA20: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 1))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA21: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gwholeproject_170129 = NIM_TRUE;
	}
	goto LA92;
	LA22: ;
	{
		NimStringDesc* LOC138;
		expectarg_209334(switch_209042, arg, pass, info);
		LOC138 = 0;
		LOC138 = nsuNormalize(arg);
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1816))) goto LA139;
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1817))) goto LA140;
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1818))) goto LA141;
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1819))) goto LA142;
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1820))) goto LA143;
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1821))) goto LA144;
		goto LA145;
		LA139: ;
		{
			gselectedgc_170121 = ((NU8) 1);
			definesymbol_202009(((NimStringDesc*) &TMP1822));
		}
		goto LA146;
		LA140: ;
		{
			gselectedgc_170121 = ((NU8) 3);
		}
		goto LA146;
		LA141: ;
		{
			gselectedgc_170121 = ((NU8) 4);
		}
		goto LA146;
		LA142: ;
		{
			gselectedgc_170121 = ((NU8) 2);
			definesymbol_202009(((NimStringDesc*) &TMP1823));
		}
		goto LA146;
		LA143: ;
		{
			gselectedgc_170121 = ((NU8) 5);
			definesymbol_202009(((NimStringDesc*) &TMP1824));
		}
		goto LA146;
		LA144: ;
		{
			gselectedgc_170121 = ((NU8) 0);
			definesymbol_202009(((NimStringDesc*) &TMP1825));
		}
		goto LA146;
		LA145: ;
		{
			localerror_198955(info, ((NU16) 51), arg);
		}
		LA146: ;
	}
	goto LA92;
	LA23: ;
	{
		processonoffswitch_209242(2048, arg, pass, info);
	}
	goto LA92;
	LA24: ;
	{
		processspecificnote_209358(arg, ((NU8) 109), pass, info);
	}
	goto LA92;
	LA25: ;
	{
		processspecificnote_209358(arg, ((NU8) 110), pass, info);
	}
	goto LA92;
	LA26: ;
	{
		processonoffswitch_209242(4096, arg, pass, info);
	}
	goto LA92;
	LA27: ;
	{
		processonoffswitchg_209288(134217728, arg, pass, info);
	}
	goto LA92;
	LA28: ;
	{
		processonoffswitch_209242(32768, arg, pass, info);
	}
	goto LA92;
	LA29: ;
	{
		processonoffswitch_209242(65536, arg, pass, info);
	}
	goto LA92;
	LA30: ;
	{
		processonoffswitch_209242(131072, arg, pass, info);
		{
			if (!((goptions_170116 &(1<<((((NU8) 17))&31)))!=0)) goto LA164;
			definesymbol_202009(((NimStringDesc*) &TMP1874));
		}
		goto LA162;
		LA164: ;
		{
			undefsymbol_202027(((NimStringDesc*) &TMP1874));
		}
		LA162: ;
	}
	goto LA92;
	LA31: ;
	{
		processonoffswitch_209242(524288, arg, pass, info);
		{
			if (!((goptions_170116 &(1<<((((NU8) 19))&31)))!=0)) goto LA170;
			definesymbol_202009(((NimStringDesc*) &TMP1617));
		}
		goto LA168;
		LA170: ;
		{
			undefsymbol_202027(((NimStringDesc*) &TMP1617));
		}
		LA168: ;
	}
	goto LA92;
	LA32: ;
	{
		processonoffswitch_209242(1022, arg, pass, info);
	}
	goto LA92;
	LA33: ;
	{
		processonoffswitch_209242(384, arg, pass, info);
	}
	goto LA92;
	LA34: ;
	{
		processonoffswitch_209242(256, arg, pass, info);
	}
	goto LA92;
	LA35: ;
	{
		processonoffswitch_209242(128, arg, pass, info);
	}
	goto LA92;
	LA36: ;
	{
		processonoffswitch_209242(2, arg, pass, info);
	}
	goto LA92;
	LA37: ;
	{
		processonoffswitch_209242(4, arg, pass, info);
	}
	goto LA92;
	LA38: ;
	{
		processonoffswitch_209242(8, arg, pass, info);
	}
	goto LA92;
	LA39: ;
	{
		processonoffswitch_209242(16, arg, pass, info);
	}
	goto LA92;
	LA40: ;
	{
		processonoffswitch_209242(32, arg, pass, info);
	}
	goto LA92;
	LA41: ;
	{
		processonoffswitch_209242(1024, arg, pass, info);
	}
	goto LA92;
	LA42: ;
	{
		processonoffswitch_209242(512, arg, pass, info);
	}
	goto LA92;
	LA43: ;
	{
		processonoffswitchg_209288(4, arg, pass, info);
	}
	goto LA92;
	LA44: ;
	{
		processonoffswitchg_209288(2097152, arg, pass, info);
		{
			if (!((gglobaloptions_170118 &(1<<((((NU8) 21))&31)))!=0)) goto LA188;
			gnotes_197305 |= ((NI64)1)<<(((((NU16) 253)- 230))%(sizeof(NI64)*8));
		}
		LA188: ;
	}
	goto LA92;
	LA45: ;
	{
		processonoffswitchg_209288(536870912, arg, pass, info);
	}
	goto LA92;
	LA46: ;
	{
		processonoffswitchg_209288(268435456, arg, pass, info);
	}
	goto LA92;
	LA47: ;
	{
		processonoffswitch_209242(1048576, arg, pass, info);
	}
	goto LA92;
	LA48: ;
	{
		processonoffswitch_209242(2097152, arg, pass, info);
	}
	goto LA92;
	LA49: ;
	{
		NimStringDesc* LOC195;
		expectarg_209334(switch_209042, arg, pass, info);
		LOC195 = 0;
		LOC195 = nsuNormalize(arg);
		if (eqStrings(LOC195, ((NimStringDesc*) &TMP1875))) goto LA196;
		if (eqStrings(LOC195, ((NimStringDesc*) &TMP1876))) goto LA197;
		if (eqStrings(LOC195, ((NimStringDesc*) &TMP1821))) goto LA198;
		goto LA199;
		LA196: ;
		{
			goptions_170116 |= ((NI32)1)<<((((NU8) 13))%(sizeof(NI32)*8));
			goptions_170116 &= ~(((NI32)1) << ((((NU8) 14)) % (sizeof(NI32)*8)));
		}
		goto LA200;
		LA197: ;
		{
			goptions_170116 &= ~(((NI32)1) << ((((NU8) 13)) % (sizeof(NI32)*8)));
			goptions_170116 |= ((NI32)1)<<((((NU8) 14))%(sizeof(NI32)*8));
		}
		goto LA200;
		LA198: ;
		{
			goptions_170116 &= ~(((NI32)1) << ((((NU8) 13)) % (sizeof(NI32)*8)));
			goptions_170116 &= ~(((NI32)1) << ((((NU8) 14)) % (sizeof(NI32)*8)));
		}
		goto LA200;
		LA199: ;
		{
			localerror_198955(info, ((NU16) 52), arg);
		}
		LA200: ;
	}
	goto LA92;
	LA50: ;
	{
		NimStringDesc* LOC206;
		expectarg_209334(switch_209042, arg, pass, info);
		LOC206 = 0;
		LOC206 = nsuNormalize(arg);
		if (eqStrings(LOC206, ((NimStringDesc*) &TMP1877))) goto LA207;
		if (eqStrings(LOC206, ((NimStringDesc*) &TMP1878))) goto LA208;
		if (eqStrings(LOC206, ((NimStringDesc*) &TMP1669))) goto LA209;
		if (eqStrings(LOC206, ((NimStringDesc*) &TMP1879))) goto LA210;
		goto LA211;
		LA207: ;
		{
			gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 10))%(sizeof(NI32)*8));
			definesymbol_202009(((NimStringDesc*) &TMP1880));
			definesymbol_202009(((NimStringDesc*) &TMP1881));
		}
		goto LA212;
		LA208: ;
		{
			gglobaloptions_170118 &= ~(((NI32)1) << ((((NU8) 10)) % (sizeof(NI32)*8)));
			definesymbol_202009(((NimStringDesc*) &TMP1880));
			definesymbol_202009(((NimStringDesc*) &TMP1882));
		}
		goto LA212;
		LA209: ;
		{
			gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 8))%(sizeof(NI32)*8));
			gglobaloptions_170118 &= ~(((NI32)1) << ((((NU8) 10)) % (sizeof(NI32)*8)));
			definesymbol_202009(((NimStringDesc*) &TMP1883));
			definesymbol_202009(((NimStringDesc*) &TMP1884));
		}
		goto LA212;
		LA210: ;
		{
			gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 9))%(sizeof(NI32)*8));
			gglobaloptions_170118 &= ~(((NI32)1) << ((((NU8) 10)) % (sizeof(NI32)*8)));
			definesymbol_202009(((NimStringDesc*) &TMP1883));
			definesymbol_202009(((NimStringDesc*) &TMP1879));
		}
		goto LA212;
		LA211: ;
		{
			localerror_198955(info, ((NU16) 53), arg);
		}
		LA212: ;
	}
	goto LA92;
	LA51: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		{
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA221;
			addcompileoption_203809(arg);
		}
		LA221: ;
	}
	goto LA92;
	LA52: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		{
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA226;
			addlinkoption_203798(arg);
		}
		LA226: ;
	}
	goto LA92;
	LA53: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		{
			NimStringDesc* LOC233;
			NimStringDesc* LOC234;
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA231;
			LOC233 = 0;
			LOC233 = processpath_210103(arg, NIM_FALSE);
			cincludes_203484 = (TY120608*) incrSeq(&(cincludes_203484)->Sup, sizeof(NimStringDesc*));
			LOC234 = 0;
			LOC234 = cincludes_203484->data[cincludes_203484->Sup.len-1]; cincludes_203484->data[cincludes_203484->Sup.len-1] = copyStringRC1(LOC233);
			if (LOC234) nimGCunrefNoCycle(LOC234);
		}
		LA231: ;
	}
	goto LA92;
	LA54: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		{
			NimStringDesc* LOC240;
			NimStringDesc* LOC241;
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA238;
			LOC240 = 0;
			LOC240 = processpath_210103(arg, NIM_FALSE);
			clibs_203506 = (TY120608*) incrSeq(&(clibs_203506)->Sup, sizeof(NimStringDesc*));
			LOC241 = 0;
			LOC241 = clibs_203506->data[clibs_203506->Sup.len-1]; clibs_203506->data[clibs_203506->Sup.len-1] = copyStringRC1(LOC240);
			if (LOC241) nimGCunrefNoCycle(LOC241);
		}
		LA238: ;
	}
	goto LA92;
	LA55: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		{
			NimStringDesc* LOC247;
			NimStringDesc* LOC248;
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA245;
			LOC247 = 0;
			LOC247 = processpath_210103(arg, NIM_FALSE);
			clinkedlibs_203528 = (TY120608*) incrSeq(&(clinkedlibs_203528)->Sup, sizeof(NimStringDesc*));
			LOC248 = 0;
			LOC248 = clinkedlibs_203528->data[clinkedlibs_203528->Sup.len-1]; clinkedlibs_203528->data[clinkedlibs_203528->Sup.len-1] = copyStringRC1(LOC247);
			if (LOC248) nimGCunrefNoCycle(LOC248);
		}
		LA245: ;
	}
	goto LA92;
	LA56: ;
	{
		NimStringDesc* LOC250;
		LOC250 = 0;
		LOC250 = headerfile_170126; headerfile_170126 = copyStringRC1(arg);
		if (LOC250) nimGCunrefNoCycle(LOC250);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 30))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA57: ;
	{
		processonoffswitchg_209288(1073741824, arg, pass, info);
	}
	goto LA92;
	LA58: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		{
			NimStringDesc* LOC257;
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA255;
			implicitimports_170284 = (TY120608*) incrSeq(&(implicitimports_170284)->Sup, sizeof(NimStringDesc*));
			LOC257 = 0;
			LOC257 = implicitimports_170284->data[implicitimports_170284->Sup.len-1]; implicitimports_170284->data[implicitimports_170284->Sup.len-1] = copyStringRC1(arg);
			if (LOC257) nimGCunrefNoCycle(LOC257);
		}
		LA255: ;
	}
	goto LA92;
	LA59: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		{
			NimStringDesc* LOC263;
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA261;
			implicitincludes_170306 = (TY120608*) incrSeq(&(implicitincludes_170306)->Sup, sizeof(NimStringDesc*));
			LOC263 = 0;
			LOC263 = implicitincludes_170306->data[implicitincludes_170306->Sup.len-1]; implicitincludes_170306->data[implicitincludes_170306->Sup.len-1] = copyStringRC1(arg);
			if (LOC263) nimGCunrefNoCycle(LOC263);
		}
		LA261: ;
	}
	goto LA92;
	LA60: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 3))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA61: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 12))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA62: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		{
			if (!((5 &(1<<((pass)&7)))!=0)) goto LA269;
			theos = nametoos_175598(arg);
			{
				if (!(theos == ((NU8) 0))) goto LA273;
				localerror_198955(info, ((NU16) 54), arg);
			}
			goto LA271;
			LA273: ;
			{
				if (!!((theos == hostos_175590))) goto LA276;
				settarget_175621(theos, targetcpu_175587);
				initdefines_202146();
			}
			goto LA271;
			LA276: ;
			LA271: ;
		}
		LA269: ;
	}
	goto LA92;
	LA63: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		{
			if (!((5 &(1<<((pass)&7)))!=0)) goto LA281;
			cpu = nametocpu_175604(arg);
			{
				if (!(cpu == ((NU8) 0))) goto LA285;
				localerror_198955(info, ((NU16) 55), arg);
			}
			goto LA283;
			LA285: ;
			{
				if (!!((cpu == hostcpu_175588))) goto LA288;
				settarget_175621(targetos_175589, cpu);
				initdefines_202146();
			}
			goto LA283;
			LA288: ;
			LA283: ;
		}
		LA281: ;
	}
	goto LA92;
	LA64: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 13))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA65: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		gverbosity_170127 = nsuParseInt(arg);
	}
	goto LA92;
	LA66: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		gnumberofprocessors_170128 = nsuParseInt(arg);
	}
	goto LA92;
	LA67: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		writeversioninfo_209111(pass);
	}
	goto LA92;
	LA68: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		writeadvancedusage_209089(pass);
	}
	goto LA92;
	LA69: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		helponerror_209071(pass);
	}
	goto LA92;
	LA70: ;
	{
		processonoffswitchg_209288(16384, arg, pass, info);
	}
	goto LA92;
	LA71: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 16))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA72: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 17))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA73: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 18))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA74: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 19))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA75: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 11))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA76: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		asgnRefNoCycle((void**) (&libpath_170233), processpath_210103(arg, NIM_TRUE));
	}
	goto LA92;
	LA77: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		splitswitch_209167(arg, (&key), (&val), pass, info);
		putenv_121266(key, val);
	}
	goto LA92;
	LA78: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		setcc_203708(arg);
	}
	goto LA92;
	LA79: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		track_210147(arg, info);
	}
	goto LA92;
	LA80: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		trackdirty_210119(arg, info);
	}
	goto LA92;
	LA81: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 23))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA82: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 25))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA83: ;
	{
		NimStringDesc* LOC310;
		expectarg_209334(switch_209042, arg, pass, info);
		LOC310 = 0;
		LOC310 = gevalexpr_170130; gevalexpr_170130 = copyStringRC1(arg);
		if (LOC310) nimGCunrefNoCycle(LOC310);
	}
	goto LA92;
	LA84: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 24))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA85: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 26))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA86: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gglobaloptions_170118 |= ((NI32)1)<<((((NU8) 22))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA87: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		glistfullpaths_170132 = NIM_TRUE;
	}
	goto LA92;
	LA88: ;
	{
		dynliboverride_210175(switch_209042, arg, pass, info);
	}
	goto LA92;
	LA89: ;
	{
		expectarg_209334(switch_209042, arg, pass, info);
		if (eqStrings(arg, ((NimStringDesc*) &TMP1895))) goto LA317;
		if (eqStrings(arg, ((NimStringDesc*) &TMP1821))) goto LA318;
		goto LA319;
		LA317: ;
		{
			firstchariscs_201029 = NIM_TRUE;
		}
		goto LA320;
		LA318: ;
		{
			firstchariscs_201029 = NIM_FALSE;
		}
		goto LA320;
		LA319: ;
		{
			NimStringDesc* LOC324;
			LOC324 = 0;
			LOC324 = rawNewString(arg->Sup.len + 40);
appendString(LOC324, ((NimStringDesc*) &TMP1896));
appendString(LOC324, arg);
			localerror_198955(info, ((NU16) 4), LOC324);
		}
		LA320: ;
	}
	goto LA92;
	LA90: ;
	{
		expectnoarg_209346(switch_209042, arg, pass, info);
		gexperimentalmode_170137 = NIM_TRUE;
	}
	goto LA92;
	LA91: ;
	{
		{
			NI LOC329;
			LOC329 = 0;
			LOC329 = nsuFindChar(switch_209042, 46, 0);
			if (!(0 <= LOC329)) goto LA330;
			setconfigvar_170360(switch_209042, arg);
		}
		goto LA327;
		LA330: ;
		{
			invalidcmdlineoption_209156(pass, switch_209042, info);
		}
		LA327: ;
	}
	LA92: ;
}

N_NIMCALL(void, processswitch_211148)(NU8 pass, optparser208011* p) {
	NI bracketle;
	bracketle = nsuFindChar((*p).Key, 91, 0);
	{
		NimStringDesc* key;
		NimStringDesc* val;
		NimStringDesc* LOC5;
		NimStringDesc* LOC6;
		if (!(0 <= bracketle)) goto LA3;
		key = copyStrLast((*p).Key, 0, (NI32)(bracketle - 1));
		LOC5 = 0;
		LOC6 = 0;
		LOC6 = copyStr((*p).Key, (NI32)(bracketle + 1));
		LOC5 = rawNewString(LOC6->Sup.len + (*p).Val->Sup.len + 1);
appendString(LOC5, LOC6);
appendChar(LOC5, 58);
appendString(LOC5, (*p).Val);
		val = LOC5;
		processswitch_209040(key, val, pass, gcmdlineinfo_197192);
	}
	goto LA1;
	LA3: ;
	{
		processswitch_209040((*p).Key, (*p).Val, pass, gcmdlineinfo_197192);
	}
	LA1: ;
}

N_NIMCALL(NIM_BOOL, processargument_211161)(NU8 pass, optparser208011* p, NI* argscount) {
	NIM_BOOL result;
	result = 0;
	{
		NimStringDesc* LOC5;
		if (!((*argscount) == 0)) goto LA3;
		LOC5 = 0;
		LOC5 = command_170239; command_170239 = copyStringRC1((*p).Key);
		if (LOC5) nimGCunrefNoCycle(LOC5);
	}
	goto LA1;
	LA3: ;
	{
		{
			NimStringDesc* LOC11;
			if (!(pass == ((NU8) 0))) goto LA9;
			commandargs_170261 = (TY120608*) incrSeq(&(commandargs_170261)->Sup, sizeof(NimStringDesc*));
			LOC11 = 0;
			LOC11 = commandargs_170261->data[commandargs_170261->Sup.len-1]; commandargs_170261->data[commandargs_170261->Sup.len-1] = copyStringRC1((*p).Key);
			if (LOC11) nimGCunrefNoCycle(LOC11);
		}
		LA9: ;
		{
			if (!((*argscount) == 1)) goto LA14;
			asgnRefNoCycle((void**) (&gprojectname_170234), nosunixToNativePath((*p).Key, ((NimStringDesc*) &TMP721)));
			asgnRefNoCycle((void**) (&arguments_211144), npocmdLineRest(p));
			result = NIM_TRUE;
		}
		LA14: ;
	}
	LA1: ;
	(*argscount) += 1;
	return result;
}

N_NIMCALL(NIM_BOOL, testcompileoption_209634)(NimStringDesc* switch_209636, tlineinfo196539 info) {
	NIM_BOOL result;
	NimStringDesc* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = nsuNormalize(switch_209636);
	switch (hashString(LOC1) & 63) {
	case 1: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1618))) goto LA14;
break;
	case 2: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1630))) goto LA24;
break;
	case 8: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1622))) goto LA17;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1663))) goto LA27;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1636))) goto LA33;
break;
	case 9: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1613))) goto LA9;
break;
	case 12: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1634))) goto LA30;
break;
	case 14: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1602))) goto LA4;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1625))) goto LA20;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1629))) goto LA24;
break;
	case 16: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1608))) goto LA7;
break;
	case 19: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1616))) goto LA12;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1617))) goto LA13;
break;
	case 22: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1628))) goto LA23;
break;
	case 24: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1604))) goto LA6;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1615))) goto LA11;
break;
	case 25: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1601))) goto LA3;
break;
	case 26: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1621))) goto LA16;
break;
	case 29: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1603))) goto LA5;
break;
	case 30: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1600))) goto LA3;
break;
	case 31: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1627))) goto LA22;
break;
	case 32: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1609))) goto LA7;
break;
	case 34: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1631))) goto LA25;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1655))) goto LA26;
break;
	case 36: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1623))) goto LA18;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1633))) goto LA31;
break;
	case 37: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1619))) goto LA14;
break;
	case 40: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1614))) goto LA10;
break;
	case 41: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1626))) goto LA21;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1654))) goto LA26;
break;
	case 42: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1668))) goto LA28;
break;
	case 45: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1598))) goto LA2;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1683))) goto LA34;
break;
	case 46: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1605))) goto LA6;
break;
	case 49: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1624))) goto LA19;
break;
	case 51: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1612))) goto LA8;
break;
	case 53: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1620))) goto LA15;
break;
	case 54: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1632))) goto LA29;
break;
	case 62: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1635))) goto LA32;
break;
	}
	goto LA35;
	LA2: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 7))&31)))!=0);
	}
	goto LA36;
	LA3: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 4))&31)))!=0);
	}
	goto LA36;
	LA4: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 5))&31)))!=0);
	}
	goto LA36;
	LA5: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 20))&31)))!=0);
	}
	goto LA36;
	LA6: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 1))&31)))!=0);
	}
	goto LA36;
	LA7: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 11))&31)))!=0);
	}
	goto LA36;
	LA8: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 12))&31)))!=0);
	}
	goto LA36;
	LA9: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 27))&31)))!=0);
	}
	goto LA36;
	LA10: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 15))&31)))!=0);
	}
	goto LA36;
	LA11: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 16))&31)))!=0);
	}
	goto LA36;
	LA12: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 17))&31)))!=0);
	}
	goto LA36;
	LA13: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 19))&31)))!=0);
	}
	goto LA36;
	LA14: ;
	{
		result = ((goptions_170116 & 1022) == 1022);
	}
	goto LA36;
	LA15: ;
	{
		result = ((goptions_170116 & 384) == 384);
	}
	goto LA36;
	LA16: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 8))&31)))!=0);
	}
	goto LA36;
	LA17: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 7))&31)))!=0);
	}
	goto LA36;
	LA18: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 1))&31)))!=0);
	}
	goto LA36;
	LA19: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 2))&31)))!=0);
	}
	goto LA36;
	LA20: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 3))&31)))!=0);
	}
	goto LA36;
	LA21: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 4))&31)))!=0);
	}
	goto LA36;
	LA22: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 5))&31)))!=0);
	}
	goto LA36;
	LA23: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 10))&31)))!=0);
	}
	goto LA36;
	LA24: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 9))&31)))!=0);
	}
	goto LA36;
	LA25: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 2))&31)))!=0);
	}
	goto LA36;
	LA26: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 13))&31)))!=0);
	}
	goto LA36;
	LA27: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 14))&31)))!=0);
	}
	goto LA36;
	LA28: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 11))&31)))!=0);
	}
	goto LA36;
	LA29: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 21))&31)))!=0);
	}
	goto LA36;
	LA30: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 28))&31)))!=0);
	}
	goto LA36;
	LA31: ;
	{
		result = ((gglobaloptions_170118 &(1<<((((NU8) 29))&31)))!=0);
	}
	goto LA36;
	LA32: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 20))&31)))!=0);
	}
	goto LA36;
	LA33: ;
	{
		result = ((goptions_170116 &(1<<((((NU8) 21))&31)))!=0);
	}
	goto LA36;
	LA34: ;
	{
		result = gexperimentalmode_170137;
	}
	goto LA36;
	LA35: ;
	{
		invalidcmdlineoption_209156(((NU8) 0), switch_209636, info);
	}
	LA36: ;
	return result;
}

N_NIMCALL(NIM_BOOL, testcompileoptionarg_209505)(NimStringDesc* switch_209507, NimStringDesc* arg, tlineinfo196539 info) {
	NIM_BOOL result;
	NimStringDesc* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = nsuNormalize(switch_209507);
	if (eqStrings(LOC1, ((NimStringDesc*) &TMP1607))) goto LA2;
	if (eqStrings(LOC1, ((NimStringDesc*) &TMP1637))) goto LA3;
	goto LA4;
	LA2: ;
	{
		NimStringDesc* LOC7;
		LOC7 = 0;
		LOC7 = nsuNormalize(arg);
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1816))) goto LA8;
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1817))) goto LA9;
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1818))) goto LA10;
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1819))) goto LA11;
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1820))) goto LA12;
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1821))) goto LA13;
		goto LA14;
		LA8: ;
		{
			result = (gselectedgc_170121 == ((NU8) 1));
		}
		goto LA15;
		LA9: ;
		{
			result = (gselectedgc_170121 == ((NU8) 3));
		}
		goto LA15;
		LA10: ;
		{
			result = (gselectedgc_170121 == ((NU8) 4));
		}
		goto LA15;
		LA11: ;
		{
			result = (gselectedgc_170121 == ((NU8) 2));
		}
		goto LA15;
		LA12: ;
		{
			result = (gselectedgc_170121 == ((NU8) 5));
		}
		goto LA15;
		LA13: ;
		{
			result = (gselectedgc_170121 == ((NU8) 0));
		}
		goto LA15;
		LA14: ;
		{
			localerror_198955(info, ((NU16) 51), arg);
		}
		LA15: ;
	}
	goto LA5;
	LA3: ;
	{
		NimStringDesc* LOC24;
		LOC24 = 0;
		LOC24 = nsuNormalize(arg);
		if (eqStrings(LOC24, ((NimStringDesc*) &TMP1875))) goto LA25;
		if (eqStrings(LOC24, ((NimStringDesc*) &TMP1876))) goto LA26;
		if (eqStrings(LOC24, ((NimStringDesc*) &TMP1821))) goto LA27;
		goto LA28;
		LA25: ;
		{
			result = ((goptions_170116 &(1<<((((NU8) 13))&31)))!=0);
		}
		goto LA29;
		LA26: ;
		{
			result = ((goptions_170116 &(1<<((((NU8) 14))&31)))!=0);
		}
		goto LA29;
		LA27: ;
		{
			result = ((goptions_170116 & 24576) == 0);
		}
		goto LA29;
		LA28: ;
		{
			localerror_198955(info, ((NU16) 52), arg);
		}
		LA29: ;
	}
	goto LA5;
	LA4: ;
	{
		invalidcmdlineoption_209156(((NU8) 0), switch_209507, info);
	}
	LA5: ;
	return result;
}
NIM_EXTERNC N_NOINLINE(void, HEX00_commandsInit)(void) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = arguments_211144; arguments_211144 = copyStringRC1(((NimStringDesc*) &TMP721));
	if (LOC1) nimGCunrefNoCycle(LOC1);
}

NIM_EXTERNC N_NOINLINE(void, HEX00_commandsDatInit)(void) {
}

