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

#include <string.h>
typedef struct tnode225816 tnode225816;
typedef struct tsym225846 tsym225846;
typedef struct ttype225852 ttype225852;
typedef struct tlineinfo195539 tlineinfo195539;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tident200021 tident200021;
typedef struct tnodeseq225810 tnodeseq225810;
typedef struct ttransfcontext436011 ttransfcontext436011;
typedef struct tpasscontext286005 tpasscontext286005;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct ttranscon436009 ttranscon436009;
typedef struct tsymseq225818 tsymseq225818;
typedef struct tidnodetable225870 tidnodetable225870;
typedef struct tidnodepairseq225868 tidnodepairseq225868;
typedef struct tidnodepair225866 tidnodepair225866;
typedef struct tidobj200015 tidobj200015;
typedef struct tcell45133 tcell45133;
typedef struct tcellseq45149 tcellseq45149;
typedef struct tgcheap47216 tgcheap47216;
typedef struct tcellset45145 tcellset45145;
typedef struct tpagedesc45141 tpagedesc45141;
typedef struct tmemregion27410 tmemregion27410;
typedef struct tsmallchunk26640 tsmallchunk26640;
typedef struct tllchunk27404 tllchunk27404;
typedef struct tbigchunk26642 tbigchunk26642;
typedef struct tintset26617 tintset26617;
typedef struct ttrunk26613 ttrunk26613;
typedef struct tavlnode27408 tavlnode27408;
typedef struct tgcstat47214 tgcstat47214;
typedef struct ttypeseq225848 ttypeseq225848;
typedef struct tscope225840 tscope225840;
typedef struct TY225947 TY225947;
typedef struct tinstantiation225836 tinstantiation225836;
typedef struct tstrtable225820 tstrtable225820;
typedef struct tloc225830 tloc225830;
typedef struct trope177009 trope177009;
typedef struct tlib225834 tlib225834;
typedef struct TY84945 TY84945;
typedef struct tidtable225864 tidtable225864;
typedef struct tidpairseq225862 tidpairseq225862;
typedef struct tidpair225860 tidpair225860;
typedef struct tbasechunk26638 tbasechunk26638;
typedef struct tfreecell26630 tfreecell26630;
typedef struct TY225936 TY225936;
typedef struct tlistentry127022 tlistentry127022;
struct  tlineinfo195539  {
NI16 Line;
NI16 Col;
NI32 Fileindex;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  tnode225816  {
ttype225852* Typ;
tlineinfo195539 Info;
NU16 Flags;
NU8 Kind;
union {
struct {NI64 Intval;
} S1;
struct {NF Floatval;
} S2;
struct {NimStringDesc* Strval;
} S3;
struct {tsym225846* Sym;
} S4;
struct {tident200021* Ident;
} S5;
struct {tnodeseq225810* Sons;
} S6;
} kindU;
NimStringDesc* Comment;
};
typedef N_NIMCALL_PTR(void, TY3089) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3094) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3089 marker;
TY3094 deepcopy;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  tpasscontext286005  {
  TNimObject Sup;
NIM_BOOL Fromcache;
};
struct  ttransfcontext436011  {
  tpasscontext286005 Sup;
tsym225846* Module;
ttranscon436009* Transcon;
NI Inlining;
NI Nestedprocs;
tsymseq225818* Contsyms;
tsymseq225818* Breaksyms;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  tidnodepair225866  {
tidobj200015* Key;
tnode225816* Val;
};
struct  tidnodetable225870  {
NI Counter;
tidnodepairseq225868* Data;
};
struct  ttranscon436009  {
tidnodetable225870 Mapping;
tsym225846* Owner;
tnode225816* Forstmt;
tnode225816* Forloopbody;
NI Yieldstmts;
ttranscon436009* Next;
};
struct  tcell45133  {
NI Refcount;
TNimType* Typ;
};
struct  tcellseq45149  {
NI Len;
NI Cap;
tcell45133** D;
};
struct  tcellset45145  {
NI Counter;
NI Max;
tpagedesc45141* Head;
tpagedesc45141** Data;
};
typedef tsmallchunk26640* TY27422[512];
typedef ttrunk26613* ttrunkbuckets26615[256];
struct  tintset26617  {
ttrunkbuckets26615 Data;
};
struct  tmemregion27410  {
NI Minlargeobj;
NI Maxlargeobj;
TY27422 Freesmallchunks;
tllchunk27404* Llmem;
NI Currmem;
NI Maxmem;
NI Freemem;
NI Lastsize;
tbigchunk26642* Freechunkslist;
tintset26617 Chunkstarts;
tavlnode27408* Root;
tavlnode27408* Deleted;
tavlnode27408* Last;
tavlnode27408* Freeavlnodes;
};
struct  tgcstat47214  {
NI Stackscans;
NI Cyclecollections;
NI Maxthreshold;
NI Maxstacksize;
NI Maxstackcells;
NI Cycletablesize;
NI64 Maxpause;
};
struct  tgcheap47216  {
void* Stackbottom;
NI Cyclethreshold;
tcellseq45149 Zct;
tcellseq45149 Decstack;
tcellset45145 Cycleroots;
tcellseq45149 Tempstack;
NI Recgclock;
tmemregion27410 Region;
tgcstat47214 Stat;
};
struct  tidobj200015  {
  TNimObject Sup;
NI Id;
};
struct  tstrtable225820  {
NI Counter;
tsymseq225818* Data;
};
struct  tloc225830  {
NU8 K;
NU8 S;
NU8 Flags;
ttype225852* T;
trope177009* R;
trope177009* Heaproot;
};
struct  tsym225846  {
  tidobj200015 Sup;
NU8 Kind;
union {
struct {ttypeseq225848* Typeinstcache;
tscope225840* Typscope;
} S1;
struct {TY225947* Procinstcache;
tscope225840* Scope;
} S2;
struct {TY225947* Usedgenerics;
tstrtable225820 Tab;
} S3;
struct {tsym225846* Guard;
} S4;
} kindU;
NU16 Magic;
ttype225852* Typ;
tident200021* Name;
tlineinfo195539 Info;
tsym225846* Owner;
NU32 Flags;
tnode225816* Ast;
NU32 Options;
NI Position;
NI Offset;
tloc225830 Loc;
tlib225834* Annex;
tnode225816* Constraint;
};
struct  ttype225852  {
  tidobj200015 Sup;
NU8 Kind;
NU8 Callconv;
NU32 Flags;
ttypeseq225848* Sons;
tnode225816* N;
tsym225846* Owner;
tsym225846* Sym;
tsym225846* Destructor;
tsym225846* Deepcopy;
NI64 Size;
NI16 Align;
NI16 Locklevel;
tloc225830 Loc;
};
struct TY84945 {
NimStringDesc* Field0;
NI Field1;
};
struct  tidpair225860  {
tidobj200015* Key;
TNimObject* Val;
};
struct  tidtable225864  {
NI Counter;
tidpairseq225862* Data;
};
struct  tident200021  {
  tidobj200015 Sup;
NimStringDesc* S;
tident200021* Next;
NI H;
};
typedef NI TY26620[8];
struct  tpagedesc45141  {
tpagedesc45141* Next;
NI Key;
TY26620 Bits;
};
struct  tbasechunk26638  {
NI Prevsize;
NI Size;
NIM_BOOL Used;
};
struct  tsmallchunk26640  {
  tbasechunk26638 Sup;
tsmallchunk26640* Next;
tsmallchunk26640* Prev;
tfreecell26630* Freelist;
NI Free;
NI Acc;
NF Data;
};
struct  tllchunk27404  {
NI Size;
NI Acc;
tllchunk27404* Next;
};
struct  tbigchunk26642  {
  tbasechunk26638 Sup;
tbigchunk26642* Next;
tbigchunk26642* Prev;
NI Align;
NF Data;
};
struct  ttrunk26613  {
ttrunk26613* Next;
NI Key;
TY26620 Bits;
};
typedef tavlnode27408* TY27414[2];
struct  tavlnode27408  {
TY27414 Link;
NI Key;
NI Upperbound;
NI Level;
};
struct  tscope225840  {
NI Depthlevel;
tstrtable225820 Symbols;
tnodeseq225810* Usingsyms;
tscope225840* Parent;
};
struct  tinstantiation225836  {
tsym225846* Sym;
ttypeseq225848* Concretetypes;
TY225936* Usedby;
};
struct  trope177009  {
  TNimObject Sup;
trope177009* Left;
trope177009* Right;
NI Length;
NimStringDesc* Data;
};
struct  tlistentry127022  {
  TNimObject Sup;
tlistentry127022* Prev;
tlistentry127022* Next;
};
struct  tlib225834  {
  tlistentry127022 Sup;
NU8 Kind;
NIM_BOOL Generated;
NIM_BOOL Isoverriden;
trope177009* Name;
tnode225816* Path;
};
struct  tfreecell26630  {
tfreecell26630* Next;
NI Zerofield;
};
struct tnodeseq225810 {
  TGenericSeq Sup;
  tnode225816* data[SEQ_DECL_SIZE];
};
struct tsymseq225818 {
  TGenericSeq Sup;
  tsym225846* data[SEQ_DECL_SIZE];
};
struct tidnodepairseq225868 {
  TGenericSeq Sup;
  tidnodepair225866 data[SEQ_DECL_SIZE];
};
struct ttypeseq225848 {
  TGenericSeq Sup;
  ttype225852* data[SEQ_DECL_SIZE];
};
struct TY225947 {
  TGenericSeq Sup;
  tinstantiation225836* data[SEQ_DECL_SIZE];
};
struct tidpairseq225862 {
  TGenericSeq Sup;
  tidpair225860 data[SEQ_DECL_SIZE];
};
struct TY225936 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
N_NIMCALL(ttransfcontext436011*, opentransf_441306)(tsym225846* module, NimStringDesc* filename);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP3128)(void* p, NI op);
N_NIMCALL(void, TMP3129)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(tcell45133*, usrtocell_48846)(void* usr);
static N_INLINE(void, rtladdzct_50404)(tcell45133* c);
N_NOINLINE(void, addzct_48817)(tcellseq45149* s, tcell45133* c);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
N_NIMCALL(tnode225816*, processtransf_441265)(ttransfcontext436011* c, tnode225816* n, tsym225846* owner);
N_NIMCALL(void, pushtranscon_436424)(ttransfcontext436011* c, ttranscon436009* t);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_51225)(tcell45133* c);
static N_INLINE(NIM_BOOL, canbecycleroot_48867)(tcell45133* c);
static N_INLINE(void, rtladdcycleroot_49629)(tcell45133* c);
N_NOINLINE(void, incl_45871)(tcellset45145* s, tcell45133* cell);
static N_INLINE(void, decref_50804)(tcell45133* c);
N_NIMCALL(ttranscon436009*, newtranscon_436200)(tsym225846* owner);
N_NIMCALL(void, initidnodetable_226181)(tidnodetable225870* x);
N_NIMCALL(tnode225816*, transform_436516)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(tnode225816*, transformsym_436721)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(tnode225816*, transformsymaux_436588)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(tnode225816*, getbody_279269)(tsym225846* s);
N_NIMCALL(void, internalerror_197987)(tlineinfo195539 info, NimStringDesc* errmsg);
N_NIMCALL(tnode225816*, newsymnode_226132)(tsym225846* sym);
N_NIMCALL(tnode225816*, idnodetableget_235212)(tidnodetable225870 t, tidobj200015* key);
N_NIMCALL(tnode225816*, transformarrayaccess_439919)(ttransfcontext436011* c, tnode225816* n);
static N_INLINE(tnode225816*, newtransnode_436031)(tnode225816* a);
N_NIMCALL(tnode225816*, shallowcopy_231347)(tnode225816* src);
static N_INLINE(NI, len_226364)(tnode225816* n);
static N_INLINE(void, HEX5BHEX5DHEX3D_436128)(tnode225816* a, NI i, tnode225816* x);
N_NIMCALL(tnode225816*, skipconv_273732)(tnode225816* n);
N_NIMCALL(tnode225816*, transformfor_439146)(ttransfcontext436011* c, tnode225816* n);
static N_INLINE(NI, sonslen_226249)(tnode225816* n);
N_NIMCALL(tsym225846*, newlabel_437426)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(tsym225846*, newsym_226074)(NU8 symkind, tident200021* name, tsym225846* owner, tlineinfo195539 info);
N_NIMCALL(tsym225846*, getcurrowner_436460)(ttransfcontext436011* c);
N_NIMCALL(tident200021*, getident_200472)(NimStringDesc* identifier);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_NIMCALL(TGenericSeq*, incrSeq)(TGenericSeq* seq, NI elemsize);
static N_INLINE(tnode225816*, newtransnode_436042)(NU8 kind, tlineinfo195539 info, NI sons);
N_NIMCALL(tnode225816*, newnodei_226138)(NU8 kind, tlineinfo195539 info);
N_NIMCALL(tnode225816*, transformloopbody_437787)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(NIM_BOOL, hascontinue_437374)(tnode225816* n);
static N_INLINE(tsym225846*, pop_437736)(tsymseq225818** s_437744);
N_NIMCALL(TGenericSeq*, setLengthSeq)(TGenericSeq* seq, NI elemsize, NI newlen);
N_NIMCALL(tnode225816*, liftforloop_434953)(tnode225816* body);
N_NIMCALL(void, addvar_424053)(tnode225816* father, tnode225816* v);
N_NIMCALL(tnode225816*, copytree_226329)(tnode225816* src);
static N_INLINE(void, add_436180)(tnode225816* a, tnode225816* b);
N_NIMCALL(void, addson_226287)(tnode225816* father, tnode225816* son);
N_NIMCALL(void, internalerror_198006)(NimStringDesc* errmsg);
N_NIMCALL(NimStringDesc*, HEX24_198126)(TY84945 x_198130);
N_NIMCALL(ttype225852*, skiptypes_230245)(ttype225852* t, NU64 kinds);
N_NIMCALL(NU8, putarginto_438895)(tnode225816* arg, ttype225852* formal);
N_NIMCALL(void, idnodetableput_235219)(tidnodetable225870* t, tidobj200015* key, tnode225816* val);
N_NIMCALL(tsym225846*, newtemp_436487)(ttransfcontext436011* c, ttype225852* typ, tlineinfo195539 info);
N_NIMCALL(tnode225816*, newasgnstmt_436576)(ttransfcontext436011* c, tnode225816* le, tnode225816* ri);
N_NIMCALL(void, pushinfocontext_196930)(tlineinfo195539 info);
N_NIMCALL(void, initidtable_226167)(tidtable225864* x);
N_NIMCALL(void, freshlabels_437437)(ttransfcontext436011* c, tnode225816* n, tidtable225864* symmap);
static N_INLINE(tnode225816*, HEX5BHEX5D_226698)(tnode225816* n, NI i);
N_NIMCALL(void, idtableput_235196)(tidtable225864* t, tidobj200015* key, TNimObject* val);
N_NIMCALL(TNimObject*, idtableget_235182)(tidtable225864 t, tidobj200015* key);
static N_INLINE(NI, safelen_226424)(tnode225816* n);
N_NIMCALL(void, popinfocontext_196957)(void);
N_NIMCALL(void, poptranscon_436434)(ttransfcontext436011* c);
N_NIMCALL(tnode225816*, transformsons_436523)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(tnode225816*, transformcase_439774)(ttransfcontext436011* c, tnode225816* n);
static N_INLINE(tnode225816*, newtransnode_436085)(NU8 kind, tnode225816* n, NI sons);
N_NIMCALL(tnode225816*, newnodeit_226145)(NU8 kind, tlineinfo195539 info, ttype225852* typ);
static N_INLINE(tnode225816*, lastson_226261)(tnode225816* n);
N_NIMCALL(tnode225816*, transformbreak_437957)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(tnode225816*, transformwhile_437833)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(tnode225816*, transformcall_440311)(ttransfcontext436011* c, tnode225816* n_440314);
N_NIMCALL(tnode225816*, flattentree_440269)(tnode225816* root);
N_NIMCALL(tsym225846*, getmergeop_440041)(tnode225816* n);
N_NIMCALL(tnode225816*, copynode_226323)(tnode225816* src);
N_NIMCALL(void, flattentreeaux_440180)(tnode225816* d, tnode225816* a, tsym225846* op);
N_NIMCALL(NU16, getmagic_261845)(tnode225816* op);
N_NIMCALL(NIM_BOOL, isconstexpr_261921)(tnode225816* n);
N_NIMCALL(tnode225816*, evalop_304011)(NU16 m, tnode225816* n, tnode225816* a, tnode225816* b, tnode225816* c);
static N_INLINE(NI, len_436190)(tnode225816* a);
static N_INLINE(tnode225816*, HEX5BHEX5D_436154)(tnode225816* a, NI i);
N_NIMCALL(void, methoddef_422824)(tsym225846* s, NIM_BOOL fromcache);
N_NIMCALL(tnode225816*, methodcall_422056)(tnode225816* n);
N_NIMCALL(tnode225816*, transformaddrderef_438268)(ttransfcontext436011* c, tnode225816* n_438271, NU8 a, NU8 b);
N_NIMCALL(tnode225816*, transformconv_438576)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(NIM_BOOL, isordinaltype_263092)(ttype225852* t);
N_NIMCALL(NI64, firstord_263004)(ttype225852* t);
N_NIMCALL(NI64, lastord_263010)(ttype225852* t);
N_NIMCALL(tnode225816*, newinttypenode_226103)(NU8 kind, NI64 intval, ttype225852* typ);
N_NIMCALL(NI, inheritancediff_270588)(ttype225852* a, ttype225852* b);
N_NIMCALL(tnode225816*, newnode_226090)(NU8 kind);
N_NIMCALL(tnode225816*, transformconstsection_437251)(ttransfcontext436011* c, tnode225816* v);
N_NIMCALL(tnode225816*, transformvarsection_436732)(ttransfcontext436011* c, tnode225816* v);
N_NIMCALL(tsym225846*, copysym_226203)(tsym225846* s, NIM_BOOL keepid);
static N_INLINE(NIM_BOOL, importantcomments_169156)(void);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
N_NIMCALL(tnode225816*, transformyield_438140)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(void, unpacktuple_438008)(ttransfcontext436011* c, tnode225816* n, tnode225816* father);
N_NIMCALL(tnode225816*, newtupleaccess_424027)(tnode225816* tup, NI i);
N_NIMCALL(tnode225816*, introducenewlocalvars_438061)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(tnode225816*, transformblock_437658)(ttransfcontext436011* c, tnode225816* n);
N_NIMCALL(tnode225816*, getconstexpr_304004)(tsym225846* m, tnode225816* n);
static N_INLINE(NIM_BOOL, dontinlineconstant_440608)(tnode225816* orig, tnode225816* cnst);
N_NIMCALL(tnode225816*, commonoptimizations_440642)(tsym225846* c, tnode225816* n);
N_NIMCALL(void, add_226498)(tnode225816* father, tnode225816* son);
N_NIMCALL(tnode225816*, liftlambdas_434871)(tsym225846* fn, tnode225816* body);
N_NIMCALL(void, trackproc_384148)(tsym225846* s, tnode225816* body);
N_NIMCALL(tnode225816*, liftlambdasfortoplevel_434921)(tsym225846* module, tnode225816* body);
N_NIMCALL(void, tracktoplevelstmt_384410)(tsym225846* module, tnode225816* n);
STRING_LITERAL(TMP3130, "", 0);
STRING_LITERAL(TMP3131, "wrong AST for borrowed symbol", 29);
STRING_LITERAL(TMP3132, "transformFor", 12);
STRING_LITERAL(TMP3133, ":tmp", 4);
STRING_LITERAL(TMP3139, "compiler/transf.nim", 19);
NIM_CONST TY84945 TMP3138 = {((NimStringDesc*) &TMP3139),
494}
;
STRING_LITERAL(TMP3140, "popTransCon", 11);
STRING_LITERAL(TMP3153, "transformConstSection", 21);
STRING_LITERAL(TMP3154, "transformVarSection", 19);
NIM_CONST TY84945 TMP3155 = {((NimStringDesc*) &TMP3139),
141}
;
STRING_LITERAL(TMP3156, "transformVarSection: not nkVarTuple", 35);
extern TNimType NTI286005; /* TPassContext */
TNimType NTI436011; /* TTransfContext */
extern TNimType NTI225814; /* PSym */
TNimType NTI436009; /* TTransCon */
extern TNimType NTI225870; /* TIdNodeTable */
extern TNimType NTI225808; /* PNode */
extern TNimType NTI108; /* int */
TNimType NTI436007; /* PTransCon */
extern TNimType NTI225818; /* TSymSeq */
TNimType NTI436013; /* PTransf */
extern tgcheap47216 gch_47244;
extern TNimType NTI225810; /* TNodeSeq */
extern tnode225816* emptynode_226738;
extern NU8 gcmd_169120;
N_NIMCALL(void, TMP3128)(void* p, NI op) {
	ttranscon436009* a;
	a = (ttranscon436009*)p;
	nimGCvisit((void*)(*a).Mapping.Data, op);
	nimGCvisit((void*)(*a).Owner, op);
	nimGCvisit((void*)(*a).Forstmt, op);
	nimGCvisit((void*)(*a).Forloopbody, op);
	nimGCvisit((void*)(*a).Next, op);
}
N_NIMCALL(void, TMP3129)(void* p, NI op) {
	ttransfcontext436011* a;
	a = (ttransfcontext436011*)p;
	nimGCvisit((void*)(*a).Module, op);
	nimGCvisit((void*)(*a).Transcon, op);
	nimGCvisit((void*)(*a).Contsyms, op);
	nimGCvisit((void*)(*a).Breaksyms, op);
}

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

static N_INLINE(void, rtladdzct_50404)(tcell45133* c) {
	addzct_48817((&gch_47244.Zct), c);
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	tcell45133* c;
	c = usrtocell_48846(p);
	{
		(*c).Refcount -= 8;
		if (!((NU64)((*c).Refcount) < (NU64)(8))) goto LA3;
		rtladdzct_50404(c);
	}
	LA3: ;
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		tcell45133* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_48846(src);
		(*c).Refcount += 8;
	}
	LA3: ;
	{
		tcell45133* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_48846((*dest));
		{
			(*c).Refcount -= 8;
			if (!((NU64)((*c).Refcount) < (NU64)(8))) goto LA11;
			rtladdzct_50404(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

N_NIMCALL(ttransfcontext436011*, opentransf_441306)(tsym225846* module, NimStringDesc* filename) {
	ttransfcontext436011* result;
	result = 0;
	result = (ttransfcontext436011*) newObj((&NTI436013), sizeof(ttransfcontext436011));
	(*result).Sup.Sup.m_type = (&NTI436011);
	if ((*result).Contsyms) nimGCunrefNoCycle((*result).Contsyms);
	(*result).Contsyms = (tsymseq225818*) newSeqRC1((&NTI225818), 0);
	if ((*result).Breaksyms) nimGCunrefNoCycle((*result).Breaksyms);
	(*result).Breaksyms = (tsymseq225818*) newSeqRC1((&NTI225818), 0);
	asgnRefNoCycle((void**) (&(*result).Module), module);
	return result;
}

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

static N_INLINE(void, rtladdcycleroot_49629)(tcell45133* c) {
	{
		if (!!((((NI) ((NI)((*c).Refcount & 3))) == 3))) goto LA3;
		(*c).Refcount = (NI)((NI)((*c).Refcount & -4) | 3);
		incl_45871((&gch_47244.Cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_51225)(tcell45133* c) {
	(*c).Refcount = (NI)((NU64)((*c).Refcount) + (NU64)(8));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_48867(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_49629(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_50804)(tcell45133* c) {
	{
		(*c).Refcount -= 8;
		if (!((NU64)((*c).Refcount) < (NU64)(8))) goto LA3;
		rtladdzct_50404(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_48867(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_49629(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		tcell45133* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_48846(src);
		incref_51225(LOC5);
	}
	LA3: ;
	{
		tcell45133* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_48846((*dest));
		decref_50804(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

N_NIMCALL(void, pushtranscon_436424)(ttransfcontext436011* c, ttranscon436009* t) {
	asgnRef((void**) (&(*t).Next), (*c).Transcon);
	asgnRef((void**) (&(*c).Transcon), t);
}

N_NIMCALL(ttranscon436009*, newtranscon_436200)(tsym225846* owner) {
	ttranscon436009* result;
	result = 0;
	result = (ttranscon436009*) newObj((&NTI436007), sizeof(ttranscon436009));
	initidnodetable_226181((&(*result).Mapping));
	asgnRefNoCycle((void**) (&(*result).Owner), owner);
	return result;
}

N_NIMCALL(tnode225816*, transformsymaux_436588)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	tnode225816* b;
	ttranscon436009* tc;
	result = 0;
	b = 0;
	tc = (*c).Transcon;
	{
		if (!(((*(*n).kindU.S4.Sym).Flags &(1<<((((NU8) 26))&31)))!=0)) goto LA3;
		b = getbody_279269((*n).kindU.S4.Sym);
		{
			if (!!(((*b).Kind == ((NU8) 3)))) goto LA7;
			internalerror_197987((*n).Info, ((NimStringDesc*) &TMP3131));
		}
		LA7: ;
		b = newsymnode_226132((*b).kindU.S4.Sym);
		(*b).Info = (*n).Info;
	}
	goto LA1;
	LA3: ;
	{
		b = n;
	}
	LA1: ;
	{
		while (1) {
			tidobj200015* LOC12;
			if (!!((tc == NIM_NIL))) goto LA11;
			LOC12 = 0;
			LOC12 = &(*b).kindU.S4.Sym->Sup;
			result = idnodetableget_235212((*tc).Mapping, LOC12);
			{
				if (!!((result == NIM_NIL))) goto LA15;
				goto BeforeRet;
			}
			LA15: ;
			tc = (*tc).Next;
		} LA11: ;
	}
	result = b;
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode225816*, transformsym_436721)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	result = 0;
	result = transformsymaux_436588(c, n);
	return result;
}

static N_INLINE(tnode225816*, newtransnode_436031)(tnode225816* a) {
	tnode225816* result;
	result = 0;
	result = shallowcopy_231347(a);
	return result;
}

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

static N_INLINE(void, HEX5BHEX5DHEX3D_436128)(tnode225816* a, NI i, tnode225816* x) {
	tnode225816* n;
	n = a;
	asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[i]), x);
}

N_NIMCALL(tnode225816*, transformarrayaccess_439919)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = ((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 3));
		if (!(LOC3)) goto LA4;
		LOC3 = ((*(*(*n).kindU.S6.Sons->data[0]).kindU.S4.Sym).Kind == ((NU8) 7));
		LA4: ;
		if (!LOC3) goto LA5;
		result = n;
	}
	goto LA1;
	LA5: ;
	{
		result = newtransnode_436031(n);
		{
			NI i_440005;
			NI HEX3Atmp_440021;
			NI LOC9;
			NI res_440024;
			i_440005 = 0;
			HEX3Atmp_440021 = 0;
			LOC9 = 0;
			LOC9 = len_226364(n);
			HEX3Atmp_440021 = (LOC9 - 1);
			res_440024 = 0;
			{
				while (1) {
					tnode225816* LOC12;
					tnode225816* LOC13;
					if (!(res_440024 <= HEX3Atmp_440021)) goto LA11;
					i_440005 = res_440024;
					LOC12 = 0;
					LOC12 = skipconv_273732((*n).kindU.S6.Sons->data[i_440005]);
					LOC13 = 0;
					LOC13 = transform_436516(c, LOC12);
					HEX5BHEX5DHEX3D_436128(result, i_440005, LOC13);
					res_440024 += 1;
				} LA11: ;
			}
		}
	}
	LA1: ;
	return result;
}

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

N_NIMCALL(tsym225846*, getcurrowner_436460)(ttransfcontext436011* c) {
	tsym225846* result;
	result = 0;
	{
		if (!!(((*c).Transcon == NIM_NIL))) goto LA3;
		result = (*(*c).Transcon).Owner;
	}
	goto LA1;
	LA3: ;
	{
		result = (*c).Module;
	}
	LA1: ;
	return result;
}

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

N_NIMCALL(tsym225846*, newlabel_437426)(ttransfcontext436011* c, tnode225816* n) {
	tsym225846* result;
	tsym225846* LOC1;
	NimStringDesc* LOC2;
	NimStringDesc* LOC3;
	result = 0;
	LOC1 = 0;
	LOC1 = getcurrowner_436460(c);
	result = newsym_226074(((NU8) 22), NIM_NIL, LOC1, (*n).Info);
	LOC2 = 0;
	LOC3 = 0;
	LOC3 = nimIntToStr((*result).Sup.Id);
	LOC2 = rawNewString(LOC3->Sup.len + 4);
appendString(LOC2, ((NimStringDesc*) &TMP3133));
appendString(LOC2, LOC3);
	asgnRefNoCycle((void**) (&(*result).Name), getident_200472(LOC2));
	return result;
}

static N_INLINE(tnode225816*, newtransnode_436042)(NU8 kind, tlineinfo195539 info, NI sons) {
	tnode225816* result;
	tnode225816* x;
	result = 0;
	x = newnodei_226138(kind, info);
	if ((*x).kindU.S6.Sons) nimGCunrefNoCycle((*x).kindU.S6.Sons);
	(*x).kindU.S6.Sons = (tnodeseq225810*) newSeqRC1((&NTI225810), sons);
	result = x;
	return result;
}

N_NIMCALL(NIM_BOOL, hascontinue_437374)(tnode225816* n) {
	NIM_BOOL result;
	result = 0;
	switch ((*n).Kind) {
	case ((NU8) 1) ... ((NU8) 23):
	case ((NU8) 94):
	case ((NU8) 95):
	case ((NU8) 96):
	{
	}
	break;
	case ((NU8) 111):
	{
		result = NIM_TRUE;
	}
	break;
	default:
	{
		{
			NI i_437390;
			NI HEX3Atmp_437406;
			NI LOC5;
			NI res_437409;
			i_437390 = 0;
			HEX3Atmp_437406 = 0;
			LOC5 = 0;
			LOC5 = sonslen_226249(n);
			HEX3Atmp_437406 = (NI64)(LOC5 - 1);
			res_437409 = 0;
			{
				while (1) {
					if (!(res_437409 <= HEX3Atmp_437406)) goto LA7;
					i_437390 = res_437409;
					{
						NIM_BOOL LOC10;
						LOC10 = 0;
						LOC10 = hascontinue_437374((*n).kindU.S6.Sons->data[i_437390]);
						if (!LOC10) goto LA11;
						result = NIM_TRUE;
						goto BeforeRet;
					}
					LA11: ;
					res_437409 += 1;
				} LA7: ;
			}
		}
	}
	break;
	}
	BeforeRet: ;
	return result;
}

static N_INLINE(tsym225846*, pop_437736)(tsymseq225818** s_437744) {
	tsym225846* result;
	NI l;
	result = 0;
	l = (NI64)((*s_437744)->Sup.len - 1);
	result = (*s_437744)->data[l];
	(*s_437744) = (tsymseq225818*) setLengthSeq(&((*s_437744))->Sup, sizeof(tsym225846*), l);
	return result;
}

N_NIMCALL(tnode225816*, transformloopbody_437787)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	result = 0;
	{
		NIM_BOOL LOC3;
		tsym225846* labl;
		tnode225816* LOC6;
		tnode225816* LOC7;
		tsym225846* LOC8;
		LOC3 = 0;
		LOC3 = hascontinue_437374(n);
		if (!LOC3) goto LA4;
		labl = newlabel_437426(c, n);
		(*c).Contsyms = (tsymseq225818*) incrSeq(&((*c).Contsyms)->Sup, sizeof(tsym225846*));
		asgnRefNoCycle((void**) (&(*c).Contsyms->data[(*c).Contsyms->Sup.len-1]), labl);
		result = newtransnode_436042(((NU8) 112), (*n).Info, 2);
		LOC6 = 0;
		LOC6 = newsymnode_226132(labl);
		HEX5BHEX5DHEX3D_436128(result, 0, LOC6);
		LOC7 = 0;
		LOC7 = transform_436516(c, n);
		HEX5BHEX5DHEX3D_436128(result, 1, LOC7);
		LOC8 = 0;
		LOC8 = pop_437736((&(*c).Contsyms));
	}
	goto LA1;
	LA4: ;
	{
		result = transform_436516(c, n);
	}
	LA1: ;
	return result;
}

static N_INLINE(void, add_436180)(tnode225816* a, tnode225816* b) {
	addson_226287(a, b);
}

N_NIMCALL(NU8, putarginto_438895)(tnode225816* arg, ttype225852* formal) {
	NU8 result;
	result = 0;
	{
		ttype225852* LOC3;
		LOC3 = 0;
		LOC3 = skiptypes_230245(formal, IL64(211106232576256));
		if (!((IL64(281475110928384) &(IL64(1)<<(((*LOC3).Kind)&IL64(63))))!=0)) goto LA4;
		result = ((NU8) 0);
		goto BeforeRet;
	}
	LA4: ;
	switch ((*arg).Kind) {
	case ((NU8) 1) ... ((NU8) 23):
	{
		result = ((NU8) 0);
	}
	break;
	case ((NU8) 37):
	case ((NU8) 39):
	case ((NU8) 41):
	{
		result = ((NU8) 1);
		{
			NI i_438926;
			NI HEX3Atmp_438960;
			NI LOC9;
			NI res_438963;
			i_438926 = 0;
			HEX3Atmp_438960 = 0;
			LOC9 = 0;
			LOC9 = sonslen_226249(arg);
			HEX3Atmp_438960 = (NI64)(LOC9 - 1);
			res_438963 = 0;
			{
				while (1) {
					if (!(res_438963 <= HEX3Atmp_438960)) goto LA11;
					i_438926 = res_438963;
					{
						NU8 LOC14;
						LOC14 = 0;
						LOC14 = putarginto_438895((*arg).kindU.S6.Sons->data[i_438926], formal);
						if (!!((LOC14 == ((NU8) 0)))) goto LA15;
						goto BeforeRet;
					}
					LA15: ;
					res_438963 += 1;
				} LA11: ;
			}
		}
		result = ((NU8) 0);
	}
	break;
	default:
	{
		{
			ttype225852* LOC20;
			LOC20 = 0;
			LOC20 = skiptypes_230245(formal, IL64(211106232576256));
			if (!((*LOC20).Kind == ((NU8) 23))) goto LA21;
			result = ((NU8) 2);
		}
		goto LA18;
		LA21: ;
		{
			result = ((NU8) 1);
		}
		LA18: ;
	}
	break;
	}
	BeforeRet: ;
	return result;
}

N_NIMCALL(tsym225846*, newtemp_436487)(ttransfcontext436011* c, ttype225852* typ, tlineinfo195539 info) {
	tsym225846* result;
	tident200021* LOC1;
	tsym225846* LOC2;
	result = 0;
	LOC1 = 0;
	LOC1 = getident_200472(((NimStringDesc*) &TMP3133));
	LOC2 = 0;
	LOC2 = getcurrowner_436460(c);
	result = newsym_226074(((NU8) 5), LOC1, LOC2, info);
	asgnRefNoCycle((void**) (&(*result).Typ), skiptypes_230245(typ, 2048));
	(*result).Flags |= ((NI32)1)<<((((NU8) 2))%(sizeof(NI32)*8));
	return result;
}

N_NIMCALL(tnode225816*, newasgnstmt_436576)(ttransfcontext436011* c, tnode225816* le, tnode225816* ri) {
	tnode225816* result;
	result = 0;
	result = newtransnode_436042(((NU8) 74), (*ri).Info, 2);
	HEX5BHEX5DHEX3D_436128(result, 0, le);
	HEX5BHEX5DHEX3D_436128(result, 1, ri);
	return result;
}

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

static N_INLINE(NI, safelen_226424)(tnode225816* n) {
	NI result;
	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = ((*n).Kind >= ((NU8) 0) && (*n).Kind <= ((NU8) 23));
		if (LOC3) goto LA4;
		LOC3 = (*n).kindU.S6.Sons == 0;
		LA4: ;
		if (!LOC3) goto LA5;
		result = 0;
	}
	goto LA1;
	LA5: ;
	{
		result = (*n).kindU.S6.Sons->Sup.len;
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, freshlabels_437437)(ttransfcontext436011* c, tnode225816* n, tidtable225864* symmap) {
	{
		if (!((*n).Kind == ((NU8) 112) || (*n).Kind == ((NU8) 127))) goto LA3;
		{
			tsym225846* x;
			tnode225816* LOC9;
			tnode225816* LOC10;
			tidobj200015* LOC11;
			TNimObject* LOC12;
			if (!((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 3))) goto LA7;
			LOC9 = 0;
			LOC9 = HEX5BHEX5D_226698(n, 0);
			x = newlabel_437426(c, LOC9);
			LOC10 = 0;
			LOC10 = HEX5BHEX5D_226698(n, 0);
			LOC11 = 0;
			LOC11 = &(*LOC10).kindU.S4.Sym->Sup;
			LOC12 = 0;
			LOC12 = &x->Sup.Sup;
			idtableput_235196(symmap, LOC11, LOC12);
			asgnRefNoCycle((void**) (&(*(*n).kindU.S6.Sons->data[0]).kindU.S4.Sym), x);
		}
		LA7: ;
	}
	LA3: ;
	{
		NIM_BOOL LOC15;
		tsym225846* x;
		tidobj200015* LOC19;
		TNimObject* LOC20;
		LOC15 = 0;
		LOC15 = ((*n).Kind == ((NU8) 3));
		if (!(LOC15)) goto LA16;
		LOC15 = ((*(*n).kindU.S4.Sym).Kind == ((NU8) 22));
		LA16: ;
		if (!LOC15) goto LA17;
		LOC19 = 0;
		LOC19 = &(*n).kindU.S4.Sym->Sup;
		LOC20 = 0;
		LOC20 = idtableget_235182((*symmap), LOC19);
		x = ((tsym225846*) (LOC20));
		{
			if (!!((x == NIM_NIL))) goto LA23;
			asgnRefNoCycle((void**) (&(*n).kindU.S4.Sym), x);
		}
		LA23: ;
	}
	goto LA13;
	LA17: ;
	{
		{
			NI i_437622;
			NI HEX3Atmp_437638;
			NI LOC27;
			NI res_437641;
			i_437622 = 0;
			HEX3Atmp_437638 = 0;
			LOC27 = 0;
			LOC27 = safelen_226424(n);
			HEX3Atmp_437638 = (LOC27 - 1);
			res_437641 = 0;
			{
				while (1) {
					if (!(res_437641 <= HEX3Atmp_437638)) goto LA29;
					i_437622 = res_437641;
					freshlabels_437437(c, (*n).kindU.S6.Sons->data[i_437622], symmap);
					res_437641 += 1;
				} LA29: ;
			}
		}
	}
	LA13: ;
}

N_NIMCALL(void, poptranscon_436434)(ttransfcontext436011* c) {
	{
		if (!((*c).Transcon == NIM_NIL)) goto LA3;
		internalerror_198006(((NimStringDesc*) &TMP3140));
	}
	LA3: ;
	asgnRef((void**) (&(*c).Transcon), (*(*c).Transcon).Next);
}

N_NIMCALL(tnode225816*, transformfor_439146)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	NI length;
	tnode225816* call;
	tsym225846* labl;
	tnode225816* LOC5;
	tnode225816* stmtlist;
	tnode225816* loopbody;
	tsym225846* LOC18;
	tnode225816* v;
	tsym225846* iter;
	ttranscon436009* newc;
	tsym225846* LOC23;
	tnode225816* body;
	tnode225816* LOC50;
	tidtable225864 symmap;
	tnode225816* LOC51;
	result = 0;
	{
		if (!!(((*n).Kind == ((NU8) 94)))) goto LA3;
		internalerror_197987((*n).Info, ((NimStringDesc*) &TMP3132));
	}
	LA3: ;
	length = sonslen_226249(n);
	call = (*n).kindU.S6.Sons->data[(NI64)(length - 2)];
	labl = newlabel_437426(c, n);
	(*c).Breaksyms = (tsymseq225818*) incrSeq(&((*c).Breaksyms)->Sup, sizeof(tsym225846*));
	asgnRefNoCycle((void**) (&(*c).Breaksyms->data[(*c).Breaksyms->Sup.len-1]), labl);
	result = newtransnode_436042(((NU8) 112), (*n).Info, 2);
	LOC5 = 0;
	LOC5 = newsymnode_226132(labl);
	HEX5BHEX5DHEX3D_436128(result, 0, LOC5);
	{
		NIM_BOOL LOC8;
		NIM_BOOL LOC10;
		NIM_BOOL LOC11;
		tnode225816* LOC16;
		tsym225846* LOC17;
		LOC8 = 0;
		LOC8 = !(((*(*call).Typ).Kind == ((NU8) 49)));
		if (!(LOC8)) goto LA9;
		LOC10 = 0;
		LOC11 = 0;
		LOC11 = !(((*call).Kind == ((NU8) 27) || (*call).Kind == ((NU8) 29) || (*call).Kind == ((NU8) 30) || (*call).Kind == ((NU8) 31) || (*call).Kind == ((NU8) 26) || (*call).Kind == ((NU8) 28) || (*call).Kind == ((NU8) 32)));
		if (LOC11) goto LA12;
		LOC11 = !(((*(*call).kindU.S6.Sons->data[0]).Kind == ((NU8) 3)));
		LA12: ;
		LOC10 = LOC11;
		if (LOC10) goto LA13;
		LOC10 = !(((*(*(*call).kindU.S6.Sons->data[0]).kindU.S4.Sym).Kind == ((NU8) 14)));
		LA13: ;
		LOC8 = LOC10;
		LA9: ;
		if (!LOC8) goto LA14;
		asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[(NI64)(length - 1)]), transformloopbody_437787(c, (*n).kindU.S6.Sons->data[(NI64)(length - 1)]));
		LOC16 = 0;
		LOC16 = liftforloop_434953(n);
		HEX5BHEX5DHEX3D_436128(result, 1, LOC16);
		LOC17 = 0;
		LOC17 = pop_437736((&(*c).Breaksyms));
		goto BeforeRet;
	}
	LA14: ;
	stmtlist = newtransnode_436042(((NU8) 115), (*n).Info, 0);
	loopbody = transformloopbody_437787(c, (*n).kindU.S6.Sons->data[(NI64)(length - 1)]);
	HEX5BHEX5DHEX3D_436128(result, 1, stmtlist);
	LOC18 = 0;
	LOC18 = pop_437736((&(*c).Breaksyms));
	v = newnodei_226138(((NU8) 99), (*n).Info);
	{
		NI i_439366;
		NI HEX3Atmp_439631;
		NI res_439634;
		i_439366 = 0;
		HEX3Atmp_439631 = 0;
		HEX3Atmp_439631 = (NI64)(length - 3);
		res_439634 = 0;
		{
			while (1) {
				tnode225816* LOC22;
				if (!(res_439634 <= HEX3Atmp_439631)) goto LA21;
				i_439366 = res_439634;
				LOC22 = 0;
				LOC22 = copytree_226329((*n).kindU.S6.Sons->data[i_439366]);
				addvar_424053(v, LOC22);
				res_439634 += 1;
			} LA21: ;
		}
	}
	add_436180(stmtlist, v);
	iter = (*(*call).kindU.S6.Sons->data[0]).kindU.S4.Sym;
	LOC23 = 0;
	LOC23 = getcurrowner_436460(c);
	newc = newtranscon_436200(LOC23);
	asgnRefNoCycle((void**) (&(*newc).Forstmt), n);
	asgnRefNoCycle((void**) (&(*newc).Forloopbody), loopbody);
	{
		NimStringDesc* LOC28;
		if (!!(((*iter).Kind == ((NU8) 14)))) goto LA26;
		LOC28 = 0;
		LOC28 = HEX24_198126(TMP3138);
		internalerror_198006(LOC28);
	}
	LA26: ;
	pushtranscon_436424(c, newc);
	{
		NI i_439448;
		NI HEX3Atmp_439638;
		NI LOC30;
		NI res_439641;
		i_439448 = 0;
		HEX3Atmp_439638 = 0;
		LOC30 = 0;
		LOC30 = sonslen_226249(call);
		HEX3Atmp_439638 = (NI64)(LOC30 - 1);
		res_439641 = 1;
		{
			while (1) {
				if (!(res_439641 <= HEX3Atmp_439638)) goto LA32;
				i_439448 = res_439641;
				{
					tnode225816* arg;
					tsym225846* formal;
					ttype225852* LOC34;
					NU8 LOC39;
					arg = transform_436516(c, (*call).kindU.S6.Sons->data[i_439448]);
					LOC34 = 0;
					LOC34 = skiptypes_230245((*iter).Typ, IL64(211106232576256));
					formal = (*(*(*LOC34).N).kindU.S6.Sons->data[i_439448]).kindU.S4.Sym;
					{
						if (!((*(*arg).Typ).Kind == ((NU8) 49))) goto LA37;
						goto LA33;
					}
					LA37: ;
					LOC39 = 0;
					LOC39 = putarginto_438895(arg, (*formal).Typ);
					switch (LOC39) {
					case ((NU8) 0):
					{
						tidobj200015* LOC41;
						LOC41 = 0;
						LOC41 = &formal->Sup;
						idnodetableput_235219((&(*newc).Mapping), LOC41, arg);
					}
					break;
					case ((NU8) 1):
					{
						tsym225846* temp;
						tnode225816* LOC43;
						tnode225816* LOC44;
						tnode225816* LOC45;
						tidobj200015* LOC46;
						tnode225816* LOC47;
						temp = newtemp_436487(c, (*formal).Typ, (*formal).Info);
						LOC43 = 0;
						LOC43 = newsymnode_226132(temp);
						addvar_424053(v, LOC43);
						LOC44 = 0;
						LOC44 = newsymnode_226132(temp);
						LOC45 = 0;
						LOC45 = newasgnstmt_436576(c, LOC44, arg);
						add_436180(stmtlist, LOC45);
						LOC46 = 0;
						LOC46 = &formal->Sup;
						LOC47 = 0;
						LOC47 = newsymnode_226132(temp);
						idnodetableput_235219((&(*newc).Mapping), LOC46, LOC47);
					}
					break;
					case ((NU8) 2):
					{
						tidobj200015* LOC49;
						LOC49 = 0;
						LOC49 = &formal->Sup;
						idnodetableput_235219((&(*newc).Mapping), LOC49, arg);
					}
					break;
					}
				} LA33: ;
				res_439641 += 1;
			} LA32: ;
		}
	}
	LOC50 = 0;
	LOC50 = getbody_279269(iter);
	body = copytree_226329(LOC50);
	pushinfocontext_196930((*n).Info);
	memset((void*)(&symmap), 0, sizeof(symmap));
	initidtable_226167((&symmap));
	freshlabels_437437(c, body, (&symmap));
	(*c).Inlining += 1;
	LOC51 = 0;
	LOC51 = transform_436516(c, body);
	add_436180(stmtlist, LOC51);
	(*c).Inlining -= 1;
	popinfocontext_196957();
	poptranscon_436434(c);
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode225816*, transformsons_436523)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	result = 0;
	result = newtransnode_436031(n);
	{
		NI i_436540;
		NI HEX3Atmp_436556;
		NI LOC2;
		NI res_436559;
		i_436540 = 0;
		HEX3Atmp_436556 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226249(n);
		HEX3Atmp_436556 = (NI64)(LOC2 - 1);
		res_436559 = 0;
		{
			while (1) {
				tnode225816* LOC5;
				if (!(res_436559 <= HEX3Atmp_436556)) goto LA4;
				i_436540 = res_436559;
				LOC5 = 0;
				LOC5 = transform_436516(c, (*n).kindU.S6.Sons->data[i_436540]);
				HEX5BHEX5DHEX3D_436128(result, i_436540, LOC5);
				res_436559 += 1;
			} LA4: ;
		}
	}
	return result;
}

static N_INLINE(tnode225816*, newtransnode_436085)(NU8 kind, tnode225816* n, NI sons) {
	tnode225816* result;
	tnode225816* x;
	result = 0;
	x = newnodeit_226145(kind, (*n).Info, (*n).Typ);
	if ((*x).kindU.S6.Sons) nimGCunrefNoCycle((*x).kindU.S6.Sons);
	(*x).kindU.S6.Sons = (tnodeseq225810*) newSeqRC1((&NTI225810), sons);
	asgnRefNoCycle((void**) (&(*x).Typ), (*n).Typ);
	result = x;
	return result;
}

static N_INLINE(tnode225816*, lastson_226261)(tnode225816* n) {
	tnode225816* result;
	NI LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = sonslen_226249(n);
	result = (*n).kindU.S6.Sons->data[(NI64)(LOC1 - 1)];
	return result;
}

N_NIMCALL(tnode225816*, transformcase_439774)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	tnode225816* ifs;
	result = 0;
	result = newtransnode_436085(((NU8) 97), n, 0);
	ifs = NIM_NIL;
	{
		NI i_439790;
		NI HEX3Atmp_439899;
		NI LOC2;
		NI res_439902;
		i_439790 = 0;
		HEX3Atmp_439899 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226249(n);
		HEX3Atmp_439899 = (NI64)(LOC2 - 1);
		res_439902 = 0;
		{
			while (1) {
				tnode225816* it;
				tnode225816* e;
				if (!(res_439902 <= HEX3Atmp_439899)) goto LA4;
				i_439790 = res_439902;
				it = (*n).kindU.S6.Sons->data[i_439790];
				e = transform_436516(c, it);
				switch ((*it).Kind) {
				case ((NU8) 86):
				{
					{
						if (!(ifs == NIM_NIL)) goto LA8;
						ifs = newtransnode_436042(((NU8) 92), (*it).Info, 0);
					}
					LA8: ;
					add_436180(ifs, e);
				}
				break;
				case ((NU8) 88):
				{
					{
						if (!(ifs == NIM_NIL)) goto LA13;
						add_436180(result, e);
					}
					goto LA11;
					LA13: ;
					{
						add_436180(ifs, e);
					}
					LA11: ;
				}
				break;
				default:
				{
					add_436180(result, e);
				}
				break;
				}
				res_439902 += 1;
			} LA4: ;
		}
	}
	{
		tnode225816* elsebranch;
		if (!!((ifs == NIM_NIL))) goto LA19;
		elsebranch = newtransnode_436042(((NU8) 88), (*n).Info, 1);
		HEX5BHEX5DHEX3D_436128(elsebranch, 0, ifs);
		add_436180(result, elsebranch);
	}
	goto LA17;
	LA19: ;
	{
		NIM_BOOL LOC22;
		tnode225816* LOC23;
		ttype225852* LOC25;
		tnode225816* elsebranch;
		tnode225816* LOC28;
		LOC22 = 0;
		LOC23 = 0;
		LOC23 = lastson_226261(result);
		LOC22 = !(((*LOC23).Kind == ((NU8) 88)));
		if (!(LOC22)) goto LA24;
		LOC25 = 0;
		LOC25 = skiptypes_230245((*(*n).kindU.S6.Sons->data[0]).Typ, IL64(211106242013440));
		LOC22 = !(((IL64(16559246426116) &(IL64(1)<<(((*LOC25).Kind)&IL64(63))))!=0));
		LA24: ;
		if (!LOC22) goto LA26;
		elsebranch = newtransnode_436042(((NU8) 88), (*n).Info, 1);
		LOC28 = 0;
		LOC28 = newtransnode_436042(((NU8) 23), (*n).Info, 0);
		HEX5BHEX5DHEX3D_436128(elsebranch, 0, LOC28);
		add_436180(result, elsebranch);
	}
	goto LA17;
	LA26: ;
	LA17: ;
	return result;
}

N_NIMCALL(tnode225816*, transformbreak_437957)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = !(((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 1)));
		if (LOC3) goto LA4;
		LOC3 = (0 < (*c).Inlining);
		LA4: ;
		if (!LOC3) goto LA5;
		result = n;
	}
	goto LA1;
	LA5: ;
	{
		tsym225846* labl;
		tnode225816* LOC8;
		labl = (*c).Breaksyms->data[((*c).Breaksyms->Sup.len-1)];
		result = transformsons_436523(c, n);
		LOC8 = 0;
		LOC8 = newsymnode_226132(labl);
		HEX5BHEX5DHEX3D_436128(result, 0, LOC8);
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode225816*, transformwhile_437833)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	result = 0;
	{
		if (!(0 < (*c).Inlining)) goto LA3;
		result = transformsons_436523(c, n);
	}
	goto LA1;
	LA3: ;
	{
		tsym225846* labl;
		tnode225816* LOC6;
		tnode225816* body;
		NI LOC12;
		NI LOC13;
		tnode225816* LOC14;
		tsym225846* LOC15;
		labl = newlabel_437426(c, n);
		(*c).Breaksyms = (tsymseq225818*) incrSeq(&((*c).Breaksyms)->Sup, sizeof(tsym225846*));
		asgnRefNoCycle((void**) (&(*c).Breaksyms->data[(*c).Breaksyms->Sup.len-1]), labl);
		result = newtransnode_436042(((NU8) 112), (*n).Info, 2);
		LOC6 = 0;
		LOC6 = newsymnode_226132(labl);
		HEX5BHEX5DHEX3D_436128(result, 0, LOC6);
		body = newtransnode_436031(n);
		{
			NI i_437869;
			NI HEX3Atmp_437937;
			NI LOC8;
			NI res_437940;
			i_437869 = 0;
			HEX3Atmp_437937 = 0;
			LOC8 = 0;
			LOC8 = len_226364(n);
			HEX3Atmp_437937 = (NI64)(LOC8 - 2);
			res_437940 = 0;
			{
				while (1) {
					tnode225816* LOC11;
					if (!(res_437940 <= HEX3Atmp_437937)) goto LA10;
					i_437869 = res_437940;
					LOC11 = 0;
					LOC11 = transform_436516(c, (*n).kindU.S6.Sons->data[i_437869]);
					HEX5BHEX5DHEX3D_436128(body, i_437869, LOC11);
					res_437940 += 1;
				} LA10: ;
			}
		}
		LOC12 = 0;
		LOC12 = len_226364(n);
		LOC13 = 0;
		LOC13 = len_226364(n);
		LOC14 = 0;
		LOC14 = transformloopbody_437787(c, (*n).kindU.S6.Sons->data[(LOC13 - 1)]);
		HEX5BHEX5DHEX3D_436128(body, (LOC12 - 1), LOC14);
		HEX5BHEX5DHEX3D_436128(result, 1, body);
		LOC15 = 0;
		LOC15 = pop_437736((&(*c).Breaksyms));
	}
	LA1: ;
	return result;
}

N_NIMCALL(tsym225846*, getmergeop_440041)(tnode225816* n) {
	tsym225846* result;
	result = 0;
	switch ((*n).Kind) {
	case ((NU8) 27):
	case ((NU8) 32):
	case ((NU8) 26):
	case ((NU8) 29):
	case ((NU8) 30):
	case ((NU8) 31):
	case ((NU8) 28):
	{
		{
			NIM_BOOL LOC4;
			NIM_BOOL LOC5;
			LOC4 = 0;
			LOC5 = 0;
			LOC5 = ((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 3));
			if (!(LOC5)) goto LA6;
			LOC5 = ((*(*(*n).kindU.S6.Sons->data[0]).kindU.S4.Sym).Kind == ((NU8) 12));
			LA6: ;
			LOC4 = LOC5;
			if (!(LOC4)) goto LA7;
			LOC4 = (((*(*(*n).kindU.S6.Sons->data[0]).kindU.S4.Sym).Flags &(1<<((((NU8) 24))&31)))!=0);
			LA7: ;
			if (!LOC4) goto LA8;
			result = (*(*n).kindU.S6.Sons->data[0]).kindU.S4.Sym;
		}
		LA8: ;
	}
	break;
	default:
	{
	}
	break;
	}
	return result;
}

N_NIMCALL(void, flattentreeaux_440180)(tnode225816* d, tnode225816* a, tsym225846* op) {
	tsym225846* op2;
	op2 = getmergeop_440041(a);
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC5;
		NIM_BOOL LOC7;
		LOC3 = 0;
		LOC3 = !((op2 == NIM_NIL));
		if (!(LOC3)) goto LA4;
		LOC5 = 0;
		LOC5 = ((*op2).Sup.Id == (*op).Sup.Id);
		if (LOC5) goto LA6;
		LOC7 = 0;
		LOC7 = !(((*op).Magic == ((NU16) 0)));
		if (!(LOC7)) goto LA8;
		LOC7 = ((*op2).Magic == (*op).Magic);
		LA8: ;
		LOC5 = LOC7;
		LA6: ;
		LOC3 = LOC5;
		LA4: ;
		if (!LOC3) goto LA9;
		{
			NI i_440233;
			NI HEX3Atmp_440249;
			NI LOC12;
			NI res_440252;
			i_440233 = 0;
			HEX3Atmp_440249 = 0;
			LOC12 = 0;
			LOC12 = sonslen_226249(a);
			HEX3Atmp_440249 = (NI64)(LOC12 - 1);
			res_440252 = 1;
			{
				while (1) {
					if (!(res_440252 <= HEX3Atmp_440249)) goto LA14;
					i_440233 = res_440252;
					flattentreeaux_440180(d, (*a).kindU.S6.Sons->data[i_440233], op);
					res_440252 += 1;
				} LA14: ;
			}
		}
	}
	goto LA1;
	LA9: ;
	{
		tnode225816* LOC16;
		LOC16 = 0;
		LOC16 = copytree_226329(a);
		addson_226287(d, LOC16);
	}
	LA1: ;
}

N_NIMCALL(tnode225816*, flattentree_440269)(tnode225816* root) {
	tnode225816* result;
	tsym225846* op;
	result = 0;
	op = getmergeop_440041(root);
	{
		tnode225816* LOC5;
		if (!!((op == NIM_NIL))) goto LA3;
		result = copynode_226323(root);
		LOC5 = 0;
		LOC5 = copytree_226329((*root).kindU.S6.Sons->data[0]);
		addson_226287(result, LOC5);
		flattentreeaux_440180(result, root, op);
	}
	goto LA1;
	LA3: ;
	{
		result = root;
	}
	LA1: ;
	return result;
}

static N_INLINE(NI, len_436190)(tnode225816* a) {
	NI result;
	result = 0;
	result = sonslen_226249(a);
	return result;
}

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

N_NIMCALL(tnode225816*, transformcall_440311)(ttransfcontext436011* c, tnode225816* n_440314) {
	tnode225816* result;
	tnode225816* n;
	tsym225846* op;
	NU16 magic;
	result = 0;
	n = flattentree_440269(n_440314);
	op = getmergeop_440041(n);
	magic = getmagic_261845(n);
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		NI LOC7;
		tnode225816* LOC10;
		NI j;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = !((op == NIM_NIL));
		if (!(LOC4)) goto LA5;
		LOC4 = !(((*op).Magic == ((NU16) 0)));
		LA5: ;
		LOC3 = LOC4;
		if (!(LOC3)) goto LA6;
		LOC7 = 0;
		LOC7 = len_226364(n);
		LOC3 = (3 <= LOC7);
		LA6: ;
		if (!LOC3) goto LA8;
		result = newtransnode_436085(((NU8) 27), n, 0);
		LOC10 = 0;
		LOC10 = transform_436516(c, (*n).kindU.S6.Sons->data[0]);
		add_436180(result, LOC10);
		j = 1;
		{
			while (1) {
				NI LOC13;
				tnode225816* a;
				LOC13 = 0;
				LOC13 = sonslen_226249(n);
				if (!(j < LOC13)) goto LA12;
				a = transform_436516(c, (*n).kindU.S6.Sons->data[j]);
				j += 1;
				{
					NIM_BOOL LOC16;
					LOC16 = 0;
					LOC16 = isconstexpr_261921(a);
					if (!LOC16) goto LA17;
					{
						while (1) {
							NI LOC21;
							tnode225816* b;
							LOC21 = 0;
							LOC21 = sonslen_226249(n);
							if (!(j < LOC21)) goto LA20;
							b = transform_436516(c, (*n).kindU.S6.Sons->data[j]);
							{
								NIM_BOOL LOC24;
								LOC24 = 0;
								LOC24 = isconstexpr_261921(b);
								if (!!(LOC24)) goto LA25;
								goto LA19;
							}
							LA25: ;
							a = evalop_304011((*op).Magic, n, a, b, NIM_NIL);
							j += 1;
						} LA20: ;
					} LA19: ;
				}
				LA17: ;
				add_436180(result, a);
			} LA12: ;
		}
		{
			NI LOC29;
			LOC29 = 0;
			LOC29 = len_436190(result);
			if (!(LOC29 == 2)) goto LA30;
			result = HEX5BHEX5D_436154(result, 1);
		}
		LA30: ;
	}
	goto LA1;
	LA8: ;
	{
		if (!(magic == ((NU16) 253))) goto LA33;
		result = n;
	}
	goto LA1;
	LA33: ;
	{
		tnode225816* LOC38;
		if (!(magic == ((NU16) 218))) goto LA36;
		LOC38 = 0;
		LOC38 = HEX5BHEX5D_226698(n, 1);
		result = transformsons_436523(c, LOC38);
	}
	goto LA1;
	LA36: ;
	{
		tnode225816* s;
		s = transformsons_436523(c, n);
		{
			NIM_BOOL LOC42;
			tnode225816* t;
			LOC42 = 0;
			LOC42 = ((*(*s).kindU.S6.Sons->data[0]).Kind == ((NU8) 3));
			if (!(LOC42)) goto LA43;
			LOC42 = ((*(*(*s).kindU.S6.Sons->data[0]).kindU.S4.Sym).Kind == ((NU8) 13));
			LA43: ;
			if (!LOC42) goto LA44;
			t = lastson_226261((*(*(*s).kindU.S6.Sons->data[0]).kindU.S4.Sym).Ast);
			{
				NIM_BOOL LOC48;
				LOC48 = 0;
				LOC48 = !(((*t).Kind == ((NU8) 3)));
				if (LOC48) goto LA49;
				LOC48 = !((((*(*t).kindU.S4.Sym).Flags &(1<<((((NU8) 25))&31)))!=0));
				LA49: ;
				if (!LOC48) goto LA50;
				methoddef_422824((*(*s).kindU.S6.Sons->data[0]).kindU.S4.Sym, NIM_FALSE);
			}
			LA50: ;
			result = methodcall_422056(s);
		}
		goto LA40;
		LA44: ;
		{
			result = s;
		}
		LA40: ;
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode225816*, transformaddrderef_438268)(ttransfcontext436011* c, tnode225816* n_438271, NU8 a, NU8 b) {
	tnode225816* result;
	tnode225816* n;
	result = 0;
	result = transformsons_436523(c, n_438271);
	n = result;
	switch ((*(*n).kindU.S6.Sons->data[0]).Kind) {
	case ((NU8) 67):
	case ((NU8) 66):
	case ((NU8) 70):
	case ((NU8) 68):
	case ((NU8) 69):
	{
		tnode225816* m;
		m = (*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[0];
		{
			NIM_BOOL LOC4;
			LOC4 = 0;
			LOC4 = ((*m).Kind == a);
			if (LOC4) goto LA5;
			LOC4 = ((*m).Kind == b);
			LA5: ;
			if (!LOC4) goto LA6;
			asgnRefNoCycle((void**) (&(*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[0]), (*m).kindU.S6.Sons->data[0]);
			result = (*n).kindU.S6.Sons->data[0];
		}
		LA6: ;
	}
	break;
	case ((NU8) 58):
	case ((NU8) 59):
	case ((NU8) 60):
	{
		tnode225816* m;
		m = (*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[1];
		{
			NIM_BOOL LOC11;
			LOC11 = 0;
			LOC11 = ((*m).Kind == a);
			if (LOC11) goto LA12;
			LOC11 = ((*m).Kind == b);
			LA12: ;
			if (!LOC11) goto LA13;
			asgnRefNoCycle((void**) (&(*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[1]), (*m).kindU.S6.Sons->data[0]);
			result = (*n).kindU.S6.Sons->data[0];
		}
		LA13: ;
	}
	break;
	default:
	{
		{
			NIM_BOOL LOC18;
			LOC18 = 0;
			LOC18 = ((*(*n).kindU.S6.Sons->data[0]).Kind == a);
			if (LOC18) goto LA19;
			LOC18 = ((*(*n).kindU.S6.Sons->data[0]).Kind == b);
			LA19: ;
			if (!LOC18) goto LA20;
			result = (*(*n).kindU.S6.Sons->data[0]).kindU.S6.Sons->data[0];
		}
		LA20: ;
	}
	break;
	}
	return result;
}

N_NIMCALL(tnode225816*, transformconv_438576)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	ttype225852* dest;
	ttype225852* source;
	result = 0;
	dest = skiptypes_230245((*n).Typ, IL64(211106242013440));
	source = skiptypes_230245((*(*n).kindU.S6.Sons->data[1]).Typ, IL64(211106242013440));
	switch ((*dest).Kind) {
	case ((NU8) 31) ... ((NU8) 35):
	case ((NU8) 14):
	case ((NU8) 2):
	case ((NU8) 1):
	case ((NU8) 41) ... ((NU8) 43):
	{
		{
			NIM_BOOL LOC4;
			LOC4 = 0;
			LOC4 = isordinaltype_263092(source);
			if (!!(LOC4)) goto LA5;
			result = transformsons_436523(c, n);
		}
		goto LA2;
		LA5: ;
		{
			NIM_BOOL LOC8;
			NI64 LOC9;
			NI64 LOC10;
			NI64 LOC12;
			NI64 LOC13;
			LOC8 = 0;
			LOC9 = 0;
			LOC9 = firstord_263004((*n).Typ);
			LOC10 = 0;
			LOC10 = firstord_263004((*(*n).kindU.S6.Sons->data[1]).Typ);
			LOC8 = (LOC9 <= LOC10);
			if (!(LOC8)) goto LA11;
			LOC12 = 0;
			LOC12 = lastord_263010((*(*n).kindU.S6.Sons->data[1]).Typ);
			LOC13 = 0;
			LOC13 = lastord_263010((*n).Typ);
			LOC8 = (LOC12 <= LOC13);
			LA11: ;
			if (!LOC8) goto LA14;
			result = transformsons_436523(c, n);
		}
		goto LA2;
		LA14: ;
		{
			tnode225816* LOC24;
			NI64 LOC25;
			tnode225816* LOC26;
			NI64 LOC27;
			tnode225816* LOC28;
			{
				NIM_BOOL LOC19;
				LOC19 = 0;
				LOC19 = ((*dest).Kind == ((NU8) 35));
				if (LOC19) goto LA20;
				LOC19 = ((*source).Kind == ((NU8) 35));
				LA20: ;
				if (!LOC19) goto LA21;
				result = newtransnode_436085(((NU8) 69), n, 3);
			}
			goto LA17;
			LA21: ;
			{
				result = newtransnode_436085(((NU8) 70), n, 3);
			}
			LA17: ;
			dest = skiptypes_230245((*n).Typ, IL64(211106240964864));
			LOC24 = 0;
			LOC24 = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_436128(result, 0, LOC24);
			LOC25 = 0;
			LOC25 = firstord_263004(dest);
			LOC26 = 0;
			LOC26 = newinttypenode_226103(((NU8) 6), LOC25, source);
			HEX5BHEX5DHEX3D_436128(result, 1, LOC26);
			LOC27 = 0;
			LOC27 = lastord_263010(dest);
			LOC28 = 0;
			LOC28 = newinttypenode_226103(((NU8) 6), LOC27, source);
			HEX5BHEX5DHEX3D_436128(result, 2, LOC28);
		}
		LA2: ;
	}
	break;
	case ((NU8) 36) ... ((NU8) 39):
	{
		{
			ttype225852* LOC32;
			tnode225816* LOC35;
			tnode225816* LOC36;
			tnode225816* LOC37;
			LOC32 = 0;
			LOC32 = skiptypes_230245((*n).Typ, IL64(211106240964864));
			if (!((*LOC32).Kind == ((NU8) 20))) goto LA33;
			result = newtransnode_436085(((NU8) 68), n, 3);
			dest = skiptypes_230245((*n).Typ, IL64(211106240964864));
			LOC35 = 0;
			LOC35 = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_436128(result, 0, LOC35);
			LOC36 = 0;
			LOC36 = copytree_226329((*(*dest).N).kindU.S6.Sons->data[0]);
			HEX5BHEX5DHEX3D_436128(result, 1, LOC36);
			LOC37 = 0;
			LOC37 = copytree_226329((*(*dest).N).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_436128(result, 2, LOC37);
		}
		goto LA30;
		LA33: ;
		{
			result = transformsons_436523(c, n);
		}
		LA30: ;
	}
	break;
	case ((NU8) 27):
	case ((NU8) 48):
	{
		result = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
	}
	break;
	case ((NU8) 29):
	{
		{
			tnode225816* LOC45;
			if (!((*source).Kind == ((NU8) 28))) goto LA43;
			result = newtransnode_436085(((NU8) 71), n, 1);
			LOC45 = 0;
			LOC45 = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_436128(result, 0, LOC45);
		}
		goto LA41;
		LA43: ;
		{
			result = transformsons_436523(c, n);
		}
		LA41: ;
	}
	break;
	case ((NU8) 28):
	{
		{
			tnode225816* LOC52;
			if (!((*source).Kind == ((NU8) 29))) goto LA50;
			result = newtransnode_436085(((NU8) 72), n, 1);
			LOC52 = 0;
			LOC52 = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_436128(result, 0, LOC52);
		}
		goto LA48;
		LA50: ;
		{
			result = transformsons_436523(c, n);
		}
		LA48: ;
	}
	break;
	case ((NU8) 22):
	case ((NU8) 21):
	{
		dest = skiptypes_230245(dest, IL64(211106247256320));
		source = skiptypes_230245(source, IL64(211106247256320));
		{
			NI diff;
			if (!((*source).Kind == ((NU8) 17))) goto LA57;
			diff = inheritancediff_270588(dest, source);
			{
				tnode225816* LOC63;
				if (!(diff < 0)) goto LA61;
				result = newtransnode_436085(((NU8) 67), n, 1);
				LOC63 = 0;
				LOC63 = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
				HEX5BHEX5DHEX3D_436128(result, 0, LOC63);
			}
			goto LA59;
			LA61: ;
			{
				tnode225816* LOC67;
				if (!(0 < diff)) goto LA65;
				result = newtransnode_436085(((NU8) 66), n, 1);
				LOC67 = 0;
				LOC67 = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
				HEX5BHEX5DHEX3D_436128(result, 0, LOC67);
			}
			goto LA59;
			LA65: ;
			{
				result = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
			}
			LA59: ;
		}
		goto LA55;
		LA57: ;
		{
			result = transformsons_436523(c, n);
		}
		LA55: ;
	}
	break;
	case ((NU8) 17):
	{
		NI diff;
		diff = inheritancediff_270588(dest, source);
		{
			tnode225816* LOC75;
			if (!(diff < 0)) goto LA73;
			result = newtransnode_436085(((NU8) 67), n, 1);
			LOC75 = 0;
			LOC75 = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_436128(result, 0, LOC75);
		}
		goto LA71;
		LA73: ;
		{
			tnode225816* LOC79;
			if (!(0 < diff)) goto LA77;
			result = newtransnode_436085(((NU8) 66), n, 1);
			LOC79 = 0;
			LOC79 = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_436128(result, 0, LOC79);
		}
		goto LA71;
		LA77: ;
		{
			result = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
		}
		LA71: ;
	}
	break;
	case ((NU8) 12):
	case ((NU8) 15):
	{
		result = transform_436516(c, (*n).kindU.S6.Sons->data[1]);
	}
	break;
	default:
	{
		result = transformsons_436523(c, n);
	}
	break;
	}
	return result;
}

N_NIMCALL(tnode225816*, transformconstsection_437251)(ttransfcontext436011* c, tnode225816* v) {
	tnode225816* result;
	result = 0;
	result = newtransnode_436031(v);
	{
		NI i_437268;
		NI HEX3Atmp_437354;
		NI LOC2;
		NI res_437357;
		i_437268 = 0;
		HEX3Atmp_437354 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226249(v);
		HEX3Atmp_437354 = (NI64)(LOC2 - 1);
		res_437357 = 0;
		{
			while (1) {
				tnode225816* it;
				if (!(res_437357 <= HEX3Atmp_437354)) goto LA4;
				i_437268 = res_437357;
				it = (*v).kindU.S6.Sons->data[i_437268];
				{
					if (!((*it).Kind == ((NU8) 125))) goto LA7;
					HEX5BHEX5DHEX3D_436128(result, i_437268, it);
				}
				goto LA5;
				LA7: ;
				{
					{
						if (!!(((*it).Kind == ((NU8) 102)))) goto LA12;
						internalerror_197987((*it).Info, ((NimStringDesc*) &TMP3153));
					}
					LA12: ;
					{
						if (!!(((*(*it).kindU.S6.Sons->data[0]).Kind == ((NU8) 3)))) goto LA16;
						internalerror_197987((*it).Info, ((NimStringDesc*) &TMP3153));
					}
					LA16: ;
					{
						tnode225816* LOC20;
						tnode225816* b;
						tnode225816* LOC23;
						tnode225816* LOC24;
						tnode225816* LOC25;
						LOC20 = 0;
						LOC20 = HEX5BHEX5D_226698(it, 0);
						if (!(((*(*LOC20).kindU.S4.Sym).Flags &(1<<((((NU8) 25))&31)))!=0)) goto LA21;
						b = newnodei_226138(((NU8) 102), (*it).Info);
						LOC23 = 0;
						LOC23 = HEX5BHEX5D_226698(it, 0);
						addson_226287(b, LOC23);
						addson_226287(b, emptynode_226738);
						LOC24 = 0;
						LOC24 = HEX5BHEX5D_226698(it, 2);
						LOC25 = 0;
						LOC25 = transform_436516(c, LOC24);
						addson_226287(b, LOC25);
						HEX5BHEX5DHEX3D_436128(result, i_437268, b);
					}
					goto LA18;
					LA21: ;
					{
						HEX5BHEX5DHEX3D_436128(result, i_437268, it);
					}
					LA18: ;
				}
				LA5: ;
				res_437357 += 1;
			} LA4: ;
		}
	}
	return result;
}

static N_INLINE(NIM_BOOL, importantcomments_169156)(void) {
	NIM_BOOL result;
	result = 0;
	result = ((16640 &(1<<((gcmd_169120)&31)))!=0);
	return result;
}

N_NIMCALL(tnode225816*, transformvarsection_436732)(ttransfcontext436011* c, tnode225816* v) {
	tnode225816* result;
	result = 0;
	result = newtransnode_436031(v);
	{
		NI i_436749;
		NI HEX3Atmp_437222;
		NI LOC2;
		NI res_437225;
		i_436749 = 0;
		HEX3Atmp_437222 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226249(v);
		HEX3Atmp_437222 = (NI64)(LOC2 - 1);
		res_437225 = 0;
		{
			while (1) {
				tnode225816* it;
				if (!(res_437225 <= HEX3Atmp_437222)) goto LA4;
				i_436749 = res_437225;
				it = (*v).kindU.S6.Sons->data[i_436749];
				{
					if (!((*it).Kind == ((NU8) 125))) goto LA7;
					HEX5BHEX5DHEX3D_436128(result, i_436749, it);
				}
				goto LA5;
				LA7: ;
				{
					tsym225846* newvar;
					tidobj200015* LOC22;
					tnode225816* LOC23;
					tnode225816* defs;
					tnode225816* LOC30;
					tnode225816* LOC31;
					if (!((*it).Kind == ((NU8) 35))) goto LA10;
					{
						if (!!(((*(*it).kindU.S6.Sons->data[0]).Kind == ((NU8) 3)))) goto LA14;
						internalerror_197987((*it).Info, ((NimStringDesc*) &TMP3154));
					}
					LA14: ;
					{
						NI LOC18;
						NimStringDesc* LOC21;
						LOC18 = 0;
						LOC18 = len_226364(it);
						if (!!((LOC18 == 3))) goto LA19;
						LOC21 = 0;
						LOC21 = HEX24_198126(TMP3155);
						internalerror_198006(LOC21);
					}
					LA19: ;
					newvar = copysym_226203((*(*it).kindU.S6.Sons->data[0]).kindU.S4.Sym, NIM_FALSE);
					(*newvar).Flags |= ((NI32)1)<<((((NU8) 2))%(sizeof(NI32)*8));
					asgnRefNoCycle((void**) (&(*newvar).Owner), getcurrowner_436460(c));
					LOC22 = 0;
					LOC22 = &(*(*it).kindU.S6.Sons->data[0]).kindU.S4.Sym->Sup;
					LOC23 = 0;
					LOC23 = newsymnode_226132(newvar);
					idnodetableput_235219((&(*(*c).Transcon).Mapping), LOC22, LOC23);
					defs = newtransnode_436042(((NU8) 35), (*it).Info, 3);
					{
						NIM_BOOL LOC26;
						NimStringDesc* LOC29;
						LOC26 = 0;
						LOC26 = importantcomments_169156();
						if (!LOC26) goto LA27;
						LOC29 = 0;
						LOC29 = (*defs).Comment; (*defs).Comment = copyStringRC1((*it).Comment);
						if (LOC29) nimGCunrefNoCycle(LOC29);
					}
					LA27: ;
					LOC30 = 0;
					LOC30 = newsymnode_226132(newvar);
					HEX5BHEX5DHEX3D_436128(defs, 0, LOC30);
					HEX5BHEX5DHEX3D_436128(defs, 1, (*it).kindU.S6.Sons->data[1]);
					LOC31 = 0;
					LOC31 = transform_436516(c, (*it).kindU.S6.Sons->data[2]);
					HEX5BHEX5DHEX3D_436128(defs, 2, LOC31);
					HEX5BHEX5DHEX3D_436128(result, i_436749, defs);
				}
				goto LA5;
				LA10: ;
				{
					NI l;
					tnode225816* defs;
					tnode225816* LOC43;
					{
						if (!!(((*it).Kind == ((NU8) 36)))) goto LA35;
						internalerror_197987((*it).Info, ((NimStringDesc*) &TMP3156));
					}
					LA35: ;
					l = sonslen_226249(it);
					defs = newtransnode_436042((*it).Kind, (*it).Info, l);
					{
						NI j_436939;
						NI HEX3Atmp_437217;
						NI res_437220;
						j_436939 = 0;
						HEX3Atmp_437217 = 0;
						HEX3Atmp_437217 = (NI64)(l - 3);
						res_437220 = 0;
						{
							while (1) {
								tsym225846* newvar;
								tidobj200015* LOC40;
								tnode225816* LOC41;
								tnode225816* LOC42;
								if (!(res_437220 <= HEX3Atmp_437217)) goto LA39;
								j_436939 = res_437220;
								newvar = copysym_226203((*(*it).kindU.S6.Sons->data[j_436939]).kindU.S4.Sym, NIM_FALSE);
								(*newvar).Flags |= ((NI32)1)<<((((NU8) 2))%(sizeof(NI32)*8));
								asgnRefNoCycle((void**) (&(*newvar).Owner), getcurrowner_436460(c));
								LOC40 = 0;
								LOC40 = &(*(*it).kindU.S6.Sons->data[j_436939]).kindU.S4.Sym->Sup;
								LOC41 = 0;
								LOC41 = newsymnode_226132(newvar);
								idnodetableput_235219((&(*(*c).Transcon).Mapping), LOC40, LOC41);
								LOC42 = 0;
								LOC42 = newsymnode_226132(newvar);
								HEX5BHEX5DHEX3D_436128(defs, j_436939, LOC42);
								res_437220 += 1;
							} LA39: ;
						}
					}
					HEX5BHEX5DHEX3D_436128(defs, (NI64)(l - 2), emptynode_226738);
					LOC43 = 0;
					LOC43 = transform_436516(c, (*it).kindU.S6.Sons->data[(NI64)(l - 1)]);
					HEX5BHEX5DHEX3D_436128(defs, (NI64)(l - 1), LOC43);
					HEX5BHEX5DHEX3D_436128(result, i_436749, defs);
				}
				LA5: ;
				res_437225 += 1;
			} LA4: ;
		}
	}
	return result;
}

N_NIMCALL(void, unpacktuple_438008)(ttransfcontext436011* c, tnode225816* n, tnode225816* father) {
	{
		NI i_438025;
		NI HEX3Atmp_438041;
		NI LOC2;
		NI res_438044;
		i_438025 = 0;
		HEX3Atmp_438041 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226249((*(*c).Transcon).Forstmt);
		HEX3Atmp_438041 = (NI64)(LOC2 - 3);
		res_438044 = 0;
		{
			while (1) {
				tnode225816* LOC5;
				tnode225816* LOC6;
				tnode225816* LOC7;
				if (!(res_438044 <= HEX3Atmp_438041)) goto LA4;
				i_438025 = res_438044;
				LOC5 = 0;
				LOC5 = newtupleaccess_424027(n, i_438025);
				LOC6 = 0;
				LOC6 = transform_436516(c, LOC5);
				LOC7 = 0;
				LOC7 = newasgnstmt_436576(c, (*(*(*c).Transcon).Forstmt).kindU.S6.Sons->data[i_438025], LOC6);
				add_436180(father, LOC7);
				res_438044 += 1;
			} LA4: ;
		}
	}
}

N_NIMCALL(tnode225816*, introducenewlocalvars_438061)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	result = 0;
	switch ((*n).Kind) {
	case ((NU8) 3):
	{
		result = transformsym_436721(c, n);
	}
	break;
	case ((NU8) 1) ... ((NU8) 2):
	case ((NU8) 4) ... ((NU8) 23):
	{
		result = n;
	}
	break;
	case ((NU8) 99):
	case ((NU8) 100):
	{
		result = transformvarsection_436732(c, n);
	}
	break;
	default:
	{
		result = newtransnode_436031(n);
		{
			NI i_438104;
			NI HEX3Atmp_438120;
			NI LOC6;
			NI res_438123;
			i_438104 = 0;
			HEX3Atmp_438120 = 0;
			LOC6 = 0;
			LOC6 = sonslen_226249(n);
			HEX3Atmp_438120 = (NI64)(LOC6 - 1);
			res_438123 = 0;
			{
				while (1) {
					tnode225816* LOC9;
					if (!(res_438123 <= HEX3Atmp_438120)) goto LA8;
					i_438104 = res_438123;
					LOC9 = 0;
					LOC9 = introducenewlocalvars_438061(c, (*n).kindU.S6.Sons->data[i_438104]);
					HEX5BHEX5DHEX3D_436128(result, i_438104, LOC9);
					res_438123 += 1;
				} LA8: ;
			}
		}
	}
	break;
	}
	return result;
}

N_NIMCALL(tnode225816*, transformyield_438140)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	tnode225816* e;
	result = 0;
	result = newtransnode_436042(((NU8) 115), (*n).Info, 0);
	e = (*n).kindU.S6.Sons->data[0];
	{
		NIM_BOOL LOC3;
		ttype225852* LOC4;
		NI LOC6;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = skiptypes_230245((*e).Typ, 2048);
		LOC3 = ((*LOC4).Kind == ((NU8) 18));
		if (!(LOC3)) goto LA5;
		LOC6 = 0;
		LOC6 = len_226364((*(*c).Transcon).Forstmt);
		LOC3 = !((LOC6 == 3));
		LA5: ;
		if (!LOC3) goto LA7;
		e = skipconv_273732(e);
		{
			if (!((*e).Kind == ((NU8) 37))) goto LA11;
			{
				NI i_438191;
				NI HEX3Atmp_438248;
				NI LOC14;
				NI res_438251;
				i_438191 = 0;
				HEX3Atmp_438248 = 0;
				LOC14 = 0;
				LOC14 = sonslen_226249(e);
				HEX3Atmp_438248 = (NI64)(LOC14 - 1);
				res_438251 = 0;
				{
					while (1) {
						tnode225816* LOC17;
						tnode225816* LOC18;
						if (!(res_438251 <= HEX3Atmp_438248)) goto LA16;
						i_438191 = res_438251;
						LOC17 = 0;
						LOC17 = transform_436516(c, (*e).kindU.S6.Sons->data[i_438191]);
						LOC18 = 0;
						LOC18 = newasgnstmt_436576(c, (*(*(*c).Transcon).Forstmt).kindU.S6.Sons->data[i_438191], LOC17);
						add_436180(result, LOC18);
						res_438251 += 1;
					} LA16: ;
				}
			}
		}
		goto LA9;
		LA11: ;
		{
			unpacktuple_438008(c, e, result);
		}
		LA9: ;
	}
	goto LA1;
	LA7: ;
	{
		tnode225816* x;
		tnode225816* LOC21;
		x = transform_436516(c, e);
		LOC21 = 0;
		LOC21 = newasgnstmt_436576(c, (*(*(*c).Transcon).Forstmt).kindU.S6.Sons->data[0], x);
		add_436180(result, LOC21);
	}
	LA1: ;
	(*(*c).Transcon).Yieldstmts += 1;
	{
		if (!((*(*c).Transcon).Yieldstmts <= 1)) goto LA24;
		add_436180(result, (*(*c).Transcon).Forloopbody);
	}
	goto LA22;
	LA24: ;
	{
		tnode225816* LOC27;
		LOC27 = 0;
		LOC27 = introducenewlocalvars_438061(c, (*(*c).Transcon).Forloopbody);
		add_436180(result, LOC27);
	}
	LA22: ;
	return result;
}

N_NIMCALL(tnode225816*, transformblock_437658)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	tsym225846* labl;
	tsym225846* LOC6;
	tnode225816* LOC7;
	result = 0;
	labl = 0;
	{
		if (!!(((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 1)))) goto LA3;
		labl = (*(*n).kindU.S6.Sons->data[0]).kindU.S4.Sym;
	}
	goto LA1;
	LA3: ;
	{
		labl = newlabel_437426(c, n);
	}
	LA1: ;
	(*c).Breaksyms = (tsymseq225818*) incrSeq(&((*c).Breaksyms)->Sup, sizeof(tsym225846*));
	asgnRefNoCycle((void**) (&(*c).Breaksyms->data[(*c).Breaksyms->Sup.len-1]), labl);
	result = transformsons_436523(c, n);
	LOC6 = 0;
	LOC6 = pop_437736((&(*c).Breaksyms));
	LOC7 = 0;
	LOC7 = newsymnode_226132(labl);
	HEX5BHEX5DHEX3D_436128(result, 0, LOC7);
	return result;
}

static N_INLINE(NIM_BOOL, dontinlineconstant_440608)(tnode225816* orig, tnode225816* cnst) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	NIM_BOOL LOC2;
	NI LOC5;
	result = 0;
	LOC1 = 0;
	LOC2 = 0;
	LOC2 = ((*orig).Kind == ((NU8) 3));
	if (!(LOC2)) goto LA3;
	LOC2 = ((*cnst).Kind == ((NU8) 39) || (*cnst).Kind == ((NU8) 37) || (*cnst).Kind == ((NU8) 41));
	LA3: ;
	LOC1 = LOC2;
	if (!(LOC1)) goto LA4;
	LOC5 = 0;
	LOC5 = len_226364(cnst);
	LOC1 = !((LOC5 == 0));
	LA4: ;
	result = LOC1;
	return result;
}

N_NIMCALL(tnode225816*, transform_436516)(ttransfcontext436011* c, tnode225816* n) {
	tnode225816* result;
	tnode225816* cnst;
	result = 0;
	switch ((*n).Kind) {
	case ((NU8) 3):
	{
		result = transformsym_436721(c, n);
	}
	break;
	case ((NU8) 1) ... ((NU8) 2):
	case ((NU8) 4) ... ((NU8) 23):
	{
		result = n;
	}
	break;
	case ((NU8) 42):
	{
		result = transformarrayaccess_439919(c, n);
	}
	break;
	case ((NU8) 51) ... ((NU8) 52):
	case ((NU8) 79) ... ((NU8) 81):
	case ((NU8) 84):
	{
		result = n;
	}
	break;
	case ((NU8) 82):
	{
		result = n;
	}
	break;
	case ((NU8) 94):
	{
		result = transformfor_439146(c, n);
	}
	break;
	case ((NU8) 95):
	{
		result = transformsons_436523(c, n);
	}
	break;
	case ((NU8) 97):
	{
		result = transformcase_439774(c, n);
	}
	break;
	case ((NU8) 111):
	{
		tsym225846* labl;
		tnode225816* LOC10;
		result = newnodei_226138(((NU8) 110), (*n).Info);
		labl = (*c).Contsyms->data[((*c).Contsyms->Sup.len-1)];
		LOC10 = 0;
		LOC10 = newsymnode_226132(labl);
		add_436180(result, LOC10);
	}
	break;
	case ((NU8) 110):
	{
		result = transformbreak_437957(c, n);
	}
	break;
	case ((NU8) 96):
	{
		result = transformwhile_437833(c, n);
	}
	break;
	case ((NU8) 27):
	case ((NU8) 32):
	case ((NU8) 26):
	case ((NU8) 29):
	case ((NU8) 30):
	case ((NU8) 31):
	case ((NU8) 28):
	{
		result = transformcall_440311(c, n);
	}
	break;
	case ((NU8) 63):
	case ((NU8) 64):
	{
		result = transformaddrderef_438268(c, n, ((NU8) 47), ((NU8) 65));
	}
	break;
	case ((NU8) 47):
	case ((NU8) 65):
	{
		result = transformaddrderef_438268(c, n, ((NU8) 63), ((NU8) 64));
	}
	break;
	case ((NU8) 58):
	case ((NU8) 59):
	case ((NU8) 60):
	{
		result = transformconv_438576(c, n);
	}
	break;
	case ((NU8) 114):
	{
		result = n;
		{
			if (!!(((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 1)))) goto LA20;
			result = transformsons_436523(c, n);
			{
				NIM_BOOL LOC24;
				LOC24 = 0;
				LOC24 = isconstexpr_261921((*result).kindU.S6.Sons->data[0]);
				if (!LOC24) goto LA25;
				result = newnode_226090(((NU8) 125));
			}
			LA25: ;
		}
		LA20: ;
	}
	break;
	case ((NU8) 125):
	case ((NU8) 83):
	{
		result = n;
		goto BeforeRet;
	}
	break;
	case ((NU8) 101):
	{
		result = transformconstsection_437251(c, n);
		goto BeforeRet;
	}
	break;
	case ((NU8) 98):
	{
		result = n;
		goto BeforeRet;
	}
	break;
	case ((NU8) 99):
	case ((NU8) 100):
	{
		{
			if (!(0 < (*c).Inlining)) goto LA33;
			result = transformvarsection_436732(c, n);
		}
		goto LA31;
		LA33: ;
		{
			result = transformsons_436523(c, n);
		}
		LA31: ;
	}
	break;
	case ((NU8) 104):
	{
		{
			if (!(0 < (*c).Inlining)) goto LA39;
			result = transformyield_438140(c, n);
		}
		goto LA37;
		LA39: ;
		{
			result = transformsons_436523(c, n);
		}
		LA37: ;
	}
	break;
	case ((NU8) 112):
	case ((NU8) 127):
	{
		result = transformblock_437658(c, n);
	}
	break;
	case ((NU8) 35):
	case ((NU8) 102):
	{
		result = transformsons_436523(c, n);
		{
			NIM_BOOL LOC46;
			NimStringDesc* LOC49;
			LOC46 = 0;
			LOC46 = importantcomments_169156();
			if (!LOC46) goto LA47;
			LOC49 = 0;
			LOC49 = (*result).Comment; (*result).Comment = copyStringRC1((*n).Comment);
			if (LOC49) nimGCunrefNoCycle(LOC49);
		}
		LA47: ;
	}
	break;
	case ((NU8) 154):
	{
		result = n;
		goto BeforeRet;
	}
	break;
	default:
	{
		result = transformsons_436523(c, n);
	}
	break;
	}
	cnst = getconstexpr_304004((*c).Module, result);
	{
		NIM_BOOL LOC54;
		NIM_BOOL LOC56;
		LOC54 = 0;
		LOC54 = !((cnst == NIM_NIL));
		if (!(LOC54)) goto LA55;
		LOC56 = 0;
		LOC56 = dontinlineconstant_440608(n, cnst);
		LOC54 = !(LOC56);
		LA55: ;
		if (!LOC54) goto LA57;
		result = cnst;
	}
	LA57: ;
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode225816*, processtransf_441265)(ttransfcontext436011* c, tnode225816* n, tsym225846* owner) {
	tnode225816* result;
	ttranscon436009* LOC7;
	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = (*c).Sup.Fromcache;
		if (LOC3) goto LA4;
		LOC3 = (((*n).Flags &(1<<((((NU8) 5))&15)))!=0);
		LA4: ;
		if (!LOC3) goto LA5;
		result = n;
		goto BeforeRet;
	}
	LA5: ;
	LOC7 = 0;
	LOC7 = newtranscon_436200(owner);
	pushtranscon_436424(c, LOC7);
	result = transform_436516(c, n);
	poptranscon_436434(c);
	(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode225816*, transformexpr_441807)(tsym225846* module, tnode225816* n) {
	tnode225816* result;
	result = 0;
	{
		if (!(((*n).Flags &(1<<((((NU8) 5))&15)))!=0)) goto LA3;
		result = n;
	}
	goto LA1;
	LA3: ;
	{
		ttransfcontext436011* c;
		c = opentransf_441306(module, ((NimStringDesc*) &TMP3130));
		result = processtransf_441265(c, n, module);
		(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode225816*, commonoptimizations_440642)(tsym225846* c, tnode225816* n) {
	tnode225816* result;
	tsym225846* op;
	result = 0;
	result = n;
	{
		NI i_440668;
		NI HEX3Atmp_440815;
		NI LOC2;
		NI res_440818;
		i_440668 = 0;
		HEX3Atmp_440815 = 0;
		LOC2 = 0;
		LOC2 = safelen_226424(n);
		HEX3Atmp_440815 = (LOC2 - 1);
		res_440818 = 0;
		{
			while (1) {
				if (!(res_440818 <= HEX3Atmp_440815)) goto LA4;
				i_440668 = res_440818;
				asgnRefNoCycle((void**) (&(*result).kindU.S6.Sons->data[i_440668]), commonoptimizations_440642(c, (*n).kindU.S6.Sons->data[i_440668]));
				res_440818 += 1;
			} LA4: ;
		}
	}
	op = getmergeop_440041(n);
	{
		NIM_BOOL LOC7;
		NIM_BOOL LOC8;
		NI LOC11;
		tnode225816* args;
		NI j;
		LOC7 = 0;
		LOC8 = 0;
		LOC8 = !((op == NIM_NIL));
		if (!(LOC8)) goto LA9;
		LOC8 = !(((*op).Magic == ((NU16) 0)));
		LA9: ;
		LOC7 = LOC8;
		if (!(LOC7)) goto LA10;
		LOC11 = 0;
		LOC11 = sonslen_226249(n);
		LOC7 = (3 <= LOC11);
		LA10: ;
		if (!LOC7) goto LA12;
		result = newnodeit_226145(((NU8) 27), (*n).Info, (*n).Typ);
		add_226498(result, (*n).kindU.S6.Sons->data[0]);
		args = newnode_226090(((NU8) 151));
		flattentreeaux_440180(args, n, op);
		j = 0;
		{
			while (1) {
				NI LOC16;
				tnode225816* a;
				LOC16 = 0;
				LOC16 = sonslen_226249(args);
				if (!(j < LOC16)) goto LA15;
				a = (*args).kindU.S6.Sons->data[j];
				j += 1;
				{
					NIM_BOOL LOC19;
					LOC19 = 0;
					LOC19 = isconstexpr_261921(a);
					if (!LOC19) goto LA20;
					{
						while (1) {
							NI LOC24;
							tnode225816* b;
							LOC24 = 0;
							LOC24 = sonslen_226249(args);
							if (!(j < LOC24)) goto LA23;
							b = (*args).kindU.S6.Sons->data[j];
							{
								NIM_BOOL LOC27;
								LOC27 = 0;
								LOC27 = isconstexpr_261921(b);
								if (!!(LOC27)) goto LA28;
								goto LA22;
							}
							LA28: ;
							a = evalop_304011((*op).Magic, result, a, b, NIM_NIL);
							j += 1;
						} LA23: ;
					} LA22: ;
				}
				LA20: ;
				add_226498(result, a);
			} LA15: ;
		}
		{
			NI LOC32;
			LOC32 = 0;
			LOC32 = len_226364(result);
			if (!(LOC32 == 2)) goto LA33;
			result = HEX5BHEX5D_226698(result, 1);
		}
		LA33: ;
	}
	goto LA5;
	LA12: ;
	{
		tnode225816* cnst;
		cnst = getconstexpr_304004(c, n);
		{
			NIM_BOOL LOC38;
			NIM_BOOL LOC40;
			LOC38 = 0;
			LOC38 = !((cnst == NIM_NIL));
			if (!(LOC38)) goto LA39;
			LOC40 = 0;
			LOC40 = dontinlineconstant_440608(n, cnst);
			LOC38 = !(LOC40);
			LA39: ;
			if (!LOC38) goto LA41;
			result = cnst;
		}
		goto LA36;
		LA41: ;
		{
			result = n;
		}
		LA36: ;
	}
	LA5: ;
	return result;
}

N_NIMCALL(tnode225816*, transformbody_441373)(tsym225846* module, tnode225816* n, tsym225846* prc) {
	tnode225816* result;
	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = (((*n).Flags &(1<<((((NU8) 5))&15)))!=0);
		if (LOC3) goto LA4;
		LOC3 = ((262144 &(1<<(((*prc).Kind)&31)))!=0);
		LA4: ;
		if (!LOC3) goto LA5;
		result = n;
	}
	goto LA1;
	LA5: ;
	{
		ttransfcontext436011* c;
		c = opentransf_441306(module, ((NimStringDesc*) &TMP3130));
		result = processtransf_441265(c, n, prc);
		result = liftlambdas_434871(prc, result);
		(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
		trackproc_384148(prc, result);
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode225816*, transformstmt_441607)(tsym225846* module, tnode225816* n) {
	tnode225816* result;
	result = 0;
	{
		if (!(((*n).Flags &(1<<((((NU8) 5))&15)))!=0)) goto LA3;
		result = n;
	}
	goto LA1;
	LA3: ;
	{
		ttransfcontext436011* c;
		c = opentransf_441306(module, ((NimStringDesc*) &TMP3130));
		result = processtransf_441265(c, n, module);
		result = liftlambdasfortoplevel_434921(module, result);
		(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
		tracktoplevelstmt_384410(module, result);
	}
	LA1: ;
	return result;
}
NIM_EXTERNC N_NOINLINE(void, HEX00_transfInit)(void) {
}

NIM_EXTERNC N_NOINLINE(void, HEX00_transfDatInit)(void) {
static TNimNode* TMP3123[6];
static TNimNode* TMP3124[6];
static TNimNode TMP926[14];
NTI436011.size = sizeof(ttransfcontext436011);
NTI436011.kind = 17;
NTI436011.base = (&NTI286005);
TMP3123[0] = &TMP926[1];
TMP926[1].kind = 1;
TMP926[1].offset = offsetof(ttransfcontext436011, Module);
TMP926[1].typ = (&NTI225814);
TMP926[1].name = "module";
TMP3123[1] = &TMP926[2];
NTI436009.size = sizeof(ttranscon436009);
NTI436009.kind = 18;
NTI436009.base = 0;
TMP3124[0] = &TMP926[4];
TMP926[4].kind = 1;
TMP926[4].offset = offsetof(ttranscon436009, Mapping);
TMP926[4].typ = (&NTI225870);
TMP926[4].name = "mapping";
TMP3124[1] = &TMP926[5];
TMP926[5].kind = 1;
TMP926[5].offset = offsetof(ttranscon436009, Owner);
TMP926[5].typ = (&NTI225814);
TMP926[5].name = "owner";
TMP3124[2] = &TMP926[6];
TMP926[6].kind = 1;
TMP926[6].offset = offsetof(ttranscon436009, Forstmt);
TMP926[6].typ = (&NTI225808);
TMP926[6].name = "forStmt";
TMP3124[3] = &TMP926[7];
TMP926[7].kind = 1;
TMP926[7].offset = offsetof(ttranscon436009, Forloopbody);
TMP926[7].typ = (&NTI225808);
TMP926[7].name = "forLoopBody";
TMP3124[4] = &TMP926[8];
TMP926[8].kind = 1;
TMP926[8].offset = offsetof(ttranscon436009, Yieldstmts);
TMP926[8].typ = (&NTI108);
TMP926[8].name = "yieldStmts";
TMP3124[5] = &TMP926[9];
TMP926[9].kind = 1;
TMP926[9].offset = offsetof(ttranscon436009, Next);
TMP926[9].typ = (&NTI436007);
TMP926[9].name = "next";
TMP926[3].len = 6; TMP926[3].kind = 2; TMP926[3].sons = &TMP3124[0];
NTI436009.node = &TMP926[3];
NTI436007.size = sizeof(ttranscon436009*);
NTI436007.kind = 22;
NTI436007.base = (&NTI436009);
NTI436007.marker = TMP3128;
TMP926[2].kind = 1;
TMP926[2].offset = offsetof(ttransfcontext436011, Transcon);
TMP926[2].typ = (&NTI436007);
TMP926[2].name = "transCon";
TMP3123[2] = &TMP926[10];
TMP926[10].kind = 1;
TMP926[10].offset = offsetof(ttransfcontext436011, Inlining);
TMP926[10].typ = (&NTI108);
TMP926[10].name = "inlining";
TMP3123[3] = &TMP926[11];
TMP926[11].kind = 1;
TMP926[11].offset = offsetof(ttransfcontext436011, Nestedprocs);
TMP926[11].typ = (&NTI108);
TMP926[11].name = "nestedProcs";
TMP3123[4] = &TMP926[12];
TMP926[12].kind = 1;
TMP926[12].offset = offsetof(ttransfcontext436011, Contsyms);
TMP926[12].typ = (&NTI225818);
TMP926[12].name = "contSyms";
TMP3123[5] = &TMP926[13];
TMP926[13].kind = 1;
TMP926[13].offset = offsetof(ttransfcontext436011, Breaksyms);
TMP926[13].typ = (&NTI225818);
TMP926[13].name = "breakSyms";
TMP926[0].len = 6; TMP926[0].kind = 2; TMP926[0].sons = &TMP3123[0];
NTI436011.node = &TMP926[0];
NTI436013.size = sizeof(ttransfcontext436011*);
NTI436013.kind = 22;
NTI436013.base = (&NTI436011);
NTI436013.marker = TMP3129;
}

