/* 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 Tglobals548027 Tglobals548027;
typedef struct Tpasscontext276005 Tpasscontext276005;
typedef struct Tsym224841 Tsym224841;
typedef struct Tjsgen548015 Tjsgen548015;
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 Ropeobj175009 Ropeobj175009;
typedef struct Tsymseq224811 Tsymseq224811;
typedef struct Intset221056 Intset221056;
typedef struct Trunk221052 Trunk221052;
typedef struct Trunkseq221054 Trunkseq221054;
typedef struct TGenericSeq TGenericSeq;
typedef struct Trodreader267030 Trodreader267030;
typedef struct NimStringDesc NimStringDesc;
typedef struct Tnode224809 Tnode224809;
typedef struct Tlineinfo189352 Tlineinfo189352;
typedef struct Ttype224847 Ttype224847;
typedef struct Tident197021 Tident197021;
typedef struct Tnodeseq224803 Tnodeseq224803;
typedef struct Tproc548033 Tproc548033;
typedef struct TY548071 TY548071;
typedef struct Tblock548025 Tblock548025;
typedef struct Tidobj197015 Tidobj197015;
typedef struct Ttypeseq224843 Ttypeseq224843;
typedef struct Tscope224835 Tscope224835;
typedef struct TY224944 TY224944;
typedef struct Tstrtable224813 Tstrtable224813;
typedef struct Tloc224823 Tloc224823;
typedef struct Tlib224827 Tlib224827;
typedef struct Tcompres548023 Tcompres548023;
typedef struct TY90959 TY90959;
typedef struct Basechunk30841 Basechunk30841;
typedef struct Freecell30833 Freecell30833;
typedef struct TY224932 TY224932;
typedef struct Tindex267028 Tindex267028;
typedef struct Tiitable232274 Tiitable232274;
typedef struct Tiipairseq232272 Tiipairseq232272;
typedef struct Table267063 Table267063;
typedef struct Keyvaluepairseq267066 Keyvaluepairseq267066;
typedef struct Memfile265208 Memfile265208;
typedef struct Tinstantiation224831 Tinstantiation224831;
typedef struct Tlistentry140022 Tlistentry140022;
typedef struct Tiipair232270 Tiipair232270;
typedef struct Keyvaluepair267069 Keyvaluepair267069;
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  Tpasscontext276005  {
  TNimObject Sup;
NIM_BOOL fromcache;
};
struct  Tjsgen548015  {
  Tpasscontext276005 Sup;
Tsym224841* 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  Intset221056  {
NI counter;
NI max;
Trunk221052* head;
Trunkseq221054* data;
};
struct  Tglobals548027  {
Ropeobj175009* typeinfo;
Ropeobj175009* code;
Tsymseq224811* forwarded;
Intset221056 generatedsyms;
Intset221056 typeinfogenerated;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tlineinfo189352  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  Tnode224809  {
Ttype224847* typ;
Tlineinfo189352 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym224841* sym;
} S4;
struct {Tident197021* ident;
} S5;
struct {Tnodeseq224803* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
struct  Tproc548033  {
Tnode224809* procdef;
Tsym224841* prc;
Ropeobj175009* locals;
Ropeobj175009* body;
NU32 options;
Tjsgen548015* module;
Tglobals548027* g;
NIM_BOOL beforeretneeded;
NU8 target;
NI unique;
TY548071* blocks;
Tproc548033* up;
};
struct  Tblock548025  {
NI id;
NIM_BOOL isloop;
};
struct  Tidobj197015  {
  TNimObject Sup;
NI id;
};
struct  Tstrtable224813  {
NI counter;
Tsymseq224811* data;
};
struct  Tloc224823  {
NU8 k;
NU8 s;
NU16 flags;
Ttype224847* t;
Ropeobj175009* r;
Ropeobj175009* heaproot;
};
struct  Tsym224841  {
  Tidobj197015 Sup;
NU8 kind;
union{
struct {Ttypeseq224843* typeinstcache;
Tscope224835* typscope;
} S1;
struct {TY224944* procinstcache;
Tsym224841* gcunsafetyreason;
} S2;
struct {TY224944* usedgenerics;
Tstrtable224813 tab;
} S3;
struct {Tsym224841* guard;
NI bitsize;
} S4;
} kindU;
NU8 magic;
Ttype224847* typ;
Tident197021* name;
Tlineinfo189352 info;
Tsym224841* owner;
NU32 flags;
Tnode224809* ast;
NU32 options;
NI position;
NI offset;
Tloc224823 loc;
Tlib224827* annex;
Tnode224809* constraint;
};
typedef Ropeobj175009* TY542257[2];
struct  Tident197021  {
  Tidobj197015 Sup;
NimStringDesc* s;
Tident197021* next;
NI h;
};
struct  Tcompres548023  {
NU8 kind;
NU8 typ;
Ropeobj175009* res;
Ropeobj175009* address;
};
struct  Ttype224847  {
  Tidobj197015 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq224843* sons;
Tnode224809* n;
Tsym224841* owner;
Tsym224841* sym;
Tsym224841* destructor;
Tsym224841* deepcopy;
Tsym224841* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc224823 loc;
};
typedef Ropeobj175009* TY175572[1];
struct TY90959 {
NimStringDesc* Field0;
NI Field1;
};
typedef Ropeobj175009* TY516247[6];
typedef Ropeobj175009* TY514578[3];
typedef Ropeobj175009* TY515876[5];
typedef NU8 TY482044[20];
typedef NimStringDesc* Tmagicfrmt549453[4];
typedef Tmagicfrmt549453 Tmagicops549455[80];
typedef Ropeobj175009* TY512664[1];
typedef Ropeobj175009* TY514575[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  Ropeobj175009  {
  TNimObject Sup;
Ropeobj175009* left;
Ropeobj175009* right;
NI length;
NimStringDesc* data;
};
struct  Trunk221052  {
Trunk221052* next;
NI key;
TY30822 bits;
};
struct  Tiitable232274  {
NI counter;
Tiipairseq232272* data;
};
struct  Tindex267028  {
NI lastidxkey;
NI lastidxval;
Tiitable232274 tab;
NimStringDesc* r;
NI offset;
};
struct  Table267063  {
Keyvaluepairseq267066* data;
NI counter;
};
struct  Memfile265208  {
void* mem;
NI size;
int handle;
};
struct  Trodreader267030  {
  TNimObject Sup;
NI pos;
NCSTRING s;
NU32 options;
NU8 reason;
TY224932* moddeps;
TY224932* files;
NI dataidx;
NI convertersidx;
NI initidx;
NI interfidx;
NI compilerprocsidx;
NI methodsidx;
NimStringDesc* filename;
Tindex267028 index;
Tindex267028 imports;
NI readerindex;
NI line;
NI moduleid;
Table267063 syms;
Memfile265208 memfile;
Tsymseq224811* methods;
NimStringDesc* origfile;
NIM_BOOL inviewmode;
};
struct  Tscope224835  {
NI depthlevel;
Tstrtable224813 symbols;
Tnodeseq224803* usingsyms;
Tscope224835* parent;
};
struct  Tlistentry140022  {
  TNimObject Sup;
Tlistentry140022* prev;
Tlistentry140022* next;
};
struct  Tlib224827  {
  Tlistentry140022 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj175009* name;
Tnode224809* path;
};
struct  Freecell30833  {
Freecell30833* next;
NI zerofield;
};
struct  Tiipair232270  {
NI key;
NI val;
};
struct Keyvaluepair267069 {
NI Field0;
NI Field1;
Tsym224841* Field2;
};
struct  Tinstantiation224831  {
Tsym224841* sym;
Ttypeseq224843* concretetypes;
TY224932* usedby;
NI compilesid;
};
struct Tsymseq224811 {
  TGenericSeq Sup;
  Tsym224841* data[SEQ_DECL_SIZE];
};
struct TY548071 {
  TGenericSeq Sup;
  Tblock548025 data[SEQ_DECL_SIZE];
};
struct Tnodeseq224803 {
  TGenericSeq Sup;
  Tnode224809* data[SEQ_DECL_SIZE];
};
struct Trunkseq221054 {
  TGenericSeq Sup;
  Trunk221052* data[SEQ_DECL_SIZE];
};
struct Ttypeseq224843 {
  TGenericSeq Sup;
  Ttype224847* data[SEQ_DECL_SIZE];
};
struct TY224944 {
  TGenericSeq Sup;
  Tinstantiation224831* data[SEQ_DECL_SIZE];
};
struct TY224932 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct Tiipairseq232272 {
  TGenericSeq Sup;
  Tiipair232270 data[SEQ_DECL_SIZE];
};
struct Keyvaluepairseq267066 {
  TGenericSeq Sup;
  Keyvaluepair267069 data[SEQ_DECL_SIZE];
};
N_NIMCALL(Tjsgen548015*, newmodule_555986)(Tsym224841* 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(Tglobals548027*, newglobals_548084)(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_221927)(Intset221056* Result);
N_NIMCALL(void, internalerror_195191)(NimStringDesc* errmsg);
static N_INLINE(NIM_BOOL, skipcodegen_276083)(Tnode224809* n);
N_NIMCALL(void, internalerror_195172)(Tlineinfo189352 info, NimStringDesc* errmsg);
N_NIMCALL(Tproc548033*, newproc_548207)(Tglobals548027* globals, Tjsgen548015* module, Tnode224809* 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_556027)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, addf_176635)(Ropeobj175009** c, NimStringDesc* frmt, Ropeobj175009** args, NI argsLen0);
N_NIMCALL(Ropeobj175009*, makejsstring_548305)(NimStringDesc* s);
N_NIMCALL(Ropeobj175009*, rope_175322)(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_190652)(NI32 fileidx);
N_NIMCALL(void, genstmt_548817)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, gen_548808)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_NIMCALL(void, gensym_552693)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(NU8, maptype_548256)(Ttype224847* typ);
N_NIMCALL(Ttype224847*, skiptypes_228167)(Ttype224847* t, NU64 kinds);
N_NIMCALL(Ttype224847*, lastson_227426)(Ttype224847* n);
N_NIMCALL(Ropeobj175009*, HEX25_176236)(NimStringDesc* frmt, Ropeobj175009** args, NI argsLen0);
N_NIMCALL(Ropeobj175009*, HEX26_175471)(Ropeobj175009* a, NimStringDesc* b);
N_NIMCALL(NIM_BOOL, isindirect_552430)(Tsym224841* v);
N_NIMCALL(void, genconstant_548831)(Tproc548033* p, Tsym224841* c);
N_NIMCALL(NIM_BOOL, containsorincl_221898)(Intset221056* s, NI key);
N_NIMCALL(void, genvarinit_554110)(Tproc548033* p, Tsym224841* v, Tnode224809* n);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_NIMCALL(Ropeobj175009*, manglename_548277)(Tsym224841* s);
N_NIMCALL(NimStringDesc*, mangle_506910)(NimStringDesc* name);
N_NIMCALL(void, add_175545)(Ropeobj175009** a, NimStringDesc* b);
N_NIMCALL(void, add_175534)(Ropeobj175009** a, Ropeobj175009* b);
N_NIMCALL(Ropeobj175009*, rope_175407)(NI64 i);
N_NIMCALL(Ropeobj175009*, createvar_553813)(Tproc548033* p, Ttype224847* typ, NIM_BOOL indirect);
N_NIMCALL(Ropeobj175009*, puttoseq_553800)(NimStringDesc* s, NIM_BOOL indirect);
N_NIMCALL(NI64, lengthord_254016)(Ttype224847* t);
N_NIMCALL(Ttype224847*, elemtype_254522)(Ttype224847* t);
N_NIMCALL(void, usemagic_548838)(Tproc548033* p, NimStringDesc* name);
N_NIMCALL(Tsym224841*, getcompilerproc_273811)(NimStringDesc* name);
N_NIMCALL(NimStringDesc*, HEX24_195279)(TY90959 x);
N_NIMCALL(Ropeobj175009*, genproc_548824)(Tproc548033* oldproc, Tsym224841* prc);
N_NIMCALL(Ropeobj175009*, generateheader_551654)(Tproc548033* p, Ttype224847* typ);
N_NIMCALL(NI, sonslen_227387)(Tnode224809* n);
static N_INLINE(NIM_BOOL, iscompiletimeonly_263712)(Ttype224847* t);
N_NIMCALL(Tnode224809*, getbody_270061)(Tsym224841* s);
N_NIMCALL(Ropeobj175009*, genprocbody_555505)(Tproc548033* p, Tsym224841* prc);
static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c);
N_NIMCALL(void, globalerror_195107)(Tlineinfo189352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, rawmessage_193636)(NU16 msg, NimStringDesc* arg);
N_NIMCALL(Ropeobj175009*, gentypeinfo_548315)(Tproc548033* p, Ttype224847* typ);
N_NIMCALL(void, prepend_176206)(Ropeobj175009** a, Ropeobj175009* b);
N_NIMCALL(void, genenuminfo_548634)(Tproc548033* p, Ttype224847* typ, Ropeobj175009* name);
N_NIMCALL(void, genobjectinfo_548506)(Tproc548033* p, Ttype224847* typ, Ropeobj175009* name);
N_NIMCALL(Ropeobj175009*, genobjectfields_548319)(Tproc548033* p, Ttype224847* typ, Tnode224809* n);
N_NIMCALL(NI64, getordvalue_254178)(Tnode224809* n);
N_NIMCALL(Tnode224809*, lastson_227406)(Tnode224809* n);
N_NIMCALL(void, gentupleinfo_548608)(Tproc548033* p, Ttype224847* typ, Ropeobj175009* name);
N_NIMCALL(Ropeobj175009*, gentuplefields_548556)(Tproc548033* p, Ttype224847* typ);
N_NIMCALL(NI, len_227369)(Ttype224847* n);
N_NIMCALL(NimStringDesc*, reprEnum)(NI e_86859, TNimType* typ);
N_NIMCALL(NI, sonslen_227351)(Ttype224847* n);
N_NIMCALL(void, createobjinitlist_553902)(Tproc548033* p, Ttype224847* typ, Intset221056* excludedfieldids, Ropeobj175009** output);
N_NIMCALL(NI, len_175034)(Ropeobj175009* a);
N_NIMCALL(void, createrecordvaraux_553821)(Tproc548033* p, Tnode224809* rec, Intset221056* excludedfieldids, Ropeobj175009** output);
N_NIMCALL(NIM_BOOL, contains_221829)(Intset221056* s, NI key);
N_NIMCALL(NIM_BOOL, needsnocopy_551865)(Tnode224809* y);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(void, genprocforsymifneeded_552634)(Tproc548033* p, Tsym224841* s);
static N_INLINE(NIM_BOOL, isemptytype_229933)(Ttype224847* t);
N_NIMCALL(NimStringDesc*, tostrmaxprecision_231024)(NF f);
N_NIMCALL(void, genmagic_554908)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genor_549252)(Tproc548033* p, Tnode224809* a, Tnode224809* b, Tcompres548023* r);
N_NIMCALL(NIM_BOOL, issimpleexpr_548895)(Tnode224809* n);
static N_INLINE(NI, len_225098)(Tnode224809* n);
static N_INLINE(NIM_BOOL, isatom_229905)(Tnode224809* n);
static N_INLINE(Ropeobj175009*, rdloc_548127)(Tcompres548023* a);
N_NIMCALL(Ropeobj175009*, gettemp_548954)(Tproc548033* p, NIM_BOOL defineinlocals);
N_NIMCALL(void, genand_548988)(Tproc548033* p, Tnode224809* a, Tnode224809* b, Tcompres548023* r);
N_NIMCALL(void, arith_549907)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NU8 op);
N_NIMCALL(void, arithaux_549859)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NU8 op, Tmagicops549455 ops);
N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
N_NIMCALL(void, genrepr_554828)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, unaryexpr_549842)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NimStringDesc* magic, NimStringDesc* frmt);
N_NIMCALL(void, genswap_552019)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, binaryexpr_549790)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NimStringDesc* magic, NimStringDesc* frmt);
N_NIMCALL(void, genconstrstr_554730)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, gennew_554665)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(NI64, getsize_254190)(Ttype224847* typ);
N_NIMCALL(void, genord_554707)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, gennewseq_554684)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, genof_554845)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genreset_554890)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, genecho_553731)(Tproc548033* p, Tnode224809* n_553734, Tcompres548023* r);
N_NIMCALL(Tnode224809*, skipconv_263935)(Tnode224809* n);
static N_INLINE(Tnode224809*, HEX5BHEX5D_225244)(Tnode224809* n, NI i);
N_NIMCALL(void, genargnoparam_552943)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, localerror_195128)(Tlineinfo189352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, ternaryexpr_549814)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NimStringDesc* magic, NimStringDesc* frmt);
N_NIMCALL(void, gencall_553642)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genargs_553024)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genarg_552971)(Tproc548033* p, Tnode224809* n, Tsym224841* param, Tcompres548023* r);
N_NIMCALL(void, geninfixcall_553655)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, globalerror_195118)(Tlineinfo189352 info, NimStringDesc* arg);
N_NIMCALL(void, gensetconstr_554991)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genarrayconstr_555059)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, gentupleconstr_555108)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genobjconstr_555179)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NOINLINE(void, chckNil)(void* p);
N_NIMCALL(void, incl_221856)(Intset221056* s, NI key);
N_NIMCALL(void, genconv_555295)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genaddr_552507)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, gencheckedfieldaddr_552245)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genfieldaddr_552105)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(NI, getfieldposition_552091)(Tnode224809* f);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_NIMCALL(NimStringDesc*, HEX24_176132)(Ropeobj175009* r);
N_NIMCALL(void, genfieldaccess_552188)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genarrayaddr_552298)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(NI64, firstord_254004)(Ttype224847* t);
N_NIMCALL(NIM_BOOL, isconstexpr_253442)(Tnode224809* n);
N_NIMCALL(void, genderef_552892)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genarrayaccess_552384)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, gencheckedfieldaccess_552285)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, upconv_555333)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genrangechck_555346)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NimStringDesc* magic);
N_NIMCALL(void, convstrtocstr_555380)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, convcstrtostr_555419)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genblock_550876)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(TGenericSeq*, setLengthSeq)(TGenericSeq* seq, NI elemsize, NI newlen);
N_NIMCALL(void, genif_551493)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, moveinto_550161)(Tproc548033* p, Tcompres548023* src, Tcompres548023* dest);
N_NIMCALL(NimStringDesc*, nsuRepeatChar)(NIM_CHAR c, NI count);
N_NIMCALL(void, genwhilestmt_550064)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, genlinedir_549929)(Tproc548033* p, Tnode224809* n);
static N_INLINE(NI, tolinenumber_190839)(Tlineinfo189352 info);
N_NIMCALL(void, genvarstmt_554240)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(Tnode224809*, lowertupleunpacking_401087)(Tnode224809* n, Tsym224841* owner);
N_NIMCALL(void, gencasejs_550553)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(Tnode224809*, copynode_228660)(Tnode224809* src);
N_NIMCALL(void, gencaselua_550720)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genreturnstmt_555458)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, genbreakstmt_550977)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, genasgn_551995)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, genasgnaux_551896)(Tproc548033* p, Tnode224809* x, Tnode224809* y, NIM_BOOL nocopyneeded);
N_NIMCALL(void, genfastasgn_552007)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, genasmoremitstmt_551445)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, gentry_550197)(Tproc548033* p, Tnode224809* n, Tcompres548023* r);
N_NIMCALL(void, genraisestmt_550522)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(void, genpragma_555712)(Tproc548033* p, Tnode224809* n);
N_NIMCALL(NU16, whichpragma_253687)(Tnode224809* n);
N_NIMCALL(Tnode224809*, myprocess_556068)(Tpasscontext276005* b, Tnode224809* n);
N_NIMCALL(Ropeobj175009*, wholecode_556096)(Tjsgen548015* m);
N_NIMCALL(Tnode224809*, generatemethoddispatchers_400268)(void);
N_NIMCALL(Ropeobj175009*, HEX26_175436)(Ropeobj175009* a, Ropeobj175009* b);
N_NIMCALL(NIM_BOOL, nosisAbsolute)(NimStringDesc* path);
N_NIMCALL(NimStringDesc*, HEX2F_123481)(NimStringDesc* head, NimStringDesc* tail);
N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(NimStringDesc*, completecfilepath_203112)(NimStringDesc* cfile, NIM_BOOL createsubdir);
N_NIMCALL(NIM_BOOL, writeropeifnotequal_176930)(Ropeobj175009* r, NimStringDesc* filename);
N_NIMCALL(Ropeobj175009*, genheader_556016)(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 TY482044 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 Tmagicops549455 jsops_549461 = {{((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 Tmagicops549455 luaops_549624 = {{((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);
Tglobals548027* globals_555981;
extern TNimType NTI276005; /* TPassContext */
TNimType NTI548015; /* TJSGen */
extern TNimType NTI224807; /* PSym */
TNimType NTI548017; /* BModule */
extern Gcheap51018 gch_51059;
TNimType NTI548027; /* TGlobals */
extern TNimType NTI175007; /* Rope */
extern TNimType NTI224811; /* TSymSeq */
extern TNimType NTI221056; /* IntSet */
TNimType NTI548029; /* PGlobals */
extern NI gerrorcounter_190396;
TNimType NTI548033; /* TProc */
extern TNimType NTI224801; /* PNode */
extern TNimType NTI166017; /* TOptions */
extern TNimType NTI138; /* bool */
TNimType NTI548013; /* TTarget */
extern TNimType NTI108; /* int */
TNimType NTI548025; /* TBlock */
TNimType NTI548071; /* seq[TBlock] */
TNimType NTI548031; /* PProc */
extern NimStringDesc* tnl_173654;
extern TNimType NTI224262; /* TTypeKind */
extern TNimType NTI149; /* string */
TNimType NTI549453; /* TMagicFrmt */
TNimType NTI549455; /* TMagicOps */
extern TNimType NTI224029; /* TNodeKind */
extern NimStringDesc* outfile_166138;
N_NIMCALL(void, TMP4618)(void* p, NI op) {
	Tjsgen548015* a;
	a = (Tjsgen548015*)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) {
	Tglobals548027* a;
	a = (Tglobals548027*)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(Tglobals548027*, newglobals_548084)(void) {
	Tglobals548027* result;
	result = 0;
	result = (Tglobals548027*) newObj((&NTI548029), sizeof(Tglobals548027));
	if ((*result).forwarded) nimGCunrefNoCycle((*result).forwarded);
	(*result).forwarded = (Tsymseq224811*) newSeqRC1((&NTI224811), 0);
	initintset_221927((&(*result).generatedsyms));
	initintset_221927((&(*result).typeinfogenerated));
	return result;
}

N_NIMCALL(Tjsgen548015*, newmodule_555986)(Tsym224841* module) {
	Tjsgen548015* result;
	result = 0;
	result = (Tjsgen548015*) newObj((&NTI548017), sizeof(Tjsgen548015));
	(*result).Sup.Sup.m_type = (&NTI548015);
	asgnRefNoCycle((void**) (&(*result).module), module);
	{
		if (!(globals_555981 == NIM_NIL)) goto LA3;
		asgnRefNoCycle((void**) (&globals_555981), newglobals_548084());
	}
	LA3: ;
	return result;
}

N_NIMCALL(Tpasscontext276005*, myopen_556213)(Tsym224841* s) {
	Tpasscontext276005* result;
	Tjsgen548015* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = newmodule_555986(s);
	result = &LOC1->Sup;
	return result;
}

N_NIMCALL(Tpasscontext276005*, myopencached_556202)(Tsym224841* s, Trodreader267030* rd) {
	Tpasscontext276005* result;
	result = 0;
	internalerror_195191(((NimStringDesc*) &TMP4621));
	result = NIM_NIL;
	return result;
}

static N_INLINE(NIM_BOOL, skipcodegen_276083)(Tnode224809* n) {
	NIM_BOOL result;
	result = 0;
	result = (((NI) 0) < gerrorcounter_190396);
	return result;
}
N_NIMCALL(void, TMP4628)(void* p, NI op) {
	TY548071* a;
	NI LOC1;
	a = (TY548071*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	}
}
N_NIMCALL(void, TMP4629)(void* p, NI op) {
	Tproc548033* a;
	a = (Tproc548033*)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(Tproc548033*, newproc_548207)(Tglobals548027* globals, Tjsgen548015* module, Tnode224809* procdef, NU32 options) {
	Tproc548033* result;
	Tproc548033* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = (Tproc548033*) newObj((&NTI548031), sizeof(Tproc548033));
	if ((*LOC1).blocks) nimGCunrefNoCycle((*LOC1).blocks);
	(*LOC1).blocks = (TY548071*) newSeqRC1((&NTI548071), 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(Ropeobj175009*, makejsstring_548305)(NimStringDesc* s) {
	Ropeobj175009* result;
	result = 0;
	{
		if (!s == 0) goto LA3;
		result = rope_175322(((NimStringDesc*) &TMP4631));
	}
	goto LA1;
	LA3: ;
	{
		NimStringDesc* LOC6;
		LOC6 = 0;
		LOC6 = nsuEscape(s, ((NimStringDesc*) &TMP4632), ((NimStringDesc*) &TMP4632));
		result = rope_175322(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_548256)(Ttype224847* typ) {
	NU8 result;
	Ttype224847* t;
	result = 0;
	t = skiptypes_228167(typ, IL64(211106232576256));
	switch ((*t).kind) {
	case ((NU8) 23):
	case ((NU8) 22):
	case ((NU8) 21):
	{
		{
			Ttype224847* LOC4;
			Ttype224847* LOC5;
			LOC4 = 0;
			LOC4 = lastson_227426(t);
			LOC5 = 0;
			LOC5 = skiptypes_228167(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_548256((*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_552430)(Tsym224841* 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(Ropeobj175009*, manglename_548277)(Tsym224841* s) {
	Ropeobj175009* result;
	result = 0;
	result = (*s).loc.r;
	{
		NimStringDesc* LOC5;
		Ropeobj175009* LOC6;
		if (!(result == NIM_NIL)) goto LA3;
		LOC5 = 0;
		LOC5 = mangle_506910((*(*s).name).s);
		result = rope_175322(LOC5);
		add_175545(&result, ((NimStringDesc*) &TMP4640));
		LOC6 = 0;
		LOC6 = rope_175407(((NI64) ((*s).Sup.id)));
		add_175534(&result, LOC6);
		asgnRefNoCycle((void**) (&(*s).loc.r), result);
	}
	LA3: ;
	return result;
}

N_NIMCALL(Ropeobj175009*, puttoseq_553800)(NimStringDesc* s, NIM_BOOL indirect) {
	Ropeobj175009* result;
	result = 0;
	result = rope_175322(s);
	{
		TY175572 LOC5;
		if (!indirect) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = result;
		result = HEX25_176236(((NimStringDesc*) &TMP4641), LOC5, 1);
	}
	LA3: ;
	return result;
}

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

N_NIMCALL(Ropeobj175009*, generateheader_551654)(Tproc548033* p, Ttype224847* typ) {
	Ropeobj175009* result;
	result = 0;
	result = NIM_NIL;
	{
		NI i_551671;
		NI HEX3Atmp_551835;
		NI LOC2;
		NI res_551838;
		i_551671 = 0;
		HEX3Atmp_551835 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227387((*typ).n);
		HEX3Atmp_551835 = (NI)(LOC2 - ((NI) 1));
		res_551838 = ((NI) 1);
		{
			while (1) {
				if (!(res_551838 <= HEX3Atmp_551835)) goto LA4;
				i_551671 = res_551838;
				{
					Tsym224841* param;
					Ropeobj175009* name;
					param = (*(*(*typ).n).kindU.S6.sons->data[i_551671]).kindU.S4.sym;
					{
						NIM_BOOL LOC8;
						LOC8 = 0;
						LOC8 = iscompiletimeonly_263712((*param).typ);
						if (!LOC8) goto LA9;
						goto LA5;
					}
					LA9: ;
					{
						if (!!((result == NIM_NIL))) goto LA13;
						add_175545(&result, ((NimStringDesc*) &TMP4648));
					}
					LA13: ;
					name = manglename_548277(param);
					add_175534(&result, name);
					{
						NU8 LOC17;
						LOC17 = 0;
						LOC17 = maptype_548256((*param).typ);
						if (!(LOC17 == ((NU8) 8))) goto LA18;
						add_175545(&result, ((NimStringDesc*) &TMP4648));
						add_175534(&result, name);
						add_175545(&result, ((NimStringDesc*) &TMP4637));
					}
					LA18: ;
				} LA5: ;
				res_551838 += ((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(Ropeobj175009*, genprocbody_555505)(Tproc548033* p, Tsym224841* prc) {
	Ropeobj175009* result;
	result = 0;
	{
		NimStringDesc* LOC5;
		NimStringDesc* LOC6;
		TY542257 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_548305(LOC13);
		LOC14 = 0;
		LOC14 = tofilename_190652((*prc).info.fileindex);
		LOC12[1] = makejsstring_548305(LOC14);
		result = HEX25_176236(LOC5, LOC12, 2);
	}
	goto LA1;
	LA3: ;
	{
		result = NIM_NIL;
	}
	LA1: ;
	{
		NimStringDesc* LOC20;
		TY175572 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_176635(&result, LOC20, LOC26, 1);
	}
	goto LA16;
	LA18: ;
	{
		add_175534(&result, (*p).body);
	}
	LA16: ;
	{
		NIM_BOOL LOC30;
		TY175572 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_176236(((NimStringDesc*) &TMP4660), LOC34, 1);
	}
	LA32: ;
	{
		NimStringDesc* LOC39;
		if (!(((*prc).options &(1<<((((NU8) 15))&31)))!=0)) goto LA37;
		LOC39 = 0;
		LOC39 = rawNewString(tnl_173654->Sup.len + 25);
appendString(LOC39, ((NimStringDesc*) &TMP4661));
appendString(LOC39, tnl_173654);
		add_175545(&result, LOC39);
	}
	LA37: ;
	return result;
}

N_NIMCALL(Ropeobj175009*, genproc_548824)(Tproc548033* oldproc, Tsym224841* prc) {
	Ropeobj175009* result;
	Tsym224841* resultsym;
	Ropeobj175009* name;
	Ropeobj175009* returnstmt;
	Ropeobj175009* resultasgn;
	Ropeobj175009* header;
	Tcompres548023 a;
	Tproc548033* p;
	Tnode224809* LOC23;
	NimStringDesc* LOC24;
	TY516247 LOC30;
	result = 0;
	resultsym = 0;
	name = 0;
	returnstmt = 0;
	resultasgn = 0;
	header = 0;
	memset((void*)(&a), 0, sizeof(a));
	p = newproc_548207((*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_548277(prc);
	header = generateheader_551654(p, (*prc).typ);
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC7;
		TY542257 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_548277(resultsym);
		LOC14 = 0;
		LOC14 = isindirect_552430(resultsym);
		LOC13[1] = createvar_553813(p, (*resultsym).typ, LOC14);
		resultasgn = HEX25_176236(LOC7, LOC13, 2);
		gen_548808(p, (*(*prc).ast).kindU.S6.sons->data[((NI) 7)], (&a));
		{
			NU8 LOC17;
			TY542257 LOC20;
			LOC17 = 0;
			LOC17 = maptype_548256((*resultsym).typ);
			if (!(LOC17 == ((NU8) 8))) goto LA18;
			memset((void*)LOC20, 0, sizeof(LOC20));
			LOC20[0] = a.address;
			LOC20[1] = a.res;
			returnstmt = HEX25_176236(((NimStringDesc*) &TMP4651), LOC20, 2);
		}
		goto LA15;
		LA18: ;
		{
			TY175572 LOC22;
			memset((void*)LOC22, 0, sizeof(LOC22));
			LOC22[0] = a.res;
			returnstmt = HEX25_176236(((NimStringDesc*) &TMP4652), LOC22, 1);
		}
		LA15: ;
	}
	LA5: ;
	LOC23 = 0;
	LOC23 = getbody_270061(prc);
	genstmt_548817(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_555505(p, prc);
	LOC30[5] = returnstmt;
	result = HEX25_176236(LOC24, LOC30, 6);
	return result;
}

N_NIMCALL(void, usemagic_548838)(Tproc548033* p, NimStringDesc* name) {
	Tsym224841* s;
{	{
		if (!((name ? name->Sup.len : 0) == ((NI) 0))) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	s = getcompilerproc_273811(name);
	{
		if (!!((s == NIM_NIL))) goto LA7;
		{
			NimStringDesc* LOC13;
			if (!!(((77824 &(1<<(((*s).kind)&31)))!=0))) goto LA11;
			LOC13 = 0;
			LOC13 = HEX24_195279(TMP4646);
			internalerror_195191(LOC13);
		}
		LA11: ;
		{
			NIM_BOOL LOC16;
			Ropeobj175009* LOC19;
			LOC16 = 0;
			LOC16 = containsorincl_221898((&(*(*p).g).generatedsyms), (*s).Sup.id);
			if (!!(LOC16)) goto LA17;
			LOC19 = 0;
			LOC19 = genproc_548824(p, s);
			add_175534(&(*(*p).g).code, LOC19);
		}
		LA17: ;
	}
	goto LA5;
	LA7: ;
	{
		{
			if (!!(((*p).prc == NIM_NIL))) goto LA23;
			globalerror_195107((*(*p).prc).info, ((NU16) 68), name);
		}
		goto LA21;
		LA23: ;
		{
			rawmessage_193636(((NU16) 68), name);
		}
		LA21: ;
	}
	LA5: ;
	}BeforeRet: ;
}

N_NIMCALL(void, genenuminfo_548634)(Tproc548033* p, Ttype224847* typ, Ropeobj175009* name) {
	NI length;
	Ropeobj175009* s;
	Ropeobj175009* n;
	TY514578 LOC19;
	TY542257 LOC20;
	TY542257 LOC21;
	length = sonslen_227387((*typ).n);
	s = NIM_NIL;
	{
		NI i_548653;
		NI HEX3Atmp_548724;
		NI res_548727;
		i_548653 = 0;
		HEX3Atmp_548724 = 0;
		HEX3Atmp_548724 = (NI)(length - ((NI) 1));
		res_548727 = ((NI) 0);
		{
			while (1) {
				Tsym224841* field;
				NimStringDesc* extname;
				TY514578 LOC18;
				if (!(res_548727 <= HEX3Atmp_548724)) goto LA3;
				i_548653 = res_548727;
				{
					if (!!(((*(*(*typ).n).kindU.S6.sons->data[i_548653]).kind == ((NU8) 3)))) goto LA6;
					internalerror_195172((*(*typ).n).info, ((NimStringDesc*) &TMP4668));
				}
				LA6: ;
				field = (*(*(*typ).n).kindU.S6.sons->data[i_548653]).kindU.S4.sym;
				{
					NimStringDesc* LOC12;
					if (!(((NI) 0) < i_548653)) goto LA10;
					LOC12 = 0;
					LOC12 = rawNewString(tnl_173654->Sup.len + 2);
appendString(LOC12, ((NimStringDesc*) &TMP4648));
appendString(LOC12, tnl_173654);
					add_175545(&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_175407(((NI64) ((*field).position)));
				LOC18[1] = name;
				LOC18[2] = makejsstring_548305(extname);
				addf_176635(&s, ((NimStringDesc*) &TMP4669), LOC18, 3);
				res_548727 += ((NI) 1);
			} LA3: ;
		}
	}
	memset((void*)LOC19, 0, sizeof(LOC19));
	LOC19[0] = rope_175407(((NI64) ((*typ).Sup.id)));
	LOC19[1] = rope_175407(((NI64) (length)));
	LOC19[2] = s;
	n = HEX25_176236(((NimStringDesc*) &TMP4670), LOC19, 3);
	memset((void*)LOC20, 0, sizeof(LOC20));
	LOC20[0] = name;
	LOC20[1] = rope_175407(((NI64) ((*typ).kind)));
	s = HEX25_176236(((NimStringDesc*) &TMP4671), LOC20, 2);
	prepend_176206(&(*(*p).g).typeinfo, s);
	add_175534(&(*(*p).g).typeinfo, n);
	memset((void*)LOC21, 0, sizeof(LOC21));
	LOC21[0] = name;
	LOC21[1] = rope_175407(((NI64) ((*typ).Sup.id)));
	addf_176635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4672), LOC21, 2);
	{
		TY542257 LOC26;
		if (!!(((*typ).sons->data[((NI) 0)] == NIM_NIL))) goto LA24;
		memset((void*)LOC26, 0, sizeof(LOC26));
		LOC26[0] = name;
		LOC26[1] = gentypeinfo_548315(p, (*typ).sons->data[((NI) 0)]);
		addf_176635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4667), LOC26, 2);
	}
	LA24: ;
}

N_NIMCALL(Ropeobj175009*, genobjectfields_548319)(Tproc548033* p, Ttype224847* typ, Tnode224809* n) {
	Ropeobj175009* result;
	Ropeobj175009* s;
	Ropeobj175009* u;
	NI length;
	Tsym224841* field;
	Tnode224809* b;
	result = 0;
	s = 0;
	u = 0;
	length = 0;
	field = 0;
	b = 0;
	result = NIM_NIL;
	switch ((*n).kind) {
	case ((NU8) 138):
	{
		length = sonslen_227387(n);
		{
			if (!(length == ((NI) 1))) goto LA4;
			result = genobjectfields_548319(p, typ, (*n).kindU.S6.sons->data[((NI) 0)]);
		}
		goto LA2;
		LA4: ;
		{
			TY542257 LOC16;
			s = NIM_NIL;
			{
				NI i_548343;
				NI HEX3Atmp_548453;
				NI res_548456;
				i_548343 = 0;
				HEX3Atmp_548453 = 0;
				HEX3Atmp_548453 = (NI)(length - ((NI) 1));
				res_548456 = ((NI) 0);
				{
					while (1) {
						Ropeobj175009* LOC15;
						if (!(res_548456 <= HEX3Atmp_548453)) goto LA9;
						i_548343 = res_548456;
						{
							NimStringDesc* LOC14;
							if (!(((NI) 0) < i_548343)) goto LA12;
							LOC14 = 0;
							LOC14 = rawNewString(tnl_173654->Sup.len + 2);
appendString(LOC14, ((NimStringDesc*) &TMP4648));
appendString(LOC14, tnl_173654);
							add_175545(&s, LOC14);
						}
						LA12: ;
						LOC15 = 0;
						LOC15 = genobjectfields_548319(p, typ, (*n).kindU.S6.sons->data[i_548343]);
						add_175534(&s, LOC15);
						res_548456 += ((NI) 1);
					} LA9: ;
				}
			}
			memset((void*)LOC16, 0, sizeof(LOC16));
			LOC16[0] = rope_175407(((NI64) (length)));
			LOC16[1] = s;
			result = HEX25_176236(((NimStringDesc*) &TMP4674), LOC16, 2);
		}
		LA2: ;
	}
	break;
	case ((NU8) 3):
	{
		TY514578 LOC18;
		field = (*n).kindU.S4.sym;
		s = gentypeinfo_548315(p, (*field).typ);
		memset((void*)LOC18, 0, sizeof(LOC18));
		LOC18[0] = manglename_548277(field);
		LOC18[1] = s;
		LOC18[2] = makejsstring_548305((*(*field).name).s);
		result = HEX25_176236(((NimStringDesc*) &TMP4675), LOC18, 3);
	}
	break;
	case ((NU8) 139):
	{
		TY515876 LOC61;
		NI64 LOC62;
		length = sonslen_227387(n);
		{
			if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 3)))) goto LA22;
			internalerror_195172((*n).info, ((NimStringDesc*) &TMP4676));
		}
		LA22: ;
		field = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		s = gentypeinfo_548315(p, (*field).typ);
		{
			NI i_548379;
			NI HEX3Atmp_548469;
			NI res_548472;
			i_548379 = 0;
			HEX3Atmp_548469 = 0;
			HEX3Atmp_548469 = (NI)(length - ((NI) 1));
			res_548472 = ((NI) 1);
			{
				while (1) {
					TY542257 LOC59;
					Tnode224809* LOC60;
					if (!(res_548472 <= HEX3Atmp_548469)) goto LA26;
					i_548379 = res_548472;
					b = (*n).kindU.S6.sons->data[i_548379];
					u = NIM_NIL;
					switch ((*b).kind) {
					case ((NU8) 85):
					{
						{
							NI LOC30;
							LOC30 = 0;
							LOC30 = sonslen_227387(b);
							if (!(LOC30 < ((NI) 2))) goto LA31;
							internalerror_195172((*b).info, ((NimStringDesc*) &TMP4677));
						}
						LA31: ;
						{
							NI j_548393;
							NI HEX3Atmp_548462;
							NI LOC34;
							NI res_548465;
							j_548393 = 0;
							HEX3Atmp_548462 = 0;
							LOC34 = 0;
							LOC34 = sonslen_227387(b);
							HEX3Atmp_548462 = (NI)(LOC34 - ((NI) 2));
							res_548465 = ((NI) 0);
							{
								while (1) {
									if (!(res_548465 <= HEX3Atmp_548462)) goto LA36;
									j_548393 = res_548465;
									{
										if (!!((u == NIM_NIL))) goto LA39;
										add_175545(&u, ((NimStringDesc*) &TMP4648));
									}
									LA39: ;
									{
										TY542257 LOC45;
										NI64 LOC46;
										NI64 LOC47;
										if (!((*(*b).kindU.S6.sons->data[j_548393]).kind == ((NU8) 44))) goto LA43;
										memset((void*)LOC45, 0, sizeof(LOC45));
										LOC46 = 0;
										LOC46 = getordvalue_254178((*(*b).kindU.S6.sons->data[j_548393]).kindU.S6.sons->data[((NI) 0)]);
										LOC45[0] = rope_175407(LOC46);
										LOC47 = 0;
										LOC47 = getordvalue_254178((*(*b).kindU.S6.sons->data[j_548393]).kindU.S6.sons->data[((NI) 1)]);
										LOC45[1] = rope_175407(LOC47);
										addf_176635(&u, ((NimStringDesc*) &TMP4678), LOC45, 2);
									}
									goto LA41;
									LA43: ;
									{
										NI64 LOC49;
										Ropeobj175009* LOC50;
										LOC49 = 0;
										LOC49 = getordvalue_254178((*b).kindU.S6.sons->data[j_548393]);
										LOC50 = 0;
										LOC50 = rope_175407(LOC49);
										add_175534(&u, LOC50);
									}
									LA41: ;
									res_548465 += ((NI) 1);
								} LA36: ;
							}
						}
					}
					break;
					case ((NU8) 88):
					{
						NI64 LOC52;
						LOC52 = 0;
						LOC52 = lengthord_254016((*field).typ);
						u = rope_175407(LOC52);
					}
					break;
					default:
					{
						internalerror_195172((*n).info, ((NimStringDesc*) &TMP4679));
					}
					break;
					}
					{
						NimStringDesc* LOC58;
						if (!!((result == NIM_NIL))) goto LA56;
						LOC58 = 0;
						LOC58 = rawNewString(tnl_173654->Sup.len + 2);
appendString(LOC58, ((NimStringDesc*) &TMP4648));
appendString(LOC58, tnl_173654);
						add_175545(&result, LOC58);
					}
					LA56: ;
					memset((void*)LOC59, 0, sizeof(LOC59));
					LOC59[0] = u;
					LOC60 = 0;
					LOC60 = lastson_227406(b);
					LOC59[1] = genobjectfields_548319(p, typ, LOC60);
					addf_176635(&result, ((NimStringDesc*) &TMP4680), LOC59, 2);
					res_548472 += ((NI) 1);
				} LA26: ;
			}
		}
		memset((void*)LOC61, 0, sizeof(LOC61));
		LOC61[0] = manglename_548277(field);
		LOC61[1] = s;
		LOC62 = 0;
		LOC62 = lengthord_254016((*field).typ);
		LOC61[2] = rope_175407(LOC62);
		LOC61[3] = makejsstring_548305((*(*field).name).s);
		LOC61[4] = result;
		result = HEX25_176236(((NimStringDesc*) &TMP4681), LOC61, 5);
	}
	break;
	default:
	{
		internalerror_195172((*n).info, ((NimStringDesc*) &TMP4676));
	}
	break;
	}
	return result;
}

N_NIMCALL(void, genobjectinfo_548506)(Tproc548033* p, Ttype224847* typ, Ropeobj175009* name) {
	Ropeobj175009* s;
	TY542257 LOC1;
	TY542257 LOC2;
	TY542257 LOC3;
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = name;
	LOC1[1] = rope_175407(((NI64) ((*typ).kind)));
	s = HEX25_176236(((NimStringDesc*) &TMP4671), LOC1, 2);
	prepend_176206(&(*(*p).g).typeinfo, s);
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC2[0] = rope_175407(((NI64) ((*typ).Sup.id)));
	LOC2[1] = genobjectfields_548319(p, typ, (*typ).n);
	addf_176635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4673), LOC2, 2);
	memset((void*)LOC3, 0, sizeof(LOC3));
	LOC3[0] = name;
	LOC3[1] = rope_175407(((NI64) ((*typ).Sup.id)));
	addf_176635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4672), LOC3, 2);
	{
		NIM_BOOL LOC6;
		TY542257 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_548315(p, (*typ).sons->data[((NI) 0)]);
		addf_176635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4667), LOC10, 2);
	}
	LA8: ;
}

N_NIMCALL(Ropeobj175009*, gentuplefields_548556)(Tproc548033* p, Ttype224847* typ) {
	Ropeobj175009* result;
	Ropeobj175009* s;
	TY542257 LOC11;
	NI LOC12;
	result = 0;
	s = NIM_NIL;
	{
		NI i_548580;
		NI HEX3Atmp_548589;
		NI LOC2;
		NI res_548592;
		i_548580 = 0;
		HEX3Atmp_548589 = 0;
		LOC2 = 0;
		LOC2 = len_227369(typ);
		HEX3Atmp_548589 = (LOC2 - 1);
		res_548592 = ((NI) 0);
		{
			while (1) {
				TY542257 LOC10;
				if (!(res_548592 <= HEX3Atmp_548589)) goto LA4;
				i_548580 = res_548592;
				{
					NimStringDesc* LOC9;
					if (!(((NI) 0) < i_548580)) goto LA7;
					LOC9 = 0;
					LOC9 = rawNewString(tnl_173654->Sup.len + 2);
appendString(LOC9, ((NimStringDesc*) &TMP4648));
appendString(LOC9, tnl_173654);
					add_175545(&s, LOC9);
				}
				LA7: ;
				memset((void*)LOC10, 0, sizeof(LOC10));
				LOC10[0] = rope_175407(((NI64) (i_548580)));
				LOC10[1] = gentypeinfo_548315(p, (*typ).sons->data[i_548580]);
				addf_176635(&s, ((NimStringDesc*) &TMP4682), LOC10, 2);
				res_548592 += ((NI) 1);
			} LA4: ;
		}
	}
	memset((void*)LOC11, 0, sizeof(LOC11));
	LOC12 = 0;
	LOC12 = len_227369(typ);
	LOC11[0] = rope_175407(((NI64) (LOC12)));
	LOC11[1] = s;
	result = HEX25_176236(((NimStringDesc*) &TMP4674), LOC11, 2);
	return result;
}

N_NIMCALL(void, gentupleinfo_548608)(Tproc548033* p, Ttype224847* typ, Ropeobj175009* name) {
	Ropeobj175009* s;
	TY542257 LOC1;
	TY542257 LOC2;
	TY542257 LOC3;
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = name;
	LOC1[1] = rope_175407(((NI64) ((*typ).kind)));
	s = HEX25_176236(((NimStringDesc*) &TMP4671), LOC1, 2);
	prepend_176206(&(*(*p).g).typeinfo, s);
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC2[0] = rope_175407(((NI64) ((*typ).Sup.id)));
	LOC2[1] = gentuplefields_548556(p, typ);
	addf_176635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4673), LOC2, 2);
	memset((void*)LOC3, 0, sizeof(LOC3));
	LOC3[0] = name;
	LOC3[1] = rope_175407(((NI64) ((*typ).Sup.id)));
	addf_176635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4672), LOC3, 2);
}

N_NIMCALL(Ropeobj175009*, gentypeinfo_548315)(Tproc548033* p, Ttype224847* typ) {
	Ropeobj175009* result;
	Ttype224847* t;
	TY175572 LOC1;
{	result = 0;
	t = skiptypes_228167(typ, 2048);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rope_175407(((NI64) ((*t).Sup.id)));
	result = HEX25_176236(((NimStringDesc*) &TMP4665), LOC1, 1);
	{
		NIM_BOOL LOC4;
		LOC4 = 0;
		LOC4 = containsorincl_221898((&(*(*p).g).typeinfogenerated), (*t).Sup.id);
		if (!LOC4) goto LA5;
		goto BeforeRet;
	}
	LA5: ;
	switch ((*t).kind) {
	case ((NU8) 13):
	{
		result = gentypeinfo_548315(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):
	{
		Ropeobj175009* s;
		TY542257 LOC9;
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = result;
		LOC9[1] = rope_175407(((NI64) ((*t).kind)));
		s = HEX25_176236(((NimStringDesc*) &TMP4666), LOC9, 2);
		prepend_176206(&(*(*p).g).typeinfo, s);
	}
	break;
	case ((NU8) 23):
	case ((NU8) 22):
	case ((NU8) 21):
	case ((NU8) 24):
	case ((NU8) 20):
	case ((NU8) 19):
	{
		Ropeobj175009* s;
		TY542257 LOC11;
		TY542257 LOC12;
		Ttype224847* LOC13;
		memset((void*)LOC11, 0, sizeof(LOC11));
		LOC11[0] = result;
		LOC11[1] = rope_175407(((NI64) ((*t).kind)));
		s = HEX25_176236(((NimStringDesc*) &TMP4666), LOC11, 2);
		prepend_176206(&(*(*p).g).typeinfo, s);
		memset((void*)LOC12, 0, sizeof(LOC12));
		LOC12[0] = result;
		LOC13 = 0;
		LOC13 = lastson_227426(t);
		LOC12[1] = gentypeinfo_548315(p, LOC13);
		addf_176635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4667), LOC12, 2);
	}
	break;
	case ((NU8) 4):
	case ((NU8) 16):
	{
		Ropeobj175009* s;
		TY542257 LOC15;
		TY542257 LOC16;
		memset((void*)LOC15, 0, sizeof(LOC15));
		LOC15[0] = result;
		LOC15[1] = rope_175407(((NI64) ((*t).kind)));
		s = HEX25_176236(((NimStringDesc*) &TMP4666), LOC15, 2);
		prepend_176206(&(*(*p).g).typeinfo, s);
		memset((void*)LOC16, 0, sizeof(LOC16));
		LOC16[0] = result;
		LOC16[1] = gentypeinfo_548315(p, (*t).sons->data[((NI) 1)]);
		addf_176635(&(*(*p).g).typeinfo, ((NimStringDesc*) &TMP4667), LOC16, 2);
	}
	break;
	case ((NU8) 14):
	{
		genenuminfo_548634(p, t, result);
	}
	break;
	case ((NU8) 17):
	{
		genobjectinfo_548506(p, t, result);
	}
	break;
	case ((NU8) 18):
	{
		gentupleinfo_548608(p, t, result);
	}
	break;
	default:
	{
		NimStringDesc* LOC21;
		LOC21 = 0;
		LOC21 = rawNewString(reprEnum((*t).kind, (&NTI224262))->Sup.len + 13);
appendString(LOC21, ((NimStringDesc*) &TMP4683));
appendString(LOC21, reprEnum((*t).kind, (&NTI224262)));
appendChar(LOC21, 41);
		internalerror_195191(LOC21);
	}
	break;
	}
	}BeforeRet: ;
	return result;
}

N_NIMCALL(void, createrecordvaraux_553821)(Tproc548033* p, Tnode224809* rec, Intset221056* excludedfieldids, Ropeobj175009** output) {
	switch ((*rec).kind) {
	case ((NU8) 138):
	{
		{
			NI i_553840;
			NI HEX3Atmp_553863;
			NI LOC3;
			NI res_553866;
			i_553840 = 0;
			HEX3Atmp_553863 = 0;
			LOC3 = 0;
			LOC3 = sonslen_227387(rec);
			HEX3Atmp_553863 = (NI)(LOC3 - ((NI) 1));
			res_553866 = ((NI) 0);
			{
				while (1) {
					if (!(res_553866 <= HEX3Atmp_553863)) goto LA5;
					i_553840 = res_553866;
					createrecordvaraux_553821(p, (*rec).kindU.S6.sons->data[i_553840], excludedfieldids, output);
					res_553866 += ((NI) 1);
				} LA5: ;
			}
		}
	}
	break;
	case ((NU8) 139):
	{
		createrecordvaraux_553821(p, (*rec).kindU.S6.sons->data[((NI) 0)], excludedfieldids, output);
		{
			NI i_553855;
			NI HEX3Atmp_553871;
			NI LOC8;
			NI res_553874;
			i_553855 = 0;
			HEX3Atmp_553871 = 0;
			LOC8 = 0;
			LOC8 = sonslen_227387(rec);
			HEX3Atmp_553871 = (NI)(LOC8 - ((NI) 1));
			res_553874 = ((NI) 1);
			{
				while (1) {
					Tnode224809* LOC11;
					if (!(res_553874 <= HEX3Atmp_553871)) goto LA10;
					i_553855 = res_553874;
					LOC11 = 0;
					LOC11 = lastson_227406((*rec).kindU.S6.sons->data[i_553855]);
					createrecordvaraux_553821(p, LOC11, excludedfieldids, output);
					res_553874 += ((NI) 1);
				} LA10: ;
			}
		}
	}
	break;
	case ((NU8) 3):
	{
		{
			NIM_BOOL LOC15;
			Ropeobj175009* LOC23;
			Ropeobj175009* LOC24;
			LOC15 = 0;
			LOC15 = contains_221829(excludedfieldids, (*(*rec).kindU.S4.sym).Sup.id);
			if (!!(LOC15)) goto LA16;
			{
				NI LOC20;
				LOC20 = 0;
				LOC20 = len_175034((*output));
				if (!(((NI) 0) < LOC20)) goto LA21;
				add_175545(output, ((NimStringDesc*) &TMP4648));
			}
			LA21: ;
			LOC23 = 0;
			LOC23 = manglename_548277((*rec).kindU.S4.sym);
			add_175534(output, LOC23);
			add_175545(output, ((NimStringDesc*) &TMP4692));
			LOC24 = 0;
			LOC24 = createvar_553813(p, (*(*rec).kindU.S4.sym).typ, NIM_FALSE);
			add_175534(output, LOC24);
		}
		LA16: ;
	}
	break;
	default:
	{
		internalerror_195172((*rec).info, ((NimStringDesc*) &TMP4693));
	}
	break;
	}
}

N_NIMCALL(void, createobjinitlist_553902)(Tproc548033* p, Ttype224847* typ, Intset221056* excludedfieldids, Ropeobj175009** output) {
	Ttype224847* t;
	t = typ;
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC12;
		TY175572 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_175034((*output));
			if (!(((NI) 0) < LOC9)) goto LA10;
			add_175545(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_548315(p, t);
		addf_176635(output, LOC12, LOC18, 1);
	}
	LA5: ;
	{
		while (1) {
			if (!!((t == NIM_NIL))) goto LA20;
			createrecordvaraux_553821(p, (*t).n, excludedfieldids, output);
			t = (*t).sons->data[((NI) 0)];
		} LA20: ;
	}
}

N_NIMCALL(Ropeobj175009*, createvar_553813)(Tproc548033* p, Ttype224847* typ, NIM_BOOL indirect) {
	Ropeobj175009* result;
	Ttype224847* t;
	result = 0;
	t = skiptypes_228167(typ, IL64(211106232576256));
	switch ((*t).kind) {
	case ((NU8) 31) ... ((NU8) 35):
	case ((NU8) 40) ... ((NU8) 44):
	case ((NU8) 14):
	case ((NU8) 2):
	{
		result = puttoseq_553800(((NimStringDesc*) &TMP4642), indirect);
	}
	break;
	case ((NU8) 36) ... ((NU8) 39):
	{
		result = puttoseq_553800(((NimStringDesc*) &TMP4643), indirect);
	}
	break;
	case ((NU8) 20):
	case ((NU8) 11):
	{
		Ttype224847* LOC4;
		LOC4 = 0;
		LOC4 = lastson_227426(typ);
		result = createvar_553813(p, LOC4, indirect);
	}
	break;
	case ((NU8) 19):
	{
		result = puttoseq_553800(((NimStringDesc*) &TMP4644), indirect);
	}
	break;
	case ((NU8) 1):
	{
		result = puttoseq_553800(((NimStringDesc*) &TMP4645), indirect);
	}
	break;
	case ((NU8) 16):
	case ((NU8) 4):
	{
		NI length;
		NI64 LOC8;
		Ttype224847* e;
		LOC8 = 0;
		LOC8 = lengthord_254016(t);
		length = ((NI) (LOC8));
		e = elemtype_254522(t);
		{
			TY514578 LOC13;
			if (!(((NI) 32) < length)) goto LA11;
			usemagic_548838(p, ((NimStringDesc*) &TMP4662));
			usemagic_548838(p, ((NimStringDesc*) &TMP4663));
			memset((void*)LOC13, 0, sizeof(LOC13));
			LOC13[0] = rope_175407(((NI64) (length)));
			LOC13[1] = createvar_553813(p, e, NIM_FALSE);
			LOC13[2] = gentypeinfo_548315(p, e);
			result = HEX25_176236(((NimStringDesc*) &TMP4664), LOC13, 3);
		}
		goto LA9;
		LA11: ;
		{
			NI i;
			result = rope_175322(((NimStringDesc*) &TMP4684));
			i = ((NI) 0);
			{
				while (1) {
					Ropeobj175009* LOC21;
					if (!(i < length)) goto LA16;
					{
						if (!(((NI) 0) < i)) goto LA19;
						add_175545(&result, ((NimStringDesc*) &TMP4648));
					}
					LA19: ;
					LOC21 = 0;
					LOC21 = createvar_553813(p, e, NIM_FALSE);
					add_175534(&result, LOC21);
					i += ((NI) 1);
				} LA16: ;
			}
			add_175545(&result, ((NimStringDesc*) &TMP4685));
		}
		LA9: ;
		{
			TY175572 LOC26;
			if (!indirect) goto LA24;
			memset((void*)LOC26, 0, sizeof(LOC26));
			LOC26[0] = result;
			result = HEX25_176236(((NimStringDesc*) &TMP4641), LOC26, 1);
		}
		LA24: ;
	}
	break;
	case ((NU8) 18):
	{
		result = rope_175322(((NimStringDesc*) &TMP4686));
		{
			NI i_554012;
			NI HEX3Atmp_554081;
			NI LOC29;
			NI res_554084;
			i_554012 = 0;
			HEX3Atmp_554081 = 0;
			LOC29 = 0;
			LOC29 = sonslen_227351(t);
			HEX3Atmp_554081 = (LOC29 - 1);
			res_554084 = ((NI) 0);
			{
				while (1) {
					NimStringDesc* LOC36;
					TY542257 LOC42;
					if (!(res_554084 <= HEX3Atmp_554081)) goto LA31;
					i_554012 = res_554084;
					{
						if (!(((NI) 0) < i_554012)) goto LA34;
						add_175545(&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_175407(((NI64) (i_554012)));
					LOC42[1] = createvar_553813(p, (*t).sons->data[i_554012], NIM_FALSE);
					addf_176635(&result, LOC36, LOC42, 2);
					res_554084 += ((NI) 1);
				} LA31: ;
			}
		}
		add_175545(&result, ((NimStringDesc*) &TMP4689));
		{
			TY175572 LOC47;
			if (!indirect) goto LA45;
			memset((void*)LOC47, 0, sizeof(LOC47));
			LOC47[0] = result;
			result = HEX25_176236(((NimStringDesc*) &TMP4641), LOC47, 1);
		}
		LA45: ;
	}
	break;
	case ((NU8) 17):
	{
		Ropeobj175009* initlist;
		Intset221056 LOC49;
		TY175572 LOC50;
		initlist = 0;
		memset((void*)(&LOC49), 0, sizeof(LOC49));
		initintset_221927((&LOC49));
		createobjinitlist_553902(p, t, (&LOC49), &initlist);
		memset((void*)LOC50, 0, sizeof(LOC50));
		LOC50[0] = initlist;
		result = HEX25_176236(((NimStringDesc*) &TMP4694), LOC50, 1);
		{
			TY175572 LOC55;
			if (!indirect) goto LA53;
			memset((void*)LOC55, 0, sizeof(LOC55));
			LOC55[0] = result;
			result = HEX25_176236(((NimStringDesc*) &TMP4641), LOC55, 1);
		}
		LA53: ;
	}
	break;
	case ((NU8) 23):
	case ((NU8) 21):
	case ((NU8) 22):
	{
		{
			NU8 LOC59;
			NimStringDesc* LOC62;
			LOC59 = 0;
			LOC59 = maptype_548256(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_553800(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_553800(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_553800(LOC76, indirect);
	}
	break;
	default:
	{
		NimStringDesc* LOC83;
		LOC83 = 0;
		LOC83 = rawNewString(reprEnum((*t).kind, (&NTI224262))->Sup.len + 11);
appendString(LOC83, ((NimStringDesc*) &TMP4698));
appendString(LOC83, reprEnum((*t).kind, (&NTI224262)));
		internalerror_195191(LOC83);
		result = NIM_NIL;
	}
	break;
	}
	return result;
}

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

N_NIMCALL(void, genvarinit_554110)(Tproc548033* p, Tsym224841* v, Tnode224809* n) {
	Tcompres548023 a;
	Ropeobj175009* s;
{	memset((void*)(&a), 0, sizeof(a));
	s = 0;
	{
		NimStringDesc* LOC5;
		TY542257 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_548277(v);
		LOC12 = 0;
		LOC12 = isindirect_552430(v);
		LOC11[1] = createvar_553813(p, (*v).typ, LOC12);
		addf_176635(&(*p).body, LOC5, LOC11, 2);
	}
	goto LA1;
	LA3: ;
	{
		Ropeobj175009* LOC14;
		NU8 LOC15;
		LOC14 = 0;
		LOC14 = manglename_548277(v);
		gen_548808(p, n, (&a));
		LOC15 = 0;
		LOC15 = maptype_548256((*v).typ);
		switch (LOC15) {
		case ((NU8) 7):
		{
			{
				NIM_BOOL LOC19;
				LOC19 = 0;
				LOC19 = needsnocopy_551865(n);
				if (!LOC19) goto LA20;
				s = a.res;
			}
			goto LA17;
			LA20: ;
			{
				TY542257 LOC23;
				usemagic_548838(p, ((NimStringDesc*) &TMP4663));
				memset((void*)LOC23, 0, sizeof(LOC23));
				LOC23[0] = a.res;
				LOC23[1] = gentypeinfo_548315(p, (*n).typ);
				s = HEX25_176236(((NimStringDesc*) &TMP4700), LOC23, 2);
			}
			LA17: ;
		}
		break;
		case ((NU8) 8):
		{
			{
				if (!!((a.typ == ((NU8) 8)))) goto LA27;
				internalerror_195172((*n).info, ((NimStringDesc*) &TMP4701));
			}
			LA27: ;
			{
				NimStringDesc* LOC33;
				TY514578 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_176635(&(*p).body, LOC33, LOC39, 3);
			}
			goto LA29;
			LA31: ;
			{
				NimStringDesc* LOC41;
				TY514578 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_176635(&(*p).body, LOC41, LOC47, 3);
			}
			LA29: ;
			goto BeforeRet;
		}
		break;
		default:
		{
			s = a.res;
		}
		break;
		}
		{
			NIM_BOOL LOC51;
			NimStringDesc* LOC54;
			TY542257 LOC60;
			LOC51 = 0;
			LOC51 = isindirect_552430(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_176635(&(*p).body, LOC54, LOC60, 2);
		}
		goto LA49;
		LA52: ;
		{
			NimStringDesc* LOC62;
			TY542257 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_176635(&(*p).body, LOC62, LOC68, 2);
		}
		LA49: ;
	}
	LA1: ;
	}BeforeRet: ;
}

N_NIMCALL(void, genconstant_548831)(Tproc548033* p, Tsym224841* c) {
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC5;
		Ropeobj175009* oldbody;
		LOC3 = 0;
		LOC3 = !((((*c).loc.flags &(1<<((((NU8) 3))&15)))!=0));
		if (!(LOC3)) goto LA4;
		LOC5 = 0;
		LOC5 = containsorincl_221898((&(*(*p).g).generatedsyms), (*c).Sup.id);
		LOC3 = !(LOC5);
		LA4: ;
		if (!LOC3) goto LA6;
		oldbody = (*p).body;
		asgnRefNoCycle((void**) (&(*p).body), NIM_NIL);
		genvarinit_554110(p, c, (*c).ast);
		add_175534(&(*(*p).g).code, (*p).body);
		asgnRefNoCycle((void**) (&(*p).body), oldbody);
	}
	LA6: ;
}

N_NIMCALL(void, genprocforsymifneeded_552634)(Tproc548033* p, Tsym224841* s) {
	{
		NIM_BOOL LOC3;
		Ropeobj175009* newp;
		Tproc548033* owner;
		LOC3 = 0;
		LOC3 = containsorincl_221898((&(*(*p).g).generatedsyms), (*s).Sup.id);
		if (!!(LOC3)) goto LA4;
		newp = genproc_548824(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_175534(&(*owner).locals, newp);
		}
		goto LA10;
		LA12: ;
		{
			add_175534(&(*(*p).g).code, newp);
		}
		LA10: ;
	}
	LA4: ;
}

N_NIMCALL(void, gensym_552693)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tsym224841* 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_195172((*n).info, LOC6);
		}
		LA4: ;
		k = maptype_548256((*s).typ);
		{
			if (!(k == ((NU8) 8))) goto LA9;
			(*r).typ = ((NU8) 8);
			{
				TY175572 LOC15;
				TY175572 LOC16;
				if (!!(((32776 & (*s).flags) == 0))) goto LA13;
				memset((void*)LOC15, 0, sizeof(LOC15));
				LOC15[0] = (*s).loc.r;
				unsureAsgnRef((void**) (&(*r).address), HEX25_176236(((NimStringDesc*) &TMP4635), LOC15, 1));
				memset((void*)LOC16, 0, sizeof(LOC16));
				LOC16[0] = (*s).loc.r;
				unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4636), LOC16, 1));
			}
			goto LA11;
			LA13: ;
			{
				unsureAsgnRef((void**) (&(*r).address), (*s).loc.r);
				unsureAsgnRef((void**) (&(*r).res), HEX26_175471((*s).loc.r, ((NimStringDesc*) &TMP4637)));
			}
			LA11: ;
		}
		goto LA7;
		LA9: ;
		{
			NIM_BOOL LOC19;
			TY175572 LOC22;
			LOC19 = 0;
			LOC19 = isindirect_552430(s);
			if (!LOC19) goto LA20;
			memset((void*)LOC22, 0, sizeof(LOC22));
			LOC22[0] = (*s).loc.r;
			unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4635), LOC22, 1));
		}
		goto LA7;
		LA20: ;
		{
			unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
		}
		LA7: ;
	}
	break;
	case ((NU8) 10):
	{
		genconstant_548831(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_195172((*n).info, LOC29);
		}
		LA27: ;
		unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
	}
	break;
	case ((NU8) 12):
	case ((NU8) 16):
	case ((NU8) 13):
	{
		Ropeobj175009* LOC31;
		LOC31 = 0;
		LOC31 = manglename_548277(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;
			Tnode224809* LOC43;
			LOC41 = 0;
			LOC41 = ((*s).kind == ((NU8) 13));
			if (!(LOC41)) goto LA42;
			LOC43 = 0;
			LOC43 = getbody_270061(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 = (Tsymseq224811*) incrSeqV2(&((*(*p).g).forwarded)->Sup, sizeof(Tsym224841*));
			asgnRefNoCycle((void**) (&(*(*p).g).forwarded->data[(*(*p).g).forwarded->Sup.len]), s);
			++(*(*p).g).forwarded->Sup.len;
		}
		goto LA32;
		LA47: ;
		{
			genprocforsymifneeded_552634(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_195172((*n).info, LOC55);
		}
		LA53: ;
		unsureAsgnRef((void**) (&(*r).res), (*s).loc.r);
	}
	break;
	}
	(*r).kind = ((NU8) 2);
}

static N_INLINE(NIM_BOOL, isemptytype_229933)(Ttype224847* 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_225098)(Tnode224809* 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_229905)(Tnode224809* 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_548895)(Tnode224809* 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;
		{
			Tnode224809* c_548922;
			c_548922 = 0;
			{
				NI i_548929;
				NI HEX3Atmp_548931;
				NI LOC7;
				NI res_548933;
				i_548929 = 0;
				HEX3Atmp_548931 = 0;
				LOC7 = 0;
				LOC7 = len_225098(n);
				HEX3Atmp_548931 = (LOC7 - 1);
				res_548933 = ((NI) 0);
				{
					while (1) {
						if (!(res_548933 <= HEX3Atmp_548931)) goto LA9;
						i_548929 = res_548933;
						c_548922 = (*n).kindU.S6.sons->data[i_548929];
						{
							NIM_BOOL LOC12;
							LOC12 = 0;
							LOC12 = issimpleexpr_548895(c_548922);
							if (!!(LOC12)) goto LA13;
							result = NIM_FALSE;
							goto BeforeRet;
						}
						LA13: ;
						res_548933 += ((NI) 1);
					} LA9: ;
				}
			}
		}
		result = NIM_TRUE;
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC16;
		LOC16 = 0;
		LOC16 = isatom_229905(n);
		if (!LOC16) goto LA17;
		result = NIM_TRUE;
	}
	goto LA1;
	LA17: ;
	LA1: ;
	}BeforeRet: ;
	return result;
}

static N_INLINE(Ropeobj175009*, rdloc_548127)(Tcompres548023* a) {
	Ropeobj175009* result;
	result = 0;
	result = (*a).res;
	return result;
}

N_NIMCALL(Ropeobj175009*, gettemp_548954)(Tproc548033* p, NIM_BOOL defineinlocals) {
	Ropeobj175009* result;
	TY175572 LOC1;
	result = 0;
	(*p).unique += ((NI) 1);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rope_175407(((NI64) ((*p).unique)));
	result = HEX25_176236(((NimStringDesc*) &TMP4719), LOC1, 1);
	{
		NimStringDesc* LOC6;
		TY175572 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_176635(&(*p).locals, LOC6, LOC12, 1);
	}
	LA4: ;
	return result;
}

N_NIMCALL(void, genor_549252)(Tproc548033* p, Tnode224809* a, Tnode224809* b, Tcompres548023* r) {
	Tcompres548023 x;
	Tcompres548023 y;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC7;
		TY542257 LOC13;
		LOC3 = 0;
		LOC3 = issimpleexpr_548895(a);
		if (!(LOC3)) goto LA4;
		LOC3 = issimpleexpr_548895(b);
		LA4: ;
		if (!LOC3) goto LA5;
		gen_548808(p, a, (&x));
		gen_548808(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_548127((&x));
		LOC13[1] = rdloc_548127((&y));
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(LOC7, LOC13, 2));
	}
	goto LA1;
	LA5: ;
	{
		NimStringDesc* LOC15;
		TY542257 LOC21;
		NimStringDesc* LOC22;
		TY542257 LOC28;
		unsureAsgnRef((void**) (&(*r).res), gettemp_548954(p, NIM_TRUE));
		(*r).kind = ((NU8) 2);
		gen_548808(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_548127((&x));
		LOC21[1] = rdloc_548127((&(*r)));
		addf_176635(&(*p).body, LOC15, LOC21, 2);
		gen_548808(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_548127((&y));
		LOC28[1] = rdloc_548127((&(*r)));
		addf_176635(&(*p).body, LOC22, LOC28, 2);
	}
	LA1: ;
}

N_NIMCALL(void, genand_548988)(Tproc548033* p, Tnode224809* a, Tnode224809* b, Tcompres548023* r) {
	Tcompres548023 x;
	Tcompres548023 y;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC7;
		TY542257 LOC13;
		LOC3 = 0;
		LOC3 = issimpleexpr_548895(a);
		if (!(LOC3)) goto LA4;
		LOC3 = issimpleexpr_548895(b);
		LA4: ;
		if (!LOC3) goto LA5;
		gen_548808(p, a, (&x));
		gen_548808(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_548127((&x));
		LOC13[1] = rdloc_548127((&y));
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(LOC7, LOC13, 2));
	}
	goto LA1;
	LA5: ;
	{
		NimStringDesc* LOC15;
		TY542257 LOC21;
		NimStringDesc* LOC22;
		TY542257 LOC28;
		unsureAsgnRef((void**) (&(*r).res), gettemp_548954(p, NIM_TRUE));
		(*r).kind = ((NU8) 2);
		gen_548808(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_548127((&x));
		LOC21[1] = rdloc_548127((&(*r)));
		addf_176635(&(*p).body, LOC15, LOC21, 2);
		gen_548808(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_548127((&y));
		LOC28[1] = rdloc_548127((&(*r)));
		addf_176635(&(*p).body, LOC22, LOC28, 2);
	}
	LA1: ;
}

N_NIMCALL(void, arithaux_549859)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NU8 op, Tmagicops549455 ops) {
	Tcompres548023 x;
	Tcompres548023 y;
	NI i;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	i = !((((*p).options &(1<<((((NU8) 5))&31)))!=0));
	usemagic_548838(p, ops[(op)- 44][(i)- 0]);
	{
		NI LOC3;
		TY542257 LOC6;
		LOC3 = 0;
		LOC3 = sonslen_227387(n);
		if (!(((NI) 2) < LOC3)) goto LA4;
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
		memset((void*)LOC6, 0, sizeof(LOC6));
		LOC6[0] = rdloc_548127((&x));
		LOC6[1] = rdloc_548127((&y));
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(ops[(op)- 44][((NI)(((NI) (i)) + ((NI) 2)))- 0], LOC6, 2));
	}
	goto LA1;
	LA4: ;
	{
		TY175572 LOC8;
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
		memset((void*)LOC8, 0, sizeof(LOC8));
		LOC8[0] = rdloc_548127((&(*r)));
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(ops[(op)- 44][((NI)(((NI) (i)) + ((NI) 2)))- 0], LOC8, 1));
	}
	LA1: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, arith_549907)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NU8 op) {
	Tmagicops549455 LOC1;
	memset((void*)LOC1, 0, sizeof(LOC1));
	{
		if (!((*p).target == ((NU8) 0))) goto LA4;
		genericAssign((void*)LOC1, (void*)jsops_549461, (&NTI549455));
	}
	goto LA2;
	LA4: ;
	{
		genericAssign((void*)LOC1, (void*)luaops_549624, (&NTI549455));
	}
	LA2: ;
	arithaux_549859(p, n, r, op, LOC1);
}

N_NIMCALL(void, unaryexpr_549842)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NimStringDesc* magic, NimStringDesc* frmt) {
	TY175572 LOC1;
	usemagic_548838(p, magic);
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rdloc_548127((&(*r)));
	unsureAsgnRef((void**) (&(*r).res), HEX25_176236(frmt, LOC1, 1));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genrepr_554828)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Ttype224847* t;
	t = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106242013440));
	switch ((*t).kind) {
	case ((NU8) 31) ... ((NU8) 44):
	{
		unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4815));
	}
	break;
	case ((NU8) 14):
	case ((NU8) 15):
	{
		TY542257 LOC3;
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
		usemagic_548838(p, ((NimStringDesc*) &TMP4711));
		(*r).kind = ((NU8) 1);
		memset((void*)LOC3, 0, sizeof(LOC3));
		LOC3[0] = gentypeinfo_548315(p, t);
		LOC3[1] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4816), LOC3, 2));
	}
	break;
	default:
	{
		internalerror_195172((*n).info, ((NimStringDesc*) &TMP4817));
	}
	break;
	}
}

N_NIMCALL(void, genswap_552019)(Tproc548033* p, Tnode224809* n) {
	Tcompres548023 a;
	Tcompres548023 b;
	Ropeobj175009* tmp;
	NimStringDesc* LOC20;
	TY514578 LOC26;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&b));
	tmp = gettemp_548954(p, NIM_FALSE);
	{
		Ttype224847* LOC3;
		NU8 LOC4;
		Ropeobj175009* tmp2;
		NimStringDesc* LOC13;
		TY514578 LOC19;
		LOC3 = 0;
		LOC3 = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106240964864));
		LOC4 = 0;
		LOC4 = maptype_548256(LOC3);
		if (!(LOC4 == ((NU8) 8))) goto LA5;
		tmp2 = gettemp_548954(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_195172((*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_176635(&(*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_176635(&(*p).body, LOC20, LOC26, 3);
}

N_NIMCALL(void, binaryexpr_549790)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NimStringDesc* magic, NimStringDesc* frmt) {
	Tcompres548023 x;
	Tcompres548023 y;
	TY542257 LOC1;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	usemagic_548838(p, magic);
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rdloc_548127((&x));
	LOC1[1] = rdloc_548127((&y));
	unsureAsgnRef((void**) (&(*r).res), HEX25_176236(frmt, LOC1, 2));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genconstrstr_554730)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 a;
	NI LOC25;
	memset((void*)(&a), 0, sizeof(a));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
	(*r).kind = ((NU8) 1);
	{
		Ttype224847* LOC3;
		TY175572 LOC6;
		Ropeobj175009* LOC7;
		LOC3 = 0;
		LOC3 = skiptypes_228167((*(*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_176236(((NimStringDesc*) &TMP4830), LOC6, 1);
		add_175534(&(*r).res, LOC7);
	}
	goto LA1;
	LA4: ;
	{
		TY175572 LOC9;
		Ropeobj175009* LOC10;
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = a.res;
		LOC10 = 0;
		LOC10 = HEX25_176236(((NimStringDesc*) &TMP4831), LOC9, 1);
		add_175534(&(*r).res, LOC10);
	}
	LA1: ;
	{
		NI i_554767;
		NI HEX3Atmp_554806;
		NI LOC12;
		NI res_554809;
		i_554767 = 0;
		HEX3Atmp_554806 = 0;
		LOC12 = 0;
		LOC12 = sonslen_227387(n);
		HEX3Atmp_554806 = (NI)(LOC12 - ((NI) 2));
		res_554809 = ((NI) 2);
		{
			while (1) {
				if (!(res_554809 <= HEX3Atmp_554806)) goto LA14;
				i_554767 = res_554809;
				gen_548808(p, (*n).kindU.S6.sons->data[i_554767], (&a));
				{
					Ttype224847* LOC17;
					TY175572 LOC20;
					Ropeobj175009* LOC21;
					LOC17 = 0;
					LOC17 = skiptypes_228167((*(*n).kindU.S6.sons->data[i_554767]).typ, IL64(211106242013440));
					if (!((*LOC17).kind == ((NU8) 2))) goto LA18;
					memset((void*)LOC20, 0, sizeof(LOC20));
					LOC20[0] = a.res;
					LOC21 = 0;
					LOC21 = HEX25_176236(((NimStringDesc*) &TMP4832), LOC20, 1);
					add_175534(&(*r).res, LOC21);
				}
				goto LA15;
				LA18: ;
				{
					TY175572 LOC23;
					Ropeobj175009* LOC24;
					memset((void*)LOC23, 0, sizeof(LOC23));
					LOC23[0] = a.res;
					LOC24 = 0;
					LOC24 = HEX25_176236(((NimStringDesc*) &TMP4833), LOC23, 1);
					add_175534(&(*r).res, LOC24);
				}
				LA15: ;
				res_554809 += ((NI) 1);
			} LA14: ;
		}
	}
	LOC25 = 0;
	LOC25 = sonslen_227387(n);
	gen_548808(p, (*n).kindU.S6.sons->data[(NI)(LOC25 - ((NI) 1))], (&a));
	{
		NI LOC28;
		Ttype224847* LOC29;
		TY175572 LOC32;
		Ropeobj175009* LOC33;
		LOC28 = 0;
		LOC28 = sonslen_227387(n);
		LOC29 = 0;
		LOC29 = skiptypes_228167((*(*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_176236(((NimStringDesc*) &TMP4834), LOC32, 1);
		add_175534(&(*r).res, LOC33);
	}
	goto LA26;
	LA30: ;
	{
		TY175572 LOC35;
		Ropeobj175009* LOC36;
		memset((void*)LOC35, 0, sizeof(LOC35));
		LOC35[0] = a.res;
		LOC36 = 0;
		LOC36 = HEX25_176236(((NimStringDesc*) &TMP4835), LOC35, 1);
		add_175534(&(*r).res, LOC36);
	}
	LA26: ;
}

N_NIMCALL(void, gennew_554665)(Tproc548033* p, Tnode224809* n) {
	Tcompres548023 a;
	Ttype224847* t;
	Ttype224847* LOC1;
	TY542257 LOC2;
	memset((void*)(&a), 0, sizeof(a));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
	LOC1 = 0;
	LOC1 = skiptypes_228167((*(*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_553813(p, t, NIM_FALSE);
	addf_176635(&(*p).body, ((NimStringDesc*) &TMP4842), LOC2, 2);
}

N_NIMCALL(void, genord_554707)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Ttype224847* LOC1;
	LOC1 = 0;
	LOC1 = skiptypes_228167((*(*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_548808(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_549842(p, n, r, ((NimStringDesc*) &TMP4731), LOC4);
	}
	break;
	default:
	{
		internalerror_195172((*n).info, ((NimStringDesc*) &TMP4845));
	}
	break;
	}
}

N_NIMCALL(void, gennewseq_554684)(Tproc548033* p, Tnode224809* n) {
	Tcompres548023 x;
	Tcompres548023 y;
	Ttype224847* t;
	Ttype224847* LOC1;
	TY514578 LOC2;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
	LOC1 = 0;
	LOC1 = skiptypes_228167((*(*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_548127((&x));
	LOC2[1] = rdloc_548127((&y));
	LOC2[2] = createvar_553813(p, t, NIM_FALSE);
	addf_176635(&(*p).body, ((NimStringDesc*) &TMP4875), LOC2, 3);
}

N_NIMCALL(void, genof_554845)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 x;
	Ttype224847* t;
	memset((void*)(&x), 0, sizeof(x));
	t = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 2)]).typ, IL64(211106248304896));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	{
		TY542257 LOC5;
		if (!(((*t).flags &(1<<((((NU8) 2))&31)))!=0)) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = x.res;
		LOC5[1] = gentypeinfo_548315(p, t);
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4876), LOC5, 2));
	}
	goto LA1;
	LA3: ;
	{
		TY542257 LOC7;
		usemagic_548838(p, ((NimStringDesc*) &TMP4877));
		memset((void*)LOC7, 0, sizeof(LOC7));
		LOC7[0] = x.res;
		LOC7[1] = gentypeinfo_548315(p, t);
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4878), LOC7, 2));
	}
	LA1: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genreset_554890)(Tproc548033* p, Tnode224809* n) {
	Tcompres548023 x;
	TY542257 LOC1;
	memset((void*)(&x), 0, sizeof(x));
	usemagic_548838(p, ((NimStringDesc*) &TMP4879));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = x.res;
	LOC1[1] = gentypeinfo_548315(p, (*(*n).kindU.S6.sons->data[((NI) 1)]).typ);
	addf_176635(&(*p).body, ((NimStringDesc*) &TMP4880), LOC1, 2);
}

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

N_NIMCALL(void, genargnoparam_552943)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 a;
	memset((void*)(&a), 0, sizeof(a));
	gen_548808(p, n, (&a));
	{
		if (!(a.typ == ((NU8) 8))) goto LA3;
		add_175534(&(*r).res, a.address);
		add_175545(&(*r).res, ((NimStringDesc*) &TMP4648));
		add_175534(&(*r).res, a.res);
	}
	goto LA1;
	LA3: ;
	{
		add_175534(&(*r).res, a.res);
	}
	LA1: ;
}

N_NIMCALL(void, genecho_553731)(Tproc548033* p, Tnode224809* n_553734, Tcompres548023* r) {
	Tnode224809* n;
	Tnode224809* LOC1;
	usemagic_548838(p, ((NimStringDesc*) &TMP4881));
	usemagic_548838(p, ((NimStringDesc*) &TMP4882));
	add_175545(&(*r).res, ((NimStringDesc*) &TMP4883));
	LOC1 = 0;
	LOC1 = HEX5BHEX5D_225244(n_553734, ((NI) 1));
	n = skipconv_263935(LOC1);
	{
		NimStringDesc* LOC6;
		if (!!(((*n).kind == ((NU8) 41)))) goto LA4;
		LOC6 = 0;
		LOC6 = HEX24_195279(TMP4884);
		internalerror_195191(LOC6);
	}
	LA4: ;
	{
		NI i_553768;
		NI HEX3Atmp_553775;
		NI LOC8;
		NI res_553778;
		i_553768 = 0;
		HEX3Atmp_553775 = 0;
		LOC8 = 0;
		LOC8 = sonslen_227387(n);
		HEX3Atmp_553775 = (NI)(LOC8 - ((NI) 1));
		res_553778 = ((NI) 0);
		{
			while (1) {
				if (!(res_553778 <= HEX3Atmp_553775)) goto LA10;
				i_553768 = res_553778;
				{
					Tnode224809* it;
					it = (*n).kindU.S6.sons->data[i_553768];
					{
						NIM_BOOL LOC14;
						LOC14 = 0;
						LOC14 = iscompiletimeonly_263712((*it).typ);
						if (!LOC14) goto LA15;
						goto LA11;
					}
					LA15: ;
					{
						if (!(((NI) 0) < i_553768)) goto LA19;
						add_175545(&(*r).res, ((NimStringDesc*) &TMP4648));
					}
					LA19: ;
					genargnoparam_552943(p, it, r);
				} LA11: ;
				res_553778 += ((NI) 1);
			} LA10: ;
		}
	}
	add_175545(&(*r).res, ((NimStringDesc*) &TMP4885));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, ternaryexpr_549814)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NimStringDesc* magic, NimStringDesc* frmt) {
	Tcompres548023 x;
	Tcompres548023 y;
	Tcompres548023 z;
	TY514578 LOC1;
	memset((void*)(&x), 0, sizeof(x));
	memset((void*)(&y), 0, sizeof(y));
	memset((void*)(&z), 0, sizeof(z));
	usemagic_548838(p, magic);
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&x));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&y));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 3)], (&z));
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rdloc_548127((&x));
	LOC1[1] = rdloc_548127((&y));
	LOC1[2] = rdloc_548127((&z));
	unsureAsgnRef((void**) (&(*r).res), HEX25_176236(frmt, LOC1, 3));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genarg_552971)(Tproc548033* p, Tnode224809* n, Tsym224841* param, Tcompres548023* r) {
	Tcompres548023 a;
	memset((void*)(&a), 0, sizeof(a));
	gen_548808(p, n, (&a));
	{
		NIM_BOOL LOC3;
		Ttype224847* LOC4;
		TY542257 LOC8;
		Ropeobj175009* LOC9;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = skiptypes_228167((*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_176236(((NimStringDesc*) &TMP4892), LOC8, 2);
		add_175534(&(*r).res, LOC9);
	}
	goto LA1;
	LA6: ;
	{
		if (!(a.typ == ((NU8) 8))) goto LA11;
		add_175534(&(*r).res, a.address);
		add_175545(&(*r).res, ((NimStringDesc*) &TMP4648));
		add_175534(&(*r).res, a.res);
	}
	goto LA1;
	LA11: ;
	{
		add_175534(&(*r).res, a.res);
	}
	LA1: ;
}

N_NIMCALL(void, genargs_553024)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	NIM_BOOL hasargs;
	Ttype224847* typ;
	add_175545(&(*r).res, ((NimStringDesc*) &TMP4891));
	hasargs = NIM_FALSE;
	typ = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106232576256));
	{
		NI i_553413;
		NI HEX3Atmp_553617;
		NI LOC2;
		NI res_553620;
		i_553413 = 0;
		HEX3Atmp_553617 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227387(n);
		HEX3Atmp_553617 = (NI)(LOC2 - ((NI) 1));
		res_553620 = ((NI) 1);
		{
			while (1) {
				if (!(res_553620 <= HEX3Atmp_553617)) goto LA4;
				i_553413 = res_553620;
				{
					Tnode224809* it;
					Tnode224809* paramtype;
					it = (*n).kindU.S6.sons->data[i_553413];
					paramtype = NIM_NIL;
					{
						NI LOC8;
						LOC8 = 0;
						LOC8 = sonslen_227351(typ);
						if (!(i_553413 < LOC8)) goto LA9;
						paramtype = (*(*typ).n).kindU.S6.sons->data[i_553413];
						{
							NIM_BOOL LOC13;
							LOC13 = 0;
							LOC13 = iscompiletimeonly_263712((*paramtype).typ);
							if (!LOC13) goto LA14;
							goto LA5;
						}
						LA14: ;
					}
					LA9: ;
					{
						if (!hasargs) goto LA18;
						add_175545(&(*r).res, ((NimStringDesc*) &TMP4648));
					}
					LA18: ;
					{
						if (!paramtype == 0) goto LA22;
						genargnoparam_552943(p, it, r);
					}
					goto LA20;
					LA22: ;
					{
						genarg_552971(p, it, (*paramtype).kindU.S4.sym, r);
					}
					LA20: ;
					hasargs = NIM_TRUE;
				} LA5: ;
				res_553620 += ((NI) 1);
			} LA4: ;
		}
	}
	add_175545(&(*r).res, ((NimStringDesc*) &TMP4885));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gencall_553642)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	genargs_553024(p, n, r);
}

N_NIMCALL(void, genmagic_554908)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 a;
	Ropeobj175009* line;
	Ropeobj175009* 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_549252(p, (*n).kindU.S6.sons->data[((NI) 1)], (*n).kindU.S6.sons->data[((NI) 2)], r);
	}
	break;
	case ((NU8) 125):
	{
		genand_548988(p, (*n).kindU.S6.sons->data[((NI) 1)], (*n).kindU.S6.sons->data[((NI) 2)], r);
	}
	break;
	case ((NU8) 44) ... ((NU8) 123):
	{
		arith_549907(p, n, r, op);
	}
	break;
	case ((NU8) 148):
	{
		genrepr_554828(p, n, r);
	}
	break;
	case ((NU8) 155):
	{
		genswap_552019(p, n);
	}
	break;
	case ((NU8) 25):
	{
		{
			if (!!((((*p).options &(1<<((((NU8) 5))&31)))!=0))) goto LA9;
			unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4823));
		}
		goto LA7;
		LA9: ;
		{
			unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4734), ((NimStringDesc*) &TMP4824));
		}
		LA7: ;
	}
	break;
	case ((NU8) 143):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4825), ((NimStringDesc*) &TMP4826));
	}
	break;
	case ((NU8) 144):
	{
		{
			Ttype224847* LOC16;
			LOC16 = 0;
			LOC16 = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106242013440));
			if (!((*LOC16).kind == ((NU8) 29))) goto LA17;
			binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4827));
		}
		goto LA14;
		LA17: ;
		{
			binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4828));
		}
		LA14: ;
	}
	break;
	case ((NU8) 145):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4829));
	}
	break;
	case ((NU8) 137):
	{
		genconstrstr_554730(p, n, r);
	}
	break;
	case ((NU8) 127):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4836), ((NimStringDesc*) &TMP4837));
	}
	break;
	case ((NU8) 128):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4838), ((NimStringDesc*) &TMP4839));
	}
	break;
	case ((NU8) 129):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4838), ((NimStringDesc*) &TMP4840));
	}
	break;
	case ((NU8) 156):
	{
		unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4841));
	}
	break;
	case ((NU8) 124):
	{
		genrepr_554828(p, n, r);
	}
	break;
	case ((NU8) 29):
	case ((NU8) 30):
	{
		gennew_554665(p, n);
	}
	break;
	case ((NU8) 9):
	{
		NI64 LOC29;
		LOC29 = 0;
		LOC29 = getsize_254190((*(*n).kindU.S6.sons->data[((NI) 1)]).typ);
		unsureAsgnRef((void**) (&(*r).res), rope_175407(LOC29));
	}
	break;
	case ((NU8) 41):
	case ((NU8) 157):
	{
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	}
	break;
	case ((NU8) 28):
	{
		genord_554707(p, n, r);
	}
	break;
	case ((NU8) 33):
	{
		unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4846));
	}
	break;
	case ((NU8) 36):
	{
		unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4847));
	}
	break;
	case ((NU8) 35):
	case ((NU8) 32):
	case ((NU8) 34):
	{
		unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4848));
	}
	break;
	case ((NU8) 37):
	{
		unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4849));
	}
	break;
	case ((NU8) 8):
	{
		{
			Ttype224847* LOC39;
			LOC39 = 0;
			LOC39 = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106240964864));
			if (!((*LOC39).kind == ((NU8) 28))) goto LA40;
			unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4850));
		}
		goto LA37;
		LA40: ;
		{
			unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4851));
		}
		LA37: ;
	}
	break;
	case ((NU8) 26):
	{
		{
			if (!!((((*p).options &(1<<((((NU8) 5))&31)))!=0))) goto LA46;
			binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4852));
		}
		goto LA44;
		LA46: ;
		{
			binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4730), ((NimStringDesc*) &TMP4853));
		}
		LA44: ;
	}
	break;
	case ((NU8) 27):
	{
		{
			if (!!((((*p).options &(1<<((((NU8) 5))&31)))!=0))) goto LA52;
			binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4854));
		}
		goto LA50;
		LA52: ;
		{
			binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4734), ((NimStringDesc*) &TMP4855));
		}
		LA50: ;
	}
	break;
	case ((NU8) 150):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4856));
	}
	break;
	case ((NU8) 151):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4857));
	}
	break;
	case ((NU8) 40):
	{
		unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4858), ((NimStringDesc*) &TMP4859));
	}
	break;
	case ((NU8) 132):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4860), ((NimStringDesc*) &TMP4861));
	}
	break;
	case ((NU8) 131):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4862), ((NimStringDesc*) &TMP4863));
	}
	break;
	case ((NU8) 130):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4864), ((NimStringDesc*) &TMP4865));
	}
	break;
	case ((NU8) 133):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4866), ((NimStringDesc*) &TMP4867));
	}
	break;
	case ((NU8) 134):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4868), ((NimStringDesc*) &TMP4869));
	}
	break;
	case ((NU8) 135):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4870), ((NimStringDesc*) &TMP4871));
	}
	break;
	case ((NU8) 38):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4872));
	}
	break;
	case ((NU8) 39):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4873));
	}
	break;
	case ((NU8) 147):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4874));
	}
	break;
	case ((NU8) 31):
	{
		gennewseq_554684(p, n);
	}
	break;
	case ((NU8) 12):
	{
		genof_554845(p, n, r);
	}
	break;
	case ((NU8) 163):
	{
		genreset_554890(p, n);
	}
	break;
	case ((NU8) 17):
	{
		genecho_553731(p, n, r);
	}
	break;
	case ((NU8) 216) ... ((NU8) 250):
	case ((NU8) 19):
	case ((NU8) 20):
	{
		localerror_195128((*n).info, ((NU16) 229), (*(*(*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym).name).s);
	}
	break;
	case ((NU8) 158):
	{
		binaryexpr_549790(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4886));
	}
	break;
	case ((NU8) 159):
	{
		ternaryexpr_549814(p, n, r, ((NimStringDesc*) &TMP4731), ((NimStringDesc*) &TMP4887));
	}
	break;
	case ((NU8) 160):
	{
		unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4888), ((NimStringDesc*) &TMP4889));
	}
	break;
	case ((NU8) 161):
	{
		unaryexpr_549842(p, n, r, ((NimStringDesc*) &TMP4888), ((NimStringDesc*) &TMP4890));
	}
	break;
	case ((NU8) 139):
	{
		genprocforsymifneeded_552634(p, (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym);
		gencall_553642(p, n, r);
	}
	break;
	case ((NU8) 162):
	{
		usemagic_548838(p, ((NimStringDesc*) &TMP4893));
		gencall_553642(p, n, r);
	}
	break;
	default:
	{
		gencall_553642(p, n, r);
	}
	break;
	}
}

N_NIMCALL(void, geninfixcall_553655)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 op;
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	{
		TY542257 LOC9;
		if (!((*r).typ == ((NU8) 8))) goto LA3;
		{
			if (!((*r).address == NIM_NIL)) goto LA7;
			globalerror_195118((*n).info, ((NimStringDesc*) &TMP4894));
		}
		LA7: ;
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = (*r).address;
		LOC9[1] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4892), LOC9, 2));
		unsureAsgnRef((void**) (&(*r).address), NIM_NIL);
		(*r).typ = ((NU8) 0);
	}
	LA3: ;
	add_175545(&(*r).res, ((NimStringDesc*) &TMP4895));
	memset((void*)(&op), 0, sizeof(op));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&op));
	add_175534(&(*r).res, op.res);
	add_175545(&(*r).res, ((NimStringDesc*) &TMP4891));
	{
		NI i_553703;
		NI HEX3Atmp_553709;
		NI LOC11;
		NI res_553712;
		i_553703 = 0;
		HEX3Atmp_553709 = 0;
		LOC11 = 0;
		LOC11 = sonslen_227387(n);
		HEX3Atmp_553709 = (NI)(LOC11 - ((NI) 1));
		res_553712 = ((NI) 2);
		{
			while (1) {
				if (!(res_553712 <= HEX3Atmp_553709)) goto LA13;
				i_553703 = res_553712;
				{
					if (!(((NI) 2) < i_553703)) goto LA16;
					add_175545(&(*r).res, ((NimStringDesc*) &TMP4648));
				}
				LA16: ;
				genargnoparam_552943(p, (*n).kindU.S6.sons->data[i_553703], r);
				res_553712 += ((NI) 1);
			} LA13: ;
		}
	}
	add_175545(&(*r).res, ((NimStringDesc*) &TMP4885));
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gensetconstr_554991)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 a;
	Tcompres548023 b;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	usemagic_548838(p, ((NimStringDesc*) &TMP4896));
	unsureAsgnRef((void**) (&(*r).res), rope_175322(((NimStringDesc*) &TMP4897)));
	(*r).kind = ((NU8) 1);
	{
		NI i_555011;
		NI HEX3Atmp_555037;
		NI LOC2;
		NI res_555040;
		i_555011 = 0;
		HEX3Atmp_555037 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227387(n);
		HEX3Atmp_555037 = (NI)(LOC2 - ((NI) 1));
		res_555040 = ((NI) 0);
		{
			while (1) {
				Tnode224809* it;
				if (!(res_555040 <= HEX3Atmp_555037)) goto LA4;
				i_555011 = res_555040;
				{
					if (!(((NI) 0) < i_555011)) goto LA7;
					add_175545(&(*r).res, ((NimStringDesc*) &TMP4648));
				}
				LA7: ;
				it = (*n).kindU.S6.sons->data[i_555011];
				{
					TY542257 LOC13;
					if (!((*it).kind == ((NU8) 44))) goto LA11;
					gen_548808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&a));
					gen_548808(p, (*it).kindU.S6.sons->data[((NI) 1)], (&b));
					memset((void*)LOC13, 0, sizeof(LOC13));
					LOC13[0] = a.res;
					LOC13[1] = b.res;
					addf_176635(&(*r).res, ((NimStringDesc*) &TMP4678), LOC13, 2);
				}
				goto LA9;
				LA11: ;
				{
					gen_548808(p, it, (&a));
					add_175534(&(*r).res, a.res);
				}
				LA9: ;
				res_555040 += ((NI) 1);
			} LA4: ;
		}
	}
	add_175545(&(*r).res, ((NimStringDesc*) &TMP4885));
}

N_NIMCALL(void, genarrayconstr_555059)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 a;
	memset((void*)(&a), 0, sizeof(a));
	unsureAsgnRef((void**) (&(*r).res), rope_175322(((NimStringDesc*) &TMP4684)));
	(*r).kind = ((NU8) 1);
	{
		NI i_555078;
		NI HEX3Atmp_555086;
		NI LOC2;
		NI res_555089;
		i_555078 = 0;
		HEX3Atmp_555086 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227387(n);
		HEX3Atmp_555086 = (NI)(LOC2 - ((NI) 1));
		res_555089 = ((NI) 0);
		{
			while (1) {
				if (!(res_555089 <= HEX3Atmp_555086)) goto LA4;
				i_555078 = res_555089;
				{
					if (!(((NI) 0) < i_555078)) goto LA7;
					add_175545(&(*r).res, ((NimStringDesc*) &TMP4648));
				}
				LA7: ;
				gen_548808(p, (*n).kindU.S6.sons->data[i_555078], (&a));
				add_175534(&(*r).res, a.res);
				res_555089 += ((NI) 1);
			} LA4: ;
		}
	}
	add_175545(&(*r).res, ((NimStringDesc*) &TMP4685));
}

N_NIMCALL(void, gentupleconstr_555108)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 a;
	memset((void*)(&a), 0, sizeof(a));
	unsureAsgnRef((void**) (&(*r).res), rope_175322(((NimStringDesc*) &TMP4686)));
	(*r).kind = ((NU8) 1);
	{
		NI i_555127;
		NI HEX3Atmp_555157;
		NI LOC2;
		NI res_555160;
		i_555127 = 0;
		HEX3Atmp_555157 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227387(n);
		HEX3Atmp_555157 = (NI)(LOC2 - ((NI) 1));
		res_555160 = ((NI) 0);
		{
			while (1) {
				Tnode224809* it;
				NimStringDesc* LOC13;
				TY542257 LOC19;
				if (!(res_555160 <= HEX3Atmp_555157)) goto LA4;
				i_555127 = res_555160;
				{
					if (!(((NI) 0) < i_555127)) goto LA7;
					add_175545(&(*r).res, ((NimStringDesc*) &TMP4648));
				}
				LA7: ;
				it = (*n).kindU.S6.sons->data[i_555127];
				{
					if (!((*it).kind == ((NU8) 34))) goto LA11;
					it = (*it).kindU.S6.sons->data[((NI) 1)];
				}
				LA11: ;
				gen_548808(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_175407(((NI64) (i_555127)));
				LOC19[1] = a.res;
				addf_176635(&(*r).res, LOC13, LOC19, 2);
				res_555160 += ((NI) 1);
			} LA4: ;
		}
	}
	add_175545(&(*r).res, ((NimStringDesc*) &TMP4689));
}

N_NIMCALL(void, genobjconstr_555179)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 a;
	Ropeobj175009* initlist;
	Intset221056 fieldids;
	Ttype224847* t;
	TY175572 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_221927((&fieldids));
	{
		NI i_555200;
		NI HEX3Atmp_555273;
		NI LOC2;
		NI res_555276;
		i_555200 = 0;
		HEX3Atmp_555273 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227387(n);
		HEX3Atmp_555273 = (NI)(LOC2 - ((NI) 1));
		res_555276 = ((NI) 1);
		{
			while (1) {
				Tnode224809* it;
				Tsym224841* f;
				NimStringDesc* LOC18;
				TY542257 LOC24;
				if (!(res_555276 <= HEX3Atmp_555273)) goto LA4;
				i_555200 = res_555276;
				{
					if (!(((NI) 1) < i_555200)) goto LA7;
					add_175545(&initlist, ((NimStringDesc*) &TMP4648));
				}
				LA7: ;
				it = (*n).kindU.S6.sons->data[i_555200];
				{
					NimStringDesc* LOC13;
					if (!!(((*it).kind == ((NU8) 34)))) goto LA11;
					LOC13 = 0;
					LOC13 = HEX24_195279(TMP4899);
					internalerror_195191(LOC13);
				}
				LA11: ;
				gen_548808(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_548277(f));
				}
				LA16: ;
				incl_221856((&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_176635(&initlist, LOC18, LOC24, 2);
				res_555276 += ((NI) 1);
			} LA4: ;
		}
	}
	t = skiptypes_228167((*n).typ, IL64(211106247256320));
	createobjinitlist_553902(p, t, (&fieldids), &initlist);
	memset((void*)LOC25, 0, sizeof(LOC25));
	LOC25[0] = initlist;
	unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4694), LOC25, 1));
}

N_NIMCALL(void, genconv_555295)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Ttype224847* dest;
	Ttype224847* src;
{	dest = skiptypes_228167((*n).typ, IL64(211106242013440));
	src = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106242013440));
	gen_548808(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;
		TY175572 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_176236(LOC6, LOC12, 1));
		(*r).kind = ((NU8) 1);
	}
	break;
	case ((NU8) 31):
	{
		TY175572 LOC14;
		memset((void*)LOC14, 0, sizeof(LOC14));
		LOC14[0] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4903), LOC14, 1));
	}
	break;
	default:
	{
	}
	break;
	}
	}BeforeRet: ;
}

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

N_NIMCALL(void, genfieldaddr_552105)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 a;
	Tnode224809* 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_548808(p, (*b).kindU.S6.sons->data[((NI) 0)], (&a));
	{
		Ttype224847* LOC8;
		NimStringDesc* LOC11;
		NI LOC12;
		NimStringDesc* LOC13;
		LOC8 = 0;
		LOC8 = skiptypes_228167((*(*b).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106242013440));
		if (!((*LOC8).kind == ((NU8) 18))) goto LA9;
		LOC11 = 0;
		LOC12 = 0;
		LOC12 = getfieldposition_552091((*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_548305(LOC11));
	}
	goto LA6;
	LA9: ;
	{
		Tsym224841* f;
		NimStringDesc* LOC23;
		{
			if (!!(((*(*b).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 3)))) goto LA17;
			internalerror_195172((*(*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_548277(f));
		}
		LA21: ;
		LOC23 = 0;
		LOC23 = HEX24_176132((*f).loc.r);
		unsureAsgnRef((void**) (&(*r).res), makejsstring_548305(LOC23));
	}
	LA6: ;
	{
		NimStringDesc* LOC28;
		if (!!(!((a.typ == ((NU8) 8))))) goto LA26;
		LOC28 = 0;
		LOC28 = HEX24_195279(TMP4911);
		internalerror_195191(LOC28);
	}
	LA26: ;
	unsureAsgnRef((void**) (&(*r).address), a.res);
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gencheckedfieldaddr_552245)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tnode224809* 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_195279(TMP4907);
		internalerror_195191(LOC10);
	}
	LA8: ;
	genfieldaddr_552105(p, (*m).kindU.S6.sons->data[((NI) 0)], r);
}

N_NIMCALL(void, genfieldaccess_552188)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	(*r).typ = ((NU8) 0);
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	{
		Ttype224847* LOC3;
		TY542257 LOC6;
		NI LOC7;
		LOC3 = 0;
		LOC3 = skiptypes_228167((*(*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_552091((*n).kindU.S6.sons->data[((NI) 1)]);
		LOC6[1] = rope_175407(((NI64) (LOC7)));
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4912), LOC6, 2));
	}
	goto LA1;
	LA4: ;
	{
		Tsym224841* f;
		TY542257 LOC17;
		{
			if (!!(((*(*n).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 3)))) goto LA11;
			internalerror_195172((*(*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_548277(f));
		}
		LA15: ;
		memset((void*)LOC17, 0, sizeof(LOC17));
		LOC17[0] = (*r).res;
		LOC17[1] = (*f).loc.r;
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4914), LOC17, 2));
	}
	LA1: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genarrayaddr_552298)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 a;
	Tcompres548023 b;
	NI64 first;
	Tnode224809* m;
	Ttype224847* 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_548808(p, (*m).kindU.S6.sons->data[((NI) 0)], (&a));
	gen_548808(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_195279(TMP4915);
		internalerror_195191(LOC12);
	}
	LA10: ;
	unsureAsgnRef((void**) (&(*r).address), a.res);
	typ = skiptypes_228167((*(*m).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106247256320));
	{
		if (!((65552 &(IL64(1)<<(((*typ).kind)&IL64(63))))!=0)) goto LA15;
		first = firstord_254004((*typ).sons->data[((NI) 0)]);
	}
	goto LA13;
	LA15: ;
	{
		first = IL64(0);
	}
	LA13: ;
	{
		NIM_BOOL LOC20;
		NIM_BOOL LOC22;
		TY514578 LOC25;
		LOC20 = 0;
		LOC20 = (((*p).options &(1<<((((NU8) 4))&31)))!=0);
		if (!(LOC20)) goto LA21;
		LOC22 = 0;
		LOC22 = isconstexpr_253442((*m).kindU.S6.sons->data[((NI) 1)]);
		LOC20 = !(LOC22);
		LA21: ;
		if (!LOC20) goto LA23;
		usemagic_548838(p, ((NimStringDesc*) &TMP4916));
		memset((void*)LOC25, 0, sizeof(LOC25));
		LOC25[0] = b.res;
		LOC25[1] = rope_175407(first);
		LOC25[2] = a.res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4917), LOC25, 3));
	}
	goto LA18;
	LA23: ;
	{
		TY542257 LOC29;
		if (!!((first == IL64(0)))) goto LA27;
		memset((void*)LOC29, 0, sizeof(LOC29));
		LOC29[0] = b.res;
		LOC29[1] = rope_175407(first);
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4918), LOC29, 2));
	}
	goto LA18;
	LA27: ;
	{
		unsureAsgnRef((void**) (&(*r).res), b.res);
	}
	LA18: ;
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, genaddr_552507)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	switch ((*(*n).kindU.S6.sons->data[((NI) 0)]).kind) {
	case ((NU8) 3):
	{
		Tsym224841* s;
		s = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		{
			if (!((*s).loc.r == NIM_NIL)) goto LA4;
			internalerror_195172((*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_548256((*n).typ);
			{
				if (!(jstype == ((NU8) 7))) goto LA9;
				(*r).typ = ((NU8) 0);
				{
					NIM_BOOL LOC13;
					LOC13 = 0;
					LOC13 = isindirect_552430(s);
					if (!LOC13) goto LA14;
					unsureAsgnRef((void**) (&(*r).res), HEX26_175471((*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_175322(((NimStringDesc*) &TMP4642)));
			}
			goto LA7;
			LA20: ;
			{
				gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			}
			LA7: ;
		}
		break;
		default:
		{
			internalerror_195172((*n).info, ((NimStringDesc*) &TMP4906));
		}
		break;
		}
	}
	break;
	case ((NU8) 46):
	{
		gencheckedfieldaddr_552245(p, n, r);
	}
	break;
	case ((NU8) 45):
	{
		{
			NU8 LOC28;
			LOC28 = 0;
			LOC28 = maptype_548256((*n).typ);
			if (!(LOC28 == ((NU8) 8))) goto LA29;
			genfieldaddr_552105(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		goto LA26;
		LA29: ;
		{
			genfieldaccess_552188(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		LA26: ;
	}
	break;
	case ((NU8) 42):
	{
		Ttype224847* ty;
		ty = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106242013440));
		{
			if (!((IL64(316659484000272) &(IL64(1)<<(((*ty).kind)&IL64(63))))!=0)) goto LA35;
			gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		goto LA33;
		LA35: ;
		{
			NU8 kindofindexedexpr;
			Ttype224847* LOC38;
			LOC38 = 0;
			LOC38 = skiptypes_228167((*(*(*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_552298(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			}
			break;
			case ((NU8) 18):
			{
				genfieldaddr_552105(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			}
			break;
			default:
			{
				NimStringDesc* LOC42;
				LOC42 = 0;
				LOC42 = rawNewString(reprEnum(kindofindexedexpr, (&NTI224262))->Sup.len + 21);
appendString(LOC42, ((NimStringDesc*) &TMP4919));
appendString(LOC42, reprEnum(kindofindexedexpr, (&NTI224262)));
appendChar(LOC42, 41);
				internalerror_195172((*(*n).kindU.S6.sons->data[((NI) 0)]).info, LOC42);
			}
			break;
			}
		}
		LA33: ;
	}
	break;
	case ((NU8) 66):
	{
		gen_548808(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, (&NTI224029))->Sup.len + 9);
appendString(LOC45, ((NimStringDesc*) &TMP4920));
appendString(LOC45, reprEnum((*(*n).kindU.S6.sons->data[((NI) 0)]).kind, (&NTI224029)));
		internalerror_195172((*(*n).kindU.S6.sons->data[((NI) 0)]).info, LOC45);
	}
	break;
	}
}

N_NIMCALL(void, genderef_552892)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	{
		NU8 LOC3;
		LOC3 = 0;
		LOC3 = maptype_548256((*(*n).kindU.S6.sons->data[((NI) 0)]).typ);
		if (!(LOC3 == ((NU8) 7))) goto LA4;
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	}
	goto LA1;
	LA4: ;
	{
		Tcompres548023 a;
		memset((void*)(&a), 0, sizeof(a));
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&a));
		{
			TY542257 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_176236(((NimStringDesc*) &TMP4892), LOC11, 2));
		}
		goto LA7;
		LA9: ;
		{
			Ropeobj175009* tmp;
			TY542257 LOC15;
			if (!((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 27))) goto LA13;
			tmp = gettemp_548954(p, NIM_TRUE);
			memset((void*)LOC15, 0, sizeof(LOC15));
			LOC15[0] = tmp;
			LOC15[1] = a.res;
			unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4921), LOC15, 2));
		}
		goto LA7;
		LA13: ;
		{
			internalerror_195172((*n).info, ((NimStringDesc*) &TMP4922));
		}
		LA7: ;
	}
	LA1: ;
}

N_NIMCALL(void, genarrayaccess_552384)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Ttype224847* ty;
	TY542257 LOC14;
	ty = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106242013440));
	{
		Ttype224847* LOC5;
		if (!((6291456 &(IL64(1)<<(((*ty).kind)&IL64(63))))!=0)) goto LA3;
		LOC5 = 0;
		LOC5 = lastson_227426(ty);
		ty = skiptypes_228167(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_552298(p, n, r);
	}
	break;
	case ((NU8) 18):
	{
		genfieldaddr_552105(p, n, r);
	}
	break;
	default:
	{
		NimStringDesc* LOC9;
		LOC9 = 0;
		LOC9 = rawNewString(reprEnum((*ty).kind, (&NTI224262))->Sup.len + 21);
appendString(LOC9, ((NimStringDesc*) &TMP4919));
appendString(LOC9, reprEnum((*ty).kind, (&NTI224262)));
appendChar(LOC9, 41);
		internalerror_195172((*n).info, LOC9);
	}
	break;
	}
	(*r).typ = ((NU8) 0);
	{
		if (!((*r).res == NIM_NIL)) goto LA12;
		internalerror_195172((*n).info, ((NimStringDesc*) &TMP4923));
	}
	LA12: ;
	memset((void*)LOC14, 0, sizeof(LOC14));
	LOC14[0] = (*r).address;
	LOC14[1] = (*r).res;
	unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4892), LOC14, 2));
	unsureAsgnRef((void**) (&(*r).address), NIM_NIL);
	(*r).kind = ((NU8) 1);
}

N_NIMCALL(void, gencheckedfieldaccess_552285)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	genfieldaccess_552188(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
}

N_NIMCALL(void, upconv_555333)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
}

N_NIMCALL(void, genrangechck_555346)(Tproc548033* p, Tnode224809* n, Tcompres548023* r, NimStringDesc* magic) {
	Tcompres548023 a;
	Tcompres548023 b;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	{
		TY514578 LOC5;
		if (!(((*p).options &(1<<((((NU8) 3))&31)))!=0)) goto LA3;
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], (&a));
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 2)], (&b));
		usemagic_548838(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_176236(((NimStringDesc*) &TMP4925), LOC5, 3));
		(*r).kind = ((NU8) 1);
	}
	LA3: ;
}

N_NIMCALL(void, convstrtocstr_555380)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	{
		if (!((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 72))) goto LA3;
		gen_548808(p, (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 0)], r);
	}
	goto LA1;
	LA3: ;
	{
		TY175572 LOC10;
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		{
			if (!((*r).res == NIM_NIL)) goto LA8;
			internalerror_195172((*n).info, ((NimStringDesc*) &TMP4928));
		}
		LA8: ;
		usemagic_548838(p, ((NimStringDesc*) &TMP4881));
		memset((void*)LOC10, 0, sizeof(LOC10));
		LOC10[0] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4929), LOC10, 1));
		(*r).kind = ((NU8) 1);
	}
	LA1: ;
}

N_NIMCALL(void, convcstrtostr_555419)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	{
		if (!((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 71))) goto LA3;
		gen_548808(p, (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S6.sons->data[((NI) 0)], r);
	}
	goto LA1;
	LA3: ;
	{
		TY175572 LOC10;
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		{
			if (!((*r).res == NIM_NIL)) goto LA8;
			internalerror_195172((*n).info, ((NimStringDesc*) &TMP4930));
		}
		LA8: ;
		usemagic_548838(p, ((NimStringDesc*) &TMP4711));
		memset((void*)LOC10, 0, sizeof(LOC10));
		LOC10[0] = (*r).res;
		unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4712), LOC10, 1));
		(*r).kind = ((NU8) 1);
	}
	LA1: ;
}

N_NIMCALL(void, genblock_550876)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	NI idx;
	NI labl;
	NimStringDesc* LOC9;
	TY175572 LOC15;
	NimStringDesc* LOC16;
	TY175572 LOC22;
	(*p).unique += ((NI) 1);
	idx = ((*p).blocks ? (*p).blocks->Sup.len : 0);
	{
		Tsym224841* 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_195172((*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 = (TY548071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock548025), ((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_175407(((NI64) (labl)));
	addf_176635(&(*p).body, LOC9, LOC15, 1);
	gen_548808(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_175407(((NI64) (labl)));
	addf_176635(&(*p).body, LOC16, LOC22, 1);
	(*p).blocks = (TY548071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock548025), ((NI) (idx)));
}

N_NIMCALL(void, moveinto_550161)(Tproc548033* p, Tcompres548023* src, Tcompres548023* dest) {
	{
		if (!!(((*src).kind == ((NU8) 0)))) goto LA3;
		{
			TY542257 LOC9;
			if (!!(((*dest).kind == ((NU8) 0)))) goto LA7;
			memset((void*)LOC9, 0, sizeof(LOC9));
			LOC9[0] = rdloc_548127(dest);
			LOC9[1] = rdloc_548127((&(*src)));
			addf_176635(&(*p).body, ((NimStringDesc*) &TMP4842), LOC9, 2);
		}
		goto LA5;
		LA7: ;
		{
			TY175572 LOC11;
			memset((void*)LOC11, 0, sizeof(LOC11));
			LOC11[0] = rdloc_548127((&(*src)));
			addf_176635(&(*p).body, ((NimStringDesc*) &TMP4939), LOC11, 1);
		}
		LA5: ;
		(*src).kind = ((NU8) 0);
		unsureAsgnRef((void**) (&(*src).res), NIM_NIL);
	}
	LA3: ;
}

N_NIMCALL(void, genif_551493)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 cond;
	Tcompres548023 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_229933((*n).typ);
		if (!!(LOC3)) goto LA4;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_548954(p, NIM_TRUE));
	}
	LA4: ;
	{
		NI i_551514;
		NI HEX3Atmp_551615;
		NI LOC7;
		NI res_551618;
		i_551514 = 0;
		HEX3Atmp_551615 = 0;
		LOC7 = 0;
		LOC7 = sonslen_227387(n);
		HEX3Atmp_551615 = (NI)(LOC7 - ((NI) 1));
		res_551618 = ((NI) 0);
		{
			while (1) {
				Tnode224809* it;
				NimStringDesc* LOC41;
				TY512664 LOC47;
				if (!(res_551618 <= HEX3Atmp_551615)) goto LA9;
				i_551514 = res_551618;
				it = (*n).kindU.S6.sons->data[i_551514];
				{
					NI LOC12;
					NimStringDesc* LOC26;
					TY175572 LOC32;
					LOC12 = 0;
					LOC12 = sonslen_227387(it);
					if (!!((LOC12 == ((NI) 1)))) goto LA13;
					{
						NimStringDesc* LOC19;
						TY512664 LOC25;
						if (!(((NI) 0) < i_551514)) 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_176635(&(*p).body, LOC19, LOC25, 0);
						toclose += ((NI) 1);
					}
					LA17: ;
					gen_548808(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_548127((&cond));
					addf_176635(&(*p).body, LOC26, LOC32, 1);
					gen_548808(p, (*it).kindU.S6.sons->data[((NI) 1)], (&stmt));
				}
				goto LA10;
				LA13: ;
				{
					NimStringDesc* LOC34;
					TY512664 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_176635(&(*p).body, LOC34, LOC40, 0);
					gen_548808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&stmt));
				}
				LA10: ;
				moveinto_550161(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_176635(&(*p).body, LOC41, LOC47, 0);
				res_551618 += ((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_173654->Sup.len + 0);
appendString(LOC52, LOC53);
appendString(LOC52, tnl_173654);
		add_175545(&(*p).body, LOC52);
	}
	goto LA48;
	LA50: ;
	{
		{
			NI i_551604;
			NI res_551626;
			i_551604 = 0;
			res_551626 = ((NI) 1);
			{
				while (1) {
					TY512664 LOC58;
					if (!(res_551626 <= toclose)) goto LA57;
					i_551604 = res_551626;
					memset((void*)LOC58, 0, sizeof(LOC58));
					addf_176635(&(*p).body, ((NimStringDesc*) &TMP4941), LOC58, 0);
					res_551626 += ((NI) 1);
				} LA57: ;
			}
		}
	}
	LA48: ;
}

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

N_NIMCALL(void, genlinedir_549929)(Tproc548033* p, Tnode224809* n) {
	NI line;
	line = tolinenumber_190839((*n).info);
	{
		NimStringDesc* LOC5;
		TY542257 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_190652((*n).info.fileindex);
		LOC11[0] = rope_175322(LOC12);
		LOC11[1] = rope_175407(((NI64) (line)));
		addf_176635(&(*p).body, LOC5, LOC11, 2);
	}
	LA3: ;
	{
		NIM_BOOL LOC15;
		NIM_BOOL LOC17;
		TY175572 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_548838(p, ((NimStringDesc*) &TMP4945));
		memset((void*)LOC21, 0, sizeof(LOC21));
		LOC21[0] = rope_175407(((NI64) (line)));
		addf_176635(&(*p).body, ((NimStringDesc*) &TMP4946), LOC21, 1);
	}
	goto LA13;
	LA19: ;
	{
		NIM_BOOL LOC23;
		NIM_BOOL LOC25;
		TY175572 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_175407(((NI64) (line)));
		addf_176635(&(*p).body, ((NimStringDesc*) &TMP4947), LOC29, 1);
	}
	goto LA13;
	LA27: ;
	LA13: ;
}

N_NIMCALL(void, genwhilestmt_550064)(Tproc548033* p, Tnode224809* n) {
	Tcompres548023 cond;
	NI length;
	Ropeobj175009* labl;
	NimStringDesc* LOC7;
	TY175572 LOC13;
	NimStringDesc* LOC14;
	TY542257 LOC20;
	NimStringDesc* LOC21;
	TY175572 LOC27;
	memset((void*)(&cond), 0, sizeof(cond));
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC6;
		LOC3 = 0;
		LOC3 = isemptytype_229933((*n).typ);
		if (!!(LOC3)) goto LA4;
		LOC6 = 0;
		LOC6 = HEX24_195279(TMP4942);
		internalerror_195191(LOC6);
	}
	LA4: ;
	genlinedir_549929(p, n);
	(*p).unique += ((NI) 1);
	length = ((*p).blocks ? (*p).blocks->Sup.len : 0);
	(*p).blocks = (TY548071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock548025), ((NI) ((NI)(length + ((NI) 1)))));
	(*p).blocks->data[length].id = ((NI64)-((*p).unique));
	(*p).blocks->data[length].isloop = NIM_TRUE;
	labl = rope_175407(((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_176635(&(*p).body, LOC7, LOC13, 1);
	gen_548808(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_176635(&(*p).body, LOC14, LOC20, 2);
	genstmt_548817(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_176635(&(*p).body, LOC21, LOC27, 1);
	(*p).blocks = (TY548071*) setLengthSeq(&((*p).blocks)->Sup, sizeof(Tblock548025), ((NI) (length)));
}

N_NIMCALL(void, genvarstmt_554240)(Tproc548033* p, Tnode224809* n) {
	{
		NI i_554256;
		NI HEX3Atmp_554617;
		NI LOC2;
		NI res_554620;
		i_554256 = 0;
		HEX3Atmp_554617 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227387(n);
		HEX3Atmp_554617 = (NI)(LOC2 - ((NI) 1));
		res_554620 = ((NI) 0);
		{
			while (1) {
				Tnode224809* a;
				if (!(res_554620 <= HEX3Atmp_554617)) goto LA4;
				i_554256 = res_554620;
				a = (*n).kindU.S6.sons->data[i_554256];
				{
					if (!!(((*a).kind == ((NU8) 125)))) goto LA7;
					{
						Tnode224809* unpacked;
						if (!((*a).kind == ((NU8) 36))) goto LA11;
						unpacked = lowertupleunpacking_401087(a, (*p).prc);
						genstmt_548817(p, unpacked);
					}
					goto LA9;
					LA11: ;
					{
						Tsym224841* v;
						v = (*(*a).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
						{
							if (!!((((*v).loc.flags &(1<<((((NU8) 3))&15)))!=0))) goto LA16;
							genlinedir_549929(p, a);
							genvarinit_554110(p, v, (*a).kindU.S6.sons->data[((NI) 2)]);
						}
						LA16: ;
					}
					LA9: ;
				}
				LA7: ;
				res_554620 += ((NI) 1);
			} LA4: ;
		}
	}
}

N_NIMCALL(void, gencasejs_550553)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 cond;
	Tcompres548023 stmt;
	NIM_BOOL stringswitch;
	Ttype224847* LOC1;
	TY512664 LOC46;
	memset((void*)(&cond), 0, sizeof(cond));
	memset((void*)(&stmt), 0, sizeof(stmt));
	genlinedir_549929(p, n);
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&cond));
	LOC1 = 0;
	LOC1 = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106240964864));
	stringswitch = ((*LOC1).kind == ((NU8) 28));
	{
		TY175572 LOC6;
		if (!stringswitch) goto LA4;
		usemagic_548838(p, ((NimStringDesc*) &TMP4881));
		memset((void*)LOC6, 0, sizeof(LOC6));
		LOC6[0] = rdloc_548127((&cond));
		addf_176635(&(*p).body, ((NimStringDesc*) &TMP4954), LOC6, 1);
	}
	goto LA2;
	LA4: ;
	{
		TY175572 LOC8;
		memset((void*)LOC8, 0, sizeof(LOC8));
		LOC8[0] = rdloc_548127((&cond));
		addf_176635(&(*p).body, ((NimStringDesc*) &TMP4955), LOC8, 1);
	}
	LA2: ;
	{
		NIM_BOOL LOC11;
		LOC11 = 0;
		LOC11 = isemptytype_229933((*n).typ);
		if (!!(LOC11)) goto LA12;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_548954(p, NIM_TRUE));
	}
	LA12: ;
	{
		NI i_550592;
		NI HEX3Atmp_550682;
		NI LOC15;
		NI res_550685;
		i_550592 = 0;
		HEX3Atmp_550682 = 0;
		LOC15 = 0;
		LOC15 = sonslen_227387(n);
		HEX3Atmp_550682 = (NI)(LOC15 - ((NI) 1));
		res_550685 = ((NI) 1);
		{
			while (1) {
				Tnode224809* it;
				if (!(res_550685 <= HEX3Atmp_550682)) goto LA17;
				i_550592 = res_550685;
				it = (*n).kindU.S6.sons->data[i_550592];
				switch ((*it).kind) {
				case ((NU8) 85):
				{
					Tnode224809* LOC40;
					TY512664 LOC41;
					{
						NI j_550607;
						NI HEX3Atmp_550672;
						NI LOC20;
						NI res_550675;
						j_550607 = 0;
						HEX3Atmp_550672 = 0;
						LOC20 = 0;
						LOC20 = sonslen_227387(it);
						HEX3Atmp_550672 = (NI)(LOC20 - ((NI) 2));
						res_550675 = ((NI) 0);
						{
							while (1) {
								Tnode224809* e;
								if (!(res_550675 <= HEX3Atmp_550672)) goto LA22;
								j_550607 = res_550675;
								e = (*it).kindU.S6.sons->data[j_550607];
								{
									Tnode224809* v;
									if (!((*e).kind == ((NU8) 44))) goto LA25;
									v = copynode_228660((*e).kindU.S6.sons->data[((NI) 0)]);
									{
										while (1) {
											TY175572 LOC29;
											if (!((*v).kindU.S1.intval <= (*(*e).kindU.S6.sons->data[((NI) 1)]).kindU.S1.intval)) goto LA28;
											gen_548808(p, v, (&cond));
											memset((void*)LOC29, 0, sizeof(LOC29));
											LOC29[0] = rdloc_548127((&cond));
											addf_176635(&(*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):
										{
											TY175572 LOC36;
											memset((void*)LOC36, 0, sizeof(LOC36));
											LOC36[0] = makejsstring_548305((*e).kindU.S3.strval);
											addf_176635(&(*p).body, ((NimStringDesc*) &TMP4956), LOC36, 1);
										}
										break;
										default:
										{
											internalerror_195172((*e).info, ((NimStringDesc*) &TMP4957));
										}
										break;
										}
									}
									goto LA31;
									LA33: ;
									{
										TY175572 LOC39;
										gen_548808(p, e, (&cond));
										memset((void*)LOC39, 0, sizeof(LOC39));
										LOC39[0] = rdloc_548127((&cond));
										addf_176635(&(*p).body, ((NimStringDesc*) &TMP4956), LOC39, 1);
									}
									LA31: ;
								}
								LA23: ;
								res_550675 += ((NI) 1);
							} LA22: ;
						}
					}
					LOC40 = 0;
					LOC40 = lastson_227406(it);
					gen_548808(p, LOC40, (&stmt));
					moveinto_550161(p, (&stmt), (&(*r)));
					memset((void*)LOC41, 0, sizeof(LOC41));
					addf_176635(&(*p).body, ((NimStringDesc*) &TMP4958), LOC41, 0);
				}
				break;
				case ((NU8) 88):
				{
					TY512664 LOC43;
					TY512664 LOC44;
					memset((void*)LOC43, 0, sizeof(LOC43));
					addf_176635(&(*p).body, ((NimStringDesc*) &TMP4959), LOC43, 0);
					gen_548808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&stmt));
					moveinto_550161(p, (&stmt), (&(*r)));
					memset((void*)LOC44, 0, sizeof(LOC44));
					addf_176635(&(*p).body, ((NimStringDesc*) &TMP4960), LOC44, 0);
				}
				break;
				default:
				{
					internalerror_195172((*it).info, ((NimStringDesc*) &TMP4961));
				}
				break;
				}
				res_550685 += ((NI) 1);
			} LA17: ;
		}
	}
	memset((void*)LOC46, 0, sizeof(LOC46));
	addf_176635(&(*p).body, ((NimStringDesc*) &TMP4940), LOC46, 0);
}

N_NIMCALL(void, gencaselua_550720)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	Tcompres548023 cond;
	Tcompres548023 stmt;
	NIM_BOOL stringswitch;
	Ttype224847* LOC1;
	Ropeobj175009* tmp;
	TY542257 LOC6;
	TY512664 LOC52;
	memset((void*)(&cond), 0, sizeof(cond));
	memset((void*)(&stmt), 0, sizeof(stmt));
	genlinedir_549929(p, n);
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&cond));
	LOC1 = 0;
	LOC1 = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106240964864));
	stringswitch = ((*LOC1).kind == ((NU8) 28));
	{
		if (!stringswitch) goto LA4;
		usemagic_548838(p, ((NimStringDesc*) &TMP4962));
	}
	LA4: ;
	tmp = gettemp_548954(p, NIM_TRUE);
	memset((void*)LOC6, 0, sizeof(LOC6));
	LOC6[0] = tmp;
	LOC6[1] = rdloc_548127((&cond));
	addf_176635(&(*p).body, ((NimStringDesc*) &TMP4842), LOC6, 2);
	{
		NIM_BOOL LOC9;
		LOC9 = 0;
		LOC9 = isemptytype_229933((*n).typ);
		if (!!(LOC9)) goto LA10;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_548954(p, NIM_TRUE));
	}
	LA10: ;
	{
		NI i_550757;
		NI HEX3Atmp_550844;
		NI LOC13;
		NI res_550847;
		i_550757 = 0;
		HEX3Atmp_550844 = 0;
		LOC13 = 0;
		LOC13 = sonslen_227387(n);
		HEX3Atmp_550844 = (NI)(LOC13 - ((NI) 1));
		res_550847 = ((NI) 1);
		{
			while (1) {
				Tnode224809* it;
				if (!(res_550847 <= HEX3Atmp_550844)) goto LA15;
				i_550757 = res_550847;
				it = (*n).kindU.S6.sons->data[i_550757];
				switch ((*it).kind) {
				case ((NU8) 85):
				{
					TY512664 LOC47;
					Tnode224809* LOC48;
					{
						TY512664 LOC21;
						if (!!((i_550757 == ((NI) 1)))) goto LA19;
						memset((void*)LOC21, 0, sizeof(LOC21));
						addf_176635(&(*p).body, ((NimStringDesc*) &TMP4963), LOC21, 0);
					}
					goto LA17;
					LA19: ;
					{
						TY512664 LOC23;
						memset((void*)LOC23, 0, sizeof(LOC23));
						addf_176635(&(*p).body, ((NimStringDesc*) &TMP4964), LOC23, 0);
					}
					LA17: ;
					{
						NI j_550780;
						NI HEX3Atmp_550835;
						NI LOC25;
						NI res_550838;
						j_550780 = 0;
						HEX3Atmp_550835 = 0;
						LOC25 = 0;
						LOC25 = sonslen_227387(it);
						HEX3Atmp_550835 = (NI)(LOC25 - ((NI) 2));
						res_550838 = ((NI) 0);
						{
							while (1) {
								Tnode224809* e;
								if (!(res_550838 <= HEX3Atmp_550835)) goto LA27;
								j_550780 = res_550838;
								{
									if (!!((j_550780 == ((NI) 0)))) goto LA30;
									add_175545(&(*p).body, ((NimStringDesc*) &TMP4965));
								}
								LA30: ;
								e = (*it).kindU.S6.sons->data[j_550780];
								{
									Tcompres548023 ia;
									Tcompres548023 ib;
									TY514578 LOC36;
									if (!((*e).kind == ((NU8) 44))) goto LA34;
									memset((void*)(&ia), 0, sizeof(ia));
									memset((void*)(&ib), 0, sizeof(ib));
									gen_548808(p, (*e).kindU.S6.sons->data[((NI) 0)], (&ia));
									gen_548808(p, (*e).kindU.S6.sons->data[((NI) 1)], (&ib));
									memset((void*)LOC36, 0, sizeof(LOC36));
									LOC36[0] = tmp;
									LOC36[1] = rdloc_548127((&ia));
									LOC36[2] = rdloc_548127((&ib));
									addf_176635(&(*p).body, ((NimStringDesc*) &TMP4966), LOC36, 3);
								}
								goto LA32;
								LA34: ;
								{
									{
										if (!stringswitch) goto LA40;
										switch ((*e).kind) {
										case ((NU8) 20) ... ((NU8) 22):
										{
											TY542257 LOC43;
											memset((void*)LOC43, 0, sizeof(LOC43));
											LOC43[0] = tmp;
											LOC43[1] = makejsstring_548305((*e).kindU.S3.strval);
											addf_176635(&(*p).body, ((NimStringDesc*) &TMP4967), LOC43, 2);
										}
										break;
										default:
										{
											internalerror_195172((*e).info, ((NimStringDesc*) &TMP4957));
										}
										break;
										}
									}
									goto LA38;
									LA40: ;
									{
										TY542257 LOC46;
										gen_548808(p, e, (&cond));
										memset((void*)LOC46, 0, sizeof(LOC46));
										LOC46[0] = tmp;
										LOC46[1] = rdloc_548127((&cond));
										addf_176635(&(*p).body, ((NimStringDesc*) &TMP4968), LOC46, 2);
									}
									LA38: ;
								}
								LA32: ;
								res_550838 += ((NI) 1);
							} LA27: ;
						}
					}
					memset((void*)LOC47, 0, sizeof(LOC47));
					addf_176635(&(*p).body, ((NimStringDesc*) &TMP4969), LOC47, 0);
					LOC48 = 0;
					LOC48 = lastson_227406(it);
					gen_548808(p, LOC48, (&stmt));
					moveinto_550161(p, (&stmt), (&(*r)));
				}
				break;
				case ((NU8) 88):
				{
					TY512664 LOC50;
					memset((void*)LOC50, 0, sizeof(LOC50));
					addf_176635(&(*p).body, ((NimStringDesc*) &TMP4936), LOC50, 0);
					gen_548808(p, (*it).kindU.S6.sons->data[((NI) 0)], (&stmt));
					moveinto_550161(p, (&stmt), (&(*r)));
				}
				break;
				default:
				{
					internalerror_195172((*it).info, ((NimStringDesc*) &TMP4961));
				}
				break;
				}
				res_550847 += ((NI) 1);
			} LA15: ;
		}
	}
	memset((void*)LOC52, 0, sizeof(LOC52));
	addf_176635(&(*p).body, ((NimStringDesc*) &TMP4970), LOC52, 0);
}

N_NIMCALL(void, genreturnstmt_555458)(Tproc548033* p, Tnode224809* n) {
	NimStringDesc* LOC10;
	TY512664 LOC16;
	{
		if (!((*p).procdef == NIM_NIL)) goto LA3;
		internalerror_195172((*n).info, ((NimStringDesc*) &TMP4971));
	}
	LA3: ;
	(*p).beforeretneeded = NIM_TRUE;
	{
		if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 1)))) goto LA7;
		genstmt_548817(p, (*n).kindU.S6.sons->data[((NI) 0)]);
	}
	goto LA5;
	LA7: ;
	{
		genlinedir_549929(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_176635(&(*p).body, LOC10, LOC16, 0);
}

N_NIMCALL(void, genbreakstmt_550977)(Tproc548033* p, Tnode224809* n) {
	NI idx;
	NimStringDesc* LOC16;
	TY175572 LOC22;
	idx = 0;
	genlinedir_549929(p, n);
	{
		Tsym224841* 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_195172((*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_175407(((NI64) ((*p).blocks->data[idx].id)));
	addf_176635(&(*p).body, LOC16, LOC22, 1);
}

N_NIMCALL(void, genasgnaux_551896)(Tproc548033* p, Tnode224809* x, Tnode224809* y, NIM_BOOL nocopyneeded) {
	Tcompres548023 a;
	Tcompres548023 b;
	NU8 xtyp;
	memset((void*)(&a), 0, sizeof(a));
	memset((void*)(&b), 0, sizeof(b));
	gen_548808(p, x, (&a));
	xtyp = maptype_548256((*x).typ);
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		Ropeobj175009* tmp;
		TY542257 LOC9;
		TY175572 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_548808(p, (*x).kindU.S6.sons->data[((NI) 0)], (&a));
		tmp = gettemp_548954(p, NIM_FALSE);
		memset((void*)LOC9, 0, sizeof(LOC9));
		LOC9[0] = tmp;
		LOC9[1] = rdloc_548127((&a));
		addf_176635(&(*p).body, ((NimStringDesc*) &TMP4638), LOC9, 2);
		memset((void*)LOC10, 0, sizeof(LOC10));
		LOC10[0] = tmp;
		a.res = HEX25_176236(((NimStringDesc*) &TMP4977), LOC10, 1);
	}
	goto LA1;
	LA7: ;
	{
		gen_548808(p, x, (&a));
	}
	LA1: ;
	gen_548808(p, y, (&b));
	switch (xtyp) {
	case ((NU8) 7):
	{
		{
			NIM_BOOL LOC15;
			NIM_BOOL LOC16;
			TY542257 LOC21;
			LOC15 = 0;
			LOC16 = 0;
			LOC16 = needsnocopy_551865(y);
			if (!(LOC16)) goto LA17;
			LOC16 = needsnocopy_551865(x);
			LA17: ;
			LOC15 = LOC16;
			if (LOC15) goto LA18;
			LOC15 = nocopyneeded;
			LA18: ;
			if (!LOC15) goto LA19;
			memset((void*)LOC21, 0, sizeof(LOC21));
			LOC21[0] = rdloc_548127((&a));
			LOC21[1] = rdloc_548127((&b));
			addf_176635(&(*p).body, ((NimStringDesc*) &TMP4842), LOC21, 2);
		}
		goto LA13;
		LA19: ;
		{
			TY514578 LOC23;
			usemagic_548838(p, ((NimStringDesc*) &TMP4663));
			memset((void*)LOC23, 0, sizeof(LOC23));
			LOC23[0] = a.res;
			LOC23[1] = b.res;
			LOC23[2] = gentypeinfo_548315(p, (*y).typ);
			addf_176635(&(*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;
			{
				Ropeobj175009* tmp;
				TY514575 LOC35;
				if (!((*y).kind == ((NU8) 27))) goto LA33;
				tmp = gettemp_548954(p, NIM_FALSE);
				memset((void*)LOC35, 0, sizeof(LOC35));
				LOC35[0] = tmp;
				LOC35[1] = a.address;
				LOC35[2] = a.res;
				LOC35[3] = rdloc_548127((&b));
				addf_176635(&(*p).body, ((NimStringDesc*) &TMP4979), LOC35, 4);
			}
			goto LA31;
			LA33: ;
			{
				internalerror_195172((*x).info, ((NimStringDesc*) &TMP4980));
			}
			LA31: ;
		}
		goto LA25;
		LA29: ;
		{
			TY514575 LOC38;
			memset((void*)LOC38, 0, sizeof(LOC38));
			LOC38[0] = a.address;
			LOC38[1] = b.address;
			LOC38[2] = a.res;
			LOC38[3] = b.res;
			addf_176635(&(*p).body, ((NimStringDesc*) &TMP4981), LOC38, 4);
		}
		LA25: ;
	}
	break;
	default:
	{
		TY542257 LOC40;
		memset((void*)LOC40, 0, sizeof(LOC40));
		LOC40[0] = a.res;
		LOC40[1] = b.res;
		addf_176635(&(*p).body, ((NimStringDesc*) &TMP4842), LOC40, 2);
	}
	break;
	}
}

N_NIMCALL(void, genasgn_551995)(Tproc548033* p, Tnode224809* n) {
	genlinedir_549929(p, n);
	genasgnaux_551896(p, (*n).kindU.S6.sons->data[((NI) 0)], (*n).kindU.S6.sons->data[((NI) 1)], NIM_FALSE);
}

N_NIMCALL(void, genfastasgn_552007)(Tproc548033* p, Tnode224809* n) {
	genlinedir_549929(p, n);
	genasgnaux_551896(p, (*n).kindU.S6.sons->data[((NI) 0)], (*n).kindU.S6.sons->data[((NI) 1)], NIM_TRUE);
}

N_NIMCALL(void, genasmoremitstmt_551445)(Tproc548033* p, Tnode224809* n) {
	genlinedir_549929(p, n);
	{
		NI i_551461;
		NI HEX3Atmp_551471;
		NI LOC2;
		NI res_551474;
		i_551461 = 0;
		HEX3Atmp_551471 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227387(n);
		HEX3Atmp_551471 = (NI)(LOC2 - ((NI) 1));
		res_551474 = ((NI) 0);
		{
			while (1) {
				if (!(res_551474 <= HEX3Atmp_551471)) goto LA4;
				i_551461 = res_551474;
				switch ((*(*n).kindU.S6.sons->data[i_551461]).kind) {
				case ((NU8) 20) ... ((NU8) 22):
				{
					add_175545(&(*p).body, (*(*n).kindU.S6.sons->data[i_551461]).kindU.S3.strval);
				}
				break;
				case ((NU8) 3):
				{
					Ropeobj175009* LOC7;
					LOC7 = 0;
					LOC7 = manglename_548277((*(*n).kindU.S6.sons->data[i_551461]).kindU.S4.sym);
					add_175534(&(*p).body, LOC7);
				}
				break;
				default:
				{
					internalerror_195172((*(*n).kindU.S6.sons->data[i_551461]).info, ((NimStringDesc*) &TMP4982));
				}
				break;
				}
				res_551474 += ((NI) 1);
			} LA4: ;
		}
	}
}

N_NIMCALL(void, gentry_550197)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	NI i;
	NI length;
	NIM_BOOL catchbranchesexist;
	NIM_BOOL LOC6;
	Ropeobj175009* safepoint;
	TY175572 LOC13;
	NimStringDesc* LOC14;
	TY175572 LOC20;
	NimStringDesc* LOC26;
	TY512664 LOC32;
	Tcompres548023 a;
	NIM_BOOL generalcatchbranchexists;
	genlinedir_549929(p, n);
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isemptytype_229933((*n).typ);
		if (!!(LOC3)) goto LA4;
		(*r).kind = ((NU8) 2);
		unsureAsgnRef((void**) (&(*r).res), gettemp_548954(p, NIM_TRUE));
	}
	LA4: ;
	(*p).unique += ((NI) 1);
	i = ((NI) 1);
	length = sonslen_227387(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_173654->Sup.len + 13);
appendString(LOC12, ((NimStringDesc*) &TMP4983));
appendString(LOC12, tnl_173654);
		add_175545(&(*p).body, LOC12);
	}
	LA10: ;
	memset((void*)LOC13, 0, sizeof(LOC13));
	LOC13[0] = rope_175407(((NI64) ((*p).unique)));
	safepoint = HEX25_176236(((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_176635(&(*p).body, LOC14, LOC20, 1);
	{
		NimStringDesc* LOC25;
		if (!(((*p).options &(1<<((((NU8) 15))&31)))!=0)) goto LA23;
		LOC25 = 0;
		LOC25 = rawNewString(tnl_173654->Sup.len + 13);
appendString(LOC25, ((NimStringDesc*) &TMP4985));
appendString(LOC25, tnl_173654);
		add_175545(&(*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_176635(&(*p).body, LOC26, LOC32, 0);
	memset((void*)(&a), 0, sizeof(a));
	gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&a));
	moveinto_550161(p, (&a), (&(*r)));
	generalcatchbranchexists = NIM_FALSE;
	{
		NIM_BOOL LOC35;
		TY512664 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_176635(&(*p).body, ((NimStringDesc*) &TMP4988), LOC39, 0);
	}
	goto LA33;
	LA37: ;
	{
		TY512664 LOC43;
		if (!((*p).target == ((NU8) 1))) goto LA41;
		memset((void*)LOC43, 0, sizeof(LOC43));
		addf_176635(&(*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_227387((*n).kindU.S6.sons->data[i]);
			{
				if (!(blen == ((NI) 1))) goto LA50;
				generalcatchbranchexists = NIM_TRUE;
				{
					NimStringDesc* LOC56;
					TY512664 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_176635(&(*p).body, LOC56, LOC62, 0);
				}
				LA54: ;
				gen_548808(p, (*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[((NI) 0)], (&a));
				moveinto_550161(p, (&a), (&(*r)));
				{
					NimStringDesc* LOC67;
					TY512664 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_176635(&(*p).body, LOC67, LOC73, 0);
				}
				LA65: ;
			}
			goto LA48;
			LA50: ;
			{
				Ropeobj175009* orexpr;
				NimStringDesc* LOC97;
				TY542257 LOC103;
				NimStringDesc* LOC104;
				TY512664 LOC110;
				orexpr = NIM_NIL;
				usemagic_548838(p, ((NimStringDesc*) &TMP4877));
				{
					NI j_550351;
					NI HEX3Atmp_550493;
					NI res_550496;
					j_550351 = 0;
					HEX3Atmp_550493 = 0;
					HEX3Atmp_550493 = (NI)(blen - ((NI) 2));
					res_550496 = ((NI) 0);
					{
						while (1) {
							TY175572 LOC92;
							if (!(res_550496 <= HEX3Atmp_550493)) goto LA77;
							j_550351 = res_550496;
							{
								if (!!(((*(*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[j_550351]).kind == ((NU8) 4)))) goto LA80;
								internalerror_195172((*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_175545(&orexpr, LOC86);
							}
							LA84: ;
							memset((void*)LOC92, 0, sizeof(LOC92));
							LOC92[0] = gentypeinfo_548315(p, (*(*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[j_550351]).typ);
							addf_176635(&orexpr, ((NimStringDesc*) &TMP4992), LOC92, 1);
							res_550496 += ((NI) 1);
						} LA77: ;
					}
				}
				{
					if (!(((NI) 1) < i)) goto LA95;
					add_175545(&(*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_176635(&(*p).body, LOC97, LOC103, 2);
				gen_548808(p, (*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[(NI)(blen - ((NI) 1))], (&a));
				moveinto_550161(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_176635(&(*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_548838(p, ((NimStringDesc*) &TMP4996));
				LOC123 = 0;
				LOC123 = rawNewString(tnl_173654->Sup.len + tnl_173654->Sup.len + tnl_173654->Sup.len + 26);
appendString(LOC123, ((NimStringDesc*) &TMP4997));
appendString(LOC123, tnl_173654);
appendString(LOC123, ((NimStringDesc*) &TMP4998));
appendString(LOC123, tnl_173654);
appendString(LOC123, ((NimStringDesc*) &TMP4689));
appendString(LOC123, tnl_173654);
				add_175545(&(*p).body, LOC123);
			}
			LA121: ;
			LOC124 = 0;
			LOC124 = rawNewString(tnl_173654->Sup.len + 26);
appendString(LOC124, ((NimStringDesc*) &TMP4999));
appendString(LOC124, tnl_173654);
			add_175545(&(*p).body, LOC124);
		}
		LA117: ;
		LOC125 = 0;
		LOC125 = rawNewString(tnl_173654->Sup.len + 11);
appendString(LOC125, ((NimStringDesc*) &TMP5000));
appendString(LOC125, tnl_173654);
		add_175545(&(*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_548817(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_173654->Sup.len + 1);
appendString(LOC136, ((NimStringDesc*) &TMP4689));
appendString(LOC136, tnl_173654);
		add_175545(&(*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_548817(p, (*(*n).kindU.S6.sons->data[i]).kindU.S6.sons->data[((NI) 0)]);
		}
		LA145: ;
	}
	LA139: ;
}

N_NIMCALL(void, genraisestmt_550522)(Tproc548033* p, Tnode224809* n) {
	genlinedir_549929(p, n);
	{
		Tcompres548023 a;
		Ttype224847* typ;
		TY542257 LOC5;
		if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 1)))) goto LA3;
		memset((void*)(&a), 0, sizeof(a));
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], (&a));
		typ = skiptypes_228167((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, IL64(211106247256320));
		usemagic_548838(p, ((NimStringDesc*) &TMP5001));
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = rdloc_548127((&a));
		LOC5[1] = makejsstring_548305((*(*(*typ).sym).name).s);
		addf_176635(&(*p).body, ((NimStringDesc*) &TMP5002), LOC5, 2);
	}
	goto LA1;
	LA3: ;
	{
		NimStringDesc* LOC7;
		usemagic_548838(p, ((NimStringDesc*) &TMP4996));
		LOC7 = 0;
		LOC7 = rawNewString(tnl_173654->Sup.len + 19);
appendString(LOC7, ((NimStringDesc*) &TMP4998));
appendString(LOC7, tnl_173654);
		add_175545(&(*p).body, LOC7);
	}
	LA1: ;
}

N_NIMCALL(void, genpragma_555712)(Tproc548033* p, Tnode224809* n) {
	{
		Tnode224809* it_555726;
		Tnodeseq224803* HEX3Atmp_555729;
		NI i_555732;
		NI L_555734;
		it_555726 = 0;
		HEX3Atmp_555729 = 0;
		HEX3Atmp_555729 = (*n).kindU.S6.sons;
		i_555732 = ((NI) 0);
		L_555734 = (HEX3Atmp_555729 ? HEX3Atmp_555729->Sup.len : 0);
		{
			while (1) {
				NU16 LOC4;
				if (!(i_555732 < L_555734)) goto LA3;
				it_555726 = HEX3Atmp_555729->data[i_555732];
				LOC4 = 0;
				LOC4 = whichpragma_253687(it_555726);
				switch (LOC4) {
				case ((NU16) 189):
				{
					genasmoremitstmt_551445(p, (*it_555726).kindU.S6.sons->data[((NI) 1)]);
				}
				break;
				default:
				{
				}
				break;
				}
				i_555732 += ((NI) 1);
			} LA3: ;
		}
	}
}

N_NIMCALL(void, gen_548808)(Tproc548033* p, Tnode224809* n, Tcompres548023* r) {
	(*r).typ = ((NU8) 0);
	(*r).kind = ((NU8) 0);
	unsureAsgnRef((void**) (&(*r).res), NIM_NIL);
	switch ((*n).kind) {
	case ((NU8) 3):
	{
		gensym_552693(p, n, r);
	}
	break;
	case ((NU8) 5) ... ((NU8) 10):
	{
		unsureAsgnRef((void**) (&(*r).res), rope_175407((*n).kindU.S1.intval));
		(*r).kind = ((NU8) 1);
	}
	break;
	case ((NU8) 23):
	{
		{
			NIM_BOOL LOC6;
			LOC6 = 0;
			LOC6 = isemptytype_229933((*n).typ);
			if (!LOC6) goto LA7;
		}
		goto LA4;
		LA7: ;
		{
			NU8 LOC10;
			LOC10 = 0;
			LOC10 = maptype_548256((*n).typ);
			if (!(LOC10 == ((NU8) 8))) goto LA11;
			(*r).typ = ((NU8) 8);
			{
				if (!((*p).target == ((NU8) 0))) goto LA15;
				unsureAsgnRef((void**) (&(*r).address), rope_175322(((NimStringDesc*) &TMP4708)));
			}
			goto LA13;
			LA15: ;
			{
				unsureAsgnRef((void**) (&(*r).address), rope_175322(((NimStringDesc*) &TMP4709)));
			}
			LA13: ;
			unsureAsgnRef((void**) (&(*r).res), rope_175322(((NimStringDesc*) &TMP4710)));
			(*r).kind = ((NU8) 1);
		}
		goto LA4;
		LA11: ;
		{
			{
				if (!((*p).target == ((NU8) 0))) goto LA21;
				unsureAsgnRef((void**) (&(*r).res), rope_175322(((NimStringDesc*) &TMP4708)));
			}
			goto LA19;
			LA21: ;
			{
				unsureAsgnRef((void**) (&(*r).res), rope_175322(((NimStringDesc*) &TMP4709)));
			}
			LA19: ;
			(*r).kind = ((NU8) 1);
		}
		LA4: ;
	}
	break;
	case ((NU8) 20) ... ((NU8) 22):
	{
		{
			Ttype224847* LOC27;
			TY175572 LOC30;
			LOC27 = 0;
			LOC27 = skiptypes_228167((*n).typ, IL64(211106242013440));
			if (!((*LOC27).kind == ((NU8) 28))) goto LA28;
			usemagic_548838(p, ((NimStringDesc*) &TMP4711));
			memset((void*)LOC30, 0, sizeof(LOC30));
			LOC30[0] = makejsstring_548305((*n).kindU.S3.strval);
			unsureAsgnRef((void**) (&(*r).res), HEX25_176236(((NimStringDesc*) &TMP4712), LOC30, 1));
		}
		goto LA25;
		LA28: ;
		{
			unsureAsgnRef((void**) (&(*r).res), makejsstring_548305((*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_175322(((NimStringDesc*) &TMP4713)));
		}
		goto LA33;
		LA35: ;
		{
			if (!(f == 0.0)) goto LA38;
			unsureAsgnRef((void**) (&(*r).res), rope_175322(((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_175322(((NimStringDesc*) &TMP4715)));
			}
			goto LA43;
			LA45: ;
			{
				unsureAsgnRef((void**) (&(*r).res), rope_175322(((NimStringDesc*) &TMP4716)));
			}
			LA43: ;
		}
		goto LA33;
		LA41: ;
		{
			NimStringDesc* LOC49;
			LOC49 = 0;
			LOC49 = tostrmaxprecision_231024(f);
			unsureAsgnRef((void**) (&(*r).res), rope_175322(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_554908(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_225098(n);
			LOC58 = (((NI) 2) <= LOC62);
			LA61: ;
			if (!LOC58) goto LA63;
			geninfixcall_553655(p, n, r);
		}
		goto LA51;
		LA63: ;
		{
			gencall_553642(p, n, r);
		}
		LA51: ;
	}
	break;
	case ((NU8) 39):
	{
		gensetconstr_554991(p, n, r);
	}
	break;
	case ((NU8) 41):
	{
		genarrayconstr_555059(p, n, r);
	}
	break;
	case ((NU8) 37):
	{
		gentupleconstr_555108(p, n, r);
	}
	break;
	case ((NU8) 38):
	{
		genobjconstr_555179(p, n, r);
	}
	break;
	case ((NU8) 58):
	case ((NU8) 59):
	case ((NU8) 60):
	{
		genconv_555295(p, n, r);
	}
	break;
	case ((NU8) 63):
	case ((NU8) 64):
	{
		genaddr_552507(p, n, r);
	}
	break;
	case ((NU8) 47):
	case ((NU8) 65):
	{
		genderef_552892(p, n, r);
	}
	break;
	case ((NU8) 42):
	{
		genarrayaccess_552384(p, n, r);
	}
	break;
	case ((NU8) 45):
	{
		genfieldaccess_552188(p, n, r);
	}
	break;
	case ((NU8) 46):
	{
		gencheckedfieldaccess_552285(p, n, r);
	}
	break;
	case ((NU8) 66):
	{
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
	}
	break;
	case ((NU8) 67):
	{
		upconv_555333(p, n, r);
	}
	break;
	case ((NU8) 61):
	{
		gen_548808(p, (*n).kindU.S6.sons->data[((NI) 1)], r);
	}
	break;
	case ((NU8) 68):
	{
		genrangechck_555346(p, n, r, ((NimStringDesc*) &TMP4926));
	}
	break;
	case ((NU8) 69):
	{
		genrangechck_555346(p, n, r, ((NimStringDesc*) &TMP4927));
	}
	break;
	case ((NU8) 70):
	{
		genrangechck_555346(p, n, r, ((NimStringDesc*) &TMP4924));
	}
	break;
	case ((NU8) 71):
	{
		convstrtocstr_555380(p, n, r);
	}
	break;
	case ((NU8) 72):
	{
		convcstrtostr_555419(p, n, r);
	}
	break;
	case ((NU8) 1):
	{
	}
	break;
	case ((NU8) 51):
	case ((NU8) 52):
	{
		Tsym224841* s;
		Ropeobj175009* LOC86;
		s = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		LOC86 = 0;
		LOC86 = manglename_548277(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;
			Ropeobj175009* LOC97;
			LOC94 = 0;
			LOC94 = containsorincl_221898((&(*(*p).g).generatedsyms), (*s).Sup.id);
			if (!!(LOC94)) goto LA95;
			LOC97 = 0;
			LOC97 = genproc_548824(p, s);
			add_175534(&(*p).locals, LOC97);
		}
		goto LA87;
		LA95: ;
		LA87: ;
	}
	break;
	case ((NU8) 4):
	{
		unsureAsgnRef((void**) (&(*r).res), gentypeinfo_548315(p, (*n).typ));
	}
	break;
	case ((NU8) 115):
	case ((NU8) 126):
	{
		NIM_BOOL isexpr;
		NIM_BOOL LOC100;
		LOC100 = 0;
		LOC100 = isemptytype_229933((*n).typ);
		isexpr = !(LOC100);
		{
			NI i_555896;
			NI HEX3Atmp_555959;
			NI LOC102;
			NI res_555962;
			i_555896 = 0;
			HEX3Atmp_555959 = 0;
			LOC102 = 0;
			LOC102 = sonslen_227387(n);
			HEX3Atmp_555959 = (NI)((NI)(LOC102 - ((NI) 1)) - ((NI) (isexpr)));
			res_555962 = ((NI) 0);
			{
				while (1) {
					if (!(res_555962 <= HEX3Atmp_555959)) goto LA104;
					i_555896 = res_555962;
					genstmt_548817(p, (*n).kindU.S6.sons->data[i_555896]);
					res_555962 += ((NI) 1);
				} LA104: ;
			}
		}
		{
			Tnode224809* LOC109;
			if (!isexpr) goto LA107;
			LOC109 = 0;
			LOC109 = lastson_227406(n);
			gen_548808(p, LOC109, r);
		}
		LA107: ;
	}
	break;
	case ((NU8) 112):
	case ((NU8) 127):
	{
		genblock_550876(p, n, r);
	}
	break;
	case ((NU8) 92):
	case ((NU8) 48):
	{
		genif_551493(p, n, r);
	}
	break;
	case ((NU8) 93):
	{
		gen_548808(p, (*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S6.sons->data[((NI) 0)], r);
	}
	break;
	case ((NU8) 96):
	{
		genwhilestmt_550064(p, n);
	}
	break;
	case ((NU8) 99):
	case ((NU8) 100):
	{
		genvarstmt_554240(p, n);
	}
	break;
	case ((NU8) 101):
	{
	}
	break;
	case ((NU8) 94):
	case ((NU8) 95):
	{
		internalerror_195172((*n).info, ((NimStringDesc*) &TMP4953));
	}
	break;
	case ((NU8) 97):
	{
		{
			if (!((*p).target == ((NU8) 0))) goto LA120;
			gencasejs_550553(p, n, r);
		}
		goto LA118;
		LA120: ;
		{
			gencaselua_550720(p, n, r);
		}
		LA118: ;
	}
	break;
	case ((NU8) 109):
	{
		genreturnstmt_555458(p, n);
	}
	break;
	case ((NU8) 110):
	{
		genbreakstmt_550977(p, n);
	}
	break;
	case ((NU8) 73):
	{
		genasgn_551995(p, n);
	}
	break;
	case ((NU8) 74):
	{
		genfastasgn_552007(p, n);
	}
	break;
	case ((NU8) 114):
	{
		{
			if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 1)))) goto LA130;
			genlinedir_549929(p, n);
			gen_548808(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
		}
		LA130: ;
	}
	break;
	case ((NU8) 89):
	{
		genasmoremitstmt_551445(p, n);
	}
	break;
	case ((NU8) 106):
	{
		gentry_550197(p, n, r);
	}
	break;
	case ((NU8) 108):
	{
		genraisestmt_550522(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_555712(p, n);
	}
	break;
	case ((NU8) 79):
	case ((NU8) 80):
	case ((NU8) 81):
	{
		Tsym224841* s;
		s = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		{
			if (!((65600 & (*s).flags) == 64)) goto LA140;
			gensym_552693(p, (*n).kindU.S6.sons->data[((NI) 0)], r);
			unsureAsgnRef((void**) (&(*r).res), NIM_NIL);
		}
		LA140: ;
	}
	break;
	case ((NU8) 156):
	case ((NU8) 157):
	{
		internalerror_195172((*n).info, ((NimStringDesc*) &TMP5003));
	}
	break;
	case ((NU8) 91):
	{
		Tnode224809* LOC144;
		LOC144 = 0;
		LOC144 = lastson_227406(n);
		gen_548808(p, LOC144, r);
	}
	break;
	default:
	{
		NimStringDesc* LOC146;
		LOC146 = 0;
		LOC146 = rawNewString(reprEnum((*n).kind, (&NTI224029))->Sup.len + 24);
appendString(LOC146, ((NimStringDesc*) &TMP5004));
appendString(LOC146, reprEnum((*n).kind, (&NTI224029)));
		internalerror_195172((*n).info, LOC146);
	}
	break;
	}
}

N_NIMCALL(void, genstmt_548817)(Tproc548033* p, Tnode224809* n) {
	Tcompres548023 r;
	memset((void*)(&r), 0, sizeof(r));
	gen_548808(p, n, (&r));
	{
		TY175572 LOC5;
		if (!!((r.res == NIM_NIL))) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = r.res;
		addf_176635(&(*p).body, ((NimStringDesc*) &TMP5005), LOC5, 1);
	}
	LA3: ;
}

N_NIMCALL(void, genmodule_556027)(Tproc548033* p, Tnode224809* n) {
	{
		TY542257 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_548305(LOC6);
		LOC7 = 0;
		LOC7 = tofilename_190652((*(*(*p).module).module).info.fileindex);
		LOC5[1] = makejsstring_548305(LOC7);
		addf_176635(&(*p).body, ((NimStringDesc*) &TMP4630), LOC5, 2);
	}
	LA3: ;
	genstmt_548817(p, n);
	{
		TY512664 LOC12;
		if (!(((*p).options &(1<<((((NU8) 15))&31)))!=0)) goto LA10;
		memset((void*)LOC12, 0, sizeof(LOC12));
		addf_176635(&(*p).body, ((NimStringDesc*) &TMP5006), LOC12, 0);
	}
	LA10: ;
}

N_NIMCALL(Tnode224809*, myprocess_556068)(Tpasscontext276005* b, Tnode224809* n) {
	Tnode224809* result;
	Tjsgen548015* m;
	Tproc548033* p;
{	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = skipcodegen_276083(n);
		if (!LOC3) goto LA4;
		result = n;
		goto BeforeRet;
	}
	LA4: ;
	result = n;
	m = ((Tjsgen548015*) (b));
	{
		if (!((*m).module == NIM_NIL)) goto LA8;
		internalerror_195172((*n).info, ((NimStringDesc*) &TMP4622));
	}
	LA8: ;
	p = newproc_548207(globals_555981, m, NIM_NIL, (*(*m).module).options);
	genmodule_556027(p, n);
	add_175534(&(*(*p).g).code, (*p).locals);
	add_175534(&(*(*p).g).code, (*p).body);
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Ropeobj175009*, wholecode_556096)(Tjsgen548015* m) {
	Ropeobj175009* result;
	Tnode224809* disp;
	result = 0;
	{
		Tsym224841* prc_556109;
		Tsymseq224811* HEX3Atmp_556136;
		NI i_556139;
		NI L_556141;
		prc_556109 = 0;
		HEX3Atmp_556136 = 0;
		HEX3Atmp_556136 = (*globals_555981).forwarded;
		i_556139 = ((NI) 0);
		L_556141 = (HEX3Atmp_556136 ? HEX3Atmp_556136->Sup.len : 0);
		{
			while (1) {
				if (!(i_556139 < L_556141)) goto LA3;
				prc_556109 = HEX3Atmp_556136->data[i_556139];
				{
					NIM_BOOL LOC6;
					Tproc548033* p;
					Ropeobj175009* LOC9;
					LOC6 = 0;
					LOC6 = containsorincl_221898((&(*globals_555981).generatedsyms), (*prc_556109).Sup.id);
					if (!!(LOC6)) goto LA7;
					p = newproc_548207(globals_555981, m, NIM_NIL, (*(*m).module).options);
					LOC9 = 0;
					LOC9 = genproc_548824(p, prc_556109);
					add_175534(&(*(*p).g).code, LOC9);
				}
				LA7: ;
				i_556139 += ((NI) 1);
			} LA3: ;
		}
	}
	disp = generatemethoddispatchers_400268();
	{
		NI i_556126;
		NI HEX3Atmp_556143;
		NI LOC11;
		NI res_556146;
		i_556126 = 0;
		HEX3Atmp_556143 = 0;
		LOC11 = 0;
		LOC11 = sonslen_227387(disp);
		HEX3Atmp_556143 = (NI)(LOC11 - ((NI) 1));
		res_556146 = ((NI) 0);
		{
			while (1) {
				Tsym224841* prc;
				if (!(res_556146 <= HEX3Atmp_556143)) goto LA13;
				i_556126 = res_556146;
				prc = (*(*disp).kindU.S6.sons->data[i_556126]).kindU.S4.sym;
				{
					NIM_BOOL LOC16;
					Tproc548033* p;
					Ropeobj175009* LOC19;
					LOC16 = 0;
					LOC16 = containsorincl_221898((&(*globals_555981).generatedsyms), (*prc).Sup.id);
					if (!!(LOC16)) goto LA17;
					p = newproc_548207(globals_555981, m, NIM_NIL, (*(*m).module).options);
					LOC19 = 0;
					LOC19 = genproc_548824(p, prc);
					add_175534(&(*(*p).g).code, LOC19);
				}
				LA17: ;
				res_556146 += ((NI) 1);
			} LA13: ;
		}
	}
	result = HEX26_175436((*globals_555981).typeinfo, (*globals_555981).code);
	return result;
}

N_NIMCALL(Ropeobj175009*, genheader_556016)(void) {
	Ropeobj175009* result;
	TY175572 LOC1;
	result = 0;
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = rope_175322(((NimStringDesc*) &TMP5009));
	result = HEX25_176236(((NimStringDesc*) &TMP5008), LOC1, 1);
	return result;
}

N_NIMCALL(Tnode224809*, myclose_556174)(Tpasscontext276005* b, Tnode224809* n) {
	Tnode224809* result;
	Tjsgen548015* m;
{	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = skipcodegen_276083(n);
		if (!LOC3) goto LA4;
		result = n;
		goto BeforeRet;
	}
	LA4: ;
	result = myprocess_556068(b, n);
	m = ((Tjsgen548015*) (b));
	{
		Ropeobj175009* code;
		NimStringDesc* outfile;
		Ropeobj175009* LOC24;
		Ropeobj175009* LOC25;
		NIM_BOOL LOC26;
		if (!(((*(*m).module).flags &(1<<((((NU8) 12))&31)))!=0)) goto LA8;
		code = wholecode_556096(m);
		{
			if (!(((NI) 0) < (outfile_166138 ? outfile_166138->Sup.len : 0))) goto LA12;
			{
				NIM_BOOL LOC16;
				LOC16 = 0;
				LOC16 = nosisAbsolute(outfile_166138);
				if (!LOC16) goto LA17;
				outfile = outfile_166138;
			}
			goto LA14;
			LA17: ;
			{
				NimStringDesc* LOC20;
				LOC20 = 0;
				LOC20 = nosgetCurrentDir();
				outfile = HEX2F_123481(LOC20, outfile_166138);
			}
			LA14: ;
		}
		goto LA10;
		LA12: ;
		{
			NimStringDesc* LOC22;
			NimStringDesc* LOC23;
			LOC22 = 0;
			LOC22 = tofilename_190652(((NI32) ((*(*m).module).position)));
			LOC23 = 0;
			LOC23 = completecfilepath_203112(LOC22, NIM_TRUE);
			outfile = noschangeFileExt(LOC23, ((NimStringDesc*) &TMP5007));
		}
		LA10: ;
		LOC24 = 0;
		LOC24 = genheader_556016();
		LOC25 = 0;
		LOC25 = HEX26_175436(LOC24, code);
		LOC26 = 0;
		LOC26 = writeropeifnotequal_176930(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];
NTI548015.size = sizeof(Tjsgen548015);
NTI548015.kind = 17;
NTI548015.base = (&NTI276005);
TMP1142[0].kind = 1;
TMP1142[0].offset = offsetof(Tjsgen548015, module);
TMP1142[0].typ = (&NTI224807);
TMP1142[0].name = "module";
NTI548015.node = &TMP1142[0];
NTI548017.size = sizeof(Tjsgen548015*);
NTI548017.kind = 22;
NTI548017.base = (&NTI548015);
NTI548017.marker = TMP4618;
NTI548027.size = sizeof(Tglobals548027);
NTI548027.kind = 18;
NTI548027.base = 0;
NTI548027.flags = 2;
TMP4619[0] = &TMP1142[2];
TMP1142[2].kind = 1;
TMP1142[2].offset = offsetof(Tglobals548027, typeinfo);
TMP1142[2].typ = (&NTI175007);
TMP1142[2].name = "typeInfo";
TMP4619[1] = &TMP1142[3];
TMP1142[3].kind = 1;
TMP1142[3].offset = offsetof(Tglobals548027, code);
TMP1142[3].typ = (&NTI175007);
TMP1142[3].name = "code";
TMP4619[2] = &TMP1142[4];
TMP1142[4].kind = 1;
TMP1142[4].offset = offsetof(Tglobals548027, forwarded);
TMP1142[4].typ = (&NTI224811);
TMP1142[4].name = "forwarded";
TMP4619[3] = &TMP1142[5];
TMP1142[5].kind = 1;
TMP1142[5].offset = offsetof(Tglobals548027, generatedsyms);
TMP1142[5].typ = (&NTI221056);
TMP1142[5].name = "generatedSyms";
TMP4619[4] = &TMP1142[6];
TMP1142[6].kind = 1;
TMP1142[6].offset = offsetof(Tglobals548027, typeinfogenerated);
TMP1142[6].typ = (&NTI221056);
TMP1142[6].name = "typeInfoGenerated";
TMP1142[1].len = 5; TMP1142[1].kind = 2; TMP1142[1].sons = &TMP4619[0];
NTI548027.node = &TMP1142[1];
NTI548029.size = sizeof(Tglobals548027*);
NTI548029.kind = 22;
NTI548029.base = (&NTI548027);
NTI548029.flags = 2;
NTI548029.marker = TMP4620;
NTI548033.size = sizeof(Tproc548033);
NTI548033.kind = 18;
NTI548033.base = 0;
TMP4623[0] = &TMP1142[8];
TMP1142[8].kind = 1;
TMP1142[8].offset = offsetof(Tproc548033, procdef);
TMP1142[8].typ = (&NTI224801);
TMP1142[8].name = "procDef";
TMP4623[1] = &TMP1142[9];
TMP1142[9].kind = 1;
TMP1142[9].offset = offsetof(Tproc548033, prc);
TMP1142[9].typ = (&NTI224807);
TMP1142[9].name = "prc";
TMP4623[2] = &TMP1142[10];
TMP1142[10].kind = 1;
TMP1142[10].offset = offsetof(Tproc548033, locals);
TMP1142[10].typ = (&NTI175007);
TMP1142[10].name = "locals";
TMP4623[3] = &TMP1142[11];
TMP1142[11].kind = 1;
TMP1142[11].offset = offsetof(Tproc548033, body);
TMP1142[11].typ = (&NTI175007);
TMP1142[11].name = "body";
TMP4623[4] = &TMP1142[12];
TMP1142[12].kind = 1;
TMP1142[12].offset = offsetof(Tproc548033, options);
TMP1142[12].typ = (&NTI166017);
TMP1142[12].name = "options";
TMP4623[5] = &TMP1142[13];
TMP1142[13].kind = 1;
TMP1142[13].offset = offsetof(Tproc548033, module);
TMP1142[13].typ = (&NTI548017);
TMP1142[13].name = "module";
TMP4623[6] = &TMP1142[14];
TMP1142[14].kind = 1;
TMP1142[14].offset = offsetof(Tproc548033, g);
TMP1142[14].typ = (&NTI548029);
TMP1142[14].name = "g";
TMP4623[7] = &TMP1142[15];
TMP1142[15].kind = 1;
TMP1142[15].offset = offsetof(Tproc548033, beforeretneeded);
TMP1142[15].typ = (&NTI138);
TMP1142[15].name = "beforeRetNeeded";
TMP4623[8] = &TMP1142[16];
NTI548013.size = sizeof(NU8);
NTI548013.kind = 14;
NTI548013.base = 0;
NTI548013.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];
NTI548013.node = &TMP1142[19];
TMP1142[16].kind = 1;
TMP1142[16].offset = offsetof(Tproc548033, target);
TMP1142[16].typ = (&NTI548013);
TMP1142[16].name = "target";
TMP4623[9] = &TMP1142[20];
TMP1142[20].kind = 1;
TMP1142[20].offset = offsetof(Tproc548033, unique);
TMP1142[20].typ = (&NTI108);
TMP1142[20].name = "unique";
TMP4623[10] = &TMP1142[21];
NTI548025.size = sizeof(Tblock548025);
NTI548025.kind = 18;
NTI548025.base = 0;
NTI548025.flags = 3;
TMP4627[0] = &TMP1142[23];
TMP1142[23].kind = 1;
TMP1142[23].offset = offsetof(Tblock548025, id);
TMP1142[23].typ = (&NTI108);
TMP1142[23].name = "id";
TMP4627[1] = &TMP1142[24];
TMP1142[24].kind = 1;
TMP1142[24].offset = offsetof(Tblock548025, isloop);
TMP1142[24].typ = (&NTI138);
TMP1142[24].name = "isLoop";
TMP1142[22].len = 2; TMP1142[22].kind = 2; TMP1142[22].sons = &TMP4627[0];
NTI548025.node = &TMP1142[22];
NTI548071.size = sizeof(TY548071*);
NTI548071.kind = 24;
NTI548071.base = (&NTI548025);
NTI548071.flags = 2;
NTI548071.marker = TMP4628;
TMP1142[21].kind = 1;
TMP1142[21].offset = offsetof(Tproc548033, blocks);
TMP1142[21].typ = (&NTI548071);
TMP1142[21].name = "blocks";
TMP4623[11] = &TMP1142[25];
TMP1142[25].kind = 1;
TMP1142[25].offset = offsetof(Tproc548033, up);
TMP1142[25].typ = (&NTI548031);
TMP1142[25].name = "up";
TMP1142[7].len = 12; TMP1142[7].kind = 2; TMP1142[7].sons = &TMP4623[0];
NTI548033.node = &TMP1142[7];
NTI548031.size = sizeof(Tproc548033*);
NTI548031.kind = 22;
NTI548031.base = (&NTI548033);
NTI548031.marker = TMP4629;
NTI549453.size = sizeof(Tmagicfrmt549453);
NTI549453.kind = 16;
NTI549453.base = (&NTI149);
NTI549453.flags = 2;
NTI549455.size = sizeof(Tmagicops549455);
NTI549455.kind = 16;
NTI549455.base = (&NTI549453);
NTI549455.flags = 2;
}

