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

#include "nimbase.h"
#include <string.h>
typedef struct Tglobals547027 Tglobals547027;
typedef struct Tpasscontext275005 Tpasscontext275005;
typedef struct Tsym223841 Tsym223841;
typedef struct Tjsgen547015 Tjsgen547015;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Cell48947 Cell48947;
typedef struct Cellseq48963 Cellseq48963;
typedef struct Gcheap51018 Gcheap51018;
typedef struct Gcstack51016 Gcstack51016;
typedef struct Cellset48959 Cellset48959;
typedef struct Pagedesc48955 Pagedesc48955;
typedef struct Memregion30891 Memregion30891;
typedef struct Smallchunk30843 Smallchunk30843;
typedef struct Llchunk30885 Llchunk30885;
typedef struct Bigchunk30845 Bigchunk30845;
typedef struct Intset30817 Intset30817;
typedef struct Trunk30813 Trunk30813;
typedef struct Avlnode30889 Avlnode30889;
typedef struct Gcstat51014 Gcstat51014;
typedef struct Ropeobj174009 Ropeobj174009;
typedef struct Tsymseq223811 Tsymseq223811;
typedef struct Intset220056 Intset220056;
typedef struct Trunk220052 Trunk220052;
typedef struct Trunkseq220054 Trunkseq220054;
typedef struct TGenericSeq TGenericSeq;
typedef struct Trodreader266030 Trodreader266030;
typedef struct NimStringDesc NimStringDesc;
typedef struct Tnode223809 Tnode223809;
typedef struct Tlineinfo188352 Tlineinfo188352;
typedef struct Ttype223847 Ttype223847;
typedef struct Tident196021 Tident196021;
typedef struct Tnodeseq223803 Tnodeseq223803;
typedef struct Tproc547033 Tproc547033;
typedef struct TY547071 TY547071;
typedef struct Tblock547025 Tblock547025;
typedef struct Tidobj196015 Tidobj196015;
typedef struct Ttypeseq223843 Ttypeseq223843;
typedef struct Tscope223835 Tscope223835;
typedef struct TY223944 TY223944;
typedef struct Tstrtable223813 Tstrtable223813;
typedef struct Tloc223823 Tloc223823;
typedef struct Tlib223827 Tlib223827;
typedef struct Tcompres547023 Tcompres547023;
typedef struct TY90959 TY90959;
typedef struct Basechunk30841 Basechunk30841;
typedef struct Freecell30833 Freecell30833;
typedef struct TY223932 TY223932;
typedef struct Tindex266028 Tindex266028;
typedef struct Tiitable231274 Tiitable231274;
typedef struct Tiipairseq231272 Tiipairseq231272;
typedef struct Table266063 Table266063;
typedef struct Keyvaluepairseq266066 Keyvaluepairseq266066;
typedef struct Memfile264208 Memfile264208;
typedef struct Tinstantiation223831 Tinstantiation223831;
typedef struct Tlistentry139022 Tlistentry139022;
typedef struct Tiipair231270 Tiipair231270;
typedef struct Keyvaluepair266069 Keyvaluepair266069;
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  Tpasscontext275005  {
  TNimObject Sup;
NIM_BOOL fromcache;
};
struct  Tjsgen547015  {
  Tpasscontext275005 Sup;
Tsym223841* module;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Cell48947  {
NI refcount;
TNimType* typ;
};
struct  Cellseq48963  {
NI len;
NI cap;
Cell48947** d;
};
struct  Cellset48959  {
NI counter;
NI max;
Pagedesc48955* head;
Pagedesc48955** data;
};
typedef Smallchunk30843* TY30906[512];
typedef Trunk30813* Trunkbuckets30815[256];
struct  Intset30817  {
Trunkbuckets30815 data;
};
struct  Memregion30891  {
NI minlargeobj;
NI maxlargeobj;
TY30906 freesmallchunks;
Llchunk30885* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk30845* freechunkslist;
Intset30817 chunkstarts;
Avlnode30889* root;
Avlnode30889* deleted;
Avlnode30889* last;
Avlnode30889* freeavlnodes;
};
struct  Gcstat51014  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Gcheap51018  {
Gcstack51016* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq48963 zct;
Cellseq48963 decstack;
Cellset48959 cycleroots;
Cellseq48963 tempstack;
NI recgclock;
Memregion30891 region;
Gcstat51014 stat;
};
struct  Intset220056  {
NI counter;
NI max;
Trunk220052* head;
Trunkseq220054* data;
};
struct  Tglobals547027  {
Ropeobj174009* typeinfo;
Ropeobj174009* code;
Tsymseq223811* forwarded;
Intset220056 generatedsyms;
Intset220056 typeinfogenerated;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tlineinfo188352  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  Tnode223809  {
Ttype223847* typ;
Tlineinfo188352 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym223841* sym;
} S4;
struct {Tident196021* ident;
} S5;
struct {Tnodeseq223803* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
struct  Tproc547033  {
Tnode223809* procdef;
Tsym223841* prc;
Ropeobj174009* locals;
Ropeobj174009* body;
NU32 options;
Tjsgen547015* module;
Tglobals547027* g;
NIM_BOOL beforeretneeded;
NU8 target;
NI unique;
TY547071* blocks;
Tproc547033* up;
};
struct  Tblock547025  {
NI id;
NIM_BOOL isloop;
};
struct  Tidobj196015  {
  TNimObject Sup;
NI id;
};
struct  Tstrtable223813  {
NI counter;
Tsymseq223811* data;
};
struct  Tloc223823  {
NU8 k;
NU8 s;
NU16 flags;
Ttype223847* t;
Ropeobj174009* r;
Ropeobj174009* heaproot;
};
struct  Tsym223841  {
  Tidobj196015 Sup;
NU8 kind;
union{
struct {Ttypeseq223843* typeinstcache;
Tscope223835* typscope;
} S1;
struct {TY223944* procinstcache;
Tsym223841* gcunsafetyreason;
} S2;
struct {TY223944* usedgenerics;
Tstrtable223813 tab;
} S3;
struct {Tsym223841* guard;
NI bitsize;
} S4;
} kindU;
NU8 magic;
Ttype223847* typ;
Tident196021* name;
Tlineinfo188352 info;
Tsym223841* owner;
NU32 flags;
Tnode223809* ast;
NU32 options;
NI position;
NI offset;
Tloc223823 loc;
Tlib223827* annex;
Tnode223809* constraint;
};
typedef Ropeobj174009* TY541257[2];
struct  Tident196021  {
  Tidobj196015 Sup;
NimStringDesc* s;
Tident196021* next;
NI h;
};
struct  Tcompres547023  {
NU8 kind;
NU8 typ;
Ropeobj174009* res;
Ropeobj174009* address;
};
struct  Ttype223847  {
  Tidobj196015 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq223843* sons;
Tnode223809* n;
Tsym223841* owner;
Tsym223841* sym;
Tsym223841* destructor;
Tsym223841* deepcopy;
Tsym223841* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc223823 loc;
};
typedef Ropeobj174009* TY174572[1];
struct TY90959 {
NimStringDesc* Field0;
NI Field1;
};
typedef Ropeobj174009* TY515247[6];
typedef Ropeobj174009* TY513578[3];
typedef Ropeobj174009* TY514876[5];
typedef NU8 TY481044[20];
typedef NimStringDesc* Tmagicfrmt548453[4];
typedef Tmagicfrmt548453 Tmagicops548455[80];
typedef Ropeobj174009* TY511664[1];
typedef Ropeobj174009* TY513575[4];
struct  Gcstack51016  {
Gcstack51016* prev;
Gcstack51016* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY30822[8];
struct  Pagedesc48955  {
Pagedesc48955* next;
NI key;
TY30822 bits;
};
struct  Basechunk30841  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk30843  {
  Basechunk30841 Sup;
Smallchunk30843* next;
Smallchunk30843* prev;
Freecell30833* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk30885  {
NI size;
NI acc;
Llchunk30885* next;
};
struct  Bigchunk30845  {
  Basechunk30841 Sup;
Bigchunk30845* next;
Bigchunk30845* prev;
NI align;
NF data;
};
struct  Trunk30813  {
Trunk30813* next;
NI key;
TY30822 bits;
};
typedef Avlnode30889* TY30896[2];
struct  Avlnode30889  {
TY30896 link;
NI key;
NI upperbound;
NI level;
};
struct  Ropeobj174009  {
  TNimObject Sup;
Ropeobj174009* left;
Ropeobj174009* right;
NI length;
NimStringDesc* data;
};
struct  Trunk220052  {
Trunk220052* next;
NI key;
TY30822 bits;
};
struct  Tiitable231274  {
NI counter;
Tiipairseq231272* data;
};
struct  Tindex266028  {
NI lastidxkey;
NI lastidxval;
Tiitable231274 tab;
NimStringDesc* r;
NI offset;
};
struct  Table266063  {
Keyvaluepairseq266066* data;
NI counter;
};
struct  Memfile264208  {
void* mem;
NI size;
int handle;
};
struct  Trodreader266030  {
  TNimObject Sup;
NI pos;
NCSTRING s;
NU32 options;
NU8 reason;
TY223932* moddeps;
TY223932* files;
NI dataidx;
NI convertersidx;
NI initidx;
NI interfidx;
NI compilerprocsidx;
NI methodsidx;
NimStringDesc* filename;
Tindex266028 index;
Tindex266028 imports;
NI readerindex;
NI line;
NI moduleid;
Table266063 syms;
Memfile264208 memfile;
Tsymseq223811* methods;
NimStringDesc* origfile;
NIM_BOOL inviewmode;
};
struct  Tscope223835  {
NI depthlevel;
Tstrtable223813 symbols;
Tnodeseq223803* usingsyms;
Tscope223835* parent;
};
struct  Tlistentry139022  {
  TNimObject Sup;
Tlistentry139022* prev;
Tlistentry139022* next;
};
struct  Tlib223827  {
  Tlistentry139022 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj174009* name;
Tnode223809* path;
};
struct  Freecell30833  {
Freecell30833* next;
NI zerofield;
};
struct  Tiipair231270  {
NI key;
NI val;
};
struct Keyvaluepair266069 {
NI Field0;
NI Field1;
Tsym223841* Field2;
};
struct  Tinstantiation223831  {
Tsym223841* sym;
Ttypeseq223843* concretetypes;
TY223932* usedby;
NI compilesid;
};
struct Tsymseq223811 {
  TGenericSeq Sup;
  Tsym223841* data[SEQ_DECL_SIZE];
};
struct TY547071 {
  TGenericSeq Sup;
  Tblock547025 data[SEQ_DECL_SIZE];
};
struct Tnodeseq223803 {
  TGenericSeq Sup;
  Tnode223809* data[SEQ_DECL_SIZE];
};
struct Trunkseq220054 {
  TGenericSeq Sup;
  Trunk220052* data[SEQ_DECL_SIZE];
};
struct Ttypeseq223843 {
  TGenericSeq Sup;
  Ttype223847* data[SEQ_DECL_SIZE];
};
struct TY223944 {
  TGenericSeq Sup;
  Tinstantiation223831* data[SEQ_DECL_SIZE];
};
struct TY223932 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct Tiipairseq231272 {
  TGenericSeq Sup;
  Tiipair231270 data[SEQ_DECL_SIZE];
};
struct Keyvaluepairseq266066 {
  TGenericSeq Sup;
  Keyvaluepair266069 data[SEQ_DECL_SIZE];
};
N_NIMCALL(Tjsgen547015*, newmodule_554986)(Tsym223841* module);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP4618)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
static N_INLINE(Cell48947*, usrtocell_52646)(void* usr);
static N_INLINE(void, rtladdzct_54204)(Cell48947* c);
N_NOINLINE(void, addzct_52617)(Cellseq48963* s, Cell48947* c);
N_NIMCALL(Tglobals547027*, newglobals_547084)(void);
N_NIMCALL(void, TMP4620)(void* p, NI op);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
N_NIMCALL(void, initintset_220927)(Intset220056* Result);
N_NIMCALL(void, internalerror_194191)(NimStringDesc* errmsg);
static N_INLINE(NIM_BOOL, skipcodegen_275083)(Tnode223809* n);
N_NIMCALL(void, internalerror_194172)(Tlineinfo188352 info, NimStringDesc* errmsg);
N_NIMCALL(Tproc547033*, newproc_547207)(Tglobals547027* globals, Tjsgen547015* module, Tnode223809* procdef, NU32 options);
N_NIMCALL(void, TMP4628)(void* p, NI op);
N_NIMCALL(void, TMP4629)(void* p, NI op);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_55022)(Cell48947* c);
static N_INLINE(NIM_BOOL, canbecycleroot_52667)(Cell48947* c);
static N_INLINE(void, rtladdcycleroot_53423)(Cell48947* c);
N_NOINLINE(void, incl_49665)(Cellset48959* s, Cell48947* cell);
static N_INLINE(void, decref_54604)(Cell48947* c);
N_NIMCALL(void, genmodule_555027)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, addf_175635)(Ropeobj174009** c, NimStringDesc* frmt, Ropeobj174009** args, NI argsLen0);
N_NIMCALL(Ropeobj174009*, makejsstring_547305)(NimStringDesc* s);
N_NIMCALL(Ropeobj174009*, rope_174322)(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_189652)(NI32 fileidx);
N_NIMCALL(void, genstmt_547817)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, gen_547808)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_NIMCALL(void, gensym_551693)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(NU8, maptype_547256)(Ttype223847* typ);
N_NIMCALL(Ttype223847*, skiptypes_227167)(Ttype223847* t, NU64 kinds);
N_NIMCALL(Ttype223847*, lastson_226426)(Ttype223847* n);
N_NIMCALL(Ropeobj174009*, HEX25_175236)(NimStringDesc* frmt, Ropeobj174009** args, NI argsLen0);
N_NIMCALL(Ropeobj174009*, HEX26_174471)(Ropeobj174009* a, NimStringDesc* b);
N_NIMCALL(NIM_BOOL, isindirect_551430)(Tsym223841* v);
N_NIMCALL(void, genconstant_547831)(Tproc547033* p, Tsym223841* c);
N_NIMCALL(NIM_BOOL, containsorincl_220898)(Intset220056* s, NI key);
N_NIMCALL(void, genvarinit_553110)(Tproc547033* p, Tsym223841* v, Tnode223809* n);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_NIMCALL(Ropeobj174009*, manglename_547277)(Tsym223841* s);
N_NIMCALL(NimStringDesc*, mangle_505910)(NimStringDesc* name);
N_NIMCALL(void, add_174545)(Ropeobj174009** a, NimStringDesc* b);
N_NIMCALL(void, add_174534)(Ropeobj174009** a, Ropeobj174009* b);
N_NIMCALL(Ropeobj174009*, rope_174407)(NI64 i);
N_NIMCALL(Ropeobj174009*, createvar_552813)(Tproc547033* p, Ttype223847* typ, NIM_BOOL indirect);
N_NIMCALL(Ropeobj174009*, puttoseq_552800)(NimStringDesc* s, NIM_BOOL indirect);
N_NIMCALL(NI64, lengthord_253016)(Ttype223847* t);
N_NIMCALL(Ttype223847*, elemtype_253522)(Ttype223847* t);
N_NIMCALL(void, usemagic_547838)(Tproc547033* p, NimStringDesc* name);
N_NIMCALL(Tsym223841*, getcompilerproc_272811)(NimStringDesc* name);
N_NIMCALL(NimStringDesc*, HEX24_194279)(TY90959 x);
N_NIMCALL(Ropeobj174009*, genproc_547824)(Tproc547033* oldproc, Tsym223841* prc);
N_NIMCALL(Ropeobj174009*, generateheader_550654)(Tproc547033* p, Ttype223847* typ);
N_NIMCALL(NI, sonslen_226387)(Tnode223809* n);
static N_INLINE(NIM_BOOL, iscompiletimeonly_262712)(Ttype223847* t);
N_NIMCALL(Tnode223809*, getbody_269061)(Tsym223841* s);
N_NIMCALL(Ropeobj174009*, genprocbody_554505)(Tproc547033* p, Tsym223841* prc);
static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c);
N_NIMCALL(void, globalerror_194107)(Tlineinfo188352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, rawmessage_192636)(NU16 msg, NimStringDesc* arg);
N_NIMCALL(Ropeobj174009*, gentypeinfo_547315)(Tproc547033* p, Ttype223847* typ);
N_NIMCALL(void, prepend_175206)(Ropeobj174009** a, Ropeobj174009* b);
N_NIMCALL(void, genenuminfo_547634)(Tproc547033* p, Ttype223847* typ, Ropeobj174009* name);
N_NIMCALL(void, genobjectinfo_547506)(Tproc547033* p, Ttype223847* typ, Ropeobj174009* name);
N_NIMCALL(Ropeobj174009*, genobjectfields_547319)(Tproc547033* p, Ttype223847* typ, Tnode223809* n);
N_NIMCALL(NI64, getordvalue_253178)(Tnode223809* n);
N_NIMCALL(Tnode223809*, lastson_226406)(Tnode223809* n);
N_NIMCALL(void, gentupleinfo_547608)(Tproc547033* p, Ttype223847* typ, Ropeobj174009* name);
N_NIMCALL(Ropeobj174009*, gentuplefields_547556)(Tproc547033* p, Ttype223847* typ);
N_NIMCALL(NI, len_226369)(Ttype223847* n);
N_NIMCALL(NimStringDesc*, reprEnum)(NI e_86859, TNimType* typ);
N_NIMCALL(NI, sonslen_226351)(Ttype223847* n);
N_NIMCALL(void, createobjinitlist_552902)(Tproc547033* p, Ttype223847* typ, Intset220056* excludedfieldids, Ropeobj174009** output);
N_NIMCALL(NI, len_174034)(Ropeobj174009* a);
N_NIMCALL(void, createrecordvaraux_552821)(Tproc547033* p, Tnode223809* rec, Intset220056* excludedfieldids, Ropeobj174009** output);
N_NIMCALL(NIM_BOOL, contains_220829)(Intset220056* s, NI key);
N_NIMCALL(NIM_BOOL, needsnocopy_550865)(Tnode223809* y);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(void, genprocforsymifneeded_551634)(Tproc547033* p, Tsym223841* s);
static N_INLINE(NIM_BOOL, isemptytype_228933)(Ttype223847* t);
N_NIMCALL(NimStringDesc*, tostrmaxprecision_230024)(NF f);
N_NIMCALL(void, genmagic_553908)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genor_548252)(Tproc547033* p, Tnode223809* a, Tnode223809* b, Tcompres547023* r);
N_NIMCALL(NIM_BOOL, issimpleexpr_547895)(Tnode223809* n);
static N_INLINE(NI, len_224098)(Tnode223809* n);
static N_INLINE(NIM_BOOL, isatom_228905)(Tnode223809* n);
static N_INLINE(Ropeobj174009*, rdloc_547127)(Tcompres547023* a);
N_NIMCALL(Ropeobj174009*, gettemp_547954)(Tproc547033* p, NIM_BOOL defineinlocals);
N_NIMCALL(void, genand_547988)(Tproc547033* p, Tnode223809* a, Tnode223809* b, Tcompres547023* r);
N_NIMCALL(void, arith_548907)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NU8 op);
N_NIMCALL(void, arithaux_548859)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NU8 op, Tmagicops548455 ops);
N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
N_NIMCALL(void, genrepr_553828)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, unaryexpr_548842)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NimStringDesc* magic, NimStringDesc* frmt);
N_NIMCALL(void, genswap_551019)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, binaryexpr_548790)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NimStringDesc* magic, NimStringDesc* frmt);
N_NIMCALL(void, genconstrstr_553730)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, gennew_553665)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(NI64, getsize_253190)(Ttype223847* typ);
N_NIMCALL(void, genord_553707)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, gennewseq_553684)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, genof_553845)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genreset_553890)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, genecho_552731)(Tproc547033* p, Tnode223809* n_552734, Tcompres547023* r);
N_NIMCALL(Tnode223809*, skipconv_262935)(Tnode223809* n);
static N_INLINE(Tnode223809*, HEX5BHEX5D_224244)(Tnode223809* n, NI i);
N_NIMCALL(void, genargnoparam_551943)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, localerror_194128)(Tlineinfo188352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, ternaryexpr_548814)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NimStringDesc* magic, NimStringDesc* frmt);
N_NIMCALL(void, gencall_552642)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genargs_552024)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genarg_551971)(Tproc547033* p, Tnode223809* n, Tsym223841* param, Tcompres547023* r);
N_NIMCALL(void, geninfixcall_552655)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, globalerror_194118)(Tlineinfo188352 info, NimStringDesc* arg);
N_NIMCALL(void, gensetconstr_553991)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genarrayconstr_554059)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, gentupleconstr_554108)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genobjconstr_554179)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NOINLINE(void, chckNil)(void* p);
N_NIMCALL(void, incl_220856)(Intset220056* s, NI key);
N_NIMCALL(void, genconv_554295)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genaddr_551507)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, gencheckedfieldaddr_551245)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genfieldaddr_551105)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(NI, getfieldposition_551091)(Tnode223809* f);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_NIMCALL(NimStringDesc*, HEX24_175132)(Ropeobj174009* r);
N_NIMCALL(void, genfieldaccess_551188)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genarrayaddr_551298)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(NI64, firstord_253004)(Ttype223847* t);
N_NIMCALL(NIM_BOOL, isconstexpr_252442)(Tnode223809* n);
N_NIMCALL(void, genderef_551892)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genarrayaccess_551384)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, gencheckedfieldaccess_551285)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, upconv_554333)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genrangechck_554346)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NimStringDesc* magic);
N_NIMCALL(void, convstrtocstr_554380)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, convcstrtostr_554419)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genblock_549876)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(TGenericSeq*, setLengthSeq)(TGenericSeq* seq, NI elemsize, NI newlen);
N_NIMCALL(void, genif_550493)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, moveinto_549161)(Tproc547033* p, Tcompres547023* src, Tcompres547023* dest);
N_NIMCALL(NimStringDesc*, nsuRepeatChar)(NIM_CHAR c, NI count);
N_NIMCALL(void, genwhilestmt_549064)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, genlinedir_548929)(Tproc547033* p, Tnode223809* n);
static N_INLINE(NI, tolinenumber_189839)(Tlineinfo188352 info);
N_NIMCALL(void, genvarstmt_553240)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(Tnode223809*, lowertupleunpacking_400087)(Tnode223809* n, Tsym223841* owner);
N_NIMCALL(void, gencasejs_549553)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(Tnode223809*, copynode_227660)(Tnode223809* src);
N_NIMCALL(void, gencaselua_549720)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genreturnstmt_554458)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, genbreakstmt_549977)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, genasgn_550995)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, genasgnaux_550896)(Tproc547033* p, Tnode223809* x, Tnode223809* y, NIM_BOOL nocopyneeded);
N_NIMCALL(void, genfastasgn_551007)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, genasmoremitstmt_550445)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, gentry_549197)(Tproc547033* p, Tnode223809* n, Tcompres547023* r);
N_NIMCALL(void, genraisestmt_549522)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(void, genpragma_554712)(Tproc547033* p, Tnode223809* n);
N_NIMCALL(NU16, whichpragma_252687)(Tnode223809* n);
N_NIMCALL(Tnode223809*, myprocess_555068)(Tpasscontext275005* b, Tnode223809* n);
N_NIMCALL(Ropeobj174009*, wholecode_555096)(Tjsgen547015* m);
N_NIMCALL(Tnode223809*, generatemethoddispatchers_399268)(void);
N_NIMCALL(Ropeobj174009*, HEX26_174436)(Ropeobj174009* a, Ropeobj174009* b);
N_NIMCALL(NIM_BOOL, nosisAbsolute)(NimStringDesc* path);
N_NIMCALL(NimStringDesc*, HEX2F_122481)(NimStringDesc* head, NimStringDesc* tail);
N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(NimStringDesc*, completecfilepath_202112)(NimStringDesc* cfile, NIM_BOOL createsubdir);
N_NIMCALL(NIM_BOOL, writeropeifnotequal_175930)(Ropeobj174009* r, NimStringDesc* filename);
N_NIMCALL(Ropeobj174009*, genheader_555016)(void);
STRING_LITERAL(TMP4621, "symbol files are not possible with the JS code generator", 56);
STRING_LITERAL(TMP4622, "myProcess", 9);
STRING_LITERAL(TMP4630, "var F = {procname:$1,prev:framePtr,filename:$2,line:0};$nframeP"
"tr = F;$n", 72);
STRING_LITERAL(TMP4631, "null", 4);
STRING_LITERAL(TMP4632, "\"", 1);
STRING_LITERAL(TMP4633, "module ", 7);
STRING_LITERAL(TMP4634, "symbol has no generated name: ", 30);
STRING_LITERAL(TMP4635, "$1[0]", 5);
STRING_LITERAL(TMP4636, "$1[1]", 5);
STRING_LITERAL(TMP4637, "_Idx", 4);
STRING_LITERAL(TMP4638, "var $1 = $2;$n", 14);
STRING_LITERAL(TMP4639, "local $1 = $2;$n", 16);
STRING_LITERAL(TMP4640, "_", 1);
STRING_LITERAL(TMP4641, "[$1]", 4);
STRING_LITERAL(TMP4642, "0", 1);
STRING_LITERAL(TMP4643, "0.0", 3);
STRING_LITERAL(TMP4644, "{}", 2);
STRING_LITERAL(TMP4645, "false", 5);
STRING_LITERAL(TMP4647, "compiler/jsgen.nim", 18);
NIM_CONST TY90959 TMP4646 = {((NimStringDesc*) &TMP4647),
((NI) 180)}
;
STRING_LITERAL(TMP4648, ", ", 2);
STRING_LITERAL(TMP4649, "var $# = $#;$n", 14);
STRING_LITERAL(TMP4650, "local $# = $#;$n", 16);
STRING_LITERAL(TMP4651, "return [$#, $#];$n", 18);
STRING_LITERAL(TMP4652, "return $#;$n", 12);
STRING_LITERAL(TMP4653, "function $#($#) {$n$#$#$#$#}$n", 30);
STRING_LITERAL(TMP4654, "function $#($#) $n$#$#$#$#$nend$n", 33);
STRING_LITERAL(TMP4655, "var F={procname:$1,prev:framePtr,filename:$2,line:0};$n", 55);
STRING_LITERAL(TMP4656, "local F={procname=$#,prev=framePtr,filename=$#,line=0};$n", 57);
STRING_LITERAL(TMP4657, "framePtr = F;$n", 15);
STRING_LITERAL(TMP4658, "BeforeRet: do {$n$1} while (false); $n", 38);
STRING_LITERAL(TMP4659, "$#;::BeforeRet::$n", 18);
STRING_LITERAL(TMP4660, "try {$n$1} catch (e) {$n alert(\"Unhandled exception:\\n\" + e.mes"
"sage + \"\\n\"$n}", 77);
STRING_LITERAL(TMP4661, "framePtr = framePtr.prev;", 25);
STRING_LITERAL(TMP4662, "arrayConstr", 11);
STRING_LITERAL(TMP4663, "nimCopy", 7);
STRING_LITERAL(TMP4664, "arrayConstr($1, $2, $3)", 23);
STRING_LITERAL(TMP4665, "NTI$1", 5);
STRING_LITERAL(TMP4666, "var $1 = {size: 0,kind: $2,base: null,node: null,finalizer: nul"
"l};$n", 68);
STRING_LITERAL(TMP4667, "$1.base = $2;$n", 15);
STRING_LITERAL(TMP4668, "genEnumInfo", 11);
STRING_LITERAL(TMP4669, "{kind: 1, offset: $1, typ: $2, name: $3, len: 0, sons: null}", 60);
STRING_LITERAL(TMP4670, "var NNI$1 = {kind: 2, offset: 0, typ: null, name: null, len: $2"
", sons: [$3]};$n", 79);
STRING_LITERAL(TMP4671, "var $1 = {size: 0, kind: $2, base: null, node: null, finalizer:"
" null};$n", 72);
STRING_LITERAL(TMP4672, "$1.node = NNI$2;$n", 18);
STRING_LITERAL(TMP4673, "var NNI$1 = $2;$n", 17);
STRING_LITERAL(TMP4674, "{kind: 2, len: $1, offset: 0, typ: null, name: null, sons: [$2]"
"}", 64);
STRING_LITERAL(TMP4675, "{kind: 1, offset: \"$1\", len: 0, typ: $2, name: $3, sons: null}", 62);
STRING_LITERAL(TMP4676, "genObjectFields", 15);
STRING_LITERAL(TMP4677, "genObjectFields; nkOfBranch broken", 34);
STRING_LITERAL(TMP4678, "[$1, $2]", 8);
STRING_LITERAL(TMP4679, "genObjectFields(nkRecCase)", 26);
STRING_LITERAL(TMP4680, "[SetConstr($1), $2]", 19);
STRING_LITERAL(TMP4681, "{kind: 3, offset: \"$1\", len: $3, typ: $2, name: $4, sons: [$5]}", 63);
STRING_LITERAL(TMP4682, "{kind: 1, offset: \"Field$1\", len: 0, typ: $2, name: \"Field$1\", "
"sons: null}", 74);
STRING_LITERAL(TMP4683, "genTypeInfo(", 12);
STRING_LITERAL(TMP4684, "[", 1);
STRING_LITERAL(TMP4685, "]", 1);
STRING_LITERAL(TMP4686, "{", 1);
STRING_LITERAL(TMP4687, "Field$1: $2", 11);
STRING_LITERAL(TMP4688, "Field$# = $#", 12);
STRING_LITERAL(TMP4689, "}", 1);
STRING_LITERAL(TMP4690, "m_type: $1", 10);
STRING_LITERAL(TMP4691, "m_type = $#", 11);
STRING_LITERAL(TMP4692, ": ", 2);
STRING_LITERAL(TMP4693, "createRecordVarAux", 18);
STRING_LITERAL(TMP4694, "{$1}", 4);
STRING_LITERAL(TMP4695, "[null, 0]", 9);
STRING_LITERAL(TMP4696, "{nil, 0}", 8);
STRING_LITERAL(TMP4697, "nil", 3);
STRING_LITERAL(TMP4698, "createVar: ", 11);
static NIM_CONST TY481044 TMP4699 = {
0xE0, 0x07, 0x77, 0xFC, 0xE1, 0x00, 0x00, 0x00,
0x80, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TMP4700, "nimCopy(null, $1, $2)", 21);
STRING_LITERAL(TMP4701, "genVarInit", 10);
STRING_LITERAL(TMP4702, "var $1 = [$2, $3];$n", 20);
STRING_LITERAL(TMP4703, "local $1 = {$2, $3};$n", 22);
STRING_LITERAL(TMP4704, "var $1 = $2; var $1_Idx = $3;$n", 31);
STRING_LITERAL(TMP4705, "local $1 = $2; local $1_Idx = $3;$n", 35);
STRING_LITERAL(TMP4706, "var $1 = /**/[$2];$n", 20);
STRING_LITERAL(TMP4707, "local $1 = {$2};$n", 18);
STRING_LITERAL(TMP4708, "null", 4);
STRING_LITERAL(TMP4709, "nil", 3);
STRING_LITERAL(TMP4710, "0", 1);
STRING_LITERAL(TMP4711, "cstrToNimstr", 12);
STRING_LITERAL(TMP4712, "cstrToNimstr($1)", 16);
STRING_LITERAL(TMP4713, "NaN", 3);
STRING_LITERAL(TMP4714, "0.0", 3);
STRING_LITERAL(TMP4715, "Infinity", 8);
STRING_LITERAL(TMP4716, "-Infinity", 9);
STRING_LITERAL(TMP4717, "($1 || $2)", 10);
STRING_LITERAL(TMP4718, "($1 or $2)", 10);
STRING_LITERAL(TMP4719, "Tmp$1", 5);
STRING_LITERAL(TMP4720, "var $1;$n", 9);
STRING_LITERAL(TMP4721, "local $1;$n", 11);
STRING_LITERAL(TMP4722, "if ($1) $2 = true; else {", 25);
STRING_LITERAL(TMP4723, "if $1 then $2 = true; else", 26);
STRING_LITERAL(TMP4724, "$2 = $1; }", 10);
STRING_LITERAL(TMP4725, "$2 = $1 end", 11);
STRING_LITERAL(TMP4726, "($1 && $2)", 10);
STRING_LITERAL(TMP4727, "($1 and $2)", 11);
STRING_LITERAL(TMP4728, "if (!$1) $2 = false; else {", 27);
STRING_LITERAL(TMP4729, "if not $1 then $2 = false; else", 31);
STRING_LITERAL(TMP4730, "addInt", 6);
STRING_LITERAL(TMP4731, "", 0);
STRING_LITERAL(TMP4732, "addInt($1, $2)", 14);
STRING_LITERAL(TMP4733, "($1 + $2)", 9);
STRING_LITERAL(TMP4734, "subInt", 6);
STRING_LITERAL(TMP4735, "subInt($1, $2)", 14);
STRING_LITERAL(TMP4736, "($1 - $2)", 9);
STRING_LITERAL(TMP4737, "mulInt", 6);
STRING_LITERAL(TMP4738, "mulInt($1, $2)", 14);
STRING_LITERAL(TMP4739, "($1 * $2)", 9);
STRING_LITERAL(TMP4740, "divInt", 6);
STRING_LITERAL(TMP4741, "divInt($1, $2)", 14);
STRING_LITERAL(TMP4742, "Math.floor($1 / $2)", 19);
STRING_LITERAL(TMP4743, "modInt", 6);
STRING_LITERAL(TMP4744, "modInt($1, $2)", 14);
STRING_LITERAL(TMP4745, "Math.floor($1 % $2)", 19);
STRING_LITERAL(TMP4746, "($1 / $2)", 9);
STRING_LITERAL(TMP4747, "($1 >>> $2)", 11);
STRING_LITERAL(TMP4748, "($1 << $2)", 10);
STRING_LITERAL(TMP4749, "($1 & $2)", 9);
STRING_LITERAL(TMP4750, "($1 | $2)", 9);
STRING_LITERAL(TMP4751, "($1 ^ $2)", 9);
STRING_LITERAL(TMP4752, "nimMin", 6);
STRING_LITERAL(TMP4753, "nimMin($1, $2)", 14);
STRING_LITERAL(TMP4754, "nimMax", 6);
STRING_LITERAL(TMP4755, "nimMax($1, $2)", 14);
STRING_LITERAL(TMP4756, "addU", 4);
STRING_LITERAL(TMP4757, "addU($1, $2)", 12);
STRING_LITERAL(TMP4758, "subU", 4);
STRING_LITERAL(TMP4759, "subU($1, $2)", 12);
STRING_LITERAL(TMP4760, "mulU", 4);
STRING_LITERAL(TMP4761, "mulU($1, $2)", 12);
STRING_LITERAL(TMP4762, "divU", 4);
STRING_LITERAL(TMP4763, "divU($1, $2)", 12);
STRING_LITERAL(TMP4764, "modU", 4);
STRING_LITERAL(TMP4765, "modU($1, $2)", 12);
STRING_LITERAL(TMP4766, "($1 == $2)", 10);
STRING_LITERAL(TMP4767, "($1 <= $2)", 10);
STRING_LITERAL(TMP4768, "($1 < $2)", 9);
STRING_LITERAL(TMP4769, "leU", 3);
STRING_LITERAL(TMP4770, "leU($1, $2)", 11);
STRING_LITERAL(TMP4771, "ltU", 3);
STRING_LITERAL(TMP4772, "ltU($1, $2)", 11);
STRING_LITERAL(TMP4773, "leU64", 5);
STRING_LITERAL(TMP4774, "leU64($1, $2)", 13);
STRING_LITERAL(TMP4775, "ltU64", 5);
STRING_LITERAL(TMP4776, "ltU64($1, $2)", 13);
STRING_LITERAL(TMP4777, "($1 != $2)", 10);
STRING_LITERAL(TMP4778, "negInt", 6);
STRING_LITERAL(TMP4779, "negInt($1)", 10);
STRING_LITERAL(TMP4780, "-($1)", 5);
STRING_LITERAL(TMP4781, "negInt64", 8);
STRING_LITERAL(TMP4782, "negInt64($1)", 12);
STRING_LITERAL(TMP4783, "absInt", 6);
STRING_LITERAL(TMP4784, "absInt($1)", 10);
STRING_LITERAL(TMP4785, "Math.abs($1)", 12);
STRING_LITERAL(TMP4786, "!($1)", 5);
STRING_LITERAL(TMP4787, "+($1)", 5);
STRING_LITERAL(TMP4788, "~($1)", 5);
STRING_LITERAL(TMP4789, "Ze8ToI", 6);
STRING_LITERAL(TMP4790, "Ze8ToI($1)", 10);
STRING_LITERAL(TMP4791, "Ze8ToI64", 8);
STRING_LITERAL(TMP4792, "Ze8ToI64($1)", 12);
STRING_LITERAL(TMP4793, "Ze16ToI", 7);
STRING_LITERAL(TMP4794, "Ze16ToI($1)", 11);
STRING_LITERAL(TMP4795, "Ze16ToI64", 9);
STRING_LITERAL(TMP4796, "Ze16ToI64($1)", 13);
STRING_LITERAL(TMP4797, "Ze32ToI64", 9);
STRING_LITERAL(TMP4798, "Ze32ToI64($1)", 13);
STRING_LITERAL(TMP4799, "ZeIToI64", 8);
STRING_LITERAL(TMP4800, "ZeIToI64($1)", 12);
STRING_LITERAL(TMP4801, "toU8", 4);
STRING_LITERAL(TMP4802, "toU8($1)", 8);
STRING_LITERAL(TMP4803, "toU16", 5);
STRING_LITERAL(TMP4804, "toU16($1)", 9);
STRING_LITERAL(TMP4805, "toU32", 5);
STRING_LITERAL(TMP4806, "toU32($1)", 9);
STRING_LITERAL(TMP4807, "$1", 2);
STRING_LITERAL(TMP4808, "Math.floor($1)", 14);
STRING_LITERAL(TMP4809, "nimCharToStr", 12);
STRING_LITERAL(TMP4810, "nimCharToStr($1)", 16);
STRING_LITERAL(TMP4811, "nimBoolToStr", 12);
STRING_LITERAL(TMP4812, "nimBoolToStr($1)", 16);
STRING_LITERAL(TMP4813, "cstrToNimstr(($1)+\"\")", 21);
NIM_CONST Tmagicops548455 jsops_548461 = {{((NimStringDesc*) &TMP4730),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4732),
((NimStringDesc*) &TMP4733)}
,
{((NimStringDesc*) &TMP4734),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4735),
((NimStringDesc*) &TMP4736)}
,
{((NimStringDesc*) &TMP4737),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4738),
((NimStringDesc*) &TMP4739)}
,
{((NimStringDesc*) &TMP4740),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4741),
((NimStringDesc*) &TMP4742)}
,
{((NimStringDesc*) &TMP4743),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4744),
((NimStringDesc*) &TMP4745)}
,
{((NimStringDesc*) &TMP4730),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4732),
((NimStringDesc*) &TMP4733)}
,
{((NimStringDesc*) &TMP4734),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4735),
((NimStringDesc*) &TMP4736)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4733),
((NimStringDesc*) &TMP4733)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4736),
((NimStringDesc*) &TMP4736)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4739),
((NimStringDesc*) &TMP4739)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4746),
((NimStringDesc*) &TMP4746)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4747),
((NimStringDesc*) &TMP4747)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4748),
((NimStringDesc*) &TMP4748)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4749),
((NimStringDesc*) &TMP4749)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4750),
((NimStringDesc*) &TMP4750)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4751),
((NimStringDesc*) &TMP4751)}
,
{((NimStringDesc*) &TMP4752),
((NimStringDesc*) &TMP4752),
((NimStringDesc*) &TMP4753),
((NimStringDesc*) &TMP4753)}
,
{((NimStringDesc*) &TMP4754),
((NimStringDesc*) &TMP4754),
((NimStringDesc*) &TMP4755),
((NimStringDesc*) &TMP4755)}
,
{((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*) &TMP4762),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4765),
((NimStringDesc*) &TMP4765)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4769),
((NimStringDesc*) &TMP4769),
((NimStringDesc*) &TMP4770),
((NimStringDesc*) &TMP4770)}
,
{((NimStringDesc*) &TMP4771),
((NimStringDesc*) &TMP4771),
((NimStringDesc*) &TMP4772),
((NimStringDesc*) &TMP4772)}
,
{((NimStringDesc*) &TMP4773),
((NimStringDesc*) &TMP4773),
((NimStringDesc*) &TMP4774),
((NimStringDesc*) &TMP4774)}
,
{((NimStringDesc*) &TMP4775),
((NimStringDesc*) &TMP4775),
((NimStringDesc*) &TMP4776),
((NimStringDesc*) &TMP4776)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4777),
((NimStringDesc*) &TMP4777)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4778),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4779),
((NimStringDesc*) &TMP4780)}
,
{((NimStringDesc*) &TMP4781),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4782),
((NimStringDesc*) &TMP4780)}
,
{((NimStringDesc*) &TMP4783),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4784),
((NimStringDesc*) &TMP4785)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4786),
((NimStringDesc*) &TMP4786)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4787),
((NimStringDesc*) &TMP4787)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4788),
((NimStringDesc*) &TMP4788)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4787),
((NimStringDesc*) &TMP4787)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4780),
((NimStringDesc*) &TMP4780)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4785),
((NimStringDesc*) &TMP4785)}
,
{((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*) &TMP4803),
((NimStringDesc*) &TMP4803),
((NimStringDesc*) &TMP4804),
((NimStringDesc*) &TMP4804)}
,
{((NimStringDesc*) &TMP4805),
((NimStringDesc*) &TMP4805),
((NimStringDesc*) &TMP4806),
((NimStringDesc*) &TMP4806)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4807),
((NimStringDesc*) &TMP4807)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4807),
((NimStringDesc*) &TMP4807)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4808),
((NimStringDesc*) &TMP4808)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4808),
((NimStringDesc*) &TMP4808)}
,
{((NimStringDesc*) &TMP4809),
((NimStringDesc*) &TMP4809),
((NimStringDesc*) &TMP4810),
((NimStringDesc*) &TMP4810)}
,
{((NimStringDesc*) &TMP4811),
((NimStringDesc*) &TMP4811),
((NimStringDesc*) &TMP4812),
((NimStringDesc*) &TMP4812)}
,
{((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4813),
((NimStringDesc*) &TMP4813)}
,
{((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4813),
((NimStringDesc*) &TMP4813)}
,
{((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4813),
((NimStringDesc*) &TMP4813)}
,
{((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4712),
((NimStringDesc*) &TMP4712)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4807),
((NimStringDesc*) &TMP4807)}
}
;
STRING_LITERAL(TMP4814, "not ($1)", 8);
NIM_CONST Tmagicops548455 luaops_548624 = {{((NimStringDesc*) &TMP4730),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4732),
((NimStringDesc*) &TMP4733)}
,
{((NimStringDesc*) &TMP4734),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4735),
((NimStringDesc*) &TMP4736)}
,
{((NimStringDesc*) &TMP4737),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4738),
((NimStringDesc*) &TMP4739)}
,
{((NimStringDesc*) &TMP4740),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4741),
((NimStringDesc*) &TMP4742)}
,
{((NimStringDesc*) &TMP4743),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4744),
((NimStringDesc*) &TMP4745)}
,
{((NimStringDesc*) &TMP4730),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4732),
((NimStringDesc*) &TMP4733)}
,
{((NimStringDesc*) &TMP4734),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4735),
((NimStringDesc*) &TMP4736)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4733),
((NimStringDesc*) &TMP4733)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4736),
((NimStringDesc*) &TMP4736)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4739),
((NimStringDesc*) &TMP4739)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4746),
((NimStringDesc*) &TMP4746)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4747),
((NimStringDesc*) &TMP4747)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4748),
((NimStringDesc*) &TMP4748)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4749),
((NimStringDesc*) &TMP4749)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4750),
((NimStringDesc*) &TMP4750)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4751),
((NimStringDesc*) &TMP4751)}
,
{((NimStringDesc*) &TMP4752),
((NimStringDesc*) &TMP4752),
((NimStringDesc*) &TMP4753),
((NimStringDesc*) &TMP4753)}
,
{((NimStringDesc*) &TMP4754),
((NimStringDesc*) &TMP4754),
((NimStringDesc*) &TMP4755),
((NimStringDesc*) &TMP4755)}
,
{((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*) &TMP4762),
((NimStringDesc*) &TMP4762),
((NimStringDesc*) &TMP4763),
((NimStringDesc*) &TMP4763)}
,
{((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4764),
((NimStringDesc*) &TMP4765),
((NimStringDesc*) &TMP4765)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4769),
((NimStringDesc*) &TMP4769),
((NimStringDesc*) &TMP4770),
((NimStringDesc*) &TMP4770)}
,
{((NimStringDesc*) &TMP4771),
((NimStringDesc*) &TMP4771),
((NimStringDesc*) &TMP4772),
((NimStringDesc*) &TMP4772)}
,
{((NimStringDesc*) &TMP4773),
((NimStringDesc*) &TMP4773),
((NimStringDesc*) &TMP4774),
((NimStringDesc*) &TMP4774)}
,
{((NimStringDesc*) &TMP4775),
((NimStringDesc*) &TMP4775),
((NimStringDesc*) &TMP4776),
((NimStringDesc*) &TMP4776)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4767),
((NimStringDesc*) &TMP4767)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4768),
((NimStringDesc*) &TMP4768)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4777),
((NimStringDesc*) &TMP4777)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4766),
((NimStringDesc*) &TMP4766)}
,
{((NimStringDesc*) &TMP4778),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4779),
((NimStringDesc*) &TMP4780)}
,
{((NimStringDesc*) &TMP4781),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4782),
((NimStringDesc*) &TMP4780)}
,
{((NimStringDesc*) &TMP4783),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4784),
((NimStringDesc*) &TMP4785)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4814),
((NimStringDesc*) &TMP4814)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4787),
((NimStringDesc*) &TMP4787)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4788),
((NimStringDesc*) &TMP4788)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4787),
((NimStringDesc*) &TMP4787)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4780),
((NimStringDesc*) &TMP4780)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4785),
((NimStringDesc*) &TMP4785)}
,
{((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*) &TMP4803),
((NimStringDesc*) &TMP4803),
((NimStringDesc*) &TMP4804),
((NimStringDesc*) &TMP4804)}
,
{((NimStringDesc*) &TMP4805),
((NimStringDesc*) &TMP4805),
((NimStringDesc*) &TMP4806),
((NimStringDesc*) &TMP4806)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4807),
((NimStringDesc*) &TMP4807)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4807),
((NimStringDesc*) &TMP4807)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4808),
((NimStringDesc*) &TMP4808)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4808),
((NimStringDesc*) &TMP4808)}
,
{((NimStringDesc*) &TMP4809),
((NimStringDesc*) &TMP4809),
((NimStringDesc*) &TMP4810),
((NimStringDesc*) &TMP4810)}
,
{((NimStringDesc*) &TMP4811),
((NimStringDesc*) &TMP4811),
((NimStringDesc*) &TMP4812),
((NimStringDesc*) &TMP4812)}
,
{((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4813),
((NimStringDesc*) &TMP4813)}
,
{((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4813),
((NimStringDesc*) &TMP4813)}
,
{((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4813),
((NimStringDesc*) &TMP4813)}
,
{((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4711),
((NimStringDesc*) &TMP4712),
((NimStringDesc*) &TMP4712)}
,
{((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4731),
((NimStringDesc*) &TMP4807),
((NimStringDesc*) &TMP4807)}
}
;
STRING_LITERAL(TMP4815, "(\"\"+ ($1))", 10);
STRING_LITERAL(TMP4816, "cstrToNimstr($1.node.sons[$2].name)", 35);
STRING_LITERAL(TMP4817, "genRepr: Not implemented", 24);
STRING_LITERAL(TMP4818, "genSwap", 7);
STRING_LITERAL(TMP4819, "var $1 = $2; $2 = $3; $3 = $1;$n", 32);
STRING_LITERAL(TMP4820, "local $1 = $2; $2 = $3; $3 = $1;$n", 34);
STRING_LITERAL(TMP4821, "var $1 = $2; $2 = $3; $3 = $1;", 30);
STRING_LITERAL(TMP4822, "local $1 = $2; $2 = $3; $3 = $1;", 32);
STRING_LITERAL(TMP4823, "$1 - 1", 6);
STRING_LITERAL(TMP4824, "subInt($1, 1)", 13);
STRING_LITERAL(TMP4825, "addChar", 7);
STRING_LITERAL(TMP4826, "if ($1 != null) { addChar($1, $2); } else { $1 = [$2, 0]; }", 59);
STRING_LITERAL(TMP4827, "if ($1 != null) { $1 += $2; } else { $1 = $2; }", 47);
STRING_LITERAL(TMP4828, "if ($1 != null) { $1 = ($1.slice(0, -1)).concat($2); } else { $"
"1 = $2;}", 71);
STRING_LITERAL(TMP4829, "if ($1 != null) { $1.push($2); } else { $1 = [$2]; }", 52);
STRING_LITERAL(TMP4830, "[$1].concat(", 12);
STRING_LITERAL(TMP4831, "($1.slice(0,-1)).concat(", 24);
STRING_LITERAL(TMP4832, "[$1],", 5);
STRING_LITERAL(TMP4833, "$1.slice(0,-1),", 15);
STRING_LITERAL(TMP4834, "[$1, 0])", 8);
STRING_LITERAL(TMP4835, "$1)", 3);
STRING_LITERAL(TMP4836, "eqStrings", 9);
STRING_LITERAL(TMP4837, "eqStrings($1, $2)", 17);
STRING_LITERAL(TMP4838, "cmpStrings", 10);
STRING_LITERAL(TMP4839, "(cmpStrings($1, $2) <= 0)", 25);
STRING_LITERAL(TMP4840, "(cmpStrings($1, $2) < 0)", 24);
STRING_LITERAL(TMP4841, "$1 == null", 10);
STRING_LITERAL(TMP4842, "$1 = $2;$n", 10);
STRING_LITERAL(TMP4843, "($1 ? 1:0)", 10);
STRING_LITERAL(TMP4844, "toBool($#)", 10);
STRING_LITERAL(TMP4845, "genOrd", 6);
STRING_LITERAL(TMP4846, "($1 != null ? $1.length-1 : 0)", 30);
STRING_LITERAL(TMP4847, "$1.length-1", 11);
STRING_LITERAL(TMP4848, "($1 != null ? $1.length : 0)", 28);
STRING_LITERAL(TMP4849, "$1.length", 9);
STRING_LITERAL(TMP4850, "($1 != null ? ($1.length-2) : -1)", 33);
STRING_LITERAL(TMP4851, "($1 != null ? ($1.length-1) : -1)", 33);
STRING_LITERAL(TMP4852, "$1 += $2", 8);
STRING_LITERAL(TMP4853, "$1 = addInt($1, $2)", 19);
STRING_LITERAL(TMP4854, "$1 -= $2", 8);
STRING_LITERAL(TMP4855, "$1 = subInt($1, $2)", 19);
STRING_LITERAL(TMP4856, "$1.length = $2+1; $1[$1.length-1] = 0", 37);
STRING_LITERAL(TMP4857, "$1.length = $2", 14);
STRING_LITERAL(TMP4858, "SetCard", 7);
STRING_LITERAL(TMP4859, "SetCard($1)", 11);
STRING_LITERAL(TMP4860, "SetLt", 5);
STRING_LITERAL(TMP4861, "SetLt($1, $2)", 13);
STRING_LITERAL(TMP4862, "SetLe", 5);
STRING_LITERAL(TMP4863, "SetLe($1, $2)", 13);
STRING_LITERAL(TMP4864, "SetEq", 5);
STRING_LITERAL(TMP4865, "SetEq($1, $2)", 13);
STRING_LITERAL(TMP4866, "SetMul", 6);
STRING_LITERAL(TMP4867, "SetMul($1, $2)", 14);
STRING_LITERAL(TMP4868, "SetPlus", 7);
STRING_LITERAL(TMP4869, "SetPlus($1, $2)", 15);
STRING_LITERAL(TMP4870, "SetMinus", 8);
STRING_LITERAL(TMP4871, "SetMinus($1, $2)", 16);
STRING_LITERAL(TMP4872, "$1[$2] = true", 13);
STRING_LITERAL(TMP4873, "delete $1[$2]", 13);
STRING_LITERAL(TMP4874, "($1[$2] != undefined)", 21);
STRING_LITERAL(TMP4875, "$1 = new Array($2); for (var i=0;i<$2;++i) {$1[i]=$3;}", 54);
STRING_LITERAL(TMP4876, "($1.m_type == $2)", 17);
STRING_LITERAL(TMP4877, "isObj", 5);
STRING_LITERAL(TMP4878, "isObj($1.m_type, $2)", 20);
STRING_LITERAL(TMP4879, "genericReset", 12);
STRING_LITERAL(TMP4880, "$1 = genericReset($1, $2);$n", 28);
STRING_LITERAL(TMP4881, "toJSStr", 7);
STRING_LITERAL(TMP4882, "rawEcho", 7);
STRING_LITERAL(TMP4883, "rawEcho(", 8);
NIM_CONST TY90959 TMP4884 = {((NimStringDesc*) &TMP4647),
((NI) 1133)}
;
STRING_LITERAL(TMP4885, ")", 1);
STRING_LITERAL(TMP4886, "($1.slice($2))", 14);
STRING_LITERAL(TMP4887, "($1.slice($2, ($3)+1).concat(0))", 32);
STRING_LITERAL(TMP4888, "mnewString", 10);
STRING_LITERAL(TMP4889, "mnewString($1)", 14);
STRING_LITERAL(TMP4890, "mnewString(0)", 13);
STRING_LITERAL(TMP4891, "(", 1);
STRING_LITERAL(TMP4892, "$1[$2]", 6);
STRING_LITERAL(TMP4893, "nimParseBiggestFloat", 20);
STRING_LITERAL(TMP4894, "cannot invoke with infix syntax", 31);
STRING_LITERAL(TMP4895, ".", 1);
STRING_LITERAL(TMP4896, "SetConstr", 9);
STRING_LITERAL(TMP4897, "SetConstr(", 10);
STRING_LITERAL(TMP4898, "Field$#: $#", 11);
NIM_CONST TY90959 TMP4899 = {((NimStringDesc*) &TMP4647),
((NI) 1494)}
;
STRING_LITERAL(TMP4900, "$#: $#", 6);
STRING_LITERAL(TMP4901, "$# = $#", 7);
STRING_LITERAL(TMP4902, "(($1)? 1:0)", 11);
STRING_LITERAL(TMP4903, "($1|0)", 6);
STRING_LITERAL(TMP4904, "genAddr: 3", 10);
STRING_LITERAL(TMP4905, "[0]", 3);
STRING_LITERAL(TMP4906, "genAddr: 2", 10);
NIM_CONST TY90959 TMP4907 = {((NimStringDesc*) &TMP4647),
((NI) 886)}
;
STRING_LITERAL(TMP4908, "Field", 5);
STRING_LITERAL(TMP4909, "genFieldPosition", 16);
STRING_LITERAL(TMP4910, "genFieldAddr", 12);
NIM_CONST TY90959 TMP4911 = {((NimStringDesc*) &TMP4647),
((NI) 868)}
;
STRING_LITERAL(TMP4912, "$1.Field$2", 10);
STRING_LITERAL(TMP4913, "genFieldAccess", 14);
STRING_LITERAL(TMP4914, "$1.$2", 5);
NIM_CONST TY90959 TMP4915 = {((NimStringDesc*) &TMP4647),
((NI) 900)}
;
STRING_LITERAL(TMP4916, "chckIndx", 8);
STRING_LITERAL(TMP4917, "chckIndx($1, $2, $3.length)-$2", 30);
STRING_LITERAL(TMP4918, "($1)-$2", 7);
STRING_LITERAL(TMP4919, "expr(nkBracketExpr, ", 20);
STRING_LITERAL(TMP4920, "genAddr: ", 9);
STRING_LITERAL(TMP4921, "($1 = $2, $1[0][$1[1]])", 23);
STRING_LITERAL(TMP4922, "genDeref", 8);
STRING_LITERAL(TMP4923, "genArrayAccess", 14);
STRING_LITERAL(TMP4924, "chckRange", 9);
STRING_LITERAL(TMP4925, "chckRange($1, $2, $3)", 21);
STRING_LITERAL(TMP4926, "chckRangeF", 10);
STRING_LITERAL(TMP4927, "chckRange64", 11);
STRING_LITERAL(TMP4928, "convStrToCStr", 13);
STRING_LITERAL(TMP4929, "toJSStr($1)", 11);
STRING_LITERAL(TMP4930, "convCStrToStr", 13);
STRING_LITERAL(TMP4931, "genBlock", 8);
STRING_LITERAL(TMP4932, "L$1: do {$n", 11);
STRING_LITERAL(TMP4933, "} while(false);$n", 17);
STRING_LITERAL(TMP4934, "$n::L$#::$n", 11);
STRING_LITERAL(TMP4935, "else {$n", 8);
STRING_LITERAL(TMP4936, "else$n", 6);
STRING_LITERAL(TMP4937, "if ($1) {$n", 11);
STRING_LITERAL(TMP4938, "if $# then$n", 12);
STRING_LITERAL(TMP4939, "$1;$n", 5);
STRING_LITERAL(TMP4940, "}$n", 3);
STRING_LITERAL(TMP4941, "end$n", 5);
NIM_CONST TY90959 TMP4942 = {((NimStringDesc*) &TMP4647),
((NI) 480)}
;
STRING_LITERAL(TMP4943, "// line $2 \"$1\"$n", 17);
STRING_LITERAL(TMP4944, "-- line $2 \"$1\"$n", 17);
STRING_LITERAL(TMP4945, "endb", 4);
STRING_LITERAL(TMP4946, "endb($1);$n", 11);
STRING_LITERAL(TMP4947, "F.line = $1;$n", 14);
STRING_LITERAL(TMP4948, "L$1: while (true) {$n", 21);
STRING_LITERAL(TMP4949, "while true do$n", 15);
STRING_LITERAL(TMP4950, "if (!$1) break L$2;$n", 21);
STRING_LITERAL(TMP4951, "if not $1 then goto ::L$2:: end;$n", 34);
STRING_LITERAL(TMP4952, "end ::L$#::$n", 13);
STRING_LITERAL(TMP4953, "for statement not eliminated", 28);
STRING_LITERAL(TMP4954, "switch (toJSStr($1)) {$n", 24);
STRING_LITERAL(TMP4955, "switch ($1) {$n", 15);
STRING_LITERAL(TMP4956, "case $1: ", 9);
STRING_LITERAL(TMP4957, "jsgen.genCaseStmt: 2", 20);
STRING_LITERAL(TMP4958, "$nbreak;$n", 10);
STRING_LITERAL(TMP4959, "default: $n", 11);
STRING_LITERAL(TMP4960, "break;$n", 8);
STRING_LITERAL(TMP4961, "jsgen.genCaseStmt", 17);
STRING_LITERAL(TMP4962, "eqStr", 5);
STRING_LITERAL(TMP4963, "$nelsif ", 8);
STRING_LITERAL(TMP4964, "if ", 3);
STRING_LITERAL(TMP4965, " or ", 4);
STRING_LITERAL(TMP4966, "$1 >= $2 and $1 <= $3", 21);
STRING_LITERAL(TMP4967, "eqStr($1, $2)", 13);
STRING_LITERAL(TMP4968, "$1 == $2", 8);
STRING_LITERAL(TMP4969, " then$n", 7);
STRING_LITERAL(TMP4970, "$nend$n", 7);
STRING_LITERAL(TMP4971, "genReturnStmt", 13);
STRING_LITERAL(TMP4972, "break BeforeRet;$n", 18);
STRING_LITERAL(TMP4973, "goto ::BeforeRet::;$n", 21);
STRING_LITERAL(TMP4974, "no loop to break", 16);
STRING_LITERAL(TMP4975, "break L$1;$n", 12);
STRING_LITERAL(TMP4976, "goto ::L$1::;$n", 15);
STRING_LITERAL(TMP4977, "$1[0][$1[1]]", 12);
STRING_LITERAL(TMP4978, "nimCopy($1, $2, $3);$n", 22);
STRING_LITERAL(TMP4979, "var $1 = $4; $2 = $1[0]; $3 = $1[1];$n", 38);
STRING_LITERAL(TMP4980, "genAsgn", 7);
STRING_LITERAL(TMP4981, "$1 = $2; $3 = $4;$n", 19);
STRING_LITERAL(TMP4982, "jsgen: genAsmOrEmitStmt()", 25);
STRING_LITERAL(TMP4983, "++excHandler;", 13);
STRING_LITERAL(TMP4984, "local $1 = pcall(", 17);
STRING_LITERAL(TMP4985, "framePtr = F;", 13);
STRING_LITERAL(TMP4986, "try {$n", 7);
STRING_LITERAL(TMP4987, "function()$n", 12);
STRING_LITERAL(TMP4988, "} catch (EXC) {$n var prevJSError = lastJSError;$n lastJSError "
"= EXC;$n --excHandler;$n", 87);
STRING_LITERAL(TMP4989, "end)$n", 6);
STRING_LITERAL(TMP4990, "genTryStmt", 10);
STRING_LITERAL(TMP4991, "||", 2);
STRING_LITERAL(TMP4992, "isObj(lastJSError.m_type, $1)", 29);
STRING_LITERAL(TMP4993, "else ", 5);
STRING_LITERAL(TMP4994, "if (lastJSError && ($2)) {$n", 28);
STRING_LITERAL(TMP4995, "if $1.exc and ($2) then$n", 25);
STRING_LITERAL(TMP4996, "reraiseException", 16);
STRING_LITERAL(TMP4997, "else {", 6);
STRING_LITERAL(TMP4998, "reraiseException();", 19);
STRING_LITERAL(TMP4999, "lastJSError = prevJSError;", 26);
STRING_LITERAL(TMP5000, "} finally {", 11);
STRING_LITERAL(TMP5001, "raiseException", 14);
STRING_LITERAL(TMP5002, "raiseException($1, $2);$n", 25);
STRING_LITERAL(TMP5003, "first class iterators not implemented", 37);
STRING_LITERAL(TMP5004, "gen: unknown node type: ", 24);
STRING_LITERAL(TMP5005, "$#;$n", 5);
STRING_LITERAL(TMP5006, "framePtr = framePtr.prev;$n", 27);
STRING_LITERAL(TMP5007, "js", 2);
STRING_LITERAL(TMP5008, "/* 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(TMP5009, "0.12.0", 6);
Tglobals547027* globals_554981;
extern TNimType NTI275005; /* TPassContext */
TNimType NTI547015; /* TJSGen */
extern TNimType NTI223807; /* PSym */
TNimType NTI547017; /* BModule */
extern Gcheap51018 gch_51059;
TNimType NTI547027; /* TGlobals */
extern TNimType NTI174007; /* Rope */
extern TNimType NTI223811; /* TSymSeq */
extern TNimType NTI220056; /* IntSet */
TNimType NTI547029; /* PGlobals */
extern NI gerrorcounter_189396;
TNimType NTI547033; /* TProc */
extern TNimType NTI223801; /* PNode */
extern TNimType NTI165017; /* TOptions */
extern TNimType NTI138; /* bool */
TNimType NTI547013; /* TTarget */
extern TNimType NTI108; /* int */
TNimType NTI547025; /* TBlock */
TNimType NTI547071; /* seq[TBlock] */
TNimType NTI547031; /* PProc */
extern NimStringDesc* tnl_172654;
extern TNimType NTI223262; /* TTypeKind */
extern TNimType NTI149; /* string */
TNimType NTI548453; /* TMagicFrmt */
TNimType NTI548455; /* TMagicOps */
extern TNimType NTI223029; /* TNodeKind */
extern NimStringDesc* outfile_165138;
N_NIMCALL(void, TMP4618)(void* p, NI op) {
	Tjsgen547015* a;
	a = (Tjsgen547015*)p;
	nimGCvisit((void*)(*a).module, op);
}

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

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

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		Cell48947* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_52646(src);
		(*c).refcount += ((NI) 8);
	}
	LA3: ;
	{
		Cell48947* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_52646((*dest));
		{
			(*c).refcount -= ((NI) 8);
			if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA11;
			rtladdzct_54204(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}
N_NIMCALL(void, TMP4620)(void* p, NI op) {
	Tglobals547027* a;
	a = (Tglobals547027*)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) {
	Cell48947* c;
	c = usrtocell_52646(p);
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3;
		rtladdzct_54204(c);
	}
	LA3: ;
}

N_NIMCALL(Tglobals547027*, newglobals_547084)(void) {
	Tglobals547027* result;
	result = 0;
	result = (Tglobals547027*) newObj((&NTI547029), sizeof(Tglobals547027));
	if ((*result).forwarded) nimGCunrefNoCycle((*result).forwarded);
	(*result).forwarded = (Tsymseq223811*) newSeqRC1((&NTI223811), 0);
	initintset_220927((&(*result).generatedsyms));
	initintset_220927((&(*result).typeinfogenerated));
	return result;
}

N_NIMCALL(Tjsgen547015*, newmodule_554986)(Tsym223841* module) {
	Tjsgen547015* result;
	result = 0;
	result = (Tjsgen547015*) newObj((&NTI547017), sizeof(Tjsgen547015));
	(*result).Sup.Sup.m_type = (&NTI547015);
	asgnRefNoCycle((void**) (&(*result).module), module);
	{
		if (!(globals_554981 == NIM_NIL)) goto LA3;
		asgnRefNoCycle((void**) (&globals_554981), newglobals_547084());
	}
	LA3: ;
	return result;
}

N_NIMCALL(Tpasscontext275005*, myopen_555213)(Tsym223841* s) {
	Tpasscontext275005* result;
	Tjsgen547015* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = newmodule_554986(s);
	result = &LOC1->Sup;
	return result;
}

N_NIMCALL(Tpasscontext275005*, myopencached_555202)(Tsym223841* s, Trodreader266030* rd) {
	Tpasscontext275005* result;
	result = 0;
	internalerror_194191(((NimStringDesc*) &TMP4621));
	result = NIM_NIL;
	return result;
}

static N_INLINE(NIM_BOOL, skipcodegen_275083)(Tnode223809* n) {
	NIM_BOOL result;
	result = 0;
	result = (((NI) 0) < gerrorcounter_189396);
	return result;
}
N_NIMCALL(void, TMP4628)(void* p, NI op) {
	TY547071* a;
	NI LOC1;
	a = (TY547071*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	}
}
N_NIMCALL(void, TMP4629)(void* p, NI op) {
	Tproc547033* a;
	a = (Tproc547033*)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_52667)(Cell48947* c) {
	NIM_BOOL result;
	result = 0;
	result = !((((*(*c).typ).flags &(1<<((((NU8) 1))&7)))!=0));
	return result;
}

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

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

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

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

N_NIMCALL(Tproc547033*, newproc_547207)(Tglobals547027* globals, Tjsgen547015* module, Tnode223809* procdef, NU32 options) {
	Tproc547033* result;
	Tproc547033* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = (Tproc547033*) newObj((&NTI547031), sizeof(Tproc547033));
	if ((*LOC1).blocks) nimGCunrefNoCycle((*LOC1).blocks);
	(*LOC1).blocks = (TY547071*) newSeqRC1((&NTI547071), 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(Ropeobj174009*, makejsstring_547305)(NimStringDesc* s) {
	Ropeobj174009* result;
	result = 0;
	{
		if (!s == 0) goto LA3;
		result = rope_174322(((NimStringDesc*) &TMP4631));
	}
	goto LA1;
	LA3: ;
	{
		NimStringDesc* LOC6;
		LOC6 = 0;
		LOC6 = nsuEscape(s, ((NimStringDesc*) &TMP4632), ((NimStringDesc*) &TMP4632));
		result = rope_174322(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_547256)(Ttype223847* typ) {
	NU8 result;
	Ttype223847* t;
	result = 0;
	t = skiptypes_227167(typ, IL64(211106232576256));
	switch ((*t).kind) {
	case ((NU8) 23):
	case ((NU8) 22):
	case ((NU8) 21):
	{
		{
			Ttype223847* LOC4;
			Ttype223847* LOC5;
			LOC4 = 0;
			LOC4 = lastson_226426(t);
			LOC5 = 0;
			LOC5 = skiptypes_227167(LOC4, IL64(211106232576256));
			if (!((IL64(316659484000272) &(IL64(1)<<(((*LOC5).kind)&IL64(63))))!=0)) 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_547256((*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_551430)(Tsym223841* 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(Ropeobj174009*, manglename_547277)(Tsym223841* s) {
	Ropeobj174009* result;
	result = 0;
	result = (*s).loc.r;
	{
		NimStringDesc* LOC5;
		Ropeobj174009* LOC6;
		if (!(result == NIM_NIL)) goto LA3;
		LOC5 = 0;
		LOC5 = mangle_505910((*(*s).name).s);
		result = rope_174322(LOC5);
		add_174545(&result, ((NimStringDesc*) &TMP4640));
		LOC6 = 0;
		LOC6 = rope_174407(((NI64) ((*s).Sup.id)));
		add_174534(&result, LOC6);
		asgnRefNoCycle((void**) (&(*s).loc.r), result);
	}
	LA3: ;
	return result;
}

N_NIMCALL(Ropeobj174009*, puttoseq_552800)(NimStringDesc* s, NIM_BOOL indirect) {
	Ropeobj174009* result;
	result = 0;
	result = rope_174322(s);
	{
		TY174572 LOC5;
		if (!indirect) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = result;
		result = HEX25_175236(((NimStringDesc*) &TMP4641), LOC5, 1);
	}
	LA3: ;
	return result;
}

static N_INLINE(NIM_BOOL, iscompiletimeonly_262712)(Ttype223847* t) {
	NIM_BOOL result;
	result = 0;
	result = ((IL64(576460752303423744) &(IL64(1)<<(((*t).kind)&IL64(63))))!=0);
	return result;
}

N_NIMCALL(Ropeobj174009*, generateheader_550654)(Tproc547033* p, Ttype223847* typ) {
	Ropeobj174009* result;
	result = 0;
	result = NIM_NIL;
	{
		NI i_550671;
		NI HEX3Atmp_550835;
		NI LOC2;
		NI res_550838;
		i_550671 = 0;
		HEX3Atmp_550835 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226387((*typ).n);
		HEX3Atmp_550835 = (NI)(LOC2 - ((NI) 1));
		res_550838 = ((NI) 1);
		{
			while (1) {
				if (!(res_550838 <= HEX3Atmp_550835)) goto LA4;
				i_550671 = res_550838;
				{
					Tsym223841* param;
					Ropeobj174009* name;
					param = (*(*(*typ).n).kindU.S6.sons->data[i_550671]).kindU.S4.sym;
					{
						NIM_BOOL LOC8;
						LOC8 = 0;
						LOC8 = iscompiletimeonly_262712((*param).typ);
						if (!LOC8) goto LA9;
						goto LA5;
					}
					LA9: ;
					{
						if (!!((result == NIM_NIL))) goto LA13;
						add_174545(&result, ((NimStringDesc*) &TMP4648));
					}
					LA13: ;
					name = manglename_547277(param);
					add_174534(&result, name);
					{
						NU8 LOC17;
						LOC17 = 0;
						LOC17 = maptype_547256((*param).typ);
						if (!(LOC17 == ((NU8) 8))) goto LA18;
						add_174545(&result, ((NimStringDesc*) &TMP4648));
						add_174534(&result, name);
						add_174545(&result, ((NimStringDesc*) &TMP4637));
					}
					LA18: ;
				} LA5: ;
				res_550838 += ((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(Ropeobj174009*, genprocbody_554505)(Tproc547033* p, Tsym223841* prc) {
	Ropeobj174009* result;
	result = 0;
	{
		NimStringDesc* LOC5;
		NimStringDesc* LOC6;
		TY541257 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*) &TMP4655));
		}
		goto LA7;
		LA9: ;
		{
			LOC6 = copyString(((NimStringDesc*) &TMP4656));
		}
		LA7: ;
		LOC5 = rawNewString(LOC6->Sup.len + 15);
appendString(LOC5, LOC6);
appendString(LOC5, ((NimStringDesc*) &TMP4657));
		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_547305(LOC13);
		LOC14 = 0;
		LOC14 = tofilename_189652((*prc).info.fileindex);
		LOC12[1] = makejsstring_547305(LOC14);
		result = HEX25_175236(LOC5, LOC12, 2);
	}
	goto LA1;
	LA3: ;
	{
		result = NIM_NIL;
	}
	LA1: ;
	{
		NimStringDesc* LOC20;
		TY174572 LOC26;
		if (!(*p).beforeretneeded) goto LA18;
		LOC20 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA23;
			LOC20 = copyString(((NimStringDesc*) &TMP4658));
		}
		goto LA21;
		LA23: ;
		{
			LOC20 = copyString(((NimStringDesc*) &TMP4659));
		}
		LA21: ;
		memset((void*)LOC26, 0, sizeof(LOC26));
		LOC26[0] = (*p).body;
		addf_175635(&result, LOC20, LOC26, 1);
	}
	goto LA16;
	LA18: ;
	{
		add_174534(&result, (*p).body);
	}
	LA16: ;
	{
		NIM_BOOL LOC30;
		TY174572 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_175236(((NimStringDesc*) &TMP4660), LOC34, 1);
	}
	LA32: ;
	{
		NimStringDesc* LOC39;
		if (!(((*prc).options &(1<<((((NU8) 15))&31)))!=0)) goto LA37;
		LOC39 = 0;
		LOC39 = rawNewString(tnl_172654->Sup.len + 25);
appendString(LOC39, ((NimStringDesc*) &TMP4661));
appendString(LOC39, tnl_172654);
		add_174545(&result, LOC39);
	}
	LA37: ;
	return result;
}

N_NIMCALL(Ropeobj174009*, genproc_547824)(Tproc547033* oldproc, Tsym223841* prc) {
	Ropeobj174009* result;
	Tsym223841* resultsym;
	Ropeobj174009* name;
	Ropeobj174009* returnstmt;
	Ropeobj174009* resultasgn;
	Ropeobj174009* header;
	Tcompres547023 a;
	Tproc547033* p;
	Tnode223809* LOC23;
	NimStringDesc* LOC24;
	TY515247 LOC30;
	result = 0;
	resultsym = 0;
	name = 0;
	returnstmt = 0;
	resultasgn = 0;
	header = 0;
	memset((void*)(&a), 0, sizeof(a));
	p = newproc_547207((*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_547277(prc);
	header = generateheader_550654(p, (*prc).typ);
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC7;
		TY541257 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*) &TMP4649));
		}
		goto LA8;
		LA10: ;
		{
			LOC7 = copyString(((NimStringDesc*) &TMP4650));
		}
		LA8: ;
		memset((void*)LOC13, 0, sizeof(LOC13));
		LOC13[0] = manglename_547277(resultsym);
		LOC14 = 0;
		LOC14 = isindirect_551430(resultsym);
		LOC13[1] = createvar_552813(p, (*resultsym).typ, LOC14);
		resultasgn = HEX25_175236(LOC7, LOC13, 2);
		gen_547808(p, (*(*prc).ast).kindU.S6.sons->data[((NI) 7)], (&a));
		{
			NU8 LOC17;
			TY541257 LOC20;
			LOC17 = 0;
			LOC17 = maptype_547256((*resultsym).typ);
			if (!(LOC17 == ((NU8) 8))) goto LA18;
			memset((void*)LOC20, 0, sizeof(LOC20));
			LOC20[0] = a.address;
			LOC20[1] = a.res;
			returnstmt = HEX25_175236(((NimStringDesc*) &TMP4651), LOC20, 2);
		}
		goto LA15;
		LA18: ;
		{
			TY174572 LOC22;
			memset((void*)LOC22, 0, sizeof(LOC22));
			LOC22[0] = a.res;
			returnstmt = HEX25_175236(((NimStringDesc*) &TMP4652), LOC22, 1);
		}
		LA15: ;
	}
	LA5: ;
	LOC23 = 0;
	LOC23 = getbody_269061(prc);
	genstmt_547817(p, LOC23);
	LOC24 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA27;
		LOC24 = copyString(((NimStringDesc*) &TMP4653));
	}
	goto LA25;
	LA27: ;
	{
		LOC24 = copyString(((NimStringDesc*) &TMP4654));
	}
	LA25: ;
	memset((void*)LOC30, 0, sizeof(LOC30));
	LOC30[0] = name;
	LOC30[1] = header;
	LOC30[2] = (*p).locals;
	LOC30[3] = resultasgn;
	LOC30[4] = genprocbody_554505(p, prc);
	LOC30[5] = returnstmt;
	result = HEX25_175236(LOC24, LOC30, 6);
	return result;
}

N_NIMCALL(void, usemagic_547838)(Tproc547033* p, NimStringDesc* name) {
	Tsym223841* s;
{	{
		if (!((name ? name->Sup.len : 0) == ((NI) 0))) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	s = getcompilerproc_272811(name);
	{
		if (!!((s == NIM_NIL))) goto LA7;
		{
			NimStringDesc* LOC13;
			if (!!(((77824 &(1<<(((*s).kind)&31)))!=0))) goto LA11;
			LOC13 = 0;
			LOC13 = HEX24_194279(TMP4646);
			internalerror_194191(LOC13);
		}
		LA11: ;
		{
			NIM_BOOL LOC16;
			Ropeobj174009* LOC19;
			LOC16 = 0;
			LOC16 = containsorincl_220898((&(*(*p).g).generatedsyms), (*s).Sup.id);
			if (!!(LOC16)) goto LA17;
			LOC19 = 0;
			LOC19 = genproc_547824(p, s);
			add_174534(&(*(*p).g).code, LOC19);
		}
		LA17: ;
	}
	goto LA5;
	LA7: ;
	{
		{
			if (!!(((*p).prc == NIM_NIL))) goto LA23;
			globalerror_194107((*(*p).prc).info, ((NU16) 68), name);
		}
		goto LA21;
		LA23: ;
		{
			rawmessage_192636(((NU16) 68), name);
		}
		LA21: ;
	}
	LA5: ;
	}BeforeRet: ;
}

N_NIMCALL(void, genenuminfo_547634)(Tproc547033* p, Ttype223847* typ, Ropeobj174009* name) {
	NI length;
	Ropeobj174009* s;
	Ropeobj174009* n;
	TY513578 LOC19;
	TY541257 LOC20;
	TY541257 LOC21;
	length = sonslen_226387((*typ).n);
	s = NIM_NIL;
	{
		NI i_547653;
		NI HEX3Atmp_547724;
		NI res_547727;
		i_547653 = 0;
		HEX3Atmp_547724 = 0;
		HEX3Atmp_547724 = (NI)(length - ((NI) 1));
		res_547727 = ((NI) 0);
		{
			while (1) {
				Tsym223841* field;
				NimStringDesc* extname;
				TY513578 LOC18;
				if (!(res_547727 <= HEX3Atmp_547724)) goto LA3;
				i_547653 = res_547727;
				{
					if (!!(((*(*(*typ).n).kindU.S6.sons->data[i_547653]).kind == ((NU8) 3)))) goto LA6;
					internalerror_194172((*(*typ).n).info, ((NimStringDesc*) &TMP4668));
				}
				LA6: ;
				field = (*(*(*typ).n).kindU.S6.sons->data[i_547653]).kindU.S4.sym;
				{
					NimStringDesc* LOC12;
					if (!(((NI) 0) < i_547653)) goto LA10;
					LOC12 = 0;
					LOC12 = rawNewString(tnl_172654->Sup.len + 2);
appendString(LOC12, ((NimStringDesc*) &TMP4648));
appendString(LOC12, tnl_172654);
					add_174545(&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_174407(((NI64) ((*field).position)));
				LOC18[1] = name;
				LOC18[2] = makejsstring_547305(extname);
				addf_175635(&s, ((NimStringDesc*) &TMP4669), LOC18, 3);
				res_547727 += ((NI) 1);
			} LA3: ;
		}
	}
	memset((void*)LOC19, 0, sizeof(LOC19));
	LOC19[0] = rope_174407(((NI64) ((*typ).Sup.id)));
	LOC19[1] = rope_174407(((NI64) (length)));
	LOC19[2] = s;
	n = HEX25_175236(((NimStringDesc*) &TMP4670), LOC19, 3);
	memset((void*)LOC20, 0, sizeof(LOC20));
	LOC20[0] = name;
	LOC20[1] = rope_174407(((NI64) ((*typ).kind)));
	s = HEX25_175236(((NimStringDesc*) &TMP4671), LOC20, 2);
	prepend_175206(&(*(*p).g).typeinfo, s);
	add_174534(&(*(*p).g).typeinfo, n);
	memset((void*)LOC21, 0, sizeof(LOC21));
	LOC21[0] = name;
	LOC21[1] = rope_174407(((NI64) ((*typ).Sup.id)));
	addf_175635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4672), LOC21, 2);
	{
		TY541257 LOC26;
		if (!!(((*typ).sons->data[((NI) 0)] == NIM_NIL))) goto LA24;
		memset((void*)LOC26, 0, sizeof(LOC26));
		LOC26[0] = name;
		LOC26[1] = gentypeinfo_547315(p, (*typ).sons->data[((NI) 0)]);
		addf_175635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4667), LOC26, 2);
	}
	LA24: ;
}

N_NIMCALL(Ropeobj174009*, genobjectfields_547319)(Tproc547033* p, Ttype223847* typ, Tnode223809* n) {
	Ropeobj174009* result;
	Ropeobj174009* s;
	Ropeobj174009* u;
	NI length;
	Tsym223841* field;
	Tnode223809* b;
	result = 0;
	s = 0;
	u = 0;
	length = 0;
	field = 0;
	b = 0;
	result = NIM_NIL;
	switch ((*n).kind) {
	case ((NU8) 138):
	{
		length = sonslen_226387(n);
		{
			if (!(length == ((NI) 1))) goto LA4;
			result = genobjectfields_547319(p, typ, (*n).kindU.S6.sons->data[((NI) 0)]);
		}
		goto LA2;
		LA4: ;
		{
			TY541257 LOC16;
			s = NIM_NIL;
			{
				NI i_547343;
				NI HEX3Atmp_547453;
				NI res_547456;
				i_547343 = 0;
				HEX3Atmp_547453 = 0;
				HEX3Atmp_547453 = (NI)(length - ((NI) 1));
				res_547456 = ((NI) 0);
				{
					while (1) {
						Ropeobj174009* LOC15;
						if (!(res_547456 <= HEX3Atmp_547453)) goto LA9;
						i_547343 = res_547456;
						{
							NimStringDesc* LOC14;
							if (!(((NI) 0) < i_547343)) goto LA12;
							LOC14 = 0;
							LOC14 = rawNewString(tnl_172654->Sup.len + 2);
appendString(LOC14, ((NimStringDesc*) &TMP4648));
appendString(LOC14, tnl_172654);
							add_174545(&s, LOC14);
						}
						LA12: ;
						LOC15 = 0;
						LOC15 = genobjectfields_547319(p, typ, (*n).kindU.S6.sons->data[i_547343]);
						add_174534(&s, LOC15);
						res_547456 += ((NI) 1);
					} LA9: ;
				}
			}
			memset((void*)LOC16, 0, sizeof(LOC16));
			LOC16[0] = rope_174407(((NI64) (length)));
			LOC16[1] = s;
			result = HEX25_175236(((NimStringDesc*) &TMP4674), LOC16, 2);
		}
		LA2: ;
	}
	break;
	case ((NU8) 3):
	{
		TY513578 LOC18;
		field = (*n).kindU.S4.sym;
		s = gentypeinfo_547315(p, (*field).typ);
		memset((void*)LOC18, 0, sizeof(LOC18));
		LOC18[0] = manglename_547277(field);
		LOC18[1] = s;
		LOC18[2] = makejsstring_547305((*(*field).name).s);
		result = HEX25_175236(((NimStringDesc*) &TMP4675), LOC18, 3);
	}
	break;
	case ((NU8) 139):
	{
		TY514876 LOC61;
		NI64 LOC62;
		length = sonslen_226387(n);
		{
			if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 3)))) goto LA22;
			internalerror_194172((*n).info, ((NimStringDesc*) &TMP4676));
		}
		LA22: ;
		field = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		s = gentypeinfo_547315(p, (*field).typ);
		{
			NI i_547379;
			NI HEX3Atmp_547469;
			NI res_547472;
			i_547379 = 0;
			HEX3Atmp_547469 = 0;
			HEX3Atmp_547469 = (NI)(length - ((NI) 1));
			res_547472 = ((NI) 1);
			{
				while (1) {
					TY541257 LOC59;
					Tnode223809* LOC60;
					if (!(res_547472 <= HEX3Atmp_547469)) goto LA26;
					i_547379 = res_547472;
					b = (*n).kindU.S6.sons->data[i_547379];
					u = NIM_NIL;
					switch ((*b).kind) {
					case ((NU8) 85):
					{
						{
							NI LOC30;
							LOC30 = 0;
							LOC30 = sonslen_226387(b);
							if (!(LOC30 < ((NI) 2))) goto LA31;
							internalerror_194172((*b).info, ((NimStringDesc*) &TMP4677));
						}
						LA31: ;
						{
							NI j_547393;
							NI HEX3Atmp_547462;
							NI LOC34;
							NI res_547465;
							j_547393 = 0;
							HEX3Atmp_547462 = 0;
							LOC34 = 0;
							LOC34 = sonslen_226387(b);
							HEX3Atmp_547462 = (NI)(LOC34 - ((NI) 2));
							res_547465 = ((NI) 0);
							{
								while (1) {
									if (!(res_547465 <= HEX3Atmp_547462)) goto LA36;
									j_547393 = res_547465;
									{
										if (!!((u == NIM_NIL))) goto LA39;
										add_174545(&u, ((NimStringDesc*) &TMP4648));
									}
									LA39: ;
									{
										TY541257 LOC45;
										NI64 LOC46;
										NI64 LOC47;
										if (!((*(*b).kindU.S6.sons->data[j_547393]).kind == ((NU8) 44))) goto LA43;
										memset((void*)LOC45, 0, sizeof(LOC45));
										LOC46 = 0;
										LOC46 = getordvalue_253178((*(*b).kindU.S6.sons->data[j_547393]).kindU.S6.sons->data[((NI) 0)]);
										LOC45[0] = rope_174407(LOC46);
										LOC47 = 0;
										LOC47 = getordvalue_253178((*(*b).kindU.S6.sons->data[j_547393]).kindU.S6.sons->data[((NI) 1)]);
										LOC45[1] = rope_174407(LOC47);
										addf_175635(&u, ((NimStringDesc*) &TMP4678), LOC45, 2);
									}
									goto LA41;
									LA43: ;
									{
										NI64 LOC49;
										Ropeobj174009* LOC50;
										LOC49 = 0;
										LOC49 = getordvalue_253178((*b).kindU.S6.sons->data[j_547393]);
										LOC50 = 0;
										LOC50 = rope_174407(LOC49);
										add_174534(&u, LOC50);
									}
									LA41: ;
									res_547465 += ((NI) 1);
								} LA36: ;
							}
						}
					}
					break;
					case ((NU8) 88):
					{
						NI64 LOC52;
						LOC52 = 0;
						LOC52 = lengthord_253016((*field).typ);
						u = rope_174407(LOC52);
					}
					break;
					default:
					{
						internalerror_194172((*n).info, ((NimStringDesc*) &TMP4679));
					}
					break;
					}
					{
						NimStringDesc* LOC58;
						if (!!((result == NIM_NIL))) goto LA56;
						LOC58 = 0;
						LOC58 = rawNewString(tnl_172654->Sup.len + 2);
appendString(LOC58, ((NimStringDesc*) &TMP4648));
appendString(LOC58, tnl_172654);
						add_174545(&result, LOC58);
					}
					LA56: ;
					memset((void*)LOC59, 0, sizeof(LOC59));
					LOC59[0] = u;
					LOC60 = 0;
					LOC60 = lastson_226406(b);
					LOC59[1] = genobjectfields_547319(p, typ, LOC60);
					addf_175635(&result, ((NimStringDesc*) &TMP4680), LOC59, 2);
					res_547472 += ((NI) 1);
				} LA26: ;
			}
		}
		memset((void*)LOC61, 0, sizeof(LOC61));
		LOC61[0] = manglename_547277(field);
		LOC61[1] = s;
		LOC62 = 0;
		LOC62 = lengthord_253016((*field).typ);
		LOC61[2] = rope_174407(LOC62);
		LOC61[3] = makejsstring_547305((*(*field).name).s);
		LOC61[4] = result;
		result = HEX25_175236(((NimStringDesc*) &TMP4681), LOC61, 5);
	}
	break;
	default:
	{
		internalerror_194172((*n).info, ((NimStringDesc*) &TMP4676));
	}
	break;
	}
	return result;
}

N_NIMCALL(void, genobjectinfo_547506)(Tproc547033* p, Ttype223847* typ, Ropeobj174009* name) {
	Ropeobj174009* s;
	TY541257 LOC1;
	TY541257 LOC2;
	TY541257 LOC3;
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = name;
	LOC1[1] = rope_174407(((NI64) ((*typ).kind)));
	s = HEX25_175236(((NimStringDesc*) &TMP4671), LOC1, 2);
	prepend_175206(&(*(*p).g).typeinfo, s);
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC2[0] = rope_174407(((NI64) ((*typ).Sup.id)));
	LOC2[1] = genobjectfields_547319(p, typ, (*typ).n);
	addf_175635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4673), LOC2, 2);
	memset((void*)LOC3, 0, sizeof(LOC3));
	LOC3[0] = name;
	LOC3[1] = rope_174407(((NI64) ((*typ).Sup.id)));
	addf_175635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4672), LOC3, 2);
	{
		NIM_BOOL LOC6;
		TY541257 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_547315(p, (*typ).sons->data[((NI) 0)]);
		addf_175635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4667), LOC10, 2);
	}
	LA8: ;
}

N_NIMCALL(Ropeobj174009*, gentuplefields_547556)(Tproc547033* p, Ttype223847* typ) {
	Ropeobj174009* result;
	Ropeobj174009* s;
	TY541257 LOC11;
	NI LOC12;
	result = 0;
	s = NIM_NIL;
	{
		NI i_547580;
		NI HEX3Atmp_547589;
		NI LOC2;
		NI res_547592;
		i_547580 = 0;
		HEX3Atmp_547589 = 0;
		LOC2 = 0;
		LOC2 = len_226369(typ);
		HEX3Atmp_547589 = (LOC2 - 1);
		res_547592 = ((NI) 0);
		{
			while (1) {
				TY541257 LOC10;
				if (!(res_547592 <= HEX3Atmp_547589)) goto LA4;
				i_547580 = res_547592;
				{
					NimStringDesc* LOC9;
					if (!(((NI) 0) < i_547580)) goto LA7;
					LOC9 = 0;
					LOC9 = rawNewString(tnl_172654->Sup.len + 2);
appendString(LOC9, ((NimStringDesc*) &TMP4648));
appendString(LOC9, tnl_172654);
					add_174545(&s, LOC9);
				}
				LA7: ;
				memset((void*)LOC10, 0, sizeof(LOC10));
				LOC10[0] = rope_174407(((NI64) (i_547580)));
				LOC10[1] = gentypeinfo_547315(p, (*typ).sons->data[i_547580]);
				addf_175635(&s, ((NimStringDesc*) &TMP4682), LOC10, 2);
				res_547592 += ((NI) 1);
			} LA4: ;
		}
	}
	memset((void*)LOC11, 0, sizeof(LOC11));
	LOC12 = 0;
	LOC12 = len_226369(typ);
	LOC11[0] = rope_174407(((NI64) (LOC12)));
	LOC11[1] = s;
	result = HEX25_175236(((NimStringDesc*) &TMP4674), LOC11, 2);
	return result;
}

N_NIMCALL(void, gentupleinfo_547608)(Tproc547033* p, Ttype223847* typ, Ropeobj174009* name) {
	Ropeobj174009* s;
	TY541257 LOC1;
	TY541257 LOC2;
	TY541257 LOC3;
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = name;
	LOC1[1] = rope_174407(((NI64) ((*typ).kind)));
	s = HEX25_175236(((NimStringDesc*) &TMP4671), LOC1, 2);
	prepend_175206(&(*(*p).g).typeinfo, s);
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC2[0] = rope_174407(((NI64) ((*typ).Sup.id)));
	LOC2[1] = gentuplefields_547556(p, typ);
	addf_175635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4673), LOC2, 2);
	memset((void*)LOC3, 0, sizeof(LOC3));
	LOC3[0] = name;
	LOC3[1] = rope_174407(((NI64) ((*typ).Sup.id)));
	addf_175635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4672), LOC3, 2);
}

N_NIMCALL(Ropeobj174009*, gentypeinfo_547315)(Tproc547033* p, Ttype223847* typ) {
	Ropeobj174009* result;
	Ttype223847* t;
	TY174572 LOC1;
{	result = 0;
	t = skiptypes_227167(typ, 2048);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rope_174407(((NI64) ((*t).Sup.id)));
	result = HEX25_175236(((NimStringDesc*) &TMP4665), LOC1, 1);
	{
		NIM_BOOL LOC4;
		LOC4 = 0;
		LOC4 = containsorincl_220898((&(*(*p).g).typeinfogenerated), (*t).Sup.id);
		if (!LOC4) goto LA5;
		goto BeforeRet;
	}
	LA5: ;
	switch ((*t).kind) {
	case ((NU8) 13):
	{
		result = gentypeinfo_547315(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):
	{
		Ropeobj174009* s;
		TY541257 LOC9;
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = result;
		LOC9[1] = rope_174407(((NI64) ((*t).kind)));
		s = HEX25_175236(((NimStringDesc*) &TMP4666), LOC9, 2);
		prepend_175206(&(*(*p).g).typeinfo, s);
	}
	break;
	case ((NU8) 23):
	case ((NU8) 22):
	case ((NU8) 21):
	case ((NU8) 24):
	case ((NU8) 20):
	case ((NU8) 19):
	{
		Ropeobj174009* s;
		TY541257 LOC11;
		TY541257 LOC12;
		Ttype223847* LOC13;
		memset((void*)LOC11, 0, sizeof(LOC11));
		LOC11[0] = result;
		LOC11[1] = rope_174407(((NI64) ((*t).kind)));
		s = HEX25_175236(((NimStringDesc*) &TMP4666), LOC11, 2);
		prepend_175206(&(*(*p).g).typeinfo, s);
		memset((void*)LOC12, 0, sizeof(LOC12));
		LOC12[0] = result;
		LOC13 = 0;
		LOC13 = lastson_226426(t);
		LOC12[1] = gentypeinfo_547315(p, LOC13);
		addf_175635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4667), LOC12, 2);
	}
	break;
	case ((NU8) 4):
	case ((NU8) 16):
	{
		Ropeobj174009* s;
		TY541257 LOC15;
		TY541257 LOC16;
		memset((void*)LOC15, 0, sizeof(LOC15));
		LOC15[0] = result;
		LOC15[1] = rope_174407(((NI64) ((*t).kind)));
		s = HEX25_175236(((NimStringDesc*) &TMP4666), LOC15, 2);
		prepend_175206(&(*(*p).g).typeinfo, s);
		memset((void*)LOC16, 0, sizeof(LOC16));
		LOC16[0] = result;
		LOC16[1] = gentypeinfo_547315(p, (*t).sons->data[((NI) 1)]);
		addf_175635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4667), LOC16, 2);
	}
	break;
	case ((NU8) 14):
	{
		genenuminfo_547634(p, t, result);
	}
	break;
	case ((NU8) 17):
	{
		genobjectinfo_547506(p, t, result);
	}
	break;
	case ((NU8) 18):
	{
		gentupleinfo_547608(p, t, result);
	}
	break;
	default:
	{
		NimStringDesc* LOC21;
		LOC21 = 0;
		LOC21 = rawNewString(reprEnum((*t).kind, (&NTI223262))->Sup.len + 13);
appendString(LOC21, ((NimStringDesc*) &TMP4683));
appendString(LOC21, reprEnum((*t).kind, (&NTI223262)));
appendChar(LOC21, 41);
		internalerror_194191(LOC21);
	}
	break;
	}
	}BeforeRet: ;
	return result;
}

N_NIMCALL(void, createrecordvaraux_552821)(Tproc547033* p, Tnode223809* rec, Intset220056* excludedfieldids, Ropeobj174009** output) {
	switch ((*rec).kind) {
	case ((NU8) 138):
	{
		{
			NI i_552840;
			NI HEX3Atmp_552863;
			NI LOC3;
			NI res_552866;
			i_552840 = 0;
			HEX3Atmp_552863 = 0;
			LOC3 = 0;
			LOC3 = sonslen_226387(rec);
			HEX3Atmp_552863 = (NI)(LOC3 - ((NI) 1));
			res_552866 = ((NI) 0);
			{
				while (1) {
					if (!(res_552866 <= HEX3Atmp_552863)) goto LA5;
					i_552840 = res_552866;
					createrecordvaraux_552821(p, (*rec).kindU.S6.sons->data[i_552840], excludedfieldids, output);
					res_552866 += ((NI) 1);
				} LA5: ;
			}
		}
	}
	break;
	case ((NU8) 139):
	{
		createrecordvaraux_552821(p, (*rec).kindU.S6.sons->data[((NI) 0)], excludedfieldids, output);
		{
			NI i_552855;
			NI HEX3Atmp_552871;
			NI LOC8;
			NI res_552874;
			i_552855 = 0;
			HEX3Atmp_552871 = 0;
			LOC8 = 0;
			LOC8 = sonslen_226387(rec);
			HEX3Atmp_552871 = (NI)(LOC8 - ((NI) 1));
			res_552874 = ((NI) 1);
			{
				while (1) {
					Tnode223809* LOC11;
					if (!(res_552874 <= HEX3Atmp_552871)) goto LA10;
					i_552855 = res_552874;
					LOC11 = 0;
					LOC11 = lastson_226406((*rec).kindU.S6.sons->data[i_552855]);
					createrecordvaraux_552821(p, LOC11, excludedfieldids, output);
					res_552874 += ((NI) 1);
				} LA10: ;
			}
		}
	}
	break;
	case ((NU8) 3):
	{
		{
			NIM_BOOL LOC15;
			Ropeobj174009* LOC23;
			Ropeobj174009* LOC24;
			LOC15 = 0;
			LOC15 = contains_220829(excludedfieldids, (*(*rec).kindU.S4.sym).Sup.id);
			if (!!(LOC15)) goto LA16;
			{
				NI LOC20;
				LOC20 = 0;
				LOC20 = len_174034((*output));
				if (!(((NI) 0) < LOC20)) goto LA21;
				add_174545(output, ((NimStringDesc*) &TMP4648));
			}
			LA21: ;
			LOC23 = 0;
			LOC23 = manglename_547277((*rec).kindU.S4.sym);
			add_174534(output, LOC23);
			add_174545(output, ((NimStringDesc*) &TMP4692));
			LOC24 = 0;
			LOC24 = createvar_552813(p, (*(*rec).kindU.S4.sym).typ, NIM_FALSE);
			add_174534(output, LOC24);
		}
		LA16: ;
	}
	break;
	default:
	{
		internalerror_194172((*rec).info, ((NimStringDesc*) &TMP4693));
	}
	break;
	}
}

N_NIMCALL(void, createobjinitlist_552902)(Tproc547033* p, Ttype223847* typ, Intset220056* excludedfieldids, Ropeobj174009** output) {
	Ttype223847* t;
	t = typ;
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC12;
		TY174572 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_174034((*output));
			if (!(((NI) 0) < LOC9)) goto LA10;
			add_174545(output, ((NimStringDesc*) &TMP4648));
		}
		LA10: ;
		LOC12 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA15;
			LOC12 = copyString(((NimStringDesc*) &TMP4690));
		}
		goto LA13;
		LA15: ;
		{
			LOC12 = copyString(((NimStringDesc*) &TMP4691));
		}
		LA13: ;
		memset((void*)LOC18, 0, sizeof(LOC18));
		LOC18[0] = gentypeinfo_547315(p, t);
		addf_175635(output, LOC12, LOC18, 1);
	}
	LA5: ;
	{
		while (1) {
			if (!!((t == NIM_NIL))) goto LA20;
			createrecordvaraux_552821(p, (*t).n, excludedfieldids, output);
			t = (*t).sons->data[((NI) 0)];
		} LA20: ;
	}
}

N_NIMCALL(Ropeobj174009*, createvar_552813)(Tproc547033* p, Ttype223847* typ, NIM_BOOL indirect) {
	Ropeobj174009* result;
	Ttype223847* t;
	result = 0;
	t = skiptypes_227167(typ, IL64(211106232576256));
	switch ((*t).kind) {
	case ((NU8) 31) ... ((NU8) 35):
	case ((NU8) 40) ... ((NU8) 44):
	case ((NU8) 14):
	case ((NU8) 2):
	{
		result = puttoseq_552800(((NimStringDesc*) &TMP4642), indirect);
	}
	break;
	case ((NU8) 36) ... ((NU8) 39):
	{
		result = puttoseq_552800(((NimStringDesc*) &TMP4643), indirect);
	}
	break;
	case ((NU8) 20):
	case ((NU8) 11):
	{
		Ttype223847* LOC4;
		LOC4 = 0;
		LOC4 = lastson_226426(typ);
		result = createvar_552813(p, LOC4, indirect);
	}
	break;
	case ((NU8) 19):
	{
		result = puttoseq_552800(((NimStringDesc*) &TMP4644), indirect);
	}
	break;
	case ((NU8) 1):
	{
		result = puttoseq_552800(((NimStringDesc*) &TMP4645), indirect);
	}
	break;
	case ((NU8) 16):
	case ((NU8) 4):
	{
		NI length;
		NI64 LOC8;
		Ttype223847* e;
		LOC8 = 0;
		LOC8 = lengthord_253016(t);
		length = ((NI) (LOC8));
		e = elemtype_253522(t);
		{
			TY513578 LOC13;
			if (!(((NI) 32) < length)) goto LA11;
			usemagic_547838(p, ((NimStringDesc*) &TMP4662));
			usemagic_547838(p, ((NimStringDesc*) &TMP4663));
			memset((void*)LOC13, 0, sizeof(LOC13));
			LOC13[0] = rope_174407(((NI64) (length)));
			LOC13[1] = createvar_552813(p, e, NIM_FALSE);
			LOC13[2] = gentypeinfo_547315(p, e);
			result = HEX25_175236(((NimStringDesc*) &TMP4664), LOC13, 3);
		}
		goto LA9;
		LA11: ;
		{
			NI i;
			result = rope_174322(((NimStringDesc*) &TMP4684));
			i = ((NI) 0);
			{
				while (1) {
					Ropeobj174009* LOC21;
					if (!(i < length)) goto LA16;
					{
						if (!(((NI) 0) < i)) goto LA19;
						add_174545(&result, ((NimStringDesc*) &TMP4648));
					}
					LA19: ;
					LOC21 = 0;
					LOC21 = createvar_552813(p, e, NIM_FALSE);
					add_174534(&result, LOC21);
					i += ((NI) 1);
				} LA16: ;
			}
			add_174545(&result, ((NimStringDesc*) &TMP4685));
		}
		LA9: ;
		{
			TY174572 LOC26;
			if (!indirect) goto LA24;
			memset((void*)LOC26, 0, sizeof(LOC26));
			LOC26[0] = result;
			result = HEX25_175236(((NimStringDesc*) &TMP4641), LOC26, 1);
		}
		LA24: ;
	}
	break;
	case ((NU8) 18):
	{
		result = rope_174322(((NimStringDesc*) &TMP4686));
		{
			NI i_553012;
			NI HEX3Atmp_553081;
			NI LOC29;
			NI res_553084;
			i_553012 = 0;
			HEX3Atmp_553081 = 0;
			LOC29 = 0;
			LOC29 = sonslen_226351(t);
			HEX3Atmp_553081 = (LOC29 - 1);
			res_553084 = ((NI) 0);
			{
				while (1) {
					NimStringDesc* LOC36;
					TY541257 LOC42;
					if (!(res_553084 <= HEX3Atmp_553081)) goto LA31;
					i_553012 = res_553084;
					{
						if (!(((NI) 0) < i_553012)) goto LA34;
						add_174545(&result, ((NimStringDesc*) &TMP4648));
					}
					LA34: ;
					LOC36 = 0;
					{
						if (!((*p).target == ((NU8) 0))) goto LA39;
						LOC36 = copyString(((NimStringDesc*) &TMP4687));
					}
					goto LA37;
					LA39: ;
					{
						LOC36 = copyString(((NimStringDesc*) &TMP4688));
					}
					LA37: ;
					memset((void*)LOC42, 0, sizeof(LOC42));
					LOC42[0] = rope_174407(((NI64) (i_553012)));
					LOC42[1] = createvar_552813(p, (*t).sons->data[i_553012], NIM_FALSE);
					addf_175635(&result, LOC36, LOC42, 2);
					res_553084 += ((NI) 1);
				} LA31: ;
			}
		}
		add_174545(&result, ((NimStringDesc*) &TMP4689));
		{
			TY174572 LOC47;
			if (!indirect) goto LA45;
			memset((void*)LOC47, 0, sizeof(LOC47));
			LOC47[0] = result;
			result = HEX25_175236(((NimStringDesc*) &TMP4641), LOC47, 1);
		}
		LA45: ;
	}
	break;
	case ((NU8) 17):
	{
		Ropeobj174009* initlist;
		Intset220056 LOC49;
		TY174572 LOC50;
		initlist = 0;
		memset((void*)(&LOC49), 0, sizeof(LOC49));
		initintset_220927((&LOC49));
		createobjinitlist_552902(p, t, (&LOC49), &initlist);
		memset((void*)LOC50, 0, sizeof(LOC50));
		LOC50[0] = initlist;
		result = HEX25_175236(((NimStringDesc*) &TMP4694), LOC50, 1);
		{
			TY174572 LOC55;
			if (!indirect) goto LA53;
			memset((void*)LOC55, 0, sizeof(LOC55));
			LOC55[0] = result;
			result = HEX25_175236(((NimStringDesc*) &TMP4641), LOC55, 1);
		}
		LA53: ;
	}
	break;
	case ((NU8) 23):
	case ((NU8) 21):
	case ((NU8) 22):
	{
		{
			NU8 LOC59;
			NimStringDesc* LOC62;
			LOC59 = 0;
			LOC59 = maptype_547256(t);
			if (!(LOC59 == ((NU8) 8))) goto LA60;
			LOC62 = 0;
			{
				if (!((*p).target == ((NU8) 0))) goto LA65;
				LOC62 = copyString(((NimStringDesc*) &TMP4695));
			}
			goto LA63;
			LA65: ;
			{
				LOC62 = copyString(((NimStringDesc*) &TMP4696));
			}
			LA63: ;
			result = puttoseq_552800(LOC62, indirect);
		}
		goto LA57;
		LA60: ;
		{
			NimStringDesc* LOC69;
			LOC69 = 0;
			{
				if (!((*p).target == ((NU8) 0))) goto LA72;
				LOC69 = copyString(((NimStringDesc*) &TMP4631));
			}
			goto LA70;
			LA72: ;
			{
				LOC69 = copyString(((NimStringDesc*) &TMP4697));
			}
			LA70: ;
			result = puttoseq_552800(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*) &TMP4631));
		}
		goto LA77;
		LA79: ;
		{
			LOC76 = copyString(((NimStringDesc*) &TMP4697));
		}
		LA77: ;
		result = puttoseq_552800(LOC76, indirect);
	}
	break;
	default:
	{
		NimStringDesc* LOC83;
		LOC83 = 0;
		LOC83 = rawNewString(reprEnum((*t).kind, (&NTI223262))->Sup.len + 11);
appendString(LOC83, ((NimStringDesc*) &TMP4698));
appendString(LOC83, reprEnum((*t).kind, (&NTI223262)));
		internalerror_194191(LOC83);
		result = NIM_NIL;
	}
	break;
	}
	return result;
}

N_NIMCALL(NIM_BOOL, needsnocopy_550865)(Tnode223809* y) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	Ttype223847* LOC3;
	result = 0;
	LOC1 = 0;
	LOC1 = ((TMP4699[(*y).kind/8] &(1<<((*y).kind%8)))!=0);
	if (LOC1) goto LA2;
	LOC3 = 0;
	LOC3 = skiptypes_227167((*y).typ, IL64(211106232576256));
	LOC1 = ((14680064 &(IL64(1)<<(((*LOC3).kind)&IL64(63))))!=0);
	LA2: ;
	result = LOC1;
	return result;
}

N_NIMCALL(void, genvarinit_553110)(Tproc547033* p, Tsym223841* v, Tnode223809* n) {
	Tcompres547023 a;
	Ropeobj174009* s;
{	memset((void*)(&a), 0, sizeof(a));
	s = 0;
	{
		NimStringDesc* LOC5;
		TY541257 LOC11;
		NIM_BOOL LOC12;
		if (!((*n).kind == ((NU8) 1))) goto LA3;
		LOC5 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA8;
			LOC5 = copyString(((NimStringDesc*) &TMP4638));
		}
		goto LA6;
		LA8: ;
		{
			LOC5 = copyString(((NimStringDesc*) &TMP4639));
		}
		LA6: ;
		memset((void*)LOC11, 0, sizeof(LOC11));
		LOC11[0] = manglename_547277(v);
		LOC12 = 0;
		LOC12 = isindirect_551430(v);
		LOC11[1] = createvar_552813(p, (*v).typ, LOC12);
		addf_175635(&(*p).body, LOC5, LOC11, 2);
	}
	goto LA1;
	LA3: ;
	{
		Ropeobj174009* LOC14;
		NU8 LOC15;
		LOC14 = 0;
		LOC14 = manglename_547277(v);
		gen_547808(p, n, (&a));
		LOC15 = 0;
		LOC15 = maptype_547256((*v).typ);
		switch (LOC15) {
		case ((NU8) 7):
		{
			{
				NIM_BOOL LOC19;
				LOC19 = 0;
				LOC19 = needsnocopy_550865(n);
				if (!LOC19) goto LA20;
				s = a.res;
			}
			goto LA17;
			LA20: ;
			{
				TY541257 LOC23;
				usemagic_547838(p, ((NimStringDesc*) &TMP4663));
				memset((void*)LOC23, 0, sizeof(LOC23));
				LOC23[0] = a.res;
				LOC23[1] = gentypeinfo_547315(p, (*n).typ);
				s = HEX25_175236(((NimStringDesc*) &TMP4700), LOC23, 2);
			}
			LA17: ;
		}
		break;
		case ((NU8) 8):
		{
			{
				if (!!((a.typ == ((NU8) 8)))) goto LA27;
				internalerror_194172((*n).info, ((NimStringDesc*) &TMP4701));
			}
			LA27: ;
			{
				NimStringDesc* LOC33;
				TY513578 LOC39;
				if (!!(((32776 & (*v).flags) == 0))) goto LA31;
				LOC33 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA36;
					LOC33 = copyString(((NimStringDesc*) &TMP4702));
				}
				goto LA34;
				LA36: ;
				{
					LOC33 = copyString(((NimStringDesc*) &TMP4703));
				}
				LA34: ;
				memset((void*)LOC39, 0, sizeof(LOC39));
				LOC39[0] = (*v).loc.r;
				LOC39[1] = a.address;
				LOC39[2] = a.res;
				addf_175635(&(*p).body, LOC33, LOC39, 3);
			}
			goto LA29;
			LA31: ;
			{
				NimStringDesc* LOC41;
				TY513578 LOC47;
				LOC41 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA44;
					LOC41 = copyString(((NimStringDesc*) &TMP4704));
				}
				goto LA42;
				LA44: ;
				{
					LOC41 = copyString(((NimStringDesc*) &TMP4705));
				}
				LA42: ;
				memset((void*)LOC47, 0, sizeof(LOC47));
				LOC47[0] = (*v).loc.r;
				LOC47[1] = a.address;
				LOC47[2] = a.res;
				addf_175635(&(*p).body, LOC41, LOC47, 3);
			}
			LA29: ;
			goto BeforeRet;
		}
		break;
		default:
		{
			s = a.res;
		}
		break;
		}
		{
			NIM_BOOL LOC51;
			NimStringDesc* LOC54;
			TY541257 LOC60;
			LOC51 = 0;
			LOC51 = isindirect_551430(v);
			if (!LOC51) goto LA52;
			LOC54 = 0;
			{
				if (!((*p).target == ((NU8) 0))) goto LA57;
				LOC54 = copyString(((NimStringDesc*) &TMP4706));
			}
			goto LA55;
			LA57: ;
			{
				LOC54 = copyString(((NimStringDesc*) &TMP4707));
			}
			LA55: ;
			memset((void*)LOC60, 0, sizeof(LOC60));
			LOC60[0] = (*v).loc.r;
			LOC60[1] = s;
			addf_175635(&(*p).body, LOC54, LOC60, 2);
		}
		goto LA49;
		LA52: ;
		{
			NimStringDesc* LOC62;
			TY541257 LOC68;
			LOC62 = 0;
			{
				if (!((*p).target == ((NU8) 0))) goto LA65;
				LOC62 = copyString(((NimStringDesc*) &TMP4638));
			}
			goto LA63;
			LA65: ;
			{
				LOC62 = copyString(((NimStringDesc*) &TMP4639));
			}
			LA63: ;
			memset((void*)LOC68, 0, sizeof(LOC68));
			LOC68[0] = (*v).loc.r;
			LOC68[1] = s;
			addf_175635(&(*p).body, LOC62, LOC68, 2);
		}
		LA49: ;
	}
	LA1: ;
	}BeforeRet: ;
}

N_NIMCALL(void, genconstant_547831)(Tproc547033* p, Tsym223841* c) {
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC5;
		Ropeobj174009* oldbody;
		LOC3 = 0;
		LOC3 = !((((*c).loc.flags &(1<<((((NU8) 3))&15)))!=0));
		if (!(LOC3)) goto LA4;
		LOC5 = 0;
		LOC5 = containsorincl_220898((&(*(*p).g).generatedsyms), (*c).Sup.id);
		LOC3 = !(LOC5);
		LA4: ;
		if (!LOC3) goto LA6;
		oldbody = (*p).body;
		asgnRefNoCycle((void**) (&(*p).body), NIM_NIL);
		genvarinit_553110(p, c, (*c).ast);
		add_174534(&(*(*p).g).code, (*p).body);
		asgnRefNoCycle((void**) (&(*p).body), oldbody);
	}
	LA6: ;
}

N_NIMCALL(void, genprocforsymifneeded_551634)(Tproc547033* p, Tsym223841* s) {
	{
		NIM_BOOL LOC3;
		Ropeobj174009* newp;
		Tproc547033* owner;
		LOC3 = 0;
		LOC3 = containsorincl_220898((&(*(*p).g).generatedsyms), (*s).Sup.id);
		if (!!(LOC3)) goto LA4;
		newp = genproc_547824(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_174534(&(*owner).locals, newp);
		}
		goto LA10;
		LA12: ;
		{
			add_174534(&(*(*p).g).code, newp);
		}
		LA10: ;
	}
	LA4: ;
}

N_NIMCALL(void, gensym_551693)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tsym223841* 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*) &TMP4634));
appendString(LOC6, (*(*s).name).s);
			internalerror_194172((*n).info, LOC6);
		}
		LA4: ;
		k = maptype_547256((*s).typ);
		{
			if (!(k == ((NU8) 8))) goto LA9;
			(*r).typ = ((NU8) 8);
			{
				TY174572 LOC15;
				TY174572 LOC16;
				if (!!(((32776 & (*s).flags) == 0))) goto LA13;
				memset((void*)LOC15, 0, sizeof(LOC15));
				LOC15[0] = (*s).loc.r;
				unsureAsgnRef((void**) (&(*r).address), HEX25_175236(((NimStringDesc*) &TMP4635), LOC15, 1));
				memset((void*)LOC16, 0, sizeof(LOC16));
				LOC16[0] = (*s).loc.r;
				unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4636), LOC16, 1));
			}
			goto LA11;
			LA13: ;
			{
				unsureAsgnRef((void**) (&(*r).address), (*s).loc.r);
				unsureAsgnRef((void**) (&(*r).res), HEX26_174471((*s).loc.r, ((NimStringDesc*) &TMP4637)));
			}
			LA11: ;
		}
		goto LA7;
		LA9: ;
		{
			NIM_BOOL LOC19;
			TY174572 LOC22;
			LOC19 = 0;
			LOC19 = isindirect_551430(s);
			if (!LOC19) goto LA20;
			memset((void*)LOC22, 0, sizeof(LOC22));
			LOC22[0] = (*s).loc.r;
			unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4635), LOC22, 1));
		}
		goto LA7;
		LA20: ;
		{
			unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
		}
		LA7: ;
	}
	break;
	case ((NU8) 10):
	{
		genconstant_547831(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*) &TMP4634));
appendString(LOC29, (*(*s).name).s);
			internalerror_194172((*n).info, LOC29);
		}
		LA27: ;
		unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
	}
	break;
	case ((NU8) 12):
	case ((NU8) 16):
	case ((NU8) 13):
	{
		Ropeobj174009* LOC31;
		LOC31 = 0;
		LOC31 = manglename_547277(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;
			Tnode223809* LOC43;
			LOC41 = 0;
			LOC41 = ((*s).kind == ((NU8) 13));
			if (!(LOC41)) goto LA42;
			LOC43 = 0;
			LOC43 = getbody_269061(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 = (Tsymseq223811*) incrSeqV2(&((*(*p).g).forwarded)->Sup, sizeof(Tsym223841*));
			asgnRefNoCycle((void**) (&(*(*p).g).forwarded->data[(*(*p).g).forwarded->Sup.len]), s);
			++(*(*p).g).forwarded->Sup.len;
		}
		goto LA32;
		LA47: ;
		{
			genprocforsymifneeded_551634(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*) &TMP4634));
appendString(LOC55, (*(*s).name).s);
			internalerror_194172((*n).info, LOC55);
		}
		LA53: ;
		unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
	}
	break;
	}
	(*r).kind = ((NU8) 2);
}

static N_INLINE(NIM_BOOL, isemptytype_228933)(Ttype223847* t) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = (t == NIM_NIL);
	if (LOC1) goto LA2;
	LOC1 = ((136 &(IL64(1)<<(((*t).kind)&IL64(63))))!=0);
	LA2: ;
	result = LOC1;
	return result;
}

static N_INLINE(NI, len_224098)(Tnode223809* 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_228905)(Tnode223809* 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_547895)(Tnode223809* 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;
		{
			Tnode223809* c_547922;
			c_547922 = 0;
			{
				NI i_547929;
				NI HEX3Atmp_547931;
				NI LOC7;
				NI res_547933;
				i_547929 = 0;
				HEX3Atmp_547931 = 0;
				LOC7 = 0;
				LOC7 = len_224098(n);
				HEX3Atmp_547931 = (LOC7 - 1);
				res_547933 = ((NI) 0);
				{
					while (1) {
						if (!(res_547933 <= HEX3Atmp_547931)) goto LA9;
						i_547929 = res_547933;
						c_547922 = (*n).kindU.S6.sons->data[i_547929];
						{
							NIM_BOOL LOC12;
							LOC12 = 0;
							LOC12 = issimpleexpr_547895(c_547922);
							if (!!(LOC12)) goto LA13;
							result = NIM_FALSE;
							goto BeforeRet;
						}
						LA13: ;
						res_547933 += ((NI) 1);
					} LA9: ;
				}
			}
		}
		result = NIM_TRUE;
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC16;
		LOC16 = 0;
		LOC16 = isatom_228905(n);
		if (!LOC16) goto LA17;
		result = NIM_TRUE;
	}
	goto LA1;
	LA17: ;
	LA1: ;
	}BeforeRet: ;
	return result;
}

static N_INLINE(Ropeobj174009*, rdloc_547127)(Tcompres547023* a) {
	Ropeobj174009* result;
	result = 0;
	result = (*a).res;
	return result;
}

N_NIMCALL(Ropeobj174009*, gettemp_547954)(Tproc547033* p, NIM_BOOL defineinlocals) {
	Ropeobj174009* result;
	TY174572 LOC1;
	result = 0;
	(*p).unique += ((NI) 1);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rope_174407(((NI64) ((*p).unique)));
	result = HEX25_175236(((NimStringDesc*) &TMP4719), LOC1, 1);
	{
		NimStringDesc* LOC6;
		TY174572 LOC12;
		if (!defineinlocals) goto LA4;
		LOC6 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA9;
			LOC6 = copyString(((NimStringDesc*) &TMP4720));
		}
		goto LA7;
		LA9: ;
		{
			LOC6 = copyString(((NimStringDesc*) &TMP4721));
		}
		LA7: ;
		memset((void*)LOC12, 0, sizeof(LOC12));
		LOC12[0] = result;
		addf_175635(&(*p).locals, LOC6, LOC12, 1);
	}
	LA4: ;
	return result;
}

N_NIMCALL(void, genor_548252)(Tproc547033* p, Tnode223809* a, Tnode223809* b, Tcompres547023* r) {
	Tcompres547023 x;
	Tcompres547023 y;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC7;
		TY541257 LOC13;
		LOC3 = 0;
		LOC3 = issimpleexpr_547895(a);
		if (!(LOC3)) goto LA4;
		LOC3 = issimpleexpr_547895(b);
		LA4: ;
		if (!LOC3) goto LA5;
		gen_547808(p, a, (&x));
		gen_547808(p, b, (&y));
		(*r).kind = ((NU8) 1);
		LOC7 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA10;
			LOC7 = copyString(((NimStringDesc*) &TMP4717));
		}
		goto LA8;
		LA10: ;
		{
			LOC7 = copyString(((NimStringDesc*) &TMP4718));
		}
		LA8: ;
		memset((void*)LOC13, 0, sizeof(LOC13));
		LOC13[0] = rdloc_547127((&x));
		LOC13[1] = rdloc_547127((&y));
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(LOC7, LOC13, 2));
	}
	goto LA1;
	LA5: ;
	{
		NimStringDesc* LOC15;
		TY541257 LOC21;
		NimStringDesc* LOC22;
		TY541257 LOC28;
		unsureAsgnRef((void**) (&(*r).res), gettemp_547954(p, NIM_TRUE));
		(*r).kind = ((NU8) 2);
		gen_547808(p, a, (&x));
		LOC15 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA18;
			LOC15 = copyString(((NimStringDesc*) &TMP4722));
		}
		goto LA16;
		LA18: ;
		{
			LOC15 = copyString(((NimStringDesc*) &TMP4723));
		}
		LA16: ;
		memset((void*)LOC21, 0, sizeof(LOC21));
		LOC21[0] = rdloc_547127((&x));
		LOC21[1] = rdloc_547127((&(*r)));
		addf_175635(&(*p).body, LOC15, LOC21, 2);
		gen_547808(p, b, (&y));
		LOC22 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA25;
			LOC22 = copyString(((NimStringDesc*) &TMP4724));
		}
		goto LA23;
		LA25: ;
		{
			LOC22 = copyString(((NimStringDesc*) &TMP4725));
		}
		LA23: ;
		memset((void*)LOC28, 0, sizeof(LOC28));
		LOC28[0] = rdloc_547127((&y));
		LOC28[1] = rdloc_547127((&(*r)));
		addf_175635(&(*p).body, LOC22, LOC28, 2);
	}
	LA1: ;
}

N_NIMCALL(void, genand_547988)(Tproc547033* p, Tnode223809* a, Tnode223809* b, Tcompres547023* r) {
	Tcompres547023 x;
	Tcompres547023 y;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC7;
		TY541257 LOC13;
		LOC3 = 0;
		LOC3 = issimpleexpr_547895(a);
		if (!(LOC3)) goto LA4;
		LOC3 = issimpleexpr_547895(b);
		LA4: ;
		if (!LOC3) goto LA5;
		gen_547808(p, a, (&x));
		gen_547808(p, b, (&y));
		(*r).kind = ((NU8) 1);
		LOC7 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA10;
			LOC7 = copyString(((NimStringDesc*) &TMP4726));
		}
		goto LA8;
		LA10: ;
		{
			LOC7 = copyString(((NimStringDesc*) &TMP4727));
		}
		LA8: ;
		memset((void*)LOC13, 0, sizeof(LOC13));
		LOC13[0] = rdloc_547127((&x));
		LOC13[1] = rdloc_547127((&y));
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(LOC7, LOC13, 2));
	}
	goto LA1;
	LA5: ;
	{
		NimStringDesc* LOC15;
		TY541257 LOC21;
		NimStringDesc* LOC22;
		TY541257 LOC28;
		unsureAsgnRef((void**) (&(*r).res), gettemp_547954(p, NIM_TRUE));
		(*r).kind = ((NU8) 2);
		gen_547808(p, a, (&x));
		LOC15 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA18;
			LOC15 = copyString(((NimStringDesc*) &TMP4728));
		}
		goto LA16;
		LA18: ;
		{
			LOC15 = copyString(((NimStringDesc*) &TMP4729));
		}
		LA16: ;
		memset((void*)LOC21, 0, sizeof(LOC21));
		LOC21[0] = rdloc_547127((&x));
		LOC21[1] = rdloc_547127((&(*r)));
		addf_175635(&(*p).body, LOC15, LOC21, 2);
		gen_547808(p, b, (&y));
		LOC22 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA25;
			LOC22 = copyString(((NimStringDesc*) &TMP4724));
		}
		goto LA23;
		LA25: ;
		{
			LOC22 = copyString(((NimStringDesc*) &TMP4725));
		}
		LA23: ;
		memset((void*)LOC28, 0, sizeof(LOC28));
		LOC28[0] = rdloc_547127((&y));
		LOC28[1] = rdloc_547127((&(*r)));
		addf_175635(&(*p).body, LOC22, LOC28, 2);
	}
	LA1: ;
}

N_NIMCALL(void, arithaux_548859)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NU8 op, Tmagicops548455 ops) {
	Tcompres547023 x;
	Tcompres547023 y;
	NI i;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	i = !((((*p).options &(1<<((((NU8) 5))&31)))!=0));
	usemagic_547838(p, ops[(op)- 44][(i)- 0]);
	{
		NI LOC3;
		TY541257 LOC6;
		LOC3 = 0;
		LOC3 = sonslen_226387(n);
		if (!(((NI) 2) < LOC3)) goto LA4;
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
		memset((void*)LOC6, 0, sizeof(LOC6));
		LOC6[0] = rdloc_547127((&x));
		LOC6[1] = rdloc_547127((&y));
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(ops[(op)- 44][((NI)(((NI) (i)) + ((NI) 2)))- 0], LOC6, 2));
	}
	goto LA1;
	LA4: ;
	{
		TY174572 LOC8;
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
		memset((void*)LOC8, 0, sizeof(LOC8));
		LOC8[0] = rdloc_547127((&(*r)));
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(ops[(op)- 44][((NI)(((NI) (i)) + ((NI) 2)))- 0], LOC8, 1));
	}
	LA1: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, arith_548907)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NU8 op) {
	Tmagicops548455 LOC1;
	memset((void*)LOC1, 0, sizeof(LOC1));
	{
		if (!((*p).target == ((NU8) 0))) goto LA4;
		genericAssign((void*)LOC1, (void*)jsops_548461, (&NTI548455));
	}
	goto LA2;
	LA4: ;
	{
		genericAssign((void*)LOC1, (void*)luaops_548624, (&NTI548455));
	}
	LA2: ;
	arithaux_548859(p, n, r, op, LOC1);
}

N_NIMCALL(void, unaryexpr_548842)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NimStringDesc* magic, NimStringDesc* frmt) {
	TY174572 LOC1;
	usemagic_547838(p, magic);
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rdloc_547127((&(*r)));
	unsureAsgnRef((void**) (&(*r).res), HEX25_175236(frmt, LOC1, 1));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genrepr_553828)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Ttype223847* t;
	t = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106242013440));
	switch ((*t).kind) {
	case ((NU8) 31) ... ((NU8) 44):
	{
		unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4815));
	}
	break;
	case ((NU8) 14):
	case ((NU8) 15):
	{
		TY541257 LOC3;
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
		usemagic_547838(p, ((NimStringDesc*) &TMP4711));
		(*r).kind = ((NU8) 1);
		memset((void*)LOC3, 0, sizeof(LOC3));
		LOC3[0] = gentypeinfo_547315(p, t);
		LOC3[1] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4816), LOC3, 2));
	}
	break;
	default:
	{
		internalerror_194172((*n).info, ((NimStringDesc*) &TMP4817));
	}
	break;
	}
}

N_NIMCALL(void, genswap_551019)(Tproc547033* p, Tnode223809* n) {
	Tcompres547023 a;
	Tcompres547023 b;
	Ropeobj174009* tmp;
	NimStringDesc* LOC20;
	TY513578 LOC26;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&b));
	tmp = gettemp_547954(p, NIM_FALSE);
	{
		Ttype223847* LOC3;
		NU8 LOC4;
		Ropeobj174009* tmp2;
		NimStringDesc* LOC13;
		TY513578 LOC19;
		LOC3 = 0;
		LOC3 = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106240964864));
		LOC4 = 0;
		LOC4 = maptype_547256(LOC3);
		if (!(LOC4 == ((NU8) 8))) goto LA5;
		tmp2 = gettemp_547954(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_194172((*n).info, ((NimStringDesc*) &TMP4818));
		}
		LA11: ;
		LOC13 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA16;
			LOC13 = copyString(((NimStringDesc*) &TMP4819));
		}
		goto LA14;
		LA16: ;
		{
			LOC13 = copyString(((NimStringDesc*) &TMP4820));
		}
		LA14: ;
		memset((void*)LOC19, 0, sizeof(LOC19));
		LOC19[0] = tmp;
		LOC19[1] = a.address;
		LOC19[2] = b.address;
		addf_175635(&(*p).body, LOC13, LOC19, 3);
		tmp = tmp2;
	}
	LA5: ;
	LOC20 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA23;
		LOC20 = copyString(((NimStringDesc*) &TMP4821));
	}
	goto LA21;
	LA23: ;
	{
		LOC20 = copyString(((NimStringDesc*) &TMP4822));
	}
	LA21: ;
	memset((void*)LOC26, 0, sizeof(LOC26));
	LOC26[0] = tmp;
	LOC26[1] = a.res;
	LOC26[2] = b.res;
	addf_175635(&(*p).body, LOC20, LOC26, 3);
}

N_NIMCALL(void, binaryexpr_548790)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NimStringDesc* magic, NimStringDesc* frmt) {
	Tcompres547023 x;
	Tcompres547023 y;
	TY541257 LOC1;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	usemagic_547838(p, magic);
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rdloc_547127((&x));
	LOC1[1] = rdloc_547127((&y));
	unsureAsgnRef((void**) (&(*r).res), HEX25_175236(frmt, LOC1, 2));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genconstrstr_553730)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 a;
	NI LOC25;
	memset((void*)(&a), 0, sizeof(a));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
	(*r).kind = ((NU8) 1);
	{
		Ttype223847* LOC3;
		TY174572 LOC6;
		Ropeobj174009* LOC7;
		LOC3 = 0;
		LOC3 = skiptypes_227167((*(*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_175236(((NimStringDesc*) &TMP4830), LOC6, 1);
		add_174534(&(*r).res, LOC7);
	}
	goto LA1;
	LA4: ;
	{
		TY174572 LOC9;
		Ropeobj174009* LOC10;
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = a.res;
		LOC10 = 0;
		LOC10 = HEX25_175236(((NimStringDesc*) &TMP4831), LOC9, 1);
		add_174534(&(*r).res, LOC10);
	}
	LA1: ;
	{
		NI i_553767;
		NI HEX3Atmp_553806;
		NI LOC12;
		NI res_553809;
		i_553767 = 0;
		HEX3Atmp_553806 = 0;
		LOC12 = 0;
		LOC12 = sonslen_226387(n);
		HEX3Atmp_553806 = (NI)(LOC12 - ((NI) 2));
		res_553809 = ((NI) 2);
		{
			while (1) {
				if (!(res_553809 <= HEX3Atmp_553806)) goto LA14;
				i_553767 = res_553809;
				gen_547808(p, (*n).kindU.S6.sons->data[i_553767], (&a));
				{
					Ttype223847* LOC17;
					TY174572 LOC20;
					Ropeobj174009* LOC21;
					LOC17 = 0;
					LOC17 = skiptypes_227167((*(*n).kindU.S6.sons->data[i_553767]).typ, IL64(211106242013440));
					if (!((*LOC17).kind == ((NU8) 2))) goto LA18;
					memset((void*)LOC20, 0, sizeof(LOC20));
					LOC20[0] = a.res;
					LOC21 = 0;
					LOC21 = HEX25_175236(((NimStringDesc*) &TMP4832), LOC20, 1);
					add_174534(&(*r).res, LOC21);
				}
				goto LA15;
				LA18: ;
				{
					TY174572 LOC23;
					Ropeobj174009* LOC24;
					memset((void*)LOC23, 0, sizeof(LOC23));
					LOC23[0] = a.res;
					LOC24 = 0;
					LOC24 = HEX25_175236(((NimStringDesc*) &TMP4833), LOC23, 1);
					add_174534(&(*r).res, LOC24);
				}
				LA15: ;
				res_553809 += ((NI) 1);
			} LA14: ;
		}
	}
	LOC25 = 0;
	LOC25 = sonslen_226387(n);
	gen_547808(p, (*n).kindU.S6.sons->data[(NI)(LOC25 - ((NI) 1))], (&a));
	{
		NI LOC28;
		Ttype223847* LOC29;
		TY174572 LOC32;
		Ropeobj174009* LOC33;
		LOC28 = 0;
		LOC28 = sonslen_226387(n);
		LOC29 = 0;
		LOC29 = skiptypes_227167((*(*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_175236(((NimStringDesc*) &TMP4834), LOC32, 1);
		add_174534(&(*r).res, LOC33);
	}
	goto LA26;
	LA30: ;
	{
		TY174572 LOC35;
		Ropeobj174009* LOC36;
		memset((void*)LOC35, 0, sizeof(LOC35));
		LOC35[0] = a.res;
		LOC36 = 0;
		LOC36 = HEX25_175236(((NimStringDesc*) &TMP4835), LOC35, 1);
		add_174534(&(*r).res, LOC36);
	}
	LA26: ;
}

N_NIMCALL(void, gennew_553665)(Tproc547033* p, Tnode223809* n) {
	Tcompres547023 a;
	Ttype223847* t;
	Ttype223847* LOC1;
	TY541257 LOC2;
	memset((void*)(&a), 0, sizeof(a));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
	LOC1 = 0;
	LOC1 = skiptypes_227167((*(*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_552813(p, t, NIM_FALSE);
	addf_175635(&(*p).body, ((NimStringDesc*) &TMP4842), LOC2, 2);
}

N_NIMCALL(void, genord_553707)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Ttype223847* LOC1;
	LOC1 = 0;
	LOC1 = skiptypes_227167((*(*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_547808(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*) &TMP4843));
		}
		goto LA5;
		LA7: ;
		{
			LOC4 = copyString(((NimStringDesc*) &TMP4844));
		}
		LA5: ;
		unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4731), LOC4);
	}
	break;
	default:
	{
		internalerror_194172((*n).info, ((NimStringDesc*) &TMP4845));
	}
	break;
	}
}

N_NIMCALL(void, gennewseq_553684)(Tproc547033* p, Tnode223809* n) {
	Tcompres547023 x;
	Tcompres547023 y;
	Ttype223847* t;
	Ttype223847* LOC1;
	TY513578 LOC2;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
	LOC1 = 0;
	LOC1 = skiptypes_227167((*(*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_547127((&x));
	LOC2[1] = rdloc_547127((&y));
	LOC2[2] = createvar_552813(p, t, NIM_FALSE);
	addf_175635(&(*p).body, ((NimStringDesc*) &TMP4875), LOC2, 3);
}

N_NIMCALL(void, genof_553845)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 x;
	Ttype223847* t;
	memset((void*)(&x), 0, sizeof(x));
	t = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 2)]).typ, IL64(211106248304896));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	{
		TY541257 LOC5;
		if (!(((*t).flags &(1<<((((NU8) 2))&31)))!=0)) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = x.res;
		LOC5[1] = gentypeinfo_547315(p, t);
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4876), LOC5, 2));
	}
	goto LA1;
	LA3: ;
	{
		TY541257 LOC7;
		usemagic_547838(p, ((NimStringDesc*) &TMP4877));
		memset((void*)LOC7, 0, sizeof(LOC7));
		LOC7[0] = x.res;
		LOC7[1] = gentypeinfo_547315(p, t);
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4878), LOC7, 2));
	}
	LA1: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genreset_553890)(Tproc547033* p, Tnode223809* n) {
	Tcompres547023 x;
	TY541257 LOC1;
	memset((void*)(&x), 0, sizeof(x));
	usemagic_547838(p, ((NimStringDesc*) &TMP4879));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = x.res;
	LOC1[1] = gentypeinfo_547315(p, (*(*n).kindU.S6.sons->data[((NI) 1)]).typ);
	addf_175635(&(*p).body, ((NimStringDesc*) &TMP4880), LOC1, 2);
}

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

N_NIMCALL(void, genargnoparam_551943)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 a;
	memset((void*)(&a), 0, sizeof(a));
	gen_547808(p, n, (&a));
	{
		if (!(a.typ == ((NU8) 8))) goto LA3;
		add_174534(&(*r).res, a.address);
		add_174545(&(*r).res, ((NimStringDesc*) &TMP4648));
		add_174534(&(*r).res, a.res);
	}
	goto LA1;
	LA3: ;
	{
		add_174534(&(*r).res, a.res);
	}
	LA1: ;
}

N_NIMCALL(void, genecho_552731)(Tproc547033* p, Tnode223809* n_552734, Tcompres547023* r) {
	Tnode223809* n;
	Tnode223809* LOC1;
	usemagic_547838(p, ((NimStringDesc*) &TMP4881));
	usemagic_547838(p, ((NimStringDesc*) &TMP4882));
	add_174545(&(*r).res, ((NimStringDesc*) &TMP4883));
	LOC1 = 0;
	LOC1 = HEX5BHEX5D_224244(n_552734, ((NI) 1));
	n = skipconv_262935(LOC1);
	{
		NimStringDesc* LOC6;
		if (!!(((*n).kind == ((NU8) 41)))) goto LA4;
		LOC6 = 0;
		LOC6 = HEX24_194279(TMP4884);
		internalerror_194191(LOC6);
	}
	LA4: ;
	{
		NI i_552768;
		NI HEX3Atmp_552775;
		NI LOC8;
		NI res_552778;
		i_552768 = 0;
		HEX3Atmp_552775 = 0;
		LOC8 = 0;
		LOC8 = sonslen_226387(n);
		HEX3Atmp_552775 = (NI)(LOC8 - ((NI) 1));
		res_552778 = ((NI) 0);
		{
			while (1) {
				if (!(res_552778 <= HEX3Atmp_552775)) goto LA10;
				i_552768 = res_552778;
				{
					Tnode223809* it;
					it = (*n).kindU.S6.sons->data[i_552768];
					{
						NIM_BOOL LOC14;
						LOC14 = 0;
						LOC14 = iscompiletimeonly_262712((*it).typ);
						if (!LOC14) goto LA15;
						goto LA11;
					}
					LA15: ;
					{
						if (!(((NI) 0) < i_552768)) goto LA19;
						add_174545(&(*r).res, ((NimStringDesc*) &TMP4648));
					}
					LA19: ;
					genargnoparam_551943(p, it, r);
				} LA11: ;
				res_552778 += ((NI) 1);
			} LA10: ;
		}
	}
	add_174545(&(*r).res, ((NimStringDesc*) &TMP4885));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, ternaryexpr_548814)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NimStringDesc* magic, NimStringDesc* frmt) {
	Tcompres547023 x;
	Tcompres547023 y;
	Tcompres547023 z;
	TY513578 LOC1;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	memset((void*)(&z), 0, sizeof(z));
	usemagic_547838(p, magic);
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 3)], (&z));
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rdloc_547127((&x));
	LOC1[1] = rdloc_547127((&y));
	LOC1[2] = rdloc_547127((&z));
	unsureAsgnRef((void**) (&(*r).res), HEX25_175236(frmt, LOC1, 3));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genarg_551971)(Tproc547033* p, Tnode223809* n, Tsym223841* param, Tcompres547023* r) {
	Tcompres547023 a;
	memset((void*)(&a), 0, sizeof(a));
	gen_547808(p, n, (&a));
	{
		NIM_BOOL LOC3;
		Ttype223847* LOC4;
		TY541257 LOC8;
		Ropeobj174009* LOC9;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = skiptypes_227167((*param).typ, IL64(211106240964864));
		LOC3 = ((IL64(281475110928384) &(IL64(1)<<(((*LOC4).kind)&IL64(63))))!=0);
		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_175236(((NimStringDesc*) &TMP4892), LOC8, 2);
		add_174534(&(*r).res, LOC9);
	}
	goto LA1;
	LA6: ;
	{
		if (!(a.typ == ((NU8) 8))) goto LA11;
		add_174534(&(*r).res, a.address);
		add_174545(&(*r).res, ((NimStringDesc*) &TMP4648));
		add_174534(&(*r).res, a.res);
	}
	goto LA1;
	LA11: ;
	{
		add_174534(&(*r).res, a.res);
	}
	LA1: ;
}

N_NIMCALL(void, genargs_552024)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	NIM_BOOL hasargs;
	Ttype223847* typ;
	add_174545(&(*r).res, ((NimStringDesc*) &TMP4891));
	hasargs = NIM_FALSE;
	typ = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106232576256));
	{
		NI i_552413;
		NI HEX3Atmp_552617;
		NI LOC2;
		NI res_552620;
		i_552413 = 0;
		HEX3Atmp_552617 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226387(n);
		HEX3Atmp_552617 = (NI)(LOC2 - ((NI) 1));
		res_552620 = ((NI) 1);
		{
			while (1) {
				if (!(res_552620 <= HEX3Atmp_552617)) goto LA4;
				i_552413 = res_552620;
				{
					Tnode223809* it;
					Tnode223809* paramtype;
					it = (*n).kindU.S6.sons->data[i_552413];
					paramtype = NIM_NIL;
					{
						NI LOC8;
						LOC8 = 0;
						LOC8 = sonslen_226351(typ);
						if (!(i_552413 < LOC8)) goto LA9;
						paramtype = (*(*typ).n).kindU.S6.sons->data[i_552413];
						{
							NIM_BOOL LOC13;
							LOC13 = 0;
							LOC13 = iscompiletimeonly_262712((*paramtype).typ);
							if (!LOC13) goto LA14;
							goto LA5;
						}
						LA14: ;
					}
					LA9: ;
					{
						if (!hasargs) goto LA18;
						add_174545(&(*r).res, ((NimStringDesc*) &TMP4648));
					}
					LA18: ;
					{
						if (!paramtype == 0) goto LA22;
						genargnoparam_551943(p, it, r);
					}
					goto LA20;
					LA22: ;
					{
						genarg_551971(p, it, (*paramtype).kindU.S4.sym, r);
					}
					LA20: ;
					hasargs = NIM_TRUE;
				} LA5: ;
				res_552620 += ((NI) 1);
			} LA4: ;
		}
	}
	add_174545(&(*r).res, ((NimStringDesc*) &TMP4885));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gencall_552642)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	genargs_552024(p, n, r);
}

N_NIMCALL(void, genmagic_553908)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 a;
	Ropeobj174009* line;
	Ropeobj174009* 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_548252(p, (*n).kindU.S6.sons->data[((NI) 1)], (*n).kindU.S6.sons->data[((NI) 2)], r);
	}
	break;
	case ((NU8) 125):
	{
		genand_547988(p, (*n).kindU.S6.sons->data[((NI) 1)], (*n).kindU.S6.sons->data[((NI) 2)], r);
	}
	break;
	case ((NU8) 44) ... ((NU8) 123):
	{
		arith_548907(p, n, r, op);
	}
	break;
	case ((NU8) 148):
	{
		genrepr_553828(p, n, r);
	}
	break;
	case ((NU8) 155):
	{
		genswap_551019(p, n);
	}
	break;
	case ((NU8) 25):
	{
		{
			if (!!((((*p).options &(1<<((((NU8) 5))&31)))!=0))) goto LA9;
			unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4823));
		}
		goto LA7;
		LA9: ;
		{
			unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4734), ((NimStringDesc*) &TMP4824));
		}
		LA7: ;
	}
	break;
	case ((NU8) 143):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4825), ((NimStringDesc*) &TMP4826));
	}
	break;
	case ((NU8) 144):
	{
		{
			Ttype223847* LOC16;
			LOC16 = 0;
			LOC16 = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106242013440));
			if (!((*LOC16).kind == ((NU8) 29))) goto LA17;
			binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4827));
		}
		goto LA14;
		LA17: ;
		{
			binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4828));
		}
		LA14: ;
	}
	break;
	case ((NU8) 145):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4829));
	}
	break;
	case ((NU8) 137):
	{
		genconstrstr_553730(p, n, r);
	}
	break;
	case ((NU8) 127):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4836), ((NimStringDesc*) &TMP4837));
	}
	break;
	case ((NU8) 128):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4838), ((NimStringDesc*) &TMP4839));
	}
	break;
	case ((NU8) 129):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4838), ((NimStringDesc*) &TMP4840));
	}
	break;
	case ((NU8) 156):
	{
		unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4841));
	}
	break;
	case ((NU8) 124):
	{
		genrepr_553828(p, n, r);
	}
	break;
	case ((NU8) 29):
	case ((NU8) 30):
	{
		gennew_553665(p, n);
	}
	break;
	case ((NU8) 9):
	{
		NI64 LOC29;
		LOC29 = 0;
		LOC29 = getsize_253190((*(*n).kindU.S6.sons->data[((NI) 1)]).typ);
		unsureAsgnRef((void**) (&(*r).res), rope_174407(LOC29));
	}
	break;
	case ((NU8) 41):
	case ((NU8) 157):
	{
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	}
	break;
	case ((NU8) 28):
	{
		genord_553707(p, n, r);
	}
	break;
	case ((NU8) 33):
	{
		unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4846));
	}
	break;
	case ((NU8) 36):
	{
		unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4847));
	}
	break;
	case ((NU8) 35):
	case ((NU8) 32):
	case ((NU8) 34):
	{
		unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4848));
	}
	break;
	case ((NU8) 37):
	{
		unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4849));
	}
	break;
	case ((NU8) 8):
	{
		{
			Ttype223847* LOC39;
			LOC39 = 0;
			LOC39 = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106240964864));
			if (!((*LOC39).kind == ((NU8) 28))) goto LA40;
			unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4850));
		}
		goto LA37;
		LA40: ;
		{
			unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4851));
		}
		LA37: ;
	}
	break;
	case ((NU8) 26):
	{
		{
			if (!!((((*p).options &(1<<((((NU8) 5))&31)))!=0))) goto LA46;
			binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4852));
		}
		goto LA44;
		LA46: ;
		{
			binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4730), ((NimStringDesc*) &TMP4853));
		}
		LA44: ;
	}
	break;
	case ((NU8) 27):
	{
		{
			if (!!((((*p).options &(1<<((((NU8) 5))&31)))!=0))) goto LA52;
			binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4854));
		}
		goto LA50;
		LA52: ;
		{
			binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4734), ((NimStringDesc*) &TMP4855));
		}
		LA50: ;
	}
	break;
	case ((NU8) 150):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4856));
	}
	break;
	case ((NU8) 151):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4857));
	}
	break;
	case ((NU8) 40):
	{
		unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4858), ((NimStringDesc*) &TMP4859));
	}
	break;
	case ((NU8) 132):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4860), ((NimStringDesc*) &TMP4861));
	}
	break;
	case ((NU8) 131):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4862), ((NimStringDesc*) &TMP4863));
	}
	break;
	case ((NU8) 130):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4864), ((NimStringDesc*) &TMP4865));
	}
	break;
	case ((NU8) 133):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4866), ((NimStringDesc*) &TMP4867));
	}
	break;
	case ((NU8) 134):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4868), ((NimStringDesc*) &TMP4869));
	}
	break;
	case ((NU8) 135):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4870), ((NimStringDesc*) &TMP4871));
	}
	break;
	case ((NU8) 38):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4872));
	}
	break;
	case ((NU8) 39):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4873));
	}
	break;
	case ((NU8) 147):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4874));
	}
	break;
	case ((NU8) 31):
	{
		gennewseq_553684(p, n);
	}
	break;
	case ((NU8) 12):
	{
		genof_553845(p, n, r);
	}
	break;
	case ((NU8) 163):
	{
		genreset_553890(p, n);
	}
	break;
	case ((NU8) 17):
	{
		genecho_552731(p, n, r);
	}
	break;
	case ((NU8) 216) ... ((NU8) 250):
	case ((NU8) 19):
	case ((NU8) 20):
	{
		localerror_194128((*n).info, ((NU16) 229), (*(*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym).name).s);
	}
	break;
	case ((NU8) 158):
	{
		binaryexpr_548790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4886));
	}
	break;
	case ((NU8) 159):
	{
		ternaryexpr_548814(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4887));
	}
	break;
	case ((NU8) 160):
	{
		unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4888), ((NimStringDesc*) &TMP4889));
	}
	break;
	case ((NU8) 161):
	{
		unaryexpr_548842(p, n, r, ((NimStringDesc*) &TMP4888), ((NimStringDesc*) &TMP4890));
	}
	break;
	case ((NU8) 139):
	{
		genprocforsymifneeded_551634(p, (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym);
		gencall_552642(p, n, r);
	}
	break;
	case ((NU8) 162):
	{
		usemagic_547838(p, ((NimStringDesc*) &TMP4893));
		gencall_552642(p, n, r);
	}
	break;
	default:
	{
		gencall_552642(p, n, r);
	}
	break;
	}
}

N_NIMCALL(void, geninfixcall_552655)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 op;
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	{
		TY541257 LOC9;
		if (!((*r).typ == ((NU8) 8))) goto LA3;
		{
			if (!((*r).address == NIM_NIL)) goto LA7;
			globalerror_194118((*n).info, ((NimStringDesc*) &TMP4894));
		}
		LA7: ;
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = (*r).address;
		LOC9[1] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4892), LOC9, 2));
		unsureAsgnRef((void**) (&(*r).address), NIM_NIL);
		(*r).typ = ((NU8) 0);
	}
	LA3: ;
	add_174545(&(*r).res, ((NimStringDesc*) &TMP4895));
	memset((void*)(&op), 0, sizeof(op));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&op));
	add_174534(&(*r).res, op.res);
	add_174545(&(*r).res, ((NimStringDesc*) &TMP4891));
	{
		NI i_552703;
		NI HEX3Atmp_552709;
		NI LOC11;
		NI res_552712;
		i_552703 = 0;
		HEX3Atmp_552709 = 0;
		LOC11 = 0;
		LOC11 = sonslen_226387(n);
		HEX3Atmp_552709 = (NI)(LOC11 - ((NI) 1));
		res_552712 = ((NI) 2);
		{
			while (1) {
				if (!(res_552712 <= HEX3Atmp_552709)) goto LA13;
				i_552703 = res_552712;
				{
					if (!(((NI) 2) < i_552703)) goto LA16;
					add_174545(&(*r).res, ((NimStringDesc*) &TMP4648));
				}
				LA16: ;
				genargnoparam_551943(p, (*n).kindU.S6.sons->data[i_552703], r);
				res_552712 += ((NI) 1);
			} LA13: ;
		}
	}
	add_174545(&(*r).res, ((NimStringDesc*) &TMP4885));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gensetconstr_553991)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 a;
	Tcompres547023 b;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	usemagic_547838(p, ((NimStringDesc*) &TMP4896));
	unsureAsgnRef((void**) (&(*r).res), rope_174322(((NimStringDesc*) &TMP4897)));
	(*r).kind = ((NU8) 1);
	{
		NI i_554011;
		NI HEX3Atmp_554037;
		NI LOC2;
		NI res_554040;
		i_554011 = 0;
		HEX3Atmp_554037 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226387(n);
		HEX3Atmp_554037 = (NI)(LOC2 - ((NI) 1));
		res_554040 = ((NI) 0);
		{
			while (1) {
				Tnode223809* it;
				if (!(res_554040 <= HEX3Atmp_554037)) goto LA4;
				i_554011 = res_554040;
				{
					if (!(((NI) 0) < i_554011)) goto LA7;
					add_174545(&(*r).res, ((NimStringDesc*) &TMP4648));
				}
				LA7: ;
				it = (*n).kindU.S6.sons->data[i_554011];
				{
					TY541257 LOC13;
					if (!((*it).kind == ((NU8) 44))) goto LA11;
					gen_547808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&a));
					gen_547808(p, (*it).kindU.S6.sons->data[((NI) 1)], (&b));
					memset((void*)LOC13, 0, sizeof(LOC13));
					LOC13[0] = a.res;
					LOC13[1] = b.res;
					addf_175635(&(*r).res, ((NimStringDesc*) &TMP4678), LOC13, 2);
				}
				goto LA9;
				LA11: ;
				{
					gen_547808(p, it, (&a));
					add_174534(&(*r).res, a.res);
				}
				LA9: ;
				res_554040 += ((NI) 1);
			} LA4: ;
		}
	}
	add_174545(&(*r).res, ((NimStringDesc*) &TMP4885));
}

N_NIMCALL(void, genarrayconstr_554059)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 a;
	memset((void*)(&a), 0, sizeof(a));
	unsureAsgnRef((void**) (&(*r).res), rope_174322(((NimStringDesc*) &TMP4684)));
	(*r).kind = ((NU8) 1);
	{
		NI i_554078;
		NI HEX3Atmp_554086;
		NI LOC2;
		NI res_554089;
		i_554078 = 0;
		HEX3Atmp_554086 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226387(n);
		HEX3Atmp_554086 = (NI)(LOC2 - ((NI) 1));
		res_554089 = ((NI) 0);
		{
			while (1) {
				if (!(res_554089 <= HEX3Atmp_554086)) goto LA4;
				i_554078 = res_554089;
				{
					if (!(((NI) 0) < i_554078)) goto LA7;
					add_174545(&(*r).res, ((NimStringDesc*) &TMP4648));
				}
				LA7: ;
				gen_547808(p, (*n).kindU.S6.sons->data[i_554078], (&a));
				add_174534(&(*r).res, a.res);
				res_554089 += ((NI) 1);
			} LA4: ;
		}
	}
	add_174545(&(*r).res, ((NimStringDesc*) &TMP4685));
}

N_NIMCALL(void, gentupleconstr_554108)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 a;
	memset((void*)(&a), 0, sizeof(a));
	unsureAsgnRef((void**) (&(*r).res), rope_174322(((NimStringDesc*) &TMP4686)));
	(*r).kind = ((NU8) 1);
	{
		NI i_554127;
		NI HEX3Atmp_554157;
		NI LOC2;
		NI res_554160;
		i_554127 = 0;
		HEX3Atmp_554157 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226387(n);
		HEX3Atmp_554157 = (NI)(LOC2 - ((NI) 1));
		res_554160 = ((NI) 0);
		{
			while (1) {
				Tnode223809* it;
				NimStringDesc* LOC13;
				TY541257 LOC19;
				if (!(res_554160 <= HEX3Atmp_554157)) goto LA4;
				i_554127 = res_554160;
				{
					if (!(((NI) 0) < i_554127)) goto LA7;
					add_174545(&(*r).res, ((NimStringDesc*) &TMP4648));
				}
				LA7: ;
				it = (*n).kindU.S6.sons->data[i_554127];
				{
					if (!((*it).kind == ((NU8) 34))) goto LA11;
					it = (*it).kindU.S6.sons->data[((NI) 1)];
				}
				LA11: ;
				gen_547808(p, it, (&a));
				LOC13 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA16;
					LOC13 = copyString(((NimStringDesc*) &TMP4898));
				}
				goto LA14;
				LA16: ;
				{
					LOC13 = copyString(((NimStringDesc*) &TMP4688));
				}
				LA14: ;
				memset((void*)LOC19, 0, sizeof(LOC19));
				LOC19[0] = rope_174407(((NI64) (i_554127)));
				LOC19[1] = a.res;
				addf_175635(&(*r).res, LOC13, LOC19, 2);
				res_554160 += ((NI) 1);
			} LA4: ;
		}
	}
	add_174545(&(*r).res, ((NimStringDesc*) &TMP4689));
}

N_NIMCALL(void, genobjconstr_554179)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 a;
	Ropeobj174009* initlist;
	Intset220056 fieldids;
	Ttype223847* t;
	TY174572 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_220927((&fieldids));
	{
		NI i_554200;
		NI HEX3Atmp_554273;
		NI LOC2;
		NI res_554276;
		i_554200 = 0;
		HEX3Atmp_554273 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226387(n);
		HEX3Atmp_554273 = (NI)(LOC2 - ((NI) 1));
		res_554276 = ((NI) 1);
		{
			while (1) {
				Tnode223809* it;
				Tsym223841* f;
				NimStringDesc* LOC18;
				TY541257 LOC24;
				if (!(res_554276 <= HEX3Atmp_554273)) goto LA4;
				i_554200 = res_554276;
				{
					if (!(((NI) 1) < i_554200)) goto LA7;
					add_174545(&initlist, ((NimStringDesc*) &TMP4648));
				}
				LA7: ;
				it = (*n).kindU.S6.sons->data[i_554200];
				{
					NimStringDesc* LOC13;
					if (!!(((*it).kind == ((NU8) 34)))) goto LA11;
					LOC13 = 0;
					LOC13 = HEX24_194279(TMP4899);
					internalerror_194191(LOC13);
				}
				LA11: ;
				gen_547808(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_547277(f));
				}
				LA16: ;
				incl_220856((&fieldids), (*f).Sup.id);
				LOC18 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA21;
					LOC18 = copyString(((NimStringDesc*) &TMP4900));
				}
				goto LA19;
				LA21: ;
				{
					LOC18 = copyString(((NimStringDesc*) &TMP4901));
				}
				LA19: ;
				memset((void*)LOC24, 0, sizeof(LOC24));
				LOC24[0] = (*f).loc.r;
				LOC24[1] = a.res;
				addf_175635(&initlist, LOC18, LOC24, 2);
				res_554276 += ((NI) 1);
			} LA4: ;
		}
	}
	t = skiptypes_227167((*n).typ, IL64(211106247256320));
	createobjinitlist_552902(p, t, (&fieldids), &initlist);
	memset((void*)LOC25, 0, sizeof(LOC25));
	LOC25[0] = initlist;
	unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4694), LOC25, 1));
}

N_NIMCALL(void, genconv_554295)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Ttype223847* dest;
	Ttype223847* src;
{	dest = skiptypes_227167((*n).typ, IL64(211106242013440));
	src = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106242013440));
	gen_547808(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;
		TY174572 LOC12;
		LOC6 = 0;
		{
			if (!((*p).target == ((NU8) 0))) goto LA9;
			LOC6 = copyString(((NimStringDesc*) &TMP4902));
		}
		goto LA7;
		LA9: ;
		{
			LOC6 = copyString(((NimStringDesc*) &TMP4844));
		}
		LA7: ;
		memset((void*)LOC12, 0, sizeof(LOC12));
		LOC12[0] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(LOC6, LOC12, 1));
		(*r).kind = ((NU8) 1);
	}
	break;
	case ((NU8) 31):
	{
		TY174572 LOC14;
		memset((void*)LOC14, 0, sizeof(LOC14));
		LOC14[0] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4903), LOC14, 1));
	}
	break;
	default:
	{
	}
	break;
	}
	}BeforeRet: ;
}

N_NIMCALL(NI, getfieldposition_551091)(Tnode223809* 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_194172((*f).info, ((NimStringDesc*) &TMP4909));
	}
	break;
	}
	return result;
}

N_NIMCALL(void, genfieldaddr_551105)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 a;
	Tnode223809* 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_547808(p, (*b).kindU.S6.sons->data[((NI) 0)], (&a));
	{
		Ttype223847* LOC8;
		NimStringDesc* LOC11;
		NI LOC12;
		NimStringDesc* LOC13;
		LOC8 = 0;
		LOC8 = skiptypes_227167((*(*b).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106242013440));
		if (!((*LOC8).kind == ((NU8) 18))) goto LA9;
		LOC11 = 0;
		LOC12 = 0;
		LOC12 = getfieldposition_551091((*b).kindU.S6.sons->data[((NI) 1)]);
		LOC13 = 0;
		LOC13 = nimIntToStr(LOC12);
		LOC11 = rawNewString(LOC13->Sup.len + 5);
appendString(LOC11, ((NimStringDesc*) &TMP4908));
appendString(LOC11, LOC13);
		unsureAsgnRef((void**) (&(*r).res), makejsstring_547305(LOC11));
	}
	goto LA6;
	LA9: ;
	{
		Tsym223841* f;
		NimStringDesc* LOC23;
		{
			if (!!(((*(*b).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 3)))) goto LA17;
			internalerror_194172((*(*b).kindU.S6.sons->data[((NI) 1)]).info, ((NimStringDesc*) &TMP4910));
		}
		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_547277(f));
		}
		LA21: ;
		LOC23 = 0;
		LOC23 = HEX24_175132((*f).loc.r);
		unsureAsgnRef((void**) (&(*r).res), makejsstring_547305(LOC23));
	}
	LA6: ;
	{
		NimStringDesc* LOC28;
		if (!!(!((a.typ == ((NU8) 8))))) goto LA26;
		LOC28 = 0;
		LOC28 = HEX24_194279(TMP4911);
		internalerror_194191(LOC28);
	}
	LA26: ;
	unsureAsgnRef((void**) (&(*r).address), a.res);
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gencheckedfieldaddr_551245)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tnode223809* 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_194279(TMP4907);
		internalerror_194191(LOC10);
	}
	LA8: ;
	genfieldaddr_551105(p, (*m).kindU.S6.sons->data[((NI) 0)], r);
}

N_NIMCALL(void, genfieldaccess_551188)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	(*r).typ = ((NU8) 0);
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	{
		Ttype223847* LOC3;
		TY541257 LOC6;
		NI LOC7;
		LOC3 = 0;
		LOC3 = skiptypes_227167((*(*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_551091((*n).kindU.S6.sons->data[((NI) 1)]);
		LOC6[1] = rope_174407(((NI64) (LOC7)));
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4912), LOC6, 2));
	}
	goto LA1;
	LA4: ;
	{
		Tsym223841* f;
		TY541257 LOC17;
		{
			if (!!(((*(*n).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 3)))) goto LA11;
			internalerror_194172((*(*n).kindU.S6.sons->data[((NI) 1)]).info, ((NimStringDesc*) &TMP4913));
		}
		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_547277(f));
		}
		LA15: ;
		memset((void*)LOC17, 0, sizeof(LOC17));
		LOC17[0] = (*r).res;
		LOC17[1] = (*f).loc.r;
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4914), LOC17, 2));
	}
	LA1: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genarrayaddr_551298)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 a;
	Tcompres547023 b;
	NI64 first;
	Tnode223809* m;
	Ttype223847* 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_547808(p, (*m).kindU.S6.sons->data[((NI) 0)], (&a));
	gen_547808(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_194279(TMP4915);
		internalerror_194191(LOC12);
	}
	LA10: ;
	unsureAsgnRef((void**) (&(*r).address), a.res);
	typ = skiptypes_227167((*(*m).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106247256320));
	{
		if (!((65552 &(IL64(1)<<(((*typ).kind)&IL64(63))))!=0)) goto LA15;
		first = firstord_253004((*typ).sons->data[((NI) 0)]);
	}
	goto LA13;
	LA15: ;
	{
		first = IL64(0);
	}
	LA13: ;
	{
		NIM_BOOL LOC20;
		NIM_BOOL LOC22;
		TY513578 LOC25;
		LOC20 = 0;
		LOC20 = (((*p).options &(1<<((((NU8) 4))&31)))!=0);
		if (!(LOC20)) goto LA21;
		LOC22 = 0;
		LOC22 = isconstexpr_252442((*m).kindU.S6.sons->data[((NI) 1)]);
		LOC20 = !(LOC22);
		LA21: ;
		if (!LOC20) goto LA23;
		usemagic_547838(p, ((NimStringDesc*) &TMP4916));
		memset((void*)LOC25, 0, sizeof(LOC25));
		LOC25[0] = b.res;
		LOC25[1] = rope_174407(first);
		LOC25[2] = a.res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4917), LOC25, 3));
	}
	goto LA18;
	LA23: ;
	{
		TY541257 LOC29;
		if (!!((first == IL64(0)))) goto LA27;
		memset((void*)LOC29, 0, sizeof(LOC29));
		LOC29[0] = b.res;
		LOC29[1] = rope_174407(first);
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4918), LOC29, 2));
	}
	goto LA18;
	LA27: ;
	{
		unsureAsgnRef((void**) (&(*r).res), b.res);
	}
	LA18: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genaddr_551507)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	switch ((*(*n).kindU.S6.sons->data[((NI) 0)]).kind) {
	case ((NU8) 3):
	{
		Tsym223841* s;
		s = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		{
			if (!((*s).loc.r == NIM_NIL)) goto LA4;
			internalerror_194172((*n).info, ((NimStringDesc*) &TMP4904));
		}
		LA4: ;
		switch ((*s).kind) {
		case ((NU8) 8):
		case ((NU8) 9):
		case ((NU8) 11):
		{
			NU8 jstype;
			(*r).kind = ((NU8) 1);
			jstype = maptype_547256((*n).typ);
			{
				if (!(jstype == ((NU8) 7))) goto LA9;
				(*r).typ = ((NU8) 0);
				{
					NIM_BOOL LOC13;
					LOC13 = 0;
					LOC13 = isindirect_551430(s);
					if (!LOC13) goto LA14;
					unsureAsgnRef((void**) (&(*r).res), HEX26_174471((*s).loc.r, ((NimStringDesc*) &TMP4905)));
				}
				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_174322(((NimStringDesc*) &TMP4642)));
			}
			goto LA7;
			LA20: ;
			{
				gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			}
			LA7: ;
		}
		break;
		default:
		{
			internalerror_194172((*n).info, ((NimStringDesc*) &TMP4906));
		}
		break;
		}
	}
	break;
	case ((NU8) 46):
	{
		gencheckedfieldaddr_551245(p, n, r);
	}
	break;
	case ((NU8) 45):
	{
		{
			NU8 LOC28;
			LOC28 = 0;
			LOC28 = maptype_547256((*n).typ);
			if (!(LOC28 == ((NU8) 8))) goto LA29;
			genfieldaddr_551105(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		goto LA26;
		LA29: ;
		{
			genfieldaccess_551188(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		LA26: ;
	}
	break;
	case ((NU8) 42):
	{
		Ttype223847* ty;
		ty = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106242013440));
		{
			if (!((IL64(316659484000272) &(IL64(1)<<(((*ty).kind)&IL64(63))))!=0)) goto LA35;
			gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		goto LA33;
		LA35: ;
		{
			NU8 kindofindexedexpr;
			Ttype223847* LOC38;
			LOC38 = 0;
			LOC38 = skiptypes_227167((*(*(*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_551298(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			}
			break;
			case ((NU8) 18):
			{
				genfieldaddr_551105(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			}
			break;
			default:
			{
				NimStringDesc* LOC42;
				LOC42 = 0;
				LOC42 = rawNewString(reprEnum(kindofindexedexpr, (&NTI223262))->Sup.len + 21);
appendString(LOC42, ((NimStringDesc*) &TMP4919));
appendString(LOC42, reprEnum(kindofindexedexpr, (&NTI223262)));
appendChar(LOC42, 41);
				internalerror_194172((*(*n).kindU.S6.sons->data[((NI) 0)]).info, LOC42);
			}
			break;
			}
		}
		LA33: ;
	}
	break;
	case ((NU8) 66):
	{
		gen_547808(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, (&NTI223029))->Sup.len + 9);
appendString(LOC45, ((NimStringDesc*) &TMP4920));
appendString(LOC45, reprEnum((*(*n).kindU.S6.sons->data[((NI) 0)]).kind, (&NTI223029)));
		internalerror_194172((*(*n).kindU.S6.sons->data[((NI) 0)]).info, LOC45);
	}
	break;
	}
}

N_NIMCALL(void, genderef_551892)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	{
		NU8 LOC3;
		LOC3 = 0;
		LOC3 = maptype_547256((*(*n).kindU.S6.sons->data[((NI) 0)]).typ);
		if (!(LOC3 == ((NU8) 7))) goto LA4;
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	}
	goto LA1;
	LA4: ;
	{
		Tcompres547023 a;
		memset((void*)(&a), 0, sizeof(a));
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&a));
		{
			TY541257 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_175236(((NimStringDesc*) &TMP4892), LOC11, 2));
		}
		goto LA7;
		LA9: ;
		{
			Ropeobj174009* tmp;
			TY541257 LOC15;
			if (!((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 27))) goto LA13;
			tmp = gettemp_547954(p, NIM_TRUE);
			memset((void*)LOC15, 0, sizeof(LOC15));
			LOC15[0] = tmp;
			LOC15[1] = a.res;
			unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4921), LOC15, 2));
		}
		goto LA7;
		LA13: ;
		{
			internalerror_194172((*n).info, ((NimStringDesc*) &TMP4922));
		}
		LA7: ;
	}
	LA1: ;
}

N_NIMCALL(void, genarrayaccess_551384)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Ttype223847* ty;
	TY541257 LOC14;
	ty = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106242013440));
	{
		Ttype223847* LOC5;
		if (!((6291456 &(IL64(1)<<(((*ty).kind)&IL64(63))))!=0)) goto LA3;
		LOC5 = 0;
		LOC5 = lastson_226426(ty);
		ty = skiptypes_227167(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_551298(p, n, r);
	}
	break;
	case ((NU8) 18):
	{
		genfieldaddr_551105(p, n, r);
	}
	break;
	default:
	{
		NimStringDesc* LOC9;
		LOC9 = 0;
		LOC9 = rawNewString(reprEnum((*ty).kind, (&NTI223262))->Sup.len + 21);
appendString(LOC9, ((NimStringDesc*) &TMP4919));
appendString(LOC9, reprEnum((*ty).kind, (&NTI223262)));
appendChar(LOC9, 41);
		internalerror_194172((*n).info, LOC9);
	}
	break;
	}
	(*r).typ = ((NU8) 0);
	{
		if (!((*r).res == NIM_NIL)) goto LA12;
		internalerror_194172((*n).info, ((NimStringDesc*) &TMP4923));
	}
	LA12: ;
	memset((void*)LOC14, 0, sizeof(LOC14));
	LOC14[0] = (*r).address;
	LOC14[1] = (*r).res;
	unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4892), LOC14, 2));
	unsureAsgnRef((void**) (&(*r).address), NIM_NIL);
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gencheckedfieldaccess_551285)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	genfieldaccess_551188(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
}

N_NIMCALL(void, upconv_554333)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
}

N_NIMCALL(void, genrangechck_554346)(Tproc547033* p, Tnode223809* n, Tcompres547023* r, NimStringDesc* magic) {
	Tcompres547023 a;
	Tcompres547023 b;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	{
		TY513578 LOC5;
		if (!(((*p).options &(1<<((((NU8) 3))&31)))!=0)) goto LA3;
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&b));
		usemagic_547838(p, ((NimStringDesc*) &TMP4924));
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = (*r).res;
		LOC5[1] = a.res;
		LOC5[2] = b.res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4925), LOC5, 3));
		(*r).kind = ((NU8) 1);
	}
	LA3: ;
}

N_NIMCALL(void, convstrtocstr_554380)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	{
		if (!((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 72))) goto LA3;
		gen_547808(p, (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 0)], r);
	}
	goto LA1;
	LA3: ;
	{
		TY174572 LOC10;
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		{
			if (!((*r).res == NIM_NIL)) goto LA8;
			internalerror_194172((*n).info, ((NimStringDesc*) &TMP4928));
		}
		LA8: ;
		usemagic_547838(p, ((NimStringDesc*) &TMP4881));
		memset((void*)LOC10, 0, sizeof(LOC10));
		LOC10[0] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4929), LOC10, 1));
		(*r).kind = ((NU8) 1);
	}
	LA1: ;
}

N_NIMCALL(void, convcstrtostr_554419)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	{
		if (!((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 71))) goto LA3;
		gen_547808(p, (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 0)], r);
	}
	goto LA1;
	LA3: ;
	{
		TY174572 LOC10;
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		{
			if (!((*r).res == NIM_NIL)) goto LA8;
			internalerror_194172((*n).info, ((NimStringDesc*) &TMP4930));
		}
		LA8: ;
		usemagic_547838(p, ((NimStringDesc*) &TMP4711));
		memset((void*)LOC10, 0, sizeof(LOC10));
		LOC10[0] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4712), LOC10, 1));
		(*r).kind = ((NU8) 1);
	}
	LA1: ;
}

N_NIMCALL(void, genblock_549876)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	NI idx;
	NI labl;
	NimStringDesc* LOC9;
	TY174572 LOC15;
	NimStringDesc* LOC16;
	TY174572 LOC22;
	(*p).unique += ((NI) 1);
	idx = ((*p).blocks ? (*p).blocks->Sup.len : 0);
	{
		Tsym223841* 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_194172((*n).info, ((NimStringDesc*) &TMP4931));
		}
		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 = (TY547071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock547025), ((NI) ((NI)(idx + ((NI) 1)))));
	(*p).blocks->data[idx].id = ((NI64)-((*p).unique));
	labl = (*p).unique;
	LOC9 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA12;
		LOC9 = copyString(((NimStringDesc*) &TMP4932));
	}
	goto LA10;
	LA12: ;
	{
		LOC9 = copyString(((NimStringDesc*) &TMP4731));
	}
	LA10: ;
	memset((void*)LOC15, 0, sizeof(LOC15));
	LOC15[0] = rope_174407(((NI64) (labl)));
	addf_175635(&(*p).body, LOC9, LOC15, 1);
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	LOC16 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA19;
		LOC16 = copyString(((NimStringDesc*) &TMP4933));
	}
	goto LA17;
	LA19: ;
	{
		LOC16 = copyString(((NimStringDesc*) &TMP4934));
	}
	LA17: ;
	memset((void*)LOC22, 0, sizeof(LOC22));
	LOC22[0] = rope_174407(((NI64) (labl)));
	addf_175635(&(*p).body, LOC16, LOC22, 1);
	(*p).blocks = (TY547071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock547025), ((NI) (idx)));
}

N_NIMCALL(void, moveinto_549161)(Tproc547033* p, Tcompres547023* src, Tcompres547023* dest) {
	{
		if (!!(((*src).kind == ((NU8) 0)))) goto LA3;
		{
			TY541257 LOC9;
			if (!!(((*dest).kind == ((NU8) 0)))) goto LA7;
			memset((void*)LOC9, 0, sizeof(LOC9));
			LOC9[0] = rdloc_547127(dest);
			LOC9[1] = rdloc_547127((&(*src)));
			addf_175635(&(*p).body, ((NimStringDesc*) &TMP4842), LOC9, 2);
		}
		goto LA5;
		LA7: ;
		{
			TY174572 LOC11;
			memset((void*)LOC11, 0, sizeof(LOC11));
			LOC11[0] = rdloc_547127((&(*src)));
			addf_175635(&(*p).body, ((NimStringDesc*) &TMP4939), LOC11, 1);
		}
		LA5: ;
		(*src).kind = ((NU8) 0);
		unsureAsgnRef((void**) (&(*src).res), NIM_NIL);
	}
	LA3: ;
}

N_NIMCALL(void, genif_550493)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 cond;
	Tcompres547023 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_228933((*n).typ);
		if (!!(LOC3)) goto LA4;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_547954(p, NIM_TRUE));
	}
	LA4: ;
	{
		NI i_550514;
		NI HEX3Atmp_550615;
		NI LOC7;
		NI res_550618;
		i_550514 = 0;
		HEX3Atmp_550615 = 0;
		LOC7 = 0;
		LOC7 = sonslen_226387(n);
		HEX3Atmp_550615 = (NI)(LOC7 - ((NI) 1));
		res_550618 = ((NI) 0);
		{
			while (1) {
				Tnode223809* it;
				NimStringDesc* LOC41;
				TY511664 LOC47;
				if (!(res_550618 <= HEX3Atmp_550615)) goto LA9;
				i_550514 = res_550618;
				it = (*n).kindU.S6.sons->data[i_550514];
				{
					NI LOC12;
					NimStringDesc* LOC26;
					TY174572 LOC32;
					LOC12 = 0;
					LOC12 = sonslen_226387(it);
					if (!!((LOC12 == ((NI) 1)))) goto LA13;
					{
						NimStringDesc* LOC19;
						TY511664 LOC25;
						if (!(((NI) 0) < i_550514)) goto LA17;
						LOC19 = 0;
						{
							if (!((*p).target == ((NU8) 0))) goto LA22;
							LOC19 = copyString(((NimStringDesc*) &TMP4935));
						}
						goto LA20;
						LA22: ;
						{
							LOC19 = copyString(((NimStringDesc*) &TMP4936));
						}
						LA20: ;
						memset((void*)LOC25, 0, sizeof(LOC25));
						addf_175635(&(*p).body, LOC19, LOC25, 0);
						toclose += ((NI) 1);
					}
					LA17: ;
					gen_547808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&cond));
					LOC26 = 0;
					{
						if (!((*p).target == ((NU8) 0))) goto LA29;
						LOC26 = copyString(((NimStringDesc*) &TMP4937));
					}
					goto LA27;
					LA29: ;
					{
						LOC26 = copyString(((NimStringDesc*) &TMP4938));
					}
					LA27: ;
					memset((void*)LOC32, 0, sizeof(LOC32));
					LOC32[0] = rdloc_547127((&cond));
					addf_175635(&(*p).body, LOC26, LOC32, 1);
					gen_547808(p, (*it).kindU.S6.sons->data[((NI) 1)], (&stmt));
				}
				goto LA10;
				LA13: ;
				{
					NimStringDesc* LOC34;
					TY511664 LOC40;
					LOC34 = 0;
					{
						if (!((*p).target == ((NU8) 0))) goto LA37;
						LOC34 = copyString(((NimStringDesc*) &TMP4935));
					}
					goto LA35;
					LA37: ;
					{
						LOC34 = copyString(((NimStringDesc*) &TMP4936));
					}
					LA35: ;
					memset((void*)LOC40, 0, sizeof(LOC40));
					addf_175635(&(*p).body, LOC34, LOC40, 0);
					gen_547808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&stmt));
				}
				LA10: ;
				moveinto_549161(p, (&stmt), (&(*r)));
				LOC41 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA44;
					LOC41 = copyString(((NimStringDesc*) &TMP4940));
				}
				goto LA42;
				LA44: ;
				{
					LOC41 = copyString(((NimStringDesc*) &TMP4941));
				}
				LA42: ;
				memset((void*)LOC47, 0, sizeof(LOC47));
				addf_175635(&(*p).body, LOC41, LOC47, 0);
				res_550618 += ((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_172654->Sup.len + 0);
appendString(LOC52, LOC53);
appendString(LOC52, tnl_172654);
		add_174545(&(*p).body, LOC52);
	}
	goto LA48;
	LA50: ;
	{
		{
			NI i_550604;
			NI res_550626;
			i_550604 = 0;
			res_550626 = ((NI) 1);
			{
				while (1) {
					TY511664 LOC58;
					if (!(res_550626 <= toclose)) goto LA57;
					i_550604 = res_550626;
					memset((void*)LOC58, 0, sizeof(LOC58));
					addf_175635(&(*p).body, ((NimStringDesc*) &TMP4941), LOC58, 0);
					res_550626 += ((NI) 1);
				} LA57: ;
			}
		}
	}
	LA48: ;
}

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

N_NIMCALL(void, genlinedir_548929)(Tproc547033* p, Tnode223809* n) {
	NI line;
	line = tolinenumber_189839((*n).info);
	{
		NimStringDesc* LOC5;
		TY541257 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*) &TMP4943));
		}
		goto LA6;
		LA8: ;
		{
			LOC5 = copyString(((NimStringDesc*) &TMP4944));
		}
		LA6: ;
		memset((void*)LOC11, 0, sizeof(LOC11));
		LOC12 = 0;
		LOC12 = tofilename_189652((*n).info.fileindex);
		LOC11[0] = rope_174322(LOC12);
		LOC11[1] = rope_174407(((NI64) (line)));
		addf_175635(&(*p).body, LOC5, LOC11, 2);
	}
	LA3: ;
	{
		NIM_BOOL LOC15;
		NIM_BOOL LOC17;
		TY174572 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_547838(p, ((NimStringDesc*) &TMP4945));
		memset((void*)LOC21, 0, sizeof(LOC21));
		LOC21[0] = rope_174407(((NI64) (line)));
		addf_175635(&(*p).body, ((NimStringDesc*) &TMP4946), LOC21, 1);
	}
	goto LA13;
	LA19: ;
	{
		NIM_BOOL LOC23;
		NIM_BOOL LOC25;
		TY174572 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_174407(((NI64) (line)));
		addf_175635(&(*p).body, ((NimStringDesc*) &TMP4947), LOC29, 1);
	}
	goto LA13;
	LA27: ;
	LA13: ;
}

N_NIMCALL(void, genwhilestmt_549064)(Tproc547033* p, Tnode223809* n) {
	Tcompres547023 cond;
	NI length;
	Ropeobj174009* labl;
	NimStringDesc* LOC7;
	TY174572 LOC13;
	NimStringDesc* LOC14;
	TY541257 LOC20;
	NimStringDesc* LOC21;
	TY174572 LOC27;
	memset((void*)(&cond), 0, sizeof(cond));
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC6;
		LOC3 = 0;
		LOC3 = isemptytype_228933((*n).typ);
		if (!!(LOC3)) goto LA4;
		LOC6 = 0;
		LOC6 = HEX24_194279(TMP4942);
		internalerror_194191(LOC6);
	}
	LA4: ;
	genlinedir_548929(p, n);
	(*p).unique += ((NI) 1);
	length = ((*p).blocks ? (*p).blocks->Sup.len : 0);
	(*p).blocks = (TY547071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock547025), ((NI) ((NI)(length + ((NI) 1)))));
	(*p).blocks->data[length].id = ((NI64)-((*p).unique));
	(*p).blocks->data[length].isloop = NIM_TRUE;
	labl = rope_174407(((NI64) ((*p).unique)));
	LOC7 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA10;
		LOC7 = copyString(((NimStringDesc*) &TMP4948));
	}
	goto LA8;
	LA10: ;
	{
		LOC7 = copyString(((NimStringDesc*) &TMP4949));
	}
	LA8: ;
	memset((void*)LOC13, 0, sizeof(LOC13));
	LOC13[0] = labl;
	addf_175635(&(*p).body, LOC7, LOC13, 1);
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&cond));
	LOC14 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA17;
		LOC14 = copyString(((NimStringDesc*) &TMP4950));
	}
	goto LA15;
	LA17: ;
	{
		LOC14 = copyString(((NimStringDesc*) &TMP4951));
	}
	LA15: ;
	memset((void*)LOC20, 0, sizeof(LOC20));
	LOC20[0] = cond.res;
	LOC20[1] = labl;
	addf_175635(&(*p).body, LOC14, LOC20, 2);
	genstmt_547817(p, (*n).kindU.S6.sons->data[((NI) 1)]);
	LOC21 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA24;
		LOC21 = copyString(((NimStringDesc*) &TMP4940));
	}
	goto LA22;
	LA24: ;
	{
		LOC21 = copyString(((NimStringDesc*) &TMP4952));
	}
	LA22: ;
	memset((void*)LOC27, 0, sizeof(LOC27));
	LOC27[0] = labl;
	addf_175635(&(*p).body, LOC21, LOC27, 1);
	(*p).blocks = (TY547071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock547025), ((NI) (length)));
}

N_NIMCALL(void, genvarstmt_553240)(Tproc547033* p, Tnode223809* n) {
	{
		NI i_553256;
		NI HEX3Atmp_553617;
		NI LOC2;
		NI res_553620;
		i_553256 = 0;
		HEX3Atmp_553617 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226387(n);
		HEX3Atmp_553617 = (NI)(LOC2 - ((NI) 1));
		res_553620 = ((NI) 0);
		{
			while (1) {
				Tnode223809* a;
				if (!(res_553620 <= HEX3Atmp_553617)) goto LA4;
				i_553256 = res_553620;
				a = (*n).kindU.S6.sons->data[i_553256];
				{
					if (!!(((*a).kind == ((NU8) 125)))) goto LA7;
					{
						Tnode223809* unpacked;
						if (!((*a).kind == ((NU8) 36))) goto LA11;
						unpacked = lowertupleunpacking_400087(a, (*p).prc);
						genstmt_547817(p, unpacked);
					}
					goto LA9;
					LA11: ;
					{
						Tsym223841* v;
						v = (*(*a).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
						{
							if (!!((((*v).loc.flags &(1<<((((NU8) 3))&15)))!=0))) goto LA16;
							genlinedir_548929(p, a);
							genvarinit_553110(p, v, (*a).kindU.S6.sons->data[((NI) 2)]);
						}
						LA16: ;
					}
					LA9: ;
				}
				LA7: ;
				res_553620 += ((NI) 1);
			} LA4: ;
		}
	}
}

N_NIMCALL(void, gencasejs_549553)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 cond;
	Tcompres547023 stmt;
	NIM_BOOL stringswitch;
	Ttype223847* LOC1;
	TY511664 LOC46;
	memset((void*)(&cond), 0, sizeof(cond));
	memset((void*)(&stmt), 0, sizeof(stmt));
	genlinedir_548929(p, n);
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&cond));
	LOC1 = 0;
	LOC1 = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106240964864));
	stringswitch = ((*LOC1).kind == ((NU8) 28));
	{
		TY174572 LOC6;
		if (!stringswitch) goto LA4;
		usemagic_547838(p, ((NimStringDesc*) &TMP4881));
		memset((void*)LOC6, 0, sizeof(LOC6));
		LOC6[0] = rdloc_547127((&cond));
		addf_175635(&(*p).body, ((NimStringDesc*) &TMP4954), LOC6, 1);
	}
	goto LA2;
	LA4: ;
	{
		TY174572 LOC8;
		memset((void*)LOC8, 0, sizeof(LOC8));
		LOC8[0] = rdloc_547127((&cond));
		addf_175635(&(*p).body, ((NimStringDesc*) &TMP4955), LOC8, 1);
	}
	LA2: ;
	{
		NIM_BOOL LOC11;
		LOC11 = 0;
		LOC11 = isemptytype_228933((*n).typ);
		if (!!(LOC11)) goto LA12;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_547954(p, NIM_TRUE));
	}
	LA12: ;
	{
		NI i_549592;
		NI HEX3Atmp_549682;
		NI LOC15;
		NI res_549685;
		i_549592 = 0;
		HEX3Atmp_549682 = 0;
		LOC15 = 0;
		LOC15 = sonslen_226387(n);
		HEX3Atmp_549682 = (NI)(LOC15 - ((NI) 1));
		res_549685 = ((NI) 1);
		{
			while (1) {
				Tnode223809* it;
				if (!(res_549685 <= HEX3Atmp_549682)) goto LA17;
				i_549592 = res_549685;
				it = (*n).kindU.S6.sons->data[i_549592];
				switch ((*it).kind) {
				case ((NU8) 85):
				{
					Tnode223809* LOC40;
					TY511664 LOC41;
					{
						NI j_549607;
						NI HEX3Atmp_549672;
						NI LOC20;
						NI res_549675;
						j_549607 = 0;
						HEX3Atmp_549672 = 0;
						LOC20 = 0;
						LOC20 = sonslen_226387(it);
						HEX3Atmp_549672 = (NI)(LOC20 - ((NI) 2));
						res_549675 = ((NI) 0);
						{
							while (1) {
								Tnode223809* e;
								if (!(res_549675 <= HEX3Atmp_549672)) goto LA22;
								j_549607 = res_549675;
								e = (*it).kindU.S6.sons->data[j_549607];
								{
									Tnode223809* v;
									if (!((*e).kind == ((NU8) 44))) goto LA25;
									v = copynode_227660((*e).kindU.S6.sons->data[((NI) 0)]);
									{
										while (1) {
											TY174572 LOC29;
											if (!((*v).kindU.S1.intval <= (*(*e).kindU.S6.sons->data[((NI) 1)]).kindU.S1.intval)) goto LA28;
											gen_547808(p, v, (&cond));
											memset((void*)LOC29, 0, sizeof(LOC29));
											LOC29[0] = rdloc_547127((&cond));
											addf_175635(&(*p).body, ((NimStringDesc*) &TMP4956), LOC29, 1);
											(*v).kindU.S1.intval += ((NI) 1);
										} LA28: ;
									}
								}
								goto LA23;
								LA25: ;
								{
									{
										if (!stringswitch) goto LA33;
										switch ((*e).kind) {
										case ((NU8) 20) ... ((NU8) 22):
										{
											TY174572 LOC36;
											memset((void*)LOC36, 0, sizeof(LOC36));
											LOC36[0] = makejsstring_547305((*e).kindU.S3.strval);
											addf_175635(&(*p).body, ((NimStringDesc*) &TMP4956), LOC36, 1);
										}
										break;
										default:
										{
											internalerror_194172((*e).info, ((NimStringDesc*) &TMP4957));
										}
										break;
										}
									}
									goto LA31;
									LA33: ;
									{
										TY174572 LOC39;
										gen_547808(p, e, (&cond));
										memset((void*)LOC39, 0, sizeof(LOC39));
										LOC39[0] = rdloc_547127((&cond));
										addf_175635(&(*p).body, ((NimStringDesc*) &TMP4956), LOC39, 1);
									}
									LA31: ;
								}
								LA23: ;
								res_549675 += ((NI) 1);
							} LA22: ;
						}
					}
					LOC40 = 0;
					LOC40 = lastson_226406(it);
					gen_547808(p, LOC40, (&stmt));
					moveinto_549161(p, (&stmt), (&(*r)));
					memset((void*)LOC41, 0, sizeof(LOC41));
					addf_175635(&(*p).body, ((NimStringDesc*) &TMP4958), LOC41, 0);
				}
				break;
				case ((NU8) 88):
				{
					TY511664 LOC43;
					TY511664 LOC44;
					memset((void*)LOC43, 0, sizeof(LOC43));
					addf_175635(&(*p).body, ((NimStringDesc*) &TMP4959), LOC43, 0);
					gen_547808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&stmt));
					moveinto_549161(p, (&stmt), (&(*r)));
					memset((void*)LOC44, 0, sizeof(LOC44));
					addf_175635(&(*p).body, ((NimStringDesc*) &TMP4960), LOC44, 0);
				}
				break;
				default:
				{
					internalerror_194172((*it).info, ((NimStringDesc*) &TMP4961));
				}
				break;
				}
				res_549685 += ((NI) 1);
			} LA17: ;
		}
	}
	memset((void*)LOC46, 0, sizeof(LOC46));
	addf_175635(&(*p).body, ((NimStringDesc*) &TMP4940), LOC46, 0);
}

N_NIMCALL(void, gencaselua_549720)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	Tcompres547023 cond;
	Tcompres547023 stmt;
	NIM_BOOL stringswitch;
	Ttype223847* LOC1;
	Ropeobj174009* tmp;
	TY541257 LOC6;
	TY511664 LOC52;
	memset((void*)(&cond), 0, sizeof(cond));
	memset((void*)(&stmt), 0, sizeof(stmt));
	genlinedir_548929(p, n);
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&cond));
	LOC1 = 0;
	LOC1 = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106240964864));
	stringswitch = ((*LOC1).kind == ((NU8) 28));
	{
		if (!stringswitch) goto LA4;
		usemagic_547838(p, ((NimStringDesc*) &TMP4962));
	}
	LA4: ;
	tmp = gettemp_547954(p, NIM_TRUE);
	memset((void*)LOC6, 0, sizeof(LOC6));
	LOC6[0] = tmp;
	LOC6[1] = rdloc_547127((&cond));
	addf_175635(&(*p).body, ((NimStringDesc*) &TMP4842), LOC6, 2);
	{
		NIM_BOOL LOC9;
		LOC9 = 0;
		LOC9 = isemptytype_228933((*n).typ);
		if (!!(LOC9)) goto LA10;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_547954(p, NIM_TRUE));
	}
	LA10: ;
	{
		NI i_549757;
		NI HEX3Atmp_549844;
		NI LOC13;
		NI res_549847;
		i_549757 = 0;
		HEX3Atmp_549844 = 0;
		LOC13 = 0;
		LOC13 = sonslen_226387(n);
		HEX3Atmp_549844 = (NI)(LOC13 - ((NI) 1));
		res_549847 = ((NI) 1);
		{
			while (1) {
				Tnode223809* it;
				if (!(res_549847 <= HEX3Atmp_549844)) goto LA15;
				i_549757 = res_549847;
				it = (*n).kindU.S6.sons->data[i_549757];
				switch ((*it).kind) {
				case ((NU8) 85):
				{
					TY511664 LOC47;
					Tnode223809* LOC48;
					{
						TY511664 LOC21;
						if (!!((i_549757 == ((NI) 1)))) goto LA19;
						memset((void*)LOC21, 0, sizeof(LOC21));
						addf_175635(&(*p).body, ((NimStringDesc*) &TMP4963), LOC21, 0);
					}
					goto LA17;
					LA19: ;
					{
						TY511664 LOC23;
						memset((void*)LOC23, 0, sizeof(LOC23));
						addf_175635(&(*p).body, ((NimStringDesc*) &TMP4964), LOC23, 0);
					}
					LA17: ;
					{
						NI j_549780;
						NI HEX3Atmp_549835;
						NI LOC25;
						NI res_549838;
						j_549780 = 0;
						HEX3Atmp_549835 = 0;
						LOC25 = 0;
						LOC25 = sonslen_226387(it);
						HEX3Atmp_549835 = (NI)(LOC25 - ((NI) 2));
						res_549838 = ((NI) 0);
						{
							while (1) {
								Tnode223809* e;
								if (!(res_549838 <= HEX3Atmp_549835)) goto LA27;
								j_549780 = res_549838;
								{
									if (!!((j_549780 == ((NI) 0)))) goto LA30;
									add_174545(&(*p).body, ((NimStringDesc*) &TMP4965));
								}
								LA30: ;
								e = (*it).kindU.S6.sons->data[j_549780];
								{
									Tcompres547023 ia;
									Tcompres547023 ib;
									TY513578 LOC36;
									if (!((*e).kind == ((NU8) 44))) goto LA34;
									memset((void*)(&ia), 0, sizeof(ia));
									memset((void*)(&ib), 0, sizeof(ib));
									gen_547808(p, (*e).kindU.S6.sons->data[((NI) 0)], (&ia));
									gen_547808(p, (*e).kindU.S6.sons->data[((NI) 1)], (&ib));
									memset((void*)LOC36, 0, sizeof(LOC36));
									LOC36[0] = tmp;
									LOC36[1] = rdloc_547127((&ia));
									LOC36[2] = rdloc_547127((&ib));
									addf_175635(&(*p).body, ((NimStringDesc*) &TMP4966), LOC36, 3);
								}
								goto LA32;
								LA34: ;
								{
									{
										if (!stringswitch) goto LA40;
										switch ((*e).kind) {
										case ((NU8) 20) ... ((NU8) 22):
										{
											TY541257 LOC43;
											memset((void*)LOC43, 0, sizeof(LOC43));
											LOC43[0] = tmp;
											LOC43[1] = makejsstring_547305((*e).kindU.S3.strval);
											addf_175635(&(*p).body, ((NimStringDesc*) &TMP4967), LOC43, 2);
										}
										break;
										default:
										{
											internalerror_194172((*e).info, ((NimStringDesc*) &TMP4957));
										}
										break;
										}
									}
									goto LA38;
									LA40: ;
									{
										TY541257 LOC46;
										gen_547808(p, e, (&cond));
										memset((void*)LOC46, 0, sizeof(LOC46));
										LOC46[0] = tmp;
										LOC46[1] = rdloc_547127((&cond));
										addf_175635(&(*p).body, ((NimStringDesc*) &TMP4968), LOC46, 2);
									}
									LA38: ;
								}
								LA32: ;
								res_549838 += ((NI) 1);
							} LA27: ;
						}
					}
					memset((void*)LOC47, 0, sizeof(LOC47));
					addf_175635(&(*p).body, ((NimStringDesc*) &TMP4969), LOC47, 0);
					LOC48 = 0;
					LOC48 = lastson_226406(it);
					gen_547808(p, LOC48, (&stmt));
					moveinto_549161(p, (&stmt), (&(*r)));
				}
				break;
				case ((NU8) 88):
				{
					TY511664 LOC50;
					memset((void*)LOC50, 0, sizeof(LOC50));
					addf_175635(&(*p).body, ((NimStringDesc*) &TMP4936), LOC50, 0);
					gen_547808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&stmt));
					moveinto_549161(p, (&stmt), (&(*r)));
				}
				break;
				default:
				{
					internalerror_194172((*it).info, ((NimStringDesc*) &TMP4961));
				}
				break;
				}
				res_549847 += ((NI) 1);
			} LA15: ;
		}
	}
	memset((void*)LOC52, 0, sizeof(LOC52));
	addf_175635(&(*p).body, ((NimStringDesc*) &TMP4970), LOC52, 0);
}

N_NIMCALL(void, genreturnstmt_554458)(Tproc547033* p, Tnode223809* n) {
	NimStringDesc* LOC10;
	TY511664 LOC16;
	{
		if (!((*p).procdef == NIM_NIL)) goto LA3;
		internalerror_194172((*n).info, ((NimStringDesc*) &TMP4971));
	}
	LA3: ;
	(*p).beforeretneeded = NIM_TRUE;
	{
		if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 1)))) goto LA7;
		genstmt_547817(p, (*n).kindU.S6.sons->data[((NI) 0)]);
	}
	goto LA5;
	LA7: ;
	{
		genlinedir_548929(p, n);
	}
	LA5: ;
	LOC10 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA13;
		LOC10 = copyString(((NimStringDesc*) &TMP4972));
	}
	goto LA11;
	LA13: ;
	{
		LOC10 = copyString(((NimStringDesc*) &TMP4973));
	}
	LA11: ;
	memset((void*)LOC16, 0, sizeof(LOC16));
	addf_175635(&(*p).body, LOC10, LOC16, 0);
}

N_NIMCALL(void, genbreakstmt_549977)(Tproc547033* p, Tnode223809* n) {
	NI idx;
	NimStringDesc* LOC16;
	TY174572 LOC22;
	idx = 0;
	genlinedir_548929(p, n);
	{
		Tsym223841* 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_194172((*n).info, ((NimStringDesc*) &TMP4974));
		}
		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*) &TMP4975));
	}
	goto LA17;
	LA19: ;
	{
		LOC16 = copyString(((NimStringDesc*) &TMP4976));
	}
	LA17: ;
	memset((void*)LOC22, 0, sizeof(LOC22));
	LOC22[0] = rope_174407(((NI64) ((*p).blocks->data[idx].id)));
	addf_175635(&(*p).body, LOC16, LOC22, 1);
}

N_NIMCALL(void, genasgnaux_550896)(Tproc547033* p, Tnode223809* x, Tnode223809* y, NIM_BOOL nocopyneeded) {
	Tcompres547023 a;
	Tcompres547023 b;
	NU8 xtyp;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	gen_547808(p, x, (&a));
	xtyp = maptype_547256((*x).typ);
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		Ropeobj174009* tmp;
		TY541257 LOC9;
		TY174572 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_547808(p, (*x).kindU.S6.sons->data[((NI) 0)], (&a));
		tmp = gettemp_547954(p, NIM_FALSE);
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = tmp;
		LOC9[1] = rdloc_547127((&a));
		addf_175635(&(*p).body, ((NimStringDesc*) &TMP4638), LOC9, 2);
		memset((void*)LOC10, 0, sizeof(LOC10));
		LOC10[0] = tmp;
		a.res = HEX25_175236(((NimStringDesc*) &TMP4977), LOC10, 1);
	}
	goto LA1;
	LA7: ;
	{
		gen_547808(p, x, (&a));
	}
	LA1: ;
	gen_547808(p, y, (&b));
	switch (xtyp) {
	case ((NU8) 7):
	{
		{
			NIM_BOOL LOC15;
			NIM_BOOL LOC16;
			TY541257 LOC21;
			LOC15 = 0;
			LOC16 = 0;
			LOC16 = needsnocopy_550865(y);
			if (!(LOC16)) goto LA17;
			LOC16 = needsnocopy_550865(x);
			LA17: ;
			LOC15 = LOC16;
			if (LOC15) goto LA18;
			LOC15 = nocopyneeded;
			LA18: ;
			if (!LOC15) goto LA19;
			memset((void*)LOC21, 0, sizeof(LOC21));
			LOC21[0] = rdloc_547127((&a));
			LOC21[1] = rdloc_547127((&b));
			addf_175635(&(*p).body, ((NimStringDesc*) &TMP4842), LOC21, 2);
		}
		goto LA13;
		LA19: ;
		{
			TY513578 LOC23;
			usemagic_547838(p, ((NimStringDesc*) &TMP4663));
			memset((void*)LOC23, 0, sizeof(LOC23));
			LOC23[0] = a.res;
			LOC23[1] = b.res;
			LOC23[2] = gentypeinfo_547315(p, (*y).typ);
			addf_175635(&(*p).body, ((NimStringDesc*) &TMP4978), 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;
			{
				Ropeobj174009* tmp;
				TY513575 LOC35;
				if (!((*y).kind == ((NU8) 27))) goto LA33;
				tmp = gettemp_547954(p, NIM_FALSE);
				memset((void*)LOC35, 0, sizeof(LOC35));
				LOC35[0] = tmp;
				LOC35[1] = a.address;
				LOC35[2] = a.res;
				LOC35[3] = rdloc_547127((&b));
				addf_175635(&(*p).body, ((NimStringDesc*) &TMP4979), LOC35, 4);
			}
			goto LA31;
			LA33: ;
			{
				internalerror_194172((*x).info, ((NimStringDesc*) &TMP4980));
			}
			LA31: ;
		}
		goto LA25;
		LA29: ;
		{
			TY513575 LOC38;
			memset((void*)LOC38, 0, sizeof(LOC38));
			LOC38[0] = a.address;
			LOC38[1] = b.address;
			LOC38[2] = a.res;
			LOC38[3] = b.res;
			addf_175635(&(*p).body, ((NimStringDesc*) &TMP4981), LOC38, 4);
		}
		LA25: ;
	}
	break;
	default:
	{
		TY541257 LOC40;
		memset((void*)LOC40, 0, sizeof(LOC40));
		LOC40[0] = a.res;
		LOC40[1] = b.res;
		addf_175635(&(*p).body, ((NimStringDesc*) &TMP4842), LOC40, 2);
	}
	break;
	}
}

N_NIMCALL(void, genasgn_550995)(Tproc547033* p, Tnode223809* n) {
	genlinedir_548929(p, n);
	genasgnaux_550896(p, (*n).kindU.S6.sons->data[((NI) 0)], (*n).kindU.S6.sons->data[((NI) 1)], NIM_FALSE);
}

N_NIMCALL(void, genfastasgn_551007)(Tproc547033* p, Tnode223809* n) {
	genlinedir_548929(p, n);
	genasgnaux_550896(p, (*n).kindU.S6.sons->data[((NI) 0)], (*n).kindU.S6.sons->data[((NI) 1)], NIM_TRUE);
}

N_NIMCALL(void, genasmoremitstmt_550445)(Tproc547033* p, Tnode223809* n) {
	genlinedir_548929(p, n);
	{
		NI i_550461;
		NI HEX3Atmp_550471;
		NI LOC2;
		NI res_550474;
		i_550461 = 0;
		HEX3Atmp_550471 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226387(n);
		HEX3Atmp_550471 = (NI)(LOC2 - ((NI) 1));
		res_550474 = ((NI) 0);
		{
			while (1) {
				if (!(res_550474 <= HEX3Atmp_550471)) goto LA4;
				i_550461 = res_550474;
				switch ((*(*n).kindU.S6.sons->data[i_550461]).kind) {
				case ((NU8) 20) ... ((NU8) 22):
				{
					add_174545(&(*p).body, (*(*n).kindU.S6.sons->data[i_550461]).kindU.S3.strval);
				}
				break;
				case ((NU8) 3):
				{
					Ropeobj174009* LOC7;
					LOC7 = 0;
					LOC7 = manglename_547277((*(*n).kindU.S6.sons->data[i_550461]).kindU.S4.sym);
					add_174534(&(*p).body, LOC7);
				}
				break;
				default:
				{
					internalerror_194172((*(*n).kindU.S6.sons->data[i_550461]).info, ((NimStringDesc*) &TMP4982));
				}
				break;
				}
				res_550474 += ((NI) 1);
			} LA4: ;
		}
	}
}

N_NIMCALL(void, gentry_549197)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	NI i;
	NI length;
	NIM_BOOL catchbranchesexist;
	NIM_BOOL LOC6;
	Ropeobj174009* safepoint;
	TY174572 LOC13;
	NimStringDesc* LOC14;
	TY174572 LOC20;
	NimStringDesc* LOC26;
	TY511664 LOC32;
	Tcompres547023 a;
	NIM_BOOL generalcatchbranchexists;
	genlinedir_548929(p, n);
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isemptytype_228933((*n).typ);
		if (!!(LOC3)) goto LA4;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_547954(p, NIM_TRUE));
	}
	LA4: ;
	(*p).unique += ((NI) 1);
	i = ((NI) 1);
	length = sonslen_226387(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_172654->Sup.len + 13);
appendString(LOC12, ((NimStringDesc*) &TMP4983));
appendString(LOC12, tnl_172654);
		add_174545(&(*p).body, LOC12);
	}
	LA10: ;
	memset((void*)LOC13, 0, sizeof(LOC13));
	LOC13[0] = rope_174407(((NI64) ((*p).unique)));
	safepoint = HEX25_175236(((NimStringDesc*) &TMP4719), LOC13, 1);
	LOC14 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA17;
		LOC14 = copyString(((NimStringDesc*) &TMP4731));
	}
	goto LA15;
	LA17: ;
	{
		LOC14 = copyString(((NimStringDesc*) &TMP4984));
	}
	LA15: ;
	memset((void*)LOC20, 0, sizeof(LOC20));
	LOC20[0] = safepoint;
	addf_175635(&(*p).body, LOC14, LOC20, 1);
	{
		NimStringDesc* LOC25;
		if (!(((*p).options &(1<<((((NU8) 15))&31)))!=0)) goto LA23;
		LOC25 = 0;
		LOC25 = rawNewString(tnl_172654->Sup.len + 13);
appendString(LOC25, ((NimStringDesc*) &TMP4985));
appendString(LOC25, tnl_172654);
		add_174545(&(*p).body, LOC25);
	}
	LA23: ;
	LOC26 = 0;
	{
		if (!((*p).target == ((NU8) 0))) goto LA29;
		LOC26 = copyString(((NimStringDesc*) &TMP4986));
	}
	goto LA27;
	LA29: ;
	{
		LOC26 = copyString(((NimStringDesc*) &TMP4987));
	}
	LA27: ;
	memset((void*)LOC32, 0, sizeof(LOC32));
	addf_175635(&(*p).body, LOC26, LOC32, 0);
	memset((void*)(&a), 0, sizeof(a));
	gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&a));
	moveinto_549161(p, (&a), (&(*r)));
	generalcatchbranchexists = NIM_FALSE;
	{
		NIM_BOOL LOC35;
		TY511664 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_175635(&(*p).body, ((NimStringDesc*) &TMP4988), LOC39, 0);
	}
	goto LA33;
	LA37: ;
	{
		TY511664 LOC43;
		if (!((*p).target == ((NU8) 1))) goto LA41;
		memset((void*)LOC43, 0, sizeof(LOC43));
		addf_175635(&(*p).body, ((NimStringDesc*) &TMP4989), 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_226387((*n).kindU.S6.sons->data[i]);
			{
				if (!(blen == ((NI) 1))) goto LA50;
				generalcatchbranchexists = NIM_TRUE;
				{
					NimStringDesc* LOC56;
					TY511664 LOC62;
					if (!(((NI) 1) < i)) goto LA54;
					LOC56 = 0;
					{
						if (!((*p).target == ((NU8) 0))) goto LA59;
						LOC56 = copyString(((NimStringDesc*) &TMP4935));
					}
					goto LA57;
					LA59: ;
					{
						LOC56 = copyString(((NimStringDesc*) &TMP4936));
					}
					LA57: ;
					memset((void*)LOC62, 0, sizeof(LOC62));
					addf_175635(&(*p).body, LOC56, LOC62, 0);
				}
				LA54: ;
				gen_547808(p, (*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[((NI) 0)], (&a));
				moveinto_549161(p, (&a), (&(*r)));
				{
					NimStringDesc* LOC67;
					TY511664 LOC73;
					if (!(((NI) 1) < i)) goto LA65;
					LOC67 = 0;
					{
						if (!((*p).target == ((NU8) 0))) goto LA70;
						LOC67 = copyString(((NimStringDesc*) &TMP4940));
					}
					goto LA68;
					LA70: ;
					{
						LOC67 = copyString(((NimStringDesc*) &TMP4941));
					}
					LA68: ;
					memset((void*)LOC73, 0, sizeof(LOC73));
					addf_175635(&(*p).body, LOC67, LOC73, 0);
				}
				LA65: ;
			}
			goto LA48;
			LA50: ;
			{
				Ropeobj174009* orexpr;
				NimStringDesc* LOC97;
				TY541257 LOC103;
				NimStringDesc* LOC104;
				TY511664 LOC110;
				orexpr = NIM_NIL;
				usemagic_547838(p, ((NimStringDesc*) &TMP4877));
				{
					NI j_549351;
					NI HEX3Atmp_549493;
					NI res_549496;
					j_549351 = 0;
					HEX3Atmp_549493 = 0;
					HEX3Atmp_549493 = (NI)(blen - ((NI) 2));
					res_549496 = ((NI) 0);
					{
						while (1) {
							TY174572 LOC92;
							if (!(res_549496 <= HEX3Atmp_549493)) goto LA77;
							j_549351 = res_549496;
							{
								if (!!(((*(*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[j_549351]).kind == ((NU8) 4)))) goto LA80;
								internalerror_194172((*n).info, ((NimStringDesc*) &TMP4990));
							}
							LA80: ;
							{
								NimStringDesc* LOC86;
								if (!!((orexpr == NIM_NIL))) goto LA84;
								LOC86 = 0;
								{
									if (!((*p).target == ((NU8) 0))) goto LA89;
									LOC86 = copyString(((NimStringDesc*) &TMP4991));
								}
								goto LA87;
								LA89: ;
								{
									LOC86 = copyString(((NimStringDesc*) &TMP4965));
								}
								LA87: ;
								add_174545(&orexpr, LOC86);
							}
							LA84: ;
							memset((void*)LOC92, 0, sizeof(LOC92));
							LOC92[0] = gentypeinfo_547315(p, (*(*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[j_549351]).typ);
							addf_175635(&orexpr, ((NimStringDesc*) &TMP4992), LOC92, 1);
							res_549496 += ((NI) 1);
						} LA77: ;
					}
				}
				{
					if (!(((NI) 1) < i)) goto LA95;
					add_174545(&(*p).body, ((NimStringDesc*) &TMP4993));
				}
				LA95: ;
				LOC97 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA100;
					LOC97 = copyString(((NimStringDesc*) &TMP4994));
				}
				goto LA98;
				LA100: ;
				{
					LOC97 = copyString(((NimStringDesc*) &TMP4995));
				}
				LA98: ;
				memset((void*)LOC103, 0, sizeof(LOC103));
				LOC103[0] = safepoint;
				LOC103[1] = orexpr;
				addf_175635(&(*p).body, LOC97, LOC103, 2);
				gen_547808(p, (*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[(NI)(blen - ((NI) 1))], (&a));
				moveinto_549161(p, (&a), (&(*r)));
				LOC104 = 0;
				{
					if (!((*p).target == ((NU8) 0))) goto LA107;
					LOC104 = copyString(((NimStringDesc*) &TMP4940));
				}
				goto LA105;
				LA107: ;
				{
					LOC104 = copyString(((NimStringDesc*) &TMP4941));
				}
				LA105: ;
				memset((void*)LOC110, 0, sizeof(LOC110));
				addf_175635(&(*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_547838(p, ((NimStringDesc*) &TMP4996));
				LOC123 = 0;
				LOC123 = rawNewString(tnl_172654->Sup.len + tnl_172654->Sup.len + tnl_172654->Sup.len + 26);
appendString(LOC123, ((NimStringDesc*) &TMP4997));
appendString(LOC123, tnl_172654);
appendString(LOC123, ((NimStringDesc*) &TMP4998));
appendString(LOC123, tnl_172654);
appendString(LOC123, ((NimStringDesc*) &TMP4689));
appendString(LOC123, tnl_172654);
				add_174545(&(*p).body, LOC123);
			}
			LA121: ;
			LOC124 = 0;
			LOC124 = rawNewString(tnl_172654->Sup.len + 26);
appendString(LOC124, ((NimStringDesc*) &TMP4999));
appendString(LOC124, tnl_172654);
			add_174545(&(*p).body, LOC124);
		}
		LA117: ;
		LOC125 = 0;
		LOC125 = rawNewString(tnl_172654->Sup.len + 11);
appendString(LOC125, ((NimStringDesc*) &TMP5000));
appendString(LOC125, tnl_172654);
		add_174545(&(*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_547817(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_172654->Sup.len + 1);
appendString(LOC136, ((NimStringDesc*) &TMP4689));
appendString(LOC136, tnl_172654);
		add_174545(&(*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_547817(p, (*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[((NI) 0)]);
		}
		LA145: ;
	}
	LA139: ;
}

N_NIMCALL(void, genraisestmt_549522)(Tproc547033* p, Tnode223809* n) {
	genlinedir_548929(p, n);
	{
		Tcompres547023 a;
		Ttype223847* typ;
		TY541257 LOC5;
		if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 1)))) goto LA3;
		memset((void*)(&a), 0, sizeof(a));
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&a));
		typ = skiptypes_227167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106247256320));
		usemagic_547838(p, ((NimStringDesc*) &TMP5001));
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = rdloc_547127((&a));
		LOC5[1] = makejsstring_547305((*(*(*typ).sym).name).s);
		addf_175635(&(*p).body, ((NimStringDesc*) &TMP5002), LOC5, 2);
	}
	goto LA1;
	LA3: ;
	{
		NimStringDesc* LOC7;
		usemagic_547838(p, ((NimStringDesc*) &TMP4996));
		LOC7 = 0;
		LOC7 = rawNewString(tnl_172654->Sup.len + 19);
appendString(LOC7, ((NimStringDesc*) &TMP4998));
appendString(LOC7, tnl_172654);
		add_174545(&(*p).body, LOC7);
	}
	LA1: ;
}

N_NIMCALL(void, genpragma_554712)(Tproc547033* p, Tnode223809* n) {
	{
		Tnode223809* it_554726;
		Tnodeseq223803* HEX3Atmp_554729;
		NI i_554732;
		NI L_554734;
		it_554726 = 0;
		HEX3Atmp_554729 = 0;
		HEX3Atmp_554729 = (*n).kindU.S6.sons;
		i_554732 = ((NI) 0);
		L_554734 = (HEX3Atmp_554729 ? HEX3Atmp_554729->Sup.len : 0);
		{
			while (1) {
				NU16 LOC4;
				if (!(i_554732 < L_554734)) goto LA3;
				it_554726 = HEX3Atmp_554729->data[i_554732];
				LOC4 = 0;
				LOC4 = whichpragma_252687(it_554726);
				switch (LOC4) {
				case ((NU16) 189):
				{
					genasmoremitstmt_550445(p, (*it_554726).kindU.S6.sons->data[((NI) 1)]);
				}
				break;
				default:
				{
				}
				break;
				}
				i_554732 += ((NI) 1);
			} LA3: ;
		}
	}
}

N_NIMCALL(void, gen_547808)(Tproc547033* p, Tnode223809* n, Tcompres547023* r) {
	(*r).typ = ((NU8) 0);
	(*r).kind = ((NU8) 0);
	unsureAsgnRef((void**) (&(*r).res), NIM_NIL);
	switch ((*n).kind) {
	case ((NU8) 3):
	{
		gensym_551693(p, n, r);
	}
	break;
	case ((NU8) 5) ... ((NU8) 10):
	{
		unsureAsgnRef((void**) (&(*r).res), rope_174407((*n).kindU.S1.intval));
		(*r).kind = ((NU8) 1);
	}
	break;
	case ((NU8) 23):
	{
		{
			NIM_BOOL LOC6;
			LOC6 = 0;
			LOC6 = isemptytype_228933((*n).typ);
			if (!LOC6) goto LA7;
		}
		goto LA4;
		LA7: ;
		{
			NU8 LOC10;
			LOC10 = 0;
			LOC10 = maptype_547256((*n).typ);
			if (!(LOC10 == ((NU8) 8))) goto LA11;
			(*r).typ = ((NU8) 8);
			{
				if (!((*p).target == ((NU8) 0))) goto LA15;
				unsureAsgnRef((void**) (&(*r).address), rope_174322(((NimStringDesc*) &TMP4708)));
			}
			goto LA13;
			LA15: ;
			{
				unsureAsgnRef((void**) (&(*r).address), rope_174322(((NimStringDesc*) &TMP4709)));
			}
			LA13: ;
			unsureAsgnRef((void**) (&(*r).res), rope_174322(((NimStringDesc*) &TMP4710)));
			(*r).kind = ((NU8) 1);
		}
		goto LA4;
		LA11: ;
		{
			{
				if (!((*p).target == ((NU8) 0))) goto LA21;
				unsureAsgnRef((void**) (&(*r).res), rope_174322(((NimStringDesc*) &TMP4708)));
			}
			goto LA19;
			LA21: ;
			{
				unsureAsgnRef((void**) (&(*r).res), rope_174322(((NimStringDesc*) &TMP4709)));
			}
			LA19: ;
			(*r).kind = ((NU8) 1);
		}
		LA4: ;
	}
	break;
	case ((NU8) 20) ... ((NU8) 22):
	{
		{
			Ttype223847* LOC27;
			TY174572 LOC30;
			LOC27 = 0;
			LOC27 = skiptypes_227167((*n).typ, IL64(211106242013440));
			if (!((*LOC27).kind == ((NU8) 28))) goto LA28;
			usemagic_547838(p, ((NimStringDesc*) &TMP4711));
			memset((void*)LOC30, 0, sizeof(LOC30));
			LOC30[0] = makejsstring_547305((*n).kindU.S3.strval);
			unsureAsgnRef((void**) (&(*r).res), HEX25_175236(((NimStringDesc*) &TMP4712), LOC30, 1));
		}
		goto LA25;
		LA28: ;
		{
			unsureAsgnRef((void**) (&(*r).res), makejsstring_547305((*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_174322(((NimStringDesc*) &TMP4713)));
		}
		goto LA33;
		LA35: ;
		{
			if (!(f == 0.0)) goto LA38;
			unsureAsgnRef((void**) (&(*r).res), rope_174322(((NimStringDesc*) &TMP4714)));
		}
		goto LA33;
		LA38: ;
		{
			if (!(f == ((NF)(5.0000000000000000e-01) * (NF)(f)))) goto LA41;
			{
				if (!(0.0 < f)) goto LA45;
				unsureAsgnRef((void**) (&(*r).res), rope_174322(((NimStringDesc*) &TMP4715)));
			}
			goto LA43;
			LA45: ;
			{
				unsureAsgnRef((void**) (&(*r).res), rope_174322(((NimStringDesc*) &TMP4716)));
			}
			LA43: ;
		}
		goto LA33;
		LA41: ;
		{
			NimStringDesc* LOC49;
			LOC49 = 0;
			LOC49 = tostrmaxprecision_230024(f);
			unsureAsgnRef((void**) (&(*r).res), rope_174322(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_553908(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_224098(n);
			LOC58 = (((NI) 2) <= LOC62);
			LA61: ;
			if (!LOC58) goto LA63;
			geninfixcall_552655(p, n, r);
		}
		goto LA51;
		LA63: ;
		{
			gencall_552642(p, n, r);
		}
		LA51: ;
	}
	break;
	case ((NU8) 39):
	{
		gensetconstr_553991(p, n, r);
	}
	break;
	case ((NU8) 41):
	{
		genarrayconstr_554059(p, n, r);
	}
	break;
	case ((NU8) 37):
	{
		gentupleconstr_554108(p, n, r);
	}
	break;
	case ((NU8) 38):
	{
		genobjconstr_554179(p, n, r);
	}
	break;
	case ((NU8) 58):
	case ((NU8) 59):
	case ((NU8) 60):
	{
		genconv_554295(p, n, r);
	}
	break;
	case ((NU8) 63):
	case ((NU8) 64):
	{
		genaddr_551507(p, n, r);
	}
	break;
	case ((NU8) 47):
	case ((NU8) 65):
	{
		genderef_551892(p, n, r);
	}
	break;
	case ((NU8) 42):
	{
		genarrayaccess_551384(p, n, r);
	}
	break;
	case ((NU8) 45):
	{
		genfieldaccess_551188(p, n, r);
	}
	break;
	case ((NU8) 46):
	{
		gencheckedfieldaccess_551285(p, n, r);
	}
	break;
	case ((NU8) 66):
	{
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	}
	break;
	case ((NU8) 67):
	{
		upconv_554333(p, n, r);
	}
	break;
	case ((NU8) 61):
	{
		gen_547808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	}
	break;
	case ((NU8) 68):
	{
		genrangechck_554346(p, n, r, ((NimStringDesc*) &TMP4926));
	}
	break;
	case ((NU8) 69):
	{
		genrangechck_554346(p, n, r, ((NimStringDesc*) &TMP4927));
	}
	break;
	case ((NU8) 70):
	{
		genrangechck_554346(p, n, r, ((NimStringDesc*) &TMP4924));
	}
	break;
	case ((NU8) 71):
	{
		convstrtocstr_554380(p, n, r);
	}
	break;
	case ((NU8) 72):
	{
		convcstrtostr_554419(p, n, r);
	}
	break;
	case ((NU8) 1):
	{
	}
	break;
	case ((NU8) 51):
	case ((NU8) 52):
	{
		Tsym223841* s;
		Ropeobj174009* LOC86;
		s = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		LOC86 = 0;
		LOC86 = manglename_547277(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;
			Ropeobj174009* LOC97;
			LOC94 = 0;
			LOC94 = containsorincl_220898((&(*(*p).g).generatedsyms), (*s).Sup.id);
			if (!!(LOC94)) goto LA95;
			LOC97 = 0;
			LOC97 = genproc_547824(p, s);
			add_174534(&(*p).locals, LOC97);
		}
		goto LA87;
		LA95: ;
		LA87: ;
	}
	break;
	case ((NU8) 4):
	{
		unsureAsgnRef((void**) (&(*r).res), gentypeinfo_547315(p, (*n).typ));
	}
	break;
	case ((NU8) 115):
	case ((NU8) 126):
	{
		NIM_BOOL isexpr;
		NIM_BOOL LOC100;
		LOC100 = 0;
		LOC100 = isemptytype_228933((*n).typ);
		isexpr = !(LOC100);
		{
			NI i_554896;
			NI HEX3Atmp_554959;
			NI LOC102;
			NI res_554962;
			i_554896 = 0;
			HEX3Atmp_554959 = 0;
			LOC102 = 0;
			LOC102 = sonslen_226387(n);
			HEX3Atmp_554959 = (NI)((NI)(LOC102 - ((NI) 1)) - ((NI) (isexpr)));
			res_554962 = ((NI) 0);
			{
				while (1) {
					if (!(res_554962 <= HEX3Atmp_554959)) goto LA104;
					i_554896 = res_554962;
					genstmt_547817(p, (*n).kindU.S6.sons->data[i_554896]);
					res_554962 += ((NI) 1);
				} LA104: ;
			}
		}
		{
			Tnode223809* LOC109;
			if (!isexpr) goto LA107;
			LOC109 = 0;
			LOC109 = lastson_226406(n);
			gen_547808(p, LOC109, r);
		}
		LA107: ;
	}
	break;
	case ((NU8) 112):
	case ((NU8) 127):
	{
		genblock_549876(p, n, r);
	}
	break;
	case ((NU8) 92):
	case ((NU8) 48):
	{
		genif_550493(p, n, r);
	}
	break;
	case ((NU8) 93):
	{
		gen_547808(p, (*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S6.sons->data[((NI) 0)], r);
	}
	break;
	case ((NU8) 96):
	{
		genwhilestmt_549064(p, n);
	}
	break;
	case ((NU8) 99):
	case ((NU8) 100):
	{
		genvarstmt_553240(p, n);
	}
	break;
	case ((NU8) 101):
	{
	}
	break;
	case ((NU8) 94):
	case ((NU8) 95):
	{
		internalerror_194172((*n).info, ((NimStringDesc*) &TMP4953));
	}
	break;
	case ((NU8) 97):
	{
		{
			if (!((*p).target == ((NU8) 0))) goto LA120;
			gencasejs_549553(p, n, r);
		}
		goto LA118;
		LA120: ;
		{
			gencaselua_549720(p, n, r);
		}
		LA118: ;
	}
	break;
	case ((NU8) 109):
	{
		genreturnstmt_554458(p, n);
	}
	break;
	case ((NU8) 110):
	{
		genbreakstmt_549977(p, n);
	}
	break;
	case ((NU8) 73):
	{
		genasgn_550995(p, n);
	}
	break;
	case ((NU8) 74):
	{
		genfastasgn_551007(p, n);
	}
	break;
	case ((NU8) 114):
	{
		{
			if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 1)))) goto LA130;
			genlinedir_548929(p, n);
			gen_547808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		LA130: ;
	}
	break;
	case ((NU8) 89):
	{
		genasmoremitstmt_550445(p, n);
	}
	break;
	case ((NU8) 106):
	{
		gentry_549197(p, n, r);
	}
	break;
	case ((NU8) 108):
	{
		genraisestmt_549522(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_554712(p, n);
	}
	break;
	case ((NU8) 79):
	case ((NU8) 80):
	case ((NU8) 81):
	{
		Tsym223841* s;
		s = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		{
			if (!((65600 & (*s).flags) == 64)) goto LA140;
			gensym_551693(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			unsureAsgnRef((void**) (&(*r).res), NIM_NIL);
		}
		LA140: ;
	}
	break;
	case ((NU8) 156):
	case ((NU8) 157):
	{
		internalerror_194172((*n).info, ((NimStringDesc*) &TMP5003));
	}
	break;
	case ((NU8) 91):
	{
		Tnode223809* LOC144;
		LOC144 = 0;
		LOC144 = lastson_226406(n);
		gen_547808(p, LOC144, r);
	}
	break;
	default:
	{
		NimStringDesc* LOC146;
		LOC146 = 0;
		LOC146 = rawNewString(reprEnum((*n).kind, (&NTI223029))->Sup.len + 24);
appendString(LOC146, ((NimStringDesc*) &TMP5004));
appendString(LOC146, reprEnum((*n).kind, (&NTI223029)));
		internalerror_194172((*n).info, LOC146);
	}
	break;
	}
}

N_NIMCALL(void, genstmt_547817)(Tproc547033* p, Tnode223809* n) {
	Tcompres547023 r;
	memset((void*)(&r), 0, sizeof(r));
	gen_547808(p, n, (&r));
	{
		TY174572 LOC5;
		if (!!((r.res == NIM_NIL))) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = r.res;
		addf_175635(&(*p).body, ((NimStringDesc*) &TMP5005), LOC5, 1);
	}
	LA3: ;
}

N_NIMCALL(void, genmodule_555027)(Tproc547033* p, Tnode223809* n) {
	{
		TY541257 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*) &TMP4633));
appendString(LOC6, (*(*(*(*p).module).module).name).s);
		LOC5[0] = makejsstring_547305(LOC6);
		LOC7 = 0;
		LOC7 = tofilename_189652((*(*(*p).module).module).info.fileindex);
		LOC5[1] = makejsstring_547305(LOC7);
		addf_175635(&(*p).body, ((NimStringDesc*) &TMP4630), LOC5, 2);
	}
	LA3: ;
	genstmt_547817(p, n);
	{
		TY511664 LOC12;
		if (!(((*p).options &(1<<((((NU8) 15))&31)))!=0)) goto LA10;
		memset((void*)LOC12, 0, sizeof(LOC12));
		addf_175635(&(*p).body, ((NimStringDesc*) &TMP5006), LOC12, 0);
	}
	LA10: ;
}

N_NIMCALL(Tnode223809*, myprocess_555068)(Tpasscontext275005* b, Tnode223809* n) {
	Tnode223809* result;
	Tjsgen547015* m;
	Tproc547033* p;
{	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = skipcodegen_275083(n);
		if (!LOC3) goto LA4;
		result = n;
		goto BeforeRet;
	}
	LA4: ;
	result = n;
	m = ((Tjsgen547015*) (b));
	{
		if (!((*m).module == NIM_NIL)) goto LA8;
		internalerror_194172((*n).info, ((NimStringDesc*) &TMP4622));
	}
	LA8: ;
	p = newproc_547207(globals_554981, m, NIM_NIL, (*(*m).module).options);
	genmodule_555027(p, n);
	add_174534(&(*(*p).g).code, (*p).locals);
	add_174534(&(*(*p).g).code, (*p).body);
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Ropeobj174009*, wholecode_555096)(Tjsgen547015* m) {
	Ropeobj174009* result;
	Tnode223809* disp;
	result = 0;
	{
		Tsym223841* prc_555109;
		Tsymseq223811* HEX3Atmp_555136;
		NI i_555139;
		NI L_555141;
		prc_555109 = 0;
		HEX3Atmp_555136 = 0;
		HEX3Atmp_555136 = (*globals_554981).forwarded;
		i_555139 = ((NI) 0);
		L_555141 = (HEX3Atmp_555136 ? HEX3Atmp_555136->Sup.len : 0);
		{
			while (1) {
				if (!(i_555139 < L_555141)) goto LA3;
				prc_555109 = HEX3Atmp_555136->data[i_555139];
				{
					NIM_BOOL LOC6;
					Tproc547033* p;
					Ropeobj174009* LOC9;
					LOC6 = 0;
					LOC6 = containsorincl_220898((&(*globals_554981).generatedsyms), (*prc_555109).Sup.id);
					if (!!(LOC6)) goto LA7;
					p = newproc_547207(globals_554981, m, NIM_NIL, (*(*m).module).options);
					LOC9 = 0;
					LOC9 = genproc_547824(p, prc_555109);
					add_174534(&(*(*p).g).code, LOC9);
				}
				LA7: ;
				i_555139 += ((NI) 1);
			} LA3: ;
		}
	}
	disp = generatemethoddispatchers_399268();
	{
		NI i_555126;
		NI HEX3Atmp_555143;
		NI LOC11;
		NI res_555146;
		i_555126 = 0;
		HEX3Atmp_555143 = 0;
		LOC11 = 0;
		LOC11 = sonslen_226387(disp);
		HEX3Atmp_555143 = (NI)(LOC11 - ((NI) 1));
		res_555146 = ((NI) 0);
		{
			while (1) {
				Tsym223841* prc;
				if (!(res_555146 <= HEX3Atmp_555143)) goto LA13;
				i_555126 = res_555146;
				prc = (*(*disp).kindU.S6.sons->data[i_555126]).kindU.S4.sym;
				{
					NIM_BOOL LOC16;
					Tproc547033* p;
					Ropeobj174009* LOC19;
					LOC16 = 0;
					LOC16 = containsorincl_220898((&(*globals_554981).generatedsyms), (*prc).Sup.id);
					if (!!(LOC16)) goto LA17;
					p = newproc_547207(globals_554981, m, NIM_NIL, (*(*m).module).options);
					LOC19 = 0;
					LOC19 = genproc_547824(p, prc);
					add_174534(&(*(*p).g).code, LOC19);
				}
				LA17: ;
				res_555146 += ((NI) 1);
			} LA13: ;
		}
	}
	result = HEX26_174436((*globals_554981).typeinfo, (*globals_554981).code);
	return result;
}

N_NIMCALL(Ropeobj174009*, genheader_555016)(void) {
	Ropeobj174009* result;
	TY174572 LOC1;
	result = 0;
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rope_174322(((NimStringDesc*) &TMP5009));
	result = HEX25_175236(((NimStringDesc*) &TMP5008), LOC1, 1);
	return result;
}

N_NIMCALL(Tnode223809*, myclose_555174)(Tpasscontext275005* b, Tnode223809* n) {
	Tnode223809* result;
	Tjsgen547015* m;
{	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = skipcodegen_275083(n);
		if (!LOC3) goto LA4;
		result = n;
		goto BeforeRet;
	}
	LA4: ;
	result = myprocess_555068(b, n);
	m = ((Tjsgen547015*) (b));
	{
		Ropeobj174009* code;
		NimStringDesc* outfile;
		Ropeobj174009* LOC24;
		Ropeobj174009* LOC25;
		NIM_BOOL LOC26;
		if (!(((*(*m).module).flags &(1<<((((NU8) 12))&31)))!=0)) goto LA8;
		code = wholecode_555096(m);
		{
			if (!(((NI) 0) < (outfile_165138 ? outfile_165138->Sup.len : 0))) goto LA12;
			{
				NIM_BOOL LOC16;
				LOC16 = 0;
				LOC16 = nosisAbsolute(outfile_165138);
				if (!LOC16) goto LA17;
				outfile = outfile_165138;
			}
			goto LA14;
			LA17: ;
			{
				NimStringDesc* LOC20;
				LOC20 = 0;
				LOC20 = nosgetCurrentDir();
				outfile = HEX2F_122481(LOC20, outfile_165138);
			}
			LA14: ;
		}
		goto LA10;
		LA12: ;
		{
			NimStringDesc* LOC22;
			NimStringDesc* LOC23;
			LOC22 = 0;
			LOC22 = tofilename_189652(((NI32) ((*(*m).module).position)));
			LOC23 = 0;
			LOC23 = completecfilepath_202112(LOC22, NIM_TRUE);
			outfile = noschangeFileExt(LOC23, ((NimStringDesc*) &TMP5007));
		}
		LA10: ;
		LOC24 = 0;
		LOC24 = genheader_555016();
		LOC25 = 0;
		LOC25 = HEX26_174436(LOC24, code);
		LOC26 = 0;
		LOC26 = writeropeifnotequal_175930(LOC25, outfile);
	}
	LA8: ;
	}BeforeRet: ;
	return result;
}
NIM_EXTERNC N_NOINLINE(void, compiler_jsgenInit000)(void) {
}

NIM_EXTERNC N_NOINLINE(void, compiler_jsgenDatInit000)(void) {
static TNimNode* TMP4619[5];
static TNimNode* TMP4623[12];
static TNimNode* TMP4624[2];
NI TMP4626;
static char* NIM_CONST TMP4625[2] = {
"targetJS", 
"targetLua"};
static TNimNode* TMP4627[2];
static TNimNode TMP1142[26];
NTI547015.size = sizeof(Tjsgen547015);
NTI547015.kind = 17;
NTI547015.base = (&NTI275005);
TMP1142[0].kind = 1;
TMP1142[0].offset = offsetof(Tjsgen547015, module);
TMP1142[0].typ = (&NTI223807);
TMP1142[0].name = "module";
NTI547015.node = &TMP1142[0];
NTI547017.size = sizeof(Tjsgen547015*);
NTI547017.kind = 22;
NTI547017.base = (&NTI547015);
NTI547017.marker = TMP4618;
NTI547027.size = sizeof(Tglobals547027);
NTI547027.kind = 18;
NTI547027.base = 0;
NTI547027.flags = 2;
TMP4619[0] = &TMP1142[2];
TMP1142[2].kind = 1;
TMP1142[2].offset = offsetof(Tglobals547027, typeinfo);
TMP1142[2].typ = (&NTI174007);
TMP1142[2].name = "typeInfo";
TMP4619[1] = &TMP1142[3];
TMP1142[3].kind = 1;
TMP1142[3].offset = offsetof(Tglobals547027, code);
TMP1142[3].typ = (&NTI174007);
TMP1142[3].name = "code";
TMP4619[2] = &TMP1142[4];
TMP1142[4].kind = 1;
TMP1142[4].offset = offsetof(Tglobals547027, forwarded);
TMP1142[4].typ = (&NTI223811);
TMP1142[4].name = "forwarded";
TMP4619[3] = &TMP1142[5];
TMP1142[5].kind = 1;
TMP1142[5].offset = offsetof(Tglobals547027, generatedsyms);
TMP1142[5].typ = (&NTI220056);
TMP1142[5].name = "generatedSyms";
TMP4619[4] = &TMP1142[6];
TMP1142[6].kind = 1;
TMP1142[6].offset = offsetof(Tglobals547027, typeinfogenerated);
TMP1142[6].typ = (&NTI220056);
TMP1142[6].name = "typeInfoGenerated";
TMP1142[1].len = 5; TMP1142[1].kind = 2; TMP1142[1].sons = &TMP4619[0];
NTI547027.node = &TMP1142[1];
NTI547029.size = sizeof(Tglobals547027*);
NTI547029.kind = 22;
NTI547029.base = (&NTI547027);
NTI547029.flags = 2;
NTI547029.marker = TMP4620;
NTI547033.size = sizeof(Tproc547033);
NTI547033.kind = 18;
NTI547033.base = 0;
TMP4623[0] = &TMP1142[8];
TMP1142[8].kind = 1;
TMP1142[8].offset = offsetof(Tproc547033, procdef);
TMP1142[8].typ = (&NTI223801);
TMP1142[8].name = "procDef";
TMP4623[1] = &TMP1142[9];
TMP1142[9].kind = 1;
TMP1142[9].offset = offsetof(Tproc547033, prc);
TMP1142[9].typ = (&NTI223807);
TMP1142[9].name = "prc";
TMP4623[2] = &TMP1142[10];
TMP1142[10].kind = 1;
TMP1142[10].offset = offsetof(Tproc547033, locals);
TMP1142[10].typ = (&NTI174007);
TMP1142[10].name = "locals";
TMP4623[3] = &TMP1142[11];
TMP1142[11].kind = 1;
TMP1142[11].offset = offsetof(Tproc547033, body);
TMP1142[11].typ = (&NTI174007);
TMP1142[11].name = "body";
TMP4623[4] = &TMP1142[12];
TMP1142[12].kind = 1;
TMP1142[12].offset = offsetof(Tproc547033, options);
TMP1142[12].typ = (&NTI165017);
TMP1142[12].name = "options";
TMP4623[5] = &TMP1142[13];
TMP1142[13].kind = 1;
TMP1142[13].offset = offsetof(Tproc547033, module);
TMP1142[13].typ = (&NTI547017);
TMP1142[13].name = "module";
TMP4623[6] = &TMP1142[14];
TMP1142[14].kind = 1;
TMP1142[14].offset = offsetof(Tproc547033, g);
TMP1142[14].typ = (&NTI547029);
TMP1142[14].name = "g";
TMP4623[7] = &TMP1142[15];
TMP1142[15].kind = 1;
TMP1142[15].offset = offsetof(Tproc547033, beforeretneeded);
TMP1142[15].typ = (&NTI138);
TMP1142[15].name = "beforeRetNeeded";
TMP4623[8] = &TMP1142[16];
NTI547013.size = sizeof(NU8);
NTI547013.kind = 14;
NTI547013.base = 0;
NTI547013.flags = 3;
for (TMP4626 = 0; TMP4626 < 2; TMP4626++) {
TMP1142[TMP4626+17].kind = 1;
TMP1142[TMP4626+17].offset = TMP4626;
TMP1142[TMP4626+17].name = TMP4625[TMP4626];
TMP4624[TMP4626] = &TMP1142[TMP4626+17];
}
TMP1142[19].len = 2; TMP1142[19].kind = 2; TMP1142[19].sons = &TMP4624[0];
NTI547013.node = &TMP1142[19];
TMP1142[16].kind = 1;
TMP1142[16].offset = offsetof(Tproc547033, target);
TMP1142[16].typ = (&NTI547013);
TMP1142[16].name = "target";
TMP4623[9] = &TMP1142[20];
TMP1142[20].kind = 1;
TMP1142[20].offset = offsetof(Tproc547033, unique);
TMP1142[20].typ = (&NTI108);
TMP1142[20].name = "unique";
TMP4623[10] = &TMP1142[21];
NTI547025.size = sizeof(Tblock547025);
NTI547025.kind = 18;
NTI547025.base = 0;
NTI547025.flags = 3;
TMP4627[0] = &TMP1142[23];
TMP1142[23].kind = 1;
TMP1142[23].offset = offsetof(Tblock547025, id);
TMP1142[23].typ = (&NTI108);
TMP1142[23].name = "id";
TMP4627[1] = &TMP1142[24];
TMP1142[24].kind = 1;
TMP1142[24].offset = offsetof(Tblock547025, isloop);
TMP1142[24].typ = (&NTI138);
TMP1142[24].name = "isLoop";
TMP1142[22].len = 2; TMP1142[22].kind = 2; TMP1142[22].sons = &TMP4627[0];
NTI547025.node = &TMP1142[22];
NTI547071.size = sizeof(TY547071*);
NTI547071.kind = 24;
NTI547071.base = (&NTI547025);
NTI547071.flags = 2;
NTI547071.marker = TMP4628;
TMP1142[21].kind = 1;
TMP1142[21].offset = offsetof(Tproc547033, blocks);
TMP1142[21].typ = (&NTI547071);
TMP1142[21].name = "blocks";
TMP4623[11] = &TMP1142[25];
TMP1142[25].kind = 1;
TMP1142[25].offset = offsetof(Tproc547033, up);
TMP1142[25].typ = (&NTI547031);
TMP1142[25].name = "up";
TMP1142[7].len = 12; TMP1142[7].kind = 2; TMP1142[7].sons = &TMP4623[0];
NTI547033.node = &TMP1142[7];
NTI547031.size = sizeof(Tproc547033*);
NTI547031.kind = 22;
NTI547031.base = (&NTI547033);
NTI547031.marker = TMP4629;
NTI548453.size = sizeof(Tmagicfrmt548453);
NTI548453.kind = 16;
NTI548453.base = (&NTI149);
NTI548453.flags = 2;
NTI548455.size = sizeof(Tmagicops548455);
NTI548455.kind = 16;
NTI548455.base = (&NTI548453);
NTI548455.flags = 2;
}

