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

#include <string.h>
typedef struct tcontext290021 tcontext290021;
typedef struct tsym225846 tsym225846;
typedef struct tnode225816 tnode225816;
typedef struct ttype225852 ttype225852;
typedef struct tlineinfo195539 tlineinfo195539;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tident200021 tident200021;
typedef struct tnodeseq225810 tnodeseq225810;
typedef struct tstrtable225820 tstrtable225820;
typedef struct tsymseq225818 tsymseq225818;
typedef struct tpasscontext286005 tpasscontext286005;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tscope225840 tscope225840;
typedef struct tproccon290011 tproccon290011;
typedef struct intset222056 intset222056;
typedef struct ttrunk222052 ttrunk222052;
typedef struct ttrunkseq222054 ttrunkseq222054;
typedef struct tlinkedlist127028 tlinkedlist127028;
typedef struct tlistentry127022 tlistentry127022;
typedef struct tidtable225864 tidtable225864;
typedef struct tidpairseq225862 tidpairseq225862;
typedef struct tidpair225860 tidpair225860;
typedef struct tidobj200015 tidobj200015;
typedef struct tctx289048 tctx289048;
typedef struct TY290133 TY290133;
typedef struct tinstantiationpair290013 tinstantiationpair290013;
typedef struct tinstantiation225836 tinstantiation225836;
typedef struct ttypeseq225848 ttypeseq225848;
typedef struct TY225947 TY225947;
typedef struct tloc225830 tloc225830;
typedef struct trope177009 trope177009;
typedef struct tlib225834 tlib225834;
typedef struct tcell45133 tcell45133;
typedef struct tcellseq45149 tcellseq45149;
typedef struct tgcheap47216 tgcheap47216;
typedef struct tcellset45145 tcellset45145;
typedef struct tpagedesc45141 tpagedesc45141;
typedef struct tmemregion27410 tmemregion27410;
typedef struct tsmallchunk26640 tsmallchunk26640;
typedef struct tllchunk27404 tllchunk27404;
typedef struct tbigchunk26642 tbigchunk26642;
typedef struct tintset26617 tintset26617;
typedef struct ttrunk26613 ttrunk26613;
typedef struct tavlnode27408 tavlnode27408;
typedef struct tgcstat47214 tgcstat47214;
typedef struct toptionentry290005 toptionentry290005;
typedef struct TY117804 TY117804;
typedef struct tinfocc202016 tinfocc202016;
typedef struct TY289250 TY289250;
typedef struct TY196414 TY196414;
typedef struct pprocHEX3Aobjecttype289230 pprocHEX3Aobjecttype289230;
typedef struct TY289269 TY289269;
typedef struct TY289270 TY289270;
typedef struct vmargs289042 vmargs289042;
typedef struct TY225936 TY225936;
typedef struct tbasechunk26638 tbasechunk26638;
typedef struct tfreecell26630 tfreecell26630;
typedef struct TY289231 TY289231;
typedef struct tblock289030 tblock289030;
typedef struct TY289211 TY289211;
typedef struct TY289237 TY289237;
typedef NU8 tspecialwords204012[32];
struct  tlineinfo195539  {
NI16 Line;
NI16 Col;
NI32 Fileindex;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  tnode225816  {
ttype225852* Typ;
tlineinfo195539 Info;
NU16 Flags;
NU8 Kind;
union {
struct {NI64 Intval;
} S1;
struct {NF Floatval;
} S2;
struct {NimStringDesc* Strval;
} S3;
struct {tsym225846* Sym;
} S4;
struct {tident200021* Ident;
} S5;
struct {tnodeseq225810* Sons;
} S6;
} kindU;
NimStringDesc* Comment;
};
struct  tstrtable225820  {
NI Counter;
tsymseq225818* Data;
};
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  tpasscontext286005  {
  TNimObject Sup;
NIM_BOOL Fromcache;
};
struct  intset222056  {
NI Counter;
NI Max;
ttrunk222052* Head;
ttrunkseq222054* Data;
};
struct  tlinkedlist127028  {
tlistentry127022* Head;
tlistentry127022* Tail;
NI Counter;
};
struct  tidpair225860  {
tidobj200015* Key;
TNimObject* Val;
};
struct  tidtable225864  {
NI Counter;
tidpairseq225862* Data;
};
typedef N_NIMCALL_PTR(tnode225816*, TY290064) (tcontext290021* c, tnode225816* n);
typedef N_NIMCALL_PTR(tnode225816*, TY290069) (tcontext290021* c, tnode225816* n, NU16 flags);
typedef N_NIMCALL_PTR(tnode225816*, TY290077) (tcontext290021* c, tnode225816* n, NU16 flags);
typedef N_NIMCALL_PTR(tnode225816*, TY290085) (tcontext290021* c, tnode225816* n);
typedef N_NIMCALL_PTR(tnode225816*, TY290090) (tcontext290021* c, tnode225816* n, NU16 flags);
typedef N_NIMCALL_PTR(tnode225816*, TY290098) (tcontext290021* c, tnode225816* n);
typedef N_NIMCALL_PTR(tnode225816*, TY290103) (tcontext290021* c, tnode225816* n, tnode225816* norig, NU32 filter);
typedef N_NIMCALL_PTR(ttype225852*, TY290110) (tcontext290021* c, tnode225816* n, ttype225852* prev);
typedef struct {
N_NIMCALL_PTR(tnode225816*, ClPrc) (tcontext290021* c, tidtable225864 pt, tnode225816* n, void* ClEnv);
void* ClEnv;
} TY290116;
typedef struct {
N_NIMCALL_PTR(tsym225846*, ClPrc) (tcontext290021* c, tsym225846* fn, tidtable225864 pt, tlineinfo195539 info, void* ClEnv);
void* ClEnv;
} TY290122;
struct  tinstantiationpair290013  {
tsym225846* Genericsym;
tinstantiation225836* Inst;
};
typedef N_NIMCALL_PTR(tsym225846*, TY290138) (tcontext290021* c, tsym225846* dc, ttype225852* t, tlineinfo195539 info);
struct  tcontext290021  {
  tpasscontext286005 Sup;
tsym225846* Module;
tscope225840* Currentscope;
tscope225840* Importtable;
tscope225840* Toplevelscope;
tproccon290011* P;
tsymseq225818* Friendmodules;
NI Instcounter;
intset222056 Ambiguoussymbols;
NI Intypeclass;
NI Ingenericcontext;
NI Inunrolledcontext;
NI Incompilescontext;
NI Ingenericinst;
tsymseq225818* Converters;
tsymseq225818* Patterns;
tlinkedlist127028 Optionstack;
tidtable225864 Symmapping;
tlinkedlist127028 Libs;
TY290064 Semconstexpr;
TY290069 Semexpr;
TY290077 Semtryexpr;
TY290085 Semtryconstexpr;
TY290090 Semoperand;
TY290098 Semconstboolexpr;
TY290103 Semoverloadedcall;
TY290110 Semtypenode;
TY290116 Seminferredlambda;
TY290122 Semgenerateinstance;
intset222056 Includedfiles;
tstrtable225820 Userpragmas;
tctx289048* Evalcontext;
intset222056 Unknownidents;
TY290133* Generics;
NI Lastgenericidx;
NI Hloloopdetector;
NI Inparallelstmt;
TY290138 Instdeepcopy;
};
struct  tidobj200015  {
  TNimObject Sup;
NI Id;
};
struct  tloc225830  {
NU8 K;
NU8 S;
NU8 Flags;
ttype225852* T;
trope177009* R;
trope177009* Heaproot;
};
struct  tsym225846  {
  tidobj200015 Sup;
NU8 Kind;
union {
struct {ttypeseq225848* Typeinstcache;
tscope225840* Typscope;
} S1;
struct {TY225947* Procinstcache;
tscope225840* Scope;
} S2;
struct {TY225947* Usedgenerics;
tstrtable225820 Tab;
} S3;
struct {tsym225846* Guard;
} S4;
} kindU;
NU16 Magic;
ttype225852* Typ;
tident200021* Name;
tlineinfo195539 Info;
tsym225846* Owner;
NU32 Flags;
tnode225816* Ast;
NU32 Options;
NI Position;
NI Offset;
tloc225830 Loc;
tlib225834* Annex;
tnode225816* Constraint;
};
struct  tident200021  {
  tidobj200015 Sup;
NimStringDesc* S;
tident200021* Next;
NI H;
};
struct  tcell45133  {
NI Refcount;
TNimType* Typ;
};
struct  tcellseq45149  {
NI Len;
NI Cap;
tcell45133** D;
};
struct  tcellset45145  {
NI Counter;
NI Max;
tpagedesc45141* Head;
tpagedesc45141** Data;
};
typedef tsmallchunk26640* TY27422[512];
typedef ttrunk26613* ttrunkbuckets26615[256];
struct  tintset26617  {
ttrunkbuckets26615 Data;
};
struct  tmemregion27410  {
NI Minlargeobj;
NI Maxlargeobj;
TY27422 Freesmallchunks;
tllchunk27404* Llmem;
NI Currmem;
NI Maxmem;
NI Freemem;
NI Lastsize;
tbigchunk26642* Freechunkslist;
tintset26617 Chunkstarts;
tavlnode27408* Root;
tavlnode27408* Deleted;
tavlnode27408* Last;
tavlnode27408* Freeavlnodes;
};
struct  tgcstat47214  {
NI Stackscans;
NI Cyclecollections;
NI Maxthreshold;
NI Maxstacksize;
NI Maxstackcells;
NI Cycletablesize;
NI64 Maxpause;
};
struct  tgcheap47216  {
void* Stackbottom;
NI Cyclethreshold;
tcellseq45149 Zct;
tcellseq45149 Decstack;
tcellset45145 Cycleroots;
tcellseq45149 Tempstack;
NI Recgclock;
tmemregion27410 Region;
tgcstat47214 Stat;
};
struct  ttype225852  {
  tidobj200015 Sup;
NU8 Kind;
NU8 Callconv;
NU32 Flags;
ttypeseq225848* Sons;
tnode225816* N;
tsym225846* Owner;
tsym225846* Sym;
tsym225846* Destructor;
tsym225846* Deepcopy;
NI64 Size;
NI16 Align;
NI16 Locklevel;
tloc225830 Loc;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  tlistentry127022  {
  TNimObject Sup;
tlistentry127022* Prev;
tlistentry127022* Next;
};
struct  tlib225834  {
  tlistentry127022 Sup;
NU8 Kind;
NIM_BOOL Generated;
NIM_BOOL Isoverriden;
trope177009* Name;
tnode225816* Path;
};
struct  toptionentry290005  {
  tlistentry127022 Sup;
NU32 Options;
NU8 Defaultcc;
tlib225834* Dynlib;
NU64 Notes;
tnode225816* Otherpragmas;
};
struct TY117804 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
struct tinfocc202016 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
NimStringDesc* Field3;
NimStringDesc* Field4;
NimStringDesc* Field5;
NimStringDesc* Field6;
NimStringDesc* Field7;
NimStringDesc* Field8;
NimStringDesc* Field9;
NimStringDesc* Field10;
NimStringDesc* Field11;
NimStringDesc* Field12;
NimStringDesc* Field13;
NimStringDesc* Field14;
NimStringDesc* Field15;
NimStringDesc* Field16;
NimStringDesc* Field17;
NimStringDesc* Field18;
NimStringDesc* Field19;
NU8 Field20;
};
typedef tinfocc202016 TY202435[12];
typedef NimStringDesc* TY195500[17];
typedef NimStringDesc* TY195495[29];
struct  tproccon290011  {
tsym225846* Owner;
tsym225846* Resultsym;
NI Nestedloopcounter;
NI Nestedblockcounter;
NI Intrystmt;
tproccon290011* Next;
};
struct  tscope225840  {
NI Depthlevel;
tstrtable225820 Symbols;
tnodeseq225810* Usingsyms;
tscope225840* Parent;
};
typedef NI TY26620[8];
struct  ttrunk222052  {
ttrunk222052* Next;
NI Key;
TY26620 Bits;
};
struct  vmargs289042  {
NI Ra;
NI Rb;
NI Rc;
void* Slots;
tnode225816* Currentexception;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (vmargs289042* args, void* ClEnv);
void* ClEnv;
} vmcallback289044;
struct TY289270 {
NimStringDesc* Field0;
vmcallback289044 Field1;
};
struct  tctx289048  {
  tpasscontext286005 Sup;
TY289250* Code;
TY196414* Debug;
tnode225816* Globals;
tnode225816* Constants;
ttypeseq225848* Types;
tnode225816* Currentexceptiona;
tnode225816* Currentexceptionb;
NI Exceptioninstr;
pprocHEX3Aobjecttype289230* Prc;
tsym225846* Module;
tnode225816* Callsite;
NU8 Mode;
NU8 Features;
NIM_BOOL Traceactive;
NI Loopiterations;
tlineinfo195539 Comesfromheuristic;
TY289269* Callbacks;
NimStringDesc* Errorflag;
};
struct  tinstantiation225836  {
tsym225846* Sym;
ttypeseq225848* Concretetypes;
TY225936* Usedby;
};
struct  trope177009  {
  TNimObject Sup;
trope177009* Left;
trope177009* Right;
NI Length;
NimStringDesc* Data;
};
struct  tpagedesc45141  {
tpagedesc45141* Next;
NI Key;
TY26620 Bits;
};
struct  tbasechunk26638  {
NI Prevsize;
NI Size;
NIM_BOOL Used;
};
struct  tsmallchunk26640  {
  tbasechunk26638 Sup;
tsmallchunk26640* Next;
tsmallchunk26640* Prev;
tfreecell26630* Freelist;
NI Free;
NI Acc;
NF Data;
};
struct  tllchunk27404  {
NI Size;
NI Acc;
tllchunk27404* Next;
};
struct  tbigchunk26642  {
  tbasechunk26638 Sup;
tbigchunk26642* Next;
tbigchunk26642* Prev;
NI Align;
NF Data;
};
struct  ttrunk26613  {
ttrunk26613* Next;
NI Key;
TY26620 Bits;
};
typedef tavlnode27408* TY27414[2];
struct  tavlnode27408  {
TY27414 Link;
NI Key;
NI Upperbound;
NI Level;
};
struct  tblock289030  {
tsym225846* Label;
TY289211* Fixups;
};
struct TY289237 {
NIM_BOOL Field0;
NU8 Field1;
};
typedef TY289237 TY289234[256];
struct  pprocHEX3Aobjecttype289230  {
TY289231* Blocks;
tsym225846* Sym;
TY289234 Slots;
NI Maxslots;
};
struct  tfreecell26630  {
tfreecell26630* Next;
NI Zerofield;
};
struct tnodeseq225810 {
  TGenericSeq Sup;
  tnode225816* data[SEQ_DECL_SIZE];
};
struct tsymseq225818 {
  TGenericSeq Sup;
  tsym225846* data[SEQ_DECL_SIZE];
};
struct ttrunkseq222054 {
  TGenericSeq Sup;
  ttrunk222052* data[SEQ_DECL_SIZE];
};
struct tidpairseq225862 {
  TGenericSeq Sup;
  tidpair225860 data[SEQ_DECL_SIZE];
};
struct TY290133 {
  TGenericSeq Sup;
  tinstantiationpair290013 data[SEQ_DECL_SIZE];
};
struct ttypeseq225848 {
  TGenericSeq Sup;
  ttype225852* data[SEQ_DECL_SIZE];
};
struct TY225947 {
  TGenericSeq Sup;
  tinstantiation225836* data[SEQ_DECL_SIZE];
};
struct TY289250 {
  TGenericSeq Sup;
  NU32 data[SEQ_DECL_SIZE];
};
struct TY196414 {
  TGenericSeq Sup;
  tlineinfo195539 data[SEQ_DECL_SIZE];
};
struct TY289269 {
  TGenericSeq Sup;
  TY289270 data[SEQ_DECL_SIZE];
};
struct TY225936 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct TY289211 {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
struct TY289231 {
  TGenericSeq Sup;
  tblock289030 data[SEQ_DECL_SIZE];
};
N_NIMCALL(void, pragmarec_316076)(tcontext290021* c, tsym225846* sym, tnode225816* n, tspecialwords204012 validpragmas);
static N_INLINE(NI, sonslen_226249)(tnode225816* n);
N_NIMCALL(NIM_BOOL, singlepragma_313666)(tcontext290021* c, tsym225846* sym, tnode225816* n, NI i, tspecialwords204012 validpragmas);
N_NIMCALL(tsym225846*, strtableget_235111)(tstrtable225820 t, tident200021* name);
N_NIMCALL(void, globalerror_197934)(tlineinfo195539 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, pragma_310079)(tcontext290021* c, tsym225846* sym, tnode225816* n, tspecialwords204012 validpragmas);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
static N_INLINE(tcell45133*, usrtocell_48846)(void* usr);
static N_INLINE(void, rtladdzct_50404)(tcell45133* c);
N_NOINLINE(void, addzct_48817)(tcellseq45149* s, tcell45133* c);
N_NIMCALL(NU8, whichkeyword_204382)(tident200021* id);
N_NIMCALL(void, makeexternexport_310383)(tsym225846* s, NimStringDesc* extname, tlineinfo195539 info);
N_NIMCALL(void, setexternname_310281)(tsym225846* s, NimStringDesc* extname);
N_NIMCALL(trope177009*, torope_177076)(NimStringDesc* s);
N_NIMCALL(NimStringDesc*, nsuFormatSingleElem)(NimStringDesc* formatstr, NimStringDesc* a);
N_NIMCALL(NIM_BOOL, contains_97245)(NimStringDesc* s, NIM_CHAR c);
N_NIMCALL(NimStringDesc*, getoptionalstr_310834)(tcontext290021* c, tnode225816* n, NimStringDesc* defaultstr);
N_NIMCALL(NimStringDesc*, expectstrlit_310718)(tcontext290021* c, tnode225816* n);
N_NIMCALL(tnode225816*, getstrlitnode_310642)(tcontext290021* c, tnode225816* n);
N_NIMCALL(void, localerror_197955)(tlineinfo195539 info, NU16 msg, NimStringDesc* arg);
N_NOINLINE(tnode225816*, newemptystrnode_310618)(tnode225816* n);
N_NIMCALL(tnode225816*, newnodeit_226145)(NU8 kind, tlineinfo195539 info, ttype225852* typ);
N_NIMCALL(ttype225852*, getsystype_282030)(NU8 kind);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_NIMCALL(void, makeexternimport_310316)(tsym225846* s, NimStringDesc* extname);
N_NIMCALL(void, processimportcompilerproc_310410)(tsym225846* s, NimStringDesc* extname);
N_NIMCALL(void, invalidpragma_310088)(tnode225816* n);
N_NIMCALL(NimStringDesc*, rendertree_250058)(tnode225816* n, NU8 renderflags);
N_NIMCALL(void, processimportcpp_310468)(tsym225846* s, NimStringDesc* extname);
N_NIMCALL(tsym225846*, getmodule_235243)(tsym225846* s);
N_NIMCALL(void, processimportobjc_310543)(tsym225846* s, NimStringDesc* extname);
N_NIMCALL(NI, expectintlit_310743)(tcontext290021* c, tnode225816* n);
N_NIMCALL(NIM_BOOL, ispoweroftwo_146518)(NI x);
N_NIMCALL(void, noval_312764)(tnode225816* n);
N_NIMCALL(void, pragmadeadcodeelim_311174)(tcontext290021* c, tnode225816* n);
N_NIMCALL(NIM_BOOL, isturnedon_311057)(tcontext290021* c, tnode225816* n);
N_NIMCALL(void, pragmanoforward_311216)(tcontext290021* c, tnode225816* n);
N_NIMCALL(void, processmagic_310866)(tcontext290021* c, tnode225816* n, tsym225846* s);
N_NIMCALL(NimStringDesc*, copyStr)(NimStringDesc* s, NI start);
N_NIMCALL(NimStringDesc*, copyStr)(NimStringDesc* s, NI first);
N_NIMCALL(NimStringDesc*, reprEnum)(NI e_81107, TNimType* typ);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, message_197976)(tlineinfo195539 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(tlib225834*, getlib_311329)(tcontext290021* c, NU8 kind, tnode225816* path);
N_NIMCALL(NIM_BOOL, exprstructuralequivalent_261184)(tnode225816* a, tnode225816* b);
N_NIMCALL(tlib225834*, newlib_290186)(NU8 kind);
N_NIMCALL(void, append_127053)(tlinkedlist127028* list, tlistentry127022* entry);
N_NIMCALL(NIM_BOOL, isdynliboverride_170490)(NimStringDesc* lib);
N_NIMCALL(void, addtolib_290192)(tlib225834* lib, tsym225846* sym);
N_NIMCALL(NimStringDesc*, nsuNormalize)(NimStringDesc* s);
N_NIMCALL(void, processdynlib_311515)(tcontext290021* c, tnode225816* n, tsym225846* sym);
N_NIMCALL(tnode225816*, expectdynlibnode_311404)(tcontext290021* c, tnode225816* n);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_51225)(tcell45133* c);
static N_INLINE(NIM_BOOL, canbecycleroot_48867)(tcell45133* c);
static N_INLINE(void, rtladdcycleroot_49629)(tcell45133* c);
N_NOINLINE(void, incl_45871)(tcellset45145* s, tcell45133* cell);
static N_INLINE(void, decref_50804)(tcell45133* c);
N_NIMCALL(void, markcompilerproc_313443)(tsym225846* s);
N_NIMCALL(void, registercompilerproc_282042)(tsym225846* s);
N_NIMCALL(void, deprecatedstmt_313484)(tcontext290021* c, tnode225816* pragma_313487);
static N_INLINE(tnode225816*, HEX5BHEX5D_226698)(tnode225816* n, NI i);
N_NIMCALL(void, localerror_197966)(tlineinfo195539 info, NimStringDesc* arg);
static N_INLINE(NI, len_226364)(tnode225816* n);
N_NIMCALL(tsym225846*, qualifiedlookup_296122)(tcontext290021* c, tnode225816* n, NU8 flags);
N_NIMCALL(tident200021*, considerquotedident_295010)(tnode225816* n);
N_NIMCALL(tsym225846*, newsym_226074)(NU8 symkind, tident200021* name, tsym225846* owner, tlineinfo195539 info);
N_NIMCALL(void, addinterfacedecl_295845)(tcontext290021* c, tsym225846* sym);
N_NIMCALL(void, typeborrow_313384)(tsym225846* sym, tnode225816* n);
static N_INLINE(NIM_BOOL, isroutine_232781)(tsym225846* s);
N_NIMCALL(void, fatal_197923)(tlineinfo195539 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, processdefine_312381)(tcontext290021* c, tnode225816* n);
N_NIMCALL(void, definesymbol_201009)(NimStringDesc* symbol);
N_NIMCALL(void, processundef_312451)(tcontext290021* c, tnode225816* n);
N_NIMCALL(void, undefsymbol_201027)(NimStringDesc* symbol);
N_NIMCALL(void, processcompile_312528)(tcontext290021* c, tnode225816* n);
N_NIMCALL(NimStringDesc*, findfile_170356)(NimStringDesc* f);
N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(void, addexternalfiletocompile_203399)(NimStringDesc* filename);
N_NIMCALL(void, addfiletolink_202897)(NimStringDesc* filename);
N_NIMCALL(NimStringDesc*, completecfilepath_202855)(NimStringDesc* cfile, NIM_BOOL createsubdir);
N_NIMCALL(void, processcommonlink_312541)(tcontext290021* c, tnode225816* n, NU8 feature);
N_NIMCALL(void, nossplitFile)(NimStringDesc* path, TY117804* Result);
N_NIMCALL(NimStringDesc*, nosaddFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(NimStringDesc*, HEX2F_117499)(NimStringDesc* head, NimStringDesc* tail);
N_NIMCALL(void, internalerror_197987)(tlineinfo195539 info, NimStringDesc* errmsg);
N_NIMCALL(void, addlinkoption_202798)(NimStringDesc* option);
N_NIMCALL(void, addcompileoption_202809)(NimStringDesc* option);
N_NIMCALL(void, pragmabreakpoint_312554)(tcontext290021* c, tnode225816* n);
N_NIMCALL(void, pragmawatchpoint_312587)(tcontext290021* c, tnode225816* n);
N_NIMCALL(void, processpush_312266)(tcontext290021* c, tnode225816* n, NI start);
N_NIMCALL(toptionentry290005*, newoptionentry_290181)(void);
N_NIMCALL(NIM_BOOL, processoption_312004)(tcontext290021* c, tnode225816* n);
N_NIMCALL(void, processnote_311633)(tcontext290021* c, tnode225816* n);
N_NIMCALL(NI, findstr_204342)(NimStringDesc** a, NI aLen0, NimStringDesc* s);
N_NIMCALL(void, onoff_311129)(tcontext290021* c, tnode225816* n, NU32 op);
N_NIMCALL(void, processcallconv_311258)(tcontext290021* c, tnode225816* n);
N_NIMCALL(NU8, wordtocallconv_311020)(NU8 sw);
N_NIMCALL(tnode225816*, newnodei_226138)(NU8 kind, tlineinfo195539 info);
N_NIMCALL(void, add_226498)(tnode225816* father, tnode225816* son);
N_NIMCALL(void, processpop_312370)(tcontext290021* c, tnode225816* n);
N_NIMCALL(void, remove_127652)(tlinkedlist127028* list, tlistentry127022* entry);
N_NIMCALL(void, processpragma_313018)(tcontext290021* c, tnode225816* n, NI i);
N_NIMCALL(void, addson_226287)(tnode225816* father, tnode225816* son);
N_NIMCALL(void, strtableadd_235103)(tstrtable225820* t, tsym225846* n);
N_NIMCALL(void, processcodegendecl_310855)(tcontext290021* c, tnode225816* n, tsym225846* sym);
N_NIMCALL(void, pragmaemit_312740)(tcontext290021* c, tnode225816* n);
N_NIMCALL(tnode225816*, semasmoremit_312634)(tcontext290021* con, tnode225816* n, NIM_CHAR marker);
N_NIMCALL(tnode225816*, newnode_228207)(NU8 kind, tlineinfo195539 info, tnodeseq225810* sons, ttype225852* typ);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_NIMCALL(NI, nsuFindChar)(NimStringDesc* s, NIM_CHAR sub, NI start);
N_NIMCALL(NimStringDesc*, copyStrLast)(NimStringDesc* s, NI start_75028, NI last);
N_NIMCALL(NimStringDesc*, copyStrLast)(NimStringDesc* s, NI first, NI last);
N_NIMCALL(tnode225816*, newstrnode_226118)(NU8 kind, NimStringDesc* strval);
N_NIMCALL(tsym225846*, searchinscopes_295312)(tcontext290021* c, tident200021* s);
N_NIMCALL(tident200021*, getident_200472)(NimStringDesc* identifier);
N_NIMCALL(void, loadstub_279260)(tsym225846* s);
N_NIMCALL(tnode225816*, newsymnode_226132)(tsym225846* sym);
N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x);
N_NIMCALL(void, illformedast_291405)(tnode225816* n);
N_NIMCALL(void, pragmaunroll_312782)(tcontext290021* c, tnode225816* n);
N_NIMCALL(tnode225816*, newintnode_226096)(NU8 kind, NI64 intval);
N_NIMCALL(void, pragmaline_312825)(tcontext290021* c, tnode225816* n);
N_NIMCALL(NI32, fileinfoidx_195747)(NimStringDesc* filename);
N_NIMCALL(tlineinfo195539, getinfocontext_196992)(NI index);
N_NIMCALL(void, pragmaraisesortags_313171)(tcontext290021* c, tnode225816* n);
N_NIMCALL(void, processexc_313175)(tcontext290021* c, tnode225816* x);
N_NIMCALL(ttype225852*, skiptypes_230245)(ttype225852* t, NU64 kinds);
N_NIMCALL(void, pragmalockstmt_313258)(tcontext290021* c, tnode225816* it);
N_NIMCALL(NI16, pragmalocks_313352)(tcontext290021* c, tnode225816* it);
N_NIMCALL(tsym225846*, pragmaguard_313572)(tcontext290021* c, tnode225816* it, NU8 kind);
static N_INLINE(NIM_BOOL, istoplevel_291436)(tcontext290021* c);
N_NIMCALL(void, implicitpragmas_315398)(tcontext290021* c, tsym225846* sym, tnode225816* n, tspecialwords204012 validpragmas);
N_NIMCALL(NIM_BOOL, HEX3DHEX3D_315667)(tnodeseq225810* x_315673, tnodeseq225810* y_315678);
STRING_LITERAL(TMP2922, "", 0);
STRING_LITERAL(TMP2923, "$1", 2);
STRING_LITERAL(TMP2924, "destroy", 7);
STRING_LITERAL(TMP2925, "destructor has to be named \'destroy\'", 36);
STRING_LITERAL(TMP2926, "list of key:value pairs expected", 32);
STRING_LITERAL(TMP2928, "key:value pair expected", 23);
STRING_LITERAL(TMP2929, "a type can only borrow `.` for now", 34);
STRING_LITERAL(TMP2930, "define", 6);
STRING_LITERAL(TMP2931, "undef", 5);
extern NIM_CONST TY202435 cc_202434;
STRING_LITERAL(TMP2932, "processCommonLink", 17);
STRING_LITERAL(TMP2933, "\':\' after \'push\' not supported", 30);
STRING_LITERAL(TMP2935, "Success", 7);
STRING_LITERAL(TMP2936, "SuccessX", 8);
STRING_LITERAL(TMP2937, "LineTooLong", 11);
STRING_LITERAL(TMP2938, "XDeclaredButNotUsed", 19);
STRING_LITERAL(TMP2939, "ConvToBaseNotNeeded", 19);
STRING_LITERAL(TMP2940, "ConvFromXtoItselfNotNeeded", 26);
STRING_LITERAL(TMP2941, "ExprAlwaysX", 11);
STRING_LITERAL(TMP2942, "QuitCalled", 10);
STRING_LITERAL(TMP2943, "Processing", 10);
STRING_LITERAL(TMP2944, "CodeBegin", 9);
STRING_LITERAL(TMP2945, "CodeEnd", 7);
STRING_LITERAL(TMP2946, "Conf", 4);
STRING_LITERAL(TMP2947, "Path", 4);
STRING_LITERAL(TMP2948, "CondTrue", 8);
STRING_LITERAL(TMP2949, "Name", 4);
STRING_LITERAL(TMP2950, "Pattern", 7);
STRING_LITERAL(TMP2951, "User", 4);
NIM_CONST TY195500 TMP2934 = {((NimStringDesc*) &TMP2935),
((NimStringDesc*) &TMP2936),
((NimStringDesc*) &TMP2937),
((NimStringDesc*) &TMP2938),
((NimStringDesc*) &TMP2939),
((NimStringDesc*) &TMP2940),
((NimStringDesc*) &TMP2941),
((NimStringDesc*) &TMP2942),
((NimStringDesc*) &TMP2943),
((NimStringDesc*) &TMP2944),
((NimStringDesc*) &TMP2945),
((NimStringDesc*) &TMP2946),
((NimStringDesc*) &TMP2947),
((NimStringDesc*) &TMP2948),
((NimStringDesc*) &TMP2949),
((NimStringDesc*) &TMP2950),
((NimStringDesc*) &TMP2951)}
;
STRING_LITERAL(TMP2953, "CannotOpenFile", 14);
STRING_LITERAL(TMP2954, "OctalEscape", 11);
STRING_LITERAL(TMP2955, "XIsNeverRead", 12);
STRING_LITERAL(TMP2956, "XmightNotBeenInit", 17);
STRING_LITERAL(TMP2957, "Deprecated", 10);
STRING_LITERAL(TMP2958, "ConfigDeprecated", 16);
STRING_LITERAL(TMP2959, "SmallLshouldNotBeUsed", 21);
STRING_LITERAL(TMP2960, "UnknownMagic", 12);
STRING_LITERAL(TMP2961, "RedefinitionOfLabel", 19);
STRING_LITERAL(TMP2962, "UnknownSubstitutionX", 20);
STRING_LITERAL(TMP2963, "LanguageXNotSupported", 21);
STRING_LITERAL(TMP2964, "FieldXNotSupported", 18);
STRING_LITERAL(TMP2965, "CommentXIgnored", 15);
STRING_LITERAL(TMP2966, "NilStmt", 7);
STRING_LITERAL(TMP2967, "AnalysisLoophole", 16);
STRING_LITERAL(TMP2968, "DifferentHeaps", 14);
STRING_LITERAL(TMP2969, "WriteToForeignHeap", 18);
STRING_LITERAL(TMP2970, "UnsafeCode", 10);
STRING_LITERAL(TMP2971, "EachIdentIsTuple", 16);
STRING_LITERAL(TMP2972, "ShadowIdent", 11);
STRING_LITERAL(TMP2973, "ProveInit", 9);
STRING_LITERAL(TMP2974, "ProveField", 10);
STRING_LITERAL(TMP2975, "ProveIndex", 10);
STRING_LITERAL(TMP2976, "GcUnsafe", 8);
STRING_LITERAL(TMP2977, "GcUnsafe2", 9);
STRING_LITERAL(TMP2978, "Uninit", 6);
STRING_LITERAL(TMP2979, "GcMem", 5);
STRING_LITERAL(TMP2980, "LockLevel", 9);
NIM_CONST TY195495 TMP2952 = {((NimStringDesc*) &TMP2953),
((NimStringDesc*) &TMP2954),
((NimStringDesc*) &TMP2955),
((NimStringDesc*) &TMP2956),
((NimStringDesc*) &TMP2957),
((NimStringDesc*) &TMP2958),
((NimStringDesc*) &TMP2959),
((NimStringDesc*) &TMP2960),
((NimStringDesc*) &TMP2961),
((NimStringDesc*) &TMP2962),
((NimStringDesc*) &TMP2963),
((NimStringDesc*) &TMP2964),
((NimStringDesc*) &TMP2965),
((NimStringDesc*) &TMP2966),
((NimStringDesc*) &TMP2967),
((NimStringDesc*) &TMP2968),
((NimStringDesc*) &TMP2969),
((NimStringDesc*) &TMP2970),
((NimStringDesc*) &TMP2971),
((NimStringDesc*) &TMP2972),
((NimStringDesc*) &TMP2973),
((NimStringDesc*) &TMP2974),
((NimStringDesc*) &TMP2975),
((NimStringDesc*) &TMP2976),
((NimStringDesc*) &TMP2977),
((NimStringDesc*) &TMP2978),
((NimStringDesc*) &TMP2979),
((NimStringDesc*) &TMP2980),
((NimStringDesc*) &TMP2951)}
;
STRING_LITERAL(TMP2981, "speed", 5);
STRING_LITERAL(TMP2982, "size", 4);
STRING_LITERAL(TMP2983, "none", 4);
STRING_LITERAL(TMP2984, "tuple", 5);
STRING_LITERAL(TMP2985, "invalid type for raises/tags list", 33);
STRING_LITERAL(TMP2986, "locks pragma takes a list of expressions", 40);
STRING_LITERAL(TMP2987, "integer must be within 0..1000", 30);
STRING_LITERAL(TMP2988, "\'experimental\' pragma only valid as toplevel statement", 54);
STRING_LITERAL(TMP2989, "implicitPragmas", 15);
extern tgcheap47216 gch_47244;
extern NU8 gcmd_169120;
extern NIM_BOOL gmixedmode_202462;
extern TNimType NTI225532; /* TMagic */
extern NU32 gglobaloptions_169118;
extern NU8 ccompiler_202461;
extern NimStringDesc* libpath_169233;
extern NU32 goptions_169116;
extern NU64 gnotes_196302;
extern TNimType NTI225810; /* TNodeSeq */

static N_INLINE(NI, sonslen_226249)(tnode225816* n) {
	NI result;
	result = 0;
	{
		if (!(*n).kindU.S6.Sons == 0) goto LA3;
		result = 0;
	}
	goto LA1;
	LA3: ;
	{
		result = (*n).kindU.S6.Sons->Sup.len;
	}
	LA1: ;
	return result;
}

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

static N_INLINE(void, rtladdzct_50404)(tcell45133* c) {
	addzct_48817((&gch_47244.Zct), c);
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		tcell45133* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_48846(src);
		(*c).Refcount += 8;
	}
	LA3: ;
	{
		tcell45133* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_48846((*dest));
		{
			(*c).Refcount -= 8;
			if (!((NU64)((*c).Refcount) < (NU64)(8))) goto LA11;
			rtladdzct_50404(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

N_NIMCALL(void, setexternname_310281)(tsym225846* s, NimStringDesc* extname) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = nsuFormatSingleElem(extname, (*(*s).Name).S);
	asgnRefNoCycle((void**) (&(*s).Loc.R), torope_177076(LOC1));
	{
		NIM_BOOL LOC4;
		NIM_BOOL LOC6;
		LOC4 = 0;
		LOC4 = (gcmd_169120 == ((NU8) 7));
		if (!(LOC4)) goto LA5;
		LOC6 = 0;
		LOC6 = contains_97245(extname, 36);
		LOC4 = !(LOC6);
		LA5: ;
		if (!LOC4) goto LA7;
		(*s).Loc.Flags |= ((NI8)1)<<((((NU8) 1))%(sizeof(NI8)*8));
	}
	LA7: ;
}

N_NIMCALL(void, makeexternexport_310383)(tsym225846* s, NimStringDesc* extname, tlineinfo195539 info) {
	setexternname_310281(s, extname);
	(*s).Flags |= ((NI32)1)<<((((NU8) 6))%(sizeof(NI32)*8));
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	tcell45133* c;
	c = usrtocell_48846(p);
	{
		(*c).Refcount -= 8;
		if (!((NU64)((*c).Refcount) < (NU64)(8))) goto LA3;
		rtladdzct_50404(c);
	}
	LA3: ;
}

N_NOINLINE(tnode225816*, newemptystrnode_310618)(tnode225816* n) {
	tnode225816* result;
	ttype225852* LOC1;
	NimStringDesc* LOC2;
	result = 0;
	LOC1 = 0;
	LOC1 = getsystype_282030(((NU8) 28));
	result = newnodeit_226145(((NU8) 20), (*n).Info, LOC1);
	LOC2 = 0;
	LOC2 = (*result).kindU.S3.Strval; (*result).kindU.S3.Strval = copyStringRC1(((NimStringDesc*) &TMP2922));
	if (LOC2) nimGCunrefNoCycle(LOC2);
	return result;
}

N_NIMCALL(tnode225816*, getstrlitnode_310642)(tcontext290021* c, tnode225816* n) {
	tnode225816* result;
	result = 0;
	{
		if (!!(((*n).Kind == ((NU8) 34)))) goto LA3;
		localerror_197955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2922));
		result = newemptystrnode_310618(n);
	}
	goto LA1;
	LA3: ;
	{
		asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[1]), (*c).Semconstexpr(c, (*n).kindU.S6.Sons->data[1]));
		switch ((*(*n).kindU.S6.Sons->data[1]).Kind) {
		case ((NU8) 20):
		case ((NU8) 21):
		case ((NU8) 22):
		{
			result = (*n).kindU.S6.Sons->data[1];
		}
		break;
		default:
		{
			localerror_197955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2922));
			result = newemptystrnode_310618(n);
		}
		break;
		}
	}
	LA1: ;
	return result;
}

N_NIMCALL(NimStringDesc*, expectstrlit_310718)(tcontext290021* c, tnode225816* n) {
	NimStringDesc* result;
	tnode225816* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = getstrlitnode_310642(c, n);
	result = copyString((*LOC1).kindU.S3.Strval);
	return result;
}

N_NIMCALL(NimStringDesc*, getoptionalstr_310834)(tcontext290021* c, tnode225816* n, NimStringDesc* defaultstr) {
	NimStringDesc* result;
	result = 0;
	{
		if (!((*n).Kind == ((NU8) 34))) goto LA3;
		result = expectstrlit_310718(c, n);
	}
	goto LA1;
	LA3: ;
	{
		result = copyString(defaultstr);
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, makeexternimport_310316)(tsym225846* s, NimStringDesc* extname) {
	setexternname_310281(s, extname);
	(*s).Flags |= ((NI32)1)<<((((NU8) 5))%(sizeof(NI32)*8));
	(*s).Flags &= ~(((NI32)1) << ((((NU8) 4)) % (sizeof(NI32)*8)));
}

N_NIMCALL(void, processimportcompilerproc_310410)(tsym225846* s, NimStringDesc* extname) {
	setexternname_310281(s, extname);
	(*s).Flags |= ((NI32)1)<<((((NU8) 5))%(sizeof(NI32)*8));
	(*s).Flags &= ~(((NI32)1) << ((((NU8) 4)) % (sizeof(NI32)*8)));
	(*s).Loc.Flags |= ((NI8)1)<<((((NU8) 7))%(sizeof(NI8)*8));
}

N_NIMCALL(void, invalidpragma_310088)(tnode225816* n) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = rendertree_250058(n, 4);
	localerror_197955((*n).Info, ((NU16) 162), LOC1);
}

N_NIMCALL(void, processimportcpp_310468)(tsym225846* s, NimStringDesc* extname) {
	tsym225846* m;
	setexternname_310281(s, extname);
	(*s).Flags |= ((NI32)1)<<((((NU8) 5))%(sizeof(NI32)*8));
	(*s).Flags |= ((NI32)1)<<((((NU8) 27))%(sizeof(NI32)*8));
	(*s).Flags &= ~(((NI32)1) << ((((NU8) 4)) % (sizeof(NI32)*8)));
	m = getmodule_235243(s);
	(*m).Flags |= ((NI32)1)<<((((NU8) 27))%(sizeof(NI32)*8));
	gmixedmode_202462 = NIM_TRUE;
}

N_NIMCALL(void, processimportobjc_310543)(tsym225846* s, NimStringDesc* extname) {
	tsym225846* m;
	setexternname_310281(s, extname);
	(*s).Flags |= ((NI32)1)<<((((NU8) 5))%(sizeof(NI32)*8));
	(*s).Flags |= ((NI32)1)<<((((NU8) 28))%(sizeof(NI32)*8));
	(*s).Flags &= ~(((NI32)1) << ((((NU8) 4)) % (sizeof(NI32)*8)));
	m = getmodule_235243(s);
	(*m).Flags |= ((NI32)1)<<((((NU8) 28))%(sizeof(NI32)*8));
}

N_NIMCALL(NI, expectintlit_310743)(tcontext290021* c, tnode225816* n) {
	NI result;
	result = 0;
	{
		if (!!(((*n).Kind == ((NU8) 34)))) goto LA3;
		localerror_197955((*n).Info, ((NU16) 7), ((NimStringDesc*) &TMP2922));
	}
	goto LA1;
	LA3: ;
	{
		asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[1]), (*c).Semconstexpr(c, (*n).kindU.S6.Sons->data[1]));
		switch ((*(*n).kindU.S6.Sons->data[1]).Kind) {
		case ((NU8) 6) ... ((NU8) 10):
		{
			result = ((NI) ((*(*n).kindU.S6.Sons->data[1]).kindU.S1.Intval));
		}
		break;
		default:
		{
			localerror_197955((*n).Info, ((NU16) 7), ((NimStringDesc*) &TMP2922));
		}
		break;
		}
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, noval_312764)(tnode225816* n) {
	{
		if (!((*n).Kind == ((NU8) 34))) goto LA3;
		invalidpragma_310088(n);
	}
	LA3: ;
}

N_NIMCALL(NIM_BOOL, isturnedon_311057)(tcontext290021* c, tnode225816* n) {
	NIM_BOOL result;
	result = 0;
	{
		tnode225816* x;
		if (!((*n).Kind == ((NU8) 34))) goto LA3;
		x = (*c).Semconstboolexpr(c, (*n).kindU.S6.Sons->data[1]);
		asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[1]), x);
		{
			if (!((*x).Kind == ((NU8) 6))) goto LA7;
			result = !(((*x).kindU.S1.Intval == IL64(0)));
			goto BeforeRet;
		}
		LA7: ;
	}
	LA3: ;
	localerror_197955((*n).Info, ((NU16) 26), ((NimStringDesc*) &TMP2922));
	BeforeRet: ;
	return result;
}

N_NIMCALL(void, pragmadeadcodeelim_311174)(tcontext290021* c, tnode225816* n) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isturnedon_311057(c, n);
		if (!LOC3) goto LA4;
		(*(*c).Module).Flags |= ((NI32)1)<<((((NU8) 25))%(sizeof(NI32)*8));
	}
	goto LA1;
	LA4: ;
	{
		(*(*c).Module).Flags &= ~(((NI32)1) << ((((NU8) 25)) % (sizeof(NI32)*8)));
	}
	LA1: ;
}

N_NIMCALL(void, pragmanoforward_311216)(tcontext290021* c, tnode225816* n) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isturnedon_311057(c, n);
		if (!LOC3) goto LA4;
		(*(*c).Module).Flags |= ((NI32)1)<<((((NU8) 8))%(sizeof(NI32)*8));
	}
	goto LA1;
	LA4: ;
	{
		(*(*c).Module).Flags &= ~(((NI32)1) << ((((NU8) 8)) % (sizeof(NI32)*8)));
	}
	LA1: ;
}

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)), (NI64)((*a).Sup.len * 1));
	LOC11 = (LOC13 == ((NI32) 0));
	LA12: ;
	result = LOC11;
	goto BeforeRet;
	BeforeRet: ;
	return result;
}

N_NIMCALL(void, processmagic_310866)(tcontext290021* c, tnode225816* n, tsym225846* s) {
	NimStringDesc* v;
	{
		if (!!(((*n).Kind == ((NU8) 34)))) goto LA3;
		localerror_197955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2922));
		goto BeforeRet;
	}
	LA3: ;
	v = 0;
	{
		if (!((*(*n).kindU.S6.Sons->data[1]).Kind == ((NU8) 2))) goto LA7;
		v = copyString((*(*(*n).kindU.S6.Sons->data[1]).kindU.S5.Ident).S);
	}
	goto LA5;
	LA7: ;
	{
		v = expectstrlit_310718(c, n);
	}
	LA5: ;
	{
		NU16 m_310980;
		NU16 res_311003;
		m_310980 = 0;
		res_311003 = ((NU16) 0);
		{
			while (1) {
				if (!(res_311003 <= ((NU16) 263))) goto LA12;
				m_310980 = res_311003;
				{
					NimStringDesc* LOC15;
					LOC15 = 0;
					LOC15 = copyStr(reprEnum(m_310980, (&NTI225532)), 1);
					if (!eqStrings(LOC15, v)) goto LA16;
					(*s).Magic = m_310980;
					goto LA10;
				}
				LA16: ;
				res_311003 += 1;
			} LA12: ;
		}
	} LA10: ;
	{
		if (!((*s).Magic == ((NU16) 0))) goto LA20;
		message_197976((*n).Info, ((NU16) 237), v);
	}
	LA20: ;
	BeforeRet: ;
}

N_NIMCALL(tlib225834*, getlib_311329)(tcontext290021* c, NU8 kind, tnode225816* path) {
	tlib225834* result;
	tlib225834* it;
	tlistentry127022* LOC12;
	result = 0;
	it = ((tlib225834*) ((*c).Libs.Head));
	{
		while (1) {
			if (!!((it == NIM_NIL))) goto LA2;
			{
				if (!((*it).Kind == kind)) goto LA5;
				{
					NIM_BOOL LOC9;
					LOC9 = 0;
					LOC9 = exprstructuralequivalent_261184((*it).Path, path);
					if (!LOC9) goto LA10;
					result = it;
					goto BeforeRet;
				}
				LA10: ;
			}
			LA5: ;
			it = ((tlib225834*) ((*it).Sup.Next));
		} LA2: ;
	}
	result = newlib_290186(kind);
	asgnRefNoCycle((void**) (&(*result).Path), path);
	LOC12 = 0;
	LOC12 = &result->Sup;
	append_127053((&(*c).Libs), LOC12);
	{
		if (!((*path).Kind >= ((NU8) 20) && (*path).Kind <= ((NU8) 22))) goto LA15;
		(*result).Isoverriden = isdynliboverride_170490((*path).kindU.S3.Strval);
	}
	LA15: ;
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode225816*, expectdynlibnode_311404)(tcontext290021* c, tnode225816* n) {
	tnode225816* result;
	result = 0;
	{
		if (!!(((*n).Kind == ((NU8) 34)))) goto LA3;
		localerror_197955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2922));
		result = newemptystrnode_310618(n);
	}
	goto LA1;
	LA3: ;
	{
		result = (*c).Semexpr(c, (*n).kindU.S6.Sons->data[1], 0);
		{
			NIM_BOOL LOC8;
			LOC8 = 0;
			LOC8 = ((*result).Kind == ((NU8) 3));
			if (!(LOC8)) goto LA9;
			LOC8 = ((*(*result).kindU.S4.Sym).Kind == ((NU8) 10));
			LA9: ;
			if (!LOC8) goto LA10;
			result = (*(*result).kindU.S4.Sym).Ast;
		}
		LA10: ;
		{
			NIM_BOOL LOC14;
			LOC14 = 0;
			LOC14 = ((*result).Typ == NIM_NIL);
			if (LOC14) goto LA15;
			LOC14 = !(((369098752 &(IL64(1)<<(((*(*result).Typ).Kind)&IL64(63))))!=0));
			LA15: ;
			if (!LOC14) goto LA16;
			localerror_197955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2922));
			result = newemptystrnode_310618(n);
		}
		LA16: ;
	}
	LA1: ;
	return result;
}

static N_INLINE(NIM_BOOL, canbecycleroot_48867)(tcell45133* c) {
	NIM_BOOL result;
	result = 0;
	result = !((((*(*c).Typ).flags &(1<<((((NU8) 1))&7)))!=0));
	return result;
}

static N_INLINE(void, rtladdcycleroot_49629)(tcell45133* c) {
	{
		if (!!((((NI) ((NI)((*c).Refcount & 3))) == 3))) goto LA3;
		(*c).Refcount = (NI)((NI)((*c).Refcount & -4) | 3);
		incl_45871((&gch_47244.Cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_51225)(tcell45133* c) {
	(*c).Refcount = (NI)((NU64)((*c).Refcount) + (NU64)(8));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_48867(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_49629(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_50804)(tcell45133* c) {
	{
		(*c).Refcount -= 8;
		if (!((NU64)((*c).Refcount) < (NU64)(8))) goto LA3;
		rtladdzct_50404(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_48867(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_49629(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		tcell45133* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_48846(src);
		incref_51225(LOC5);
	}
	LA3: ;
	{
		tcell45133* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_48846((*dest));
		decref_50804(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

N_NIMCALL(void, processdynlib_311515)(tcontext290021* c, tnode225816* n, tsym225846* sym) {
	{
		NIM_BOOL LOC3;
		tnode225816* LOC7;
		LOC3 = 0;
		LOC3 = (sym == NIM_NIL);
		if (LOC3) goto LA4;
		LOC3 = ((*sym).Kind == ((NU8) 6));
		LA4: ;
		if (!LOC3) goto LA5;
		LOC7 = 0;
		LOC7 = expectdynlibnode_311404(c, n);
		asgnRef((void**) (&(*((toptionentry290005*) ((*c).Optionstack.Tail))).Dynlib), getlib_311329(c, ((NU8) 1), LOC7));
	}
	goto LA1;
	LA5: ;
	{
		{
			tlib225834* lib;
			tnode225816* LOC13;
			if (!((*n).Kind == ((NU8) 34))) goto LA11;
			LOC13 = 0;
			LOC13 = expectdynlibnode_311404(c, n);
			lib = getlib_311329(c, ((NU8) 1), LOC13);
			{
				if (!!((*lib).Isoverriden)) goto LA16;
				addtolib_290192(lib, sym);
				(*sym).Loc.Flags |= ((NI8)1)<<((((NU8) 4))%(sizeof(NI8)*8));
			}
			LA16: ;
		}
		goto LA9;
		LA11: ;
		{
			(*sym).Loc.Flags |= ((NI8)1)<<((((NU8) 5))%(sizeof(NI8)*8));
		}
		LA9: ;
		{
			NIM_BOOL LOC21;
			NIM_BOOL LOC22;
			LOC21 = 0;
			LOC22 = 0;
			LOC22 = ((520192 &(1<<(((*sym).Kind)&31)))!=0);
			if (!(LOC22)) goto LA23;
			LOC22 = !(((*sym).Typ == NIM_NIL));
			LA23: ;
			LOC21 = LOC22;
			if (!(LOC21)) goto LA24;
			LOC21 = ((*(*sym).Typ).Callconv == ((NU8) 0));
			LA24: ;
			if (!LOC21) goto LA25;
			(*(*sym).Typ).Callconv = ((NU8) 2);
		}
		LA25: ;
	}
	LA1: ;
}

N_NIMCALL(void, markcompilerproc_313443)(tsym225846* s) {
	makeexternexport_310383(s, ((NimStringDesc*) &TMP2923), (*s).Info);
	(*s).Flags |= ((NI32)1)<<((((NU8) 16))%(sizeof(NI32)*8));
	(*s).Flags |= ((NI32)1)<<((((NU8) 0))%(sizeof(NI32)*8));
	registercompilerproc_282042(s);
}

static N_INLINE(tnode225816*, HEX5BHEX5D_226698)(tnode225816* n, NI i) {
	tnode225816* result;
	result = 0;
	result = (*n).kindU.S6.Sons->data[i];
	return result;
}

static N_INLINE(NI, len_226364)(tnode225816* n) {
	NI result;
	result = 0;
	{
		if (!(*n).kindU.S6.Sons == 0) goto LA3;
		result = 0;
	}
	goto LA1;
	LA3: ;
	{
		result = (*n).kindU.S6.Sons->Sup.len;
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, deprecatedstmt_313484)(tcontext290021* c, tnode225816* pragma_313487) {
	tnode225816* pragma;
	pragma = HEX5BHEX5D_226698(pragma_313487, 1);
	{
		if (!!(((*pragma).Kind == ((NU8) 41)))) goto LA3;
		localerror_197966((*pragma).Info, ((NimStringDesc*) &TMP2926));
		goto BeforeRet;
	}
	LA3: ;
	{
		tnode225816* n_313498;
		n_313498 = 0;
		{
			NI i_313549;
			NI HEX3Atmp_313551;
			NI LOC7;
			NI res_313553;
			i_313549 = 0;
			HEX3Atmp_313551 = 0;
			LOC7 = 0;
			LOC7 = len_226364(pragma);
			HEX3Atmp_313551 = (LOC7 - 1);
			res_313553 = 0;
			{
				while (1) {
					if (!(res_313553 <= HEX3Atmp_313551)) goto LA9;
					i_313549 = res_313553;
					n_313498 = (*pragma).kindU.S6.Sons->data[i_313549];
					{
						tsym225846* dest;
						tnode225816* LOC14;
						tident200021* src;
						tnode225816* LOC15;
						tsym225846* alias;
						tnode225816* LOC16;
						if (!((*n_313498).Kind == ((NU8) 34) || (*n_313498).Kind == ((NU8) 33))) goto LA12;
						LOC14 = 0;
						LOC14 = HEX5BHEX5D_226698(n_313498, 1);
						dest = qualifiedlookup_296122(c, LOC14, 2);
						LOC15 = 0;
						LOC15 = HEX5BHEX5D_226698(n_313498, 0);
						src = considerquotedident_295010(LOC15);
						LOC16 = 0;
						LOC16 = HEX5BHEX5D_226698(n_313498, 0);
						alias = newsym_226074(((NU8) 25), src, dest, (*LOC16).Info);
						(*alias).Flags |= ((NI32)1)<<((((NU8) 1))%(sizeof(NI32)*8));
						{
							if (!(((*dest).Flags &(1<<((((NU8) 16))&31)))!=0)) goto LA19;
							markcompilerproc_313443(alias);
						}
						LA19: ;
						addinterfacedecl_295845(c, alias);
					}
					goto LA10;
					LA12: ;
					{
						localerror_197966((*n_313498).Info, ((NimStringDesc*) &TMP2928));
					}
					LA10: ;
					res_313553 += 1;
				} LA9: ;
			}
		}
	}
	BeforeRet: ;
}

N_NIMCALL(void, typeborrow_313384)(tsym225846* sym, tnode225816* n) {
	{
		tnode225816* it;
		if (!((*n).Kind == ((NU8) 34))) goto LA3;
		it = (*n).kindU.S6.Sons->data[1];
		{
			if (!!(((*it).Kind == ((NU8) 53)))) goto LA7;
			localerror_197966((*n).Info, ((NimStringDesc*) &TMP2929));
		}
		LA7: ;
	}
	LA3: ;
	(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 27))%(sizeof(NI32)*8));
}

static N_INLINE(NIM_BOOL, isroutine_232781)(tsym225846* s) {
	NIM_BOOL result;
	result = 0;
	result = ((520192 &(1<<(((*s).Kind)&31)))!=0);
	return result;
}

N_NIMCALL(void, processdefine_312381)(tcontext290021* c, tnode225816* n) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = ((*n).Kind == ((NU8) 34));
		if (!(LOC3)) goto LA4;
		LOC3 = ((*(*n).kindU.S6.Sons->data[1]).Kind == ((NU8) 2));
		LA4: ;
		if (!LOC3) goto LA5;
		definesymbol_201009((*(*(*n).kindU.S6.Sons->data[1]).kindU.S5.Ident).S);
		message_197976((*n).Info, ((NU16) 234), ((NimStringDesc*) &TMP2930));
	}
	goto LA1;
	LA5: ;
	{
		invalidpragma_310088(n);
	}
	LA1: ;
}

N_NIMCALL(void, processundef_312451)(tcontext290021* c, tnode225816* n) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = ((*n).Kind == ((NU8) 34));
		if (!(LOC3)) goto LA4;
		LOC3 = ((*(*n).kindU.S6.Sons->data[1]).Kind == ((NU8) 2));
		LA4: ;
		if (!LOC3) goto LA5;
		undefsymbol_201027((*(*(*n).kindU.S6.Sons->data[1]).kindU.S5.Ident).S);
		message_197976((*n).Info, ((NU16) 234), ((NimStringDesc*) &TMP2931));
	}
	goto LA1;
	LA5: ;
	{
		invalidpragma_310088(n);
	}
	LA1: ;
}

N_NIMCALL(void, processcompile_312528)(tcontext290021* c, tnode225816* n) {
	NimStringDesc* s;
	NimStringDesc* found;
	NimStringDesc* trunc;
	NimStringDesc* LOC5;
	s = expectstrlit_310718(c, n);
	found = findfile_170356(s);
	{
		if (!((found) && (found)->Sup.len == 0)) goto LA3;
		found = copyString(s);
	}
	LA3: ;
	trunc = noschangeFileExt(found, ((NimStringDesc*) &TMP2922));
	addexternalfiletocompile_203399(found);
	LOC5 = 0;
	LOC5 = completecfilepath_202855(trunc, NIM_FALSE);
	addfiletolink_202897(LOC5);
}

N_NIMCALL(void, processcommonlink_312541)(tcontext290021* c, tnode225816* n, NU8 feature) {
	NimStringDesc* f;
	NimStringDesc* found;
	f = expectstrlit_310718(c, n);
	{
		TY117804 LOC3;
		memset((void*)(&LOC3), 0, sizeof(LOC3));
		nossplitFile(f, (&LOC3));
		if (!((LOC3.Field2) && (LOC3.Field2)->Sup.len == 0)) goto LA4;
		f = nosaddFileExt(f, cc_202434[(ccompiler_202461)- 1].Field1);
	}
	LA4: ;
	found = findfile_170356(f);
	{
		if (!((found) && (found)->Sup.len == 0)) goto LA8;
		found = copyString(f);
	}
	LA8: ;
	switch (feature) {
	case ((NU8) 0):
	{
		addfiletolink_202897(found);
	}
	break;
	case ((NU8) 1):
	{
		NimStringDesc* LOC12;
		NimStringDesc* LOC13;
		LOC12 = 0;
		LOC12 = completecfilepath_202855(found, NIM_FALSE);
		LOC13 = 0;
		LOC13 = HEX2F_117499(libpath_169233, LOC12);
		addfiletolink_202897(LOC13);
	}
	break;
	default:
	{
		internalerror_197987((*n).Info, ((NimStringDesc*) &TMP2932));
	}
	break;
	}
}

N_NIMCALL(void, pragmabreakpoint_312554)(tcontext290021* c, tnode225816* n) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = getoptionalstr_310834(c, n, ((NimStringDesc*) &TMP2922));
}

N_NIMCALL(void, pragmawatchpoint_312587)(tcontext290021* c, tnode225816* n) {
	{
		if (!((*n).Kind == ((NU8) 34))) goto LA3;
		asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[1]), (*c).Semexpr(c, (*n).kindU.S6.Sons->data[1], 0));
	}
	goto LA1;
	LA3: ;
	{
		invalidpragma_310088(n);
	}
	LA1: ;
}

N_NIMCALL(void, processnote_311633)(tcontext290021* c, tnode225816* n) {
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		NIM_BOOL LOC5;
		NIM_BOOL LOC6;
		NIM_BOOL LOC7;
		NI LOC9;
		NU16 nk;
		NU8 LOC16;
		tnode225816* x;
		LOC3 = 0;
		LOC4 = 0;
		LOC5 = 0;
		LOC6 = 0;
		LOC7 = 0;
		LOC7 = ((*n).Kind == ((NU8) 34));
		if (!(LOC7)) goto LA8;
		LOC9 = 0;
		LOC9 = sonslen_226249(n);
		LOC7 = (LOC9 == 2);
		LA8: ;
		LOC6 = LOC7;
		if (!(LOC6)) goto LA10;
		LOC6 = ((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 42));
		LA10: ;
		LOC5 = LOC6;
		if (!(LOC5)) goto LA11;
		LOC5 = ((*(*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[1]).Kind == ((NU8) 2));
		LA11: ;
		LOC4 = LOC5;
		if (!(LOC4)) goto LA12;
		LOC4 = ((*(*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[0]).Kind == ((NU8) 2));
		LA12: ;
		LOC3 = LOC4;
		if (!(LOC3)) goto LA13;
		LOC3 = ((*(*n).kindU.S6.Sons->data[1]).Kind == ((NU8) 2));
		LA13: ;
		if (!LOC3) goto LA14;
		nk = 0;
		LOC16 = 0;
		LOC16 = whichkeyword_204382((*(*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[0]).kindU.S5.Ident);
		switch (LOC16) {
		case ((NU8) 110):
		{
			NI x;
			x = findstr_204342(TMP2934, 17, (*(*(*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[1]).kindU.S5.Ident).S);
			{
				if (!(0 <= x)) goto LA20;
				nk = ((NU16) ((NI64)(x + 259)));
			}
			goto LA18;
			LA20: ;
			{
				invalidpragma_310088(n);
				goto BeforeRet;
			}
			LA18: ;
		}
		break;
		case ((NU8) 109):
		{
			NI x;
			x = findstr_204342(TMP2952, 29, (*(*(*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[1]).kindU.S5.Ident).S);
			{
				if (!(0 <= x)) goto LA26;
				nk = ((NU16) ((NI64)(x + 230)));
			}
			goto LA24;
			LA26: ;
			{
				invalidpragma_310088(n);
				goto BeforeRet;
			}
			LA24: ;
		}
		break;
		default:
		{
			invalidpragma_310088(n);
			goto BeforeRet;
		}
		break;
		}
		x = (*c).Semconstboolexpr(c, (*n).kindU.S6.Sons->data[1]);
		asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[1]), x);
		{
			NIM_BOOL LOC32;
			LOC32 = 0;
			LOC32 = ((*x).Kind == ((NU8) 6));
			if (!(LOC32)) goto LA33;
			LOC32 = !(((*x).kindU.S1.Intval == IL64(0)));
			LA33: ;
			if (!LOC32) goto LA34;
			gnotes_196302 |= ((NI64)1)<<(((nk- 230))%(sizeof(NI64)*8));
		}
		goto LA30;
		LA34: ;
		{
			gnotes_196302 &= ~(((NI64)1) << (((nk- 230)) % (sizeof(NI64)*8)));
		}
		LA30: ;
	}
	goto LA1;
	LA14: ;
	{
		invalidpragma_310088(n);
	}
	LA1: ;
	BeforeRet: ;
}

N_NIMCALL(void, onoff_311129)(tcontext290021* c, tnode225816* n, NU32 op) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isturnedon_311057(c, n);
		if (!LOC3) goto LA4;
		goptions_169116 = (goptions_169116 | op);
	}
	goto LA1;
	LA4: ;
	{
		goptions_169116 = (goptions_169116 & ~ op);
	}
	LA1: ;
}

N_NIMCALL(NU8, wordtocallconv_311020)(NU8 sw) {
	NU8 result;
	result = 0;
	result = ((NU8) ((NI64)(((NI) ((NI64)(0 + ((NI) (sw))))) - 127)));
	return result;
}

N_NIMCALL(void, processcallconv_311258)(tcontext290021* c, tnode225816* n) {
	{
		NIM_BOOL LOC3;
		NU8 sw;
		LOC3 = 0;
		LOC3 = ((*n).Kind == ((NU8) 34));
		if (!(LOC3)) goto LA4;
		LOC3 = ((*(*n).kindU.S6.Sons->data[1]).Kind == ((NU8) 2));
		LA4: ;
		if (!LOC3) goto LA5;
		sw = whichkeyword_204382((*(*n).kindU.S6.Sons->data[1]).kindU.S5.Ident);
		switch (sw) {
		case ((NU8) 127) ... ((NU8) 136):
		{
			(*((toptionentry290005*) ((*c).Optionstack.Tail))).Defaultcc = wordtocallconv_311020(sw);
		}
		break;
		default:
		{
			localerror_197955((*n).Info, ((NU16) 100), ((NimStringDesc*) &TMP2922));
		}
		break;
		}
	}
	goto LA1;
	LA5: ;
	{
		localerror_197955((*n).Info, ((NU16) 100), ((NimStringDesc*) &TMP2922));
	}
	LA1: ;
}

N_NIMCALL(NIM_BOOL, processoption_312004)(tcontext290021* c, tnode225816* n) {
	NIM_BOOL result;
	result = 0;
	{
		if (!!(((*n).Kind == ((NU8) 34)))) goto LA3;
		result = NIM_TRUE;
	}
	goto LA1;
	LA3: ;
	{
		if (!((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 42))) goto LA6;
		processnote_311633(c, n);
	}
	goto LA1;
	LA6: ;
	{
		if (!!(((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 2)))) goto LA9;
		result = NIM_TRUE;
	}
	goto LA1;
	LA9: ;
	{
		NU8 sw;
		sw = whichkeyword_204382((*(*n).kindU.S6.Sons->data[0]).kindU.S5.Ident);
		switch (sw) {
		case ((NU8) 139):
		{
			onoff_311129(c, n, 1022);
		}
		break;
		case ((NU8) 81):
		{
			onoff_311129(c, n, 2);
		}
		break;
		case ((NU8) 168):
		{
			onoff_311129(c, n, 4);
		}
		break;
		case ((NU8) 140):
		{
			onoff_311129(c, n, 8);
		}
		break;
		case ((NU8) 141):
		{
			onoff_311129(c, n, 16);
		}
		break;
		case ((NU8) 142):
		{
			onoff_311129(c, n, 32);
		}
		break;
		case ((NU8) 143):
		{
			onoff_311129(c, n, 64);
		}
		break;
		case ((NU8) 144):
		{
			onoff_311129(c, n, 384);
		}
		break;
		case ((NU8) 145):
		{
			onoff_311129(c, n, 128);
		}
		break;
		case ((NU8) 146):
		{
			onoff_311129(c, n, 256);
		}
		break;
		case ((NU8) 147):
		{
			onoff_311129(c, n, 512);
		}
		break;
		case ((NU8) 149):
		{
			onoff_311129(c, n, 2048);
		}
		break;
		case ((NU8) 150):
		{
			onoff_311129(c, n, 4096);
		}
		break;
		case ((NU8) 124):
		{
			processcallconv_311258(c, n);
		}
		break;
		case ((NU8) 116):
		{
			onoff_311129(c, n, 1024);
		}
		break;
		case ((NU8) 117):
		{
			onoff_311129(c, n, 32768);
		}
		break;
		case ((NU8) 118):
		{
			onoff_311129(c, n, 65536);
		}
		break;
		case ((NU8) 126):
		{
			onoff_311129(c, n, 131072);
		}
		break;
		case ((NU8) 80):
		{
			onoff_311129(c, n, 524288);
		}
		break;
		case ((NU8) 253):
		{
			onoff_311129(c, n, 262144);
		}
		break;
		case ((NU8) 104):
		{
			processdynlib_311515(c, n, NIM_NIL);
		}
		break;
		case ((NU8) 151):
		{
			{
				if (!!(((*(*n).kindU.S6.Sons->data[1]).Kind == ((NU8) 2)))) goto LA36;
				invalidpragma_310088(n);
			}
			goto LA34;
			LA36: ;
			{
				NimStringDesc* LOC39;
				LOC39 = 0;
				LOC39 = nsuNormalize((*(*(*n).kindU.S6.Sons->data[1]).kindU.S5.Ident).S);
				if (eqStrings(LOC39, ((NimStringDesc*) &TMP2981))) goto LA40;
				if (eqStrings(LOC39, ((NimStringDesc*) &TMP2982))) goto LA41;
				if (eqStrings(LOC39, ((NimStringDesc*) &TMP2983))) goto LA42;
				goto LA43;
				LA40: ;
				{
					goptions_169116 |= ((NI32)1)<<((((NU8) 13))%(sizeof(NI32)*8));
					goptions_169116 &= ~(((NI32)1) << ((((NU8) 14)) % (sizeof(NI32)*8)));
				}
				goto LA44;
				LA41: ;
				{
					goptions_169116 &= ~(((NI32)1) << ((((NU8) 13)) % (sizeof(NI32)*8)));
					goptions_169116 |= ((NI32)1)<<((((NU8) 14))%(sizeof(NI32)*8));
				}
				goto LA44;
				LA42: ;
				{
					goptions_169116 &= ~(((NI32)1) << ((((NU8) 13)) % (sizeof(NI32)*8)));
					goptions_169116 &= ~(((NI32)1) << ((((NU8) 14)) % (sizeof(NI32)*8)));
				}
				goto LA44;
				LA43: ;
				{
					localerror_197955((*n).Info, ((NU16) 27), ((NimStringDesc*) &TMP2922));
				}
				LA44: ;
			}
			LA34: ;
		}
		break;
		case ((NU8) 186):
		{
			onoff_311129(c, n, 1048576);
		}
		break;
		case ((NU8) 148):
		{
			onoff_311129(c, n, 2097152);
		}
		break;
		default:
		{
			result = NIM_TRUE;
		}
		break;
		}
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, processpush_312266)(tcontext290021* c, tnode225816* n, NI start) {
	toptionentry290005* x;
	toptionentry290005* y;
	tlistentry127022* LOC5;
	{
		if (!((*(*n).kindU.S6.Sons->data[(NI64)(start - 1)]).Kind == ((NU8) 34))) goto LA3;
		localerror_197955((*n).Info, ((NU16) 4), ((NimStringDesc*) &TMP2933));
	}
	LA3: ;
	x = newoptionentry_290181();
	y = ((toptionentry290005*) ((*c).Optionstack.Tail));
	(*x).Options = goptions_169116;
	(*x).Defaultcc = (*y).Defaultcc;
	asgnRef((void**) (&(*x).Dynlib), (*y).Dynlib);
	(*x).Notes = gnotes_196302;
	LOC5 = 0;
	LOC5 = &x->Sup;
	append_127053((&(*c).Optionstack), LOC5);
	{
		NI i_312309;
		NI HEX3Atmp_312350;
		NI LOC7;
		NI res_312353;
		i_312309 = 0;
		HEX3Atmp_312350 = 0;
		LOC7 = 0;
		LOC7 = sonslen_226249(n);
		HEX3Atmp_312350 = (NI64)(LOC7 - 1);
		res_312353 = start;
		{
			while (1) {
				if (!(res_312353 <= HEX3Atmp_312350)) goto LA9;
				i_312309 = res_312353;
				{
					NIM_BOOL LOC12;
					LOC12 = 0;
					LOC12 = processoption_312004(c, (*n).kindU.S6.Sons->data[i_312309]);
					if (!LOC12) goto LA13;
					{
						if (!(*x).Otherpragmas == 0) goto LA17;
						asgnRefNoCycle((void**) (&(*x).Otherpragmas), newnodei_226138(((NU8) 90), (*n).Info));
					}
					LA17: ;
					add_226498((*x).Otherpragmas, (*n).kindU.S6.Sons->data[i_312309]);
				}
				LA13: ;
				res_312353 += 1;
			} LA9: ;
		}
	}
}

N_NIMCALL(void, processpop_312370)(tcontext290021* c, tnode225816* n) {
	{
		if (!((*c).Optionstack.Counter <= 1)) goto LA3;
		localerror_197955((*n).Info, ((NU16) 31), ((NimStringDesc*) &TMP2922));
	}
	goto LA1;
	LA3: ;
	{
		goptions_169116 = (*((toptionentry290005*) ((*c).Optionstack.Tail))).Options;
		gnotes_196302 = (*((toptionentry290005*) ((*c).Optionstack.Tail))).Notes;
		remove_127652((&(*c).Optionstack), (*c).Optionstack.Tail);
	}
	LA1: ;
}

N_NIMCALL(void, processpragma_313018)(tcontext290021* c, tnode225816* n, NI i) {
	tnode225816* it;
	tsym225846* userpragma;
	tnode225816* body;
	it = (*n).kindU.S6.Sons->data[i];
	{
		if (!!(((*it).Kind == ((NU8) 34)))) goto LA3;
		invalidpragma_310088(n);
	}
	goto LA1;
	LA3: ;
	{
		if (!!(((*(*it).kindU.S6.Sons->data[0]).Kind == ((NU8) 2)))) goto LA6;
		invalidpragma_310088(n);
	}
	goto LA1;
	LA6: ;
	{
		if (!!(((*(*it).kindU.S6.Sons->data[1]).Kind == ((NU8) 2)))) goto LA9;
		invalidpragma_310088(n);
	}
	goto LA1;
	LA9: ;
	LA1: ;
	userpragma = newsym_226074(((NU8) 18), (*(*it).kindU.S6.Sons->data[1]).kindU.S5.Ident, NIM_NIL, (*it).Info);
	body = newnodei_226138(((NU8) 90), (*n).Info);
	{
		NI j_313133;
		NI HEX3Atmp_313150;
		NI HEX3Atmp_313151;
		NI LOC12;
		NI res_313154;
		j_313133 = 0;
		HEX3Atmp_313150 = 0;
		HEX3Atmp_313151 = 0;
		HEX3Atmp_313150 = (NI64)(i + 1);
		LOC12 = 0;
		LOC12 = sonslen_226249(n);
		HEX3Atmp_313151 = (NI64)(LOC12 - 1);
		res_313154 = HEX3Atmp_313150;
		{
			while (1) {
				if (!(res_313154 <= HEX3Atmp_313151)) goto LA14;
				j_313133 = res_313154;
				addson_226287(body, (*n).kindU.S6.Sons->data[j_313133]);
				res_313154 += 1;
			} LA14: ;
		}
	}
	asgnRefNoCycle((void**) (&(*userpragma).Ast), body);
	strtableadd_235103((&(*c).Userpragmas), userpragma);
}

N_NIMCALL(void, processcodegendecl_310855)(tcontext290021* c, tnode225816* n, tsym225846* sym) {
	asgnRefNoCycle((void**) (&(*sym).Constraint), getstrlitnode_310642(c, n));
}

N_NIMCALL(tnode225816*, semasmoremit_312634)(tcontext290021* con, tnode225816* n, NIM_CHAR marker) {
	tnode225816* result;
	result = 0;
	switch ((*(*n).kindU.S6.Sons->data[1]).Kind) {
	case ((NU8) 20):
	case ((NU8) 21):
	case ((NU8) 22):
	{
		NU8 LOC2;
		tnodeseq225810* LOC8;
		NimStringDesc* str;
		NI a;
		LOC2 = 0;
		{
			if (!((*n).Kind == ((NU8) 89))) goto LA5;
			LOC2 = ((NU8) 89);
		}
		goto LA3;
		LA5: ;
		{
			LOC2 = ((NU8) 151);
		}
		LA3: ;
		LOC8 = 0;
		LOC8 = (tnodeseq225810*) newSeq((&NTI225810), 0);
		result = newnode_228207(LOC2, (*n).Info, LOC8, NIM_NIL);
		str = copyString((*(*n).kindU.S6.Sons->data[1]).kindU.S3.Strval);
		{
			if (!((str) && (str)->Sup.len == 0)) goto LA11;
			localerror_197955((*n).Info, ((NU16) 32), ((NimStringDesc*) &TMP2922));
			goto BeforeRet;
		}
		LA11: ;
		a = 0;
		{
			while (1) {
				NI b;
				NimStringDesc* sub;
				NI c;
				b = nsuFindChar(str, marker, a);
				{
					if (!(b < 0)) goto LA17;
					sub = copyStr(str, a);
				}
				goto LA15;
				LA17: ;
				{
					sub = copyStrLast(str, a, (NI64)(b - 1));
				}
				LA15: ;
				{
					tnode225816* LOC24;
					if (!!(((sub) && (sub)->Sup.len == 0))) goto LA22;
					LOC24 = 0;
					LOC24 = newstrnode_226118(((NU8) 20), sub);
					addson_226287(result, LOC24);
				}
				LA22: ;
				{
					if (!(b < 0)) goto LA27;
					goto LA13;
				}
				LA27: ;
				c = nsuFindChar(str, marker, (NI64)(b + 1));
				{
					if (!(c < 0)) goto LA31;
					sub = copyStr(str, (NI64)(b + 1));
				}
				goto LA29;
				LA31: ;
				{
					sub = copyStrLast(str, (NI64)(b + 1), (NI64)(c - 1));
				}
				LA29: ;
				{
					tsym225846* e;
					tident200021* LOC38;
					if (!!(((sub) && (sub)->Sup.len == 0))) goto LA36;
					LOC38 = 0;
					LOC38 = getident_200472(sub);
					e = searchinscopes_295312(con, LOC38);
					{
						tnode225816* LOC47;
						if (!!((e == NIM_NIL))) goto LA41;
						{
							if (!((*e).Kind == ((NU8) 23))) goto LA45;
							loadstub_279260(e);
						}
						LA45: ;
						LOC47 = 0;
						LOC47 = newsymnode_226132(e);
						addson_226287(result, LOC47);
					}
					goto LA39;
					LA41: ;
					{
						tnode225816* LOC49;
						LOC49 = 0;
						LOC49 = newstrnode_226118(((NU8) 20), sub);
						addson_226287(result, LOC49);
					}
					LA39: ;
				}
				goto LA34;
				LA36: ;
				{
					NimStringDesc* LOC51;
					tnode225816* LOC52;
					LOC51 = 0;
					LOC51 = nimCharToStr(marker);
					LOC52 = 0;
					LOC52 = newstrnode_226118(((NU8) 20), LOC51);
					addson_226287(result, LOC52);
				}
				LA34: ;
				{
					if (!(c < 0)) goto LA55;
					goto LA13;
				}
				LA55: ;
				a = (NI64)(c + 1);
			}
		} LA13: ;
	}
	break;
	default:
	{
		illformedast_291405(n);
	}
	break;
	}
	BeforeRet: ;
	return result;
}

N_NIMCALL(void, pragmaemit_312740)(tcontext290021* c, tnode225816* n) {
	tnode225816* LOC1;
	LOC1 = 0;
	LOC1 = getstrlitnode_310642(c, n);
	asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[1]), semasmoremit_312634(c, n, 96));
}

N_NIMCALL(void, pragmaunroll_312782)(tcontext290021* c, tnode225816* n) {
	{
		if (!((*(*c).P).Nestedloopcounter <= 0)) goto LA3;
		invalidpragma_310088(n);
	}
	goto LA1;
	LA3: ;
	{
		NI unrollfactor;
		if (!((*n).Kind == ((NU8) 34))) goto LA6;
		unrollfactor = expectintlit_310743(c, n);
		{
			if (!((NU64)(unrollfactor) < (NU64)(32))) goto LA10;
			asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[1]), newintnode_226096(((NU8) 6), ((NI64) (unrollfactor))));
		}
		goto LA8;
		LA10: ;
		{
			invalidpragma_310088(n);
		}
		LA8: ;
	}
	goto LA1;
	LA6: ;
	LA1: ;
}

N_NIMCALL(void, pragmaline_312825)(tcontext290021* c, tnode225816* n) {
	{
		tnode225816* a;
		if (!((*n).Kind == ((NU8) 34))) goto LA3;
		asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[1]), (*c).Semconstexpr(c, (*n).kindU.S6.Sons->data[1]));
		a = (*n).kindU.S6.Sons->data[1];
		{
			tnode225816* x;
			tnode225816* y;
			if (!((*a).Kind == ((NU8) 37))) goto LA7;
			x = (*a).kindU.S6.Sons->data[0];
			y = (*a).kindU.S6.Sons->data[1];
			{
				if (!((*x).Kind == ((NU8) 34))) goto LA11;
				x = (*x).kindU.S6.Sons->data[1];
			}
			LA11: ;
			{
				if (!((*y).Kind == ((NU8) 34))) goto LA15;
				y = (*y).kindU.S6.Sons->data[1];
			}
			LA15: ;
			{
				if (!!(((*x).Kind == ((NU8) 20)))) goto LA19;
				localerror_197955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2922));
			}
			goto LA17;
			LA19: ;
			{
				if (!!(((*y).Kind == ((NU8) 6)))) goto LA22;
				localerror_197955((*n).Info, ((NU16) 7), ((NimStringDesc*) &TMP2922));
			}
			goto LA17;
			LA22: ;
			{
				(*n).Info.Fileindex = fileinfoidx_195747((*x).kindU.S3.Strval);
				(*n).Info.Line = ((NI16) ((*y).kindU.S1.Intval));
			}
			LA17: ;
		}
		goto LA5;
		LA7: ;
		{
			localerror_197955((*n).Info, ((NU16) 188), ((NimStringDesc*) &TMP2984));
		}
		LA5: ;
	}
	goto LA1;
	LA3: ;
	{
		(*n).Info = getinfocontext_196992(-1);
	}
	LA1: ;
}

N_NIMCALL(void, processexc_313175)(tcontext290021* c, tnode225816* x) {
	ttype225852* t;
	ttype225852* LOC1;
	LOC1 = 0;
	LOC1 = (*c).Semtypenode(c, x, NIM_NIL);
	t = skiptypes_230245(LOC1, IL64(211106247215360));
	{
		if (!!(((*t).Kind == ((NU8) 17)))) goto LA4;
		localerror_197955((*x).Info, ((NU16) 4), ((NimStringDesc*) &TMP2985));
	}
	LA4: ;
	asgnRefNoCycle((void**) (&(*x).Typ), t);
}

N_NIMCALL(void, pragmaraisesortags_313171)(tcontext290021* c, tnode225816* n) {
	{
		tnode225816* it;
		if (!((*n).Kind == ((NU8) 34))) goto LA3;
		it = (*n).kindU.S6.Sons->data[1];
		{
			if (!!(((*it).Kind == ((NU8) 39) || (*it).Kind == ((NU8) 41)))) goto LA7;
			processexc_313175(c, it);
		}
		goto LA5;
		LA7: ;
		{
			{
				tnode225816* e_313227;
				e_313227 = 0;
				{
					NI i_313232;
					NI HEX3Atmp_313234;
					NI LOC12;
					NI res_313236;
					i_313232 = 0;
					HEX3Atmp_313234 = 0;
					LOC12 = 0;
					LOC12 = len_226364(it);
					HEX3Atmp_313234 = (LOC12 - 1);
					res_313236 = 0;
					{
						while (1) {
							if (!(res_313236 <= HEX3Atmp_313234)) goto LA14;
							i_313232 = res_313236;
							e_313227 = (*it).kindU.S6.Sons->data[i_313232];
							processexc_313175(c, e_313227);
							res_313236 += 1;
						} LA14: ;
					}
				}
			}
		}
		LA5: ;
	}
	goto LA1;
	LA3: ;
	{
		invalidpragma_310088(n);
	}
	LA1: ;
}

N_NIMCALL(void, pragmalockstmt_313258)(tcontext290021* c, tnode225816* it) {
	{
		if (!!(((*it).Kind == ((NU8) 34)))) goto LA3;
		invalidpragma_310088(it);
	}
	goto LA1;
	LA3: ;
	{
		tnode225816* n;
		n = HEX5BHEX5D_226698(it, 1);
		{
			if (!!(((*n).Kind == ((NU8) 41)))) goto LA8;
			localerror_197955((*n).Info, ((NU16) 4), ((NimStringDesc*) &TMP2986));
		}
		goto LA6;
		LA8: ;
		{
			{
				NI i_313302;
				NI HEX3Atmp_313332;
				NI LOC12;
				NI res_313335;
				i_313302 = 0;
				HEX3Atmp_313332 = 0;
				LOC12 = 0;
				LOC12 = len_226364(n);
				HEX3Atmp_313332 = (LOC12 - 1);
				res_313335 = 0;
				{
					while (1) {
						if (!(res_313335 <= HEX3Atmp_313332)) goto LA14;
						i_313302 = res_313335;
						asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[i_313302]), (*c).Semexpr(c, (*n).kindU.S6.Sons->data[i_313302], 0));
						res_313335 += 1;
					} LA14: ;
				}
			}
		}
		LA6: ;
	}
	LA1: ;
}

N_NIMCALL(NI16, pragmalocks_313352)(tcontext290021* c, tnode225816* it) {
	NI16 result;
	result = 0;
	{
		if (!!(((*it).Kind == ((NU8) 34)))) goto LA3;
		invalidpragma_310088(it);
	}
	goto LA1;
	LA3: ;
	{
		{
			tnode225816* LOC8;
			NI x;
			LOC8 = 0;
			LOC8 = HEX5BHEX5D_226698(it, 1);
			if (!!(((*LOC8).Kind == ((NU8) 23)))) goto LA9;
			x = expectintlit_310743(c, it);
			{
				NIM_BOOL LOC13;
				tnode225816* LOC17;
				LOC13 = 0;
				LOC13 = (x < 0);
				if (LOC13) goto LA14;
				LOC13 = (1000 < x);
				LA14: ;
				if (!LOC13) goto LA15;
				LOC17 = 0;
				LOC17 = HEX5BHEX5D_226698(it, 1);
				localerror_197966((*LOC17).Info, ((NimStringDesc*) &TMP2987));
			}
			goto LA11;
			LA15: ;
			{
				result = ((NI16) (x));
			}
			LA11: ;
		}
		LA9: ;
	}
	LA1: ;
	return result;
}

N_NIMCALL(tsym225846*, pragmaguard_313572)(tcontext290021* c, tnode225816* it, NU8 kind) {
	tsym225846* result;
	tnode225816* n;
	result = 0;
	{
		if (!!(((*it).Kind == ((NU8) 34)))) goto LA3;
		invalidpragma_310088(it);
		goto BeforeRet;
	}
	LA3: ;
	n = HEX5BHEX5D_226698(it, 1);
	{
		if (!((*n).Kind == ((NU8) 3))) goto LA7;
		result = (*n).kindU.S4.Sym;
	}
	goto LA5;
	LA7: ;
	{
		if (!(kind == ((NU8) 19))) goto LA10;
		result = qualifiedlookup_296122(c, n, 0);
		{
			NIM_BOOL LOC14;
			NIM_BOOL LOC15;
			tident200021* LOC20;
			LOC14 = 0;
			LOC15 = 0;
			LOC15 = result == 0;
			if (LOC15) goto LA16;
			LOC15 = !(((768 &(1<<(((*result).Kind)&31)))!=0));
			LA16: ;
			LOC14 = LOC15;
			if (LOC14) goto LA17;
			LOC14 = !((((*result).Flags &(1<<((((NU8) 3))&31)))!=0));
			LA17: ;
			if (!LOC14) goto LA18;
			LOC20 = 0;
			LOC20 = considerquotedident_295010(n);
			result = newsym_226074(((NU8) 0), LOC20, NIM_NIL, (*n).Info);
		}
		LA18: ;
	}
	goto LA5;
	LA10: ;
	{
		result = qualifiedlookup_296122(c, n, 2);
	}
	LA5: ;
	BeforeRet: ;
	return result;
}

static N_INLINE(NIM_BOOL, istoplevel_291436)(tcontext290021* c) {
	NIM_BOOL result;
	result = 0;
	result = ((*(*c).Currentscope).Depthlevel <= 2);
	return result;
}

N_NIMCALL(NIM_BOOL, singlepragma_313666)(tcontext290021* c, tsym225846* sym, tnode225816* n, NI i, tspecialwords204012 validpragmas) {
	NIM_BOOL result;
	tnode225816* it;
	tnode225816* key;
	result = 0;
	it = (*n).kindU.S6.Sons->data[i];
	{
		if (!((*it).Kind == ((NU8) 34))) goto LA3;
		key = (*it).kindU.S6.Sons->data[0];
	}
	goto LA1;
	LA3: ;
	{
		key = it;
	}
	LA1: ;
	{
		tsym225846* userpragma;
		if (!((*key).Kind == ((NU8) 2))) goto LA8;
		userpragma = strtableget_235111((*c).Userpragmas, (*key).kindU.S5.Ident);
		{
			if (!!((userpragma == NIM_NIL))) goto LA12;
			(*c).Instcounter += 1;
			{
				if (!(100 < (*c).Instcounter)) goto LA16;
				globalerror_197934((*it).Info, ((NU16) 25), (*(*userpragma).Name).S);
			}
			LA16: ;
			pragma_310079(c, sym, (*userpragma).Ast, validpragmas);
			asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[i]), (*userpragma).Ast);
			(*c).Instcounter -= 1;
		}
		goto LA10;
		LA12: ;
		{
			NU8 k;
			k = whichkeyword_204382((*key).kindU.S5.Ident);
			{
				if (!((validpragmas[k/8] &(1<<(k%8)))!=0)) goto LA21;
				switch (k) {
				case ((NU8) 91):
				{
					NimStringDesc* LOC24;
					LOC24 = 0;
					LOC24 = getoptionalstr_310834(c, it, ((NimStringDesc*) &TMP2923));
					makeexternexport_310383(sym, LOC24, (*it).Info);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 0))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 90):
				{
					NimStringDesc* LOC26;
					LOC26 = 0;
					LOC26 = getoptionalstr_310834(c, it, ((NimStringDesc*) &TMP2923));
					makeexternimport_310316(sym, LOC26);
				}
				break;
				case ((NU8) 89):
				{
					NimStringDesc* LOC28;
					LOC28 = 0;
					LOC28 = getoptionalstr_310834(c, it, ((NimStringDesc*) &TMP2923));
					processimportcompilerproc_310410(sym, LOC28);
				}
				break;
				case ((NU8) 203):
				{
					NimStringDesc* LOC30;
					LOC30 = 0;
					LOC30 = expectstrlit_310718(c, it);
					setexternname_310281(sym, LOC30);
				}
				break;
				case ((NU8) 83):
				{
					{
						if (!((393216 &(1<<(((*sym).Kind)&31)))!=0)) goto LA34;
						(*sym).Flags |= ((NI32)1)<<((((NU8) 25))%(sizeof(NI32)*8));
					}
					goto LA32;
					LA34: ;
					{
						invalidpragma_310088(it);
					}
					LA32: ;
				}
				break;
				case ((NU8) 181):
				{
					{
						if (!((*sym).Kind == ((NU8) 18))) goto LA40;
						(*sym).Flags |= ((NI32)1)<<((((NU8) 9))%(sizeof(NI32)*8));
					}
					goto LA38;
					LA40: ;
					{
						invalidpragma_310088(it);
					}
					LA38: ;
				}
				break;
				case ((NU8) 87):
				{
					NimStringDesc* LOC44;
					LOC44 = 0;
					LOC44 = getoptionalstr_310834(c, it, ((NimStringDesc*) &TMP2923));
					processimportcpp_310468(sym, LOC44);
				}
				break;
				case ((NU8) 88):
				{
					NimStringDesc* LOC46;
					LOC46 = 0;
					LOC46 = getoptionalstr_310834(c, it, ((NimStringDesc*) &TMP2923));
					processimportobjc_310543(sym, LOC46);
				}
				break;
				case ((NU8) 94):
				{
					NI align;
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA50;
						invalidpragma_310088(it);
					}
					LA50: ;
					align = expectintlit_310743(c, it);
					{
						NIM_BOOL LOC54;
						NIM_BOOL LOC55;
						NIM_BOOL LOC56;
						LOC54 = 0;
						LOC55 = 0;
						LOC56 = 0;
						LOC56 = ispoweroftwo_146518(align);
						LOC55 = !(LOC56);
						if (!(LOC55)) goto LA57;
						LOC55 = !((align == 0));
						LA57: ;
						LOC54 = LOC55;
						if (LOC54) goto LA58;
						LOC54 = ((NU64)(IL64(32767)) < (NU64)(((NI64) (align))));
						LA58: ;
						if (!LOC54) goto LA59;
						localerror_197955((*it).Info, ((NU16) 98), ((NimStringDesc*) &TMP2922));
					}
					goto LA52;
					LA59: ;
					{
						(*(*sym).Typ).Align = ((NI16) (align));
					}
					LA52: ;
				}
				break;
				case ((NU8) 155):
				{
					NI size;
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA65;
						invalidpragma_310088(it);
					}
					LA65: ;
					size = expectintlit_310743(c, it);
					{
						NIM_BOOL LOC69;
						NIM_BOOL LOC70;
						NIM_BOOL LOC71;
						LOC69 = 0;
						LOC70 = 0;
						LOC71 = 0;
						LOC71 = ispoweroftwo_146518(size);
						LOC70 = !(LOC71);
						if (LOC70) goto LA72;
						LOC70 = (size <= 0);
						LA72: ;
						LOC69 = LOC70;
						if (LOC69) goto LA73;
						LOC69 = (8 < size);
						LA73: ;
						if (!LOC69) goto LA74;
						localerror_197955((*it).Info, ((NU16) 98), ((NimStringDesc*) &TMP2922));
					}
					goto LA67;
					LA74: ;
					{
						(*(*sym).Typ).Size = ((NI64) (size));
					}
					LA67: ;
				}
				break;
				case ((NU8) 95):
				{
					noval_312764(it);
					(*sym).Loc.Flags |= ((NI8)1)<<((((NU8) 3))%(sizeof(NI8)*8));
				}
				break;
				case ((NU8) 96):
				case ((NU8) 185):
				{
					noval_312764(it);
					{
						if (!!((sym == NIM_NIL))) goto LA81;
						{
							NIM_BOOL LOC85;
							LOC85 = 0;
							LOC85 = (k == ((NU8) 96));
							if (!(LOC85)) goto LA86;
							LOC85 = ((520192 &(1<<(((*sym).Kind)&31)))!=0);
							LA86: ;
							if (!LOC85) goto LA87;
							invalidpragma_310088(it);
						}
						goto LA83;
						LA87: ;
						{
							(*sym).Flags |= ((NI32)1)<<((((NU8) 9))%(sizeof(NI32)*8));
						}
						LA83: ;
					}
					LA81: ;
				}
				break;
				case ((NU8) 236):
				{
					noval_312764(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 7))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 217):
				{
					noval_312764(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 8))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 183):
				{
					noval_312764(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 22))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 158):
				{
					pragmadeadcodeelim_311174(c, it);
				}
				break;
				case ((NU8) 160):
				{
					pragmanoforward_311216(c, it);
				}
				break;
				case ((NU8) 77):
				{
					processmagic_310866(c, it, sym);
				}
				break;
				case ((NU8) 162):
				{
					noval_312764(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 23))%(sizeof(NI32)*8));
					(*sym).Loc.Flags |= ((NI8)1)<<((((NU8) 3))%(sizeof(NI8)*8));
				}
				break;
				case ((NU8) 187):
				{
					noval_312764(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 3))%(sizeof(NI32)*8));
					(*sym).Flags |= ((NI32)1)<<((((NU8) 9))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 102):
				{
					noval_312764(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 24))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 98):
				{
					tlib225834* lib;
					tnode225816* LOC100;
					LOC100 = 0;
					LOC100 = getstrlitnode_310642(c, it);
					lib = getlib_311329(c, ((NU8) 0), LOC100);
					addtolib_290192(lib, sym);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 5))%(sizeof(NI32)*8));
					(*sym).Loc.Flags |= ((NI8)1)<<((((NU8) 6))%(sizeof(NI8)*8));
					(*sym).Loc.Flags |= ((NI8)1)<<((((NU8) 3))%(sizeof(NI8)*8));
					{
						if (!((*sym).Loc.R == NIM_NIL)) goto LA103;
						asgnRefNoCycle((void**) (&(*sym).Loc.R), torope_177076((*(*sym).Name).S));
					}
					LA103: ;
				}
				break;
				case ((NU8) 84):
				{
					(*sym).Flags |= ((NI32)1)<<((((NU8) 30))%(sizeof(NI32)*8));
					{
						NimStringDesc* LOC108;
						LOC108 = 0;
						LOC108 = nsuNormalize((*(*sym).Name).S);
						if (!!(eqStrings(LOC108, ((NimStringDesc*) &TMP2924)))) goto LA109;
						localerror_197955((*n).Info, ((NU16) 4), ((NimStringDesc*) &TMP2925));
					}
					LA109: ;
				}
				break;
				case ((NU8) 86):
				{
					(*sym).Flags |= ((NI32)1)<<((((NU8) 30))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 99):
				{
					noval_312764(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 10))%(sizeof(NI32)*8));
					{
						if (!!(((*sym).Typ == NIM_NIL))) goto LA115;
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 1))%(sizeof(NI32)*8));
					}
					LA115: ;
				}
				break;
				case ((NU8) 97):
				{
					noval_312764(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 11))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 101):
				{
					noval_312764(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 14))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 104):
				{
					processdynlib_311515(c, it, sym);
				}
				break;
				case ((NU8) 105):
				{
					noval_312764(it);
					{
						if (!!((((*sym).Flags &(1<<((((NU8) 2))&31)))!=0))) goto LA123;
						markcompilerproc_313443(sym);
					}
					LA123: ;
				}
				break;
				case ((NU8) 106):
				{
					noval_312764(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 17))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 122):
				{
					{
						if (!((*it).Kind == ((NU8) 34))) goto LA129;
						deprecatedstmt_313484(c, it);
					}
					goto LA127;
					LA129: ;
					{
						if (!!((sym == NIM_NIL))) goto LA132;
						(*sym).Flags |= ((NI32)1)<<((((NU8) 19))%(sizeof(NI32)*8));
					}
					goto LA127;
					LA132: ;
					{
						(*(*c).Module).Flags |= ((NI32)1)<<((((NU8) 19))%(sizeof(NI32)*8));
					}
					LA127: ;
				}
				break;
				case ((NU8) 123):
				{
					noval_312764(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA138;
						invalidpragma_310088(it);
					}
					goto LA136;
					LA138: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 0))%(sizeof(NI32)*8));
					}
					LA136: ;
				}
				break;
				case ((NU8) 166):
				{
					{
						if (!((*sym).Kind == ((NU8) 7))) goto LA144;
						typeborrow_313384(sym, it);
					}
					goto LA142;
					LA144: ;
					{
						noval_312764(it);
						(*sym).Flags |= ((NI32)1)<<((((NU8) 26))%(sizeof(NI32)*8));
					}
					LA142: ;
				}
				break;
				case ((NU8) 79):
				{
					noval_312764(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA150;
						invalidpragma_310088(it);
					}
					goto LA148;
					LA150: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 2))%(sizeof(NI32)*8));
					}
					LA148: ;
				}
				break;
				case ((NU8) 182):
				{
					noval_312764(it);
					{
						NIM_BOOL LOC156;
						LOC156 = 0;
						LOC156 = ((*sym).Typ == NIM_NIL);
						if (LOC156) goto LA157;
						LOC156 = (((*(*sym).Typ).Flags &(1<<((((NU8) 2))&31)))!=0);
						LA157: ;
						if (!LOC156) goto LA158;
						invalidpragma_310088(it);
					}
					goto LA154;
					LA158: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 3))%(sizeof(NI32)*8));
					}
					LA154: ;
				}
				break;
				case ((NU8) 171):
				{
					noval_312764(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA164;
						invalidpragma_310088(it);
					}
					goto LA162;
					LA164: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 4))%(sizeof(NI32)*8));
					}
					LA162: ;
				}
				break;
				case ((NU8) 172):
				{
					noval_312764(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA170;
						invalidpragma_310088(it);
					}
					goto LA168;
					LA170: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 6))%(sizeof(NI32)*8));
					}
					LA168: ;
				}
				break;
				case ((NU8) 78):
				{
					noval_312764(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 22))%(sizeof(NI32)*8));
					(*sym).Flags |= ((NI32)1)<<((((NU8) 17))%(sizeof(NI32)*8));
					{
						if (!!(((*sym).Typ == NIM_NIL))) goto LA176;
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 7))%(sizeof(NI32)*8));
					}
					LA176: ;
				}
				break;
				case ((NU8) 100):
				{
					{
						if (!((gglobaloptions_169118 &(1<<((((NU8) 27))&31)))!=0)) goto LA181;
						noval_312764(it);
						{
							if (!!(((*sym).Kind == ((NU8) 7)))) goto LA185;
							(*sym).Flags |= ((NI32)1)<<((((NU8) 22))%(sizeof(NI32)*8));
						}
						LA185: ;
						{
							if (!!(((*sym).Typ == NIM_NIL))) goto LA189;
							(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 7))%(sizeof(NI32)*8));
						}
						goto LA187;
						LA189: ;
						{
							invalidpragma_310088(it);
						}
						LA187: ;
					}
					LA181: ;
				}
				break;
				case ((NU8) 232):
				{
					noval_312764(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA195;
						invalidpragma_310088(it);
					}
					goto LA193;
					LA195: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 21))%(sizeof(NI32)*8));
					}
					LA193: ;
				}
				break;
				case ((NU8) 110):
				{
					NimStringDesc* LOC199;
					LOC199 = 0;
					LOC199 = expectstrlit_310718(c, it);
					message_197976((*it).Info, ((NU16) 275), LOC199);
				}
				break;
				case ((NU8) 109):
				{
					NimStringDesc* LOC201;
					LOC201 = 0;
					LOC201 = expectstrlit_310718(c, it);
					message_197976((*it).Info, ((NU16) 258), LOC201);
				}
				break;
				case ((NU8) 108):
				{
					{
						NIM_BOOL LOC205;
						LOC205 = 0;
						LOC205 = !((sym == NIM_NIL));
						if (!(LOC205)) goto LA206;
						LOC205 = isroutine_232781(sym);
						LA206: ;
						if (!LOC205) goto LA207;
						noval_312764(it);
						(*sym).Flags |= ((NI32)1)<<((((NU8) 20))%(sizeof(NI32)*8));
					}
					goto LA203;
					LA207: ;
					{
						NimStringDesc* LOC210;
						LOC210 = 0;
						LOC210 = expectstrlit_310718(c, it);
						localerror_197955((*it).Info, ((NU16) 229), LOC210);
					}
					LA203: ;
				}
				break;
				case ((NU8) 107):
				{
					NimStringDesc* LOC212;
					LOC212 = 0;
					LOC212 = expectstrlit_310718(c, it);
					fatal_197923((*it).Info, ((NU16) 229), LOC212);
				}
				break;
				case ((NU8) 114):
				{
					processdefine_312381(c, it);
				}
				break;
				case ((NU8) 115):
				{
					processundef_312451(c, it);
				}
				break;
				case ((NU8) 120):
				{
					processcompile_312528(c, it);
				}
				break;
				case ((NU8) 119):
				{
					processcommonlink_312541(c, it, ((NU8) 0));
				}
				break;
				case ((NU8) 121):
				{
					processcommonlink_312541(c, it, ((NU8) 1));
				}
				break;
				case ((NU8) 165):
				{
					NimStringDesc* LOC219;
					LOC219 = 0;
					LOC219 = expectstrlit_310718(c, it);
					addlinkoption_202798(LOC219);
				}
				break;
				case ((NU8) 164):
				{
					NimStringDesc* LOC221;
					LOC221 = 0;
					LOC221 = expectstrlit_310718(c, it);
					addcompileoption_202809(LOC221);
				}
				break;
				case ((NU8) 125):
				{
					pragmabreakpoint_312554(c, it);
				}
				break;
				case ((NU8) 169):
				{
					pragmawatchpoint_312587(c, it);
				}
				break;
				case ((NU8) 112):
				{
					processpush_312266(c, n, (NI64)(i + 1));
					result = NIM_TRUE;
				}
				break;
				case ((NU8) 113):
				{
					processpop_312370(c, it);
				}
				break;
				case ((NU8) 161):
				{
					processpragma_313018(c, n, i);
					result = NIM_TRUE;
				}
				break;
				case ((NU8) 167):
				{
					noval_312764(it);
					{
						if (!!((sym == NIM_NIL))) goto LA230;
						(*sym).Flags |= ((NI32)1)<<((((NU8) 29))%(sizeof(NI32)*8));
					}
					LA230: ;
				}
				break;
				case ((NU8) 163):
				{
					noval_312764(it);
					{
						if (!!((sym == NIM_NIL))) goto LA235;
						(*sym).Flags |= ((NI32)1)<<((((NU8) 12))%(sizeof(NI32)*8));
					}
					LA235: ;
				}
				break;
				case ((NU8) 188):
				{
					processcodegendecl_310855(c, it, sym);
				}
				break;
				case ((NU8) 139):
				case ((NU8) 81):
				case ((NU8) 168):
				case ((NU8) 140):
				case ((NU8) 141):
				case ((NU8) 142):
				case ((NU8) 143):
				case ((NU8) 147):
				case ((NU8) 149):
				case ((NU8) 150):
				case ((NU8) 116):
				case ((NU8) 117):
				case ((NU8) 118):
				case ((NU8) 151):
				case ((NU8) 124):
				case ((NU8) 126):
				case ((NU8) 80):
				case ((NU8) 144):
				case ((NU8) 145):
				case ((NU8) 146):
				case ((NU8) 148):
				{
					{
						NIM_BOOL LOC241;
						LOC241 = 0;
						LOC241 = processoption_312004(c, it);
						if (!LOC241) goto LA242;
						localerror_197955((*it).Info, ((NU16) 149), ((NimStringDesc*) &TMP2922));
					}
					LA242: ;
				}
				break;
				case ((NU8) 127) ... ((NU8) 136):
				{
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA247;
						invalidpragma_310088(it);
					}
					goto LA245;
					LA247: ;
					{
						(*(*sym).Typ).Callconv = wordtocallconv_311020(k);
					}
					LA245: ;
				}
				break;
				case ((NU8) 184):
				{
					pragmaemit_312740(c, it);
				}
				break;
				case ((NU8) 173):
				{
					pragmaunroll_312782(c, it);
				}
				break;
				case ((NU8) 174):
				case ((NU8) 175):
				{
					noval_312764(it);
				}
				break;
				case ((NU8) 156):
				{
					noval_312764(it);
				}
				break;
				case ((NU8) 92):
				{
					noval_312764(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA257;
						invalidpragma_310088(it);
					}
					goto LA255;
					LA257: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 0))%(sizeof(NI32)*8));
					}
					LA255: ;
				}
				break;
				case ((NU8) 189):
				{
					noval_312764(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA263;
						invalidpragma_310088(it);
					}
					goto LA261;
					LA263: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 0))%(sizeof(NI32)*8));
					}
					LA261: ;
				}
				break;
				case ((NU8) 231):
				{
					noval_312764(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA269;
						invalidpragma_310088(it);
					}
					goto LA267;
					LA269: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 1))%(sizeof(NI32)*8));
					}
					LA267: ;
				}
				break;
				case ((NU8) 93):
				{
					noval_312764(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA275;
						invalidpragma_310088(it);
					}
					goto LA273;
					LA275: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 17))%(sizeof(NI32)*8));
					}
					LA273: ;
				}
				break;
				case ((NU8) 253):
				{
					noval_312764(it);
					{
						NIM_BOOL LOC281;
						LOC281 = 0;
						LOC281 = (sym == NIM_NIL);
						if (LOC281) goto LA282;
						LOC281 = ((*sym).Typ == NIM_NIL);
						LA282: ;
						if (!LOC281) goto LA283;
						{
							NIM_BOOL LOC287;
							LOC287 = 0;
							LOC287 = processoption_312004(c, it);
							if (!LOC287) goto LA288;
							localerror_197955((*it).Info, ((NU16) 149), ((NimStringDesc*) &TMP2922));
						}
						LA288: ;
					}
					goto LA279;
					LA283: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 13))%(sizeof(NI32)*8));
					}
					LA279: ;
				}
				break;
				case ((NU8) 252):
				{
					noval_312764(it);
					{
						NIM_BOOL LOC294;
						LOC294 = 0;
						LOC294 = !(((*sym).Kind == ((NU8) 7)));
						if (LOC294) goto LA295;
						LOC294 = ((*sym).Typ == NIM_NIL);
						LA295: ;
						if (!LOC294) goto LA296;
						invalidpragma_310088(it);
					}
					goto LA292;
					LA296: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 12))%(sizeof(NI32)*8));
					}
					LA292: ;
				}
				break;
				case ((NU8) 180):
				case ((NU8) 179):
				{
					noval_312764(it);
					{
						if (!(sym == NIM_NIL)) goto LA302;
						invalidpragma_310088(it);
					}
					LA302: ;
				}
				break;
				case ((NU8) 111):
				{
					pragmaline_312825(c, it);
				}
				break;
				case ((NU8) 152):
				case ((NU8) 157):
				{
					pragmaraisesortags_313171(c, it);
				}
				break;
				case ((NU8) 191):
				{
					{
						if (!(sym == NIM_NIL)) goto LA309;
						pragmalockstmt_313258(c, it);
					}
					goto LA307;
					LA309: ;
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA312;
						invalidpragma_310088(it);
					}
					goto LA307;
					LA312: ;
					{
						(*(*sym).Typ).Locklevel = pragmalocks_313352(c, it);
					}
					LA307: ;
				}
				break;
				case ((NU8) 190):
				{
					{
						NIM_BOOL LOC318;
						LOC318 = 0;
						LOC318 = (sym == NIM_NIL);
						if (LOC318) goto LA319;
						LOC318 = !(((525056 &(1<<(((*sym).Kind)&31)))!=0));
						LA319: ;
						if (!LOC318) goto LA320;
						invalidpragma_310088(it);
					}
					goto LA316;
					LA320: ;
					{
						asgnRefNoCycle((void**) (&(*sym).kindU.S4.Guard), pragmaguard_313572(c, it, (*sym).Kind));
					}
					LA316: ;
				}
				break;
				case ((NU8) 176):
				{
					{
						if (!!(((*it).Kind == ((NU8) 34)))) goto LA326;
						localerror_197955((*it).Info, ((NU16) 60), ((NimStringDesc*) &TMP2922));
					}
					goto LA324;
					LA326: ;
					{
						asgnRefNoCycle((void**) (&(*it).kindU.S6.Sons->data[1]), (*c).Semexpr(c, (*it).kindU.S6.Sons->data[1], 0));
					}
					LA324: ;
				}
				break;
				case ((NU8) 177):
				{
					noval_312764(it);
					{
						NIM_BOOL LOC332;
						LOC332 = 0;
						LOC332 = istoplevel_291436(c);
						if (!LOC332) goto LA333;
						(*(*c).Module).Flags |= ((NI32)1)<<((((NU8) 30))%(sizeof(NI32)*8));
					}
					goto LA330;
					LA333: ;
					{
						localerror_197966((*it).Info, ((NimStringDesc*) &TMP2988));
					}
					LA330: ;
				}
				break;
				default:
				{
					invalidpragma_310088(it);
				}
				break;
				}
			}
			goto LA19;
			LA21: ;
			{
				invalidpragma_310088(it);
			}
			LA19: ;
		}
		LA10: ;
	}
	goto LA6;
	LA8: ;
	{
		processnote_311633(c, it);
	}
	LA6: ;
	return result;
}

N_NIMCALL(void, pragmarec_316076)(tcontext290021* c, tsym225846* sym, tnode225816* n, tspecialwords204012 validpragmas) {
	{
		if (!(n == NIM_NIL)) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	{
		NI i_316111;
		NI HEX3Atmp_316150;
		NI LOC6;
		NI res_316153;
		i_316111 = 0;
		HEX3Atmp_316150 = 0;
		LOC6 = 0;
		LOC6 = sonslen_226249(n);
		HEX3Atmp_316150 = (NI64)(LOC6 - 1);
		res_316153 = 0;
		{
			while (1) {
				if (!(res_316153 <= HEX3Atmp_316150)) goto LA8;
				i_316111 = res_316153;
				{
					if (!((*(*n).kindU.S6.Sons->data[i_316111]).Kind == ((NU8) 90))) goto LA11;
					pragmarec_316076(c, sym, (*n).kindU.S6.Sons->data[i_316111], validpragmas);
				}
				goto LA9;
				LA11: ;
				{
					NIM_BOOL LOC14;
					LOC14 = 0;
					LOC14 = singlepragma_313666(c, sym, n, i_316111, validpragmas);
					if (!LOC14) goto LA15;
					goto LA5;
				}
				goto LA9;
				LA15: ;
				LA9: ;
				res_316153 += 1;
			} LA8: ;
		}
	} LA5: ;
	BeforeRet: ;
}

N_NIMCALL(void, implicitpragmas_315398)(tcontext290021* c, tsym225846* sym, tnode225816* n, tspecialwords204012 validpragmas) {
	{
		NIM_BOOL LOC3;
		toptionentry290005* it;
		tlib225834* lib;
		LOC3 = 0;
		LOC3 = !((sym == NIM_NIL));
		if (!(LOC3)) goto LA4;
		LOC3 = !(((*sym).Kind == ((NU8) 6)));
		LA4: ;
		if (!LOC3) goto LA5;
		it = ((toptionentry290005*) ((*c).Optionstack.Head));
		{
			while (1) {
				tnode225816* o;
				if (!!((it == NIM_NIL))) goto LA8;
				o = (*it).Otherpragmas;
				{
					if (!!(o == 0)) goto LA11;
					{
						NI i_315472;
						NI HEX3Atmp_315602;
						NI LOC14;
						NI res_315605;
						i_315472 = 0;
						HEX3Atmp_315602 = 0;
						LOC14 = 0;
						LOC14 = sonslen_226249(o);
						HEX3Atmp_315602 = (NI64)(LOC14 - 1);
						res_315605 = 0;
						{
							while (1) {
								if (!(res_315605 <= HEX3Atmp_315602)) goto LA16;
								i_315472 = res_315605;
								{
									NIM_BOOL LOC19;
									LOC19 = 0;
									LOC19 = singlepragma_313666(c, sym, o, i_315472, validpragmas);
									if (!LOC19) goto LA20;
									internalerror_197987((*n).Info, ((NimStringDesc*) &TMP2989));
								}
								LA20: ;
								res_315605 += 1;
							} LA16: ;
						}
					}
				}
				LA11: ;
				it = ((toptionentry290005*) ((*it).Sup.Next));
			} LA8: ;
		}
		{
			NIM_BOOL LOC24;
			LOC24 = 0;
			LOC24 = (((*sym).Loc.Flags &(1<<((((NU8) 5))&7)))!=0);
			if (!(LOC24)) goto LA25;
			LOC24 = !((((*sym).Flags &(1<<((((NU8) 6))&31)))!=0));
			LA25: ;
			if (!LOC24) goto LA26;
			localerror_197955((*n).Info, ((NU16) 79), ((NimStringDesc*) &TMP2922));
		}
		LA26: ;
		lib = (*((toptionentry290005*) ((*c).Optionstack.Tail))).Dynlib;
		{
			NIM_BOOL LOC30;
			NIM_BOOL LOC31;
			LOC30 = 0;
			LOC31 = 0;
			LOC31 = ((80 & (*sym).Loc.Flags) == 0);
			if (!(LOC31)) goto LA32;
			LOC31 = (((*sym).Flags &(1<<((((NU8) 5))&31)))!=0);
			LA32: ;
			LOC30 = LOC31;
			if (!(LOC30)) goto LA33;
			LOC30 = !((lib == NIM_NIL));
			LA33: ;
			if (!LOC30) goto LA34;
			(*sym).Loc.Flags |= ((NI8)1)<<((((NU8) 4))%(sizeof(NI8)*8));
			addtolib_290192(lib, sym);
			{
				if (!((*sym).Loc.R == NIM_NIL)) goto LA38;
				asgnRefNoCycle((void**) (&(*sym).Loc.R), torope_177076((*(*sym).Name).S));
			}
			LA38: ;
		}
		LA34: ;
	}
	LA5: ;
}

N_NIMCALL(void, pragma_310079)(tcontext290021* c, tsym225846* sym, tnode225816* n, tspecialwords204012 validpragmas) {
	{
		if (!(n == NIM_NIL)) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	pragmarec_316076(c, sym, n, validpragmas);
	implicitpragmas_315398(c, sym, n, validpragmas);
	BeforeRet: ;
}

N_NIMCALL(NIM_BOOL, haspragma_315628)(tnode225816* n, NU8 pragma) {
	NIM_BOOL result;
	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = (n == NIM_NIL);
		if (LOC3) goto LA4;
		LOC3 = HEX3DHEX3D_315667((*n).kindU.S6.Sons, NIM_NIL);
		LA4: ;
		if (!LOC3) goto LA5;
		result = NIM_FALSE;
		goto BeforeRet;
	}
	LA5: ;
	{
		tnode225816* p_316011;
		tnodeseq225810* HEX3Atmp_316055;
		NI i_316058;
		NI l_316060;
		p_316011 = 0;
		HEX3Atmp_316055 = 0;
		HEX3Atmp_316055 = (*n).kindU.S6.Sons;
		i_316058 = 0;
		l_316060 = HEX3Atmp_316055->Sup.len;
		{
			while (1) {
				tnode225816* key;
				if (!(i_316058 < l_316060)) goto LA9;
				p_316011 = HEX3Atmp_316055->data[i_316058];
				{
					if (!((*p_316011).Kind == ((NU8) 34))) goto LA12;
					key = HEX5BHEX5D_226698(p_316011, 0);
				}
				goto LA10;
				LA12: ;
				{
					key = p_316011;
				}
				LA10: ;
				{
					NIM_BOOL LOC17;
					NU8 LOC19;
					LOC17 = 0;
					LOC17 = ((*key).Kind == ((NU8) 2));
					if (!(LOC17)) goto LA18;
					LOC19 = 0;
					LOC19 = whichkeyword_204382((*key).kindU.S5.Ident);
					LOC17 = (LOC19 == pragma);
					LA18: ;
					if (!LOC17) goto LA20;
					result = NIM_TRUE;
					goto BeforeRet;
				}
				LA20: ;
				i_316058 += 1;
			} LA9: ;
		}
	}
	result = NIM_FALSE;
	goto BeforeRet;
	BeforeRet: ;
	return result;
}

N_NIMCALL(NIM_CHAR, pragmaasm_310098)(tcontext290021* c, tnode225816* n) {
	NIM_CHAR result;
	result = 0;
	result = 0;
	{
		if (!!((n == NIM_NIL))) goto LA3;
		{
			NI i_310132;
			NI HEX3Atmp_310261;
			NI LOC6;
			NI res_310264;
			i_310132 = 0;
			HEX3Atmp_310261 = 0;
			LOC6 = 0;
			LOC6 = sonslen_226249(n);
			HEX3Atmp_310261 = (NI64)(LOC6 - 1);
			res_310264 = 0;
			{
				while (1) {
					tnode225816* it;
					if (!(res_310264 <= HEX3Atmp_310261)) goto LA8;
					i_310132 = res_310264;
					it = (*n).kindU.S6.Sons->data[i_310132];
					{
						NIM_BOOL LOC11;
						NU8 LOC15;
						LOC11 = 0;
						LOC11 = ((*it).Kind == ((NU8) 34));
						if (!(LOC11)) goto LA12;
						LOC11 = ((*(*it).kindU.S6.Sons->data[0]).Kind == ((NU8) 2));
						LA12: ;
						if (!LOC11) goto LA13;
						LOC15 = 0;
						LOC15 = whichkeyword_204382((*(*it).kindU.S6.Sons->data[0]).kindU.S5.Ident);
						switch (LOC15) {
						case ((NU8) 170):
						{
							{
								if (!((*(*it).kindU.S6.Sons->data[1]).Kind == ((NU8) 5))) goto LA19;
								result = ((NIM_CHAR) (((NI) (((NI) ((*(*it).kindU.S6.Sons->data[1]).kindU.S1.Intval))))));
							}
							goto LA17;
							LA19: ;
							{
								invalidpragma_310088(it);
							}
							LA17: ;
						}
						break;
						default:
						{
							invalidpragma_310088(it);
						}
						break;
						}
					}
					goto LA9;
					LA13: ;
					{
						invalidpragma_310088(it);
					}
					LA9: ;
					res_310264 += 1;
				} LA8: ;
			}
		}
	}
	LA3: ;
	return result;
}
NIM_EXTERNC N_NOINLINE(void, HEX00_pragmasInit)(void) {
}

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

