/* Generated by Nim Compiler v1.0.3 */
/*   (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 tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
typedef struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
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 tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug;
typedef struct tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug;
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 tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w;
typedef struct tyObject_TScope__1cQRXW6aAknk7ywAwjH3nw tyObject_TScope__1cQRXW6aAknk7ywAwjH3nw;
typedef struct tyObject_TProcCon__s5jyYR8yL1QmFqiHICzU9aQ tyObject_TProcCon__s5jyYR8yL1QmFqiHICzU9aQ;
typedef struct tyObject_TMatchedConcept__9blNHn9cqK8EfxnwsfjDnKvg tyObject_TMatchedConcept__9blNHn9cqK8EfxnwsfjDnKvg;
typedef struct tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg;
typedef struct tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ;
typedef struct tySequence__9brg1xNurxcus33lU4IE1Dw tySequence__9brg1xNurxcus33lU4IE1Dw;
typedef struct tySequence__oYkV9aFZe0MXcEAprJaOUsA tySequence__oYkV9aFZe0MXcEAprJaOUsA;
typedef struct tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q;
typedef struct tySequence__Mh9agqM29bm9aP5AUL1x7dZGA tySequence__Mh9agqM29bm9aP5AUL1x7dZGA;
typedef struct tySequence__arD7Tw6eD6lvOczWZl9buNg tySequence__arD7Tw6eD6lvOczWZl9buNg;
typedef struct tyObject_TCtx__S3Av1Ng7MBWGEZZBhfDYCw tyObject_TCtx__S3Av1Ng7MBWGEZZBhfDYCw;
typedef struct tySequence__jWKvSdankQPoT5bw9cBU9aiw tySequence__jWKvSdankQPoT5bw9cBU9aiw;
typedef struct tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw;
typedef struct tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ;
typedef struct tySequence__YceFcaugL2PWNtVbyffD9bQ tySequence__YceFcaugL2PWNtVbyffD9bQ;
typedef struct tySequence__d4l6E4jBnTQ3BEfsLOpmEQ tySequence__d4l6E4jBnTQ3BEfsLOpmEQ;
typedef struct tyObject_HashSet__Gy4haGrophX9bC5RxnPAc6w tyObject_HashSet__Gy4haGrophX9bC5RxnPAc6w;
typedef struct tySequence__Bis5AbpONWcIRrPyPJS8Yw tySequence__Bis5AbpONWcIRrPyPJS8Yw;
typedef struct tySequence__MvZmat48bhe9b6x9aUD58D5Q tySequence__MvZmat48bhe9b6x9aUD58D5Q;
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 tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA;
typedef struct tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA;
typedef struct tyObject_TOptionEntry__H9ac5KbrDJVwT1zH5O83r7w tyObject_TOptionEntry__H9ac5KbrDJVwT1zH5O83r7w;
typedef struct tyObject_TIdPair__AdFnD2YdADPeuJbG2YJ4vg tyObject_TIdPair__AdFnD2YdADPeuJbG2YJ4vg;
typedef struct tyObject_TInstantiationPair__HkXM4cJmOpk8zFcmq9c9c3gQ tyObject_TInstantiationPair__HkXM4cJmOpk8zFcmq9c9c3gQ;
typedef struct tyTuple__KlSLWBROOViO04uLQHu7ig tyTuple__KlSLWBROOViO04uLQHu7ig;
typedef struct tyTuple__DJxbl4DYEJfb29cy1MYaUPQ tyTuple__DJxbl4DYEJfb29cy1MYaUPQ;
typedef struct tyTuple__NAaJgGVgNmlGoqmiWxdOHQ tyTuple__NAaJgGVgNmlGoqmiWxdOHQ;
typedef struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ;
typedef struct tyTuple__zwpS6d6iewrdlBSTNFoyVA tyTuple__zwpS6d6iewrdlBSTNFoyVA;
struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q {
NU16 line;
NI16 col;
NI32 fileIndex;
};
typedef NU32 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
typedef NU8 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw;
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
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_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_TIdent__GufRQq9c0miSybX3zBD4tyA {
  tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA Sup;
NimStringDesc* s;
tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* next;
NI h;
};
typedef NU8 tySet_tyEnum_TTypeCmpFlag__72pgRXSg7774cr9aCWVPORw;
struct tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug {
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* owner;
tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* mapping;
NI formals;
tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c;
NIM_BOOL subMatch;
NIM_BOOL mappingIsFull;
};
typedef NU8 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
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;
};
struct tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w {
  RootObj Sup;
};
typedef NI tyArray__emiAJ8okywrJw7ZHLzlXbQ[34];
struct tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg {
NI elems;
NI counter;
NI max;
tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ* head;
tySequence__9brg1xNurxcus33lU4IE1Dw* data;
tyArray__emiAJ8okywrJw7ZHLzlXbQ a;
};
struct tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q {
NI counter;
tySequence__Mh9agqM29bm9aP5AUL1x7dZGA* data;
};
typedef N_NIMCALL_PTR(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, tyProc__RcJNn9bSvWdJgUmA1O6sbHA) (tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
typedef NU32 tySet_tyEnum_TExprFlag__0WWd9a4ssQWuY7Q6ZKepq9cQ;
typedef N_NIMCALL_PTR(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, tyProc__39auogS0nN05zO6JrT7za9cQ) (tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tySet_tyEnum_TExprFlag__0WWd9a4ssQWuY7Q6ZKepq9cQ flags);
typedef NU32 tySet_tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
typedef N_NIMCALL_PTR(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, tyProc__qlV9aWvA5wrWVg9bI5PqwJyA) (tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nOrig, tySet_tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw filter, tySet_tyEnum_TExprFlag__0WWd9a4ssQWuY7Q6ZKepq9cQ flags);
typedef N_NIMCALL_PTR(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*, tyProc__PiEiMdzXg9bcm3lEo4Q6iNw) (tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* prev);
typedef struct {
N_NIMCALL_PTR(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, ClP_0) (tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c, tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q pt, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, void* ClE_0);
void* ClE_0;
} tyProc__icITxWxlFufT9aDDCEKD2VQ;
typedef struct {
N_NIMCALL_PTR(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, ClP_0) (tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* fn, tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q pt, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, void* ClE_0);
void* ClE_0;
} tyProc__GeenfmDntvGEQoCko16JtA;
typedef NU8 tyEnum_TTypeAttachedOp__Rp5P9bWYldQTLkZ7DytmxOg;
typedef N_NIMCALL_PTR(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, tyProc__9amcenQyXzP9cCQNnXZVgnYQ) (tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* dc, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyEnum_TTypeAttachedOp__Rp5P9bWYldQTLkZ7DytmxOg op, NI col);
typedef NU16 tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ;
struct tyObject_HashSet__Gy4haGrophX9bC5RxnPAc6w {
tySequence__Bis5AbpONWcIRrPyPJS8Yw* data;
NI counter;
};
struct tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug {
  tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w Sup;
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* enforceVoidContext;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* module;
tyObject_TScope__1cQRXW6aAknk7ywAwjH3nw* currentScope;
tyObject_TScope__1cQRXW6aAknk7ywAwjH3nw* importTable;
tyObject_TScope__1cQRXW6aAknk7ywAwjH3nw* topLevelScope;
tyObject_TProcCon__s5jyYR8yL1QmFqiHICzU9aQ* p;
tyObject_TMatchedConcept__9blNHn9cqK8EfxnwsfjDnKvg* matchedConcept;
tySequence__DfgJFJEYoj4YBAHLZPl5lQ* friendModules;
NI instCounter;
tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg ambiguousSymbols;
NI inGenericContext;
NI inStaticContext;
NI inUnrolledContext;
NI compilesContextId;
NI compilesContextIdGenerator;
NI inGenericInst;
tySequence__DfgJFJEYoj4YBAHLZPl5lQ* converters;
tySequence__DfgJFJEYoj4YBAHLZPl5lQ* patterns;
tySequence__oYkV9aFZe0MXcEAprJaOUsA* optionStack;
tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q symMapping;
tySequence__arD7Tw6eD6lvOczWZl9buNg* libs;
tyProc__RcJNn9bSvWdJgUmA1O6sbHA semConstExpr;
tyProc__39auogS0nN05zO6JrT7za9cQ semExpr;
tyProc__39auogS0nN05zO6JrT7za9cQ semTryExpr;
tyProc__RcJNn9bSvWdJgUmA1O6sbHA semTryConstExpr;
tyProc__39auogS0nN05zO6JrT7za9cQ semOperand;
tyProc__RcJNn9bSvWdJgUmA1O6sbHA semConstBoolExpr;
tyProc__qlV9aWvA5wrWVg9bI5PqwJyA semOverloadedCall;
tyProc__PiEiMdzXg9bcm3lEo4Q6iNw semTypeNode;
tyProc__icITxWxlFufT9aDDCEKD2VQ semInferredLambda;
tyProc__GeenfmDntvGEQoCko16JtA semGenerateInstance;
tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg includedFiles;
tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA pureEnumFields;
tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA userPragmas;
tyObject_TCtx__S3Av1Ng7MBWGEZZBhfDYCw* evalContext;
tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg unknownIdents;
tySequence__jWKvSdankQPoT5bw9cBU9aiw* generics;
NI topStmts;
NI lastGenericIdx;
NI hloLoopDetector;
NI inParallelStmt;
tyProc__9amcenQyXzP9cCQNnXZVgnYQ instTypeBoundOp;
tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* selfName;
tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache;
tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* graph;
tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA signatures;
NimStringDesc* recursiveDep;
NIM_BOOL suggestionsMade;
tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ features;
NI inTypeContext;
tySequence__YceFcaugL2PWNtVbyffD9bQ* typesWithOps;
tySequence__d4l6E4jBnTQ3BEfsLOpmEQ* unusedImports;
tyObject_HashSet__Gy4haGrophX9bC5RxnPAc6w exportIndirections;
};
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 paddingAtEnd;
NI16 lockLevel;
tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typeInst;
NI uniqueId;
};
typedef NU8 tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
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;
};
struct tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA {
  RootObj Sup;
NI colonstate_;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p1;
};
typedef struct {
N_NIMCALL_PTR(NIM_BOOL, ClP_0) (tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* op, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* arglist, NIM_BOOL rpn, void* ClE_0);
void* ClE_0;
} tyProc__m2PF6uka9bYFA9cbIB7lDl8w;
typedef N_CLOSURE_PTR(NIM_BOOL, TM__1E9cVLQUjhbw81lEou89bC9bw_25) (tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* op, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* arglist, NIM_BOOL rpn);
typedef N_CLOSURE_PTR(NIM_BOOL, TM__1E9cVLQUjhbw81lEou89bC9bw_27) (tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* op, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* arglist, NIM_BOOL rpn);
typedef N_CLOSURE_PTR(NIM_BOOL, TM__1E9cVLQUjhbw81lEou89bC9bw_29) (tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* op, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* arglist, NIM_BOOL rpn);
typedef NU8 tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw;
typedef NU8 tyEnum_TAnalysisResult__p9a9bcrXoRmLT4eUuwrDq9b4w;
struct tyObject_TIdPair__AdFnD2YdADPeuJbG2YJ4vg {
tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key;
RootObj* val;
};
struct tyObject_TInstantiationPair__HkXM4cJmOpk8zFcmq9c9c3gQ {
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* genericSym;
tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA* inst;
};
struct tyTuple__KlSLWBROOViO04uLQHu7ig {
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* Field0;
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* Field1;
};
struct tyTuple__DJxbl4DYEJfb29cy1MYaUPQ {
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* Field0;
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q Field1;
};
struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ {
NI Field0;
NI Field1;
};
struct tyTuple__NAaJgGVgNmlGoqmiWxdOHQ {
NI Field0;
tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ Field1;
};
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__9brg1xNurxcus33lU4IE1Dw {
  TGenericSeq Sup;
  tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ* data[SEQ_DECL_SIZE];
};
struct tySequence__oYkV9aFZe0MXcEAprJaOUsA {
  TGenericSeq Sup;
  tyObject_TOptionEntry__H9ac5KbrDJVwT1zH5O83r7w* data[SEQ_DECL_SIZE];
};
struct tySequence__Mh9agqM29bm9aP5AUL1x7dZGA {
  TGenericSeq Sup;
  tyObject_TIdPair__AdFnD2YdADPeuJbG2YJ4vg data[SEQ_DECL_SIZE];
};
struct tySequence__arD7Tw6eD6lvOczWZl9buNg {
  TGenericSeq Sup;
  tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* data[SEQ_DECL_SIZE];
};
struct tySequence__jWKvSdankQPoT5bw9cBU9aiw {
  TGenericSeq Sup;
  tyObject_TInstantiationPair__HkXM4cJmOpk8zFcmq9c9c3gQ data[SEQ_DECL_SIZE];
};
struct tySequence__YceFcaugL2PWNtVbyffD9bQ {
  TGenericSeq Sup;
  tyTuple__KlSLWBROOViO04uLQHu7ig data[SEQ_DECL_SIZE];
};
struct tySequence__d4l6E4jBnTQ3BEfsLOpmEQ {
  TGenericSeq Sup;
  tyTuple__DJxbl4DYEJfb29cy1MYaUPQ data[SEQ_DECL_SIZE];
};
struct tySequence__Bis5AbpONWcIRrPyPJS8Yw {
  TGenericSeq Sup;
  tyTuple__NAaJgGVgNmlGoqmiWxdOHQ data[SEQ_DECL_SIZE];
};
struct tySequence__MvZmat48bhe9b6x9aUD58D5Q {
  TGenericSeq Sup;
  tyTuple__zwpS6d6iewrdlBSTNFoyVA data[SEQ_DECL_SIZE];
};
static N_INLINE(NIM_BOOL, sameKinds__csPH9cZnu4TEfaoD6TIycrgpatterns)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw, canonKind__pDD3HJiFNCTXMhWj3A7vWA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
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);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, sameTypeOrNil__3isNyHKb0U1OCnClmflXSg_2)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* a, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* b, tySet_tyEnum_TTypeCmpFlag__72pgRXSg7774cr9aCWVPORw flags);
static N_INLINE(NI, len__P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, sameTrees__5GE9abCZqpois6anfudFhKw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b);
N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
static N_INLINE(NI, addInt)(NI a, NI b);
N_NOINLINE(void, raiseOverflow)(void);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__JE6t4x7Z3v2iVz27Nx0MRAmemory)(void* a, int v, NI size);
static N_INLINE(NI, len__5mJADrRYkP3r9auuiuDZN9cQast)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* n);
static N_INLINE(NI, subInt)(NI a, NI b);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, matchStmtList__llKO9cuhE9atweXgNJPGkR9aA)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, flattenStmts__qsyX8NJX39ctdwAi4rC8W1g)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matchRange__zDO9bXlOmRuaAEXEFbpxbUQ)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NI i);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matches__VCMdmeXpaOrMqkuJKekVZA)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, skipHidden__BH9abOhPX8pH0DnEWlRxmlw_3)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
static N_INLINE(NIM_BOOL, isPatternParam__1PLvBYtRhI2Yu6a2ryOL5wpatterns)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, bindOrCheck__EggZoRCGflksdwwfiYwe9bA)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* param, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getLazy__FU9acfxkarDB7e64PCbzQPw)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, checkTypes__5sOMssutW0quSDlXGaSK9cg)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matchNodeKinds__WRbpWXbxOP9c3ULW5bbDujw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, argtypeMatches__gpWCq1law3K3m6Z2JETYnw)(tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* f, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* a, NIM_BOOL fromHlo);
N_LIB_PRIVATE N_NIMCALL(void, putLazy__OJ6CAKvMxEfNAWnm3d9ar5Q)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
static N_INLINE(NI, chckRange)(NI i, NI a, NI b);
N_NOINLINE(void, raiseRangeError)(NI64 val);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
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_LIB_PRIVATE N_NIMCALL(NIM_BOOL, inSymChoice__To0YrqPSzuwKrIc5IfvkDA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* sc, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matchChoice__VCMdmeXpaOrMqkuJKekVZA_2)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matchNested__19bvKMeQmFh4JiNqOBzSaug)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL rpn);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tyRef__f8BYBSBvMbiUufOu8OteAA)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeI__vokyXY9cZDshCSxFKChhG9bg)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
N_LIB_PRIVATE N_CLOSURE(NIM_BOOL, matchStarAux__Pk0izWTurG8nA6Ey7uonwA)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* op, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* arglist, NIM_BOOL rpn, void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(void, add__P8dDSotTW25BkfbyspojGg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* son);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
N_LIB_PRIVATE N_NIMCALL(void, gather__1FaavGK5oDVGGRV9cCRUlxQ)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* param, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeI__UY1ElYk2XqXDzuz9cGLG1Kw)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NI children);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, lastSon__UPSW0jLTX5qJL51YMUAHgw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, extractRange__O5NwuGwzV0TTJrU6OP82MA)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw k, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NI a, NI b);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newSymNode__AFd9c9cdRrILXl9anrr9aRvqig)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, aliasAnalysisRequested__co9c7sX4I476xaGoQogC7rg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw, whichAlias__L77p3t6SRXEDQrcmQOzgoA)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* p);
N_LIB_PRIVATE N_NIMCALL(void, addToArgList__N38fiGJFfq6fioT9cxSBDqw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
static N_INLINE(NI, safeLen__P89cqdlERShb9alU3iC0yj8w_2ast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TAnalysisResult__p9a9bcrXoRmLT4eUuwrDq9b4w, isPartOf__1otDDZAmvFsmbqPyFytXFg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b);
N_LIB_PRIVATE N_NIMCALL(void, markUsed__QlWTWY7567sCdiTkeUTTDA)(tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s);
extern TNimType NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_;
extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
TNimType NTI__Xh1xyqut9c5SpoexuHpe1cA_;
extern TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_;
extern TNimType NTI__fKfcLzXYiz5jNu3NH3Tv8Q_;
TNimType NTI__f8BYBSBvMbiUufOu8OteAA_;
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__1E9cVLQUjhbw81lEou89bC9bw_2 = {
0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_3, "\'sym\' is not accessible using discriminant \'kind\' of type \'TNod"
"e\'", 65);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__1E9cVLQUjhbw81lEou89bC9bw_4 = {
0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_5, "\'ident\' is not accessible using discriminant \'kind\' of type \'TN"
"ode\'", 67);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__1E9cVLQUjhbw81lEou89bC9bw_6 = {
0xe0, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_7, "\'intVal\' is not accessible using discriminant \'kind\' of type \'T"
"Node\'", 68);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__1E9cVLQUjhbw81lEou89bC9bw_8 = {
0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_9, "\'floatVal\' is not accessible using discriminant \'kind\' of type "
"\'TNode\'", 70);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__1E9cVLQUjhbw81lEou89bC9bw_10 = {
0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_11, "\'strVal\' is not accessible using discriminant \'kind\' of type \'T"
"Node\'", 68);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__1E9cVLQUjhbw81lEou89bC9bw_12 = {
0xec, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_13, "\'sons\' is not accessible using discriminant \'kind\' of type \'TNo"
"de\'", 66);
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_18, "|", 1);
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_19, "*", 1);
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_20, "**", 2);
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_21, "~", 1);
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_30, "patterns.nim(155, 19) `false` invalid pattern", 45);
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_31, "patterns.nim(164, 14) `isPatternParam(c, p.sons[1])` ", 53);
STRING_LITERAL(TM__1E9cVLQUjhbw81lEou89bC9bw_59, "patterns.nim(300, 12) `m.len == 3` ", 35);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw, canonKind__pDD3HJiFNCTXMhWj3A7vWA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw result;
	result = (tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw)0;
	result = (*n).kind;
	switch (result) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32):
	{
		result = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 27);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22):
	{
		result = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 74):
	{
		result = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 73);
	}
	break;
	default:
	{
	}
	break;
	}
	return result;
}
static N_INLINE(NIM_BOOL, sameKinds__csPH9cZnu4TEfaoD6TIycrgpatterns)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b) {	NIM_BOOL result;
	NIM_BOOL T1_;
	tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw T3_;
	tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw T4_;
	result = (NIM_BOOL)0;
	T1_ = (NIM_BOOL)0;
	T1_ = ((*a).kind == (*b).kind);
	if (T1_) goto LA2_;
	T3_ = (tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw)0;
	T3_ = canonKind__pDD3HJiFNCTXMhWj3A7vWA(a);
	T4_ = (tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw)0;
	T4_ = canonKind__pDD3HJiFNCTXMhWj3A7vWA(b);
	T1_ = (T3_ == T4_);
	LA2_: ;
	result = T1_;
	return result;
}
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(NI, len__P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NI result;
	NI T1_;
	result = (NI)0;
	if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
	T1_ = ((*n).sons ? (*n).sons->Sup.len : 0);
	result = T1_;
	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;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, sameTrees__5GE9abCZqpois6anfudFhKw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b) {	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = sameKinds__csPH9cZnu4TEfaoD6TIycrgpatterns(a, b);
		if (!T3_) goto LA4_;
		switch ((*a).kind) {
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
		{
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*b).kind)>>3] &(1U<<((NU)((*b).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
			result = ((*a).sym == (*b).sym);
		}
		break;
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
		{
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_4[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_5));
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_4[(NU)((*b).kind)>>3] &(1U<<((NU)((*b).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_5));
			result = ((*(*a).ident).Sup.id == (*(*b).ident).Sup.id);
		}
		break;
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 10):
		{
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_6[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_7));
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_6[(NU)((*b).kind)>>3] &(1U<<((NU)((*b).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_7));
			result = ((*a).intVal == (*b).intVal);
		}
		break;
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 18):
		{
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_8[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_9));
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_8[(NU)((*b).kind)>>3] &(1U<<((NU)((*b).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_9));
			result = ((*a).floatVal == (*b).floatVal);
		}
		break;
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22):
		{
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_10[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_11));
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_10[(NU)((*b).kind)>>3] &(1U<<((NU)((*b).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_11));
			result = eqStrings((*a).strVal, (*b).strVal);
		}
		break;
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1):
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23):
		{
			result = NIM_TRUE;
		}
		break;
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 4):
		{
			result = sameTypeOrNil__3isNyHKb0U1OCnClmflXSg_2((*a).typ, (*b).typ, 0);
		}
		break;
		default:
		{
			{
				NI T16_;
				NI T17_;
				T16_ = (NI)0;
				T16_ = len__P89cqdlERShb9alU3iC0yj8wast(a);
				T17_ = (NI)0;
				T17_ = len__P89cqdlERShb9alU3iC0yj8wast(b);
				if (!(T16_ == T17_)) goto LA18_;
				{
					NI i;
					NI colontmp_;
					NI i_2;
					i = (NI)0;
					colontmp_ = (NI)0;
					colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(a);
					i_2 = ((NI) 0);
					{
						while (1) {
							NI TM__1E9cVLQUjhbw81lEou89bC9bw_14;
							if (!(i_2 < colontmp_)) goto LA22;
							i = i_2;
							{
								NIM_BOOL T25_;
								if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
								if ((NU)(i) >= (NU)((*a).sons ? (*a).sons->Sup.len : 0)) raiseIndexError2(i,((*a).sons ? (*a).sons->Sup.len : 0)-1);
								if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*b).kind)>>3] &(1U<<((NU)((*b).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
								if ((NU)(i) >= (NU)((*b).sons ? (*b).sons->Sup.len : 0)) raiseIndexError2(i,((*b).sons ? (*b).sons->Sup.len : 0)-1);
								T25_ = (NIM_BOOL)0;
								T25_ = sameTrees__5GE9abCZqpois6anfudFhKw((*a).sons->data[i], (*b).sons->data[i]);
								if (!!(T25_)) goto LA26_;
								goto BeforeRet_;
							}
							LA26_: ;
							TM__1E9cVLQUjhbw81lEou89bC9bw_14 = addInt(i_2, ((NI) 1));
							i_2 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_14);
						} LA22: ;
					}
				}
				result = NIM_TRUE;
			}
			LA18_: ;
		}
		break;
		}
	}
	LA4_: ;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(void, nimSetMem__JE6t4x7Z3v2iVz27Nx0MRAmemory)(void* a, int v, NI size) {	void* T1_;
	T1_ = (void*)0;
	T1_ = memset(a, v, ((size_t) (size)));
}
static N_INLINE(void, nimZeroMem)(void* p, NI size) {	nimSetMem__JE6t4x7Z3v2iVz27Nx0MRAmemory(p, ((int) 0), size);
}
static N_INLINE(NI, len__5mJADrRYkP3r9auuiuDZN9cQast)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* n) {	NI result;
	NI T1_;
	result = (NI)0;
	T1_ = ((*n).sons ? (*n).sons->Sup.len : 0);
	result = T1_;
	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(NIM_BOOL, isPatternParam__1PLvBYtRhI2Yu6a2ryOL5wpatterns)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p) {	NIM_BOOL result;
	NIM_BOOL T1_;
	NIM_BOOL T2_;
	result = (NIM_BOOL)0;
	T1_ = (NIM_BOOL)0;
	T2_ = (NIM_BOOL)0;
	T2_ = ((*p).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
	if (!(T2_)) goto LA3_;
	if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
	T2_ = ((*(*p).sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 3));
	LA3_: ;
	T1_ = T2_;
	if (!(T1_)) goto LA4_;
	if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
	T1_ = ((*(*p).sym).owner == (*c).owner);
	LA4_: ;
	result = T1_;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getLazy__FU9acfxkarDB7e64PCbzQPw)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	{
		if (!(*c).mappingIsFull) goto LA3_;
		if ((NU)((*sym).position) >= (NU)((*c).mapping ? (*c).mapping->Sup.len : 0)) raiseIndexError2((*sym).position,((*c).mapping ? (*c).mapping->Sup.len : 0)-1);
		result = (*c).mapping->data[(*sym).position];
	}
	LA3_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, checkTypes__5sOMssutW0quSDlXGaSK9cg)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		if (!!(((*p).constraint == NIM_NIL))) goto LA3_;
		result = matchNodeKinds__WRbpWXbxOP9c3ULW5bbDujw((*p).constraint, n);
		{
			if (!!(result)) goto LA7_;
			goto BeforeRet_;
		}
		LA7_: ;
	}
	LA3_: ;
	{
		if (!((*n).typ == 0)) goto LA11_;
		result = ((*(*p).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 63) || (*(*p).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 7));
	}
	goto LA9_;
	LA11_: ;
	{
		result = argtypeMatches__gpWCq1law3K3m6Z2JETYnw((*c).c, (*p).typ, (*n).typ, NIM_TRUE);
	}
	LA9_: ;
	}BeforeRet_: ;
	return result;
}
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(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;
}
N_LIB_PRIVATE N_NIMCALL(void, putLazy__OJ6CAKvMxEfNAWnm3d9ar5Q)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	{
		if (!!((*c).mappingIsFull)) goto LA3_;
		unsureAsgnRef((void**) (&(*c).mapping), (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) newSeq((&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), ((NI)chckRange((*c).formals, ((NI) 0), ((NI) 2147483647)))));
		(*c).mappingIsFull = NIM_TRUE;
	}
	LA3_: ;
	if ((NU)((*sym).position) >= (NU)((*c).mapping ? (*c).mapping->Sup.len : 0)) raiseIndexError2((*sym).position,((*c).mapping ? (*c).mapping->Sup.len : 0)-1);
	asgnRef((void**) (&(*c).mapping->data[(*sym).position]), n);
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, bindOrCheck__EggZoRCGflksdwwfiYwe9bA)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* param, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NIM_BOOL result;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* pp;
	result = (NIM_BOOL)0;
	pp = getLazy__FU9acfxkarDB7e64PCbzQPw(c, param);
	{
		if (!!((pp == NIM_NIL))) goto LA3_;
		result = sameTrees__5GE9abCZqpois6anfudFhKw(pp, n);
	}
	goto LA1_;
	LA3_: ;
	{
		NIM_BOOL T6_;
		T6_ = (NIM_BOOL)0;
		T6_ = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 152));
		if (T6_) goto LA7_;
		T6_ = checkTypes__5sOMssutW0quSDlXGaSK9cg(c, param, n);
		LA7_: ;
		if (!T6_) goto LA8_;
		putLazy__OJ6CAKvMxEfNAWnm3d9ar5Q(c, param, n);
		result = NIM_TRUE;
	}
	goto LA1_;
	LA8_: ;
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, inSymChoice__To0YrqPSzuwKrIc5IfvkDA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* sc, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x) {	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		if (!((*sc).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 56))) goto LA3_;
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(sc);
			i_2 = ((NI) 0);
			{
				while (1) {
					NI TM__1E9cVLQUjhbw81lEou89bC9bw_17;
					if (!(i_2 < colontmp_)) goto LA7;
					i = i_2;
					{
						if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*sc).kind)>>3] &(1U<<((NU)((*sc).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
						if ((NU)(i) >= (NU)((*sc).sons ? (*sc).sons->Sup.len : 0)) raiseIndexError2(i,((*sc).sons ? (*sc).sons->Sup.len : 0)-1);
						if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*(*sc).sons->data[i]).kind)>>3] &(1U<<((NU)((*(*sc).sons->data[i]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
						if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*x).kind)>>3] &(1U<<((NU)((*x).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
						if (!((*(*sc).sons->data[i]).sym == (*x).sym)) goto LA10_;
						result = NIM_TRUE;
						goto BeforeRet_;
					}
					LA10_: ;
					TM__1E9cVLQUjhbw81lEou89bC9bw_17 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_17);
				} LA7: ;
			}
		}
	}
	goto LA1_;
	LA3_: ;
	{
		if (!((*sc).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 57))) goto LA13_;
		if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*sc).kind)>>3] &(1U<<((NU)((*sc).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
		if ((NU)(((NI) 0)) >= (NU)((*sc).sons ? (*sc).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*sc).sons ? (*sc).sons->Sup.len : 0)-1);
		if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*(*sc).sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*sc).sons->data[((NI) 0)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
		if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*x).kind)>>3] &(1U<<((NU)((*x).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
		result = ((*(*(*(*sc).sons->data[((NI) 0)]).sym).name).Sup.id == (*(*(*x).sym).name).Sup.id);
	}
	goto LA1_;
	LA13_: ;
	LA1_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matchChoice__VCMdmeXpaOrMqkuJKekVZA_2)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		NI i;
		NI colontmp_;
		NI i_2;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(p);
		i_2 = ((NI) 1);
		{
			while (1) {
				NI TM__1E9cVLQUjhbw81lEou89bC9bw_22;
				if (!(i_2 < colontmp_)) goto LA3;
				i = i_2;
				{
					NIM_BOOL T6_;
					if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
					if ((NU)(i) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(i,((*p).sons ? (*p).sons->Sup.len : 0)-1);
					T6_ = (NIM_BOOL)0;
					T6_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, (*p).sons->data[i], n);
					if (!T6_) goto LA7_;
					result = NIM_TRUE;
					goto BeforeRet_;
				}
				LA7_: ;
				TM__1E9cVLQUjhbw81lEou89bC9bw_22 = addInt(i_2, ((NI) 1));
				i_2 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_22);
			} LA3: ;
		}
	}
	}BeforeRet_: ;
	return result;
}
static N_NIMCALL(void, Marker_tyRef__f8BYBSBvMbiUufOu8OteAA)(void* p, NI op) {
	tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA* a;
	a = (tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA*)p;
	nimGCvisit((void*)(*a).p1, op);
}
N_LIB_PRIVATE N_CLOSURE(NIM_BOOL, matchStarAux__Pk0izWTurG8nA6Ey7uonwA)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* op, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* arglist, NIM_BOOL rpn, void* ClE_0) {	NIM_BOOL result;
	tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA* colonenvP_;
{	result = (NIM_BOOL)0;
	colonenvP_ = (tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA*) ClE_0;
	result = NIM_TRUE;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = ((*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));
		if (!(T3_)) goto LA4_;
		if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*op).kind)>>3] &(1U<<((NU)((*op).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
		if ((NU)(((NI) 1)) >= (NU)((*op).sons ? (*op).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*op).sons ? (*op).sons->Sup.len : 0)-1);
		if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T3_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, (*op).sons->data[((NI) 1)], (*n).sons->data[((NI) 0)]);
		LA4_: ;
		if (!T3_) goto LA5_;
		{
			NI i;
			NI colontmp_;
			NI T8_;
			NI TM__1E9cVLQUjhbw81lEou89bC9bw_24;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			T8_ = (NI)0;
			T8_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
			TM__1E9cVLQUjhbw81lEou89bC9bw_24 = subInt(T8_, ((NI) 1));
			colontmp_ = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_24);
			res = ((NI) 1);
			{
				while (1) {
					NI TM__1E9cVLQUjhbw81lEou89bC9bw_26;
					if (!(res <= colontmp_)) goto LA10;
					i = res;
					{
						tyProc__m2PF6uka9bYFA9cbIB7lDl8w T13_;
						NIM_BOOL T14_;
						nimZeroMem((void*)(&T13_), sizeof(tyProc__m2PF6uka9bYFA9cbIB7lDl8w));
						T13_.ClP_0 = matchStarAux__Pk0izWTurG8nA6Ey7uonwA; T13_.ClE_0 = colonenvP_;
						if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						T14_ = (NIM_BOOL)0;
						T14_ = T13_.ClE_0? T13_.ClP_0(c, op, (*n).sons->data[i], arglist, rpn, T13_.ClE_0):((TM__1E9cVLQUjhbw81lEou89bC9bw_25)(T13_.ClP_0))(c, op, (*n).sons->data[i], arglist, rpn);
						if (!!(T14_)) goto LA15_;
						result = NIM_FALSE;
						goto BeforeRet_;
					}
					LA15_: ;
					TM__1E9cVLQUjhbw81lEou89bC9bw_26 = addInt(res, ((NI) 1));
					res = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_26);
				} LA10: ;
			}
		}
		{
			if (!rpn) goto LA19_;
			if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			add__P8dDSotTW25BkfbyspojGg(arglist, (*n).sons->data[((NI) 0)]);
		}
		LA19_: ;
	}
	goto LA1_;
	LA5_: ;
	{
		NIM_BOOL T22_;
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n_2;
		T22_ = (NIM_BOOL)0;
		T22_ = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 58));
		if (!(T22_)) goto LA23_;
		if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
		if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T22_ = ((*(*n).sons->data[((NI) 1)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41));
		LA23_: ;
		if (!T22_) goto LA24_;
		if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
		if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		n_2 = (*n).sons->data[((NI) 1)];
		{
			NI i_2;
			NI colontmp__2;
			NI i_3;
			i_2 = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = len__P89cqdlERShb9alU3iC0yj8wast(n_2);
			i_3 = ((NI) 0);
			{
				while (1) {
					NI TM__1E9cVLQUjhbw81lEou89bC9bw_28;
					if (!(i_3 < colontmp__2)) goto LA28;
					i_2 = i_3;
					{
						tyProc__m2PF6uka9bYFA9cbIB7lDl8w T31_;
						NIM_BOOL T32_;
						nimZeroMem((void*)(&T31_), sizeof(tyProc__m2PF6uka9bYFA9cbIB7lDl8w));
						T31_.ClP_0 = matchStarAux__Pk0izWTurG8nA6Ey7uonwA; T31_.ClE_0 = colonenvP_;
						if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
						if ((NU)(i_2) >= (NU)((*n_2).sons ? (*n_2).sons->Sup.len : 0)) raiseIndexError2(i_2,((*n_2).sons ? (*n_2).sons->Sup.len : 0)-1);
						T32_ = (NIM_BOOL)0;
						T32_ = T31_.ClE_0? T31_.ClP_0(c, op, (*n_2).sons->data[i_2], arglist, rpn, T31_.ClE_0):((TM__1E9cVLQUjhbw81lEou89bC9bw_27)(T31_.ClP_0))(c, op, (*n_2).sons->data[i_2], arglist, rpn);
						if (!!(T32_)) goto LA33_;
						result = NIM_FALSE;
						goto BeforeRet_;
					}
					LA33_: ;
					TM__1E9cVLQUjhbw81lEou89bC9bw_28 = addInt(i_3, ((NI) 1));
					i_3 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_28);
				} LA28: ;
			}
		}
	}
	goto LA1_;
	LA24_: ;
	{
		NIM_BOOL T36_;
		if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*(*colonenvP_).p1).kind)>>3] &(1U<<((NU)((*(*colonenvP_).p1).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
		if ((NU)(((NI) 2)) >= (NU)((*(*colonenvP_).p1).sons ? (*(*colonenvP_).p1).sons->Sup.len : 0)) raiseIndexError2(((NI) 2),((*(*colonenvP_).p1).sons ? (*(*colonenvP_).p1).sons->Sup.len : 0)-1);
		if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*(*(*colonenvP_).p1).sons->data[((NI) 2)]).kind)>>3] &(1U<<((NU)((*(*(*colonenvP_).p1).sons->data[((NI) 2)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
		T36_ = (NIM_BOOL)0;
		T36_ = checkTypes__5sOMssutW0quSDlXGaSK9cg(c, (*(*(*colonenvP_).p1).sons->data[((NI) 2)]).sym, n);
		if (!T36_) goto LA37_;
		add__P8dDSotTW25BkfbyspojGg(arglist, n);
	}
	goto LA1_;
	LA37_: ;
	{
		result = NIM_FALSE;
	}
	LA1_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matchNested__19bvKMeQmFh4JiNqOBzSaug)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL rpn) {	NIM_BOOL result;
	tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA* colonenv_;
{	result = (NIM_BOOL)0;
	colonenv_ = (tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA*)0;
	colonenv_ = (tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA*) newObj((&NTI__f8BYBSBvMbiUufOu8OteAA_), sizeof(tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA));
	(*colonenv_).Sup.m_type = (&NTI__Xh1xyqut9c5SpoexuHpe1cA_);
	asgnRef((void**) (&(*colonenv_).p1), p);
	{
		if (!!(((*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)))) goto LA3_;
		result = NIM_FALSE;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		NIM_BOOL T7_;
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* arglist;
		if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*(*colonenv_).p1).kind)>>3] &(1U<<((NU)((*(*colonenv_).p1).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
		if ((NU)(((NI) 1)) >= (NU)((*(*colonenv_).p1).sons ? (*(*colonenv_).p1).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*(*colonenv_).p1).sons ? (*(*colonenv_).p1).sons->Sup.len : 0)-1);
		if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T7_ = (NIM_BOOL)0;
		T7_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, (*(*colonenv_).p1).sons->data[((NI) 1)], (*n).sons->data[((NI) 0)]);
		if (!T7_) goto LA8_;
		arglist = newNodeI__vokyXY9cZDshCSxFKChhG9bg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 152), (*n).info);
		{
			tyProc__m2PF6uka9bYFA9cbIB7lDl8w T12_;
			NIM_BOOL T13_;
			nimZeroMem((void*)(&T12_), sizeof(tyProc__m2PF6uka9bYFA9cbIB7lDl8w));
			T12_.ClP_0 = matchStarAux__Pk0izWTurG8nA6Ey7uonwA; T12_.ClE_0 = colonenv_;
			T13_ = (NIM_BOOL)0;
			T13_ = T12_.ClE_0? T12_.ClP_0(c, (*colonenv_).p1, n, arglist, rpn, T12_.ClE_0):((TM__1E9cVLQUjhbw81lEou89bC9bw_29)(T12_.ClP_0))(c, (*colonenv_).p1, n, arglist, rpn);
			if (!T13_) goto LA14_;
			if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*(*colonenv_).p1).kind)>>3] &(1U<<((NU)((*(*colonenv_).p1).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
			if ((NU)(((NI) 2)) >= (NU)((*(*colonenv_).p1).sons ? (*(*colonenv_).p1).sons->Sup.len : 0)) raiseIndexError2(((NI) 2),((*(*colonenv_).p1).sons ? (*(*colonenv_).p1).sons->Sup.len : 0)-1);
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*(*(*colonenv_).p1).sons->data[((NI) 2)]).kind)>>3] &(1U<<((NU)((*(*(*colonenv_).p1).sons->data[((NI) 2)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
			result = bindOrCheck__EggZoRCGflksdwwfiYwe9bA(c, (*(*(*colonenv_).p1).sons->data[((NI) 2)]).sym, arglist);
		}
		LA14_: ;
	}
	LA8_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, gather__1FaavGK5oDVGGRV9cCRUlxQ)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* param, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* pp;
	pp = getLazy__FU9acfxkarDB7e64PCbzQPw(c, param);
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = !((pp == NIM_NIL));
		if (!(T3_)) goto LA4_;
		T3_ = ((*pp).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 152));
		LA4_: ;
		if (!T3_) goto LA5_;
		add__P8dDSotTW25BkfbyspojGg(pp, n);
	}
	goto LA1_;
	LA5_: ;
	{
		pp = newNodeI__UY1ElYk2XqXDzuz9cGLG1Kw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 152), (*n).info, ((NI) 1));
		if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*pp).kind)>>3] &(1U<<((NU)((*pp).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
		if ((NU)(((NI) 0)) >= (NU)((*pp).sons ? (*pp).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*pp).sons ? (*pp).sons->Sup.len : 0)-1);
		asgnRef((void**) (&(*pp).sons->data[((NI) 0)]), n);
		putLazy__OJ6CAKvMxEfNAWnm3d9ar5Q(c, param, pp);
	}
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matches__VCMdmeXpaOrMqkuJKekVZA)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NIM_BOOL result;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n_2;
{	result = (NIM_BOOL)0;
	n_2 = skipHidden__BH9abOhPX8pH0DnEWlRxmlw_3(n);
	{
		if (!(((*n_2).flags &(1U<<((NU)(((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) 6))&31U)))!=0)) goto LA3_;
		result = NIM_FALSE;
	}
	goto LA1_;
	LA3_: ;
	{
		NIM_BOOL T6_;
		T6_ = (NIM_BOOL)0;
		T6_ = isPatternParam__1PLvBYtRhI2Yu6a2ryOL5wpatterns(c, p);
		if (!T6_) goto LA7_;
		if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
		result = bindOrCheck__EggZoRCGflksdwwfiYwe9bA(c, (*p).sym, n_2);
	}
	goto LA1_;
	LA7_: ;
	{
		NIM_BOOL T10_;
		T10_ = (NIM_BOOL)0;
		T10_ = ((*n_2).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
		if (!(T10_)) goto LA11_;
		T10_ = ((*p).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2));
		LA11_: ;
		if (!T10_) goto LA12_;
		if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_4[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_5));
		if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
		result = ((*(*p).ident).Sup.id == (*(*(*n_2).sym).name).Sup.id);
	}
	goto LA1_;
	LA12_: ;
	{
		NIM_BOOL T15_;
		T15_ = (NIM_BOOL)0;
		T15_ = ((*n_2).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
		if (!(T15_)) goto LA16_;
		T15_ = inSymChoice__To0YrqPSzuwKrIc5IfvkDA(p, n_2);
		LA16_: ;
		if (!T15_) goto LA17_;
		result = NIM_TRUE;
	}
	goto LA1_;
	LA17_: ;
	{
		NIM_BOOL T20_;
		T20_ = (NIM_BOOL)0;
		T20_ = ((*n_2).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
		if (!(T20_)) goto LA21_;
		if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
		T20_ = ((*(*n_2).sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 10));
		LA21_: ;
		if (!T20_) goto LA22_;
		{
			if (!((*p).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA26_;
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
			result = ((*p).sym == (*n_2).sym);
		}
		goto LA24_;
		LA26_: ;
		{
			NIM_BOOL T29_;
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
			T29_ = (NIM_BOOL)0;
			T29_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, p, (*(*n_2).sym).ast);
			if (!T29_) goto LA30_;
			result = NIM_TRUE;
		}
		goto LA24_;
		LA30_: ;
		LA24_: ;
	}
	goto LA1_;
	LA22_: ;
	{
		NimStringDesc* opr;
		if (!((*p).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 153))) goto LA33_;
		if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
		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__1E9cVLQUjhbw81lEou89bC9bw_4[(NU)((*(*p).sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*p).sons->data[((NI) 0)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_5));
		opr = (*(*(*p).sons->data[((NI) 0)]).ident).s;
		if (eqStrings(opr, ((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_18))) goto LA35_;
		if (eqStrings(opr, ((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_19))) goto LA36_;
		if (eqStrings(opr, ((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_20))) goto LA37_;
		if (eqStrings(opr, ((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_21))) goto LA38_;
		goto LA39_;
		LA35_: ;
		{
			result = matchChoice__VCMdmeXpaOrMqkuJKekVZA_2(c, p, n_2);
		}
		goto LA40_;
		LA36_: ;
		{
			result = matchNested__19bvKMeQmFh4JiNqOBzSaug(c, p, n_2, NIM_FALSE);
		}
		goto LA40_;
		LA37_: ;
		{
			result = matchNested__19bvKMeQmFh4JiNqOBzSaug(c, p, n_2, NIM_TRUE);
		}
		goto LA40_;
		LA38_: ;
		{
			NIM_BOOL T45_;
			if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
			if ((NU)(((NI) 1)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*p).sons ? (*p).sons->Sup.len : 0)-1);
			T45_ = (NIM_BOOL)0;
			T45_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, (*p).sons->data[((NI) 1)], n_2);
			result = !(T45_);
		}
		goto LA40_;
		LA39_: ;
		{
			{
				if (!NIM_TRUE) goto LA49_;
				failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_30));
			}
			LA49_: ;
		}
		LA40_: ;
	}
	goto LA1_;
	LA33_: ;
	{
		if (!((*p).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 40))) goto LA52_;
		{
			if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
			if ((NU)(((NI) 1)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*p).sons ? (*p).sons->Sup.len : 0)-1);
			if (!((*(*p).sons->data[((NI) 1)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 30))) goto LA56_;
			{
				NIM_BOOL T60_;
				if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
				if ((NU)(((NI) 0)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*p).sons ? (*p).sons->Sup.len : 0)-1);
				T60_ = (NIM_BOOL)0;
				T60_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, (*p).sons->data[((NI) 0)], n_2);
				if (!T60_) goto LA61_;
				if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
				if ((NU)(((NI) 1)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*p).sons ? (*p).sons->Sup.len : 0)-1);
				if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*(*p).sons->data[((NI) 1)]).kind)>>3] &(1U<<((NU)((*(*p).sons->data[((NI) 1)]).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
				if ((NU)(((NI) 1)) >= (NU)((*(*p).sons->data[((NI) 1)]).sons ? (*(*p).sons->data[((NI) 1)]).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*(*p).sons->data[((NI) 1)]).sons ? (*(*p).sons->data[((NI) 1)]).sons->Sup.len : 0)-1);
				if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*(*(*p).sons->data[((NI) 1)]).sons->data[((NI) 1)]).kind)>>3] &(1U<<((NU)((*(*(*p).sons->data[((NI) 1)]).sons->data[((NI) 1)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
				gather__1FaavGK5oDVGGRV9cCRUlxQ(c, (*(*(*p).sons->data[((NI) 1)]).sons->data[((NI) 1)]).sym, n_2);
				result = NIM_TRUE;
			}
			LA61_: ;
		}
		goto LA54_;
		LA56_: ;
		{
			{
				NIM_BOOL T66_;
				if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
				if ((NU)(((NI) 1)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*p).sons ? (*p).sons->Sup.len : 0)-1);
				T66_ = (NIM_BOOL)0;
				T66_ = isPatternParam__1PLvBYtRhI2Yu6a2ryOL5wpatterns(c, (*p).sons->data[((NI) 1)]);
				if (!!(T66_)) goto LA67_;
				failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_31));
			}
			LA67_: ;
			{
				NIM_BOOL T71_;
				if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
				if ((NU)(((NI) 0)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*p).sons ? (*p).sons->Sup.len : 0)-1);
				T71_ = (NIM_BOOL)0;
				T71_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, (*p).sons->data[((NI) 0)], n_2);
				if (!T71_) goto LA72_;
				if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
				if ((NU)(((NI) 1)) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*p).sons ? (*p).sons->Sup.len : 0)-1);
				if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*(*p).sons->data[((NI) 1)]).kind)>>3] &(1U<<((NU)((*(*p).sons->data[((NI) 1)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
				result = bindOrCheck__EggZoRCGflksdwwfiYwe9bA(c, (*(*p).sons->data[((NI) 1)]).sym, n_2);
			}
			LA72_: ;
		}
		LA54_: ;
	}
	goto LA1_;
	LA52_: ;
	{
		NIM_BOOL T75_;
		T75_ = (NIM_BOOL)0;
		T75_ = sameKinds__csPH9cZnu4TEfaoD6TIycrgpatterns(p, n_2);
		if (!T75_) goto LA76_;
		switch ((*p).kind) {
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
		{
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
			result = ((*p).sym == (*n_2).sym);
		}
		break;
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
		{
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_4[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_5));
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_4[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_5));
			result = ((*(*p).ident).Sup.id == (*(*n_2).ident).Sup.id);
		}
		break;
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 10):
		{
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_6[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_7));
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_6[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_7));
			result = ((*p).intVal == (*n_2).intVal);
		}
		break;
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 18):
		{
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_8[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_9));
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_8[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_9));
			result = ((*p).floatVal == (*n_2).floatVal);
		}
		break;
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22):
		{
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_10[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_11));
			if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_10[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_11));
			result = eqStrings((*p).strVal, (*n_2).strVal);
		}
		break;
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1):
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23):
		case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 4):
		{
			result = NIM_TRUE;
		}
		break;
		default:
		{
			NI plen;
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* v;
			plen = len__P89cqdlERShb9alU3iC0yj8wast(p);
			v = lastSon__UPSW0jLTX5qJL51YMUAHgw(p);
			{
				NIM_BOOL T87_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* arglist;
				T87_ = (NIM_BOOL)0;
				T87_ = isPatternParam__1PLvBYtRhI2Yu6a2ryOL5wpatterns(c, v);
				if (!(T87_)) goto LA88_;
				if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*v).kind)>>3] &(1U<<((NU)((*v).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
				T87_ = ((*(*(*v).sym).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 48));
				LA88_: ;
				if (!T87_) goto LA89_;
				arglist = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				{
					NI T93_;
					T93_ = (NI)0;
					T93_ = len__P89cqdlERShb9alU3iC0yj8wast(n_2);
					if (!(plen <= T93_)) goto LA94_;
					{
						NI i;
						NI colontmp_;
						NI TM__1E9cVLQUjhbw81lEou89bC9bw_32;
						NI res;
						i = (NI)0;
						colontmp_ = (NI)0;
						TM__1E9cVLQUjhbw81lEou89bC9bw_32 = subInt(plen, ((NI) 2));
						colontmp_ = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_32);
						res = ((NI) 0);
						{
							while (1) {
								NI TM__1E9cVLQUjhbw81lEou89bC9bw_33;
								if (!(res <= colontmp_)) goto LA98;
								i = res;
								{
									NIM_BOOL T101_;
									if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
									if ((NU)(i) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(i,((*p).sons ? (*p).sons->Sup.len : 0)-1);
									if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
									if ((NU)(i) >= (NU)((*n_2).sons ? (*n_2).sons->Sup.len : 0)) raiseIndexError2(i,((*n_2).sons ? (*n_2).sons->Sup.len : 0)-1);
									T101_ = (NIM_BOOL)0;
									T101_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, (*p).sons->data[i], (*n_2).sons->data[i]);
									if (!!(T101_)) goto LA102_;
									goto BeforeRet_;
								}
								LA102_: ;
								TM__1E9cVLQUjhbw81lEou89bC9bw_33 = addInt(res, ((NI) 1));
								res = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_33);
							} LA98: ;
						}
					}
					{
						NIM_BOOL T106_;
						NIM_BOOL T107_;
						NI T108_;
						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T110_;
						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T112_;
						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n_3;
						tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T115_;
						NI T116_;
						T106_ = (NIM_BOOL)0;
						T107_ = (NIM_BOOL)0;
						T108_ = (NI)0;
						T108_ = len__P89cqdlERShb9alU3iC0yj8wast(n_2);
						T107_ = (plen == T108_);
						if (!(T107_)) goto LA109_;
						T110_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
						T110_ = lastSon__UPSW0jLTX5qJL51YMUAHgw(n_2);
						T107_ = ((*T110_).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 58));
						LA109_: ;
						T106_ = T107_;
						if (!(T106_)) goto LA111_;
						T112_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
						T112_ = lastSon__UPSW0jLTX5qJL51YMUAHgw(n_2);
						if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*T112_).kind)>>3] &(1U<<((NU)((*T112_).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
						if ((NU)(((NI) 1)) >= (NU)((*T112_).sons ? (*T112_).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*T112_).sons ? (*T112_).sons->Sup.len : 0)-1);
						T106_ = ((*(*T112_).sons->data[((NI) 1)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41));
						LA111_: ;
						if (!T106_) goto LA113_;
						T115_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
						T115_ = lastSon__UPSW0jLTX5qJL51YMUAHgw(n_2);
						if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*T115_).kind)>>3] &(1U<<((NU)((*T115_).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
						if ((NU)(((NI) 1)) >= (NU)((*T115_).sons ? (*T115_).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*T115_).sons ? (*T115_).sons->Sup.len : 0)-1);
						n_3 = (*T115_).sons->data[((NI) 1)];
						T116_ = (NI)0;
						T116_ = len__P89cqdlERShb9alU3iC0yj8wast(n_3);
						arglist = newNodeI__UY1ElYk2XqXDzuz9cGLG1Kw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 152), (*n_3).info, T116_);
						{
							NI i_2;
							NI colontmp__2;
							NI i_3;
							i_2 = (NI)0;
							colontmp__2 = (NI)0;
							colontmp__2 = len__P89cqdlERShb9alU3iC0yj8wast(n_3);
							i_3 = ((NI) 0);
							{
								while (1) {
									NI TM__1E9cVLQUjhbw81lEou89bC9bw_34;
									if (!(i_3 < colontmp__2)) goto LA119;
									i_2 = i_3;
									if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*arglist).kind)>>3] &(1U<<((NU)((*arglist).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
									if ((NU)(i_2) >= (NU)((*arglist).sons ? (*arglist).sons->Sup.len : 0)) raiseIndexError2(i_2,((*arglist).sons ? (*arglist).sons->Sup.len : 0)-1);
									if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n_3).kind)>>3] &(1U<<((NU)((*n_3).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
									if ((NU)(i_2) >= (NU)((*n_3).sons ? (*n_3).sons->Sup.len : 0)) raiseIndexError2(i_2,((*n_3).sons ? (*n_3).sons->Sup.len : 0)-1);
									asgnRef((void**) (&(*arglist).sons->data[i_2]), (*n_3).sons->data[i_2]);
									TM__1E9cVLQUjhbw81lEou89bC9bw_34 = addInt(i_3, ((NI) 1));
									i_3 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_34);
								} LA119: ;
							}
						}
					}
					goto LA104_;
					LA113_: ;
					{
						NI T121_;
						NI TM__1E9cVLQUjhbw81lEou89bC9bw_35;
						NI TM__1E9cVLQUjhbw81lEou89bC9bw_36;
						T121_ = (NI)0;
						T121_ = len__P89cqdlERShb9alU3iC0yj8wast(n_2);
						TM__1E9cVLQUjhbw81lEou89bC9bw_35 = subInt(T121_, plen);
						TM__1E9cVLQUjhbw81lEou89bC9bw_36 = addInt((NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_35), ((NI) 1));
						arglist = newNodeI__UY1ElYk2XqXDzuz9cGLG1Kw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 152), (*n_2).info, (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_36));
						{
							NI i_4;
							NI colontmp__3;
							NI T123_;
							NI TM__1E9cVLQUjhbw81lEou89bC9bw_37;
							NI res_2;
							i_4 = (NI)0;
							colontmp__3 = (NI)0;
							T123_ = (NI)0;
							T123_ = len__P89cqdlERShb9alU3iC0yj8wast(n_2);
							TM__1E9cVLQUjhbw81lEou89bC9bw_37 = subInt(T123_, plen);
							colontmp__3 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_37);
							res_2 = ((NI) 0);
							{
								while (1) {
									NI TM__1E9cVLQUjhbw81lEou89bC9bw_38;
									NI TM__1E9cVLQUjhbw81lEou89bC9bw_39;
									NI TM__1E9cVLQUjhbw81lEou89bC9bw_40;
									if (!(res_2 <= colontmp__3)) goto LA125;
									i_4 = res_2;
									if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*arglist).kind)>>3] &(1U<<((NU)((*arglist).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
									if ((NU)(i_4) >= (NU)((*arglist).sons ? (*arglist).sons->Sup.len : 0)) raiseIndexError2(i_4,((*arglist).sons ? (*arglist).sons->Sup.len : 0)-1);
									if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
									TM__1E9cVLQUjhbw81lEou89bC9bw_38 = addInt(i_4, plen);
									TM__1E9cVLQUjhbw81lEou89bC9bw_39 = subInt((NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_38), ((NI) 1));
									if ((NU)((NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_39)) >= (NU)((*n_2).sons ? (*n_2).sons->Sup.len : 0)) raiseIndexError2((NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_39),((*n_2).sons ? (*n_2).sons->Sup.len : 0)-1);
									asgnRef((void**) (&(*arglist).sons->data[i_4]), (*n_2).sons->data[(NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_39)]);
									TM__1E9cVLQUjhbw81lEou89bC9bw_40 = addInt(res_2, ((NI) 1));
									res_2 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_40);
								} LA125: ;
							}
						}
					}
					LA104_: ;
					if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*v).kind)>>3] &(1U<<((NU)((*v).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
					result = bindOrCheck__EggZoRCGflksdwwfiYwe9bA(c, (*v).sym, arglist);
					goto BeforeRet_;
				}
				goto LA91_;
				LA94_: ;
				{
					NI TM__1E9cVLQUjhbw81lEou89bC9bw_41;
					NI T127_;
					TM__1E9cVLQUjhbw81lEou89bC9bw_41 = subInt(plen, ((NI) 1));
					T127_ = (NI)0;
					T127_ = len__P89cqdlERShb9alU3iC0yj8wast(n_2);
					if (!((NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_41) == T127_)) goto LA128_;
					{
						NI i_5;
						NI colontmp__4;
						NI TM__1E9cVLQUjhbw81lEou89bC9bw_42;
						NI res_3;
						i_5 = (NI)0;
						colontmp__4 = (NI)0;
						TM__1E9cVLQUjhbw81lEou89bC9bw_42 = subInt(plen, ((NI) 2));
						colontmp__4 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_42);
						res_3 = ((NI) 0);
						{
							while (1) {
								NI TM__1E9cVLQUjhbw81lEou89bC9bw_43;
								if (!(res_3 <= colontmp__4)) goto LA132;
								i_5 = res_3;
								{
									NIM_BOOL T135_;
									if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
									if ((NU)(i_5) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(i_5,((*p).sons ? (*p).sons->Sup.len : 0)-1);
									if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
									if ((NU)(i_5) >= (NU)((*n_2).sons ? (*n_2).sons->Sup.len : 0)) raiseIndexError2(i_5,((*n_2).sons ? (*n_2).sons->Sup.len : 0)-1);
									T135_ = (NIM_BOOL)0;
									T135_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, (*p).sons->data[i_5], (*n_2).sons->data[i_5]);
									if (!!(T135_)) goto LA136_;
									goto BeforeRet_;
								}
								LA136_: ;
								TM__1E9cVLQUjhbw81lEou89bC9bw_43 = addInt(res_3, ((NI) 1));
								res_3 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_43);
							} LA132: ;
						}
					}
					arglist = newNodeI__vokyXY9cZDshCSxFKChhG9bg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 152), (*n_2).info);
					if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*v).kind)>>3] &(1U<<((NU)((*v).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
					result = bindOrCheck__EggZoRCGflksdwwfiYwe9bA(c, (*v).sym, arglist);
					goto BeforeRet_;
				}
				goto LA91_;
				LA128_: ;
				LA91_: ;
			}
			LA89_: ;
			{
				NI T140_;
				T140_ = (NI)0;
				T140_ = len__P89cqdlERShb9alU3iC0yj8wast(n_2);
				if (!(plen == T140_)) goto LA141_;
				{
					NI i_6;
					NI colontmp__5;
					NI i_7;
					i_6 = (NI)0;
					colontmp__5 = (NI)0;
					colontmp__5 = len__P89cqdlERShb9alU3iC0yj8wast(p);
					i_7 = ((NI) 0);
					{
						while (1) {
							NI TM__1E9cVLQUjhbw81lEou89bC9bw_44;
							if (!(i_7 < colontmp__5)) goto LA145;
							i_6 = i_7;
							{
								NIM_BOOL T148_;
								if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
								if ((NU)(i_6) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(i_6,((*p).sons ? (*p).sons->Sup.len : 0)-1);
								if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n_2).kind)>>3] &(1U<<((NU)((*n_2).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
								if ((NU)(i_6) >= (NU)((*n_2).sons ? (*n_2).sons->Sup.len : 0)) raiseIndexError2(i_6,((*n_2).sons ? (*n_2).sons->Sup.len : 0)-1);
								T148_ = (NIM_BOOL)0;
								T148_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, (*p).sons->data[i_6], (*n_2).sons->data[i_6]);
								if (!!(T148_)) goto LA149_;
								goto BeforeRet_;
							}
							LA149_: ;
							TM__1E9cVLQUjhbw81lEou89bC9bw_44 = addInt(i_7, ((NI) 1));
							i_7 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_44);
						} LA145: ;
					}
				}
				result = NIM_TRUE;
			}
			LA141_: ;
		}
		break;
		}
	}
	goto LA1_;
	LA76_: ;
	LA1_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matchRange__zDO9bXlOmRuaAEXEFbpxbUQ)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NI i) {	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		NI j;
		NI colontmp_;
		NI i_2;
		j = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(p);
		i_2 = ((NI) 0);
		{
			while (1) {
				NI TM__1E9cVLQUjhbw81lEou89bC9bw_46;
				if (!(i_2 < colontmp_)) goto LA3;
				j = i_2;
				{
					NI TM__1E9cVLQUjhbw81lEou89bC9bw_45;
					NIM_BOOL T6_;
					if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*p).kind)>>3] &(1U<<((NU)((*p).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
					if ((NU)(j) >= (NU)((*p).sons ? (*p).sons->Sup.len : 0)) raiseIndexError2(j,((*p).sons ? (*p).sons->Sup.len : 0)-1);
					if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
					TM__1E9cVLQUjhbw81lEou89bC9bw_45 = addInt(i, j);
					if ((NU)((NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_45)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2((NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_45),((*n).sons ? (*n).sons->Sup.len : 0)-1);
					T6_ = (NIM_BOOL)0;
					T6_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, (*p).sons->data[j], (*n).sons->data[(NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_45)]);
					if (!!(T6_)) goto LA7_;
					unsureAsgnRef((void**) (&(*c).mapping), NIM_NIL);
					(*c).mappingIsFull = NIM_FALSE;
					result = NIM_FALSE;
					goto BeforeRet_;
				}
				LA7_: ;
				TM__1E9cVLQUjhbw81lEou89bC9bw_46 = addInt(i_2, ((NI) 1));
				i_2 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_46);
			} LA3: ;
		}
	}
	result = NIM_TRUE;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, matchStmtList__llKO9cuhE9atweXgNJPGkR9aA)(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug* c, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	{
		NIM_BOOL T3_;
		NIM_BOOL T4_;
		NI T7_;
		NI T8_;
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n_2;
		T3_ = (NIM_BOOL)0;
		T4_ = (NIM_BOOL)0;
		T4_ = ((*p).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115));
		if (!(T4_)) goto LA5_;
		T4_ = ((*n).kind == (*p).kind);
		LA5_: ;
		T3_ = T4_;
		if (!(T3_)) goto LA6_;
		T7_ = (NI)0;
		T7_ = len__P89cqdlERShb9alU3iC0yj8wast(p);
		T8_ = (NI)0;
		T8_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
		T3_ = (T7_ < T8_);
		LA6_: ;
		if (!T3_) goto LA9_;
		n_2 = flattenStmts__qsyX8NJX39ctdwAi4rC8W1g(n);
		{
			NI i;
			NI colontmp_;
			NI T12_;
			NI T13_;
			NI TM__1E9cVLQUjhbw81lEou89bC9bw_16;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			T12_ = (NI)0;
			T12_ = len__P89cqdlERShb9alU3iC0yj8wast(n_2);
			T13_ = (NI)0;
			T13_ = len__P89cqdlERShb9alU3iC0yj8wast(p);
			TM__1E9cVLQUjhbw81lEou89bC9bw_16 = subInt(T12_, T13_);
			colontmp_ = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_16);
			res = ((NI) 0);
			{
				while (1) {
					NI TM__1E9cVLQUjhbw81lEou89bC9bw_52;
					if (!(res <= colontmp_)) goto LA15;
					i = res;
					{
						NIM_BOOL T18_;
						NI TM__1E9cVLQUjhbw81lEou89bC9bw_47;
						NI T21_;
						NI TM__1E9cVLQUjhbw81lEou89bC9bw_48;
						NI TM__1E9cVLQUjhbw81lEou89bC9bw_49;
						NI T22_;
						NI TM__1E9cVLQUjhbw81lEou89bC9bw_50;
						NI T23_;
						NI TM__1E9cVLQUjhbw81lEou89bC9bw_51;
						T18_ = (NIM_BOOL)0;
						T18_ = matchRange__zDO9bXlOmRuaAEXEFbpxbUQ(c, p, n_2, i);
						if (!T18_) goto LA19_;
						(*c).subMatch = NIM_TRUE;
						result = newNodeI__UY1ElYk2XqXDzuz9cGLG1Kw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), (*n_2).info, ((NI) 3));
						if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
						if ((NU)(((NI) 0)) >= (NU)((*result).sons ? (*result).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*result).sons ? (*result).sons->Sup.len : 0)-1);
						TM__1E9cVLQUjhbw81lEou89bC9bw_47 = subInt(i, ((NI) 1));
						asgnRef((void**) (&(*result).sons->data[((NI) 0)]), extractRange__O5NwuGwzV0TTJrU6OP82MA(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), n_2, ((NI) 0), (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_47)));
						if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
						if ((NU)(((NI) 1)) >= (NU)((*result).sons ? (*result).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*result).sons ? (*result).sons->Sup.len : 0)-1);
						T21_ = (NI)0;
						T21_ = len__P89cqdlERShb9alU3iC0yj8wast(p);
						TM__1E9cVLQUjhbw81lEou89bC9bw_48 = addInt(i, T21_);
						TM__1E9cVLQUjhbw81lEou89bC9bw_49 = subInt((NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_48), ((NI) 1));
						asgnRef((void**) (&(*result).sons->data[((NI) 1)]), extractRange__O5NwuGwzV0TTJrU6OP82MA(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), n_2, i, (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_49)));
						if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
						if ((NU)(((NI) 2)) >= (NU)((*result).sons ? (*result).sons->Sup.len : 0)) raiseIndexError2(((NI) 2),((*result).sons ? (*result).sons->Sup.len : 0)-1);
						T22_ = (NI)0;
						T22_ = len__P89cqdlERShb9alU3iC0yj8wast(p);
						TM__1E9cVLQUjhbw81lEou89bC9bw_50 = addInt(i, T22_);
						T23_ = (NI)0;
						T23_ = len__P89cqdlERShb9alU3iC0yj8wast(n_2);
						TM__1E9cVLQUjhbw81lEou89bC9bw_51 = subInt(T23_, ((NI) 1));
						asgnRef((void**) (&(*result).sons->data[((NI) 2)]), extractRange__O5NwuGwzV0TTJrU6OP82MA(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), n_2, (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_50), (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_51)));
						goto LA11;
					}
					LA19_: ;
					TM__1E9cVLQUjhbw81lEou89bC9bw_52 = addInt(res, ((NI) 1));
					res = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_52);
				} LA15: ;
			}
		} LA11: ;
	}
	goto LA1_;
	LA9_: ;
	{
		NIM_BOOL T25_;
		T25_ = (NIM_BOOL)0;
		T25_ = matches__VCMdmeXpaOrMqkuJKekVZA(c, p, n);
		if (!T25_) goto LA26_;
		result = n;
	}
	goto LA1_;
	LA26_: ;
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, aliasAnalysisRequested__co9c7sX4I476xaGoQogC7rg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params) {	NIM_BOOL result;
{	result = (NIM_BOOL)0;
	{
		NI T3_;
		T3_ = (NI)0;
		T3_ = len__P89cqdlERShb9alU3iC0yj8wast(params);
		if (!(((NI) 2) <= T3_)) goto LA4_;
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(params);
			i_2 = ((NI) 1);
			{
				while (1) {
					tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* param;
					NI TM__1E9cVLQUjhbw81lEou89bC9bw_53;
					if (!(i_2 < colontmp_)) goto LA8;
					i = i_2;
					if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*params).kind)>>3] &(1U<<((NU)((*params).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
					if ((NU)(i) >= (NU)((*params).sons ? (*params).sons->Sup.len : 0)) raiseIndexError2(i,((*params).sons ? (*params).sons->Sup.len : 0)-1);
					if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*(*params).sons->data[i]).kind)>>3] &(1U<<((NU)((*(*params).sons->data[i]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
					param = (*(*params).sons->data[i]).sym;
					{
						tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw T11_;
						T11_ = (tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw)0;
						T11_ = whichAlias__L77p3t6SRXEDQrcmQOzgoA(param);
						if (!!((T11_ == ((tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw) 1)))) goto LA12_;
						result = NIM_TRUE;
						goto BeforeRet_;
					}
					LA12_: ;
					TM__1E9cVLQUjhbw81lEou89bC9bw_53 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_53);
				} LA8: ;
			}
		}
	}
	LA4_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, addToArgList__N38fiGJFfq6fioT9cxSBDqw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = !(((*n).typ == NIM_NIL));
		if (!(T3_)) goto LA4_;
		T3_ = !(((*(*n).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 7)));
		LA4_: ;
		if (!T3_) goto LA5_;
		{
			if (!!(((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 152)))) goto LA9_;
			add__P8dDSotTW25BkfbyspojGg(result, n);
		}
		goto LA7_;
		LA9_: ;
		{
			{
				NI i;
				NI colontmp_;
				NI i_2;
				i = (NI)0;
				colontmp_ = (NI)0;
				colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
				i_2 = ((NI) 0);
				{
					while (1) {
						NI TM__1E9cVLQUjhbw81lEou89bC9bw_54;
						if (!(i_2 < colontmp_)) goto LA14;
						i = i_2;
						if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						add__P8dDSotTW25BkfbyspojGg(result, (*n).sons->data[i]);
						TM__1E9cVLQUjhbw81lEou89bC9bw_54 = addInt(i_2, ((NI) 1));
						i_2 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_54);
					} LA14: ;
				}
			}
		}
		LA7_: ;
	}
	LA5_: ;
}
static N_INLINE(NI, safeLen__P89cqdlERShb9alU3iC0yj8w_2ast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NI result;
	result = (NI)0;
	{
		if (!((*n).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 0) && (*n).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23))) goto LA3_;
		result = ((NI) 0);
	}
	goto LA1_;
	LA3_: ;
	{
		result = len__P89cqdlERShb9alU3iC0yj8wast(n);
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, applyRule__ZQ863YHaqTVgTAf1B1grTA)(tyObject_TContext__C9bB2okDBl3OKGUBiY5k5Ug* c, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
	tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug ctx;
	NI T1_;
	NI TM__1E9cVLQUjhbw81lEou89bC9bw_15;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* m;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T6_;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params;
	NIM_BOOL requiresAA;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* args;
{	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	nimZeroMem((void*)(&ctx), sizeof(tyObject_TPatternContext__ArP5wLemitHqyeu50ovXug));
	ctx.owner = s;
	ctx.c = c;
	T1_ = (NI)0;
	T1_ = len__5mJADrRYkP3r9auuiuDZN9cQast((*s).typ);
	TM__1E9cVLQUjhbw81lEou89bC9bw_15 = subInt(T1_, ((NI) 1));
	ctx.formals = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_15);
	if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*(*s).ast).kind)>>3] &(1U<<((NU)((*(*s).ast).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
	if ((NU)(((NI) 1)) >= (NU)((*(*s).ast).sons ? (*(*s).ast).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*(*s).ast).sons ? (*(*s).ast).sons->Sup.len : 0)-1);
	m = matchStmtList__llKO9cuhE9atweXgNJPGkR9aA((&ctx), (*(*s).ast).sons->data[((NI) 1)], n);
	{
		if (!(m == 0)) goto LA4_;
		result = NIM_NIL;
		goto BeforeRet_;
	}
	LA4_: ;
	result = newNodeI__vokyXY9cZDshCSxFKChhG9bg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 27), (*n).info);
	T6_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	T6_ = newSymNode__AFd9c9cdRrILXl9anrr9aRvqig(s, (*n).info);
	add__P8dDSotTW25BkfbyspojGg(result, T6_);
	params = (*(*s).typ).n;
	requiresAA = aliasAnalysisRequested__co9c7sX4I476xaGoQogC7rg(params);
	args = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	{
		if (!requiresAA) goto LA9_;
		args = newNodeI__vokyXY9cZDshCSxFKChhG9bg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 152), (*n).info);
	}
	LA9_: ;
	{
		NI i;
		NI colontmp_;
		NI i_2;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(params);
		i_2 = ((NI) 1);
		{
			while (1) {
				tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* param;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x;
				NI TM__1E9cVLQUjhbw81lEou89bC9bw_55;
				if (!(i_2 < colontmp_)) goto LA13;
				i = i_2;
				if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*params).kind)>>3] &(1U<<((NU)((*params).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
				if ((NU)(i) >= (NU)((*params).sons ? (*params).sons->Sup.len : 0)) raiseIndexError2(i,((*params).sons ? (*params).sons->Sup.len : 0)-1);
				if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*(*params).sons->data[i]).kind)>>3] &(1U<<((NU)((*(*params).sons->data[i]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
				param = (*(*params).sons->data[i]).sym;
				x = getLazy__FU9acfxkarDB7e64PCbzQPw((&ctx), param);
				{
					if (!(x == 0)) goto LA16_;
					result = NIM_NIL;
					goto BeforeRet_;
				}
				LA16_: ;
				add__P8dDSotTW25BkfbyspojGg(result, x);
				{
					if (!requiresAA) goto LA20_;
					addToArgList__N38fiGJFfq6fioT9cxSBDqw(args, x);
				}
				LA20_: ;
				TM__1E9cVLQUjhbw81lEou89bC9bw_55 = addInt(i_2, ((NI) 1));
				i_2 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_55);
			} LA13: ;
		}
	}
	{
		if (!requiresAA) goto LA24_;
		{
			NI i_3;
			NI colontmp__2;
			NI i_4;
			i_3 = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = len__P89cqdlERShb9alU3iC0yj8wast(params);
			i_4 = ((NI) 1);
			{
				while (1) {
					tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* rs;
					tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* param_2;
					tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw T29_;
					NI TM__1E9cVLQUjhbw81lEou89bC9bw_58;
					if (!(i_4 < colontmp__2)) goto LA28;
					i_3 = i_4;
					if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
					if ((NU)(i_3) >= (NU)((*result).sons ? (*result).sons->Sup.len : 0)) raiseIndexError2(i_3,((*result).sons ? (*result).sons->Sup.len : 0)-1);
					rs = (*result).sons->data[i_3];
					if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*params).kind)>>3] &(1U<<((NU)((*params).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
					if ((NU)(i_3) >= (NU)((*params).sons ? (*params).sons->Sup.len : 0)) raiseIndexError2(i_3,((*params).sons ? (*params).sons->Sup.len : 0)-1);
					if (!(((TM__1E9cVLQUjhbw81lEou89bC9bw_2[(NU)((*(*params).sons->data[i_3]).kind)>>3] &(1U<<((NU)((*(*params).sons->data[i_3]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_3));
					param_2 = (*(*params).sons->data[i_3]).sym;
					T29_ = (tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw)0;
					T29_ = whichAlias__L77p3t6SRXEDQrcmQOzgoA(param_2);
					switch (T29_) {
					case ((tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw) 1):
					{
					}
					break;
					case ((tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw) 2):
					{
						NIM_BOOL ok;
						ok = NIM_FALSE;
						{
							tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* arg;
							arg = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
							{
								NI i_5;
								NI colontmp__3;
								NI i_6;
								i_5 = (NI)0;
								colontmp__3 = (NI)0;
								colontmp__3 = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(args);
								i_6 = ((NI) 0);
								{
									while (1) {
										NI TM__1E9cVLQUjhbw81lEou89bC9bw_56;
										if (!(i_6 < colontmp__3)) goto LA35;
										i_5 = i_6;
										if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*args).kind)>>3] &(1U<<((NU)((*args).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
										if ((NU)(i_5) >= (NU)((*args).sons ? (*args).sons->Sup.len : 0)) raiseIndexError2(i_5,((*args).sons ? (*args).sons->Sup.len : 0)-1);
										arg = (*args).sons->data[i_5];
										{
											NIM_BOOL T38_;
											tyEnum_TAnalysisResult__p9a9bcrXoRmLT4eUuwrDq9b4w T40_;
											T38_ = (NIM_BOOL)0;
											T38_ = !((arg == rs));
											if (!(T38_)) goto LA39_;
											T40_ = (tyEnum_TAnalysisResult__p9a9bcrXoRmLT4eUuwrDq9b4w)0;
											T40_ = isPartOf__1otDDZAmvFsmbqPyFytXFg(rs, arg);
											T38_ = (T40_ == ((tyEnum_TAnalysisResult__p9a9bcrXoRmLT4eUuwrDq9b4w) 2));
											LA39_: ;
											if (!T38_) goto LA41_;
											ok = NIM_TRUE;
											goto LA32;
										}
										LA41_: ;
										TM__1E9cVLQUjhbw81lEou89bC9bw_56 = addInt(i_6, ((NI) 1));
										i_6 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_56);
									} LA35: ;
								}
							}
						} LA32: ;
						{
							if (!!(ok)) goto LA45_;
							result = NIM_NIL;
							goto BeforeRet_;
						}
						LA45_: ;
					}
					break;
					case ((tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw) 3):
					{
						NIM_BOOL ok_2;
						ok_2 = NIM_TRUE;
						{
							tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* arg_2;
							arg_2 = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
							{
								NI i_7;
								NI colontmp__4;
								NI i_8;
								i_7 = (NI)0;
								colontmp__4 = (NI)0;
								colontmp__4 = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(args);
								i_8 = ((NI) 0);
								{
									while (1) {
										NI TM__1E9cVLQUjhbw81lEou89bC9bw_57;
										if (!(i_8 < colontmp__4)) goto LA51;
										i_7 = i_8;
										if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*args).kind)>>3] &(1U<<((NU)((*args).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
										if ((NU)(i_7) >= (NU)((*args).sons ? (*args).sons->Sup.len : 0)) raiseIndexError2(i_7,((*args).sons ? (*args).sons->Sup.len : 0)-1);
										arg_2 = (*args).sons->data[i_7];
										{
											NIM_BOOL T54_;
											tyEnum_TAnalysisResult__p9a9bcrXoRmLT4eUuwrDq9b4w T56_;
											T54_ = (NIM_BOOL)0;
											T54_ = !((arg_2 == rs));
											if (!(T54_)) goto LA55_;
											T56_ = (tyEnum_TAnalysisResult__p9a9bcrXoRmLT4eUuwrDq9b4w)0;
											T56_ = isPartOf__1otDDZAmvFsmbqPyFytXFg(rs, arg_2);
											T54_ = !((T56_ == ((tyEnum_TAnalysisResult__p9a9bcrXoRmLT4eUuwrDq9b4w) 0)));
											LA55_: ;
											if (!T54_) goto LA57_;
											ok_2 = NIM_FALSE;
											goto LA48;
										}
										LA57_: ;
										TM__1E9cVLQUjhbw81lEou89bC9bw_57 = addInt(i_8, ((NI) 1));
										i_8 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_57);
									} LA51: ;
								}
							}
						} LA48: ;
						{
							if (!!(ok_2)) goto LA61_;
							result = NIM_NIL;
							goto BeforeRet_;
						}
						LA61_: ;
					}
					break;
					}
					TM__1E9cVLQUjhbw81lEou89bC9bw_58 = addInt(i_4, ((NI) 1));
					i_4 = (NI)(TM__1E9cVLQUjhbw81lEou89bC9bw_58);
				} LA28: ;
			}
		}
	}
	LA24_: ;
	markUsed__QlWTWY7567sCdiTkeUTTDA(c, (*n).info, s);
	{
		if (!ctx.subMatch) goto LA65_;
		{
			NI T69_;
			T69_ = (NI)0;
			T69_ = len__P89cqdlERShb9alU3iC0yj8wast(m);
			if (!!((T69_ == ((NI) 3)))) goto LA70_;
			failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_59));
		}
		LA70_: ;
		if (((TM__1E9cVLQUjhbw81lEou89bC9bw_12[(NU)((*m).kind)>>3] &(1U<<((NU)((*m).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__1E9cVLQUjhbw81lEou89bC9bw_13));
		if ((NU)(((NI) 1)) >= (NU)((*m).sons ? (*m).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*m).sons ? (*m).sons->Sup.len : 0)-1);
		asgnRef((void**) (&(*m).sons->data[((NI) 1)]), result);
		result = m;
	}
	LA65_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, compiler_patternsDatInit000)(void) {
static TNimNode* TM__1E9cVLQUjhbw81lEou89bC9bw_23_2[2];
static TNimNode TM__1E9cVLQUjhbw81lEou89bC9bw_0[3];
NTI__Xh1xyqut9c5SpoexuHpe1cA_.size = sizeof(tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA);
NTI__Xh1xyqut9c5SpoexuHpe1cA_.kind = 17;
NTI__Xh1xyqut9c5SpoexuHpe1cA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
TM__1E9cVLQUjhbw81lEou89bC9bw_23_2[0] = &TM__1E9cVLQUjhbw81lEou89bC9bw_0[1];
TM__1E9cVLQUjhbw81lEou89bC9bw_0[1].kind = 1;
TM__1E9cVLQUjhbw81lEou89bC9bw_0[1].offset = offsetof(tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA, colonstate_);
TM__1E9cVLQUjhbw81lEou89bC9bw_0[1].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__1E9cVLQUjhbw81lEou89bC9bw_0[1].name = ":state";
TM__1E9cVLQUjhbw81lEou89bC9bw_23_2[1] = &TM__1E9cVLQUjhbw81lEou89bC9bw_0[2];
TM__1E9cVLQUjhbw81lEou89bC9bw_0[2].kind = 1;
TM__1E9cVLQUjhbw81lEou89bC9bw_0[2].offset = offsetof(tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA, p1);
TM__1E9cVLQUjhbw81lEou89bC9bw_0[2].typ = (&NTI__fKfcLzXYiz5jNu3NH3Tv8Q_);
TM__1E9cVLQUjhbw81lEou89bC9bw_0[2].name = "p1";
TM__1E9cVLQUjhbw81lEou89bC9bw_0[0].len = 2; TM__1E9cVLQUjhbw81lEou89bC9bw_0[0].kind = 2; TM__1E9cVLQUjhbw81lEou89bC9bw_0[0].sons = &TM__1E9cVLQUjhbw81lEou89bC9bw_23_2[0];
NTI__Xh1xyqut9c5SpoexuHpe1cA_.node = &TM__1E9cVLQUjhbw81lEou89bC9bw_0[0];
NTI__f8BYBSBvMbiUufOu8OteAA_.size = sizeof(tyObject_Env_patternsdotnim___Xh1xyqut9c5SpoexuHpe1cA*);
NTI__f8BYBSBvMbiUufOu8OteAA_.kind = 22;
NTI__f8BYBSBvMbiUufOu8OteAA_.base = (&NTI__Xh1xyqut9c5SpoexuHpe1cA_);
NTI__f8BYBSBvMbiUufOu8OteAA_.marker = Marker_tyRef__f8BYBSBvMbiUufOu8OteAA;
}

