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

#include <string.h>
typedef struct tnode226816 tnode226816;
typedef struct tsym226846 tsym226846;
typedef struct ttype226852 ttype226852;
typedef struct tlineinfo196539 tlineinfo196539;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tident201021 tident201021;
typedef struct tnodeseq226810 tnodeseq226810;
typedef struct ttransfcontext437011 ttransfcontext437011;
typedef struct tpasscontext287005 tpasscontext287005;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct ttranscon437009 ttranscon437009;
typedef struct tsymseq226818 tsymseq226818;
typedef struct tidnodetable226870 tidnodetable226870;
typedef struct tidnodepairseq226868 tidnodepairseq226868;
typedef struct tidnodepair226866 tidnodepair226866;
typedef struct tidobj201015 tidobj201015;
typedef struct tcell44933 tcell44933;
typedef struct tcellseq44949 tcellseq44949;
typedef struct tgcheap47016 tgcheap47016;
typedef struct tcellset44945 tcellset44945;
typedef struct tpagedesc44941 tpagedesc44941;
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 ttypeseq226848 ttypeseq226848;
typedef struct tscope226840 tscope226840;
typedef struct TY226947 TY226947;
typedef struct tinstantiation226836 tinstantiation226836;
typedef struct tstrtable226820 tstrtable226820;
typedef struct tloc226830 tloc226830;
typedef struct trope178009 trope178009;
typedef struct tlib226834 tlib226834;
typedef struct TY84745 TY84745;
typedef struct tidtable226864 tidtable226864;
typedef struct tidpairseq226862 tidpairseq226862;
typedef struct tidpair226860 tidpair226860;
typedef struct tbasechunk26438 tbasechunk26438;
typedef struct tfreecell26430 tfreecell26430;
typedef struct TY226936 TY226936;
typedef struct tlistentry127022 tlistentry127022;
struct  tlineinfo196539  {
NI16 Line;
NI16 Col;
NI32 Fileindex;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  tnode226816  {
ttype226852* Typ;
tlineinfo196539 Info;
NU16 Flags;
NU8 Kind;
union {
struct {NI64 Intval;
} S1;
struct {NF Floatval;
} S2;
struct {NimStringDesc* Strval;
} S3;
struct {tsym226846* Sym;
} S4;
struct {tident201021* Ident;
} S5;
struct {tnodeseq226810* 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  tpasscontext287005  {
  TNimObject Sup;
NIM_BOOL Fromcache;
};
struct  ttransfcontext437011  {
  tpasscontext287005 Sup;
tsym226846* Module;
ttranscon437009* Transcon;
NI Inlining;
NI Nestedprocs;
tsymseq226818* Contsyms;
tsymseq226818* Breaksyms;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  tidnodepair226866  {
tidobj201015* Key;
tnode226816* Val;
};
struct  tidnodetable226870  {
NI Counter;
tidnodepairseq226868* Data;
};
struct  ttranscon437009  {
tidnodetable226870 Mapping;
tsym226846* Owner;
tnode226816* Forstmt;
tnode226816* Forloopbody;
NI Yieldstmts;
ttranscon437009* Next;
};
struct  tcell44933  {
NI Refcount;
TNimType* Typ;
};
struct  tcellseq44949  {
NI Len;
NI Cap;
tcell44933** D;
};
struct  tcellset44945  {
NI Counter;
NI Max;
tpagedesc44941* Head;
tpagedesc44941** 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;
tcellseq44949 Zct;
tcellseq44949 Decstack;
tcellset44945 Cycleroots;
tcellseq44949 Tempstack;
NI Recgclock;
tmemregion27210 Region;
tgcstat47014 Stat;
};
struct  tidobj201015  {
  TNimObject Sup;
NI Id;
};
struct  tstrtable226820  {
NI Counter;
tsymseq226818* Data;
};
struct  tloc226830  {
NU8 K;
NU8 S;
NU8 Flags;
ttype226852* T;
trope178009* R;
trope178009* Heaproot;
};
struct  tsym226846  {
  tidobj201015 Sup;
NU8 Kind;
union {
struct {ttypeseq226848* Typeinstcache;
tscope226840* Typscope;
} S1;
struct {TY226947* Procinstcache;
tscope226840* Scope;
} S2;
struct {TY226947* Usedgenerics;
tstrtable226820 Tab;
} S3;
struct {tsym226846* Guard;
} S4;
} kindU;
NU16 Magic;
ttype226852* Typ;
tident201021* Name;
tlineinfo196539 Info;
tsym226846* Owner;
NU32 Flags;
tnode226816* Ast;
NU32 Options;
NI Position;
NI Offset;
tloc226830 Loc;
tlib226834* Annex;
tnode226816* Constraint;
};
struct  ttype226852  {
  tidobj201015 Sup;
NU8 Kind;
NU8 Callconv;
NU32 Flags;
ttypeseq226848* Sons;
tnode226816* N;
tsym226846* Owner;
tsym226846* Sym;
tsym226846* Destructor;
tsym226846* Deepcopy;
NI64 Size;
NI16 Align;
NI16 Locklevel;
tloc226830 Loc;
};
struct TY84745 {
NimStringDesc* Field0;
NI Field1;
};
struct  tidpair226860  {
tidobj201015* Key;
TNimObject* Val;
};
struct  tidtable226864  {
NI Counter;
tidpairseq226862* Data;
};
struct  tident201021  {
  tidobj201015 Sup;
NimStringDesc* S;
tident201021* Next;
NI H;
};
typedef NI TY26420[16];
struct  tpagedesc44941  {
tpagedesc44941* 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  tscope226840  {
NI Depthlevel;
tstrtable226820 Symbols;
tnodeseq226810* Usingsyms;
tscope226840* Parent;
};
struct  tinstantiation226836  {
tsym226846* Sym;
ttypeseq226848* Concretetypes;
TY226936* Usedby;
};
struct  trope178009  {
  TNimObject Sup;
trope178009* Left;
trope178009* Right;
NI Length;
NimStringDesc* Data;
};
struct  tlistentry127022  {
  TNimObject Sup;
tlistentry127022* Prev;
tlistentry127022* Next;
};
struct  tlib226834  {
  tlistentry127022 Sup;
NU8 Kind;
NIM_BOOL Generated;
NIM_BOOL Isoverriden;
trope178009* Name;
tnode226816* Path;
};
struct  tfreecell26430  {
tfreecell26430* Next;
NI Zerofield;
};
struct tnodeseq226810 {
  TGenericSeq Sup;
  tnode226816* data[SEQ_DECL_SIZE];
};
struct tsymseq226818 {
  TGenericSeq Sup;
  tsym226846* data[SEQ_DECL_SIZE];
};
struct tidnodepairseq226868 {
  TGenericSeq Sup;
  tidnodepair226866 data[SEQ_DECL_SIZE];
};
struct ttypeseq226848 {
  TGenericSeq Sup;
  ttype226852* data[SEQ_DECL_SIZE];
};
struct TY226947 {
  TGenericSeq Sup;
  tinstantiation226836* data[SEQ_DECL_SIZE];
};
struct tidpairseq226862 {
  TGenericSeq Sup;
  tidpair226860 data[SEQ_DECL_SIZE];
};
struct TY226936 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
N_NIMCALL(ttransfcontext437011*, opentransf_442306)(tsym226846* module, NimStringDesc* filename);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP3133)(void* p, NI op);
N_NIMCALL(void, TMP3134)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(tcell44933*, usrtocell_48646)(void* usr);
static N_INLINE(void, rtladdzct_50204)(tcell44933* c);
N_NOINLINE(void, addzct_48617)(tcellseq44949* s, tcell44933* c);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
N_NIMCALL(tnode226816*, processtransf_442265)(ttransfcontext437011* c, tnode226816* n, tsym226846* owner);
N_NIMCALL(void, pushtranscon_437424)(ttransfcontext437011* c, ttranscon437009* t);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_51025)(tcell44933* c);
static N_INLINE(NIM_BOOL, canbecycleroot_48667)(tcell44933* c);
static N_INLINE(void, rtladdcycleroot_49429)(tcell44933* c);
N_NOINLINE(void, incl_45671)(tcellset44945* s, tcell44933* cell);
static N_INLINE(void, decref_50604)(tcell44933* c);
N_NIMCALL(ttranscon437009*, newtranscon_437200)(tsym226846* owner);
N_NIMCALL(void, initidnodetable_227181)(tidnodetable226870* x);
N_NIMCALL(tnode226816*, transform_437516)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(tnode226816*, transformsym_437721)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(tnode226816*, transformsymaux_437588)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(tnode226816*, getbody_280270)(tsym226846* s);
N_NIMCALL(void, internalerror_198987)(tlineinfo196539 info, NimStringDesc* errmsg);
N_NIMCALL(tnode226816*, newsymnode_227132)(tsym226846* sym);
N_NIMCALL(tnode226816*, idnodetableget_236212)(tidnodetable226870 t, tidobj201015* key);
N_NIMCALL(tnode226816*, transformarrayaccess_440919)(ttransfcontext437011* c, tnode226816* n);
static N_INLINE(tnode226816*, newtransnode_437031)(tnode226816* a);
N_NIMCALL(tnode226816*, shallowcopy_232347)(tnode226816* src);
static N_INLINE(NI, len_227364)(tnode226816* n);
static N_INLINE(void, HEX5BHEX5DHEX3D_437128)(tnode226816* a, NI i, tnode226816* x);
N_NIMCALL(tnode226816*, skipconv_274732)(tnode226816* n);
N_NIMCALL(tnode226816*, transformfor_440146)(ttransfcontext437011* c, tnode226816* n);
static N_INLINE(NI, sonslen_227249)(tnode226816* n);
N_NIMCALL(tsym226846*, newlabel_438426)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(tsym226846*, newsym_227074)(NU8 symkind, tident201021* name, tsym226846* owner, tlineinfo196539 info);
N_NIMCALL(tsym226846*, getcurrowner_437460)(ttransfcontext437011* c);
N_NIMCALL(tident201021*, getident_201472)(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(tnode226816*, newtransnode_437042)(NU8 kind, tlineinfo196539 info, NI sons);
N_NIMCALL(tnode226816*, newnodei_227138)(NU8 kind, tlineinfo196539 info);
N_NIMCALL(tnode226816*, transformloopbody_438787)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(NIM_BOOL, hascontinue_438374)(tnode226816* n);
static N_INLINE(tsym226846*, pop_438736)(tsymseq226818** s_438744);
N_NIMCALL(TGenericSeq*, setLengthSeq)(TGenericSeq* seq, NI elemsize, NI newlen);
N_NIMCALL(tnode226816*, liftforloop_435953)(tnode226816* body);
N_NIMCALL(void, addvar_425053)(tnode226816* father, tnode226816* v);
N_NIMCALL(tnode226816*, copytree_227329)(tnode226816* src);
static N_INLINE(void, add_437180)(tnode226816* a, tnode226816* b);
N_NIMCALL(void, addson_227287)(tnode226816* father, tnode226816* son);
N_NIMCALL(void, internalerror_199006)(NimStringDesc* errmsg);
N_NIMCALL(NimStringDesc*, HEX24_199126)(TY84745 x_199130);
N_NIMCALL(ttype226852*, skiptypes_231245)(ttype226852* t, NU64 kinds);
N_NIMCALL(NU8, putarginto_439895)(tnode226816* arg, ttype226852* formal);
N_NIMCALL(void, idnodetableput_236219)(tidnodetable226870* t, tidobj201015* key, tnode226816* val);
N_NIMCALL(tsym226846*, newtemp_437487)(ttransfcontext437011* c, ttype226852* typ, tlineinfo196539 info);
N_NIMCALL(tnode226816*, newasgnstmt_437576)(ttransfcontext437011* c, tnode226816* le, tnode226816* ri);
N_NIMCALL(void, pushinfocontext_197930)(tlineinfo196539 info);
N_NIMCALL(void, initidtable_227167)(tidtable226864* x);
N_NIMCALL(void, freshlabels_438437)(ttransfcontext437011* c, tnode226816* n, tidtable226864* symmap);
static N_INLINE(tnode226816*, HEX5BHEX5D_227698)(tnode226816* n, NI i);
N_NIMCALL(void, idtableput_236196)(tidtable226864* t, tidobj201015* key, TNimObject* val);
N_NIMCALL(TNimObject*, idtableget_236182)(tidtable226864 t, tidobj201015* key);
static N_INLINE(NI, safelen_227424)(tnode226816* n);
N_NIMCALL(void, popinfocontext_197957)(void);
N_NIMCALL(void, poptranscon_437434)(ttransfcontext437011* c);
N_NIMCALL(tnode226816*, transformsons_437523)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(tnode226816*, transformcase_440774)(ttransfcontext437011* c, tnode226816* n);
static N_INLINE(tnode226816*, newtransnode_437085)(NU8 kind, tnode226816* n, NI sons);
N_NIMCALL(tnode226816*, newnodeit_227145)(NU8 kind, tlineinfo196539 info, ttype226852* typ);
static N_INLINE(tnode226816*, lastson_227261)(tnode226816* n);
N_NIMCALL(tnode226816*, transformbreak_438957)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(tnode226816*, transformwhile_438833)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(tnode226816*, transformcall_441311)(ttransfcontext437011* c, tnode226816* n_441314);
N_NIMCALL(tnode226816*, flattentree_441269)(tnode226816* root);
N_NIMCALL(tsym226846*, getmergeop_441041)(tnode226816* n);
N_NIMCALL(tnode226816*, copynode_227323)(tnode226816* src);
N_NIMCALL(void, flattentreeaux_441180)(tnode226816* d, tnode226816* a, tsym226846* op);
N_NIMCALL(NU16, getmagic_262845)(tnode226816* op);
N_NIMCALL(NIM_BOOL, isconstexpr_262921)(tnode226816* n);
N_NIMCALL(tnode226816*, evalop_305011)(NU16 m, tnode226816* n, tnode226816* a, tnode226816* b, tnode226816* c);
static N_INLINE(NI, len_437190)(tnode226816* a);
static N_INLINE(tnode226816*, HEX5BHEX5D_437154)(tnode226816* a, NI i);
N_NIMCALL(void, methoddef_423824)(tsym226846* s, NIM_BOOL fromcache);
N_NIMCALL(tnode226816*, methodcall_423056)(tnode226816* n);
N_NIMCALL(tnode226816*, transformaddrderef_439268)(ttransfcontext437011* c, tnode226816* n_439271, NU8 a, NU8 b);
N_NIMCALL(tnode226816*, transformconv_439576)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(NIM_BOOL, isordinaltype_264092)(ttype226852* t);
N_NIMCALL(NI64, firstord_264004)(ttype226852* t);
N_NIMCALL(NI64, lastord_264010)(ttype226852* t);
N_NIMCALL(tnode226816*, newinttypenode_227103)(NU8 kind, NI64 intval, ttype226852* typ);
N_NIMCALL(NI, inheritancediff_271588)(ttype226852* a, ttype226852* b);
N_NIMCALL(tnode226816*, newnode_227090)(NU8 kind);
N_NIMCALL(tnode226816*, transformconstsection_438251)(ttransfcontext437011* c, tnode226816* v);
N_NIMCALL(tnode226816*, transformvarsection_437732)(ttransfcontext437011* c, tnode226816* v);
N_NIMCALL(tsym226846*, copysym_227203)(tsym226846* s, NIM_BOOL keepid);
static N_INLINE(NIM_BOOL, importantcomments_170156)(void);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
N_NIMCALL(tnode226816*, transformyield_439140)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(void, unpacktuple_439008)(ttransfcontext437011* c, tnode226816* n, tnode226816* father);
N_NIMCALL(tnode226816*, newtupleaccess_425027)(tnode226816* tup, NI i);
N_NIMCALL(tnode226816*, introducenewlocalvars_439061)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(tnode226816*, transformblock_438658)(ttransfcontext437011* c, tnode226816* n);
N_NIMCALL(tnode226816*, getconstexpr_305004)(tsym226846* m, tnode226816* n);
static N_INLINE(NIM_BOOL, dontinlineconstant_441608)(tnode226816* orig, tnode226816* cnst);
N_NIMCALL(tnode226816*, commonoptimizations_441642)(tsym226846* c, tnode226816* n);
N_NIMCALL(void, add_227498)(tnode226816* father, tnode226816* son);
N_NIMCALL(tnode226816*, liftlambdas_435871)(tsym226846* fn, tnode226816* body);
N_NIMCALL(void, trackproc_385148)(tsym226846* s, tnode226816* body);
N_NIMCALL(tnode226816*, liftlambdasfortoplevel_435921)(tsym226846* module, tnode226816* body);
N_NIMCALL(void, tracktoplevelstmt_385410)(tsym226846* module, tnode226816* n);
STRING_LITERAL(TMP3135, "", 0);
STRING_LITERAL(TMP3136, "wrong AST for borrowed symbol", 29);
STRING_LITERAL(TMP3137, "transformFor", 12);
STRING_LITERAL(TMP3138, ":tmp", 4);
STRING_LITERAL(TMP3144, "compiler/transf.nim", 19);
NIM_CONST TY84745 TMP3143 = {((NimStringDesc*) &TMP3144),
494}
;
STRING_LITERAL(TMP3145, "popTransCon", 11);
STRING_LITERAL(TMP3158, "transformConstSection", 21);
STRING_LITERAL(TMP3159, "transformVarSection", 19);
NIM_CONST TY84745 TMP3160 = {((NimStringDesc*) &TMP3144),
141}
;
STRING_LITERAL(TMP3161, "transformVarSection: not nkVarTuple", 35);
extern TNimType NTI287005; /* TPassContext */
TNimType NTI437011; /* TTransfContext */
extern TNimType NTI226814; /* PSym */
TNimType NTI437009; /* TTransCon */
extern TNimType NTI226870; /* TIdNodeTable */
extern TNimType NTI226808; /* PNode */
extern TNimType NTI108; /* int */
TNimType NTI437007; /* PTransCon */
extern TNimType NTI226818; /* TSymSeq */
TNimType NTI437013; /* PTransf */
extern tgcheap47016 gch_47044;
extern TNimType NTI226810; /* TNodeSeq */
extern tnode226816* emptynode_227738;
extern NU8 gcmd_170120;
N_NIMCALL(void, TMP3133)(void* p, NI op) {
	ttranscon437009* a;
	a = (ttranscon437009*)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, TMP3134)(void* p, NI op) {
	ttransfcontext437011* a;
	a = (ttransfcontext437011*)p;
	nimGCvisit((void*)(*a).Module, op);
	nimGCvisit((void*)(*a).Transcon, op);
	nimGCvisit((void*)(*a).Contsyms, op);
	nimGCvisit((void*)(*a).Breaksyms, op);
}

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

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

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

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

N_NIMCALL(ttransfcontext437011*, opentransf_442306)(tsym226846* module, NimStringDesc* filename) {
	ttransfcontext437011* result;
	result = 0;
	result = (ttransfcontext437011*) newObj((&NTI437013), sizeof(ttransfcontext437011));
	(*result).Sup.Sup.m_type = (&NTI437011);
	if ((*result).Contsyms) nimGCunrefNoCycle((*result).Contsyms);
	(*result).Contsyms = (tsymseq226818*) newSeqRC1((&NTI226818), 0);
	if ((*result).Breaksyms) nimGCunrefNoCycle((*result).Breaksyms);
	(*result).Breaksyms = (tsymseq226818*) newSeqRC1((&NTI226818), 0);
	asgnRefNoCycle((void**) (&(*result).Module), module);
	return result;
}

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

static N_INLINE(void, rtladdcycleroot_49429)(tcell44933* 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)(tcell44933* c) {
	(*c).Refcount = (NI)((NU32)((*c).Refcount) + (NU32)(8));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_48667(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_49429(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_50604)(tcell44933* c) {
	{
		(*c).Refcount -= 8;
		if (!((NU32)((*c).Refcount) < (NU32)(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) {
	{
		tcell44933* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_48646(src);
		incref_51025(LOC5);
	}
	LA3: ;
	{
		tcell44933* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_48646((*dest));
		decref_50604(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

N_NIMCALL(void, pushtranscon_437424)(ttransfcontext437011* c, ttranscon437009* t) {
	asgnRef((void**) (&(*t).Next), (*c).Transcon);
	asgnRef((void**) (&(*c).Transcon), t);
}

N_NIMCALL(ttranscon437009*, newtranscon_437200)(tsym226846* owner) {
	ttranscon437009* result;
	result = 0;
	result = (ttranscon437009*) newObj((&NTI437007), sizeof(ttranscon437009));
	initidnodetable_227181((&(*result).Mapping));
	asgnRefNoCycle((void**) (&(*result).Owner), owner);
	return result;
}

N_NIMCALL(tnode226816*, transformsymaux_437588)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	tnode226816* b;
	ttranscon437009* tc;
	result = 0;
	b = 0;
	tc = (*c).Transcon;
	{
		if (!(((*(*n).kindU.S4.Sym).Flags &(1<<((((NU8) 26))&31)))!=0)) goto LA3;
		b = getbody_280270((*n).kindU.S4.Sym);
		{
			if (!!(((*b).Kind == ((NU8) 3)))) goto LA7;
			internalerror_198987((*n).Info, ((NimStringDesc*) &TMP3136));
		}
		LA7: ;
		b = newsymnode_227132((*b).kindU.S4.Sym);
		(*b).Info = (*n).Info;
	}
	goto LA1;
	LA3: ;
	{
		b = n;
	}
	LA1: ;
	{
		while (1) {
			tidobj201015* LOC12;
			if (!!((tc == NIM_NIL))) goto LA11;
			LOC12 = 0;
			LOC12 = &(*b).kindU.S4.Sym->Sup;
			result = idnodetableget_236212((*tc).Mapping, LOC12);
			{
				if (!!((result == NIM_NIL))) goto LA15;
				goto BeforeRet;
			}
			LA15: ;
			tc = (*tc).Next;
		} LA11: ;
	}
	result = b;
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode226816*, transformsym_437721)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	result = 0;
	result = transformsymaux_437588(c, n);
	return result;
}

static N_INLINE(tnode226816*, newtransnode_437031)(tnode226816* a) {
	tnode226816* result;
	result = 0;
	result = shallowcopy_232347(a);
	return result;
}

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

N_NIMCALL(tnode226816*, transformarrayaccess_440919)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* 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_437031(n);
		{
			NI i_441005;
			NI HEX3Atmp_441021;
			NI LOC9;
			NI res_441024;
			i_441005 = 0;
			HEX3Atmp_441021 = 0;
			LOC9 = 0;
			LOC9 = len_227364(n);
			HEX3Atmp_441021 = (LOC9 - 1);
			res_441024 = 0;
			{
				while (1) {
					tnode226816* LOC12;
					tnode226816* LOC13;
					if (!(res_441024 <= HEX3Atmp_441021)) goto LA11;
					i_441005 = res_441024;
					LOC12 = 0;
					LOC12 = skipconv_274732((*n).kindU.S6.Sons->data[i_441005]);
					LOC13 = 0;
					LOC13 = transform_437516(c, LOC12);
					HEX5BHEX5DHEX3D_437128(result, i_441005, LOC13);
					res_441024 += 1;
				} LA11: ;
			}
		}
	}
	LA1: ;
	return result;
}

static N_INLINE(NI, sonslen_227249)(tnode226816* 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(tsym226846*, getcurrowner_437460)(ttransfcontext437011* c) {
	tsym226846* 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)), (NI32)((*src).Sup.len + 1));
	(*dest).Sup.len += (*src).Sup.len;
}

N_NIMCALL(tsym226846*, newlabel_438426)(ttransfcontext437011* c, tnode226816* n) {
	tsym226846* result;
	tsym226846* LOC1;
	NimStringDesc* LOC2;
	NimStringDesc* LOC3;
	result = 0;
	LOC1 = 0;
	LOC1 = getcurrowner_437460(c);
	result = newsym_227074(((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*) &TMP3138));
appendString(LOC2, LOC3);
	asgnRefNoCycle((void**) (&(*result).Name), getident_201472(LOC2));
	return result;
}

static N_INLINE(tnode226816*, newtransnode_437042)(NU8 kind, tlineinfo196539 info, NI sons) {
	tnode226816* result;
	tnode226816* x;
	result = 0;
	x = newnodei_227138(kind, info);
	if ((*x).kindU.S6.Sons) nimGCunrefNoCycle((*x).kindU.S6.Sons);
	(*x).kindU.S6.Sons = (tnodeseq226810*) newSeqRC1((&NTI226810), sons);
	result = x;
	return result;
}

N_NIMCALL(NIM_BOOL, hascontinue_438374)(tnode226816* 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_438390;
			NI HEX3Atmp_438406;
			NI LOC5;
			NI res_438409;
			i_438390 = 0;
			HEX3Atmp_438406 = 0;
			LOC5 = 0;
			LOC5 = sonslen_227249(n);
			HEX3Atmp_438406 = (NI32)(LOC5 - 1);
			res_438409 = 0;
			{
				while (1) {
					if (!(res_438409 <= HEX3Atmp_438406)) goto LA7;
					i_438390 = res_438409;
					{
						NIM_BOOL LOC10;
						LOC10 = 0;
						LOC10 = hascontinue_438374((*n).kindU.S6.Sons->data[i_438390]);
						if (!LOC10) goto LA11;
						result = NIM_TRUE;
						goto BeforeRet;
					}
					LA11: ;
					res_438409 += 1;
				} LA7: ;
			}
		}
	}
	break;
	}
	BeforeRet: ;
	return result;
}

static N_INLINE(tsym226846*, pop_438736)(tsymseq226818** s_438744) {
	tsym226846* result;
	NI l;
	result = 0;
	l = (NI32)((*s_438744)->Sup.len - 1);
	result = (*s_438744)->data[l];
	(*s_438744) = (tsymseq226818*) setLengthSeq(&((*s_438744))->Sup, sizeof(tsym226846*), l);
	return result;
}

N_NIMCALL(tnode226816*, transformloopbody_438787)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	result = 0;
	{
		NIM_BOOL LOC3;
		tsym226846* labl;
		tnode226816* LOC6;
		tnode226816* LOC7;
		tsym226846* LOC8;
		LOC3 = 0;
		LOC3 = hascontinue_438374(n);
		if (!LOC3) goto LA4;
		labl = newlabel_438426(c, n);
		(*c).Contsyms = (tsymseq226818*) incrSeq(&((*c).Contsyms)->Sup, sizeof(tsym226846*));
		asgnRefNoCycle((void**) (&(*c).Contsyms->data[(*c).Contsyms->Sup.len-1]), labl);
		result = newtransnode_437042(((NU8) 112), (*n).Info, 2);
		LOC6 = 0;
		LOC6 = newsymnode_227132(labl);
		HEX5BHEX5DHEX3D_437128(result, 0, LOC6);
		LOC7 = 0;
		LOC7 = transform_437516(c, n);
		HEX5BHEX5DHEX3D_437128(result, 1, LOC7);
		LOC8 = 0;
		LOC8 = pop_438736((&(*c).Contsyms));
	}
	goto LA1;
	LA4: ;
	{
		result = transform_437516(c, n);
	}
	LA1: ;
	return result;
}

static N_INLINE(void, add_437180)(tnode226816* a, tnode226816* b) {
	addson_227287(a, b);
}

N_NIMCALL(NU8, putarginto_439895)(tnode226816* arg, ttype226852* formal) {
	NU8 result;
	result = 0;
	{
		ttype226852* LOC3;
		LOC3 = 0;
		LOC3 = skiptypes_231245(formal, IL64(211106232576256));
		if (!((*LOC3).Kind == ((NU8) 27) || (*LOC3).Kind == ((NU8) 48))) 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_439926;
			NI HEX3Atmp_439960;
			NI LOC9;
			NI res_439963;
			i_439926 = 0;
			HEX3Atmp_439960 = 0;
			LOC9 = 0;
			LOC9 = sonslen_227249(arg);
			HEX3Atmp_439960 = (NI32)(LOC9 - 1);
			res_439963 = 0;
			{
				while (1) {
					if (!(res_439963 <= HEX3Atmp_439960)) goto LA11;
					i_439926 = res_439963;
					{
						NU8 LOC14;
						LOC14 = 0;
						LOC14 = putarginto_439895((*arg).kindU.S6.Sons->data[i_439926], formal);
						if (!!((LOC14 == ((NU8) 0)))) goto LA15;
						goto BeforeRet;
					}
					LA15: ;
					res_439963 += 1;
				} LA11: ;
			}
		}
		result = ((NU8) 0);
	}
	break;
	default:
	{
		{
			ttype226852* LOC20;
			LOC20 = 0;
			LOC20 = skiptypes_231245(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(tsym226846*, newtemp_437487)(ttransfcontext437011* c, ttype226852* typ, tlineinfo196539 info) {
	tsym226846* result;
	tident201021* LOC1;
	tsym226846* LOC2;
	result = 0;
	LOC1 = 0;
	LOC1 = getident_201472(((NimStringDesc*) &TMP3138));
	LOC2 = 0;
	LOC2 = getcurrowner_437460(c);
	result = newsym_227074(((NU8) 5), LOC1, LOC2, info);
	asgnRefNoCycle((void**) (&(*result).Typ), skiptypes_231245(typ, 2048));
	(*result).Flags |= ((NI32)1)<<((((NU8) 2))%(sizeof(NI32)*8));
	return result;
}

N_NIMCALL(tnode226816*, newasgnstmt_437576)(ttransfcontext437011* c, tnode226816* le, tnode226816* ri) {
	tnode226816* result;
	result = 0;
	result = newtransnode_437042(((NU8) 74), (*ri).Info, 2);
	HEX5BHEX5DHEX3D_437128(result, 0, le);
	HEX5BHEX5DHEX3D_437128(result, 1, ri);
	return result;
}

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

static N_INLINE(NI, safelen_227424)(tnode226816* 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_438437)(ttransfcontext437011* c, tnode226816* n, tidtable226864* symmap) {
	{
		if (!((*n).Kind == ((NU8) 112) || (*n).Kind == ((NU8) 127))) goto LA3;
		{
			tsym226846* x;
			tnode226816* LOC9;
			tnode226816* LOC10;
			tidobj201015* LOC11;
			TNimObject* LOC12;
			if (!((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 3))) goto LA7;
			LOC9 = 0;
			LOC9 = HEX5BHEX5D_227698(n, 0);
			x = newlabel_438426(c, LOC9);
			LOC10 = 0;
			LOC10 = HEX5BHEX5D_227698(n, 0);
			LOC11 = 0;
			LOC11 = &(*LOC10).kindU.S4.Sym->Sup;
			LOC12 = 0;
			LOC12 = &x->Sup.Sup;
			idtableput_236196(symmap, LOC11, LOC12);
			asgnRefNoCycle((void**) (&(*(*n).kindU.S6.Sons->data[0]).kindU.S4.Sym), x);
		}
		LA7: ;
	}
	LA3: ;
	{
		NIM_BOOL LOC15;
		tsym226846* x;
		tidobj201015* 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_236182((*symmap), LOC19);
		x = ((tsym226846*) (LOC20));
		{
			if (!!((x == NIM_NIL))) goto LA23;
			asgnRefNoCycle((void**) (&(*n).kindU.S4.Sym), x);
		}
		LA23: ;
	}
	goto LA13;
	LA17: ;
	{
		{
			NI i_438622;
			NI HEX3Atmp_438638;
			NI LOC27;
			NI res_438641;
			i_438622 = 0;
			HEX3Atmp_438638 = 0;
			LOC27 = 0;
			LOC27 = safelen_227424(n);
			HEX3Atmp_438638 = (LOC27 - 1);
			res_438641 = 0;
			{
				while (1) {
					if (!(res_438641 <= HEX3Atmp_438638)) goto LA29;
					i_438622 = res_438641;
					freshlabels_438437(c, (*n).kindU.S6.Sons->data[i_438622], symmap);
					res_438641 += 1;
				} LA29: ;
			}
		}
	}
	LA13: ;
}

N_NIMCALL(void, poptranscon_437434)(ttransfcontext437011* c) {
	{
		if (!((*c).Transcon == NIM_NIL)) goto LA3;
		internalerror_199006(((NimStringDesc*) &TMP3145));
	}
	LA3: ;
	asgnRef((void**) (&(*c).Transcon), (*(*c).Transcon).Next);
}

N_NIMCALL(tnode226816*, transformfor_440146)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	NI length;
	tnode226816* call;
	tsym226846* labl;
	tnode226816* LOC5;
	tnode226816* stmtlist;
	tnode226816* loopbody;
	tsym226846* LOC18;
	tnode226816* v;
	tsym226846* iter;
	ttranscon437009* newc;
	tsym226846* LOC23;
	tnode226816* body;
	tnode226816* LOC50;
	tidtable226864 symmap;
	tnode226816* LOC51;
	result = 0;
	{
		if (!!(((*n).Kind == ((NU8) 94)))) goto LA3;
		internalerror_198987((*n).Info, ((NimStringDesc*) &TMP3137));
	}
	LA3: ;
	length = sonslen_227249(n);
	call = (*n).kindU.S6.Sons->data[(NI32)(length - 2)];
	labl = newlabel_438426(c, n);
	(*c).Breaksyms = (tsymseq226818*) incrSeq(&((*c).Breaksyms)->Sup, sizeof(tsym226846*));
	asgnRefNoCycle((void**) (&(*c).Breaksyms->data[(*c).Breaksyms->Sup.len-1]), labl);
	result = newtransnode_437042(((NU8) 112), (*n).Info, 2);
	LOC5 = 0;
	LOC5 = newsymnode_227132(labl);
	HEX5BHEX5DHEX3D_437128(result, 0, LOC5);
	{
		NIM_BOOL LOC8;
		NIM_BOOL LOC10;
		NIM_BOOL LOC11;
		tnode226816* LOC16;
		tsym226846* 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[(NI32)(length - 1)]), transformloopbody_438787(c, (*n).kindU.S6.Sons->data[(NI32)(length - 1)]));
		LOC16 = 0;
		LOC16 = liftforloop_435953(n);
		HEX5BHEX5DHEX3D_437128(result, 1, LOC16);
		LOC17 = 0;
		LOC17 = pop_438736((&(*c).Breaksyms));
		goto BeforeRet;
	}
	LA14: ;
	stmtlist = newtransnode_437042(((NU8) 115), (*n).Info, 0);
	loopbody = transformloopbody_438787(c, (*n).kindU.S6.Sons->data[(NI32)(length - 1)]);
	HEX5BHEX5DHEX3D_437128(result, 1, stmtlist);
	LOC18 = 0;
	LOC18 = pop_438736((&(*c).Breaksyms));
	v = newnodei_227138(((NU8) 99), (*n).Info);
	{
		NI i_440366;
		NI HEX3Atmp_440631;
		NI res_440634;
		i_440366 = 0;
		HEX3Atmp_440631 = 0;
		HEX3Atmp_440631 = (NI32)(length - 3);
		res_440634 = 0;
		{
			while (1) {
				tnode226816* LOC22;
				if (!(res_440634 <= HEX3Atmp_440631)) goto LA21;
				i_440366 = res_440634;
				LOC22 = 0;
				LOC22 = copytree_227329((*n).kindU.S6.Sons->data[i_440366]);
				addvar_425053(v, LOC22);
				res_440634 += 1;
			} LA21: ;
		}
	}
	add_437180(stmtlist, v);
	iter = (*(*call).kindU.S6.Sons->data[0]).kindU.S4.Sym;
	LOC23 = 0;
	LOC23 = getcurrowner_437460(c);
	newc = newtranscon_437200(LOC23);
	asgnRefNoCycle((void**) (&(*newc).Forstmt), n);
	asgnRefNoCycle((void**) (&(*newc).Forloopbody), loopbody);
	{
		NimStringDesc* LOC28;
		if (!!(((*iter).Kind == ((NU8) 14)))) goto LA26;
		LOC28 = 0;
		LOC28 = HEX24_199126(TMP3143);
		internalerror_199006(LOC28);
	}
	LA26: ;
	pushtranscon_437424(c, newc);
	{
		NI i_440448;
		NI HEX3Atmp_440638;
		NI LOC30;
		NI res_440641;
		i_440448 = 0;
		HEX3Atmp_440638 = 0;
		LOC30 = 0;
		LOC30 = sonslen_227249(call);
		HEX3Atmp_440638 = (NI32)(LOC30 - 1);
		res_440641 = 1;
		{
			while (1) {
				if (!(res_440641 <= HEX3Atmp_440638)) goto LA32;
				i_440448 = res_440641;
				{
					tnode226816* arg;
					tsym226846* formal;
					ttype226852* LOC34;
					NU8 LOC39;
					arg = transform_437516(c, (*call).kindU.S6.Sons->data[i_440448]);
					LOC34 = 0;
					LOC34 = skiptypes_231245((*iter).Typ, IL64(211106232576256));
					formal = (*(*(*LOC34).N).kindU.S6.Sons->data[i_440448]).kindU.S4.Sym;
					{
						if (!((*(*arg).Typ).Kind == ((NU8) 49))) goto LA37;
						goto LA33;
					}
					LA37: ;
					LOC39 = 0;
					LOC39 = putarginto_439895(arg, (*formal).Typ);
					switch (LOC39) {
					case ((NU8) 0):
					{
						tidobj201015* LOC41;
						LOC41 = 0;
						LOC41 = &formal->Sup;
						idnodetableput_236219((&(*newc).Mapping), LOC41, arg);
					}
					break;
					case ((NU8) 1):
					{
						tsym226846* temp;
						tnode226816* LOC43;
						tnode226816* LOC44;
						tnode226816* LOC45;
						tidobj201015* LOC46;
						tnode226816* LOC47;
						temp = newtemp_437487(c, (*formal).Typ, (*formal).Info);
						LOC43 = 0;
						LOC43 = newsymnode_227132(temp);
						addvar_425053(v, LOC43);
						LOC44 = 0;
						LOC44 = newsymnode_227132(temp);
						LOC45 = 0;
						LOC45 = newasgnstmt_437576(c, LOC44, arg);
						add_437180(stmtlist, LOC45);
						LOC46 = 0;
						LOC46 = &formal->Sup;
						LOC47 = 0;
						LOC47 = newsymnode_227132(temp);
						idnodetableput_236219((&(*newc).Mapping), LOC46, LOC47);
					}
					break;
					case ((NU8) 2):
					{
						tidobj201015* LOC49;
						LOC49 = 0;
						LOC49 = &formal->Sup;
						idnodetableput_236219((&(*newc).Mapping), LOC49, arg);
					}
					break;
					}
				} LA33: ;
				res_440641 += 1;
			} LA32: ;
		}
	}
	LOC50 = 0;
	LOC50 = getbody_280270(iter);
	body = copytree_227329(LOC50);
	pushinfocontext_197930((*n).Info);
	memset((void*)(&symmap), 0, sizeof(symmap));
	initidtable_227167((&symmap));
	freshlabels_438437(c, body, (&symmap));
	(*c).Inlining += 1;
	LOC51 = 0;
	LOC51 = transform_437516(c, body);
	add_437180(stmtlist, LOC51);
	(*c).Inlining -= 1;
	popinfocontext_197957();
	poptranscon_437434(c);
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode226816*, transformsons_437523)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	result = 0;
	result = newtransnode_437031(n);
	{
		NI i_437540;
		NI HEX3Atmp_437556;
		NI LOC2;
		NI res_437559;
		i_437540 = 0;
		HEX3Atmp_437556 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227249(n);
		HEX3Atmp_437556 = (NI32)(LOC2 - 1);
		res_437559 = 0;
		{
			while (1) {
				tnode226816* LOC5;
				if (!(res_437559 <= HEX3Atmp_437556)) goto LA4;
				i_437540 = res_437559;
				LOC5 = 0;
				LOC5 = transform_437516(c, (*n).kindU.S6.Sons->data[i_437540]);
				HEX5BHEX5DHEX3D_437128(result, i_437540, LOC5);
				res_437559 += 1;
			} LA4: ;
		}
	}
	return result;
}

static N_INLINE(tnode226816*, newtransnode_437085)(NU8 kind, tnode226816* n, NI sons) {
	tnode226816* result;
	tnode226816* x;
	result = 0;
	x = newnodeit_227145(kind, (*n).Info, (*n).Typ);
	if ((*x).kindU.S6.Sons) nimGCunrefNoCycle((*x).kindU.S6.Sons);
	(*x).kindU.S6.Sons = (tnodeseq226810*) newSeqRC1((&NTI226810), sons);
	asgnRefNoCycle((void**) (&(*x).Typ), (*n).Typ);
	result = x;
	return result;
}

static N_INLINE(tnode226816*, lastson_227261)(tnode226816* n) {
	tnode226816* result;
	NI LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = sonslen_227249(n);
	result = (*n).kindU.S6.Sons->data[(NI32)(LOC1 - 1)];
	return result;
}

N_NIMCALL(tnode226816*, transformcase_440774)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	tnode226816* ifs;
	result = 0;
	result = newtransnode_437085(((NU8) 97), n, 0);
	ifs = NIM_NIL;
	{
		NI i_440790;
		NI HEX3Atmp_440899;
		NI LOC2;
		NI res_440902;
		i_440790 = 0;
		HEX3Atmp_440899 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227249(n);
		HEX3Atmp_440899 = (NI32)(LOC2 - 1);
		res_440902 = 0;
		{
			while (1) {
				tnode226816* it;
				tnode226816* e;
				if (!(res_440902 <= HEX3Atmp_440899)) goto LA4;
				i_440790 = res_440902;
				it = (*n).kindU.S6.Sons->data[i_440790];
				e = transform_437516(c, it);
				switch ((*it).Kind) {
				case ((NU8) 86):
				{
					{
						if (!(ifs == NIM_NIL)) goto LA8;
						ifs = newtransnode_437042(((NU8) 92), (*it).Info, 0);
					}
					LA8: ;
					add_437180(ifs, e);
				}
				break;
				case ((NU8) 88):
				{
					{
						if (!(ifs == NIM_NIL)) goto LA13;
						add_437180(result, e);
					}
					goto LA11;
					LA13: ;
					{
						add_437180(ifs, e);
					}
					LA11: ;
				}
				break;
				default:
				{
					add_437180(result, e);
				}
				break;
				}
				res_440902 += 1;
			} LA4: ;
		}
	}
	{
		tnode226816* elsebranch;
		if (!!((ifs == NIM_NIL))) goto LA19;
		elsebranch = newtransnode_437042(((NU8) 88), (*n).Info, 1);
		HEX5BHEX5DHEX3D_437128(elsebranch, 0, ifs);
		add_437180(result, elsebranch);
	}
	goto LA17;
	LA19: ;
	{
		NIM_BOOL LOC22;
		tnode226816* LOC23;
		ttype226852* LOC25;
		tnode226816* elsebranch;
		tnode226816* LOC28;
		LOC22 = 0;
		LOC23 = 0;
		LOC23 = lastson_227261(result);
		LOC22 = !(((*LOC23).Kind == ((NU8) 88)));
		if (!(LOC22)) goto LA24;
		LOC25 = 0;
		LOC25 = skiptypes_231245((*(*n).kindU.S6.Sons->data[0]).Typ, IL64(211106242013440));
		LOC22 = !(((*LOC25).Kind >= ((NU8) 31) && (*LOC25).Kind <= ((NU8) 35) || (*LOC25).Kind == ((NU8) 2) || (*LOC25).Kind == ((NU8) 14) || (*LOC25).Kind >= ((NU8) 40) && (*LOC25).Kind <= ((NU8) 43)));
		LA24: ;
		if (!LOC22) goto LA26;
		elsebranch = newtransnode_437042(((NU8) 88), (*n).Info, 1);
		LOC28 = 0;
		LOC28 = newtransnode_437042(((NU8) 23), (*n).Info, 0);
		HEX5BHEX5DHEX3D_437128(elsebranch, 0, LOC28);
		add_437180(result, elsebranch);
	}
	goto LA17;
	LA26: ;
	LA17: ;
	return result;
}

N_NIMCALL(tnode226816*, transformbreak_438957)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* 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: ;
	{
		tsym226846* labl;
		tnode226816* LOC8;
		labl = (*c).Breaksyms->data[((*c).Breaksyms->Sup.len-1)];
		result = transformsons_437523(c, n);
		LOC8 = 0;
		LOC8 = newsymnode_227132(labl);
		HEX5BHEX5DHEX3D_437128(result, 0, LOC8);
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode226816*, transformwhile_438833)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	result = 0;
	{
		if (!(0 < (*c).Inlining)) goto LA3;
		result = transformsons_437523(c, n);
	}
	goto LA1;
	LA3: ;
	{
		tsym226846* labl;
		tnode226816* LOC6;
		tnode226816* body;
		NI LOC12;
		NI LOC13;
		tnode226816* LOC14;
		tsym226846* LOC15;
		labl = newlabel_438426(c, n);
		(*c).Breaksyms = (tsymseq226818*) incrSeq(&((*c).Breaksyms)->Sup, sizeof(tsym226846*));
		asgnRefNoCycle((void**) (&(*c).Breaksyms->data[(*c).Breaksyms->Sup.len-1]), labl);
		result = newtransnode_437042(((NU8) 112), (*n).Info, 2);
		LOC6 = 0;
		LOC6 = newsymnode_227132(labl);
		HEX5BHEX5DHEX3D_437128(result, 0, LOC6);
		body = newtransnode_437031(n);
		{
			NI i_438869;
			NI HEX3Atmp_438937;
			NI LOC8;
			NI res_438940;
			i_438869 = 0;
			HEX3Atmp_438937 = 0;
			LOC8 = 0;
			LOC8 = len_227364(n);
			HEX3Atmp_438937 = (NI32)(LOC8 - 2);
			res_438940 = 0;
			{
				while (1) {
					tnode226816* LOC11;
					if (!(res_438940 <= HEX3Atmp_438937)) goto LA10;
					i_438869 = res_438940;
					LOC11 = 0;
					LOC11 = transform_437516(c, (*n).kindU.S6.Sons->data[i_438869]);
					HEX5BHEX5DHEX3D_437128(body, i_438869, LOC11);
					res_438940 += 1;
				} LA10: ;
			}
		}
		LOC12 = 0;
		LOC12 = len_227364(n);
		LOC13 = 0;
		LOC13 = len_227364(n);
		LOC14 = 0;
		LOC14 = transformloopbody_438787(c, (*n).kindU.S6.Sons->data[(LOC13 - 1)]);
		HEX5BHEX5DHEX3D_437128(body, (LOC12 - 1), LOC14);
		HEX5BHEX5DHEX3D_437128(result, 1, body);
		LOC15 = 0;
		LOC15 = pop_438736((&(*c).Breaksyms));
	}
	LA1: ;
	return result;
}

N_NIMCALL(tsym226846*, getmergeop_441041)(tnode226816* n) {
	tsym226846* 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_441180)(tnode226816* d, tnode226816* a, tsym226846* op) {
	tsym226846* op2;
	op2 = getmergeop_441041(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_441233;
			NI HEX3Atmp_441249;
			NI LOC12;
			NI res_441252;
			i_441233 = 0;
			HEX3Atmp_441249 = 0;
			LOC12 = 0;
			LOC12 = sonslen_227249(a);
			HEX3Atmp_441249 = (NI32)(LOC12 - 1);
			res_441252 = 1;
			{
				while (1) {
					if (!(res_441252 <= HEX3Atmp_441249)) goto LA14;
					i_441233 = res_441252;
					flattentreeaux_441180(d, (*a).kindU.S6.Sons->data[i_441233], op);
					res_441252 += 1;
				} LA14: ;
			}
		}
	}
	goto LA1;
	LA9: ;
	{
		tnode226816* LOC16;
		LOC16 = 0;
		LOC16 = copytree_227329(a);
		addson_227287(d, LOC16);
	}
	LA1: ;
}

N_NIMCALL(tnode226816*, flattentree_441269)(tnode226816* root) {
	tnode226816* result;
	tsym226846* op;
	result = 0;
	op = getmergeop_441041(root);
	{
		tnode226816* LOC5;
		if (!!((op == NIM_NIL))) goto LA3;
		result = copynode_227323(root);
		LOC5 = 0;
		LOC5 = copytree_227329((*root).kindU.S6.Sons->data[0]);
		addson_227287(result, LOC5);
		flattentreeaux_441180(result, root, op);
	}
	goto LA1;
	LA3: ;
	{
		result = root;
	}
	LA1: ;
	return result;
}

static N_INLINE(NI, len_437190)(tnode226816* a) {
	NI result;
	result = 0;
	result = sonslen_227249(a);
	return result;
}

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

N_NIMCALL(tnode226816*, transformcall_441311)(ttransfcontext437011* c, tnode226816* n_441314) {
	tnode226816* result;
	tnode226816* n;
	tsym226846* op;
	NU16 magic;
	result = 0;
	n = flattentree_441269(n_441314);
	op = getmergeop_441041(n);
	magic = getmagic_262845(n);
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		NI LOC7;
		tnode226816* 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_227364(n);
		LOC3 = (3 <= LOC7);
		LA6: ;
		if (!LOC3) goto LA8;
		result = newtransnode_437085(((NU8) 27), n, 0);
		LOC10 = 0;
		LOC10 = transform_437516(c, (*n).kindU.S6.Sons->data[0]);
		add_437180(result, LOC10);
		j = 1;
		{
			while (1) {
				NI LOC13;
				tnode226816* a;
				LOC13 = 0;
				LOC13 = sonslen_227249(n);
				if (!(j < LOC13)) goto LA12;
				a = transform_437516(c, (*n).kindU.S6.Sons->data[j]);
				j += 1;
				{
					NIM_BOOL LOC16;
					LOC16 = 0;
					LOC16 = isconstexpr_262921(a);
					if (!LOC16) goto LA17;
					{
						while (1) {
							NI LOC21;
							tnode226816* b;
							LOC21 = 0;
							LOC21 = sonslen_227249(n);
							if (!(j < LOC21)) goto LA20;
							b = transform_437516(c, (*n).kindU.S6.Sons->data[j]);
							{
								NIM_BOOL LOC24;
								LOC24 = 0;
								LOC24 = isconstexpr_262921(b);
								if (!!(LOC24)) goto LA25;
								goto LA19;
							}
							LA25: ;
							a = evalop_305011((*op).Magic, n, a, b, NIM_NIL);
							j += 1;
						} LA20: ;
					} LA19: ;
				}
				LA17: ;
				add_437180(result, a);
			} LA12: ;
		}
		{
			NI LOC29;
			LOC29 = 0;
			LOC29 = len_437190(result);
			if (!(LOC29 == 2)) goto LA30;
			result = HEX5BHEX5D_437154(result, 1);
		}
		LA30: ;
	}
	goto LA1;
	LA8: ;
	{
		if (!(magic == ((NU16) 253))) goto LA33;
		result = n;
	}
	goto LA1;
	LA33: ;
	{
		tnode226816* LOC38;
		if (!(magic == ((NU16) 218))) goto LA36;
		LOC38 = 0;
		LOC38 = HEX5BHEX5D_227698(n, 1);
		result = transformsons_437523(c, LOC38);
	}
	goto LA1;
	LA36: ;
	{
		tnode226816* s;
		s = transformsons_437523(c, n);
		{
			NIM_BOOL LOC42;
			tnode226816* 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_227261((*(*(*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_423824((*(*s).kindU.S6.Sons->data[0]).kindU.S4.Sym, NIM_FALSE);
			}
			LA50: ;
			result = methodcall_423056(s);
		}
		goto LA40;
		LA44: ;
		{
			result = s;
		}
		LA40: ;
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode226816*, transformaddrderef_439268)(ttransfcontext437011* c, tnode226816* n_439271, NU8 a, NU8 b) {
	tnode226816* result;
	tnode226816* n;
	result = 0;
	result = transformsons_437523(c, n_439271);
	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):
	{
		tnode226816* 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):
	{
		tnode226816* 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(tnode226816*, transformconv_439576)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	ttype226852* dest;
	ttype226852* source;
	result = 0;
	dest = skiptypes_231245((*n).Typ, IL64(211106242013440));
	source = skiptypes_231245((*(*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_264092(source);
			if (!!(LOC4)) goto LA5;
			result = transformsons_437523(c, n);
		}
		goto LA2;
		LA5: ;
		{
			NIM_BOOL LOC8;
			NI64 LOC9;
			NI64 LOC10;
			NI64 LOC12;
			NI64 LOC13;
			LOC8 = 0;
			LOC9 = 0;
			LOC9 = firstord_264004((*n).Typ);
			LOC10 = 0;
			LOC10 = firstord_264004((*(*n).kindU.S6.Sons->data[1]).Typ);
			LOC8 = (LOC9 <= LOC10);
			if (!(LOC8)) goto LA11;
			LOC12 = 0;
			LOC12 = lastord_264010((*(*n).kindU.S6.Sons->data[1]).Typ);
			LOC13 = 0;
			LOC13 = lastord_264010((*n).Typ);
			LOC8 = (LOC12 <= LOC13);
			LA11: ;
			if (!LOC8) goto LA14;
			result = transformsons_437523(c, n);
		}
		goto LA2;
		LA14: ;
		{
			tnode226816* LOC24;
			NI64 LOC25;
			tnode226816* LOC26;
			NI64 LOC27;
			tnode226816* 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_437085(((NU8) 69), n, 3);
			}
			goto LA17;
			LA21: ;
			{
				result = newtransnode_437085(((NU8) 70), n, 3);
			}
			LA17: ;
			dest = skiptypes_231245((*n).Typ, IL64(211106240964864));
			LOC24 = 0;
			LOC24 = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_437128(result, 0, LOC24);
			LOC25 = 0;
			LOC25 = firstord_264004(dest);
			LOC26 = 0;
			LOC26 = newinttypenode_227103(((NU8) 6), LOC25, source);
			HEX5BHEX5DHEX3D_437128(result, 1, LOC26);
			LOC27 = 0;
			LOC27 = lastord_264010(dest);
			LOC28 = 0;
			LOC28 = newinttypenode_227103(((NU8) 6), LOC27, source);
			HEX5BHEX5DHEX3D_437128(result, 2, LOC28);
		}
		LA2: ;
	}
	break;
	case ((NU8) 36) ... ((NU8) 39):
	{
		{
			ttype226852* LOC32;
			tnode226816* LOC35;
			tnode226816* LOC36;
			tnode226816* LOC37;
			LOC32 = 0;
			LOC32 = skiptypes_231245((*n).Typ, IL64(211106240964864));
			if (!((*LOC32).Kind == ((NU8) 20))) goto LA33;
			result = newtransnode_437085(((NU8) 68), n, 3);
			dest = skiptypes_231245((*n).Typ, IL64(211106240964864));
			LOC35 = 0;
			LOC35 = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_437128(result, 0, LOC35);
			LOC36 = 0;
			LOC36 = copytree_227329((*(*dest).N).kindU.S6.Sons->data[0]);
			HEX5BHEX5DHEX3D_437128(result, 1, LOC36);
			LOC37 = 0;
			LOC37 = copytree_227329((*(*dest).N).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_437128(result, 2, LOC37);
		}
		goto LA30;
		LA33: ;
		{
			result = transformsons_437523(c, n);
		}
		LA30: ;
	}
	break;
	case ((NU8) 27):
	case ((NU8) 48):
	{
		result = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
	}
	break;
	case ((NU8) 29):
	{
		{
			tnode226816* LOC45;
			if (!((*source).Kind == ((NU8) 28))) goto LA43;
			result = newtransnode_437085(((NU8) 71), n, 1);
			LOC45 = 0;
			LOC45 = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_437128(result, 0, LOC45);
		}
		goto LA41;
		LA43: ;
		{
			result = transformsons_437523(c, n);
		}
		LA41: ;
	}
	break;
	case ((NU8) 28):
	{
		{
			tnode226816* LOC52;
			if (!((*source).Kind == ((NU8) 29))) goto LA50;
			result = newtransnode_437085(((NU8) 72), n, 1);
			LOC52 = 0;
			LOC52 = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_437128(result, 0, LOC52);
		}
		goto LA48;
		LA50: ;
		{
			result = transformsons_437523(c, n);
		}
		LA48: ;
	}
	break;
	case ((NU8) 22):
	case ((NU8) 21):
	{
		dest = skiptypes_231245(dest, IL64(211106247256320));
		source = skiptypes_231245(source, IL64(211106247256320));
		{
			NI diff;
			if (!((*source).Kind == ((NU8) 17))) goto LA57;
			diff = inheritancediff_271588(dest, source);
			{
				tnode226816* LOC63;
				if (!(diff < 0)) goto LA61;
				result = newtransnode_437085(((NU8) 67), n, 1);
				LOC63 = 0;
				LOC63 = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
				HEX5BHEX5DHEX3D_437128(result, 0, LOC63);
			}
			goto LA59;
			LA61: ;
			{
				tnode226816* LOC67;
				if (!(0 < diff)) goto LA65;
				result = newtransnode_437085(((NU8) 66), n, 1);
				LOC67 = 0;
				LOC67 = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
				HEX5BHEX5DHEX3D_437128(result, 0, LOC67);
			}
			goto LA59;
			LA65: ;
			{
				result = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
			}
			LA59: ;
		}
		goto LA55;
		LA57: ;
		{
			result = transformsons_437523(c, n);
		}
		LA55: ;
	}
	break;
	case ((NU8) 17):
	{
		NI diff;
		diff = inheritancediff_271588(dest, source);
		{
			tnode226816* LOC75;
			if (!(diff < 0)) goto LA73;
			result = newtransnode_437085(((NU8) 67), n, 1);
			LOC75 = 0;
			LOC75 = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_437128(result, 0, LOC75);
		}
		goto LA71;
		LA73: ;
		{
			tnode226816* LOC79;
			if (!(0 < diff)) goto LA77;
			result = newtransnode_437085(((NU8) 66), n, 1);
			LOC79 = 0;
			LOC79 = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
			HEX5BHEX5DHEX3D_437128(result, 0, LOC79);
		}
		goto LA71;
		LA77: ;
		{
			result = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
		}
		LA71: ;
	}
	break;
	case ((NU8) 12):
	case ((NU8) 15):
	{
		result = transform_437516(c, (*n).kindU.S6.Sons->data[1]);
	}
	break;
	default:
	{
		result = transformsons_437523(c, n);
	}
	break;
	}
	return result;
}

N_NIMCALL(tnode226816*, transformconstsection_438251)(ttransfcontext437011* c, tnode226816* v) {
	tnode226816* result;
	result = 0;
	result = newtransnode_437031(v);
	{
		NI i_438268;
		NI HEX3Atmp_438354;
		NI LOC2;
		NI res_438357;
		i_438268 = 0;
		HEX3Atmp_438354 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227249(v);
		HEX3Atmp_438354 = (NI32)(LOC2 - 1);
		res_438357 = 0;
		{
			while (1) {
				tnode226816* it;
				if (!(res_438357 <= HEX3Atmp_438354)) goto LA4;
				i_438268 = res_438357;
				it = (*v).kindU.S6.Sons->data[i_438268];
				{
					if (!((*it).Kind == ((NU8) 125))) goto LA7;
					HEX5BHEX5DHEX3D_437128(result, i_438268, it);
				}
				goto LA5;
				LA7: ;
				{
					{
						if (!!(((*it).Kind == ((NU8) 102)))) goto LA12;
						internalerror_198987((*it).Info, ((NimStringDesc*) &TMP3158));
					}
					LA12: ;
					{
						if (!!(((*(*it).kindU.S6.Sons->data[0]).Kind == ((NU8) 3)))) goto LA16;
						internalerror_198987((*it).Info, ((NimStringDesc*) &TMP3158));
					}
					LA16: ;
					{
						tnode226816* LOC20;
						tnode226816* b;
						tnode226816* LOC23;
						tnode226816* LOC24;
						tnode226816* LOC25;
						LOC20 = 0;
						LOC20 = HEX5BHEX5D_227698(it, 0);
						if (!(((*(*LOC20).kindU.S4.Sym).Flags &(1<<((((NU8) 25))&31)))!=0)) goto LA21;
						b = newnodei_227138(((NU8) 102), (*it).Info);
						LOC23 = 0;
						LOC23 = HEX5BHEX5D_227698(it, 0);
						addson_227287(b, LOC23);
						addson_227287(b, emptynode_227738);
						LOC24 = 0;
						LOC24 = HEX5BHEX5D_227698(it, 2);
						LOC25 = 0;
						LOC25 = transform_437516(c, LOC24);
						addson_227287(b, LOC25);
						HEX5BHEX5DHEX3D_437128(result, i_438268, b);
					}
					goto LA18;
					LA21: ;
					{
						HEX5BHEX5DHEX3D_437128(result, i_438268, it);
					}
					LA18: ;
				}
				LA5: ;
				res_438357 += 1;
			} LA4: ;
		}
	}
	return result;
}

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

N_NIMCALL(tnode226816*, transformvarsection_437732)(ttransfcontext437011* c, tnode226816* v) {
	tnode226816* result;
	result = 0;
	result = newtransnode_437031(v);
	{
		NI i_437749;
		NI HEX3Atmp_438222;
		NI LOC2;
		NI res_438225;
		i_437749 = 0;
		HEX3Atmp_438222 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227249(v);
		HEX3Atmp_438222 = (NI32)(LOC2 - 1);
		res_438225 = 0;
		{
			while (1) {
				tnode226816* it;
				if (!(res_438225 <= HEX3Atmp_438222)) goto LA4;
				i_437749 = res_438225;
				it = (*v).kindU.S6.Sons->data[i_437749];
				{
					if (!((*it).Kind == ((NU8) 125))) goto LA7;
					HEX5BHEX5DHEX3D_437128(result, i_437749, it);
				}
				goto LA5;
				LA7: ;
				{
					tsym226846* newvar;
					tidobj201015* LOC22;
					tnode226816* LOC23;
					tnode226816* defs;
					tnode226816* LOC30;
					tnode226816* LOC31;
					if (!((*it).Kind == ((NU8) 35))) goto LA10;
					{
						if (!!(((*(*it).kindU.S6.Sons->data[0]).Kind == ((NU8) 3)))) goto LA14;
						internalerror_198987((*it).Info, ((NimStringDesc*) &TMP3159));
					}
					LA14: ;
					{
						NI LOC18;
						NimStringDesc* LOC21;
						LOC18 = 0;
						LOC18 = len_227364(it);
						if (!!((LOC18 == 3))) goto LA19;
						LOC21 = 0;
						LOC21 = HEX24_199126(TMP3160);
						internalerror_199006(LOC21);
					}
					LA19: ;
					newvar = copysym_227203((*(*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_437460(c));
					LOC22 = 0;
					LOC22 = &(*(*it).kindU.S6.Sons->data[0]).kindU.S4.Sym->Sup;
					LOC23 = 0;
					LOC23 = newsymnode_227132(newvar);
					idnodetableput_236219((&(*(*c).Transcon).Mapping), LOC22, LOC23);
					defs = newtransnode_437042(((NU8) 35), (*it).Info, 3);
					{
						NIM_BOOL LOC26;
						NimStringDesc* LOC29;
						LOC26 = 0;
						LOC26 = importantcomments_170156();
						if (!LOC26) goto LA27;
						LOC29 = 0;
						LOC29 = (*defs).Comment; (*defs).Comment = copyStringRC1((*it).Comment);
						if (LOC29) nimGCunrefNoCycle(LOC29);
					}
					LA27: ;
					LOC30 = 0;
					LOC30 = newsymnode_227132(newvar);
					HEX5BHEX5DHEX3D_437128(defs, 0, LOC30);
					HEX5BHEX5DHEX3D_437128(defs, 1, (*it).kindU.S6.Sons->data[1]);
					LOC31 = 0;
					LOC31 = transform_437516(c, (*it).kindU.S6.Sons->data[2]);
					HEX5BHEX5DHEX3D_437128(defs, 2, LOC31);
					HEX5BHEX5DHEX3D_437128(result, i_437749, defs);
				}
				goto LA5;
				LA10: ;
				{
					NI l;
					tnode226816* defs;
					tnode226816* LOC43;
					{
						if (!!(((*it).Kind == ((NU8) 36)))) goto LA35;
						internalerror_198987((*it).Info, ((NimStringDesc*) &TMP3161));
					}
					LA35: ;
					l = sonslen_227249(it);
					defs = newtransnode_437042((*it).Kind, (*it).Info, l);
					{
						NI j_437939;
						NI HEX3Atmp_438217;
						NI res_438220;
						j_437939 = 0;
						HEX3Atmp_438217 = 0;
						HEX3Atmp_438217 = (NI32)(l - 3);
						res_438220 = 0;
						{
							while (1) {
								tsym226846* newvar;
								tidobj201015* LOC40;
								tnode226816* LOC41;
								tnode226816* LOC42;
								if (!(res_438220 <= HEX3Atmp_438217)) goto LA39;
								j_437939 = res_438220;
								newvar = copysym_227203((*(*it).kindU.S6.Sons->data[j_437939]).kindU.S4.Sym, NIM_FALSE);
								(*newvar).Flags |= ((NI32)1)<<((((NU8) 2))%(sizeof(NI32)*8));
								asgnRefNoCycle((void**) (&(*newvar).Owner), getcurrowner_437460(c));
								LOC40 = 0;
								LOC40 = &(*(*it).kindU.S6.Sons->data[j_437939]).kindU.S4.Sym->Sup;
								LOC41 = 0;
								LOC41 = newsymnode_227132(newvar);
								idnodetableput_236219((&(*(*c).Transcon).Mapping), LOC40, LOC41);
								LOC42 = 0;
								LOC42 = newsymnode_227132(newvar);
								HEX5BHEX5DHEX3D_437128(defs, j_437939, LOC42);
								res_438220 += 1;
							} LA39: ;
						}
					}
					HEX5BHEX5DHEX3D_437128(defs, (NI32)(l - 2), emptynode_227738);
					LOC43 = 0;
					LOC43 = transform_437516(c, (*it).kindU.S6.Sons->data[(NI32)(l - 1)]);
					HEX5BHEX5DHEX3D_437128(defs, (NI32)(l - 1), LOC43);
					HEX5BHEX5DHEX3D_437128(result, i_437749, defs);
				}
				LA5: ;
				res_438225 += 1;
			} LA4: ;
		}
	}
	return result;
}

N_NIMCALL(void, unpacktuple_439008)(ttransfcontext437011* c, tnode226816* n, tnode226816* father) {
	{
		NI i_439025;
		NI HEX3Atmp_439041;
		NI LOC2;
		NI res_439044;
		i_439025 = 0;
		HEX3Atmp_439041 = 0;
		LOC2 = 0;
		LOC2 = sonslen_227249((*(*c).Transcon).Forstmt);
		HEX3Atmp_439041 = (NI32)(LOC2 - 3);
		res_439044 = 0;
		{
			while (1) {
				tnode226816* LOC5;
				tnode226816* LOC6;
				tnode226816* LOC7;
				if (!(res_439044 <= HEX3Atmp_439041)) goto LA4;
				i_439025 = res_439044;
				LOC5 = 0;
				LOC5 = newtupleaccess_425027(n, i_439025);
				LOC6 = 0;
				LOC6 = transform_437516(c, LOC5);
				LOC7 = 0;
				LOC7 = newasgnstmt_437576(c, (*(*(*c).Transcon).Forstmt).kindU.S6.Sons->data[i_439025], LOC6);
				add_437180(father, LOC7);
				res_439044 += 1;
			} LA4: ;
		}
	}
}

N_NIMCALL(tnode226816*, introducenewlocalvars_439061)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	result = 0;
	switch ((*n).Kind) {
	case ((NU8) 3):
	{
		result = transformsym_437721(c, n);
	}
	break;
	case ((NU8) 1) ... ((NU8) 2):
	case ((NU8) 4) ... ((NU8) 23):
	{
		result = n;
	}
	break;
	case ((NU8) 99):
	case ((NU8) 100):
	{
		result = transformvarsection_437732(c, n);
	}
	break;
	default:
	{
		result = newtransnode_437031(n);
		{
			NI i_439104;
			NI HEX3Atmp_439120;
			NI LOC6;
			NI res_439123;
			i_439104 = 0;
			HEX3Atmp_439120 = 0;
			LOC6 = 0;
			LOC6 = sonslen_227249(n);
			HEX3Atmp_439120 = (NI32)(LOC6 - 1);
			res_439123 = 0;
			{
				while (1) {
					tnode226816* LOC9;
					if (!(res_439123 <= HEX3Atmp_439120)) goto LA8;
					i_439104 = res_439123;
					LOC9 = 0;
					LOC9 = introducenewlocalvars_439061(c, (*n).kindU.S6.Sons->data[i_439104]);
					HEX5BHEX5DHEX3D_437128(result, i_439104, LOC9);
					res_439123 += 1;
				} LA8: ;
			}
		}
	}
	break;
	}
	return result;
}

N_NIMCALL(tnode226816*, transformyield_439140)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	tnode226816* e;
	result = 0;
	result = newtransnode_437042(((NU8) 115), (*n).Info, 0);
	e = (*n).kindU.S6.Sons->data[0];
	{
		NIM_BOOL LOC3;
		ttype226852* LOC4;
		NI LOC6;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = skiptypes_231245((*e).Typ, 2048);
		LOC3 = ((*LOC4).Kind == ((NU8) 18));
		if (!(LOC3)) goto LA5;
		LOC6 = 0;
		LOC6 = len_227364((*(*c).Transcon).Forstmt);
		LOC3 = !((LOC6 == 3));
		LA5: ;
		if (!LOC3) goto LA7;
		e = skipconv_274732(e);
		{
			if (!((*e).Kind == ((NU8) 37))) goto LA11;
			{
				NI i_439191;
				NI HEX3Atmp_439248;
				NI LOC14;
				NI res_439251;
				i_439191 = 0;
				HEX3Atmp_439248 = 0;
				LOC14 = 0;
				LOC14 = sonslen_227249(e);
				HEX3Atmp_439248 = (NI32)(LOC14 - 1);
				res_439251 = 0;
				{
					while (1) {
						tnode226816* LOC17;
						tnode226816* LOC18;
						if (!(res_439251 <= HEX3Atmp_439248)) goto LA16;
						i_439191 = res_439251;
						LOC17 = 0;
						LOC17 = transform_437516(c, (*e).kindU.S6.Sons->data[i_439191]);
						LOC18 = 0;
						LOC18 = newasgnstmt_437576(c, (*(*(*c).Transcon).Forstmt).kindU.S6.Sons->data[i_439191], LOC17);
						add_437180(result, LOC18);
						res_439251 += 1;
					} LA16: ;
				}
			}
		}
		goto LA9;
		LA11: ;
		{
			unpacktuple_439008(c, e, result);
		}
		LA9: ;
	}
	goto LA1;
	LA7: ;
	{
		tnode226816* x;
		tnode226816* LOC21;
		x = transform_437516(c, e);
		LOC21 = 0;
		LOC21 = newasgnstmt_437576(c, (*(*(*c).Transcon).Forstmt).kindU.S6.Sons->data[0], x);
		add_437180(result, LOC21);
	}
	LA1: ;
	(*(*c).Transcon).Yieldstmts += 1;
	{
		if (!((*(*c).Transcon).Yieldstmts <= 1)) goto LA24;
		add_437180(result, (*(*c).Transcon).Forloopbody);
	}
	goto LA22;
	LA24: ;
	{
		tnode226816* LOC27;
		LOC27 = 0;
		LOC27 = introducenewlocalvars_439061(c, (*(*c).Transcon).Forloopbody);
		add_437180(result, LOC27);
	}
	LA22: ;
	return result;
}

N_NIMCALL(tnode226816*, transformblock_438658)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	tsym226846* labl;
	tsym226846* LOC6;
	tnode226816* 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_438426(c, n);
	}
	LA1: ;
	(*c).Breaksyms = (tsymseq226818*) incrSeq(&((*c).Breaksyms)->Sup, sizeof(tsym226846*));
	asgnRefNoCycle((void**) (&(*c).Breaksyms->data[(*c).Breaksyms->Sup.len-1]), labl);
	result = transformsons_437523(c, n);
	LOC6 = 0;
	LOC6 = pop_438736((&(*c).Breaksyms));
	LOC7 = 0;
	LOC7 = newsymnode_227132(labl);
	HEX5BHEX5DHEX3D_437128(result, 0, LOC7);
	return result;
}

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

N_NIMCALL(tnode226816*, transform_437516)(ttransfcontext437011* c, tnode226816* n) {
	tnode226816* result;
	tnode226816* cnst;
	result = 0;
	switch ((*n).Kind) {
	case ((NU8) 3):
	{
		result = transformsym_437721(c, n);
	}
	break;
	case ((NU8) 1) ... ((NU8) 2):
	case ((NU8) 4) ... ((NU8) 23):
	{
		result = n;
	}
	break;
	case ((NU8) 42):
	{
		result = transformarrayaccess_440919(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_440146(c, n);
	}
	break;
	case ((NU8) 95):
	{
		result = transformsons_437523(c, n);
	}
	break;
	case ((NU8) 97):
	{
		result = transformcase_440774(c, n);
	}
	break;
	case ((NU8) 111):
	{
		tsym226846* labl;
		tnode226816* LOC10;
		result = newnodei_227138(((NU8) 110), (*n).Info);
		labl = (*c).Contsyms->data[((*c).Contsyms->Sup.len-1)];
		LOC10 = 0;
		LOC10 = newsymnode_227132(labl);
		add_437180(result, LOC10);
	}
	break;
	case ((NU8) 110):
	{
		result = transformbreak_438957(c, n);
	}
	break;
	case ((NU8) 96):
	{
		result = transformwhile_438833(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_441311(c, n);
	}
	break;
	case ((NU8) 63):
	case ((NU8) 64):
	{
		result = transformaddrderef_439268(c, n, ((NU8) 47), ((NU8) 65));
	}
	break;
	case ((NU8) 47):
	case ((NU8) 65):
	{
		result = transformaddrderef_439268(c, n, ((NU8) 63), ((NU8) 64));
	}
	break;
	case ((NU8) 58):
	case ((NU8) 59):
	case ((NU8) 60):
	{
		result = transformconv_439576(c, n);
	}
	break;
	case ((NU8) 114):
	{
		result = n;
		{
			if (!!(((*(*n).kindU.S6.Sons->data[0]).Kind == ((NU8) 1)))) goto LA20;
			result = transformsons_437523(c, n);
			{
				NIM_BOOL LOC24;
				LOC24 = 0;
				LOC24 = isconstexpr_262921((*result).kindU.S6.Sons->data[0]);
				if (!LOC24) goto LA25;
				result = newnode_227090(((NU8) 125));
			}
			LA25: ;
		}
		LA20: ;
	}
	break;
	case ((NU8) 125):
	case ((NU8) 83):
	{
		result = n;
		goto BeforeRet;
	}
	break;
	case ((NU8) 101):
	{
		result = transformconstsection_438251(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_437732(c, n);
		}
		goto LA31;
		LA33: ;
		{
			result = transformsons_437523(c, n);
		}
		LA31: ;
	}
	break;
	case ((NU8) 104):
	{
		{
			if (!(0 < (*c).Inlining)) goto LA39;
			result = transformyield_439140(c, n);
		}
		goto LA37;
		LA39: ;
		{
			result = transformsons_437523(c, n);
		}
		LA37: ;
	}
	break;
	case ((NU8) 112):
	case ((NU8) 127):
	{
		result = transformblock_438658(c, n);
	}
	break;
	case ((NU8) 35):
	case ((NU8) 102):
	{
		result = transformsons_437523(c, n);
		{
			NIM_BOOL LOC46;
			NimStringDesc* LOC49;
			LOC46 = 0;
			LOC46 = importantcomments_170156();
			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_437523(c, n);
	}
	break;
	}
	cnst = getconstexpr_305004((*c).Module, result);
	{
		NIM_BOOL LOC54;
		NIM_BOOL LOC56;
		LOC54 = 0;
		LOC54 = !((cnst == NIM_NIL));
		if (!(LOC54)) goto LA55;
		LOC56 = 0;
		LOC56 = dontinlineconstant_441608(n, cnst);
		LOC54 = !(LOC56);
		LA55: ;
		if (!LOC54) goto LA57;
		result = cnst;
	}
	LA57: ;
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode226816*, processtransf_442265)(ttransfcontext437011* c, tnode226816* n, tsym226846* owner) {
	tnode226816* result;
	ttranscon437009* 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_437200(owner);
	pushtranscon_437424(c, LOC7);
	result = transform_437516(c, n);
	poptranscon_437434(c);
	(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
	BeforeRet: ;
	return result;
}

N_NIMCALL(tnode226816*, transformexpr_442807)(tsym226846* module, tnode226816* n) {
	tnode226816* result;
	result = 0;
	{
		if (!(((*n).Flags &(1<<((((NU8) 5))&15)))!=0)) goto LA3;
		result = n;
	}
	goto LA1;
	LA3: ;
	{
		ttransfcontext437011* c;
		c = opentransf_442306(module, ((NimStringDesc*) &TMP3135));
		result = processtransf_442265(c, n, module);
		(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode226816*, commonoptimizations_441642)(tsym226846* c, tnode226816* n) {
	tnode226816* result;
	tsym226846* op;
	result = 0;
	result = n;
	{
		NI i_441668;
		NI HEX3Atmp_441815;
		NI LOC2;
		NI res_441818;
		i_441668 = 0;
		HEX3Atmp_441815 = 0;
		LOC2 = 0;
		LOC2 = safelen_227424(n);
		HEX3Atmp_441815 = (LOC2 - 1);
		res_441818 = 0;
		{
			while (1) {
				if (!(res_441818 <= HEX3Atmp_441815)) goto LA4;
				i_441668 = res_441818;
				asgnRefNoCycle((void**) (&(*result).kindU.S6.Sons->data[i_441668]), commonoptimizations_441642(c, (*n).kindU.S6.Sons->data[i_441668]));
				res_441818 += 1;
			} LA4: ;
		}
	}
	op = getmergeop_441041(n);
	{
		NIM_BOOL LOC7;
		NIM_BOOL LOC8;
		NI LOC11;
		tnode226816* 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_227249(n);
		LOC7 = (3 <= LOC11);
		LA10: ;
		if (!LOC7) goto LA12;
		result = newnodeit_227145(((NU8) 27), (*n).Info, (*n).Typ);
		add_227498(result, (*n).kindU.S6.Sons->data[0]);
		args = newnode_227090(((NU8) 151));
		flattentreeaux_441180(args, n, op);
		j = 0;
		{
			while (1) {
				NI LOC16;
				tnode226816* a;
				LOC16 = 0;
				LOC16 = sonslen_227249(args);
				if (!(j < LOC16)) goto LA15;
				a = (*args).kindU.S6.Sons->data[j];
				j += 1;
				{
					NIM_BOOL LOC19;
					LOC19 = 0;
					LOC19 = isconstexpr_262921(a);
					if (!LOC19) goto LA20;
					{
						while (1) {
							NI LOC24;
							tnode226816* b;
							LOC24 = 0;
							LOC24 = sonslen_227249(args);
							if (!(j < LOC24)) goto LA23;
							b = (*args).kindU.S6.Sons->data[j];
							{
								NIM_BOOL LOC27;
								LOC27 = 0;
								LOC27 = isconstexpr_262921(b);
								if (!!(LOC27)) goto LA28;
								goto LA22;
							}
							LA28: ;
							a = evalop_305011((*op).Magic, result, a, b, NIM_NIL);
							j += 1;
						} LA23: ;
					} LA22: ;
				}
				LA20: ;
				add_227498(result, a);
			} LA15: ;
		}
		{
			NI LOC32;
			LOC32 = 0;
			LOC32 = len_227364(result);
			if (!(LOC32 == 2)) goto LA33;
			result = HEX5BHEX5D_227698(result, 1);
		}
		LA33: ;
	}
	goto LA5;
	LA12: ;
	{
		tnode226816* cnst;
		cnst = getconstexpr_305004(c, n);
		{
			NIM_BOOL LOC38;
			NIM_BOOL LOC40;
			LOC38 = 0;
			LOC38 = !((cnst == NIM_NIL));
			if (!(LOC38)) goto LA39;
			LOC40 = 0;
			LOC40 = dontinlineconstant_441608(n, cnst);
			LOC38 = !(LOC40);
			LA39: ;
			if (!LOC38) goto LA41;
			result = cnst;
		}
		goto LA36;
		LA41: ;
		{
			result = n;
		}
		LA36: ;
	}
	LA5: ;
	return result;
}

N_NIMCALL(tnode226816*, transformbody_442373)(tsym226846* module, tnode226816* n, tsym226846* prc) {
	tnode226816* 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: ;
	{
		ttransfcontext437011* c;
		c = opentransf_442306(module, ((NimStringDesc*) &TMP3135));
		result = processtransf_442265(c, n, prc);
		result = liftlambdas_435871(prc, result);
		(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
		trackproc_385148(prc, result);
	}
	LA1: ;
	return result;
}

N_NIMCALL(tnode226816*, transformstmt_442607)(tsym226846* module, tnode226816* n) {
	tnode226816* result;
	result = 0;
	{
		if (!(((*n).Flags &(1<<((((NU8) 5))&15)))!=0)) goto LA3;
		result = n;
	}
	goto LA1;
	LA3: ;
	{
		ttransfcontext437011* c;
		c = opentransf_442306(module, ((NimStringDesc*) &TMP3135));
		result = processtransf_442265(c, n, module);
		result = liftlambdasfortoplevel_435921(module, result);
		(*result).Flags |= ((NI16)1)<<((((NU8) 5))%(sizeof(NI16)*8));
		tracktoplevelstmt_385410(module, result);
	}
	LA1: ;
	return result;
}
NIM_EXTERNC N_NOINLINE(void, HEX00_transfInit)(void) {
}

NIM_EXTERNC N_NOINLINE(void, HEX00_transfDatInit)(void) {
static TNimNode* TMP3128[6];
static TNimNode* TMP3129[6];
static TNimNode TMP928[14];
NTI437011.size = sizeof(ttransfcontext437011);
NTI437011.kind = 17;
NTI437011.base = (&NTI287005);
TMP3128[0] = &TMP928[1];
TMP928[1].kind = 1;
TMP928[1].offset = offsetof(ttransfcontext437011, Module);
TMP928[1].typ = (&NTI226814);
TMP928[1].name = "module";
TMP3128[1] = &TMP928[2];
NTI437009.size = sizeof(ttranscon437009);
NTI437009.kind = 18;
NTI437009.base = 0;
TMP3129[0] = &TMP928[4];
TMP928[4].kind = 1;
TMP928[4].offset = offsetof(ttranscon437009, Mapping);
TMP928[4].typ = (&NTI226870);
TMP928[4].name = "mapping";
TMP3129[1] = &TMP928[5];
TMP928[5].kind = 1;
TMP928[5].offset = offsetof(ttranscon437009, Owner);
TMP928[5].typ = (&NTI226814);
TMP928[5].name = "owner";
TMP3129[2] = &TMP928[6];
TMP928[6].kind = 1;
TMP928[6].offset = offsetof(ttranscon437009, Forstmt);
TMP928[6].typ = (&NTI226808);
TMP928[6].name = "forStmt";
TMP3129[3] = &TMP928[7];
TMP928[7].kind = 1;
TMP928[7].offset = offsetof(ttranscon437009, Forloopbody);
TMP928[7].typ = (&NTI226808);
TMP928[7].name = "forLoopBody";
TMP3129[4] = &TMP928[8];
TMP928[8].kind = 1;
TMP928[8].offset = offsetof(ttranscon437009, Yieldstmts);
TMP928[8].typ = (&NTI108);
TMP928[8].name = "yieldStmts";
TMP3129[5] = &TMP928[9];
TMP928[9].kind = 1;
TMP928[9].offset = offsetof(ttranscon437009, Next);
TMP928[9].typ = (&NTI437007);
TMP928[9].name = "next";
TMP928[3].len = 6; TMP928[3].kind = 2; TMP928[3].sons = &TMP3129[0];
NTI437009.node = &TMP928[3];
NTI437007.size = sizeof(ttranscon437009*);
NTI437007.kind = 22;
NTI437007.base = (&NTI437009);
NTI437007.marker = TMP3133;
TMP928[2].kind = 1;
TMP928[2].offset = offsetof(ttransfcontext437011, Transcon);
TMP928[2].typ = (&NTI437007);
TMP928[2].name = "transCon";
TMP3128[2] = &TMP928[10];
TMP928[10].kind = 1;
TMP928[10].offset = offsetof(ttransfcontext437011, Inlining);
TMP928[10].typ = (&NTI108);
TMP928[10].name = "inlining";
TMP3128[3] = &TMP928[11];
TMP928[11].kind = 1;
TMP928[11].offset = offsetof(ttransfcontext437011, Nestedprocs);
TMP928[11].typ = (&NTI108);
TMP928[11].name = "nestedProcs";
TMP3128[4] = &TMP928[12];
TMP928[12].kind = 1;
TMP928[12].offset = offsetof(ttransfcontext437011, Contsyms);
TMP928[12].typ = (&NTI226818);
TMP928[12].name = "contSyms";
TMP3128[5] = &TMP928[13];
TMP928[13].kind = 1;
TMP928[13].offset = offsetof(ttransfcontext437011, Breaksyms);
TMP928[13].typ = (&NTI226818);
TMP928[13].name = "breakSyms";
TMP928[0].len = 6; TMP928[0].kind = 2; TMP928[0].sons = &TMP3128[0];
NTI437011.node = &TMP928[0];
NTI437013.size = sizeof(ttransfcontext437011*);
NTI437013.kind = 22;
NTI437013.base = (&NTI437011);
NTI437013.marker = TMP3134;
}

