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

#include "nimbase.h"
#include <string.h>
typedef struct Tcontext280023 Tcontext280023;
typedef struct Tsym225841 Tsym225841;
typedef struct Tnode225809 Tnode225809;
typedef struct Ttype225847 Ttype225847;
typedef struct Tlineinfo190352 Tlineinfo190352;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct Tident198021 Tident198021;
typedef struct Tnodeseq225803 Tnodeseq225803;
typedef struct Tidobj198015 Tidobj198015;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Tpasscontext277005 Tpasscontext277005;
typedef struct Tscope225835 Tscope225835;
typedef struct Tproccon280011 Tproccon280011;
typedef struct Tsymseq225811 Tsymseq225811;
typedef struct Intset222056 Intset222056;
typedef struct Trunk222052 Trunk222052;
typedef struct Trunkseq222054 Trunkseq222054;
typedef struct Tlinkedlist140028 Tlinkedlist140028;
typedef struct Tlistentry140022 Tlistentry140022;
typedef struct Tidtable225859 Tidtable225859;
typedef struct Tidpairseq225857 Tidpairseq225857;
typedef struct Tstrtable225813 Tstrtable225813;
typedef struct Tctx279048 Tctx279048;
typedef struct TY280143 TY280143;
typedef struct Cell48947 Cell48947;
typedef struct Cellseq48963 Cellseq48963;
typedef struct Gcheap51018 Gcheap51018;
typedef struct Gcstack51016 Gcstack51016;
typedef struct Cellset48959 Cellset48959;
typedef struct Pagedesc48955 Pagedesc48955;
typedef struct Memregion30891 Memregion30891;
typedef struct Smallchunk30843 Smallchunk30843;
typedef struct Llchunk30885 Llchunk30885;
typedef struct Bigchunk30845 Bigchunk30845;
typedef struct Intset30817 Intset30817;
typedef struct Trunk30813 Trunk30813;
typedef struct Avlnode30889 Avlnode30889;
typedef struct Gcstat51014 Gcstat51014;
typedef struct Ttypeseq225843 Ttypeseq225843;
typedef struct TY225944 TY225944;
typedef struct Tloc225823 Tloc225823;
typedef struct Ropeobj176009 Ropeobj176009;
typedef struct Tlib225827 Tlib225827;
typedef struct Toptionentry280005 Toptionentry280005;
typedef struct TY123809 TY123809;
typedef struct Tinfocc203011 Tinfocc203011;
typedef struct Tidpair225855 Tidpair225855;
typedef struct TY279254 TY279254;
typedef struct TY191417 TY191417;
typedef struct PprocHEX3Aobjecttype279233 PprocHEX3Aobjecttype279233;
typedef struct TY279273 TY279273;
typedef struct Tinstantiationpair280013 Tinstantiationpair280013;
typedef struct Tinstantiation225831 Tinstantiation225831;
typedef struct Basechunk30841 Basechunk30841;
typedef struct Freecell30833 Freecell30833;
typedef struct TY279234 TY279234;
typedef struct TY279239 TY279239;
typedef struct TY279274 TY279274;
typedef struct Vmargs279042 Vmargs279042;
typedef struct TY225932 TY225932;
typedef struct Tblock279030 Tblock279030;
typedef struct TY279214 TY279214;
typedef NU8 Tspecialwords206012[33];
struct  Tlineinfo190352  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tnode225809  {
Ttype225847* typ;
Tlineinfo190352 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym225841* sym;
} S4;
struct {Tident198021* ident;
} S5;
struct {Tnodeseq225803* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
typedef NimStringDesc* TY190317[23];
typedef N_NIMCALL_PTR(void, TY3889) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3894) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3889 marker;
TY3894 deepcopy;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  Tidobj198015  {
  TNimObject Sup;
NI id;
};
struct  Tident198021  {
  Tidobj198015 Sup;
NimStringDesc* s;
Tident198021* next;
NI h;
};
typedef NimStringDesc* TY190311[31];
struct  Tpasscontext277005  {
  TNimObject Sup;
NIM_BOOL fromcache;
};
struct  Intset222056  {
NI counter;
NI max;
Trunk222052* head;
Trunkseq222054* data;
};
struct  Tlinkedlist140028  {
Tlistentry140022* head;
Tlistentry140022* tail;
NI counter;
};
struct  Tidtable225859  {
NI counter;
Tidpairseq225857* data;
};
typedef N_NIMCALL_PTR(Tnode225809*, TY280074) (Tcontext280023* c, Tnode225809* n);
typedef N_NIMCALL_PTR(Tnode225809*, TY280079) (Tcontext280023* c, Tnode225809* n, NU16 flags);
typedef N_NIMCALL_PTR(Tnode225809*, TY280087) (Tcontext280023* c, Tnode225809* n, NU16 flags);
typedef N_NIMCALL_PTR(Tnode225809*, TY280095) (Tcontext280023* c, Tnode225809* n);
typedef N_NIMCALL_PTR(Tnode225809*, TY280100) (Tcontext280023* c, Tnode225809* n, NU16 flags);
typedef N_NIMCALL_PTR(Tnode225809*, TY280108) (Tcontext280023* c, Tnode225809* n);
typedef N_NIMCALL_PTR(Tnode225809*, TY280113) (Tcontext280023* c, Tnode225809* n, Tnode225809* norig, NU32 filter);
typedef N_NIMCALL_PTR(Ttype225847*, TY280120) (Tcontext280023* c, Tnode225809* n, Ttype225847* prev);
typedef struct {
N_NIMCALL_PTR(Tnode225809*, ClPrc) (Tcontext280023* c, Tidtable225859 pt, Tnode225809* n, void* ClEnv);
void* ClEnv;
} TY280126;
typedef struct {
N_NIMCALL_PTR(Tsym225841*, ClPrc) (Tcontext280023* c, Tsym225841* fn, Tidtable225859 pt, Tlineinfo190352 info, void* ClEnv);
void* ClEnv;
} TY280132;
struct  Tstrtable225813  {
NI counter;
Tsymseq225811* data;
};
typedef N_NIMCALL_PTR(Tsym225841*, TY280148) (Tcontext280023* c, Tsym225841* dc, Ttype225847* t, Tlineinfo190352 info, NU8 op);
struct  Tcontext280023  {
  Tpasscontext277005 Sup;
Tsym225841* module;
Tscope225835* currentscope;
Tscope225835* importtable;
Tscope225835* toplevelscope;
Tproccon280011* p;
Tsymseq225811* friendmodules;
NI instcounter;
Intset222056 ambiguoussymbols;
NI intypeclass;
NI ingenericcontext;
NI inunrolledcontext;
NI compilescontextid;
NI compilescontextidgenerator;
NI ingenericinst;
Tsymseq225811* converters;
Tsymseq225811* patterns;
Tlinkedlist140028 optionstack;
Tidtable225859 symmapping;
Tlinkedlist140028 libs;
TY280074 semconstexpr;
TY280079 semexpr;
TY280087 semtryexpr;
TY280095 semtryconstexpr;
TY280100 semoperand;
TY280108 semconstboolexpr;
TY280113 semoverloadedcall;
TY280120 semtypenode;
TY280126 seminferredlambda;
TY280132 semgenerateinstance;
Intset222056 includedfiles;
Tstrtable225813 userpragmas;
Tctx279048* evalcontext;
Intset222056 unknownidents;
TY280143* generics;
NI lastgenericidx;
NI hloloopdetector;
NI inparallelstmt;
TY280148 insttypeboundop;
};
struct  Cell48947  {
NI refcount;
TNimType* typ;
};
struct  Cellseq48963  {
NI len;
NI cap;
Cell48947** d;
};
struct  Cellset48959  {
NI counter;
NI max;
Pagedesc48955* head;
Pagedesc48955** data;
};
typedef Smallchunk30843* TY30906[512];
typedef Trunk30813* Trunkbuckets30815[256];
struct  Intset30817  {
Trunkbuckets30815 data;
};
struct  Memregion30891  {
NI minlargeobj;
NI maxlargeobj;
TY30906 freesmallchunks;
Llchunk30885* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk30845* freechunkslist;
Intset30817 chunkstarts;
Avlnode30889* root;
Avlnode30889* deleted;
Avlnode30889* last;
Avlnode30889* freeavlnodes;
};
struct  Gcstat51014  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Gcheap51018  {
Gcstack51016* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq48963 zct;
Cellseq48963 decstack;
Cellset48959 cycleroots;
Cellseq48963 tempstack;
NI recgclock;
Memregion30891 region;
Gcstat51014 stat;
};
struct  Tloc225823  {
NU8 k;
NU8 s;
NU16 flags;
Ttype225847* t;
Ropeobj176009* r;
Ropeobj176009* heaproot;
};
struct  Tsym225841  {
  Tidobj198015 Sup;
NU8 kind;
union{
struct {Ttypeseq225843* typeinstcache;
Tscope225835* typscope;
} S1;
struct {TY225944* procinstcache;
Tsym225841* gcunsafetyreason;
} S2;
struct {TY225944* usedgenerics;
Tstrtable225813 tab;
} S3;
struct {Tsym225841* guard;
NI bitsize;
} S4;
} kindU;
NU8 magic;
Ttype225847* typ;
Tident198021* name;
Tlineinfo190352 info;
Tsym225841* owner;
NU32 flags;
Tnode225809* ast;
NU32 options;
NI position;
NI offset;
Tloc225823 loc;
Tlib225827* annex;
Tnode225809* constraint;
};
struct  Ttype225847  {
  Tidobj198015 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq225843* sons;
Tnode225809* n;
Tsym225841* owner;
Tsym225841* sym;
Tsym225841* destructor;
Tsym225841* deepcopy;
Tsym225841* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc225823 loc;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Tlistentry140022  {
  TNimObject Sup;
Tlistentry140022* prev;
Tlistentry140022* next;
};
struct  Tlib225827  {
  Tlistentry140022 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj176009* name;
Tnode225809* path;
};
struct  Toptionentry280005  {
  Tlistentry140022 Sup;
NU32 options;
NU8 defaultcc;
Tlib225827* dynlib;
NU64 notes;
Tnode225809* otherpragmas;
};
struct TY123809 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
struct Tinfocc203011 {
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 Tinfocc203011 TY203481[13];
struct  Tproccon280011  {
Tsym225841* owner;
Tsym225841* resultsym;
NI nestedloopcounter;
NI nestedblockcounter;
NI intrystmt;
Tproccon280011* next;
NIM_BOOL wasforwarded;
Tnode225809* bracketexpr;
};
struct  Tscope225835  {
NI depthlevel;
Tstrtable225813 symbols;
Tnodeseq225803* usingsyms;
Tscope225835* parent;
};
typedef NI TY30822[8];
struct  Trunk222052  {
Trunk222052* next;
NI key;
TY30822 bits;
};
struct  Tidpair225855  {
Tidobj198015* key;
TNimObject* val;
};
struct  Tctx279048  {
  Tpasscontext277005 Sup;
TY279254* code;
TY191417* debug;
Tnode225809* globals;
Tnode225809* constants;
Ttypeseq225843* types;
Tnode225809* currentexceptiona;
Tnode225809* currentexceptionb;
NI exceptioninstr;
PprocHEX3Aobjecttype279233* prc;
Tsym225841* module;
Tnode225809* callsite;
NU8 mode;
NU8 features;
NIM_BOOL traceactive;
NI loopiterations;
Tlineinfo190352 comesfromheuristic;
TY279273* callbacks;
NimStringDesc* errorflag;
};
struct  Tinstantiationpair280013  {
Tsym225841* genericsym;
Tinstantiation225831* inst;
};
struct  Gcstack51016  {
Gcstack51016* prev;
Gcstack51016* next;
void* starts;
void* pos;
NI maxstacksize;
};
struct  Pagedesc48955  {
Pagedesc48955* next;
NI key;
TY30822 bits;
};
struct  Basechunk30841  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk30843  {
  Basechunk30841 Sup;
Smallchunk30843* next;
Smallchunk30843* prev;
Freecell30833* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk30885  {
NI size;
NI acc;
Llchunk30885* next;
};
struct  Bigchunk30845  {
  Basechunk30841 Sup;
Bigchunk30845* next;
Bigchunk30845* prev;
NI align;
NF data;
};
struct  Trunk30813  {
Trunk30813* next;
NI key;
TY30822 bits;
};
typedef Avlnode30889* TY30896[2];
struct  Avlnode30889  {
TY30896 link;
NI key;
NI upperbound;
NI level;
};
struct  Ropeobj176009  {
  TNimObject Sup;
Ropeobj176009* left;
Ropeobj176009* right;
NI length;
NimStringDesc* data;
};
struct TY279239 {
NIM_BOOL Field0;
NU8 Field1;
};
typedef TY279239 TY279242[256];
struct  PprocHEX3Aobjecttype279233  {
TY279234* blocks;
Tsym225841* sym;
TY279242 slots;
NI maxslots;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (Vmargs279042* args, void* ClEnv);
void* ClEnv;
} Vmcallback279044;
struct TY279274 {
NimStringDesc* Field0;
Vmcallback279044 Field1;
};
struct  Tinstantiation225831  {
Tsym225841* sym;
Ttypeseq225843* concretetypes;
TY225932* usedby;
NI compilesid;
};
struct  Freecell30833  {
Freecell30833* next;
NI zerofield;
};
struct  Tblock279030  {
Tsym225841* label;
TY279214* fixups;
};
struct  Vmargs279042  {
NI ra;
NI rb;
NI rc;
void* slots;
Tnode225809* currentexception;
};
struct Tnodeseq225803 {
  TGenericSeq Sup;
  Tnode225809* data[SEQ_DECL_SIZE];
};
struct Tsymseq225811 {
  TGenericSeq Sup;
  Tsym225841* data[SEQ_DECL_SIZE];
};
struct Trunkseq222054 {
  TGenericSeq Sup;
  Trunk222052* data[SEQ_DECL_SIZE];
};
struct Tidpairseq225857 {
  TGenericSeq Sup;
  Tidpair225855 data[SEQ_DECL_SIZE];
};
struct TY280143 {
  TGenericSeq Sup;
  Tinstantiationpair280013 data[SEQ_DECL_SIZE];
};
struct Ttypeseq225843 {
  TGenericSeq Sup;
  Ttype225847* data[SEQ_DECL_SIZE];
};
struct TY225944 {
  TGenericSeq Sup;
  Tinstantiation225831* data[SEQ_DECL_SIZE];
};
struct TY279254 {
  TGenericSeq Sup;
  NU32 data[SEQ_DECL_SIZE];
};
struct TY191417 {
  TGenericSeq Sup;
  Tlineinfo190352 data[SEQ_DECL_SIZE];
};
struct TY279273 {
  TGenericSeq Sup;
  TY279274 data[SEQ_DECL_SIZE];
};
struct TY279234 {
  TGenericSeq Sup;
  Tblock279030 data[SEQ_DECL_SIZE];
};
struct TY225932 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct TY279214 {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
N_NIMCALL(void, pragmarec_301263)(Tcontext280023* c, Tsym225841* sym, Tnode225809* n, Tspecialwords206012 validpragmas);
N_NIMCALL(NI, sonslen_228387)(Tnode225809* n);
N_NIMCALL(NIM_BOOL, singlepragma_299406)(Tcontext280023* c, Tsym225841* sym, Tnode225809* n, NI i, Tspecialwords206012 validpragmas);
N_NIMCALL(void, processnote_298284)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(NU16, whichkeyword_206390)(Tident198021* id);
N_NIMCALL(NI, findstr_206348)(NimStringDesc** a, NI aLen0, NimStringDesc* s);
N_NIMCALL(void, invalidpragma_297091)(Tnode225809* n);
N_NIMCALL(void, localerror_196128)(Tlineinfo190352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(NimStringDesc*, rendertree_247059)(Tnode225809* n, NU8 renderflags);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
static N_INLINE(Cell48947*, usrtocell_52646)(void* usr);
static N_INLINE(void, rtladdzct_54204)(Cell48947* c);
N_NOINLINE(void, addzct_52617)(Cellseq48963* s, Cell48947* c);
N_NIMCALL(Tident198021*, considerquotedident_286010)(Tnode225809* n);
N_NIMCALL(Tsym225841*, strtableget_233111)(Tstrtable225813 t, Tident198021* name);
N_NIMCALL(void, globalerror_196107)(Tlineinfo190352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, pragma_297082)(Tcontext280023* c, Tsym225841* sym, Tnode225809* n, Tspecialwords206012 validpragmas);
N_NIMCALL(void, makeexternexport_297277)(Tsym225841* s, NimStringDesc* extname, Tlineinfo190352 info);
N_NIMCALL(void, setexternname_297190)(Tsym225841* s, NimStringDesc* extname);
N_NIMCALL(Ropeobj176009*, rope_176322)(NimStringDesc* s);
N_NIMCALL(NimStringDesc*, nsuFormatSingleElem)(NimStringDesc* formatstr, NimStringDesc* a);
N_NIMCALL(NIM_BOOL, contains_103953)(NimStringDesc* s, NIM_CHAR c);
N_NIMCALL(NimStringDesc*, getoptionalstr_297527)(Tcontext280023* c, Tnode225809* n, NimStringDesc* defaultstr);
N_NIMCALL(NimStringDesc*, expectstrlit_297489)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(Tnode225809*, getstrlitnode_297465)(Tcontext280023* c, Tnode225809* n);
N_NOINLINE(Tnode225809*, newemptystrnode_297454)(Tnode225809* n);
N_NIMCALL(Tnode225809*, newnodeit_227807)(NU8 kind, Tlineinfo190352 info, Ttype225847* typ);
N_NIMCALL(Ttype225847*, getsystype_274190)(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_297223)(Tsym225841* s, NimStringDesc* extname);
N_NIMCALL(void, processimportcompilerproc_297299)(Tsym225841* s, NimStringDesc* extname);
N_NIMCALL(void, processimportcpp_297342)(Tsym225841* s, NimStringDesc* extname);
N_NIMCALL(Tsym225841*, getmodule_233243)(Tsym225841* s);
N_NIMCALL(void, processimportobjc_297398)(Tsym225841* s, NimStringDesc* extname);
N_NIMCALL(NI, expectintlit_297501)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(NIM_BOOL, ispoweroftwo_162638)(NI x);
N_NIMCALL(void, noval_298806)(Tnode225809* n);
N_NIMCALL(void, pragmadeadcodeelim_297971)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(NIM_BOOL, isturnedon_297903)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(void, pragmanoforward_298003)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(void, processmagic_297560)(Tcontext280023* c, Tnode225809* n, Tsym225841* s);
N_NIMCALL(NimStringDesc*, copyStr)(NimStringDesc* s, NI start);
N_NIMCALL(NimStringDesc*, copyStr)(NimStringDesc* s, NI first);
N_NIMCALL(NimStringDesc*, reprEnum)(NI e_86859, TNimType* typ);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, message_196161)(Tlineinfo190352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(Tlib225827*, getlib_298067)(Tcontext280023* c, NU8 kind, Tnode225809* path);
N_NIMCALL(NIM_BOOL, exprstructuralequivalent_254149)(Tnode225809* a, Tnode225809* b, NIM_BOOL strictsymequality);
N_NIMCALL(Tlib225827*, newlib_280200)(NU8 kind);
N_NIMCALL(void, append_140053)(Tlinkedlist140028* list, Tlistentry140022* entry);
N_NIMCALL(NIM_BOOL, isdynliboverride_168681)(NimStringDesc* lib);
N_NIMCALL(void, addtolib_280206)(Tlib225827* lib, Tsym225841* sym);
N_NIMCALL(NimStringDesc*, nsuNormalize)(NimStringDesc* s);
N_NIMCALL(void, processdynlib_298186)(Tcontext280023* c, Tnode225809* n, Tsym225841* sym);
N_NIMCALL(Tnode225809*, expectdynlibnode_298121)(Tcontext280023* c, Tnode225809* n);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_55022)(Cell48947* c);
static N_INLINE(NIM_BOOL, canbecycleroot_52667)(Cell48947* c);
static N_INLINE(void, rtladdcycleroot_53423)(Cell48947* c);
N_NOINLINE(void, incl_49665)(Cellset48959* s, Cell48947* cell);
static N_INLINE(void, decref_54604)(Cell48947* c);
N_NIMCALL(void, markcompilerproc_299220)(Tsym225841* s);
N_NIMCALL(void, registercompilerproc_274866)(Tsym225841* s);
N_NIMCALL(void, deprecatedstmt_299252)(Tcontext280023* c, Tnode225809* pragma_299255);
static N_INLINE(Tnode225809*, HEX5BHEX5D_226244)(Tnode225809* n, NI i);
N_NIMCALL(void, localerror_196139)(Tlineinfo190352 info, NimStringDesc* arg);
static N_INLINE(NI, len_226098)(Tnode225809* n);
N_NIMCALL(Tsym225841*, qualifiedlookup_286864)(Tcontext280023* c, Tnode225809* n, NU8 flags);
N_NIMCALL(Tsym225841*, newsym_226655)(NU8 symkind, Tident198021* name, Tsym225841* owner, Tlineinfo190352 info);
N_NIMCALL(void, addinterfacedecl_286736)(Tcontext280023* c, Tsym225841* sym);
N_NIMCALL(void, typeborrow_299179)(Tsym225841* sym, Tnode225809* n);
static N_INLINE(NIM_BOOL, isroutine_230764)(Tsym225841* s);
N_NIMCALL(void, fatal_196096)(Tlineinfo190352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, processdefine_298611)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(void, definesymbol_199013)(NimStringDesc* symbol);
N_NIMCALL(void, processundef_298642)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(void, undefsymbol_199022)(NimStringDesc* symbol);
N_NIMCALL(void, processcompile_298680)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(NimStringDesc*, findfile_168539)(NimStringDesc* f);
N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(NIM_BOOL, nosisAbsolute)(NimStringDesc* path);
N_NIMCALL(NimStringDesc*, HEX2F_123481)(NimStringDesc* head, NimStringDesc* tail);
N_NIMCALL(NimStringDesc*, nosparentDir)(NimStringDesc* path);
N_NIMCALL(NimStringDesc*, tofullpath_191662)(NI32 fileidx);
N_NIMCALL(void, addexternalfiletocompile_204699)(NimStringDesc* filename);
N_NIMCALL(void, addfiletolink_204154)(NimStringDesc* filename);
N_NIMCALL(NimStringDesc*, completecfilepath_204112)(NimStringDesc* cfile, NIM_BOOL createsubdir);
N_NIMCALL(void, processcommonlink_298693)(Tcontext280023* c, Tnode225809* n, NU8 feature);
N_NIMCALL(void, nossplitFile)(NimStringDesc* path, TY123809* Result);
N_NIMCALL(NimStringDesc*, nosaddFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(void, internalerror_196172)(Tlineinfo190352 info, NimStringDesc* errmsg);
N_NIMCALL(void, addlinkoption_204056)(NimStringDesc* option);
N_NIMCALL(void, addcompileoption_204066)(NimStringDesc* option);
N_NIMCALL(void, pragmabreakpoint_298706)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(void, pragmawatchpoint_298716)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(void, processpush_298534)(Tcontext280023* c, Tnode225809* n, NI start);
N_NIMCALL(Toptionentry280005*, newoptionentry_280195)(void);
N_NIMCALL(NIM_BOOL, processoption_298399)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(void, onoff_297936)(Tcontext280023* c, Tnode225809* n, NU32 op);
N_NIMCALL(void, processcallconv_298035)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(NU8, wordtocallconv_297866)(NU16 sw);
N_NIMCALL(Tnode225809*, newnodei_227351)(NU8 kind, Tlineinfo190352 info);
N_NIMCALL(void, add_226165)(Tnode225809* father, Tnode225809* son);
N_NIMCALL(void, processpop_298600)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(void, remove_140639)(Tlinkedlist140028* list, Tlistentry140022* entry);
N_NIMCALL(void, processpragma_298930)(Tcontext280023* c, Tnode225809* n, NI i);
N_NIMCALL(void, addson_227819)(Tnode225809* father, Tnode225809* son);
N_NIMCALL(void, strtableadd_233103)(Tstrtable225813* t, Tsym225841* n);
N_NIMCALL(void, processcodegendecl_297548)(Tcontext280023* c, Tnode225809* n, Tsym225841* sym);
N_NIMCALL(void, pragmaemit_298795)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(Tnode225809*, semasmoremit_298737)(Tcontext280023* con, Tnode225809* n, NIM_CHAR marker);
N_NIMCALL(Tnode225809*, newnode_227607)(NU8 kind, Tlineinfo190352 info, Tnodeseq225803* sons, Ttype225847* 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_81016, NI last);
N_NIMCALL(NimStringDesc*, copyStrLast)(NimStringDesc* s, NI first, NI last);
N_NIMCALL(Tnode225809*, newstrnode_226643)(NU8 kind, NimStringDesc* strval);
N_NIMCALL(Tsym225841*, searchinscopes_286205)(Tcontext280023* c, Tident198021* s);
N_NIMCALL(Tident198021*, getident_198463)(NimStringDesc* identifier);
N_NIMCALL(void, loadstub_271052)(Tsym225841* s);
N_NIMCALL(Tnode225809*, newsymnode_227325)(Tsym225841* sym);
N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x);
N_NIMCALL(void, illformedastlocal_281250)(Tnode225809* n);
N_NIMCALL(void, pragmaunroll_298824)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(Tnode225809*, newintnode_226607)(NU8 kind, NI64 intval);
N_NIMCALL(void, pragmaline_298854)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(NI32, fileinfoidx_191253)(NimStringDesc* filename);
N_NIMCALL(Tlineinfo190352, getinfocontext_191623)(NI index);
N_NIMCALL(void, pragmaraisesortags_299008)(Tcontext280023* c, Tnode225809* n);
N_NIMCALL(void, processexc_299012)(Tcontext280023* c, Tnode225809* x);
N_NIMCALL(Ttype225847*, skiptypes_229167)(Ttype225847* t, NU64 kinds);
N_NIMCALL(void, pragmalockstmt_299081)(Tcontext280023* c, Tnode225809* it);
N_NIMCALL(NI16, pragmalocks_299149)(Tcontext280023* c, Tnode225809* it);
N_NIMCALL(Tsym225841*, pragmaguard_299332)(Tcontext280023* c, Tnode225809* it, NU8 kind);
N_NIMCALL(void, registernimscriptsymbol_274876)(Tsym225841* s);
static N_INLINE(NIM_BOOL, istoplevel_281280)(Tcontext280023* c);
N_NIMCALL(void, implicitpragmas_300759)(Tcontext280023* c, Tsym225841* sym, Tnode225809* n, Tspecialwords206012 validpragmas);
N_NIMCALL(void, pushinfocontext_191578)(Tlineinfo190352 info);
N_NIMCALL(void, popinfocontext_191597)(void);
N_NIMCALL(NIM_BOOL, HEX3DHEX3D_300972)(Tnodeseq225803* x, Tnodeseq225803* y);
STRING_LITERAL(TMP3164, "Success", 7);
STRING_LITERAL(TMP3165, "SuccessX", 8);
STRING_LITERAL(TMP3166, "LineTooLong", 11);
STRING_LITERAL(TMP3167, "XDeclaredButNotUsed", 19);
STRING_LITERAL(TMP3168, "ConvToBaseNotNeeded", 19);
STRING_LITERAL(TMP3169, "ConvFromXtoItselfNotNeeded", 26);
STRING_LITERAL(TMP3170, "ExprAlwaysX", 11);
STRING_LITERAL(TMP3171, "QuitCalled", 10);
STRING_LITERAL(TMP3172, "Processing", 10);
STRING_LITERAL(TMP3173, "CodeBegin", 9);
STRING_LITERAL(TMP3174, "CodeEnd", 7);
STRING_LITERAL(TMP3175, "Conf", 4);
STRING_LITERAL(TMP3176, "Path", 4);
STRING_LITERAL(TMP3177, "CondTrue", 8);
STRING_LITERAL(TMP3178, "Name", 4);
STRING_LITERAL(TMP3179, "Pattern", 7);
STRING_LITERAL(TMP3180, "Exec", 4);
STRING_LITERAL(TMP3181, "Link", 4);
STRING_LITERAL(TMP3182, "Dependency", 10);
STRING_LITERAL(TMP3183, "Source", 6);
STRING_LITERAL(TMP3184, "StackTrace", 10);
STRING_LITERAL(TMP3185, "GCStats", 7);
STRING_LITERAL(TMP3186, "User", 4);
NIM_CONST TY190317 TMP3163 = {((NimStringDesc*) &TMP3164),
((NimStringDesc*) &TMP3165),
((NimStringDesc*) &TMP3166),
((NimStringDesc*) &TMP3167),
((NimStringDesc*) &TMP3168),
((NimStringDesc*) &TMP3169),
((NimStringDesc*) &TMP3170),
((NimStringDesc*) &TMP3171),
((NimStringDesc*) &TMP3172),
((NimStringDesc*) &TMP3173),
((NimStringDesc*) &TMP3174),
((NimStringDesc*) &TMP3175),
((NimStringDesc*) &TMP3176),
((NimStringDesc*) &TMP3177),
((NimStringDesc*) &TMP3178),
((NimStringDesc*) &TMP3179),
((NimStringDesc*) &TMP3180),
((NimStringDesc*) &TMP3181),
((NimStringDesc*) &TMP3182),
((NimStringDesc*) &TMP3183),
((NimStringDesc*) &TMP3184),
((NimStringDesc*) &TMP3185),
((NimStringDesc*) &TMP3186)}
;
STRING_LITERAL(TMP3188, "CannotOpenFile", 14);
STRING_LITERAL(TMP3189, "OctalEscape", 11);
STRING_LITERAL(TMP3190, "XIsNeverRead", 12);
STRING_LITERAL(TMP3191, "XmightNotBeenInit", 17);
STRING_LITERAL(TMP3192, "Deprecated", 10);
STRING_LITERAL(TMP3193, "ConfigDeprecated", 16);
STRING_LITERAL(TMP3194, "SmallLshouldNotBeUsed", 21);
STRING_LITERAL(TMP3195, "UnknownMagic", 12);
STRING_LITERAL(TMP3196, "RedefinitionOfLabel", 19);
STRING_LITERAL(TMP3197, "UnknownSubstitutionX", 20);
STRING_LITERAL(TMP3198, "LanguageXNotSupported", 21);
STRING_LITERAL(TMP3199, "FieldXNotSupported", 18);
STRING_LITERAL(TMP3200, "CommentXIgnored", 15);
STRING_LITERAL(TMP3201, "NilStmt", 7);
STRING_LITERAL(TMP3202, "TypelessParam", 13);
STRING_LITERAL(TMP3203, "UseBase", 7);
STRING_LITERAL(TMP3204, "WriteToForeignHeap", 18);
STRING_LITERAL(TMP3205, "UnsafeCode", 10);
STRING_LITERAL(TMP3206, "EachIdentIsTuple", 16);
STRING_LITERAL(TMP3207, "ShadowIdent", 11);
STRING_LITERAL(TMP3208, "ProveInit", 9);
STRING_LITERAL(TMP3209, "ProveField", 10);
STRING_LITERAL(TMP3210, "ProveIndex", 10);
STRING_LITERAL(TMP3211, "GcUnsafe", 8);
STRING_LITERAL(TMP3212, "GcUnsafe2", 9);
STRING_LITERAL(TMP3213, "Uninit", 6);
STRING_LITERAL(TMP3214, "GcMem", 5);
STRING_LITERAL(TMP3215, "Destructor", 10);
STRING_LITERAL(TMP3216, "LockLevel", 9);
STRING_LITERAL(TMP3217, "ResultShadowed", 14);
NIM_CONST TY190311 TMP3187 = {((NimStringDesc*) &TMP3188),
((NimStringDesc*) &TMP3189),
((NimStringDesc*) &TMP3190),
((NimStringDesc*) &TMP3191),
((NimStringDesc*) &TMP3192),
((NimStringDesc*) &TMP3193),
((NimStringDesc*) &TMP3194),
((NimStringDesc*) &TMP3195),
((NimStringDesc*) &TMP3196),
((NimStringDesc*) &TMP3197),
((NimStringDesc*) &TMP3198),
((NimStringDesc*) &TMP3199),
((NimStringDesc*) &TMP3200),
((NimStringDesc*) &TMP3201),
((NimStringDesc*) &TMP3202),
((NimStringDesc*) &TMP3203),
((NimStringDesc*) &TMP3204),
((NimStringDesc*) &TMP3205),
((NimStringDesc*) &TMP3206),
((NimStringDesc*) &TMP3207),
((NimStringDesc*) &TMP3208),
((NimStringDesc*) &TMP3209),
((NimStringDesc*) &TMP3210),
((NimStringDesc*) &TMP3211),
((NimStringDesc*) &TMP3212),
((NimStringDesc*) &TMP3213),
((NimStringDesc*) &TMP3214),
((NimStringDesc*) &TMP3215),
((NimStringDesc*) &TMP3216),
((NimStringDesc*) &TMP3217),
((NimStringDesc*) &TMP3186)}
;
STRING_LITERAL(TMP3218, "", 0);
STRING_LITERAL(TMP3219, "$1", 2);
STRING_LITERAL(TMP3220, "destroy", 7);
STRING_LITERAL(TMP3221, "destructor has to be named \'destroy\'", 36);
STRING_LITERAL(TMP3222, "list of key:value pairs expected", 32);
STRING_LITERAL(TMP3224, "key:value pair expected", 23);
STRING_LITERAL(TMP3225, "a type can only borrow `.` for now", 34);
STRING_LITERAL(TMP3226, "define", 6);
STRING_LITERAL(TMP3227, "undef", 5);
extern NIM_CONST TY203481 Cc_203467;
STRING_LITERAL(TMP3228, "processCommonLink", 17);
STRING_LITERAL(TMP3229, "\':\' after \'push\' not supported", 30);
STRING_LITERAL(TMP3230, "speed", 5);
STRING_LITERAL(TMP3231, "size", 4);
STRING_LITERAL(TMP3232, "none", 4);
STRING_LITERAL(TMP3233, "tuple", 5);
STRING_LITERAL(TMP3234, "invalid type for raises/tags list", 33);
STRING_LITERAL(TMP3235, "locks pragma takes a list of expressions", 40);
STRING_LITERAL(TMP3236, "integer must be within 0..1000", 30);
STRING_LITERAL(TMP3241, "\'experimental\' pragma only valid as toplevel statement", 54);
STRING_LITERAL(TMP3242, "implicitPragmas", 15);
extern Gcheap51018 gch_51059;
extern NU64 gnotes_191395;
extern NU8 gcmd_167134;
extern NIM_BOOL gmixedmode_203490;
extern TNimType NTI225534; /* TMagic */
extern NU8 ccompiler_203488;
extern NimStringDesc* libpath_167233;
extern NU32 goptions_167130;
extern TNimType NTI225803; /* TNodeSeq */

N_NIMCALL(void, invalidpragma_297091)(Tnode225809* n) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = rendertree_247059(n, 4);
	localerror_196128((*n).info, ((NU16) 166), LOC1);
}

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

static N_INLINE(void, rtladdzct_54204)(Cell48947* c) {
	addzct_52617((&gch_51059.zct), c);
}

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

N_NIMCALL(void, processnote_298284)(Tcontext280023* c, Tnode225809* n) {
{	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		NIM_BOOL LOC5;
		NIM_BOOL LOC6;
		NI LOC8;
		NU16 nk;
		NU16 LOC14;
		Tnode225809* x;
		LOC3 = 0;
		LOC4 = 0;
		LOC5 = 0;
		LOC6 = 0;
		LOC6 = ((*n).kind == ((NU8) 34));
		if (!(LOC6)) goto LA7;
		LOC8 = 0;
		LOC8 = sonslen_228387(n);
		LOC6 = (LOC8 == ((NI) 2));
		LA7: ;
		LOC5 = LOC6;
		if (!(LOC5)) goto LA9;
		LOC5 = ((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 42));
		LA9: ;
		LOC4 = LOC5;
		if (!(LOC4)) goto LA10;
		LOC4 = ((*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 2));
		LA10: ;
		LOC3 = LOC4;
		if (!(LOC3)) goto LA11;
		LOC3 = ((*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 2));
		LA11: ;
		if (!LOC3) goto LA12;
		nk = 0;
		LOC14 = 0;
		LOC14 = whichkeyword_206390((*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 0)]).kindU.S5.ident);
		switch (LOC14) {
		case ((NU16) 114):
		{
			NI x;
			x = findstr_206348(TMP3163, 23, (*(*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 1)]).kindU.S5.ident).s);
			{
				if (!(((NI) 0) <= x)) goto LA18;
				nk = ((NU16) ((NI)(x + ((NI) 268))));
			}
			goto LA16;
			LA18: ;
			{
				invalidpragma_297091(n);
				goto BeforeRet;
			}
			LA16: ;
		}
		break;
		case ((NU16) 113):
		{
			NI x;
			x = findstr_206348(TMP3187, 31, (*(*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 1)]).kindU.S5.ident).s);
			{
				if (!(((NI) 0) <= x)) goto LA24;
				nk = ((NU16) ((NI)(x + ((NI) 237))));
			}
			goto LA22;
			LA24: ;
			{
				invalidpragma_297091(n);
				goto BeforeRet;
			}
			LA22: ;
		}
		break;
		default:
		{
			invalidpragma_297091(n);
			goto BeforeRet;
		}
		break;
		}
		x = (*c).semconstboolexpr(c, (*n).kindU.S6.sons->data[((NI) 1)]);
		asgnRefNoCycle((void**) (&(*n).kindU.S6.sons->data[((NI) 1)]), x);
		{
			NIM_BOOL LOC30;
			LOC30 = 0;
			LOC30 = ((*x).kind == ((NU8) 6));
			if (!(LOC30)) goto LA31;
			LOC30 = !(((*x).kindU.S1.intval == IL64(0)));
			LA31: ;
			if (!LOC30) goto LA32;
			gnotes_191395 |= ((NU64)1)<<(((nk- 237))%(sizeof(NU64)*8));
		}
		goto LA28;
		LA32: ;
		{
			gnotes_191395 &= ~(((NU64)1) << (((nk- 237)) % (sizeof(NU64)*8)));
		}
		LA28: ;
	}
	goto LA1;
	LA12: ;
	{
		invalidpragma_297091(n);
	}
	LA1: ;
	}BeforeRet: ;
}

N_NIMCALL(void, setexternname_297190)(Tsym225841* s, NimStringDesc* extname) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = nsuFormatSingleElem(extname, (*(*s).name).s);
	asgnRefNoCycle((void**) (&(*s).loc.r), rope_176322(LOC1));
	{
		NIM_BOOL LOC4;
		NIM_BOOL LOC6;
		LOC4 = 0;
		LOC4 = (gcmd_167134 == ((NU8) 7));
		if (!(LOC4)) goto LA5;
		LOC6 = 0;
		LOC6 = contains_103953(extname, 36);
		LOC4 = !(LOC6);
		LA5: ;
		if (!LOC4) goto LA7;
		(*s).loc.flags |= ((NU16)1)<<((((NU8) 1))%(sizeof(NU16)*8));
	}
	LA7: ;
}

N_NIMCALL(void, makeexternexport_297277)(Tsym225841* s, NimStringDesc* extname, Tlineinfo190352 info) {
	setexternname_297190(s, extname);
	(*s).flags |= ((NU32)1)<<((((NU8) 6))%(sizeof(NU32)*8));
}

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

N_NOINLINE(Tnode225809*, newemptystrnode_297454)(Tnode225809* n) {
	Tnode225809* result;
	Ttype225847* LOC1;
	NimStringDesc* LOC2;
	result = 0;
	LOC1 = 0;
	LOC1 = getsystype_274190(((NU8) 28));
	result = newnodeit_227807(((NU8) 20), (*n).info, LOC1);
	LOC2 = 0;
	LOC2 = (*result).kindU.S3.strval; (*result).kindU.S3.strval = copyStringRC1(((NimStringDesc*) &TMP3218));
	if (LOC2) nimGCunrefNoCycle(LOC2);
	return result;
}

N_NIMCALL(Tnode225809*, getstrlitnode_297465)(Tcontext280023* c, Tnode225809* n) {
	Tnode225809* result;
	result = 0;
	{
		if (!!(((*n).kind == ((NU8) 34)))) goto LA3;
		localerror_196128((*n).info, ((NU16) 6), ((NimStringDesc*) &TMP3218));
		result = newemptystrnode_297454(n);
	}
	goto LA1;
	LA3: ;
	{
		asgnRefNoCycle((void**) (&(*n).kindU.S6.sons->data[((NI) 1)]), (*c).semconstexpr(c, (*n).kindU.S6.sons->data[((NI) 1)]));
		switch ((*(*n).kindU.S6.sons->data[((NI) 1)]).kind) {
		case ((NU8) 20):
		case ((NU8) 21):
		case ((NU8) 22):
		{
			result = (*n).kindU.S6.sons->data[((NI) 1)];
		}
		break;
		default:
		{
			localerror_196128((*n).info, ((NU16) 6), ((NimStringDesc*) &TMP3218));
			result = newemptystrnode_297454(n);
		}
		break;
		}
	}
	LA1: ;
	return result;
}

N_NIMCALL(NimStringDesc*, expectstrlit_297489)(Tcontext280023* c, Tnode225809* n) {
	NimStringDesc* result;
	Tnode225809* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = getstrlitnode_297465(c, n);
	result = copyString((*LOC1).kindU.S3.strval);
	return result;
}

N_NIMCALL(NimStringDesc*, getoptionalstr_297527)(Tcontext280023* c, Tnode225809* n, NimStringDesc* defaultstr) {
	NimStringDesc* result;
	result = 0;
	{
		if (!((*n).kind == ((NU8) 34))) goto LA3;
		result = expectstrlit_297489(c, n);
	}
	goto LA1;
	LA3: ;
	{
		result = copyString(defaultstr);
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, makeexternimport_297223)(Tsym225841* s, NimStringDesc* extname) {
	setexternname_297190(s, extname);
	(*s).flags |= ((NU32)1)<<((((NU8) 5))%(sizeof(NU32)*8));
	(*s).flags &= ~(((NU32)1) << ((((NU8) 4)) % (sizeof(NU32)*8)));
}

N_NIMCALL(void, processimportcompilerproc_297299)(Tsym225841* s, NimStringDesc* extname) {
	setexternname_297190(s, extname);
	(*s).flags |= ((NU32)1)<<((((NU8) 5))%(sizeof(NU32)*8));
	(*s).flags &= ~(((NU32)1) << ((((NU8) 4)) % (sizeof(NU32)*8)));
	(*s).loc.flags |= ((NU16)1)<<((((NU8) 7))%(sizeof(NU16)*8));
}

N_NIMCALL(void, processimportcpp_297342)(Tsym225841* s, NimStringDesc* extname) {
	Tsym225841* m;
	setexternname_297190(s, extname);
	(*s).flags |= ((NU32)1)<<((((NU8) 5))%(sizeof(NU32)*8));
	(*s).flags |= ((NU32)1)<<((((NU8) 27))%(sizeof(NU32)*8));
	(*s).flags &= ~(((NU32)1) << ((((NU8) 4)) % (sizeof(NU32)*8)));
	m = getmodule_233243(s);
	(*m).flags |= ((NU32)1)<<((((NU8) 27))%(sizeof(NU32)*8));
	gmixedmode_203490 = NIM_TRUE;
}

N_NIMCALL(void, processimportobjc_297398)(Tsym225841* s, NimStringDesc* extname) {
	Tsym225841* m;
	setexternname_297190(s, extname);
	(*s).flags |= ((NU32)1)<<((((NU8) 5))%(sizeof(NU32)*8));
	(*s).flags |= ((NU32)1)<<((((NU8) 28))%(sizeof(NU32)*8));
	(*s).flags &= ~(((NU32)1) << ((((NU8) 4)) % (sizeof(NU32)*8)));
	m = getmodule_233243(s);
	(*m).flags |= ((NU32)1)<<((((NU8) 28))%(sizeof(NU32)*8));
}

N_NIMCALL(NI, expectintlit_297501)(Tcontext280023* c, Tnode225809* n) {
	NI result;
	result = 0;
	{
		if (!!(((*n).kind == ((NU8) 34)))) goto LA3;
		localerror_196128((*n).info, ((NU16) 7), ((NimStringDesc*) &TMP3218));
	}
	goto LA1;
	LA3: ;
	{
		asgnRefNoCycle((void**) (&(*n).kindU.S6.sons->data[((NI) 1)]), (*c).semconstexpr(c, (*n).kindU.S6.sons->data[((NI) 1)]));
		switch ((*(*n).kindU.S6.sons->data[((NI) 1)]).kind) {
		case ((NU8) 6) ... ((NU8) 10):
		{
			result = ((NI) ((*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S1.intval));
		}
		break;
		default:
		{
			localerror_196128((*n).info, ((NU16) 7), ((NimStringDesc*) &TMP3218));
		}
		break;
		}
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, noval_298806)(Tnode225809* n) {
	{
		if (!((*n).kind == ((NU8) 34))) goto LA3;
		invalidpragma_297091(n);
	}
	LA3: ;
}

N_NIMCALL(NIM_BOOL, isturnedon_297903)(Tcontext280023* c, Tnode225809* n) {
	NIM_BOOL result;
{	result = 0;
	{
		Tnode225809* x;
		if (!((*n).kind == ((NU8) 34))) goto LA3;
		x = (*c).semconstboolexpr(c, (*n).kindU.S6.sons->data[((NI) 1)]);
		asgnRefNoCycle((void**) (&(*n).kindU.S6.sons->data[((NI) 1)]), x);
		{
			if (!((*x).kind == ((NU8) 6))) goto LA7;
			result = !(((*x).kindU.S1.intval == IL64(0)));
			goto BeforeRet;
		}
		LA7: ;
	}
	LA3: ;
	localerror_196128((*n).info, ((NU16) 27), ((NimStringDesc*) &TMP3218));
	}BeforeRet: ;
	return result;
}

N_NIMCALL(void, pragmadeadcodeelim_297971)(Tcontext280023* c, Tnode225809* n) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isturnedon_297903(c, n);
		if (!LOC3) goto LA4;
		(*(*c).module).flags |= ((NU32)1)<<((((NU8) 25))%(sizeof(NU32)*8));
	}
	goto LA1;
	LA4: ;
	{
		(*(*c).module).flags &= ~(((NU32)1) << ((((NU8) 25)) % (sizeof(NU32)*8)));
	}
	LA1: ;
}

N_NIMCALL(void, pragmanoforward_298003)(Tcontext280023* c, Tnode225809* n) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isturnedon_297903(c, n);
		if (!LOC3) goto LA4;
		(*(*c).module).flags |= ((NU32)1)<<((((NU8) 8))%(sizeof(NU32)*8));
	}
	goto LA1;
	LA4: ;
	{
		(*(*c).module).flags &= ~(((NU32)1) << ((((NU8) 8)) % (sizeof(NU32)*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)), (*a).Sup.len);
	LOC11 = (LOC13 == ((NI32) 0));
	LA12: ;
	result = LOC11;
	goto BeforeRet;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(void, processmagic_297560)(Tcontext280023* c, Tnode225809* n, Tsym225841* s) {
	NimStringDesc* v;
{	{
		if (!!(((*n).kind == ((NU8) 34)))) goto LA3;
		localerror_196128((*n).info, ((NU16) 6), ((NimStringDesc*) &TMP3218));
		goto BeforeRet;
	}
	LA3: ;
	v = 0;
	{
		if (!((*(*n).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 2))) goto LA7;
		v = copyString((*(*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S5.ident).s);
	}
	goto LA5;
	LA7: ;
	{
		v = expectstrlit_297489(c, n);
	}
	LA5: ;
	{
		NU8 m_297823;
		NI res_297848;
		m_297823 = 0;
		res_297848 = ((NI) 0);
		{
			while (1) {
				if (!(res_297848 <= ((NI) 254))) goto LA12;
				m_297823 = ((NU8) (res_297848));
				{
					NimStringDesc* LOC15;
					LOC15 = 0;
					LOC15 = copyStr(reprEnum(m_297823, (&NTI225534)), ((NI) 1));
					if (!eqStrings(LOC15, v)) goto LA16;
					(*s).magic = m_297823;
					goto LA10;
				}
				LA16: ;
				res_297848 += ((NI) 1);
			} LA12: ;
		}
	} LA10: ;
	{
		if (!((*s).magic == ((NU8) 0))) goto LA20;
		message_196161((*n).info, ((NU16) 244), v);
	}
	LA20: ;
	}BeforeRet: ;
}

N_NIMCALL(Tlib225827*, getlib_298067)(Tcontext280023* c, NU8 kind, Tnode225809* path) {
	Tlib225827* result;
	Tlib225827* it;
	Tlistentry140022* LOC12;
{	result = 0;
	it = ((Tlib225827*) ((*c).libs.head));
	{
		while (1) {
			if (!!((it == NIM_NIL))) goto LA2;
			{
				if (!((*it).kind == kind)) goto LA5;
				{
					NIM_BOOL LOC9;
					LOC9 = 0;
					LOC9 = exprstructuralequivalent_254149((*it).path, path, NIM_FALSE);
					if (!LOC9) goto LA10;
					result = it;
					goto BeforeRet;
				}
				LA10: ;
			}
			LA5: ;
			it = ((Tlib225827*) ((*it).Sup.next));
		} LA2: ;
	}
	result = newlib_280200(kind);
	asgnRefNoCycle((void**) (&(*result).path), path);
	LOC12 = 0;
	LOC12 = &result->Sup;
	append_140053((&(*c).libs), LOC12);
	{
		if (!((*path).kind >= ((NU8) 20) && (*path).kind <= ((NU8) 22))) goto LA15;
		(*result).isoverriden = isdynliboverride_168681((*path).kindU.S3.strval);
	}
	LA15: ;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Tnode225809*, expectdynlibnode_298121)(Tcontext280023* c, Tnode225809* n) {
	Tnode225809* result;
	result = 0;
	{
		if (!!(((*n).kind == ((NU8) 34)))) goto LA3;
		localerror_196128((*n).info, ((NU16) 6), ((NimStringDesc*) &TMP3218));
		result = newemptystrnode_297454(n);
	}
	goto LA1;
	LA3: ;
	{
		result = (*c).semexpr(c, (*n).kindU.S6.sons->data[((NI) 1)], 0);
		{
			NIM_BOOL LOC8;
			LOC8 = 0;
			LOC8 = ((*result).kind == ((NU8) 3));
			if (!(LOC8)) goto LA9;
			LOC8 = ((*(*result).kindU.S4.sym).kind == ((NU8) 10));
			LA9: ;
			if (!LOC8) goto LA10;
			result = (*(*result).kindU.S4.sym).ast;
		}
		LA10: ;
		{
			NIM_BOOL LOC14;
			LOC14 = 0;
			LOC14 = ((*result).typ == NIM_NIL);
			if (LOC14) goto LA15;
			LOC14 = !(((369098752 &(IL64(1)<<(((*(*result).typ).kind)&IL64(63))))!=0));
			LA15: ;
			if (!LOC14) goto LA16;
			localerror_196128((*n).info, ((NU16) 6), ((NimStringDesc*) &TMP3218));
			result = newemptystrnode_297454(n);
		}
		LA16: ;
	}
	LA1: ;
	return result;
}

static N_INLINE(NIM_BOOL, canbecycleroot_52667)(Cell48947* c) {
	NIM_BOOL result;
	result = 0;
	result = !((((*(*c).typ).flags &(1<<((((NU8) 1))&7)))!=0));
	return result;
}

static N_INLINE(void, rtladdcycleroot_53423)(Cell48947* c) {
	{
		if (!!((((NI) ((NI)((*c).refcount & ((NI) 3)))) == ((NI) 3)))) goto LA3;
		(*c).refcount = (NI)((NI)((*c).refcount & ((NI) -4)) | ((NI) 3));
		incl_49665((&gch_51059.cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_55022)(Cell48947* c) {
	(*c).refcount = (NI)((NU64)((*c).refcount) + (NU64)(((NI) 8)));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_52667(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_53423(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_54604)(Cell48947* c) {
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3;
		rtladdzct_54204(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_52667(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_53423(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		Cell48947* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_52646(src);
		incref_55022(LOC5);
	}
	LA3: ;
	{
		Cell48947* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_52646((*dest));
		decref_54604(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

N_NIMCALL(void, processdynlib_298186)(Tcontext280023* c, Tnode225809* n, Tsym225841* sym) {
	{
		NIM_BOOL LOC3;
		Tnode225809* 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_298121(c, n);
		asgnRef((void**) (&(*((Toptionentry280005*) ((*c).optionstack.tail))).dynlib), getlib_298067(c, ((NU8) 1), LOC7));
	}
	goto LA1;
	LA5: ;
	{
		{
			Tlib225827* lib;
			Tnode225809* LOC13;
			if (!((*n).kind == ((NU8) 34))) goto LA11;
			LOC13 = 0;
			LOC13 = expectdynlibnode_298121(c, n);
			lib = getlib_298067(c, ((NU8) 1), LOC13);
			{
				if (!!((*lib).isoverriden)) goto LA16;
				addtolib_280206(lib, sym);
				(*sym).loc.flags |= ((NU16)1)<<((((NU8) 4))%(sizeof(NU16)*8));
			}
			LA16: ;
		}
		goto LA9;
		LA11: ;
		{
			(*sym).loc.flags |= ((NU16)1)<<((((NU8) 5))%(sizeof(NU16)*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_299220)(Tsym225841* s) {
	makeexternexport_297277(s, ((NimStringDesc*) &TMP3219), (*s).info);
	(*s).flags |= ((NU32)1)<<((((NU8) 16))%(sizeof(NU32)*8));
	(*s).flags |= ((NU32)1)<<((((NU8) 0))%(sizeof(NU32)*8));
	registercompilerproc_274866(s);
}

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

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

N_NIMCALL(void, deprecatedstmt_299252)(Tcontext280023* c, Tnode225809* pragma_299255) {
	Tnode225809* pragma;
{	pragma = HEX5BHEX5D_226244(pragma_299255, ((NI) 1));
	{
		if (!!(((*pragma).kind == ((NU8) 41)))) goto LA3;
		localerror_196139((*pragma).info, ((NimStringDesc*) &TMP3222));
		goto BeforeRet;
	}
	LA3: ;
	{
		Tnode225809* n_299266;
		n_299266 = 0;
		{
			NI i_299307;
			NI HEX3Atmp_299309;
			NI LOC7;
			NI res_299311;
			i_299307 = 0;
			HEX3Atmp_299309 = 0;
			LOC7 = 0;
			LOC7 = len_226098(pragma);
			HEX3Atmp_299309 = (LOC7 - 1);
			res_299311 = ((NI) 0);
			{
				while (1) {
					if (!(res_299311 <= HEX3Atmp_299309)) goto LA9;
					i_299307 = res_299311;
					n_299266 = (*pragma).kindU.S6.sons->data[i_299307];
					{
						Tsym225841* dest;
						Tnode225809* LOC14;
						Tident198021* src;
						Tnode225809* LOC15;
						Tsym225841* alias;
						Tnode225809* LOC16;
						if (!((*n_299266).kind == ((NU8) 34) || (*n_299266).kind == ((NU8) 33))) goto LA12;
						LOC14 = 0;
						LOC14 = HEX5BHEX5D_226244(n_299266, ((NI) 1));
						dest = qualifiedlookup_286864(c, LOC14, 2);
						LOC15 = 0;
						LOC15 = HEX5BHEX5D_226244(n_299266, ((NI) 0));
						src = considerquotedident_286010(LOC15);
						LOC16 = 0;
						LOC16 = HEX5BHEX5D_226244(n_299266, ((NI) 0));
						alias = newsym_226655(((NU8) 25), src, dest, (*LOC16).info);
						(*alias).flags |= ((NU32)1)<<((((NU8) 1))%(sizeof(NU32)*8));
						{
							if (!(((*dest).flags &(1<<((((NU8) 16))&31)))!=0)) goto LA19;
							markcompilerproc_299220(alias);
						}
						LA19: ;
						addinterfacedecl_286736(c, alias);
					}
					goto LA10;
					LA12: ;
					{
						localerror_196139((*n_299266).info, ((NimStringDesc*) &TMP3224));
					}
					LA10: ;
					res_299311 += ((NI) 1);
				} LA9: ;
			}
		}
	}
	}BeforeRet: ;
}

N_NIMCALL(void, typeborrow_299179)(Tsym225841* sym, Tnode225809* n) {
	{
		Tnode225809* it;
		if (!((*n).kind == ((NU8) 34))) goto LA3;
		it = (*n).kindU.S6.sons->data[((NI) 1)];
		{
			if (!!(((*it).kind == ((NU8) 53)))) goto LA7;
			localerror_196139((*n).info, ((NimStringDesc*) &TMP3225));
		}
		LA7: ;
	}
	LA3: ;
	(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 27))%(sizeof(NU32)*8));
}

static N_INLINE(NIM_BOOL, isroutine_230764)(Tsym225841* s) {
	NIM_BOOL result;
	result = 0;
	result = ((520192 &(1<<(((*s).kind)&31)))!=0);
	return result;
}

N_NIMCALL(void, processdefine_298611)(Tcontext280023* c, Tnode225809* n) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = ((*n).kind == ((NU8) 34));
		if (!(LOC3)) goto LA4;
		LOC3 = ((*(*n).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 2));
		LA4: ;
		if (!LOC3) goto LA5;
		definesymbol_199013((*(*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S5.ident).s);
		message_196161((*n).info, ((NU16) 241), ((NimStringDesc*) &TMP3226));
	}
	goto LA1;
	LA5: ;
	{
		invalidpragma_297091(n);
	}
	LA1: ;
}

N_NIMCALL(void, processundef_298642)(Tcontext280023* c, Tnode225809* n) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = ((*n).kind == ((NU8) 34));
		if (!(LOC3)) goto LA4;
		LOC3 = ((*(*n).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 2));
		LA4: ;
		if (!LOC3) goto LA5;
		undefsymbol_199022((*(*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S5.ident).s);
		message_196161((*n).info, ((NU16) 241), ((NimStringDesc*) &TMP3227));
	}
	goto LA1;
	LA5: ;
	{
		invalidpragma_297091(n);
	}
	LA1: ;
}

N_NIMCALL(void, processcompile_298680)(Tcontext280023* c, Tnode225809* n) {
	NimStringDesc* s;
	NimStringDesc* found;
	NimStringDesc* trunc;
	NimStringDesc* LOC12;
	s = expectstrlit_297489(c, n);
	found = findfile_168539(s);
	{
		if (!((found) && (found)->Sup.len == 0)) goto LA3;
		found = copyString(s);
	}
	LA3: ;
	trunc = noschangeFileExt(found, ((NimStringDesc*) &TMP3218));
	{
		NIM_BOOL LOC7;
		NimStringDesc* LOC10;
		NimStringDesc* LOC11;
		LOC7 = 0;
		LOC7 = nosisAbsolute(found);
		if (!!(LOC7)) goto LA8;
		LOC10 = 0;
		LOC10 = tofullpath_191662((*n).info.fileindex);
		LOC11 = 0;
		LOC11 = nosparentDir(LOC10);
		found = HEX2F_123481(LOC11, found);
	}
	LA8: ;
	addexternalfiletocompile_204699(found);
	LOC12 = 0;
	LOC12 = completecfilepath_204112(trunc, NIM_FALSE);
	addfiletolink_204154(LOC12);
}

N_NIMCALL(void, processcommonlink_298693)(Tcontext280023* c, Tnode225809* n, NU8 feature) {
	NimStringDesc* f;
	NimStringDesc* found;
	f = expectstrlit_297489(c, n);
	{
		TY123809 LOC3;
		memset((void*)(&LOC3), 0, sizeof(LOC3));
		nossplitFile(f, (&LOC3));
		if (!((LOC3.Field2) && (LOC3.Field2)->Sup.len == 0)) goto LA4;
		f = nosaddFileExt(f, Cc_203467[(ccompiler_203488)- 1].Field1);
	}
	LA4: ;
	found = findfile_168539(f);
	{
		if (!((found) && (found)->Sup.len == 0)) goto LA8;
		found = copyString(f);
	}
	LA8: ;
	switch (feature) {
	case ((NU8) 0):
	{
		addfiletolink_204154(found);
	}
	break;
	case ((NU8) 1):
	{
		NimStringDesc* LOC12;
		NimStringDesc* LOC13;
		LOC12 = 0;
		LOC12 = completecfilepath_204112(found, NIM_FALSE);
		LOC13 = 0;
		LOC13 = HEX2F_123481(libpath_167233, LOC12);
		addfiletolink_204154(LOC13);
	}
	break;
	default:
	{
		internalerror_196172((*n).info, ((NimStringDesc*) &TMP3228));
	}
	break;
	}
}

N_NIMCALL(void, pragmabreakpoint_298706)(Tcontext280023* c, Tnode225809* n) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = getoptionalstr_297527(c, n, ((NimStringDesc*) &TMP3218));
}

N_NIMCALL(void, pragmawatchpoint_298716)(Tcontext280023* c, Tnode225809* n) {
	{
		if (!((*n).kind == ((NU8) 34))) goto LA3;
		asgnRefNoCycle((void**) (&(*n).kindU.S6.sons->data[((NI) 1)]), (*c).semexpr(c, (*n).kindU.S6.sons->data[((NI) 1)], 0));
	}
	goto LA1;
	LA3: ;
	{
		invalidpragma_297091(n);
	}
	LA1: ;
}

N_NIMCALL(void, onoff_297936)(Tcontext280023* c, Tnode225809* n, NU32 op) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isturnedon_297903(c, n);
		if (!LOC3) goto LA4;
		goptions_167130 = (goptions_167130 | op);
	}
	goto LA1;
	LA4: ;
	{
		goptions_167130 = (goptions_167130 & ~ op);
	}
	LA1: ;
}

N_NIMCALL(NU8, wordtocallconv_297866)(NU16 sw) {
	NU8 result;
	result = 0;
	result = ((NU8) ((NI)(((NI) ((NI)(((NI) 0) + ((NI) (sw))))) - ((NI) 131))));
	return result;
}

N_NIMCALL(void, processcallconv_298035)(Tcontext280023* c, Tnode225809* n) {
	{
		NIM_BOOL LOC3;
		NU16 sw;
		LOC3 = 0;
		LOC3 = ((*n).kind == ((NU8) 34));
		if (!(LOC3)) goto LA4;
		LOC3 = ((*(*n).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 2));
		LA4: ;
		if (!LOC3) goto LA5;
		sw = whichkeyword_206390((*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S5.ident);
		switch (sw) {
		case ((NU16) 131) ... ((NU16) 140):
		{
			(*((Toptionentry280005*) ((*c).optionstack.tail))).defaultcc = wordtocallconv_297866(sw);
		}
		break;
		default:
		{
			localerror_196128((*n).info, ((NU16) 104), ((NimStringDesc*) &TMP3218));
		}
		break;
		}
	}
	goto LA1;
	LA5: ;
	{
		localerror_196128((*n).info, ((NU16) 104), ((NimStringDesc*) &TMP3218));
	}
	LA1: ;
}

N_NIMCALL(NIM_BOOL, processoption_298399)(Tcontext280023* c, Tnode225809* 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[((NI) 0)]).kind == ((NU8) 42))) goto LA6;
		processnote_298284(c, n);
	}
	goto LA1;
	LA6: ;
	{
		if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 2)))) goto LA9;
		result = NIM_TRUE;
	}
	goto LA1;
	LA9: ;
	{
		NU16 sw;
		sw = whichkeyword_206390((*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S5.ident);
		switch (sw) {
		case ((NU16) 143):
		{
			onoff_297936(c, n, 1022);
		}
		break;
		case ((NU16) 82):
		{
			onoff_297936(c, n, 2);
		}
		break;
		case ((NU16) 173):
		{
			onoff_297936(c, n, 4);
		}
		break;
		case ((NU16) 144):
		{
			onoff_297936(c, n, 8);
		}
		break;
		case ((NU16) 145):
		{
			onoff_297936(c, n, 16);
		}
		break;
		case ((NU16) 146):
		{
			onoff_297936(c, n, 32);
		}
		break;
		case ((NU16) 147):
		{
			onoff_297936(c, n, 64);
		}
		break;
		case ((NU16) 148):
		{
			onoff_297936(c, n, 384);
		}
		break;
		case ((NU16) 149):
		{
			onoff_297936(c, n, 128);
		}
		break;
		case ((NU16) 150):
		{
			onoff_297936(c, n, 256);
		}
		break;
		case ((NU16) 151):
		{
			onoff_297936(c, n, 512);
		}
		break;
		case ((NU16) 153):
		{
			onoff_297936(c, n, 2048);
		}
		break;
		case ((NU16) 154):
		{
			onoff_297936(c, n, 4096);
		}
		break;
		case ((NU16) 128):
		{
			processcallconv_298035(c, n);
		}
		break;
		case ((NU16) 120):
		{
			onoff_297936(c, n, 1024);
		}
		break;
		case ((NU16) 121):
		{
			onoff_297936(c, n, 32768);
		}
		break;
		case ((NU16) 122):
		{
			onoff_297936(c, n, 65536);
		}
		break;
		case ((NU16) 130):
		{
			onoff_297936(c, n, 131072);
		}
		break;
		case ((NU16) 81):
		{
			onoff_297936(c, n, 524288);
		}
		break;
		case ((NU16) 258):
		{
			onoff_297936(c, n, 262144);
		}
		break;
		case ((NU16) 107):
		{
			processdynlib_298186(c, n, NIM_NIL);
		}
		break;
		case ((NU16) 155):
		{
			{
				if (!!(((*(*n).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 2)))) goto LA36;
				invalidpragma_297091(n);
			}
			goto LA34;
			LA36: ;
			{
				NimStringDesc* LOC39;
				LOC39 = 0;
				LOC39 = nsuNormalize((*(*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S5.ident).s);
				if (eqStrings(LOC39, ((NimStringDesc*) &TMP3230))) goto LA40;
				if (eqStrings(LOC39, ((NimStringDesc*) &TMP3231))) goto LA41;
				if (eqStrings(LOC39, ((NimStringDesc*) &TMP3232))) goto LA42;
				goto LA43;
				LA40: ;
				{
					goptions_167130 |= ((NU32)1)<<((((NU8) 13))%(sizeof(NU32)*8));
					goptions_167130 &= ~(((NU32)1) << ((((NU8) 14)) % (sizeof(NU32)*8)));
				}
				goto LA44;
				LA41: ;
				{
					goptions_167130 &= ~(((NU32)1) << ((((NU8) 13)) % (sizeof(NU32)*8)));
					goptions_167130 |= ((NU32)1)<<((((NU8) 14))%(sizeof(NU32)*8));
				}
				goto LA44;
				LA42: ;
				{
					goptions_167130 &= ~(((NU32)1) << ((((NU8) 13)) % (sizeof(NU32)*8)));
					goptions_167130 &= ~(((NU32)1) << ((((NU8) 14)) % (sizeof(NU32)*8)));
				}
				goto LA44;
				LA43: ;
				{
					localerror_196128((*n).info, ((NU16) 28), ((NimStringDesc*) &TMP3218));
				}
				LA44: ;
			}
			LA34: ;
		}
		break;
		case ((NU16) 191):
		{
			onoff_297936(c, n, 1048576);
		}
		break;
		case ((NU16) 152):
		{
			onoff_297936(c, n, 2097152);
		}
		break;
		default:
		{
			result = NIM_TRUE;
		}
		break;
		}
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, processpush_298534)(Tcontext280023* c, Tnode225809* n, NI start) {
	Toptionentry280005* x;
	Toptionentry280005* y;
	Tlistentry140022* LOC5;
	{
		if (!((*(*n).kindU.S6.sons->data[(NI)(start - ((NI) 1))]).kind == ((NU8) 34))) goto LA3;
		localerror_196128((*n).info, ((NU16) 4), ((NimStringDesc*) &TMP3229));
	}
	LA3: ;
	x = newoptionentry_280195();
	y = ((Toptionentry280005*) ((*c).optionstack.tail));
	(*x).options = goptions_167130;
	(*x).defaultcc = (*y).defaultcc;
	asgnRef((void**) (&(*x).dynlib), (*y).dynlib);
	(*x).notes = gnotes_191395;
	LOC5 = 0;
	LOC5 = &x->Sup;
	append_140053((&(*c).optionstack), LOC5);
	{
		NI i_298564;
		NI HEX3Atmp_298578;
		NI LOC7;
		NI res_298581;
		i_298564 = 0;
		HEX3Atmp_298578 = 0;
		LOC7 = 0;
		LOC7 = sonslen_228387(n);
		HEX3Atmp_298578 = (NI)(LOC7 - ((NI) 1));
		res_298581 = start;
		{
			while (1) {
				if (!(res_298581 <= HEX3Atmp_298578)) goto LA9;
				i_298564 = res_298581;
				{
					NIM_BOOL LOC12;
					LOC12 = 0;
					LOC12 = processoption_298399(c, (*n).kindU.S6.sons->data[i_298564]);
					if (!LOC12) goto LA13;
					{
						if (!(*x).otherpragmas == 0) goto LA17;
						asgnRefNoCycle((void**) (&(*x).otherpragmas), newnodei_227351(((NU8) 90), (*n).info));
					}
					LA17: ;
					add_226165((*x).otherpragmas, (*n).kindU.S6.sons->data[i_298564]);
				}
				LA13: ;
				res_298581 += ((NI) 1);
			} LA9: ;
		}
	}
}

N_NIMCALL(void, processpop_298600)(Tcontext280023* c, Tnode225809* n) {
	{
		if (!((*c).optionstack.counter <= ((NI) 1))) goto LA3;
		localerror_196128((*n).info, ((NU16) 32), ((NimStringDesc*) &TMP3218));
	}
	goto LA1;
	LA3: ;
	{
		goptions_167130 = (*((Toptionentry280005*) ((*c).optionstack.tail))).options;
		gnotes_191395 = (*((Toptionentry280005*) ((*c).optionstack.tail))).notes;
		remove_140639((&(*c).optionstack), (*c).optionstack.tail);
	}
	LA1: ;
}

N_NIMCALL(void, processpragma_298930)(Tcontext280023* c, Tnode225809* n, NI i) {
	Tnode225809* it;
	Tsym225841* userpragma;
	Tnode225809* body;
	it = (*n).kindU.S6.sons->data[i];
	{
		if (!!(((*it).kind == ((NU8) 34)))) goto LA3;
		invalidpragma_297091(n);
	}
	goto LA1;
	LA3: ;
	{
		if (!!(((*(*it).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 2)))) goto LA6;
		invalidpragma_297091(n);
	}
	goto LA1;
	LA6: ;
	{
		if (!!(((*(*it).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 2)))) goto LA9;
		invalidpragma_297091(n);
	}
	goto LA1;
	LA9: ;
	LA1: ;
	userpragma = newsym_226655(((NU8) 18), (*(*it).kindU.S6.sons->data[((NI) 1)]).kindU.S5.ident, NIM_NIL, (*it).info);
	body = newnodei_227351(((NU8) 90), (*n).info);
	{
		NI j_298980;
		NI HEX3Atmp_298985;
		NI HEX3Atmp_298986;
		NI LOC12;
		NI res_298989;
		j_298980 = 0;
		HEX3Atmp_298985 = 0;
		HEX3Atmp_298986 = 0;
		HEX3Atmp_298985 = (NI)(i + ((NI) 1));
		LOC12 = 0;
		LOC12 = sonslen_228387(n);
		HEX3Atmp_298986 = (NI)(LOC12 - ((NI) 1));
		res_298989 = HEX3Atmp_298985;
		{
			while (1) {
				if (!(res_298989 <= HEX3Atmp_298986)) goto LA14;
				j_298980 = res_298989;
				addson_227819(body, (*n).kindU.S6.sons->data[j_298980]);
				res_298989 += ((NI) 1);
			} LA14: ;
		}
	}
	asgnRefNoCycle((void**) (&(*userpragma).ast), body);
	strtableadd_233103((&(*c).userpragmas), userpragma);
}

N_NIMCALL(void, processcodegendecl_297548)(Tcontext280023* c, Tnode225809* n, Tsym225841* sym) {
	asgnRefNoCycle((void**) (&(*sym).constraint), getstrlitnode_297465(c, n));
}

N_NIMCALL(Tnode225809*, semasmoremit_298737)(Tcontext280023* con, Tnode225809* n, NIM_CHAR marker) {
	Tnode225809* result;
{	result = 0;
	switch ((*(*n).kindU.S6.sons->data[((NI) 1)]).kind) {
	case ((NU8) 20):
	case ((NU8) 21):
	case ((NU8) 22):
	{
		NU8 LOC2;
		Tnodeseq225803* LOC8;
		NimStringDesc* str;
		NI a;
		LOC2 = 0;
		{
			if (!((*n).kind == ((NU8) 89))) goto LA5;
			LOC2 = ((NU8) 89);
		}
		goto LA3;
		LA5: ;
		{
			LOC2 = ((NU8) 152);
		}
		LA3: ;
		LOC8 = 0;
		LOC8 = (Tnodeseq225803*) newSeq((&NTI225803), 0);
		result = newnode_227607(LOC2, (*n).info, LOC8, NIM_NIL);
		str = copyString((*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S3.strval);
		{
			if (!((str) && (str)->Sup.len == 0)) goto LA11;
			localerror_196128((*n).info, ((NU16) 33), ((NimStringDesc*) &TMP3218));
			goto BeforeRet;
		}
		LA11: ;
		a = ((NI) 0);
		{
			while (1) {
				NI b;
				NimStringDesc* sub;
				NI c;
				b = nsuFindChar(str, marker, ((NI) (a)));
				{
					if (!(b < ((NI) 0))) goto LA17;
					sub = copyStr(str, a);
				}
				goto LA15;
				LA17: ;
				{
					sub = copyStrLast(str, a, (NI)(b - ((NI) 1)));
				}
				LA15: ;
				{
					Tnode225809* LOC24;
					if (!!(((sub) && (sub)->Sup.len == 0))) goto LA22;
					LOC24 = 0;
					LOC24 = newstrnode_226643(((NU8) 20), sub);
					addson_227819(result, LOC24);
				}
				LA22: ;
				{
					if (!(b < ((NI) 0))) goto LA27;
					goto LA13;
				}
				LA27: ;
				c = nsuFindChar(str, marker, ((NI) ((NI)(b + ((NI) 1)))));
				{
					if (!(c < ((NI) 0))) goto LA31;
					sub = copyStr(str, (NI)(b + ((NI) 1)));
				}
				goto LA29;
				LA31: ;
				{
					sub = copyStrLast(str, (NI)(b + ((NI) 1)), (NI)(c - ((NI) 1)));
				}
				LA29: ;
				{
					Tsym225841* e;
					Tident198021* LOC38;
					if (!!(((sub) && (sub)->Sup.len == 0))) goto LA36;
					LOC38 = 0;
					LOC38 = getident_198463(sub);
					e = searchinscopes_286205(con, LOC38);
					{
						Tnode225809* LOC47;
						if (!!((e == NIM_NIL))) goto LA41;
						{
							if (!((*e).kind == ((NU8) 23))) goto LA45;
							loadstub_271052(e);
						}
						LA45: ;
						LOC47 = 0;
						LOC47 = newsymnode_227325(e);
						addson_227819(result, LOC47);
					}
					goto LA39;
					LA41: ;
					{
						Tnode225809* LOC49;
						LOC49 = 0;
						LOC49 = newstrnode_226643(((NU8) 20), sub);
						addson_227819(result, LOC49);
					}
					LA39: ;
				}
				goto LA34;
				LA36: ;
				{
					NimStringDesc* LOC51;
					Tnode225809* LOC52;
					LOC51 = 0;
					LOC51 = nimCharToStr(marker);
					LOC52 = 0;
					LOC52 = newstrnode_226643(((NU8) 20), LOC51);
					addson_227819(result, LOC52);
				}
				LA34: ;
				{
					if (!(c < ((NI) 0))) goto LA55;
					goto LA13;
				}
				LA55: ;
				a = (NI)(c + ((NI) 1));
			}
		} LA13: ;
	}
	break;
	default:
	{
		Tnodeseq225803* LOC58;
		illformedastlocal_281250(n);
		LOC58 = 0;
		LOC58 = (Tnodeseq225803*) newSeq((&NTI225803), 0);
		result = newnode_227607(((NU8) 89), (*n).info, LOC58, NIM_NIL);
	}
	break;
	}
	}BeforeRet: ;
	return result;
}

N_NIMCALL(void, pragmaemit_298795)(Tcontext280023* c, Tnode225809* n) {
	Tnode225809* LOC1;
	LOC1 = 0;
	LOC1 = getstrlitnode_297465(c, n);
	asgnRefNoCycle((void**) (&(*n).kindU.S6.sons->data[((NI) 1)]), semasmoremit_298737(c, n, 96));
}

N_NIMCALL(void, pragmaunroll_298824)(Tcontext280023* c, Tnode225809* n) {
	{
		if (!((*(*c).p).nestedloopcounter <= ((NI) 0))) goto LA3;
		invalidpragma_297091(n);
	}
	goto LA1;
	LA3: ;
	{
		NI unrollfactor;
		if (!((*n).kind == ((NU8) 34))) goto LA6;
		unrollfactor = expectintlit_297501(c, n);
		{
			if (!((NU64)(unrollfactor) < (NU64)(((NI) 32)))) goto LA10;
			asgnRefNoCycle((void**) (&(*n).kindU.S6.sons->data[((NI) 1)]), newintnode_226607(((NU8) 6), ((NI64) (unrollfactor))));
		}
		goto LA8;
		LA10: ;
		{
			invalidpragma_297091(n);
		}
		LA8: ;
	}
	goto LA1;
	LA6: ;
	LA1: ;
}

N_NIMCALL(void, pragmaline_298854)(Tcontext280023* c, Tnode225809* n) {
	{
		Tnode225809* a;
		if (!((*n).kind == ((NU8) 34))) goto LA3;
		asgnRefNoCycle((void**) (&(*n).kindU.S6.sons->data[((NI) 1)]), (*c).semconstexpr(c, (*n).kindU.S6.sons->data[((NI) 1)]));
		a = (*n).kindU.S6.sons->data[((NI) 1)];
		{
			Tnode225809* x;
			Tnode225809* y;
			if (!((*a).kind == ((NU8) 37))) goto LA7;
			x = (*a).kindU.S6.sons->data[((NI) 0)];
			y = (*a).kindU.S6.sons->data[((NI) 1)];
			{
				if (!((*x).kind == ((NU8) 34))) goto LA11;
				x = (*x).kindU.S6.sons->data[((NI) 1)];
			}
			LA11: ;
			{
				if (!((*y).kind == ((NU8) 34))) goto LA15;
				y = (*y).kindU.S6.sons->data[((NI) 1)];
			}
			LA15: ;
			{
				if (!!(((*x).kind == ((NU8) 20)))) goto LA19;
				localerror_196128((*n).info, ((NU16) 6), ((NimStringDesc*) &TMP3218));
			}
			goto LA17;
			LA19: ;
			{
				if (!!(((*y).kind == ((NU8) 6)))) goto LA22;
				localerror_196128((*n).info, ((NU16) 7), ((NimStringDesc*) &TMP3218));
			}
			goto LA17;
			LA22: ;
			{
				(*n).info.fileindex = fileinfoidx_191253((*x).kindU.S3.strval);
				(*n).info.line = ((NI16) ((*y).kindU.S1.intval));
			}
			LA17: ;
		}
		goto LA5;
		LA7: ;
		{
			localerror_196128((*n).info, ((NU16) 193), ((NimStringDesc*) &TMP3233));
		}
		LA5: ;
	}
	goto LA1;
	LA3: ;
	{
		(*n).info = getinfocontext_191623(((NI) -1));
	}
	LA1: ;
}

N_NIMCALL(void, processexc_299012)(Tcontext280023* c, Tnode225809* x) {
	Ttype225847* t;
	Ttype225847* LOC1;
	LOC1 = 0;
	LOC1 = (*c).semtypenode(c, x, NIM_NIL);
	t = skiptypes_229167(LOC1, IL64(211106247215360));
	{
		if (!!(((*t).kind == ((NU8) 17)))) goto LA4;
		localerror_196128((*x).info, ((NU16) 4), ((NimStringDesc*) &TMP3234));
	}
	LA4: ;
	asgnRefNoCycle((void**) (&(*x).typ), t);
}

N_NIMCALL(void, pragmaraisesortags_299008)(Tcontext280023* c, Tnode225809* n) {
	{
		Tnode225809* it;
		if (!((*n).kind == ((NU8) 34))) goto LA3;
		it = (*n).kindU.S6.sons->data[((NI) 1)];
		{
			if (!!(((*it).kind == ((NU8) 39) || (*it).kind == ((NU8) 41)))) goto LA7;
			processexc_299012(c, it);
		}
		goto LA5;
		LA7: ;
		{
			{
				Tnode225809* e_299048;
				e_299048 = 0;
				{
					NI i_299053;
					NI HEX3Atmp_299055;
					NI LOC12;
					NI res_299057;
					i_299053 = 0;
					HEX3Atmp_299055 = 0;
					LOC12 = 0;
					LOC12 = len_226098(it);
					HEX3Atmp_299055 = (LOC12 - 1);
					res_299057 = ((NI) 0);
					{
						while (1) {
							if (!(res_299057 <= HEX3Atmp_299055)) goto LA14;
							i_299053 = res_299057;
							e_299048 = (*it).kindU.S6.sons->data[i_299053];
							processexc_299012(c, e_299048);
							res_299057 += ((NI) 1);
						} LA14: ;
					}
				}
			}
		}
		LA5: ;
	}
	goto LA1;
	LA3: ;
	{
		invalidpragma_297091(n);
	}
	LA1: ;
}

N_NIMCALL(void, pragmalockstmt_299081)(Tcontext280023* c, Tnode225809* it) {
	{
		if (!!(((*it).kind == ((NU8) 34)))) goto LA3;
		invalidpragma_297091(it);
	}
	goto LA1;
	LA3: ;
	{
		Tnode225809* n;
		n = HEX5BHEX5D_226244(it, ((NI) 1));
		{
			if (!!(((*n).kind == ((NU8) 41)))) goto LA8;
			localerror_196128((*n).info, ((NU16) 4), ((NimStringDesc*) &TMP3235));
		}
		goto LA6;
		LA8: ;
		{
			{
				NI i_299123;
				NI HEX3Atmp_299127;
				NI LOC12;
				NI res_299130;
				i_299123 = 0;
				HEX3Atmp_299127 = 0;
				LOC12 = 0;
				LOC12 = len_226098(n);
				HEX3Atmp_299127 = (LOC12 - 1);
				res_299130 = ((NI) 0);
				{
					while (1) {
						if (!(res_299130 <= HEX3Atmp_299127)) goto LA14;
						i_299123 = res_299130;
						asgnRefNoCycle((void**) (&(*n).kindU.S6.sons->data[i_299123]), (*c).semexpr(c, (*n).kindU.S6.sons->data[i_299123], 0));
						res_299130 += ((NI) 1);
					} LA14: ;
				}
			}
		}
		LA6: ;
	}
	LA1: ;
}

N_NIMCALL(NI16, pragmalocks_299149)(Tcontext280023* c, Tnode225809* it) {
	NI16 result;
	result = 0;
	{
		if (!!(((*it).kind == ((NU8) 34)))) goto LA3;
		invalidpragma_297091(it);
	}
	goto LA1;
	LA3: ;
	{
		{
			Tnode225809* LOC8;
			NI x;
			LOC8 = 0;
			LOC8 = HEX5BHEX5D_226244(it, ((NI) 1));
			if (!!(((*LOC8).kind == ((NU8) 23)))) goto LA9;
			x = expectintlit_297501(c, it);
			{
				NIM_BOOL LOC13;
				Tnode225809* LOC17;
				LOC13 = 0;
				LOC13 = (x < ((NI) 0));
				if (LOC13) goto LA14;
				LOC13 = (((NI) 1000) < x);
				LA14: ;
				if (!LOC13) goto LA15;
				LOC17 = 0;
				LOC17 = HEX5BHEX5D_226244(it, ((NI) 1));
				localerror_196139((*LOC17).info, ((NimStringDesc*) &TMP3236));
			}
			goto LA11;
			LA15: ;
			{
				result = ((NI16) (x));
			}
			LA11: ;
		}
		LA9: ;
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tsym225841*, pragmaguard_299332)(Tcontext280023* c, Tnode225809* it, NU8 kind) {
	Tsym225841* result;
	Tnode225809* n;
{	result = 0;
	{
		if (!!(((*it).kind == ((NU8) 34)))) goto LA3;
		invalidpragma_297091(it);
		goto BeforeRet;
	}
	LA3: ;
	n = HEX5BHEX5D_226244(it, ((NI) 1));
	{
		if (!((*n).kind == ((NU8) 3))) goto LA7;
		result = (*n).kindU.S4.sym;
	}
	goto LA5;
	LA7: ;
	{
		if (!(kind == ((NU8) 19))) goto LA10;
		result = qualifiedlookup_286864(c, n, 0);
		{
			NIM_BOOL LOC14;
			NIM_BOOL LOC15;
			Tident198021* 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_286010(n);
			result = newsym_226655(((NU8) 0), LOC20, NIM_NIL, (*n).info);
		}
		LA18: ;
	}
	goto LA5;
	LA10: ;
	{
		result = qualifiedlookup_286864(c, n, 2);
	}
	LA5: ;
	}BeforeRet: ;
	return result;
}

static N_INLINE(NIM_BOOL, istoplevel_281280)(Tcontext280023* c) {
	NIM_BOOL result;
	result = 0;
	result = ((*(*c).currentscope).depthlevel <= ((NI) 2));
	return result;
}

N_NIMCALL(NIM_BOOL, singlepragma_299406)(Tcontext280023* c, Tsym225841* sym, Tnode225809* n, NI i, Tspecialwords206012 validpragmas) {
	NIM_BOOL result;
	Tnode225809* it;
	Tnode225809* key;
	Tident198021* ident;
	Tsym225841* userpragma;
{	result = 0;
	it = (*n).kindU.S6.sons->data[i];
	{
		if (!((*it).kind == ((NU8) 34))) goto LA3;
		key = (*it).kindU.S6.sons->data[((NI) 0)];
	}
	goto LA1;
	LA3: ;
	{
		key = it;
	}
	LA1: ;
	{
		if (!((*key).kind == ((NU8) 42))) goto LA8;
		processnote_298284(c, it);
		goto BeforeRet;
	}
	LA8: ;
	ident = considerquotedident_286010(key);
	userpragma = strtableget_233111((*c).userpragmas, ident);
	{
		if (!!((userpragma == NIM_NIL))) goto LA12;
		(*c).instcounter += ((NI) 1);
		{
			if (!(((NI) 100) < (*c).instcounter)) goto LA16;
			globalerror_196107((*it).info, ((NU16) 26), (*(*userpragma).name).s);
		}
		LA16: ;
		pragma_297082(c, sym, (*userpragma).ast, validpragmas);
		asgnRefNoCycle((void**) (&(*n).kindU.S6.sons->data[i]), (*userpragma).ast);
		(*c).instcounter -= ((NI) 1);
	}
	goto LA10;
	LA12: ;
	{
		NU16 k;
		k = whichkeyword_206390(ident);
		{
			if (!((validpragmas[k/8] &(1<<(k%8)))!=0)) goto LA21;
			switch (k) {
			case ((NU16) 93):
			{
				NimStringDesc* LOC24;
				LOC24 = 0;
				LOC24 = getoptionalstr_297527(c, it, ((NimStringDesc*) &TMP3219));
				makeexternexport_297277(sym, LOC24, (*it).info);
				(*sym).flags |= ((NU32)1)<<((((NU8) 0))%(sizeof(NU32)*8));
			}
			break;
			case ((NU16) 92):
			{
				NimStringDesc* LOC26;
				LOC26 = 0;
				LOC26 = getoptionalstr_297527(c, it, ((NimStringDesc*) &TMP3219));
				makeexternimport_297223(sym, LOC26);
			}
			break;
			case ((NU16) 91):
			{
				NimStringDesc* LOC28;
				LOC28 = 0;
				LOC28 = getoptionalstr_297527(c, it, ((NimStringDesc*) &TMP3219));
				processimportcompilerproc_297299(sym, LOC28);
			}
			break;
			case ((NU16) 208):
			{
				NimStringDesc* LOC30;
				LOC30 = 0;
				LOC30 = expectstrlit_297489(c, it);
				setexternname_297190(sym, LOC30);
			}
			break;
			case ((NU16) 84):
			{
				{
					if (!((393216 &(1<<(((*sym).kind)&31)))!=0)) goto LA34;
					(*sym).flags |= ((NU32)1)<<((((NU8) 25))%(sizeof(NU32)*8));
				}
				goto LA32;
				LA34: ;
				{
					invalidpragma_297091(it);
				}
				LA32: ;
			}
			break;
			case ((NU16) 186):
			{
				{
					if (!((*sym).kind == ((NU8) 18))) goto LA40;
					(*sym).flags |= ((NU32)1)<<((((NU8) 9))%(sizeof(NU32)*8));
				}
				goto LA38;
				LA40: ;
				{
					invalidpragma_297091(it);
				}
				LA38: ;
			}
			break;
			case ((NU16) 89):
			{
				NimStringDesc* LOC44;
				LOC44 = 0;
				LOC44 = getoptionalstr_297527(c, it, ((NimStringDesc*) &TMP3219));
				processimportcpp_297342(sym, LOC44);
			}
			break;
			case ((NU16) 90):
			{
				NimStringDesc* LOC46;
				LOC46 = 0;
				LOC46 = getoptionalstr_297527(c, it, ((NimStringDesc*) &TMP3219));
				processimportobjc_297398(sym, LOC46);
			}
			break;
			case ((NU16) 97):
			{
				NI align;
				{
					if (!((*sym).typ == NIM_NIL)) goto LA50;
					invalidpragma_297091(it);
				}
				LA50: ;
				align = expectintlit_297501(c, it);
				{
					NIM_BOOL LOC54;
					NIM_BOOL LOC55;
					NIM_BOOL LOC56;
					LOC54 = 0;
					LOC55 = 0;
					LOC56 = 0;
					LOC56 = ispoweroftwo_162638(align);
					LOC55 = !(LOC56);
					if (!(LOC55)) goto LA57;
					LOC55 = !((align == ((NI) 0)));
					LA57: ;
					LOC54 = LOC55;
					if (LOC54) goto LA58;
					LOC54 = ((NU64)(IL64(32767)) < (NU64)(((NI64) (align))));
					LA58: ;
					if (!LOC54) goto LA59;
					localerror_196128((*it).info, ((NU16) 102), ((NimStringDesc*) &TMP3218));
				}
				goto LA52;
				LA59: ;
				{
					(*(*sym).typ).align = ((NI16) (align));
				}
				LA52: ;
			}
			break;
			case ((NU16) 159):
			{
				NI size;
				{
					if (!((*sym).typ == NIM_NIL)) goto LA65;
					invalidpragma_297091(it);
				}
				LA65: ;
				size = expectintlit_297501(c, it);
				{
					NIM_BOOL LOC69;
					NIM_BOOL LOC70;
					NIM_BOOL LOC71;
					LOC69 = 0;
					LOC70 = 0;
					LOC71 = 0;
					LOC71 = ispoweroftwo_162638(size);
					LOC70 = !(LOC71);
					if (LOC70) goto LA72;
					LOC70 = (size <= ((NI) 0));
					LA72: ;
					LOC69 = LOC70;
					if (LOC69) goto LA73;
					LOC69 = (((NI) 8) < size);
					LA73: ;
					if (!LOC69) goto LA74;
					localerror_196128((*it).info, ((NU16) 102), ((NimStringDesc*) &TMP3218));
				}
				goto LA67;
				LA74: ;
				{
					(*(*sym).typ).size = ((NI64) (size));
				}
				LA67: ;
			}
			break;
			case ((NU16) 98):
			{
				noval_298806(it);
				(*sym).loc.flags |= ((NU16)1)<<((((NU8) 3))%(sizeof(NU16)*8));
			}
			break;
			case ((NU16) 99):
			case ((NU16) 190):
			{
				noval_298806(it);
				{
					if (!!((sym == NIM_NIL))) goto LA81;
					{
						NIM_BOOL LOC85;
						LOC85 = 0;
						LOC85 = (k == ((NU16) 99));
						if (!(LOC85)) goto LA86;
						LOC85 = ((520192 &(1<<(((*sym).kind)&31)))!=0);
						LA86: ;
						if (!LOC85) goto LA87;
						invalidpragma_297091(it);
					}
					goto LA83;
					LA87: ;
					{
						(*sym).flags |= ((NU32)1)<<((((NU8) 9))%(sizeof(NU32)*8));
					}
					LA83: ;
				}
				LA81: ;
			}
			break;
			case ((NU16) 241):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 7))%(sizeof(NU32)*8));
			}
			break;
			case ((NU16) 222):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 8))%(sizeof(NU32)*8));
			}
			break;
			case ((NU16) 188):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 22))%(sizeof(NU32)*8));
			}
			break;
			case ((NU16) 162):
			{
				pragmadeadcodeelim_297971(c, it);
			}
			break;
			case ((NU16) 164):
			{
				pragmanoforward_298003(c, it);
			}
			break;
			case ((NU16) 78):
			{
				processmagic_297560(c, it, sym);
			}
			break;
			case ((NU16) 167):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 23))%(sizeof(NU32)*8));
				(*sym).loc.flags |= ((NU16)1)<<((((NU8) 3))%(sizeof(NU16)*8));
			}
			break;
			case ((NU16) 192):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 3))%(sizeof(NU32)*8));
				(*sym).flags |= ((NU32)1)<<((((NU8) 9))%(sizeof(NU32)*8));
			}
			break;
			case ((NU16) 105):
			{
				noval_298806(it);
			}
			break;
			case ((NU16) 85):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 24))%(sizeof(NU32)*8));
			}
			break;
			case ((NU16) 101):
			{
				Tlib225827* lib;
				Tnode225809* LOC101;
				LOC101 = 0;
				LOC101 = getstrlitnode_297465(c, it);
				lib = getlib_298067(c, ((NU8) 0), LOC101);
				addtolib_280206(lib, sym);
				(*sym).flags |= ((NU32)1)<<((((NU8) 5))%(sizeof(NU32)*8));
				(*sym).loc.flags |= ((NU16)1)<<((((NU8) 6))%(sizeof(NU16)*8));
				(*sym).loc.flags |= ((NU16)1)<<((((NU8) 3))%(sizeof(NU16)*8));
				{
					if (!((*sym).loc.r == NIM_NIL)) goto LA104;
					asgnRefNoCycle((void**) (&(*sym).loc.r), rope_176322((*(*sym).name).s));
				}
				LA104: ;
			}
			break;
			case ((NU16) 86):
			{
				(*sym).flags |= ((NU32)1)<<((((NU8) 30))%(sizeof(NU32)*8));
				{
					NimStringDesc* LOC109;
					LOC109 = 0;
					LOC109 = nsuNormalize((*(*sym).name).s);
					if (!!(eqStrings(LOC109, ((NimStringDesc*) &TMP3220)))) goto LA110;
					localerror_196128((*n).info, ((NU16) 4), ((NimStringDesc*) &TMP3221));
				}
				LA110: ;
			}
			break;
			case ((NU16) 88):
			{
				(*sym).flags |= ((NU32)1)<<((((NU8) 30))%(sizeof(NU32)*8));
			}
			break;
			case ((NU16) 102):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 10))%(sizeof(NU32)*8));
				{
					if (!!(((*sym).typ == NIM_NIL))) goto LA116;
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 1))%(sizeof(NU32)*8));
				}
				LA116: ;
			}
			break;
			case ((NU16) 100):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 11))%(sizeof(NU32)*8));
			}
			break;
			case ((NU16) 104):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 14))%(sizeof(NU32)*8));
			}
			break;
			case ((NU16) 107):
			{
				processdynlib_298186(c, it, sym);
			}
			break;
			case ((NU16) 108):
			{
				noval_298806(it);
				{
					if (!!((((*sym).flags &(1<<((((NU8) 2))&31)))!=0))) goto LA124;
					markcompilerproc_299220(sym);
				}
				LA124: ;
			}
			break;
			case ((NU16) 109):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 17))%(sizeof(NU32)*8));
			}
			break;
			case ((NU16) 126):
			{
				{
					if (!((*it).kind == ((NU8) 34))) goto LA130;
					deprecatedstmt_299252(c, it);
				}
				goto LA128;
				LA130: ;
				{
					if (!!((sym == NIM_NIL))) goto LA133;
					(*sym).flags |= ((NU32)1)<<((((NU8) 19))%(sizeof(NU32)*8));
				}
				goto LA128;
				LA133: ;
				{
					(*(*c).module).flags |= ((NU32)1)<<((((NU8) 19))%(sizeof(NU32)*8));
				}
				LA128: ;
			}
			break;
			case ((NU16) 127):
			{
				noval_298806(it);
				{
					if (!((*sym).typ == NIM_NIL)) goto LA139;
					invalidpragma_297091(it);
				}
				goto LA137;
				LA139: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 0))%(sizeof(NU32)*8));
				}
				LA137: ;
			}
			break;
			case ((NU16) 171):
			{
				{
					if (!((*sym).kind == ((NU8) 7))) goto LA145;
					typeborrow_299179(sym, it);
				}
				goto LA143;
				LA145: ;
				{
					noval_298806(it);
					(*sym).flags |= ((NU32)1)<<((((NU8) 26))%(sizeof(NU32)*8));
				}
				LA143: ;
			}
			break;
			case ((NU16) 80):
			{
				noval_298806(it);
				{
					if (!((*sym).typ == NIM_NIL)) goto LA151;
					invalidpragma_297091(it);
				}
				goto LA149;
				LA151: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 2))%(sizeof(NU32)*8));
				}
				LA149: ;
			}
			break;
			case ((NU16) 187):
			{
				noval_298806(it);
				{
					NIM_BOOL LOC157;
					LOC157 = 0;
					LOC157 = ((*sym).typ == NIM_NIL);
					if (LOC157) goto LA158;
					LOC157 = (((*(*sym).typ).flags &(1<<((((NU8) 2))&31)))!=0);
					LA158: ;
					if (!LOC157) goto LA159;
					invalidpragma_297091(it);
				}
				goto LA155;
				LA159: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 3))%(sizeof(NU32)*8));
				}
				LA155: ;
			}
			break;
			case ((NU16) 176):
			{
				noval_298806(it);
				{
					if (!((*sym).typ == NIM_NIL)) goto LA165;
					invalidpragma_297091(it);
				}
				goto LA163;
				LA165: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 4))%(sizeof(NU32)*8));
				}
				LA163: ;
			}
			break;
			case ((NU16) 177):
			{
				noval_298806(it);
				{
					if (!((*sym).typ == NIM_NIL)) goto LA171;
					invalidpragma_297091(it);
				}
				goto LA169;
				LA171: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 6))%(sizeof(NU32)*8));
				}
				LA169: ;
			}
			break;
			case ((NU16) 79):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 22))%(sizeof(NU32)*8));
				(*sym).flags |= ((NU32)1)<<((((NU8) 17))%(sizeof(NU32)*8));
				{
					if (!!(((*sym).typ == NIM_NIL))) goto LA177;
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 7))%(sizeof(NU32)*8));
				}
				LA177: ;
			}
			break;
			case ((NU16) 103):
			{
				noval_298806(it);
				{
					if (!!(((*sym).kind == ((NU8) 7)))) goto LA182;
					(*sym).flags |= ((NU32)1)<<((((NU8) 22))%(sizeof(NU32)*8));
				}
				LA182: ;
				{
					if (!!(((*sym).typ == NIM_NIL))) goto LA186;
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 7))%(sizeof(NU32)*8));
				}
				goto LA184;
				LA186: ;
				{
					invalidpragma_297091(it);
				}
				LA184: ;
			}
			break;
			case ((NU16) 237):
			{
				noval_298806(it);
				{
					if (!((*sym).typ == NIM_NIL)) goto LA192;
					invalidpragma_297091(it);
				}
				goto LA190;
				LA192: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 21))%(sizeof(NU32)*8));
				}
				LA190: ;
			}
			break;
			case ((NU16) 114):
			{
				NimStringDesc* LOC196;
				LOC196 = 0;
				LOC196 = expectstrlit_297489(c, it);
				message_196161((*it).info, ((NU16) 290), LOC196);
			}
			break;
			case ((NU16) 113):
			{
				NimStringDesc* LOC198;
				LOC198 = 0;
				LOC198 = expectstrlit_297489(c, it);
				message_196161((*it).info, ((NU16) 267), LOC198);
			}
			break;
			case ((NU16) 112):
			{
				{
					NIM_BOOL LOC202;
					LOC202 = 0;
					LOC202 = !((sym == NIM_NIL));
					if (!(LOC202)) goto LA203;
					LOC202 = isroutine_230764(sym);
					LA203: ;
					if (!LOC202) goto LA204;
					noval_298806(it);
					(*sym).flags |= ((NU32)1)<<((((NU8) 20))%(sizeof(NU32)*8));
				}
				goto LA200;
				LA204: ;
				{
					NimStringDesc* LOC207;
					LOC207 = 0;
					LOC207 = expectstrlit_297489(c, it);
					localerror_196128((*it).info, ((NU16) 236), LOC207);
				}
				LA200: ;
			}
			break;
			case ((NU16) 111):
			{
				NimStringDesc* LOC209;
				LOC209 = 0;
				LOC209 = expectstrlit_297489(c, it);
				fatal_196096((*it).info, ((NU16) 236), LOC209);
			}
			break;
			case ((NU16) 118):
			{
				processdefine_298611(c, it);
			}
			break;
			case ((NU16) 119):
			{
				processundef_298642(c, it);
			}
			break;
			case ((NU16) 124):
			{
				processcompile_298680(c, it);
			}
			break;
			case ((NU16) 123):
			{
				processcommonlink_298693(c, it, ((NU8) 0));
			}
			break;
			case ((NU16) 125):
			{
				processcommonlink_298693(c, it, ((NU8) 1));
			}
			break;
			case ((NU16) 170):
			{
				NimStringDesc* LOC216;
				LOC216 = 0;
				LOC216 = expectstrlit_297489(c, it);
				addlinkoption_204056(LOC216);
			}
			break;
			case ((NU16) 169):
			{
				NimStringDesc* LOC218;
				LOC218 = 0;
				LOC218 = expectstrlit_297489(c, it);
				addcompileoption_204066(LOC218);
			}
			break;
			case ((NU16) 129):
			{
				pragmabreakpoint_298706(c, it);
			}
			break;
			case ((NU16) 174):
			{
				pragmawatchpoint_298716(c, it);
			}
			break;
			case ((NU16) 116):
			{
				processpush_298534(c, n, (NI)(i + ((NI) 1)));
				result = NIM_TRUE;
			}
			break;
			case ((NU16) 117):
			{
				processpop_298600(c, it);
			}
			break;
			case ((NU16) 166):
			{
				processpragma_298930(c, n, i);
				result = NIM_TRUE;
			}
			break;
			case ((NU16) 172):
			{
				noval_298806(it);
				{
					if (!!((sym == NIM_NIL))) goto LA227;
					(*sym).flags |= ((NU32)1)<<((((NU8) 29))%(sizeof(NU32)*8));
				}
				LA227: ;
			}
			break;
			case ((NU16) 168):
			{
				noval_298806(it);
				{
					if (!!((sym == NIM_NIL))) goto LA232;
					(*sym).flags |= ((NU32)1)<<((((NU8) 12))%(sizeof(NU32)*8));
				}
				LA232: ;
			}
			break;
			case ((NU16) 193):
			{
				processcodegendecl_297548(c, it, sym);
			}
			break;
			case ((NU16) 143):
			case ((NU16) 82):
			case ((NU16) 173):
			case ((NU16) 144):
			case ((NU16) 145):
			case ((NU16) 146):
			case ((NU16) 147):
			case ((NU16) 151):
			case ((NU16) 153):
			case ((NU16) 154):
			case ((NU16) 120):
			case ((NU16) 121):
			case ((NU16) 122):
			case ((NU16) 155):
			case ((NU16) 128):
			case ((NU16) 130):
			case ((NU16) 81):
			case ((NU16) 148):
			case ((NU16) 149):
			case ((NU16) 150):
			case ((NU16) 152):
			{
				{
					NIM_BOOL LOC238;
					LOC238 = 0;
					LOC238 = processoption_298399(c, it);
					if (!LOC238) goto LA239;
					localerror_196128((*it).info, ((NU16) 153), ((NimStringDesc*) &TMP3218));
				}
				LA239: ;
			}
			break;
			case ((NU16) 131) ... ((NU16) 140):
			{
				{
					if (!((*sym).typ == NIM_NIL)) goto LA244;
					invalidpragma_297091(it);
				}
				goto LA242;
				LA244: ;
				{
					(*(*sym).typ).callconv = wordtocallconv_297866(k);
				}
				LA242: ;
			}
			break;
			case ((NU16) 189):
			{
				pragmaemit_298795(c, it);
			}
			break;
			case ((NU16) 178):
			{
				pragmaunroll_298824(c, it);
			}
			break;
			case ((NU16) 179):
			case ((NU16) 180):
			{
				noval_298806(it);
			}
			break;
			case ((NU16) 160):
			{
				noval_298806(it);
			}
			break;
			case ((NU16) 95):
			{
				noval_298806(it);
				{
					if (!((*sym).typ == NIM_NIL)) goto LA254;
					invalidpragma_297091(it);
				}
				goto LA252;
				LA254: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 0))%(sizeof(NU32)*8));
				}
				LA252: ;
			}
			break;
			case ((NU16) 194):
			{
				noval_298806(it);
				{
					if (!((*sym).typ == NIM_NIL)) goto LA260;
					invalidpragma_297091(it);
				}
				goto LA258;
				LA260: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 0))%(sizeof(NU32)*8));
				}
				LA258: ;
			}
			break;
			case ((NU16) 236):
			{
				noval_298806(it);
				{
					if (!((*sym).typ == NIM_NIL)) goto LA266;
					invalidpragma_297091(it);
				}
				goto LA264;
				LA266: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 1))%(sizeof(NU32)*8));
				}
				LA264: ;
			}
			break;
			case ((NU16) 96):
			{
				noval_298806(it);
				{
					if (!((*sym).typ == NIM_NIL)) goto LA272;
					invalidpragma_297091(it);
				}
				goto LA270;
				LA272: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 17))%(sizeof(NU32)*8));
				}
				LA270: ;
			}
			break;
			case ((NU16) 258):
			{
				noval_298806(it);
				{
					NIM_BOOL LOC278;
					LOC278 = 0;
					LOC278 = (sym == NIM_NIL);
					if (LOC278) goto LA279;
					LOC278 = ((*sym).typ == NIM_NIL);
					LA279: ;
					if (!LOC278) goto LA280;
					{
						NIM_BOOL LOC284;
						LOC284 = 0;
						LOC284 = processoption_298399(c, it);
						if (!LOC284) goto LA285;
						localerror_196128((*it).info, ((NU16) 153), ((NimStringDesc*) &TMP3218));
					}
					LA285: ;
				}
				goto LA276;
				LA280: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 13))%(sizeof(NU32)*8));
				}
				LA276: ;
			}
			break;
			case ((NU16) 257):
			{
				noval_298806(it);
				{
					NIM_BOOL LOC291;
					LOC291 = 0;
					LOC291 = !(((*sym).kind == ((NU8) 7)));
					if (LOC291) goto LA292;
					LOC291 = ((*sym).typ == NIM_NIL);
					LA292: ;
					if (!LOC291) goto LA293;
					invalidpragma_297091(it);
				}
				goto LA289;
				LA293: ;
				{
					(*(*sym).typ).flags |= ((NU32)1)<<((((NU8) 12))%(sizeof(NU32)*8));
				}
				LA289: ;
			}
			break;
			case ((NU16) 185):
			case ((NU16) 184):
			{
				noval_298806(it);
				{
					if (!(sym == NIM_NIL)) goto LA299;
					invalidpragma_297091(it);
				}
				LA299: ;
			}
			break;
			case ((NU16) 115):
			{
				pragmaline_298854(c, it);
			}
			break;
			case ((NU16) 156):
			case ((NU16) 161):
			{
				pragmaraisesortags_299008(c, it);
			}
			break;
			case ((NU16) 196):
			{
				{
					if (!(sym == NIM_NIL)) goto LA306;
					pragmalockstmt_299081(c, it);
				}
				goto LA304;
				LA306: ;
				{
					if (!((*sym).typ == NIM_NIL)) goto LA309;
					invalidpragma_297091(it);
				}
				goto LA304;
				LA309: ;
				{
					(*(*sym).typ).locklevel = pragmalocks_299149(c, it);
				}
				LA304: ;
			}
			break;
			case ((NU16) 260):
			{
				{
					NIM_BOOL LOC315;
					NIM_BOOL LOC316;
					LOC315 = 0;
					LOC316 = 0;
					LOC316 = (sym == NIM_NIL);
					if (LOC316) goto LA317;
					LOC316 = !(((*sym).kind == ((NU8) 19)));
					LA317: ;
					LOC315 = LOC316;
					if (LOC315) goto LA318;
					LOC315 = !(((*it).kind == ((NU8) 34)));
					LA318: ;
					if (!LOC315) goto LA319;
					invalidpragma_297091(it);
				}
				goto LA313;
				LA319: ;
				{
					(*sym).kindU.S4.bitsize = expectintlit_297501(c, it);
				}
				LA313: ;
			}
			break;
			case ((NU16) 195):
			{
				{
					NIM_BOOL LOC325;
					LOC325 = 0;
					LOC325 = (sym == NIM_NIL);
					if (LOC325) goto LA326;
					LOC325 = !(((525056 &(1<<(((*sym).kind)&31)))!=0));
					LA326: ;
					if (!LOC325) goto LA327;
					invalidpragma_297091(it);
				}
				goto LA323;
				LA327: ;
				{
					asgnRefNoCycle((void**) (&(*sym).kindU.S4.guard), pragmaguard_299332(c, it, (*sym).kind));
				}
				LA323: ;
			}
			break;
			case ((NU16) 212):
			{
				{
					NIM_BOOL LOC333;
					LOC333 = 0;
					LOC333 = (sym == NIM_NIL);
					if (LOC333) goto LA334;
					LOC333 = !(((768 &(1<<(((*sym).kind)&31)))!=0));
					LA334: ;
					if (!LOC333) goto LA335;
					invalidpragma_297091(it);
				}
				goto LA331;
				LA335: ;
				{
					(*sym).flags |= ((NU32)1)<<((((NU8) 30))%(sizeof(NU32)*8));
				}
				LA331: ;
			}
			break;
			case ((NU16) 94):
			{
				{
					if (!(sym == NIM_NIL)) goto LA341;
					invalidpragma_297091(it);
				}
				goto LA339;
				LA341: ;
				{
					registernimscriptsymbol_274876(sym);
				}
				LA339: ;
			}
			break;
			case ((NU16) 181):
			{
				{
					if (!!(((*it).kind == ((NU8) 34)))) goto LA347;
					localerror_196128((*it).info, ((NU16) 62), ((NimStringDesc*) &TMP3218));
				}
				goto LA345;
				LA347: ;
				{
					asgnRefNoCycle((void**) (&(*it).kindU.S6.sons->data[((NI) 1)]), (*c).semexpr(c, (*it).kindU.S6.sons->data[((NI) 1)], 0));
				}
				LA345: ;
			}
			break;
			case ((NU16) 182):
			{
				noval_298806(it);
				{
					NIM_BOOL LOC353;
					LOC353 = 0;
					LOC353 = istoplevel_281280(c);
					if (!LOC353) goto LA354;
					(*(*c).module).flags |= ((NU32)1)<<((((NU8) 30))%(sizeof(NU32)*8));
				}
				goto LA351;
				LA354: ;
				{
					localerror_196139((*it).info, ((NimStringDesc*) &TMP3241));
				}
				LA351: ;
			}
			break;
			case ((NU16) 165):
			{
				noval_298806(it);
			}
			break;
			case ((NU16) 110):
			{
				noval_298806(it);
				(*sym).flags |= ((NU32)1)<<((((NU8) 18))%(sizeof(NU32)*8));
			}
			break;
			default:
			{
				invalidpragma_297091(it);
			}
			break;
			}
		}
		goto LA19;
		LA21: ;
		{
			invalidpragma_297091(it);
		}
		LA19: ;
	}
	LA10: ;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(void, pragmarec_301263)(Tcontext280023* c, Tsym225841* sym, Tnode225809* n, Tspecialwords206012 validpragmas) {
{	{
		if (!(n == NIM_NIL)) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	{
		NI i_301293;
		NI HEX3Atmp_301306;
		NI LOC6;
		NI res_301309;
		i_301293 = 0;
		HEX3Atmp_301306 = 0;
		LOC6 = 0;
		LOC6 = sonslen_228387(n);
		HEX3Atmp_301306 = (NI)(LOC6 - ((NI) 1));
		res_301309 = ((NI) 0);
		{
			while (1) {
				if (!(res_301309 <= HEX3Atmp_301306)) goto LA8;
				i_301293 = res_301309;
				{
					if (!((*(*n).kindU.S6.sons->data[i_301293]).kind == ((NU8) 90))) goto LA11;
					pragmarec_301263(c, sym, (*n).kindU.S6.sons->data[i_301293], validpragmas);
				}
				goto LA9;
				LA11: ;
				{
					NIM_BOOL LOC14;
					LOC14 = 0;
					LOC14 = singlepragma_299406(c, sym, n, i_301293, validpragmas);
					if (!LOC14) goto LA15;
					goto LA5;
				}
				goto LA9;
				LA15: ;
				LA9: ;
				res_301309 += ((NI) 1);
			} LA8: ;
		}
	} LA5: ;
	}BeforeRet: ;
}

N_NIMCALL(void, implicitpragmas_300759)(Tcontext280023* c, Tsym225841* sym, Tnode225809* n, Tspecialwords206012 validpragmas) {
	{
		NIM_BOOL LOC3;
		Toptionentry280005* it;
		Tlib225827* lib;
		LOC3 = 0;
		LOC3 = !((sym == NIM_NIL));
		if (!(LOC3)) goto LA4;
		LOC3 = !(((*sym).kind == ((NU8) 6)));
		LA4: ;
		if (!LOC3) goto LA5;
		it = ((Toptionentry280005*) ((*c).optionstack.head));
		{
			while (1) {
				Tnode225809* o;
				if (!!((it == NIM_NIL))) goto LA8;
				o = (*it).otherpragmas;
				{
					if (!!(o == 0)) goto LA11;
					pushinfocontext_191578((*n).info);
					{
						NI i_300821;
						NI HEX3Atmp_300924;
						NI LOC14;
						NI res_300927;
						i_300821 = 0;
						HEX3Atmp_300924 = 0;
						LOC14 = 0;
						LOC14 = sonslen_228387(o);
						HEX3Atmp_300924 = (NI)(LOC14 - ((NI) 1));
						res_300927 = ((NI) 0);
						{
							while (1) {
								if (!(res_300927 <= HEX3Atmp_300924)) goto LA16;
								i_300821 = res_300927;
								{
									NIM_BOOL LOC19;
									LOC19 = 0;
									LOC19 = singlepragma_299406(c, sym, o, i_300821, validpragmas);
									if (!LOC19) goto LA20;
									internalerror_196172((*n).info, ((NimStringDesc*) &TMP3242));
								}
								LA20: ;
								res_300927 += ((NI) 1);
							} LA16: ;
						}
					}
					popinfocontext_191597();
				}
				LA11: ;
				it = ((Toptionentry280005*) ((*it).Sup.next));
			} LA8: ;
		}
		{
			NIM_BOOL LOC24;
			LOC24 = 0;
			LOC24 = (((*sym).loc.flags &(1<<((((NU8) 5))&15)))!=0);
			if (!(LOC24)) goto LA25;
			LOC24 = !((((*sym).flags &(1<<((((NU8) 6))&31)))!=0));
			LA25: ;
			if (!LOC24) goto LA26;
			localerror_196128((*n).info, ((NU16) 83), ((NimStringDesc*) &TMP3218));
		}
		LA26: ;
		lib = (*((Toptionentry280005*) ((*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 |= ((NU16)1)<<((((NU8) 4))%(sizeof(NU16)*8));
			addtolib_280206(lib, sym);
			{
				if (!((*sym).loc.r == NIM_NIL)) goto LA38;
				asgnRefNoCycle((void**) (&(*sym).loc.r), rope_176322((*(*sym).name).s));
			}
			LA38: ;
		}
		LA34: ;
	}
	LA5: ;
}

N_NIMCALL(void, pragma_297082)(Tcontext280023* c, Tsym225841* sym, Tnode225809* n, Tspecialwords206012 validpragmas) {
{	{
		if (!(n == NIM_NIL)) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	pragmarec_301263(c, sym, n, validpragmas);
	implicitpragmas_300759(c, sym, n, validpragmas);
	}BeforeRet: ;
}

N_NIMCALL(NIM_BOOL, haspragma_300952)(Tnode225809* n, NU16 pragma) {
	NIM_BOOL result;
{	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = (n == NIM_NIL);
		if (LOC3) goto LA4;
		LOC3 = HEX3DHEX3D_300972((*n).kindU.S6.sons, NIM_NIL);
		LA4: ;
		if (!LOC3) goto LA5;
		result = NIM_FALSE;
		goto BeforeRet;
	}
	LA5: ;
	{
		Tnode225809* p_301211;
		Tnodeseq225803* HEX3Atmp_301242;
		NI i_301245;
		NI L_301247;
		p_301211 = 0;
		HEX3Atmp_301242 = 0;
		HEX3Atmp_301242 = (*n).kindU.S6.sons;
		i_301245 = ((NI) 0);
		L_301247 = (HEX3Atmp_301242 ? HEX3Atmp_301242->Sup.len : 0);
		{
			while (1) {
				Tnode225809* key;
				if (!(i_301245 < L_301247)) goto LA9;
				p_301211 = HEX3Atmp_301242->data[i_301245];
				{
					if (!((*p_301211).kind == ((NU8) 34))) goto LA12;
					key = HEX5BHEX5D_226244(p_301211, ((NI) 0));
				}
				goto LA10;
				LA12: ;
				{
					key = p_301211;
				}
				LA10: ;
				{
					NIM_BOOL LOC17;
					NU16 LOC19;
					LOC17 = 0;
					LOC17 = ((*key).kind == ((NU8) 2));
					if (!(LOC17)) goto LA18;
					LOC19 = 0;
					LOC19 = whichkeyword_206390((*key).kindU.S5.ident);
					LOC17 = (LOC19 == pragma);
					LA18: ;
					if (!LOC17) goto LA20;
					result = NIM_TRUE;
					goto BeforeRet;
				}
				LA20: ;
				i_301245 += ((NI) 1);
			} LA9: ;
		}
	}
	result = NIM_FALSE;
	goto BeforeRet;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(NIM_CHAR, pragmaasm_297101)(Tcontext280023* c, Tnode225809* n) {
	NIM_CHAR result;
	result = 0;
	result = 0;
	{
		if (!!((n == NIM_NIL))) goto LA3;
		{
			NI i_297130;
			NI HEX3Atmp_297168;
			NI LOC6;
			NI res_297171;
			i_297130 = 0;
			HEX3Atmp_297168 = 0;
			LOC6 = 0;
			LOC6 = sonslen_228387(n);
			HEX3Atmp_297168 = (NI)(LOC6 - ((NI) 1));
			res_297171 = ((NI) 0);
			{
				while (1) {
					Tnode225809* it;
					if (!(res_297171 <= HEX3Atmp_297168)) goto LA8;
					i_297130 = res_297171;
					it = (*n).kindU.S6.sons->data[i_297130];
					{
						NIM_BOOL LOC11;
						NU16 LOC15;
						LOC11 = 0;
						LOC11 = ((*it).kind == ((NU8) 34));
						if (!(LOC11)) goto LA12;
						LOC11 = ((*(*it).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 2));
						LA12: ;
						if (!LOC11) goto LA13;
						LOC15 = 0;
						LOC15 = whichkeyword_206390((*(*it).kindU.S6.sons->data[((NI) 0)]).kindU.S5.ident);
						switch (LOC15) {
						case ((NU16) 175):
						{
							{
								if (!((*(*it).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 5))) goto LA19;
								result = ((NIM_CHAR) (((NI) (((NI) ((*(*it).kindU.S6.sons->data[((NI) 1)]).kindU.S1.intval))))));
							}
							goto LA17;
							LA19: ;
							{
								invalidpragma_297091(it);
							}
							LA17: ;
						}
						break;
						default:
						{
							invalidpragma_297091(it);
						}
						break;
						}
					}
					goto LA9;
					LA13: ;
					{
						invalidpragma_297091(it);
					}
					LA9: ;
					res_297171 += ((NI) 1);
				} LA8: ;
			}
		}
	}
	LA3: ;
	return result;
}
NIM_EXTERNC N_NOINLINE(void, compiler_pragmasInit000)(void) {
}

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

