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

#include "nimbase.h"
#include <math.h>
#include <setjmp.h>
#include <string.h>
typedef struct Tnode225809 Tnode225809;
typedef struct Ttype225847 Ttype225847;
typedef struct Tlineinfo190352 Tlineinfo190352;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct Tsym225841 Tsym225841;
typedef struct Tident198021 Tident198021;
typedef struct Tnodeseq225803 Tnodeseq225803;
typedef struct Tidobj198015 Tidobj198015;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Ttypeseq225843 Ttypeseq225843;
typedef struct Tscope225835 Tscope225835;
typedef struct TY225944 TY225944;
typedef struct Tstrtable225813 Tstrtable225813;
typedef struct Tsymseq225811 Tsymseq225811;
typedef struct Tloc225823 Tloc225823;
typedef struct Ropeobj176009 Ropeobj176009;
typedef struct Tlib225827 Tlib225827;
typedef struct Cell48946 Cell48946;
typedef struct Cellseq48962 Cellseq48962;
typedef struct Gcheap51018 Gcheap51018;
typedef struct Gcstack51016 Gcstack51016;
typedef struct Cellset48958 Cellset48958;
typedef struct Pagedesc48954 Pagedesc48954;
typedef struct Memregion30890 Memregion30890;
typedef struct Smallchunk30842 Smallchunk30842;
typedef struct Llchunk30884 Llchunk30884;
typedef struct Bigchunk30844 Bigchunk30844;
typedef struct Intset30817 Intset30817;
typedef struct Trunk30813 Trunk30813;
typedef struct Avlnode30888 Avlnode30888;
typedef struct Gcstat51014 Gcstat51014;
typedef struct Tinfocpu174483 Tinfocpu174483;
typedef struct Tinfoos174049 Tinfoos174049;
typedef struct Exception Exception;
typedef struct TSafePoint TSafePoint;
typedef struct TY90959 TY90959;
typedef struct Tinstantiation225831 Tinstantiation225831;
typedef struct Tlistentry140022 Tlistentry140022;
typedef struct Basechunk30840 Basechunk30840;
typedef struct Freecell30832 Freecell30832;
typedef struct TY225932 TY225932;
struct  Tlineinfo190352  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tnode225809  {
Ttype225847* typ;
Tlineinfo190352 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym225841* sym;
} S4;
struct {Tident198021* ident;
} S5;
struct {Tnodeseq225803* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
typedef N_NIMCALL_PTR(void, TY3889) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3894) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3889 marker;
TY3894 deepcopy;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  Tidobj198015  {
  TNimObject Sup;
NI id;
};
struct  Tstrtable225813  {
NI counter;
Tsymseq225811* data;
};
struct  Tloc225823  {
NU8 k;
NU8 s;
NU16 flags;
Ttype225847* t;
Ropeobj176009* r;
Ropeobj176009* heaproot;
};
struct  Tsym225841  {
  Tidobj198015 Sup;
NU8 kind;
union{
struct {Ttypeseq225843* typeinstcache;
Tscope225835* typscope;
} S1;
struct {TY225944* procinstcache;
Tsym225841* gcunsafetyreason;
} S2;
struct {TY225944* usedgenerics;
Tstrtable225813 tab;
} S3;
struct {Tsym225841* guard;
NI bitsize;
} S4;
} kindU;
NU8 magic;
Ttype225847* typ;
Tident198021* name;
Tlineinfo190352 info;
Tsym225841* owner;
NU32 flags;
Tnode225809* ast;
NU32 options;
NI position;
NI offset;
Tloc225823 loc;
Tlib225827* annex;
Tnode225809* constraint;
};
struct  Cell48946  {
NI refcount;
TNimType* typ;
};
struct  Cellseq48962  {
NI len;
NI cap;
Cell48946** d;
};
struct  Cellset48958  {
NI counter;
NI max;
Pagedesc48954* head;
Pagedesc48954** data;
};
typedef Smallchunk30842* TY30905[512];
typedef Trunk30813* Trunkbuckets30815[256];
struct  Intset30817  {
Trunkbuckets30815 data;
};
struct  Memregion30890  {
NI minlargeobj;
NI maxlargeobj;
TY30905 freesmallchunks;
Llchunk30884* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk30844* freechunkslist;
Intset30817 chunkstarts;
Avlnode30888* root;
Avlnode30888* deleted;
Avlnode30888* last;
Avlnode30888* freeavlnodes;
};
struct  Gcstat51014  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Gcheap51018  {
Gcstack51016* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq48962 zct;
Cellseq48962 decstack;
Cellset48958 cycleroots;
Cellseq48962 tempstack;
NI recgclock;
Memregion30890 region;
Gcstat51014 stat;
};
struct  Ttype225847  {
  Tidobj198015 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq225843* sons;
Tnode225809* n;
Tsym225841* owner;
Tsym225841* sym;
Tsym225841* destructor;
Tsym225841* deepcopy;
Tsym225841* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc225823 loc;
};
struct Tinfocpu174483 {
NimStringDesc* Field0;
NI Field1;
NU8 Field2;
NI Field3;
NI Field4;
};
typedef Tinfocpu174483 TY174514[18];
struct Tinfoos174049 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
NimStringDesc* Field3;
NimStringDesc* Field4;
NimStringDesc* Field5;
NimStringDesc* Field6;
NimStringDesc* Field7;
NimStringDesc* Field8;
NimStringDesc* Field9;
NimStringDesc* Field10;
NimStringDesc* Field11;
NU8 Field12;
};
typedef Tinfoos174049 TY174084[24];
struct  Exception  {
  TNimObject Sup;
Exception* parent;
NCSTRING name;
NimStringDesc* message;
NimStringDesc* trace;
};
typedef struct {
N_NIMCALL_PTR(NIM_BOOL, ClPrc) (Exception* e, void* ClEnv);
void* ClEnv;
} TY19211;
struct  TSafePoint  {
TSafePoint* prev;
NI status;
jmp_buf context;
NIM_BOOL hasRaiseAction;
TY19211 raiseAction;
};
struct  Tident198021  {
  Tidobj198015 Sup;
NimStringDesc* s;
Tident198021* next;
NI h;
};
struct TY90959 {
NimStringDesc* Field0;
NI Field1;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
typedef NimStringDesc* TY193306[2];
struct  Tscope225835  {
NI depthlevel;
Tstrtable225813 symbols;
Tnodeseq225803* usingsyms;
Tscope225835* parent;
};
struct  Ropeobj176009  {
  TNimObject Sup;
Ropeobj176009* left;
Ropeobj176009* right;
NI length;
NimStringDesc* data;
};
struct  Tlistentry140022  {
  TNimObject Sup;
Tlistentry140022* prev;
Tlistentry140022* next;
};
struct  Tlib225827  {
  Tlistentry140022 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj176009* name;
Tnode225809* path;
};
struct  Gcstack51016  {
Gcstack51016* prev;
Gcstack51016* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY30821[16];
struct  Pagedesc48954  {
Pagedesc48954* next;
NI key;
TY30821 bits;
};
struct  Basechunk30840  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk30842  {
  Basechunk30840 Sup;
Smallchunk30842* next;
Smallchunk30842* prev;
Freecell30832* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk30884  {
NI size;
NI acc;
Llchunk30884* next;
};
struct  Bigchunk30844  {
  Basechunk30840 Sup;
Bigchunk30844* next;
Bigchunk30844* prev;
NI align;
NF data;
};
struct  Trunk30813  {
Trunk30813* next;
NI key;
TY30821 bits;
};
typedef Avlnode30888* TY30895[2];
struct  Avlnode30888  {
TY30895 link;
NI key;
NI upperbound;
NI level;
};
struct  Tinstantiation225831  {
Tsym225841* sym;
Ttypeseq225843* concretetypes;
TY225932* usedby;
NI compilesid;
};
struct  Freecell30832  {
Freecell30832* next;
NI zerofield;
};
struct Tnodeseq225803 {
  TGenericSeq Sup;
  Tnode225809* data[SEQ_DECL_SIZE];
};
struct Ttypeseq225843 {
  TGenericSeq Sup;
  Ttype225847* data[SEQ_DECL_SIZE];
};
struct TY225944 {
  TGenericSeq Sup;
  Tinstantiation225831* data[SEQ_DECL_SIZE];
};
struct Tsymseq225811 {
  TGenericSeq Sup;
  Tsym225841* data[SEQ_DECL_SIZE];
};
struct TY225932 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
N_NIMCALL(void, internalerror_196172)(Tlineinfo190352 info, NimStringDesc* errmsg);
N_NIMCALL(Tnode225809*, newsymnode_227338)(Tsym225841* sym, Tlineinfo190352 info);
N_NIMCALL(Ttype225847*, newtype_228140)(NU8 kind, Tsym225841* owner);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
static N_INLINE(Cell48946*, usrtocell_52646)(void* usr);
static N_INLINE(void, rtladdzct_54204)(Cell48946* c);
N_NOINLINE(void, addzct_52617)(Cellseq48962* s, Cell48946* c);
N_NIMCALL(void, addsonskipintlit_274729)(Ttype225847* father, Ttype225847* son);
N_NIMCALL(Ttype225847*, skiptypes_229167)(Ttype225847* t, NU64 kinds);
N_NIMCALL(Tnode225809*, newintnode_226608)(NU8 kind, NI64 intval);
N_NIMCALL(Ttype225847*, getintlittype_274660)(Tnode225809* literal);
N_NIMCALL(Tnode225809*, newstrnode_226644)(NU8 kind, NimStringDesc* strval);
N_NIMCALL(Tnode225809*, newintnodet_293028)(NI64 intval, Tnode225809* n);
N_NIMCALL(Tnode225809*, newstrnodet_293042)(NimStringDesc* strval, Tnode225809* n);
N_NIMCALL(NimStringDesc*, ntgetDateStr)(void);
N_NIMCALL(NimStringDesc*, ntgetClockStr)(void);
N_NIMCALL(NimStringDesc*, nsuToLowerStr)(NimStringDesc* s);
N_NIMCALL(Tnode225809*, getapptype_294226)(Tnode225809* n);
N_NIMCALL(Tnode225809*, newfloatnodet_293035)(NF floatval, Tnode225809* n);
N_NIMCALL(Tnode225809*, newfloatnode_226632)(NU8 kind, NF floatval);
N_NIMCALL(Ttype225847*, getfloatlittype_274686)(Tnode225809* literal);
N_NIMCALL(Tnode225809*, copytree_230028)(Tnode225809* src);
N_NIMCALL(Tnode225809*, newsymnodetypedesc_294736)(Tsym225841* s, Tlineinfo190352 info);
N_NIMCALL(Tnode225809*, copynode_229660)(Tnode225809* src);
N_NIMCALL(Tnode225809*, getconstifexpr_293945)(Tsym225841* c, Tnode225809* n);
N_NIMCALL(NI, sonslen_228387)(Tnode225809* n);
static N_INLINE(NI, len_226098)(Tnode225809* n);
N_NIMCALL(Tnode225809*, getconstexpr_293004)(Tsym225841* m, Tnode225809* n);
N_NIMCALL(NI64, getordvalue_255178)(Tnode225809* n);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
static N_INLINE(void, popSafePoint)(void);
N_NIMCALL(NI64, computesize_255184)(Ttype225847* typ);
N_NIMCALL(void, localerror_196128)(Tlineinfo190352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(NI64, getsize_255190)(Ttype225847* typ);
N_NIMCALL(NI64, firstord_255004)(Ttype225847* t);
N_NIMCALL(NI64, lastord_255010)(Ttype225847* t);
static N_INLINE(Tnode225809*, HEX5BHEX5D_226244)(Tnode225809* n, NI i);
N_NIMCALL(Tnode225809*, getarrayconstr_294290)(Tsym225841* m, Tnode225809* n);
N_NIMCALL(Tnode225809*, magiccall_294167)(Tsym225841* m, Tnode225809* n);
N_NIMCALL(Tnode225809*, evalop_293011)(NU8 m, Tnode225809* n, Tnode225809* a, Tnode225809* b, Tnode225809* c);
N_NIMCALL(NI64, getint_230605)(Tnode225809* a);
N_NIMCALL(NF, getfloat_230616)(Tnode225809* a);
N_NIMCALL(NI64, cardset_276089)(Tnode225809* s);
N_NIMCALL(NimStringDesc*, getstr_230627)(Tnode225809* a);
N_NIMCALL(NI64, lengthord_255016)(Ttype225847* t);
N_NIMCALL(NI64, HEX7CHEX2DHEX7C_292030)(NI64 a, NI64 b);
N_NIMCALL(NI64, HEX7CHEX2BHEX7C_292019)(NI64 a, NI64 b);
N_NIMCALL(NI64, HEX7CHEX2AHEX7C_292073)(NI64 a, NI64 b);
N_NIMCALL(NI64, HEX7CdivHEX7C_292051)(NI64 a, NI64 b);
N_NIMCALL(NI64, HEX7CmodHEX7C_292062)(NI64 a, NI64 b);
static N_INLINE(NI, cmpStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(NIM_BOOL, containssets_276075)(Tnode225809* a, Tnode225809* b);
N_NIMCALL(NIM_BOOL, equalsets_276082)(Tnode225809* a, Tnode225809* b);
N_NIMCALL(Tnode225809*, intersectsets_276061)(Tnode225809* a, Tnode225809* b);
N_NIMCALL(Tnode225809*, unionsets_276047)(Tnode225809* a, Tnode225809* b);
N_NIMCALL(Tnode225809*, diffsets_276054)(Tnode225809* a, Tnode225809* b);
N_NIMCALL(Tnode225809*, symdiffsets_276068)(Tnode225809* a, Tnode225809* b);
N_NIMCALL(NimStringDesc*, getstrorchar_230638)(Tnode225809* a);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_NIMCALL(NIM_BOOL, inset_276019)(Tnode225809* s, Tnode225809* elem);
N_NIMCALL(NimStringDesc*, nimInt64ToStr)(NI64 x);
N_NIMCALL(NimStringDesc*, copyStr)(NimStringDesc* s, NI start);
N_NIMCALL(NimStringDesc*, copyStr)(NimStringDesc* s, NI first);
N_NIMCALL(NimStringDesc*, copyStrLast)(NimStringDesc* s, NI start_81016, NI last);
N_NIMCALL(NimStringDesc*, copyStrLast)(NimStringDesc* s, NI first, NI last);
N_NIMCALL(NimStringDesc*, nimFloatToStr)(NF f);
N_NIMCALL(NimStringDesc*, ordinalvaltostring_293091)(Tnode225809* a);
N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_NIMCALL(NIM_BOOL, testcompileoption_211705)(NimStringDesc* switch_211707, Tlineinfo190352 info);
N_NIMCALL(NIM_BOOL, testcompileoptionarg_211583)(NimStringDesc* switch_211585, NimStringDesc* arg, Tlineinfo190352 info);
N_NIMCALL(NIM_BOOL, exprstructuralequivalent_254149)(Tnode225809* a, Tnode225809* b, NIM_BOOL strictsymequality);
N_NIMCALL(NimStringDesc*, rendertree_247059)(Tnode225809* n, NU8 renderflags);
N_NIMCALL(Tnode225809*, foldconstrstr_294679)(Tsym225841* m, Tnode225809* n);
N_NIMCALL(Tnode225809*, newnodeit_227807)(NU8 kind, Tlineinfo190352 info, Ttype225847* typ);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_NIMCALL(Tnode225809*, evalis_293581)(Tnode225809* n, Tnode225809* a);
N_NIMCALL(void, internalerror_196191)(NimStringDesc* errmsg);
N_NIMCALL(NimStringDesc*, HEX24_196279)(TY90959 x);
N_NIMCALL(NimStringDesc*, nsuNormalize)(NimStringDesc* s);
N_NIMCALL(NIM_BOOL, sametype_260092)(Ttype225847* a, Ttype225847* b, NU8 flags);
N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
static N_INLINE(Exception*, getCurrentException)(void);
static N_INLINE(void, popCurrentException)(void);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_55022)(Cell48946* c);
static N_INLINE(NIM_BOOL, canbecycleroot_52667)(Cell48946* c);
static N_INLINE(void, rtladdcycleroot_53423)(Cell48946* c);
N_NOINLINE(void, incl_49665)(Cellset48958* s, Cell48946* cell);
static N_INLINE(void, decref_54604)(Cell48946* c);
N_NIMCALL(void, reraiseException)(void);
N_NIMCALL(void, addson_227819)(Tnode225809* father, Tnode225809* son);
N_NIMCALL(NIM_BOOL, levalueconv_293021)(Tnode225809* a, Tnode225809* b);
N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen0);
N_NIMCALL(NimStringDesc*, msgkindtostring_192406)(NU16 kind);
N_NIMCALL(NimStringDesc*, typetostring_255032)(Ttype225847* typ, NU8 prefer);
N_NIMCALL(Tnode225809*, foldconv_294276)(Tnode225809* n, Tnode225809* a, NIM_BOOL check);
N_NIMCALL(void, rangecheck_294266)(Tnode225809* n, NI64 value);
N_NIMCALL(Tnode225809*, foldarrayaccess_294322)(Tsym225841* m, Tnode225809* n);
N_NIMCALL(Tnode225809*, foldfieldaccess_294397)(Tsym225841* m, Tnode225809* n);
static N_INLINE(NIM_BOOL, isintrange_293196)(Ttype225847* t);
N_NIMCALL(Ttype225847*, makerange_293293)(Ttype225847* typ, NI64 first, NI64 last);
N_NIMCALL(Tnode225809*, newnode_226401)(NU8 kind);
static N_INLINE(NIM_BOOL, isfloatrange_293166)(Ttype225847* t);
N_NIMCALL(Ttype225847*, makerangef_293338)(Ttype225847* typ, NF first, NF last);
N_NIMCALL(NI64, HEX7CabsHEX7C_292041)(NI64 a);
static N_INLINE(NIM_BOOL, isintlit_255327)(Ttype225847* t);
N_NIMCALL(NI64, pickminint_293247)(Tnode225809* n);
N_NIMCALL(NI64, pickmaxint_293270)(Tnode225809* n);
N_NIMCALL(NIM_BOOL, isintrangeorlit_293237)(Ttype225847* t);
N_NIMCALL(Ttype225847*, pickintrange_293226)(Ttype225847* a, Ttype225847* b);
STRING_LITERAL(TMP2929, "leValueConv", 11);
extern NIM_CONST TY174514 Cpu_174500;
extern NIM_CONST TY174084 Os_174070;
STRING_LITERAL(TMP3369, "lib", 3);
STRING_LITERAL(TMP3370, "staticlib", 9);
STRING_LITERAL(TMP3371, "gui", 3);
STRING_LITERAL(TMP3372, "console", 7);
STRING_LITERAL(TMP3373, "getConstIfExpr()", 16);
STRING_LITERAL(TMP3375, "sizeof", 6);
STRING_LITERAL(TMP3379, "constant folding for shl", 24);
STRING_LITERAL(TMP3380, "constant folding for shr", 24);
STRING_LITERAL(TMP3382, "false", 5);
STRING_LITERAL(TMP3383, "true", 4);
STRING_LITERAL(TMP3384, "ordinalValToString", 18);
STRING_LITERAL(TMP3385, "no symbol for ordinal value: ", 29);
STRING_LITERAL(TMP3386, "", 0);
STRING_LITERAL(TMP3388, "compiler/semfold.nim", 20);
NIM_CONST TY90959 TMP3387 = {((NimStringDesc*) &TMP3388),
((NI) 252)}
;
NIM_CONST TY90959 TMP3389 = {((NimStringDesc*) &TMP3388),
((NI) 253)}
;
STRING_LITERAL(TMP3390, "closure", 7);
STRING_LITERAL(TMP3391, "iterator", 8);
STRING_LITERAL(TMP3392, "cannot convert ", 15);
STRING_LITERAL(TMP3393, " to ", 4);
STRING_LITERAL(TMP3394, "pickMinInt", 10);
STRING_LITERAL(TMP3395, "pickMaxInt", 10);
extern Gcheap51018 gch_51059;
extern NU8 targetcpu_174628;
extern NU8 targetos_174630;
extern NU32 gglobaloptions_167132;
extern TSafePoint* exchandler_20843;
extern TNimType NTI4043; /* OverflowError */
extern Exception* currexception_20845;
extern TNimType NTI4041; /* DivByZeroError */

N_NIMCALL(NIM_BOOL, levalueconv_293021)(Tnode225809* a, Tnode225809* b) {
	NIM_BOOL result;
	result = 0;
	result = NIM_FALSE;
	switch ((*a).kind) {
	case ((NU8) 5) ... ((NU8) 15):
	{
		switch ((*b).kind) {
		case ((NU8) 5) ... ((NU8) 15):
		{
			result = ((*a).kindU.S1.intval <= (*b).kindU.S1.intval);
		}
		break;
		case ((NU8) 16) ... ((NU8) 19):
		{
			NI LOC4;
			LOC4 = 0;
			LOC4 = lrint((*b).kindU.S2.floatval);
			result = ((*a).kindU.S1.intval <= ((NI64) (LOC4)));
		}
		break;
		default:
		{
			internalerror_196172((*a).info, ((NimStringDesc*) &TMP2929));
		}
		break;
		}
	}
	break;
	case ((NU8) 16) ... ((NU8) 19):
	{
		switch ((*b).kind) {
		case ((NU8) 16) ... ((NU8) 19):
		{
			result = ((*a).kindU.S2.floatval <= (*b).kindU.S2.floatval);
		}
		break;
		case ((NU8) 5) ... ((NU8) 15):
		{
			result = ((*a).kindU.S2.floatval <= ((double) (((NI) ((*b).kindU.S1.intval)))));
		}
		break;
		default:
		{
			internalerror_196172((*a).info, ((NimStringDesc*) &TMP2929));
		}
		break;
		}
	}
	break;
	default:
	{
		internalerror_196172((*a).info, ((NimStringDesc*) &TMP2929));
	}
	break;
	}
	return result;
}

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

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

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		Cell48946* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_52646(src);
		(*c).refcount += ((NI) 8);
	}
	LA3: ;
	{
		Cell48946* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_52646((*dest));
		{
			(*c).refcount -= ((NI) 8);
			if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA11;
			rtladdzct_54204(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

N_NIMCALL(Tnode225809*, newsymnodetypedesc_294736)(Tsym225841* s, Tlineinfo190352 info) {
	Tnode225809* result;
	result = 0;
	result = newsymnode_227338(s, info);
	asgnRefNoCycle((void**) (&(*result).typ), newtype_228140(((NU8) 8), (*s).owner));
	addsonskipintlit_274729((*result).typ, (*s).typ);
	return result;
}

N_NIMCALL(Tnode225809*, newintnodet_293028)(NI64 intval, Tnode225809* n) {
	Tnode225809* result;
	Ttype225847* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = skiptypes_229167((*n).typ, IL64(211106242013440));
	switch ((*LOC1).kind) {
	case ((NU8) 31):
	{
		result = newintnode_226608(((NU8) 6), intval);
		asgnRefNoCycle((void**) (&(*result).typ), getintlittype_274660(result));
	}
	break;
	case ((NU8) 2):
	{
		result = newintnode_226608(((NU8) 5), intval);
		asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
	}
	break;
	default:
	{
		result = newintnode_226608(((NU8) 6), intval);
		asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
	}
	break;
	}
	(*result).info = (*n).info;
	return result;
}

N_NIMCALL(Tnode225809*, newstrnodet_293042)(NimStringDesc* strval, Tnode225809* n) {
	Tnode225809* result;
	result = 0;
	result = newstrnode_226644(((NU8) 20), strval);
	asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
	(*result).info = (*n).info;
	return result;
}

N_NIMCALL(Tnode225809*, getapptype_294226)(Tnode225809* n) {
	Tnode225809* result;
	result = 0;
	{
		if (!((gglobaloptions_167132 &(1<<((((NU8) 8))&31)))!=0)) goto LA3;
		result = newstrnodet_293042(((NimStringDesc*) &TMP3369), n);
	}
	goto LA1;
	LA3: ;
	{
		if (!((gglobaloptions_167132 &(1<<((((NU8) 9))&31)))!=0)) goto LA6;
		result = newstrnodet_293042(((NimStringDesc*) &TMP3370), n);
	}
	goto LA1;
	LA6: ;
	{
		if (!((gglobaloptions_167132 &(1<<((((NU8) 10))&31)))!=0)) goto LA9;
		result = newstrnodet_293042(((NimStringDesc*) &TMP3371), n);
	}
	goto LA1;
	LA9: ;
	{
		result = newstrnodet_293042(((NimStringDesc*) &TMP3372), n);
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode225809*, newfloatnodet_293035)(NF floatval, Tnode225809* n) {
	Tnode225809* result;
	result = 0;
	result = newfloatnode_226632(((NU8) 16), floatval);
	{
		Ttype225847* LOC3;
		LOC3 = 0;
		LOC3 = skiptypes_229167((*n).typ, IL64(211106242013440));
		if (!((*LOC3).kind == ((NU8) 36))) goto LA4;
		asgnRefNoCycle((void**) (&(*result).typ), getfloatlittype_274686(result));
	}
	goto LA1;
	LA4: ;
	{
		asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
	}
	LA1: ;
	(*result).info = (*n).info;
	return result;
}

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

N_NIMCALL(Tnode225809*, getconstifexpr_293945)(Tsym225841* c, Tnode225809* n) {
	Tnode225809* result;
{	result = 0;
	result = NIM_NIL;
	{
		NI i_293962;
		NI HEX3Atmp_294020;
		NI LOC2;
		NI res_294023;
		i_293962 = 0;
		HEX3Atmp_294020 = 0;
		LOC2 = 0;
		LOC2 = sonslen_228387(n);
		HEX3Atmp_294020 = (NI)(LOC2 - ((NI) 1));
		res_294023 = ((NI) 0);
		{
			while (1) {
				Tnode225809* it;
				if (!(res_294023 <= HEX3Atmp_294020)) goto LA4;
				i_293962 = res_294023;
				it = (*n).kindU.S6.sons->data[i_293962];
				{
					NI LOC7;
					Tnode225809* e;
					LOC7 = 0;
					LOC7 = len_226098(it);
					if (!(LOC7 == ((NI) 2))) goto LA8;
					e = getconstexpr_293004(c, (*it).kindU.S6.sons->data[((NI) 0)]);
					{
						if (!(e == NIM_NIL)) goto LA12;
						result = NIM_NIL;
						goto BeforeRet;
					}
					LA12: ;
					{
						NI64 LOC16;
						LOC16 = 0;
						LOC16 = getordvalue_255178(e);
						if (!!((LOC16 == IL64(0)))) goto LA17;
						{
							if (!(result == NIM_NIL)) goto LA21;
							result = getconstexpr_293004(c, (*it).kindU.S6.sons->data[((NI) 1)]);
							{
								if (!(result == NIM_NIL)) goto LA25;
								goto BeforeRet;
							}
							LA25: ;
						}
						LA21: ;
					}
					LA17: ;
				}
				goto LA5;
				LA8: ;
				{
					NI LOC28;
					LOC28 = 0;
					LOC28 = len_226098(it);
					if (!(LOC28 == ((NI) 1))) goto LA29;
					{
						if (!(result == NIM_NIL)) goto LA33;
						result = getconstexpr_293004(c, (*it).kindU.S6.sons->data[((NI) 0)]);
					}
					LA33: ;
				}
				goto LA5;
				LA29: ;
				{
					internalerror_196172((*it).info, ((NimStringDesc*) &TMP3373));
				}
				LA5: ;
				res_294023 += ((NI) 1);
			} LA4: ;
		}
	}
	}BeforeRet: ;
	return result;
}

static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
	(*s).hasRaiseAction = NIM_FALSE;
	(*s).prev = exchandler_20843;
	exchandler_20843 = s;
}

static N_INLINE(void, popSafePoint)(void) {
	exchandler_20843 = (*exchandler_20843).prev;
}

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

N_NIMCALL(Tnode225809*, getarrayconstr_294290)(Tsym225841* m, Tnode225809* n) {
	Tnode225809* result;
	result = 0;
	{
		if (!((*n).kind == ((NU8) 41))) goto LA3;
		result = n;
	}
	goto LA1;
	LA3: ;
	{
		result = getconstexpr_293004(m, n);
		{
			if (!(result == NIM_NIL)) goto LA8;
			result = n;
		}
		LA8: ;
	}
	LA1: ;
	return result;
}

static N_INLINE(NI, cmpStrings)(NimStringDesc* a, NimStringDesc* b) {
	NI result;
	int LOC13;
{	result = 0;
	{
		if (!(a == b)) goto LA3;
		result = ((NI) 0);
		goto BeforeRet;
	}
	LA3: ;
	{
		if (!(a == NIM_NIL)) goto LA7;
		result = ((NI) -1);
		goto BeforeRet;
	}
	LA7: ;
	{
		if (!(b == NIM_NIL)) goto LA11;
		result = ((NI) 1);
		goto BeforeRet;
	}
	LA11: ;
	LOC13 = 0;
	LOC13 = strcmp(((NCSTRING) ((*a).data)), ((NCSTRING) ((*b).data)));
	result = ((NI) (LOC13));
	goto BeforeRet;
	}BeforeRet: ;
	return result;
}

static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	NIM_BOOL LOC11;
	int LOC13;
{	result = 0;
	{
		if (!(a == b)) goto LA3;
		result = NIM_TRUE;
		goto BeforeRet;
	}
	LA3: ;
	{
		NIM_BOOL LOC7;
		LOC7 = 0;
		LOC7 = (a == NIM_NIL);
		if (LOC7) goto LA8;
		LOC7 = (b == NIM_NIL);
		LA8: ;
		if (!LOC7) goto LA9;
		result = NIM_FALSE;
		goto BeforeRet;
	}
	LA9: ;
	LOC11 = 0;
	LOC11 = ((*a).Sup.len == (*b).Sup.len);
	if (!(LOC11)) goto LA12;
	LOC13 = 0;
	LOC13 = memcmp(((NCSTRING) ((*a).data)), ((NCSTRING) ((*b).data)), (*a).Sup.len);
	LOC11 = (LOC13 == ((NI32) 0));
	LA12: ;
	result = LOC11;
	goto BeforeRet;
	}BeforeRet: ;
	return result;
}

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

N_NIMCALL(NimStringDesc*, ordinalvaltostring_293091)(Tnode225809* a) {
	NimStringDesc* result;
	NI64 x;
	Ttype225847* t;
{	result = 0;
	x = getint_230605(a);
	t = skiptypes_229167((*a).typ, IL64(211106233624832));
	switch ((*t).kind) {
	case ((NU8) 2):
	{
		result = nimCharToStr(((NIM_CHAR) ((NI)(((NI) (x)) & ((NI) 255)))));
	}
	break;
	case ((NU8) 14):
	{
		Tnode225809* n;
		NimStringDesc* LOC20;
		NimStringDesc* LOC21;
		n = (*t).n;
		{
			NI i_293112;
			NI HEX3Atmp_293144;
			NI LOC4;
			NI res_293147;
			i_293112 = 0;
			HEX3Atmp_293144 = 0;
			LOC4 = 0;
			LOC4 = sonslen_228387(n);
			HEX3Atmp_293144 = (NI)(LOC4 - ((NI) 1));
			res_293147 = ((NI) 0);
			{
				while (1) {
					Tsym225841* field;
					if (!(res_293147 <= HEX3Atmp_293144)) goto LA6;
					i_293112 = res_293147;
					{
						if (!!(((*(*n).kindU.S6.sons->data[i_293112]).kind == ((NU8) 3)))) goto LA9;
						internalerror_196172((*a).info, ((NimStringDesc*) &TMP3384));
					}
					LA9: ;
					field = (*(*n).kindU.S6.sons->data[i_293112]).kindU.S4.sym;
					{
						if (!(((NI64) ((*field).position)) == x)) goto LA13;
						{
							if (!((*field).ast == NIM_NIL)) goto LA17;
							result = copyString((*(*field).name).s);
							goto BeforeRet;
						}
						goto LA15;
						LA17: ;
						{
							result = copyString((*(*field).ast).kindU.S3.strval);
							goto BeforeRet;
						}
						LA15: ;
					}
					LA13: ;
					res_293147 += ((NI) 1);
				} LA6: ;
			}
		}
		LOC20 = 0;
		LOC21 = 0;
		LOC21 = nimInt64ToStr(x);
		LOC20 = rawNewString(LOC21->Sup.len + 29);
appendString(LOC20, ((NimStringDesc*) &TMP3385));
appendString(LOC20, LOC21);
		internalerror_196172((*a).info, LOC20);
	}
	break;
	default:
	{
		result = nimInt64ToStr(x);
	}
	break;
	}
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Tnode225809*, evalop_293011)(NU8 m, Tnode225809* n, Tnode225809* a, Tnode225809* b, Tnode225809* c) {
	Tnode225809* result;
	result = 0;
	result = NIM_NIL;
	switch (m) {
	case ((NU8) 28):
	{
		NI64 LOC2;
		LOC2 = 0;
		LOC2 = getordvalue_255178(a);
		result = newintnodet_293028(LOC2, n);
	}
	break;
	case ((NU8) 41):
	{
		NI64 LOC4;
		LOC4 = 0;
		LOC4 = getint_230605(a);
		result = newintnodet_293028(LOC4, n);
	}
	break;
	case ((NU8) 95):
	case ((NU8) 96):
	{
		NI64 LOC6;
		LOC6 = 0;
		LOC6 = getint_230605(a);
		result = newintnodet_293028(-(LOC6), n);
	}
	break;
	case ((NU8) 102):
	{
		NF LOC8;
		LOC8 = 0;
		LOC8 = getfloat_230616(a);
		result = newfloatnodet_293035(-(LOC8), n);
	}
	break;
	case ((NU8) 98):
	{
		NI64 LOC10;
		LOC10 = 0;
		LOC10 = getint_230605(a);
		result = newintnodet_293028((NI64)(IL64(1) - LOC10), n);
	}
	break;
	case ((NU8) 40):
	{
		NI64 LOC12;
		LOC12 = 0;
		LOC12 = cardset_276089(a);
		result = newintnodet_293028(LOC12, n);
	}
	break;
	case ((NU8) 100):
	{
		NI64 LOC14;
		LOC14 = 0;
		LOC14 = getint_230605(a);
		result = newintnodet_293028((NI64)((NU64) ~(LOC14)), n);
	}
	break;
	case ((NU8) 33):
	case ((NU8) 36):
	{
		{
			if (!((*a).kind == ((NU8) 23))) goto LA18;
			result = newintnodet_293028(IL64(0), n);
		}
		goto LA16;
		LA18: ;
		{
			NimStringDesc* LOC21;
			LOC21 = 0;
			LOC21 = getstr_230627(a);
			result = newintnodet_293028(((NI64) ((LOC21 ? LOC21->Sup.len : 0))), n);
		}
		LA16: ;
	}
	break;
	case ((NU8) 34):
	{
		NI64 LOC23;
		LOC23 = 0;
		LOC23 = lengthord_255016((*a).typ);
		result = newintnodet_293028(LOC23, n);
	}
	break;
	case ((NU8) 35):
	case ((NU8) 32):
	case ((NU8) 37):
	{
		{
			if (!((*a).kind == ((NU8) 23))) goto LA27;
			result = newintnodet_293028(IL64(0), n);
		}
		goto LA25;
		LA27: ;
		{
			NI LOC30;
			LOC30 = 0;
			LOC30 = sonslen_228387(a);
			result = newintnodet_293028(((NI64) (LOC30)), n);
		}
		LA25: ;
	}
	break;
	case ((NU8) 99):
	case ((NU8) 101):
	{
		result = a;
	}
	break;
	case ((NU8) 113):
	case ((NU8) 114):
	{
		NI64 LOC33;
		LOC33 = 0;
		LOC33 = getint_230605(a);
		result = newfloatnodet_293035(((double) (((NI) (LOC33)))), n);
	}
	break;
	case ((NU8) 115):
	case ((NU8) 116):
	{
		NF LOC35;
		LOC35 = 0;
		LOC35 = getfloat_230616(a);
		result = newintnodet_293028(((NI64) (float64ToInt32(LOC35))), n);
	}
	break;
	case ((NU8) 103):
	{
		NF LOC37;
		LOC37 = 0;
		LOC37 = getfloat_230616(a);
		result = newfloatnodet_293035((LOC37 > 0? (LOC37) : -(LOC37)), n);
	}
	break;
	case ((NU8) 97):
	{
		{
			NI64 LOC41;
			LOC41 = 0;
			LOC41 = getint_230605(a);
			if (!(IL64(0) <= LOC41)) goto LA42;
			result = a;
		}
		goto LA39;
		LA42: ;
		{
			NI64 LOC45;
			LOC45 = 0;
			LOC45 = getint_230605(a);
			result = newintnodet_293028(-(LOC45), n);
		}
		LA39: ;
	}
	break;
	case ((NU8) 104):
	case ((NU8) 105):
	case ((NU8) 106):
	case ((NU8) 107):
	case ((NU8) 108):
	case ((NU8) 109):
	{
		NI64 LOC47;
		NI64 LOC48;
		LOC47 = 0;
		LOC47 = getint_230605(a);
		LOC48 = 0;
		LOC48 = getsize_255190((*a).typ);
		result = newintnodet_293028((NI64)(LOC47 & (NI64)((NI64)((NU64)(IL64(1)) << (NU64)((NI64)(LOC48 * IL64(8)))) - IL64(1))), n);
	}
	break;
	case ((NU8) 110):
	{
		NI64 LOC50;
		LOC50 = 0;
		LOC50 = getint_230605(a);
		result = newintnodet_293028(((NI64) ((NI64)(LOC50 & IL64(255)))), n);
	}
	break;
	case ((NU8) 111):
	{
		NI64 LOC52;
		LOC52 = 0;
		LOC52 = getint_230605(a);
		result = newintnodet_293028(((NI64) ((NI64)(LOC52 & IL64(65535)))), n);
	}
	break;
	case ((NU8) 112):
	{
		NI64 LOC54;
		LOC54 = 0;
		LOC54 = getint_230605(a);
		result = newintnodet_293028(((NI64) ((NI64)(LOC54 & IL64(4294967295)))), n);
	}
	break;
	case ((NU8) 25):
	{
		NI64 LOC56;
		NI64 LOC57;
		LOC56 = 0;
		LOC56 = getordvalue_255178(a);
		LOC57 = 0;
		LOC57 = HEX7CHEX2DHEX7C_292030(LOC56, IL64(1));
		result = newintnodet_293028(LOC57, n);
	}
	break;
	case ((NU8) 49):
	{
		NI64 LOC59;
		NI64 LOC60;
		NI64 LOC61;
		LOC59 = 0;
		LOC59 = getordvalue_255178(a);
		LOC60 = 0;
		LOC60 = getint_230605(b);
		LOC61 = 0;
		LOC61 = HEX7CHEX2BHEX7C_292019(LOC59, LOC60);
		result = newintnodet_293028(LOC61, n);
	}
	break;
	case ((NU8) 50):
	{
		NI64 LOC63;
		NI64 LOC64;
		NI64 LOC65;
		LOC63 = 0;
		LOC63 = getordvalue_255178(a);
		LOC64 = 0;
		LOC64 = getint_230605(b);
		LOC65 = 0;
		LOC65 = HEX7CHEX2DHEX7C_292030(LOC63, LOC64);
		result = newintnodet_293028(LOC65, n);
	}
	break;
	case ((NU8) 44):
	{
		NI64 LOC67;
		NI64 LOC68;
		NI64 LOC69;
		LOC67 = 0;
		LOC67 = getint_230605(a);
		LOC68 = 0;
		LOC68 = getint_230605(b);
		LOC69 = 0;
		LOC69 = HEX7CHEX2BHEX7C_292019(LOC67, LOC68);
		result = newintnodet_293028(LOC69, n);
	}
	break;
	case ((NU8) 45):
	{
		NI64 LOC71;
		NI64 LOC72;
		NI64 LOC73;
		LOC71 = 0;
		LOC71 = getint_230605(a);
		LOC72 = 0;
		LOC72 = getint_230605(b);
		LOC73 = 0;
		LOC73 = HEX7CHEX2DHEX7C_292030(LOC71, LOC72);
		result = newintnodet_293028(LOC73, n);
	}
	break;
	case ((NU8) 46):
	{
		NI64 LOC75;
		NI64 LOC76;
		NI64 LOC77;
		LOC75 = 0;
		LOC75 = getint_230605(a);
		LOC76 = 0;
		LOC76 = getint_230605(b);
		LOC77 = 0;
		LOC77 = HEX7CHEX2AHEX7C_292073(LOC75, LOC76);
		result = newintnodet_293028(LOC77, n);
	}
	break;
	case ((NU8) 60):
	{
		{
			NI64 LOC81;
			NI64 LOC82;
			NI64 LOC85;
			LOC81 = 0;
			LOC81 = getint_230605(b);
			LOC82 = 0;
			LOC82 = getint_230605(a);
			if (!(LOC81 < LOC82)) goto LA83;
			LOC85 = 0;
			LOC85 = getint_230605(b);
			result = newintnodet_293028(LOC85, n);
		}
		goto LA79;
		LA83: ;
		{
			NI64 LOC87;
			LOC87 = 0;
			LOC87 = getint_230605(a);
			result = newintnodet_293028(LOC87, n);
		}
		LA79: ;
	}
	break;
	case ((NU8) 61):
	{
		{
			NI64 LOC91;
			NI64 LOC92;
			NI64 LOC95;
			LOC91 = 0;
			LOC91 = getint_230605(b);
			LOC92 = 0;
			LOC92 = getint_230605(a);
			if (!(LOC91 < LOC92)) goto LA93;
			LOC95 = 0;
			LOC95 = getint_230605(a);
			result = newintnodet_293028(LOC95, n);
		}
		goto LA89;
		LA93: ;
		{
			NI64 LOC97;
			LOC97 = 0;
			LOC97 = getint_230605(b);
			result = newintnodet_293028(LOC97, n);
		}
		LA89: ;
	}
	break;
	case ((NU8) 56):
	{
		Ttype225847* LOC99;
		LOC99 = 0;
		LOC99 = skiptypes_229167((*n).typ, IL64(211106233624832));
		switch ((*LOC99).kind) {
		case ((NU8) 32):
		{
			NI64 LOC101;
			NI64 LOC102;
			LOC101 = 0;
			LOC101 = getint_230605(a);
			LOC102 = 0;
			LOC102 = getint_230605(b);
			result = newintnodet_293028(((NI64) ((NI8)((NU8)(((NI8) (LOC101))) << (NU8)(((NI8) (LOC102)))))), n);
		}
		break;
		case ((NU8) 33):
		{
			NI64 LOC104;
			NI64 LOC105;
			LOC104 = 0;
			LOC104 = getint_230605(a);
			LOC105 = 0;
			LOC105 = getint_230605(b);
			result = newintnodet_293028(((NI64) ((NI16)((NU16)(((NI16) (LOC104))) << (NU16)(((NI16) (LOC105)))))), n);
		}
		break;
		case ((NU8) 34):
		{
			NI64 LOC107;
			NI64 LOC108;
			LOC107 = 0;
			LOC107 = getint_230605(a);
			LOC108 = 0;
			LOC108 = getint_230605(b);
			result = newintnodet_293028(((NI64) ((NI32)((NU32)(((NI32) (LOC107))) << (NU32)(((NI32) (LOC108)))))), n);
		}
		break;
		case ((NU8) 35):
		case ((NU8) 31):
		case ((NU8) 40) ... ((NU8) 44):
		{
			NI64 LOC110;
			NI64 LOC111;
			LOC110 = 0;
			LOC110 = getint_230605(a);
			LOC111 = 0;
			LOC111 = getint_230605(b);
			result = newintnodet_293028((NI64)((NU64)(LOC110) << (NU64)(LOC111)), n);
		}
		break;
		default:
		{
			internalerror_196172((*n).info, ((NimStringDesc*) &TMP3379));
		}
		break;
		}
	}
	break;
	case ((NU8) 55):
	{
		Ttype225847* LOC114;
		LOC114 = 0;
		LOC114 = skiptypes_229167((*n).typ, IL64(211106233624832));
		switch ((*LOC114).kind) {
		case ((NU8) 32):
		{
			NI64 LOC116;
			NI64 LOC117;
			LOC116 = 0;
			LOC116 = getint_230605(a);
			LOC117 = 0;
			LOC117 = getint_230605(b);
			result = newintnodet_293028(((NI64) ((NI8)((NU8)(((NI8) (LOC116))) >> (NU8)(((NI8) (LOC117)))))), n);
		}
		break;
		case ((NU8) 33):
		{
			NI64 LOC119;
			NI64 LOC120;
			LOC119 = 0;
			LOC119 = getint_230605(a);
			LOC120 = 0;
			LOC120 = getint_230605(b);
			result = newintnodet_293028(((NI64) ((NI16)((NU16)(((NI16) (LOC119))) >> (NU16)(((NI16) (LOC120)))))), n);
		}
		break;
		case ((NU8) 34):
		{
			NI64 LOC122;
			NI64 LOC123;
			LOC122 = 0;
			LOC122 = getint_230605(a);
			LOC123 = 0;
			LOC123 = getint_230605(b);
			result = newintnodet_293028(((NI64) ((NI32)((NU32)(((NI32) (LOC122))) >> (NU32)(((NI32) (LOC123)))))), n);
		}
		break;
		case ((NU8) 35):
		case ((NU8) 31):
		case ((NU8) 40) ... ((NU8) 44):
		{
			NI64 LOC125;
			NI64 LOC126;
			LOC125 = 0;
			LOC125 = getint_230605(a);
			LOC126 = 0;
			LOC126 = getint_230605(b);
			result = newintnodet_293028((NI64)((NU64)(LOC125) >> (NU64)(LOC126)), n);
		}
		break;
		default:
		{
			internalerror_196172((*n).info, ((NimStringDesc*) &TMP3380));
		}
		break;
		}
	}
	break;
	case ((NU8) 47):
	{
		NI64 y;
		y = getint_230605(b);
		{
			NI64 LOC133;
			NI64 LOC134;
			if (!!((y == IL64(0)))) goto LA131;
			LOC133 = 0;
			LOC133 = getint_230605(a);
			LOC134 = 0;
			LOC134 = HEX7CdivHEX7C_292051(LOC133, y);
			result = newintnodet_293028(LOC134, n);
		}
		LA131: ;
	}
	break;
	case ((NU8) 48):
	{
		NI64 y;
		y = getint_230605(b);
		{
			NI64 LOC140;
			NI64 LOC141;
			if (!!((y == IL64(0)))) goto LA138;
			LOC140 = 0;
			LOC140 = getint_230605(a);
			LOC141 = 0;
			LOC141 = HEX7CmodHEX7C_292062(LOC140, y);
			result = newintnodet_293028(LOC141, n);
		}
		LA138: ;
	}
	break;
	case ((NU8) 51):
	{
		NF LOC143;
		NF LOC144;
		LOC143 = 0;
		LOC143 = getfloat_230616(a);
		LOC144 = 0;
		LOC144 = getfloat_230616(b);
		result = newfloatnodet_293035(((NF)(LOC143) + (NF)(LOC144)), n);
	}
	break;
	case ((NU8) 52):
	{
		NF LOC146;
		NF LOC147;
		LOC146 = 0;
		LOC146 = getfloat_230616(a);
		LOC147 = 0;
		LOC147 = getfloat_230616(b);
		result = newfloatnodet_293035(((NF)(LOC146) - (NF)(LOC147)), n);
	}
	break;
	case ((NU8) 53):
	{
		NF LOC149;
		NF LOC150;
		LOC149 = 0;
		LOC149 = getfloat_230616(a);
		LOC150 = 0;
		LOC150 = getfloat_230616(b);
		result = newfloatnodet_293035(((NF)(LOC149) * (NF)(LOC150)), n);
	}
	break;
	case ((NU8) 54):
	{
		{
			NF LOC154;
			LOC154 = 0;
			LOC154 = getfloat_230616(b);
			if (!(LOC154 == 0.0)) goto LA155;
			{
				NF LOC159;
				LOC159 = 0;
				LOC159 = getfloat_230616(a);
				if (!(LOC159 == 0.0)) goto LA160;
				result = newfloatnodet_293035(NAN, n);
			}
			goto LA157;
			LA160: ;
			{
				result = newfloatnodet_293035(INF, n);
			}
			LA157: ;
		}
		goto LA152;
		LA155: ;
		{
			NF LOC164;
			NF LOC165;
			LOC164 = 0;
			LOC164 = getfloat_230616(a);
			LOC165 = 0;
			LOC165 = getfloat_230616(b);
			result = newfloatnodet_293035(((NF)(LOC164) / (NF)(LOC165)), n);
		}
		LA152: ;
	}
	break;
	case ((NU8) 63):
	{
		{
			NF LOC169;
			NF LOC170;
			NF LOC173;
			LOC169 = 0;
			LOC169 = getfloat_230616(b);
			LOC170 = 0;
			LOC170 = getfloat_230616(a);
			if (!(LOC169 < LOC170)) goto LA171;
			LOC173 = 0;
			LOC173 = getfloat_230616(a);
			result = newfloatnodet_293035(LOC173, n);
		}
		goto LA167;
		LA171: ;
		{
			NF LOC175;
			LOC175 = 0;
			LOC175 = getfloat_230616(b);
			result = newfloatnodet_293035(LOC175, n);
		}
		LA167: ;
	}
	break;
	case ((NU8) 62):
	{
		{
			NF LOC179;
			NF LOC180;
			NF LOC183;
			LOC179 = 0;
			LOC179 = getfloat_230616(b);
			LOC180 = 0;
			LOC180 = getfloat_230616(a);
			if (!(LOC179 < LOC180)) goto LA181;
			LOC183 = 0;
			LOC183 = getfloat_230616(b);
			result = newfloatnodet_293035(LOC183, n);
		}
		goto LA177;
		LA181: ;
		{
			NF LOC185;
			LOC185 = 0;
			LOC185 = getfloat_230616(a);
			result = newfloatnodet_293035(LOC185, n);
		}
		LA177: ;
	}
	break;
	case ((NU8) 156):
	{
		result = newintnodet_293028(((NI64) (((*a).kind == ((NU8) 23)))), n);
	}
	break;
	case ((NU8) 71):
	case ((NU8) 87):
	case ((NU8) 81):
	case ((NU8) 84):
	{
		NI64 LOC188;
		NI64 LOC189;
		LOC188 = 0;
		LOC188 = getordvalue_255178(a);
		LOC189 = 0;
		LOC189 = getordvalue_255178(b);
		result = newintnodet_293028(((NI64) ((LOC188 < LOC189))), n);
	}
	break;
	case ((NU8) 70):
	case ((NU8) 86):
	case ((NU8) 80):
	case ((NU8) 83):
	{
		NI64 LOC191;
		NI64 LOC192;
		LOC191 = 0;
		LOC191 = getordvalue_255178(a);
		LOC192 = 0;
		LOC192 = getordvalue_255178(b);
		result = newintnodet_293028(((NI64) ((LOC191 <= LOC192))), n);
	}
	break;
	case ((NU8) 69):
	case ((NU8) 85):
	case ((NU8) 79):
	case ((NU8) 82):
	{
		NI64 LOC194;
		NI64 LOC195;
		LOC194 = 0;
		LOC194 = getordvalue_255178(a);
		LOC195 = 0;
		LOC195 = getordvalue_255178(b);
		result = newintnodet_293028(((NI64) ((LOC194 == LOC195))), n);
	}
	break;
	case ((NU8) 74):
	{
		NF LOC197;
		NF LOC198;
		LOC197 = 0;
		LOC197 = getfloat_230616(a);
		LOC198 = 0;
		LOC198 = getfloat_230616(b);
		result = newintnodet_293028(((NI64) ((LOC197 < LOC198))), n);
	}
	break;
	case ((NU8) 73):
	{
		NF LOC200;
		NF LOC201;
		LOC200 = 0;
		LOC200 = getfloat_230616(a);
		LOC201 = 0;
		LOC201 = getfloat_230616(b);
		result = newintnodet_293028(((NI64) ((LOC200 <= LOC201))), n);
	}
	break;
	case ((NU8) 72):
	{
		NF LOC203;
		NF LOC204;
		LOC203 = 0;
		LOC203 = getfloat_230616(a);
		LOC204 = 0;
		LOC204 = getfloat_230616(b);
		result = newintnodet_293028(((NI64) ((LOC203 == LOC204))), n);
	}
	break;
	case ((NU8) 129):
	{
		NimStringDesc* LOC206;
		NimStringDesc* LOC207;
		LOC206 = 0;
		LOC206 = getstr_230627(a);
		LOC207 = 0;
		LOC207 = getstr_230627(b);
		result = newintnodet_293028(((NI64) ((cmpStrings(LOC206, LOC207) < 0))), n);
	}
	break;
	case ((NU8) 128):
	{
		NimStringDesc* LOC209;
		NimStringDesc* LOC210;
		LOC209 = 0;
		LOC209 = getstr_230627(a);
		LOC210 = 0;
		LOC210 = getstr_230627(b);
		result = newintnodet_293028(((NI64) ((cmpStrings(LOC209, LOC210) <= 0))), n);
	}
	break;
	case ((NU8) 127):
	{
		NimStringDesc* LOC212;
		NimStringDesc* LOC213;
		LOC212 = 0;
		LOC212 = getstr_230627(a);
		LOC213 = 0;
		LOC213 = getstr_230627(b);
		result = newintnodet_293028(((NI64) (eqStrings(LOC212, LOC213))), n);
	}
	break;
	case ((NU8) 76):
	case ((NU8) 78):
	{
		NI64 LOC215;
		NI64 LOC216;
		LOC215 = 0;
		LOC215 = getordvalue_255178(a);
		LOC216 = 0;
		LOC216 = getordvalue_255178(b);
		result = newintnodet_293028(((NI64) (((NU64)(LOC215) < (NU64)(LOC216)))), n);
	}
	break;
	case ((NU8) 75):
	case ((NU8) 77):
	{
		NI64 LOC218;
		NI64 LOC219;
		LOC218 = 0;
		LOC218 = getordvalue_255178(a);
		LOC219 = 0;
		LOC219 = getordvalue_255178(b);
		result = newintnodet_293028(((NI64) (((NU64)(LOC218) <= (NU64)(LOC219)))), n);
	}
	break;
	case ((NU8) 57):
	case ((NU8) 125):
	{
		NI64 LOC221;
		NI64 LOC222;
		LOC221 = 0;
		LOC221 = getint_230605(a);
		LOC222 = 0;
		LOC222 = getint_230605(b);
		result = newintnodet_293028((NI64)(LOC221 & LOC222), n);
	}
	break;
	case ((NU8) 58):
	case ((NU8) 126):
	{
		NI64 LOC224;
		NI64 LOC225;
		LOC224 = 0;
		LOC224 = getint_230605(a);
		LOC225 = 0;
		LOC225 = getint_230605(b);
		result = newintnodet_293028((NI64)(LOC224 | LOC225), n);
	}
	break;
	case ((NU8) 59):
	case ((NU8) 93):
	{
		NI64 LOC227;
		NI64 LOC228;
		LOC227 = 0;
		LOC227 = getint_230605(a);
		LOC228 = 0;
		LOC228 = getint_230605(b);
		result = newintnodet_293028((NI64)(LOC227 ^ LOC228), n);
	}
	break;
	case ((NU8) 64):
	{
		NI64 LOC230;
		NI64 LOC231;
		LOC230 = 0;
		LOC230 = getint_230605(a);
		LOC231 = 0;
		LOC231 = getint_230605(b);
		result = newintnodet_293028((NI64)((NU64)(LOC230) + (NU64)(LOC231)), n);
	}
	break;
	case ((NU8) 65):
	{
		NI64 LOC233;
		NI64 LOC234;
		LOC233 = 0;
		LOC233 = getint_230605(a);
		LOC234 = 0;
		LOC234 = getint_230605(b);
		result = newintnodet_293028((NI64)((NU64)(LOC233) - (NU64)(LOC234)), n);
	}
	break;
	case ((NU8) 66):
	{
		NI64 LOC236;
		NI64 LOC237;
		LOC236 = 0;
		LOC236 = getint_230605(a);
		LOC237 = 0;
		LOC237 = getint_230605(b);
		result = newintnodet_293028((NI64)((NU64)(LOC236) * (NU64)(LOC237)), n);
	}
	break;
	case ((NU8) 68):
	{
		NI64 y;
		y = getint_230605(b);
		{
			NI64 LOC243;
			if (!!((y == IL64(0)))) goto LA241;
			LOC243 = 0;
			LOC243 = getint_230605(a);
			result = newintnodet_293028((NI64)((NU64)(LOC243) % (NU64)(y)), n);
		}
		LA241: ;
	}
	break;
	case ((NU8) 67):
	{
		NI64 y;
		y = getint_230605(b);
		{
			NI64 LOC249;
			if (!!((y == IL64(0)))) goto LA247;
			LOC249 = 0;
			LOC249 = getint_230605(a);
			result = newintnodet_293028((NI64)((NU64)(LOC249) / (NU64)(y)), n);
		}
		LA247: ;
	}
	break;
	case ((NU8) 131):
	{
		NIM_BOOL LOC251;
		LOC251 = 0;
		LOC251 = containssets_276075(a, b);
		result = newintnodet_293028(((NI64) (LOC251)), n);
	}
	break;
	case ((NU8) 130):
	{
		NIM_BOOL LOC253;
		LOC253 = 0;
		LOC253 = equalsets_276082(a, b);
		result = newintnodet_293028(((NI64) (LOC253)), n);
	}
	break;
	case ((NU8) 132):
	{
		NIM_BOOL LOC255;
		NIM_BOOL LOC257;
		LOC255 = 0;
		LOC255 = containssets_276075(a, b);
		if (!(LOC255)) goto LA256;
		LOC257 = 0;
		LOC257 = equalsets_276082(a, b);
		LOC255 = !(LOC257);
		LA256: ;
		result = newintnodet_293028(((NI64) (LOC255)), n);
	}
	break;
	case ((NU8) 133):
	{
		result = intersectsets_276061(a, b);
		(*result).info = (*n).info;
	}
	break;
	case ((NU8) 134):
	{
		result = unionsets_276047(a, b);
		(*result).info = (*n).info;
	}
	break;
	case ((NU8) 135):
	{
		result = diffsets_276054(a, b);
		(*result).info = (*n).info;
	}
	break;
	case ((NU8) 136):
	{
		result = symdiffsets_276068(a, b);
		(*result).info = (*n).info;
	}
	break;
	case ((NU8) 137):
	{
		NimStringDesc* LOC263;
		NimStringDesc* LOC264;
		NimStringDesc* LOC265;
		LOC263 = 0;
		LOC264 = 0;
		LOC264 = getstrorchar_230638(a);
		LOC265 = 0;
		LOC265 = getstrorchar_230638(b);
		LOC263 = rawNewString(LOC264->Sup.len + LOC265->Sup.len + 0);
appendString(LOC263, LOC264);
appendString(LOC263, LOC265);
		result = newstrnodet_293042(LOC263, n);
	}
	break;
	case ((NU8) 147):
	{
		NIM_BOOL LOC267;
		LOC267 = 0;
		LOC267 = inset_276019(a, b);
		result = newintnodet_293028(((NI64) (LOC267)), n);
	}
	break;
	case ((NU8) 148):
	{
	}
	break;
	case ((NU8) 119):
	case ((NU8) 120):
	{
		NI64 LOC270;
		NimStringDesc* LOC271;
		LOC270 = 0;
		LOC270 = getordvalue_255178(a);
		LOC271 = 0;
		LOC271 = nimInt64ToStr(LOC270);
		result = newstrnodet_293042(LOC271, n);
	}
	break;
	case ((NU8) 118):
	{
		{
			NI64 LOC275;
			LOC275 = 0;
			LOC275 = getordvalue_255178(a);
			if (!(LOC275 == IL64(0))) goto LA276;
			result = newstrnodet_293042(((NimStringDesc*) &TMP3382), n);
		}
		goto LA273;
		LA276: ;
		{
			result = newstrnodet_293042(((NimStringDesc*) &TMP3383), n);
		}
		LA273: ;
	}
	break;
	case ((NU8) 158):
	{
		NimStringDesc* LOC280;
		NI64 LOC281;
		NimStringDesc* LOC282;
		LOC280 = 0;
		LOC280 = getstr_230627(a);
		LOC281 = 0;
		LOC281 = getordvalue_255178(b);
		LOC282 = 0;
		LOC282 = copyStr(LOC280, ((NI) (LOC281)));
		result = newstrnodet_293042(LOC282, n);
	}
	break;
	case ((NU8) 159):
	{
		NimStringDesc* LOC284;
		NI64 LOC285;
		NI64 LOC286;
		NimStringDesc* LOC287;
		LOC284 = 0;
		LOC284 = getstr_230627(a);
		LOC285 = 0;
		LOC285 = getordvalue_255178(b);
		LOC286 = 0;
		LOC286 = getordvalue_255178(c);
		LOC287 = 0;
		LOC287 = copyStrLast(LOC284, ((NI) (LOC285)), ((NI) (LOC286)));
		result = newstrnodet_293042(LOC287, n);
	}
	break;
	case ((NU8) 121):
	{
		NF LOC289;
		NimStringDesc* LOC290;
		LOC289 = 0;
		LOC289 = getfloat_230616(a);
		LOC290 = 0;
		LOC290 = nimFloatToStr(LOC289);
		result = newstrnodet_293042(LOC290, n);
	}
	break;
	case ((NU8) 122):
	case ((NU8) 117):
	{
		NimStringDesc* LOC292;
		LOC292 = 0;
		LOC292 = getstrorchar_230638(a);
		result = newstrnodet_293042(LOC292, n);
	}
	break;
	case ((NU8) 123):
	{
		result = a;
	}
	break;
	case ((NU8) 124):
	{
		NimStringDesc* LOC295;
		LOC295 = 0;
		LOC295 = ordinalvaltostring_293091(a);
		result = newstrnodet_293042(LOC295, n);
	}
	break;
	case ((NU8) 157):
	{
		result = copytree_230028(a);
		asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
	}
	break;
	case ((NU8) 214):
	{
		NimStringDesc* LOC298;
		NIM_BOOL LOC299;
		LOC298 = 0;
		LOC298 = getstr_230627(a);
		LOC299 = 0;
		LOC299 = testcompileoption_211705(LOC298, (*n).info);
		result = newintnodet_293028(((NI64) (LOC299)), n);
	}
	break;
	case ((NU8) 215):
	{
		NimStringDesc* LOC301;
		NimStringDesc* LOC302;
		NIM_BOOL LOC303;
		LOC301 = 0;
		LOC301 = getstr_230627(a);
		LOC302 = 0;
		LOC302 = getstr_230627(b);
		LOC303 = 0;
		LOC303 = testcompileoptionarg_211583(LOC301, LOC302, (*n).info);
		result = newintnodet_293028(((NI64) (LOC303)), n);
	}
	break;
	case ((NU8) 94):
	{
		NIM_BOOL LOC305;
		LOC305 = 0;
		LOC305 = exprstructuralequivalent_254149(a, b, NIM_TRUE);
		result = newintnodet_293028(((NI64) (LOC305)), n);
	}
	break;
	default:
	{
	}
	break;
	}
	return result;
}

N_NIMCALL(Tnode225809*, magiccall_294167)(Tsym225841* m, Tnode225809* n) {
	Tnode225809* result;
	Tsym225841* s;
	Tnode225809* a;
	Tnode225809* b;
	Tnode225809* c;
{	result = 0;
	{
		NI LOC3;
		LOC3 = 0;
		LOC3 = sonslen_228387(n);
		if (!(LOC3 <= ((NI) 1))) goto LA4;
		goto BeforeRet;
	}
	LA4: ;
	s = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
	a = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 1)]);
	b = 0;
	c = 0;
	{
		if (!(a == NIM_NIL)) goto LA8;
		goto BeforeRet;
	}
	LA8: ;
	{
		NI LOC12;
		LOC12 = 0;
		LOC12 = sonslen_228387(n);
		if (!(((NI) 2) < LOC12)) goto LA13;
		b = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 2)]);
		{
			if (!(b == NIM_NIL)) goto LA17;
			goto BeforeRet;
		}
		LA17: ;
		{
			NI LOC21;
			LOC21 = 0;
			LOC21 = sonslen_228387(n);
			if (!(((NI) 3) < LOC21)) goto LA22;
			c = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 3)]);
			{
				if (!(c == NIM_NIL)) goto LA26;
				goto BeforeRet;
			}
			LA26: ;
		}
		LA22: ;
	}
	LA13: ;
	result = evalop_293011((*s).magic, n, a, b, c);
	}BeforeRet: ;
	return result;
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	Cell48946* c;
	c = usrtocell_52646(p);
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3;
		rtladdzct_54204(c);
	}
	LA3: ;
}

N_NIMCALL(Tnode225809*, foldconstrstr_294679)(Tsym225841* m, Tnode225809* n) {
	Tnode225809* result;
	NimStringDesc* LOC1;
{	result = 0;
	result = newnodeit_227807(((NU8) 20), (*n).info, (*n).typ);
	LOC1 = 0;
	LOC1 = (*result).kindU.S3.strval; (*result).kindU.S3.strval = copyStringRC1(((NimStringDesc*) &TMP3386));
	if (LOC1) nimGCunrefNoCycle(LOC1);
	{
		NI i_294697;
		NI HEX3Atmp_294714;
		NI LOC3;
		NI res_294717;
		i_294697 = 0;
		HEX3Atmp_294714 = 0;
		LOC3 = 0;
		LOC3 = sonslen_228387(n);
		HEX3Atmp_294714 = (NI)(LOC3 - ((NI) 1));
		res_294717 = ((NI) 1);
		{
			while (1) {
				Tnode225809* a;
				NimStringDesc* LOC10;
				if (!(res_294717 <= HEX3Atmp_294714)) goto LA5;
				i_294697 = res_294717;
				a = getconstexpr_293004(m, (*n).kindU.S6.sons->data[i_294697]);
				{
					if (!(a == NIM_NIL)) goto LA8;
					result = NIM_NIL;
					goto BeforeRet;
				}
				LA8: ;
				LOC10 = 0;
				LOC10 = getstrorchar_230638(a);
				(*result).kindU.S3.strval = resizeString((*result).kindU.S3.strval, LOC10->Sup.len + 0);
appendString((*result).kindU.S3.strval, LOC10);
				res_294717 += ((NI) 1);
			} LA5: ;
		}
	}
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Tnode225809*, evalis_293581)(Tnode225809* n, Tnode225809* a) {
	Tnode225809* result;
	Ttype225847* t1;
	result = 0;
	{
		NIM_BOOL LOC3;
		NimStringDesc* LOC7;
		LOC3 = 0;
		LOC3 = ((*a).kind == ((NU8) 3));
		if (!(LOC3)) goto LA4;
		LOC3 = ((*(*a).kindU.S4.sym).kind == ((NU8) 7));
		LA4: ;
		if (!!(LOC3)) goto LA5;
		LOC7 = 0;
		LOC7 = HEX24_196279(TMP3387);
		internalerror_196191(LOC7);
	}
	LA5: ;
	{
		NIM_BOOL LOC10;
		NI LOC11;
		Tnode225809* LOC13;
		NimStringDesc* LOC16;
		LOC10 = 0;
		LOC11 = 0;
		LOC11 = sonslen_228387(n);
		LOC10 = (LOC11 == ((NI) 3));
		if (!(LOC10)) goto LA12;
		LOC13 = 0;
		LOC13 = HEX5BHEX5D_226244(n, ((NI) 2));
		LOC10 = ((*LOC13).kind >= ((NU8) 20) && (*LOC13).kind <= ((NU8) 22) || (*LOC13).kind == ((NU8) 4));
		LA12: ;
		if (!!(LOC10)) goto LA14;
		LOC16 = 0;
		LOC16 = HEX24_196279(TMP3389);
		internalerror_196191(LOC16);
	}
	LA14: ;
	t1 = (*(*a).kindU.S4.sym).typ;
	{
		Tnode225809* LOC19;
		Tnode225809* LOC22;
		NimStringDesc* LOC23;
		LOC19 = 0;
		LOC19 = HEX5BHEX5D_226244(n, ((NI) 2));
		if (!((*LOC19).kind >= ((NU8) 20) && (*LOC19).kind <= ((NU8) 22))) goto LA20;
		LOC22 = 0;
		LOC22 = HEX5BHEX5D_226244(n, ((NI) 2));
		LOC23 = 0;
		LOC23 = nsuNormalize((*LOC22).kindU.S3.strval);
		if (eqStrings(LOC23, ((NimStringDesc*) &TMP3390))) goto LA24;
		if (eqStrings(LOC23, ((NimStringDesc*) &TMP3391))) goto LA25;
		goto LA26;
		LA24: ;
		{
			Ttype225847* t;
			NIM_BOOL LOC29;
			NIM_BOOL LOC30;
			t = skiptypes_229167(t1, IL64(211106233624832));
			LOC29 = 0;
			LOC30 = 0;
			LOC30 = ((*t).kind == ((NU8) 25));
			if (!(LOC30)) goto LA31;
			LOC30 = ((*t).callconv == ((NU8) 8));
			LA31: ;
			LOC29 = LOC30;
			if (!(LOC29)) goto LA32;
			LOC29 = !((((*t).flags &(1<<((((NU8) 14))&31)))!=0));
			LA32: ;
			result = newintnode_226608(((NU8) 6), ((NI64) (LOC29)));
		}
		goto LA27;
		LA25: ;
		{
			Ttype225847* t;
			NIM_BOOL LOC34;
			NIM_BOOL LOC35;
			t = skiptypes_229167(t1, IL64(211106233624832));
			LOC34 = 0;
			LOC35 = 0;
			LOC35 = ((*t).kind == ((NU8) 25));
			if (!(LOC35)) goto LA36;
			LOC35 = ((*t).callconv == ((NU8) 8));
			LA36: ;
			LOC34 = LOC35;
			if (!(LOC34)) goto LA37;
			LOC34 = (((*t).flags &(1<<((((NU8) 14))&31)))!=0);
			LA37: ;
			result = newintnode_226608(((NU8) 6), ((NI64) (LOC34)));
		}
		goto LA27;
		LA26: ;
		{
		}
		LA27: ;
	}
	goto LA17;
	LA20: ;
	{
		Ttype225847* t2;
		Tnode225809* LOC40;
		NIM_BOOL match;
		LOC40 = 0;
		LOC40 = HEX5BHEX5D_226244(n, ((NI) 2));
		t2 = (*LOC40).typ;
		match = sametype_260092(t1, t2, 0);
		result = newintnode_226608(((NU8) 6), ((NI64) (match)));
	}
	LA17: ;
	asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
	return result;
}

static N_INLINE(Exception*, getCurrentException)(void) {
	Exception* result;
	result = 0;
	result = currexception_20845;
	return result;
}

static N_INLINE(NIM_BOOL, canbecycleroot_52667)(Cell48946* c) {
	NIM_BOOL result;
	result = 0;
	result = !((((*(*c).typ).flags &(1<<((((NU8) 1))&7)))!=0));
	return result;
}

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

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

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

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

static N_INLINE(void, popCurrentException)(void) {
	asgnRef((void**) (&currexception_20845), NIM_NIL);
}

N_NIMCALL(void, rangecheck_294266)(Tnode225809* n, NI64 value) {
	{
		NIM_BOOL LOC3;
		NI64 LOC4;
		NI64 LOC6;
		NimStringDesc* LOC9;
		NimStringDesc* LOC10;
		NimStringDesc* LOC11;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = firstord_255004((*n).typ);
		LOC3 = (value < LOC4);
		if (LOC3) goto LA5;
		LOC6 = 0;
		LOC6 = lastord_255010((*n).typ);
		LOC3 = (LOC6 < value);
		LA5: ;
		if (!LOC3) goto LA7;
		LOC9 = 0;
		LOC10 = 0;
		LOC10 = nimInt64ToStr(value);
		LOC11 = 0;
		LOC11 = typetostring_255032((*n).typ, ((NU8) 0));
		LOC9 = rawNewString(LOC10->Sup.len + LOC11->Sup.len + 19);
appendString(LOC9, ((NimStringDesc*) &TMP3392));
appendString(LOC9, LOC10);
appendString(LOC9, ((NimStringDesc*) &TMP3393));
appendString(LOC9, LOC11);
		localerror_196128((*n).info, ((NU16) 4), LOC9);
	}
	LA7: ;
}

N_NIMCALL(Tnode225809*, foldconv_294276)(Tnode225809* n, Tnode225809* a, NIM_BOOL check) {
	Tnode225809* result;
	Ttype225847* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = skiptypes_229167((*n).typ, IL64(211106233624832));
	switch ((*LOC1).kind) {
	case ((NU8) 31) ... ((NU8) 35):
	case ((NU8) 40) ... ((NU8) 44):
	{
		Ttype225847* LOC3;
		LOC3 = 0;
		LOC3 = skiptypes_229167((*a).typ, IL64(211106233624832));
		switch ((*LOC3).kind) {
		case ((NU8) 36) ... ((NU8) 38):
		{
			NF LOC5;
			LOC5 = 0;
			LOC5 = getfloat_230616(a);
			result = newintnodet_293028(((NI64) (((NI) (LOC5)))), n);
		}
		break;
		case ((NU8) 2):
		{
			NI64 LOC7;
			LOC7 = 0;
			LOC7 = getordvalue_255178(a);
			result = newintnodet_293028(LOC7, n);
		}
		break;
		default:
		{
			result = a;
			asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
		}
		break;
		}
		{
			if (!check) goto LA11;
			rangecheck_294266(n, (*result).kindU.S1.intval);
		}
		LA11: ;
	}
	break;
	case ((NU8) 36) ... ((NU8) 38):
	{
		Ttype225847* LOC14;
		LOC14 = 0;
		LOC14 = skiptypes_229167((*a).typ, IL64(211106233624832));
		switch ((*LOC14).kind) {
		case ((NU8) 31) ... ((NU8) 35):
		case ((NU8) 14):
		case ((NU8) 1):
		case ((NU8) 2):
		{
			NI64 LOC16;
			LOC16 = 0;
			LOC16 = getordvalue_255178(a);
			result = newfloatnodet_293035(((double) (LOC16)), n);
		}
		break;
		default:
		{
			result = a;
			asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
		}
		break;
		}
	}
	break;
	case ((NU8) 27):
	case ((NU8) 48):
	case ((NU8) 25):
	{
	}
	break;
	default:
	{
		result = a;
		asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
	}
	break;
	}
	return result;
}

N_NIMCALL(Tnode225809*, foldarrayaccess_294322)(Tsym225841* m, Tnode225809* n) {
	Tnode225809* result;
	Tnode225809* x;
	Tnode225809* y;
	NI64 idx;
{	result = 0;
	x = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 0)]);
	{
		NIM_BOOL LOC3;
		Ttype225847* LOC5;
		LOC3 = 0;
		LOC3 = (x == NIM_NIL);
		if (LOC3) goto LA4;
		LOC5 = 0;
		LOC5 = skiptypes_229167((*x).typ, 2048);
		LOC3 = ((*LOC5).kind == ((NU8) 8));
		LA4: ;
		if (!LOC3) goto LA6;
		goto BeforeRet;
	}
	LA6: ;
	y = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 1)]);
	{
		if (!(y == NIM_NIL)) goto LA10;
		goto BeforeRet;
	}
	LA10: ;
	idx = getordvalue_255178(y);
	switch ((*x).kind) {
	case ((NU8) 37):
	{
		{
			NIM_BOOL LOC15;
			NI LOC17;
			LOC15 = 0;
			LOC15 = (IL64(0) <= idx);
			if (!(LOC15)) goto LA16;
			LOC17 = 0;
			LOC17 = sonslen_228387(x);
			LOC15 = (idx < ((NI64) (LOC17)));
			LA16: ;
			if (!LOC15) goto LA18;
			result = (*x).kindU.S6.sons->data[idx];
			{
				if (!((*result).kind == ((NU8) 34))) goto LA22;
				result = (*result).kindU.S6.sons->data[((NI) 1)];
			}
			LA22: ;
		}
		goto LA13;
		LA18: ;
		{
			localerror_196128((*n).info, ((NU16) 86), ((NimStringDesc*) &TMP3386));
		}
		LA13: ;
	}
	break;
	case ((NU8) 41):
	{
		NI64 LOC26;
		LOC26 = 0;
		LOC26 = firstord_255004((*x).typ);
		idx = (NI64)(idx - LOC26);
		{
			NIM_BOOL LOC29;
			NI LOC31;
			LOC29 = 0;
			LOC29 = (IL64(0) <= idx);
			if (!(LOC29)) goto LA30;
			LOC31 = 0;
			LOC31 = len_226098(x);
			LOC29 = (idx < ((NI64) (LOC31)));
			LA30: ;
			if (!LOC29) goto LA32;
			result = (*x).kindU.S6.sons->data[idx];
		}
		goto LA27;
		LA32: ;
		{
			localerror_196128((*n).info, ((NU16) 86), ((NimStringDesc*) &TMP3386));
		}
		LA27: ;
	}
	break;
	case ((NU8) 20) ... ((NU8) 22):
	{
		result = newnodeit_227807(((NU8) 5), (*x).info, (*n).typ);
		{
			NIM_BOOL LOC38;
			LOC38 = 0;
			LOC38 = (IL64(0) <= idx);
			if (!(LOC38)) goto LA39;
			LOC38 = (idx < ((NI64) (((*x).kindU.S3.strval ? (*x).kindU.S3.strval->Sup.len : 0))));
			LA39: ;
			if (!LOC38) goto LA40;
			(*result).kindU.S1.intval = ((NI64) (((NU8)((*x).kindU.S3.strval->data[idx]))));
		}
		goto LA36;
		LA40: ;
		{
			if (!(idx == ((NI64) (((*x).kindU.S3.strval ? (*x).kindU.S3.strval->Sup.len : 0))))) goto LA43;
		}
		goto LA36;
		LA43: ;
		{
			localerror_196128((*n).info, ((NU16) 86), ((NimStringDesc*) &TMP3386));
		}
		LA36: ;
	}
	break;
	default:
	{
	}
	break;
	}
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Tnode225809*, foldfieldaccess_294397)(Tsym225841* m, Tnode225809* n) {
	Tnode225809* result;
	Tnode225809* x;
	Tsym225841* field;
{	result = 0;
	x = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 0)]);
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = (x == NIM_NIL);
		if (LOC3) goto LA4;
		LOC3 = !(((*x).kind == ((NU8) 38) || (*x).kind == ((NU8) 37)));
		LA4: ;
		if (!LOC3) goto LA5;
		goto BeforeRet;
	}
	LA5: ;
	field = (*(*n).kindU.S6.sons->data[((NI) 1)]).kindU.S4.sym;
	{
		NI i_294624;
		NI HEX3Atmp_294656;
		NI HEX3Atmp_294657;
		NI LOC8;
		NI res_294660;
		i_294624 = 0;
		HEX3Atmp_294656 = 0;
		HEX3Atmp_294657 = 0;
		HEX3Atmp_294656 = ((*x).kind == ((NU8) 38));
		LOC8 = 0;
		LOC8 = sonslen_228387(x);
		HEX3Atmp_294657 = (NI)(LOC8 - ((NI) 1));
		res_294660 = ((NI) (HEX3Atmp_294656));
		{
			while (1) {
				Tnode225809* it;
				if (!(res_294660 <= HEX3Atmp_294657)) goto LA10;
				i_294624 = res_294660;
				it = (*x).kindU.S6.sons->data[i_294624];
				{
					if (!!(((*it).kind == ((NU8) 34)))) goto LA13;
					result = (*x).kindU.S6.sons->data[(*field).position];
					{
						if (!((*result).kind == ((NU8) 34))) goto LA17;
						result = (*result).kindU.S6.sons->data[((NI) 1)];
					}
					LA17: ;
					goto BeforeRet;
				}
				LA13: ;
				{
					if (!((*(*(*(*it).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym).name).Sup.id == (*(*field).name).Sup.id)) goto LA21;
					result = (*(*x).kindU.S6.sons->data[i_294624]).kindU.S6.sons->data[((NI) 1)];
					goto BeforeRet;
				}
				LA21: ;
				res_294660 += ((NI) 1);
			} LA10: ;
		}
	}
	localerror_196128((*n).info, ((NU16) 214), (*(*field).name).s);
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Tnode225809*, getconstexpr_293004)(Tsym225841* m, Tnode225809* n) {
	Tnode225809* volatile result;
{	result = 0;
	result = NIM_NIL;
	switch ((*n).kind) {
	case ((NU8) 3):
	{
		Tsym225841* s;
		s = (*n).kindU.S4.sym;
		switch ((*s).kind) {
		case ((NU8) 20):
		{
			result = newintnodet_293028(((NI64) ((*s).position)), n);
		}
		break;
		case ((NU8) 10):
		{
			switch ((*s).magic) {
			case ((NU8) 203):
			{
				result = newintnodet_293028(((NI64) ((((*m).flags &(1<<((((NU8) 12))&31)))!=0))), n);
			}
			break;
			case ((NU8) 204):
			{
				NimStringDesc* LOC6;
				LOC6 = 0;
				LOC6 = ntgetDateStr();
				result = newstrnodet_293042(LOC6, n);
			}
			break;
			case ((NU8) 205):
			{
				NimStringDesc* LOC8;
				LOC8 = 0;
				LOC8 = ntgetClockStr();
				result = newstrnodet_293042(LOC8, n);
			}
			break;
			case ((NU8) 207):
			{
				result = newintnodet_293028(((NI64) (Cpu_174500[(targetcpu_174628)- 1].Field2)), n);
			}
			break;
			case ((NU8) 208):
			{
				NimStringDesc* LOC11;
				LOC11 = 0;
				LOC11 = nsuToLowerStr(Os_174070[(targetos_174630)- 1].Field0);
				result = newstrnodet_293042(LOC11, n);
			}
			break;
			case ((NU8) 209):
			{
				NimStringDesc* LOC13;
				LOC13 = 0;
				LOC13 = nsuToLowerStr(Cpu_174500[(targetcpu_174628)- 1].Field0);
				result = newstrnodet_293042(LOC13, n);
			}
			break;
			case ((NU8) 210):
			{
				result = getapptype_294226(n);
			}
			break;
			case ((NU8) 211):
			{
				result = newfloatnodet_293035(NAN, n);
			}
			break;
			case ((NU8) 212):
			{
				result = newfloatnodet_293035(INF, n);
			}
			break;
			case ((NU8) 213):
			{
				result = newfloatnodet_293035(-INF, n);
			}
			break;
			default:
			{
				{
					if (!!((((*s).flags &(1<<((((NU8) 25))&31)))!=0))) goto LA21;
					result = copytree_230028((*s).ast);
				}
				LA21: ;
			}
			break;
			}
		}
		break;
		case ((NU8) 12):
		case ((NU8) 13):
		{
			result = n;
		}
		break;
		case ((NU8) 7):
		{
			result = newsymnodetypedesc_294736(s, (*n).info);
		}
		break;
		case ((NU8) 4):
		{
			{
				if (!((*(*s).typ).kind == ((NU8) 59))) goto LA28;
				{
					if (!!(((*(*s).typ).n == NIM_NIL))) goto LA32;
					result = (*(*s).typ).n;
					asgnRefNoCycle((void**) (&(*result).typ), (*(*s).typ).sons->data[((NI) 0)]);
				}
				LA32: ;
			}
			goto LA26;
			LA28: ;
			{
				result = newsymnodetypedesc_294736(s, (*n).info);
			}
			LA26: ;
		}
		break;
		default:
		{
		}
		break;
		}
	}
	break;
	case ((NU8) 5) ... ((NU8) 23):
	{
		result = copynode_229660(n);
	}
	break;
	case ((NU8) 48):
	{
		result = getconstifexpr_293945(m, n);
	}
	break;
	case ((NU8) 27):
	case ((NU8) 29):
	case ((NU8) 30):
	case ((NU8) 31):
	case ((NU8) 26):
	case ((NU8) 28):
	case ((NU8) 32):
	{
		Tsym225841* s;
		TSafePoint TMP3374;
		{
			if (!!(((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 3)))) goto LA41;
			goto BeforeRet;
		}
		LA41: ;
		s = (*(*n).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym;
		{
			if (!!(((*s).kind == ((NU8) 12)))) goto LA45;
			goto BeforeRet;
		}
		LA45: ;
		pushSafePoint(&TMP3374);
		TMP3374.status = setjmp(TMP3374.context);
		if (TMP3374.status == 0) {
			switch ((*s).magic) {
			case ((NU8) 0):
			{
				popSafePoint();
				goto BeforeRet;
			}
			break;
			case ((NU8) 9):
			{
				Tnode225809* a;
				a = (*n).kindU.S6.sons->data[((NI) 1)];
				{
					NI64 LOC52;
					LOC52 = 0;
					LOC52 = computesize_255184((*a).typ);
					if (!(LOC52 < IL64(0))) goto LA53;
					localerror_196128((*a).info, ((NU16) 81), ((NimStringDesc*) &TMP3375));
					result = NIM_NIL;
				}
				goto LA50;
				LA53: ;
				{
					Ttype225847* LOC56;
					NI64 LOC59;
					LOC56 = 0;
					LOC56 = skiptypes_229167((*a).typ, IL64(211106232576256));
					if (!((*LOC56).kind >= ((NU8) 1) && (*LOC56).kind <= ((NU8) 2) || (*LOC56).kind == ((NU8) 14) || (*LOC56).kind == ((NU8) 19) || (*LOC56).kind >= ((NU8) 21) && (*LOC56).kind <= ((NU8) 22) || (*LOC56).kind >= ((NU8) 24) && (*LOC56).kind <= ((NU8) 26) || (*LOC56).kind >= ((NU8) 28) && (*LOC56).kind <= ((NU8) 29) || (*LOC56).kind >= ((NU8) 31) && (*LOC56).kind <= ((NU8) 44) || (*LOC56).kind == ((NU8) 50))) goto LA57;
					LOC59 = 0;
					LOC59 = getsize_255190((*a).typ);
					result = newintnodet_293028(LOC59, n);
				}
				goto LA50;
				LA57: ;
				{
					result = NIM_NIL;
				}
				LA50: ;
			}
			break;
			case ((NU8) 7):
			{
				NI64 LOC62;
				LOC62 = 0;
				LOC62 = firstord_255004((*(*n).kindU.S6.sons->data[((NI) 1)]).typ);
				result = newintnodet_293028(LOC62, n);
			}
			break;
			case ((NU8) 8):
			{
				{
					Ttype225847* LOC66;
					Tnode225809* LOC69;
					Ttype225847* LOC70;
					NI64 LOC71;
					LOC66 = 0;
					LOC66 = skiptypes_229167((*(*n).kindU.S6.sons->data[((NI) 1)]).typ, IL64(211106240964864));
					if (!!(((*LOC66).kind == ((NU8) 24) || (*LOC66).kind == ((NU8) 28) || (*LOC66).kind == ((NU8) 29) || (*LOC66).kind == ((NU8) 27) || (*LOC66).kind == ((NU8) 48)))) goto LA67;
					LOC69 = 0;
					LOC69 = HEX5BHEX5D_226244(n, ((NI) 1));
					LOC70 = 0;
					LOC70 = skiptypes_229167((*LOC69).typ, IL64(211106240964864));
					LOC71 = 0;
					LOC71 = lastord_255010(LOC70);
					result = newintnodet_293028(LOC71, n);
				}
				goto LA64;
				LA67: ;
				{
					Tnode225809* a;
					a = getarrayconstr_294290(m, (*n).kindU.S6.sons->data[((NI) 1)]);
					{
						NI LOC77;
						if (!((*a).kind == ((NU8) 41))) goto LA75;
						LOC77 = 0;
						LOC77 = sonslen_228387(a);
						result = newintnodet_293028(((NI64) ((NI)(LOC77 - ((NI) 1)))), n);
					}
					LA75: ;
				}
				LA64: ;
			}
			break;
			case ((NU8) 32):
			{
				Tnode225809* a;
				a = getarrayconstr_294290(m, (*n).kindU.S6.sons->data[((NI) 1)]);
				{
					NI LOC83;
					if (!((*a).kind == ((NU8) 41))) goto LA81;
					LOC83 = 0;
					LOC83 = sonslen_228387(a);
					result = newintnodet_293028(((NI64) (LOC83)), n);
				}
				goto LA79;
				LA81: ;
				{
					result = magiccall_294167(m, n);
				}
				LA79: ;
			}
			break;
			case ((NU8) 34):
			{
				NI64 LOC86;
				LOC86 = 0;
				LOC86 = lengthord_255016((*(*n).kindU.S6.sons->data[((NI) 1)]).typ);
				result = newintnodet_293028(LOC86, n);
			}
			break;
			case ((NU8) 153):
			{
				Tnode225809* LOC88;
				NimStringDesc* LOC89;
				LOC88 = 0;
				LOC88 = HEX5BHEX5D_226244(n, ((NI) 1));
				LOC89 = 0;
				LOC89 = rendertree_247059(LOC88, 4);
				result = newstrnodet_293042(LOC89, n);
			}
			break;
			case ((NU8) 137):
			{
				result = foldconstrstr_294679(m, n);
			}
			break;
			case ((NU8) 11):
			{
				Tnode225809* a;
				Tnode225809* LOC92;
				LOC92 = 0;
				LOC92 = HEX5BHEX5D_226244(n, ((NI) 1));
				a = getconstexpr_293004(m, LOC92);
				{
					NIM_BOOL LOC95;
					NIM_BOOL LOC96;
					LOC95 = 0;
					LOC96 = 0;
					LOC96 = !((a == NIM_NIL));
					if (!(LOC96)) goto LA97;
					LOC96 = ((*a).kind == ((NU8) 3));
					LA97: ;
					LOC95 = LOC96;
					if (!(LOC95)) goto LA98;
					LOC95 = ((*(*a).kindU.S4.sym).kind == ((NU8) 7));
					LA98: ;
					if (!LOC95) goto LA99;
					result = evalis_293581(n, a);
				}
				LA99: ;
			}
			break;
			default:
			{
				result = magiccall_294167(m, n);
			}
			break;
			}
			popSafePoint();
		}
		else {
			popSafePoint();
			if (isObj(getCurrentException()->Sup.m_type, (&NTI4043))) {
				TMP3374.status = 0;
				localerror_196128((*n).info, ((NU16) 80), ((NimStringDesc*) &TMP3386));
				popCurrentException();
			}
			else 			if (isObj(getCurrentException()->Sup.m_type, (&NTI4041))) {
				TMP3374.status = 0;
				localerror_196128((*n).info, ((NU16) 77), ((NimStringDesc*) &TMP3386));
				popCurrentException();
			}
		}
		if (TMP3374.status != 0) reraiseException();
	}
	break;
	case ((NU8) 63):
	{
		Tnode225809* a;
		a = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 0)]);
		{
			if (!!((a == NIM_NIL))) goto LA108;
			result = n;
			asgnRefNoCycle((void**) (&(*n).kindU.S6.sons->data[((NI) 0)]), a);
		}
		LA108: ;
	}
	break;
	case ((NU8) 41):
	{
		result = copytree_230028(n);
		{
			NI i_294979;
			NI HEX3Atmp_295273;
			NI LOC112;
			NI res_295276;
			i_294979 = 0;
			HEX3Atmp_295273 = 0;
			LOC112 = 0;
			LOC112 = sonslen_228387(n);
			HEX3Atmp_295273 = (NI)(LOC112 - ((NI) 1));
			res_295276 = ((NI) 0);
			{
				while (1) {
					Tnode225809* a;
					if (!(res_295276 <= HEX3Atmp_295273)) goto LA114;
					i_294979 = res_295276;
					a = getconstexpr_293004(m, (*n).kindU.S6.sons->data[i_294979]);
					{
						if (!(a == NIM_NIL)) goto LA117;
						result = NIM_NIL;
						goto BeforeRet;
					}
					LA117: ;
					asgnRefNoCycle((void**) (&(*result).kindU.S6.sons->data[i_294979]), a);
					res_295276 += ((NI) 1);
				} LA114: ;
			}
		}
		(*result).flags |= ((NU16)1)<<((((NU8) 4))%(sizeof(NU16)*8));
	}
	break;
	case ((NU8) 44):
	{
		Tnode225809* a;
		Tnode225809* b;
		a = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 0)]);
		{
			if (!(a == NIM_NIL)) goto LA122;
			goto BeforeRet;
		}
		LA122: ;
		b = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 1)]);
		{
			if (!(b == NIM_NIL)) goto LA126;
			goto BeforeRet;
		}
		LA126: ;
		result = copynode_229660(n);
		addson_227819(result, a);
		addson_227819(result, b);
	}
	break;
	case ((NU8) 39):
	{
		result = copytree_230028(n);
		{
			NI i_295045;
			NI HEX3Atmp_295281;
			NI LOC130;
			NI res_295284;
			i_295045 = 0;
			HEX3Atmp_295281 = 0;
			LOC130 = 0;
			LOC130 = sonslen_228387(n);
			HEX3Atmp_295281 = (NI)(LOC130 - ((NI) 1));
			res_295284 = ((NI) 0);
			{
				while (1) {
					Tnode225809* a;
					if (!(res_295284 <= HEX3Atmp_295281)) goto LA132;
					i_295045 = res_295284;
					a = getconstexpr_293004(m, (*n).kindU.S6.sons->data[i_295045]);
					{
						if (!(a == NIM_NIL)) goto LA135;
						result = NIM_NIL;
						goto BeforeRet;
					}
					LA135: ;
					asgnRefNoCycle((void**) (&(*result).kindU.S6.sons->data[i_295045]), a);
					res_295284 += ((NI) 1);
				} LA132: ;
			}
		}
		(*result).flags |= ((NU16)1)<<((((NU8) 4))%(sizeof(NU16)*8));
	}
	break;
	case ((NU8) 38):
	{
		result = copytree_230028(n);
		{
			NI i_295083;
			NI HEX3Atmp_295289;
			NI LOC139;
			NI res_295292;
			i_295083 = 0;
			HEX3Atmp_295289 = 0;
			LOC139 = 0;
			LOC139 = sonslen_228387(n);
			HEX3Atmp_295289 = (NI)(LOC139 - ((NI) 1));
			res_295292 = ((NI) 1);
			{
				while (1) {
					Tnode225809* a;
					if (!(res_295292 <= HEX3Atmp_295289)) goto LA141;
					i_295083 = res_295292;
					a = getconstexpr_293004(m, (*(*n).kindU.S6.sons->data[i_295083]).kindU.S6.sons->data[((NI) 1)]);
					{
						if (!(a == NIM_NIL)) goto LA144;
						result = NIM_NIL;
						goto BeforeRet;
					}
					LA144: ;
					asgnRefNoCycle((void**) (&(*(*result).kindU.S6.sons->data[i_295083]).kindU.S6.sons->data[((NI) 1)]), a);
					res_295292 += ((NI) 1);
				} LA141: ;
			}
		}
		(*result).flags |= ((NU16)1)<<((((NU8) 4))%(sizeof(NU16)*8));
	}
	break;
	case ((NU8) 37):
	{
		result = copytree_230028(n);
		{
			NIM_BOOL LOC149;
			NI LOC150;
			LOC149 = 0;
			LOC150 = 0;
			LOC150 = sonslen_228387(n);
			LOC149 = (((NI) 0) < LOC150);
			if (!(LOC149)) goto LA151;
			LOC149 = ((*(*n).kindU.S6.sons->data[((NI) 0)]).kind == ((NU8) 34));
			LA151: ;
			if (!LOC149) goto LA152;
			{
				NI i_295133;
				NI HEX3Atmp_295297;
				NI LOC155;
				NI res_295300;
				i_295133 = 0;
				HEX3Atmp_295297 = 0;
				LOC155 = 0;
				LOC155 = sonslen_228387(n);
				HEX3Atmp_295297 = (NI)(LOC155 - ((NI) 1));
				res_295300 = ((NI) 0);
				{
					while (1) {
						Tnode225809* a;
						if (!(res_295300 <= HEX3Atmp_295297)) goto LA157;
						i_295133 = res_295300;
						a = getconstexpr_293004(m, (*(*n).kindU.S6.sons->data[i_295133]).kindU.S6.sons->data[((NI) 1)]);
						{
							if (!(a == NIM_NIL)) goto LA160;
							result = NIM_NIL;
							goto BeforeRet;
						}
						LA160: ;
						asgnRefNoCycle((void**) (&(*(*result).kindU.S6.sons->data[i_295133]).kindU.S6.sons->data[((NI) 1)]), a);
						res_295300 += ((NI) 1);
					} LA157: ;
				}
			}
		}
		goto LA147;
		LA152: ;
		{
			{
				NI i_295163;
				NI HEX3Atmp_295305;
				NI LOC164;
				NI res_295308;
				i_295163 = 0;
				HEX3Atmp_295305 = 0;
				LOC164 = 0;
				LOC164 = sonslen_228387(n);
				HEX3Atmp_295305 = (NI)(LOC164 - ((NI) 1));
				res_295308 = ((NI) 0);
				{
					while (1) {
						Tnode225809* a;
						if (!(res_295308 <= HEX3Atmp_295305)) goto LA166;
						i_295163 = res_295308;
						a = getconstexpr_293004(m, (*n).kindU.S6.sons->data[i_295163]);
						{
							if (!(a == NIM_NIL)) goto LA169;
							result = NIM_NIL;
							goto BeforeRet;
						}
						LA169: ;
						asgnRefNoCycle((void**) (&(*result).kindU.S6.sons->data[i_295163]), a);
						res_295308 += ((NI) 1);
					} LA166: ;
				}
			}
		}
		LA147: ;
		(*result).flags |= ((NU16)1)<<((((NU8) 4))%(sizeof(NU16)*8));
	}
	break;
	case ((NU8) 68):
	case ((NU8) 69):
	case ((NU8) 70):
	{
		Tnode225809* a;
		a = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 0)]);
		{
			if (!(a == NIM_NIL)) goto LA174;
			goto BeforeRet;
		}
		LA174: ;
		{
			NIM_BOOL LOC178;
			LOC178 = 0;
			LOC178 = levalueconv_293021((*n).kindU.S6.sons->data[((NI) 1)], a);
			if (!(LOC178)) goto LA179;
			LOC178 = levalueconv_293021(a, (*n).kindU.S6.sons->data[((NI) 2)]);
			LA179: ;
			if (!LOC178) goto LA180;
			result = a;
			asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
		}
		goto LA176;
		LA180: ;
		{
			NimStringDesc* LOC183;
			TY193306 LOC184;
			NimStringDesc* LOC185;
			LOC183 = 0;
			LOC183 = msgkindtostring_192406(((NU16) 146));
			memset((void*)LOC184, 0, sizeof(LOC184));
			LOC184[0] = typetostring_255032((*(*n).kindU.S6.sons->data[((NI) 0)]).typ, ((NU8) 0));
			LOC184[1] = typetostring_255032((*n).typ, ((NU8) 0));
			LOC185 = 0;
			LOC185 = nsuFormatOpenArray(LOC183, LOC184, 2);
			localerror_196128((*n).info, ((NU16) 4), LOC185);
		}
		LA176: ;
	}
	break;
	case ((NU8) 71):
	case ((NU8) 72):
	{
		Tnode225809* a;
		a = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 0)]);
		{
			if (!(a == NIM_NIL)) goto LA189;
			goto BeforeRet;
		}
		LA189: ;
		result = a;
		asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
	}
	break;
	case ((NU8) 58):
	case ((NU8) 59):
	case ((NU8) 60):
	{
		Tnode225809* a;
		a = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 1)]);
		{
			if (!(a == NIM_NIL)) goto LA194;
			goto BeforeRet;
		}
		LA194: ;
		result = foldconv_294276(n, a, ((*n).kind == ((NU8) 58)));
	}
	break;
	case ((NU8) 61):
	{
		Tnode225809* a;
		a = getconstexpr_293004(m, (*n).kindU.S6.sons->data[((NI) 1)]);
		{
			if (!(a == NIM_NIL)) goto LA199;
			goto BeforeRet;
		}
		LA199: ;
		{
			if (!((*(*n).typ).kind == ((NU8) 26) || (*(*n).typ).kind == ((NU8) 29) || (*(*n).typ).kind == ((NU8) 22) || (*(*n).typ).kind == ((NU8) 21) || (*(*n).typ).kind == ((NU8) 24) || (*(*n).typ).kind == ((NU8) 25) || (*(*n).typ).kind == ((NU8) 28) || (*(*n).typ).kind == ((NU8) 50))) goto LA203;
			result = a;
			asgnRefNoCycle((void**) (&(*result).typ), (*n).typ);
		}
		LA203: ;
	}
	break;
	case ((NU8) 42):
	{
		result = foldarrayaccess_294322(m, n);
	}
	break;
	case ((NU8) 45):
	{
		result = foldfieldaccess_294397(m, n);
	}
	break;
	default:
	{
	}
	break;
	}
	}BeforeRet: ;
	return result;
}

static N_INLINE(NIM_BOOL, isintrange_293196)(Ttype225847* t) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = ((*t).kind == ((NU8) 20));
	if (!(LOC1)) goto LA2;
	LOC1 = ((*(*t).sons->data[((NI) 0)]).kind >= ((NU8) 31) && (*(*t).sons->data[((NI) 0)]).kind <= ((NU8) 35) || (*(*t).sons->data[((NI) 0)]).kind >= ((NU8) 41) && (*(*t).sons->data[((NI) 0)]).kind <= ((NU8) 43));
	LA2: ;
	result = LOC1;
	return result;
}

N_NIMCALL(Ttype225847*, makerange_293293)(Ttype225847* typ, NI64 first, NI64 last) {
	Ttype225847* result;
	NI64 mina;
	NI64 maxa;
	Tnode225809* lowernode;
	result = 0;
	mina = ((first <= last) ? first : last);
	maxa = ((first >= last) ? first : last);
	lowernode = newintnode_226608(((NU8) 6), mina);
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = ((*typ).kind == ((NU8) 31));
		if (!(LOC3)) goto LA4;
		LOC3 = (mina == maxa);
		LA4: ;
		if (!LOC3) goto LA5;
		result = getintlittype_274660(lowernode);
	}
	goto LA1;
	LA5: ;
	{
		if (!((*typ).kind == ((NU8) 40) || (*typ).kind == ((NU8) 44))) goto LA8;
		result = typ;
	}
	goto LA1;
	LA8: ;
	{
		Tnode225809* n;
		Tnode225809* LOC11;
		Ttype225847* LOC12;
		n = newnode_226401(((NU8) 44));
		addson_227819(n, lowernode);
		LOC11 = 0;
		LOC11 = newintnode_226608(((NU8) 6), maxa);
		addson_227819(n, LOC11);
		result = newtype_228140(((NU8) 20), (*typ).owner);
		asgnRefNoCycle((void**) (&(*result).n), n);
		LOC12 = 0;
		LOC12 = skiptypes_229167(typ, 1048576);
		addsonskipintlit_274729(result, LOC12);
	}
	LA1: ;
	return result;
}

static N_INLINE(NIM_BOOL, isfloatrange_293166)(Ttype225847* t) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = ((*t).kind == ((NU8) 20));
	if (!(LOC1)) goto LA2;
	LOC1 = ((*(*t).sons->data[((NI) 0)]).kind >= ((NU8) 36) && (*(*t).sons->data[((NI) 0)]).kind <= ((NU8) 39));
	LA2: ;
	result = LOC1;
	return result;
}

N_NIMCALL(Ttype225847*, makerangef_293338)(Ttype225847* typ, NF first, NF last) {
	Ttype225847* result;
	Tnode225809* n;
	Tnode225809* LOC1;
	Tnode225809* LOC2;
	Ttype225847* LOC3;
	result = 0;
	n = newnode_226401(((NU8) 44));
	LOC1 = 0;
	LOC1 = newfloatnode_226632(((NU8) 16), ((first <= last) ? first : last));
	addson_227819(n, LOC1);
	LOC2 = 0;
	LOC2 = newfloatnode_226632(((NU8) 16), ((first >= last) ? first : last));
	addson_227819(n, LOC2);
	result = newtype_228140(((NU8) 20), (*typ).owner);
	asgnRefNoCycle((void**) (&(*result).n), n);
	LOC3 = 0;
	LOC3 = skiptypes_229167(typ, 1048576);
	addsonskipintlit_274729(result, LOC3);
	return result;
}

static N_INLINE(NIM_BOOL, isintlit_255327)(Ttype225847* t) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	NIM_BOOL LOC2;
	result = 0;
	LOC1 = 0;
	LOC2 = 0;
	LOC2 = ((*t).kind == ((NU8) 31));
	if (!(LOC2)) goto LA3;
	LOC2 = !(((*t).n == NIM_NIL));
	LA3: ;
	LOC1 = LOC2;
	if (!(LOC1)) goto LA4;
	LOC1 = ((*(*t).n).kind == ((NU8) 6));
	LA4: ;
	result = LOC1;
	return result;
}

N_NIMCALL(NI64, pickminint_293247)(Tnode225809* n) {
	NI64 result;
	result = 0;
	{
		if (!((*n).kind >= ((NU8) 6) && (*n).kind <= ((NU8) 15))) goto LA3;
		result = (*n).kindU.S1.intval;
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = isintlit_255327((*n).typ);
		if (!LOC6) goto LA7;
		result = (*(*(*n).typ).n).kindU.S1.intval;
	}
	goto LA1;
	LA7: ;
	{
		NIM_BOOL LOC10;
		LOC10 = 0;
		LOC10 = isintrange_293196((*n).typ);
		if (!LOC10) goto LA11;
		result = firstord_255004((*n).typ);
	}
	goto LA1;
	LA11: ;
	{
		internalerror_196172((*n).info, ((NimStringDesc*) &TMP3394));
	}
	LA1: ;
	return result;
}

N_NIMCALL(NI64, pickmaxint_293270)(Tnode225809* n) {
	NI64 result;
	result = 0;
	{
		if (!((*n).kind >= ((NU8) 6) && (*n).kind <= ((NU8) 15))) goto LA3;
		result = (*n).kindU.S1.intval;
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = isintlit_255327((*n).typ);
		if (!LOC6) goto LA7;
		result = (*(*(*n).typ).n).kindU.S1.intval;
	}
	goto LA1;
	LA7: ;
	{
		NIM_BOOL LOC10;
		LOC10 = 0;
		LOC10 = isintrange_293196((*n).typ);
		if (!LOC10) goto LA11;
		result = lastord_255010((*n).typ);
	}
	goto LA1;
	LA11: ;
	{
		internalerror_196172((*n).info, ((NimStringDesc*) &TMP3395));
	}
	LA1: ;
	return result;
}

N_NIMCALL(NIM_BOOL, isintrangeorlit_293237)(Ttype225847* t) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = isintrange_293196(t);
	if (LOC1) goto LA2;
	LOC1 = isintlit_255327(t);
	LA2: ;
	result = LOC1;
	return result;
}

N_NIMCALL(Ttype225847*, pickintrange_293226)(Ttype225847* a, Ttype225847* b) {
	Ttype225847* result;
	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = isintrange_293196(a);
		if (!LOC3) goto LA4;
		result = a;
	}
	goto LA1;
	LA4: ;
	{
		NIM_BOOL LOC7;
		LOC7 = 0;
		LOC7 = isintrange_293196(b);
		if (!LOC7) goto LA8;
		result = b;
	}
	goto LA1;
	LA8: ;
	{
		result = a;
	}
	LA1: ;
	return result;
}

N_NIMCALL(Ttype225847*, getintervaltype_293364)(NU8 m, Tnode225809* n) {
	Ttype225847* result;
	result = 0;
	result = (*n).typ;
	switch (m) {
	case ((NU8) 95):
	case ((NU8) 96):
	{
		Ttype225847* a;
		a = (*(*n).kindU.S6.sons->data[((NI) 1)]).typ;
		{
			NIM_BOOL LOC4;
			NI64 LOC7;
			NI64 LOC8;
			NI64 LOC9;
			NI64 LOC10;
			LOC4 = 0;
			LOC4 = isintrange_293196(a);
			if (!LOC4) goto LA5;
			LOC7 = 0;
			LOC7 = lastord_255010(a);
			LOC8 = 0;
			LOC8 = HEX7CHEX2DHEX7C_292030(IL64(0), LOC7);
			LOC9 = 0;
			LOC9 = firstord_255004(a);
			LOC10 = 0;
			LOC10 = HEX7CHEX2DHEX7C_292030(IL64(0), LOC9);
			result = makerange_293293(a, LOC8, LOC10);
		}
		LA5: ;
	}
	break;
	case ((NU8) 102):
	{
		Ttype225847* a;
		a = (*(*n).kindU.S6.sons->data[((NI) 1)]).typ;
		{
			NIM_BOOL LOC14;
			NF LOC17;
			NF LOC18;
			LOC14 = 0;
			LOC14 = isfloatrange_293166(a);
			if (!LOC14) goto LA15;
			LOC17 = 0;
			LOC17 = getfloat_230616((*(*a).n).kindU.S6.sons->data[((NI) 1)]);
			LOC18 = 0;
			LOC18 = getfloat_230616((*(*a).n).kindU.S6.sons->data[((NI) 0)]);
			result = makerangef_293338(a, -(LOC17), -(LOC18));
		}
		LA15: ;
	}
	break;
	case ((NU8) 103):
	{
		Ttype225847* a;
		a = (*(*n).kindU.S6.sons->data[((NI) 1)]).typ;
		{
			NIM_BOOL LOC22;
			LOC22 = 0;
			LOC22 = isfloatrange_293166(a);
			if (!LOC22) goto LA23;
			{
				Tnode225809* LOC27;
				NF LOC30;
				LOC27 = 0;
				LOC27 = HEX5BHEX5D_226244((*a).n, ((NI) 0));
				if (!((*LOC27).kindU.S2.floatval <= 0.0)) goto LA28;
				LOC30 = 0;
				LOC30 = getfloat_230616((*(*a).n).kindU.S6.sons->data[((NI) 0)]);
				result = makerangef_293338(a, 0.0, (LOC30 > 0? (LOC30) : -(LOC30)));
			}
			goto LA25;
			LA28: ;
			{
				NF LOC32;
				NF LOC33;
				LOC32 = 0;
				LOC32 = getfloat_230616((*(*a).n).kindU.S6.sons->data[((NI) 1)]);
				LOC33 = 0;
				LOC33 = getfloat_230616((*(*a).n).kindU.S6.sons->data[((NI) 0)]);
				result = makerangef_293338(a, (LOC32 > 0? (LOC32) : -(LOC32)), (LOC33 > 0? (LOC33) : -(LOC33)));
			}
			LA25: ;
		}
		LA23: ;
	}
	break;
	case ((NU8) 97):
	{
		Ttype225847* a;
		a = (*(*n).kindU.S6.sons->data[((NI) 1)]).typ;
		{
			NIM_BOOL LOC37;
			LOC37 = 0;
			LOC37 = isintrange_293196(a);
			if (!LOC37) goto LA38;
			{
				Tnode225809* LOC42;
				NI64 LOC45;
				NI64 LOC46;
				LOC42 = 0;
				LOC42 = HEX5BHEX5D_226244((*a).n, ((NI) 0));
				if (!((*LOC42).kindU.S1.intval <= IL64(0))) goto LA43;
				LOC45 = 0;
				LOC45 = getint_230605((*(*a).n).kindU.S6.sons->data[((NI) 0)]);
				LOC46 = 0;
				LOC46 = HEX7CabsHEX7C_292041(LOC45);
				result = makerange_293293(a, IL64(0), LOC46);
			}
			goto LA40;
			LA43: ;
			{
				NI64 LOC48;
				NI64 LOC49;
				NI64 LOC50;
				NI64 LOC51;
				LOC48 = 0;
				LOC48 = getint_230605((*(*a).n).kindU.S6.sons->data[((NI) 1)]);
				LOC49 = 0;
				LOC49 = HEX7CabsHEX7C_292041(LOC48);
				LOC50 = 0;
				LOC50 = getint_230605((*(*a).n).kindU.S6.sons->data[((NI) 0)]);
				LOC51 = 0;
				LOC51 = HEX7CabsHEX7C_292041(LOC50);
				result = makerange_293293(a, LOC49, LOC51);
			}
			LA40: ;
		}
		LA38: ;
	}
	break;
	case ((NU8) 49):
	{
		Ttype225847* a;
		Ttype225847* b;
		a = (*(*n).kindU.S6.sons->data[((NI) 1)]).typ;
		b = (*(*n).kindU.S6.sons->data[((NI) 2)]).typ;
		{
			NIM_BOOL LOC55;
			NI64 LOC59;
			NI64 LOC60;
			NI64 LOC61;
			NI64 LOC62;
			NI64 LOC63;
			NI64 LOC64;
			LOC55 = 0;
			LOC55 = isintrange_293196(a);
			if (!(LOC55)) goto LA56;
			LOC55 = isintlit_255327(b);
			LA56: ;
			if (!LOC55) goto LA57;
			LOC59 = 0;
			LOC59 = pickminint_293247((*n).kindU.S6.sons->data[((NI) 1)]);
			LOC60 = 0;
			LOC60 = pickminint_293247((*n).kindU.S6.sons->data[((NI) 2)]);
			LOC61 = 0;
			LOC61 = HEX7CHEX2BHEX7C_292019(LOC59, LOC60);
			LOC62 = 0;
			LOC62 = pickmaxint_293270((*n).kindU.S6.sons->data[((NI) 1)]);
			LOC63 = 0;
			LOC63 = pickmaxint_293270((*n).kindU.S6.sons->data[((NI) 2)]);
			LOC64 = 0;
			LOC64 = HEX7CHEX2BHEX7C_292019(LOC62, LOC63);
			result = makerange_293293(a, LOC61, LOC64);
		}
		LA57: ;
	}
	break;
	case ((NU8) 50):
	{
		Ttype225847* a;
		Ttype225847* b;
		a = (*(*n).kindU.S6.sons->data[((NI) 1)]).typ;
		b = (*(*n).kindU.S6.sons->data[((NI) 2)]).typ;
		{
			NIM_BOOL LOC68;
			NI64 LOC72;
			NI64 LOC73;
			NI64 LOC74;
			NI64 LOC75;
			NI64 LOC76;
			NI64 LOC77;
			LOC68 = 0;
			LOC68 = isintrange_293196(a);
			if (!(LOC68)) goto LA69;
			LOC68 = isintlit_255327(b);
			LA69: ;
			if (!LOC68) goto LA70;
			LOC72 = 0;
			LOC72 = pickminint_293247((*n).kindU.S6.sons->data[((NI) 1)]);
			LOC73 = 0;
			LOC73 = pickminint_293247((*n).kindU.S6.sons->data[((NI) 2)]);
			LOC74 = 0;
			LOC74 = HEX7CHEX2DHEX7C_292030(LOC72, LOC73);
			LOC75 = 0;
			LOC75 = pickmaxint_293270((*n).kindU.S6.sons->data[((NI) 1)]);
			LOC76 = 0;
			LOC76 = pickmaxint_293270((*n).kindU.S6.sons->data[((NI) 2)]);
			LOC77 = 0;
			LOC77 = HEX7CHEX2DHEX7C_292030(LOC75, LOC76);
			result = makerange_293293(a, LOC74, LOC77);
		}
		LA70: ;
	}
	break;
	case ((NU8) 44):
	case ((NU8) 64):
	{
		Tnode225809* a_293425;
		Tnode225809* b_293427;
		a_293425 = (*n).kindU.S6.sons->data[((NI) 1)];
		b_293427 = (*n).kindU.S6.sons->data[((NI) 2)];
		{
			NIM_BOOL LOC81;
			Ttype225847* LOC85;
			NI64 LOC86;
			NI64 LOC87;
			NI64 LOC88;
			NI64 LOC89;
			NI64 LOC90;
			NI64 LOC91;
			LOC81 = 0;
			LOC81 = isintrangeorlit_293237((*a_293425).typ);
			if (!(LOC81)) goto LA82;
			LOC81 = isintrangeorlit_293237((*b_293427).typ);
			LA82: ;
			if (!LOC81) goto LA83;
			LOC85 = 0;
			LOC85 = pickintrange_293226((*a_293425).typ, (*b_293427).typ);
			LOC86 = 0;
			LOC86 = pickminint_293247(a_293425);
			LOC87 = 0;
			LOC87 = pickminint_293247(b_293427);
			LOC88 = 0;
			LOC88 = HEX7CHEX2BHEX7C_292019(LOC86, LOC87);
			LOC89 = 0;
			LOC89 = pickmaxint_293270(a_293425);
			LOC90 = 0;
			LOC90 = pickmaxint_293270(b_293427);
			LOC91 = 0;
			LOC91 = HEX7CHEX2BHEX7C_292019(LOC89, LOC90);
			result = makerange_293293(LOC85, LOC88, LOC91);
		}
		LA83: ;
	}
	break;
	case ((NU8) 46):
	case ((NU8) 66):
	{
		Tnode225809* a_293431;
		Tnode225809* b_293433;
		a_293431 = (*n).kindU.S6.sons->data[((NI) 1)];
		b_293433 = (*n).kindU.S6.sons->data[((NI) 2)];
		{
			NIM_BOOL LOC95;
			Ttype225847* LOC99;
			NI64 LOC100;
			NI64 LOC101;
			NI64 LOC102;
			NI64 LOC103;
			NI64 LOC104;
			NI64 LOC105;
			LOC95 = 0;
			LOC95 = isintrangeorlit_293237((*a_293431).typ);
			if (!(LOC95)) goto LA96;
			LOC95 = isintrangeorlit_293237((*b_293433).typ);
			LA96: ;
			if (!LOC95) goto LA97;
			LOC99 = 0;
			LOC99 = pickintrange_293226((*a_293431).typ, (*b_293433).typ);
			LOC100 = 0;
			LOC100 = pickminint_293247(a_293431);
			LOC101 = 0;
			LOC101 = pickminint_293247(b_293433);
			LOC102 = 0;
			LOC102 = HEX7CHEX2AHEX7C_292073(LOC100, LOC101);
			LOC103 = 0;
			LOC103 = pickmaxint_293270(a_293431);
			LOC104 = 0;
			LOC104 = pickmaxint_293270(b_293433);
			LOC105 = 0;
			LOC105 = HEX7CHEX2AHEX7C_292073(LOC103, LOC104);
			result = makerange_293293(LOC99, LOC102, LOC105);
		}
		LA97: ;
	}
	break;
	case ((NU8) 45):
	case ((NU8) 65):
	{
		Tnode225809* a_293437;
		Tnode225809* b_293439;
		a_293437 = (*n).kindU.S6.sons->data[((NI) 1)];
		b_293439 = (*n).kindU.S6.sons->data[((NI) 2)];
		{
			NIM_BOOL LOC109;
			NI64 LOC113;
			NI64 LOC114;
			NI64 LOC115;
			NI64 LOC116;
			NI64 LOC117;
			NI64 LOC118;
			LOC109 = 0;
			LOC109 = isintrange_293196((*a_293437).typ);
			if (!(LOC109)) goto LA110;
			LOC109 = ((*b_293439).kind >= ((NU8) 6) && (*b_293439).kind <= ((NU8) 15));
			LA110: ;
			if (!LOC109) goto LA111;
			LOC113 = 0;
			LOC113 = pickminint_293247(a_293437);
			LOC114 = 0;
			LOC114 = pickminint_293247(b_293439);
			LOC115 = 0;
			LOC115 = HEX7CHEX2DHEX7C_292030(LOC113, LOC114);
			LOC116 = 0;
			LOC116 = pickmaxint_293270(a_293437);
			LOC117 = 0;
			LOC117 = pickmaxint_293270(b_293439);
			LOC118 = 0;
			LOC118 = HEX7CHEX2DHEX7C_292030(LOC116, LOC117);
			result = makerange_293293((*a_293437).typ, LOC115, LOC118);
		}
		LA111: ;
	}
	break;
	case ((NU8) 57):
	{
		Tnode225809* a;
		Tnode225809* b;
		a = (*n).kindU.S6.sons->data[((NI) 1)];
		b = (*n).kindU.S6.sons->data[((NI) 2)];
		{
			Tnode225809* LOC124;
			if (!!(((*b).kind >= ((NU8) 6) && (*b).kind <= ((NU8) 15)))) goto LA122;
			LOC124 = 0;
			LOC124 = a;
			a = b;
			b = LOC124;
		}
		LA122: ;
		{
			NI64 x;
			if (!((*b).kind >= ((NU8) 6) && (*b).kind <= ((NU8) 15))) goto LA127;
			x = HEX7CHEX2BHEX7C_292019((*b).kindU.S1.intval, IL64(1));
			{
				NIM_BOOL LOC131;
				LOC131 = 0;
				LOC131 = ((NI64)(x & -(x)) == x);
				if (!(LOC131)) goto LA132;
				LOC131 = (IL64(0) <= x);
				LA132: ;
				if (!LOC131) goto LA133;
				result = makerange_293293((*a).typ, IL64(0), (*b).kindU.S1.intval);
			}
			LA133: ;
		}
		LA127: ;
	}
	break;
	case ((NU8) 68):
	{
		Tnode225809* a;
		Tnode225809* b;
		a = (*n).kindU.S6.sons->data[((NI) 1)];
		b = (*n).kindU.S6.sons->data[((NI) 2)];
		{
			if (!((*a).kind >= ((NU8) 6) && (*a).kind <= ((NU8) 15))) goto LA138;
			{
				if (!(IL64(0) <= (*b).kindU.S1.intval)) goto LA142;
				result = makerange_293293((*a).typ, IL64(0), (NI64)((*b).kindU.S1.intval - IL64(1)));
			}
			goto LA140;
			LA142: ;
			{
				result = makerange_293293((*a).typ, (NI64)((*b).kindU.S1.intval + IL64(1)), IL64(0));
			}
			LA140: ;
		}
		LA138: ;
	}
	break;
	case ((NU8) 48):
	{
		Tnode225809* a;
		Tnode225809* b;
		a = (*n).kindU.S6.sons->data[((NI) 1)];
		b = (*n).kindU.S6.sons->data[((NI) 2)];
		{
			if (!((*b).kind >= ((NU8) 6) && (*b).kind <= ((NU8) 15))) goto LA148;
			{
				if (!(IL64(0) <= (*b).kindU.S1.intval)) goto LA152;
				result = makerange_293293((*a).typ, -((NI64)((*b).kindU.S1.intval - IL64(1))), (NI64)((*b).kindU.S1.intval - IL64(1)));
			}
			goto LA150;
			LA152: ;
			{
				result = makerange_293293((*a).typ, (NI64)((*b).kindU.S1.intval + IL64(1)), -((NI64)((*b).kindU.S1.intval + IL64(1))));
			}
			LA150: ;
		}
		LA148: ;
	}
	break;
	case ((NU8) 47):
	case ((NU8) 67):
	{
		Tnode225809* a_293528;
		Tnode225809* b_293530;
		a_293528 = (*n).kindU.S6.sons->data[((NI) 1)];
		b_293530 = (*n).kindU.S6.sons->data[((NI) 2)];
		{
			NIM_BOOL LOC158;
			NI64 LOC162;
			NI64 LOC163;
			NI64 LOC164;
			NI64 LOC165;
			NI64 LOC166;
			NI64 LOC167;
			LOC158 = 0;
			LOC158 = isintrange_293196((*a_293528).typ);
			if (!(LOC158)) goto LA159;
			LOC158 = ((*b_293530).kind >= ((NU8) 6) && (*b_293530).kind <= ((NU8) 15));
			LA159: ;
			if (!LOC158) goto LA160;
			LOC162 = 0;
			LOC162 = pickminint_293247(a_293528);
			LOC163 = 0;
			LOC163 = pickminint_293247(b_293530);
			LOC164 = 0;
			LOC164 = HEX7CdivHEX7C_292051(LOC162, LOC163);
			LOC165 = 0;
			LOC165 = pickmaxint_293270(a_293528);
			LOC166 = 0;
			LOC166 = pickmaxint_293270(b_293530);
			LOC167 = 0;
			LOC167 = HEX7CdivHEX7C_292051(LOC165, LOC166);
			result = makerange_293293((*a_293528).typ, LOC164, LOC167);
		}
		LA160: ;
	}
	break;
	case ((NU8) 60):
	{
		Tnode225809* a_293545;
		Tnode225809* b_293547;
		a_293545 = (*n).kindU.S6.sons->data[((NI) 1)];
		b_293547 = (*n).kindU.S6.sons->data[((NI) 2)];
		{
			NIM_BOOL LOC171;
			Ttype225847* LOC175;
			NI64 LOC176;
			NI64 LOC177;
			NI64 LOC178;
			NI64 LOC179;
			LOC171 = 0;
			LOC171 = isintrangeorlit_293237((*a_293545).typ);
			if (!(LOC171)) goto LA172;
			LOC171 = isintrangeorlit_293237((*b_293547).typ);
			LA172: ;
			if (!LOC171) goto LA173;
			LOC175 = 0;
			LOC175 = pickintrange_293226((*a_293545).typ, (*b_293547).typ);
			LOC176 = 0;
			LOC176 = pickminint_293247(a_293545);
			LOC177 = 0;
			LOC177 = pickminint_293247(b_293547);
			LOC178 = 0;
			LOC178 = pickmaxint_293270(a_293545);
			LOC179 = 0;
			LOC179 = pickmaxint_293270(b_293547);
			result = makerange_293293(LOC175, ((LOC176 <= LOC177) ? LOC176 : LOC177), ((LOC178 <= LOC179) ? LOC178 : LOC179));
		}
		LA173: ;
	}
	break;
	case ((NU8) 61):
	{
		Tnode225809* a_293559;
		Tnode225809* b_293561;
		a_293559 = (*n).kindU.S6.sons->data[((NI) 1)];
		b_293561 = (*n).kindU.S6.sons->data[((NI) 2)];
		{
			NIM_BOOL LOC183;
			Ttype225847* LOC187;
			NI64 LOC188;
			NI64 LOC189;
			NI64 LOC190;
			NI64 LOC191;
			LOC183 = 0;
			LOC183 = isintrangeorlit_293237((*a_293559).typ);
			if (!(LOC183)) goto LA184;
			LOC183 = isintrangeorlit_293237((*b_293561).typ);
			LA184: ;
			if (!LOC183) goto LA185;
			LOC187 = 0;
			LOC187 = pickintrange_293226((*a_293559).typ, (*b_293561).typ);
			LOC188 = 0;
			LOC188 = pickminint_293247(a_293559);
			LOC189 = 0;
			LOC189 = pickminint_293247(b_293561);
			LOC190 = 0;
			LOC190 = pickmaxint_293270(a_293559);
			LOC191 = 0;
			LOC191 = pickmaxint_293270(b_293561);
			result = makerange_293293(LOC187, ((LOC188 >= LOC189) ? LOC188 : LOC189), ((LOC190 >= LOC191) ? LOC190 : LOC191));
		}
		LA185: ;
	}
	break;
	default:
	{
	}
	break;
	}
	return result;
}
NIM_EXTERNC N_NOINLINE(void, compiler_semfoldInit000)(void) {
}

NIM_EXTERNC N_NOINLINE(void, compiler_semfoldDatInit000)(void) {
}

