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

#include "nimbase.h"
#include <string.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
#define nimfr_(x, y)
#define nimln_(x, y)
typedef struct tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
typedef struct tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q;
typedef struct tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w;
typedef struct tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA;
typedef struct tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ;
typedef struct tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA;
typedef struct RootObj RootObj;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tySequence_Ef05srmQTDulnBdXR4Ja6Q tySequence_Ef05srmQTDulnBdXR4Ja6Q;
typedef struct tySequence_DXS6mEo7PVUFJkirsQ9bNQA tySequence_DXS6mEo7PVUFJkirsQ9bNQA;
typedef struct tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA;
typedef struct tySequence_DfgJFJEYoj4YBAHLZPl5lQ tySequence_DfgJFJEYoj4YBAHLZPl5lQ;
typedef struct tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA;
typedef struct tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA;
typedef struct tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA;
typedef struct tySequence_MvZmat48bhe9b6x9aUD58D5Q tySequence_MvZmat48bhe9b6x9aUD58D5Q;
typedef struct tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw;
typedef struct tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g;
typedef struct tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w;
typedef struct tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ;
typedef struct tyObject_GcStack_7fytPA5bBsob6See21YMRA tyObject_GcStack_7fytPA5bBsob6See21YMRA;
typedef struct tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg;
typedef struct tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ;
typedef struct tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg;
typedef struct tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw;
typedef struct tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA;
typedef struct tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw;
typedef struct tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw;
typedef struct tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg;
typedef struct tyTuple_ujsjpB2O9cjj3uDHsXbnSzg tyTuple_ujsjpB2O9cjj3uDHsXbnSzg;
typedef struct tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg;
typedef struct tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ;
typedef struct tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg;
typedef struct tyTuple_kN8up2W6YKc5YA9avn5mV5w tyTuple_kN8up2W6YKc5YA9avn5mV5w;
typedef struct tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA;
typedef struct tyTuple_zwpS6d6iewrdlBSTNFoyVA tyTuple_zwpS6d6iewrdlBSTNFoyVA;
typedef NIM_BOOL tyArray_zl3qUQvo0CT9bJi9b5H7mRkw[65];
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q {
NU16 line;
NI16 col;
NI32 fileIndex;
};
typedef NU32 tySet_tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg;
typedef NU8 tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw;
struct tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw {
tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info;
tySet_tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg flags;
tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw kind;
union{
struct {NI64 intVal;
};
struct {NF floatVal;
};
struct {NimStringDesc* strVal;
};
struct {tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* sym;
};
struct {tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* ident;
};
struct {tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
};
};
NimStringDesc* comment;
};
typedef NU8 tySet_tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw[21];
typedef NU8 tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA;
typedef NU8 tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw;
typedef NU8 tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc_ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc_WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {
NI size;
tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc_ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc_WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
};
struct RootObj {
TNimType* m_type;
};
struct tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA {
  RootObj Sup;
NI id;
};
struct tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA {
NI counter;
tySequence_DfgJFJEYoj4YBAHLZPl5lQ* data;
};
typedef NU16 tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg;
typedef NU64 tySet_tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw;
typedef NU32 tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg;
typedef NU8 tyEnum_TLocKind_O7PRFZKuiBBWbku09cayVBg;
typedef NU8 tyEnum_TStorageLoc_JK9cKMX3XnqHaUky9b6gkGEw;
typedef NU16 tySet_tyEnum_TLocFlag_o2bqJgR4ceIupnUSpxiudA;
struct tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA {
tyEnum_TLocKind_O7PRFZKuiBBWbku09cayVBg k;
tyEnum_TStorageLoc_JK9cKMX3XnqHaUky9b6gkGEw storage;
tySet_tyEnum_TLocFlag_o2bqJgR4ceIupnUSpxiudA flags;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* lode;
tyObject_RopeObj_OFzf0kSiPTcNreUIeJgWVA* r;
};
struct tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w {
  tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA Sup;
tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw kind;
union{
struct {tySequence_Ef05srmQTDulnBdXR4Ja6Q* typeInstCache;
};
struct {tySequence_DXS6mEo7PVUFJkirsQ9bNQA* procInstCache;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* gcUnsafetyReason;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* transformedBody;
};
struct {tySequence_DXS6mEo7PVUFJkirsQ9bNQA* usedGenerics;
tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA tab;
};
struct {tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* guard;
NI bitsize;
};
};
tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg magic;
tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* name;
tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* owner;
tySet_tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw flags;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* ast;
tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg options;
NI position;
NI offset;
tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA loc;
tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA* annex;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* constraint;
};
typedef NU8 tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag;
typedef NU8 tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag;
typedef NU8 tyEnum_TCallingConvention_yjAJ8w0h1PBaSwSGJ3P7IA;
typedef NU64 tySet_tyEnum_TTypeFlag_x2m5g1NpbmDig4wLT3Ylhw;
typedef tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* tyArray_PsPyPA45AAjHu4uDGHNjTg[4];
struct tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ {
  tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA Sup;
tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag kind;
tyEnum_TCallingConvention_yjAJ8w0h1PBaSwSGJ3P7IA callConv;
tySet_tyEnum_TTypeFlag_x2m5g1NpbmDig4wLT3Ylhw flags;
tySequence_Ef05srmQTDulnBdXR4Ja6Q* sons;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* owner;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* sym;
tyArray_PsPyPA45AAjHu4uDGHNjTg attachedOps;
tySequence_MvZmat48bhe9b6x9aUD58D5Q* methods;
NI64 size;
NI16 align;
NI16 lockLevel;
tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA loc;
tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typeInst;
NI uniqueId;
};
typedef NU32 tySet_tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw;
typedef NU8 tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw;
typedef NU64 tySet_tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag;
typedef NU8 tyEnum_TDistinctCompare_9bNKHGs63atuMFXnAleTveg;
typedef NU8 tySet_tyEnum_TTypeCmpFlag_72pgRXSg7774cr9aCWVPORw;
typedef NU8 tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw;
typedef NU8 tyEnum_TTypeFlag_x2m5g1NpbmDig4wLT3Ylhw;
struct tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g {
NI refcount;
TNimType* typ;
};
struct tyObject_GcStack_7fytPA5bBsob6See21YMRA {
void* bottom;
};
struct tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w {
NI len;
NI cap;
tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* tyArray_SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray_BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* tyArray_N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray_N1u1nqOgmuJN9cSZrnMHgOQ tyArray_B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw* tyArray_lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA {
tyArray_lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* tyArray_0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw {
tyArray_0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple_ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple_ujsjpB2O9cjj3uDHsXbnSzg tyArray_LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg {
NI len;
tyArray_LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg {
NI minLargeObj;
NI maxLargeObj;
tyArray_SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray_BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray_B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
};
struct tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg {
NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ {
NI counter;
NI max;
tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg** data;
};
struct tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ {
tyObject_GcStack_7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
NI zctThreshold;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w additionalRoots;
NI gcThreadId;
};
typedef NU8 tySet_tyEnum_TRenderFlag_wrPgUo1ExBlHvFnXN2nSHw;
struct tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA {
  tyObject_TIdObj_iIXPrEsiKHiioLj0HSkQhA Sup;
NimStringDesc* s;
tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* next;
NI h;
};
struct tyTuple_kN8up2W6YKc5YA9avn5mV5w {
NimStringDesc* Field0;
NI Field1;
NI Field2;
};
typedef NU8 tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
typedef NU8 tyEnum_TAliasRequest_BbWVl1Ad9ayM74eg8oBpAfw;
struct tyTuple_zwpS6d6iewrdlBSTNFoyVA {
NI Field0;
tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* Field1;
};
struct tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ {
  TGenericSeq Sup;
  tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
};
struct tySequence_Ef05srmQTDulnBdXR4Ja6Q {
  TGenericSeq Sup;
  tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* data[SEQ_DECL_SIZE];
};
struct tySequence_DXS6mEo7PVUFJkirsQ9bNQA {
  TGenericSeq Sup;
  tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA* data[SEQ_DECL_SIZE];
};
struct tySequence_DfgJFJEYoj4YBAHLZPl5lQ {
  TGenericSeq Sup;
  tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* data[SEQ_DECL_SIZE];
};
struct tySequence_MvZmat48bhe9b6x9aUD58D5Q {
  TGenericSeq Sup;
  tyTuple_zwpS6d6iewrdlBSTNFoyVA data[SEQ_DECL_SIZE];
};
N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
static N_INLINE(NI, chckRange)(NI i, NI a, NI b);
N_NOINLINE(void, raiseRangeError)(NI64 val);
static N_INLINE(NI, subInt)(NI a, NI b);
N_NOINLINE(void, raiseOverflow)(void);
static N_INLINE(NI, addInt)(NI a, NI b);
static N_INLINE(NIM_BOOL, isAtom_ORlI8o1EUYdPqjuTcBWx1Aast)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag, isAssignable_H8ClJSBthN45fIRKmjWHMQ)(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* owner, tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL isUnsafeAddr);
N_LIB_PRIVATE N_NIMCALL(tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ*, skipTypes_zsqmUNR5OZrTUna0Y9bdu9bg)(tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t, tySet_tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag kinds);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, compareTypes_oyXq5u7iL4RjsT9bovvTE9cg)(tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* x, tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* y, tyEnum_TDistinctCompare_9bNKHGs63atuMFXnAleTveg cmp, tySet_tyEnum_TTypeCmpFlag_72pgRXSg7774cr9aCWVPORw flags);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg, getMagic_4W1ZJaFiusqlhViRx9cbM9bw)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* op);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, lastSon_UPSW0jLTX5qJL51YMUAHgw)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw, checkForSideEffects_apZ9c8Nt8WLADYEdQq9beFoA)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n);
static N_INLINE(NIM_BOOL, isRoutine_Ye2MiAptq3GrXxTQeyXNeAast)(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* s);
static N_INLINE(NI, len_P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, newNodeI_vokyXY9cZDshCSxFKChhG9bg)(tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef_AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell_QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
static N_INLINE(void, decRef_AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(void, rtlAddZCT_AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT_Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(void, compileConstraints_ei3y5Hkw3H4CU1JGiutKlw)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* p, NimStringDesc** result, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(void, patternError_5Tflpt1vZ7YgBe0KNn4aLw)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(void, localError_NF6kBGchnhQYPbCedyefVA)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info, NimStringDesc* arg);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
static N_INLINE(void, copyMem_M04YC71iJg1N7gBF3HZTngsystem)(void* dest, void* source, NI size);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, renderTree_ppjdh9aQ5L0SGPF8yz1gZ9cA)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n, tySet_tyEnum_TRenderFlag_wrPgUo1ExBlHvFnXN2nSHw renderFlags);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(NIM_BOOL, equalMem_Bj9c9cm9cBM9coLsuNsT5BvZ9awsystem)(void* a, void* b, NI size);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
static N_INLINE(void, add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns)(NimStringDesc** code, tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA op);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuNormalize)(NimStringDesc* s);
N_NIMCALL(NI, hashString)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(void, internalError_5hPl6LjCYJxMYxh9af9b9bXzw)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* errMsg);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__r38WafKlW80RkvoZTcia4Q)(tyTuple_kN8up2W6YKc5YA9avn5mV5w x);
N_LIB_PRIVATE N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr_iGg0RIKceRvsmvq8FUHOEw)(NimStringDesc* s, NI first);
N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);
N_LIB_PRIVATE N_NIMCALL(void, internalError_yTu5SGHF0j0P9cQrqN7YylA)(tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo_WGx4rAexNXnczy1Avn646Q info, NimStringDesc* errMsg);
extern tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ gch_IcYaEuuWivYAS86vFMTS3Q;
extern TNimType NTI_cNCW9acsSznmEccl1fgQwkw_;
extern TNimType NTI_G4E4Gxe7oI2Cm03rkiOzQw_;
static NIM_CONST tySet_tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw TM_kdeXVhLeMhTeIyOxnAjnxA_2 = {
0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_3, "strVal", 6);
static NIM_CONST tySet_tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw TM_kdeXVhLeMhTeIyOxnAjnxA_20 = {
0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_21, "sym", 3);
static NIM_CONST tySet_tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw TM_kdeXVhLeMhTeIyOxnAjnxA_27 = {
0xEC, 0xFF, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_28, "sons", 4);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_37, "illformed AST: ", 15);
static NIM_CONST tySet_tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw TM_kdeXVhLeMhTeIyOxnAjnxA_38 = {
0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_39, "ident", 5);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_40, "|", 1);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_41, "&", 1);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_42, "~", 1);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_43, "atom", 4);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_44, "lit", 3);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_45, "sym", 3);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_46, "ident", 5);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_47, "call", 4);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_48, "alias", 5);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_49, "noalias", 7);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_50, "lvalue", 6);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_51, "local", 5);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_52, "sideeffect", 10);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_53, "nosideeffect", 12);
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_55, "/Users/travis/build/nim-lang/nightlies/nim/e7471cebae2a404f3e42"
"39f199f5a0c422484aac/compiler/parampatterns.nim", 110);
NIM_CONST tyTuple_kN8up2W6YKc5YA9avn5mV5w TM_kdeXVhLeMhTeIyOxnAjnxA_54 = {((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_55),
((NI) 101),
((NI) 21)}
;
NIM_CONST tyTuple_kN8up2W6YKc5YA9avn5mV5w TM_kdeXVhLeMhTeIyOxnAjnxA_57 = {((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_55),
((NI) 108),
((NI) 21)}
;
STRING_LITERAL(TM_kdeXVhLeMhTeIyOxnAjnxA_60, "parameter pattern too complex", 29);

static N_INLINE(NI, chckRange)(NI i, NI a, NI b) {
	NI result;
{	result = (NI)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (a <= i);
		if (!(T3_)) goto LA4_;
		T3_ = (i <= b);
		LA4_: ;
		if (!T3_) goto LA5_;
		result = i;
		goto BeforeRet_;
	}
	goto LA1_;
	LA5_: ;
	{
		raiseRangeError(((NI64) (i)));
	}
	LA1_: ;
	}BeforeRet_: ;
	return result;
}

static N_INLINE(NI, subInt)(NI a, NI b) {
	NI result;
{	result = (NI)0;
	result = (NI)((NU32)(a) - (NU32)(b));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (((NI) 0) <= (NI)(result ^ a));
		if (T3_) goto LA4_;
		T3_ = (((NI) 0) <= (NI)(result ^ (NI)((NU32) ~(b))));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}

static N_INLINE(NI, addInt)(NI a, NI b) {
	NI result;
{	result = (NI)0;
	result = (NI)((NU32)(a) + (NU32)(b));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (((NI) 0) <= (NI)(result ^ a));
		if (T3_) goto LA4_;
		T3_ = (((NI) 0) <= (NI)(result ^ b));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}

static N_INLINE(NIM_BOOL, isAtom_ORlI8o1EUYdPqjuTcBWx1Aast)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n) {
	NIM_BOOL result;
	NIM_BOOL T1_;
	result = (NIM_BOOL)0;
	T1_ = (NIM_BOOL)0;
	T1_ = (((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 0) <= (*n).kind);
	if (!(T1_)) goto LA2_;
	T1_ = ((*n).kind <= ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 23));
	LA2_: ;
	result = T1_;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag, isAssignable_H8ClJSBthN45fIRKmjWHMQ)(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* owner, tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL isUnsafeAddr) {
	tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag result;
	result = (tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag)0;
	result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 0);
	switch ((*n).kind) {
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 1):
	{
		{
			NIM_BOOL T4_;
			T4_ = (NIM_BOOL)0;
			T4_ = !(((*n).typ == NIM_NIL));
			if (!(T4_)) goto LA5_;
			T4_ = ((*(*n).typ).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 23));
			LA5_: ;
			if (!T4_) goto LA6_;
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		LA6_: ;
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 3):
	{
		tySet_tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw kinds;
		{
			if (!isUnsafeAddr) goto LA11_;
			kinds = 2100008;
		}
		goto LA9_;
		LA11_: ;
		{
			kinds = 2336;
		}
		LA9_: ;
		{
			if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
			if (!((kinds &(1U<<((NU)((*(*n).sym).kind)&31U)))!=0)) goto LA16_;
			{
				NIM_BOOL T20_;
				NIM_BOOL T21_;
				T20_ = (NIM_BOOL)0;
				T21_ = (NIM_BOOL)0;
				T21_ = !((owner == NIM_NIL));
				if (!(T21_)) goto LA22_;
				if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
				T21_ = (owner == (*(*n).sym).owner);
				LA22_: ;
				T20_ = T21_;
				if (!(T20_)) goto LA23_;
				if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
				T20_ = !((((*(*n).sym).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw) 3))&63U)))!=0));
				LA23_: ;
				if (!T20_) goto LA24_;
				result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 2);
			}
			goto LA18_;
			LA24_: ;
			{
				result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
			}
			LA18_: ;
		}
		goto LA14_;
		LA16_: ;
		{
			NIM_BOOL T28_;
			T28_ = (NIM_BOOL)0;
			if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
			T28_ = ((*(*n).sym).kind == ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 3));
			if (!(T28_)) goto LA29_;
			if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
			T28_ = ((*(*(*n).sym).typ).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 23));
			LA29_: ;
			if (!T28_) goto LA30_;
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA14_;
		LA30_: ;
		{
			tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t;
			if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
			if (!((*(*n).sym).kind == ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 7))) goto LA33_;
			if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
			t = skipTypes_zsqmUNR5OZrTUna0Y9bdu9bg((*(*n).sym).typ, 256);
			{
				if (!((*t).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 23))) goto LA37_;
				result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 4);
			}
			LA37_: ;
		}
		goto LA14_;
		LA33_: ;
		LA14_: ;
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 45):
	{
		tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t_2;
		if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		t_2 = skipTypes_zsqmUNR5OZrTUna0Y9bdu9bg((*(*n).sons->data[((NI) 0)]).typ, IL64(36134350135273488));
		{
			if (!((*t_2).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 23) || (*t_2).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 21) || (*t_2).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 22))) goto LA42_;
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA40_;
		LA42_: ;
		{
			NIM_BOOL T45_;
			T45_ = (NIM_BOOL)0;
			T45_ = isUnsafeAddr;
			if (!(T45_)) goto LA46_;
			T45_ = ((*t_2).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 47));
			LA46_: ;
			if (!T45_) goto LA47_;
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA40_;
		LA47_: ;
		{
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			result = isAssignable_H8ClJSBthN45fIRKmjWHMQ(owner, (*n).sons->data[((NI) 0)], isUnsafeAddr);
		}
		LA40_: ;
		{
			NIM_BOOL T52_;
			NIM_BOOL T53_;
			T52_ = (NIM_BOOL)0;
			T53_ = (NIM_BOOL)0;
			T53_ = !((result == ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 0)));
			if (!(T53_)) goto LA54_;
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			T53_ = ((*(*n).sons->data[((NI) 1)]).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 3));
			LA54_: ;
			T52_ = T53_;
			if (!(T52_)) goto LA55_;
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*(*n).sons->data[((NI) 1)]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[((NI) 1)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
			T52_ = (((*(*(*n).sons->data[((NI) 1)]).sym).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw) 18))&63U)))!=0);
			LA55_: ;
			if (!T52_) goto LA56_;
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 3);
		}
		LA56_: ;
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 42):
	{
		tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t_3;
		if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		t_3 = skipTypes_zsqmUNR5OZrTUna0Y9bdu9bg((*(*n).sons->data[((NI) 0)]).typ, IL64(36134350135273488));
		{
			if (!((*t_3).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 23) || (*t_3).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 21) || (*t_3).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 22))) goto LA61_;
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA59_;
		LA61_: ;
		{
			NIM_BOOL T64_;
			T64_ = (NIM_BOOL)0;
			T64_ = isUnsafeAddr;
			if (!(T64_)) goto LA65_;
			T64_ = ((*t_3).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 47));
			LA65_: ;
			if (!T64_) goto LA66_;
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA59_;
		LA66_: ;
		{
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			result = isAssignable_H8ClJSBthN45fIRKmjWHMQ(owner, (*n).sons->data[((NI) 0)], isUnsafeAddr);
		}
		LA59_: ;
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 58):
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 59):
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 60):
	{
		{
			tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T72_;
			T72_ = (tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
			T72_ = skipTypes_zsqmUNR5OZrTUna0Y9bdu9bg((*n).typ, IL64(36275087638308880));
			if (!((*T72_).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 27) || (*T72_).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 18) || (*T72_).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 17))) goto LA73_;
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			result = isAssignable_H8ClJSBthN45fIRKmjWHMQ(owner, (*n).sons->data[((NI) 1)], isUnsafeAddr);
		}
		goto LA70_;
		LA73_: ;
		{
			NIM_BOOL T76_;
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			T76_ = (NIM_BOOL)0;
			T76_ = compareTypes_oyXq5u7iL4RjsT9bovvTE9cg((*n).typ, (*(*n).sons->data[((NI) 1)]).typ, ((tyEnum_TDistinctCompare_9bNKHGs63atuMFXnAleTveg) 1), 0);
			if (!T76_) goto LA77_;
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			result = isAssignable_H8ClJSBthN45fIRKmjWHMQ(owner, (*n).sons->data[((NI) 1)], isUnsafeAddr);
		}
		goto LA70_;
		LA77_: ;
		LA70_: ;
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 65):
	{
		{
			NIM_BOOL T82_;
			T82_ = (NIM_BOOL)0;
			T82_ = isUnsafeAddr;
			if (!(T82_)) goto LA83_;
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			T82_ = ((*(*(*n).sons->data[((NI) 0)]).typ).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 47));
			LA83_: ;
			if (!T82_) goto LA84_;
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA80_;
		LA84_: ;
		{
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			if (!((*(*(*n).sons->data[((NI) 0)]).typ).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 47))) goto LA87_;
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 3);
		}
		goto LA80_;
		LA87_: ;
		{
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		LA80_: ;
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 47):
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 64):
	{
		result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 67):
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 66):
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 46):
	{
		if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		result = isAssignable_H8ClJSBthN45fIRKmjWHMQ(owner, (*n).sons->data[((NI) 0)], isUnsafeAddr);
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 32):
	{
		{
			tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg T95_;
			T95_ = (tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg)0;
			T95_ = getMagic_4W1ZJaFiusqlhViRx9cbM9bw(n);
			if (!(T95_ == ((tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg) 4) || T95_ == ((tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg) 144))) goto LA96_;
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			result = isAssignable_H8ClJSBthN45fIRKmjWHMQ(owner, (*n).sons->data[((NI) 1)], isUnsafeAddr);
		}
		goto LA93_;
		LA96_: ;
		{
			NIM_BOOL T99_;
			T99_ = (NIM_BOOL)0;
			T99_ = !(((*n).typ == NIM_NIL));
			if (!(T99_)) goto LA100_;
			T99_ = ((*(*n).typ).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 23));
			LA100_: ;
			if (!T99_) goto LA101_;
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA93_;
		LA101_: ;
		{
			NIM_BOOL T104_;
			NIM_BOOL T105_;
			T104_ = (NIM_BOOL)0;
			T105_ = (NIM_BOOL)0;
			T105_ = isUnsafeAddr;
			if (!(T105_)) goto LA106_;
			T105_ = !(((*n).typ == NIM_NIL));
			LA106_: ;
			T104_ = T105_;
			if (!(T104_)) goto LA107_;
			T104_ = ((*(*n).typ).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 47));
			LA107_: ;
			if (!T104_) goto LA108_;
			result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA93_;
		LA108_: ;
		LA93_: ;
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 115):
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 126):
	{
		{
			tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* T115_;
			if (!!(((*n).typ == NIM_NIL))) goto LA113_;
			T115_ = (tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*)0;
			T115_ = lastSon_UPSW0jLTX5qJL51YMUAHgw(n);
			result = isAssignable_H8ClJSBthN45fIRKmjWHMQ(owner, T115_, isUnsafeAddr);
		}
		LA113_: ;
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 143):
	{
		result = ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 1);
	}
	break;
	default:
	{
	}
	break;
	}
	return result;
}

static N_INLINE(NIM_BOOL, isRoutine_Ye2MiAptq3GrXxTQeyXNeAast)(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* s) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = ((520192 &(1U<<((NU)((*s).kind)&31U)))!=0);
	return result;
}

static N_INLINE(NI, len_P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n) {
	NI result;
	NI T1_;
	result = (NI)0;
	if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
	T1_ = ((*n).sons ? (*n).sons->Sup.len : 0);
	result = T1_;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw, checkForSideEffects_apZ9c8Nt8WLADYEdQq9beFoA)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n) {
	tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw result;
{	result = (tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw)0;
	switch ((*n).kind) {
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 32):
	{
		tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* op;
		if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		op = (*n).sons->data[((NI) 0)];
		{
			NIM_BOOL T4_;
			tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* s;
			T4_ = (NIM_BOOL)0;
			T4_ = ((*op).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 3));
			if (!(T4_)) goto LA5_;
			if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*op).kind)>>3] &(1U<<((NU)((*op).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
			T4_ = isRoutine_Ye2MiAptq3GrXxTQeyXNeAast((*op).sym);
			LA5_: ;
			if (!T4_) goto LA6_;
			if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*op).kind)>>3] &(1U<<((NU)((*op).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
			s = (*op).sym;
			{
				if (!(((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw) 11))&63U)))!=0)) goto LA10_;
				result = ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 1);
				goto BeforeRet_;
			}
			LA10_: ;
			result = ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 2);
		}
		goto LA2_;
		LA6_: ;
		{
			if (!(((*(*op).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag_x2m5g1NpbmDig4wLT3Ylhw) 1))&63U)))!=0)) goto LA13_;
			result = ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 2);
		}
		goto LA2_;
		LA13_: ;
		{
			result = ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 1);
			goto BeforeRet_;
		}
		LA2_: ;
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = len_P89cqdlERShb9alU3iC0yj8wast(n);
			i_2 = ((NI) 0);
			{
				while (1) {
					tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw ret;
					NI TM_kdeXVhLeMhTeIyOxnAjnxA_31;
					if (!(i_2 < colontmp_)) goto LA18;
					i = i_2;
					if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
					if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
					ret = checkForSideEffects_apZ9c8Nt8WLADYEdQq9beFoA((*n).sons->data[i]);
					{
						if (!(ret == ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 1))) goto LA21_;
						result = ret;
						goto BeforeRet_;
					}
					goto LA19_;
					LA21_: ;
					{
						NIM_BOOL T24_;
						T24_ = (NIM_BOOL)0;
						T24_ = (ret == ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 0));
						if (!(T24_)) goto LA25_;
						T24_ = (result == ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 2));
						LA25_: ;
						if (!T24_) goto LA26_;
						result = ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 0);
					}
					goto LA19_;
					LA26_: ;
					LA19_: ;
					TM_kdeXVhLeMhTeIyOxnAjnxA_31 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_31);
				} LA18: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 0) ... ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 23):
	{
		result = ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 2);
	}
	break;
	default:
	{
		result = ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 2);
		{
			NI i_3;
			NI colontmp__2;
			NI i_4;
			i_3 = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = len_P89cqdlERShb9alU3iC0yj8wast(n);
			i_4 = ((NI) 0);
			{
				while (1) {
					tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw ret_2;
					NI TM_kdeXVhLeMhTeIyOxnAjnxA_32;
					if (!(i_4 < colontmp__2)) goto LA32;
					i_3 = i_4;
					if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
					if ((NU)(i_3) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i_3,((*n).sons ? (*n).sons->Sup.len : 0)-1);
					ret_2 = checkForSideEffects_apZ9c8Nt8WLADYEdQq9beFoA((*n).sons->data[i_3]);
					{
						if (!(ret_2 == ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 1))) goto LA35_;
						result = ret_2;
						goto BeforeRet_;
					}
					goto LA33_;
					LA35_: ;
					{
						NIM_BOOL T38_;
						T38_ = (NIM_BOOL)0;
						T38_ = (ret_2 == ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 0));
						if (!(T38_)) goto LA39_;
						T38_ = (result == ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 2));
						LA39_: ;
						if (!T38_) goto LA40_;
						result = ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 0);
					}
					goto LA33_;
					LA40_: ;
					LA33_: ;
					TM_kdeXVhLeMhTeIyOxnAjnxA_32 = addInt(i_4, ((NI) 1));
					i_4 = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_32);
				} LA32: ;
			}
		}
	}
	break;
	}
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matchNodeKinds_WRbpWXbxOP9c3ULW5bbDujw)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n) {
	NIM_BOOL result;
	tyArray_zl3qUQvo0CT9bJi9b5H7mRkw stack;
	NI sp;
	NimStringDesc* code;
	NI pc;
	NI TM_kdeXVhLeMhTeIyOxnAjnxA_36;
	result = (NIM_BOOL)0;
	stack[(((NI) 0))- 0] = NIM_TRUE;
	sp = ((NI) 1);
	if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_2[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_3));
	code = (*p).strVal;
	pc = ((NI) 1);
	{
		while (1) {
			NI TM_kdeXVhLeMhTeIyOxnAjnxA_35;
			if ((NU)(pc) >= (NU)(code ? code->Sup.len : 0)) raiseIndexError2(pc,(code ? code->Sup.len : 0)-1);
			switch (((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA)chckRange(((NU8)(code->data[pc])), ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 1), ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 15)))) {
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 1):
			{
				goto LA1;
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 2):
			{
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_4;
				NIM_BOOL T5_;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_5;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_6;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_7;
				TM_kdeXVhLeMhTeIyOxnAjnxA_4 = subInt(sp, ((NI) 2));
				if ((NU)((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_4)) > (NU)(64)) raiseIndexError2((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_4), 64);
				T5_ = (NIM_BOOL)0;
				TM_kdeXVhLeMhTeIyOxnAjnxA_5 = subInt(sp, ((NI) 1));
				if ((NU)((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_5)) > (NU)(64)) raiseIndexError2((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_5), 64);
				T5_ = stack[((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_5))- 0];
				if (T5_) goto LA6_;
				TM_kdeXVhLeMhTeIyOxnAjnxA_6 = subInt(sp, ((NI) 2));
				if ((NU)((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_6)) > (NU)(64)) raiseIndexError2((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_6), 64);
				T5_ = stack[((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_6))- 0];
				LA6_: ;
				stack[((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_4))- 0] = T5_;
				TM_kdeXVhLeMhTeIyOxnAjnxA_7 = subInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_7);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 3):
			{
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_8;
				NIM_BOOL T8_;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_9;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_10;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_11;
				TM_kdeXVhLeMhTeIyOxnAjnxA_8 = subInt(sp, ((NI) 2));
				if ((NU)((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_8)) > (NU)(64)) raiseIndexError2((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_8), 64);
				T8_ = (NIM_BOOL)0;
				TM_kdeXVhLeMhTeIyOxnAjnxA_9 = subInt(sp, ((NI) 1));
				if ((NU)((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_9)) > (NU)(64)) raiseIndexError2((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_9), 64);
				T8_ = stack[((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_9))- 0];
				if (!(T8_)) goto LA9_;
				TM_kdeXVhLeMhTeIyOxnAjnxA_10 = subInt(sp, ((NI) 2));
				if ((NU)((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_10)) > (NU)(64)) raiseIndexError2((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_10), 64);
				T8_ = stack[((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_10))- 0];
				LA9_: ;
				stack[((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_8))- 0] = T8_;
				TM_kdeXVhLeMhTeIyOxnAjnxA_11 = subInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_11);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 4):
			{
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_12;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_13;
				TM_kdeXVhLeMhTeIyOxnAjnxA_12 = subInt(sp, ((NI) 1));
				if ((NU)((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_12)) > (NU)(64)) raiseIndexError2((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_12), 64);
				TM_kdeXVhLeMhTeIyOxnAjnxA_13 = subInt(sp, ((NI) 1));
				if ((NU)((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_13)) > (NU)(64)) raiseIndexError2((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_13), 64);
				stack[((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_12))- 0] = !(stack[((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_13))- 0]);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 5):
			{
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_14;
				if ((NU)(sp) > (NU)(64)) raiseIndexError2(sp, 64);
				stack[(sp)- 0] = ((*n).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 3));
				TM_kdeXVhLeMhTeIyOxnAjnxA_14 = addInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_14);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 6):
			{
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_15;
				if ((NU)(sp) > (NU)(64)) raiseIndexError2(sp, 64);
				stack[(sp)- 0] = isAtom_ORlI8o1EUYdPqjuTcBWx1Aast(n);
				TM_kdeXVhLeMhTeIyOxnAjnxA_15 = addInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_15);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 7):
			{
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_16;
				if ((NU)(sp) > (NU)(64)) raiseIndexError2(sp, 64);
				stack[(sp)- 0] = ((*n).kind >= ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 5) && (*n).kind <= ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 23));
				TM_kdeXVhLeMhTeIyOxnAjnxA_16 = addInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_16);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 8):
			{
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_17;
				if ((NU)(sp) > (NU)(64)) raiseIndexError2(sp, 64);
				stack[(sp)- 0] = ((*n).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 2));
				TM_kdeXVhLeMhTeIyOxnAjnxA_17 = addInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_17);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 9):
			{
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_18;
				if ((NU)(sp) > (NU)(64)) raiseIndexError2(sp, 64);
				stack[(sp)- 0] = ((*n).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 27) || (*n).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 29) || (*n).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 30) || (*n).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 31) || (*n).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 26) || (*n).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 28) || (*n).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 32));
				TM_kdeXVhLeMhTeIyOxnAjnxA_18 = addInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_18);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 10):
			{
				tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw kind;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_19;
				NIM_BOOL T17_;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_22;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_23;
				TM_kdeXVhLeMhTeIyOxnAjnxA_19 = addInt(pc, ((NI) 1));
				if ((NU)((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_19)) >= (NU)(code ? code->Sup.len : 0)) raiseIndexError2((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_19),(code ? code->Sup.len : 0)-1);
				kind = ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw)chckRange(((NU8)(code->data[(NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_19)])), ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 0), ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 25)));
				if ((NU)(sp) > (NU)(64)) raiseIndexError2(sp, 64);
				T17_ = (NIM_BOOL)0;
				T17_ = ((*n).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 3));
				if (!(T17_)) goto LA18_;
				if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
				T17_ = ((*(*n).sym).kind == kind);
				LA18_: ;
				stack[(sp)- 0] = T17_;
				TM_kdeXVhLeMhTeIyOxnAjnxA_22 = addInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_22);
				TM_kdeXVhLeMhTeIyOxnAjnxA_23 = addInt(pc, ((NI) 1));
				pc = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_23);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 11):
			{
				tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw kind_2;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_24;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_25;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_26;
				TM_kdeXVhLeMhTeIyOxnAjnxA_24 = addInt(pc, ((NI) 1));
				if ((NU)((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_24)) >= (NU)(code ? code->Sup.len : 0)) raiseIndexError2((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_24),(code ? code->Sup.len : 0)-1);
				kind_2 = ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw)chckRange(((NU8)(code->data[(NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_24)])), ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 0), ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 160)));
				if ((NU)(sp) > (NU)(64)) raiseIndexError2(sp, 64);
				stack[(sp)- 0] = ((*n).kind == kind_2);
				TM_kdeXVhLeMhTeIyOxnAjnxA_25 = addInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_25);
				TM_kdeXVhLeMhTeIyOxnAjnxA_26 = addInt(pc, ((NI) 1));
				pc = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_26);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 12):
			{
				tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag T21_;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_29;
				if ((NU)(sp) > (NU)(64)) raiseIndexError2(sp, 64);
				T21_ = (tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag)0;
				T21_ = isAssignable_H8ClJSBthN45fIRKmjWHMQ(NIM_NIL, n, NIM_FALSE);
				stack[(sp)- 0] = ((6 &(1U<<((NU)(T21_)&7U)))!=0);
				TM_kdeXVhLeMhTeIyOxnAjnxA_29 = addInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_29);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 13):
			{
				tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag T23_;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_30;
				if ((NU)(sp) > (NU)(64)) raiseIndexError2(sp, 64);
				T23_ = (tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag)0;
				T23_ = isAssignable_H8ClJSBthN45fIRKmjWHMQ(NIM_NIL, n, NIM_FALSE);
				stack[(sp)- 0] = (T23_ == ((tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag) 2));
				TM_kdeXVhLeMhTeIyOxnAjnxA_30 = addInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_30);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 14):
			{
				tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw T25_;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_33;
				if ((NU)(sp) > (NU)(64)) raiseIndexError2(sp, 64);
				T25_ = (tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw)0;
				T25_ = checkForSideEffects_apZ9c8Nt8WLADYEdQq9beFoA(n);
				stack[(sp)- 0] = (T25_ == ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 1));
				TM_kdeXVhLeMhTeIyOxnAjnxA_33 = addInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_33);
			}
			break;
			case ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 15):
			{
				tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw T27_;
				NI TM_kdeXVhLeMhTeIyOxnAjnxA_34;
				if ((NU)(sp) > (NU)(64)) raiseIndexError2(sp, 64);
				T27_ = (tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw)0;
				T27_ = checkForSideEffects_apZ9c8Nt8WLADYEdQq9beFoA(n);
				stack[(sp)- 0] = !((T27_ == ((tyEnum_TSideEffectAnalysis_39b55cGxMJkG5uRuPt6svRw) 1)));
				TM_kdeXVhLeMhTeIyOxnAjnxA_34 = addInt(sp, ((NI) 1));
				sp = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_34);
			}
			break;
			}
			TM_kdeXVhLeMhTeIyOxnAjnxA_35 = addInt(pc, ((NI) 1));
			pc = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_35);
		}
	} LA1: ;
	TM_kdeXVhLeMhTeIyOxnAjnxA_36 = subInt(sp, ((NI) 1));
	if ((NU)((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_36)) > (NU)(64)) raiseIndexError2((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_36), 64);
	result = stack[((NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_36))- 0];
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isLValue_kCP6QlI8uS4X0pOQUdr7tg)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n) {
	NIM_BOOL result;
	tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag T1_;
	result = (NIM_BOOL)0;
	T1_ = (tyEnum_TAssignableResult_JFgO3TudAWntzWI8Fmx4Ag)0;
	T1_ = isAssignable_H8ClJSBthN45fIRKmjWHMQ(NIM_NIL, n, NIM_FALSE);
	result = ((22 &(1U<<((NU)(T1_)&7U)))!=0);
	return result;
}

static N_INLINE(void, incRef_AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	(*c).refcount = (NI)((NU32)((*c).refcount) + (NU32)(((NI) 8)));
}

static N_INLINE(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell_QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) {
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* result;
	result = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
	result = ((tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*) ((NI)((NU32)(((NI) (ptrdiff_t) (usr))) - (NU32)(((NI) 8)))));
	return result;
}

static N_INLINE(void, rtlAddZCT_AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	addZCT_Y66tOYFjgwJ0k4aLz4bc0Q((&gch_IcYaEuuWivYAS86vFMTS3Q.zct), c);
}

static N_INLINE(void, decRef_AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	(*c).refcount = (NI)((NU32)((*c).refcount) - (NU32)(((NI) 8)));
	{
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3_;
		rtlAddZCT_AT1eRuflKWyTTBdLjEDZbg_2system(c);
	}
	LA3_: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T5_;
		if (!!((src == NIM_NIL))) goto LA3_;
		T5_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T5_ = usrToCell_QFQqcLB3lgOdwipkv9a60xwsystem(src);
		incRef_AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
	}
	LA3_: ;
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T10_;
		if (!!(((*dest) == NIM_NIL))) goto LA8_;
		T10_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T10_ = usrToCell_QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
		decRef_AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
	}
	LA8_: ;
	(*dest) = src;
}

static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = memcpy(dest, source, ((size_t) (size)));
}

static N_INLINE(void, copyMem_M04YC71iJg1N7gBF3HZTngsystem)(void* dest, void* source, NI size) {
	nimCopyMem(dest, source, size);
}

static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
	{
		if (!!((src == NIM_NIL))) goto LA3_;
		copyMem_M04YC71iJg1N7gBF3HZTngsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
		(*dest).Sup.len += (*src).Sup.len;
	}
	LA3_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, patternError_5Tflpt1vZ7YgBe0KNn4aLw)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf) {
	NimStringDesc* T1_;
	NimStringDesc* T2_;
	T1_ = (NimStringDesc*)0;
	T2_ = (NimStringDesc*)0;
	T2_ = renderTree_ppjdh9aQ5L0SGPF8yz1gZ9cA(n, 4);
	T1_ = rawNewString((T2_ ? T2_->Sup.len : 0) + 15);
appendString(T1_, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_37));
appendString(T1_, T2_);
	localError_NF6kBGchnhQYPbCedyefVA(conf, (*n).info, T1_);
}

static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
	int result;
	result = (int)0;
	result = memcmp(a, b, ((size_t) (size)));
	return result;
}

static N_INLINE(NIM_BOOL, equalMem_Bj9c9cm9cBM9coLsuNsT5BvZ9awsystem)(void* a, void* b, NI size) {
	NIM_BOOL result;
	int T1_;
	result = (NIM_BOOL)0;
	T1_ = (int)0;
	T1_ = nimCmpMem(a, b, size);
	result = (T1_ == ((NI32) 0));
	return result;
}

static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	NI alen;
	NI blen;
{	result = (NIM_BOOL)0;
	alen = (a ? a->Sup.len : 0);
	blen = (b ? b->Sup.len : 0);
	{
		if (!(alen == blen)) goto LA3_;
		{
			if (!(alen == ((NI) 0))) goto LA7_;
			result = NIM_TRUE;
			goto BeforeRet_;
		}
		LA7_: ;
		result = equalMem_Bj9c9cm9cBM9coLsuNsT5BvZ9awsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
		goto BeforeRet_;
	}
	LA3_: ;
	}BeforeRet_: ;
	return result;
}

static N_INLINE(void, add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns)(NimStringDesc** code, tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA op) {
	unsureAsgnRef((void**) (&(*code)), addChar((*code), ((NIM_CHAR) (((NI)chckRange(op, ((NI) 0), ((NI) 255)))))));
}

N_LIB_PRIVATE N_NIMCALL(void, compileConstraints_ei3y5Hkw3H4CU1JGiutKlw)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* p, NimStringDesc** result, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf) {
{	switch ((*p).kind) {
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 32):
	{
		tyObject_TIdent_GufRQq9c0miSybX3zBD4tyA* op;
		{
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 0)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*p).sons ? (*p).sons->Sup.len : 0)-1);
			if (!!(((*(*p).sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 2)))) goto LA4_;
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 0)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*p).sons ? (*p).sons->Sup.len : 0)-1);
			patternError_5Tflpt1vZ7YgBe0KNn4aLw((*p).sons->data[((NI) 0)], conf);
			goto BeforeRet_;
		}
		LA4_: ;
		if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
		if ((NU)(((NI) 0)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*p).sons ? (*p).sons->Sup.len : 0)-1);
		if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_38[(NU)((*(*p).sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*p).sons->data[((NI) 0)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_39));
		op = (*(*p).sons->data[((NI) 0)]).ident;
		{
			NI T8_;
			T8_ = (NI)0;
			T8_ = len_P89cqdlERShb9alU3iC0yj8wast(p);
			if (!(T8_ == ((NI) 3))) goto LA9_;
			{
				NIM_BOOL T13_;
				T13_ = (NIM_BOOL)0;
				T13_ = eqStrings((*op).s, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_40));
				if (T13_) goto LA14_;
				T13_ = ((*op).Sup.id == ((NI) 47));
				LA14_: ;
				if (!T13_) goto LA15_;
				if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
				if ((NU)(((NI) 1)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*p).sons ? (*p).sons->Sup.len : 0)-1);
				compileConstraints_ei3y5Hkw3H4CU1JGiutKlw((*p).sons->data[((NI) 1)], result, conf);
				if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
				if ((NU)(((NI) 2)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 2),((*p).sons ? (*p).sons->Sup.len : 0)-1);
				compileConstraints_ei3y5Hkw3H4CU1JGiutKlw((*p).sons->data[((NI) 2)], result, conf);
				add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 2));
			}
			goto LA11_;
			LA15_: ;
			{
				NIM_BOOL T18_;
				T18_ = (NIM_BOOL)0;
				T18_ = eqStrings((*op).s, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_41));
				if (T18_) goto LA19_;
				T18_ = ((*op).Sup.id == ((NI) 2));
				LA19_: ;
				if (!T18_) goto LA20_;
				if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
				if ((NU)(((NI) 1)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*p).sons ? (*p).sons->Sup.len : 0)-1);
				compileConstraints_ei3y5Hkw3H4CU1JGiutKlw((*p).sons->data[((NI) 1)], result, conf);
				if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
				if ((NU)(((NI) 2)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 2),((*p).sons ? (*p).sons->Sup.len : 0)-1);
				compileConstraints_ei3y5Hkw3H4CU1JGiutKlw((*p).sons->data[((NI) 2)], result, conf);
				add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 3));
			}
			goto LA11_;
			LA20_: ;
			{
				patternError_5Tflpt1vZ7YgBe0KNn4aLw(p, conf);
			}
			LA11_: ;
		}
		goto LA6_;
		LA9_: ;
		{
			NIM_BOOL T24_;
			NI T25_;
			NIM_BOOL T27_;
			T24_ = (NIM_BOOL)0;
			T25_ = (NI)0;
			T25_ = len_P89cqdlERShb9alU3iC0yj8wast(p);
			T24_ = (T25_ == ((NI) 2));
			if (!(T24_)) goto LA26_;
			T27_ = (NIM_BOOL)0;
			T27_ = eqStrings((*op).s, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_42));
			if (T27_) goto LA28_;
			T27_ = ((*op).Sup.id == ((NI) 43));
			LA28_: ;
			T24_ = T27_;
			LA26_: ;
			if (!T24_) goto LA29_;
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 1)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*p).sons ? (*p).sons->Sup.len : 0)-1);
			compileConstraints_ei3y5Hkw3H4CU1JGiutKlw((*p).sons->data[((NI) 1)], result, conf);
			add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 4));
		}
		goto LA6_;
		LA29_: ;
		{
			patternError_5Tflpt1vZ7YgBe0KNn4aLw(p, conf);
		}
		LA6_: ;
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 53):
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 37):
	{
		{
			NI T35_;
			T35_ = (NI)0;
			T35_ = len_P89cqdlERShb9alU3iC0yj8wast(p);
			if (!(T35_ == ((NI) 1))) goto LA36_;
			if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
			if ((NU)(((NI) 0)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*p).sons ? (*p).sons->Sup.len : 0)-1);
			compileConstraints_ei3y5Hkw3H4CU1JGiutKlw((*p).sons->data[((NI) 0)], result, conf);
		}
		goto LA33_;
		LA36_: ;
		{
			patternError_5Tflpt1vZ7YgBe0KNn4aLw(p, conf);
		}
		LA33_: ;
	}
	break;
	case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 2):
	{
		NimStringDesc* spec;
		if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_38[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_39));
		spec = nsuNormalize((*(*p).ident).s);
		switch (hashString(spec) & 15) {
		case 1: 
if (eqStrings(spec, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_53))) goto LA50_;
break;
		case 3: 
if (eqStrings(spec, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_49))) goto LA46_;
if (eqStrings(spec, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_50))) goto LA47_;
if (eqStrings(spec, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_52))) goto LA49_;
break;
		case 4: 
if (eqStrings(spec, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_45))) goto LA42_;
break;
		case 6: 
if (eqStrings(spec, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_46))) goto LA43_;
if (eqStrings(spec, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_51))) goto LA48_;
break;
		case 11: 
if (eqStrings(spec, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_43))) goto LA40_;
break;
		case 12: 
if (eqStrings(spec, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_44))) goto LA41_;
break;
		case 13: 
if (eqStrings(spec, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_47))) goto LA44_;
break;
		case 14: 
if (eqStrings(spec, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_48))) goto LA45_;
break;
		}
		goto LA51_;
		LA40_: ;
		{
			add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 6));
		}
		goto LA52_;
		LA41_: ;
		{
			add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 7));
		}
		goto LA52_;
		LA42_: ;
		{
			add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 5));
		}
		goto LA52_;
		LA43_: ;
		{
			add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 8));
		}
		goto LA52_;
		LA44_: ;
		{
			add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 9));
		}
		goto LA52_;
		LA45_: ;
		{
			if ((NU)(((NI) 0)) >= (NU)((*result) ? (*result)->Sup.len : 0)) raiseIndexError2(((NI) 0),((*result) ? (*result)->Sup.len : 0)-1);
			(*result)->data[((NI) 0)] = 2;
		}
		goto LA52_;
		LA46_: ;
		{
			if ((NU)(((NI) 0)) >= (NU)((*result) ? (*result)->Sup.len : 0)) raiseIndexError2(((NI) 0),((*result) ? (*result)->Sup.len : 0)-1);
			(*result)->data[((NI) 0)] = 3;
		}
		goto LA52_;
		LA47_: ;
		{
			add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 12));
		}
		goto LA52_;
		LA48_: ;
		{
			add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 13));
		}
		goto LA52_;
		LA49_: ;
		{
			add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 14));
		}
		goto LA52_;
		LA50_: ;
		{
			add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 15));
		}
		goto LA52_;
		LA51_: ;
		{
			{
				NimStringDesc* T69_;
				if (!NIM_FALSE) goto LA67_;
				T69_ = (NimStringDesc*)0;
				T69_ = dollar__r38WafKlW80RkvoZTcia4Q(TM_kdeXVhLeMhTeIyOxnAjnxA_54);
				internalError_5hPl6LjCYJxMYxh9af9b9bXzw(conf, T69_);
			}
			LA67_: ;
			{
				tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw i;
				NI res;
				i = (tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw)0;
				res = ((NI) 0);
				{
					while (1) {
						NI TM_kdeXVhLeMhTeIyOxnAjnxA_56;
						if (!(res <= ((NI) 25))) goto LA72;
						i = ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw)chckRange(res, ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 0), ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 25)));
						{
							NimStringDesc* T75_;
							NI T76_;
							T75_ = (NimStringDesc*)0;
							T75_ = substr_iGg0RIKceRvsmvq8FUHOEw(reprEnum((NI)i, (&NTI_cNCW9acsSznmEccl1fgQwkw_)), ((NI) 2));
							T76_ = (NI)0;
							T76_ = nsuCmpIgnoreStyle(T75_, spec);
							if (!(T76_ == ((NI) 0))) goto LA77_;
							add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 10));
							unsureAsgnRef((void**) (&(*result)), addChar((*result), ((NIM_CHAR) (((NI)chckRange(i, ((NI) 0), ((NI) 255)))))));
							goto BeforeRet_;
						}
						LA77_: ;
						TM_kdeXVhLeMhTeIyOxnAjnxA_56 = addInt(res, ((NI) 1));
						res = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_56);
					} LA72: ;
				}
			}
			{
				NimStringDesc* T83_;
				if (!NIM_FALSE) goto LA81_;
				T83_ = (NimStringDesc*)0;
				T83_ = dollar__r38WafKlW80RkvoZTcia4Q(TM_kdeXVhLeMhTeIyOxnAjnxA_57);
				internalError_5hPl6LjCYJxMYxh9af9b9bXzw(conf, T83_);
			}
			LA81_: ;
			{
				tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw i_2;
				NI res_2;
				i_2 = (tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw)0;
				res_2 = ((NI) 0);
				{
					while (1) {
						NI TM_kdeXVhLeMhTeIyOxnAjnxA_58;
						if (!(res_2 <= ((NI) 160))) goto LA86;
						i_2 = ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw)chckRange(res_2, ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 0), ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 160)));
						{
							NI T89_;
							T89_ = (NI)0;
							T89_ = nsuCmpIgnoreStyle(reprEnum((NI)i_2, (&NTI_G4E4Gxe7oI2Cm03rkiOzQw_)), spec);
							if (!(T89_ == ((NI) 0))) goto LA90_;
							add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 11));
							unsureAsgnRef((void**) (&(*result)), addChar((*result), ((NIM_CHAR) (((NI)chckRange(i_2, ((NI) 0), ((NI) 255)))))));
							goto BeforeRet_;
						}
						LA90_: ;
						TM_kdeXVhLeMhTeIyOxnAjnxA_58 = addInt(res_2, ((NI) 1));
						res_2 = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_58);
					} LA86: ;
				}
			}
			patternError_5Tflpt1vZ7YgBe0KNn4aLw(p, conf);
		}
		LA52_: ;
	}
	break;
	default:
	{
		patternError_5Tflpt1vZ7YgBe0KNn4aLw(p, conf);
	}
	break;
	}
	}BeforeRet_: ;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, semNodeKindConstraints_5OXUOlgjcI3LFE2H739a1JQ)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n, tyObject_ConfigRefcolonObjectType__LaK09ayL9alwKUad7rts0rTw* conf, NI start) {
	tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* result;
	result = (tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*)0;
	result = newNodeI_vokyXY9cZDshCSxFKChhG9bg(((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 20), (*n).info);
	if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_2[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_3));
	asgnRef((void**) (&(*result).strVal), rawNewString(((NI) 10)));
	if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_2[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_3));
	asgnRef((void**) (&(*result).strVal), addChar((*result).strVal, 1));
	{
		NI T3_;
		T3_ = (NI)0;
		T3_ = len_P89cqdlERShb9alU3iC0yj8wast(n);
		if (!(((NI) 2) <= T3_)) goto LA4_;
		{
			NI i;
			NI colontmp_;
			NI T7_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			T7_ = (NI)0;
			T7_ = len_P89cqdlERShb9alU3iC0yj8wast(n);
			colontmp_ = ((NI)chckRange(T7_, ((NI) 0), ((NI) 2147483647)));
			i_2 = start;
			{
				while (1) {
					NI TM_kdeXVhLeMhTeIyOxnAjnxA_59;
					if (!(((NI) (i_2)) < ((NI) (colontmp_)))) goto LA9;
					i = i_2;
					if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
					if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
					if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_2[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_3));
					compileConstraints_ei3y5Hkw3H4CU1JGiutKlw((*n).sons->data[i], (&(*result).strVal), conf);
					TM_kdeXVhLeMhTeIyOxnAjnxA_59 = addInt(i_2, ((NI) 1));
					if (TM_kdeXVhLeMhTeIyOxnAjnxA_59 < 0 || TM_kdeXVhLeMhTeIyOxnAjnxA_59 > 2147483647) raiseOverflow();
					i_2 = (NI)(TM_kdeXVhLeMhTeIyOxnAjnxA_59);
				} LA9: ;
			}
		}
		{
			if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_2[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_3));
			if (!(((NI) 63) < ((*result).strVal ? (*result).strVal->Sup.len : 0))) goto LA12_;
			internalError_yTu5SGHF0j0P9cQrqN7YylA(conf, (*n).info, ((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_60));
		}
		LA12_: ;
	}
	goto LA1_;
	LA4_: ;
	{
		patternError_5Tflpt1vZ7YgBe0KNn4aLw(n, conf);
	}
	LA1_: ;
	if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_2[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_3));
	add_wJRzZcEmnPNg9a3PLD2A5IAparampatterns((&(*result).strVal), ((tyEnum_TOpcode_cKhgukabZvDBOVLlPOrptA) 1));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyEnum_TAliasRequest_BbWVl1Ad9ayM74eg8oBpAfw, whichAlias_L77p3t6SRXEDQrcmQOzgoA)(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* p) {
	tyEnum_TAliasRequest_BbWVl1Ad9ayM74eg8oBpAfw result;
	result = (tyEnum_TAliasRequest_BbWVl1Ad9ayM74eg8oBpAfw)0;
	{
		if (!!(((*p).constraint == NIM_NIL))) goto LA3_;
		if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_2[(NU)((*(*p).constraint).kind)>>3] &(1U<<((NU)((*(*p).constraint).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_3));
		if ((NU)(((NI) 0)) >= (NU)((*(*p).constraint).strVal ? (*(*p).constraint).strVal->Sup.len : 0)) raiseIndexError2(((NI) 0),((*(*p).constraint).strVal ? (*(*p).constraint).strVal->Sup.len : 0)-1);
		result = ((tyEnum_TAliasRequest_BbWVl1Ad9ayM74eg8oBpAfw)chckRange(((NU8)((*(*p).constraint).strVal->data[((NI) 0)])), ((tyEnum_TAliasRequest_BbWVl1Ad9ayM74eg8oBpAfw) 1), ((tyEnum_TAliasRequest_BbWVl1Ad9ayM74eg8oBpAfw) 3)));
	}
	goto LA1_;
	LA3_: ;
	{
		result = ((tyEnum_TAliasRequest_BbWVl1Ad9ayM74eg8oBpAfw) 1);
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*, exprRoot_XD7qSmhHQJchscUPfXW57g)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n) {
	tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w* result;
	tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* it;
{	result = (tyObject_TSym_JpsEh5i1AcKChGYbg7aV4w*)0;
	it = n;
	{
		while (1) {
			switch ((*it).kind) {
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 3):
			{
				if (!(((TM_kdeXVhLeMhTeIyOxnAjnxA_20[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_21));
				result = (*it).sym;
				goto BeforeRet_;
			}
			break;
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 65):
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 47):
			{
				{
					tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T7_;
					if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
					if ((NU)(((NI) 0)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*it).sons ? (*it).sons->Sup.len : 0)-1);
					T7_ = (tyObject_TType_v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
					T7_ = skipTypes_zsqmUNR5OZrTUna0Y9bdu9bg((*(*it).sons->data[((NI) 0)]).typ, IL64(36134350135273744));
					if (!((*T7_).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 21) || (*T7_).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 22))) goto LA8_;
					goto LA1;
				}
				goto LA5_;
				LA8_: ;
				{
					if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
					if ((NU)(((NI) 0)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*it).sons ? (*it).sons->Sup.len : 0)-1);
					it = (*it).sons->data[((NI) 0)];
				}
				LA5_: ;
			}
			break;
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 45):
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 42):
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 64):
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 67):
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 66):
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 46):
			{
				if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
				if ((NU)(((NI) 0)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*it).sons ? (*it).sons->Sup.len : 0)-1);
				it = (*it).sons->data[((NI) 0)];
			}
			break;
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 58):
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 59):
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 60):
			{
				if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
				if ((NU)(((NI) 1)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*it).sons ? (*it).sons->Sup.len : 0)-1);
				it = (*it).sons->data[((NI) 1)];
			}
			break;
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 115):
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 126):
			{
				{
					NIM_BOOL T16_;
					NI T17_;
					T16_ = (NIM_BOOL)0;
					T17_ = (NI)0;
					T17_ = len_P89cqdlERShb9alU3iC0yj8wast(it);
					T16_ = (((NI) 0) < T17_);
					if (!(T16_)) goto LA18_;
					T16_ = !(((*it).typ == NIM_NIL));
					LA18_: ;
					if (!T16_) goto LA19_;
					it = lastSon_UPSW0jLTX5qJL51YMUAHgw(it);
				}
				goto LA14_;
				LA19_: ;
				{
					goto LA1;
				}
				LA14_: ;
			}
			break;
			case ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw) 32):
			{
				{
					NIM_BOOL T25_;
					NIM_BOOL T26_;
					NI T29_;
					T25_ = (NIM_BOOL)0;
					T26_ = (NIM_BOOL)0;
					T26_ = !(((*it).typ == NIM_NIL));
					if (!(T26_)) goto LA27_;
					T26_ = ((*(*it).typ).kind == ((tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag) 23));
					LA27_: ;
					T25_ = T26_;
					if (!(T25_)) goto LA28_;
					T29_ = (NI)0;
					T29_ = len_P89cqdlERShb9alU3iC0yj8wast(it);
					T25_ = (((NI) 1) < T29_);
					LA28_: ;
					if (!T25_) goto LA30_;
					if (((TM_kdeXVhLeMhTeIyOxnAjnxA_27[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM_kdeXVhLeMhTeIyOxnAjnxA_28));
					if ((NU)(((NI) 1)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*it).sons ? (*it).sons->Sup.len : 0)-1);
					it = (*it).sons->data[((NI) 1)];
				}
				goto LA23_;
				LA30_: ;
				{
					goto LA1;
				}
				LA23_: ;
			}
			break;
			default:
			{
				goto LA1;
			}
			break;
			}
		}
	} LA1: ;
	}BeforeRet_: ;
	return result;
}
