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

#include "nimbase.h"
#include <string.h>
typedef struct Tglobals549027 Tglobals549027;
typedef struct Tpasscontext277005 Tpasscontext277005;
typedef struct Tsym225841 Tsym225841;
typedef struct Tjsgen549015 Tjsgen549015;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Cell49147 Cell49147;
typedef struct Cellseq49163 Cellseq49163;
typedef struct Gcheap51218 Gcheap51218;
typedef struct Gcstack51216 Gcstack51216;
typedef struct Cellset49159 Cellset49159;
typedef struct Pagedesc49155 Pagedesc49155;
typedef struct Memregion31090 Memregion31090;
typedef struct Smallchunk31042 Smallchunk31042;
typedef struct Llchunk31084 Llchunk31084;
typedef struct Bigchunk31044 Bigchunk31044;
typedef struct Intset31017 Intset31017;
typedef struct Trunk31013 Trunk31013;
typedef struct Avlnode31088 Avlnode31088;
typedef struct Gcstat51214 Gcstat51214;
typedef struct Ropeobj176009 Ropeobj176009;
typedef struct Tsymseq225811 Tsymseq225811;
typedef struct Intset222056 Intset222056;
typedef struct Trunk222052 Trunk222052;
typedef struct Trunkseq222054 Trunkseq222054;
typedef struct TGenericSeq TGenericSeq;
typedef struct Trodreader268030 Trodreader268030;
typedef struct NimStringDesc NimStringDesc;
typedef struct Tnode225809 Tnode225809;
typedef struct Tlineinfo190352 Tlineinfo190352;
typedef struct Ttype225847 Ttype225847;
typedef struct Tident198021 Tident198021;
typedef struct Tnodeseq225803 Tnodeseq225803;
typedef struct Tproc549033 Tproc549033;
typedef struct TY549071 TY549071;
typedef struct Tblock549025 Tblock549025;
typedef struct Tidobj198015 Tidobj198015;
typedef struct Ttypeseq225843 Ttypeseq225843;
typedef struct Tscope225835 Tscope225835;
typedef struct TY225944 TY225944;
typedef struct Tstrtable225813 Tstrtable225813;
typedef struct Tloc225823 Tloc225823;
typedef struct Tlib225827 Tlib225827;
typedef struct Tcompres549023 Tcompres549023;
typedef struct TY91159 TY91159;
typedef struct Basechunk31040 Basechunk31040;
typedef struct Freecell31032 Freecell31032;
typedef struct TY225932 TY225932;
typedef struct Tindex268028 Tindex268028;
typedef struct Tiitable233274 Tiitable233274;
typedef struct Tiipairseq233272 Tiipairseq233272;
typedef struct Table268063 Table268063;
typedef struct Keyvaluepairseq268066 Keyvaluepairseq268066;
typedef struct Memfile266208 Memfile266208;
typedef struct Tinstantiation225831 Tinstantiation225831;
typedef struct Tlistentry141022 Tlistentry141022;
typedef struct Tiipair233270 Tiipair233270;
typedef struct Keyvaluepair268069 Keyvaluepair268069;
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  Tpasscontext277005  {
  TNimObject Sup;
NIM_BOOL fromcache;
};
struct  Tjsgen549015  {
  Tpasscontext277005 Sup;
Tsym225841* module;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Cell49147  {
NI refcount;
TNimType* typ;
};
struct  Cellseq49163  {
NI len;
NI cap;
Cell49147** d;
};
struct  Cellset49159  {
NI counter;
NI max;
Pagedesc49155* head;
Pagedesc49155** data;
};
typedef Smallchunk31042* TY31105[512];
typedef Trunk31013* Trunkbuckets31015[256];
struct  Intset31017  {
Trunkbuckets31015 data;
};
struct  Memregion31090  {
NI minlargeobj;
NI maxlargeobj;
TY31105 freesmallchunks;
Llchunk31084* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk31044* freechunkslist;
Intset31017 chunkstarts;
Avlnode31088* root;
Avlnode31088* deleted;
Avlnode31088* last;
Avlnode31088* freeavlnodes;
};
struct  Gcstat51214  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Gcheap51218  {
Gcstack51216* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq49163 zct;
Cellseq49163 decstack;
Cellset49159 cycleroots;
Cellseq49163 tempstack;
NI recgclock;
Memregion31090 region;
Gcstat51214 stat;
};
struct  Intset222056  {
NI counter;
NI max;
Trunk222052* head;
Trunkseq222054* data;
};
struct  Tglobals549027  {
Ropeobj176009* typeinfo;
Ropeobj176009* code;
Tsymseq225811* forwarded;
Intset222056 generatedsyms;
Intset222056 typeinfogenerated;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tlineinfo190352  {
NI16 line;
NI16 col;
NI32 fileindex;
};
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;
};
struct  Tproc549033  {
Tnode225809* procdef;
Tsym225841* prc;
Ropeobj176009* locals;
Ropeobj176009* body;
NU32 options;
Tjsgen549015* module;
Tglobals549027* g;
NIM_BOOL beforeretneeded;
NU8 target;
NI unique;
TY549071* blocks;
Tproc549033* up;
};
struct  Tblock549025  {
NI id;
NIM_BOOL isloop;
};
struct  Tidobj198015  {
  TNimObject Sup;
NI id;
};
struct  Tstrtable225813  {
NI counter;
Tsymseq225811* data;
};
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;
};
typedef Ropeobj176009* TY543257[2];
struct  Tident198021  {
  Tidobj198015 Sup;
NimStringDesc* s;
Tident198021* next;
NI h;
};
struct  Tcompres549023  {
NU8 kind;
NU8 typ;
Ropeobj176009* res;
Ropeobj176009* address;
};
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;
};
typedef Ropeobj176009* TY176572[1];
struct TY91159 {
NimStringDesc* Field0;
NI Field1;
};
typedef Ropeobj176009* TY517247[6];
typedef Ropeobj176009* TY515577[3];
typedef Ropeobj176009* TY516876[5];
typedef NU8 TY483044[20];
typedef NimStringDesc* Tmagicfrmt550453[4];
typedef Tmagicfrmt550453 Tmagicops550455[80];
typedef Ropeobj176009* TY513664[1];
typedef Ropeobj176009* TY515574[4];
struct  Gcstack51216  {
Gcstack51216* prev;
Gcstack51216* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY31021[16];
struct  Pagedesc49155  {
Pagedesc49155* next;
NI key;
TY31021 bits;
};
struct  Basechunk31040  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk31042  {
  Basechunk31040 Sup;
Smallchunk31042* next;
Smallchunk31042* prev;
Freecell31032* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk31084  {
NI size;
NI acc;
Llchunk31084* next;
};
struct  Bigchunk31044  {
  Basechunk31040 Sup;
Bigchunk31044* next;
Bigchunk31044* prev;
NI align;
NF data;
};
struct  Trunk31013  {
Trunk31013* next;
NI key;
TY31021 bits;
};
typedef Avlnode31088* TY31095[2];
struct  Avlnode31088  {
TY31095 link;
NI key;
NI upperbound;
NI level;
};
struct  Ropeobj176009  {
  TNimObject Sup;
Ropeobj176009* left;
Ropeobj176009* right;
NI length;
NimStringDesc* data;
};
struct  Trunk222052  {
Trunk222052* next;
NI key;
TY31021 bits;
};
struct  Tiitable233274  {
NI counter;
Tiipairseq233272* data;
};
struct  Tindex268028  {
NI lastidxkey;
NI lastidxval;
Tiitable233274 tab;
NimStringDesc* r;
NI offset;
};
struct  Table268063  {
Keyvaluepairseq268066* data;
NI counter;
};
struct  Memfile266208  {
void* mem;
NI size;
int handle;
};
struct  Trodreader268030  {
  TNimObject Sup;
NI pos;
NCSTRING s;
NU32 options;
NU8 reason;
TY225932* moddeps;
TY225932* files;
NI dataidx;
NI convertersidx;
NI initidx;
NI interfidx;
NI compilerprocsidx;
NI methodsidx;
NimStringDesc* filename;
Tindex268028 index;
Tindex268028 imports;
NI readerindex;
NI line;
NI moduleid;
Table268063 syms;
Memfile266208 memfile;
Tsymseq225811* methods;
NimStringDesc* origfile;
NIM_BOOL inviewmode;
};
struct  Tscope225835  {
NI depthlevel;
Tstrtable225813 symbols;
Tnodeseq225803* usingsyms;
Tscope225835* parent;
};
struct  Tlistentry141022  {
  TNimObject Sup;
Tlistentry141022* prev;
Tlistentry141022* next;
};
struct  Tlib225827  {
  Tlistentry141022 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj176009* name;
Tnode225809* path;
};
struct  Freecell31032  {
Freecell31032* next;
NI zerofield;
};
struct  Tiipair233270  {
NI key;
NI val;
};
struct Keyvaluepair268069 {
NI Field0;
NI Field1;
Tsym225841* Field2;
};
struct  Tinstantiation225831  {
Tsym225841* sym;
Ttypeseq225843* concretetypes;
TY225932* usedby;
NI compilesid;
};
struct Tsymseq225811 {
  TGenericSeq Sup;
  Tsym225841* data[SEQ_DECL_SIZE];
};
struct TY549071 {
  TGenericSeq Sup;
  Tblock549025 data[SEQ_DECL_SIZE];
};
struct Tnodeseq225803 {
  TGenericSeq Sup;
  Tnode225809* data[SEQ_DECL_SIZE];
};
struct Trunkseq222054 {
  TGenericSeq Sup;
  Trunk222052* data[SEQ_DECL_SIZE];
};
struct Ttypeseq225843 {
  TGenericSeq Sup;
  Ttype225847* data[SEQ_DECL_SIZE];
};
struct TY225944 {
  TGenericSeq Sup;
  Tinstantiation225831* data[SEQ_DECL_SIZE];
};
struct TY225932 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct Tiipairseq233272 {
  TGenericSeq Sup;
  Tiipair233270 data[SEQ_DECL_SIZE];
};
struct Keyvaluepairseq268066 {
  TGenericSeq Sup;
  Keyvaluepair268069 data[SEQ_DECL_SIZE];
};
N_NIMCALL(Tjsgen549015*, newmodule_556986)(Tsym225841* module);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP4614)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
static N_INLINE(Cell49147*, usrtocell_52846)(void* usr);
static N_INLINE(void, rtladdzct_54404)(Cell49147* c);
N_NOINLINE(void, addzct_52817)(Cellseq49163* s, Cell49147* c);
N_NIMCALL(Tglobals549027*, newglobals_549084)(void);
N_NIMCALL(void, TMP4616)(void* p, NI op);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
N_NIMCALL(void, initintset_222927)(Intset222056* Result);
N_NIMCALL(void, internalerror_196191)(NimStringDesc* errmsg);
static N_INLINE(NIM_BOOL, skipcodegen_277083)(Tnode225809* n);
N_NIMCALL(void, internalerror_196172)(Tlineinfo190352 info, NimStringDesc* errmsg);
N_NIMCALL(Tproc549033*, newproc_549207)(Tglobals549027* globals, Tjsgen549015* module, Tnode225809* procdef, NU32 options);
N_NIMCALL(void, TMP4624)(void* p, NI op);
N_NIMCALL(void, TMP4625)(void* p, NI op);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_55222)(Cell49147* c);
static N_INLINE(NIM_BOOL, canbecycleroot_52867)(Cell49147* c);
static N_INLINE(void, rtladdcycleroot_53623)(Cell49147* c);
N_NOINLINE(void, incl_49865)(Cellset49159* s, Cell49147* cell);
static N_INLINE(void, decref_54804)(Cell49147* c);
N_NIMCALL(void, genmodule_557027)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, addf_177635)(Ropeobj176009** c, NimStringDesc* frmt, Ropeobj176009** args, NI argsLen0);
N_NIMCALL(Ropeobj176009*, makejsstring_549305)(NimStringDesc* s);
N_NIMCALL(Ropeobj176009*, rope_176322)(NimStringDesc* s);
N_NIMCALL(NimStringDesc*, nsuEscape)(NimStringDesc* s, NimStringDesc* prefix, NimStringDesc* suffix);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_NIMCALL(NimStringDesc*, tofilename_191655)(NI32 fileidx);
N_NIMCALL(void, genstmt_549817)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, gen_549808)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_NIMCALL(void, gensym_553692)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(NU8, maptype_549256)(Ttype225847* typ);
N_NIMCALL(Ttype225847*, skiptypes_229167)(Ttype225847* t, NU64 kinds);
N_NIMCALL(Ttype225847*, lastson_228426)(Ttype225847* n);
N_NIMCALL(Ropeobj176009*, HEX25_177236)(NimStringDesc* frmt, Ropeobj176009** args, NI argsLen0);
N_NIMCALL(Ropeobj176009*, HEX26_176471)(Ropeobj176009* a, NimStringDesc* b);
N_NIMCALL(NIM_BOOL, isindirect_553429)(Tsym225841* v);
N_NIMCALL(void, genconstant_549831)(Tproc549033* p, Tsym225841* c);
N_NIMCALL(NIM_BOOL, containsorincl_222898)(Intset222056* s, NI key);
N_NIMCALL(void, genvarinit_555109)(Tproc549033* p, Tsym225841* v, Tnode225809* n);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_NIMCALL(Ropeobj176009*, manglename_549277)(Tsym225841* s);
N_NIMCALL(NimStringDesc*, mangle_507910)(NimStringDesc* name);
N_NIMCALL(void, add_176545)(Ropeobj176009** a, NimStringDesc* b);
N_NIMCALL(void, add_176534)(Ropeobj176009** a, Ropeobj176009* b);
N_NIMCALL(Ropeobj176009*, rope_176407)(NI64 i);
N_NIMCALL(Ropeobj176009*, createvar_554813)(Tproc549033* p, Ttype225847* typ, NIM_BOOL indirect);
N_NIMCALL(Ropeobj176009*, puttoseq_554800)(NimStringDesc* s, NIM_BOOL indirect);
N_NIMCALL(NI64, lengthord_255016)(Ttype225847* t);
N_NIMCALL(Ttype225847*, elemtype_255522)(Ttype225847* t);
N_NIMCALL(void, usemagic_549838)(Tproc549033* p, NimStringDesc* name);
N_NIMCALL(Tsym225841*, getcompilerproc_274809)(NimStringDesc* name);
N_NIMCALL(NimStringDesc*, HEX24_196279)(TY91159 x);
N_NIMCALL(Ropeobj176009*, genproc_549824)(Tproc549033* oldproc, Tsym225841* prc);
N_NIMCALL(Ropeobj176009*, generateheader_552654)(Tproc549033* p, Ttype225847* typ);
N_NIMCALL(NI, sonslen_228387)(Tnode225809* n);
static N_INLINE(NIM_BOOL, iscompiletimeonly_264712)(Ttype225847* t);
N_NIMCALL(Tnode225809*, getbody_271062)(Tsym225841* s);
N_NIMCALL(Ropeobj176009*, genprocbody_556505)(Tproc549033* p, Tsym225841* prc);
static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c);
N_NIMCALL(void, globalerror_196107)(Tlineinfo190352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, rawmessage_194636)(NU16 msg, NimStringDesc* arg);
N_NIMCALL(Ropeobj176009*, gentypeinfo_549315)(Tproc549033* p, Ttype225847* typ);
N_NIMCALL(void, prepend_177206)(Ropeobj176009** a, Ropeobj176009* b);
N_NIMCALL(void, genenuminfo_549634)(Tproc549033* p, Ttype225847* typ, Ropeobj176009* name);
N_NIMCALL(void, genobjectinfo_549506)(Tproc549033* p, Ttype225847* typ, Ropeobj176009* name);
N_NIMCALL(Ropeobj176009*, genobjectfields_549319)(Tproc549033* p, Ttype225847* typ, Tnode225809* n);
N_NIMCALL(NI64, getordvalue_255178)(Tnode225809* n);
N_NIMCALL(Tnode225809*, lastson_228406)(Tnode225809* n);
N_NIMCALL(void, gentupleinfo_549608)(Tproc549033* p, Ttype225847* typ, Ropeobj176009* name);
N_NIMCALL(Ropeobj176009*, gentuplefields_549556)(Tproc549033* p, Ttype225847* typ);
N_NIMCALL(NI, len_228369)(Ttype225847* n);
N_NIMCALL(NimStringDesc*, reprEnum)(NI e_87059, TNimType* typ);
N_NIMCALL(NI, sonslen_228351)(Ttype225847* n);
N_NIMCALL(void, createobjinitlist_554902)(Tproc549033* p, Ttype225847* typ, Intset222056 excludedfieldids, Ropeobj176009** output);
N_NIMCALL(NI, len_176034)(Ropeobj176009* a);
N_NIMCALL(void, createrecordvaraux_554821)(Tproc549033* p, Tnode225809* rec, Intset222056 excludedfieldids, Ropeobj176009** output);
N_NIMCALL(NIM_BOOL, contains_222829)(Intset222056 s, NI key);
N_NIMCALL(NIM_BOOL, needsnocopy_552865)(Tnode225809* y);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(void, genprocforsymifneeded_553633)(Tproc549033* p, Tsym225841* s);
static N_INLINE(NIM_BOOL, isemptytype_230932)(Ttype225847* t);
N_NIMCALL(NimStringDesc*, tostrmaxprecision_232024)(NF f);
N_NIMCALL(void, genmagic_555908)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genor_550252)(Tproc549033* p, Tnode225809* a, Tnode225809* b, Tcompres549023* r);
N_NIMCALL(NIM_BOOL, issimpleexpr_549895)(Tnode225809* n);
static N_INLINE(NI, len_226098)(Tnode225809* n);
static N_INLINE(NIM_BOOL, isatom_230904)(Tnode225809* n);
static N_INLINE(Ropeobj176009*, rdloc_549127)(Tcompres549023 a);
N_NIMCALL(Ropeobj176009*, gettemp_549954)(Tproc549033* p, NIM_BOOL defineinlocals);
N_NIMCALL(void, genand_549988)(Tproc549033* p, Tnode225809* a, Tnode225809* b, Tcompres549023* r);
N_NIMCALL(void, arith_550907)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NU8 op);
N_NIMCALL(void, arithaux_550859)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NU8 op, Tmagicops550455 ops);
N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
N_NIMCALL(void, genrepr_555828)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, unaryexpr_550842)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NimStringDesc* magic, NimStringDesc* frmt);
N_NIMCALL(void, genswap_553019)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, binaryexpr_550790)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NimStringDesc* magic, NimStringDesc* frmt);
N_NIMCALL(void, genconstrstr_555730)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, gennew_555665)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(NI64, getsize_255190)(Ttype225847* typ);
N_NIMCALL(void, genord_555707)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, gennewseq_555684)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, genof_555845)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genreset_555890)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, genecho_554731)(Tproc549033* p, Tnode225809* n_554734, Tcompres549023* r);
N_NIMCALL(Tnode225809*, skipconv_264935)(Tnode225809* n);
static N_INLINE(Tnode225809*, HEX5BHEX5D_226244)(Tnode225809* n, NI i);
N_NIMCALL(void, genargnoparam_553942)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, localerror_196128)(Tlineinfo190352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, ternaryexpr_550814)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NimStringDesc* magic, NimStringDesc* frmt);
N_NIMCALL(void, gencall_554642)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genargs_554023)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genarg_553970)(Tproc549033* p, Tnode225809* n, Tsym225841* param, Tcompres549023* r);
N_NIMCALL(void, geninfixcall_554655)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, globalerror_196118)(Tlineinfo190352 info, NimStringDesc* arg);
N_NIMCALL(void, gensetconstr_555991)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genarrayconstr_556059)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, gentupleconstr_556108)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genobjconstr_556179)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NOINLINE(void, chckNil)(void* p);
N_NIMCALL(void, incl_222856)(Intset222056* s, NI key);
N_NIMCALL(void, genconv_556295)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genaddr_553506)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, gencheckedfieldaddr_553244)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genfieldaddr_553104)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(NI, getfieldposition_553091)(Tnode225809* f);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_NIMCALL(NimStringDesc*, HEX24_177132)(Ropeobj176009* r);
N_NIMCALL(void, genfieldaccess_553187)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genarrayaddr_553297)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(NI64, firstord_255004)(Ttype225847* t);
N_NIMCALL(NIM_BOOL, isconstexpr_254442)(Tnode225809* n);
N_NIMCALL(void, genderef_553891)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genarrayaccess_553383)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, gencheckedfieldaccess_553284)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, upconv_556333)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genrangechck_556346)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NimStringDesc* magic);
N_NIMCALL(void, convstrtocstr_556380)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, convcstrtostr_556419)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genblock_551876)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(TGenericSeq*, setLengthSeq)(TGenericSeq* seq, NI elemsize, NI newlen);
N_NIMCALL(void, genif_552493)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, moveinto_551161)(Tproc549033* p, Tcompres549023* src, Tcompres549023 dest);
N_NIMCALL(NimStringDesc*, nsuRepeatChar)(NIM_CHAR c, NI count);
N_NIMCALL(void, genwhilestmt_551064)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, genlinedir_550929)(Tproc549033* p, Tnode225809* n);
static N_INLINE(NI, tolinenumber_191839)(Tlineinfo190352 info);
N_NIMCALL(void, genvarstmt_555239)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(Tnode225809*, lowertupleunpacking_402087)(Tnode225809* n, Tsym225841* owner);
N_NIMCALL(void, gencasejs_551553)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(Tnode225809*, copynode_229660)(Tnode225809* src);
N_NIMCALL(void, gencaselua_551720)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genreturnstmt_556458)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, genbreakstmt_551977)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, genasgn_552995)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, genasgnaux_552896)(Tproc549033* p, Tnode225809* x, Tnode225809* y, NIM_BOOL nocopyneeded);
N_NIMCALL(void, genfastasgn_553007)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, genasmoremitstmt_552445)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, gentry_551197)(Tproc549033* p, Tnode225809* n, Tcompres549023* r);
N_NIMCALL(void, genraisestmt_551522)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(void, genpragma_556712)(Tproc549033* p, Tnode225809* n);
N_NIMCALL(NU16, whichpragma_254687)(Tnode225809* n);
N_NIMCALL(Tnode225809*, myprocess_557068)(Tpasscontext277005* b, Tnode225809* n);
N_NIMCALL(Ropeobj176009*, wholecode_557096)(Tjsgen549015* m);
N_NIMCALL(Tnode225809*, generatemethoddispatchers_401268)(void);
N_NIMCALL(Ropeobj176009*, HEX26_176436)(Ropeobj176009* a, Ropeobj176009* b);
N_NIMCALL(NIM_BOOL, nosisAbsolute)(NimStringDesc* path);
N_NIMCALL(NimStringDesc*, HEX2F_124681)(NimStringDesc* head, NimStringDesc* tail);
N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(NimStringDesc*, completecfilepath_204112)(NimStringDesc* cfile, NIM_BOOL createsubdir);
N_NIMCALL(NIM_BOOL, writeropeifnotequal_177930)(Ropeobj176009* r, NimStringDesc* filename);
N_NIMCALL(Ropeobj176009*, genheader_557016)(void);
STRING_LITERAL(TMP4617, "symbol files are not possible with the JS code generator", 56);
STRING_LITERAL(TMP4618, "myProcess", 9);
STRING_LITERAL(TMP4626, "var F = {procname:$1,prev:framePtr,filename:$2,line:0};$nframeP"
"tr = F;$n", 72);
STRING_LITERAL(TMP4627, "null", 4);
STRING_LITERAL(TMP4628, "\"", 1);
STRING_LITERAL(TMP4629, "module ", 7);
STRING_LITERAL(TMP4630, "symbol has no generated name: ", 30);
STRING_LITERAL(TMP4631, "$1[0]", 5);
STRING_LITERAL(TMP4632, "$1[1]", 5);
STRING_LITERAL(TMP4633, "_Idx", 4);
STRING_LITERAL(TMP4634, "var $1 = $2;$n", 14);
STRING_LITERAL(TMP4635, "local $1 = $2;$n", 16);
STRING_LITERAL(TMP4636, "_", 1);
STRING_LITERAL(TMP4637, "[$1]", 4);
STRING_LITERAL(TMP4638, "0", 1);
STRING_LITERAL(TMP4639, "0.0", 3);
STRING_LITERAL(TMP4640, "{}", 2);
STRING_LITERAL(TMP4641, "false", 5);
STRING_LITERAL(TMP4643, "compiler/jsgen.nim", 18);
NIM_CONST TY91159 TMP4642 = {((NimStringDesc*) &TMP4643),
((NI) 180)}
;
STRING_LITERAL(TMP4644, ", ", 2);
STRING_LITERAL(TMP4645, "var $# = $#;$n", 14);
STRING_LITERAL(TMP4646, "local $# = $#;$n", 16);
STRING_LITERAL(TMP4647, "return [$#, $#];$n", 18);
STRING_LITERAL(TMP4648, "return $#;$n", 12);
STRING_LITERAL(TMP4649, "function $#($#) {$n$#$#$#$#}$n", 30);
STRING_LITERAL(TMP4650, "function $#($#) $n$#$#$#$#$nend$n", 33);
STRING_LITERAL(TMP4651, "var F={procname:$1,prev:framePtr,filename:$2,line:0};$n", 55);
STRING_LITERAL(TMP4652, "local F={procname=$#,prev=framePtr,filename=$#,line=0};$n", 57);
STRING_LITERAL(TMP4653, "framePtr = F;$n", 15);
STRING_LITERAL(TMP4654, "BeforeRet: do {$n$1} while (false); $n", 38);
STRING_LITERAL(TMP4655, "$#;::BeforeRet::$n", 18);
STRING_LITERAL(TMP4656, "try {$n$1} catch (e) {$n alert(\"Unhandled exception:\\n\" + e.mes"
"sage + \"\\n\"$n}", 77);
STRING_LITERAL(TMP4657, "framePtr = framePtr.prev;", 25);
STRING_LITERAL(TMP4658, "arrayConstr", 11);
STRING_LITERAL(TMP4659, "nimCopy", 7);
STRING_LITERAL(TMP4660, "arrayConstr($1, $2, $3)", 23);
STRING_LITERAL(TMP4661, "NTI$1", 5);
STRING_LITERAL(TMP4662, "var $1 = {size: 0,kind: $2,base: null,node: null,finalizer: nul"
"l};$n", 68);
STRING_LITERAL(TMP4663, "$1.base = $2;$n", 15);
STRING_LITERAL(TMP4664, "genEnumInfo", 11);
STRING_LITERAL(TMP4665, "{kind: 1, offset: $1, typ: $2, name: $3, len: 0, sons: null}", 60);
STRING_LITERAL(TMP4666, "var NNI$1 = {kind: 2, offset: 0, typ: null, name: null, len: $2"
", sons: [$3]};$n", 79);
STRING_LITERAL(TMP4667, "var $1 = {size: 0, kind: $2, base: null, node: null, finalizer:"
" null};$n", 72);
STRING_LITERAL(TMP4668, "$1.node = NNI$2;$n", 18);
STRING_LITERAL(TMP4669, "var NNI$1 = $2;$n", 17);
STRING_LITERAL(TMP4670, "{kind: 2, len: $1, offset: 0, typ: null, name: null, sons: [$2]"
"}", 64);
STRING_LITERAL(TMP4671, "{kind: 1, offset: \"$1\", len: 0, typ: $2, name: $3, sons: null}", 62);
STRING_LITERAL(TMP4672, "genObjectFields", 15);
STRING_LITERAL(TMP4673, "genObjectFields; nkOfBranch broken", 34);
STRING_LITERAL(TMP4674, "[$1, $2]", 8);
STRING_LITERAL(TMP4675, "genObjectFields(nkRecCase)", 26);
STRING_LITERAL(TMP4676, "[SetConstr($1), $2]", 19);
STRING_LITERAL(TMP4677, "{kind: 3, offset: \"$1\", len: $3, typ: $2, name: $4, sons: [$5]}", 63);
STRING_LITERAL(TMP4678, "{kind: 1, offset: \"Field$1\", len: 0, typ: $2, name: \"Field$1\", "
"sons: null}", 74);
STRING_LITERAL(TMP4679, "genTypeInfo(", 12);
STRING_LITERAL(TMP4680, "[", 1);
STRING_LITERAL(TMP4681, "]", 1);
STRING_LITERAL(TMP4682, "{", 1);
STRING_LITERAL(TMP4683, "Field$1: $2", 11);
STRING_LITERAL(TMP4684, "Field$# = $#", 12);
STRING_LITERAL(TMP4685, "}", 1);
STRING_LITERAL(TMP4686, "m_type: $1", 10);
STRING_LITERAL(TMP4687, "m_type = $#", 11);
STRING_LITERAL(TMP4688, ": ", 2);
STRING_LITERAL(TMP4689, "createRecordVarAux", 18);
STRING_LITERAL(TMP4690, "{$1}", 4);
STRING_LITERAL(TMP4691, "[null, 0]", 9);
STRING_LITERAL(TMP4692, "{nil, 0}", 8);
STRING_LITERAL(TMP4693, "nil", 3);
STRING_LITERAL(TMP4694, "createVar: ", 11);
static NIM_CONST TY483044 TMP4695 = {
0xE0, 0x07, 0x77, 0xFC, 0xE1, 0x00, 0x00, 0x00,
0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TMP4696, "nimCopy(null, $1, $2)", 21);
STRING_LITERAL(TMP4697, "genVarInit", 10);
STRING_LITERAL(TMP4698, "var $1 = [$2, $3];$n", 20);
STRING_LITERAL(TMP4699, "local $1 = {$2, $3};$n", 22);
STRING_LITERAL(TMP4700, "var $1 = $2; var $1_Idx = $3;$n", 31);
STRING_LITERAL(TMP4701, "local $1 = $2; local $1_Idx = $3;$n", 35);
STRING_LITERAL(TMP4702, "var $1 = /**/[$2];$n", 20);
STRING_LITERAL(TMP4703, "local $1 = {$2};$n", 18);
STRING_LITERAL(TMP4704, "null", 4);
STRING_LITERAL(TMP4705, "nil", 3);
STRING_LITERAL(TMP4706, "0", 1);
STRING_LITERAL(TMP4707, "cstrToNimstr", 12);
STRING_LITERAL(TMP4708, "cstrToNimstr($1)", 16);
STRING_LITERAL(TMP4709, "NaN", 3);
STRING_LITERAL(TMP4710, "0.0", 3);
STRING_LITERAL(TMP4711, "Infinity", 8);
STRING_LITERAL(TMP4712, "-Infinity", 9);
STRING_LITERAL(TMP4713, "($1 || $2)", 10);
STRING_LITERAL(TMP4714, "($1 or $2)", 10);
STRING_LITERAL(TMP4715, "Tmp$1", 5);
STRING_LITERAL(TMP4716, "var $1;$n", 9);
STRING_LITERAL(TMP4717, "local $1;$n", 11);
STRING_LITERAL(TMP4718, "if ($1) $2 = true; else {", 25);
STRING_LITERAL(TMP4719, "if $1 then $2 = true; else", 26);
STRING_LITERAL(TMP4720, "$2 = $1; }", 10);
STRING_LITERAL(TMP4721, "$2 = $1 end", 11);
STRING_LITERAL(TMP4722, "($1 && $2)", 10);
STRING_LITERAL(TMP4723, "($1 and $2)", 11);
STRING_LITERAL(TMP4724, "if (!$1) $2 = false; else {", 27);
STRING_LITERAL(TMP4725, "if not $1 then $2 = false; else", 31);
STRING_LITERAL(TMP4726, "addInt", 6);
STRING_LITERAL(TMP4727, "", 0);
STRING_LITERAL(TMP4728, "addInt($1, $2)", 14);
STRING_LITERAL(TMP4729, "($1 + $2)", 9);
STRING_LITERAL(TMP4730, "subInt", 6);
STRING_LITERAL(TMP4731, "subInt($1, $2)", 14);
STRING_LITERAL(TMP4732, "($1 - $2)", 9);
STRING_LITERAL(TMP4733, "mulInt", 6);
STRING_LITERAL(TMP4734, "mulInt($1, $2)", 14);
STRING_LITERAL(TMP4735, "($1 * $2)", 9);
STRING_LITERAL(TMP4736, "divInt", 6);
STRING_LITERAL(TMP4737, "divInt($1, $2)", 14);
STRING_LITERAL(TMP4738, "Math.floor($1 / $2)", 19);
STRING_LITERAL(TMP4739, "modInt", 6);
STRING_LITERAL(TMP4740, "modInt($1, $2)", 14);
STRING_LITERAL(TMP4741, "Math.floor($1 % $2)", 19);
STRING_LITERAL(TMP4742, "($1 / $2)", 9);
STRING_LITERAL(TMP4743, "($1 >>> $2)", 11);
STRING_LITERAL(TMP4744, "($1 << $2)", 10);
STRING_LITERAL(TMP4745, "($1 & $2)", 9);
STRING_LITERAL(TMP4746, "($1 | $2)", 9);
STRING_LITERAL(TMP4747, "($1 ^ $2)", 9);
STRING_LITERAL(TMP4748, "nimMin", 6);
STRING_LITERAL(TMP4749, "nimMin($1, $2)", 14);
STRING_LITERAL(TMP4750, "nimMax", 6);
STRING_LITERAL(TMP4751, "nimMax($1, $2)", 14);
STRING_LITERAL(TMP4752, "addU", 4);
STRING_LITERAL(TMP4753, "addU($1, $2)", 12);
STRING_LITERAL(TMP4754, "subU", 4);
STRING_LITERAL(TMP4755, "subU($1, $2)", 12);
STRING_LITERAL(TMP4756, "mulU", 4);
STRING_LITERAL(TMP4757, "mulU($1, $2)", 12);
STRING_LITERAL(TMP4758, "divU", 4);
STRING_LITERAL(TMP4759, "divU($1, $2)", 12);
STRING_LITERAL(TMP4760, "modU", 4);
STRING_LITERAL(TMP4761, "modU($1, $2)", 12);
STRING_LITERAL(TMP4762, "($1 == $2)", 10);
STRING_LITERAL(TMP4763, "($1 <= $2)", 10);
STRING_LITERAL(TMP4764, "($1 < $2)", 9);
STRING_LITERAL(TMP4765, "leU", 3);
STRING_LITERAL(TMP4766, "leU($1, $2)", 11);
STRING_LITERAL(TMP4767, "ltU", 3);
STRING_LITERAL(TMP4768, "ltU($1, $2)", 11);
STRING_LITERAL(TMP4769, "leU64", 5);
STRING_LITERAL(TMP4770, "leU64($1, $2)", 13);
STRING_LITERAL(TMP4771, "ltU64", 5);
STRING_LITERAL(TMP4772, "ltU64($1, $2)", 13);
STRING_LITERAL(TMP4773, "($1 != $2)", 10);
STRING_LITERAL(TMP4774, "negInt", 6);
STRING_LITERAL(TMP4775, "negInt($1)", 10);
STRING_LITERAL(TMP4776, "-($1)", 5);
STRING_LITERAL(TMP4777, "negInt64", 8);
STRING_LITERAL(TMP4778, "negInt64($1)", 12);
STRING_LITERAL(TMP4779, "absInt", 6);
STRING_LITERAL(TMP4780, "absInt($1)", 10);
STRING_LITERAL(TMP4781, "Math.abs($1)", 12);
STRING_LITERAL(TMP4782, "!($1)", 5);
STRING_LITERAL(TMP4783, "+($1)", 5);
STRING_LITERAL(TMP4784, "~($1)", 5);
STRING_LITERAL(TMP4785, "Ze8ToI", 6);
STRING_LITERAL(TMP4786, "Ze8ToI($1)", 10);
STRING_LITERAL(TMP4787, "Ze8ToI64", 8);
STRING_LITERAL(TMP4788, "Ze8ToI64($1)", 12);
STRING_LITERAL(TMP4789, "Ze16ToI", 7);
STRING_LITERAL(TMP4790, "Ze16ToI($1)", 11);
STRING_LITERAL(TMP4791, "Ze16ToI64", 9);
STRING_LITERAL(TMP4792, "Ze16ToI64($1)", 13);
STRING_LITERAL(TMP4793, "Ze32ToI64", 9);
STRING_LITERAL(TMP4794, "Ze32ToI64($1)", 13);
STRING_LITERAL(TMP4795, "ZeIToI64", 8);
STRING_LITERAL(TMP4796, "ZeIToI64($1)", 12);
STRING_LITERAL(TMP4797, "toU8", 4);
STRING_LITERAL(TMP4798, "toU8($1)", 8);
STRING_LITERAL(TMP4799, "toU16", 5);
STRING_LITERAL(TMP4800, "toU16($1)", 9);
STRING_LITERAL(TMP4801, "toU32", 5);
STRING_LITERAL(TMP4802, "toU32($1)", 9);
STRING_LITERAL(TMP4803, "$1", 2);
STRING_LITERAL(TMP4804, "Math.floor($1)", 14);
STRING_LITERAL(TMP4805, "nimCharToStr", 12);
STRING_LITERAL(TMP4806, "nimCharToStr($1)", 16);
STRING_LITERAL(TMP4807, "nimBoolToStr", 12);
STRING_LITERAL(TMP4808, "nimBoolToStr($1)", 16);
STRING_LITERAL(TMP4809, "cstrToNimstr(($1)+\"\")", 21);
NIM_CONST Tmagicops550455 jsops_550461 = {{((NimStringDesc*) &TMP4726),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4728),
((NimStringDesc*) &TMP4729)}
,
{((NimStringDesc*) &TMP4730),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4732)}
,
{((NimStringDesc*) &TMP4733),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4734),
((NimStringDesc*) &TMP4735)}
,
{((NimStringDesc*) &TMP4736),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4737),
((NimStringDesc*) &TMP4738)}
,
{((NimStringDesc*) &TMP4739),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4740),
((NimStringDesc*) &TMP4741)}
,
{((NimStringDesc*) &TMP4726),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4728),
((NimStringDesc*) &TMP4729)}
,
{((NimStringDesc*) &TMP4730),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4732)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4729),
((NimStringDesc*) &TMP4729)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4732),
((NimStringDesc*) &TMP4732)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4735),
((NimStringDesc*) &TMP4735)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4742),
((NimStringDesc*) &TMP4742)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4743),
((NimStringDesc*) &TMP4743)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4744),
((NimStringDesc*) &TMP4744)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4745),
((NimStringDesc*) &TMP4745)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4746),
((NimStringDesc*) &TMP4746)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4747),
((NimStringDesc*) &TMP4747)}
,
{((NimStringDesc*) &TMP4748),
((NimStringDesc*) &TMP4748),
((NimStringDesc*) &TMP4749),
((NimStringDesc*) &TMP4749)}
,
{((NimStringDesc*) &TMP4750),
((NimStringDesc*) &TMP4750),
((NimStringDesc*) &TMP4751),
((NimStringDesc*) &TMP4751)}
,
{((NimStringDesc*) &TMP4748),
((NimStringDesc*) &TMP4748),
((NimStringDesc*) &TMP4749),
((NimStringDesc*) &TMP4749)}
,
{((NimStringDesc*) &TMP4750),
((NimStringDesc*) &TMP4750),
((NimStringDesc*) &TMP4751),
((NimStringDesc*) &TMP4751)}
,
{((NimStringDesc*) &TMP4752),
((NimStringDesc*) &TMP4752),
((NimStringDesc*) &TMP4753),
((NimStringDesc*) &TMP4753)}
,
{((NimStringDesc*) &TMP4754),
((NimStringDesc*) &TMP4754),
((NimStringDesc*) &TMP4755),
((NimStringDesc*) &TMP4755)}
,
{((NimStringDesc*) &TMP4756),
((NimStringDesc*) &TMP4756),
((NimStringDesc*) &TMP4757),
((NimStringDesc*) &TMP4757)}
,
{((NimStringDesc*) &TMP4758),
((NimStringDesc*) &TMP4758),
((NimStringDesc*) &TMP4759),
((NimStringDesc*) &TMP4759)}
,
{((NimStringDesc*) &TMP4760),
((NimStringDesc*) &TMP4760),
((NimStringDesc*) &TMP4761),
((NimStringDesc*) &TMP4761)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4765),
((NimStringDesc*) &TMP4765),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4769),
((NimStringDesc*) &TMP4769),
((NimStringDesc*) &TMP4770),
((NimStringDesc*) &TMP4770)}
,
{((NimStringDesc*) &TMP4771),
((NimStringDesc*) &TMP4771),
((NimStringDesc*) &TMP4772),
((NimStringDesc*) &TMP4772)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4773),
((NimStringDesc*) &TMP4773)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4774),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4775),
((NimStringDesc*) &TMP4776)}
,
{((NimStringDesc*) &TMP4777),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4778),
((NimStringDesc*) &TMP4776)}
,
{((NimStringDesc*) &TMP4779),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4780),
((NimStringDesc*) &TMP4781)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4782),
((NimStringDesc*) &TMP4782)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4783),
((NimStringDesc*) &TMP4783)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4784),
((NimStringDesc*) &TMP4784)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4783),
((NimStringDesc*) &TMP4783)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4776),
((NimStringDesc*) &TMP4776)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4781),
((NimStringDesc*) &TMP4781)}
,
{((NimStringDesc*) &TMP4785),
((NimStringDesc*) &TMP4785),
((NimStringDesc*) &TMP4786),
((NimStringDesc*) &TMP4786)}
,
{((NimStringDesc*) &TMP4787),
((NimStringDesc*) &TMP4787),
((NimStringDesc*) &TMP4788),
((NimStringDesc*) &TMP4788)}
,
{((NimStringDesc*) &TMP4789),
((NimStringDesc*) &TMP4789),
((NimStringDesc*) &TMP4790),
((NimStringDesc*) &TMP4790)}
,
{((NimStringDesc*) &TMP4791),
((NimStringDesc*) &TMP4791),
((NimStringDesc*) &TMP4792),
((NimStringDesc*) &TMP4792)}
,
{((NimStringDesc*) &TMP4793),
((NimStringDesc*) &TMP4793),
((NimStringDesc*) &TMP4794),
((NimStringDesc*) &TMP4794)}
,
{((NimStringDesc*) &TMP4795),
((NimStringDesc*) &TMP4795),
((NimStringDesc*) &TMP4796),
((NimStringDesc*) &TMP4796)}
,
{((NimStringDesc*) &TMP4797),
((NimStringDesc*) &TMP4797),
((NimStringDesc*) &TMP4798),
((NimStringDesc*) &TMP4798)}
,
{((NimStringDesc*) &TMP4799),
((NimStringDesc*) &TMP4799),
((NimStringDesc*) &TMP4800),
((NimStringDesc*) &TMP4800)}
,
{((NimStringDesc*) &TMP4801),
((NimStringDesc*) &TMP4801),
((NimStringDesc*) &TMP4802),
((NimStringDesc*) &TMP4802)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4803),
((NimStringDesc*) &TMP4803)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4803),
((NimStringDesc*) &TMP4803)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4804),
((NimStringDesc*) &TMP4804)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4804),
((NimStringDesc*) &TMP4804)}
,
{((NimStringDesc*) &TMP4805),
((NimStringDesc*) &TMP4805),
((NimStringDesc*) &TMP4806),
((NimStringDesc*) &TMP4806)}
,
{((NimStringDesc*) &TMP4807),
((NimStringDesc*) &TMP4807),
((NimStringDesc*) &TMP4808),
((NimStringDesc*) &TMP4808)}
,
{((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4809),
((NimStringDesc*) &TMP4809)}
,
{((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4809),
((NimStringDesc*) &TMP4809)}
,
{((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4809),
((NimStringDesc*) &TMP4809)}
,
{((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4708),
((NimStringDesc*) &TMP4708)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4803),
((NimStringDesc*) &TMP4803)}
}
;
STRING_LITERAL(TMP4810, "not ($1)", 8);
NIM_CONST Tmagicops550455 luaops_550624 = {{((NimStringDesc*) &TMP4726),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4728),
((NimStringDesc*) &TMP4729)}
,
{((NimStringDesc*) &TMP4730),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4732)}
,
{((NimStringDesc*) &TMP4733),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4734),
((NimStringDesc*) &TMP4735)}
,
{((NimStringDesc*) &TMP4736),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4737),
((NimStringDesc*) &TMP4738)}
,
{((NimStringDesc*) &TMP4739),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4740),
((NimStringDesc*) &TMP4741)}
,
{((NimStringDesc*) &TMP4726),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4728),
((NimStringDesc*) &TMP4729)}
,
{((NimStringDesc*) &TMP4730),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4732)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4729),
((NimStringDesc*) &TMP4729)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4732),
((NimStringDesc*) &TMP4732)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4735),
((NimStringDesc*) &TMP4735)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4742),
((NimStringDesc*) &TMP4742)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4743),
((NimStringDesc*) &TMP4743)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4744),
((NimStringDesc*) &TMP4744)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4745),
((NimStringDesc*) &TMP4745)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4746),
((NimStringDesc*) &TMP4746)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4747),
((NimStringDesc*) &TMP4747)}
,
{((NimStringDesc*) &TMP4748),
((NimStringDesc*) &TMP4748),
((NimStringDesc*) &TMP4749),
((NimStringDesc*) &TMP4749)}
,
{((NimStringDesc*) &TMP4750),
((NimStringDesc*) &TMP4750),
((NimStringDesc*) &TMP4751),
((NimStringDesc*) &TMP4751)}
,
{((NimStringDesc*) &TMP4748),
((NimStringDesc*) &TMP4748),
((NimStringDesc*) &TMP4749),
((NimStringDesc*) &TMP4749)}
,
{((NimStringDesc*) &TMP4750),
((NimStringDesc*) &TMP4750),
((NimStringDesc*) &TMP4751),
((NimStringDesc*) &TMP4751)}
,
{((NimStringDesc*) &TMP4752),
((NimStringDesc*) &TMP4752),
((NimStringDesc*) &TMP4753),
((NimStringDesc*) &TMP4753)}
,
{((NimStringDesc*) &TMP4754),
((NimStringDesc*) &TMP4754),
((NimStringDesc*) &TMP4755),
((NimStringDesc*) &TMP4755)}
,
{((NimStringDesc*) &TMP4756),
((NimStringDesc*) &TMP4756),
((NimStringDesc*) &TMP4757),
((NimStringDesc*) &TMP4757)}
,
{((NimStringDesc*) &TMP4758),
((NimStringDesc*) &TMP4758),
((NimStringDesc*) &TMP4759),
((NimStringDesc*) &TMP4759)}
,
{((NimStringDesc*) &TMP4760),
((NimStringDesc*) &TMP4760),
((NimStringDesc*) &TMP4761),
((NimStringDesc*) &TMP4761)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4765),
((NimStringDesc*) &TMP4765),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4769),
((NimStringDesc*) &TMP4769),
((NimStringDesc*) &TMP4770),
((NimStringDesc*) &TMP4770)}
,
{((NimStringDesc*) &TMP4771),
((NimStringDesc*) &TMP4771),
((NimStringDesc*) &TMP4772),
((NimStringDesc*) &TMP4772)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4773),
((NimStringDesc*) &TMP4773)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4762)}
,
{((NimStringDesc*) &TMP4774),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4775),
((NimStringDesc*) &TMP4776)}
,
{((NimStringDesc*) &TMP4777),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4778),
((NimStringDesc*) &TMP4776)}
,
{((NimStringDesc*) &TMP4779),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4780),
((NimStringDesc*) &TMP4781)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4810),
((NimStringDesc*) &TMP4810)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4783),
((NimStringDesc*) &TMP4783)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4784),
((NimStringDesc*) &TMP4784)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4783),
((NimStringDesc*) &TMP4783)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4776),
((NimStringDesc*) &TMP4776)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4781),
((NimStringDesc*) &TMP4781)}
,
{((NimStringDesc*) &TMP4785),
((NimStringDesc*) &TMP4785),
((NimStringDesc*) &TMP4786),
((NimStringDesc*) &TMP4786)}
,
{((NimStringDesc*) &TMP4787),
((NimStringDesc*) &TMP4787),
((NimStringDesc*) &TMP4788),
((NimStringDesc*) &TMP4788)}
,
{((NimStringDesc*) &TMP4789),
((NimStringDesc*) &TMP4789),
((NimStringDesc*) &TMP4790),
((NimStringDesc*) &TMP4790)}
,
{((NimStringDesc*) &TMP4791),
((NimStringDesc*) &TMP4791),
((NimStringDesc*) &TMP4792),
((NimStringDesc*) &TMP4792)}
,
{((NimStringDesc*) &TMP4793),
((NimStringDesc*) &TMP4793),
((NimStringDesc*) &TMP4794),
((NimStringDesc*) &TMP4794)}
,
{((NimStringDesc*) &TMP4795),
((NimStringDesc*) &TMP4795),
((NimStringDesc*) &TMP4796),
((NimStringDesc*) &TMP4796)}
,
{((NimStringDesc*) &TMP4797),
((NimStringDesc*) &TMP4797),
((NimStringDesc*) &TMP4798),
((NimStringDesc*) &TMP4798)}
,
{((NimStringDesc*) &TMP4799),
((NimStringDesc*) &TMP4799),
((NimStringDesc*) &TMP4800),
((NimStringDesc*) &TMP4800)}
,
{((NimStringDesc*) &TMP4801),
((NimStringDesc*) &TMP4801),
((NimStringDesc*) &TMP4802),
((NimStringDesc*) &TMP4802)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4803),
((NimStringDesc*) &TMP4803)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4803),
((NimStringDesc*) &TMP4803)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4804),
((NimStringDesc*) &TMP4804)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4804),
((NimStringDesc*) &TMP4804)}
,
{((NimStringDesc*) &TMP4805),
((NimStringDesc*) &TMP4805),
((NimStringDesc*) &TMP4806),
((NimStringDesc*) &TMP4806)}
,
{((NimStringDesc*) &TMP4807),
((NimStringDesc*) &TMP4807),
((NimStringDesc*) &TMP4808),
((NimStringDesc*) &TMP4808)}
,
{((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4809),
((NimStringDesc*) &TMP4809)}
,
{((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4809),
((NimStringDesc*) &TMP4809)}
,
{((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4809),
((NimStringDesc*) &TMP4809)}
,
{((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4707),
((NimStringDesc*) &TMP4708),
((NimStringDesc*) &TMP4708)}
,
{((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4727),
((NimStringDesc*) &TMP4803),
((NimStringDesc*) &TMP4803)}
}
;
STRING_LITERAL(TMP4811, "(\"\"+ ($1))", 10);
STRING_LITERAL(TMP4812, "cstrToNimstr($1.node.sons[$2].name)", 35);
STRING_LITERAL(TMP4813, "genRepr: Not implemented", 24);
STRING_LITERAL(TMP4814, "genSwap", 7);
STRING_LITERAL(TMP4815, "var $1 = $2; $2 = $3; $3 = $1;$n", 32);
STRING_LITERAL(TMP4816, "local $1 = $2; $2 = $3; $3 = $1;$n", 34);
STRING_LITERAL(TMP4817, "var $1 = $2; $2 = $3; $3 = $1;", 30);
STRING_LITERAL(TMP4818, "local $1 = $2; $2 = $3; $3 = $1;", 32);
STRING_LITERAL(TMP4819, "$1 - 1", 6);
STRING_LITERAL(TMP4820, "subInt($1, 1)", 13);
STRING_LITERAL(TMP4821, "addChar", 7);
STRING_LITERAL(TMP4822, "if ($1 != null) { addChar($1, $2); } else { $1 = [$2, 0]; }", 59);
STRING_LITERAL(TMP4823, "if ($1 != null) { $1 += $2; } else { $1 = $2; }", 47);
STRING_LITERAL(TMP4824, "if ($1 != null) { $1 = ($1.slice(0, -1)).concat($2); } else { $"
"1 = $2;}", 71);
STRING_LITERAL(TMP4825, "if ($1 != null) { $1.push($2); } else { $1 = [$2]; }", 52);
STRING_LITERAL(TMP4826, "[$1].concat(", 12);
STRING_LITERAL(TMP4827, "($1.slice(0,-1)).concat(", 24);
STRING_LITERAL(TMP4828, "[$1],", 5);
STRING_LITERAL(TMP4829, "$1.slice(0,-1),", 15);
STRING_LITERAL(TMP4830, "[$1, 0])", 8);
STRING_LITERAL(TMP4831, "$1)", 3);
STRING_LITERAL(TMP4832, "eqStrings", 9);
STRING_LITERAL(TMP4833, "eqStrings($1, $2)", 17);
STRING_LITERAL(TMP4834, "cmpStrings", 10);
STRING_LITERAL(TMP4835, "(cmpStrings($1, $2) <= 0)", 25);
STRING_LITERAL(TMP4836, "(cmpStrings($1, $2) < 0)", 24);
STRING_LITERAL(TMP4837, "$1 == null", 10);
STRING_LITERAL(TMP4838, "$1 = $2;$n", 10);
STRING_LITERAL(TMP4839, "($1 ? 1:0)", 10);
STRING_LITERAL(TMP4840, "toBool($#)", 10);
STRING_LITERAL(TMP4841, "genOrd", 6);
STRING_LITERAL(TMP4842, "($1 != null ? $1.length-1 : 0)", 30);
STRING_LITERAL(TMP4843, "$1.length-1", 11);
STRING_LITERAL(TMP4844, "($1 != null ? $1.length : 0)", 28);
STRING_LITERAL(TMP4845, "$1.length", 9);
STRING_LITERAL(TMP4846, "($1 != null ? ($1.length-2) : -1)", 33);
STRING_LITERAL(TMP4847, "($1 != null ? ($1.length-1) : -1)", 33);
STRING_LITERAL(TMP4848, "$1 += $2", 8);
STRING_LITERAL(TMP4849, "$1 = addInt($1, $2)", 19);
STRING_LITERAL(TMP4850, "$1 -= $2", 8);
STRING_LITERAL(TMP4851, "$1 = subInt($1, $2)", 19);
STRING_LITERAL(TMP4852, "$1.length = $2+1; $1[$1.length-1] = 0", 37);
STRING_LITERAL(TMP4853, "$1.length = $2", 14);
STRING_LITERAL(TMP4854, "SetCard", 7);
STRING_LITERAL(TMP4855, "SetCard($1)", 11);
STRING_LITERAL(TMP4856, "SetLt", 5);
STRING_LITERAL(TMP4857, "SetLt($1, $2)", 13);
STRING_LITERAL(TMP4858, "SetLe", 5);
STRING_LITERAL(TMP4859, "SetLe($1, $2)", 13);
STRING_LITERAL(TMP4860, "SetEq", 5);
STRING_LITERAL(TMP4861, "SetEq($1, $2)", 13);
STRING_LITERAL(TMP4862, "SetMul", 6);
STRING_LITERAL(TMP4863, "SetMul($1, $2)", 14);
STRING_LITERAL(TMP4864, "SetPlus", 7);
STRING_LITERAL(TMP4865, "SetPlus($1, $2)", 15);
STRING_LITERAL(TMP4866, "SetMinus", 8);
STRING_LITERAL(TMP4867, "SetMinus($1, $2)", 16);
STRING_LITERAL(TMP4868, "$1[$2] = true", 13);
STRING_LITERAL(TMP4869, "delete $1[$2]", 13);
STRING_LITERAL(TMP4870, "($1[$2] != undefined)", 21);
STRING_LITERAL(TMP4871, "$1 = new Array($2); for (var i=0;i<$2;++i) {$1[i]=$3;}", 54);
STRING_LITERAL(TMP4872, "($1.m_type == $2)", 17);
STRING_LITERAL(TMP4873, "isObj", 5);
STRING_LITERAL(TMP4874, "isObj($1.m_type, $2)", 20);
STRING_LITERAL(TMP4875, "genericReset", 12);
STRING_LITERAL(TMP4876, "$1 = genericReset($1, $2);$n", 28);
STRING_LITERAL(TMP4877, "toJSStr", 7);
STRING_LITERAL(TMP4878, "rawEcho", 7);
STRING_LITERAL(TMP4879, "rawEcho(", 8);
NIM_CONST TY91159 TMP4880 = {((NimStringDesc*) &TMP4643),
((NI) 1133)}
;
STRING_LITERAL(TMP4881, ")", 1);
STRING_LITERAL(TMP4882, "($1.slice($2))", 14);
STRING_LITERAL(TMP4883, "($1.slice($2, ($3)+1).concat(0))", 32);
STRING_LITERAL(TMP4884, "mnewString", 10);
STRING_LITERAL(TMP4885, "mnewString($1)", 14);
STRING_LITERAL(TMP4886, "mnewString(0)", 13);
STRING_LITERAL(TMP4887, "(", 1);
STRING_LITERAL(TMP4888, "$1[$2]", 6);
STRING_LITERAL(TMP4889, "nimParseBiggestFloat", 20);
STRING_LITERAL(TMP4890, "cannot invoke with infix syntax", 31);
STRING_LITERAL(TMP4891, ".", 1);
STRING_LITERAL(TMP4892, "SetConstr", 9);
STRING_LITERAL(TMP4893, "SetConstr(", 10);
STRING_LITERAL(TMP4894, "Field$#: $#", 11);
NIM_CONST TY91159 TMP4895 = {((NimStringDesc*) &TMP4643),
((NI) 1494)}
;
STRING_LITERAL(TMP4896, "$#: $#", 6);
STRING_LITERAL(TMP4897, "$# = $#", 7);
STRING_LITERAL(TMP4898, "(($1)? 1:0)", 11);
STRING_LITERAL(TMP4899, "($1|0)", 6);
STRING_LITERAL(TMP4900, "genAddr: 3", 10);
STRING_LITERAL(TMP4901, "[0]", 3);
STRING_LITERAL(TMP4902, "genAddr: 2", 10);
NIM_CONST TY91159 TMP4903 = {((NimStringDesc*) &TMP4643),
((NI) 886)}
;
STRING_LITERAL(TMP4904, "Field", 5);
STRING_LITERAL(TMP4905, "genFieldPosition", 16);
STRING_LITERAL(TMP4906, "genFieldAddr", 12);
NIM_CONST TY91159 TMP4907 = {((NimStringDesc*) &TMP4643),
((NI) 868)}
;
STRING_LITERAL(TMP4908, "$1.Field$2", 10);
STRING_LITERAL(TMP4909, "genFieldAccess", 14);
STRING_LITERAL(TMP4910, "$1.$2", 5);
NIM_CONST TY91159 TMP4911 = {((NimStringDesc*) &TMP4643),
((NI) 900)}
;
STRING_LITERAL(TMP4912, "chckIndx", 8);
STRING_LITERAL(TMP4913, "chckIndx($1, $2, $3.length)-$2", 30);
STRING_LITERAL(TMP4914, "($1)-$2", 7);
STRING_LITERAL(TMP4915, "expr(nkBracketExpr, ", 20);
STRING_LITERAL(TMP4916, "genAddr: ", 9);
STRING_LITERAL(TMP4917, "($1 = $2, $1[0][$1[1]])", 23);
STRING_LITERAL(TMP4918, "genDeref", 8);
STRING_LITERAL(TMP4919, "genArrayAccess", 14);
STRING_LITERAL(TMP4920, "chckRange", 9);
STRING_LITERAL(TMP4921, "chckRange($1, $2, $3)", 21);
STRING_LITERAL(TMP4922, "chckRangeF", 10);
STRING_LITERAL(TMP4923, "chckRange64", 11);
STRING_LITERAL(TMP4924, "convStrToCStr", 13);
STRING_LITERAL(TMP4925, "toJSStr($1)", 11);
STRING_LITERAL(TMP4926, "convCStrToStr", 13);
STRING_LITERAL(TMP4927, "genBlock", 8);
STRING_LITERAL(TMP4928, "L$1: do {$n", 11);
STRING_LITERAL(TMP4929, "} while(false);$n", 17);
STRING_LITERAL(TMP4930, "$n::L$#::$n", 11);
STRING_LITERAL(TMP4931, "else {$n", 8);
STRING_LITERAL(TMP4932, "else$n", 6);
STRING_LITERAL(TMP4933, "if ($1) {$n", 11);
STRING_LITERAL(TMP4934, "if $# then$n", 12);
STRING_LITERAL(TMP4935, "$1;$n", 5);
STRING_LITERAL(TMP4936, "}$n", 3);
STRING_LITERAL(TMP4937, "end$n", 5);
NIM_CONST TY91159 TMP4938 = {((NimStringDesc*) &TMP4643),
((NI) 480)}
;
STRING_LITERAL(TMP4939, "// line $2 \"$1\"$n", 17);
STRING_LITERAL(TMP4940, "-- line $2 \"$1\"$n", 17);
STRING_LITERAL(TMP4941, "endb", 4);
STRING_LITERAL(TMP4942, "endb($1);$n", 11);
STRING_LITERAL(TMP4943, "F.line = $1;$n", 14);
STRING_LITERAL(TMP4944, "L$1: while (true) {$n", 21);
STRING_LITERAL(TMP4945, "while true do$n", 15);
STRING_LITERAL(TMP4946, "if (!$1) break L$2;$n", 21);
STRING_LITERAL(TMP4947, "if not $1 then goto ::L$2:: end;$n", 34);
STRING_LITERAL(TMP4948, "end ::L$#::$n", 13);
STRING_LITERAL(TMP4949, "for statement not eliminated", 28);
STRING_LITERAL(TMP4950, "switch (toJSStr($1)) {$n", 24);
STRING_LITERAL(TMP4951, "switch ($1) {$n", 15);
STRING_LITERAL(TMP4952, "case $1: ", 9);
STRING_LITERAL(TMP4953, "jsgen.genCaseStmt: 2", 20);
STRING_LITERAL(TMP4954, "$nbreak;$n", 10);
STRING_LITERAL(TMP4955, "default: $n", 11);
STRING_LITERAL(TMP4956, "break;$n", 8);
STRING_LITERAL(TMP4957, "jsgen.genCaseStmt", 17);
STRING_LITERAL(TMP4958, "eqStr", 5);
STRING_LITERAL(TMP4959, "$nelsif ", 8);
STRING_LITERAL(TMP4960, "if ", 3);
STRING_LITERAL(TMP4961, " or ", 4);
STRING_LITERAL(TMP4962, "$1 >= $2 and $1 <= $3", 21);
STRING_LITERAL(TMP4963, "eqStr($1, $2)", 13);
STRING_LITERAL(TMP4964, "$1 == $2", 8);
STRING_LITERAL(TMP4965, " then$n", 7);
STRING_LITERAL(TMP4966, "$nend$n", 7);
STRING_LITERAL(TMP4967, "genReturnStmt", 13);
STRING_LITERAL(TMP4968, "break BeforeRet;$n", 18);
STRING_LITERAL(TMP4969, "goto ::BeforeRet::;$n", 21);
STRING_LITERAL(TMP4970, "no loop to break", 16);
STRING_LITERAL(TMP4971, "break L$1;$n", 12);
STRING_LITERAL(TMP4972, "goto ::L$1::;$n", 15);
STRING_LITERAL(TMP4973, "$1[0][$1[1]]", 12);
STRING_LITERAL(TMP4974, "nimCopy($1, $2, $3);$n", 22);
STRING_LITERAL(TMP4975, "var $1 = $4; $2 = $1[0]; $3 = $1[1];$n", 38);
STRING_LITERAL(TMP4976, "genAsgn", 7);
STRING_LITERAL(TMP4977, "$1 = $2; $3 = $4;$n", 19);
STRING_LITERAL(TMP4978, "jsgen: genAsmOrEmitStmt()", 25);
STRING_LITERAL(TMP4979, "++excHandler;", 13);
STRING_LITERAL(TMP4980, "local $1 = pcall(", 17);
STRING_LITERAL(TMP4981, "framePtr = F;", 13);
STRING_LITERAL(TMP4982, "try {$n", 7);
STRING_LITERAL(TMP4983, "function()$n", 12);
STRING_LITERAL(TMP4984, "} catch (EXC) {$n var prevJSError = lastJSError;$n lastJSError "
"= EXC;$n --excHandler;$n", 87);
STRING_LITERAL(TMP4985, "end)$n", 6);
STRING_LITERAL(TMP4986, "genTryStmt", 10);
STRING_LITERAL(TMP4987, "||", 2);
STRING_LITERAL(TMP4988, "isObj(lastJSError.m_type, $1)", 29);
STRING_LITERAL(TMP4989, "else ", 5);
STRING_LITERAL(TMP4990, "if (lastJSError && ($2)) {$n", 28);
STRING_LITERAL(TMP4991, "if $1.exc and ($2) then$n", 25);
STRING_LITERAL(TMP4992, "reraiseException", 16);
STRING_LITERAL(TMP4993, "else {", 6);
STRING_LITERAL(TMP4994, "reraiseException();", 19);
STRING_LITERAL(TMP4995, "lastJSError = prevJSError;", 26);
STRING_LITERAL(TMP4996, "} finally {", 11);
STRING_LITERAL(TMP4997, "raiseException", 14);
STRING_LITERAL(TMP4998, "raiseException($1, $2);$n", 25);
STRING_LITERAL(TMP4999, "first class iterators not implemented", 37);
STRING_LITERAL(TMP5000, "gen: unknown node type: ", 24);
STRING_LITERAL(TMP5001, "$#;$n", 5);
STRING_LITERAL(TMP5002, "framePtr = framePtr.prev;$n", 27);
STRING_LITERAL(TMP5003, "js", 2);
STRING_LITERAL(TMP5004, "/* Generated by the Nim Compiler v$1 */$n/*   (c) 2015 Andreas "
"Rumpf */$n$nvar framePtr = null;$nvar excHandler = 0;$nvar lastJ"
"SError = null;$n", 143);
STRING_LITERAL(TMP5005, "0.12.0", 6);
Tglobals549027* globals_556981;
extern TNimType NTI277005; /* TPassContext */
TNimType NTI549015; /* TJSGen */
extern TNimType NTI225807; /* PSym */
TNimType NTI549017; /* BModule */
extern Gcheap51218 gch_51259;
TNimType NTI549027; /* TGlobals */
extern TNimType NTI176007; /* Rope */
extern TNimType NTI225811; /* TSymSeq */
extern TNimType NTI222056; /* IntSet */
TNimType NTI549029; /* PGlobals */
extern NI gerrorcounter_191399;
TNimType NTI549033; /* TProc */
extern TNimType NTI225801; /* PNode */
extern TNimType NTI167017; /* TOptions */
extern TNimType NTI138; /* bool */
TNimType NTI549013; /* TTarget */
extern TNimType NTI108; /* int */
TNimType NTI549025; /* TBlock */
TNimType NTI549071; /* seq[TBlock] */
TNimType NTI549031; /* PProc */
extern NimStringDesc* tnl_174654;
extern TNimType NTI225262; /* TTypeKind */
extern TNimType NTI149; /* string */
TNimType NTI550453; /* TMagicFrmt */
TNimType NTI550455; /* TMagicOps */
extern TNimType NTI225029; /* TNodeKind */
extern NimStringDesc* outfile_167138;
N_NIMCALL(void, TMP4614)(void* p, NI op) {
	Tjsgen549015* a;
	a = (Tjsgen549015*)p;
	nimGCvisit((void*)(*a).module, op);
}

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

static N_INLINE(void, rtladdzct_54404)(Cell49147* c) {
	addzct_52817((&gch_51259.zct), c);
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		Cell49147* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_52846(src);
		(*c).refcount += ((NI) 8);
	}
	LA3: ;
	{
		Cell49147* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_52846((*dest));
		{
			(*c).refcount -= ((NI) 8);
			if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA11;
			rtladdzct_54404(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}
N_NIMCALL(void, TMP4616)(void* p, NI op) {
	Tglobals549027* a;
	a = (Tglobals549027*)p;
	nimGCvisit((void*)(*a).typeinfo, op);
	nimGCvisit((void*)(*a).code, op);
	nimGCvisit((void*)(*a).forwarded, op);
	nimGCvisit((void*)(*a).generatedsyms.head, op);
	nimGCvisit((void*)(*a).generatedsyms.data, op);
	nimGCvisit((void*)(*a).typeinfogenerated.head, op);
	nimGCvisit((void*)(*a).typeinfogenerated.data, op);
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	Cell49147* c;
	c = usrtocell_52846(p);
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3;
		rtladdzct_54404(c);
	}
	LA3: ;
}

N_NIMCALL(Tglobals549027*, newglobals_549084)(void) {
	Tglobals549027* result;
	result = 0;
	result = (Tglobals549027*) newObj((&NTI549029), sizeof(Tglobals549027));
	if ((*result).forwarded) nimGCunrefNoCycle((*result).forwarded);
	(*result).forwarded = (Tsymseq225811*) newSeqRC1((&NTI225811), 0);
	initintset_222927((&(*result).generatedsyms));
	initintset_222927((&(*result).typeinfogenerated));
	return result;
}

N_NIMCALL(Tjsgen549015*, newmodule_556986)(Tsym225841* module) {
	Tjsgen549015* result;
	result = 0;
	result = (Tjsgen549015*) newObj((&NTI549017), sizeof(Tjsgen549015));
	(*result).Sup.Sup.m_type = (&NTI549015);
	asgnRefNoCycle((void**) (&(*result).module), module);
	{
		if (!(globals_556981 == NIM_NIL)) goto LA3;
		asgnRefNoCycle((void**) (&globals_556981), newglobals_549084());
	}
	LA3: ;
	return result;
}

N_NIMCALL(Tpasscontext277005*, myopen_557214)(Tsym225841* s) {
	Tpasscontext277005* result;
	Tjsgen549015* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = newmodule_556986(s);
	result = &LOC1->Sup;
	return result;
}

N_NIMCALL(Tpasscontext277005*, myopencached_557203)(Tsym225841* s, Trodreader268030* rd) {
	Tpasscontext277005* result;
	result = 0;
	internalerror_196191(((NimStringDesc*) &TMP4617));
	result = NIM_NIL;
	return result;
}

static N_INLINE(NIM_BOOL, skipcodegen_277083)(Tnode225809* n) {
	NIM_BOOL result;
	result = 0;
	result = (((NI) 0) < gerrorcounter_191399);
	return result;
}
N_NIMCALL(void, TMP4624)(void* p, NI op) {
	TY549071* a;
	NI LOC1;
	a = (TY549071*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	}
}
N_NIMCALL(void, TMP4625)(void* p, NI op) {
	Tproc549033* a;
	a = (Tproc549033*)p;
	nimGCvisit((void*)(*a).procdef, op);
	nimGCvisit((void*)(*a).prc, op);
	nimGCvisit((void*)(*a).locals, op);
	nimGCvisit((void*)(*a).body, op);
	nimGCvisit((void*)(*a).module, op);
	nimGCvisit((void*)(*a).g, op);
	nimGCvisit((void*)(*a).blocks, op);
	nimGCvisit((void*)(*a).up, op);
}

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

static N_INLINE(void, rtladdcycleroot_53623)(Cell49147* c) {
	{
		if (!!((((NI) ((NI)((*c).refcount & ((NI) 3)))) == ((NI) 3)))) goto LA3;
		(*c).refcount = (NI)((NI)((*c).refcount & ((NI) -4)) | ((NI) 3));
		incl_49865((&gch_51259.cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_55222)(Cell49147* c) {
	(*c).refcount = (NI)((NU32)((*c).refcount) + (NU32)(((NI) 8)));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_52867(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_53623(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_54804)(Cell49147* c) {
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3;
		rtladdzct_54404(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_52867(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_53623(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		Cell49147* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_52846(src);
		incref_55222(LOC5);
	}
	LA3: ;
	{
		Cell49147* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_52846((*dest));
		decref_54804(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

N_NIMCALL(Tproc549033*, newproc_549207)(Tglobals549027* globals, Tjsgen549015* module, Tnode225809* procdef, NU32 options) {
	Tproc549033* result;
	Tproc549033* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = (Tproc549033*) newObj((&NTI549031), sizeof(Tproc549033));
	if ((*LOC1).blocks) nimGCunrefNoCycle((*LOC1).blocks);
	(*LOC1).blocks = (TY549071*) newSeqRC1((&NTI549071), 0);
	(*LOC1).options = options;
	asgnRef((void**) (&(*LOC1).module), module);
	asgnRefNoCycle((void**) (&(*LOC1).procdef), procdef);
	asgnRefNoCycle((void**) (&(*LOC1).g), globals);
	result = LOC1;
	{
		if (!!((procdef == NIM_NIL))) goto LA4;
		asgnRefNoCycle((void**) (&(*result).prc), (*(*procdef).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym);
	}
	LA4: ;
	return result;
}

N_NIMCALL(Ropeobj176009*, makejsstring_549305)(NimStringDesc* s) {
	Ropeobj176009* result;
	result = 0;
	{
		if (!s == 0) goto LA3;
		result = rope_176322(((NimStringDesc*) &TMP4627));
	}
	goto LA1;
	LA3: ;
	{
		NimStringDesc* LOC6;
		LOC6 = 0;
		LOC6 = nsuEscape(s, ((NimStringDesc*) &TMP4628), ((NimStringDesc*) &TMP4628));
		result = rope_176322(LOC6);
	}
	LA1: ;
	return result;
}

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

N_NIMCALL(NU8, maptype_549256)(Ttype225847* typ) {
	NU8 result;
	Ttype225847* t;
	result = 0;
	t = skiptypes_229167(typ, IL64(211106232576256));
	switch ((*t).kind) {
	case ((NU8) 23):
	case ((NU8) 22):
	case ((NU8) 21):
	{
		{
			Ttype225847* LOC4;
			Ttype225847* LOC5;
			LOC4 = 0;
			LOC4 = lastson_228426(t);
			LOC5 = 0;
			LOC5 = skiptypes_229167(LOC4, IL64(211106232576256));
			if (!((*LOC5).kind == ((NU8) 17) || (*LOC5).kind == ((NU8) 16) || (*LOC5).kind == ((NU8) 4) || (*LOC5).kind == ((NU8) 18) || (*LOC5).kind == ((NU8) 27) || (*LOC5).kind == ((NU8) 19) || (*LOC5).kind == ((NU8) 45) || (*LOC5).kind == ((NU8) 48))) goto LA6;
			result = ((NU8) 7);
		}
		goto LA2;
		LA6: ;
		{
			result = ((NU8) 8);
		}
		LA2: ;
	}
	break;
	case ((NU8) 26):
	{
		result = ((NU8) 8);
	}
	break;
	case ((NU8) 20):
	case ((NU8) 13):
	case ((NU8) 15):
	case ((NU8) 46):
	case ((NU8) 47):
	case ((NU8) 49):
	case ((NU8) 50):
	{
		result = maptype_549256((*t).sons->data[((NI) 0)]);
	}
	break;
	case ((NU8) 31) ... ((NU8) 35):
	case ((NU8) 40) ... ((NU8) 44):
	case ((NU8) 14):
	case ((NU8) 2):
	{
		result = ((NU8) 4);
	}
	break;
	case ((NU8) 1):
	{
		result = ((NU8) 3);
	}
	break;
	case ((NU8) 36) ... ((NU8) 39):
	{
		result = ((NU8) 5);
	}
	break;
	case ((NU8) 19):
	{
		result = ((NU8) 7);
	}
	break;
	case ((NU8) 28):
	case ((NU8) 24):
	{
		result = ((NU8) 4);
	}
	break;
	case ((NU8) 17):
	case ((NU8) 16):
	case ((NU8) 4):
	case ((NU8) 18):
	case ((NU8) 27):
	case ((NU8) 45):
	case ((NU8) 48):
	{
		result = ((NU8) 7);
	}
	break;
	case ((NU8) 5):
	{
		result = ((NU8) 1);
	}
	break;
	case ((NU8) 11):
	case ((NU8) 12):
	case ((NU8) 10):
	case ((NU8) 9):
	case ((NU8) 0):
	case ((NU8) 60):
	case ((NU8) 30):
	case ((NU8) 3):
	case ((NU8) 61):
	case ((NU8) 6):
	case ((NU8) 7):
	case ((NU8) 59):
	case ((NU8) 8):
	case ((NU8) 51):
	case ((NU8) 54):
	case ((NU8) 52):
	case ((NU8) 53):
	case ((NU8) 55):
	case ((NU8) 56):
	case ((NU8) 57):
	case ((NU8) 58):
	{
		result = ((NU8) 0);
	}
	break;
	case ((NU8) 25):
	{
		result = ((NU8) 2);
	}
	break;
	case ((NU8) 29):
	{
		result = ((NU8) 6);
	}
	break;
	}
	return result;
}

N_NIMCALL(NIM_BOOL, isindirect_553429)(Tsym225841* v) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	NIM_BOOL LOC2;
	result = 0;
	LOC1 = 0;
	LOC2 = 0;
	LOC2 = !(((32776 & (*v).flags) == 0));
	if (!(LOC2)) goto LA3;
	LOC2 = ((224 & (*v).flags) == 0);
	LA3: ;
	LOC1 = LOC2;
	if (!(LOC1)) goto LA4;
	LOC1 = !(((128544 &(1<<(((*v).kind)&31)))!=0));
	LA4: ;
	result = LOC1;
	return result;
}

N_NIMCALL(Ropeobj176009*, manglename_549277)(Tsym225841* s) {
	Ropeobj176009* result;
	result = 0;
	result = (*s).loc.r;
	{
		NimStringDesc* LOC5;
		Ropeobj176009* LOC6;
		if (!(result == NIM_NIL)) goto LA3;
		LOC5 = 0;
		LOC5 = mangle_507910((*(*s).name).s);
		result = rope_176322(LOC5);
		add_176545(&result, ((NimStringDesc*) &TMP4636));
		LOC6 = 0;
		LOC6 = rope_176407(((NI64) ((*s).Sup.id)));
		add_176534(&result, LOC6);
		asgnRefNoCycle((void**) (&(*s).loc.r), result);
	}
	LA3: ;
	return result;
}

N_NIMCALL(Ropeobj176009*, puttoseq_554800)(NimStringDesc* s, NIM_BOOL indirect) {
	Ropeobj176009* result;
	result = 0;
	result = rope_176322(s);
	{
		TY176572 LOC5;
		if (!indirect) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = result;
		result = HEX25_177236(((NimStringDesc*) &TMP4637), LOC5, 1);
	}
	LA3: ;
	return result;
}

static N_INLINE(NIM_BOOL, iscompiletimeonly_264712)(Ttype225847* t) {
	NIM_BOOL result;
	result = 0;
	result = ((*t).kind == ((NU8) 8) || (*t).kind == ((NU8) 59));
	return result;
}

N_NIMCALL(Ropeobj176009*, generateheader_552654)(Tproc549033* p, Ttype225847* typ) {
	Ropeobj176009* result;
	result = 0;
	result = NIM_NIL;
	{
		NI i_552671;
		NI HEX3Atmp_552835;
		NI LOC2;
		NI res_552838;
		i_552671 = 0;
		HEX3Atmp_552835 = 0;
		LOC2 = 0;
		LOC2 = sonslen_228387((*typ).n);
		HEX3Atmp_552835 = (NI)(LOC2 - ((NI) 1));
		res_552838 = ((NI) 1);
		{
			while (1) {
				if (!(res_552838 <= HEX3Atmp_552835)) goto LA4;
				i_552671 = res_552838;
				{
					Tsym225841* param;
					Ropeobj176009* name;
					param = (*(*(*typ).n).kindU.S6.sons->data[i_552671]).kindU.S4.sym;
					{
						NIM_BOOL LOC8;
						LOC8 = 0;
						LOC8 = iscompiletimeonly_264712((*param).typ);
						if (!LOC8) goto LA9;
						goto LA5;
					}
					LA9: ;
					{
						if (!!((result == NIM_NIL))) goto LA13;
						add_176545(&result, ((NimStringDesc*) &TMP4644));
					}
					LA13: ;
					name = manglename_549277(param);
					add_176534(&result, name);
					{
						NU8 LOC17;
						LOC17 = 0;
						LOC17 = maptype_549256((*param).typ);
						if (!(LOC17 == ((NU8) 8))) goto LA18;
						add_176545(&result, ((NimStringDesc*) &TMP4644));
						add_176534(&result, name);
						add_176545(&result, ((NimStringDesc*) &TMP4633));
					}
					LA18: ;
				} LA5: ;
				res_552838 += ((NI) 1);
			} LA4: ;
		}
	}
	return result;
}

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

N_NIMCALL(Ropeobj176009*, genprocbody_556505)(Tproc549033* p, Tsym225841* prc) {
	Ropeobj176009* result;
	result = 0;
	{
		NimStringDesc* LOC5;
		NimStringDesc* LOC6;
		TY543257 LOC12;
		NimStringDesc* LOC13;
		NimStringDesc* LOC14;
		if (!(((*prc).options &(1<<((((NU8) 15))&31)))!=0)) goto LA3;
		LOC5 = 0;
		LOC6 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA9;
			LOC6 = copyString(((NimStringDesc*) &TMP4651));
		}
		goto LA7;
		LA9: ;
		{
			LOC6 = copyString(((NimStringDesc*) &TMP4652));
		}
		LA7: ;
		LOC5 = rawNewString(LOC6->Sup.len + 15);
appendString(LOC5, LOC6);
appendString(LOC5, ((NimStringDesc*) &TMP4653));
		memset((void*)LOC12, 0, sizeof(LOC12));
		LOC13 = 0;
		LOC13 = rawNewString((*(*(*prc).owner).name).s->Sup.len + (*(*prc).name).s->Sup.len + 1);
appendString(LOC13, (*(*(*prc).owner).name).s);
appendChar(LOC13, 46);
appendString(LOC13, (*(*prc).name).s);
		LOC12[0] = makejsstring_549305(LOC13);
		LOC14 = 0;
		LOC14 = tofilename_191655((*prc).info.fileindex);
		LOC12[1] = makejsstring_549305(LOC14);
		result = HEX25_177236(LOC5, LOC12, 2);
	}
	goto LA1;
	LA3: ;
	{
		result = NIM_NIL;
	}
	LA1: ;
	{
		NimStringDesc* LOC20;
		TY176572 LOC26;
		if (!(*p).beforeretneeded) goto LA18;
		LOC20 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA23;
			LOC20 = copyString(((NimStringDesc*) &TMP4654));
		}
		goto LA21;
		LA23: ;
		{
			LOC20 = copyString(((NimStringDesc*) &TMP4655));
		}
		LA21: ;
		memset((void*)LOC26, 0, sizeof(LOC26));
		LOC26[0] = (*p).body;
		addf_177635(&result, LOC20, LOC26, 1);
	}
	goto LA16;
	LA18: ;
	{
		add_176534(&result, (*p).body);
	}
	LA16: ;
	{
		NIM_BOOL LOC30;
		TY176572 LOC34;
		LOC30 = 0;
		LOC30 = ((*(*prc).typ).callconv == ((NU8) 4));
		if (!(LOC30)) goto LA31;
		LOC30 = ((*p).target == ((NU8) 0));
		LA31: ;
		if (!LOC30) goto LA32;
		memset((void*)LOC34, 0, sizeof(LOC34));
		LOC34[0] = result;
		result = HEX25_177236(((NimStringDesc*) &TMP4656), LOC34, 1);
	}
	LA32: ;
	{
		NimStringDesc* LOC39;
		if (!(((*prc).options &(1<<((((NU8) 15))&31)))!=0)) goto LA37;
		LOC39 = 0;
		LOC39 = rawNewString(tnl_174654->Sup.len + 25);
appendString(LOC39, ((NimStringDesc*) &TMP4657));
appendString(LOC39, tnl_174654);
		add_176545(&result, LOC39);
	}
	LA37: ;
	return result;
}

N_NIMCALL(Ropeobj176009*, genproc_549824)(Tproc549033* oldproc, Tsym225841* prc) {
	Ropeobj176009* result;
	Tsym225841* resultsym;
	Ropeobj176009* name;
	Ropeobj176009* returnstmt;
	Ropeobj176009* resultasgn;
	Ropeobj176009* header;
	Tcompres549023 a;
	Tproc549033* p;
	Tnode225809* LOC23;
	NimStringDesc* LOC24;
	TY517247 LOC30;
	result = 0;
	resultsym = 0;
	name = 0;
	returnstmt = 0;
	resultasgn = 0;
	header = 0;
	memset((void*)(&a), 0, sizeof(a));
	p = newproc_549207((*oldproc).g, (*oldproc).module, (*prc).ast, (*prc).options);
	(*p).target = (*oldproc).target;
	asgnRef((void**) (&(*p).up), oldproc);
	returnstmt = NIM_NIL;
	resultasgn = NIM_NIL;
	name = manglename_549277(prc);
	header = generateheader_552654(p, (*prc).typ);
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC7;
		TY543257 LOC13;
		NIM_BOOL LOC14;
		LOC3 = 0;
		LOC3 = !(((*(*prc).typ).sons->data[((NI) 0)] == NIM_NIL));
		if (!(LOC3)) goto LA4;
		LOC3 = !((((*prc).flags &(1<<((((NU8) 9))&31)))!=0));
		LA4: ;
		if (!LOC3) goto LA5;
		resultsym = (*(*(*prc).ast).kindU.S6.sons->data[((NI) 7)]).kindU.S4.sym;
		LOC7 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA10;
			LOC7 = copyString(((NimStringDesc*) &TMP4645));
		}
		goto LA8;
		LA10: ;
		{
			LOC7 = copyString(((NimStringDesc*) &TMP4646));
		}
		LA8: ;
		memset((void*)LOC13, 0, sizeof(LOC13));
		LOC13[0] = manglename_549277(resultsym);
		LOC14 = 0;
		LOC14 = isindirect_553429(resultsym);
		LOC13[1] = createvar_554813(p, (*resultsym).typ, LOC14);
		resultasgn = HEX25_177236(LOC7, LOC13, 2);
		gen_549808(p, (*(*prc).ast).kindU.S6.sons->data[((NI) 7)], (&a));
		{
			NU8 LOC17;
			TY543257 LOC20;
			LOC17 = 0;
			LOC17 = maptype_549256((*resultsym).typ);
			if (!(LOC17 == ((NU8) 8))) goto LA18;
			memset((void*)LOC20, 0, sizeof(LOC20));
			LOC20[0] = a.address;
			LOC20[1] = a.res;
			returnstmt = HEX25_177236(((NimStringDesc*) &TMP4647), LOC20, 2);
		}
		goto LA15;
		LA18: ;
		{
			TY176572 LOC22;
			memset((void*)LOC22, 0, sizeof(LOC22));
			LOC22[0] = a.res;
			returnstmt = HEX25_177236(((NimStringDesc*) &TMP4648), LOC22, 1);
		}
		LA15: ;
	}
	LA5: ;
	LOC23 = 0;
	LOC23 = getbody_271062(prc);
	genstmt_549817(p, LOC23);
	LOC24 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA27;
		LOC24 = copyString(((NimStringDesc*) &TMP4649));
	}
	goto LA25;
	LA27: ;
	{
		LOC24 = copyString(((NimStringDesc*) &TMP4650));
	}
	LA25: ;
	memset((void*)LOC30, 0, sizeof(LOC30));
	LOC30[0] = name;
	LOC30[1] = header;
	LOC30[2] = (*p).locals;
	LOC30[3] = resultasgn;
	LOC30[4] = genprocbody_556505(p, prc);
	LOC30[5] = returnstmt;
	result = HEX25_177236(LOC24, LOC30, 6);
	return result;
}

N_NIMCALL(void, usemagic_549838)(Tproc549033* p, NimStringDesc* name) {
	Tsym225841* s;
{	{
		if (!((name ? name->Sup.len : 0) == ((NI) 0))) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	s = getcompilerproc_274809(name);
	{
		if (!!((s == NIM_NIL))) goto LA7;
		{
			NimStringDesc* LOC13;
			if (!!(((77824 &(1<<(((*s).kind)&31)))!=0))) goto LA11;
			LOC13 = 0;
			LOC13 = HEX24_196279(TMP4642);
			internalerror_196191(LOC13);
		}
		LA11: ;
		{
			NIM_BOOL LOC16;
			Ropeobj176009* LOC19;
			LOC16 = 0;
			LOC16 = containsorincl_222898((&(*(*p).g).generatedsyms), (*s).Sup.id);
			if (!!(LOC16)) goto LA17;
			LOC19 = 0;
			LOC19 = genproc_549824(p, s);
			add_176534(&(*(*p).g).code, LOC19);
		}
		LA17: ;
	}
	goto LA5;
	LA7: ;
	{
		{
			if (!!(((*p).prc == NIM_NIL))) goto LA23;
			globalerror_196107((*(*p).prc).info, ((NU16) 68), name);
		}
		goto LA21;
		LA23: ;
		{
			rawmessage_194636(((NU16) 68), name);
		}
		LA21: ;
	}
	LA5: ;
	}BeforeRet: ;
}

N_NIMCALL(void, genenuminfo_549634)(Tproc549033* p, Ttype225847* typ, Ropeobj176009* name) {
	NI length;
	Ropeobj176009* s;
	Ropeobj176009* n;
	TY515577 LOC19;
	TY543257 LOC20;
	TY543257 LOC21;
	length = sonslen_228387((*typ).n);
	s = NIM_NIL;
	{
		NI i_549653;
		NI HEX3Atmp_549724;
		NI res_549727;
		i_549653 = 0;
		HEX3Atmp_549724 = 0;
		HEX3Atmp_549724 = (NI)(length - ((NI) 1));
		res_549727 = ((NI) 0);
		{
			while (1) {
				Tsym225841* field;
				NimStringDesc* extname;
				TY515577 LOC18;
				if (!(res_549727 <= HEX3Atmp_549724)) goto LA3;
				i_549653 = res_549727;
				{
					if (!!(((*(*(*typ).n).kindU.S6.sons->data[i_549653]).kind == ((NU8) 3)))) goto LA6;
					internalerror_196172((*(*typ).n).info, ((NimStringDesc*) &TMP4664));
				}
				LA6: ;
				field = (*(*(*typ).n).kindU.S6.sons->data[i_549653]).kindU.S4.sym;
				{
					NimStringDesc* LOC12;
					if (!(((NI) 0) < i_549653)) goto LA10;
					LOC12 = 0;
					LOC12 = rawNewString(tnl_174654->Sup.len + 2);
appendString(LOC12, ((NimStringDesc*) &TMP4644));
appendString(LOC12, tnl_174654);
					add_176545(&s, LOC12);
				}
				LA10: ;
				{
					if (!((*field).ast == NIM_NIL)) goto LA15;
					extname = (*(*field).name).s;
				}
				goto LA13;
				LA15: ;
				{
					extname = (*(*field).ast).kindU.S3.strval;
				}
				LA13: ;
				memset((void*)LOC18, 0, sizeof(LOC18));
				LOC18[0] = rope_176407(((NI64) ((*field).position)));
				LOC18[1] = name;
				LOC18[2] = makejsstring_549305(extname);
				addf_177635(&s, ((NimStringDesc*) &TMP4665), LOC18, 3);
				res_549727 += ((NI) 1);
			} LA3: ;
		}
	}
	memset((void*)LOC19, 0, sizeof(LOC19));
	LOC19[0] = rope_176407(((NI64) ((*typ).Sup.id)));
	LOC19[1] = rope_176407(((NI64) (length)));
	LOC19[2] = s;
	n = HEX25_177236(((NimStringDesc*) &TMP4666), LOC19, 3);
	memset((void*)LOC20, 0, sizeof(LOC20));
	LOC20[0] = name;
	LOC20[1] = rope_176407(((NI64) ((*typ).kind)));
	s = HEX25_177236(((NimStringDesc*) &TMP4667), LOC20, 2);
	prepend_177206(&(*(*p).g).typeinfo, s);
	add_176534(&(*(*p).g).typeinfo, n);
	memset((void*)LOC21, 0, sizeof(LOC21));
	LOC21[0] = name;
	LOC21[1] = rope_176407(((NI64) ((*typ).Sup.id)));
	addf_177635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4668), LOC21, 2);
	{
		TY543257 LOC26;
		if (!!(((*typ).sons->data[((NI) 0)] == NIM_NIL))) goto LA24;
		memset((void*)LOC26, 0, sizeof(LOC26));
		LOC26[0] = name;
		LOC26[1] = gentypeinfo_549315(p, (*typ).sons->data[((NI) 0)]);
		addf_177635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4663), LOC26, 2);
	}
	LA24: ;
}

N_NIMCALL(Ropeobj176009*, genobjectfields_549319)(Tproc549033* p, Ttype225847* typ, Tnode225809* n) {
	Ropeobj176009* result;
	Ropeobj176009* s;
	Ropeobj176009* u;
	NI length;
	Tsym225841* field;
	Tnode225809* b;
	result = 0;
	s = 0;
	u = 0;
	length = 0;
	field = 0;
	b = 0;
	result = NIM_NIL;
	switch ((*n).kind) {
	case ((NU8) 138):
	{
		length = sonslen_228387(n);
		{
			if (!(length == ((NI) 1))) goto LA4;
			result = genobjectfields_549319(p, typ, (*n).kindU.S6.sons->data[((NI) 0)]);
		}
		goto LA2;
		LA4: ;
		{
			TY543257 LOC16;
			s = NIM_NIL;
			{
				NI i_549343;
				NI HEX3Atmp_549453;
				NI res_549456;
				i_549343 = 0;
				HEX3Atmp_549453 = 0;
				HEX3Atmp_549453 = (NI)(length - ((NI) 1));
				res_549456 = ((NI) 0);
				{
					while (1) {
						Ropeobj176009* LOC15;
						if (!(res_549456 <= HEX3Atmp_549453)) goto LA9;
						i_549343 = res_549456;
						{
							NimStringDesc* LOC14;
							if (!(((NI) 0) < i_549343)) goto LA12;
							LOC14 = 0;
							LOC14 = rawNewString(tnl_174654->Sup.len + 2);
appendString(LOC14, ((NimStringDesc*) &TMP4644));
appendString(LOC14, tnl_174654);
							add_176545(&s, LOC14);
						}
						LA12: ;
						LOC15 = 0;
						LOC15 = genobjectfields_549319(p, typ, (*n).kindU.S6.sons->data[i_549343]);
						add_176534(&s, LOC15);
						res_549456 += ((NI) 1);
					} LA9: ;
				}
			}
			memset((void*)LOC16, 0, sizeof(LOC16));
			LOC16[0] = rope_176407(((NI64) (length)));
			LOC16[1] = s;
			result = HEX25_177236(((NimStringDesc*) &TMP4670), LOC16, 2);
		}
		LA2: ;
	}
	break;
	case ((NU8) 3):
	{
		TY515577 LOC18;
		field = (*n).kindU.S4.sym;
		s = gentypeinfo_549315(p, (*field).typ);
		memset((void*)LOC18, 0, sizeof(LOC18));
		LOC18[0] = manglename_549277(field);
		LOC18[1] = s;
		LOC18[2] = makejsstring_549305((*(*field).name).s);
		result = HEX25_177236(((NimStringDesc*) &TMP4671), LOC18, 3);
	}
	break;
	case ((NU8) 139):
	{
		TY516876 LOC61;
		NI64 LOC62;
		length = sonslen_228387(n);
		{
			if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 3)))) goto LA22;
			internalerror_196172((*n).info, ((NimStringDesc*) &TMP4672));
		}
		LA22: ;
		field = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		s = gentypeinfo_549315(p, (*field).typ);
		{
			NI i_549379;
			NI HEX3Atmp_549469;
			NI res_549472;
			i_549379 = 0;
			HEX3Atmp_549469 = 0;
			HEX3Atmp_549469 = (NI)(length - ((NI) 1));
			res_549472 = ((NI) 1);
			{
				while (1) {
					TY543257 LOC59;
					Tnode225809* LOC60;
					if (!(res_549472 <= HEX3Atmp_549469)) goto LA26;
					i_549379 = res_549472;
					b = (*n).kindU.S6.sons->data[i_549379];
					u = NIM_NIL;
					switch ((*b).kind) {
					case ((NU8) 85):
					{
						{
							NI LOC30;
							LOC30 = 0;
							LOC30 = sonslen_228387(b);
							if (!(LOC30 < ((NI) 2))) goto LA31;
							internalerror_196172((*b).info, ((NimStringDesc*) &TMP4673));
						}
						LA31: ;
						{
							NI j_549393;
							NI HEX3Atmp_549462;
							NI LOC34;
							NI res_549465;
							j_549393 = 0;
							HEX3Atmp_549462 = 0;
							LOC34 = 0;
							LOC34 = sonslen_228387(b);
							HEX3Atmp_549462 = (NI)(LOC34 - ((NI) 2));
							res_549465 = ((NI) 0);
							{
								while (1) {
									if (!(res_549465 <= HEX3Atmp_549462)) goto LA36;
									j_549393 = res_549465;
									{
										if (!!((u == NIM_NIL))) goto LA39;
										add_176545(&u, ((NimStringDesc*) &TMP4644));
									}
									LA39: ;
									{
										TY543257 LOC45;
										NI64 LOC46;
										NI64 LOC47;
										if (!((*(*b).kindU.S6.sons->data[j_549393]).kind == ((NU8) 44))) goto LA43;
										memset((void*)LOC45, 0, sizeof(LOC45));
										LOC46 = 0;
										LOC46 = getordvalue_255178((*(*b).kindU.S6.sons->data[j_549393]).kindU.S6.sons->data[((NI) 0)]);
										LOC45[0] = rope_176407(LOC46);
										LOC47 = 0;
										LOC47 = getordvalue_255178((*(*b).kindU.S6.sons->data[j_549393]).kindU.S6.sons->data[((NI) 1)]);
										LOC45[1] = rope_176407(LOC47);
										addf_177635(&u, ((NimStringDesc*) &TMP4674), LOC45, 2);
									}
									goto LA41;
									LA43: ;
									{
										NI64 LOC49;
										Ropeobj176009* LOC50;
										LOC49 = 0;
										LOC49 = getordvalue_255178((*b).kindU.S6.sons->data[j_549393]);
										LOC50 = 0;
										LOC50 = rope_176407(LOC49);
										add_176534(&u, LOC50);
									}
									LA41: ;
									res_549465 += ((NI) 1);
								} LA36: ;
							}
						}
					}
					break;
					case ((NU8) 88):
					{
						NI64 LOC52;
						LOC52 = 0;
						LOC52 = lengthord_255016((*field).typ);
						u = rope_176407(LOC52);
					}
					break;
					default:
					{
						internalerror_196172((*n).info, ((NimStringDesc*) &TMP4675));
					}
					break;
					}
					{
						NimStringDesc* LOC58;
						if (!!((result == NIM_NIL))) goto LA56;
						LOC58 = 0;
						LOC58 = rawNewString(tnl_174654->Sup.len + 2);
appendString(LOC58, ((NimStringDesc*) &TMP4644));
appendString(LOC58, tnl_174654);
						add_176545(&result, LOC58);
					}
					LA56: ;
					memset((void*)LOC59, 0, sizeof(LOC59));
					LOC59[0] = u;
					LOC60 = 0;
					LOC60 = lastson_228406(b);
					LOC59[1] = genobjectfields_549319(p, typ, LOC60);
					addf_177635(&result, ((NimStringDesc*) &TMP4676), LOC59, 2);
					res_549472 += ((NI) 1);
				} LA26: ;
			}
		}
		memset((void*)LOC61, 0, sizeof(LOC61));
		LOC61[0] = manglename_549277(field);
		LOC61[1] = s;
		LOC62 = 0;
		LOC62 = lengthord_255016((*field).typ);
		LOC61[2] = rope_176407(LOC62);
		LOC61[3] = makejsstring_549305((*(*field).name).s);
		LOC61[4] = result;
		result = HEX25_177236(((NimStringDesc*) &TMP4677), LOC61, 5);
	}
	break;
	default:
	{
		internalerror_196172((*n).info, ((NimStringDesc*) &TMP4672));
	}
	break;
	}
	return result;
}

N_NIMCALL(void, genobjectinfo_549506)(Tproc549033* p, Ttype225847* typ, Ropeobj176009* name) {
	Ropeobj176009* s;
	TY543257 LOC1;
	TY543257 LOC2;
	TY543257 LOC3;
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = name;
	LOC1[1] = rope_176407(((NI64) ((*typ).kind)));
	s = HEX25_177236(((NimStringDesc*) &TMP4667), LOC1, 2);
	prepend_177206(&(*(*p).g).typeinfo, s);
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC2[0] = rope_176407(((NI64) ((*typ).Sup.id)));
	LOC2[1] = genobjectfields_549319(p, typ, (*typ).n);
	addf_177635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4669), LOC2, 2);
	memset((void*)LOC3, 0, sizeof(LOC3));
	LOC3[0] = name;
	LOC3[1] = rope_176407(((NI64) ((*typ).Sup.id)));
	addf_177635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4668), LOC3, 2);
	{
		NIM_BOOL LOC6;
		TY543257 LOC10;
		LOC6 = 0;
		LOC6 = ((*typ).kind == ((NU8) 17));
		if (!(LOC6)) goto LA7;
		LOC6 = !(((*typ).sons->data[((NI) 0)] == NIM_NIL));
		LA7: ;
		if (!LOC6) goto LA8;
		memset((void*)LOC10, 0, sizeof(LOC10));
		LOC10[0] = name;
		LOC10[1] = gentypeinfo_549315(p, (*typ).sons->data[((NI) 0)]);
		addf_177635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4663), LOC10, 2);
	}
	LA8: ;
}

N_NIMCALL(Ropeobj176009*, gentuplefields_549556)(Tproc549033* p, Ttype225847* typ) {
	Ropeobj176009* result;
	Ropeobj176009* s;
	TY543257 LOC11;
	NI LOC12;
	result = 0;
	s = NIM_NIL;
	{
		NI i_549580;
		NI HEX3Atmp_549589;
		NI LOC2;
		NI res_549592;
		i_549580 = 0;
		HEX3Atmp_549589 = 0;
		LOC2 = 0;
		LOC2 = len_228369(typ);
		HEX3Atmp_549589 = (LOC2 - 1);
		res_549592 = ((NI) 0);
		{
			while (1) {
				TY543257 LOC10;
				if (!(res_549592 <= HEX3Atmp_549589)) goto LA4;
				i_549580 = res_549592;
				{
					NimStringDesc* LOC9;
					if (!(((NI) 0) < i_549580)) goto LA7;
					LOC9 = 0;
					LOC9 = rawNewString(tnl_174654->Sup.len + 2);
appendString(LOC9, ((NimStringDesc*) &TMP4644));
appendString(LOC9, tnl_174654);
					add_176545(&s, LOC9);
				}
				LA7: ;
				memset((void*)LOC10, 0, sizeof(LOC10));
				LOC10[0] = rope_176407(((NI64) (i_549580)));
				LOC10[1] = gentypeinfo_549315(p, (*typ).sons->data[i_549580]);
				addf_177635(&s, ((NimStringDesc*) &TMP4678), LOC10, 2);
				res_549592 += ((NI) 1);
			} LA4: ;
		}
	}
	memset((void*)LOC11, 0, sizeof(LOC11));
	LOC12 = 0;
	LOC12 = len_228369(typ);
	LOC11[0] = rope_176407(((NI64) (LOC12)));
	LOC11[1] = s;
	result = HEX25_177236(((NimStringDesc*) &TMP4670), LOC11, 2);
	return result;
}

N_NIMCALL(void, gentupleinfo_549608)(Tproc549033* p, Ttype225847* typ, Ropeobj176009* name) {
	Ropeobj176009* s;
	TY543257 LOC1;
	TY543257 LOC2;
	TY543257 LOC3;
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = name;
	LOC1[1] = rope_176407(((NI64) ((*typ).kind)));
	s = HEX25_177236(((NimStringDesc*) &TMP4667), LOC1, 2);
	prepend_177206(&(*(*p).g).typeinfo, s);
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC2[0] = rope_176407(((NI64) ((*typ).Sup.id)));
	LOC2[1] = gentuplefields_549556(p, typ);
	addf_177635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4669), LOC2, 2);
	memset((void*)LOC3, 0, sizeof(LOC3));
	LOC3[0] = name;
	LOC3[1] = rope_176407(((NI64) ((*typ).Sup.id)));
	addf_177635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4668), LOC3, 2);
}

N_NIMCALL(Ropeobj176009*, gentypeinfo_549315)(Tproc549033* p, Ttype225847* typ) {
	Ropeobj176009* result;
	Ttype225847* t;
	TY176572 LOC1;
{	result = 0;
	t = skiptypes_229167(typ, 2048);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rope_176407(((NI64) ((*t).Sup.id)));
	result = HEX25_177236(((NimStringDesc*) &TMP4661), LOC1, 1);
	{
		NIM_BOOL LOC4;
		LOC4 = 0;
		LOC4 = containsorincl_222898((&(*(*p).g).typeinfogenerated), (*t).Sup.id);
		if (!LOC4) goto LA5;
		goto BeforeRet;
	}
	LA5: ;
	switch ((*t).kind) {
	case ((NU8) 13):
	{
		result = gentypeinfo_549315(p, (*t).sons->data[((NI) 0)]);
	}
	break;
	case ((NU8) 26):
	case ((NU8) 25):
	case ((NU8) 1):
	case ((NU8) 2):
	case ((NU8) 29):
	case ((NU8) 28):
	case ((NU8) 31) ... ((NU8) 44):
	{
		Ropeobj176009* s;
		TY543257 LOC9;
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = result;
		LOC9[1] = rope_176407(((NI64) ((*t).kind)));
		s = HEX25_177236(((NimStringDesc*) &TMP4662), LOC9, 2);
		prepend_177206(&(*(*p).g).typeinfo, s);
	}
	break;
	case ((NU8) 23):
	case ((NU8) 22):
	case ((NU8) 21):
	case ((NU8) 24):
	case ((NU8) 20):
	case ((NU8) 19):
	{
		Ropeobj176009* s;
		TY543257 LOC11;
		TY543257 LOC12;
		Ttype225847* LOC13;
		memset((void*)LOC11, 0, sizeof(LOC11));
		LOC11[0] = result;
		LOC11[1] = rope_176407(((NI64) ((*t).kind)));
		s = HEX25_177236(((NimStringDesc*) &TMP4662), LOC11, 2);
		prepend_177206(&(*(*p).g).typeinfo, s);
		memset((void*)LOC12, 0, sizeof(LOC12));
		LOC12[0] = result;
		LOC13 = 0;
		LOC13 = lastson_228426(t);
		LOC12[1] = gentypeinfo_549315(p, LOC13);
		addf_177635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4663), LOC12, 2);
	}
	break;
	case ((NU8) 4):
	case ((NU8) 16):
	{
		Ropeobj176009* s;
		TY543257 LOC15;
		TY543257 LOC16;
		memset((void*)LOC15, 0, sizeof(LOC15));
		LOC15[0] = result;
		LOC15[1] = rope_176407(((NI64) ((*t).kind)));
		s = HEX25_177236(((NimStringDesc*) &TMP4662), LOC15, 2);
		prepend_177206(&(*(*p).g).typeinfo, s);
		memset((void*)LOC16, 0, sizeof(LOC16));
		LOC16[0] = result;
		LOC16[1] = gentypeinfo_549315(p, (*t).sons->data[((NI) 1)]);
		addf_177635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4663), LOC16, 2);
	}
	break;
	case ((NU8) 14):
	{
		genenuminfo_549634(p, t, result);
	}
	break;
	case ((NU8) 17):
	{
		genobjectinfo_549506(p, t, result);
	}
	break;
	case ((NU8) 18):
	{
		gentupleinfo_549608(p, t, result);
	}
	break;
	default:
	{
		NimStringDesc* LOC21;
		LOC21 = 0;
		LOC21 = rawNewString(reprEnum((*t).kind, (&NTI225262))->Sup.len + 13);
appendString(LOC21, ((NimStringDesc*) &TMP4679));
appendString(LOC21, reprEnum((*t).kind, (&NTI225262)));
appendChar(LOC21, 41);
		internalerror_196191(LOC21);
	}
	break;
	}
	}BeforeRet: ;
	return result;
}

N_NIMCALL(void, createrecordvaraux_554821)(Tproc549033* p, Tnode225809* rec, Intset222056 excludedfieldids, Ropeobj176009** output) {
	switch ((*rec).kind) {
	case ((NU8) 138):
	{
		{
			NI i_554840;
			NI HEX3Atmp_554863;
			NI LOC3;
			NI res_554866;
			i_554840 = 0;
			HEX3Atmp_554863 = 0;
			LOC3 = 0;
			LOC3 = sonslen_228387(rec);
			HEX3Atmp_554863 = (NI)(LOC3 - ((NI) 1));
			res_554866 = ((NI) 0);
			{
				while (1) {
					if (!(res_554866 <= HEX3Atmp_554863)) goto LA5;
					i_554840 = res_554866;
					createrecordvaraux_554821(p, (*rec).kindU.S6.sons->data[i_554840], excludedfieldids, output);
					res_554866 += ((NI) 1);
				} LA5: ;
			}
		}
	}
	break;
	case ((NU8) 139):
	{
		createrecordvaraux_554821(p, (*rec).kindU.S6.sons->data[((NI) 0)], excludedfieldids, output);
		{
			NI i_554855;
			NI HEX3Atmp_554871;
			NI LOC8;
			NI res_554874;
			i_554855 = 0;
			HEX3Atmp_554871 = 0;
			LOC8 = 0;
			LOC8 = sonslen_228387(rec);
			HEX3Atmp_554871 = (NI)(LOC8 - ((NI) 1));
			res_554874 = ((NI) 1);
			{
				while (1) {
					Tnode225809* LOC11;
					if (!(res_554874 <= HEX3Atmp_554871)) goto LA10;
					i_554855 = res_554874;
					LOC11 = 0;
					LOC11 = lastson_228406((*rec).kindU.S6.sons->data[i_554855]);
					createrecordvaraux_554821(p, LOC11, excludedfieldids, output);
					res_554874 += ((NI) 1);
				} LA10: ;
			}
		}
	}
	break;
	case ((NU8) 3):
	{
		{
			NIM_BOOL LOC15;
			Ropeobj176009* LOC23;
			Ropeobj176009* LOC24;
			LOC15 = 0;
			LOC15 = contains_222829(excludedfieldids, (*(*rec).kindU.S4.sym).Sup.id);
			if (!!(LOC15)) goto LA16;
			{
				NI LOC20;
				LOC20 = 0;
				LOC20 = len_176034((*output));
				if (!(((NI) 0) < LOC20)) goto LA21;
				add_176545(output, ((NimStringDesc*) &TMP4644));
			}
			LA21: ;
			LOC23 = 0;
			LOC23 = manglename_549277((*rec).kindU.S4.sym);
			add_176534(output, LOC23);
			add_176545(output, ((NimStringDesc*) &TMP4688));
			LOC24 = 0;
			LOC24 = createvar_554813(p, (*(*rec).kindU.S4.sym).typ, NIM_FALSE);
			add_176534(output, LOC24);
		}
		LA16: ;
	}
	break;
	default:
	{
		internalerror_196172((*rec).info, ((NimStringDesc*) &TMP4689));
	}
	break;
	}
}

N_NIMCALL(void, createobjinitlist_554902)(Tproc549033* p, Ttype225847* typ, Intset222056 excludedfieldids, Ropeobj176009** output) {
	Ttype225847* t;
	t = typ;
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC12;
		TY176572 LOC18;
		LOC3 = 0;
		LOC3 = !((((*t).flags &(1<<((((NU8) 2))&31)))!=0));
		if (LOC3) goto LA4;
		LOC3 = !(((*t).sons->data[((NI) 0)] == NIM_NIL));
		LA4: ;
		if (!LOC3) goto LA5;
		{
			NI LOC9;
			LOC9 = 0;
			LOC9 = len_176034((*output));
			if (!(((NI) 0) < LOC9)) goto LA10;
			add_176545(output, ((NimStringDesc*) &TMP4644));
		}
		LA10: ;
		LOC12 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA15;
			LOC12 = copyString(((NimStringDesc*) &TMP4686));
		}
		goto LA13;
		LA15: ;
		{
			LOC12 = copyString(((NimStringDesc*) &TMP4687));
		}
		LA13: ;
		memset((void*)LOC18, 0, sizeof(LOC18));
		LOC18[0] = gentypeinfo_549315(p, t);
		addf_177635(output, LOC12, LOC18, 1);
	}
	LA5: ;
	{
		while (1) {
			if (!!((t == NIM_NIL))) goto LA20;
			createrecordvaraux_554821(p, (*t).n, excludedfieldids, output);
			t = (*t).sons->data[((NI) 0)];
		} LA20: ;
	}
}

N_NIMCALL(Ropeobj176009*, createvar_554813)(Tproc549033* p, Ttype225847* typ, NIM_BOOL indirect) {
	Ropeobj176009* result;
	Ttype225847* t;
	result = 0;
	t = skiptypes_229167(typ, IL64(211106232576256));
	switch ((*t).kind) {
	case ((NU8) 31) ... ((NU8) 35):
	case ((NU8) 40) ... ((NU8) 44):
	case ((NU8) 14):
	case ((NU8) 2):
	{
		result = puttoseq_554800(((NimStringDesc*) &TMP4638), indirect);
	}
	break;
	case ((NU8) 36) ... ((NU8) 39):
	{
		result = puttoseq_554800(((NimStringDesc*) &TMP4639), indirect);
	}
	break;
	case ((NU8) 20):
	case ((NU8) 11):
	{
		Ttype225847* LOC4;
		LOC4 = 0;
		LOC4 = lastson_228426(typ);
		result = createvar_554813(p, LOC4, indirect);
	}
	break;
	case ((NU8) 19):
	{
		result = puttoseq_554800(((NimStringDesc*) &TMP4640), indirect);
	}
	break;
	case ((NU8) 1):
	{
		result = puttoseq_554800(((NimStringDesc*) &TMP4641), indirect);
	}
	break;
	case ((NU8) 16):
	case ((NU8) 4):
	{
		NI length;
		NI64 LOC8;
		Ttype225847* e;
		LOC8 = 0;
		LOC8 = lengthord_255016(t);
		length = ((NI) (LOC8));
		e = elemtype_255522(t);
		{
			TY515577 LOC13;
			if (!(((NI) 32) < length)) goto LA11;
			usemagic_549838(p, ((NimStringDesc*) &TMP4658));
			usemagic_549838(p, ((NimStringDesc*) &TMP4659));
			memset((void*)LOC13, 0, sizeof(LOC13));
			LOC13[0] = rope_176407(((NI64) (length)));
			LOC13[1] = createvar_554813(p, e, NIM_FALSE);
			LOC13[2] = gentypeinfo_549315(p, e);
			result = HEX25_177236(((NimStringDesc*) &TMP4660), LOC13, 3);
		}
		goto LA9;
		LA11: ;
		{
			NI i;
			result = rope_176322(((NimStringDesc*) &TMP4680));
			i = ((NI) 0);
			{
				while (1) {
					Ropeobj176009* LOC21;
					if (!(i < length)) goto LA16;
					{
						if (!(((NI) 0) < i)) goto LA19;
						add_176545(&result, ((NimStringDesc*) &TMP4644));
					}
					LA19: ;
					LOC21 = 0;
					LOC21 = createvar_554813(p, e, NIM_FALSE);
					add_176534(&result, LOC21);
					i += ((NI) 1);
				} LA16: ;
			}
			add_176545(&result, ((NimStringDesc*) &TMP4681));
		}
		LA9: ;
		{
			TY176572 LOC26;
			if (!indirect) goto LA24;
			memset((void*)LOC26, 0, sizeof(LOC26));
			LOC26[0] = result;
			result = HEX25_177236(((NimStringDesc*) &TMP4637), LOC26, 1);
		}
		LA24: ;
	}
	break;
	case ((NU8) 18):
	{
		result = rope_176322(((NimStringDesc*) &TMP4682));
		{
			NI i_555012;
			NI HEX3Atmp_555080;
			NI LOC29;
			NI res_555083;
			i_555012 = 0;
			HEX3Atmp_555080 = 0;
			LOC29 = 0;
			LOC29 = sonslen_228351(t);
			HEX3Atmp_555080 = (LOC29 - 1);
			res_555083 = ((NI) 0);
			{
				while (1) {
					NimStringDesc* LOC36;
					TY543257 LOC42;
					if (!(res_555083 <= HEX3Atmp_555080)) goto LA31;
					i_555012 = res_555083;
					{
						if (!(((NI) 0) < i_555012)) goto LA34;
						add_176545(&result, ((NimStringDesc*) &TMP4644));
					}
					LA34: ;
					LOC36 = 0;
					{
						if (!((*p).target == ((NU8) 0))) goto LA39;
						LOC36 = copyString(((NimStringDesc*) &TMP4683));
					}
					goto LA37;
					LA39: ;
					{
						LOC36 = copyString(((NimStringDesc*) &TMP4684));
					}
					LA37: ;
					memset((void*)LOC42, 0, sizeof(LOC42));
					LOC42[0] = rope_176407(((NI64) (i_555012)));
					LOC42[1] = createvar_554813(p, (*t).sons->data[i_555012], NIM_FALSE);
					addf_177635(&result, LOC36, LOC42, 2);
					res_555083 += ((NI) 1);
				} LA31: ;
			}
		}
		add_176545(&result, ((NimStringDesc*) &TMP4685));
		{
			TY176572 LOC47;
			if (!indirect) goto LA45;
			memset((void*)LOC47, 0, sizeof(LOC47));
			LOC47[0] = result;
			result = HEX25_177236(((NimStringDesc*) &TMP4637), LOC47, 1);
		}
		LA45: ;
	}
	break;
	case ((NU8) 17):
	{
		Ropeobj176009* initlist;
		Intset222056 LOC49;
		TY176572 LOC50;
		initlist = 0;
		memset((void*)(&LOC49), 0, sizeof(LOC49));
		initintset_222927((&LOC49));
		createobjinitlist_554902(p, t, LOC49, &initlist);
		memset((void*)LOC50, 0, sizeof(LOC50));
		LOC50[0] = initlist;
		result = HEX25_177236(((NimStringDesc*) &TMP4690), LOC50, 1);
		{
			TY176572 LOC55;
			if (!indirect) goto LA53;
			memset((void*)LOC55, 0, sizeof(LOC55));
			LOC55[0] = result;
			result = HEX25_177236(((NimStringDesc*) &TMP4637), LOC55, 1);
		}
		LA53: ;
	}
	break;
	case ((NU8) 23):
	case ((NU8) 21):
	case ((NU8) 22):
	{
		{
			NU8 LOC59;
			NimStringDesc* LOC62;
			LOC59 = 0;
			LOC59 = maptype_549256(t);
			if (!(LOC59 == ((NU8) 8))) goto LA60;
			LOC62 = 0;
			{
				if (!((*p).target == ((NU8) 0))) goto LA65;
				LOC62 = copyString(((NimStringDesc*) &TMP4691));
			}
			goto LA63;
			LA65: ;
			{
				LOC62 = copyString(((NimStringDesc*) &TMP4692));
			}
			LA63: ;
			result = puttoseq_554800(LOC62, indirect);
		}
		goto LA57;
		LA60: ;
		{
			NimStringDesc* LOC69;
			LOC69 = 0;
			{
				if (!((*p).target == ((NU8) 0))) goto LA72;
				LOC69 = copyString(((NimStringDesc*) &TMP4627));
			}
			goto LA70;
			LA72: ;
			{
				LOC69 = copyString(((NimStringDesc*) &TMP4693));
			}
			LA70: ;
			result = puttoseq_554800(LOC69, indirect);
		}
		LA57: ;
	}
	break;
	case ((NU8) 24):
	case ((NU8) 28):
	case ((NU8) 29):
	case ((NU8) 26):
	case ((NU8) 25):
	{
		NimStringDesc* LOC76;
		LOC76 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA79;
			LOC76 = copyString(((NimStringDesc*) &TMP4627));
		}
		goto LA77;
		LA79: ;
		{
			LOC76 = copyString(((NimStringDesc*) &TMP4693));
		}
		LA77: ;
		result = puttoseq_554800(LOC76, indirect);
	}
	break;
	default:
	{
		NimStringDesc* LOC83;
		LOC83 = 0;
		LOC83 = rawNewString(reprEnum((*t).kind, (&NTI225262))->Sup.len + 11);
appendString(LOC83, ((NimStringDesc*) &TMP4694));
appendString(LOC83, reprEnum((*t).kind, (&NTI225262)));
		internalerror_196191(LOC83);
		result = NIM_NIL;
	}
	break;
	}
	return result;
}

N_NIMCALL(NIM_BOOL, needsnocopy_552865)(Tnode225809* y) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	Ttype225847* LOC3;
	result = 0;
	LOC1 = 0;
	LOC1 = ((TMP4695[(*y).kind/8] &(1<<((*y).kind%8)))!=0);
	if (LOC1) goto LA2;
	LOC3 = 0;
	LOC3 = skiptypes_229167((*y).typ, IL64(211106232576256));
	LOC1 = ((*LOC3).kind == ((NU8) 22) || (*LOC3).kind == ((NU8) 21) || (*LOC3).kind == ((NU8) 23));
	LA2: ;
	result = LOC1;
	return result;
}

N_NIMCALL(void, genvarinit_555109)(Tproc549033* p, Tsym225841* v, Tnode225809* n) {
	Tcompres549023 a;
	Ropeobj176009* s;
{	memset((void*)(&a), 0, sizeof(a));
	s = 0;
	{
		NimStringDesc* LOC5;
		TY543257 LOC11;
		NIM_BOOL LOC12;
		if (!((*n).kind == ((NU8) 1))) goto LA3;
		LOC5 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA8;
			LOC5 = copyString(((NimStringDesc*) &TMP4634));
		}
		goto LA6;
		LA8: ;
		{
			LOC5 = copyString(((NimStringDesc*) &TMP4635));
		}
		LA6: ;
		memset((void*)LOC11, 0, sizeof(LOC11));
		LOC11[0] = manglename_549277(v);
		LOC12 = 0;
		LOC12 = isindirect_553429(v);
		LOC11[1] = createvar_554813(p, (*v).typ, LOC12);
		addf_177635(&(*p).body, LOC5, LOC11, 2);
	}
	goto LA1;
	LA3: ;
	{
		Ropeobj176009* LOC14;
		NU8 LOC15;
		LOC14 = 0;
		LOC14 = manglename_549277(v);
		gen_549808(p, n, (&a));
		LOC15 = 0;
		LOC15 = maptype_549256((*v).typ);
		switch (LOC15) {
		case ((NU8) 7):
		{
			{
				NIM_BOOL LOC19;
				LOC19 = 0;
				LOC19 = needsnocopy_552865(n);
				if (!LOC19) goto LA20;
				s = a.res;
			}
			goto LA17;
			LA20: ;
			{
				TY543257 LOC23;
				usemagic_549838(p, ((NimStringDesc*) &TMP4659));
				memset((void*)LOC23, 0, sizeof(LOC23));
				LOC23[0] = a.res;
				LOC23[1] = gentypeinfo_549315(p, (*n).typ);
				s = HEX25_177236(((NimStringDesc*) &TMP4696), LOC23, 2);
			}
			LA17: ;
		}
		break;
		case ((NU8) 8):
		{
			{
				if (!!((a.typ == ((NU8) 8)))) goto LA27;
				internalerror_196172((*n).info, ((NimStringDesc*) &TMP4697));
			}
			LA27: ;
			{
				NimStringDesc* LOC33;
				TY515577 LOC39;
				if (!!(((32776 & (*v).flags) == 0))) goto LA31;
				LOC33 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA36;
					LOC33 = copyString(((NimStringDesc*) &TMP4698));
				}
				goto LA34;
				LA36: ;
				{
					LOC33 = copyString(((NimStringDesc*) &TMP4699));
				}
				LA34: ;
				memset((void*)LOC39, 0, sizeof(LOC39));
				LOC39[0] = (*v).loc.r;
				LOC39[1] = a.address;
				LOC39[2] = a.res;
				addf_177635(&(*p).body, LOC33, LOC39, 3);
			}
			goto LA29;
			LA31: ;
			{
				NimStringDesc* LOC41;
				TY515577 LOC47;
				LOC41 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA44;
					LOC41 = copyString(((NimStringDesc*) &TMP4700));
				}
				goto LA42;
				LA44: ;
				{
					LOC41 = copyString(((NimStringDesc*) &TMP4701));
				}
				LA42: ;
				memset((void*)LOC47, 0, sizeof(LOC47));
				LOC47[0] = (*v).loc.r;
				LOC47[1] = a.address;
				LOC47[2] = a.res;
				addf_177635(&(*p).body, LOC41, LOC47, 3);
			}
			LA29: ;
			goto BeforeRet;
		}
		break;
		default:
		{
			s = a.res;
		}
		break;
		}
		{
			NIM_BOOL LOC51;
			NimStringDesc* LOC54;
			TY543257 LOC60;
			LOC51 = 0;
			LOC51 = isindirect_553429(v);
			if (!LOC51) goto LA52;
			LOC54 = 0;
			{
				if (!((*p).target == ((NU8) 0))) goto LA57;
				LOC54 = copyString(((NimStringDesc*) &TMP4702));
			}
			goto LA55;
			LA57: ;
			{
				LOC54 = copyString(((NimStringDesc*) &TMP4703));
			}
			LA55: ;
			memset((void*)LOC60, 0, sizeof(LOC60));
			LOC60[0] = (*v).loc.r;
			LOC60[1] = s;
			addf_177635(&(*p).body, LOC54, LOC60, 2);
		}
		goto LA49;
		LA52: ;
		{
			NimStringDesc* LOC62;
			TY543257 LOC68;
			LOC62 = 0;
			{
				if (!((*p).target == ((NU8) 0))) goto LA65;
				LOC62 = copyString(((NimStringDesc*) &TMP4634));
			}
			goto LA63;
			LA65: ;
			{
				LOC62 = copyString(((NimStringDesc*) &TMP4635));
			}
			LA63: ;
			memset((void*)LOC68, 0, sizeof(LOC68));
			LOC68[0] = (*v).loc.r;
			LOC68[1] = s;
			addf_177635(&(*p).body, LOC62, LOC68, 2);
		}
		LA49: ;
	}
	LA1: ;
	}BeforeRet: ;
}

N_NIMCALL(void, genconstant_549831)(Tproc549033* p, Tsym225841* c) {
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC5;
		Ropeobj176009* oldbody;
		LOC3 = 0;
		LOC3 = !((((*c).loc.flags &(1<<((((NU8) 3))&15)))!=0));
		if (!(LOC3)) goto LA4;
		LOC5 = 0;
		LOC5 = containsorincl_222898((&(*(*p).g).generatedsyms), (*c).Sup.id);
		LOC3 = !(LOC5);
		LA4: ;
		if (!LOC3) goto LA6;
		oldbody = (*p).body;
		asgnRefNoCycle((void**) (&(*p).body), NIM_NIL);
		genvarinit_555109(p, c, (*c).ast);
		add_176534(&(*(*p).g).code, (*p).body);
		asgnRefNoCycle((void**) (&(*p).body), oldbody);
	}
	LA6: ;
}

N_NIMCALL(void, genprocforsymifneeded_553633)(Tproc549033* p, Tsym225841* s) {
	{
		NIM_BOOL LOC3;
		Ropeobj176009* newp;
		Tproc549033* owner;
		LOC3 = 0;
		LOC3 = containsorincl_222898((&(*(*p).g).generatedsyms), (*s).Sup.id);
		if (!!(LOC3)) goto LA4;
		newp = genproc_549824(p, s);
		owner = p;
		{
			while (1) {
				NIM_BOOL LOC8;
				LOC8 = 0;
				LOC8 = !((owner == NIM_NIL));
				if (!(LOC8)) goto LA9;
				LOC8 = !(((*owner).prc == (*s).owner));
				LA9: ;
				if (!LOC8) goto LA7;
				owner = (*owner).up;
			} LA7: ;
		}
		{
			if (!!((owner == NIM_NIL))) goto LA12;
			add_176534(&(*owner).locals, newp);
		}
		goto LA10;
		LA12: ;
		{
			add_176534(&(*(*p).g).code, newp);
		}
		LA10: ;
	}
	LA4: ;
}

N_NIMCALL(void, gensym_553692)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tsym225841* s;
	s = (*n).kindU.S4.sym;
	switch ((*s).kind) {
	case ((NU8) 8):
	case ((NU8) 9):
	case ((NU8) 3):
	case ((NU8) 5):
	case ((NU8) 11):
	{
		NU8 k;
		{
			NimStringDesc* LOC6;
			if (!((*s).loc.r == NIM_NIL)) goto LA4;
			LOC6 = 0;
			LOC6 = rawNewString((*(*s).name).s->Sup.len + 30);
appendString(LOC6, ((NimStringDesc*) &TMP4630));
appendString(LOC6, (*(*s).name).s);
			internalerror_196172((*n).info, LOC6);
		}
		LA4: ;
		k = maptype_549256((*s).typ);
		{
			if (!(k == ((NU8) 8))) goto LA9;
			(*r).typ = ((NU8) 8);
			{
				TY176572 LOC15;
				TY176572 LOC16;
				if (!!(((32776 & (*s).flags) == 0))) goto LA13;
				memset((void*)LOC15, 0, sizeof(LOC15));
				LOC15[0] = (*s).loc.r;
				unsureAsgnRef((void**) (&(*r).address), HEX25_177236(((NimStringDesc*) &TMP4631), LOC15, 1));
				memset((void*)LOC16, 0, sizeof(LOC16));
				LOC16[0] = (*s).loc.r;
				unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4632), LOC16, 1));
			}
			goto LA11;
			LA13: ;
			{
				unsureAsgnRef((void**) (&(*r).address), (*s).loc.r);
				unsureAsgnRef((void**) (&(*r).res), HEX26_176471((*s).loc.r, ((NimStringDesc*) &TMP4633)));
			}
			LA11: ;
		}
		goto LA7;
		LA9: ;
		{
			NIM_BOOL LOC19;
			TY176572 LOC22;
			LOC19 = 0;
			LOC19 = isindirect_553429(s);
			if (!LOC19) goto LA20;
			memset((void*)LOC22, 0, sizeof(LOC22));
			LOC22[0] = (*s).loc.r;
			unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4631), LOC22, 1));
		}
		goto LA7;
		LA20: ;
		{
			unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
		}
		LA7: ;
	}
	break;
	case ((NU8) 10):
	{
		genconstant_549831(p, s);
		{
			NimStringDesc* LOC29;
			if (!((*s).loc.r == NIM_NIL)) goto LA27;
			LOC29 = 0;
			LOC29 = rawNewString((*(*s).name).s->Sup.len + 30);
appendString(LOC29, ((NimStringDesc*) &TMP4630));
appendString(LOC29, (*(*s).name).s);
			internalerror_196172((*n).info, LOC29);
		}
		LA27: ;
		unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
	}
	break;
	case ((NU8) 12):
	case ((NU8) 16):
	case ((NU8) 13):
	{
		Ropeobj176009* LOC31;
		LOC31 = 0;
		LOC31 = manglename_549277(s);
		unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
		{
			NIM_BOOL LOC34;
			NIM_BOOL LOC35;
			LOC34 = 0;
			LOC35 = 0;
			LOC35 = (((*s).loc.flags &(1<<((((NU8) 3))&15)))!=0);
			if (LOC35) goto LA36;
			LOC35 = !(((*s).magic == ((NU8) 0)));
			LA36: ;
			LOC34 = LOC35;
			if (LOC34) goto LA37;
			LOC34 = !(((134217760 & (*s).flags) == 0));
			LA37: ;
			if (!LOC34) goto LA38;
		}
		goto LA32;
		LA38: ;
		{
			NIM_BOOL LOC41;
			Tnode225809* LOC43;
			LOC41 = 0;
			LOC41 = ((*s).kind == ((NU8) 13));
			if (!(LOC41)) goto LA42;
			LOC43 = 0;
			LOC43 = getbody_271062(s);
			LOC41 = ((*LOC43).kind == ((NU8) 1));
			LA42: ;
			if (!LOC41) goto LA44;
		}
		goto LA32;
		LA44: ;
		{
			if (!(((*s).flags &(1<<((((NU8) 4))&31)))!=0)) goto LA47;
			(*(*p).g).forwarded = (Tsymseq225811*) incrSeqV2(&((*(*p).g).forwarded)->Sup, sizeof(Tsym225841*));
			asgnRefNoCycle((void**) (&(*(*p).g).forwarded->data[(*(*p).g).forwarded->Sup.len]), s);
			++(*(*p).g).forwarded->Sup.len;
		}
		goto LA32;
		LA47: ;
		{
			genprocforsymifneeded_553633(p, s);
		}
		LA32: ;
	}
	break;
	default:
	{
		{
			NimStringDesc* LOC55;
			if (!((*s).loc.r == NIM_NIL)) goto LA53;
			LOC55 = 0;
			LOC55 = rawNewString((*(*s).name).s->Sup.len + 30);
appendString(LOC55, ((NimStringDesc*) &TMP4630));
appendString(LOC55, (*(*s).name).s);
			internalerror_196172((*n).info, LOC55);
		}
		LA53: ;
		unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
	}
	break;
	}
	(*r).kind = ((NU8) 2);
}

static N_INLINE(NIM_BOOL, isemptytype_230932)(Ttype225847* t) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = (t == NIM_NIL);
	if (LOC1) goto LA2;
	LOC1 = ((*t).kind == ((NU8) 3) || (*t).kind == ((NU8) 7));
	LA2: ;
	result = LOC1;
	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;
}

static N_INLINE(NIM_BOOL, isatom_230904)(Tnode225809* n) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = (((NU8) 0) <= (*n).kind);
	if (!(LOC1)) goto LA2;
	LOC1 = ((*n).kind <= ((NU8) 23));
	LA2: ;
	result = LOC1;
	return result;
}

N_NIMCALL(NIM_BOOL, issimpleexpr_549895)(Tnode225809* n) {
	NIM_BOOL result;
{	result = 0;
	{
		if (!((*n).kind >= ((NU8) 26) && (*n).kind <= ((NU8) 32) || (*n).kind >= ((NU8) 37) && (*n).kind <= ((NU8) 39) || (*n).kind >= ((NU8) 41) && (*n).kind <= ((NU8) 42) || (*n).kind == ((NU8) 45))) goto LA3;
		{
			Tnode225809* c_549922;
			c_549922 = 0;
			{
				NI i_549929;
				NI HEX3Atmp_549931;
				NI LOC7;
				NI res_549933;
				i_549929 = 0;
				HEX3Atmp_549931 = 0;
				LOC7 = 0;
				LOC7 = len_226098(n);
				HEX3Atmp_549931 = (LOC7 - 1);
				res_549933 = ((NI) 0);
				{
					while (1) {
						if (!(res_549933 <= HEX3Atmp_549931)) goto LA9;
						i_549929 = res_549933;
						c_549922 = (*n).kindU.S6.sons->data[i_549929];
						{
							NIM_BOOL LOC12;
							LOC12 = 0;
							LOC12 = issimpleexpr_549895(c_549922);
							if (!!(LOC12)) goto LA13;
							result = NIM_FALSE;
							goto BeforeRet;
						}
						LA13: ;
						res_549933 += ((NI) 1);
					} LA9: ;
				}
			}
		}
		result = NIM_TRUE;
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC16;
		LOC16 = 0;
		LOC16 = isatom_230904(n);
		if (!LOC16) goto LA17;
		result = NIM_TRUE;
	}
	goto LA1;
	LA17: ;
	LA1: ;
	}BeforeRet: ;
	return result;
}

static N_INLINE(Ropeobj176009*, rdloc_549127)(Tcompres549023 a) {
	Ropeobj176009* result;
	result = 0;
	result = a.res;
	return result;
}

N_NIMCALL(Ropeobj176009*, gettemp_549954)(Tproc549033* p, NIM_BOOL defineinlocals) {
	Ropeobj176009* result;
	TY176572 LOC1;
	result = 0;
	(*p).unique += ((NI) 1);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rope_176407(((NI64) ((*p).unique)));
	result = HEX25_177236(((NimStringDesc*) &TMP4715), LOC1, 1);
	{
		NimStringDesc* LOC6;
		TY176572 LOC12;
		if (!defineinlocals) goto LA4;
		LOC6 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA9;
			LOC6 = copyString(((NimStringDesc*) &TMP4716));
		}
		goto LA7;
		LA9: ;
		{
			LOC6 = copyString(((NimStringDesc*) &TMP4717));
		}
		LA7: ;
		memset((void*)LOC12, 0, sizeof(LOC12));
		LOC12[0] = result;
		addf_177635(&(*p).locals, LOC6, LOC12, 1);
	}
	LA4: ;
	return result;
}

N_NIMCALL(void, genor_550252)(Tproc549033* p, Tnode225809* a, Tnode225809* b, Tcompres549023* r) {
	Tcompres549023 x;
	Tcompres549023 y;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC7;
		TY543257 LOC13;
		LOC3 = 0;
		LOC3 = issimpleexpr_549895(a);
		if (!(LOC3)) goto LA4;
		LOC3 = issimpleexpr_549895(b);
		LA4: ;
		if (!LOC3) goto LA5;
		gen_549808(p, a, (&x));
		gen_549808(p, b, (&y));
		(*r).kind = ((NU8) 1);
		LOC7 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA10;
			LOC7 = copyString(((NimStringDesc*) &TMP4713));
		}
		goto LA8;
		LA10: ;
		{
			LOC7 = copyString(((NimStringDesc*) &TMP4714));
		}
		LA8: ;
		memset((void*)LOC13, 0, sizeof(LOC13));
		LOC13[0] = rdloc_549127(x);
		LOC13[1] = rdloc_549127(y);
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(LOC7, LOC13, 2));
	}
	goto LA1;
	LA5: ;
	{
		NimStringDesc* LOC15;
		TY543257 LOC21;
		NimStringDesc* LOC22;
		TY543257 LOC28;
		unsureAsgnRef((void**) (&(*r).res), gettemp_549954(p, NIM_TRUE));
		(*r).kind = ((NU8) 2);
		gen_549808(p, a, (&x));
		LOC15 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA18;
			LOC15 = copyString(((NimStringDesc*) &TMP4718));
		}
		goto LA16;
		LA18: ;
		{
			LOC15 = copyString(((NimStringDesc*) &TMP4719));
		}
		LA16: ;
		memset((void*)LOC21, 0, sizeof(LOC21));
		LOC21[0] = rdloc_549127(x);
		LOC21[1] = rdloc_549127((*r));
		addf_177635(&(*p).body, LOC15, LOC21, 2);
		gen_549808(p, b, (&y));
		LOC22 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA25;
			LOC22 = copyString(((NimStringDesc*) &TMP4720));
		}
		goto LA23;
		LA25: ;
		{
			LOC22 = copyString(((NimStringDesc*) &TMP4721));
		}
		LA23: ;
		memset((void*)LOC28, 0, sizeof(LOC28));
		LOC28[0] = rdloc_549127(y);
		LOC28[1] = rdloc_549127((*r));
		addf_177635(&(*p).body, LOC22, LOC28, 2);
	}
	LA1: ;
}

N_NIMCALL(void, genand_549988)(Tproc549033* p, Tnode225809* a, Tnode225809* b, Tcompres549023* r) {
	Tcompres549023 x;
	Tcompres549023 y;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC7;
		TY543257 LOC13;
		LOC3 = 0;
		LOC3 = issimpleexpr_549895(a);
		if (!(LOC3)) goto LA4;
		LOC3 = issimpleexpr_549895(b);
		LA4: ;
		if (!LOC3) goto LA5;
		gen_549808(p, a, (&x));
		gen_549808(p, b, (&y));
		(*r).kind = ((NU8) 1);
		LOC7 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA10;
			LOC7 = copyString(((NimStringDesc*) &TMP4722));
		}
		goto LA8;
		LA10: ;
		{
			LOC7 = copyString(((NimStringDesc*) &TMP4723));
		}
		LA8: ;
		memset((void*)LOC13, 0, sizeof(LOC13));
		LOC13[0] = rdloc_549127(x);
		LOC13[1] = rdloc_549127(y);
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(LOC7, LOC13, 2));
	}
	goto LA1;
	LA5: ;
	{
		NimStringDesc* LOC15;
		TY543257 LOC21;
		NimStringDesc* LOC22;
		TY543257 LOC28;
		unsureAsgnRef((void**) (&(*r).res), gettemp_549954(p, NIM_TRUE));
		(*r).kind = ((NU8) 2);
		gen_549808(p, a, (&x));
		LOC15 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA18;
			LOC15 = copyString(((NimStringDesc*) &TMP4724));
		}
		goto LA16;
		LA18: ;
		{
			LOC15 = copyString(((NimStringDesc*) &TMP4725));
		}
		LA16: ;
		memset((void*)LOC21, 0, sizeof(LOC21));
		LOC21[0] = rdloc_549127(x);
		LOC21[1] = rdloc_549127((*r));
		addf_177635(&(*p).body, LOC15, LOC21, 2);
		gen_549808(p, b, (&y));
		LOC22 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA25;
			LOC22 = copyString(((NimStringDesc*) &TMP4720));
		}
		goto LA23;
		LA25: ;
		{
			LOC22 = copyString(((NimStringDesc*) &TMP4721));
		}
		LA23: ;
		memset((void*)LOC28, 0, sizeof(LOC28));
		LOC28[0] = rdloc_549127(y);
		LOC28[1] = rdloc_549127((*r));
		addf_177635(&(*p).body, LOC22, LOC28, 2);
	}
	LA1: ;
}

N_NIMCALL(void, arithaux_550859)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NU8 op, Tmagicops550455 ops) {
	Tcompres549023 x;
	Tcompres549023 y;
	NI i;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	i = !((((*p).options &(1<<((((NU8) 5))&31)))!=0));
	usemagic_549838(p, ops[(op)- 44][(i)- 0]);
	{
		NI LOC3;
		TY543257 LOC6;
		LOC3 = 0;
		LOC3 = sonslen_228387(n);
		if (!(((NI) 2) < LOC3)) goto LA4;
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
		memset((void*)LOC6, 0, sizeof(LOC6));
		LOC6[0] = rdloc_549127(x);
		LOC6[1] = rdloc_549127(y);
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(ops[(op)- 44][((NI)(((NI) (i)) + ((NI) 2)))- 0], LOC6, 2));
	}
	goto LA1;
	LA4: ;
	{
		TY176572 LOC8;
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
		memset((void*)LOC8, 0, sizeof(LOC8));
		LOC8[0] = rdloc_549127((*r));
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(ops[(op)- 44][((NI)(((NI) (i)) + ((NI) 2)))- 0], LOC8, 1));
	}
	LA1: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, arith_550907)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NU8 op) {
	Tmagicops550455 LOC1;
	memset((void*)LOC1, 0, sizeof(LOC1));
	{
		if (!((*p).target == ((NU8) 0))) goto LA4;
		genericAssign((void*)LOC1, (void*)jsops_550461, (&NTI550455));
	}
	goto LA2;
	LA4: ;
	{
		genericAssign((void*)LOC1, (void*)luaops_550624, (&NTI550455));
	}
	LA2: ;
	arithaux_550859(p, n, r, op, LOC1);
}

N_NIMCALL(void, unaryexpr_550842)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NimStringDesc* magic, NimStringDesc* frmt) {
	TY176572 LOC1;
	usemagic_549838(p, magic);
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rdloc_549127((*r));
	unsureAsgnRef((void**) (&(*r).res), HEX25_177236(frmt, LOC1, 1));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genrepr_555828)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Ttype225847* t;
	t = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106242013440));
	switch ((*t).kind) {
	case ((NU8) 31) ... ((NU8) 44):
	{
		unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4811));
	}
	break;
	case ((NU8) 14):
	case ((NU8) 15):
	{
		TY543257 LOC3;
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
		usemagic_549838(p, ((NimStringDesc*) &TMP4707));
		(*r).kind = ((NU8) 1);
		memset((void*)LOC3, 0, sizeof(LOC3));
		LOC3[0] = gentypeinfo_549315(p, t);
		LOC3[1] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4812), LOC3, 2));
	}
	break;
	default:
	{
		internalerror_196172((*n).info, ((NimStringDesc*) &TMP4813));
	}
	break;
	}
}

N_NIMCALL(void, genswap_553019)(Tproc549033* p, Tnode225809* n) {
	Tcompres549023 a;
	Tcompres549023 b;
	Ropeobj176009* tmp;
	NimStringDesc* LOC20;
	TY515577 LOC26;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&b));
	tmp = gettemp_549954(p, NIM_FALSE);
	{
		Ttype225847* LOC3;
		NU8 LOC4;
		Ropeobj176009* tmp2;
		NimStringDesc* LOC13;
		TY515577 LOC19;
		LOC3 = 0;
		LOC3 = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106240964864));
		LOC4 = 0;
		LOC4 = maptype_549256(LOC3);
		if (!(LOC4 == ((NU8) 8))) goto LA5;
		tmp2 = gettemp_549954(p, NIM_FALSE);
		{
			NIM_BOOL LOC9;
			LOC9 = 0;
			LOC9 = !((a.typ == ((NU8) 8)));
			if (LOC9) goto LA10;
			LOC9 = !((b.typ == ((NU8) 8)));
			LA10: ;
			if (!LOC9) goto LA11;
			internalerror_196172((*n).info, ((NimStringDesc*) &TMP4814));
		}
		LA11: ;
		LOC13 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA16;
			LOC13 = copyString(((NimStringDesc*) &TMP4815));
		}
		goto LA14;
		LA16: ;
		{
			LOC13 = copyString(((NimStringDesc*) &TMP4816));
		}
		LA14: ;
		memset((void*)LOC19, 0, sizeof(LOC19));
		LOC19[0] = tmp;
		LOC19[1] = a.address;
		LOC19[2] = b.address;
		addf_177635(&(*p).body, LOC13, LOC19, 3);
		tmp = tmp2;
	}
	LA5: ;
	LOC20 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA23;
		LOC20 = copyString(((NimStringDesc*) &TMP4817));
	}
	goto LA21;
	LA23: ;
	{
		LOC20 = copyString(((NimStringDesc*) &TMP4818));
	}
	LA21: ;
	memset((void*)LOC26, 0, sizeof(LOC26));
	LOC26[0] = tmp;
	LOC26[1] = a.res;
	LOC26[2] = b.res;
	addf_177635(&(*p).body, LOC20, LOC26, 3);
}

N_NIMCALL(void, binaryexpr_550790)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NimStringDesc* magic, NimStringDesc* frmt) {
	Tcompres549023 x;
	Tcompres549023 y;
	TY543257 LOC1;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	usemagic_549838(p, magic);
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rdloc_549127(x);
	LOC1[1] = rdloc_549127(y);
	unsureAsgnRef((void**) (&(*r).res), HEX25_177236(frmt, LOC1, 2));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genconstrstr_555730)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 a;
	NI LOC25;
	memset((void*)(&a), 0, sizeof(a));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
	(*r).kind = ((NU8) 1);
	{
		Ttype225847* LOC3;
		TY176572 LOC6;
		Ropeobj176009* LOC7;
		LOC3 = 0;
		LOC3 = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106242013440));
		if (!((*LOC3).kind == ((NU8) 2))) goto LA4;
		memset((void*)LOC6, 0, sizeof(LOC6));
		LOC6[0] = a.res;
		LOC7 = 0;
		LOC7 = HEX25_177236(((NimStringDesc*) &TMP4826), LOC6, 1);
		add_176534(&(*r).res, LOC7);
	}
	goto LA1;
	LA4: ;
	{
		TY176572 LOC9;
		Ropeobj176009* LOC10;
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = a.res;
		LOC10 = 0;
		LOC10 = HEX25_177236(((NimStringDesc*) &TMP4827), LOC9, 1);
		add_176534(&(*r).res, LOC10);
	}
	LA1: ;
	{
		NI i_555767;
		NI HEX3Atmp_555806;
		NI LOC12;
		NI res_555809;
		i_555767 = 0;
		HEX3Atmp_555806 = 0;
		LOC12 = 0;
		LOC12 = sonslen_228387(n);
		HEX3Atmp_555806 = (NI)(LOC12 - ((NI) 2));
		res_555809 = ((NI) 2);
		{
			while (1) {
				if (!(res_555809 <= HEX3Atmp_555806)) goto LA14;
				i_555767 = res_555809;
				gen_549808(p, (*n).kindU.S6.sons->data[i_555767], (&a));
				{
					Ttype225847* LOC17;
					TY176572 LOC20;
					Ropeobj176009* LOC21;
					LOC17 = 0;
					LOC17 = skiptypes_229167((*(*n).kindU.S6.sons->data[i_555767]).typ, IL64(211106242013440));
					if (!((*LOC17).kind == ((NU8) 2))) goto LA18;
					memset((void*)LOC20, 0, sizeof(LOC20));
					LOC20[0] = a.res;
					LOC21 = 0;
					LOC21 = HEX25_177236(((NimStringDesc*) &TMP4828), LOC20, 1);
					add_176534(&(*r).res, LOC21);
				}
				goto LA15;
				LA18: ;
				{
					TY176572 LOC23;
					Ropeobj176009* LOC24;
					memset((void*)LOC23, 0, sizeof(LOC23));
					LOC23[0] = a.res;
					LOC24 = 0;
					LOC24 = HEX25_177236(((NimStringDesc*) &TMP4829), LOC23, 1);
					add_176534(&(*r).res, LOC24);
				}
				LA15: ;
				res_555809 += ((NI) 1);
			} LA14: ;
		}
	}
	LOC25 = 0;
	LOC25 = sonslen_228387(n);
	gen_549808(p, (*n).kindU.S6.sons->data[(NI)(LOC25 - ((NI) 1))], (&a));
	{
		NI LOC28;
		Ttype225847* LOC29;
		TY176572 LOC32;
		Ropeobj176009* LOC33;
		LOC28 = 0;
		LOC28 = sonslen_228387(n);
		LOC29 = 0;
		LOC29 = skiptypes_229167((*(*n).kindU.S6.sons->data[(NI)(LOC28 - ((NI) 1))]).typ, IL64(211106242013440));
		if (!((*LOC29).kind == ((NU8) 2))) goto LA30;
		memset((void*)LOC32, 0, sizeof(LOC32));
		LOC32[0] = a.res;
		LOC33 = 0;
		LOC33 = HEX25_177236(((NimStringDesc*) &TMP4830), LOC32, 1);
		add_176534(&(*r).res, LOC33);
	}
	goto LA26;
	LA30: ;
	{
		TY176572 LOC35;
		Ropeobj176009* LOC36;
		memset((void*)LOC35, 0, sizeof(LOC35));
		LOC35[0] = a.res;
		LOC36 = 0;
		LOC36 = HEX25_177236(((NimStringDesc*) &TMP4831), LOC35, 1);
		add_176534(&(*r).res, LOC36);
	}
	LA26: ;
}

N_NIMCALL(void, gennew_555665)(Tproc549033* p, Tnode225809* n) {
	Tcompres549023 a;
	Ttype225847* t;
	Ttype225847* LOC1;
	TY543257 LOC2;
	memset((void*)(&a), 0, sizeof(a));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
	LOC1 = 0;
	LOC1 = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106240964864));
	t = (*LOC1).sons->data[((NI) 0)];
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC2[0] = a.res;
	LOC2[1] = createvar_554813(p, t, NIM_FALSE);
	addf_177635(&(*p).body, ((NimStringDesc*) &TMP4838), LOC2, 2);
}

N_NIMCALL(void, genord_555707)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Ttype225847* LOC1;
	LOC1 = 0;
	LOC1 = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106240964864));
	switch ((*LOC1).kind) {
	case ((NU8) 14):
	case ((NU8) 31) ... ((NU8) 35):
	case ((NU8) 2):
	{
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	}
	break;
	case ((NU8) 1):
	{
		NimStringDesc* LOC4;
		LOC4 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA7;
			LOC4 = copyString(((NimStringDesc*) &TMP4839));
		}
		goto LA5;
		LA7: ;
		{
			LOC4 = copyString(((NimStringDesc*) &TMP4840));
		}
		LA5: ;
		unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4727), LOC4);
	}
	break;
	default:
	{
		internalerror_196172((*n).info, ((NimStringDesc*) &TMP4841));
	}
	break;
	}
}

N_NIMCALL(void, gennewseq_555684)(Tproc549033* p, Tnode225809* n) {
	Tcompres549023 x;
	Tcompres549023 y;
	Ttype225847* t;
	Ttype225847* LOC1;
	TY515577 LOC2;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
	LOC1 = 0;
	LOC1 = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106240964864));
	t = (*LOC1).sons->data[((NI) 0)];
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC2[0] = rdloc_549127(x);
	LOC2[1] = rdloc_549127(y);
	LOC2[2] = createvar_554813(p, t, NIM_FALSE);
	addf_177635(&(*p).body, ((NimStringDesc*) &TMP4871), LOC2, 3);
}

N_NIMCALL(void, genof_555845)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 x;
	Ttype225847* t;
	memset((void*)(&x), 0, sizeof(x));
	t = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 2)]).typ, IL64(211106248304896));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	{
		TY543257 LOC5;
		if (!(((*t).flags &(1<<((((NU8) 2))&31)))!=0)) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = x.res;
		LOC5[1] = gentypeinfo_549315(p, t);
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4872), LOC5, 2));
	}
	goto LA1;
	LA3: ;
	{
		TY543257 LOC7;
		usemagic_549838(p, ((NimStringDesc*) &TMP4873));
		memset((void*)LOC7, 0, sizeof(LOC7));
		LOC7[0] = x.res;
		LOC7[1] = gentypeinfo_549315(p, t);
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4874), LOC7, 2));
	}
	LA1: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genreset_555890)(Tproc549033* p, Tnode225809* n) {
	Tcompres549023 x;
	TY543257 LOC1;
	memset((void*)(&x), 0, sizeof(x));
	usemagic_549838(p, ((NimStringDesc*) &TMP4875));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = x.res;
	LOC1[1] = gentypeinfo_549315(p, (*(*n).kindU.S6.sons->data[((NI) 1)]).typ);
	addf_177635(&(*p).body, ((NimStringDesc*) &TMP4876), LOC1, 2);
}

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

N_NIMCALL(void, genargnoparam_553942)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 a;
	memset((void*)(&a), 0, sizeof(a));
	gen_549808(p, n, (&a));
	{
		if (!(a.typ == ((NU8) 8))) goto LA3;
		add_176534(&(*r).res, a.address);
		add_176545(&(*r).res, ((NimStringDesc*) &TMP4644));
		add_176534(&(*r).res, a.res);
	}
	goto LA1;
	LA3: ;
	{
		add_176534(&(*r).res, a.res);
	}
	LA1: ;
}

N_NIMCALL(void, genecho_554731)(Tproc549033* p, Tnode225809* n_554734, Tcompres549023* r) {
	Tnode225809* n;
	Tnode225809* LOC1;
	usemagic_549838(p, ((NimStringDesc*) &TMP4877));
	usemagic_549838(p, ((NimStringDesc*) &TMP4878));
	add_176545(&(*r).res, ((NimStringDesc*) &TMP4879));
	LOC1 = 0;
	LOC1 = HEX5BHEX5D_226244(n_554734, ((NI) 1));
	n = skipconv_264935(LOC1);
	{
		NimStringDesc* LOC6;
		if (!!(((*n).kind == ((NU8) 41)))) goto LA4;
		LOC6 = 0;
		LOC6 = HEX24_196279(TMP4880);
		internalerror_196191(LOC6);
	}
	LA4: ;
	{
		NI i_554768;
		NI HEX3Atmp_554775;
		NI LOC8;
		NI res_554778;
		i_554768 = 0;
		HEX3Atmp_554775 = 0;
		LOC8 = 0;
		LOC8 = sonslen_228387(n);
		HEX3Atmp_554775 = (NI)(LOC8 - ((NI) 1));
		res_554778 = ((NI) 0);
		{
			while (1) {
				if (!(res_554778 <= HEX3Atmp_554775)) goto LA10;
				i_554768 = res_554778;
				{
					Tnode225809* it;
					it = (*n).kindU.S6.sons->data[i_554768];
					{
						NIM_BOOL LOC14;
						LOC14 = 0;
						LOC14 = iscompiletimeonly_264712((*it).typ);
						if (!LOC14) goto LA15;
						goto LA11;
					}
					LA15: ;
					{
						if (!(((NI) 0) < i_554768)) goto LA19;
						add_176545(&(*r).res, ((NimStringDesc*) &TMP4644));
					}
					LA19: ;
					genargnoparam_553942(p, it, r);
				} LA11: ;
				res_554778 += ((NI) 1);
			} LA10: ;
		}
	}
	add_176545(&(*r).res, ((NimStringDesc*) &TMP4881));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, ternaryexpr_550814)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NimStringDesc* magic, NimStringDesc* frmt) {
	Tcompres549023 x;
	Tcompres549023 y;
	Tcompres549023 z;
	TY515577 LOC1;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	memset((void*)(&z), 0, sizeof(z));
	usemagic_549838(p, magic);
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 3)], (&z));
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rdloc_549127(x);
	LOC1[1] = rdloc_549127(y);
	LOC1[2] = rdloc_549127(z);
	unsureAsgnRef((void**) (&(*r).res), HEX25_177236(frmt, LOC1, 3));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genarg_553970)(Tproc549033* p, Tnode225809* n, Tsym225841* param, Tcompres549023* r) {
	Tcompres549023 a;
	memset((void*)(&a), 0, sizeof(a));
	gen_549808(p, n, (&a));
	{
		NIM_BOOL LOC3;
		Ttype225847* LOC4;
		TY543257 LOC8;
		Ropeobj176009* LOC9;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = skiptypes_229167((*param).typ, IL64(211106240964864));
		LOC3 = ((*LOC4).kind == ((NU8) 27) || (*LOC4).kind == ((NU8) 48));
		if (!(LOC3)) goto LA5;
		LOC3 = (a.typ == ((NU8) 8));
		LA5: ;
		if (!LOC3) goto LA6;
		memset((void*)LOC8, 0, sizeof(LOC8));
		LOC8[0] = a.address;
		LOC8[1] = a.res;
		LOC9 = 0;
		LOC9 = HEX25_177236(((NimStringDesc*) &TMP4888), LOC8, 2);
		add_176534(&(*r).res, LOC9);
	}
	goto LA1;
	LA6: ;
	{
		if (!(a.typ == ((NU8) 8))) goto LA11;
		add_176534(&(*r).res, a.address);
		add_176545(&(*r).res, ((NimStringDesc*) &TMP4644));
		add_176534(&(*r).res, a.res);
	}
	goto LA1;
	LA11: ;
	{
		add_176534(&(*r).res, a.res);
	}
	LA1: ;
}

N_NIMCALL(void, genargs_554023)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	NIM_BOOL hasargs;
	Ttype225847* typ;
	add_176545(&(*r).res, ((NimStringDesc*) &TMP4887));
	hasargs = NIM_FALSE;
	typ = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106232576256));
	{
		NI i_554413;
		NI HEX3Atmp_554617;
		NI LOC2;
		NI res_554620;
		i_554413 = 0;
		HEX3Atmp_554617 = 0;
		LOC2 = 0;
		LOC2 = sonslen_228387(n);
		HEX3Atmp_554617 = (NI)(LOC2 - ((NI) 1));
		res_554620 = ((NI) 1);
		{
			while (1) {
				if (!(res_554620 <= HEX3Atmp_554617)) goto LA4;
				i_554413 = res_554620;
				{
					Tnode225809* it;
					Tnode225809* paramtype;
					it = (*n).kindU.S6.sons->data[i_554413];
					paramtype = NIM_NIL;
					{
						NI LOC8;
						LOC8 = 0;
						LOC8 = sonslen_228351(typ);
						if (!(i_554413 < LOC8)) goto LA9;
						paramtype = (*(*typ).n).kindU.S6.sons->data[i_554413];
						{
							NIM_BOOL LOC13;
							LOC13 = 0;
							LOC13 = iscompiletimeonly_264712((*paramtype).typ);
							if (!LOC13) goto LA14;
							goto LA5;
						}
						LA14: ;
					}
					LA9: ;
					{
						if (!hasargs) goto LA18;
						add_176545(&(*r).res, ((NimStringDesc*) &TMP4644));
					}
					LA18: ;
					{
						if (!paramtype == 0) goto LA22;
						genargnoparam_553942(p, it, r);
					}
					goto LA20;
					LA22: ;
					{
						genarg_553970(p, it, (*paramtype).kindU.S4.sym, r);
					}
					LA20: ;
					hasargs = NIM_TRUE;
				} LA5: ;
				res_554620 += ((NI) 1);
			} LA4: ;
		}
	}
	add_176545(&(*r).res, ((NimStringDesc*) &TMP4881));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gencall_554642)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	genargs_554023(p, n, r);
}

N_NIMCALL(void, genmagic_555908)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 a;
	Ropeobj176009* line;
	Ropeobj176009* filen;
	NU8 op;
	memset((void*)(&a), 0, sizeof(a));
	line = 0;
	filen = 0;
	op = (*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym).magic;
	switch (op) {
	case ((NU8) 126):
	{
		genor_550252(p, (*n).kindU.S6.sons->data[((NI) 1)], (*n).kindU.S6.sons->data[((NI) 2)], r);
	}
	break;
	case ((NU8) 125):
	{
		genand_549988(p, (*n).kindU.S6.sons->data[((NI) 1)], (*n).kindU.S6.sons->data[((NI) 2)], r);
	}
	break;
	case ((NU8) 44) ... ((NU8) 123):
	{
		arith_550907(p, n, r, op);
	}
	break;
	case ((NU8) 148):
	{
		genrepr_555828(p, n, r);
	}
	break;
	case ((NU8) 155):
	{
		genswap_553019(p, n);
	}
	break;
	case ((NU8) 25):
	{
		{
			if (!!((((*p).options &(1<<((((NU8) 5))&31)))!=0))) goto LA9;
			unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4819));
		}
		goto LA7;
		LA9: ;
		{
			unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4730), ((NimStringDesc*) &TMP4820));
		}
		LA7: ;
	}
	break;
	case ((NU8) 143):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4821), ((NimStringDesc*) &TMP4822));
	}
	break;
	case ((NU8) 144):
	{
		{
			Ttype225847* LOC16;
			LOC16 = 0;
			LOC16 = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106242013440));
			if (!((*LOC16).kind == ((NU8) 29))) goto LA17;
			binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4823));
		}
		goto LA14;
		LA17: ;
		{
			binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4824));
		}
		LA14: ;
	}
	break;
	case ((NU8) 145):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4825));
	}
	break;
	case ((NU8) 137):
	{
		genconstrstr_555730(p, n, r);
	}
	break;
	case ((NU8) 127):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4832), ((NimStringDesc*) &TMP4833));
	}
	break;
	case ((NU8) 128):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4834), ((NimStringDesc*) &TMP4835));
	}
	break;
	case ((NU8) 129):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4834), ((NimStringDesc*) &TMP4836));
	}
	break;
	case ((NU8) 156):
	{
		unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4837));
	}
	break;
	case ((NU8) 124):
	{
		genrepr_555828(p, n, r);
	}
	break;
	case ((NU8) 29):
	case ((NU8) 30):
	{
		gennew_555665(p, n);
	}
	break;
	case ((NU8) 9):
	{
		NI64 LOC29;
		LOC29 = 0;
		LOC29 = getsize_255190((*(*n).kindU.S6.sons->data[((NI) 1)]).typ);
		unsureAsgnRef((void**) (&(*r).res), rope_176407(LOC29));
	}
	break;
	case ((NU8) 41):
	case ((NU8) 157):
	{
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	}
	break;
	case ((NU8) 28):
	{
		genord_555707(p, n, r);
	}
	break;
	case ((NU8) 33):
	{
		unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4842));
	}
	break;
	case ((NU8) 36):
	{
		unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4843));
	}
	break;
	case ((NU8) 35):
	case ((NU8) 32):
	case ((NU8) 34):
	{
		unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4844));
	}
	break;
	case ((NU8) 37):
	{
		unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4845));
	}
	break;
	case ((NU8) 8):
	{
		{
			Ttype225847* LOC39;
			LOC39 = 0;
			LOC39 = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106240964864));
			if (!((*LOC39).kind == ((NU8) 28))) goto LA40;
			unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4846));
		}
		goto LA37;
		LA40: ;
		{
			unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4847));
		}
		LA37: ;
	}
	break;
	case ((NU8) 26):
	{
		{
			if (!!((((*p).options &(1<<((((NU8) 5))&31)))!=0))) goto LA46;
			binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4848));
		}
		goto LA44;
		LA46: ;
		{
			binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4726), ((NimStringDesc*) &TMP4849));
		}
		LA44: ;
	}
	break;
	case ((NU8) 27):
	{
		{
			if (!!((((*p).options &(1<<((((NU8) 5))&31)))!=0))) goto LA52;
			binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4850));
		}
		goto LA50;
		LA52: ;
		{
			binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4730), ((NimStringDesc*) &TMP4851));
		}
		LA50: ;
	}
	break;
	case ((NU8) 150):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4852));
	}
	break;
	case ((NU8) 151):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4853));
	}
	break;
	case ((NU8) 40):
	{
		unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4854), ((NimStringDesc*) &TMP4855));
	}
	break;
	case ((NU8) 132):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4856), ((NimStringDesc*) &TMP4857));
	}
	break;
	case ((NU8) 131):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4858), ((NimStringDesc*) &TMP4859));
	}
	break;
	case ((NU8) 130):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4860), ((NimStringDesc*) &TMP4861));
	}
	break;
	case ((NU8) 133):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4862), ((NimStringDesc*) &TMP4863));
	}
	break;
	case ((NU8) 134):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4864), ((NimStringDesc*) &TMP4865));
	}
	break;
	case ((NU8) 135):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4866), ((NimStringDesc*) &TMP4867));
	}
	break;
	case ((NU8) 38):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4868));
	}
	break;
	case ((NU8) 39):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4869));
	}
	break;
	case ((NU8) 147):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4870));
	}
	break;
	case ((NU8) 31):
	{
		gennewseq_555684(p, n);
	}
	break;
	case ((NU8) 12):
	{
		genof_555845(p, n, r);
	}
	break;
	case ((NU8) 163):
	{
		genreset_555890(p, n);
	}
	break;
	case ((NU8) 17):
	{
		genecho_554731(p, n, r);
	}
	break;
	case ((NU8) 216) ... ((NU8) 250):
	case ((NU8) 19):
	case ((NU8) 20):
	{
		localerror_196128((*n).info, ((NU16) 229), (*(*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym).name).s);
	}
	break;
	case ((NU8) 158):
	{
		binaryexpr_550790(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4882));
	}
	break;
	case ((NU8) 159):
	{
		ternaryexpr_550814(p, n, r, ((NimStringDesc*) &TMP4727), ((NimStringDesc*) &TMP4883));
	}
	break;
	case ((NU8) 160):
	{
		unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4884), ((NimStringDesc*) &TMP4885));
	}
	break;
	case ((NU8) 161):
	{
		unaryexpr_550842(p, n, r, ((NimStringDesc*) &TMP4884), ((NimStringDesc*) &TMP4886));
	}
	break;
	case ((NU8) 139):
	{
		genprocforsymifneeded_553633(p, (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym);
		gencall_554642(p, n, r);
	}
	break;
	case ((NU8) 162):
	{
		usemagic_549838(p, ((NimStringDesc*) &TMP4889));
		gencall_554642(p, n, r);
	}
	break;
	default:
	{
		gencall_554642(p, n, r);
	}
	break;
	}
}

N_NIMCALL(void, geninfixcall_554655)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 op;
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	{
		TY543257 LOC9;
		if (!((*r).typ == ((NU8) 8))) goto LA3;
		{
			if (!((*r).address == NIM_NIL)) goto LA7;
			globalerror_196118((*n).info, ((NimStringDesc*) &TMP4890));
		}
		LA7: ;
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = (*r).address;
		LOC9[1] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4888), LOC9, 2));
		unsureAsgnRef((void**) (&(*r).address), NIM_NIL);
		(*r).typ = ((NU8) 0);
	}
	LA3: ;
	add_176545(&(*r).res, ((NimStringDesc*) &TMP4891));
	memset((void*)(&op), 0, sizeof(op));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&op));
	add_176534(&(*r).res, op.res);
	add_176545(&(*r).res, ((NimStringDesc*) &TMP4887));
	{
		NI i_554703;
		NI HEX3Atmp_554709;
		NI LOC11;
		NI res_554712;
		i_554703 = 0;
		HEX3Atmp_554709 = 0;
		LOC11 = 0;
		LOC11 = sonslen_228387(n);
		HEX3Atmp_554709 = (NI)(LOC11 - ((NI) 1));
		res_554712 = ((NI) 2);
		{
			while (1) {
				if (!(res_554712 <= HEX3Atmp_554709)) goto LA13;
				i_554703 = res_554712;
				{
					if (!(((NI) 2) < i_554703)) goto LA16;
					add_176545(&(*r).res, ((NimStringDesc*) &TMP4644));
				}
				LA16: ;
				genargnoparam_553942(p, (*n).kindU.S6.sons->data[i_554703], r);
				res_554712 += ((NI) 1);
			} LA13: ;
		}
	}
	add_176545(&(*r).res, ((NimStringDesc*) &TMP4881));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gensetconstr_555991)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 a;
	Tcompres549023 b;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	usemagic_549838(p, ((NimStringDesc*) &TMP4892));
	unsureAsgnRef((void**) (&(*r).res), rope_176322(((NimStringDesc*) &TMP4893)));
	(*r).kind = ((NU8) 1);
	{
		NI i_556011;
		NI HEX3Atmp_556037;
		NI LOC2;
		NI res_556040;
		i_556011 = 0;
		HEX3Atmp_556037 = 0;
		LOC2 = 0;
		LOC2 = sonslen_228387(n);
		HEX3Atmp_556037 = (NI)(LOC2 - ((NI) 1));
		res_556040 = ((NI) 0);
		{
			while (1) {
				Tnode225809* it;
				if (!(res_556040 <= HEX3Atmp_556037)) goto LA4;
				i_556011 = res_556040;
				{
					if (!(((NI) 0) < i_556011)) goto LA7;
					add_176545(&(*r).res, ((NimStringDesc*) &TMP4644));
				}
				LA7: ;
				it = (*n).kindU.S6.sons->data[i_556011];
				{
					TY543257 LOC13;
					if (!((*it).kind == ((NU8) 44))) goto LA11;
					gen_549808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&a));
					gen_549808(p, (*it).kindU.S6.sons->data[((NI) 1)], (&b));
					memset((void*)LOC13, 0, sizeof(LOC13));
					LOC13[0] = a.res;
					LOC13[1] = b.res;
					addf_177635(&(*r).res, ((NimStringDesc*) &TMP4674), LOC13, 2);
				}
				goto LA9;
				LA11: ;
				{
					gen_549808(p, it, (&a));
					add_176534(&(*r).res, a.res);
				}
				LA9: ;
				res_556040 += ((NI) 1);
			} LA4: ;
		}
	}
	add_176545(&(*r).res, ((NimStringDesc*) &TMP4881));
}

N_NIMCALL(void, genarrayconstr_556059)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 a;
	memset((void*)(&a), 0, sizeof(a));
	unsureAsgnRef((void**) (&(*r).res), rope_176322(((NimStringDesc*) &TMP4680)));
	(*r).kind = ((NU8) 1);
	{
		NI i_556078;
		NI HEX3Atmp_556086;
		NI LOC2;
		NI res_556089;
		i_556078 = 0;
		HEX3Atmp_556086 = 0;
		LOC2 = 0;
		LOC2 = sonslen_228387(n);
		HEX3Atmp_556086 = (NI)(LOC2 - ((NI) 1));
		res_556089 = ((NI) 0);
		{
			while (1) {
				if (!(res_556089 <= HEX3Atmp_556086)) goto LA4;
				i_556078 = res_556089;
				{
					if (!(((NI) 0) < i_556078)) goto LA7;
					add_176545(&(*r).res, ((NimStringDesc*) &TMP4644));
				}
				LA7: ;
				gen_549808(p, (*n).kindU.S6.sons->data[i_556078], (&a));
				add_176534(&(*r).res, a.res);
				res_556089 += ((NI) 1);
			} LA4: ;
		}
	}
	add_176545(&(*r).res, ((NimStringDesc*) &TMP4681));
}

N_NIMCALL(void, gentupleconstr_556108)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 a;
	memset((void*)(&a), 0, sizeof(a));
	unsureAsgnRef((void**) (&(*r).res), rope_176322(((NimStringDesc*) &TMP4682)));
	(*r).kind = ((NU8) 1);
	{
		NI i_556127;
		NI HEX3Atmp_556157;
		NI LOC2;
		NI res_556160;
		i_556127 = 0;
		HEX3Atmp_556157 = 0;
		LOC2 = 0;
		LOC2 = sonslen_228387(n);
		HEX3Atmp_556157 = (NI)(LOC2 - ((NI) 1));
		res_556160 = ((NI) 0);
		{
			while (1) {
				Tnode225809* it;
				NimStringDesc* LOC13;
				TY543257 LOC19;
				if (!(res_556160 <= HEX3Atmp_556157)) goto LA4;
				i_556127 = res_556160;
				{
					if (!(((NI) 0) < i_556127)) goto LA7;
					add_176545(&(*r).res, ((NimStringDesc*) &TMP4644));
				}
				LA7: ;
				it = (*n).kindU.S6.sons->data[i_556127];
				{
					if (!((*it).kind == ((NU8) 34))) goto LA11;
					it = (*it).kindU.S6.sons->data[((NI) 1)];
				}
				LA11: ;
				gen_549808(p, it, (&a));
				LOC13 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA16;
					LOC13 = copyString(((NimStringDesc*) &TMP4894));
				}
				goto LA14;
				LA16: ;
				{
					LOC13 = copyString(((NimStringDesc*) &TMP4684));
				}
				LA14: ;
				memset((void*)LOC19, 0, sizeof(LOC19));
				LOC19[0] = rope_176407(((NI64) (i_556127)));
				LOC19[1] = a.res;
				addf_177635(&(*r).res, LOC13, LOC19, 2);
				res_556160 += ((NI) 1);
			} LA4: ;
		}
	}
	add_176545(&(*r).res, ((NimStringDesc*) &TMP4685));
}

N_NIMCALL(void, genobjconstr_556179)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 a;
	Ropeobj176009* initlist;
	Intset222056 fieldids;
	Ttype225847* t;
	TY176572 LOC25;
	memset((void*)(&a), 0, sizeof(a));
	(*r).kind = ((NU8) 1);
	initlist = 0;
	memset((void*)(&fieldids), 0, sizeof(fieldids));
	chckNil((void*)(&fieldids));
	memset((void*)(&fieldids), 0, sizeof(fieldids));
	initintset_222927((&fieldids));
	{
		NI i_556200;
		NI HEX3Atmp_556273;
		NI LOC2;
		NI res_556276;
		i_556200 = 0;
		HEX3Atmp_556273 = 0;
		LOC2 = 0;
		LOC2 = sonslen_228387(n);
		HEX3Atmp_556273 = (NI)(LOC2 - ((NI) 1));
		res_556276 = ((NI) 1);
		{
			while (1) {
				Tnode225809* it;
				Tsym225841* f;
				NimStringDesc* LOC18;
				TY543257 LOC24;
				if (!(res_556276 <= HEX3Atmp_556273)) goto LA4;
				i_556200 = res_556276;
				{
					if (!(((NI) 1) < i_556200)) goto LA7;
					add_176545(&initlist, ((NimStringDesc*) &TMP4644));
				}
				LA7: ;
				it = (*n).kindU.S6.sons->data[i_556200];
				{
					NimStringDesc* LOC13;
					if (!!(((*it).kind == ((NU8) 34)))) goto LA11;
					LOC13 = 0;
					LOC13 = HEX24_196279(TMP4895);
					internalerror_196191(LOC13);
				}
				LA11: ;
				gen_549808(p, (*it).kindU.S6.sons->data[((NI) 1)], (&a));
				f = (*(*it).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
				{
					if (!((*f).loc.r == NIM_NIL)) goto LA16;
					asgnRefNoCycle((void**) (&(*f).loc.r), manglename_549277(f));
				}
				LA16: ;
				incl_222856((&fieldids), (*f).Sup.id);
				LOC18 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA21;
					LOC18 = copyString(((NimStringDesc*) &TMP4896));
				}
				goto LA19;
				LA21: ;
				{
					LOC18 = copyString(((NimStringDesc*) &TMP4897));
				}
				LA19: ;
				memset((void*)LOC24, 0, sizeof(LOC24));
				LOC24[0] = (*f).loc.r;
				LOC24[1] = a.res;
				addf_177635(&initlist, LOC18, LOC24, 2);
				res_556276 += ((NI) 1);
			} LA4: ;
		}
	}
	t = skiptypes_229167((*n).typ, IL64(211106247256320));
	createobjinitlist_554902(p, t, fieldids, &initlist);
	memset((void*)LOC25, 0, sizeof(LOC25));
	LOC25[0] = initlist;
	unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4690), LOC25, 1));
}

N_NIMCALL(void, genconv_556295)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Ttype225847* dest;
	Ttype225847* src;
{	dest = skiptypes_229167((*n).typ, IL64(211106242013440));
	src = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106242013440));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	{
		if (!((*dest).kind == (*src).kind)) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	switch ((*dest).kind) {
	case ((NU8) 1):
	{
		NimStringDesc* LOC6;
		TY176572 LOC12;
		LOC6 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA9;
			LOC6 = copyString(((NimStringDesc*) &TMP4898));
		}
		goto LA7;
		LA9: ;
		{
			LOC6 = copyString(((NimStringDesc*) &TMP4840));
		}
		LA7: ;
		memset((void*)LOC12, 0, sizeof(LOC12));
		LOC12[0] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(LOC6, LOC12, 1));
		(*r).kind = ((NU8) 1);
	}
	break;
	case ((NU8) 31):
	{
		TY176572 LOC14;
		memset((void*)LOC14, 0, sizeof(LOC14));
		LOC14[0] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4899), LOC14, 1));
	}
	break;
	default:
	{
	}
	break;
	}
	}BeforeRet: ;
}

N_NIMCALL(NI, getfieldposition_553091)(Tnode225809* f) {
	NI result;
	result = 0;
	switch ((*f).kind) {
	case ((NU8) 6) ... ((NU8) 15):
	{
		result = ((NI) ((*f).kindU.S1.intval));
	}
	break;
	case ((NU8) 3):
	{
		result = (*(*f).kindU.S4.sym).position;
	}
	break;
	default:
	{
		internalerror_196172((*f).info, ((NimStringDesc*) &TMP4905));
	}
	break;
	}
	return result;
}

N_NIMCALL(void, genfieldaddr_553104)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 a;
	Tnode225809* b;
	memset((void*)(&a), 0, sizeof(a));
	(*r).typ = ((NU8) 8);
	{
		if (!((*n).kind == ((NU8) 64))) goto LA3;
		b = (*n).kindU.S6.sons->data[((NI) 0)];
	}
	goto LA1;
	LA3: ;
	{
		b = n;
	}
	LA1: ;
	gen_549808(p, (*b).kindU.S6.sons->data[((NI) 0)], (&a));
	{
		Ttype225847* LOC8;
		NimStringDesc* LOC11;
		NI LOC12;
		NimStringDesc* LOC13;
		LOC8 = 0;
		LOC8 = skiptypes_229167((*(*b).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106242013440));
		if (!((*LOC8).kind == ((NU8) 18))) goto LA9;
		LOC11 = 0;
		LOC12 = 0;
		LOC12 = getfieldposition_553091((*b).kindU.S6.sons->data[((NI) 1)]);
		LOC13 = 0;
		LOC13 = nimIntToStr(LOC12);
		LOC11 = rawNewString(LOC13->Sup.len + 5);
appendString(LOC11, ((NimStringDesc*) &TMP4904));
appendString(LOC11, LOC13);
		unsureAsgnRef((void**) (&(*r).res), makejsstring_549305(LOC11));
	}
	goto LA6;
	LA9: ;
	{
		Tsym225841* f;
		NimStringDesc* LOC23;
		{
			if (!!(((*(*b).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 3)))) goto LA17;
			internalerror_196172((*(*b).kindU.S6.sons->data[((NI) 1)]).info, ((NimStringDesc*) &TMP4906));
		}
		LA17: ;
		f = (*(*b).kindU.S6.sons->data[((NI) 1)]).kindU.S4.sym;
		{
			if (!((*f).loc.r == NIM_NIL)) goto LA21;
			asgnRefNoCycle((void**) (&(*f).loc.r), manglename_549277(f));
		}
		LA21: ;
		LOC23 = 0;
		LOC23 = HEX24_177132((*f).loc.r);
		unsureAsgnRef((void**) (&(*r).res), makejsstring_549305(LOC23));
	}
	LA6: ;
	{
		NimStringDesc* LOC28;
		if (!!(!((a.typ == ((NU8) 8))))) goto LA26;
		LOC28 = 0;
		LOC28 = HEX24_196279(TMP4907);
		internalerror_196191(LOC28);
	}
	LA26: ;
	unsureAsgnRef((void**) (&(*r).address), a.res);
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gencheckedfieldaddr_553244)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tnode225809* m;
	{
		if (!((*n).kind == ((NU8) 64))) goto LA3;
		m = (*n).kindU.S6.sons->data[((NI) 0)];
	}
	goto LA1;
	LA3: ;
	{
		m = n;
	}
	LA1: ;
	{
		NimStringDesc* LOC10;
		if (!!(((*m).kind == ((NU8) 46)))) goto LA8;
		LOC10 = 0;
		LOC10 = HEX24_196279(TMP4903);
		internalerror_196191(LOC10);
	}
	LA8: ;
	genfieldaddr_553104(p, (*m).kindU.S6.sons->data[((NI) 0)], r);
}

N_NIMCALL(void, genfieldaccess_553187)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	(*r).typ = ((NU8) 0);
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	{
		Ttype225847* LOC3;
		TY543257 LOC6;
		NI LOC7;
		LOC3 = 0;
		LOC3 = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106242013440));
		if (!((*LOC3).kind == ((NU8) 18))) goto LA4;
		memset((void*)LOC6, 0, sizeof(LOC6));
		LOC6[0] = (*r).res;
		LOC7 = 0;
		LOC7 = getfieldposition_553091((*n).kindU.S6.sons->data[((NI) 1)]);
		LOC6[1] = rope_176407(((NI64) (LOC7)));
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4908), LOC6, 2));
	}
	goto LA1;
	LA4: ;
	{
		Tsym225841* f;
		TY543257 LOC17;
		{
			if (!!(((*(*n).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 3)))) goto LA11;
			internalerror_196172((*(*n).kindU.S6.sons->data[((NI) 1)]).info, ((NimStringDesc*) &TMP4909));
		}
		LA11: ;
		f = (*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S4.sym;
		{
			if (!((*f).loc.r == NIM_NIL)) goto LA15;
			asgnRefNoCycle((void**) (&(*f).loc.r), manglename_549277(f));
		}
		LA15: ;
		memset((void*)LOC17, 0, sizeof(LOC17));
		LOC17[0] = (*r).res;
		LOC17[1] = (*f).loc.r;
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4910), LOC17, 2));
	}
	LA1: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genarrayaddr_553297)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 a;
	Tcompres549023 b;
	NI64 first;
	Tnode225809* m;
	Ttype225847* typ;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	first = 0;
	(*r).typ = ((NU8) 8);
	{
		if (!((*n).kind == ((NU8) 64))) goto LA3;
		m = (*n).kindU.S6.sons->data[((NI) 0)];
	}
	goto LA1;
	LA3: ;
	{
		m = n;
	}
	LA1: ;
	gen_549808(p, (*m).kindU.S6.sons->data[((NI) 0)], (&a));
	gen_549808(p, (*m).kindU.S6.sons->data[((NI) 1)], (&b));
	{
		NIM_BOOL LOC8;
		NimStringDesc* LOC12;
		LOC8 = 0;
		LOC8 = !((a.typ == ((NU8) 8)));
		if (!(LOC8)) goto LA9;
		LOC8 = !((b.typ == ((NU8) 8)));
		LA9: ;
		if (!!(LOC8)) goto LA10;
		LOC12 = 0;
		LOC12 = HEX24_196279(TMP4911);
		internalerror_196191(LOC12);
	}
	LA10: ;
	unsureAsgnRef((void**) (&(*r).address), a.res);
	typ = skiptypes_229167((*(*m).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106247256320));
	{
		if (!((*typ).kind == ((NU8) 16) || (*typ).kind == ((NU8) 4))) goto LA15;
		first = firstord_255004((*typ).sons->data[((NI) 0)]);
	}
	goto LA13;
	LA15: ;
	{
		first = IL64(0);
	}
	LA13: ;
	{
		NIM_BOOL LOC20;
		NIM_BOOL LOC22;
		TY515577 LOC25;
		LOC20 = 0;
		LOC20 = (((*p).options &(1<<((((NU8) 4))&31)))!=0);
		if (!(LOC20)) goto LA21;
		LOC22 = 0;
		LOC22 = isconstexpr_254442((*m).kindU.S6.sons->data[((NI) 1)]);
		LOC20 = !(LOC22);
		LA21: ;
		if (!LOC20) goto LA23;
		usemagic_549838(p, ((NimStringDesc*) &TMP4912));
		memset((void*)LOC25, 0, sizeof(LOC25));
		LOC25[0] = b.res;
		LOC25[1] = rope_176407(first);
		LOC25[2] = a.res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4913), LOC25, 3));
	}
	goto LA18;
	LA23: ;
	{
		TY543257 LOC29;
		if (!!((first == IL64(0)))) goto LA27;
		memset((void*)LOC29, 0, sizeof(LOC29));
		LOC29[0] = b.res;
		LOC29[1] = rope_176407(first);
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4914), LOC29, 2));
	}
	goto LA18;
	LA27: ;
	{
		unsureAsgnRef((void**) (&(*r).res), b.res);
	}
	LA18: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genaddr_553506)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	switch ((*(*n).kindU.S6.sons->data[((NI) 0)]).kind) {
	case ((NU8) 3):
	{
		Tsym225841* s;
		s = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		{
			if (!((*s).loc.r == NIM_NIL)) goto LA4;
			internalerror_196172((*n).info, ((NimStringDesc*) &TMP4900));
		}
		LA4: ;
		switch ((*s).kind) {
		case ((NU8) 8):
		case ((NU8) 9):
		case ((NU8) 11):
		{
			NU8 jstype;
			(*r).kind = ((NU8) 1);
			jstype = maptype_549256((*n).typ);
			{
				if (!(jstype == ((NU8) 7))) goto LA9;
				(*r).typ = ((NU8) 0);
				{
					NIM_BOOL LOC13;
					LOC13 = 0;
					LOC13 = isindirect_553429(s);
					if (!LOC13) goto LA14;
					unsureAsgnRef((void**) (&(*r).res), HEX26_176471((*s).loc.r, ((NimStringDesc*) &TMP4901)));
				}
				goto LA11;
				LA14: ;
				{
					unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
				}
				LA11: ;
				unsureAsgnRef((void**) (&(*r).address), NIM_NIL);
			}
			goto LA7;
			LA9: ;
			{
				NIM_BOOL LOC18;
				LOC18 = 0;
				LOC18 = !(((32776 & (*s).flags) == 0));
				if (LOC18) goto LA19;
				LOC18 = (jstype == ((NU8) 8));
				LA19: ;
				if (!LOC18) goto LA20;
				(*r).typ = ((NU8) 8);
				unsureAsgnRef((void**) (&(*r).address), (*s).loc.r);
				unsureAsgnRef((void**) (&(*r).res), rope_176322(((NimStringDesc*) &TMP4638)));
			}
			goto LA7;
			LA20: ;
			{
				gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			}
			LA7: ;
		}
		break;
		default:
		{
			internalerror_196172((*n).info, ((NimStringDesc*) &TMP4902));
		}
		break;
		}
	}
	break;
	case ((NU8) 46):
	{
		gencheckedfieldaddr_553244(p, n, r);
	}
	break;
	case ((NU8) 45):
	{
		{
			NU8 LOC28;
			LOC28 = 0;
			LOC28 = maptype_549256((*n).typ);
			if (!(LOC28 == ((NU8) 8))) goto LA29;
			genfieldaddr_553104(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		goto LA26;
		LA29: ;
		{
			genfieldaccess_553187(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		LA26: ;
	}
	break;
	case ((NU8) 42):
	{
		Ttype225847* ty;
		ty = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106242013440));
		{
			if (!((*ty).kind == ((NU8) 17) || (*ty).kind == ((NU8) 16) || (*ty).kind == ((NU8) 4) || (*ty).kind == ((NU8) 18) || (*ty).kind == ((NU8) 27) || (*ty).kind == ((NU8) 19) || (*ty).kind == ((NU8) 45) || (*ty).kind == ((NU8) 48))) goto LA35;
			gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		goto LA33;
		LA35: ;
		{
			NU8 kindofindexedexpr;
			Ttype225847* LOC38;
			LOC38 = 0;
			LOC38 = skiptypes_229167((*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106242013440));
			kindofindexedexpr = (*LOC38).kind;
			switch (kindofindexedexpr) {
			case ((NU8) 16):
			case ((NU8) 4):
			case ((NU8) 27):
			case ((NU8) 24):
			case ((NU8) 28):
			case ((NU8) 29):
			case ((NU8) 48):
			{
				genarrayaddr_553297(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			}
			break;
			case ((NU8) 18):
			{
				genfieldaddr_553104(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			}
			break;
			default:
			{
				NimStringDesc* LOC42;
				LOC42 = 0;
				LOC42 = rawNewString(reprEnum(kindofindexedexpr, (&NTI225262))->Sup.len + 21);
appendString(LOC42, ((NimStringDesc*) &TMP4915));
appendString(LOC42, reprEnum(kindofindexedexpr, (&NTI225262)));
appendChar(LOC42, 41);
				internalerror_196172((*(*n).kindU.S6.sons->data[((NI) 0)]).info, LOC42);
			}
			break;
			}
		}
		LA33: ;
	}
	break;
	case ((NU8) 66):
	{
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	}
	break;
	default:
	{
		NimStringDesc* LOC45;
		LOC45 = 0;
		LOC45 = rawNewString(reprEnum((*(*n).kindU.S6.sons->data[((NI) 0)]).kind, (&NTI225029))->Sup.len + 9);
appendString(LOC45, ((NimStringDesc*) &TMP4916));
appendString(LOC45, reprEnum((*(*n).kindU.S6.sons->data[((NI) 0)]).kind, (&NTI225029)));
		internalerror_196172((*(*n).kindU.S6.sons->data[((NI) 0)]).info, LOC45);
	}
	break;
	}
}

N_NIMCALL(void, genderef_553891)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	{
		NU8 LOC3;
		LOC3 = 0;
		LOC3 = maptype_549256((*(*n).kindU.S6.sons->data[((NI) 0)]).typ);
		if (!(LOC3 == ((NU8) 7))) goto LA4;
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	}
	goto LA1;
	LA4: ;
	{
		Tcompres549023 a;
		memset((void*)(&a), 0, sizeof(a));
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&a));
		{
			TY543257 LOC11;
			if (!(a.typ == ((NU8) 8))) goto LA9;
			memset((void*)LOC11, 0, sizeof(LOC11));
			LOC11[0] = a.address;
			LOC11[1] = a.res;
			unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4888), LOC11, 2));
		}
		goto LA7;
		LA9: ;
		{
			Ropeobj176009* tmp;
			TY543257 LOC15;
			if (!((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 27))) goto LA13;
			tmp = gettemp_549954(p, NIM_TRUE);
			memset((void*)LOC15, 0, sizeof(LOC15));
			LOC15[0] = tmp;
			LOC15[1] = a.res;
			unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4917), LOC15, 2));
		}
		goto LA7;
		LA13: ;
		{
			internalerror_196172((*n).info, ((NimStringDesc*) &TMP4918));
		}
		LA7: ;
	}
	LA1: ;
}

N_NIMCALL(void, genarrayaccess_553383)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Ttype225847* ty;
	TY543257 LOC14;
	ty = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106242013440));
	{
		Ttype225847* LOC5;
		if (!((*ty).kind == ((NU8) 22) || (*ty).kind == ((NU8) 21))) goto LA3;
		LOC5 = 0;
		LOC5 = lastson_228426(ty);
		ty = skiptypes_229167(LOC5, IL64(211106242013440));
	}
	LA3: ;
	switch ((*ty).kind) {
	case ((NU8) 16):
	case ((NU8) 4):
	case ((NU8) 27):
	case ((NU8) 24):
	case ((NU8) 28):
	case ((NU8) 29):
	case ((NU8) 48):
	{
		genarrayaddr_553297(p, n, r);
	}
	break;
	case ((NU8) 18):
	{
		genfieldaddr_553104(p, n, r);
	}
	break;
	default:
	{
		NimStringDesc* LOC9;
		LOC9 = 0;
		LOC9 = rawNewString(reprEnum((*ty).kind, (&NTI225262))->Sup.len + 21);
appendString(LOC9, ((NimStringDesc*) &TMP4915));
appendString(LOC9, reprEnum((*ty).kind, (&NTI225262)));
appendChar(LOC9, 41);
		internalerror_196172((*n).info, LOC9);
	}
	break;
	}
	(*r).typ = ((NU8) 0);
	{
		if (!((*r).res == NIM_NIL)) goto LA12;
		internalerror_196172((*n).info, ((NimStringDesc*) &TMP4919));
	}
	LA12: ;
	memset((void*)LOC14, 0, sizeof(LOC14));
	LOC14[0] = (*r).address;
	LOC14[1] = (*r).res;
	unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4888), LOC14, 2));
	unsureAsgnRef((void**) (&(*r).address), NIM_NIL);
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gencheckedfieldaccess_553284)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	genfieldaccess_553187(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
}

N_NIMCALL(void, upconv_556333)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
}

N_NIMCALL(void, genrangechck_556346)(Tproc549033* p, Tnode225809* n, Tcompres549023* r, NimStringDesc* magic) {
	Tcompres549023 a;
	Tcompres549023 b;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	{
		TY515577 LOC5;
		if (!(((*p).options &(1<<((((NU8) 3))&31)))!=0)) goto LA3;
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&b));
		usemagic_549838(p, ((NimStringDesc*) &TMP4920));
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = (*r).res;
		LOC5[1] = a.res;
		LOC5[2] = b.res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4921), LOC5, 3));
		(*r).kind = ((NU8) 1);
	}
	LA3: ;
}

N_NIMCALL(void, convstrtocstr_556380)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	{
		if (!((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 72))) goto LA3;
		gen_549808(p, (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 0)], r);
	}
	goto LA1;
	LA3: ;
	{
		TY176572 LOC10;
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		{
			if (!((*r).res == NIM_NIL)) goto LA8;
			internalerror_196172((*n).info, ((NimStringDesc*) &TMP4924));
		}
		LA8: ;
		usemagic_549838(p, ((NimStringDesc*) &TMP4877));
		memset((void*)LOC10, 0, sizeof(LOC10));
		LOC10[0] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4925), LOC10, 1));
		(*r).kind = ((NU8) 1);
	}
	LA1: ;
}

N_NIMCALL(void, convcstrtostr_556419)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	{
		if (!((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 71))) goto LA3;
		gen_549808(p, (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 0)], r);
	}
	goto LA1;
	LA3: ;
	{
		TY176572 LOC10;
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		{
			if (!((*r).res == NIM_NIL)) goto LA8;
			internalerror_196172((*n).info, ((NimStringDesc*) &TMP4926));
		}
		LA8: ;
		usemagic_549838(p, ((NimStringDesc*) &TMP4707));
		memset((void*)LOC10, 0, sizeof(LOC10));
		LOC10[0] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4708), LOC10, 1));
		(*r).kind = ((NU8) 1);
	}
	LA1: ;
}

N_NIMCALL(void, genblock_551876)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	NI idx;
	NI labl;
	NimStringDesc* LOC9;
	TY176572 LOC15;
	NimStringDesc* LOC16;
	TY176572 LOC22;
	(*p).unique += ((NI) 1);
	idx = ((*p).blocks ? (*p).blocks->Sup.len : 0);
	{
		Tsym225841* sym;
		if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 1)))) goto LA3;
		{
			if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 3)))) goto LA7;
			internalerror_196172((*n).info, ((NimStringDesc*) &TMP4927));
		}
		LA7: ;
		sym = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		(*sym).loc.k = ((NU8) 10);
		(*sym).position = (NI)(idx + ((NI) 1));
	}
	LA3: ;
	(*p).blocks = (TY549071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock549025), ((NI) ((NI)(idx + ((NI) 1)))));
	(*p).blocks->data[idx].id = ((NI32)-((*p).unique));
	labl = (*p).unique;
	LOC9 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA12;
		LOC9 = copyString(((NimStringDesc*) &TMP4928));
	}
	goto LA10;
	LA12: ;
	{
		LOC9 = copyString(((NimStringDesc*) &TMP4727));
	}
	LA10: ;
	memset((void*)LOC15, 0, sizeof(LOC15));
	LOC15[0] = rope_176407(((NI64) (labl)));
	addf_177635(&(*p).body, LOC9, LOC15, 1);
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	LOC16 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA19;
		LOC16 = copyString(((NimStringDesc*) &TMP4929));
	}
	goto LA17;
	LA19: ;
	{
		LOC16 = copyString(((NimStringDesc*) &TMP4930));
	}
	LA17: ;
	memset((void*)LOC22, 0, sizeof(LOC22));
	LOC22[0] = rope_176407(((NI64) (labl)));
	addf_177635(&(*p).body, LOC16, LOC22, 1);
	(*p).blocks = (TY549071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock549025), ((NI) (idx)));
}

N_NIMCALL(void, moveinto_551161)(Tproc549033* p, Tcompres549023* src, Tcompres549023 dest) {
	{
		if (!!(((*src).kind == ((NU8) 0)))) goto LA3;
		{
			TY543257 LOC9;
			if (!!((dest.kind == ((NU8) 0)))) goto LA7;
			memset((void*)LOC9, 0, sizeof(LOC9));
			LOC9[0] = rdloc_549127(dest);
			LOC9[1] = rdloc_549127((*src));
			addf_177635(&(*p).body, ((NimStringDesc*) &TMP4838), LOC9, 2);
		}
		goto LA5;
		LA7: ;
		{
			TY176572 LOC11;
			memset((void*)LOC11, 0, sizeof(LOC11));
			LOC11[0] = rdloc_549127((*src));
			addf_177635(&(*p).body, ((NimStringDesc*) &TMP4935), LOC11, 1);
		}
		LA5: ;
		(*src).kind = ((NU8) 0);
		unsureAsgnRef((void**) (&(*src).res), NIM_NIL);
	}
	LA3: ;
}

N_NIMCALL(void, genif_552493)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 cond;
	Tcompres549023 stmt;
	NI toclose;
	memset((void*)(&cond), 0, sizeof(cond));
	memset((void*)(&stmt), 0, sizeof(stmt));
	toclose = ((NI) 0);
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isemptytype_230932((*n).typ);
		if (!!(LOC3)) goto LA4;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_549954(p, NIM_TRUE));
	}
	LA4: ;
	{
		NI i_552514;
		NI HEX3Atmp_552615;
		NI LOC7;
		NI res_552618;
		i_552514 = 0;
		HEX3Atmp_552615 = 0;
		LOC7 = 0;
		LOC7 = sonslen_228387(n);
		HEX3Atmp_552615 = (NI)(LOC7 - ((NI) 1));
		res_552618 = ((NI) 0);
		{
			while (1) {
				Tnode225809* it;
				NimStringDesc* LOC41;
				TY513664 LOC47;
				if (!(res_552618 <= HEX3Atmp_552615)) goto LA9;
				i_552514 = res_552618;
				it = (*n).kindU.S6.sons->data[i_552514];
				{
					NI LOC12;
					NimStringDesc* LOC26;
					TY176572 LOC32;
					LOC12 = 0;
					LOC12 = sonslen_228387(it);
					if (!!((LOC12 == ((NI) 1)))) goto LA13;
					{
						NimStringDesc* LOC19;
						TY513664 LOC25;
						if (!(((NI) 0) < i_552514)) goto LA17;
						LOC19 = 0;
						{
							if (!((*p).target == ((NU8) 0))) goto LA22;
							LOC19 = copyString(((NimStringDesc*) &TMP4931));
						}
						goto LA20;
						LA22: ;
						{
							LOC19 = copyString(((NimStringDesc*) &TMP4932));
						}
						LA20: ;
						memset((void*)LOC25, 0, sizeof(LOC25));
						addf_177635(&(*p).body, LOC19, LOC25, 0);
						toclose += ((NI) 1);
					}
					LA17: ;
					gen_549808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&cond));
					LOC26 = 0;
					{
						if (!((*p).target == ((NU8) 0))) goto LA29;
						LOC26 = copyString(((NimStringDesc*) &TMP4933));
					}
					goto LA27;
					LA29: ;
					{
						LOC26 = copyString(((NimStringDesc*) &TMP4934));
					}
					LA27: ;
					memset((void*)LOC32, 0, sizeof(LOC32));
					LOC32[0] = rdloc_549127(cond);
					addf_177635(&(*p).body, LOC26, LOC32, 1);
					gen_549808(p, (*it).kindU.S6.sons->data[((NI) 1)], (&stmt));
				}
				goto LA10;
				LA13: ;
				{
					NimStringDesc* LOC34;
					TY513664 LOC40;
					LOC34 = 0;
					{
						if (!((*p).target == ((NU8) 0))) goto LA37;
						LOC34 = copyString(((NimStringDesc*) &TMP4931));
					}
					goto LA35;
					LA37: ;
					{
						LOC34 = copyString(((NimStringDesc*) &TMP4932));
					}
					LA35: ;
					memset((void*)LOC40, 0, sizeof(LOC40));
					addf_177635(&(*p).body, LOC34, LOC40, 0);
					gen_549808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&stmt));
				}
				LA10: ;
				moveinto_551161(p, (&stmt), (*r));
				LOC41 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA44;
					LOC41 = copyString(((NimStringDesc*) &TMP4936));
				}
				goto LA42;
				LA44: ;
				{
					LOC41 = copyString(((NimStringDesc*) &TMP4937));
				}
				LA42: ;
				memset((void*)LOC47, 0, sizeof(LOC47));
				addf_177635(&(*p).body, LOC41, LOC47, 0);
				res_552618 += ((NI) 1);
			} LA9: ;
		}
	}
	{
		NimStringDesc* LOC52;
		NimStringDesc* LOC53;
		if (!((*p).target == ((NU8) 0))) goto LA50;
		LOC52 = 0;
		LOC53 = 0;
		LOC53 = nsuRepeatChar(125, ((NI) (toclose)));
		LOC52 = rawNewString(LOC53->Sup.len + tnl_174654->Sup.len + 0);
appendString(LOC52, LOC53);
appendString(LOC52, tnl_174654);
		add_176545(&(*p).body, LOC52);
	}
	goto LA48;
	LA50: ;
	{
		{
			NI i_552604;
			NI res_552626;
			i_552604 = 0;
			res_552626 = ((NI) 1);
			{
				while (1) {
					TY513664 LOC58;
					if (!(res_552626 <= toclose)) goto LA57;
					i_552604 = res_552626;
					memset((void*)LOC58, 0, sizeof(LOC58));
					addf_177635(&(*p).body, ((NimStringDesc*) &TMP4937), LOC58, 0);
					res_552626 += ((NI) 1);
				} LA57: ;
			}
		}
	}
	LA48: ;
}

static N_INLINE(NI, tolinenumber_191839)(Tlineinfo190352 info) {
	NI result;
	result = 0;
	result = ((NI) (info.line));
	return result;
}

N_NIMCALL(void, genlinedir_550929)(Tproc549033* p, Tnode225809* n) {
	NI line;
	line = tolinenumber_191839((*n).info);
	{
		NimStringDesc* LOC5;
		TY543257 LOC11;
		NimStringDesc* LOC12;
		if (!(((*p).options &(1<<((((NU8) 10))&31)))!=0)) goto LA3;
		LOC5 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA8;
			LOC5 = copyString(((NimStringDesc*) &TMP4939));
		}
		goto LA6;
		LA8: ;
		{
			LOC5 = copyString(((NimStringDesc*) &TMP4940));
		}
		LA6: ;
		memset((void*)LOC11, 0, sizeof(LOC11));
		LOC12 = 0;
		LOC12 = tofilename_191655((*n).info.fileindex);
		LOC11[0] = rope_176322(LOC12);
		LOC11[1] = rope_176407(((NI64) (line)));
		addf_177635(&(*p).body, LOC5, LOC11, 2);
	}
	LA3: ;
	{
		NIM_BOOL LOC15;
		NIM_BOOL LOC17;
		TY176572 LOC21;
		LOC15 = 0;
		LOC15 = ((163840 & (*p).options) == 163840);
		if (!(LOC15)) goto LA16;
		LOC17 = 0;
		LOC17 = ((*p).prc == NIM_NIL);
		if (LOC17) goto LA18;
		LOC17 = !((((*(*p).prc).flags &(1<<((((NU8) 9))&31)))!=0));
		LA18: ;
		LOC15 = LOC17;
		LA16: ;
		if (!LOC15) goto LA19;
		usemagic_549838(p, ((NimStringDesc*) &TMP4941));
		memset((void*)LOC21, 0, sizeof(LOC21));
		LOC21[0] = rope_176407(((NI64) (line)));
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP4942), LOC21, 1);
	}
	goto LA13;
	LA19: ;
	{
		NIM_BOOL LOC23;
		NIM_BOOL LOC25;
		TY176572 LOC29;
		LOC23 = 0;
		LOC23 = ((98304 & (*p).options) == 98304);
		if (!(LOC23)) goto LA24;
		LOC25 = 0;
		LOC25 = ((*p).prc == NIM_NIL);
		if (LOC25) goto LA26;
		LOC25 = !((((*(*p).prc).flags &(1<<((((NU8) 9))&31)))!=0));
		LA26: ;
		LOC23 = LOC25;
		LA24: ;
		if (!LOC23) goto LA27;
		memset((void*)LOC29, 0, sizeof(LOC29));
		LOC29[0] = rope_176407(((NI64) (line)));
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP4943), LOC29, 1);
	}
	goto LA13;
	LA27: ;
	LA13: ;
}

N_NIMCALL(void, genwhilestmt_551064)(Tproc549033* p, Tnode225809* n) {
	Tcompres549023 cond;
	NI length;
	Ropeobj176009* labl;
	NimStringDesc* LOC7;
	TY176572 LOC13;
	NimStringDesc* LOC14;
	TY543257 LOC20;
	NimStringDesc* LOC21;
	TY176572 LOC27;
	memset((void*)(&cond), 0, sizeof(cond));
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC6;
		LOC3 = 0;
		LOC3 = isemptytype_230932((*n).typ);
		if (!!(LOC3)) goto LA4;
		LOC6 = 0;
		LOC6 = HEX24_196279(TMP4938);
		internalerror_196191(LOC6);
	}
	LA4: ;
	genlinedir_550929(p, n);
	(*p).unique += ((NI) 1);
	length = ((*p).blocks ? (*p).blocks->Sup.len : 0);
	(*p).blocks = (TY549071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock549025), ((NI) ((NI)(length + ((NI) 1)))));
	(*p).blocks->data[length].id = ((NI32)-((*p).unique));
	(*p).blocks->data[length].isloop = NIM_TRUE;
	labl = rope_176407(((NI64) ((*p).unique)));
	LOC7 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA10;
		LOC7 = copyString(((NimStringDesc*) &TMP4944));
	}
	goto LA8;
	LA10: ;
	{
		LOC7 = copyString(((NimStringDesc*) &TMP4945));
	}
	LA8: ;
	memset((void*)LOC13, 0, sizeof(LOC13));
	LOC13[0] = labl;
	addf_177635(&(*p).body, LOC7, LOC13, 1);
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&cond));
	LOC14 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA17;
		LOC14 = copyString(((NimStringDesc*) &TMP4946));
	}
	goto LA15;
	LA17: ;
	{
		LOC14 = copyString(((NimStringDesc*) &TMP4947));
	}
	LA15: ;
	memset((void*)LOC20, 0, sizeof(LOC20));
	LOC20[0] = cond.res;
	LOC20[1] = labl;
	addf_177635(&(*p).body, LOC14, LOC20, 2);
	genstmt_549817(p, (*n).kindU.S6.sons->data[((NI) 1)]);
	LOC21 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA24;
		LOC21 = copyString(((NimStringDesc*) &TMP4936));
	}
	goto LA22;
	LA24: ;
	{
		LOC21 = copyString(((NimStringDesc*) &TMP4948));
	}
	LA22: ;
	memset((void*)LOC27, 0, sizeof(LOC27));
	LOC27[0] = labl;
	addf_177635(&(*p).body, LOC21, LOC27, 1);
	(*p).blocks = (TY549071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock549025), ((NI) (length)));
}

N_NIMCALL(void, genvarstmt_555239)(Tproc549033* p, Tnode225809* n) {
	{
		NI i_555255;
		NI HEX3Atmp_555617;
		NI LOC2;
		NI res_555620;
		i_555255 = 0;
		HEX3Atmp_555617 = 0;
		LOC2 = 0;
		LOC2 = sonslen_228387(n);
		HEX3Atmp_555617 = (NI)(LOC2 - ((NI) 1));
		res_555620 = ((NI) 0);
		{
			while (1) {
				Tnode225809* a;
				if (!(res_555620 <= HEX3Atmp_555617)) goto LA4;
				i_555255 = res_555620;
				a = (*n).kindU.S6.sons->data[i_555255];
				{
					if (!!(((*a).kind == ((NU8) 125)))) goto LA7;
					{
						Tnode225809* unpacked;
						if (!((*a).kind == ((NU8) 36))) goto LA11;
						unpacked = lowertupleunpacking_402087(a, (*p).prc);
						genstmt_549817(p, unpacked);
					}
					goto LA9;
					LA11: ;
					{
						Tsym225841* v;
						v = (*(*a).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
						{
							if (!!((((*v).loc.flags &(1<<((((NU8) 3))&15)))!=0))) goto LA16;
							genlinedir_550929(p, a);
							genvarinit_555109(p, v, (*a).kindU.S6.sons->data[((NI) 2)]);
						}
						LA16: ;
					}
					LA9: ;
				}
				LA7: ;
				res_555620 += ((NI) 1);
			} LA4: ;
		}
	}
}

N_NIMCALL(void, gencasejs_551553)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 cond;
	Tcompres549023 stmt;
	NIM_BOOL stringswitch;
	Ttype225847* LOC1;
	TY513664 LOC46;
	memset((void*)(&cond), 0, sizeof(cond));
	memset((void*)(&stmt), 0, sizeof(stmt));
	genlinedir_550929(p, n);
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&cond));
	LOC1 = 0;
	LOC1 = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106240964864));
	stringswitch = ((*LOC1).kind == ((NU8) 28));
	{
		TY176572 LOC6;
		if (!stringswitch) goto LA4;
		usemagic_549838(p, ((NimStringDesc*) &TMP4877));
		memset((void*)LOC6, 0, sizeof(LOC6));
		LOC6[0] = rdloc_549127(cond);
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP4950), LOC6, 1);
	}
	goto LA2;
	LA4: ;
	{
		TY176572 LOC8;
		memset((void*)LOC8, 0, sizeof(LOC8));
		LOC8[0] = rdloc_549127(cond);
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP4951), LOC8, 1);
	}
	LA2: ;
	{
		NIM_BOOL LOC11;
		LOC11 = 0;
		LOC11 = isemptytype_230932((*n).typ);
		if (!!(LOC11)) goto LA12;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_549954(p, NIM_TRUE));
	}
	LA12: ;
	{
		NI i_551592;
		NI HEX3Atmp_551682;
		NI LOC15;
		NI res_551685;
		i_551592 = 0;
		HEX3Atmp_551682 = 0;
		LOC15 = 0;
		LOC15 = sonslen_228387(n);
		HEX3Atmp_551682 = (NI)(LOC15 - ((NI) 1));
		res_551685 = ((NI) 1);
		{
			while (1) {
				Tnode225809* it;
				if (!(res_551685 <= HEX3Atmp_551682)) goto LA17;
				i_551592 = res_551685;
				it = (*n).kindU.S6.sons->data[i_551592];
				switch ((*it).kind) {
				case ((NU8) 85):
				{
					Tnode225809* LOC40;
					TY513664 LOC41;
					{
						NI j_551607;
						NI HEX3Atmp_551672;
						NI LOC20;
						NI res_551675;
						j_551607 = 0;
						HEX3Atmp_551672 = 0;
						LOC20 = 0;
						LOC20 = sonslen_228387(it);
						HEX3Atmp_551672 = (NI)(LOC20 - ((NI) 2));
						res_551675 = ((NI) 0);
						{
							while (1) {
								Tnode225809* e;
								if (!(res_551675 <= HEX3Atmp_551672)) goto LA22;
								j_551607 = res_551675;
								e = (*it).kindU.S6.sons->data[j_551607];
								{
									Tnode225809* v;
									if (!((*e).kind == ((NU8) 44))) goto LA25;
									v = copynode_229660((*e).kindU.S6.sons->data[((NI) 0)]);
									{
										while (1) {
											TY176572 LOC29;
											if (!((*v).kindU.S1.intval <= (*(*e).kindU.S6.sons->data[((NI) 1)]).kindU.S1.intval)) goto LA28;
											gen_549808(p, v, (&cond));
											memset((void*)LOC29, 0, sizeof(LOC29));
											LOC29[0] = rdloc_549127(cond);
											addf_177635(&(*p).body, ((NimStringDesc*) &TMP4952), LOC29, 1);
											(*v).kindU.S1.intval += ((NI) 1);
										} LA28: ;
									}
								}
								goto LA23;
								LA25: ;
								{
									{
										if (!stringswitch) goto LA33;
										switch ((*e).kind) {
										case ((NU8) 20) ... ((NU8) 22):
										{
											TY176572 LOC36;
											memset((void*)LOC36, 0, sizeof(LOC36));
											LOC36[0] = makejsstring_549305((*e).kindU.S3.strval);
											addf_177635(&(*p).body, ((NimStringDesc*) &TMP4952), LOC36, 1);
										}
										break;
										default:
										{
											internalerror_196172((*e).info, ((NimStringDesc*) &TMP4953));
										}
										break;
										}
									}
									goto LA31;
									LA33: ;
									{
										TY176572 LOC39;
										gen_549808(p, e, (&cond));
										memset((void*)LOC39, 0, sizeof(LOC39));
										LOC39[0] = rdloc_549127(cond);
										addf_177635(&(*p).body, ((NimStringDesc*) &TMP4952), LOC39, 1);
									}
									LA31: ;
								}
								LA23: ;
								res_551675 += ((NI) 1);
							} LA22: ;
						}
					}
					LOC40 = 0;
					LOC40 = lastson_228406(it);
					gen_549808(p, LOC40, (&stmt));
					moveinto_551161(p, (&stmt), (*r));
					memset((void*)LOC41, 0, sizeof(LOC41));
					addf_177635(&(*p).body, ((NimStringDesc*) &TMP4954), LOC41, 0);
				}
				break;
				case ((NU8) 88):
				{
					TY513664 LOC43;
					TY513664 LOC44;
					memset((void*)LOC43, 0, sizeof(LOC43));
					addf_177635(&(*p).body, ((NimStringDesc*) &TMP4955), LOC43, 0);
					gen_549808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&stmt));
					moveinto_551161(p, (&stmt), (*r));
					memset((void*)LOC44, 0, sizeof(LOC44));
					addf_177635(&(*p).body, ((NimStringDesc*) &TMP4956), LOC44, 0);
				}
				break;
				default:
				{
					internalerror_196172((*it).info, ((NimStringDesc*) &TMP4957));
				}
				break;
				}
				res_551685 += ((NI) 1);
			} LA17: ;
		}
	}
	memset((void*)LOC46, 0, sizeof(LOC46));
	addf_177635(&(*p).body, ((NimStringDesc*) &TMP4936), LOC46, 0);
}

N_NIMCALL(void, gencaselua_551720)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	Tcompres549023 cond;
	Tcompres549023 stmt;
	NIM_BOOL stringswitch;
	Ttype225847* LOC1;
	Ropeobj176009* tmp;
	TY543257 LOC6;
	TY513664 LOC52;
	memset((void*)(&cond), 0, sizeof(cond));
	memset((void*)(&stmt), 0, sizeof(stmt));
	genlinedir_550929(p, n);
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&cond));
	LOC1 = 0;
	LOC1 = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106240964864));
	stringswitch = ((*LOC1).kind == ((NU8) 28));
	{
		if (!stringswitch) goto LA4;
		usemagic_549838(p, ((NimStringDesc*) &TMP4958));
	}
	LA4: ;
	tmp = gettemp_549954(p, NIM_TRUE);
	memset((void*)LOC6, 0, sizeof(LOC6));
	LOC6[0] = tmp;
	LOC6[1] = rdloc_549127(cond);
	addf_177635(&(*p).body, ((NimStringDesc*) &TMP4838), LOC6, 2);
	{
		NIM_BOOL LOC9;
		LOC9 = 0;
		LOC9 = isemptytype_230932((*n).typ);
		if (!!(LOC9)) goto LA10;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_549954(p, NIM_TRUE));
	}
	LA10: ;
	{
		NI i_551757;
		NI HEX3Atmp_551844;
		NI LOC13;
		NI res_551847;
		i_551757 = 0;
		HEX3Atmp_551844 = 0;
		LOC13 = 0;
		LOC13 = sonslen_228387(n);
		HEX3Atmp_551844 = (NI)(LOC13 - ((NI) 1));
		res_551847 = ((NI) 1);
		{
			while (1) {
				Tnode225809* it;
				if (!(res_551847 <= HEX3Atmp_551844)) goto LA15;
				i_551757 = res_551847;
				it = (*n).kindU.S6.sons->data[i_551757];
				switch ((*it).kind) {
				case ((NU8) 85):
				{
					TY513664 LOC47;
					Tnode225809* LOC48;
					{
						TY513664 LOC21;
						if (!!((i_551757 == ((NI) 1)))) goto LA19;
						memset((void*)LOC21, 0, sizeof(LOC21));
						addf_177635(&(*p).body, ((NimStringDesc*) &TMP4959), LOC21, 0);
					}
					goto LA17;
					LA19: ;
					{
						TY513664 LOC23;
						memset((void*)LOC23, 0, sizeof(LOC23));
						addf_177635(&(*p).body, ((NimStringDesc*) &TMP4960), LOC23, 0);
					}
					LA17: ;
					{
						NI j_551780;
						NI HEX3Atmp_551835;
						NI LOC25;
						NI res_551838;
						j_551780 = 0;
						HEX3Atmp_551835 = 0;
						LOC25 = 0;
						LOC25 = sonslen_228387(it);
						HEX3Atmp_551835 = (NI)(LOC25 - ((NI) 2));
						res_551838 = ((NI) 0);
						{
							while (1) {
								Tnode225809* e;
								if (!(res_551838 <= HEX3Atmp_551835)) goto LA27;
								j_551780 = res_551838;
								{
									if (!!((j_551780 == ((NI) 0)))) goto LA30;
									add_176545(&(*p).body, ((NimStringDesc*) &TMP4961));
								}
								LA30: ;
								e = (*it).kindU.S6.sons->data[j_551780];
								{
									Tcompres549023 ia;
									Tcompres549023 ib;
									TY515577 LOC36;
									if (!((*e).kind == ((NU8) 44))) goto LA34;
									memset((void*)(&ia), 0, sizeof(ia));
									memset((void*)(&ib), 0, sizeof(ib));
									gen_549808(p, (*e).kindU.S6.sons->data[((NI) 0)], (&ia));
									gen_549808(p, (*e).kindU.S6.sons->data[((NI) 1)], (&ib));
									memset((void*)LOC36, 0, sizeof(LOC36));
									LOC36[0] = tmp;
									LOC36[1] = rdloc_549127(ia);
									LOC36[2] = rdloc_549127(ib);
									addf_177635(&(*p).body, ((NimStringDesc*) &TMP4962), LOC36, 3);
								}
								goto LA32;
								LA34: ;
								{
									{
										if (!stringswitch) goto LA40;
										switch ((*e).kind) {
										case ((NU8) 20) ... ((NU8) 22):
										{
											TY543257 LOC43;
											memset((void*)LOC43, 0, sizeof(LOC43));
											LOC43[0] = tmp;
											LOC43[1] = makejsstring_549305((*e).kindU.S3.strval);
											addf_177635(&(*p).body, ((NimStringDesc*) &TMP4963), LOC43, 2);
										}
										break;
										default:
										{
											internalerror_196172((*e).info, ((NimStringDesc*) &TMP4953));
										}
										break;
										}
									}
									goto LA38;
									LA40: ;
									{
										TY543257 LOC46;
										gen_549808(p, e, (&cond));
										memset((void*)LOC46, 0, sizeof(LOC46));
										LOC46[0] = tmp;
										LOC46[1] = rdloc_549127(cond);
										addf_177635(&(*p).body, ((NimStringDesc*) &TMP4964), LOC46, 2);
									}
									LA38: ;
								}
								LA32: ;
								res_551838 += ((NI) 1);
							} LA27: ;
						}
					}
					memset((void*)LOC47, 0, sizeof(LOC47));
					addf_177635(&(*p).body, ((NimStringDesc*) &TMP4965), LOC47, 0);
					LOC48 = 0;
					LOC48 = lastson_228406(it);
					gen_549808(p, LOC48, (&stmt));
					moveinto_551161(p, (&stmt), (*r));
				}
				break;
				case ((NU8) 88):
				{
					TY513664 LOC50;
					memset((void*)LOC50, 0, sizeof(LOC50));
					addf_177635(&(*p).body, ((NimStringDesc*) &TMP4932), LOC50, 0);
					gen_549808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&stmt));
					moveinto_551161(p, (&stmt), (*r));
				}
				break;
				default:
				{
					internalerror_196172((*it).info, ((NimStringDesc*) &TMP4957));
				}
				break;
				}
				res_551847 += ((NI) 1);
			} LA15: ;
		}
	}
	memset((void*)LOC52, 0, sizeof(LOC52));
	addf_177635(&(*p).body, ((NimStringDesc*) &TMP4966), LOC52, 0);
}

N_NIMCALL(void, genreturnstmt_556458)(Tproc549033* p, Tnode225809* n) {
	NimStringDesc* LOC10;
	TY513664 LOC16;
	{
		if (!((*p).procdef == NIM_NIL)) goto LA3;
		internalerror_196172((*n).info, ((NimStringDesc*) &TMP4967));
	}
	LA3: ;
	(*p).beforeretneeded = NIM_TRUE;
	{
		if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 1)))) goto LA7;
		genstmt_549817(p, (*n).kindU.S6.sons->data[((NI) 0)]);
	}
	goto LA5;
	LA7: ;
	{
		genlinedir_550929(p, n);
	}
	LA5: ;
	LOC10 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA13;
		LOC10 = copyString(((NimStringDesc*) &TMP4968));
	}
	goto LA11;
	LA13: ;
	{
		LOC10 = copyString(((NimStringDesc*) &TMP4969));
	}
	LA11: ;
	memset((void*)LOC16, 0, sizeof(LOC16));
	addf_177635(&(*p).body, LOC10, LOC16, 0);
}

N_NIMCALL(void, genbreakstmt_551977)(Tproc549033* p, Tnode225809* n) {
	NI idx;
	NimStringDesc* LOC16;
	TY176572 LOC22;
	idx = 0;
	genlinedir_550929(p, n);
	{
		Tsym225841* sym;
		if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 1)))) goto LA3;
		sym = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		idx = (NI)((*sym).position - ((NI) 1));
	}
	goto LA1;
	LA3: ;
	{
		idx = (NI)(((*p).blocks ? (*p).blocks->Sup.len : 0) - ((NI) 1));
		{
			while (1) {
				NIM_BOOL LOC8;
				LOC8 = 0;
				LOC8 = (((NI) 0) <= idx);
				if (!(LOC8)) goto LA9;
				LOC8 = !((*p).blocks->data[idx].isloop);
				LA9: ;
				if (!LOC8) goto LA7;
				idx -= ((NI) 1);
			} LA7: ;
		}
		{
			NIM_BOOL LOC12;
			LOC12 = 0;
			LOC12 = (idx < ((NI) 0));
			if (LOC12) goto LA13;
			LOC12 = !((*p).blocks->data[idx].isloop);
			LA13: ;
			if (!LOC12) goto LA14;
			internalerror_196172((*n).info, ((NimStringDesc*) &TMP4970));
		}
		LA14: ;
	}
	LA1: ;
	(*p).blocks->data[idx].id = ((*p).blocks->data[idx].id > 0? ((*p).blocks->data[idx].id) : -((*p).blocks->data[idx].id));
	LOC16 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA19;
		LOC16 = copyString(((NimStringDesc*) &TMP4971));
	}
	goto LA17;
	LA19: ;
	{
		LOC16 = copyString(((NimStringDesc*) &TMP4972));
	}
	LA17: ;
	memset((void*)LOC22, 0, sizeof(LOC22));
	LOC22[0] = rope_176407(((NI64) ((*p).blocks->data[idx].id)));
	addf_177635(&(*p).body, LOC16, LOC22, 1);
}

N_NIMCALL(void, genasgnaux_552896)(Tproc549033* p, Tnode225809* x, Tnode225809* y, NIM_BOOL nocopyneeded) {
	Tcompres549023 a;
	Tcompres549023 b;
	NU8 xtyp;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	gen_549808(p, x, (&a));
	xtyp = maptype_549256((*x).typ);
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		Ropeobj176009* tmp;
		TY543257 LOC9;
		TY176572 LOC10;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = ((*x).kind == ((NU8) 65));
		if (!(LOC4)) goto LA5;
		LOC4 = ((*(*x).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 27));
		LA5: ;
		LOC3 = LOC4;
		if (!(LOC3)) goto LA6;
		LOC3 = !((xtyp == ((NU8) 7)));
		LA6: ;
		if (!LOC3) goto LA7;
		gen_549808(p, (*x).kindU.S6.sons->data[((NI) 0)], (&a));
		tmp = gettemp_549954(p, NIM_FALSE);
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = tmp;
		LOC9[1] = rdloc_549127(a);
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP4634), LOC9, 2);
		memset((void*)LOC10, 0, sizeof(LOC10));
		LOC10[0] = tmp;
		a.res = HEX25_177236(((NimStringDesc*) &TMP4973), LOC10, 1);
	}
	goto LA1;
	LA7: ;
	{
		gen_549808(p, x, (&a));
	}
	LA1: ;
	gen_549808(p, y, (&b));
	switch (xtyp) {
	case ((NU8) 7):
	{
		{
			NIM_BOOL LOC15;
			NIM_BOOL LOC16;
			TY543257 LOC21;
			LOC15 = 0;
			LOC16 = 0;
			LOC16 = needsnocopy_552865(y);
			if (!(LOC16)) goto LA17;
			LOC16 = needsnocopy_552865(x);
			LA17: ;
			LOC15 = LOC16;
			if (LOC15) goto LA18;
			LOC15 = nocopyneeded;
			LA18: ;
			if (!LOC15) goto LA19;
			memset((void*)LOC21, 0, sizeof(LOC21));
			LOC21[0] = rdloc_549127(a);
			LOC21[1] = rdloc_549127(b);
			addf_177635(&(*p).body, ((NimStringDesc*) &TMP4838), LOC21, 2);
		}
		goto LA13;
		LA19: ;
		{
			TY515577 LOC23;
			usemagic_549838(p, ((NimStringDesc*) &TMP4659));
			memset((void*)LOC23, 0, sizeof(LOC23));
			LOC23[0] = a.res;
			LOC23[1] = b.res;
			LOC23[2] = gentypeinfo_549315(p, (*y).typ);
			addf_177635(&(*p).body, ((NimStringDesc*) &TMP4974), LOC23, 3);
		}
		LA13: ;
	}
	break;
	case ((NU8) 8):
	{
		{
			NIM_BOOL LOC27;
			LOC27 = 0;
			LOC27 = !((a.typ == ((NU8) 8)));
			if (LOC27) goto LA28;
			LOC27 = !((b.typ == ((NU8) 8)));
			LA28: ;
			if (!LOC27) goto LA29;
			{
				Ropeobj176009* tmp;
				TY515574 LOC35;
				if (!((*y).kind == ((NU8) 27))) goto LA33;
				tmp = gettemp_549954(p, NIM_FALSE);
				memset((void*)LOC35, 0, sizeof(LOC35));
				LOC35[0] = tmp;
				LOC35[1] = a.address;
				LOC35[2] = a.res;
				LOC35[3] = rdloc_549127(b);
				addf_177635(&(*p).body, ((NimStringDesc*) &TMP4975), LOC35, 4);
			}
			goto LA31;
			LA33: ;
			{
				internalerror_196172((*x).info, ((NimStringDesc*) &TMP4976));
			}
			LA31: ;
		}
		goto LA25;
		LA29: ;
		{
			TY515574 LOC38;
			memset((void*)LOC38, 0, sizeof(LOC38));
			LOC38[0] = a.address;
			LOC38[1] = b.address;
			LOC38[2] = a.res;
			LOC38[3] = b.res;
			addf_177635(&(*p).body, ((NimStringDesc*) &TMP4977), LOC38, 4);
		}
		LA25: ;
	}
	break;
	default:
	{
		TY543257 LOC40;
		memset((void*)LOC40, 0, sizeof(LOC40));
		LOC40[0] = a.res;
		LOC40[1] = b.res;
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP4838), LOC40, 2);
	}
	break;
	}
}

N_NIMCALL(void, genasgn_552995)(Tproc549033* p, Tnode225809* n) {
	genlinedir_550929(p, n);
	genasgnaux_552896(p, (*n).kindU.S6.sons->data[((NI) 0)], (*n).kindU.S6.sons->data[((NI) 1)], NIM_FALSE);
}

N_NIMCALL(void, genfastasgn_553007)(Tproc549033* p, Tnode225809* n) {
	genlinedir_550929(p, n);
	genasgnaux_552896(p, (*n).kindU.S6.sons->data[((NI) 0)], (*n).kindU.S6.sons->data[((NI) 1)], NIM_TRUE);
}

N_NIMCALL(void, genasmoremitstmt_552445)(Tproc549033* p, Tnode225809* n) {
	genlinedir_550929(p, n);
	{
		NI i_552461;
		NI HEX3Atmp_552471;
		NI LOC2;
		NI res_552474;
		i_552461 = 0;
		HEX3Atmp_552471 = 0;
		LOC2 = 0;
		LOC2 = sonslen_228387(n);
		HEX3Atmp_552471 = (NI)(LOC2 - ((NI) 1));
		res_552474 = ((NI) 0);
		{
			while (1) {
				if (!(res_552474 <= HEX3Atmp_552471)) goto LA4;
				i_552461 = res_552474;
				switch ((*(*n).kindU.S6.sons->data[i_552461]).kind) {
				case ((NU8) 20) ... ((NU8) 22):
				{
					add_176545(&(*p).body, (*(*n).kindU.S6.sons->data[i_552461]).kindU.S3.strval);
				}
				break;
				case ((NU8) 3):
				{
					Ropeobj176009* LOC7;
					LOC7 = 0;
					LOC7 = manglename_549277((*(*n).kindU.S6.sons->data[i_552461]).kindU.S4.sym);
					add_176534(&(*p).body, LOC7);
				}
				break;
				default:
				{
					internalerror_196172((*(*n).kindU.S6.sons->data[i_552461]).info, ((NimStringDesc*) &TMP4978));
				}
				break;
				}
				res_552474 += ((NI) 1);
			} LA4: ;
		}
	}
}

N_NIMCALL(void, gentry_551197)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	NI i;
	NI length;
	NIM_BOOL catchbranchesexist;
	NIM_BOOL LOC6;
	Ropeobj176009* safepoint;
	TY176572 LOC13;
	NimStringDesc* LOC14;
	TY176572 LOC20;
	NimStringDesc* LOC26;
	TY513664 LOC32;
	Tcompres549023 a;
	NIM_BOOL generalcatchbranchexists;
	genlinedir_550929(p, n);
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isemptytype_230932((*n).typ);
		if (!!(LOC3)) goto LA4;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_549954(p, NIM_TRUE));
	}
	LA4: ;
	(*p).unique += ((NI) 1);
	i = ((NI) 1);
	length = sonslen_228387(n);
	LOC6 = 0;
	LOC6 = (((NI) 1) < length);
	if (!(LOC6)) goto LA7;
	LOC6 = ((*(*n).kindU.S6.sons->data[i]).kind == ((NU8) 87));
	LA7: ;
	catchbranchesexist = LOC6;
	{
		NimStringDesc* LOC12;
		if (!catchbranchesexist) goto LA10;
		LOC12 = 0;
		LOC12 = rawNewString(tnl_174654->Sup.len + 13);
appendString(LOC12, ((NimStringDesc*) &TMP4979));
appendString(LOC12, tnl_174654);
		add_176545(&(*p).body, LOC12);
	}
	LA10: ;
	memset((void*)LOC13, 0, sizeof(LOC13));
	LOC13[0] = rope_176407(((NI64) ((*p).unique)));
	safepoint = HEX25_177236(((NimStringDesc*) &TMP4715), LOC13, 1);
	LOC14 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA17;
		LOC14 = copyString(((NimStringDesc*) &TMP4727));
	}
	goto LA15;
	LA17: ;
	{
		LOC14 = copyString(((NimStringDesc*) &TMP4980));
	}
	LA15: ;
	memset((void*)LOC20, 0, sizeof(LOC20));
	LOC20[0] = safepoint;
	addf_177635(&(*p).body, LOC14, LOC20, 1);
	{
		NimStringDesc* LOC25;
		if (!(((*p).options &(1<<((((NU8) 15))&31)))!=0)) goto LA23;
		LOC25 = 0;
		LOC25 = rawNewString(tnl_174654->Sup.len + 13);
appendString(LOC25, ((NimStringDesc*) &TMP4981));
appendString(LOC25, tnl_174654);
		add_176545(&(*p).body, LOC25);
	}
	LA23: ;
	LOC26 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA29;
		LOC26 = copyString(((NimStringDesc*) &TMP4982));
	}
	goto LA27;
	LA29: ;
	{
		LOC26 = copyString(((NimStringDesc*) &TMP4983));
	}
	LA27: ;
	memset((void*)LOC32, 0, sizeof(LOC32));
	addf_177635(&(*p).body, LOC26, LOC32, 0);
	memset((void*)(&a), 0, sizeof(a));
	gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&a));
	moveinto_551161(p, (&a), (*r));
	generalcatchbranchexists = NIM_FALSE;
	{
		NIM_BOOL LOC35;
		TY513664 LOC39;
		LOC35 = 0;
		LOC35 = ((*p).target == ((NU8) 0));
		if (!(LOC35)) goto LA36;
		LOC35 = catchbranchesexist;
		LA36: ;
		if (!LOC35) goto LA37;
		memset((void*)LOC39, 0, sizeof(LOC39));
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP4984), LOC39, 0);
	}
	goto LA33;
	LA37: ;
	{
		TY513664 LOC43;
		if (!((*p).target == ((NU8) 1))) goto LA41;
		memset((void*)LOC43, 0, sizeof(LOC43));
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP4985), LOC43, 0);
	}
	goto LA33;
	LA41: ;
	LA33: ;
	{
		while (1) {
			NIM_BOOL LOC46;
			NI blen;
			LOC46 = 0;
			LOC46 = (i < length);
			if (!(LOC46)) goto LA47;
			LOC46 = ((*(*n).kindU.S6.sons->data[i]).kind == ((NU8) 87));
			LA47: ;
			if (!LOC46) goto LA45;
			blen = sonslen_228387((*n).kindU.S6.sons->data[i]);
			{
				if (!(blen == ((NI) 1))) goto LA50;
				generalcatchbranchexists = NIM_TRUE;
				{
					NimStringDesc* LOC56;
					TY513664 LOC62;
					if (!(((NI) 1) < i)) goto LA54;
					LOC56 = 0;
					{
						if (!((*p).target == ((NU8) 0))) goto LA59;
						LOC56 = copyString(((NimStringDesc*) &TMP4931));
					}
					goto LA57;
					LA59: ;
					{
						LOC56 = copyString(((NimStringDesc*) &TMP4932));
					}
					LA57: ;
					memset((void*)LOC62, 0, sizeof(LOC62));
					addf_177635(&(*p).body, LOC56, LOC62, 0);
				}
				LA54: ;
				gen_549808(p, (*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[((NI) 0)], (&a));
				moveinto_551161(p, (&a), (*r));
				{
					NimStringDesc* LOC67;
					TY513664 LOC73;
					if (!(((NI) 1) < i)) goto LA65;
					LOC67 = 0;
					{
						if (!((*p).target == ((NU8) 0))) goto LA70;
						LOC67 = copyString(((NimStringDesc*) &TMP4936));
					}
					goto LA68;
					LA70: ;
					{
						LOC67 = copyString(((NimStringDesc*) &TMP4937));
					}
					LA68: ;
					memset((void*)LOC73, 0, sizeof(LOC73));
					addf_177635(&(*p).body, LOC67, LOC73, 0);
				}
				LA65: ;
			}
			goto LA48;
			LA50: ;
			{
				Ropeobj176009* orexpr;
				NimStringDesc* LOC97;
				TY543257 LOC103;
				NimStringDesc* LOC104;
				TY513664 LOC110;
				orexpr = NIM_NIL;
				usemagic_549838(p, ((NimStringDesc*) &TMP4873));
				{
					NI j_551351;
					NI HEX3Atmp_551493;
					NI res_551496;
					j_551351 = 0;
					HEX3Atmp_551493 = 0;
					HEX3Atmp_551493 = (NI)(blen - ((NI) 2));
					res_551496 = ((NI) 0);
					{
						while (1) {
							TY176572 LOC92;
							if (!(res_551496 <= HEX3Atmp_551493)) goto LA77;
							j_551351 = res_551496;
							{
								if (!!(((*(*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[j_551351]).kind == ((NU8) 4)))) goto LA80;
								internalerror_196172((*n).info, ((NimStringDesc*) &TMP4986));
							}
							LA80: ;
							{
								NimStringDesc* LOC86;
								if (!!((orexpr == NIM_NIL))) goto LA84;
								LOC86 = 0;
								{
									if (!((*p).target == ((NU8) 0))) goto LA89;
									LOC86 = copyString(((NimStringDesc*) &TMP4987));
								}
								goto LA87;
								LA89: ;
								{
									LOC86 = copyString(((NimStringDesc*) &TMP4961));
								}
								LA87: ;
								add_176545(&orexpr, LOC86);
							}
							LA84: ;
							memset((void*)LOC92, 0, sizeof(LOC92));
							LOC92[0] = gentypeinfo_549315(p, (*(*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[j_551351]).typ);
							addf_177635(&orexpr, ((NimStringDesc*) &TMP4988), LOC92, 1);
							res_551496 += ((NI) 1);
						} LA77: ;
					}
				}
				{
					if (!(((NI) 1) < i)) goto LA95;
					add_176545(&(*p).body, ((NimStringDesc*) &TMP4989));
				}
				LA95: ;
				LOC97 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA100;
					LOC97 = copyString(((NimStringDesc*) &TMP4990));
				}
				goto LA98;
				LA100: ;
				{
					LOC97 = copyString(((NimStringDesc*) &TMP4991));
				}
				LA98: ;
				memset((void*)LOC103, 0, sizeof(LOC103));
				LOC103[0] = safepoint;
				LOC103[1] = orexpr;
				addf_177635(&(*p).body, LOC97, LOC103, 2);
				gen_549808(p, (*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[(NI)(blen - ((NI) 1))], (&a));
				moveinto_551161(p, (&a), (*r));
				LOC104 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA107;
					LOC104 = copyString(((NimStringDesc*) &TMP4936));
				}
				goto LA105;
				LA107: ;
				{
					LOC104 = copyString(((NimStringDesc*) &TMP4937));
				}
				LA105: ;
				memset((void*)LOC110, 0, sizeof(LOC110));
				addf_177635(&(*p).body, LOC104, LOC110, 0);
			}
			LA48: ;
			i += ((NI) 1);
		} LA45: ;
	}
	{
		NimStringDesc* LOC125;
		if (!((*p).target == ((NU8) 0))) goto LA113;
		{
			NimStringDesc* LOC124;
			if (!catchbranchesexist) goto LA117;
			{
				NimStringDesc* LOC123;
				if (!!(generalcatchbranchexists)) goto LA121;
				usemagic_549838(p, ((NimStringDesc*) &TMP4992));
				LOC123 = 0;
				LOC123 = rawNewString(tnl_174654->Sup.len + tnl_174654->Sup.len + tnl_174654->Sup.len + 26);
appendString(LOC123, ((NimStringDesc*) &TMP4993));
appendString(LOC123, tnl_174654);
appendString(LOC123, ((NimStringDesc*) &TMP4994));
appendString(LOC123, tnl_174654);
appendString(LOC123, ((NimStringDesc*) &TMP4685));
appendString(LOC123, tnl_174654);
				add_176545(&(*p).body, LOC123);
			}
			LA121: ;
			LOC124 = 0;
			LOC124 = rawNewString(tnl_174654->Sup.len + 26);
appendString(LOC124, ((NimStringDesc*) &TMP4995));
appendString(LOC124, tnl_174654);
			add_176545(&(*p).body, LOC124);
		}
		LA117: ;
		LOC125 = 0;
		LOC125 = rawNewString(tnl_174654->Sup.len + 11);
appendString(LOC125, ((NimStringDesc*) &TMP4996));
appendString(LOC125, tnl_174654);
		add_176545(&(*p).body, LOC125);
	}
	LA113: ;
	{
		NIM_BOOL LOC128;
		LOC128 = 0;
		LOC128 = (i < length);
		if (!(LOC128)) goto LA129;
		LOC128 = ((*(*n).kindU.S6.sons->data[i]).kind == ((NU8) 107));
		LA129: ;
		if (!LOC128) goto LA130;
		genstmt_549817(p, (*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[((NI) 0)]);
	}
	LA130: ;
	{
		NimStringDesc* LOC136;
		if (!((*p).target == ((NU8) 0))) goto LA134;
		LOC136 = 0;
		LOC136 = rawNewString(tnl_174654->Sup.len + 1);
appendString(LOC136, ((NimStringDesc*) &TMP4685));
appendString(LOC136, tnl_174654);
		add_176545(&(*p).body, LOC136);
	}
	LA134: ;
	{
		if (!((*p).target == ((NU8) 1))) goto LA139;
		{
			NIM_BOOL LOC143;
			LOC143 = 0;
			LOC143 = (i < length);
			if (!(LOC143)) goto LA144;
			LOC143 = ((*(*n).kindU.S6.sons->data[i]).kind == ((NU8) 107));
			LA144: ;
			if (!LOC143) goto LA145;
			genstmt_549817(p, (*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[((NI) 0)]);
		}
		LA145: ;
	}
	LA139: ;
}

N_NIMCALL(void, genraisestmt_551522)(Tproc549033* p, Tnode225809* n) {
	genlinedir_550929(p, n);
	{
		Tcompres549023 a;
		Ttype225847* typ;
		TY543257 LOC5;
		if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 1)))) goto LA3;
		memset((void*)(&a), 0, sizeof(a));
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&a));
		typ = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106247256320));
		usemagic_549838(p, ((NimStringDesc*) &TMP4997));
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = rdloc_549127(a);
		LOC5[1] = makejsstring_549305((*(*(*typ).sym).name).s);
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP4998), LOC5, 2);
	}
	goto LA1;
	LA3: ;
	{
		NimStringDesc* LOC7;
		usemagic_549838(p, ((NimStringDesc*) &TMP4992));
		LOC7 = 0;
		LOC7 = rawNewString(tnl_174654->Sup.len + 19);
appendString(LOC7, ((NimStringDesc*) &TMP4994));
appendString(LOC7, tnl_174654);
		add_176545(&(*p).body, LOC7);
	}
	LA1: ;
}

N_NIMCALL(void, genpragma_556712)(Tproc549033* p, Tnode225809* n) {
	{
		Tnode225809* it_556726;
		Tnodeseq225803* HEX3Atmp_556729;
		NI i_556732;
		NI L_556734;
		it_556726 = 0;
		HEX3Atmp_556729 = 0;
		HEX3Atmp_556729 = (*n).kindU.S6.sons;
		i_556732 = ((NI) 0);
		L_556734 = (HEX3Atmp_556729 ? HEX3Atmp_556729->Sup.len : 0);
		{
			while (1) {
				NU16 LOC4;
				if (!(i_556732 < L_556734)) goto LA3;
				it_556726 = HEX3Atmp_556729->data[i_556732];
				LOC4 = 0;
				LOC4 = whichpragma_254687(it_556726);
				switch (LOC4) {
				case ((NU16) 189):
				{
					genasmoremitstmt_552445(p, (*it_556726).kindU.S6.sons->data[((NI) 1)]);
				}
				break;
				default:
				{
				}
				break;
				}
				i_556732 += ((NI) 1);
			} LA3: ;
		}
	}
}

N_NIMCALL(void, gen_549808)(Tproc549033* p, Tnode225809* n, Tcompres549023* r) {
	(*r).typ = ((NU8) 0);
	(*r).kind = ((NU8) 0);
	unsureAsgnRef((void**) (&(*r).res), NIM_NIL);
	switch ((*n).kind) {
	case ((NU8) 3):
	{
		gensym_553692(p, n, r);
	}
	break;
	case ((NU8) 5) ... ((NU8) 10):
	{
		unsureAsgnRef((void**) (&(*r).res), rope_176407((*n).kindU.S1.intval));
		(*r).kind = ((NU8) 1);
	}
	break;
	case ((NU8) 23):
	{
		{
			NIM_BOOL LOC6;
			LOC6 = 0;
			LOC6 = isemptytype_230932((*n).typ);
			if (!LOC6) goto LA7;
		}
		goto LA4;
		LA7: ;
		{
			NU8 LOC10;
			LOC10 = 0;
			LOC10 = maptype_549256((*n).typ);
			if (!(LOC10 == ((NU8) 8))) goto LA11;
			(*r).typ = ((NU8) 8);
			{
				if (!((*p).target == ((NU8) 0))) goto LA15;
				unsureAsgnRef((void**) (&(*r).address), rope_176322(((NimStringDesc*) &TMP4704)));
			}
			goto LA13;
			LA15: ;
			{
				unsureAsgnRef((void**) (&(*r).address), rope_176322(((NimStringDesc*) &TMP4705)));
			}
			LA13: ;
			unsureAsgnRef((void**) (&(*r).res), rope_176322(((NimStringDesc*) &TMP4706)));
			(*r).kind = ((NU8) 1);
		}
		goto LA4;
		LA11: ;
		{
			{
				if (!((*p).target == ((NU8) 0))) goto LA21;
				unsureAsgnRef((void**) (&(*r).res), rope_176322(((NimStringDesc*) &TMP4704)));
			}
			goto LA19;
			LA21: ;
			{
				unsureAsgnRef((void**) (&(*r).res), rope_176322(((NimStringDesc*) &TMP4705)));
			}
			LA19: ;
			(*r).kind = ((NU8) 1);
		}
		LA4: ;
	}
	break;
	case ((NU8) 20) ... ((NU8) 22):
	{
		{
			Ttype225847* LOC27;
			TY176572 LOC30;
			LOC27 = 0;
			LOC27 = skiptypes_229167((*n).typ, IL64(211106242013440));
			if (!((*LOC27).kind == ((NU8) 28))) goto LA28;
			usemagic_549838(p, ((NimStringDesc*) &TMP4707));
			memset((void*)LOC30, 0, sizeof(LOC30));
			LOC30[0] = makejsstring_549305((*n).kindU.S3.strval);
			unsureAsgnRef((void**) (&(*r).res), HEX25_177236(((NimStringDesc*) &TMP4708), LOC30, 1));
		}
		goto LA25;
		LA28: ;
		{
			unsureAsgnRef((void**) (&(*r).res), makejsstring_549305((*n).kindU.S3.strval));
		}
		LA25: ;
		(*r).kind = ((NU8) 1);
	}
	break;
	case ((NU8) 16) ... ((NU8) 18):
	{
		NF f;
		f = (*n).kindU.S2.floatval;
		{
			if (!!((f == f))) goto LA35;
			unsureAsgnRef((void**) (&(*r).res), rope_176322(((NimStringDesc*) &TMP4709)));
		}
		goto LA33;
		LA35: ;
		{
			if (!(f == 0.0)) goto LA38;
			unsureAsgnRef((void**) (&(*r).res), rope_176322(((NimStringDesc*) &TMP4710)));
		}
		goto LA33;
		LA38: ;
		{
			if (!(f == ((NF)(5.0000000000000000e-01) * (NF)(f)))) goto LA41;
			{
				if (!(0.0 < f)) goto LA45;
				unsureAsgnRef((void**) (&(*r).res), rope_176322(((NimStringDesc*) &TMP4711)));
			}
			goto LA43;
			LA45: ;
			{
				unsureAsgnRef((void**) (&(*r).res), rope_176322(((NimStringDesc*) &TMP4712)));
			}
			LA43: ;
		}
		goto LA33;
		LA41: ;
		{
			NimStringDesc* LOC49;
			LOC49 = 0;
			LOC49 = tostrmaxprecision_232024(f);
			unsureAsgnRef((void**) (&(*r).res), rope_176322(LOC49));
		}
		LA33: ;
		(*r).kind = ((NU8) 1);
	}
	break;
	case ((NU8) 27):
	case ((NU8) 29):
	case ((NU8) 30):
	case ((NU8) 31):
	case ((NU8) 26):
	case ((NU8) 28):
	case ((NU8) 32):
	{
		{
			NIM_BOOL LOC53;
			LOC53 = 0;
			LOC53 = ((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 3));
			if (!(LOC53)) goto LA54;
			LOC53 = !(((*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym).magic == ((NU8) 0)));
			LA54: ;
			if (!LOC53) goto LA55;
			genmagic_555908(p, n, r);
		}
		goto LA51;
		LA55: ;
		{
			NIM_BOOL LOC58;
			NIM_BOOL LOC59;
			NI LOC62;
			LOC58 = 0;
			LOC59 = 0;
			LOC59 = ((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 3));
			if (!(LOC59)) goto LA60;
			LOC59 = (((*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym).flags &(1<<((((NU8) 27))&31)))!=0);
			LA60: ;
			LOC58 = LOC59;
			if (!(LOC58)) goto LA61;
			LOC62 = 0;
			LOC62 = len_226098(n);
			LOC58 = (((NI) 2) <= LOC62);
			LA61: ;
			if (!LOC58) goto LA63;
			geninfixcall_554655(p, n, r);
		}
		goto LA51;
		LA63: ;
		{
			gencall_554642(p, n, r);
		}
		LA51: ;
	}
	break;
	case ((NU8) 39):
	{
		gensetconstr_555991(p, n, r);
	}
	break;
	case ((NU8) 41):
	{
		genarrayconstr_556059(p, n, r);
	}
	break;
	case ((NU8) 37):
	{
		gentupleconstr_556108(p, n, r);
	}
	break;
	case ((NU8) 38):
	{
		genobjconstr_556179(p, n, r);
	}
	break;
	case ((NU8) 58):
	case ((NU8) 59):
	case ((NU8) 60):
	{
		genconv_556295(p, n, r);
	}
	break;
	case ((NU8) 63):
	case ((NU8) 64):
	{
		genaddr_553506(p, n, r);
	}
	break;
	case ((NU8) 47):
	case ((NU8) 65):
	{
		genderef_553891(p, n, r);
	}
	break;
	case ((NU8) 42):
	{
		genarrayaccess_553383(p, n, r);
	}
	break;
	case ((NU8) 45):
	{
		genfieldaccess_553187(p, n, r);
	}
	break;
	case ((NU8) 46):
	{
		gencheckedfieldaccess_553284(p, n, r);
	}
	break;
	case ((NU8) 66):
	{
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	}
	break;
	case ((NU8) 67):
	{
		upconv_556333(p, n, r);
	}
	break;
	case ((NU8) 61):
	{
		gen_549808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	}
	break;
	case ((NU8) 68):
	{
		genrangechck_556346(p, n, r, ((NimStringDesc*) &TMP4922));
	}
	break;
	case ((NU8) 69):
	{
		genrangechck_556346(p, n, r, ((NimStringDesc*) &TMP4923));
	}
	break;
	case ((NU8) 70):
	{
		genrangechck_556346(p, n, r, ((NimStringDesc*) &TMP4920));
	}
	break;
	case ((NU8) 71):
	{
		convstrtocstr_556380(p, n, r);
	}
	break;
	case ((NU8) 72):
	{
		convcstrtostr_556419(p, n, r);
	}
	break;
	case ((NU8) 1):
	{
	}
	break;
	case ((NU8) 51):
	case ((NU8) 52):
	{
		Tsym225841* s;
		Ropeobj176009* LOC86;
		s = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		LOC86 = 0;
		LOC86 = manglename_549277(s);
		unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
		{
			NIM_BOOL LOC89;
			LOC89 = 0;
			LOC89 = (((*s).loc.flags &(1<<((((NU8) 3))&15)))!=0);
			if (LOC89) goto LA90;
			LOC89 = !(((*s).magic == ((NU8) 0)));
			LA90: ;
			if (!LOC89) goto LA91;
		}
		goto LA87;
		LA91: ;
		{
			NIM_BOOL LOC94;
			Ropeobj176009* LOC97;
			LOC94 = 0;
			LOC94 = containsorincl_222898((&(*(*p).g).generatedsyms), (*s).Sup.id);
			if (!!(LOC94)) goto LA95;
			LOC97 = 0;
			LOC97 = genproc_549824(p, s);
			add_176534(&(*p).locals, LOC97);
		}
		goto LA87;
		LA95: ;
		LA87: ;
	}
	break;
	case ((NU8) 4):
	{
		unsureAsgnRef((void**) (&(*r).res), gentypeinfo_549315(p, (*n).typ));
	}
	break;
	case ((NU8) 115):
	case ((NU8) 126):
	{
		NIM_BOOL isexpr;
		NIM_BOOL LOC100;
		LOC100 = 0;
		LOC100 = isemptytype_230932((*n).typ);
		isexpr = !(LOC100);
		{
			NI i_556896;
			NI HEX3Atmp_556959;
			NI LOC102;
			NI res_556962;
			i_556896 = 0;
			HEX3Atmp_556959 = 0;
			LOC102 = 0;
			LOC102 = sonslen_228387(n);
			HEX3Atmp_556959 = (NI)((NI)(LOC102 - ((NI) 1)) - ((NI) (isexpr)));
			res_556962 = ((NI) 0);
			{
				while (1) {
					if (!(res_556962 <= HEX3Atmp_556959)) goto LA104;
					i_556896 = res_556962;
					genstmt_549817(p, (*n).kindU.S6.sons->data[i_556896]);
					res_556962 += ((NI) 1);
				} LA104: ;
			}
		}
		{
			Tnode225809* LOC109;
			if (!isexpr) goto LA107;
			LOC109 = 0;
			LOC109 = lastson_228406(n);
			gen_549808(p, LOC109, r);
		}
		LA107: ;
	}
	break;
	case ((NU8) 112):
	case ((NU8) 127):
	{
		genblock_551876(p, n, r);
	}
	break;
	case ((NU8) 92):
	case ((NU8) 48):
	{
		genif_552493(p, n, r);
	}
	break;
	case ((NU8) 93):
	{
		gen_549808(p, (*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S6.sons->data[((NI) 0)], r);
	}
	break;
	case ((NU8) 96):
	{
		genwhilestmt_551064(p, n);
	}
	break;
	case ((NU8) 99):
	case ((NU8) 100):
	{
		genvarstmt_555239(p, n);
	}
	break;
	case ((NU8) 101):
	{
	}
	break;
	case ((NU8) 94):
	case ((NU8) 95):
	{
		internalerror_196172((*n).info, ((NimStringDesc*) &TMP4949));
	}
	break;
	case ((NU8) 97):
	{
		{
			if (!((*p).target == ((NU8) 0))) goto LA120;
			gencasejs_551553(p, n, r);
		}
		goto LA118;
		LA120: ;
		{
			gencaselua_551720(p, n, r);
		}
		LA118: ;
	}
	break;
	case ((NU8) 109):
	{
		genreturnstmt_556458(p, n);
	}
	break;
	case ((NU8) 110):
	{
		genbreakstmt_551977(p, n);
	}
	break;
	case ((NU8) 73):
	{
		genasgn_552995(p, n);
	}
	break;
	case ((NU8) 74):
	{
		genfastasgn_553007(p, n);
	}
	break;
	case ((NU8) 114):
	{
		{
			if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 1)))) goto LA130;
			genlinedir_550929(p, n);
			gen_549808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		LA130: ;
	}
	break;
	case ((NU8) 89):
	{
		genasmoremitstmt_552445(p, n);
	}
	break;
	case ((NU8) 106):
	{
		gentry_551197(p, n, r);
	}
	break;
	case ((NU8) 108):
	{
		genraisestmt_551522(p, n);
	}
	break;
	case ((NU8) 98):
	case ((NU8) 125):
	case ((NU8) 84):
	case ((NU8) 121):
	case ((NU8) 116):
	case ((NU8) 117):
	case ((NU8) 118):
	case ((NU8) 119):
	case ((NU8) 120):
	case ((NU8) 83):
	case ((NU8) 82):
	{
	}
	break;
	case ((NU8) 90):
	{
		genpragma_556712(p, n);
	}
	break;
	case ((NU8) 79):
	case ((NU8) 80):
	case ((NU8) 81):
	{
		Tsym225841* s;
		s = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		{
			if (!((65600 & (*s).flags) == 64)) goto LA140;
			gensym_553692(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			unsureAsgnRef((void**) (&(*r).res), NIM_NIL);
		}
		LA140: ;
	}
	break;
	case ((NU8) 156):
	case ((NU8) 157):
	{
		internalerror_196172((*n).info, ((NimStringDesc*) &TMP4999));
	}
	break;
	case ((NU8) 91):
	{
		Tnode225809* LOC144;
		LOC144 = 0;
		LOC144 = lastson_228406(n);
		gen_549808(p, LOC144, r);
	}
	break;
	default:
	{
		NimStringDesc* LOC146;
		LOC146 = 0;
		LOC146 = rawNewString(reprEnum((*n).kind, (&NTI225029))->Sup.len + 24);
appendString(LOC146, ((NimStringDesc*) &TMP5000));
appendString(LOC146, reprEnum((*n).kind, (&NTI225029)));
		internalerror_196172((*n).info, LOC146);
	}
	break;
	}
}

N_NIMCALL(void, genstmt_549817)(Tproc549033* p, Tnode225809* n) {
	Tcompres549023 r;
	memset((void*)(&r), 0, sizeof(r));
	gen_549808(p, n, (&r));
	{
		TY176572 LOC5;
		if (!!((r.res == NIM_NIL))) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = r.res;
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP5001), LOC5, 1);
	}
	LA3: ;
}

N_NIMCALL(void, genmodule_557027)(Tproc549033* p, Tnode225809* n) {
	{
		TY543257 LOC5;
		NimStringDesc* LOC6;
		NimStringDesc* LOC7;
		if (!(((*p).options &(1<<((((NU8) 15))&31)))!=0)) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC6 = 0;
		LOC6 = rawNewString((*(*(*(*p).module).module).name).s->Sup.len + 7);
appendString(LOC6, ((NimStringDesc*) &TMP4629));
appendString(LOC6, (*(*(*(*p).module).module).name).s);
		LOC5[0] = makejsstring_549305(LOC6);
		LOC7 = 0;
		LOC7 = tofilename_191655((*(*(*p).module).module).info.fileindex);
		LOC5[1] = makejsstring_549305(LOC7);
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP4626), LOC5, 2);
	}
	LA3: ;
	genstmt_549817(p, n);
	{
		TY513664 LOC12;
		if (!(((*p).options &(1<<((((NU8) 15))&31)))!=0)) goto LA10;
		memset((void*)LOC12, 0, sizeof(LOC12));
		addf_177635(&(*p).body, ((NimStringDesc*) &TMP5002), LOC12, 0);
	}
	LA10: ;
}

N_NIMCALL(Tnode225809*, myprocess_557068)(Tpasscontext277005* b, Tnode225809* n) {
	Tnode225809* result;
	Tjsgen549015* m;
	Tproc549033* p;
{	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = skipcodegen_277083(n);
		if (!LOC3) goto LA4;
		result = n;
		goto BeforeRet;
	}
	LA4: ;
	result = n;
	m = ((Tjsgen549015*) (b));
	{
		if (!((*m).module == NIM_NIL)) goto LA8;
		internalerror_196172((*n).info, ((NimStringDesc*) &TMP4618));
	}
	LA8: ;
	p = newproc_549207(globals_556981, m, NIM_NIL, (*(*m).module).options);
	genmodule_557027(p, n);
	add_176534(&(*(*p).g).code, (*p).locals);
	add_176534(&(*(*p).g).code, (*p).body);
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Ropeobj176009*, wholecode_557096)(Tjsgen549015* m) {
	Ropeobj176009* result;
	Tnode225809* disp;
	result = 0;
	{
		Tsym225841* prc_557109;
		Tsymseq225811* HEX3Atmp_557136;
		NI i_557139;
		NI L_557141;
		prc_557109 = 0;
		HEX3Atmp_557136 = 0;
		HEX3Atmp_557136 = (*globals_556981).forwarded;
		i_557139 = ((NI) 0);
		L_557141 = (HEX3Atmp_557136 ? HEX3Atmp_557136->Sup.len : 0);
		{
			while (1) {
				if (!(i_557139 < L_557141)) goto LA3;
				prc_557109 = HEX3Atmp_557136->data[i_557139];
				{
					NIM_BOOL LOC6;
					Tproc549033* p;
					Ropeobj176009* LOC9;
					LOC6 = 0;
					LOC6 = containsorincl_222898((&(*globals_556981).generatedsyms), (*prc_557109).Sup.id);
					if (!!(LOC6)) goto LA7;
					p = newproc_549207(globals_556981, m, NIM_NIL, (*(*m).module).options);
					LOC9 = 0;
					LOC9 = genproc_549824(p, prc_557109);
					add_176534(&(*(*p).g).code, LOC9);
				}
				LA7: ;
				i_557139 += ((NI) 1);
			} LA3: ;
		}
	}
	disp = generatemethoddispatchers_401268();
	{
		NI i_557126;
		NI HEX3Atmp_557143;
		NI LOC11;
		NI res_557146;
		i_557126 = 0;
		HEX3Atmp_557143 = 0;
		LOC11 = 0;
		LOC11 = sonslen_228387(disp);
		HEX3Atmp_557143 = (NI)(LOC11 - ((NI) 1));
		res_557146 = ((NI) 0);
		{
			while (1) {
				Tsym225841* prc;
				if (!(res_557146 <= HEX3Atmp_557143)) goto LA13;
				i_557126 = res_557146;
				prc = (*(*disp).kindU.S6.sons->data[i_557126]).kindU.S4.sym;
				{
					NIM_BOOL LOC16;
					Tproc549033* p;
					Ropeobj176009* LOC19;
					LOC16 = 0;
					LOC16 = containsorincl_222898((&(*globals_556981).generatedsyms), (*prc).Sup.id);
					if (!!(LOC16)) goto LA17;
					p = newproc_549207(globals_556981, m, NIM_NIL, (*(*m).module).options);
					LOC19 = 0;
					LOC19 = genproc_549824(p, prc);
					add_176534(&(*(*p).g).code, LOC19);
				}
				LA17: ;
				res_557146 += ((NI) 1);
			} LA13: ;
		}
	}
	result = HEX26_176436((*globals_556981).typeinfo, (*globals_556981).code);
	return result;
}

N_NIMCALL(Ropeobj176009*, genheader_557016)(void) {
	Ropeobj176009* result;
	TY176572 LOC1;
	result = 0;
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rope_176322(((NimStringDesc*) &TMP5005));
	result = HEX25_177236(((NimStringDesc*) &TMP5004), LOC1, 1);
	return result;
}

N_NIMCALL(Tnode225809*, myclose_557174)(Tpasscontext277005* b, Tnode225809* n) {
	Tnode225809* result;
	Tjsgen549015* m;
{	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = skipcodegen_277083(n);
		if (!LOC3) goto LA4;
		result = n;
		goto BeforeRet;
	}
	LA4: ;
	result = myprocess_557068(b, n);
	m = ((Tjsgen549015*) (b));
	{
		Ropeobj176009* code;
		NimStringDesc* outfile;
		Ropeobj176009* LOC24;
		Ropeobj176009* LOC25;
		NIM_BOOL LOC26;
		if (!(((*(*m).module).flags &(1<<((((NU8) 12))&31)))!=0)) goto LA8;
		code = wholecode_557096(m);
		{
			if (!(((NI) 0) < (outfile_167138 ? outfile_167138->Sup.len : 0))) goto LA12;
			{
				NIM_BOOL LOC16;
				LOC16 = 0;
				LOC16 = nosisAbsolute(outfile_167138);
				if (!LOC16) goto LA17;
				outfile = outfile_167138;
			}
			goto LA14;
			LA17: ;
			{
				NimStringDesc* LOC20;
				LOC20 = 0;
				LOC20 = nosgetCurrentDir();
				outfile = HEX2F_124681(LOC20, outfile_167138);
			}
			LA14: ;
		}
		goto LA10;
		LA12: ;
		{
			NimStringDesc* LOC22;
			NimStringDesc* LOC23;
			LOC22 = 0;
			LOC22 = tofilename_191655(((NI32) ((*(*m).module).position)));
			LOC23 = 0;
			LOC23 = completecfilepath_204112(LOC22, NIM_TRUE);
			outfile = noschangeFileExt(LOC23, ((NimStringDesc*) &TMP5003));
		}
		LA10: ;
		LOC24 = 0;
		LOC24 = genheader_557016();
		LOC25 = 0;
		LOC25 = HEX26_176436(LOC24, code);
		LOC26 = 0;
		LOC26 = writeropeifnotequal_177930(LOC25, outfile);
	}
	LA8: ;
	}BeforeRet: ;
	return result;
}
NIM_EXTERNC N_NOINLINE(void, compiler_jsgenInit000)(void) {
}

NIM_EXTERNC N_NOINLINE(void, compiler_jsgenDatInit000)(void) {
static TNimNode* TMP4615[5];
static TNimNode* TMP4619[12];
static TNimNode* TMP4620[2];
NI TMP4622;
static char* NIM_CONST TMP4621[2] = {
"targetJS", 
"targetLua"};
static TNimNode* TMP4623[2];
static TNimNode TMP1142[26];
NTI549015.size = sizeof(Tjsgen549015);
NTI549015.kind = 17;
NTI549015.base = (&NTI277005);
TMP1142[0].kind = 1;
TMP1142[0].offset = offsetof(Tjsgen549015, module);
TMP1142[0].typ = (&NTI225807);
TMP1142[0].name = "module";
NTI549015.node = &TMP1142[0];
NTI549017.size = sizeof(Tjsgen549015*);
NTI549017.kind = 22;
NTI549017.base = (&NTI549015);
NTI549017.marker = TMP4614;
NTI549027.size = sizeof(Tglobals549027);
NTI549027.kind = 18;
NTI549027.base = 0;
NTI549027.flags = 2;
TMP4615[0] = &TMP1142[2];
TMP1142[2].kind = 1;
TMP1142[2].offset = offsetof(Tglobals549027, typeinfo);
TMP1142[2].typ = (&NTI176007);
TMP1142[2].name = "typeInfo";
TMP4615[1] = &TMP1142[3];
TMP1142[3].kind = 1;
TMP1142[3].offset = offsetof(Tglobals549027, code);
TMP1142[3].typ = (&NTI176007);
TMP1142[3].name = "code";
TMP4615[2] = &TMP1142[4];
TMP1142[4].kind = 1;
TMP1142[4].offset = offsetof(Tglobals549027, forwarded);
TMP1142[4].typ = (&NTI225811);
TMP1142[4].name = "forwarded";
TMP4615[3] = &TMP1142[5];
TMP1142[5].kind = 1;
TMP1142[5].offset = offsetof(Tglobals549027, generatedsyms);
TMP1142[5].typ = (&NTI222056);
TMP1142[5].name = "generatedSyms";
TMP4615[4] = &TMP1142[6];
TMP1142[6].kind = 1;
TMP1142[6].offset = offsetof(Tglobals549027, typeinfogenerated);
TMP1142[6].typ = (&NTI222056);
TMP1142[6].name = "typeInfoGenerated";
TMP1142[1].len = 5; TMP1142[1].kind = 2; TMP1142[1].sons = &TMP4615[0];
NTI549027.node = &TMP1142[1];
NTI549029.size = sizeof(Tglobals549027*);
NTI549029.kind = 22;
NTI549029.base = (&NTI549027);
NTI549029.flags = 2;
NTI549029.marker = TMP4616;
NTI549033.size = sizeof(Tproc549033);
NTI549033.kind = 18;
NTI549033.base = 0;
TMP4619[0] = &TMP1142[8];
TMP1142[8].kind = 1;
TMP1142[8].offset = offsetof(Tproc549033, procdef);
TMP1142[8].typ = (&NTI225801);
TMP1142[8].name = "procDef";
TMP4619[1] = &TMP1142[9];
TMP1142[9].kind = 1;
TMP1142[9].offset = offsetof(Tproc549033, prc);
TMP1142[9].typ = (&NTI225807);
TMP1142[9].name = "prc";
TMP4619[2] = &TMP1142[10];
TMP1142[10].kind = 1;
TMP1142[10].offset = offsetof(Tproc549033, locals);
TMP1142[10].typ = (&NTI176007);
TMP1142[10].name = "locals";
TMP4619[3] = &TMP1142[11];
TMP1142[11].kind = 1;
TMP1142[11].offset = offsetof(Tproc549033, body);
TMP1142[11].typ = (&NTI176007);
TMP1142[11].name = "body";
TMP4619[4] = &TMP1142[12];
TMP1142[12].kind = 1;
TMP1142[12].offset = offsetof(Tproc549033, options);
TMP1142[12].typ = (&NTI167017);
TMP1142[12].name = "options";
TMP4619[5] = &TMP1142[13];
TMP1142[13].kind = 1;
TMP1142[13].offset = offsetof(Tproc549033, module);
TMP1142[13].typ = (&NTI549017);
TMP1142[13].name = "module";
TMP4619[6] = &TMP1142[14];
TMP1142[14].kind = 1;
TMP1142[14].offset = offsetof(Tproc549033, g);
TMP1142[14].typ = (&NTI549029);
TMP1142[14].name = "g";
TMP4619[7] = &TMP1142[15];
TMP1142[15].kind = 1;
TMP1142[15].offset = offsetof(Tproc549033, beforeretneeded);
TMP1142[15].typ = (&NTI138);
TMP1142[15].name = "beforeRetNeeded";
TMP4619[8] = &TMP1142[16];
NTI549013.size = sizeof(NU8);
NTI549013.kind = 14;
NTI549013.base = 0;
NTI549013.flags = 3;
for (TMP4622 = 0; TMP4622 < 2; TMP4622++) {
TMP1142[TMP4622+17].kind = 1;
TMP1142[TMP4622+17].offset = TMP4622;
TMP1142[TMP4622+17].name = TMP4621[TMP4622];
TMP4620[TMP4622] = &TMP1142[TMP4622+17];
}
TMP1142[19].len = 2; TMP1142[19].kind = 2; TMP1142[19].sons = &TMP4620[0];
NTI549013.node = &TMP1142[19];
TMP1142[16].kind = 1;
TMP1142[16].offset = offsetof(Tproc549033, target);
TMP1142[16].typ = (&NTI549013);
TMP1142[16].name = "target";
TMP4619[9] = &TMP1142[20];
TMP1142[20].kind = 1;
TMP1142[20].offset = offsetof(Tproc549033, unique);
TMP1142[20].typ = (&NTI108);
TMP1142[20].name = "unique";
TMP4619[10] = &TMP1142[21];
NTI549025.size = sizeof(Tblock549025);
NTI549025.kind = 18;
NTI549025.base = 0;
NTI549025.flags = 3;
TMP4623[0] = &TMP1142[23];
TMP1142[23].kind = 1;
TMP1142[23].offset = offsetof(Tblock549025, id);
TMP1142[23].typ = (&NTI108);
TMP1142[23].name = "id";
TMP4623[1] = &TMP1142[24];
TMP1142[24].kind = 1;
TMP1142[24].offset = offsetof(Tblock549025, isloop);
TMP1142[24].typ = (&NTI138);
TMP1142[24].name = "isLoop";
TMP1142[22].len = 2; TMP1142[22].kind = 2; TMP1142[22].sons = &TMP4623[0];
NTI549025.node = &TMP1142[22];
NTI549071.size = sizeof(TY549071*);
NTI549071.kind = 24;
NTI549071.base = (&NTI549025);
NTI549071.flags = 2;
NTI549071.marker = TMP4624;
TMP1142[21].kind = 1;
TMP1142[21].offset = offsetof(Tproc549033, blocks);
TMP1142[21].typ = (&NTI549071);
TMP1142[21].name = "blocks";
TMP4619[11] = &TMP1142[25];
TMP1142[25].kind = 1;
TMP1142[25].offset = offsetof(Tproc549033, up);
TMP1142[25].typ = (&NTI549031);
TMP1142[25].name = "up";
TMP1142[7].len = 12; TMP1142[7].kind = 2; TMP1142[7].sons = &TMP4619[0];
NTI549033.node = &TMP1142[7];
NTI549031.size = sizeof(Tproc549033*);
NTI549031.kind = 22;
NTI549031.base = (&NTI549033);
NTI549031.marker = TMP4625;
NTI550453.size = sizeof(Tmagicfrmt550453);
NTI550453.kind = 16;
NTI550453.base = (&NTI149);
NTI550453.flags = 2;
NTI550455.size = sizeof(Tmagicops550455);
NTI550455.kind = 16;
NTI550455.base = (&NTI550453);
NTI550455.flags = 2;
}

