/* 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 tnode224816 tnode224816;
typedef struct tsym224846 tsym224846;
typedef struct ttype224852 ttype224852;
typedef struct tlineinfo194539 tlineinfo194539;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tident199021 tident199021;
typedef struct tnodeseq224810 tnodeseq224810;
typedef struct ttransfcontext435011 ttransfcontext435011;
typedef struct tpasscontext285005 tpasscontext285005;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct ttranscon435009 ttranscon435009;
typedef struct tsymseq224818 tsymseq224818;
typedef struct tidnodetable224870 tidnodetable224870;
typedef struct tidnodepairseq224868 tidnodepairseq224868;
typedef struct tidnodepair224866 tidnodepair224866;
typedef struct tidobj199015 tidobj199015;
typedef struct tcell44935 tcell44935;
typedef struct tcellseq44951 tcellseq44951;
typedef struct tgcheap47016 tgcheap47016;
typedef struct tcellset44947 tcellset44947;
typedef struct tpagedesc44943 tpagedesc44943;
typedef struct tmemregion27210 tmemregion27210;
typedef struct tsmallchunk26440 tsmallchunk26440;
typedef struct tllchunk27204 tllchunk27204;
typedef struct tbigchunk26442 tbigchunk26442;
typedef struct tintset26417 tintset26417;
typedef struct ttrunk26413 ttrunk26413;
typedef struct tavlnode27208 tavlnode27208;
typedef struct tgcstat47014 tgcstat47014;
typedef struct ttypeseq224848 ttypeseq224848;
typedef struct tscope224840 tscope224840;
typedef struct TY224947 TY224947;
typedef struct tinstantiation224836 tinstantiation224836;
typedef struct tstrtable224820 tstrtable224820;
typedef struct tloc224830 tloc224830;
typedef struct trope176009 trope176009;
typedef struct tlib224834 tlib224834;
typedef struct TY84745 TY84745;
typedef struct tidtable224864 tidtable224864;
typedef struct tidpairseq224862 tidpairseq224862;
typedef struct tidpair224860 tidpair224860;
typedef struct tbasechunk26438 tbasechunk26438;
typedef struct tfreecell26430 tfreecell26430;
typedef struct TY224936 TY224936;
typedef struct tlistentry126022 tlistentry126022;
struct  tlineinfo194539  {
NI16 Line;
NI16 Col;
NI32 Fileindex;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  tnode224816  {
ttype224852* Typ;
tlineinfo194539 Info;
NU16 Flags;
NU8 Kind;
union {
struct {NI64 Intval;
} S1;
struct {NF Floatval;
} S2;
struct {NimStringDesc* Strval;
} S3;
struct {tsym224846* Sym;
} S4;
struct {tident199021* Ident;
} S5;
struct {tnodeseq224810* 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  tpasscontext285005  {
  TNimObject Sup;
NIM_BOOL Fromcache;
};
struct  ttransfcontext435011  {
  tpasscontext285005 Sup;
tsym224846* Module;
ttranscon435009* Transcon;
NI Inlining;
NI Nestedprocs;
tsymseq224818* Contsyms;
tsymseq224818* Breaksyms;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  tidnodepair224866  {
tidobj199015* Key;
tnode224816* Val;
};
struct  tidnodetable224870  {
NI Counter;
tidnodepairseq224868* Data;
};
struct  ttranscon435009  {
tidnodetable224870 Mapping;
tsym224846* Owner;
tnode224816* Forstmt;
tnode224816* Forloopbody;
NI Yieldstmts;
ttranscon435009* Next;
};
struct  tcell44935  {
NI Refcount;
TNimType* Typ;
};
struct  tcellseq44951  {
NI Len;
NI Cap;
tcell44935** D;
};
struct  tcellset44947  {
NI Counter;
NI Max;
tpagedesc44943* Head;
tpagedesc44943** Data;
};
typedef tsmallchunk26440* TY27222[512];
typedef ttrunk26413* ttrunkbuckets26415[256];
struct  tintset26417  {
ttrunkbuckets26415 Data;
};
struct  tmemregion27210  {
NI Minlargeobj;
NI Maxlargeobj;
TY27222 Freesmallchunks;
tllchunk27204* Llmem;
NI Currmem;
NI Maxmem;
NI Freemem;
NI Lastsize;
tbigchunk26442* Freechunkslist;
tintset26417 Chunkstarts;
tavlnode27208* Root;
tavlnode27208* Deleted;
tavlnode27208* Last;
tavlnode27208* Freeavlnodes;
};
struct  tgcstat47014  {
NI Stackscans;
NI Cyclecollections;
NI Maxthreshold;
NI Maxstacksize;
NI Maxstackcells;
NI Cycletablesize;
NI64 Maxpause;
};
struct  tgcheap47016  {
void* Stackbottom;
NI Cyclethreshold;
tcellseq44951 Zct;
tcellseq44951 Decstack;
tcellset44947 Cycleroots;
tcellseq44951 Tempstack;
NI Recgclock;
tmemregion27210 Region;
tgcstat47014 Stat;
};
struct  tidobj199015  {
  TNimObject Sup;
NI Id;
};
struct  tstrtable224820  {
NI Counter;
tsymseq224818* Data;
};
struct  tloc224830  {
NU8 K;
NU8 S;
NU8 Flags;
ttype224852* T;
trope176009* R;
trope176009* Heaproot;
};
struct  tsym224846  {
  tidobj199015 Sup;
NU8 Kind;
union {
struct {ttypeseq224848* Typeinstcache;
tscope224840* Typscope;
} S1;
struct {TY224947* Procinstcache;
tscope224840* Scope;
} S2;
struct {TY224947* Usedgenerics;
tstrtable224820 Tab;
} S3;
struct {tsym224846* Guard;
} S4;
} kindU;
NU16 Magic;
ttype224852* Typ;
tident199021* Name;
tlineinfo194539 Info;
tsym224846* Owner;
NU32 Flags;
tnode224816* Ast;
NU32 Options;
NI Position;
NI Offset;
tloc224830 Loc;
tlib224834* Annex;
tnode224816* Constraint;
};
struct  ttype224852  {
  tidobj199015 Sup;
NU8 Kind;
NU8 Callconv;
NU32 Flags;
ttypeseq224848* Sons;
tnode224816* N;
tsym224846* Owner;
tsym224846* Sym;
tsym224846* Destructor;
tsym224846* Deepcopy;
NI64 Size;
NI16 Align;
NI16 Locklevel;
tloc224830 Loc;
};
struct TY84745 {
NimStringDesc* Field0;
NI Field1;
};
struct  tidpair224860  {
tidobj199015* Key;
TNimObject* Val;
};
struct  tidtable224864  {
NI Counter;
tidpairseq224862* Data;
};
struct  tident199021  {
  tidobj199015 Sup;
NimStringDesc* S;
tident199021* Next;
NI H;
};
typedef NI TY26420[8];
struct  tpagedesc44943  {
tpagedesc44943* Next;
NI Key;
TY26420 Bits;
};
struct  tbasechunk26438  {
NI Prevsize;
NI Size;
NIM_BOOL Used;
};
struct  tsmallchunk26440  {
  tbasechunk26438 Sup;
tsmallchunk26440* Next;
tsmallchunk26440* Prev;
tfreecell26430* Freelist;
NI Free;
NI Acc;
NF Data;
};
struct  tllchunk27204  {
NI Size;
NI Acc;
tllchunk27204* Next;
};
struct  tbigchunk26442  {
  tbasechunk26438 Sup;
tbigchunk26442* Next;
tbigchunk26442* Prev;
NI Align;
NF Data;
};
struct  ttrunk26413  {
ttrunk26413* Next;
NI Key;
TY26420 Bits;
};
typedef tavlnode27208* TY27214[2];
struct  tavlnode27208  {
TY27214 Link;
NI Key;
NI Upperbound;
NI Level;
};
struct  tscope224840  {
NI Depthlevel;
tstrtable224820 Symbols;
tnodeseq224810* Usingsyms;
tscope224840* Parent;
};
struct  tinstantiation224836  {
tsym224846* Sym;
ttypeseq224848* Concretetypes;
TY224936* Usedby;
};
struct  trope176009  {
  TNimObject Sup;
trope176009* Left;
trope176009* Right;
NI Length;
NimStringDesc* Data;
};
struct  tlistentry126022  {
  TNimObject Sup;
tlistentry126022* Prev;
tlistentry126022* Next;
};
struct  tlib224834  {
  tlistentry126022 Sup;
NU8 Kind;
NIM_BOOL Generated;
NIM_BOOL Isoverriden;
trope176009* Name;
tnode224816* Path;
};
struct  tfreecell26430  {
tfreecell26430* Next;
NI Zerofield;
};
struct tnodeseq224810 {
  TGenericSeq Sup;
  tnode224816* data[SEQ_DECL_SIZE];
};
struct tsymseq224818 {
  TGenericSeq Sup;
  tsym224846* data[SEQ_DECL_SIZE];
};
struct tidnodepairseq224868 {
  TGenericSeq Sup;
  tidnodepair224866 data[SEQ_DECL_SIZE];
};
struct ttypeseq224848 {
  TGenericSeq Sup;
  ttype224852* data[SEQ_DECL_SIZE];
};
struct TY224947 {
  TGenericSeq Sup;
  tinstantiation224836* data[SEQ_DECL_SIZE];
};
struct tidpairseq224862 {
  TGenericSeq Sup;
  tidpair224860 data[SEQ_DECL_SIZE];
};
struct TY224936 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
N_NIMCALL(ttransfcontext435011*, opentransf_440306)(tsym224846* module, NimStringDesc* filename);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP3131)(void* p, NI op);
N_NIMCALL(void, TMP3132)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(tcell44935*, usrtocell_48646)(void* usr);
static N_INLINE(void, rtladdzct_50204)(tcell44935* c);
N_NOINLINE(void, addzct_48617)(tcellseq44951* s, tcell44935* c);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
N_NIMCALL(tnode224816*, processtransf_440265)(ttransfcontext435011* c, tnode224816* n, tsym224846* owner);
N_NIMCALL(void, pushtranscon_435424)(ttransfcontext435011* c, ttranscon435009* t);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_51025)(tcell44935* c);
static N_INLINE(NIM_BOOL, canbecycleroot_48667)(tcell44935* c);
static N_INLINE(void, rtladdcycleroot_49429)(tcell44935* c);
N_NOINLINE(void, incl_45671)(tcellset44947* s, tcell44935* cell);
static N_INLINE(void, decref_50604)(tcell44935* c);
N_NIMCALL(ttranscon435009*, newtranscon_435200)(tsym224846* owner);
N_NIMCALL(void, initidnodetable_225181)(tidnodetable224870* x);
N_NIMCALL(tnode224816*, transform_435516)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(tnode224816*, transformsym_435721)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(tnode224816*, transformsymaux_435588)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(tnode224816*, getbody_278269)(tsym224846* s);
N_NIMCALL(void, internalerror_196987)(tlineinfo194539 info, NimStringDesc* errmsg);
N_NIMCALL(tnode224816*, newsymnode_225132)(tsym224846* sym);
N_NIMCALL(tnode224816*, idnodetableget_234212)(tidnodetable224870 t, tidobj199015* key);
N_NIMCALL(tnode224816*, transformarrayaccess_438919)(ttransfcontext435011* c, tnode224816* n);
static N_INLINE(tnode224816*, newtransnode_435031)(tnode224816* a);
N_NIMCALL(tnode224816*, shallowcopy_230347)(tnode224816* src);
static N_INLINE(NI, len_225364)(tnode224816* n);
static N_INLINE(void, HEX5BHEX5DHEX3D_435128)(tnode224816* a, NI i, tnode224816* x);
N_NIMCALL(tnode224816*, skipconv_272732)(tnode224816* n);
N_NIMCALL(tnode224816*, transformfor_438146)(ttransfcontext435011* c, tnode224816* n);
static N_INLINE(NI, sonslen_225249)(tnode224816* n);
N_NIMCALL(tsym224846*, newlabel_436426)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(tsym224846*, newsym_225074)(NU8 symkind, tident199021* name, tsym224846* owner, tlineinfo194539 info);
N_NIMCALL(tsym224846*, getcurrowner_435460)(ttransfcontext435011* c);
N_NIMCALL(tident199021*, getident_199472)(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(tnode224816*, newtransnode_435042)(NU8 kind, tlineinfo194539 info, NI sons);
N_NIMCALL(tnode224816*, newnodei_225138)(NU8 kind, tlineinfo194539 info);
N_NIMCALL(tnode224816*, transformloopbody_436787)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(NIM_BOOL, hascontinue_436374)(tnode224816* n);
static N_INLINE(tsym224846*, pop_436736)(tsymseq224818** s_436744);
N_NIMCALL(TGenericSeq*, setLengthSeq)(TGenericSeq* seq, NI elemsize, NI newlen);
N_NIMCALL(tnode224816*, liftforloop_433953)(tnode224816* body);
N_NIMCALL(void, addvar_423053)(tnode224816* father, tnode224816* v);
N_NIMCALL(tnode224816*, copytree_225329)(tnode224816* src);
static N_INLINE(void, add_435180)(tnode224816* a, tnode224816* b);
N_NIMCALL(void, addson_225287)(tnode224816* father, tnode224816* son);
N_NIMCALL(void, internalerror_197006)(NimStringDesc* errmsg);
N_NIMCALL(NimStringDesc*, HEX24_197126)(TY84745 x_197130);
N_NIMCALL(ttype224852*, skiptypes_229245)(ttype224852* t, NU64 kinds);
N_NIMCALL(NU8, putarginto_437895)(tnode224816* arg, ttype224852* formal);
N_NIMCALL(void, idnodetableput_234219)(tidnodetable224870* t, tidobj199015* key, tnode224816* val);
N_NIMCALL(tsym224846*, newtemp_435487)(ttransfcontext435011* c, ttype224852* typ, tlineinfo194539 info);
N_NIMCALL(tnode224816*, newasgnstmt_435576)(ttransfcontext435011* c, tnode224816* le, tnode224816* ri);
N_NIMCALL(void, pushinfocontext_195930)(tlineinfo194539 info);
N_NIMCALL(void, initidtable_225167)(tidtable224864* x);
N_NIMCALL(void, freshlabels_436437)(ttransfcontext435011* c, tnode224816* n, tidtable224864* symmap);
static N_INLINE(tnode224816*, HEX5BHEX5D_225698)(tnode224816* n, NI i);
N_NIMCALL(void, idtableput_234196)(tidtable224864* t, tidobj199015* key, TNimObject* val);
N_NIMCALL(TNimObject*, idtableget_234182)(tidtable224864 t, tidobj199015* key);
static N_INLINE(NI, safelen_225424)(tnode224816* n);
N_NIMCALL(void, popinfocontext_195957)(void);
N_NIMCALL(void, poptranscon_435434)(ttransfcontext435011* c);
N_NIMCALL(tnode224816*, transformsons_435523)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(tnode224816*, transformcase_438774)(ttransfcontext435011* c, tnode224816* n);
static N_INLINE(tnode224816*, newtransnode_435085)(NU8 kind, tnode224816* n, NI sons);
N_NIMCALL(tnode224816*, newnodeit_225145)(NU8 kind, tlineinfo194539 info, ttype224852* typ);
static N_INLINE(tnode224816*, lastson_225261)(tnode224816* n);
N_NIMCALL(tnode224816*, transformbreak_436957)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(tnode224816*, transformwhile_436833)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(tnode224816*, transformcall_439311)(ttransfcontext435011* c, tnode224816* n_439314);
N_NIMCALL(tnode224816*, flattentree_439269)(tnode224816* root);
N_NIMCALL(tsym224846*, getmergeop_439041)(tnode224816* n);
N_NIMCALL(tnode224816*, copynode_225323)(tnode224816* src);
N_NIMCALL(void, flattentreeaux_439180)(tnode224816* d, tnode224816* a, tsym224846* op);
N_NIMCALL(NU16, getmagic_260845)(tnode224816* op);
N_NIMCALL(NIM_BOOL, isconstexpr_260921)(tnode224816* n);
N_NIMCALL(tnode224816*, evalop_303011)(NU16 m, tnode224816* n, tnode224816* a, tnode224816* b, tnode224816* c);
static N_INLINE(NI, len_435190)(tnode224816* a);
static N_INLINE(tnode224816*, HEX5BHEX5D_435154)(tnode224816* a, NI i);
N_NIMCALL(void, methoddef_421824)(tsym224846* s, NIM_BOOL fromcache);
N_NIMCALL(tnode224816*, methodcall_421056)(tnode224816* n);
N_NIMCALL(tnode224816*, transformaddrderef_437268)(ttransfcontext435011* c, tnode224816* n_437271, NU8 a, NU8 b);
N_NIMCALL(tnode224816*, transformconv_437576)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(NIM_BOOL, isordinaltype_262092)(ttype224852* t);
N_NIMCALL(NI64, firstord_262004)(ttype224852* t);
N_NIMCALL(NI64, lastord_262010)(ttype224852* t);
N_NIMCALL(tnode224816*, newinttypenode_225103)(NU8 kind, NI64 intval, ttype224852* typ);
N_NIMCALL(NI, inheritancediff_269588)(ttype224852* a, ttype224852* b);
N_NIMCALL(tnode224816*, newnode_225090)(NU8 kind);
N_NIMCALL(tnode224816*, transformconstsection_436251)(ttransfcontext435011* c, tnode224816* v);
N_NIMCALL(tnode224816*, transformvarsection_435732)(ttransfcontext435011* c, tnode224816* v);
N_NIMCALL(tsym224846*, copysym_225203)(tsym224846* s, NIM_BOOL keepid);
static N_INLINE(NIM_BOOL, importantcomments_168156)(void);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
N_NIMCALL(tnode224816*, transformyield_437140)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(void, unpacktuple_437008)(ttransfcontext435011* c, tnode224816* n, tnode224816* father);
N_NIMCALL(tnode224816*, newtupleaccess_423027)(tnode224816* tup, NI i);
N_NIMCALL(tnode224816*, introducenewlocalvars_437061)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(tnode224816*, transformblock_436658)(ttransfcontext435011* c, tnode224816* n);
N_NIMCALL(tnode224816*, getconstexpr_303004)(tsym224846* m, tnode224816* n);
static N_INLINE(NIM_BOOL, dontinlineconstant_439608)(tnode224816* orig, tnode224816* cnst);
N_NIMCALL(tnode224816*, commonoptimizations_439642)(tsym224846* c, tnode224816* n);
N_NIMCALL(void, add_225498)(tnode224816* father, tnode224816* son);
N_NIMCALL(tnode224816*, liftlambdas_433871)(tsym224846* fn, tnode224816* body);
N_NIMCALL(void, trackproc_383148)(tsym224846* s, tnode224816* body);
N_NIMCALL(tnode224816*, liftlambdasfortoplevel_433921)(tsym224846* module, tnode224816* body);
N_NIMCALL(void, tracktoplevelstmt_383410)(tsym224846* module, tnode224816* n);
STRING_LITERAL(TMP3133, "", 0);
STRING_LITERAL(TMP3134, "wrong AST for borrowed symbol", 29);
STRING_LITERAL(TMP3135, "transformFor", 12);
STRING_LITERAL(TMP3136, ":tmp", 4);
STRING_LITERAL(TMP3142, "compiler/transf.nim", 19);
NIM_CONST TY84745 TMP3141 = {((NimStringDesc*) &TMP3142),
494}
;
STRING_LITERAL(TMP3143, "popTransCon", 11);
STRING_LITERAL(TMP3156, "transformConstSection", 21);
STRING_LITERAL(TMP3157, "transformVarSection", 19);
NIM_CONST TY84745 TMP3158 = {((NimStringDesc*) &TMP3142),
141}
;
STRING_LITERAL(TMP3159, "transformVarSection: not nkVarTuple", 35);
extern TNimType NTI285005; /* TPassContext */
TNimType NTI435011; /* TTransfContext */
extern TNimType NTI224814; /* PSym */
TNimType NTI435009; /* TTransCon */
extern TNimType NTI224870; /* TIdNodeTable */
extern TNimType NTI224808; /* PNode */
extern TNimType NTI108; /* int */
TNimType NTI435007; /* PTransCon */
extern TNimType NTI224818; /* TSymSeq */
TNimType NTI435013; /* PTransf */
extern tgcheap47016 gch_47044;
extern TNimType NTI224810; /* TNodeSeq */
extern tnode224816* emptynode_225738;
extern NU8 gcmd_168120;
N_NIMCALL(void, TMP3131)(void* p, NI op) {
	ttranscon435009* a;
	a = (ttranscon435009*)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, TMP3132)(void* p, NI op) {
	ttransfcontext435011* a;
	a = (ttransfcontext435011*)p;
	nimGCvisit((void*)(*a).Module, op);
	nimGCvisit((void*)(*a).Transcon, op);
	nimGCvisit((void*)(*a).Contsyms, op);
	nimGCvisit((void*)(*a).Breaksyms, op);
}

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

static N_INLINE(void, rtladdzct_50204)(tcell44935* c) {
	addzct_48617((&gch_47044.Zct), c);
}

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

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

N_NIMCALL(ttransfcontext435011*, opentransf_440306)(tsym224846* module, NimStringDesc* filename) {
	ttransfcontext435011* result;
	result = 0;
	result = (ttransfcontext435011*) newObj((&NTI435013), sizeof(ttransfcontext435011));
	(*result).Sup.Sup.m_type = (&NTI435011);
	if ((*result).Contsyms) nimGCunrefNoCycle((*result).Contsyms);
	(*result).Contsyms = (tsymseq224818*) newSeqRC1((&NTI224818), 0);
	if ((*result).Breaksyms) nimGCunrefNoCycle((*result).Breaksyms);
	(*result).Breaksyms = (tsymseq224818*) newSeqRC1((&NTI224818), 0);
	asgnRefNoCycle((void**) (&(*result).Module), module);
	return result;
}

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

static N_INLINE(void, rtladdcycleroot_49429)(tcell44935* c) {
	{
		if (!!((((NI) ((NI)((*c).Refcount & 3))) == 3))) goto LA3;
		(*c).Refcount = (NI)((NI)((*c).Refcount & -4) | 3);
		incl_45671((&gch_47044.Cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_51025)(tcell44935* c) {
	(*c).Refcount = (NI)((NU64)((*c).Refcount) + (NU64)(8));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_48667(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_49429(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_50604)(tcell44935* c) {
	{
		(*c).Refcount -= 8;
		if (!((NU64)((*c).Refcount) < (NU64)(8))) goto LA3;
		rtladdzct_50204(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_48667(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_49429(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		tcell44935* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_48646(src);
		incref_51025(LOC5);
	}
	LA3: ;
	{
		tcell44935* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_48646((*dest));
		decref_50604(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

N_NIMCALL(void, pushtranscon_435424)(ttransfcontext435011* c, ttranscon435009* t) {
	asgnRef((void**) (&(*t).Next), (*c).Transcon);
	asgnRef((void**) (&(*c).Transcon), t);
}

N_NIMCALL(ttranscon435009*, newtranscon_435200)(tsym224846* owner) {
	ttranscon435009* result;
	result = 0;
	result = (ttranscon435009*) newObj((&NTI435007), sizeof(ttranscon435009));
	initidnodetable_225181((&(*result).Mapping));
	asgnRefNoCycle((void**) (&(*result).Owner), owner);
	return result;
}

N_NIMCALL(tnode224816*, transformsymaux_435588)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	tnode224816* b;
	ttranscon435009* tc;
	result = 0;
	b = 0;
	tc = (*c).Transcon;
	{
		if (!(((*(*n).kindU.S4.Sym).Flags &(1<<((((NU8) 26))&31)))!=0)) goto LA3;
		b = getbody_278269((*n).kindU.S4.Sym);
		{
			if (!!(((*b).Kind == ((NU8) 3)))) goto LA7;
			internalerror_196987((*n).Info, ((NimStringDesc*) &TMP3134));
		}
		LA7: ;
		b = newsymnode_225132((*b).kindU.S4.Sym);
		(*b).Info = (*n).Info;
	}
	goto LA1;
	LA3: ;
	{
		b = n;
	}
	LA1: ;
	{
		while (1) {
			tidobj199015* LOC12;
			if (!!((tc == NIM_NIL))) goto LA11;
			LOC12 = 0;
			LOC12 = &(*b).kindU.S4.Sym->Sup;
			result = idnodetableget_234212((*tc).Mapping, LOC12);
			{
				if (!!((result == NIM_NIL))) goto LA15;
				goto BeforeRet;
			}
			LA15: ;
			tc = (*tc).Next;
		} LA11: ;
	}
	result = b;
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode224816*, transformsym_435721)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	result = 0;
	result = transformsymaux_435588(c, n);
	return result;
}

static N_INLINE(tnode224816*, newtransnode_435031)(tnode224816* a) {
	tnode224816* result;
	result = 0;
	result = shallowcopy_230347(a);
	return result;
}

static N_INLINE(NI, len_225364)(tnode224816* 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_435128)(tnode224816* a, NI i, tnode224816* x) {
	tnode224816* n;
	n = a;
	asgnRefNoCycle((void**) (&(*n).kindU.S6.Sons->data[i]), x);
}

N_NIMCALL(tnode224816*, transformarrayaccess_438919)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* 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_435031(n);
		{
			NI i_439005;
			NI HEX3Atmp_439021;
			NI LOC9;
			NI res_439024;
			i_439005 = 0;
			HEX3Atmp_439021 = 0;
			LOC9 = 0;
			LOC9 = len_225364(n);
			HEX3Atmp_439021 = (LOC9 - 1);
			res_439024 = 0;
			{
				while (1) {
					tnode224816* LOC12;
					tnode224816* LOC13;
					if (!(res_439024 <= HEX3Atmp_439021)) goto LA11;
					i_439005 = res_439024;
					LOC12 = 0;
					LOC12 = skipconv_272732((*n).kindU.S6.Sons->data[i_439005]);
					LOC13 = 0;
					LOC13 = transform_435516(c, LOC12);
					HEX5BHEX5DHEX3D_435128(result, i_439005, LOC13);
					res_439024 += 1;
				} LA11: ;
			}
		}
	}
	LA1: ;
	return result;
}

static N_INLINE(NI, sonslen_225249)(tnode224816* 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(tsym224846*, getcurrowner_435460)(ttransfcontext435011* c) {
	tsym224846* 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(tsym224846*, newlabel_436426)(ttransfcontext435011* c, tnode224816* n) {
	tsym224846* result;
	tsym224846* LOC1;
	NimStringDesc* LOC2;
	NimStringDesc* LOC3;
	result = 0;
	LOC1 = 0;
	LOC1 = getcurrowner_435460(c);
	result = newsym_225074(((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*) &TMP3136));
appendString(LOC2, LOC3);
	asgnRefNoCycle((void**) (&(*result).Name), getident_199472(LOC2));
	return result;
}

static N_INLINE(tnode224816*, newtransnode_435042)(NU8 kind, tlineinfo194539 info, NI sons) {
	tnode224816* result;
	tnode224816* x;
	result = 0;
	x = newnodei_225138(kind, info);
	if ((*x).kindU.S6.Sons) nimGCunrefNoCycle((*x).kindU.S6.Sons);
	(*x).kindU.S6.Sons = (tnodeseq224810*) newSeqRC1((&NTI224810), sons);
	result = x;
	return result;
}

N_NIMCALL(NIM_BOOL, hascontinue_436374)(tnode224816* 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_436390;
			NI HEX3Atmp_436406;
			NI LOC5;
			NI res_436409;
			i_436390 = 0;
			HEX3Atmp_436406 = 0;
			LOC5 = 0;
			LOC5 = sonslen_225249(n);
			HEX3Atmp_436406 = (NI64)(LOC5 - 1);
			res_436409 = 0;
			{
				while (1) {
					if (!(res_436409 <= HEX3Atmp_436406)) goto LA7;
					i_436390 = res_436409;
					{
						NIM_BOOL LOC10;
						LOC10 = 0;
						LOC10 = hascontinue_436374((*n).kindU.S6.Sons->data[i_436390]);
						if (!LOC10) goto LA11;
						result = NIM_TRUE;
						goto BeforeRet;
					}
					LA11: ;
					res_436409 += 1;
				} LA7: ;
			}
		}
	}
	break;
	}
	BeforeRet: ;
	return result;
}

static N_INLINE(tsym224846*, pop_436736)(tsymseq224818** s_436744) {
	tsym224846* result;
	NI l;
	result = 0;
	l = (NI64)((*s_436744)->Sup.len - 1);
	result = (*s_436744)->data[l];
	(*s_436744) = (tsymseq224818*) setLengthSeq(&((*s_436744))->Sup, sizeof(tsym224846*), l);
	return result;
}

N_NIMCALL(tnode224816*, transformloopbody_436787)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	result = 0;
	{
		NIM_BOOL LOC3;
		tsym224846* labl;
		tnode224816* LOC6;
		tnode224816* LOC7;
		tsym224846* LOC8;
		LOC3 = 0;
		LOC3 = hascontinue_436374(n);
		if (!LOC3) goto LA4;
		labl = newlabel_436426(c, n);
		(*c).Contsyms = (tsymseq224818*) incrSeq(&((*c).Contsyms)->Sup, sizeof(tsym224846*));
		asgnRefNoCycle((void**) (&(*c).Contsyms->data[(*c).Contsyms->Sup.len-1]), labl);
		result = newtransnode_435042(((NU8) 112), (*n).Info, 2);
		LOC6 = 0;
		LOC6 = newsymnode_225132(labl);
		HEX5BHEX5DHEX3D_435128(result, 0, LOC6);
		LOC7 = 0;
		LOC7 = transform_435516(c, n);
		HEX5BHEX5DHEX3D_435128(result, 1, LOC7);
		LOC8 = 0;
		LOC8 = pop_436736((&(*c).Contsyms));
	}
	goto LA1;
	LA4: ;
	{
		result = transform_435516(c, n);
	}
	LA1: ;
	return result;
}

static N_INLINE(void, add_435180)(tnode224816* a, tnode224816* b) {
	addson_225287(a, b);
}

N_NIMCALL(NU8, putarginto_437895)(tnode224816* arg, ttype224852* formal) {
	NU8 result;
	result = 0;
	{
		ttype224852* LOC3;
		LOC3 = 0;
		LOC3 = skiptypes_229245(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_437926;
			NI HEX3Atmp_437960;
			NI LOC9;
			NI res_437963;
			i_437926 = 0;
			HEX3Atmp_437960 = 0;
			LOC9 = 0;
			LOC9 = sonslen_225249(arg);
			HEX3Atmp_437960 = (NI64)(LOC9 - 1);
			res_437963 = 0;
			{
				while (1) {
					if (!(res_437963 <= HEX3Atmp_437960)) goto LA11;
					i_437926 = res_437963;
					{
						NU8 LOC14;
						LOC14 = 0;
						LOC14 = putarginto_437895((*arg).kindU.S6.Sons->data[i_437926], formal);
						if (!!((LOC14 == ((NU8) 0)))) goto LA15;
						goto BeforeRet;
					}
					LA15: ;
					res_437963 += 1;
				} LA11: ;
			}
		}
		result = ((NU8) 0);
	}
	break;
	default:
	{
		{
			ttype224852* LOC20;
			LOC20 = 0;
			LOC20 = skiptypes_229245(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(tsym224846*, newtemp_435487)(ttransfcontext435011* c, ttype224852* typ, tlineinfo194539 info) {
	tsym224846* result;
	tident199021* LOC1;
	tsym224846* LOC2;
	result = 0;
	LOC1 = 0;
	LOC1 = getident_199472(((NimStringDesc*) &TMP3136));
	LOC2 = 0;
	LOC2 = getcurrowner_435460(c);
	result = newsym_225074(((NU8) 5), LOC1, LOC2, info);
	asgnRefNoCycle((void**) (&(*result).Typ), skiptypes_229245(typ, 2048));
	(*result).Flags |= ((NI32)1)<<((((NU8) 2))%(sizeof(NI32)*8));
	return result;
}

N_NIMCALL(tnode224816*, newasgnstmt_435576)(ttransfcontext435011* c, tnode224816* le, tnode224816* ri) {
	tnode224816* result;
	result = 0;
	result = newtransnode_435042(((NU8) 74), (*ri).Info, 2);
	HEX5BHEX5DHEX3D_435128(result, 0, le);
	HEX5BHEX5DHEX3D_435128(result, 1, ri);
	return result;
}

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

static N_INLINE(NI, safelen_225424)(tnode224816* 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_436437)(ttransfcontext435011* c, tnode224816* n, tidtable224864* symmap) {
	{
		if (!((*n).Kind == ((NU8) 112) || (*n).Kind == ((NU8) 127))) goto LA3;
		{
			tsym224846* x;
			tnode224816* LOC9;
			tnode224816* LOC10;
			tidobj199015* LOC11;
			TNimObject* LOC12;
			if (!((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 3))) goto LA7;
			LOC9 = 0;
			LOC9 = HEX5BHEX5D_225698(n, 0);
			x = newlabel_436426(c, LOC9);
			LOC10 = 0;
			LOC10 = HEX5BHEX5D_225698(n, 0);
			LOC11 = 0;
			LOC11 = &(*LOC10).kindU.S4.Sym->Sup;
			LOC12 = 0;
			LOC12 = &x->Sup.Sup;
			idtableput_234196(symmap, LOC11, LOC12);
			asgnRefNoCycle((void**) (&(*(*n).kindU.S6.Sons->data[0]).kindU.S4.Sym), x);
		}
		LA7: ;
	}
	LA3: ;
	{
		NIM_BOOL LOC15;
		tsym224846* x;
		tidobj199015* 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_234182((*symmap), LOC19);
		x = ((tsym224846*) (LOC20));
		{
			if (!!((x == NIM_NIL))) goto LA23;
			asgnRefNoCycle((void**) (&(*n).kindU.S4.Sym), x);
		}
		LA23: ;
	}
	goto LA13;
	LA17: ;
	{
		{
			NI i_436622;
			NI HEX3Atmp_436638;
			NI LOC27;
			NI res_436641;
			i_436622 = 0;
			HEX3Atmp_436638 = 0;
			LOC27 = 0;
			LOC27 = safelen_225424(n);
			HEX3Atmp_436638 = (LOC27 - 1);
			res_436641 = 0;
			{
				while (1) {
					if (!(res_436641 <= HEX3Atmp_436638)) goto LA29;
					i_436622 = res_436641;
					freshlabels_436437(c, (*n).kindU.S6.Sons->data[i_436622], symmap);
					res_436641 += 1;
				} LA29: ;
			}
		}
	}
	LA13: ;
}

N_NIMCALL(void, poptranscon_435434)(ttransfcontext435011* c) {
	{
		if (!((*c).Transcon == NIM_NIL)) goto LA3;
		internalerror_197006(((NimStringDesc*) &TMP3143));
	}
	LA3: ;
	asgnRef((void**) (&(*c).Transcon), (*(*c).Transcon).Next);
}

N_NIMCALL(tnode224816*, transformfor_438146)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	NI length;
	tnode224816* call;
	tsym224846* labl;
	tnode224816* LOC5;
	tnode224816* stmtlist;
	tnode224816* loopbody;
	tsym224846* LOC18;
	tnode224816* v;
	tsym224846* iter;
	ttranscon435009* newc;
	tsym224846* LOC23;
	tnode224816* body;
	tnode224816* LOC50;
	tidtable224864 symmap;
	tnode224816* LOC51;
	result = 0;
	{
		if (!!(((*n).Kind == ((NU8) 94)))) goto LA3;
		internalerror_196987((*n).Info, ((NimStringDesc*) &TMP3135));
	}
	LA3: ;
	length = sonslen_225249(n);
	call = (*n).kindU.S6.Sons->data[(NI64)(length - 2)];
	labl = newlabel_436426(c, n);
	(*c).Breaksyms = (tsymseq224818*) incrSeq(&((*c).Breaksyms)->Sup, sizeof(tsym224846*));
	asgnRefNoCycle((void**) (&(*c).Breaksyms->data[(*c).Breaksyms->Sup.len-1]), labl);
	result = newtransnode_435042(((NU8) 112), (*n).Info, 2);
	LOC5 = 0;
	LOC5 = newsymnode_225132(labl);
	HEX5BHEX5DHEX3D_435128(result, 0, LOC5);
	{
		NIM_BOOL LOC8;
		NIM_BOOL LOC10;
		NIM_BOOL LOC11;
		tnode224816* LOC16;
		tsym224846* 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_436787(c, (*n).kindU.S6.Sons->data[(NI64)(length - 1)]));
		LOC16 = 0;
		LOC16 = liftforloop_433953(n);
		HEX5BHEX5DHEX3D_435128(result, 1, LOC16);
		LOC17 = 0;
		LOC17 = pop_436736((&(*c).Breaksyms));
		goto BeforeRet;
	}
	LA14: ;
	stmtlist = newtransnode_435042(((NU8) 115), (*n).Info, 0);
	loopbody = transformloopbody_436787(c, (*n).kindU.S6.Sons->data[(NI64)(length - 1)]);
	HEX5BHEX5DHEX3D_435128(result, 1, stmtlist);
	LOC18 = 0;
	LOC18 = pop_436736((&(*c).Breaksyms));
	v = newnodei_225138(((NU8) 99), (*n).Info);
	{
		NI i_438366;
		NI HEX3Atmp_438631;
		NI res_438634;
		i_438366 = 0;
		HEX3Atmp_438631 = 0;
		HEX3Atmp_438631 = (NI64)(length - 3);
		res_438634 = 0;
		{
			while (1) {
				tnode224816* LOC22;
				if (!(res_438634 <= HEX3Atmp_438631)) goto LA21;
				i_438366 = res_438634;
				LOC22 = 0;
				LOC22 = copytree_225329((*n).kindU.S6.Sons->data[i_438366]);
				addvar_423053(v, LOC22);
				res_438634 += 1;
			} LA21: ;
		}
	}
	add_435180(stmtlist, v);
	iter = (*(*call).kindU.S6.Sons->data[0]).kindU.S4.Sym;
	LOC23 = 0;
	LOC23 = getcurrowner_435460(c);
	newc = newtranscon_435200(LOC23);
	asgnRefNoCycle((void**) (&(*newc).Forstmt), n);
	asgnRefNoCycle((void**) (&(*newc).Forloopbody), loopbody);
	{
		NimStringDesc* LOC28;
		if (!!(((*iter).Kind == ((NU8) 14)))) goto LA26;
		LOC28 = 0;
		LOC28 = HEX24_197126(TMP3141);
		internalerror_197006(LOC28);
	}
	LA26: ;
	pushtranscon_435424(c, newc);
	{
		NI i_438448;
		NI HEX3Atmp_438638;
		NI LOC30;
		NI res_438641;
		i_438448 = 0;
		HEX3Atmp_438638 = 0;
		LOC30 = 0;
		LOC30 = sonslen_225249(call);
		HEX3Atmp_438638 = (NI64)(LOC30 - 1);
		res_438641 = 1;
		{
			while (1) {
				if (!(res_438641 <= HEX3Atmp_438638)) goto LA32;
				i_438448 = res_438641;
				{
					tnode224816* arg;
					tsym224846* formal;
					ttype224852* LOC34;
					NU8 LOC39;
					arg = transform_435516(c, (*call).kindU.S6.Sons->data[i_438448]);
					LOC34 = 0;
					LOC34 = skiptypes_229245((*iter).Typ, IL64(211106232576256));
					formal = (*(*(*LOC34).N).kindU.S6.Sons->data[i_438448]).kindU.S4.Sym;
					{
						if (!((*(*arg).Typ).Kind == ((NU8) 49))) goto LA37;
						goto LA33;
					}
					LA37: ;
					LOC39 = 0;
					LOC39 = putarginto_437895(arg, (*formal).Typ);
					switch (LOC39) {
					case ((NU8) 0):
					{
						tidobj199015* LOC41;
						LOC41 = 0;
						LOC41 = &formal->Sup;
						idnodetableput_234219((&(*newc).Mapping), LOC41, arg);
					}
					break;
					case ((NU8) 1):
					{
						tsym224846* temp;
						tnode224816* LOC43;
						tnode224816* LOC44;
						tnode224816* LOC45;
						tidobj199015* LOC46;
						tnode224816* LOC47;
						temp = newtemp_435487(c, (*formal).Typ, (*formal).Info);
						LOC43 = 0;
						LOC43 = newsymnode_225132(temp);
						addvar_423053(v, LOC43);
						LOC44 = 0;
						LOC44 = newsymnode_225132(temp);
						LOC45 = 0;
						LOC45 = newasgnstmt_435576(c, LOC44, arg);
						add_435180(stmtlist, LOC45);
						LOC46 = 0;
						LOC46 = &formal->Sup;
						LOC47 = 0;
						LOC47 = newsymnode_225132(temp);
						idnodetableput_234219((&(*newc).Mapping), LOC46, LOC47);
					}
					break;
					case ((NU8) 2):
					{
						tidobj199015* LOC49;
						LOC49 = 0;
						LOC49 = &formal->Sup;
						idnodetableput_234219((&(*newc).Mapping), LOC49, arg);
					}
					break;
					}
				} LA33: ;
				res_438641 += 1;
			} LA32: ;
		}
	}
	LOC50 = 0;
	LOC50 = getbody_278269(iter);
	body = copytree_225329(LOC50);
	pushinfocontext_195930((*n).Info);
	memset((void*)(&symmap), 0, sizeof(symmap));
	initidtable_225167((&symmap));
	freshlabels_436437(c, body, (&symmap));
	(*c).Inlining += 1;
	LOC51 = 0;
	LOC51 = transform_435516(c, body);
	add_435180(stmtlist, LOC51);
	(*c).Inlining -= 1;
	popinfocontext_195957();
	poptranscon_435434(c);
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode224816*, transformsons_435523)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	result = 0;
	result = newtransnode_435031(n);
	{
		NI i_435540;
		NI HEX3Atmp_435556;
		NI LOC2;
		NI res_435559;
		i_435540 = 0;
		HEX3Atmp_435556 = 0;
		LOC2 = 0;
		LOC2 = sonslen_225249(n);
		HEX3Atmp_435556 = (NI64)(LOC2 - 1);
		res_435559 = 0;
		{
			while (1) {
				tnode224816* LOC5;
				if (!(res_435559 <= HEX3Atmp_435556)) goto LA4;
				i_435540 = res_435559;
				LOC5 = 0;
				LOC5 = transform_435516(c, (*n).kindU.S6.Sons->data[i_435540]);
				HEX5BHEX5DHEX3D_435128(result, i_435540, LOC5);
				res_435559 += 1;
			} LA4: ;
		}
	}
	return result;
}

static N_INLINE(tnode224816*, newtransnode_435085)(NU8 kind, tnode224816* n, NI sons) {
	tnode224816* result;
	tnode224816* x;
	result = 0;
	x = newnodeit_225145(kind, (*n).Info, (*n).Typ);
	if ((*x).kindU.S6.Sons) nimGCunrefNoCycle((*x).kindU.S6.Sons);
	(*x).kindU.S6.Sons = (tnodeseq224810*) newSeqRC1((&NTI224810), sons);
	asgnRefNoCycle((void**) (&(*x).Typ), (*n).Typ);
	result = x;
	return result;
}

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

N_NIMCALL(tnode224816*, transformcase_438774)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	tnode224816* ifs;
	result = 0;
	result = newtransnode_435085(((NU8) 97), n, 0);
	ifs = NIM_NIL;
	{
		NI i_438790;
		NI HEX3Atmp_438899;
		NI LOC2;
		NI res_438902;
		i_438790 = 0;
		HEX3Atmp_438899 = 0;
		LOC2 = 0;
		LOC2 = sonslen_225249(n);
		HEX3Atmp_438899 = (NI64)(LOC2 - 1);
		res_438902 = 0;
		{
			while (1) {
				tnode224816* it;
				tnode224816* e;
				if (!(res_438902 <= HEX3Atmp_438899)) goto LA4;
				i_438790 = res_438902;
				it = (*n).kindU.S6.Sons->data[i_438790];
				e = transform_435516(c, it);
				switch ((*it).Kind) {
				case ((NU8) 86):
				{
					{
						if (!(ifs == NIM_NIL)) goto LA8;
						ifs = newtransnode_435042(((NU8) 92), (*it).Info, 0);
					}
					LA8: ;
					add_435180(ifs, e);
				}
				break;
				case ((NU8) 88):
				{
					{
						if (!(ifs == NIM_NIL)) goto LA13;
						add_435180(result, e);
					}
					goto LA11;
					LA13: ;
					{
						add_435180(ifs, e);
					}
					LA11: ;
				}
				break;
				default:
				{
					add_435180(result, e);
				}
				break;
				}
				res_438902 += 1;
			} LA4: ;
		}
	}
	{
		tnode224816* elsebranch;
		if (!!((ifs == NIM_NIL))) goto LA19;
		elsebranch = newtransnode_435042(((NU8) 88), (*n).Info, 1);
		HEX5BHEX5DHEX3D_435128(elsebranch, 0, ifs);
		add_435180(result, elsebranch);
	}
	goto LA17;
	LA19: ;
	{
		NIM_BOOL LOC22;
		tnode224816* LOC23;
		ttype224852* LOC25;
		tnode224816* elsebranch;
		tnode224816* LOC28;
		LOC22 = 0;
		LOC23 = 0;
		LOC23 = lastson_225261(result);
		LOC22 = !(((*LOC23).Kind == ((NU8) 88)));
		if (!(LOC22)) goto LA24;
		LOC25 = 0;
		LOC25 = skiptypes_229245((*(*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_435042(((NU8) 88), (*n).Info, 1);
		LOC28 = 0;
		LOC28 = newtransnode_435042(((NU8) 23), (*n).Info, 0);
		HEX5BHEX5DHEX3D_435128(elsebranch, 0, LOC28);
		add_435180(result, elsebranch);
	}
	goto LA17;
	LA26: ;
	LA17: ;
	return result;
}

N_NIMCALL(tnode224816*, transformbreak_436957)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* 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: ;
	{
		tsym224846* labl;
		tnode224816* LOC8;
		labl = (*c).Breaksyms->data[((*c).Breaksyms->Sup.len-1)];
		result = transformsons_435523(c, n);
		LOC8 = 0;
		LOC8 = newsymnode_225132(labl);
		HEX5BHEX5DHEX3D_435128(result, 0, LOC8);
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode224816*, transformwhile_436833)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	result = 0;
	{
		if (!(0 < (*c).Inlining)) goto LA3;
		result = transformsons_435523(c, n);
	}
	goto LA1;
	LA3: ;
	{
		tsym224846* labl;
		tnode224816* LOC6;
		tnode224816* body;
		NI LOC12;
		NI LOC13;
		tnode224816* LOC14;
		tsym224846* LOC15;
		labl = newlabel_436426(c, n);
		(*c).Breaksyms = (tsymseq224818*) incrSeq(&((*c).Breaksyms)->Sup, sizeof(tsym224846*));
		asgnRefNoCycle((void**) (&(*c).Breaksyms->data[(*c).Breaksyms->Sup.len-1]), labl);
		result = newtransnode_435042(((NU8) 112), (*n).Info, 2);
		LOC6 = 0;
		LOC6 = newsymnode_225132(labl);
		HEX5BHEX5DHEX3D_435128(result, 0, LOC6);
		body = newtransnode_435031(n);
		{
			NI i_436869;
			NI HEX3Atmp_436937;
			NI LOC8;
			NI res_436940;
			i_436869 = 0;
			HEX3Atmp_436937 = 0;
			LOC8 = 0;
			LOC8 = len_225364(n);
			HEX3Atmp_436937 = (NI64)(LOC8 - 2);
			res_436940 = 0;
			{
				while (1) {
					tnode224816* LOC11;
					if (!(res_436940 <= HEX3Atmp_436937)) goto LA10;
					i_436869 = res_436940;
					LOC11 = 0;
					LOC11 = transform_435516(c, (*n).kindU.S6.Sons->data[i_436869]);
					HEX5BHEX5DHEX3D_435128(body, i_436869, LOC11);
					res_436940 += 1;
				} LA10: ;
			}
		}
		LOC12 = 0;
		LOC12 = len_225364(n);
		LOC13 = 0;
		LOC13 = len_225364(n);
		LOC14 = 0;
		LOC14 = transformloopbody_436787(c, (*n).kindU.S6.Sons->data[(LOC13 - 1)]);
		HEX5BHEX5DHEX3D_435128(body, (LOC12 - 1), LOC14);
		HEX5BHEX5DHEX3D_435128(result, 1, body);
		LOC15 = 0;
		LOC15 = pop_436736((&(*c).Breaksyms));
	}
	LA1: ;
	return result;
}

N_NIMCALL(tsym224846*, getmergeop_439041)(tnode224816* n) {
	tsym224846* 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_439180)(tnode224816* d, tnode224816* a, tsym224846* op) {
	tsym224846* op2;
	op2 = getmergeop_439041(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_439233;
			NI HEX3Atmp_439249;
			NI LOC12;
			NI res_439252;
			i_439233 = 0;
			HEX3Atmp_439249 = 0;
			LOC12 = 0;
			LOC12 = sonslen_225249(a);
			HEX3Atmp_439249 = (NI64)(LOC12 - 1);
			res_439252 = 1;
			{
				while (1) {
					if (!(res_439252 <= HEX3Atmp_439249)) goto LA14;
					i_439233 = res_439252;
					flattentreeaux_439180(d, (*a).kindU.S6.Sons->data[i_439233], op);
					res_439252 += 1;
				} LA14: ;
			}
		}
	}
	goto LA1;
	LA9: ;
	{
		tnode224816* LOC16;
		LOC16 = 0;
		LOC16 = copytree_225329(a);
		addson_225287(d, LOC16);
	}
	LA1: ;
}

N_NIMCALL(tnode224816*, flattentree_439269)(tnode224816* root) {
	tnode224816* result;
	tsym224846* op;
	result = 0;
	op = getmergeop_439041(root);
	{
		tnode224816* LOC5;
		if (!!((op == NIM_NIL))) goto LA3;
		result = copynode_225323(root);
		LOC5 = 0;
		LOC5 = copytree_225329((*root).kindU.S6.Sons->data[0]);
		addson_225287(result, LOC5);
		flattentreeaux_439180(result, root, op);
	}
	goto LA1;
	LA3: ;
	{
		result = root;
	}
	LA1: ;
	return result;
}

static N_INLINE(NI, len_435190)(tnode224816* a) {
	NI result;
	result = 0;
	result = sonslen_225249(a);
	return result;
}

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

N_NIMCALL(tnode224816*, transformcall_439311)(ttransfcontext435011* c, tnode224816* n_439314) {
	tnode224816* result;
	tnode224816* n;
	tsym224846* op;
	NU16 magic;
	result = 0;
	n = flattentree_439269(n_439314);
	op = getmergeop_439041(n);
	magic = getmagic_260845(n);
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		NI LOC7;
		tnode224816* 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_225364(n);
		LOC3 = (3 <= LOC7);
		LA6: ;
		if (!LOC3) goto LA8;
		result = newtransnode_435085(((NU8) 27), n, 0);
		LOC10 = 0;
		LOC10 = transform_435516(c, (*n).kindU.S6.Sons->data[0]);
		add_435180(result, LOC10);
		j = 1;
		{
			while (1) {
				NI LOC13;
				tnode224816* a;
				LOC13 = 0;
				LOC13 = sonslen_225249(n);
				if (!(j < LOC13)) goto LA12;
				a = transform_435516(c, (*n).kindU.S6.Sons->data[j]);
				j += 1;
				{
					NIM_BOOL LOC16;
					LOC16 = 0;
					LOC16 = isconstexpr_260921(a);
					if (!LOC16) goto LA17;
					{
						while (1) {
							NI LOC21;
							tnode224816* b;
							LOC21 = 0;
							LOC21 = sonslen_225249(n);
							if (!(j < LOC21)) goto LA20;
							b = transform_435516(c, (*n).kindU.S6.Sons->data[j]);
							{
								NIM_BOOL LOC24;
								LOC24 = 0;
								LOC24 = isconstexpr_260921(b);
								if (!!(LOC24)) goto LA25;
								goto LA19;
							}
							LA25: ;
							a = evalop_303011((*op).Magic, n, a, b, NIM_NIL);
							j += 1;
						} LA20: ;
					} LA19: ;
				}
				LA17: ;
				add_435180(result, a);
			} LA12: ;
		}
		{
			NI LOC29;
			LOC29 = 0;
			LOC29 = len_435190(result);
			if (!(LOC29 == 2)) goto LA30;
			result = HEX5BHEX5D_435154(result, 1);
		}
		LA30: ;
	}
	goto LA1;
	LA8: ;
	{
		if (!(magic == ((NU16) 253))) goto LA33;
		result = n;
	}
	goto LA1;
	LA33: ;
	{
		tnode224816* LOC38;
		if (!(magic == ((NU16) 218))) goto LA36;
		LOC38 = 0;
		LOC38 = HEX5BHEX5D_225698(n, 1);
		result = transformsons_435523(c, LOC38);
	}
	goto LA1;
	LA36: ;
	{
		tnode224816* s;
		s = transformsons_435523(c, n);
		{
			NIM_BOOL LOC42;
			tnode224816* 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_225261((*(*(*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_421824((*(*s).kindU.S6.Sons->data[0]).kindU.S4.Sym, NIM_FALSE);
			}
			LA50: ;
			result = methodcall_421056(s);
		}
		goto LA40;
		LA44: ;
		{
			result = s;
		}
		LA40: ;
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode224816*, transformaddrderef_437268)(ttransfcontext435011* c, tnode224816* n_437271, NU8 a, NU8 b) {
	tnode224816* result;
	tnode224816* n;
	result = 0;
	result = transformsons_435523(c, n_437271);
	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):
	{
		tnode224816* 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):
	{
		tnode224816* 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(tnode224816*, transformconv_437576)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	ttype224852* dest;
	ttype224852* source;
	result = 0;
	dest = skiptypes_229245((*n).Typ, IL64(211106242013440));
	source = skiptypes_229245((*(*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_262092(source);
			if (!!(LOC4)) goto LA5;
			result = transformsons_435523(c, n);
		}
		goto LA2;
		LA5: ;
		{
			NIM_BOOL LOC8;
			NI64 LOC9;
			NI64 LOC10;
			NI64 LOC12;
			NI64 LOC13;
			LOC8 = 0;
			LOC9 = 0;
			LOC9 = firstord_262004((*n).Typ);
			LOC10 = 0;
			LOC10 = firstord_262004((*(*n).kindU.S6.Sons->data[1]).Typ);
			LOC8 = (LOC9 <= LOC10);
			if (!(LOC8)) goto LA11;
			LOC12 = 0;
			LOC12 = lastord_262010((*(*n).kindU.S6.Sons->data[1]).Typ);
			LOC13 = 0;
			LOC13 = lastord_262010((*n).Typ);
			LOC8 = (LOC12 <= LOC13);
			LA11: ;
			if (!LOC8) goto LA14;
			result = transformsons_435523(c, n);
		}
		goto LA2;
		LA14: ;
		{
			tnode224816* LOC24;
			NI64 LOC25;
			tnode224816* LOC26;
			NI64 LOC27;
			tnode224816* 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_435085(((NU8) 69), n, 3);
			}
			goto LA17;
			LA21: ;
			{
				result = newtransnode_435085(((NU8) 70), n, 3);
			}
			LA17: ;
			dest = skiptypes_229245((*n).Typ, IL64(211106240964864));
			LOC24 = 0;
			LOC24 = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_435128(result, 0, LOC24);
			LOC25 = 0;
			LOC25 = firstord_262004(dest);
			LOC26 = 0;
			LOC26 = newinttypenode_225103(((NU8) 6), LOC25, source);
			HEX5BHEX5DHEX3D_435128(result, 1, LOC26);
			LOC27 = 0;
			LOC27 = lastord_262010(dest);
			LOC28 = 0;
			LOC28 = newinttypenode_225103(((NU8) 6), LOC27, source);
			HEX5BHEX5DHEX3D_435128(result, 2, LOC28);
		}
		LA2: ;
	}
	break;
	case ((NU8) 36) ... ((NU8) 39):
	{
		{
			ttype224852* LOC32;
			tnode224816* LOC35;
			tnode224816* LOC36;
			tnode224816* LOC37;
			LOC32 = 0;
			LOC32 = skiptypes_229245((*n).Typ, IL64(211106240964864));
			if (!((*LOC32).Kind == ((NU8) 20))) goto LA33;
			result = newtransnode_435085(((NU8) 68), n, 3);
			dest = skiptypes_229245((*n).Typ, IL64(211106240964864));
			LOC35 = 0;
			LOC35 = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_435128(result, 0, LOC35);
			LOC36 = 0;
			LOC36 = copytree_225329((*(*dest).N).kindU.S6.Sons->data[0]);
			HEX5BHEX5DHEX3D_435128(result, 1, LOC36);
			LOC37 = 0;
			LOC37 = copytree_225329((*(*dest).N).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_435128(result, 2, LOC37);
		}
		goto LA30;
		LA33: ;
		{
			result = transformsons_435523(c, n);
		}
		LA30: ;
	}
	break;
	case ((NU8) 27):
	case ((NU8) 48):
	{
		result = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
	}
	break;
	case ((NU8) 29):
	{
		{
			tnode224816* LOC45;
			if (!((*source).Kind == ((NU8) 28))) goto LA43;
			result = newtransnode_435085(((NU8) 71), n, 1);
			LOC45 = 0;
			LOC45 = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_435128(result, 0, LOC45);
		}
		goto LA41;
		LA43: ;
		{
			result = transformsons_435523(c, n);
		}
		LA41: ;
	}
	break;
	case ((NU8) 28):
	{
		{
			tnode224816* LOC52;
			if (!((*source).Kind == ((NU8) 29))) goto LA50;
			result = newtransnode_435085(((NU8) 72), n, 1);
			LOC52 = 0;
			LOC52 = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_435128(result, 0, LOC52);
		}
		goto LA48;
		LA50: ;
		{
			result = transformsons_435523(c, n);
		}
		LA48: ;
	}
	break;
	case ((NU8) 22):
	case ((NU8) 21):
	{
		dest = skiptypes_229245(dest, IL64(211106247256320));
		source = skiptypes_229245(source, IL64(211106247256320));
		{
			NI diff;
			if (!((*source).Kind == ((NU8) 17))) goto LA57;
			diff = inheritancediff_269588(dest, source);
			{
				tnode224816* LOC63;
				if (!(diff < 0)) goto LA61;
				result = newtransnode_435085(((NU8) 67), n, 1);
				LOC63 = 0;
				LOC63 = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
				HEX5BHEX5DHEX3D_435128(result, 0, LOC63);
			}
			goto LA59;
			LA61: ;
			{
				tnode224816* LOC67;
				if (!(0 < diff)) goto LA65;
				result = newtransnode_435085(((NU8) 66), n, 1);
				LOC67 = 0;
				LOC67 = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
				HEX5BHEX5DHEX3D_435128(result, 0, LOC67);
			}
			goto LA59;
			LA65: ;
			{
				result = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
			}
			LA59: ;
		}
		goto LA55;
		LA57: ;
		{
			result = transformsons_435523(c, n);
		}
		LA55: ;
	}
	break;
	case ((NU8) 17):
	{
		NI diff;
		diff = inheritancediff_269588(dest, source);
		{
			tnode224816* LOC75;
			if (!(diff < 0)) goto LA73;
			result = newtransnode_435085(((NU8) 67), n, 1);
			LOC75 = 0;
			LOC75 = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_435128(result, 0, LOC75);
		}
		goto LA71;
		LA73: ;
		{
			tnode224816* LOC79;
			if (!(0 < diff)) goto LA77;
			result = newtransnode_435085(((NU8) 66), n, 1);
			LOC79 = 0;
			LOC79 = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_435128(result, 0, LOC79);
		}
		goto LA71;
		LA77: ;
		{
			result = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
		}
		LA71: ;
	}
	break;
	case ((NU8) 12):
	case ((NU8) 15):
	{
		result = transform_435516(c, (*n).kindU.S6.Sons->data[1]);
	}
	break;
	default:
	{
		result = transformsons_435523(c, n);
	}
	break;
	}
	return result;
}

N_NIMCALL(tnode224816*, transformconstsection_436251)(ttransfcontext435011* c, tnode224816* v) {
	tnode224816* result;
	result = 0;
	result = newtransnode_435031(v);
	{
		NI i_436268;
		NI HEX3Atmp_436354;
		NI LOC2;
		NI res_436357;
		i_436268 = 0;
		HEX3Atmp_436354 = 0;
		LOC2 = 0;
		LOC2 = sonslen_225249(v);
		HEX3Atmp_436354 = (NI64)(LOC2 - 1);
		res_436357 = 0;
		{
			while (1) {
				tnode224816* it;
				if (!(res_436357 <= HEX3Atmp_436354)) goto LA4;
				i_436268 = res_436357;
				it = (*v).kindU.S6.Sons->data[i_436268];
				{
					if (!((*it).Kind == ((NU8) 125))) goto LA7;
					HEX5BHEX5DHEX3D_435128(result, i_436268, it);
				}
				goto LA5;
				LA7: ;
				{
					{
						if (!!(((*it).Kind == ((NU8) 102)))) goto LA12;
						internalerror_196987((*it).Info, ((NimStringDesc*) &TMP3156));
					}
					LA12: ;
					{
						if (!!(((*(*it).kindU.S6.Sons->data[0]).Kind == ((NU8) 3)))) goto LA16;
						internalerror_196987((*it).Info, ((NimStringDesc*) &TMP3156));
					}
					LA16: ;
					{
						tnode224816* LOC20;
						tnode224816* b;
						tnode224816* LOC23;
						tnode224816* LOC24;
						tnode224816* LOC25;
						LOC20 = 0;
						LOC20 = HEX5BHEX5D_225698(it, 0);
						if (!(((*(*LOC20).kindU.S4.Sym).Flags &(1<<((((NU8) 25))&31)))!=0)) goto LA21;
						b = newnodei_225138(((NU8) 102), (*it).Info);
						LOC23 = 0;
						LOC23 = HEX5BHEX5D_225698(it, 0);
						addson_225287(b, LOC23);
						addson_225287(b, emptynode_225738);
						LOC24 = 0;
						LOC24 = HEX5BHEX5D_225698(it, 2);
						LOC25 = 0;
						LOC25 = transform_435516(c, LOC24);
						addson_225287(b, LOC25);
						HEX5BHEX5DHEX3D_435128(result, i_436268, b);
					}
					goto LA18;
					LA21: ;
					{
						HEX5BHEX5DHEX3D_435128(result, i_436268, it);
					}
					LA18: ;
				}
				LA5: ;
				res_436357 += 1;
			} LA4: ;
		}
	}
	return result;
}

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

N_NIMCALL(tnode224816*, transformvarsection_435732)(ttransfcontext435011* c, tnode224816* v) {
	tnode224816* result;
	result = 0;
	result = newtransnode_435031(v);
	{
		NI i_435749;
		NI HEX3Atmp_436222;
		NI LOC2;
		NI res_436225;
		i_435749 = 0;
		HEX3Atmp_436222 = 0;
		LOC2 = 0;
		LOC2 = sonslen_225249(v);
		HEX3Atmp_436222 = (NI64)(LOC2 - 1);
		res_436225 = 0;
		{
			while (1) {
				tnode224816* it;
				if (!(res_436225 <= HEX3Atmp_436222)) goto LA4;
				i_435749 = res_436225;
				it = (*v).kindU.S6.Sons->data[i_435749];
				{
					if (!((*it).Kind == ((NU8) 125))) goto LA7;
					HEX5BHEX5DHEX3D_435128(result, i_435749, it);
				}
				goto LA5;
				LA7: ;
				{
					tsym224846* newvar;
					tidobj199015* LOC22;
					tnode224816* LOC23;
					tnode224816* defs;
					tnode224816* LOC30;
					tnode224816* LOC31;
					if (!((*it).Kind == ((NU8) 35))) goto LA10;
					{
						if (!!(((*(*it).kindU.S6.Sons->data[0]).Kind == ((NU8) 3)))) goto LA14;
						internalerror_196987((*it).Info, ((NimStringDesc*) &TMP3157));
					}
					LA14: ;
					{
						NI LOC18;
						NimStringDesc* LOC21;
						LOC18 = 0;
						LOC18 = len_225364(it);
						if (!!((LOC18 == 3))) goto LA19;
						LOC21 = 0;
						LOC21 = HEX24_197126(TMP3158);
						internalerror_197006(LOC21);
					}
					LA19: ;
					newvar = copysym_225203((*(*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_435460(c));
					LOC22 = 0;
					LOC22 = &(*(*it).kindU.S6.Sons->data[0]).kindU.S4.Sym->Sup;
					LOC23 = 0;
					LOC23 = newsymnode_225132(newvar);
					idnodetableput_234219((&(*(*c).Transcon).Mapping), LOC22, LOC23);
					defs = newtransnode_435042(((NU8) 35), (*it).Info, 3);
					{
						NIM_BOOL LOC26;
						NimStringDesc* LOC29;
						LOC26 = 0;
						LOC26 = importantcomments_168156();
						if (!LOC26) goto LA27;
						LOC29 = 0;
						LOC29 = (*defs).Comment; (*defs).Comment = copyStringRC1((*it).Comment);
						if (LOC29) nimGCunrefNoCycle(LOC29);
					}
					LA27: ;
					LOC30 = 0;
					LOC30 = newsymnode_225132(newvar);
					HEX5BHEX5DHEX3D_435128(defs, 0, LOC30);
					HEX5BHEX5DHEX3D_435128(defs, 1, (*it).kindU.S6.Sons->data[1]);
					LOC31 = 0;
					LOC31 = transform_435516(c, (*it).kindU.S6.Sons->data[2]);
					HEX5BHEX5DHEX3D_435128(defs, 2, LOC31);
					HEX5BHEX5DHEX3D_435128(result, i_435749, defs);
				}
				goto LA5;
				LA10: ;
				{
					NI l;
					tnode224816* defs;
					tnode224816* LOC43;
					{
						if (!!(((*it).Kind == ((NU8) 36)))) goto LA35;
						internalerror_196987((*it).Info, ((NimStringDesc*) &TMP3159));
					}
					LA35: ;
					l = sonslen_225249(it);
					defs = newtransnode_435042((*it).Kind, (*it).Info, l);
					{
						NI j_435939;
						NI HEX3Atmp_436217;
						NI res_436220;
						j_435939 = 0;
						HEX3Atmp_436217 = 0;
						HEX3Atmp_436217 = (NI64)(l - 3);
						res_436220 = 0;
						{
							while (1) {
								tsym224846* newvar;
								tidobj199015* LOC40;
								tnode224816* LOC41;
								tnode224816* LOC42;
								if (!(res_436220 <= HEX3Atmp_436217)) goto LA39;
								j_435939 = res_436220;
								newvar = copysym_225203((*(*it).kindU.S6.Sons->data[j_435939]).kindU.S4.Sym, NIM_FALSE);
								(*newvar).Flags |= ((NI32)1)<<((((NU8) 2))%(sizeof(NI32)*8));
								asgnRefNoCycle((void**) (&(*newvar).Owner), getcurrowner_435460(c));
								LOC40 = 0;
								LOC40 = &(*(*it).kindU.S6.Sons->data[j_435939]).kindU.S4.Sym->Sup;
								LOC41 = 0;
								LOC41 = newsymnode_225132(newvar);
								idnodetableput_234219((&(*(*c).Transcon).Mapping), LOC40, LOC41);
								LOC42 = 0;
								LOC42 = newsymnode_225132(newvar);
								HEX5BHEX5DHEX3D_435128(defs, j_435939, LOC42);
								res_436220 += 1;
							} LA39: ;
						}
					}
					HEX5BHEX5DHEX3D_435128(defs, (NI64)(l - 2), emptynode_225738);
					LOC43 = 0;
					LOC43 = transform_435516(c, (*it).kindU.S6.Sons->data[(NI64)(l - 1)]);
					HEX5BHEX5DHEX3D_435128(defs, (NI64)(l - 1), LOC43);
					HEX5BHEX5DHEX3D_435128(result, i_435749, defs);
				}
				LA5: ;
				res_436225 += 1;
			} LA4: ;
		}
	}
	return result;
}

N_NIMCALL(void, unpacktuple_437008)(ttransfcontext435011* c, tnode224816* n, tnode224816* father) {
	{
		NI i_437025;
		NI HEX3Atmp_437041;
		NI LOC2;
		NI res_437044;
		i_437025 = 0;
		HEX3Atmp_437041 = 0;
		LOC2 = 0;
		LOC2 = sonslen_225249((*(*c).Transcon).Forstmt);
		HEX3Atmp_437041 = (NI64)(LOC2 - 3);
		res_437044 = 0;
		{
			while (1) {
				tnode224816* LOC5;
				tnode224816* LOC6;
				tnode224816* LOC7;
				if (!(res_437044 <= HEX3Atmp_437041)) goto LA4;
				i_437025 = res_437044;
				LOC5 = 0;
				LOC5 = newtupleaccess_423027(n, i_437025);
				LOC6 = 0;
				LOC6 = transform_435516(c, LOC5);
				LOC7 = 0;
				LOC7 = newasgnstmt_435576(c, (*(*(*c).Transcon).Forstmt).kindU.S6.Sons->data[i_437025], LOC6);
				add_435180(father, LOC7);
				res_437044 += 1;
			} LA4: ;
		}
	}
}

N_NIMCALL(tnode224816*, introducenewlocalvars_437061)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	result = 0;
	switch ((*n).Kind) {
	case ((NU8) 3):
	{
		result = transformsym_435721(c, n);
	}
	break;
	case ((NU8) 1) ... ((NU8) 2):
	case ((NU8) 4) ... ((NU8) 23):
	{
		result = n;
	}
	break;
	case ((NU8) 99):
	case ((NU8) 100):
	{
		result = transformvarsection_435732(c, n);
	}
	break;
	default:
	{
		result = newtransnode_435031(n);
		{
			NI i_437104;
			NI HEX3Atmp_437120;
			NI LOC6;
			NI res_437123;
			i_437104 = 0;
			HEX3Atmp_437120 = 0;
			LOC6 = 0;
			LOC6 = sonslen_225249(n);
			HEX3Atmp_437120 = (NI64)(LOC6 - 1);
			res_437123 = 0;
			{
				while (1) {
					tnode224816* LOC9;
					if (!(res_437123 <= HEX3Atmp_437120)) goto LA8;
					i_437104 = res_437123;
					LOC9 = 0;
					LOC9 = introducenewlocalvars_437061(c, (*n).kindU.S6.Sons->data[i_437104]);
					HEX5BHEX5DHEX3D_435128(result, i_437104, LOC9);
					res_437123 += 1;
				} LA8: ;
			}
		}
	}
	break;
	}
	return result;
}

N_NIMCALL(tnode224816*, transformyield_437140)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	tnode224816* e;
	result = 0;
	result = newtransnode_435042(((NU8) 115), (*n).Info, 0);
	e = (*n).kindU.S6.Sons->data[0];
	{
		NIM_BOOL LOC3;
		ttype224852* LOC4;
		NI LOC6;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = skiptypes_229245((*e).Typ, 2048);
		LOC3 = ((*LOC4).Kind == ((NU8) 18));
		if (!(LOC3)) goto LA5;
		LOC6 = 0;
		LOC6 = len_225364((*(*c).Transcon).Forstmt);
		LOC3 = !((LOC6 == 3));
		LA5: ;
		if (!LOC3) goto LA7;
		e = skipconv_272732(e);
		{
			if (!((*e).Kind == ((NU8) 37))) goto LA11;
			{
				NI i_437191;
				NI HEX3Atmp_437248;
				NI LOC14;
				NI res_437251;
				i_437191 = 0;
				HEX3Atmp_437248 = 0;
				LOC14 = 0;
				LOC14 = sonslen_225249(e);
				HEX3Atmp_437248 = (NI64)(LOC14 - 1);
				res_437251 = 0;
				{
					while (1) {
						tnode224816* LOC17;
						tnode224816* LOC18;
						if (!(res_437251 <= HEX3Atmp_437248)) goto LA16;
						i_437191 = res_437251;
						LOC17 = 0;
						LOC17 = transform_435516(c, (*e).kindU.S6.Sons->data[i_437191]);
						LOC18 = 0;
						LOC18 = newasgnstmt_435576(c, (*(*(*c).Transcon).Forstmt).kindU.S6.Sons->data[i_437191], LOC17);
						add_435180(result, LOC18);
						res_437251 += 1;
					} LA16: ;
				}
			}
		}
		goto LA9;
		LA11: ;
		{
			unpacktuple_437008(c, e, result);
		}
		LA9: ;
	}
	goto LA1;
	LA7: ;
	{
		tnode224816* x;
		tnode224816* LOC21;
		x = transform_435516(c, e);
		LOC21 = 0;
		LOC21 = newasgnstmt_435576(c, (*(*(*c).Transcon).Forstmt).kindU.S6.Sons->data[0], x);
		add_435180(result, LOC21);
	}
	LA1: ;
	(*(*c).Transcon).Yieldstmts += 1;
	{
		if (!((*(*c).Transcon).Yieldstmts <= 1)) goto LA24;
		add_435180(result, (*(*c).Transcon).Forloopbody);
	}
	goto LA22;
	LA24: ;
	{
		tnode224816* LOC27;
		LOC27 = 0;
		LOC27 = introducenewlocalvars_437061(c, (*(*c).Transcon).Forloopbody);
		add_435180(result, LOC27);
	}
	LA22: ;
	return result;
}

N_NIMCALL(tnode224816*, transformblock_436658)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	tsym224846* labl;
	tsym224846* LOC6;
	tnode224816* 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_436426(c, n);
	}
	LA1: ;
	(*c).Breaksyms = (tsymseq224818*) incrSeq(&((*c).Breaksyms)->Sup, sizeof(tsym224846*));
	asgnRefNoCycle((void**) (&(*c).Breaksyms->data[(*c).Breaksyms->Sup.len-1]), labl);
	result = transformsons_435523(c, n);
	LOC6 = 0;
	LOC6 = pop_436736((&(*c).Breaksyms));
	LOC7 = 0;
	LOC7 = newsymnode_225132(labl);
	HEX5BHEX5DHEX3D_435128(result, 0, LOC7);
	return result;
}

static N_INLINE(NIM_BOOL, dontinlineconstant_439608)(tnode224816* orig, tnode224816* 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_225364(cnst);
	LOC1 = !((LOC5 == 0));
	LA4: ;
	result = LOC1;
	return result;
}

N_NIMCALL(tnode224816*, transform_435516)(ttransfcontext435011* c, tnode224816* n) {
	tnode224816* result;
	tnode224816* cnst;
	result = 0;
	switch ((*n).Kind) {
	case ((NU8) 3):
	{
		result = transformsym_435721(c, n);
	}
	break;
	case ((NU8) 1) ... ((NU8) 2):
	case ((NU8) 4) ... ((NU8) 23):
	{
		result = n;
	}
	break;
	case ((NU8) 42):
	{
		result = transformarrayaccess_438919(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_438146(c, n);
	}
	break;
	case ((NU8) 95):
	{
		result = transformsons_435523(c, n);
	}
	break;
	case ((NU8) 97):
	{
		result = transformcase_438774(c, n);
	}
	break;
	case ((NU8) 111):
	{
		tsym224846* labl;
		tnode224816* LOC10;
		result = newnodei_225138(((NU8) 110), (*n).Info);
		labl = (*c).Contsyms->data[((*c).Contsyms->Sup.len-1)];
		LOC10 = 0;
		LOC10 = newsymnode_225132(labl);
		add_435180(result, LOC10);
	}
	break;
	case ((NU8) 110):
	{
		result = transformbreak_436957(c, n);
	}
	break;
	case ((NU8) 96):
	{
		result = transformwhile_436833(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_439311(c, n);
	}
	break;
	case ((NU8) 63):
	case ((NU8) 64):
	{
		result = transformaddrderef_437268(c, n, ((NU8) 47), ((NU8) 65));
	}
	break;
	case ((NU8) 47):
	case ((NU8) 65):
	{
		result = transformaddrderef_437268(c, n, ((NU8) 63), ((NU8) 64));
	}
	break;
	case ((NU8) 58):
	case ((NU8) 59):
	case ((NU8) 60):
	{
		result = transformconv_437576(c, n);
	}
	break;
	case ((NU8) 114):
	{
		result = n;
		{
			if (!!(((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 1)))) goto LA20;
			result = transformsons_435523(c, n);
			{
				NIM_BOOL LOC24;
				LOC24 = 0;
				LOC24 = isconstexpr_260921((*result).kindU.S6.Sons->data[0]);
				if (!LOC24) goto LA25;
				result = newnode_225090(((NU8) 125));
			}
			LA25: ;
		}
		LA20: ;
	}
	break;
	case ((NU8) 125):
	case ((NU8) 83):
	{
		result = n;
		goto BeforeRet;
	}
	break;
	case ((NU8) 101):
	{
		result = transformconstsection_436251(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_435732(c, n);
		}
		goto LA31;
		LA33: ;
		{
			result = transformsons_435523(c, n);
		}
		LA31: ;
	}
	break;
	case ((NU8) 104):
	{
		{
			if (!(0 < (*c).Inlining)) goto LA39;
			result = transformyield_437140(c, n);
		}
		goto LA37;
		LA39: ;
		{
			result = transformsons_435523(c, n);
		}
		LA37: ;
	}
	break;
	case ((NU8) 112):
	case ((NU8) 127):
	{
		result = transformblock_436658(c, n);
	}
	break;
	case ((NU8) 35):
	case ((NU8) 102):
	{
		result = transformsons_435523(c, n);
		{
			NIM_BOOL LOC46;
			NimStringDesc* LOC49;
			LOC46 = 0;
			LOC46 = importantcomments_168156();
			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_435523(c, n);
	}
	break;
	}
	cnst = getconstexpr_303004((*c).Module, result);
	{
		NIM_BOOL LOC54;
		NIM_BOOL LOC56;
		LOC54 = 0;
		LOC54 = !((cnst == NIM_NIL));
		if (!(LOC54)) goto LA55;
		LOC56 = 0;
		LOC56 = dontinlineconstant_439608(n, cnst);
		LOC54 = !(LOC56);
		LA55: ;
		if (!LOC54) goto LA57;
		result = cnst;
	}
	LA57: ;
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode224816*, processtransf_440265)(ttransfcontext435011* c, tnode224816* n, tsym224846* owner) {
	tnode224816* result;
	ttranscon435009* 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_435200(owner);
	pushtranscon_435424(c, LOC7);
	result = transform_435516(c, n);
	poptranscon_435434(c);
	(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode224816*, transformexpr_440807)(tsym224846* module, tnode224816* n) {
	tnode224816* result;
	result = 0;
	{
		if (!(((*n).Flags &(1<<((((NU8) 5))&15)))!=0)) goto LA3;
		result = n;
	}
	goto LA1;
	LA3: ;
	{
		ttransfcontext435011* c;
		c = opentransf_440306(module, ((NimStringDesc*) &TMP3133));
		result = processtransf_440265(c, n, module);
		(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode224816*, commonoptimizations_439642)(tsym224846* c, tnode224816* n) {
	tnode224816* result;
	tsym224846* op;
	result = 0;
	result = n;
	{
		NI i_439668;
		NI HEX3Atmp_439815;
		NI LOC2;
		NI res_439818;
		i_439668 = 0;
		HEX3Atmp_439815 = 0;
		LOC2 = 0;
		LOC2 = safelen_225424(n);
		HEX3Atmp_439815 = (LOC2 - 1);
		res_439818 = 0;
		{
			while (1) {
				if (!(res_439818 <= HEX3Atmp_439815)) goto LA4;
				i_439668 = res_439818;
				asgnRefNoCycle((void**) (&(*result).kindU.S6.Sons->data[i_439668]), commonoptimizations_439642(c, (*n).kindU.S6.Sons->data[i_439668]));
				res_439818 += 1;
			} LA4: ;
		}
	}
	op = getmergeop_439041(n);
	{
		NIM_BOOL LOC7;
		NIM_BOOL LOC8;
		NI LOC11;
		tnode224816* 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_225249(n);
		LOC7 = (3 <= LOC11);
		LA10: ;
		if (!LOC7) goto LA12;
		result = newnodeit_225145(((NU8) 27), (*n).Info, (*n).Typ);
		add_225498(result, (*n).kindU.S6.Sons->data[0]);
		args = newnode_225090(((NU8) 151));
		flattentreeaux_439180(args, n, op);
		j = 0;
		{
			while (1) {
				NI LOC16;
				tnode224816* a;
				LOC16 = 0;
				LOC16 = sonslen_225249(args);
				if (!(j < LOC16)) goto LA15;
				a = (*args).kindU.S6.Sons->data[j];
				j += 1;
				{
					NIM_BOOL LOC19;
					LOC19 = 0;
					LOC19 = isconstexpr_260921(a);
					if (!LOC19) goto LA20;
					{
						while (1) {
							NI LOC24;
							tnode224816* b;
							LOC24 = 0;
							LOC24 = sonslen_225249(args);
							if (!(j < LOC24)) goto LA23;
							b = (*args).kindU.S6.Sons->data[j];
							{
								NIM_BOOL LOC27;
								LOC27 = 0;
								LOC27 = isconstexpr_260921(b);
								if (!!(LOC27)) goto LA28;
								goto LA22;
							}
							LA28: ;
							a = evalop_303011((*op).Magic, result, a, b, NIM_NIL);
							j += 1;
						} LA23: ;
					} LA22: ;
				}
				LA20: ;
				add_225498(result, a);
			} LA15: ;
		}
		{
			NI LOC32;
			LOC32 = 0;
			LOC32 = len_225364(result);
			if (!(LOC32 == 2)) goto LA33;
			result = HEX5BHEX5D_225698(result, 1);
		}
		LA33: ;
	}
	goto LA5;
	LA12: ;
	{
		tnode224816* cnst;
		cnst = getconstexpr_303004(c, n);
		{
			NIM_BOOL LOC38;
			NIM_BOOL LOC40;
			LOC38 = 0;
			LOC38 = !((cnst == NIM_NIL));
			if (!(LOC38)) goto LA39;
			LOC40 = 0;
			LOC40 = dontinlineconstant_439608(n, cnst);
			LOC38 = !(LOC40);
			LA39: ;
			if (!LOC38) goto LA41;
			result = cnst;
		}
		goto LA36;
		LA41: ;
		{
			result = n;
		}
		LA36: ;
	}
	LA5: ;
	return result;
}

N_NIMCALL(tnode224816*, transformbody_440373)(tsym224846* module, tnode224816* n, tsym224846* prc) {
	tnode224816* 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: ;
	{
		ttransfcontext435011* c;
		c = opentransf_440306(module, ((NimStringDesc*) &TMP3133));
		result = processtransf_440265(c, n, prc);
		result = liftlambdas_433871(prc, result);
		(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
		trackproc_383148(prc, result);
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode224816*, transformstmt_440607)(tsym224846* module, tnode224816* n) {
	tnode224816* result;
	result = 0;
	{
		if (!(((*n).Flags &(1<<((((NU8) 5))&15)))!=0)) goto LA3;
		result = n;
	}
	goto LA1;
	LA3: ;
	{
		ttransfcontext435011* c;
		c = opentransf_440306(module, ((NimStringDesc*) &TMP3133));
		result = processtransf_440265(c, n, module);
		result = liftlambdasfortoplevel_433921(module, result);
		(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
		tracktoplevelstmt_383410(module, result);
	}
	LA1: ;
	return result;
}
NIM_EXTERNC N_NOINLINE(void, HEX00_transfInit)(void) {
}

NIM_EXTERNC N_NOINLINE(void, HEX00_transfDatInit)(void) {
static TNimNode* TMP3126[6];
static TNimNode* TMP3127[6];
static TNimNode TMP926[14];
NTI435011.size = sizeof(ttransfcontext435011);
NTI435011.kind = 17;
NTI435011.base = (&NTI285005);
TMP3126[0] = &TMP926[1];
TMP926[1].kind = 1;
TMP926[1].offset = offsetof(ttransfcontext435011, Module);
TMP926[1].typ = (&NTI224814);
TMP926[1].name = "module";
TMP3126[1] = &TMP926[2];
NTI435009.size = sizeof(ttranscon435009);
NTI435009.kind = 18;
NTI435009.base = 0;
TMP3127[0] = &TMP926[4];
TMP926[4].kind = 1;
TMP926[4].offset = offsetof(ttranscon435009, Mapping);
TMP926[4].typ = (&NTI224870);
TMP926[4].name = "mapping";
TMP3127[1] = &TMP926[5];
TMP926[5].kind = 1;
TMP926[5].offset = offsetof(ttranscon435009, Owner);
TMP926[5].typ = (&NTI224814);
TMP926[5].name = "owner";
TMP3127[2] = &TMP926[6];
TMP926[6].kind = 1;
TMP926[6].offset = offsetof(ttranscon435009, Forstmt);
TMP926[6].typ = (&NTI224808);
TMP926[6].name = "forStmt";
TMP3127[3] = &TMP926[7];
TMP926[7].kind = 1;
TMP926[7].offset = offsetof(ttranscon435009, Forloopbody);
TMP926[7].typ = (&NTI224808);
TMP926[7].name = "forLoopBody";
TMP3127[4] = &TMP926[8];
TMP926[8].kind = 1;
TMP926[8].offset = offsetof(ttranscon435009, Yieldstmts);
TMP926[8].typ = (&NTI108);
TMP926[8].name = "yieldStmts";
TMP3127[5] = &TMP926[9];
TMP926[9].kind = 1;
TMP926[9].offset = offsetof(ttranscon435009, Next);
TMP926[9].typ = (&NTI435007);
TMP926[9].name = "next";
TMP926[3].len = 6; TMP926[3].kind = 2; TMP926[3].sons = &TMP3127[0];
NTI435009.node = &TMP926[3];
NTI435007.size = sizeof(ttranscon435009*);
NTI435007.kind = 22;
NTI435007.base = (&NTI435009);
NTI435007.marker = TMP3131;
TMP926[2].kind = 1;
TMP926[2].offset = offsetof(ttransfcontext435011, Transcon);
TMP926[2].typ = (&NTI435007);
TMP926[2].name = "transCon";
TMP3126[2] = &TMP926[10];
TMP926[10].kind = 1;
TMP926[10].offset = offsetof(ttransfcontext435011, Inlining);
TMP926[10].typ = (&NTI108);
TMP926[10].name = "inlining";
TMP3126[3] = &TMP926[11];
TMP926[11].kind = 1;
TMP926[11].offset = offsetof(ttransfcontext435011, Nestedprocs);
TMP926[11].typ = (&NTI108);
TMP926[11].name = "nestedProcs";
TMP3126[4] = &TMP926[12];
TMP926[12].kind = 1;
TMP926[12].offset = offsetof(ttransfcontext435011, Contsyms);
TMP926[12].typ = (&NTI224818);
TMP926[12].name = "contSyms";
TMP3126[5] = &TMP926[13];
TMP926[13].kind = 1;
TMP926[13].offset = offsetof(ttransfcontext435011, Breaksyms);
TMP926[13].typ = (&NTI224818);
TMP926[13].name = "breakSyms";
TMP926[0].len = 6; TMP926[0].kind = 2; TMP926[0].sons = &TMP3126[0];
NTI435011.node = &TMP926[0];
NTI435013.size = sizeof(ttransfcontext435011*);
NTI435013.kind = 22;
NTI435013.base = (&NTI435011);
NTI435013.marker = TMP3132;
}

