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

#include <string.h>
typedef struct tcontext291021 tcontext291021;
typedef struct tsym226846 tsym226846;
typedef struct tnode226816 tnode226816;
typedef struct ttype226852 ttype226852;
typedef struct tlineinfo196539 tlineinfo196539;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tident201021 tident201021;
typedef struct tnodeseq226810 tnodeseq226810;
typedef struct tstrtable226820 tstrtable226820;
typedef struct tsymseq226818 tsymseq226818;
typedef struct tpasscontext287005 tpasscontext287005;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tscope226840 tscope226840;
typedef struct tproccon291011 tproccon291011;
typedef struct intset223056 intset223056;
typedef struct ttrunk223052 ttrunk223052;
typedef struct ttrunkseq223054 ttrunkseq223054;
typedef struct tlinkedlist127028 tlinkedlist127028;
typedef struct tlistentry127022 tlistentry127022;
typedef struct tidtable226864 tidtable226864;
typedef struct tidpairseq226862 tidpairseq226862;
typedef struct tidpair226860 tidpair226860;
typedef struct tidobj201015 tidobj201015;
typedef struct tctx290048 tctx290048;
typedef struct TY291133 TY291133;
typedef struct tinstantiationpair291013 tinstantiationpair291013;
typedef struct tinstantiation226836 tinstantiation226836;
typedef struct ttypeseq226848 ttypeseq226848;
typedef struct TY226947 TY226947;
typedef struct tloc226830 tloc226830;
typedef struct trope178009 trope178009;
typedef struct tlib226834 tlib226834;
typedef struct tcell44935 tcell44935;
typedef struct tcellseq44951 tcellseq44951;
typedef struct tgcheap47016 tgcheap47016;
typedef struct tcellset44947 tcellset44947;
typedef struct tpagedesc44943 tpagedesc44943;
typedef struct tmemregion27210 tmemregion27210;
typedef struct tsmallchunk26440 tsmallchunk26440;
typedef struct tllchunk27204 tllchunk27204;
typedef struct tbigchunk26442 tbigchunk26442;
typedef struct tintset26417 tintset26417;
typedef struct ttrunk26413 ttrunk26413;
typedef struct tavlnode27208 tavlnode27208;
typedef struct tgcstat47014 tgcstat47014;
typedef struct toptionentry291005 toptionentry291005;
typedef struct TY117604 TY117604;
typedef struct tinfocc203016 tinfocc203016;
typedef struct TY290250 TY290250;
typedef struct TY197414 TY197414;
typedef struct pprocHEX3Aobjecttype290230 pprocHEX3Aobjecttype290230;
typedef struct TY290269 TY290269;
typedef struct TY290270 TY290270;
typedef struct vmargs290042 vmargs290042;
typedef struct TY226936 TY226936;
typedef struct tbasechunk26438 tbasechunk26438;
typedef struct tfreecell26430 tfreecell26430;
typedef struct TY290231 TY290231;
typedef struct tblock290030 tblock290030;
typedef struct TY290211 TY290211;
typedef struct TY290237 TY290237;
typedef NU8 tspecialwords205012[32];
struct  tlineinfo196539  {
NI16 Line;
NI16 Col;
NI32 Fileindex;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  tnode226816  {
ttype226852* Typ;
tlineinfo196539 Info;
NU16 Flags;
NU8 Kind;
union {
struct {NI64 Intval;
} S1;
struct {NF Floatval;
} S2;
struct {NimStringDesc* Strval;
} S3;
struct {tsym226846* Sym;
} S4;
struct {tident201021* Ident;
} S5;
struct {tnodeseq226810* Sons;
} S6;
} kindU;
NimStringDesc* Comment;
};
struct  tstrtable226820  {
NI Counter;
tsymseq226818* 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  tpasscontext287005  {
  TNimObject Sup;
NIM_BOOL Fromcache;
};
struct  intset223056  {
NI Counter;
NI Max;
ttrunk223052* Head;
ttrunkseq223054* Data;
};
struct  tlinkedlist127028  {
tlistentry127022* Head;
tlistentry127022* Tail;
NI Counter;
};
struct  tidpair226860  {
tidobj201015* Key;
TNimObject* Val;
};
struct  tidtable226864  {
NI Counter;
tidpairseq226862* Data;
};
typedef N_NIMCALL_PTR(tnode226816*, TY291064) (tcontext291021* c, tnode226816* n);
typedef N_NIMCALL_PTR(tnode226816*, TY291069) (tcontext291021* c, tnode226816* n, NU16 flags);
typedef N_NIMCALL_PTR(tnode226816*, TY291077) (tcontext291021* c, tnode226816* n, NU16 flags);
typedef N_NIMCALL_PTR(tnode226816*, TY291085) (tcontext291021* c, tnode226816* n);
typedef N_NIMCALL_PTR(tnode226816*, TY291090) (tcontext291021* c, tnode226816* n, NU16 flags);
typedef N_NIMCALL_PTR(tnode226816*, TY291098) (tcontext291021* c, tnode226816* n);
typedef N_NIMCALL_PTR(tnode226816*, TY291103) (tcontext291021* c, tnode226816* n, tnode226816* norig, NU32 filter);
typedef N_NIMCALL_PTR(ttype226852*, TY291110) (tcontext291021* c, tnode226816* n, ttype226852* prev);
typedef struct {
N_NIMCALL_PTR(tnode226816*, ClPrc) (tcontext291021* c, tidtable226864 pt, tnode226816* n, void* ClEnv);
void* ClEnv;
} TY291116;
typedef struct {
N_NIMCALL_PTR(tsym226846*, ClPrc) (tcontext291021* c, tsym226846* fn, tidtable226864 pt, tlineinfo196539 info, void* ClEnv);
void* ClEnv;
} TY291122;
struct  tinstantiationpair291013  {
tsym226846* Genericsym;
tinstantiation226836* Inst;
};
typedef N_NIMCALL_PTR(tsym226846*, TY291138) (tcontext291021* c, tsym226846* dc, ttype226852* t, tlineinfo196539 info);
struct  tcontext291021  {
  tpasscontext287005 Sup;
tsym226846* Module;
tscope226840* Currentscope;
tscope226840* Importtable;
tscope226840* Toplevelscope;
tproccon291011* P;
tsymseq226818* Friendmodules;
NI Instcounter;
intset223056 Ambiguoussymbols;
NI Intypeclass;
NI Ingenericcontext;
NI Inunrolledcontext;
NI Incompilescontext;
NI Ingenericinst;
tsymseq226818* Converters;
tsymseq226818* Patterns;
tlinkedlist127028 Optionstack;
tidtable226864 Symmapping;
tlinkedlist127028 Libs;
TY291064 Semconstexpr;
TY291069 Semexpr;
TY291077 Semtryexpr;
TY291085 Semtryconstexpr;
TY291090 Semoperand;
TY291098 Semconstboolexpr;
TY291103 Semoverloadedcall;
TY291110 Semtypenode;
TY291116 Seminferredlambda;
TY291122 Semgenerateinstance;
intset223056 Includedfiles;
tstrtable226820 Userpragmas;
tctx290048* Evalcontext;
intset223056 Unknownidents;
TY291133* Generics;
NI Lastgenericidx;
NI Hloloopdetector;
NI Inparallelstmt;
TY291138 Instdeepcopy;
};
struct  tidobj201015  {
  TNimObject Sup;
NI Id;
};
struct  tloc226830  {
NU8 K;
NU8 S;
NU8 Flags;
ttype226852* T;
trope178009* R;
trope178009* Heaproot;
};
struct  tsym226846  {
  tidobj201015 Sup;
NU8 Kind;
union {
struct {ttypeseq226848* Typeinstcache;
tscope226840* Typscope;
} S1;
struct {TY226947* Procinstcache;
tscope226840* Scope;
} S2;
struct {TY226947* Usedgenerics;
tstrtable226820 Tab;
} S3;
struct {tsym226846* Guard;
} S4;
} kindU;
NU16 Magic;
ttype226852* Typ;
tident201021* Name;
tlineinfo196539 Info;
tsym226846* Owner;
NU32 Flags;
tnode226816* Ast;
NU32 Options;
NI Position;
NI Offset;
tloc226830 Loc;
tlib226834* Annex;
tnode226816* Constraint;
};
struct  tident201021  {
  tidobj201015 Sup;
NimStringDesc* S;
tident201021* Next;
NI H;
};
struct  tcell44935  {
NI Refcount;
TNimType* Typ;
};
struct  tcellseq44951  {
NI Len;
NI Cap;
tcell44935** D;
};
struct  tcellset44947  {
NI Counter;
NI Max;
tpagedesc44943* Head;
tpagedesc44943** Data;
};
typedef tsmallchunk26440* TY27222[512];
typedef ttrunk26413* ttrunkbuckets26415[256];
struct  tintset26417  {
ttrunkbuckets26415 Data;
};
struct  tmemregion27210  {
NI Minlargeobj;
NI Maxlargeobj;
TY27222 Freesmallchunks;
tllchunk27204* Llmem;
NI Currmem;
NI Maxmem;
NI Freemem;
NI Lastsize;
tbigchunk26442* Freechunkslist;
tintset26417 Chunkstarts;
tavlnode27208* Root;
tavlnode27208* Deleted;
tavlnode27208* Last;
tavlnode27208* Freeavlnodes;
};
struct  tgcstat47014  {
NI Stackscans;
NI Cyclecollections;
NI Maxthreshold;
NI Maxstacksize;
NI Maxstackcells;
NI Cycletablesize;
NI64 Maxpause;
};
struct  tgcheap47016  {
void* Stackbottom;
NI Cyclethreshold;
tcellseq44951 Zct;
tcellseq44951 Decstack;
tcellset44947 Cycleroots;
tcellseq44951 Tempstack;
NI Recgclock;
tmemregion27210 Region;
tgcstat47014 Stat;
};
struct  ttype226852  {
  tidobj201015 Sup;
NU8 Kind;
NU8 Callconv;
NU32 Flags;
ttypeseq226848* Sons;
tnode226816* N;
tsym226846* Owner;
tsym226846* Sym;
tsym226846* Destructor;
tsym226846* Deepcopy;
NI64 Size;
NI16 Align;
NI16 Locklevel;
tloc226830 Loc;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  tlistentry127022  {
  TNimObject Sup;
tlistentry127022* Prev;
tlistentry127022* Next;
};
struct  tlib226834  {
  tlistentry127022 Sup;
NU8 Kind;
NIM_BOOL Generated;
NIM_BOOL Isoverriden;
trope178009* Name;
tnode226816* Path;
};
struct  toptionentry291005  {
  tlistentry127022 Sup;
NU32 Options;
NU8 Defaultcc;
tlib226834* Dynlib;
NU64 Notes;
tnode226816* Otherpragmas;
};
struct TY117604 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
struct tinfocc203016 {
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 tinfocc203016 TY203435[12];
typedef NimStringDesc* TY196500[17];
typedef NimStringDesc* TY196495[29];
struct  tproccon291011  {
tsym226846* Owner;
tsym226846* Resultsym;
NI Nestedloopcounter;
NI Nestedblockcounter;
NI Intrystmt;
tproccon291011* Next;
};
struct  tscope226840  {
NI Depthlevel;
tstrtable226820 Symbols;
tnodeseq226810* Usingsyms;
tscope226840* Parent;
};
typedef NI TY26420[16];
struct  ttrunk223052  {
ttrunk223052* Next;
NI Key;
TY26420 Bits;
};
struct  vmargs290042  {
NI Ra;
NI Rb;
NI Rc;
void* Slots;
tnode226816* Currentexception;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (vmargs290042* args, void* ClEnv);
void* ClEnv;
} vmcallback290044;
struct TY290270 {
NimStringDesc* Field0;
vmcallback290044 Field1;
};
struct  tctx290048  {
  tpasscontext287005 Sup;
TY290250* Code;
TY197414* Debug;
tnode226816* Globals;
tnode226816* Constants;
ttypeseq226848* Types;
tnode226816* Currentexceptiona;
tnode226816* Currentexceptionb;
NI Exceptioninstr;
pprocHEX3Aobjecttype290230* Prc;
tsym226846* Module;
tnode226816* Callsite;
NU8 Mode;
NU8 Features;
NIM_BOOL Traceactive;
NI Loopiterations;
tlineinfo196539 Comesfromheuristic;
TY290269* Callbacks;
NimStringDesc* Errorflag;
};
struct  tinstantiation226836  {
tsym226846* Sym;
ttypeseq226848* Concretetypes;
TY226936* Usedby;
};
struct  trope178009  {
  TNimObject Sup;
trope178009* Left;
trope178009* Right;
NI Length;
NimStringDesc* Data;
};
struct  tpagedesc44943  {
tpagedesc44943* Next;
NI Key;
TY26420 Bits;
};
struct  tbasechunk26438  {
NI Prevsize;
NI Size;
NIM_BOOL Used;
};
struct  tsmallchunk26440  {
  tbasechunk26438 Sup;
tsmallchunk26440* Next;
tsmallchunk26440* Prev;
tfreecell26430* Freelist;
NI Free;
NI Acc;
NF Data;
};
struct  tllchunk27204  {
NI Size;
NI Acc;
tllchunk27204* Next;
};
struct  tbigchunk26442  {
  tbasechunk26438 Sup;
tbigchunk26442* Next;
tbigchunk26442* Prev;
NI Align;
NF Data;
};
struct  ttrunk26413  {
ttrunk26413* Next;
NI Key;
TY26420 Bits;
};
typedef tavlnode27208* TY27214[2];
struct  tavlnode27208  {
TY27214 Link;
NI Key;
NI Upperbound;
NI Level;
};
struct  tblock290030  {
tsym226846* Label;
TY290211* Fixups;
};
struct TY290237 {
NIM_BOOL Field0;
NU8 Field1;
};
typedef TY290237 TY290234[256];
struct  pprocHEX3Aobjecttype290230  {
TY290231* Blocks;
tsym226846* Sym;
TY290234 Slots;
NI Maxslots;
};
struct  tfreecell26430  {
tfreecell26430* Next;
NI Zerofield;
};
struct tnodeseq226810 {
  TGenericSeq Sup;
  tnode226816* data[SEQ_DECL_SIZE];
};
struct tsymseq226818 {
  TGenericSeq Sup;
  tsym226846* data[SEQ_DECL_SIZE];
};
struct ttrunkseq223054 {
  TGenericSeq Sup;
  ttrunk223052* data[SEQ_DECL_SIZE];
};
struct tidpairseq226862 {
  TGenericSeq Sup;
  tidpair226860 data[SEQ_DECL_SIZE];
};
struct TY291133 {
  TGenericSeq Sup;
  tinstantiationpair291013 data[SEQ_DECL_SIZE];
};
struct ttypeseq226848 {
  TGenericSeq Sup;
  ttype226852* data[SEQ_DECL_SIZE];
};
struct TY226947 {
  TGenericSeq Sup;
  tinstantiation226836* data[SEQ_DECL_SIZE];
};
struct TY290250 {
  TGenericSeq Sup;
  NU32 data[SEQ_DECL_SIZE];
};
struct TY197414 {
  TGenericSeq Sup;
  tlineinfo196539 data[SEQ_DECL_SIZE];
};
struct TY290269 {
  TGenericSeq Sup;
  TY290270 data[SEQ_DECL_SIZE];
};
struct TY226936 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct TY290211 {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
struct TY290231 {
  TGenericSeq Sup;
  tblock290030 data[SEQ_DECL_SIZE];
};
N_NIMCALL(void, pragmarec_317076)(tcontext291021* c, tsym226846* sym, tnode226816* n, tspecialwords205012 validpragmas);
static N_INLINE(NI, sonslen_227249)(tnode226816* n);
N_NIMCALL(NIM_BOOL, singlepragma_314664)(tcontext291021* c, tsym226846* sym, tnode226816* n, NI i, tspecialwords205012 validpragmas);
N_NIMCALL(tsym226846*, strtableget_236111)(tstrtable226820 t, tident201021* name);
N_NIMCALL(void, globalerror_198934)(tlineinfo196539 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, pragma_311079)(tcontext291021* c, tsym226846* sym, tnode226816* n, tspecialwords205012 validpragmas);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
static N_INLINE(tcell44935*, usrtocell_48646)(void* usr);
static N_INLINE(void, rtladdzct_50204)(tcell44935* c);
N_NOINLINE(void, addzct_48617)(tcellseq44951* s, tcell44935* c);
N_NIMCALL(NU8, whichkeyword_205382)(tident201021* id);
N_NIMCALL(void, makeexternexport_311382)(tsym226846* s, NimStringDesc* extname, tlineinfo196539 info);
N_NIMCALL(void, setexternname_311280)(tsym226846* s, NimStringDesc* extname);
N_NIMCALL(trope178009*, torope_178076)(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_311832)(tcontext291021* c, tnode226816* n, NimStringDesc* defaultstr);
N_NIMCALL(NimStringDesc*, expectstrlit_311717)(tcontext291021* c, tnode226816* n);
N_NIMCALL(tnode226816*, getstrlitnode_311641)(tcontext291021* c, tnode226816* n);
N_NIMCALL(void, localerror_198955)(tlineinfo196539 info, NU16 msg, NimStringDesc* arg);
N_NOINLINE(tnode226816*, newemptystrnode_311617)(tnode226816* n);
N_NIMCALL(tnode226816*, newnodeit_227145)(NU8 kind, tlineinfo196539 info, ttype226852* typ);
N_NIMCALL(ttype226852*, getsystype_283030)(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_311315)(tsym226846* s, NimStringDesc* extname);
N_NIMCALL(void, processimportcompilerproc_311409)(tsym226846* s, NimStringDesc* extname);
N_NIMCALL(void, invalidpragma_311088)(tnode226816* n);
N_NIMCALL(NimStringDesc*, rendertree_251058)(tnode226816* n, NU8 renderflags);
N_NIMCALL(void, processimportcpp_311467)(tsym226846* s, NimStringDesc* extname);
N_NIMCALL(tsym226846*, getmodule_236243)(tsym226846* s);
N_NIMCALL(void, processimportobjc_311542)(tsym226846* s, NimStringDesc* extname);
N_NIMCALL(NI, expectintlit_311742)(tcontext291021* c, tnode226816* n);
N_NIMCALL(NIM_BOOL, ispoweroftwo_147518)(NI x);
N_NIMCALL(void, noval_313762)(tnode226816* n);
N_NIMCALL(void, pragmadeadcodeelim_312172)(tcontext291021* c, tnode226816* n);
N_NIMCALL(NIM_BOOL, isturnedon_312055)(tcontext291021* c, tnode226816* n);
N_NIMCALL(void, pragmanoforward_312214)(tcontext291021* c, tnode226816* n);
N_NIMCALL(void, processmagic_311864)(tcontext291021* c, tnode226816* n, tsym226846* s);
N_NIMCALL(NimStringDesc*, copyStr)(NimStringDesc* s, NI start);
N_NIMCALL(NimStringDesc*, copyStr)(NimStringDesc* s, NI first);
N_NIMCALL(NimStringDesc*, reprEnum)(NI e_80907, TNimType* typ);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, message_198976)(tlineinfo196539 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(tlib226834*, getlib_312327)(tcontext291021* c, NU8 kind, tnode226816* path);
N_NIMCALL(NIM_BOOL, exprstructuralequivalent_262184)(tnode226816* a, tnode226816* b);
N_NIMCALL(tlib226834*, newlib_291187)(NU8 kind);
N_NIMCALL(void, append_127053)(tlinkedlist127028* list, tlistentry127022* entry);
N_NIMCALL(NIM_BOOL, isdynliboverride_171490)(NimStringDesc* lib);
N_NIMCALL(void, addtolib_291193)(tlib226834* lib, tsym226846* sym);
N_NIMCALL(NimStringDesc*, nsuNormalize)(NimStringDesc* s);
N_NIMCALL(void, processdynlib_312513)(tcontext291021* c, tnode226816* n, tsym226846* sym);
N_NIMCALL(tnode226816*, expectdynlibnode_312402)(tcontext291021* c, tnode226816* n);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_51025)(tcell44935* c);
static N_INLINE(NIM_BOOL, canbecycleroot_48667)(tcell44935* c);
static N_INLINE(void, rtladdcycleroot_49429)(tcell44935* c);
N_NOINLINE(void, incl_45671)(tcellset44947* s, tcell44935* cell);
static N_INLINE(void, decref_50604)(tcell44935* c);
N_NIMCALL(void, markcompilerproc_314441)(tsym226846* s);
N_NIMCALL(void, registercompilerproc_283042)(tsym226846* s);
N_NIMCALL(void, deprecatedstmt_314482)(tcontext291021* c, tnode226816* pragma_314485);
static N_INLINE(tnode226816*, HEX5BHEX5D_227698)(tnode226816* n, NI i);
N_NIMCALL(void, localerror_198966)(tlineinfo196539 info, NimStringDesc* arg);
static N_INLINE(NI, len_227364)(tnode226816* n);
N_NIMCALL(tsym226846*, qualifiedlookup_297122)(tcontext291021* c, tnode226816* n, NU8 flags);
N_NIMCALL(tident201021*, considerquotedident_296010)(tnode226816* n);
N_NIMCALL(tsym226846*, newsym_227074)(NU8 symkind, tident201021* name, tsym226846* owner, tlineinfo196539 info);
N_NIMCALL(void, addinterfacedecl_296845)(tcontext291021* c, tsym226846* sym);
N_NIMCALL(void, typeborrow_314382)(tsym226846* sym, tnode226816* n);
static N_INLINE(NIM_BOOL, isroutine_233780)(tsym226846* s);
N_NIMCALL(void, fatal_198923)(tlineinfo196539 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, processdefine_313379)(tcontext291021* c, tnode226816* n);
N_NIMCALL(void, definesymbol_202009)(NimStringDesc* symbol);
N_NIMCALL(void, processundef_313449)(tcontext291021* c, tnode226816* n);
N_NIMCALL(void, undefsymbol_202027)(NimStringDesc* symbol);
N_NIMCALL(void, processcompile_313526)(tcontext291021* c, tnode226816* n);
N_NIMCALL(NimStringDesc*, findfile_171356)(NimStringDesc* f);
N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(void, addexternalfiletocompile_204399)(NimStringDesc* filename);
N_NIMCALL(void, addfiletolink_203897)(NimStringDesc* filename);
N_NIMCALL(NimStringDesc*, completecfilepath_203855)(NimStringDesc* cfile, NIM_BOOL createsubdir);
N_NIMCALL(void, processcommonlink_313539)(tcontext291021* c, tnode226816* n, NU8 feature);
N_NIMCALL(void, nossplitFile)(NimStringDesc* path, TY117604* Result);
N_NIMCALL(NimStringDesc*, nosaddFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(NimStringDesc*, HEX2F_117299)(NimStringDesc* head, NimStringDesc* tail);
N_NIMCALL(void, internalerror_198987)(tlineinfo196539 info, NimStringDesc* errmsg);
N_NIMCALL(void, addlinkoption_203798)(NimStringDesc* option);
N_NIMCALL(void, addcompileoption_203809)(NimStringDesc* option);
N_NIMCALL(void, pragmabreakpoint_313552)(tcontext291021* c, tnode226816* n);
N_NIMCALL(void, pragmawatchpoint_313585)(tcontext291021* c, tnode226816* n);
N_NIMCALL(void, processpush_313264)(tcontext291021* c, tnode226816* n, NI start);
N_NIMCALL(toptionentry291005*, newoptionentry_291182)(void);
N_NIMCALL(NIM_BOOL, processoption_313002)(tcontext291021* c, tnode226816* n);
N_NIMCALL(void, processnote_312631)(tcontext291021* c, tnode226816* n);
N_NIMCALL(NI, findstr_205342)(NimStringDesc** a, NI aLen0, NimStringDesc* s);
N_NIMCALL(void, onoff_312127)(tcontext291021* c, tnode226816* n, NU32 op);
N_NIMCALL(void, processcallconv_312256)(tcontext291021* c, tnode226816* n);
N_NIMCALL(NU8, wordtocallconv_312018)(NU8 sw);
N_NIMCALL(tnode226816*, newnodei_227138)(NU8 kind, tlineinfo196539 info);
N_NIMCALL(void, add_227498)(tnode226816* father, tnode226816* son);
N_NIMCALL(void, processpop_313368)(tcontext291021* c, tnode226816* n);
N_NIMCALL(void, remove_127652)(tlinkedlist127028* list, tlistentry127022* entry);
N_NIMCALL(void, processpragma_314016)(tcontext291021* c, tnode226816* n, NI i);
N_NIMCALL(void, addson_227287)(tnode226816* father, tnode226816* son);
N_NIMCALL(void, strtableadd_236103)(tstrtable226820* t, tsym226846* n);
N_NIMCALL(void, processcodegendecl_311853)(tcontext291021* c, tnode226816* n, tsym226846* sym);
N_NIMCALL(void, pragmaemit_313738)(tcontext291021* c, tnode226816* n);
N_NIMCALL(tnode226816*, semasmoremit_313632)(tcontext291021* con, tnode226816* n, NIM_CHAR marker);
N_NIMCALL(tnode226816*, newnode_229207)(NU8 kind, tlineinfo196539 info, tnodeseq226810* sons, ttype226852* 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_74828, NI last);
N_NIMCALL(NimStringDesc*, copyStrLast)(NimStringDesc* s, NI first, NI last);
N_NIMCALL(tnode226816*, newstrnode_227118)(NU8 kind, NimStringDesc* strval);
N_NIMCALL(tsym226846*, searchinscopes_296312)(tcontext291021* c, tident201021* s);
N_NIMCALL(tident201021*, getident_201472)(NimStringDesc* identifier);
N_NIMCALL(void, loadstub_280261)(tsym226846* s);
N_NIMCALL(tnode226816*, newsymnode_227132)(tsym226846* sym);
N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x);
N_NIMCALL(void, illformedast_292406)(tnode226816* n);
N_NIMCALL(void, pragmaunroll_313780)(tcontext291021* c, tnode226816* n);
N_NIMCALL(tnode226816*, newintnode_227096)(NU8 kind, NI64 intval);
N_NIMCALL(void, pragmaline_313823)(tcontext291021* c, tnode226816* n);
N_NIMCALL(NI32, fileinfoidx_196747)(NimStringDesc* filename);
N_NIMCALL(tlineinfo196539, getinfocontext_197992)(NI index);
N_NIMCALL(void, pragmaraisesortags_314169)(tcontext291021* c, tnode226816* n);
N_NIMCALL(void, processexc_314173)(tcontext291021* c, tnode226816* x);
N_NIMCALL(ttype226852*, skiptypes_231245)(ttype226852* t, NU64 kinds);
N_NIMCALL(void, pragmalockstmt_314256)(tcontext291021* c, tnode226816* it);
N_NIMCALL(NI16, pragmalocks_314350)(tcontext291021* c, tnode226816* it);
N_NIMCALL(tsym226846*, pragmaguard_314570)(tcontext291021* c, tnode226816* it, NU8 kind);
static N_INLINE(NIM_BOOL, istoplevel_292437)(tcontext291021* c);
N_NIMCALL(void, implicitpragmas_316398)(tcontext291021* c, tsym226846* sym, tnode226816* n, tspecialwords205012 validpragmas);
N_NIMCALL(NIM_BOOL, HEX3DHEX3D_316667)(tnodeseq226810* x_316673, tnodeseq226810* y_316678);
STRING_LITERAL(TMP2927, "", 0);
STRING_LITERAL(TMP2928, "$1", 2);
STRING_LITERAL(TMP2929, "destroy", 7);
STRING_LITERAL(TMP2930, "destructor has to be named \'destroy\'", 36);
STRING_LITERAL(TMP2931, "list of key:value pairs expected", 32);
STRING_LITERAL(TMP2933, "key:value pair expected", 23);
STRING_LITERAL(TMP2934, "a type can only borrow `.` for now", 34);
STRING_LITERAL(TMP2935, "define", 6);
STRING_LITERAL(TMP2936, "undef", 5);
extern NIM_CONST TY203435 cc_203434;
STRING_LITERAL(TMP2937, "processCommonLink", 17);
STRING_LITERAL(TMP2938, "\':\' after \'push\' not supported", 30);
STRING_LITERAL(TMP2940, "Success", 7);
STRING_LITERAL(TMP2941, "SuccessX", 8);
STRING_LITERAL(TMP2942, "LineTooLong", 11);
STRING_LITERAL(TMP2943, "XDeclaredButNotUsed", 19);
STRING_LITERAL(TMP2944, "ConvToBaseNotNeeded", 19);
STRING_LITERAL(TMP2945, "ConvFromXtoItselfNotNeeded", 26);
STRING_LITERAL(TMP2946, "ExprAlwaysX", 11);
STRING_LITERAL(TMP2947, "QuitCalled", 10);
STRING_LITERAL(TMP2948, "Processing", 10);
STRING_LITERAL(TMP2949, "CodeBegin", 9);
STRING_LITERAL(TMP2950, "CodeEnd", 7);
STRING_LITERAL(TMP2951, "Conf", 4);
STRING_LITERAL(TMP2952, "Path", 4);
STRING_LITERAL(TMP2953, "CondTrue", 8);
STRING_LITERAL(TMP2954, "Name", 4);
STRING_LITERAL(TMP2955, "Pattern", 7);
STRING_LITERAL(TMP2956, "User", 4);
NIM_CONST TY196500 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),
((NimStringDesc*) &TMP2952),
((NimStringDesc*) &TMP2953),
((NimStringDesc*) &TMP2954),
((NimStringDesc*) &TMP2955),
((NimStringDesc*) &TMP2956)}
;
STRING_LITERAL(TMP2958, "CannotOpenFile", 14);
STRING_LITERAL(TMP2959, "OctalEscape", 11);
STRING_LITERAL(TMP2960, "XIsNeverRead", 12);
STRING_LITERAL(TMP2961, "XmightNotBeenInit", 17);
STRING_LITERAL(TMP2962, "Deprecated", 10);
STRING_LITERAL(TMP2963, "ConfigDeprecated", 16);
STRING_LITERAL(TMP2964, "SmallLshouldNotBeUsed", 21);
STRING_LITERAL(TMP2965, "UnknownMagic", 12);
STRING_LITERAL(TMP2966, "RedefinitionOfLabel", 19);
STRING_LITERAL(TMP2967, "UnknownSubstitutionX", 20);
STRING_LITERAL(TMP2968, "LanguageXNotSupported", 21);
STRING_LITERAL(TMP2969, "FieldXNotSupported", 18);
STRING_LITERAL(TMP2970, "CommentXIgnored", 15);
STRING_LITERAL(TMP2971, "NilStmt", 7);
STRING_LITERAL(TMP2972, "AnalysisLoophole", 16);
STRING_LITERAL(TMP2973, "DifferentHeaps", 14);
STRING_LITERAL(TMP2974, "WriteToForeignHeap", 18);
STRING_LITERAL(TMP2975, "UnsafeCode", 10);
STRING_LITERAL(TMP2976, "EachIdentIsTuple", 16);
STRING_LITERAL(TMP2977, "ShadowIdent", 11);
STRING_LITERAL(TMP2978, "ProveInit", 9);
STRING_LITERAL(TMP2979, "ProveField", 10);
STRING_LITERAL(TMP2980, "ProveIndex", 10);
STRING_LITERAL(TMP2981, "GcUnsafe", 8);
STRING_LITERAL(TMP2982, "GcUnsafe2", 9);
STRING_LITERAL(TMP2983, "Uninit", 6);
STRING_LITERAL(TMP2984, "GcMem", 5);
STRING_LITERAL(TMP2985, "LockLevel", 9);
NIM_CONST TY196495 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*) &TMP2981),
((NimStringDesc*) &TMP2982),
((NimStringDesc*) &TMP2983),
((NimStringDesc*) &TMP2984),
((NimStringDesc*) &TMP2985),
((NimStringDesc*) &TMP2956)}
;
STRING_LITERAL(TMP2986, "speed", 5);
STRING_LITERAL(TMP2987, "size", 4);
STRING_LITERAL(TMP2988, "none", 4);
STRING_LITERAL(TMP2989, "tuple", 5);
STRING_LITERAL(TMP2990, "invalid type for raises/tags list", 33);
STRING_LITERAL(TMP2991, "locks pragma takes a list of expressions", 40);
STRING_LITERAL(TMP2992, "integer must be within 0..1000", 30);
STRING_LITERAL(TMP2993, "\'experimental\' pragma only valid as toplevel statement", 54);
STRING_LITERAL(TMP2994, "implicitPragmas", 15);
extern tgcheap47016 gch_47044;
extern NU8 gcmd_170120;
extern NIM_BOOL gmixedmode_203462;
extern TNimType NTI226532; /* TMagic */
extern NU32 gglobaloptions_170118;
extern NU8 ccompiler_203461;
extern NimStringDesc* libpath_170233;
extern NU32 goptions_170116;
extern NU64 gnotes_197305;
extern TNimType NTI226810; /* TNodeSeq */

static N_INLINE(NI, sonslen_227249)(tnode226816* 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(tcell44935*, usrtocell_48646)(void* usr) {
	tcell44935* result;
	result = 0;
	result = ((tcell44935*) ((NI)((NU32)(((NI) (usr))) - (NU32)(((NI)sizeof(tcell44935))))));
	return result;
}

static N_INLINE(void, rtladdzct_50204)(tcell44935* c) {
	addzct_48617((&gch_47044.Zct), c);
}

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

N_NIMCALL(void, setexternname_311280)(tsym226846* s, NimStringDesc* extname) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = nsuFormatSingleElem(extname, (*(*s).Name).S);
	asgnRefNoCycle((void**) (&(*s).Loc.R), torope_178076(LOC1));
	{
		NIM_BOOL LOC4;
		NIM_BOOL LOC6;
		LOC4 = 0;
		LOC4 = (gcmd_170120 == ((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_311382)(tsym226846* s, NimStringDesc* extname, tlineinfo196539 info) {
	setexternname_311280(s, extname);
	(*s).Flags |= ((NI32)1)<<((((NU8) 6))%(sizeof(NI32)*8));
}

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

N_NOINLINE(tnode226816*, newemptystrnode_311617)(tnode226816* n) {
	tnode226816* result;
	ttype226852* LOC1;
	NimStringDesc* LOC2;
	result = 0;
	LOC1 = 0;
	LOC1 = getsystype_283030(((NU8) 28));
	result = newnodeit_227145(((NU8) 20), (*n).Info, LOC1);
	LOC2 = 0;
	LOC2 = (*result).kindU.S3.Strval; (*result).kindU.S3.Strval = copyStringRC1(((NimStringDesc*) &TMP2927));
	if (LOC2) nimGCunrefNoCycle(LOC2);
	return result;
}

N_NIMCALL(tnode226816*, getstrlitnode_311641)(tcontext291021* c, tnode226816* n) {
	tnode226816* result;
	result = 0;
	{
		if (!!(((*n).Kind == ((NU8) 34)))) goto LA3;
		localerror_198955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2927));
		result = newemptystrnode_311617(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_198955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2927));
			result = newemptystrnode_311617(n);
		}
		break;
		}
	}
	LA1: ;
	return result;
}

N_NIMCALL(NimStringDesc*, expectstrlit_311717)(tcontext291021* c, tnode226816* n) {
	NimStringDesc* result;
	tnode226816* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = getstrlitnode_311641(c, n);
	result = copyString((*LOC1).kindU.S3.Strval);
	return result;
}

N_NIMCALL(NimStringDesc*, getoptionalstr_311832)(tcontext291021* c, tnode226816* n, NimStringDesc* defaultstr) {
	NimStringDesc* result;
	result = 0;
	{
		if (!((*n).Kind == ((NU8) 34))) goto LA3;
		result = expectstrlit_311717(c, n);
	}
	goto LA1;
	LA3: ;
	{
		result = copyString(defaultstr);
	}
	LA1: ;
	return result;
}

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

N_NIMCALL(void, processimportcompilerproc_311409)(tsym226846* s, NimStringDesc* extname) {
	setexternname_311280(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_311088)(tnode226816* n) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = rendertree_251058(n, 4);
	localerror_198955((*n).Info, ((NU16) 162), LOC1);
}

N_NIMCALL(void, processimportcpp_311467)(tsym226846* s, NimStringDesc* extname) {
	tsym226846* m;
	setexternname_311280(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_236243(s);
	(*m).Flags |= ((NI32)1)<<((((NU8) 27))%(sizeof(NI32)*8));
	gmixedmode_203462 = NIM_TRUE;
}

N_NIMCALL(void, processimportobjc_311542)(tsym226846* s, NimStringDesc* extname) {
	tsym226846* m;
	setexternname_311280(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_236243(s);
	(*m).Flags |= ((NI32)1)<<((((NU8) 28))%(sizeof(NI32)*8));
}

N_NIMCALL(NI, expectintlit_311742)(tcontext291021* c, tnode226816* n) {
	NI result;
	result = 0;
	{
		if (!!(((*n).Kind == ((NU8) 34)))) goto LA3;
		localerror_198955((*n).Info, ((NU16) 7), ((NimStringDesc*) &TMP2927));
	}
	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_198955((*n).Info, ((NU16) 7), ((NimStringDesc*) &TMP2927));
		}
		break;
		}
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, noval_313762)(tnode226816* n) {
	{
		if (!((*n).Kind == ((NU8) 34))) goto LA3;
		invalidpragma_311088(n);
	}
	LA3: ;
}

N_NIMCALL(NIM_BOOL, isturnedon_312055)(tcontext291021* c, tnode226816* n) {
	NIM_BOOL result;
	result = 0;
	{
		tnode226816* 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_198955((*n).Info, ((NU16) 26), ((NimStringDesc*) &TMP2927));
	BeforeRet: ;
	return result;
}

N_NIMCALL(void, pragmadeadcodeelim_312172)(tcontext291021* c, tnode226816* n) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isturnedon_312055(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_312214)(tcontext291021* c, tnode226816* n) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isturnedon_312055(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)), (NI32)((*a).Sup.len * 1));
	LOC11 = (LOC13 == ((NI32) 0));
	LA12: ;
	result = LOC11;
	goto BeforeRet;
	BeforeRet: ;
	return result;
}

N_NIMCALL(void, processmagic_311864)(tcontext291021* c, tnode226816* n, tsym226846* s) {
	NimStringDesc* v;
	{
		if (!!(((*n).Kind == ((NU8) 34)))) goto LA3;
		localerror_198955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2927));
		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_311717(c, n);
	}
	LA5: ;
	{
		NU16 m_311978;
		NU16 res_312001;
		m_311978 = 0;
		res_312001 = ((NU16) 0);
		{
			while (1) {
				if (!(res_312001 <= ((NU16) 263))) goto LA12;
				m_311978 = res_312001;
				{
					NimStringDesc* LOC15;
					LOC15 = 0;
					LOC15 = copyStr(reprEnum(m_311978, (&NTI226532)), 1);
					if (!eqStrings(LOC15, v)) goto LA16;
					(*s).Magic = m_311978;
					goto LA10;
				}
				LA16: ;
				res_312001 += 1;
			} LA12: ;
		}
	} LA10: ;
	{
		if (!((*s).Magic == ((NU16) 0))) goto LA20;
		message_198976((*n).Info, ((NU16) 237), v);
	}
	LA20: ;
	BeforeRet: ;
}

N_NIMCALL(tlib226834*, getlib_312327)(tcontext291021* c, NU8 kind, tnode226816* path) {
	tlib226834* result;
	tlib226834* it;
	tlistentry127022* LOC12;
	result = 0;
	it = ((tlib226834*) ((*c).Libs.Head));
	{
		while (1) {
			if (!!((it == NIM_NIL))) goto LA2;
			{
				if (!((*it).Kind == kind)) goto LA5;
				{
					NIM_BOOL LOC9;
					LOC9 = 0;
					LOC9 = exprstructuralequivalent_262184((*it).Path, path);
					if (!LOC9) goto LA10;
					result = it;
					goto BeforeRet;
				}
				LA10: ;
			}
			LA5: ;
			it = ((tlib226834*) ((*it).Sup.Next));
		} LA2: ;
	}
	result = newlib_291187(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_171490((*path).kindU.S3.Strval);
	}
	LA15: ;
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode226816*, expectdynlibnode_312402)(tcontext291021* c, tnode226816* n) {
	tnode226816* result;
	result = 0;
	{
		if (!!(((*n).Kind == ((NU8) 34)))) goto LA3;
		localerror_198955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2927));
		result = newemptystrnode_311617(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 = !(((*(*result).Typ).Kind == ((NU8) 26) || (*(*result).Typ).Kind == ((NU8) 28) || (*(*result).Typ).Kind == ((NU8) 25)));
			LA15: ;
			if (!LOC14) goto LA16;
			localerror_198955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2927));
			result = newemptystrnode_311617(n);
		}
		LA16: ;
	}
	LA1: ;
	return result;
}

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

static N_INLINE(void, rtladdcycleroot_49429)(tcell44935* c) {
	{
		if (!!((((NI) ((NI)((*c).Refcount & 3))) == 3))) goto LA3;
		(*c).Refcount = (NI)((NI)((*c).Refcount & -4) | 3);
		incl_45671((&gch_47044.Cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_51025)(tcell44935* c) {
	(*c).Refcount = (NI)((NU32)((*c).Refcount) + (NU32)(8));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_48667(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_49429(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_50604)(tcell44935* c) {
	{
		(*c).Refcount -= 8;
		if (!((NU32)((*c).Refcount) < (NU32)(8))) goto LA3;
		rtladdzct_50204(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_48667(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_49429(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		tcell44935* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_48646(src);
		incref_51025(LOC5);
	}
	LA3: ;
	{
		tcell44935* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_48646((*dest));
		decref_50604(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

N_NIMCALL(void, processdynlib_312513)(tcontext291021* c, tnode226816* n, tsym226846* sym) {
	{
		NIM_BOOL LOC3;
		tnode226816* 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_312402(c, n);
		asgnRef((void**) (&(*((toptionentry291005*) ((*c).Optionstack.Tail))).Dynlib), getlib_312327(c, ((NU8) 1), LOC7));
	}
	goto LA1;
	LA5: ;
	{
		{
			tlib226834* lib;
			tnode226816* LOC13;
			if (!((*n).Kind == ((NU8) 34))) goto LA11;
			LOC13 = 0;
			LOC13 = expectdynlibnode_312402(c, n);
			lib = getlib_312327(c, ((NU8) 1), LOC13);
			{
				if (!!((*lib).Isoverriden)) goto LA16;
				addtolib_291193(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_314441)(tsym226846* s) {
	makeexternexport_311382(s, ((NimStringDesc*) &TMP2928), (*s).Info);
	(*s).Flags |= ((NI32)1)<<((((NU8) 16))%(sizeof(NI32)*8));
	(*s).Flags |= ((NI32)1)<<((((NU8) 0))%(sizeof(NI32)*8));
	registercompilerproc_283042(s);
}

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

static N_INLINE(NI, len_227364)(tnode226816* 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_314482)(tcontext291021* c, tnode226816* pragma_314485) {
	tnode226816* pragma;
	pragma = HEX5BHEX5D_227698(pragma_314485, 1);
	{
		if (!!(((*pragma).Kind == ((NU8) 41)))) goto LA3;
		localerror_198966((*pragma).Info, ((NimStringDesc*) &TMP2931));
		goto BeforeRet;
	}
	LA3: ;
	{
		tnode226816* n_314496;
		n_314496 = 0;
		{
			NI i_314547;
			NI HEX3Atmp_314549;
			NI LOC7;
			NI res_314551;
			i_314547 = 0;
			HEX3Atmp_314549 = 0;
			LOC7 = 0;
			LOC7 = len_227364(pragma);
			HEX3Atmp_314549 = (LOC7 - 1);
			res_314551 = 0;
			{
				while (1) {
					if (!(res_314551 <= HEX3Atmp_314549)) goto LA9;
					i_314547 = res_314551;
					n_314496 = (*pragma).kindU.S6.Sons->data[i_314547];
					{
						tsym226846* dest;
						tnode226816* LOC14;
						tident201021* src;
						tnode226816* LOC15;
						tsym226846* alias;
						tnode226816* LOC16;
						if (!((*n_314496).Kind == ((NU8) 34) || (*n_314496).Kind == ((NU8) 33))) goto LA12;
						LOC14 = 0;
						LOC14 = HEX5BHEX5D_227698(n_314496, 1);
						dest = qualifiedlookup_297122(c, LOC14, 2);
						LOC15 = 0;
						LOC15 = HEX5BHEX5D_227698(n_314496, 0);
						src = considerquotedident_296010(LOC15);
						LOC16 = 0;
						LOC16 = HEX5BHEX5D_227698(n_314496, 0);
						alias = newsym_227074(((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_314441(alias);
						}
						LA19: ;
						addinterfacedecl_296845(c, alias);
					}
					goto LA10;
					LA12: ;
					{
						localerror_198966((*n_314496).Info, ((NimStringDesc*) &TMP2933));
					}
					LA10: ;
					res_314551 += 1;
				} LA9: ;
			}
		}
	}
	BeforeRet: ;
}

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

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

N_NIMCALL(void, processdefine_313379)(tcontext291021* c, tnode226816* 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_202009((*(*(*n).kindU.S6.Sons->data[1]).kindU.S5.Ident).S);
		message_198976((*n).Info, ((NU16) 234), ((NimStringDesc*) &TMP2935));
	}
	goto LA1;
	LA5: ;
	{
		invalidpragma_311088(n);
	}
	LA1: ;
}

N_NIMCALL(void, processundef_313449)(tcontext291021* c, tnode226816* 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_202027((*(*(*n).kindU.S6.Sons->data[1]).kindU.S5.Ident).S);
		message_198976((*n).Info, ((NU16) 234), ((NimStringDesc*) &TMP2936));
	}
	goto LA1;
	LA5: ;
	{
		invalidpragma_311088(n);
	}
	LA1: ;
}

N_NIMCALL(void, processcompile_313526)(tcontext291021* c, tnode226816* n) {
	NimStringDesc* s;
	NimStringDesc* found;
	NimStringDesc* trunc;
	NimStringDesc* LOC5;
	s = expectstrlit_311717(c, n);
	found = findfile_171356(s);
	{
		if (!((found) && (found)->Sup.len == 0)) goto LA3;
		found = copyString(s);
	}
	LA3: ;
	trunc = noschangeFileExt(found, ((NimStringDesc*) &TMP2927));
	addexternalfiletocompile_204399(found);
	LOC5 = 0;
	LOC5 = completecfilepath_203855(trunc, NIM_FALSE);
	addfiletolink_203897(LOC5);
}

N_NIMCALL(void, processcommonlink_313539)(tcontext291021* c, tnode226816* n, NU8 feature) {
	NimStringDesc* f;
	NimStringDesc* found;
	f = expectstrlit_311717(c, n);
	{
		TY117604 LOC3;
		memset((void*)(&LOC3), 0, sizeof(LOC3));
		nossplitFile(f, (&LOC3));
		if (!((LOC3.Field2) && (LOC3.Field2)->Sup.len == 0)) goto LA4;
		f = nosaddFileExt(f, cc_203434[(ccompiler_203461)- 1].Field1);
	}
	LA4: ;
	found = findfile_171356(f);
	{
		if (!((found) && (found)->Sup.len == 0)) goto LA8;
		found = copyString(f);
	}
	LA8: ;
	switch (feature) {
	case ((NU8) 0):
	{
		addfiletolink_203897(found);
	}
	break;
	case ((NU8) 1):
	{
		NimStringDesc* LOC12;
		NimStringDesc* LOC13;
		LOC12 = 0;
		LOC12 = completecfilepath_203855(found, NIM_FALSE);
		LOC13 = 0;
		LOC13 = HEX2F_117299(libpath_170233, LOC12);
		addfiletolink_203897(LOC13);
	}
	break;
	default:
	{
		internalerror_198987((*n).Info, ((NimStringDesc*) &TMP2937));
	}
	break;
	}
}

N_NIMCALL(void, pragmabreakpoint_313552)(tcontext291021* c, tnode226816* n) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = getoptionalstr_311832(c, n, ((NimStringDesc*) &TMP2927));
}

N_NIMCALL(void, pragmawatchpoint_313585)(tcontext291021* c, tnode226816* 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_311088(n);
	}
	LA1: ;
}

N_NIMCALL(void, processnote_312631)(tcontext291021* c, tnode226816* n) {
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		NIM_BOOL LOC5;
		NIM_BOOL LOC6;
		NIM_BOOL LOC7;
		NI LOC9;
		NU16 nk;
		NU8 LOC16;
		tnode226816* x;
		LOC3 = 0;
		LOC4 = 0;
		LOC5 = 0;
		LOC6 = 0;
		LOC7 = 0;
		LOC7 = ((*n).Kind == ((NU8) 34));
		if (!(LOC7)) goto LA8;
		LOC9 = 0;
		LOC9 = sonslen_227249(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_205382((*(*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[0]).kindU.S5.Ident);
		switch (LOC16) {
		case ((NU8) 110):
		{
			NI x;
			x = findstr_205342(TMP2939, 17, (*(*(*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[1]).kindU.S5.Ident).S);
			{
				if (!(0 <= x)) goto LA20;
				nk = ((NU16) ((NI32)(x + 259)));
			}
			goto LA18;
			LA20: ;
			{
				invalidpragma_311088(n);
				goto BeforeRet;
			}
			LA18: ;
		}
		break;
		case ((NU8) 109):
		{
			NI x;
			x = findstr_205342(TMP2957, 29, (*(*(*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[1]).kindU.S5.Ident).S);
			{
				if (!(0 <= x)) goto LA26;
				nk = ((NU16) ((NI32)(x + 230)));
			}
			goto LA24;
			LA26: ;
			{
				invalidpragma_311088(n);
				goto BeforeRet;
			}
			LA24: ;
		}
		break;
		default:
		{
			invalidpragma_311088(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_197305 |= ((NI64)1)<<(((nk- 230))%(sizeof(NI64)*8));
		}
		goto LA30;
		LA34: ;
		{
			gnotes_197305 &= ~(((NI64)1) << (((nk- 230)) % (sizeof(NI64)*8)));
		}
		LA30: ;
	}
	goto LA1;
	LA14: ;
	{
		invalidpragma_311088(n);
	}
	LA1: ;
	BeforeRet: ;
}

N_NIMCALL(void, onoff_312127)(tcontext291021* c, tnode226816* n, NU32 op) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isturnedon_312055(c, n);
		if (!LOC3) goto LA4;
		goptions_170116 = (goptions_170116 | op);
	}
	goto LA1;
	LA4: ;
	{
		goptions_170116 = (goptions_170116 & ~ op);
	}
	LA1: ;
}

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

N_NIMCALL(void, processcallconv_312256)(tcontext291021* c, tnode226816* 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_205382((*(*n).kindU.S6.Sons->data[1]).kindU.S5.Ident);
		switch (sw) {
		case ((NU8) 127) ... ((NU8) 136):
		{
			(*((toptionentry291005*) ((*c).Optionstack.Tail))).Defaultcc = wordtocallconv_312018(sw);
		}
		break;
		default:
		{
			localerror_198955((*n).Info, ((NU16) 100), ((NimStringDesc*) &TMP2927));
		}
		break;
		}
	}
	goto LA1;
	LA5: ;
	{
		localerror_198955((*n).Info, ((NU16) 100), ((NimStringDesc*) &TMP2927));
	}
	LA1: ;
}

N_NIMCALL(NIM_BOOL, processoption_313002)(tcontext291021* c, tnode226816* 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_312631(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_205382((*(*n).kindU.S6.Sons->data[0]).kindU.S5.Ident);
		switch (sw) {
		case ((NU8) 139):
		{
			onoff_312127(c, n, 1022);
		}
		break;
		case ((NU8) 81):
		{
			onoff_312127(c, n, 2);
		}
		break;
		case ((NU8) 168):
		{
			onoff_312127(c, n, 4);
		}
		break;
		case ((NU8) 140):
		{
			onoff_312127(c, n, 8);
		}
		break;
		case ((NU8) 141):
		{
			onoff_312127(c, n, 16);
		}
		break;
		case ((NU8) 142):
		{
			onoff_312127(c, n, 32);
		}
		break;
		case ((NU8) 143):
		{
			onoff_312127(c, n, 64);
		}
		break;
		case ((NU8) 144):
		{
			onoff_312127(c, n, 384);
		}
		break;
		case ((NU8) 145):
		{
			onoff_312127(c, n, 128);
		}
		break;
		case ((NU8) 146):
		{
			onoff_312127(c, n, 256);
		}
		break;
		case ((NU8) 147):
		{
			onoff_312127(c, n, 512);
		}
		break;
		case ((NU8) 149):
		{
			onoff_312127(c, n, 2048);
		}
		break;
		case ((NU8) 150):
		{
			onoff_312127(c, n, 4096);
		}
		break;
		case ((NU8) 124):
		{
			processcallconv_312256(c, n);
		}
		break;
		case ((NU8) 116):
		{
			onoff_312127(c, n, 1024);
		}
		break;
		case ((NU8) 117):
		{
			onoff_312127(c, n, 32768);
		}
		break;
		case ((NU8) 118):
		{
			onoff_312127(c, n, 65536);
		}
		break;
		case ((NU8) 126):
		{
			onoff_312127(c, n, 131072);
		}
		break;
		case ((NU8) 80):
		{
			onoff_312127(c, n, 524288);
		}
		break;
		case ((NU8) 253):
		{
			onoff_312127(c, n, 262144);
		}
		break;
		case ((NU8) 104):
		{
			processdynlib_312513(c, n, NIM_NIL);
		}
		break;
		case ((NU8) 151):
		{
			{
				if (!!(((*(*n).kindU.S6.Sons->data[1]).Kind == ((NU8) 2)))) goto LA36;
				invalidpragma_311088(n);
			}
			goto LA34;
			LA36: ;
			{
				NimStringDesc* LOC39;
				LOC39 = 0;
				LOC39 = nsuNormalize((*(*(*n).kindU.S6.Sons->data[1]).kindU.S5.Ident).S);
				if (eqStrings(LOC39, ((NimStringDesc*) &TMP2986))) goto LA40;
				if (eqStrings(LOC39, ((NimStringDesc*) &TMP2987))) goto LA41;
				if (eqStrings(LOC39, ((NimStringDesc*) &TMP2988))) goto LA42;
				goto LA43;
				LA40: ;
				{
					goptions_170116 |= ((NI32)1)<<((((NU8) 13))%(sizeof(NI32)*8));
					goptions_170116 &= ~(((NI32)1) << ((((NU8) 14)) % (sizeof(NI32)*8)));
				}
				goto LA44;
				LA41: ;
				{
					goptions_170116 &= ~(((NI32)1) << ((((NU8) 13)) % (sizeof(NI32)*8)));
					goptions_170116 |= ((NI32)1)<<((((NU8) 14))%(sizeof(NI32)*8));
				}
				goto LA44;
				LA42: ;
				{
					goptions_170116 &= ~(((NI32)1) << ((((NU8) 13)) % (sizeof(NI32)*8)));
					goptions_170116 &= ~(((NI32)1) << ((((NU8) 14)) % (sizeof(NI32)*8)));
				}
				goto LA44;
				LA43: ;
				{
					localerror_198955((*n).Info, ((NU16) 27), ((NimStringDesc*) &TMP2927));
				}
				LA44: ;
			}
			LA34: ;
		}
		break;
		case ((NU8) 186):
		{
			onoff_312127(c, n, 1048576);
		}
		break;
		case ((NU8) 148):
		{
			onoff_312127(c, n, 2097152);
		}
		break;
		default:
		{
			result = NIM_TRUE;
		}
		break;
		}
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, processpush_313264)(tcontext291021* c, tnode226816* n, NI start) {
	toptionentry291005* x;
	toptionentry291005* y;
	tlistentry127022* LOC5;
	{
		if (!((*(*n).kindU.S6.Sons->data[(NI32)(start - 1)]).Kind == ((NU8) 34))) goto LA3;
		localerror_198955((*n).Info, ((NU16) 4), ((NimStringDesc*) &TMP2938));
	}
	LA3: ;
	x = newoptionentry_291182();
	y = ((toptionentry291005*) ((*c).Optionstack.Tail));
	(*x).Options = goptions_170116;
	(*x).Defaultcc = (*y).Defaultcc;
	asgnRef((void**) (&(*x).Dynlib), (*y).Dynlib);
	(*x).Notes = gnotes_197305;
	LOC5 = 0;
	LOC5 = &x->Sup;
	append_127053((&(*c).Optionstack), LOC5);
	{
		NI i_313307;
		NI HEX3Atmp_313348;
		NI LOC7;
		NI res_313351;
		i_313307 = 0;
		HEX3Atmp_313348 = 0;
		LOC7 = 0;
		LOC7 = sonslen_227249(n);
		HEX3Atmp_313348 = (NI32)(LOC7 - 1);
		res_313351 = start;
		{
			while (1) {
				if (!(res_313351 <= HEX3Atmp_313348)) goto LA9;
				i_313307 = res_313351;
				{
					NIM_BOOL LOC12;
					LOC12 = 0;
					LOC12 = processoption_313002(c, (*n).kindU.S6.Sons->data[i_313307]);
					if (!LOC12) goto LA13;
					{
						if (!(*x).Otherpragmas == 0) goto LA17;
						asgnRefNoCycle((void**) (&(*x).Otherpragmas), newnodei_227138(((NU8) 90), (*n).Info));
					}
					LA17: ;
					add_227498((*x).Otherpragmas, (*n).kindU.S6.Sons->data[i_313307]);
				}
				LA13: ;
				res_313351 += 1;
			} LA9: ;
		}
	}
}

N_NIMCALL(void, processpop_313368)(tcontext291021* c, tnode226816* n) {
	{
		if (!((*c).Optionstack.Counter <= 1)) goto LA3;
		localerror_198955((*n).Info, ((NU16) 31), ((NimStringDesc*) &TMP2927));
	}
	goto LA1;
	LA3: ;
	{
		goptions_170116 = (*((toptionentry291005*) ((*c).Optionstack.Tail))).Options;
		gnotes_197305 = (*((toptionentry291005*) ((*c).Optionstack.Tail))).Notes;
		remove_127652((&(*c).Optionstack), (*c).Optionstack.Tail);
	}
	LA1: ;
}

N_NIMCALL(void, processpragma_314016)(tcontext291021* c, tnode226816* n, NI i) {
	tnode226816* it;
	tsym226846* userpragma;
	tnode226816* body;
	it = (*n).kindU.S6.Sons->data[i];
	{
		if (!!(((*it).Kind == ((NU8) 34)))) goto LA3;
		invalidpragma_311088(n);
	}
	goto LA1;
	LA3: ;
	{
		if (!!(((*(*it).kindU.S6.Sons->data[0]).Kind == ((NU8) 2)))) goto LA6;
		invalidpragma_311088(n);
	}
	goto LA1;
	LA6: ;
	{
		if (!!(((*(*it).kindU.S6.Sons->data[1]).Kind == ((NU8) 2)))) goto LA9;
		invalidpragma_311088(n);
	}
	goto LA1;
	LA9: ;
	LA1: ;
	userpragma = newsym_227074(((NU8) 18), (*(*it).kindU.S6.Sons->data[1]).kindU.S5.Ident, NIM_NIL, (*it).Info);
	body = newnodei_227138(((NU8) 90), (*n).Info);
	{
		NI j_314131;
		NI HEX3Atmp_314148;
		NI HEX3Atmp_314149;
		NI LOC12;
		NI res_314152;
		j_314131 = 0;
		HEX3Atmp_314148 = 0;
		HEX3Atmp_314149 = 0;
		HEX3Atmp_314148 = (NI32)(i + 1);
		LOC12 = 0;
		LOC12 = sonslen_227249(n);
		HEX3Atmp_314149 = (NI32)(LOC12 - 1);
		res_314152 = HEX3Atmp_314148;
		{
			while (1) {
				if (!(res_314152 <= HEX3Atmp_314149)) goto LA14;
				j_314131 = res_314152;
				addson_227287(body, (*n).kindU.S6.Sons->data[j_314131]);
				res_314152 += 1;
			} LA14: ;
		}
	}
	asgnRefNoCycle((void**) (&(*userpragma).Ast), body);
	strtableadd_236103((&(*c).Userpragmas), userpragma);
}

N_NIMCALL(void, processcodegendecl_311853)(tcontext291021* c, tnode226816* n, tsym226846* sym) {
	asgnRefNoCycle((void**) (&(*sym).Constraint), getstrlitnode_311641(c, n));
}

N_NIMCALL(tnode226816*, semasmoremit_313632)(tcontext291021* con, tnode226816* n, NIM_CHAR marker) {
	tnode226816* result;
	result = 0;
	switch ((*(*n).kindU.S6.Sons->data[1]).Kind) {
	case ((NU8) 20):
	case ((NU8) 21):
	case ((NU8) 22):
	{
		NU8 LOC2;
		tnodeseq226810* 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 = (tnodeseq226810*) newSeq((&NTI226810), 0);
		result = newnode_229207(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_198955((*n).Info, ((NU16) 32), ((NimStringDesc*) &TMP2927));
			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, (NI32)(b - 1));
				}
				LA15: ;
				{
					tnode226816* LOC24;
					if (!!(((sub) && (sub)->Sup.len == 0))) goto LA22;
					LOC24 = 0;
					LOC24 = newstrnode_227118(((NU8) 20), sub);
					addson_227287(result, LOC24);
				}
				LA22: ;
				{
					if (!(b < 0)) goto LA27;
					goto LA13;
				}
				LA27: ;
				c = nsuFindChar(str, marker, (NI32)(b + 1));
				{
					if (!(c < 0)) goto LA31;
					sub = copyStr(str, (NI32)(b + 1));
				}
				goto LA29;
				LA31: ;
				{
					sub = copyStrLast(str, (NI32)(b + 1), (NI32)(c - 1));
				}
				LA29: ;
				{
					tsym226846* e;
					tident201021* LOC38;
					if (!!(((sub) && (sub)->Sup.len == 0))) goto LA36;
					LOC38 = 0;
					LOC38 = getident_201472(sub);
					e = searchinscopes_296312(con, LOC38);
					{
						tnode226816* LOC47;
						if (!!((e == NIM_NIL))) goto LA41;
						{
							if (!((*e).Kind == ((NU8) 23))) goto LA45;
							loadstub_280261(e);
						}
						LA45: ;
						LOC47 = 0;
						LOC47 = newsymnode_227132(e);
						addson_227287(result, LOC47);
					}
					goto LA39;
					LA41: ;
					{
						tnode226816* LOC49;
						LOC49 = 0;
						LOC49 = newstrnode_227118(((NU8) 20), sub);
						addson_227287(result, LOC49);
					}
					LA39: ;
				}
				goto LA34;
				LA36: ;
				{
					NimStringDesc* LOC51;
					tnode226816* LOC52;
					LOC51 = 0;
					LOC51 = nimCharToStr(marker);
					LOC52 = 0;
					LOC52 = newstrnode_227118(((NU8) 20), LOC51);
					addson_227287(result, LOC52);
				}
				LA34: ;
				{
					if (!(c < 0)) goto LA55;
					goto LA13;
				}
				LA55: ;
				a = (NI32)(c + 1);
			}
		} LA13: ;
	}
	break;
	default:
	{
		illformedast_292406(n);
	}
	break;
	}
	BeforeRet: ;
	return result;
}

N_NIMCALL(void, pragmaemit_313738)(tcontext291021* c, tnode226816* n) {
	tnode226816* LOC1;
	LOC1 = 0;
	LOC1 = getstrlitnode_311641(c, n);
	asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[1]), semasmoremit_313632(c, n, 96));
}

N_NIMCALL(void, pragmaunroll_313780)(tcontext291021* c, tnode226816* n) {
	{
		if (!((*(*c).P).Nestedloopcounter <= 0)) goto LA3;
		invalidpragma_311088(n);
	}
	goto LA1;
	LA3: ;
	{
		NI unrollfactor;
		if (!((*n).Kind == ((NU8) 34))) goto LA6;
		unrollfactor = expectintlit_311742(c, n);
		{
			if (!((NU32)(unrollfactor) < (NU32)(32))) goto LA10;
			asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[1]), newintnode_227096(((NU8) 6), ((NI64) (unrollfactor))));
		}
		goto LA8;
		LA10: ;
		{
			invalidpragma_311088(n);
		}
		LA8: ;
	}
	goto LA1;
	LA6: ;
	LA1: ;
}

N_NIMCALL(void, pragmaline_313823)(tcontext291021* c, tnode226816* n) {
	{
		tnode226816* 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];
		{
			tnode226816* x;
			tnode226816* 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_198955((*n).Info, ((NU16) 6), ((NimStringDesc*) &TMP2927));
			}
			goto LA17;
			LA19: ;
			{
				if (!!(((*y).Kind == ((NU8) 6)))) goto LA22;
				localerror_198955((*n).Info, ((NU16) 7), ((NimStringDesc*) &TMP2927));
			}
			goto LA17;
			LA22: ;
			{
				(*n).Info.Fileindex = fileinfoidx_196747((*x).kindU.S3.Strval);
				(*n).Info.Line = ((NI16) ((*y).kindU.S1.Intval));
			}
			LA17: ;
		}
		goto LA5;
		LA7: ;
		{
			localerror_198955((*n).Info, ((NU16) 188), ((NimStringDesc*) &TMP2989));
		}
		LA5: ;
	}
	goto LA1;
	LA3: ;
	{
		(*n).Info = getinfocontext_197992(-1);
	}
	LA1: ;
}

N_NIMCALL(void, processexc_314173)(tcontext291021* c, tnode226816* x) {
	ttype226852* t;
	ttype226852* LOC1;
	LOC1 = 0;
	LOC1 = (*c).Semtypenode(c, x, NIM_NIL);
	t = skiptypes_231245(LOC1, IL64(211106247215360));
	{
		if (!!(((*t).Kind == ((NU8) 17)))) goto LA4;
		localerror_198955((*x).Info, ((NU16) 4), ((NimStringDesc*) &TMP2990));
	}
	LA4: ;
	asgnRefNoCycle((void**) (&(*x).Typ), t);
}

N_NIMCALL(void, pragmaraisesortags_314169)(tcontext291021* c, tnode226816* n) {
	{
		tnode226816* 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_314173(c, it);
		}
		goto LA5;
		LA7: ;
		{
			{
				tnode226816* e_314225;
				e_314225 = 0;
				{
					NI i_314230;
					NI HEX3Atmp_314232;
					NI LOC12;
					NI res_314234;
					i_314230 = 0;
					HEX3Atmp_314232 = 0;
					LOC12 = 0;
					LOC12 = len_227364(it);
					HEX3Atmp_314232 = (LOC12 - 1);
					res_314234 = 0;
					{
						while (1) {
							if (!(res_314234 <= HEX3Atmp_314232)) goto LA14;
							i_314230 = res_314234;
							e_314225 = (*it).kindU.S6.Sons->data[i_314230];
							processexc_314173(c, e_314225);
							res_314234 += 1;
						} LA14: ;
					}
				}
			}
		}
		LA5: ;
	}
	goto LA1;
	LA3: ;
	{
		invalidpragma_311088(n);
	}
	LA1: ;
}

N_NIMCALL(void, pragmalockstmt_314256)(tcontext291021* c, tnode226816* it) {
	{
		if (!!(((*it).Kind == ((NU8) 34)))) goto LA3;
		invalidpragma_311088(it);
	}
	goto LA1;
	LA3: ;
	{
		tnode226816* n;
		n = HEX5BHEX5D_227698(it, 1);
		{
			if (!!(((*n).Kind == ((NU8) 41)))) goto LA8;
			localerror_198955((*n).Info, ((NU16) 4), ((NimStringDesc*) &TMP2991));
		}
		goto LA6;
		LA8: ;
		{
			{
				NI i_314300;
				NI HEX3Atmp_314330;
				NI LOC12;
				NI res_314333;
				i_314300 = 0;
				HEX3Atmp_314330 = 0;
				LOC12 = 0;
				LOC12 = len_227364(n);
				HEX3Atmp_314330 = (LOC12 - 1);
				res_314333 = 0;
				{
					while (1) {
						if (!(res_314333 <= HEX3Atmp_314330)) goto LA14;
						i_314300 = res_314333;
						asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[i_314300]), (*c).Semexpr(c, (*n).kindU.S6.Sons->data[i_314300], 0));
						res_314333 += 1;
					} LA14: ;
				}
			}
		}
		LA6: ;
	}
	LA1: ;
}

N_NIMCALL(NI16, pragmalocks_314350)(tcontext291021* c, tnode226816* it) {
	NI16 result;
	result = 0;
	{
		if (!!(((*it).Kind == ((NU8) 34)))) goto LA3;
		invalidpragma_311088(it);
	}
	goto LA1;
	LA3: ;
	{
		{
			tnode226816* LOC8;
			NI x;
			LOC8 = 0;
			LOC8 = HEX5BHEX5D_227698(it, 1);
			if (!!(((*LOC8).Kind == ((NU8) 23)))) goto LA9;
			x = expectintlit_311742(c, it);
			{
				NIM_BOOL LOC13;
				tnode226816* LOC17;
				LOC13 = 0;
				LOC13 = (x < 0);
				if (LOC13) goto LA14;
				LOC13 = (1000 < x);
				LA14: ;
				if (!LOC13) goto LA15;
				LOC17 = 0;
				LOC17 = HEX5BHEX5D_227698(it, 1);
				localerror_198966((*LOC17).Info, ((NimStringDesc*) &TMP2992));
			}
			goto LA11;
			LA15: ;
			{
				result = ((NI16) (x));
			}
			LA11: ;
		}
		LA9: ;
	}
	LA1: ;
	return result;
}

N_NIMCALL(tsym226846*, pragmaguard_314570)(tcontext291021* c, tnode226816* it, NU8 kind) {
	tsym226846* result;
	tnode226816* n;
	result = 0;
	{
		if (!!(((*it).Kind == ((NU8) 34)))) goto LA3;
		invalidpragma_311088(it);
		goto BeforeRet;
	}
	LA3: ;
	n = HEX5BHEX5D_227698(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_297122(c, n, 0);
		{
			NIM_BOOL LOC14;
			NIM_BOOL LOC15;
			tident201021* 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_296010(n);
			result = newsym_227074(((NU8) 0), LOC20, NIM_NIL, (*n).Info);
		}
		LA18: ;
	}
	goto LA5;
	LA10: ;
	{
		result = qualifiedlookup_297122(c, n, 2);
	}
	LA5: ;
	BeforeRet: ;
	return result;
}

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

N_NIMCALL(NIM_BOOL, singlepragma_314664)(tcontext291021* c, tsym226846* sym, tnode226816* n, NI i, tspecialwords205012 validpragmas) {
	NIM_BOOL result;
	tnode226816* it;
	tnode226816* 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: ;
	{
		tsym226846* userpragma;
		if (!((*key).Kind == ((NU8) 2))) goto LA8;
		userpragma = strtableget_236111((*c).Userpragmas, (*key).kindU.S5.Ident);
		{
			if (!!((userpragma == NIM_NIL))) goto LA12;
			(*c).Instcounter += 1;
			{
				if (!(100 < (*c).Instcounter)) goto LA16;
				globalerror_198934((*it).Info, ((NU16) 25), (*(*userpragma).Name).S);
			}
			LA16: ;
			pragma_311079(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_205382((*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_311832(c, it, ((NimStringDesc*) &TMP2928));
					makeexternexport_311382(sym, LOC24, (*it).Info);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 0))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 90):
				{
					NimStringDesc* LOC26;
					LOC26 = 0;
					LOC26 = getoptionalstr_311832(c, it, ((NimStringDesc*) &TMP2928));
					makeexternimport_311315(sym, LOC26);
				}
				break;
				case ((NU8) 89):
				{
					NimStringDesc* LOC28;
					LOC28 = 0;
					LOC28 = getoptionalstr_311832(c, it, ((NimStringDesc*) &TMP2928));
					processimportcompilerproc_311409(sym, LOC28);
				}
				break;
				case ((NU8) 203):
				{
					NimStringDesc* LOC30;
					LOC30 = 0;
					LOC30 = expectstrlit_311717(c, it);
					setexternname_311280(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_311088(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_311088(it);
					}
					LA38: ;
				}
				break;
				case ((NU8) 87):
				{
					NimStringDesc* LOC44;
					LOC44 = 0;
					LOC44 = getoptionalstr_311832(c, it, ((NimStringDesc*) &TMP2928));
					processimportcpp_311467(sym, LOC44);
				}
				break;
				case ((NU8) 88):
				{
					NimStringDesc* LOC46;
					LOC46 = 0;
					LOC46 = getoptionalstr_311832(c, it, ((NimStringDesc*) &TMP2928));
					processimportobjc_311542(sym, LOC46);
				}
				break;
				case ((NU8) 94):
				{
					NI align;
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA50;
						invalidpragma_311088(it);
					}
					LA50: ;
					align = expectintlit_311742(c, it);
					{
						NIM_BOOL LOC54;
						NIM_BOOL LOC55;
						NIM_BOOL LOC56;
						LOC54 = 0;
						LOC55 = 0;
						LOC56 = 0;
						LOC56 = ispoweroftwo_147518(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_198955((*it).Info, ((NU16) 98), ((NimStringDesc*) &TMP2927));
					}
					goto LA52;
					LA59: ;
					{
						(*(*sym).Typ).Align = ((NI16) (align));
					}
					LA52: ;
				}
				break;
				case ((NU8) 155):
				{
					NI size;
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA65;
						invalidpragma_311088(it);
					}
					LA65: ;
					size = expectintlit_311742(c, it);
					{
						NIM_BOOL LOC69;
						NIM_BOOL LOC70;
						NIM_BOOL LOC71;
						LOC69 = 0;
						LOC70 = 0;
						LOC71 = 0;
						LOC71 = ispoweroftwo_147518(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_198955((*it).Info, ((NU16) 98), ((NimStringDesc*) &TMP2927));
					}
					goto LA67;
					LA74: ;
					{
						(*(*sym).Typ).Size = ((NI64) (size));
					}
					LA67: ;
				}
				break;
				case ((NU8) 95):
				{
					noval_313762(it);
					(*sym).Loc.Flags |= ((NI8)1)<<((((NU8) 3))%(sizeof(NI8)*8));
				}
				break;
				case ((NU8) 96):
				case ((NU8) 185):
				{
					noval_313762(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_311088(it);
						}
						goto LA83;
						LA87: ;
						{
							(*sym).Flags |= ((NI32)1)<<((((NU8) 9))%(sizeof(NI32)*8));
						}
						LA83: ;
					}
					LA81: ;
				}
				break;
				case ((NU8) 236):
				{
					noval_313762(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 7))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 217):
				{
					noval_313762(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 8))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 183):
				{
					noval_313762(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 22))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 158):
				{
					pragmadeadcodeelim_312172(c, it);
				}
				break;
				case ((NU8) 160):
				{
					pragmanoforward_312214(c, it);
				}
				break;
				case ((NU8) 77):
				{
					processmagic_311864(c, it, sym);
				}
				break;
				case ((NU8) 162):
				{
					noval_313762(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_313762(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 3))%(sizeof(NI32)*8));
					(*sym).Flags |= ((NI32)1)<<((((NU8) 9))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 102):
				{
					noval_313762(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 24))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 98):
				{
					tlib226834* lib;
					tnode226816* LOC100;
					LOC100 = 0;
					LOC100 = getstrlitnode_311641(c, it);
					lib = getlib_312327(c, ((NU8) 0), LOC100);
					addtolib_291193(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_178076((*(*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*) &TMP2929)))) goto LA109;
						localerror_198955((*n).Info, ((NU16) 4), ((NimStringDesc*) &TMP2930));
					}
					LA109: ;
				}
				break;
				case ((NU8) 86):
				{
					(*sym).Flags |= ((NI32)1)<<((((NU8) 30))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 99):
				{
					noval_313762(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_313762(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 11))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 101):
				{
					noval_313762(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 14))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 104):
				{
					processdynlib_312513(c, it, sym);
				}
				break;
				case ((NU8) 105):
				{
					noval_313762(it);
					{
						if (!!((((*sym).Flags &(1<<((((NU8) 2))&31)))!=0))) goto LA123;
						markcompilerproc_314441(sym);
					}
					LA123: ;
				}
				break;
				case ((NU8) 106):
				{
					noval_313762(it);
					(*sym).Flags |= ((NI32)1)<<((((NU8) 17))%(sizeof(NI32)*8));
				}
				break;
				case ((NU8) 122):
				{
					{
						if (!((*it).Kind == ((NU8) 34))) goto LA129;
						deprecatedstmt_314482(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_313762(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA138;
						invalidpragma_311088(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_314382(sym, it);
					}
					goto LA142;
					LA144: ;
					{
						noval_313762(it);
						(*sym).Flags |= ((NI32)1)<<((((NU8) 26))%(sizeof(NI32)*8));
					}
					LA142: ;
				}
				break;
				case ((NU8) 79):
				{
					noval_313762(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA150;
						invalidpragma_311088(it);
					}
					goto LA148;
					LA150: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 2))%(sizeof(NI32)*8));
					}
					LA148: ;
				}
				break;
				case ((NU8) 182):
				{
					noval_313762(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_311088(it);
					}
					goto LA154;
					LA158: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 3))%(sizeof(NI32)*8));
					}
					LA154: ;
				}
				break;
				case ((NU8) 171):
				{
					noval_313762(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA164;
						invalidpragma_311088(it);
					}
					goto LA162;
					LA164: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 4))%(sizeof(NI32)*8));
					}
					LA162: ;
				}
				break;
				case ((NU8) 172):
				{
					noval_313762(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA170;
						invalidpragma_311088(it);
					}
					goto LA168;
					LA170: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 6))%(sizeof(NI32)*8));
					}
					LA168: ;
				}
				break;
				case ((NU8) 78):
				{
					noval_313762(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_170118 &(1<<((((NU8) 27))&31)))!=0)) goto LA181;
						noval_313762(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_311088(it);
						}
						LA187: ;
					}
					LA181: ;
				}
				break;
				case ((NU8) 232):
				{
					noval_313762(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA195;
						invalidpragma_311088(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_311717(c, it);
					message_198976((*it).Info, ((NU16) 275), LOC199);
				}
				break;
				case ((NU8) 109):
				{
					NimStringDesc* LOC201;
					LOC201 = 0;
					LOC201 = expectstrlit_311717(c, it);
					message_198976((*it).Info, ((NU16) 258), LOC201);
				}
				break;
				case ((NU8) 108):
				{
					{
						NIM_BOOL LOC205;
						LOC205 = 0;
						LOC205 = !((sym == NIM_NIL));
						if (!(LOC205)) goto LA206;
						LOC205 = isroutine_233780(sym);
						LA206: ;
						if (!LOC205) goto LA207;
						noval_313762(it);
						(*sym).Flags |= ((NI32)1)<<((((NU8) 20))%(sizeof(NI32)*8));
					}
					goto LA203;
					LA207: ;
					{
						NimStringDesc* LOC210;
						LOC210 = 0;
						LOC210 = expectstrlit_311717(c, it);
						localerror_198955((*it).Info, ((NU16) 229), LOC210);
					}
					LA203: ;
				}
				break;
				case ((NU8) 107):
				{
					NimStringDesc* LOC212;
					LOC212 = 0;
					LOC212 = expectstrlit_311717(c, it);
					fatal_198923((*it).Info, ((NU16) 229), LOC212);
				}
				break;
				case ((NU8) 114):
				{
					processdefine_313379(c, it);
				}
				break;
				case ((NU8) 115):
				{
					processundef_313449(c, it);
				}
				break;
				case ((NU8) 120):
				{
					processcompile_313526(c, it);
				}
				break;
				case ((NU8) 119):
				{
					processcommonlink_313539(c, it, ((NU8) 0));
				}
				break;
				case ((NU8) 121):
				{
					processcommonlink_313539(c, it, ((NU8) 1));
				}
				break;
				case ((NU8) 165):
				{
					NimStringDesc* LOC219;
					LOC219 = 0;
					LOC219 = expectstrlit_311717(c, it);
					addlinkoption_203798(LOC219);
				}
				break;
				case ((NU8) 164):
				{
					NimStringDesc* LOC221;
					LOC221 = 0;
					LOC221 = expectstrlit_311717(c, it);
					addcompileoption_203809(LOC221);
				}
				break;
				case ((NU8) 125):
				{
					pragmabreakpoint_313552(c, it);
				}
				break;
				case ((NU8) 169):
				{
					pragmawatchpoint_313585(c, it);
				}
				break;
				case ((NU8) 112):
				{
					processpush_313264(c, n, (NI32)(i + 1));
					result = NIM_TRUE;
				}
				break;
				case ((NU8) 113):
				{
					processpop_313368(c, it);
				}
				break;
				case ((NU8) 161):
				{
					processpragma_314016(c, n, i);
					result = NIM_TRUE;
				}
				break;
				case ((NU8) 167):
				{
					noval_313762(it);
					{
						if (!!((sym == NIM_NIL))) goto LA230;
						(*sym).Flags |= ((NI32)1)<<((((NU8) 29))%(sizeof(NI32)*8));
					}
					LA230: ;
				}
				break;
				case ((NU8) 163):
				{
					noval_313762(it);
					{
						if (!!((sym == NIM_NIL))) goto LA235;
						(*sym).Flags |= ((NI32)1)<<((((NU8) 12))%(sizeof(NI32)*8));
					}
					LA235: ;
				}
				break;
				case ((NU8) 188):
				{
					processcodegendecl_311853(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_313002(c, it);
						if (!LOC241) goto LA242;
						localerror_198955((*it).Info, ((NU16) 149), ((NimStringDesc*) &TMP2927));
					}
					LA242: ;
				}
				break;
				case ((NU8) 127) ... ((NU8) 136):
				{
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA247;
						invalidpragma_311088(it);
					}
					goto LA245;
					LA247: ;
					{
						(*(*sym).Typ).Callconv = wordtocallconv_312018(k);
					}
					LA245: ;
				}
				break;
				case ((NU8) 184):
				{
					pragmaemit_313738(c, it);
				}
				break;
				case ((NU8) 173):
				{
					pragmaunroll_313780(c, it);
				}
				break;
				case ((NU8) 174):
				case ((NU8) 175):
				{
					noval_313762(it);
				}
				break;
				case ((NU8) 156):
				{
					noval_313762(it);
				}
				break;
				case ((NU8) 92):
				{
					noval_313762(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA257;
						invalidpragma_311088(it);
					}
					goto LA255;
					LA257: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 0))%(sizeof(NI32)*8));
					}
					LA255: ;
				}
				break;
				case ((NU8) 189):
				{
					noval_313762(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA263;
						invalidpragma_311088(it);
					}
					goto LA261;
					LA263: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 0))%(sizeof(NI32)*8));
					}
					LA261: ;
				}
				break;
				case ((NU8) 231):
				{
					noval_313762(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA269;
						invalidpragma_311088(it);
					}
					goto LA267;
					LA269: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 1))%(sizeof(NI32)*8));
					}
					LA267: ;
				}
				break;
				case ((NU8) 93):
				{
					noval_313762(it);
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA275;
						invalidpragma_311088(it);
					}
					goto LA273;
					LA275: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 17))%(sizeof(NI32)*8));
					}
					LA273: ;
				}
				break;
				case ((NU8) 253):
				{
					noval_313762(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_313002(c, it);
							if (!LOC287) goto LA288;
							localerror_198955((*it).Info, ((NU16) 149), ((NimStringDesc*) &TMP2927));
						}
						LA288: ;
					}
					goto LA279;
					LA283: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 13))%(sizeof(NI32)*8));
					}
					LA279: ;
				}
				break;
				case ((NU8) 252):
				{
					noval_313762(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_311088(it);
					}
					goto LA292;
					LA296: ;
					{
						(*(*sym).Typ).Flags |= ((NI32)1)<<((((NU8) 12))%(sizeof(NI32)*8));
					}
					LA292: ;
				}
				break;
				case ((NU8) 180):
				case ((NU8) 179):
				{
					noval_313762(it);
					{
						if (!(sym == NIM_NIL)) goto LA302;
						invalidpragma_311088(it);
					}
					LA302: ;
				}
				break;
				case ((NU8) 111):
				{
					pragmaline_313823(c, it);
				}
				break;
				case ((NU8) 152):
				case ((NU8) 157):
				{
					pragmaraisesortags_314169(c, it);
				}
				break;
				case ((NU8) 191):
				{
					{
						if (!(sym == NIM_NIL)) goto LA309;
						pragmalockstmt_314256(c, it);
					}
					goto LA307;
					LA309: ;
					{
						if (!((*sym).Typ == NIM_NIL)) goto LA312;
						invalidpragma_311088(it);
					}
					goto LA307;
					LA312: ;
					{
						(*(*sym).Typ).Locklevel = pragmalocks_314350(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_311088(it);
					}
					goto LA316;
					LA320: ;
					{
						asgnRefNoCycle((void**) (&(*sym).kindU.S4.Guard), pragmaguard_314570(c, it, (*sym).Kind));
					}
					LA316: ;
				}
				break;
				case ((NU8) 176):
				{
					{
						if (!!(((*it).Kind == ((NU8) 34)))) goto LA326;
						localerror_198955((*it).Info, ((NU16) 60), ((NimStringDesc*) &TMP2927));
					}
					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_313762(it);
					{
						NIM_BOOL LOC332;
						LOC332 = 0;
						LOC332 = istoplevel_292437(c);
						if (!LOC332) goto LA333;
						(*(*c).Module).Flags |= ((NI32)1)<<((((NU8) 30))%(sizeof(NI32)*8));
					}
					goto LA330;
					LA333: ;
					{
						localerror_198966((*it).Info, ((NimStringDesc*) &TMP2993));
					}
					LA330: ;
				}
				break;
				default:
				{
					invalidpragma_311088(it);
				}
				break;
				}
			}
			goto LA19;
			LA21: ;
			{
				invalidpragma_311088(it);
			}
			LA19: ;
		}
		LA10: ;
	}
	goto LA6;
	LA8: ;
	{
		processnote_312631(c, it);
	}
	LA6: ;
	return result;
}

N_NIMCALL(void, pragmarec_317076)(tcontext291021* c, tsym226846* sym, tnode226816* n, tspecialwords205012 validpragmas) {
	{
		if (!(n == NIM_NIL)) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	{
		NI i_317111;
		NI HEX3Atmp_317150;
		NI LOC6;
		NI res_317153;
		i_317111 = 0;
		HEX3Atmp_317150 = 0;
		LOC6 = 0;
		LOC6 = sonslen_227249(n);
		HEX3Atmp_317150 = (NI32)(LOC6 - 1);
		res_317153 = 0;
		{
			while (1) {
				if (!(res_317153 <= HEX3Atmp_317150)) goto LA8;
				i_317111 = res_317153;
				{
					if (!((*(*n).kindU.S6.Sons->data[i_317111]).Kind == ((NU8) 90))) goto LA11;
					pragmarec_317076(c, sym, (*n).kindU.S6.Sons->data[i_317111], validpragmas);
				}
				goto LA9;
				LA11: ;
				{
					NIM_BOOL LOC14;
					LOC14 = 0;
					LOC14 = singlepragma_314664(c, sym, n, i_317111, validpragmas);
					if (!LOC14) goto LA15;
					goto LA5;
				}
				goto LA9;
				LA15: ;
				LA9: ;
				res_317153 += 1;
			} LA8: ;
		}
	} LA5: ;
	BeforeRet: ;
}

N_NIMCALL(void, implicitpragmas_316398)(tcontext291021* c, tsym226846* sym, tnode226816* n, tspecialwords205012 validpragmas) {
	{
		NIM_BOOL LOC3;
		toptionentry291005* it;
		tlib226834* lib;
		LOC3 = 0;
		LOC3 = !((sym == NIM_NIL));
		if (!(LOC3)) goto LA4;
		LOC3 = !(((*sym).Kind == ((NU8) 6)));
		LA4: ;
		if (!LOC3) goto LA5;
		it = ((toptionentry291005*) ((*c).Optionstack.Head));
		{
			while (1) {
				tnode226816* o;
				if (!!((it == NIM_NIL))) goto LA8;
				o = (*it).Otherpragmas;
				{
					if (!!(o == 0)) goto LA11;
					{
						NI i_316472;
						NI HEX3Atmp_316602;
						NI LOC14;
						NI res_316605;
						i_316472 = 0;
						HEX3Atmp_316602 = 0;
						LOC14 = 0;
						LOC14 = sonslen_227249(o);
						HEX3Atmp_316602 = (NI32)(LOC14 - 1);
						res_316605 = 0;
						{
							while (1) {
								if (!(res_316605 <= HEX3Atmp_316602)) goto LA16;
								i_316472 = res_316605;
								{
									NIM_BOOL LOC19;
									LOC19 = 0;
									LOC19 = singlepragma_314664(c, sym, o, i_316472, validpragmas);
									if (!LOC19) goto LA20;
									internalerror_198987((*n).Info, ((NimStringDesc*) &TMP2994));
								}
								LA20: ;
								res_316605 += 1;
							} LA16: ;
						}
					}
				}
				LA11: ;
				it = ((toptionentry291005*) ((*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_198955((*n).Info, ((NU16) 79), ((NimStringDesc*) &TMP2927));
		}
		LA26: ;
		lib = (*((toptionentry291005*) ((*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_291193(lib, sym);
			{
				if (!((*sym).Loc.R == NIM_NIL)) goto LA38;
				asgnRefNoCycle((void**) (&(*sym).Loc.R), torope_178076((*(*sym).Name).S));
			}
			LA38: ;
		}
		LA34: ;
	}
	LA5: ;
}

N_NIMCALL(void, pragma_311079)(tcontext291021* c, tsym226846* sym, tnode226816* n, tspecialwords205012 validpragmas) {
	{
		if (!(n == NIM_NIL)) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	pragmarec_317076(c, sym, n, validpragmas);
	implicitpragmas_316398(c, sym, n, validpragmas);
	BeforeRet: ;
}

N_NIMCALL(NIM_BOOL, haspragma_316628)(tnode226816* n, NU8 pragma) {
	NIM_BOOL result;
	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = (n == NIM_NIL);
		if (LOC3) goto LA4;
		LOC3 = HEX3DHEX3D_316667((*n).kindU.S6.Sons, NIM_NIL);
		LA4: ;
		if (!LOC3) goto LA5;
		result = NIM_FALSE;
		goto BeforeRet;
	}
	LA5: ;
	{
		tnode226816* p_317011;
		tnodeseq226810* HEX3Atmp_317055;
		NI i_317058;
		NI l_317060;
		p_317011 = 0;
		HEX3Atmp_317055 = 0;
		HEX3Atmp_317055 = (*n).kindU.S6.Sons;
		i_317058 = 0;
		l_317060 = HEX3Atmp_317055->Sup.len;
		{
			while (1) {
				tnode226816* key;
				if (!(i_317058 < l_317060)) goto LA9;
				p_317011 = HEX3Atmp_317055->data[i_317058];
				{
					if (!((*p_317011).Kind == ((NU8) 34))) goto LA12;
					key = HEX5BHEX5D_227698(p_317011, 0);
				}
				goto LA10;
				LA12: ;
				{
					key = p_317011;
				}
				LA10: ;
				{
					NIM_BOOL LOC17;
					NU8 LOC19;
					LOC17 = 0;
					LOC17 = ((*key).Kind == ((NU8) 2));
					if (!(LOC17)) goto LA18;
					LOC19 = 0;
					LOC19 = whichkeyword_205382((*key).kindU.S5.Ident);
					LOC17 = (LOC19 == pragma);
					LA18: ;
					if (!LOC17) goto LA20;
					result = NIM_TRUE;
					goto BeforeRet;
				}
				LA20: ;
				i_317058 += 1;
			} LA9: ;
		}
	}
	result = NIM_FALSE;
	goto BeforeRet;
	BeforeRet: ;
	return result;
}

N_NIMCALL(NIM_CHAR, pragmaasm_311098)(tcontext291021* c, tnode226816* n) {
	NIM_CHAR result;
	result = 0;
	result = 0;
	{
		if (!!((n == NIM_NIL))) goto LA3;
		{
			NI i_311132;
			NI HEX3Atmp_311260;
			NI LOC6;
			NI res_311263;
			i_311132 = 0;
			HEX3Atmp_311260 = 0;
			LOC6 = 0;
			LOC6 = sonslen_227249(n);
			HEX3Atmp_311260 = (NI32)(LOC6 - 1);
			res_311263 = 0;
			{
				while (1) {
					tnode226816* it;
					if (!(res_311263 <= HEX3Atmp_311260)) goto LA8;
					i_311132 = res_311263;
					it = (*n).kindU.S6.Sons->data[i_311132];
					{
						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_205382((*(*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_311088(it);
							}
							LA17: ;
						}
						break;
						default:
						{
							invalidpragma_311088(it);
						}
						break;
						}
					}
					goto LA9;
					LA13: ;
					{
						invalidpragma_311088(it);
					}
					LA9: ;
					res_311263 += 1;
				} LA8: ;
			}
		}
	}
	LA3: ;
	return result;
}
NIM_EXTERNC N_NOINLINE(void, HEX00_pragmasInit)(void) {
}

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

