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

#include <string.h>
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct Tcell46346 Tcell46346;
typedef struct TNimType TNimType;
typedef struct Tcellseq46362 Tcellseq46362;
typedef struct Tgcheap48216 Tgcheap48216;
typedef struct Tcellset46358 Tcellset46358;
typedef struct Tpagedesc46354 Tpagedesc46354;
typedef struct Tmemregion28210 Tmemregion28210;
typedef struct Tsmallchunk27440 Tsmallchunk27440;
typedef struct Tllchunk28204 Tllchunk28204;
typedef struct Tbigchunk27442 Tbigchunk27442;
typedef struct Tintset27417 Tintset27417;
typedef struct Ttrunk27413 Ttrunk27413;
typedef struct Tavlnode28208 Tavlnode28208;
typedef struct Tgcstat48214 Tgcstat48214;
typedef struct Tinfoos160049 Tinfoos160049;
typedef struct Tinfocpu160479 Tinfocpu160479;
typedef struct Optparser176011 Optparser176011;
typedef struct TNimObject TNimObject;
typedef struct TNimNode TNimNode;
typedef struct TY123008 TY123008;
typedef struct Tlineinfo164338 Tlineinfo164338;
typedef struct Tlinkedlist132028 Tlinkedlist132028;
typedef struct Tlistentry132022 Tlistentry132022;
typedef struct Slice87574 Slice87574;
typedef struct Tbasechunk27438 Tbasechunk27438;
typedef struct Tfreecell27430 Tfreecell27430;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tcell46346  {
NI refcount;
TNimType* typ;
};
struct  Tcellseq46362  {
NI len;
NI cap;
Tcell46346** d;
};
struct  Tcellset46358  {
NI counter;
NI max;
Tpagedesc46354* head;
Tpagedesc46354** data;
};
typedef Tsmallchunk27440* TY28222[512];
typedef Ttrunk27413* Ttrunkbuckets27415[256];
struct  Tintset27417  {
Ttrunkbuckets27415 data;
};
struct  Tmemregion28210  {
NI minlargeobj;
NI maxlargeobj;
TY28222 freesmallchunks;
Tllchunk28204* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Tbigchunk27442* freechunkslist;
Tintset27417 chunkstarts;
Tavlnode28208* root;
Tavlnode28208* deleted;
Tavlnode28208* last;
Tavlnode28208* freeavlnodes;
};
struct  Tgcstat48214  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Tgcheap48216  {
void* stackbottom;
NI cyclethreshold;
Tcellseq46362 zct;
Tcellseq46362 decstack;
Tcellset46358 cycleroots;
Tcellseq46362 tempstack;
NI recgclock;
Tmemregion28210 region;
Tgcstat48214 stat;
};
typedef NimStringDesc* TY177061[3];
struct Tinfoos160049 {
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 Tinfoos160049 TY160071[24];
struct Tinfocpu160479 {
NimStringDesc* Field0;
NI Field1;
NU8 Field2;
NI Field3;
NI Field4;
};
typedef Tinfocpu160479 TY160497[14];
typedef N_NIMCALL_PTR(void, TY3289) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3294) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3289 marker;
TY3294 deepcopy;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  Optparser176011  {
  TNimObject Sup;
NimStringDesc* cmd;
NI pos;
NIM_BOOL inshortstate;
NU8 kind;
NimStringDesc* key;
NimStringDesc* val;
};
struct  Tlineinfo164338  {
NI16 line;
NI16 col;
NI32 fileindex;
};
typedef NimStringDesc* TY177996[12];
struct  Tlinkedlist132028  {
Tlistentry132022* head;
Tlistentry132022* tail;
NI counter;
};
struct  Slice87574  {
NI a;
NI b;
};
typedef NimStringDesc* TY164302[17];
typedef NimStringDesc* TY164297[31];
typedef NI TY27420[8];
struct  Tpagedesc46354  {
Tpagedesc46354* next;
NI key;
TY27420 bits;
};
struct  Tbasechunk27438  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Tsmallchunk27440  {
  Tbasechunk27438 Sup;
Tsmallchunk27440* next;
Tsmallchunk27440* prev;
Tfreecell27430* freelist;
NI free;
NI acc;
NF data;
};
struct  Tllchunk28204  {
NI size;
NI acc;
Tllchunk28204* next;
};
struct  Tbigchunk27442  {
  Tbasechunk27438 Sup;
Tbigchunk27442* next;
Tbigchunk27442* prev;
NI align;
NF data;
};
struct  Ttrunk27413  {
Ttrunk27413* next;
NI key;
TY27420 bits;
};
typedef Tavlnode28208* TY28214[2];
struct  Tavlnode28208  {
TY28214 link;
NI key;
NI upperbound;
NI level;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Tlistentry132022  {
  TNimObject Sup;
Tlistentry132022* prev;
Tlistentry132022* next;
};
struct  Tfreecell27430  {
Tfreecell27430* next;
NI zerofield;
};
struct TY123008 {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(Tcell46346*, usrtocell_49846)(void* usr);
static N_INLINE(void, rtladdzct_51404)(Tcell46346* c);
N_NOINLINE(void, addzct_49817)(Tcellseq46362* s, Tcell46346* c);
N_NIMCALL(void, msgwriteln_165536)(NimStringDesc* s);
N_NIMCALL(NimStringDesc*, getcommandlinedesc_177058)(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(TGenericSeq*, incrSeq)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(NimStringDesc*, nosunixToNativePath)(NimStringDesc* path, NimStringDesc* drive);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
N_NIMCALL(NimStringDesc*, npocmdLineRest)(Optparser176011* p);
N_NIMCALL(NI, nsuFindChar)(NimStringDesc* s, NIM_CHAR sub, NI start);
N_NIMCALL(NimStringDesc*, copyStrLast)(NimStringDesc* s, NI start_76243, 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_177040)(NimStringDesc* switch_177042, NimStringDesc* arg, NU8 pass, Tlineinfo164338 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_177373)(NimStringDesc* switch_177375, NimStringDesc* arg, NU8 pass, Tlineinfo164338 info);
N_NIMCALL(void, localerror_166155)(Tlineinfo164338 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(NimStringDesc*, addprefix_177220)(NimStringDesc* switch_177222);
N_NIMCALL(void, addpath_174012)(NimStringDesc* path, Tlineinfo164338 info);
N_NIMCALL(NimStringDesc*, processpath_177990)(NimStringDesc* path, NIM_BOOL notrelativetoproj);
N_NIMCALL(NIM_BOOL, nosisAbsolute)(NimStringDesc* path);
N_NIMCALL(NIM_BOOL, contains_100351)(NimStringDesc* s, NIM_CHAR c);
N_NIMCALL(NimStringDesc*, HEX2F_118492)(NimStringDesc* head, NimStringDesc* tail);
N_NIMCALL(NimStringDesc*, getprefixdir_155365)(void);
N_NIMCALL(NimStringDesc*, removetrailingdirsep_155418)(NimStringDesc* path);
N_NIMCALL(NimStringDesc*, nosgetHomeDir)(void);
N_NIMCALL(void, nimblepath_174347)(NimStringDesc* path, Tlineinfo164338 info);
N_NIMCALL(void, expectnoarg_177385)(NimStringDesc* switch_177387, NimStringDesc* arg, NU8 pass, Tlineinfo164338 info);
N_NIMCALL(void, excludepath_132807)(Tlinkedlist132028* list, NimStringDesc* data);
static N_INLINE(NimStringDesc*, HEX5BHEX5D_87567)(NimStringDesc* s, Slice87574 x);
static N_INLINE(Slice87574, HEX2EHEX2E_109273)(NI a, NI b);
N_NIMCALL(void, definesymbol_169013)(NimStringDesc* symbol);
N_NIMCALL(void, undefsymbol_169022)(NimStringDesc* symbol);
N_NIMCALL(void, processcompile_177507)(NimStringDesc* filename);
N_NIMCALL(NimStringDesc*, findfile_156339)(NimStringDesc* f);
N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(void, addexternalfiletocompile_172465)(NimStringDesc* filename);
N_NIMCALL(void, addfiletolink_171954)(NimStringDesc* filename);
N_NIMCALL(NimStringDesc*, completecfilepath_171912)(NimStringDesc* cfile, NIM_BOOL createsubdir);
N_NIMCALL(void, processonoffswitch_177301)(NU32 op, NimStringDesc* arg, NU8 pass, Tlineinfo164338 info);
N_NIMCALL(NU16, whichkeyword_173396)(NimStringDesc* id);
N_NIMCALL(void, processspecificnote_177397)(NimStringDesc* arg, NU16 state, NU8 pass, Tlineinfo164338 info, NimStringDesc* orig);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
N_NIMCALL(void, invalidcmdlineoption_177230)(NU8 pass, NimStringDesc* switch_177233, Tlineinfo164338 info);
N_NIMCALL(NI, findstr_173344)(NimStringDesc** a, NI aLen0, NimStringDesc* s);
N_NIMCALL(void, localerror_166166)(Tlineinfo164338 info, NimStringDesc* arg);
N_NIMCALL(void, processonoffswitchg_177337)(NU32 op, NimStringDesc* arg, NU8 pass, Tlineinfo164338 info);
N_NIMCALL(void, addcompileoption_171866)(NimStringDesc* option);
N_NIMCALL(void, addlinkoption_171856)(NimStringDesc* option);
N_NIMCALL(NU8, nametoos_160611)(NimStringDesc* name);
N_NIMCALL(void, settarget_160634)(NU8 o, NU8 c);
N_NIMCALL(NU8, nametocpu_160617)(NimStringDesc* name);
N_NIMCALL(NI, nsuParseInt)(NimStringDesc* s);
N_NIMCALL(void, writeversioninfo_177107)(NU8 pass);
N_NIMCALL(void, msgquit_165104)(NI8 x);
N_NIMCALL(void, writeadvancedusage_177087)(NU8 pass);
N_NIMCALL(void, helponerror_177069)(NU8 pass);
N_NIMCALL(void, splitswitch_177241)(NimStringDesc* switch_177243, NimStringDesc** cmd, NimStringDesc** arg, NU8 pass, Tlineinfo164338 info);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_NIMCALL(void, putenv_123868)(NimStringDesc* key, NimStringDesc* val);
N_NIMCALL(void, setcc_171714)(NimStringDesc* ccname);
N_NIMCALL(void, track_178030)(NimStringDesc* arg, Tlineinfo164338 info);
N_NIMCALL(TY123008*, nsuSplitChar)(NimStringDesc* s, NIM_CHAR sep);
N_NIMCALL(NI, npuParseInt)(NimStringDesc* s, NI* number, NI start);
static N_INLINE(Tlineinfo164338, newlineinfo_164878)(NimStringDesc* filename, NI line, NI col);
N_NIMCALL(Tlineinfo164338, newlineinfo_164866)(NI32 fileinfoidx, NI line, NI col);
N_NIMCALL(NI32, fileinfoidx_164853)(NimStringDesc* filename);
N_NIMCALL(void, trackdirty_178004)(NimStringDesc* arg, Tlineinfo164338 info);
N_NIMCALL(void, setdirtyfile_165283)(NI32 fileidx, NimStringDesc* filename);
N_NIMCALL(void, dynliboverride_178055)(NimStringDesc* switch_178057, NimStringDesc* arg, NU8 pass, Tlineinfo164338 info);
N_NIMCALL(void, incldynliboverride_156472)(NimStringDesc* lib);
N_NIMCALL(void, setconfigvar_155344)(NimStringDesc* key, NimStringDesc* val);
STRING_LITERAL(TMP710, "", 0);
STRING_LITERAL(TMP1536, "Nim Compiler Version $1 (2015-05-04) [$2: $3]\015\012Copyright (c) 20"
"06-2015 by Andreas Rumpf\015\012", 89);
STRING_LITERAL(TMP1537, "0.11.2", 6);
extern NIM_CONST TY160071 Os_160070;
extern NIM_CONST TY160497 Cpu_160496;
STRING_LITERAL(TMP1538, "::\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\012Arguments:\012  arguments are pas"
"sed to the program being run (if --run option is selected)\012Optio"
"ns:\012  -p, --path:PATH           add path to search paths\012  -d, -"
"-define:SYMBOL       define a conditional symbol\012  -u, --undef:S"
"YMBOL        undefine 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 li"
"ne tracing on|off\012  --threads:on|off          turn support for m"
"ulti-threading on|off\012  -x, --checks:on|off       turn all runti"
"me checks on|off\012  --objChecks:on|off        turn obj conversion"
" checks on|off\012  --fieldChecks:on|off      turn case variant fie"
"ld checks on|off\012  --rangeChecks:on|off      turn range checks o"
"n|off\012  --boundChecks:on|off      turn bound checks on|off\012  --o"
"verflowChecks: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  -"
"-nanChecks:on|off        turn NaN checks on|off\012  --infChecks:on"
"|off        turn Inf checks on|off\012  --deadCodeElim:on|off     w"
"hole program dead code elimination on|off\012  --opt:none|speed|siz"
"e     optimize not at all or for speed|size\012                    "
"        Note: use -d:release for a release build!\012  --debugger:n"
"ative|endb    use native debugger (gdb) | ENDB (experimental)\012  "
"--app:console|gui|lib|staticlib\012                            gene"
"rate a console app|GUI app|DLL|static library\012  -r, --run       "
"          run the compiled program with given arguments\012  --adva"
"nced                show advanced command line switches\012  -h, --"
"help                show this help\012\012Note, single letter options "
"that take an argument require a colon. E.g. -p:PATH.\012", 2036);
STRING_LITERAL(TMP1554, "path", 4);
STRING_LITERAL(TMP1555, "p", 1);
STRING_LITERAL(TMP1556, "nimblepath", 10);
STRING_LITERAL(TMP1557, "babelpath", 9);
STRING_LITERAL(TMP1558, "nonimblepath", 12);
STRING_LITERAL(TMP1559, "nobabelpath", 11);
STRING_LITERAL(TMP1560, "excludepath", 11);
STRING_LITERAL(TMP1561, "nimcache", 8);
STRING_LITERAL(TMP1562, "out", 3);
STRING_LITERAL(TMP1563, "o", 1);
STRING_LITERAL(TMP1564, "docseesrcurl", 12);
STRING_LITERAL(TMP1565, "mainmodule", 10);
STRING_LITERAL(TMP1566, "m", 1);
STRING_LITERAL(TMP1567, "define", 6);
STRING_LITERAL(TMP1568, "d", 1);
STRING_LITERAL(TMP1569, "undef", 5);
STRING_LITERAL(TMP1570, "u", 1);
STRING_LITERAL(TMP1571, "symbol", 6);
STRING_LITERAL(TMP1572, "compile", 7);
STRING_LITERAL(TMP1573, "link", 4);
STRING_LITERAL(TMP1574, "debuginfo", 9);
STRING_LITERAL(TMP1575, "embedsrc", 8);
STRING_LITERAL(TMP1576, "compileonly", 11);
STRING_LITERAL(TMP1577, "c", 1);
STRING_LITERAL(TMP1578, "nolinking", 9);
STRING_LITERAL(TMP1579, "nomain", 6);
STRING_LITERAL(TMP1580, "forcebuild", 10);
STRING_LITERAL(TMP1581, "f", 1);
STRING_LITERAL(TMP1582, "project", 7);
STRING_LITERAL(TMP1583, "gc", 2);
STRING_LITERAL(TMP1584, "warnings", 8);
STRING_LITERAL(TMP1585, "w", 1);
STRING_LITERAL(TMP1586, "warning", 7);
STRING_LITERAL(TMP1587, "hint", 4);
STRING_LITERAL(TMP1588, "hints", 5);
STRING_LITERAL(TMP1589, "threadanalysis", 14);
STRING_LITERAL(TMP1590, "stacktrace", 10);
STRING_LITERAL(TMP1591, "linetrace", 9);
STRING_LITERAL(TMP1592, "debugger", 8);
STRING_LITERAL(TMP1593, "profiler", 8);
STRING_LITERAL(TMP1594, "checks", 6);
STRING_LITERAL(TMP1595, "x", 1);
STRING_LITERAL(TMP1596, "floatchecks", 11);
STRING_LITERAL(TMP1597, "infchecks", 9);
STRING_LITERAL(TMP1598, "nanchecks", 9);
STRING_LITERAL(TMP1599, "objchecks", 9);
STRING_LITERAL(TMP1600, "fieldchecks", 11);
STRING_LITERAL(TMP1601, "rangechecks", 11);
STRING_LITERAL(TMP1602, "boundchecks", 11);
STRING_LITERAL(TMP1603, "overflowchecks", 14);
STRING_LITERAL(TMP1604, "linedir", 7);
STRING_LITERAL(TMP1605, "assertions", 10);
STRING_LITERAL(TMP1606, "a", 1);
STRING_LITERAL(TMP1607, "deadcodeelim", 12);
STRING_LITERAL(TMP1608, "threads", 7);
STRING_LITERAL(TMP1609, "tlsemulation", 12);
STRING_LITERAL(TMP1610, "taintmode", 9);
STRING_LITERAL(TMP1611, "implicitstatic", 14);
STRING_LITERAL(TMP1612, "patterns", 8);
STRING_LITERAL(TMP1613, "opt", 3);
STRING_LITERAL(TMP1614, "app", 3);
STRING_LITERAL(TMP1615, "passc", 5);
STRING_LITERAL(TMP1616, "t", 1);
STRING_LITERAL(TMP1617, "passl", 5);
STRING_LITERAL(TMP1618, "l", 1);
STRING_LITERAL(TMP1619, "cincludes", 9);
STRING_LITERAL(TMP1620, "clibdir", 7);
STRING_LITERAL(TMP1621, "clib", 4);
STRING_LITERAL(TMP1622, "header", 6);
STRING_LITERAL(TMP1623, "index", 5);
STRING_LITERAL(TMP1624, "import", 6);
STRING_LITERAL(TMP1625, "include", 7);
STRING_LITERAL(TMP1626, "listcmd", 7);
STRING_LITERAL(TMP1627, "genmapping", 10);
STRING_LITERAL(TMP1628, "os", 2);
STRING_LITERAL(TMP1629, "cpu", 3);
STRING_LITERAL(TMP1630, "run", 3);
STRING_LITERAL(TMP1631, "r", 1);
STRING_LITERAL(TMP1632, "verbosity", 9);
STRING_LITERAL(TMP1633, "parallelbuild", 13);
STRING_LITERAL(TMP1634, "version", 7);
STRING_LITERAL(TMP1635, "v", 1);
STRING_LITERAL(TMP1636, "advanced", 8);
STRING_LITERAL(TMP1637, "help", 4);
STRING_LITERAL(TMP1638, "h", 1);
STRING_LITERAL(TMP1639, "symbolfiles", 11);
STRING_LITERAL(TMP1640, "skipcfg", 7);
STRING_LITERAL(TMP1641, "skipprojcfg", 11);
STRING_LITERAL(TMP1642, "skipusercfg", 11);
STRING_LITERAL(TMP1643, "skipparentcfg", 13);
STRING_LITERAL(TMP1644, "genscript", 9);
STRING_LITERAL(TMP1645, "lib", 3);
STRING_LITERAL(TMP1646, "putenv", 6);
STRING_LITERAL(TMP1647, "cc", 2);
STRING_LITERAL(TMP1648, "track", 5);
STRING_LITERAL(TMP1649, "trackdirty", 10);
STRING_LITERAL(TMP1650, "suggest", 7);
STRING_LITERAL(TMP1651, "def", 3);
STRING_LITERAL(TMP1652, "eval", 4);
STRING_LITERAL(TMP1653, "context", 7);
STRING_LITERAL(TMP1654, "usages", 6);
STRING_LITERAL(TMP1655, "stdout", 6);
STRING_LITERAL(TMP1656, "listfullpaths", 13);
STRING_LITERAL(TMP1657, "dynliboverride", 14);
STRING_LITERAL(TMP1658, "cs", 2);
STRING_LITERAL(TMP1659, "experimental", 12);
STRING_LITERAL(TMP1660, "-", 1);
STRING_LITERAL(TMP1661, "--", 2);
STRING_LITERAL(TMP1663, "nimrod", 6);
STRING_LITERAL(TMP1664, "nim", 3);
STRING_LITERAL(TMP1665, "home", 4);
STRING_LITERAL(TMP1667, "projectname", 11);
STRING_LITERAL(TMP1668, "projectpath", 11);
STRING_LITERAL(TMP1788, "boehm", 5);
STRING_LITERAL(TMP1789, "refc", 4);
STRING_LITERAL(TMP1790, "v2", 2);
STRING_LITERAL(TMP1791, "markandsweep", 12);
STRING_LITERAL(TMP1792, "generational", 12);
STRING_LITERAL(TMP1793, "none", 4);
STRING_LITERAL(TMP1794, "boehmgc", 7);
STRING_LITERAL(TMP1795, "gcmarkandsweep", 14);
STRING_LITERAL(TMP1796, "gcgenerational", 14);
STRING_LITERAL(TMP1797, "nogc", 4);
STRING_LITERAL(TMP1798, " ", 1);
STRING_LITERAL(TMP1800, "Success", 7);
STRING_LITERAL(TMP1801, "SuccessX", 8);
STRING_LITERAL(TMP1802, "LineTooLong", 11);
STRING_LITERAL(TMP1803, "XDeclaredButNotUsed", 19);
STRING_LITERAL(TMP1804, "ConvToBaseNotNeeded", 19);
STRING_LITERAL(TMP1805, "ConvFromXtoItselfNotNeeded", 26);
STRING_LITERAL(TMP1806, "ExprAlwaysX", 11);
STRING_LITERAL(TMP1807, "QuitCalled", 10);
STRING_LITERAL(TMP1808, "Processing", 10);
STRING_LITERAL(TMP1809, "CodeBegin", 9);
STRING_LITERAL(TMP1810, "CodeEnd", 7);
STRING_LITERAL(TMP1811, "Conf", 4);
STRING_LITERAL(TMP1812, "Path", 4);
STRING_LITERAL(TMP1813, "CondTrue", 8);
STRING_LITERAL(TMP1814, "Name", 4);
STRING_LITERAL(TMP1815, "Pattern", 7);
STRING_LITERAL(TMP1816, "User", 4);
NIM_CONST TY164302 TMP1799 = {((NimStringDesc*) &TMP1800),
((NimStringDesc*) &TMP1801),
((NimStringDesc*) &TMP1802),
((NimStringDesc*) &TMP1803),
((NimStringDesc*) &TMP1804),
((NimStringDesc*) &TMP1805),
((NimStringDesc*) &TMP1806),
((NimStringDesc*) &TMP1807),
((NimStringDesc*) &TMP1808),
((NimStringDesc*) &TMP1809),
((NimStringDesc*) &TMP1810),
((NimStringDesc*) &TMP1811),
((NimStringDesc*) &TMP1812),
((NimStringDesc*) &TMP1813),
((NimStringDesc*) &TMP1814),
((NimStringDesc*) &TMP1815),
((NimStringDesc*) &TMP1816)}
;
STRING_LITERAL(TMP1817, "unknown hint: ", 14);
STRING_LITERAL(TMP1819, "CannotOpenFile", 14);
STRING_LITERAL(TMP1820, "OctalEscape", 11);
STRING_LITERAL(TMP1821, "XIsNeverRead", 12);
STRING_LITERAL(TMP1822, "XmightNotBeenInit", 17);
STRING_LITERAL(TMP1823, "Deprecated", 10);
STRING_LITERAL(TMP1824, "ConfigDeprecated", 16);
STRING_LITERAL(TMP1825, "SmallLshouldNotBeUsed", 21);
STRING_LITERAL(TMP1826, "UnknownMagic", 12);
STRING_LITERAL(TMP1827, "RedefinitionOfLabel", 19);
STRING_LITERAL(TMP1828, "UnknownSubstitutionX", 20);
STRING_LITERAL(TMP1829, "LanguageXNotSupported", 21);
STRING_LITERAL(TMP1830, "FieldXNotSupported", 18);
STRING_LITERAL(TMP1831, "CommentXIgnored", 15);
STRING_LITERAL(TMP1832, "NilStmt", 7);
STRING_LITERAL(TMP1833, "TypelessParam", 13);
STRING_LITERAL(TMP1834, "DifferentHeaps", 14);
STRING_LITERAL(TMP1835, "WriteToForeignHeap", 18);
STRING_LITERAL(TMP1836, "UnsafeCode", 10);
STRING_LITERAL(TMP1837, "EachIdentIsTuple", 16);
STRING_LITERAL(TMP1838, "ShadowIdent", 11);
STRING_LITERAL(TMP1839, "ProveInit", 9);
STRING_LITERAL(TMP1840, "ProveField", 10);
STRING_LITERAL(TMP1841, "ProveIndex", 10);
STRING_LITERAL(TMP1842, "GcUnsafe", 8);
STRING_LITERAL(TMP1843, "GcUnsafe2", 9);
STRING_LITERAL(TMP1844, "Uninit", 6);
STRING_LITERAL(TMP1845, "GcMem", 5);
STRING_LITERAL(TMP1846, "Destructor", 10);
STRING_LITERAL(TMP1847, "LockLevel", 9);
STRING_LITERAL(TMP1848, "ResultShadowed", 14);
NIM_CONST TY164297 TMP1818 = {((NimStringDesc*) &TMP1819),
((NimStringDesc*) &TMP1820),
((NimStringDesc*) &TMP1821),
((NimStringDesc*) &TMP1822),
((NimStringDesc*) &TMP1823),
((NimStringDesc*) &TMP1824),
((NimStringDesc*) &TMP1825),
((NimStringDesc*) &TMP1826),
((NimStringDesc*) &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),
((NimStringDesc*) &TMP1845),
((NimStringDesc*) &TMP1846),
((NimStringDesc*) &TMP1847),
((NimStringDesc*) &TMP1848),
((NimStringDesc*) &TMP1816)}
;
STRING_LITERAL(TMP1849, "unknown warning: ", 17);
STRING_LITERAL(TMP1850, "on", 2);
STRING_LITERAL(TMP1851, "endb", 4);
STRING_LITERAL(TMP1852, "off", 3);
STRING_LITERAL(TMP1853, "native", 6);
STRING_LITERAL(TMP1854, "gdb", 3);
STRING_LITERAL(TMP1855, "expected endb|gdb but found ", 28);
STRING_LITERAL(TMP1856, "speed", 5);
STRING_LITERAL(TMP1857, "size", 4);
STRING_LITERAL(TMP1858, "gui", 3);
STRING_LITERAL(TMP1859, "console", 7);
STRING_LITERAL(TMP1860, "staticlib", 9);
STRING_LITERAL(TMP1861, "executable", 10);
STRING_LITERAL(TMP1862, "guiapp", 6);
STRING_LITERAL(TMP1863, "consoleapp", 10);
STRING_LITERAL(TMP1864, "library", 7);
STRING_LITERAL(TMP1865, "dll", 3);
STRING_LITERAL(TMP1866, "git hash: 3bef848a2cf60008f23e72571d7c20c0eb9fd728", 50);
STRING_LITERAL(TMP1867, "active boot switches: -d:release", 32);
STRING_LITERAL(TMP1868, "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\012Advanced options:\012  -o, --out:FILE           "
" set the output filename\012  --stdout                  output to s"
"tdout\012  --listFullPaths           list full paths in messages\012  "
"-w, --warnings:on|off     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 syst"
"em library path\012  --import:PATH             add an automatically"
" imported module\012  --include:PATH            add an automaticall"
"y included module\012  --nimcache:PATH           set the path used "
"for generated files\012  --header:FILE             the compiler sho"
"uld produce a .h file (FILE\012                            is optio"
"nal)\012  -c, --compileOnly         compile only; do not assemble o"
"r link\012  --noLinking               compile but do not link\012  --n"
"oMain                  do not generate a main procedure\012  --genS"
"cript               generate a compile script (in the \'nimcache\'"
"\012                            subdirectory named \'compile_$projec"
"t$scriptext\')\012  --os:SYMBOL               set the target operati"
"ng system (cross-compilation)\012  --cpu:SYMBOL              set th"
"e target processor (cross-compilation)\012  --debuginfo            "
"   enables debug information\012  -t, --passC:OPTION        pass an"
" option to the C compiler\012  -l, --passL:OPTION        pass an op"
"tion to the linker\012  --cincludes:DIR           modify the C comp"
"iler header search path\012  --clibdir:DIR             modify the l"
"inker library search path\012  --clib:LIBNAME            link an ad"
"ditional C library\012                            (you should omit "
"platform-specific extensions)\012  --genMapping              genera"
"te a mapping file containing\012                            (Nim, m"
"angled) identifier pairs\012  --project                 document th"
"e whole project (doc2)\012  --docSeeSrcUrl:url        activate \'see"
" source\' for doc and doc2 commands\012                            ("
"see doc.item.seesrc in config/nimdoc.cfg)\012  --lineDir:on|off    "
"      generation of #line directive on|off\012  --embedsrc         "
"       embeds the original source code as comments\012             "
"               in the generated output\012  --threadanalysis:on|off"
"   turn thread analysis on|off\012  --tlsEmulation:on|off     turn "
"thread local storage emulation on|off\012  --taintMode:on|off      "
"  turn taint mode on|off\012  --implicitStatic:on|off   turn implic"
"it compile time evaluation on|off\012  --patterns:on|off         tu"
"rn pattern matching on|off\012  --skipCfg                 do not re"
"ad the general configuration file\012  --skipUserCfg             do"
" not read the user\'s configuration file\012  --skipParentCfg       "
"    do not read the parent dirs\' configuration files\012  --skipPro"
"jCfg             do not read the project\'s configuration file\012  "
"--gc:refc|v2|markAndSweep|boehm|none\012                           "
" select the GC to use; default is \'refc\'\012  --index:on|off       "
"     turn index file generation on|off\012  --putenv:key=value     "
"   set an environment 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 search paths\012  --dynlibOverride:SYMBOL   marks SYMBO"
"L so that dynlib:SYMBOL\012                            has no effec"
"t and can be statically linked instead;\012                        "
"    symbol matching is fuzzy so\012                            that"
" --dynlibOverride:lua matches\012                            dynlib"
": \"liblua.so.3\"\012  --listCmd                 list the commands us"
"ed to execute external programs\012  --parallelBuild:0|1|...   perf"
"orm a parallel build\012                            value = number "
"of processors (0 for auto-detect)\012  --verbosity:0|1|2|3       se"
"t Nim\'s verbosity level (1 is default)\012  --experimental         "
"   enable experimental language features\012  -v, --version        "
"     show detailed version information\012", 4774);
STRING_LITERAL(TMP1871, "FILE,LINE,COLUMN", 16);
STRING_LITERAL(TMP1872, "DIRTY_BUFFER,ORIGINAL_FILE,LINE,COLUMN", 38);
STRING_LITERAL(TMP1876, "partial", 7);
STRING_LITERAL(TMP1877, "\'partial\' or \'none\' expected, but found ", 40);
NIM_BOOL helpwritten_177207;
NimStringDesc* arguments_178721;
extern Tgcheap48216 gch_48244;
extern NU8 hostos_160603;
extern NU8 hostcpu_160601;
extern NimStringDesc* command_155239;
extern TY123008* commandargs_155257;
extern NimStringDesc* gprojectname_155234;
extern NimStringDesc* gprojectpath_155235;
extern NimStringDesc* libpath_155233;
extern NIM_BOOL gnonimblepath_155144;
extern Tlinkedlist132028 searchpaths_155132;
extern Tlinkedlist132028 lazypaths_155133;
extern NimStringDesc* nimcachedir_155238;
extern NimStringDesc* outfile_155134;
extern NimStringDesc* docseesrcurl_155135;
extern NU32 gglobaloptions_155128;
extern NIM_BOOL gwholeproject_155139;
extern NU8 gselectedgc_155131;
extern NU32 goptions_155126;
extern NU64 gnotes_165011;
extern TY123008* cincludes_171474;
extern TY123008* clibs_171492;
extern TY123008* clinkedlibs_171510;
extern NimStringDesc* headerfile_155136;
extern TY123008* implicitimports_155276;
extern TY123008* implicitincludes_155294;
extern NU8 targetcpu_160600;
extern NU8 targetos_160602;
extern NI gverbosity_155137;
extern NI gnumberofprocessors_155138;
extern Tlineinfo164338 gtrackpos_165500;
extern NU8 gidecmd_155115;
extern NimStringDesc* gevalexpr_155140;
extern NIM_BOOL glistfullpaths_155142;
extern NIM_BOOL firstchariscs_168029;
extern NIM_BOOL gexperimentalmode_155145;
extern Tlineinfo164338 gcmdlineinfo_164921;

static N_INLINE(Tcell46346*, usrtocell_49846)(void* usr) {
	Tcell46346* result;
	result = 0;
	result = ((Tcell46346*) ((NI)((NU64)(((NI) (usr))) - (NU64)(((NI)sizeof(Tcell46346))))));
	return result;
}

static N_INLINE(void, rtladdzct_51404)(Tcell46346* c) {
	addzct_49817((&gch_48244.zct), c);
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	Tcell46346* c;
	c = usrtocell_49846(p);
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3;
		rtladdzct_51404(c);
	}
	LA3: ;
}

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

N_NIMCALL(NimStringDesc*, getcommandlinedesc_177058)(void) {
	NimStringDesc* result;
	NimStringDesc* LOC1;
	TY177061 LOC2;
	NimStringDesc* LOC3;
	result = 0;
	LOC1 = 0;
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC2[0] = copyString(((NimStringDesc*) &TMP1537));
	LOC2[1] = copyString(Os_160070[(hostos_160603)- 1].Field0);
	LOC2[2] = copyString(Cpu_160496[(hostcpu_160601)- 1].Field0);
	LOC3 = 0;
	LOC3 = nsuFormatOpenArray(((NimStringDesc*) &TMP1536), LOC2, 3);
	LOC1 = rawNewString(LOC3->Sup.len + 2036);
appendString(LOC1, LOC3);
appendString(LOC1, ((NimStringDesc*) &TMP1538));
	result = LOC1;
	return result;
}

N_NIMCALL(void, writecommandlineusage_177020)(void) {
	{
		NimStringDesc* LOC5;
		if (!!(helpwritten_177207)) goto LA3;
		LOC5 = 0;
		LOC5 = getcommandlinedesc_177058();
		msgwriteln_165536(LOC5);
		helpwritten_177207 = NIM_TRUE;
	}
	LA3: ;
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		Tcell46346* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_49846(src);
		(*c).refcount += ((NI) 8);
	}
	LA3: ;
	{
		Tcell46346* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_49846((*dest));
		{
			(*c).refcount -= ((NI) 8);
			if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA11;
			rtladdzct_51404(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

N_NIMCALL(NIM_BOOL, processargument_178738)(NU8 pass, Optparser176011* p, NI* argscount) {
	NIM_BOOL result;
	result = 0;
	{
		NimStringDesc* LOC5;
		if (!((*argscount) == ((NI) 0))) goto LA3;
		LOC5 = 0;
		LOC5 = command_155239; command_155239 = copyStringRC1((*p).key);
		if (LOC5) nimGCunrefNoCycle(LOC5);
	}
	goto LA1;
	LA3: ;
	{
		{
			NimStringDesc* LOC11;
			if (!(pass == ((NU8) 0))) goto LA9;
			commandargs_155257 = (TY123008*) incrSeq(&(commandargs_155257)->Sup, sizeof(NimStringDesc*));
			LOC11 = 0;
			LOC11 = commandargs_155257->data[commandargs_155257->Sup.len-1]; commandargs_155257->data[commandargs_155257->Sup.len-1] = copyStringRC1((*p).key);
			if (LOC11) nimGCunrefNoCycle(LOC11);
		}
		LA9: ;
		{
			if (!((*argscount) == ((NI) 1))) goto LA14;
			asgnRefNoCycle((void**) (&gprojectname_155234), nosunixToNativePath((*p).key, ((NimStringDesc*) &TMP710)));
			asgnRefNoCycle((void**) (&arguments_178721), npocmdLineRest(p));
			result = NIM_TRUE;
		}
		LA14: ;
	}
	LA1: ;
	(*argscount) += ((NI) 1);
	return result;
}

static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c) {
	(*dest).data[((*dest).Sup.len)- 0] = c;
	(*dest).data[((NI)((*dest).Sup.len + ((NI) 1)))- 0] = 0;
	(*dest).Sup.len += ((NI) 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)), (*a).Sup.len);
	LOC11 = (LOC13 == ((NI32) 0));
	LA12: ;
	result = LOC11;
	goto BeforeRet;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(NimStringDesc*, addprefix_177220)(NimStringDesc* switch_177222) {
	NimStringDesc* result;
	result = 0;
	{
		NimStringDesc* LOC5;
		if (!((switch_177222 ? switch_177222->Sup.len : 0) == ((NI) 1))) goto LA3;
		LOC5 = 0;
		LOC5 = rawNewString(switch_177222->Sup.len + 1);
appendString(LOC5, ((NimStringDesc*) &TMP1660));
appendString(LOC5, switch_177222);
		result = LOC5;
	}
	goto LA1;
	LA3: ;
	{
		NimStringDesc* LOC7;
		LOC7 = 0;
		LOC7 = rawNewString(switch_177222->Sup.len + 2);
appendString(LOC7, ((NimStringDesc*) &TMP1661));
appendString(LOC7, switch_177222);
		result = LOC7;
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, expectarg_177373)(NimStringDesc* switch_177375, NimStringDesc* arg, NU8 pass, Tlineinfo164338 info) {
	{
		NimStringDesc* LOC5;
		if (!((arg) && (arg)->Sup.len == 0)) goto LA3;
		LOC5 = 0;
		LOC5 = addprefix_177220(switch_177375);
		localerror_166155(info, ((NU16) 45), LOC5);
	}
	LA3: ;
}

N_NIMCALL(NimStringDesc*, processpath_177990)(NimStringDesc* path, NIM_BOOL notrelativetoproj) {
	NimStringDesc* result;
	NimStringDesc* p;
	TY177996 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_100351(path, 36);
		LA7: ;
		LOC3 = LOC4;
		if (LOC3) goto LA8;
		LOC3 = ((NU8)(path->data[((NI) 0)]) == (NU8)(46));
		LA8: ;
		if (!LOC3) goto LA9;
		p = path;
	}
	goto LA1;
	LA9: ;
	{
		p = HEX2F_118492(gprojectpath_155235, path);
	}
	LA1: ;
	memset((void*)LOC12, 0, sizeof(LOC12));
	LOC12[0] = copyString(((NimStringDesc*) &TMP1663));
	LOC12[1] = getprefixdir_155365();
	LOC12[2] = copyString(((NimStringDesc*) &TMP1664));
	LOC12[3] = getprefixdir_155365();
	LOC12[4] = copyString(((NimStringDesc*) &TMP1645));
	LOC12[5] = copyString(libpath_155233);
	LOC12[6] = copyString(((NimStringDesc*) &TMP1665));
	LOC13 = 0;
	LOC13 = nosgetHomeDir();
	LOC12[7] = removetrailingdirsep_155418(LOC13);
	LOC12[8] = copyString(((NimStringDesc*) &TMP1667));
	LOC12[9] = copyString(gprojectname_155234);
	LOC12[10] = copyString(((NimStringDesc*) &TMP1668));
	LOC12[11] = copyString(gprojectpath_155235);
	LOC14 = 0;
	LOC14 = nsuFormatOpenArray(p, LOC12, 12);
	result = nosunixToNativePath(LOC14, ((NimStringDesc*) &TMP710));
	return result;
}

N_NIMCALL(void, expectnoarg_177385)(NimStringDesc* switch_177387, NimStringDesc* arg, NU8 pass, Tlineinfo164338 info) {
	{
		NimStringDesc* LOC5;
		if (!!(((arg) && (arg)->Sup.len == 0))) goto LA3;
		LOC5 = 0;
		LOC5 = addprefix_177220(switch_177387);
		localerror_166155(info, ((NU16) 46), LOC5);
	}
	LA3: ;
}

static N_INLINE(NimStringDesc*, HEX5BHEX5D_87567)(NimStringDesc* s, Slice87574 x) {
	NimStringDesc* result;
	result = 0;
	result = copyStrLast(s, x.a, x.b);
	return result;
}

static N_INLINE(Slice87574, HEX2EHEX2E_109273)(NI a, NI b) {
	Slice87574 result;
	memset((void*)(&result), 0, sizeof(result));
	result.a = a;
	result.b = b;
	return result;
}

N_NIMCALL(void, processcompile_177507)(NimStringDesc* filename) {
	NimStringDesc* found;
	NimStringDesc* trunc;
	NimStringDesc* LOC5;
	found = findfile_156339(filename);
	{
		if (!((found) && (found)->Sup.len == 0)) goto LA3;
		found = copyString(filename);
	}
	LA3: ;
	trunc = noschangeFileExt(found, ((NimStringDesc*) &TMP710));
	addexternalfiletocompile_172465(found);
	LOC5 = 0;
	LOC5 = completecfilepath_171912(trunc, NIM_FALSE);
	addfiletolink_171954(LOC5);
}

N_NIMCALL(void, processonoffswitch_177301)(NU32 op, NimStringDesc* arg, NU8 pass, Tlineinfo164338 info) {
	NU16 LOC1;
	LOC1 = 0;
	LOC1 = whichkeyword_173396(arg);
	switch (LOC1) {
	case ((NU16) 139):
	{
		goptions_155126 = (goptions_155126 | op);
	}
	break;
	case ((NU16) 140):
	{
		goptions_155126 = (goptions_155126 & ~ op);
	}
	break;
	default:
	{
		localerror_166155(info, ((NU16) 50), arg);
	}
	break;
	}
}

N_NIMCALL(void, invalidcmdlineoption_177230)(NU8 pass, NimStringDesc* switch_177233, Tlineinfo164338 info) {
	{
		if (!eqStrings(switch_177233, ((NimStringDesc*) &TMP1798))) goto LA3;
		localerror_166155(info, ((NU16) 44), ((NimStringDesc*) &TMP1660));
	}
	goto LA1;
	LA3: ;
	{
		NimStringDesc* LOC6;
		LOC6 = 0;
		LOC6 = addprefix_177220(switch_177233);
		localerror_166155(info, ((NU16) 44), LOC6);
	}
	LA1: ;
}

N_NIMCALL(void, processspecificnote_177397)(NimStringDesc* arg, NU16 state, NU8 pass, Tlineinfo164338 info, NimStringDesc* orig) {
	NimStringDesc* id;
	NI i;
	NU16 n;
	NimStringDesc* LOC36;
	NU16 LOC37;
	id = copyString(((NimStringDesc*) &TMP710));
	i = ((NI) 0);
	n = ((NU16) 261);
	{
		while (1) {
			NIM_BOOL LOC3;
			LOC3 = 0;
			LOC3 = (i < (arg ? arg->Sup.len : 0));
			if (!(LOC3)) goto LA4;
			LOC3 = !(((NU8)(arg->data[i]) == (NU8)(93)));
			LA4: ;
			if (!LOC3) goto LA2;
			id = addChar(id, arg->data[i]);
			i += ((NI) 1);
		} LA2: ;
	}
	{
		NIM_BOOL LOC7;
		LOC7 = 0;
		LOC7 = (i < (arg ? arg->Sup.len : 0));
		if (!(LOC7)) goto LA8;
		LOC7 = ((NU8)(arg->data[i]) == (NU8)(93));
		LA8: ;
		if (!LOC7) goto LA9;
		i += ((NI) 1);
	}
	goto LA5;
	LA9: ;
	{
		invalidcmdlineoption_177230(pass, orig, info);
	}
	LA5: ;
	{
		NIM_BOOL LOC14;
		LOC14 = 0;
		LOC14 = (i < (arg ? arg->Sup.len : 0));
		if (!(LOC14)) goto LA15;
		LOC14 = (((NU8)(arg->data[i])) == ((NU8)(58)) || ((NU8)(arg->data[i])) == ((NU8)(61)));
		LA15: ;
		if (!LOC14) goto LA16;
		i += ((NI) 1);
	}
	goto LA12;
	LA16: ;
	{
		invalidcmdlineoption_177230(pass, orig, info);
	}
	LA12: ;
	{
		NI x;
		if (!(state == ((NU16) 112))) goto LA21;
		x = findstr_173344(TMP1799, 17, id);
		{
			if (!(((NI) 0) <= x)) goto LA25;
			n = ((NU16) (((NU16) ((NI)(x + ((NI) 261))))));
		}
		goto LA23;
		LA25: ;
		{
			NimStringDesc* LOC28;
			LOC28 = 0;
			LOC28 = rawNewString(id->Sup.len + 14);
appendString(LOC28, ((NimStringDesc*) &TMP1817));
appendString(LOC28, id);
			localerror_166166(info, LOC28);
		}
		LA23: ;
	}
	goto LA19;
	LA21: ;
	{
		NI x;
		x = findstr_173344(TMP1818, 31, id);
		{
			if (!(((NI) 0) <= x)) goto LA32;
			n = ((NU16) (((NU16) ((NI)(x + ((NI) 230))))));
		}
		goto LA30;
		LA32: ;
		{
			NimStringDesc* LOC35;
			LOC35 = 0;
			LOC35 = rawNewString(id->Sup.len + 17);
appendString(LOC35, ((NimStringDesc*) &TMP1849));
appendString(LOC35, id);
			localerror_166166(info, LOC35);
		}
		LA30: ;
	}
	LA19: ;
	LOC36 = 0;
	LOC36 = copyStr(arg, i);
	LOC37 = 0;
	LOC37 = whichkeyword_173396(LOC36);
	switch (LOC37) {
	case ((NU16) 139):
	{
		gnotes_165011 |= ((NI64)1)<<(((((NU16) (n))- 230))%(sizeof(NI64)*8));
	}
	break;
	case ((NU16) 140):
	{
		gnotes_165011 &= ~(((NI64)1) << (((((NU16) (n))- 230)) % (sizeof(NI64)*8)));
	}
	break;
	default:
	{
		localerror_166155(info, ((NU16) 50), arg);
	}
	break;
	}
}

N_NIMCALL(void, processonoffswitchg_177337)(NU32 op, NimStringDesc* arg, NU8 pass, Tlineinfo164338 info) {
	NU16 LOC1;
	LOC1 = 0;
	LOC1 = whichkeyword_173396(arg);
	switch (LOC1) {
	case ((NU16) 139):
	{
		gglobaloptions_155128 = (gglobaloptions_155128 | op);
	}
	break;
	case ((NU16) 140):
	{
		gglobaloptions_155128 = (gglobaloptions_155128 & ~ op);
	}
	break;
	default:
	{
		localerror_166155(info, ((NU16) 50), arg);
	}
	break;
	}
}

N_NIMCALL(void, writeversioninfo_177107)(NU8 pass) {
	{
		TY177061 LOC5;
		NimStringDesc* LOC6;
		if (!(pass == ((NU8) 0))) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = copyString(((NimStringDesc*) &TMP1537));
		LOC5[1] = copyString(Os_160070[(hostos_160603)- 1].Field0);
		LOC5[2] = copyString(Cpu_160496[(hostcpu_160601)- 1].Field0);
		LOC6 = 0;
		LOC6 = nsuFormatOpenArray(((NimStringDesc*) &TMP1536), LOC5, 3);
		msgwriteln_165536(LOC6);
		msgwriteln_165536(((NimStringDesc*) &TMP1866));
		msgwriteln_165536(((NimStringDesc*) &TMP1867));
		msgquit_165104(((NI8) 0));
	}
	LA3: ;
}

N_NIMCALL(void, writeadvancedusage_177087)(NU8 pass) {
	{
		NimStringDesc* LOC5;
		TY177061 LOC6;
		NimStringDesc* LOC7;
		if (!(pass == ((NU8) 0))) goto LA3;
		LOC5 = 0;
		memset((void*)LOC6, 0, sizeof(LOC6));
		LOC6[0] = copyString(((NimStringDesc*) &TMP1537));
		LOC6[1] = copyString(Os_160070[(hostos_160603)- 1].Field0);
		LOC6[2] = copyString(Cpu_160496[(hostcpu_160601)- 1].Field0);
		LOC7 = 0;
		LOC7 = nsuFormatOpenArray(((NimStringDesc*) &TMP1536), LOC6, 3);
		LOC5 = rawNewString(LOC7->Sup.len + 4774);
appendString(LOC5, LOC7);
appendString(LOC5, ((NimStringDesc*) &TMP1868));
		msgwriteln_165536(LOC5);
		msgquit_165104(((NI8) 0));
	}
	LA3: ;
}

N_NIMCALL(void, helponerror_177069)(NU8 pass) {
	{
		NimStringDesc* LOC5;
		if (!(pass == ((NU8) 0))) goto LA3;
		LOC5 = 0;
		LOC5 = getcommandlinedesc_177058();
		msgwriteln_165536(LOC5);
		msgquit_165104(((NI8) 0));
	}
	LA3: ;
}

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

static N_INLINE(Tlineinfo164338, newlineinfo_164878)(NimStringDesc* filename, NI line, NI col) {
	Tlineinfo164338 result;
	NI32 LOC1;
	memset((void*)(&result), 0, sizeof(result));
	LOC1 = 0;
	LOC1 = fileinfoidx_164853(filename);
	result = newlineinfo_164866(LOC1, line, col);
	return result;
}

N_NIMCALL(void, track_178030)(NimStringDesc* arg, Tlineinfo164338 info) {
	TY123008* a;
	NI line;
	NI column;
	a = nsuSplitChar(arg, 44);
	{
		if (!!(((a ? a->Sup.len : 0) == ((NI) 3)))) goto LA3;
		localerror_166155(info, ((NU16) 23), ((NimStringDesc*) &TMP1871));
	}
	LA3: ;
	line = 0;
	column = 0;
	{
		NI LOC7;
		LOC7 = 0;
		LOC7 = npuParseInt(a->data[((NI) 1)], (&line), ((NI) 0));
		if (!(LOC7 <= ((NI) 0))) goto LA8;
		localerror_166155(info, ((NU16) 14), a->data[((NI) 1)]);
	}
	LA8: ;
	{
		NI LOC12;
		LOC12 = 0;
		LOC12 = npuParseInt(a->data[((NI) 2)], (&column), ((NI) 0));
		if (!(LOC12 <= ((NI) 0))) goto LA13;
		localerror_166155(info, ((NU16) 14), a->data[((NI) 2)]);
	}
	LA13: ;
	gtrackpos_165500 = newlineinfo_164878(a->data[((NI) 0)], line, column);
}

N_NIMCALL(void, trackdirty_178004)(NimStringDesc* arg, Tlineinfo164338 info) {
	TY123008* a;
	NI line;
	NI column;
	NI32 dirtyoriginalidx;
	a = nsuSplitChar(arg, 44);
	{
		if (!!(((a ? a->Sup.len : 0) == ((NI) 4)))) goto LA3;
		localerror_166155(info, ((NU16) 23), ((NimStringDesc*) &TMP1872));
	}
	LA3: ;
	line = 0;
	column = 0;
	{
		NI LOC7;
		LOC7 = 0;
		LOC7 = npuParseInt(a->data[((NI) 2)], (&line), ((NI) 0));
		if (!(LOC7 <= ((NI) 0))) goto LA8;
		localerror_166155(info, ((NU16) 14), a->data[((NI) 1)]);
	}
	LA8: ;
	{
		NI LOC12;
		LOC12 = 0;
		LOC12 = npuParseInt(a->data[((NI) 3)], (&column), ((NI) 0));
		if (!(LOC12 <= ((NI) 0))) goto LA13;
		localerror_166155(info, ((NU16) 14), a->data[((NI) 2)]);
	}
	LA13: ;
	dirtyoriginalidx = fileinfoidx_164853(a->data[((NI) 1)]);
	{
		if (!(((NI32) 0) <= dirtyoriginalidx)) goto LA17;
		setdirtyfile_165283(dirtyoriginalidx, a->data[((NI) 0)]);
	}
	LA17: ;
	gtrackpos_165500 = newlineinfo_164866(dirtyoriginalidx, line, column);
}

N_NIMCALL(void, dynliboverride_178055)(NimStringDesc* switch_178057, NimStringDesc* arg, NU8 pass, Tlineinfo164338 info) {
	{
		if (!((6 &(1<<((pass)&7)))!=0)) goto LA3;
		expectarg_177373(switch_178057, arg, pass, info);
		incldynliboverride_156472(arg);
	}
	LA3: ;
}

N_NIMCALL(void, processswitch_177040)(NimStringDesc* switch_177042, NimStringDesc* arg, NU8 pass, Tlineinfo164338 info) {
	NU8 theos;
	NU8 cpu;
	NimStringDesc* key;
	NimStringDesc* val;
	NimStringDesc* LOC1;
	theos = 0;
	cpu = 0;
	key = 0;
	val = 0;
	LOC1 = 0;
	LOC1 = nsuNormalize(switch_177042);
	switch (hashString(LOC1) & 127) {
	case 0: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1594))) goto LA32;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1646))) goto LA77;
break;
	case 1: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1632))) goto LA65;
break;
	case 2: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1598))) goto LA35;
break;
	case 3: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1591))) goto LA29;
break;
	case 4: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1567))) goto LA10;
break;
	case 5: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1568))) goto LA10;
break;
	case 6: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1603))) goto LA40;
break;
	case 8: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1589))) goto LA27;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1642))) goto LA73;
break;
	case 11: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1569))) goto LA11;
break;
	case 12: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1605))) goto LA42;
break;
	case 14: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1601))) goto LA38;
break;
	case 16: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1562))) goto LA7;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1586))) goto LA24;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1625))) goto LA59;
break;
	case 17: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1614))) goto LA50;
break;
	case 20: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1653))) goto LA84;
break;
	case 23: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1557))) goto LA3;
break;
	case 25: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1584))) goto LA23;
break;
	case 27: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1587))) goto LA25;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1648))) goto LA79;
break;
	case 28: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1615))) goto LA51;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1658))) goto LA89;
break;
	case 29: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1626))) goto LA60;
break;
	case 32: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1585))) goto LA23;
break;
	case 34: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1627))) goto LA61;
break;
	case 35: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1588))) goto LA26;
break;
	case 36: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1564))) goto LA8;
break;
	case 37: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1609))) goto LA45;
break;
	case 41: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1623))) goto LA57;
break;
	case 43: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1611))) goto LA47;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1651))) goto LA82;
break;
	case 44: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1644))) goto LA75;
break;
	case 45: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1583))) goto LA22;
break;
	case 46: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1608))) goto LA44;
break;
	case 47: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1592))) goto LA30;
break;
	case 48: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1556))) goto LA3;
break;
	case 51: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1590))) goto LA28;
break;
	case 53: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1554))) goto LA2;
break;
	case 55: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1650))) goto LA81;
break;
	case 56: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1560))) goto LA5;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1602))) goto LA39;
break;
	case 57: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1654))) goto LA85;
break;
	case 58: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1580))) goto LA20;
break;
	case 61: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1575))) goto LA16;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1600))) goto LA37;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1655))) goto LA86;
break;
	case 62: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1574))) goto LA15;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1604))) goto LA41;
break;
	case 66: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1606))) goto LA42;
break;
	case 67: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1622))) goto LA56;
break;
	case 68: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1593))) goto LA31;
break;
	case 69: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1613))) goto LA49;
break;
	case 70: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1559))) goto LA4;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1634))) goto LA67;
break;
	case 71: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1628))) goto LA62;
break;
	case 72: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1579))) goto LA19;
break;
	case 73: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1570))) goto LA11;
break;
	case 74: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1647))) goto LA78;
break;
	case 76: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1620))) goto LA54;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1657))) goto LA88;
break;
	case 78: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1612))) goto LA48;
break;
	case 79: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1616))) goto LA51;
break;
	case 82: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1572))) goto LA13;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1629))) goto LA63;
break;
	case 83: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1582))) goto LA21;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1641))) goto LA72;
break;
	case 84: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1610))) goto LA46;
break;
	case 85: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1635))) goto LA67;
break;
	case 89: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1577))) goto LA17;
break;
	case 90: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1597))) goto LA34;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1659))) goto LA90;
break;
	case 91: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1643))) goto LA74;
break;
	case 94: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1639))) goto LA70;
break;
	case 97: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1596))) goto LA33;
break;
	case 98: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1607))) goto LA43;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1631))) goto LA64;
break;
	case 101: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1595))) goto LA32;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1617))) goto LA52;
break;
	case 102: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1565))) goto LA9;
break;
	case 105: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1630))) goto LA64;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1640))) goto LA71;
break;
	case 106: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1638))) goto LA69;
break;
	case 108: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1624))) goto LA58;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1637))) goto LA69;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1645))) goto LA76;
break;
	case 109: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1578))) goto LA18;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1619))) goto LA53;
break;
	case 110: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1581))) goto LA20;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1636))) goto LA68;
break;
	case 111: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1652))) goto LA83;
break;
	case 112: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1573))) goto LA14;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1656))) goto LA87;
break;
	case 115: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1561))) goto LA6;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1621))) goto LA55;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1649))) goto LA80;
break;
	case 117: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1566))) goto LA9;
break;
	case 118: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1571))) goto LA12;
break;
	case 120: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1618))) goto LA52;
break;
	case 121: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1555))) goto LA2;
break;
	case 122: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1599))) goto LA36;
break;
	case 123: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1633))) goto LA66;
break;
	case 124: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1576))) goto LA17;
break;
	case 125: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1558))) goto LA4;
break;
	case 127: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1563))) goto LA7;
break;
	}
	goto LA91;
	LA2: ;
	{
		NimStringDesc* LOC94;
		expectarg_177373(switch_177042, arg, pass, info);
		LOC94 = 0;
		LOC94 = processpath_177990(arg, NIM_FALSE);
		addpath_174012(LOC94, info);
	}
	goto LA92;
	LA3: ;
	{
		{
			NIM_BOOL LOC98;
			NimStringDesc* path;
			LOC98 = 0;
			LOC98 = ((6 &(1<<((pass)&7)))!=0);
			if (!(LOC98)) goto LA99;
			LOC98 = !(gnonimblepath_155144);
			LA99: ;
			if (!LOC98) goto LA100;
			expectarg_177373(switch_177042, arg, pass, info);
			path = processpath_177990(arg, NIM_TRUE);
			nimblepath_174347(path, info);
		}
		LA100: ;
	}
	goto LA92;
	LA4: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gnonimblepath_155144 = NIM_TRUE;
	}
	goto LA92;
	LA5: ;
	{
		NimStringDesc* path;
		expectarg_177373(switch_177042, arg, pass, info);
		path = processpath_177990(arg, NIM_FALSE);
		excludepath_132807((&searchpaths_155132), path);
		excludepath_132807((&lazypaths_155133), path);
		{
			NIM_BOOL LOC106;
			NimStringDesc* strippedpath;
			Slice87574 LOC110;
			LOC106 = 0;
			LOC106 = (((NI) 0) < (path ? path->Sup.len : 0));
			if (!(LOC106)) goto LA107;
			LOC106 = ((NU8)(path->data[(NI)((path ? path->Sup.len : 0) - ((NI) 1))]) == (NU8)(92));
			LA107: ;
			if (!LOC106) goto LA108;
			LOC110 = HEX2EHEX2E_109273(((NI) 0), (NI)((path ? path->Sup.len : 0) - ((NI) 2)));
			strippedpath = HEX5BHEX5D_87567(path, LOC110);
			excludepath_132807((&searchpaths_155132), strippedpath);
			excludepath_132807((&lazypaths_155133), strippedpath);
		}
		LA108: ;
	}
	goto LA92;
	LA6: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		asgnRefNoCycle((void**) (&nimcachedir_155238), processpath_177990(arg, NIM_FALSE));
	}
	goto LA92;
	LA7: ;
	{
		NimStringDesc* LOC113;
		expectarg_177373(switch_177042, arg, pass, info);
		LOC113 = 0;
		LOC113 = outfile_155134; outfile_155134 = copyStringRC1(arg);
		if (LOC113) nimGCunrefNoCycle(LOC113);
	}
	goto LA92;
	LA8: ;
	{
		NimStringDesc* LOC115;
		expectarg_177373(switch_177042, arg, pass, info);
		LOC115 = 0;
		LOC115 = docseesrcurl_155135; docseesrcurl_155135 = copyStringRC1(arg);
		if (LOC115) nimGCunrefNoCycle(LOC115);
	}
	goto LA92;
	LA9: ;
	{
	}
	goto LA92;
	LA10: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		definesymbol_169013(arg);
	}
	goto LA92;
	LA11: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		undefsymbol_169022(arg);
	}
	goto LA92;
	LA12: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
	}
	goto LA92;
	LA13: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		{
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA123;
			processcompile_177507(arg);
		}
		LA123: ;
	}
	goto LA92;
	LA14: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		{
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA128;
			addfiletolink_171954(arg);
		}
		LA128: ;
	}
	goto LA92;
	LA15: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 7))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA16: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 27))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA17: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 4))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA18: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 5))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA19: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 20))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA20: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 1))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA21: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gwholeproject_155139 = NIM_TRUE;
	}
	goto LA92;
	LA22: ;
	{
		NimStringDesc* LOC138;
		expectarg_177373(switch_177042, arg, pass, info);
		LOC138 = 0;
		LOC138 = nsuNormalize(arg);
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1788))) goto LA139;
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1789))) goto LA140;
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1790))) goto LA141;
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1791))) goto LA142;
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1792))) goto LA143;
		if (eqStrings(LOC138, ((NimStringDesc*) &TMP1793))) goto LA144;
		goto LA145;
		LA139: ;
		{
			gselectedgc_155131 = ((NU8) 1);
			definesymbol_169013(((NimStringDesc*) &TMP1794));
		}
		goto LA146;
		LA140: ;
		{
			gselectedgc_155131 = ((NU8) 3);
		}
		goto LA146;
		LA141: ;
		{
			gselectedgc_155131 = ((NU8) 4);
		}
		goto LA146;
		LA142: ;
		{
			gselectedgc_155131 = ((NU8) 2);
			definesymbol_169013(((NimStringDesc*) &TMP1795));
		}
		goto LA146;
		LA143: ;
		{
			gselectedgc_155131 = ((NU8) 5);
			definesymbol_169013(((NimStringDesc*) &TMP1796));
		}
		goto LA146;
		LA144: ;
		{
			gselectedgc_155131 = ((NU8) 0);
			definesymbol_169013(((NimStringDesc*) &TMP1797));
		}
		goto LA146;
		LA145: ;
		{
			localerror_166155(info, ((NU16) 51), arg);
		}
		LA146: ;
	}
	goto LA92;
	LA23: ;
	{
		processonoffswitch_177301(2048, arg, pass, info);
	}
	goto LA92;
	LA24: ;
	{
		processspecificnote_177397(arg, ((NU16) 111), pass, info, switch_177042);
	}
	goto LA92;
	LA25: ;
	{
		processspecificnote_177397(arg, ((NU16) 112), pass, info, switch_177042);
	}
	goto LA92;
	LA26: ;
	{
		processonoffswitch_177301(4096, arg, pass, info);
	}
	goto LA92;
	LA27: ;
	{
		processonoffswitchg_177337(8388608, arg, pass, info);
	}
	goto LA92;
	LA28: ;
	{
		processonoffswitch_177301(32768, arg, pass, info);
	}
	goto LA92;
	LA29: ;
	{
		processonoffswitch_177301(65536, arg, pass, info);
	}
	goto LA92;
	LA30: ;
	{
		NimStringDesc* LOC162;
		LOC162 = 0;
		LOC162 = nsuNormalize(arg);
		if (eqStrings(LOC162, ((NimStringDesc*) &TMP1850))) goto LA163;
		if (eqStrings(LOC162, ((NimStringDesc*) &TMP1851))) goto LA163;
		if (eqStrings(LOC162, ((NimStringDesc*) &TMP1852))) goto LA164;
		if (eqStrings(LOC162, ((NimStringDesc*) &TMP1853))) goto LA165;
		if (eqStrings(LOC162, ((NimStringDesc*) &TMP1854))) goto LA165;
		goto LA166;
		LA163: ;
		{
			goptions_155126 |= ((NI32)1)<<((((NU8) 17))%(sizeof(NI32)*8));
			definesymbol_169013(((NimStringDesc*) &TMP1851));
		}
		goto LA167;
		LA164: ;
		{
			goptions_155126 &= ~(((NI32)1) << ((((NU8) 17)) % (sizeof(NI32)*8)));
			undefsymbol_169022(((NimStringDesc*) &TMP1851));
		}
		goto LA167;
		LA165: ;
		{
			gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 7))%(sizeof(NI32)*8));
			goptions_155126 = ((goptions_155126 | 1024) & ~ 131072);
			undefsymbol_169022(((NimStringDesc*) &TMP1851));
		}
		goto LA167;
		LA166: ;
		{
			NimStringDesc* LOC172;
			LOC172 = 0;
			LOC172 = rawNewString(arg->Sup.len + 28);
appendString(LOC172, ((NimStringDesc*) &TMP1855));
appendString(LOC172, arg);
			localerror_166166(info, LOC172);
		}
		LA167: ;
	}
	goto LA92;
	LA31: ;
	{
		processonoffswitch_177301(524288, arg, pass, info);
		{
			if (!((goptions_155126 &(1<<((((NU8) 19))&31)))!=0)) goto LA176;
			definesymbol_169013(((NimStringDesc*) &TMP1593));
		}
		goto LA174;
		LA176: ;
		{
			undefsymbol_169022(((NimStringDesc*) &TMP1593));
		}
		LA174: ;
	}
	goto LA92;
	LA32: ;
	{
		processonoffswitch_177301(1022, arg, pass, info);
	}
	goto LA92;
	LA33: ;
	{
		processonoffswitch_177301(384, arg, pass, info);
	}
	goto LA92;
	LA34: ;
	{
		processonoffswitch_177301(256, arg, pass, info);
	}
	goto LA92;
	LA35: ;
	{
		processonoffswitch_177301(128, arg, pass, info);
	}
	goto LA92;
	LA36: ;
	{
		processonoffswitch_177301(2, arg, pass, info);
	}
	goto LA92;
	LA37: ;
	{
		processonoffswitch_177301(4, arg, pass, info);
	}
	goto LA92;
	LA38: ;
	{
		processonoffswitch_177301(8, arg, pass, info);
	}
	goto LA92;
	LA39: ;
	{
		processonoffswitch_177301(16, arg, pass, info);
	}
	goto LA92;
	LA40: ;
	{
		processonoffswitch_177301(32, arg, pass, info);
	}
	goto LA92;
	LA41: ;
	{
		processonoffswitch_177301(1024, arg, pass, info);
	}
	goto LA92;
	LA42: ;
	{
		processonoffswitch_177301(512, arg, pass, info);
	}
	goto LA92;
	LA43: ;
	{
		processonoffswitchg_177337(4, arg, pass, info);
	}
	goto LA92;
	LA44: ;
	{
		processonoffswitchg_177337(2097152, arg, pass, info);
	}
	goto LA92;
	LA45: ;
	{
		processonoffswitchg_177337(33554432, arg, pass, info);
	}
	goto LA92;
	LA46: ;
	{
		processonoffswitchg_177337(16777216, arg, pass, info);
	}
	goto LA92;
	LA47: ;
	{
		processonoffswitch_177301(1048576, arg, pass, info);
	}
	goto LA92;
	LA48: ;
	{
		processonoffswitch_177301(2097152, arg, pass, info);
	}
	goto LA92;
	LA49: ;
	{
		NimStringDesc* LOC197;
		expectarg_177373(switch_177042, arg, pass, info);
		LOC197 = 0;
		LOC197 = nsuNormalize(arg);
		if (eqStrings(LOC197, ((NimStringDesc*) &TMP1856))) goto LA198;
		if (eqStrings(LOC197, ((NimStringDesc*) &TMP1857))) goto LA199;
		if (eqStrings(LOC197, ((NimStringDesc*) &TMP1793))) goto LA200;
		goto LA201;
		LA198: ;
		{
			goptions_155126 |= ((NI32)1)<<((((NU8) 13))%(sizeof(NI32)*8));
			goptions_155126 &= ~(((NI32)1) << ((((NU8) 14)) % (sizeof(NI32)*8)));
		}
		goto LA202;
		LA199: ;
		{
			goptions_155126 &= ~(((NI32)1) << ((((NU8) 13)) % (sizeof(NI32)*8)));
			goptions_155126 |= ((NI32)1)<<((((NU8) 14))%(sizeof(NI32)*8));
		}
		goto LA202;
		LA200: ;
		{
			goptions_155126 &= ~(((NI32)1) << ((((NU8) 13)) % (sizeof(NI32)*8)));
			goptions_155126 &= ~(((NI32)1) << ((((NU8) 14)) % (sizeof(NI32)*8)));
		}
		goto LA202;
		LA201: ;
		{
			localerror_166155(info, ((NU16) 52), arg);
		}
		LA202: ;
	}
	goto LA92;
	LA50: ;
	{
		NimStringDesc* LOC208;
		expectarg_177373(switch_177042, arg, pass, info);
		LOC208 = 0;
		LOC208 = nsuNormalize(arg);
		if (eqStrings(LOC208, ((NimStringDesc*) &TMP1858))) goto LA209;
		if (eqStrings(LOC208, ((NimStringDesc*) &TMP1859))) goto LA210;
		if (eqStrings(LOC208, ((NimStringDesc*) &TMP1645))) goto LA211;
		if (eqStrings(LOC208, ((NimStringDesc*) &TMP1860))) goto LA212;
		goto LA213;
		LA209: ;
		{
			gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 10))%(sizeof(NI32)*8));
			definesymbol_169013(((NimStringDesc*) &TMP1861));
			definesymbol_169013(((NimStringDesc*) &TMP1862));
		}
		goto LA214;
		LA210: ;
		{
			gglobaloptions_155128 &= ~(((NI32)1) << ((((NU8) 10)) % (sizeof(NI32)*8)));
			definesymbol_169013(((NimStringDesc*) &TMP1861));
			definesymbol_169013(((NimStringDesc*) &TMP1863));
		}
		goto LA214;
		LA211: ;
		{
			gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 8))%(sizeof(NI32)*8));
			gglobaloptions_155128 &= ~(((NI32)1) << ((((NU8) 10)) % (sizeof(NI32)*8)));
			definesymbol_169013(((NimStringDesc*) &TMP1864));
			definesymbol_169013(((NimStringDesc*) &TMP1865));
		}
		goto LA214;
		LA212: ;
		{
			gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 9))%(sizeof(NI32)*8));
			gglobaloptions_155128 &= ~(((NI32)1) << ((((NU8) 10)) % (sizeof(NI32)*8)));
			definesymbol_169013(((NimStringDesc*) &TMP1864));
			definesymbol_169013(((NimStringDesc*) &TMP1860));
		}
		goto LA214;
		LA213: ;
		{
			localerror_166155(info, ((NU16) 53), arg);
		}
		LA214: ;
	}
	goto LA92;
	LA51: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		{
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA223;
			addcompileoption_171866(arg);
		}
		LA223: ;
	}
	goto LA92;
	LA52: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		{
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA228;
			addlinkoption_171856(arg);
		}
		LA228: ;
	}
	goto LA92;
	LA53: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		{
			NimStringDesc* LOC235;
			NimStringDesc* LOC236;
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA233;
			LOC235 = 0;
			LOC235 = processpath_177990(arg, NIM_FALSE);
			cincludes_171474 = (TY123008*) incrSeq(&(cincludes_171474)->Sup, sizeof(NimStringDesc*));
			LOC236 = 0;
			LOC236 = cincludes_171474->data[cincludes_171474->Sup.len-1]; cincludes_171474->data[cincludes_171474->Sup.len-1] = copyStringRC1(LOC235);
			if (LOC236) nimGCunrefNoCycle(LOC236);
		}
		LA233: ;
	}
	goto LA92;
	LA54: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		{
			NimStringDesc* LOC242;
			NimStringDesc* LOC243;
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA240;
			LOC242 = 0;
			LOC242 = processpath_177990(arg, NIM_FALSE);
			clibs_171492 = (TY123008*) incrSeq(&(clibs_171492)->Sup, sizeof(NimStringDesc*));
			LOC243 = 0;
			LOC243 = clibs_171492->data[clibs_171492->Sup.len-1]; clibs_171492->data[clibs_171492->Sup.len-1] = copyStringRC1(LOC242);
			if (LOC243) nimGCunrefNoCycle(LOC243);
		}
		LA240: ;
	}
	goto LA92;
	LA55: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		{
			NimStringDesc* LOC249;
			NimStringDesc* LOC250;
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA247;
			LOC249 = 0;
			LOC249 = processpath_177990(arg, NIM_FALSE);
			clinkedlibs_171510 = (TY123008*) incrSeq(&(clinkedlibs_171510)->Sup, sizeof(NimStringDesc*));
			LOC250 = 0;
			LOC250 = clinkedlibs_171510->data[clinkedlibs_171510->Sup.len-1]; clinkedlibs_171510->data[clinkedlibs_171510->Sup.len-1] = copyStringRC1(LOC249);
			if (LOC250) nimGCunrefNoCycle(LOC250);
		}
		LA247: ;
	}
	goto LA92;
	LA56: ;
	{
		NimStringDesc* LOC252;
		LOC252 = 0;
		LOC252 = headerfile_155136; headerfile_155136 = copyStringRC1(arg);
		if (LOC252) nimGCunrefNoCycle(LOC252);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 26))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA57: ;
	{
		processonoffswitchg_177337(67108864, arg, pass, info);
	}
	goto LA92;
	LA58: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		{
			NimStringDesc* LOC259;
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA257;
			implicitimports_155276 = (TY123008*) incrSeq(&(implicitimports_155276)->Sup, sizeof(NimStringDesc*));
			LOC259 = 0;
			LOC259 = implicitimports_155276->data[implicitimports_155276->Sup.len-1]; implicitimports_155276->data[implicitimports_155276->Sup.len-1] = copyStringRC1(arg);
			if (LOC259) nimGCunrefNoCycle(LOC259);
		}
		LA257: ;
	}
	goto LA92;
	LA59: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		{
			NimStringDesc* LOC265;
			if (!((6 &(1<<((pass)&7)))!=0)) goto LA263;
			implicitincludes_155294 = (TY123008*) incrSeq(&(implicitincludes_155294)->Sup, sizeof(NimStringDesc*));
			LOC265 = 0;
			LOC265 = implicitincludes_155294->data[implicitincludes_155294->Sup.len-1]; implicitincludes_155294->data[implicitincludes_155294->Sup.len-1] = copyStringRC1(arg);
			if (LOC265) nimGCunrefNoCycle(LOC265);
		}
		LA263: ;
	}
	goto LA92;
	LA60: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 3))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA61: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 12))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA62: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		{
			if (!((5 &(1<<((pass)&7)))!=0)) goto LA271;
			theos = nametoos_160611(arg);
			{
				if (!(theos == ((NU8) 0))) goto LA275;
				localerror_166155(info, ((NU16) 54), arg);
			}
			goto LA273;
			LA275: ;
			{
				if (!!((theos == hostos_160603))) goto LA278;
				settarget_160634(theos, targetcpu_160600);
			}
			goto LA273;
			LA278: ;
			LA273: ;
		}
		LA271: ;
	}
	goto LA92;
	LA63: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		{
			if (!((5 &(1<<((pass)&7)))!=0)) goto LA283;
			cpu = nametocpu_160617(arg);
			{
				if (!(cpu == ((NU8) 0))) goto LA287;
				localerror_166155(info, ((NU16) 55), arg);
			}
			goto LA285;
			LA287: ;
			{
				if (!!((cpu == hostcpu_160601))) goto LA290;
				settarget_160634(targetos_160602, cpu);
			}
			goto LA285;
			LA290: ;
			LA285: ;
		}
		LA283: ;
	}
	goto LA92;
	LA64: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 13))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA65: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		gverbosity_155137 = nsuParseInt(arg);
	}
	goto LA92;
	LA66: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		gnumberofprocessors_155138 = nsuParseInt(arg);
	}
	goto LA92;
	LA67: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		writeversioninfo_177107(pass);
	}
	goto LA92;
	LA68: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		writeadvancedusage_177087(pass);
	}
	goto LA92;
	LA69: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		helponerror_177069(pass);
	}
	goto LA92;
	LA70: ;
	{
		processonoffswitchg_177337(16384, arg, pass, info);
	}
	goto LA92;
	LA71: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 16))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA72: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 17))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA73: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 18))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA74: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 19))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA75: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 11))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA76: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		asgnRefNoCycle((void**) (&libpath_155233), processpath_177990(arg, NIM_TRUE));
	}
	goto LA92;
	LA77: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		splitswitch_177241(arg, (&key), (&val), pass, info);
		putenv_123868(key, val);
	}
	goto LA92;
	LA78: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		setcc_171714(arg);
	}
	goto LA92;
	LA79: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		track_178030(arg, info);
	}
	goto LA92;
	LA80: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		trackdirty_178004(arg, info);
	}
	goto LA92;
	LA81: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gidecmd_155115 = ((NU8) 1);
	}
	goto LA92;
	LA82: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gidecmd_155115 = ((NU8) 3);
	}
	goto LA92;
	LA83: ;
	{
		NimStringDesc* LOC312;
		expectarg_177373(switch_177042, arg, pass, info);
		LOC312 = 0;
		LOC312 = gevalexpr_155140; gevalexpr_155140 = copyStringRC1(arg);
		if (LOC312) nimGCunrefNoCycle(LOC312);
	}
	goto LA92;
	LA84: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gidecmd_155115 = ((NU8) 2);
	}
	goto LA92;
	LA85: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gidecmd_155115 = ((NU8) 4);
	}
	goto LA92;
	LA86: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gglobaloptions_155128 |= ((NI32)1)<<((((NU8) 22))%(sizeof(NI32)*8));
	}
	goto LA92;
	LA87: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		glistfullpaths_155142 = NIM_TRUE;
	}
	goto LA92;
	LA88: ;
	{
		dynliboverride_178055(switch_177042, arg, pass, info);
	}
	goto LA92;
	LA89: ;
	{
		expectarg_177373(switch_177042, arg, pass, info);
		if (eqStrings(arg, ((NimStringDesc*) &TMP1876))) goto LA319;
		if (eqStrings(arg, ((NimStringDesc*) &TMP1793))) goto LA320;
		goto LA321;
		LA319: ;
		{
			firstchariscs_168029 = NIM_TRUE;
		}
		goto LA322;
		LA320: ;
		{
			firstchariscs_168029 = NIM_FALSE;
		}
		goto LA322;
		LA321: ;
		{
			NimStringDesc* LOC326;
			LOC326 = 0;
			LOC326 = rawNewString(arg->Sup.len + 40);
appendString(LOC326, ((NimStringDesc*) &TMP1877));
appendString(LOC326, arg);
			localerror_166155(info, ((NU16) 4), LOC326);
		}
		LA322: ;
	}
	goto LA92;
	LA90: ;
	{
		expectnoarg_177385(switch_177042, arg, pass, info);
		gexperimentalmode_155145 = NIM_TRUE;
	}
	goto LA92;
	LA91: ;
	{
		{
			NI LOC331;
			LOC331 = 0;
			LOC331 = nsuFindChar(switch_177042, 46, ((NI) 0));
			if (!(((NI) 0) <= LOC331)) goto LA332;
			setconfigvar_155344(switch_177042, arg);
		}
		goto LA329;
		LA332: ;
		{
			invalidcmdlineoption_177230(pass, switch_177042, info);
		}
		LA329: ;
	}
	LA92: ;
}

N_NIMCALL(void, processswitch_178725)(NU8 pass, Optparser176011* p) {
	NI bracketle;
	bracketle = nsuFindChar((*p).key, 91, ((NI) 0));
	{
		NimStringDesc* key;
		NimStringDesc* val;
		NimStringDesc* LOC5;
		NimStringDesc* LOC6;
		if (!(((NI) 0) <= bracketle)) goto LA3;
		key = copyStrLast((*p).key, ((NI) 0), (NI)(bracketle - ((NI) 1)));
		LOC5 = 0;
		LOC6 = 0;
		LOC6 = copyStr((*p).key, (NI)(bracketle + ((NI) 1)));
		LOC5 = rawNewString(LOC6->Sup.len + (*p).val->Sup.len + 1);
appendString(LOC5, LOC6);
appendChar(LOC5, 58);
appendString(LOC5, (*p).val);
		val = LOC5;
		processswitch_177040(key, val, pass, gcmdlineinfo_164921);
	}
	goto LA1;
	LA3: ;
	{
		processswitch_177040((*p).key, (*p).val, pass, gcmdlineinfo_164921);
	}
	LA1: ;
}

N_NIMCALL(NIM_BOOL, testcompileoption_177631)(NimStringDesc* switch_177633, Tlineinfo164338 info) {
	NIM_BOOL result;
	NimStringDesc* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = nsuNormalize(switch_177633);
	switch (hashString(LOC1) & 63) {
	case 0: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1594))) goto LA14;
break;
	case 2: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1598))) goto LA17;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1606))) goto LA24;
break;
	case 3: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1591))) goto LA11;
break;
	case 4: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1593))) goto LA13;
break;
	case 6: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1603))) goto LA22;
break;
	case 8: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1579))) goto LA5;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1589))) goto LA9;
break;
	case 12: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1605))) goto LA24;
break;
	case 14: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1601))) goto LA20;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1612))) goto LA33;
break;
	case 20: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1610))) goto LA30;
break;
	case 25: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1577))) goto LA3;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1584))) goto LA7;
break;
	case 26: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1597))) goto LA16;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1659))) goto LA34;
break;
	case 30: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1639))) goto LA27;
break;
	case 32: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1585))) goto LA7;
break;
	case 33: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1596))) goto LA15;
break;
	case 34: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1607))) goto LA25;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1631))) goto LA26;
break;
	case 35: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1588))) goto LA8;
break;
	case 37: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1595))) goto LA14;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1609))) goto LA31;
break;
	case 41: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1630))) goto LA26;
break;
	case 43: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1611))) goto LA32;
break;
	case 44: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1644))) goto LA28;
break;
	case 45: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1578))) goto LA4;
break;
	case 46: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1581))) goto LA6;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1608))) goto LA29;
break;
	case 47: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1592))) goto LA12;
break;
	case 51: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1590))) goto LA10;
break;
	case 56: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1602))) goto LA21;
break;
	case 58: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1580))) goto LA6;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1599))) goto LA18;
break;
	case 60: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1576))) goto LA3;
break;
	case 61: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1600))) goto LA19;
break;
	case 62: 
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1574))) goto LA2;
if (eqStrings(LOC1, ((NimStringDesc*) &TMP1604))) goto LA23;
break;
	}
	goto LA35;
	LA2: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 7))&31)))!=0);
	}
	goto LA36;
	LA3: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 4))&31)))!=0);
	}
	goto LA36;
	LA4: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 5))&31)))!=0);
	}
	goto LA36;
	LA5: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 20))&31)))!=0);
	}
	goto LA36;
	LA6: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 1))&31)))!=0);
	}
	goto LA36;
	LA7: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 11))&31)))!=0);
	}
	goto LA36;
	LA8: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 12))&31)))!=0);
	}
	goto LA36;
	LA9: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 23))&31)))!=0);
	}
	goto LA36;
	LA10: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 15))&31)))!=0);
	}
	goto LA36;
	LA11: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 16))&31)))!=0);
	}
	goto LA36;
	LA12: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 17))&31)))!=0);
	}
	goto LA36;
	LA13: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 19))&31)))!=0);
	}
	goto LA36;
	LA14: ;
	{
		result = ((goptions_155126 & 1022) == 1022);
	}
	goto LA36;
	LA15: ;
	{
		result = ((goptions_155126 & 384) == 384);
	}
	goto LA36;
	LA16: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 8))&31)))!=0);
	}
	goto LA36;
	LA17: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 7))&31)))!=0);
	}
	goto LA36;
	LA18: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 1))&31)))!=0);
	}
	goto LA36;
	LA19: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 2))&31)))!=0);
	}
	goto LA36;
	LA20: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 3))&31)))!=0);
	}
	goto LA36;
	LA21: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 4))&31)))!=0);
	}
	goto LA36;
	LA22: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 5))&31)))!=0);
	}
	goto LA36;
	LA23: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 10))&31)))!=0);
	}
	goto LA36;
	LA24: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 9))&31)))!=0);
	}
	goto LA36;
	LA25: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 2))&31)))!=0);
	}
	goto LA36;
	LA26: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 13))&31)))!=0);
	}
	goto LA36;
	LA27: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 14))&31)))!=0);
	}
	goto LA36;
	LA28: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 11))&31)))!=0);
	}
	goto LA36;
	LA29: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 21))&31)))!=0);
	}
	goto LA36;
	LA30: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 24))&31)))!=0);
	}
	goto LA36;
	LA31: ;
	{
		result = ((gglobaloptions_155128 &(1<<((((NU8) 25))&31)))!=0);
	}
	goto LA36;
	LA32: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 20))&31)))!=0);
	}
	goto LA36;
	LA33: ;
	{
		result = ((goptions_155126 &(1<<((((NU8) 21))&31)))!=0);
	}
	goto LA36;
	LA34: ;
	{
		result = gexperimentalmode_155145;
	}
	goto LA36;
	LA35: ;
	{
		invalidcmdlineoption_177230(((NU8) 0), switch_177633, info);
	}
	LA36: ;
	return result;
}

N_NIMCALL(NIM_BOOL, testcompileoptionarg_177518)(NimStringDesc* switch_177520, NimStringDesc* arg, Tlineinfo164338 info) {
	NIM_BOOL result;
	NimStringDesc* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = nsuNormalize(switch_177520);
	if (eqStrings(LOC1, ((NimStringDesc*) &TMP1583))) goto LA2;
	if (eqStrings(LOC1, ((NimStringDesc*) &TMP1613))) goto LA3;
	goto LA4;
	LA2: ;
	{
		NimStringDesc* LOC7;
		LOC7 = 0;
		LOC7 = nsuNormalize(arg);
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1788))) goto LA8;
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1789))) goto LA9;
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1790))) goto LA10;
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1791))) goto LA11;
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1792))) goto LA12;
		if (eqStrings(LOC7, ((NimStringDesc*) &TMP1793))) goto LA13;
		goto LA14;
		LA8: ;
		{
			result = (gselectedgc_155131 == ((NU8) 1));
		}
		goto LA15;
		LA9: ;
		{
			result = (gselectedgc_155131 == ((NU8) 3));
		}
		goto LA15;
		LA10: ;
		{
			result = (gselectedgc_155131 == ((NU8) 4));
		}
		goto LA15;
		LA11: ;
		{
			result = (gselectedgc_155131 == ((NU8) 2));
		}
		goto LA15;
		LA12: ;
		{
			result = (gselectedgc_155131 == ((NU8) 5));
		}
		goto LA15;
		LA13: ;
		{
			result = (gselectedgc_155131 == ((NU8) 0));
		}
		goto LA15;
		LA14: ;
		{
			localerror_166155(info, ((NU16) 51), arg);
		}
		LA15: ;
	}
	goto LA5;
	LA3: ;
	{
		NimStringDesc* LOC24;
		LOC24 = 0;
		LOC24 = nsuNormalize(arg);
		if (eqStrings(LOC24, ((NimStringDesc*) &TMP1856))) goto LA25;
		if (eqStrings(LOC24, ((NimStringDesc*) &TMP1857))) goto LA26;
		if (eqStrings(LOC24, ((NimStringDesc*) &TMP1793))) goto LA27;
		goto LA28;
		LA25: ;
		{
			result = ((goptions_155126 &(1<<((((NU8) 13))&31)))!=0);
		}
		goto LA29;
		LA26: ;
		{
			result = ((goptions_155126 &(1<<((((NU8) 14))&31)))!=0);
		}
		goto LA29;
		LA27: ;
		{
			result = ((goptions_155126 & 24576) == 0);
		}
		goto LA29;
		LA28: ;
		{
			localerror_166155(info, ((NU16) 52), arg);
		}
		LA29: ;
	}
	goto LA5;
	LA4: ;
	{
		invalidcmdlineoption_177230(((NU8) 0), switch_177520, info);
	}
	LA5: ;
	return result;
}
NIM_EXTERNC N_NOINLINE(void, nimsrc_commandsInit)(void) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = arguments_178721; arguments_178721 = copyStringRC1(((NimStringDesc*) &TMP710));
	if (LOC1) nimGCunrefNoCycle(LOC1);
}

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

