/* Generated by Nim Compiler v1.3.5 */
/*   (c) 2020 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_INTBITS 64

/* section: NIM_merge_HEADERS */

#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

/* section: NIM_merge_FRAME_DEFINES */
#define nimfr_(x, y)
#define nimln_(x, y)

/* section: NIM_merge_FORWARD_TYPES */
typedef struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
typedef struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q;
typedef struct tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w;
typedef struct tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA;
typedef struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ;
typedef struct tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA;
typedef struct RootObj RootObj;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tySequence__Ef05srmQTDulnBdXR4Ja6Q tySequence__Ef05srmQTDulnBdXR4Ja6Q;
typedef struct tySequence__DXS6mEo7PVUFJkirsQ9bNQA tySequence__DXS6mEo7PVUFJkirsQ9bNQA;
typedef struct tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA;
typedef struct tySequence__DfgJFJEYoj4YBAHLZPl5lQ tySequence__DfgJFJEYoj4YBAHLZPl5lQ;
typedef struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA;
typedef struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA;
typedef struct tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA;
typedef struct tySequence__MvZmat48bhe9b6x9aUD58D5Q tySequence__MvZmat48bhe9b6x9aUD58D5Q;
typedef struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw;
typedef struct tyTuple__kN8up2W6YKc5YA9avn5mV5w tyTuple__kN8up2W6YKc5YA9avn5mV5w;
typedef struct tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA;
typedef struct tyTuple__zwpS6d6iewrdlBSTNFoyVA tyTuple__zwpS6d6iewrdlBSTNFoyVA;

/* section: NIM_merge_TYPES */
typedef NIM_BOOL tyArray__zl3qUQvo0CT9bJi9b5H7mRkw[65];
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q {
NU16 line;
NI16 col;
NI32 fileIndex;
};
typedef NU32 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
typedef NU8 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw;
struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw {
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg flags;
tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind;
union{
struct {NI64 intVal;
} _kind_1;
struct {NF floatVal;
} _kind_2;
struct {NimStringDesc* strVal;
} _kind_3;
struct {tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym;
} _kind_4;
struct {tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* ident;
} _kind_5;
struct {tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
} _kind_6;
};
NimStringDesc* comment;
};
typedef NU8 tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA;
typedef NU8 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {
NI size;
NI align;
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
};
struct RootObj {
TNimType* m_type;
};
struct tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA {
  RootObj Sup;
NI id;
};
struct tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA {
NI counter;
tySequence__DfgJFJEYoj4YBAHLZPl5lQ* data;
};
typedef NU16 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg;
typedef NU64 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
typedef NU32 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg;
typedef NU8 tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg;
typedef NU8 tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw;
typedef NU16 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA;
struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA {
tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg k;
tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw storage;
tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA flags;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* lode;
tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* r;
};
struct tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w {
  tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA Sup;
tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind;
union{
struct {tySequence__Ef05srmQTDulnBdXR4Ja6Q* typeInstCache;
} _kind_1;
struct {tySequence__DXS6mEo7PVUFJkirsQ9bNQA* procInstCache;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* gcUnsafetyReason;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* transformedBody;
} _kind_2;
struct {tySequence__DXS6mEo7PVUFJkirsQ9bNQA* usedGenerics;
tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab;
} _kind_3;
struct {tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* guard;
NI bitsize;
NI alignment;
} _kind_4;
};
tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg magic;
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* name;
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* owner;
tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flags;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
NI position;
NI offset;
tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* annex;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* constraint;
};
typedef NU8 tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag;
typedef NU8 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag;
typedef NU8 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA;
typedef NU64 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
typedef tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* tyArray__PsPyPA45AAjHu4uDGHNjTg[6];
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 NU32 tySet_tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
typedef NU8 tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
typedef NU64 tySet_tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag;
typedef NU8 tyEnum_TDistinctCompare__9bNKHGs63atuMFXnAleTveg;
typedef NU8 tySet_tyEnum_TTypeCmpFlag__72pgRXSg7774cr9aCWVPORw;
typedef NU8 tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw;
typedef NU8 tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
typedef NU8 tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w;
typedef NU8 tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw;
struct tyTuple__kN8up2W6YKc5YA9avn5mV5w {
NimStringDesc* Field0;
NI Field1;
NI Field2;
};
typedef NU16 tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw;
struct tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA {
  tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA Sup;
NimStringDesc* s;
tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* next;
NI h;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
typedef NU8 tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw;
struct tyTuple__zwpS6d6iewrdlBSTNFoyVA {
NI Field0;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* Field1;
};

/* section: NIM_merge_SEQ_TYPES */
struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ {
  TGenericSeq Sup;
  tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
};
struct tySequence__Ef05srmQTDulnBdXR4Ja6Q {
  TGenericSeq Sup;
  tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* data[SEQ_DECL_SIZE];
};
struct tySequence__DXS6mEo7PVUFJkirsQ9bNQA {
  TGenericSeq Sup;
  tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA* data[SEQ_DECL_SIZE];
};
struct tySequence__DfgJFJEYoj4YBAHLZPl5lQ {
  TGenericSeq Sup;
  tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* data[SEQ_DECL_SIZE];
};
struct tySequence__MvZmat48bhe9b6x9aUD58D5Q {
  TGenericSeq Sup;
  tyTuple__zwpS6d6iewrdlBSTNFoyVA data[SEQ_DECL_SIZE];
};

/* section: NIM_merge_PROC_HEADERS */
static N_INLINE(NIM_BOOL, isAtom__ORlI8o1EUYdPqjuTcBWx1Aast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag, isAssignable__H8ClJSBthN45fIRKmjWHMQ)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* owner, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL isUnsafeAddr);
N_LIB_PRIVATE N_NIMCALL(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*, skipTypes__zsqmUNR5OZrTUna0Y9bdu9bg)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t, tySet_tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kinds);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, compareTypes__oyXq5u7iL4RjsT9bovvTE9cg)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* x, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* y, tyEnum_TDistinctCompare__9bNKHGs63atuMFXnAleTveg cmp, tySet_tyEnum_TTypeCmpFlag__72pgRXSg7774cr9aCWVPORw flags);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg, getMagic__4W1ZJaFiusqlhViRx9cbM9bw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* op);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, lastSon__UPSW0jLTX5qJL51YMUAHgw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void);
N_LIB_PRIVATE N_NIMCALL(tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw, checkForSideEffects__apZ9c8Nt8WLADYEdQq9beFoA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
static N_INLINE(NIM_BOOL, isRoutine__Ye2MiAptq3GrXxTQeyXNeAast)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s);
static N_INLINE(NI, len__P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeI__vokyXY9cZDshCSxFKChhG9bg)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(void, compileConstraints__ei3y5Hkw3H4CU1JGiutKlw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, NimStringDesc** result, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(void, patternError__5Tflpt1vZ7YgBe0KNn4aLw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NOINLINE(void, liMessage__Q6JNH4uRwLyZrj0dJakHew)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w msg, NimStringDesc* arg, tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw eh, tyTuple__kN8up2W6YKc5YA9avn5mV5w info2, NIM_BOOL isRaw);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, renderTree__ppjdh9aQ5L0SGPF8yz1gZ9cA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw renderFlags);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
static N_INLINE(void, add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns)(NimStringDesc** code, tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA op);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuNormalize)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(NI, hashString)(NimStringDesc* s);
static N_INLINE(NimStringDesc*, toFileLineCol__fTQr4TRmeNwYlKvcPy3kYAmsgs)(tyTuple__kN8up2W6YKc5YA9avn5mV5w info);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_LIB_PRIVATE N_NIMCALL(void, addInt__mftMOxbyu0h4yByfs3sqjA)(NimStringDesc** result, NI64 x);
N_LIB_PRIVATE N_NIMCALL(void, internalErrorImpl__PTSwZ6HM9bGBf7vF9cnDmwVw)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* errMsg, tyTuple__kN8up2W6YKc5YA9avn5mV5w info2);
N_LIB_PRIVATE N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr__iGg0RIKceRvsmvq8FUHOEw)(NimStringDesc* s, NI first);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);

/* section: NIM_merge_DATA */
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_2, "illformed AST: ", 15);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_4, "D:\\a\\nim4py\\nim4py\\Nim\\compiler\\parampatterns.nim", 49);
static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__kdeXVhLeMhTeIyOxnAjnxA_3 = {((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_4),
((NI) 46),
((NI) 12)}
;
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_5, "|", 1);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_6, "&", 1);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_7, "~", 1);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_8, "atom", 4);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_9, "lit", 3);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_10, "sym", 3);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_11, "ident", 5);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_12, "call", 4);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_13, "alias", 5);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_14, "noalias", 7);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_15, "lvalue", 6);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_16, "local", 5);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_17, "sideeffect", 10);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_18, "nosideeffect", 12);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_19, "(", 1);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_20, ", ", 2);
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_21, ")", 1);
static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__kdeXVhLeMhTeIyOxnAjnxA_22 = {((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_4),
((NI) 101),
((NI) 21)}
;
static NIM_CONST tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q TM__kdeXVhLeMhTeIyOxnAjnxA_23 = {((NU16) 0), ((NI16) -1), ((NI32) -1)}
;
extern TNimType NTI__cNCW9acsSznmEccl1fgQwkw_;
static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__kdeXVhLeMhTeIyOxnAjnxA_24 = {((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_4),
((NI) 108),
((NI) 21)}
;
extern TNimType NTI__G4E4Gxe7oI2Cm03rkiOzQw_;
STRING_LITERAL(TM__kdeXVhLeMhTeIyOxnAjnxA_25, "parameter pattern too complex", 29);
static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__kdeXVhLeMhTeIyOxnAjnxA_26 = {((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_4),
((NI) 128),
((NI) 19)}
;

/* section: NIM_merge_VARS */
extern NIM_BOOL nimInErrorMode__759bT87luu8XGcbkw13FUjA;

/* section: NIM_merge_PROCS */
static N_INLINE(NIM_BOOL, isAtom__ORlI8o1EUYdPqjuTcBWx1Aast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
	NIM_BOOL result;
	NIM_BOOL T1_;
	result = (NIM_BOOL)0;
	T1_ = (NIM_BOOL)0;
	T1_ = (((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 0) <= (*n).kind);
	if (!(T1_)) goto LA2_;
	T1_ = ((*n).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
	LA2_: ;
	result = T1_;
	return result;
}
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) {
	NIM_BOOL* result;
	result = (NIM_BOOL*)0;
	result = (&nimInErrorMode__759bT87luu8XGcbkw13FUjA);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag, isAssignable__H8ClJSBthN45fIRKmjWHMQ)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* owner, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL isUnsafeAddr) {
	tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag)0;
	result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 0);
	switch ((*n).kind) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1):
	{
		{
			NIM_BOOL T4_;
			T4_ = (NIM_BOOL)0;
			T4_ = !(((*n).typ == NIM_NIL));
			if (!(T4_)) goto LA5_;
			T4_ = ((8388608 &((NU64)1<<((NU)((*(*n).typ).kind)&63U)))!=0);
			LA5_: ;
			if (!T4_) goto LA6_;
			result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		LA6_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
	{
		tySet_tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kinds;
		{
			if (!isUnsafeAddr) goto LA11_;
			kinds = 2100008;
		}
		goto LA9_;
		LA11_: ;
		{
			kinds = 2336;
		}
		LA9_: ;
		{
			NIM_BOOL T16_;
			T16_ = (NIM_BOOL)0;
			T16_ = ((*(*n)._kind_4.sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 3));
			if (!(T16_)) goto LA17_;
			T16_ = ((IL64(70368752566272) &((NU64)1<<((NU)((*(*(*n)._kind_4.sym).typ).kind)&63U)))!=0);
			LA17_: ;
			if (!T16_) goto LA18_;
			result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA14_;
		LA18_: ;
		{
			NIM_BOOL T21_;
			T21_ = (NIM_BOOL)0;
			T21_ = isUnsafeAddr;
			if (!(T21_)) goto LA22_;
			T21_ = ((*(*n)._kind_4.sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 3));
			LA22_: ;
			if (!T21_) goto LA23_;
			result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA14_;
		LA23_: ;
		{
			if (!((kinds &(1U<<((NU)((*(*n)._kind_4.sym).kind)&31U)))!=0)) goto LA26_;
			{
				NIM_BOOL T30_;
				NIM_BOOL T31_;
				T30_ = (NIM_BOOL)0;
				T31_ = (NIM_BOOL)0;
				T31_ = !((owner == NIM_NIL));
				if (!(T31_)) goto LA32_;
				T31_ = (owner == (*(*n)._kind_4.sym).owner);
				LA32_: ;
				T30_ = T31_;
				if (!(T30_)) goto LA33_;
				T30_ = !((((*(*n)._kind_4.sym).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 3))&63U)))!=0));
				LA33_: ;
				if (!T30_) goto LA34_;
				result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 2);
			}
			goto LA28_;
			LA34_: ;
			{
				result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
			}
			LA28_: ;
		}
		goto LA14_;
		LA26_: ;
		{
			tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t;
			if (!((*(*n)._kind_4.sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7))) goto LA38_;
			t = skipTypes__zsqmUNR5OZrTUna0Y9bdu9bg((*(*n)._kind_4.sym).typ, 256);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			{
				if (!((8388608 &((NU64)1<<((NU)((*t).kind)&63U)))!=0)) goto LA42_;
				result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 5);
			}
			LA42_: ;
		}
		goto LA14_;
		LA38_: ;
		LA14_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 45):
	{
		tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t_2;
		t_2 = skipTypes__zsqmUNR5OZrTUna0Y9bdu9bg((*(*n)._kind_6.sons->data[((NI) 0)]).typ, IL64(36134350135273488));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		{
			if (!((IL64(70368758857728) &((NU64)1<<((NU)((*t_2).kind)&63U)))!=0)) goto LA47_;
			result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA45_;
		LA47_: ;
		{
			NIM_BOOL T50_;
			T50_ = (NIM_BOOL)0;
			T50_ = isUnsafeAddr;
			if (!(T50_)) goto LA51_;
			T50_ = ((*t_2).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 47));
			LA51_: ;
			if (!T50_) goto LA52_;
			result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA45_;
		LA52_: ;
		{
			result = isAssignable__H8ClJSBthN45fIRKmjWHMQ(owner, (*n)._kind_6.sons->data[((NI) 0)], isUnsafeAddr);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA45_: ;
		{
			NIM_BOOL T57_;
			NIM_BOOL T58_;
			T57_ = (NIM_BOOL)0;
			T58_ = (NIM_BOOL)0;
			T58_ = !((result == ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 0)));
			if (!(T58_)) goto LA59_;
			T58_ = ((*(*n)._kind_6.sons->data[((NI) 1)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
			LA59_: ;
			T57_ = T58_;
			if (!(T57_)) goto LA60_;
			T57_ = (((*(*(*n)._kind_6.sons->data[((NI) 1)])._kind_4.sym).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 20))&63U)))!=0);
			LA60_: ;
			if (!T57_) goto LA61_;
			result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 3);
		}
		LA61_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 42):
	{
		tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* t_3;
		t_3 = skipTypes__zsqmUNR5OZrTUna0Y9bdu9bg((*(*n)._kind_6.sons->data[((NI) 0)]).typ, IL64(36134350135273488));
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		{
			if (!((IL64(70368758857728) &((NU64)1<<((NU)((*t_3).kind)&63U)))!=0)) goto LA66_;
			result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA64_;
		LA66_: ;
		{
			NIM_BOOL T69_;
			T69_ = (NIM_BOOL)0;
			T69_ = isUnsafeAddr;
			if (!(T69_)) goto LA70_;
			T69_ = ((*t_3).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 47));
			LA70_: ;
			if (!T69_) goto LA71_;
			result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA64_;
		LA71_: ;
		{
			result = isAssignable__H8ClJSBthN45fIRKmjWHMQ(owner, (*n)._kind_6.sons->data[((NI) 0)], isUnsafeAddr);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA64_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 58):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 59):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 60):
	{
		{
			tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T77_;
			T77_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
			T77_ = skipTypes__zsqmUNR5OZrTUna0Y9bdu9bg((*n).typ, IL64(36275087638308880));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!((134610944 &((NU64)1<<((NU)((*T77_).kind)&63U)))!=0)) goto LA78_;
			result = isAssignable__H8ClJSBthN45fIRKmjWHMQ(owner, (*n)._kind_6.sons->data[((NI) 1)], isUnsafeAddr);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA75_;
		LA78_: ;
		{
			NIM_BOOL T81_;
			T81_ = (NIM_BOOL)0;
			T81_ = compareTypes__oyXq5u7iL4RjsT9bovvTE9cg((*n).typ, (*(*n)._kind_6.sons->data[((NI) 1)]).typ, ((tyEnum_TDistinctCompare__9bNKHGs63atuMFXnAleTveg) 1), 0);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!T81_) goto LA82_;
			result = isAssignable__H8ClJSBthN45fIRKmjWHMQ(owner, (*n)._kind_6.sons->data[((NI) 1)], isUnsafeAddr);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA75_;
		LA82_: ;
		LA75_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 65):
	{
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n0;
		n0 = (*n)._kind_6.sons->data[((NI) 0)];
		{
			if (!((*(*n0).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 47))) goto LA87_;
			{
				NIM_BOOL T91_;
				NIM_BOOL T93_;
				T91_ = (NIM_BOOL)0;
				T91_ = isUnsafeAddr;
				if (T91_) goto LA92_;
				T93_ = (NIM_BOOL)0;
				T93_ = ((*n0).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
				if (!(T93_)) goto LA94_;
				T93_ = ((*(*n0)._kind_4.sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 11));
				LA94_: ;
				T91_ = T93_;
				LA92_: ;
				if (!T91_) goto LA95_;
				result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
			}
			goto LA89_;
			LA95_: ;
			{
				result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 4);
			}
			LA89_: ;
		}
		goto LA85_;
		LA87_: ;
		{
			result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		LA85_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 47):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 64):
	{
		result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 67):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 66):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 46):
	{
		result = isAssignable__H8ClJSBthN45fIRKmjWHMQ(owner, (*n)._kind_6.sons->data[((NI) 0)], isUnsafeAddr);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32):
	{
		{
			tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg T104_;
			T104_ = (tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg)0;
			T104_ = getMagic__4W1ZJaFiusqlhViRx9cbM9bw(n);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T104_ == ((tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg) 5) || T104_ == ((tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg) 126))) goto LA105_;
			result = isAssignable__H8ClJSBthN45fIRKmjWHMQ(owner, (*n)._kind_6.sons->data[((NI) 1)], isUnsafeAddr);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA102_;
		LA105_: ;
		{
			NIM_BOOL T108_;
			T108_ = (NIM_BOOL)0;
			T108_ = !(((*n).typ == NIM_NIL));
			if (!(T108_)) goto LA109_;
			T108_ = ((8388608 &((NU64)1<<((NU)((*(*n).typ).kind)&63U)))!=0);
			LA109_: ;
			if (!T108_) goto LA110_;
			result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA102_;
		LA110_: ;
		{
			NIM_BOOL T113_;
			NIM_BOOL T114_;
			T113_ = (NIM_BOOL)0;
			T114_ = (NIM_BOOL)0;
			T114_ = isUnsafeAddr;
			if (!(T114_)) goto LA115_;
			T114_ = !(((*n).typ == NIM_NIL));
			LA115_: ;
			T113_ = T114_;
			if (!(T113_)) goto LA116_;
			T113_ = ((*(*n).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 47));
			LA116_: ;
			if (!T113_) goto LA117_;
			result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
		}
		goto LA102_;
		LA117_: ;
		LA102_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 126):
	{
		{
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T124_;
			if (!!(((*n).typ == NIM_NIL))) goto LA122_;
			T124_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			T124_ = lastSon__UPSW0jLTX5qJL51YMUAHgw(n);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			result = isAssignable__H8ClJSBthN45fIRKmjWHMQ(owner, T124_, isUnsafeAddr);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA122_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 143):
	{
		result = ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 1);
	}
	break;
	default:
	{
	}
	break;
	}
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NIM_BOOL, isRoutine__Ye2MiAptq3GrXxTQeyXNeAast)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = ((520192 &(1U<<((NU)((*s).kind)&31U)))!=0);
	return result;
}
static N_INLINE(NI, len__P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
	NI result;
	NI T1_;
	result = (NI)0;
	T1_ = ((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0);
	result = T1_;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw, checkForSideEffects__apZ9c8Nt8WLADYEdQq9beFoA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
	tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw)0;
	switch ((*n).kind) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32):
	{
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* op;
		op = (*n)._kind_6.sons->data[((NI) 0)];
		{
			NIM_BOOL T4_;
			tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s;
			T4_ = (NIM_BOOL)0;
			T4_ = ((*op).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
			if (!(T4_)) goto LA5_;
			T4_ = isRoutine__Ye2MiAptq3GrXxTQeyXNeAast((*op)._kind_4.sym);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			LA5_: ;
			if (!T4_) goto LA6_;
			s = (*op)._kind_4.sym;
			{
				if (!(((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 13))&63U)))!=0)) goto LA10_;
				result = ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 1);
				goto BeforeRet_;
			}
			LA10_: ;
			result = ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 2);
		}
		goto LA2_;
		LA6_: ;
		{
			if (!(((*(*op).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 1))&63U)))!=0)) goto LA13_;
			result = ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 2);
		}
		goto LA2_;
		LA13_: ;
		{
			result = ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 1);
			goto BeforeRet_;
		}
		LA2_: ;
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			i_2 = ((NI) 0);
			{
				while (1) {
					tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw ret;
					if (!(i_2 < colontmp_)) goto LA18;
					i = i_2;
					ret = checkForSideEffects__apZ9c8Nt8WLADYEdQq9beFoA((*n)._kind_6.sons->data[i]);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					{
						if (!(ret == ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 1))) goto LA21_;
						result = ret;
						goto BeforeRet_;
					}
					goto LA19_;
					LA21_: ;
					{
						NIM_BOOL T24_;
						T24_ = (NIM_BOOL)0;
						T24_ = (ret == ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 0));
						if (!(T24_)) goto LA25_;
						T24_ = (result == ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 2));
						LA25_: ;
						if (!T24_) goto LA26_;
						result = ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 0);
					}
					goto LA19_;
					LA26_: ;
					LA19_: ;
					i_2 += ((NI) 1);
				} LA18: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 0) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23):
	{
		result = ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 2);
	}
	break;
	default:
	{
		result = ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 2);
		{
			NI i_3;
			NI colontmp__2;
			NI i_4;
			i_3 = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = len__P89cqdlERShb9alU3iC0yj8wast(n);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			i_4 = ((NI) 0);
			{
				while (1) {
					tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw ret_2;
					if (!(i_4 < colontmp__2)) goto LA32;
					i_3 = i_4;
					ret_2 = checkForSideEffects__apZ9c8Nt8WLADYEdQq9beFoA((*n)._kind_6.sons->data[i_3]);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					{
						if (!(ret_2 == ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 1))) goto LA35_;
						result = ret_2;
						goto BeforeRet_;
					}
					goto LA33_;
					LA35_: ;
					{
						NIM_BOOL T38_;
						T38_ = (NIM_BOOL)0;
						T38_ = (ret_2 == ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 0));
						if (!(T38_)) goto LA39_;
						T38_ = (result == ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 2));
						LA39_: ;
						if (!T38_) goto LA40_;
						result = ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 0);
					}
					goto LA33_;
					LA40_: ;
					LA33_: ;
					i_4 += ((NI) 1);
				} LA32: ;
			}
		}
	}
	break;
	}
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, matchNodeKinds__WRbpWXbxOP9c3ULW5bbDujw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
	NIM_BOOL result;
	tyArray__zl3qUQvo0CT9bJi9b5H7mRkw stack;
	NI sp;
	NimStringDesc* code;
	NI pc;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	stack[(((NI) 0))- 0] = NIM_TRUE;
	sp = ((NI) 1);
	code = (*p)._kind_3.strVal;
	pc = ((NI) 1);
	{
		while (1) {
			switch (((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) (((NU8)(code->data[pc]))))) {
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 1):
			{
				goto LA1;
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 2):
			{
				NIM_BOOL T5_;
				T5_ = (NIM_BOOL)0;
				T5_ = stack[((NI)(sp - ((NI) 1)))- 0];
				if (T5_) goto LA6_;
				T5_ = stack[((NI)(sp - ((NI) 2)))- 0];
				LA6_: ;
				stack[((NI)(sp - ((NI) 2)))- 0] = T5_;
				sp -= ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 3):
			{
				NIM_BOOL T8_;
				T8_ = (NIM_BOOL)0;
				T8_ = stack[((NI)(sp - ((NI) 1)))- 0];
				if (!(T8_)) goto LA9_;
				T8_ = stack[((NI)(sp - ((NI) 2)))- 0];
				LA9_: ;
				stack[((NI)(sp - ((NI) 2)))- 0] = T8_;
				sp -= ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 4):
			{
				stack[((NI)(sp - ((NI) 1)))- 0] = !(stack[((NI)(sp - ((NI) 1)))- 0]);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 5):
			{
				stack[(sp)- 0] = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
				sp += ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 6):
			{
				NIM_BOOL T13_;
				T13_ = (NIM_BOOL)0;
				T13_ = isAtom__ORlI8o1EUYdPqjuTcBWx1Aast(n);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				stack[(sp)- 0] = T13_;
				sp += ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 7):
			{
				stack[(sp)- 0] = ((*n).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) && (*n).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23));
				sp += ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 8):
			{
				stack[(sp)- 0] = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2));
				sp += ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 9):
			{
				stack[(sp)- 0] = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 27) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 29) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 30) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 31) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 28) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32));
				sp += ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 10):
			{
				tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind;
				NIM_BOOL T18_;
				kind = ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) (((NU8)(code->data[(NI)(pc + ((NI) 1))]))));
				T18_ = (NIM_BOOL)0;
				T18_ = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
				if (!(T18_)) goto LA19_;
				T18_ = ((*(*n)._kind_4.sym).kind == kind);
				LA19_: ;
				stack[(sp)- 0] = T18_;
				sp += ((NI) 1);
				pc += ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 11):
			{
				tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind_2;
				kind_2 = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) (((NU8)(code->data[(NI)(pc + ((NI) 1))]))));
				stack[(sp)- 0] = ((*n).kind == kind_2);
				sp += ((NI) 1);
				pc += ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 12):
			{
				tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag T22_;
				T22_ = (tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag)0;
				T22_ = isAssignable__H8ClJSBthN45fIRKmjWHMQ(NIM_NIL, n, NIM_FALSE);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				stack[(sp)- 0] = ((6 &(1U<<((NU)(T22_)&7U)))!=0);
				sp += ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 13):
			{
				tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag T24_;
				T24_ = (tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag)0;
				T24_ = isAssignable__H8ClJSBthN45fIRKmjWHMQ(NIM_NIL, n, NIM_FALSE);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				stack[(sp)- 0] = (T24_ == ((tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag) 2));
				sp += ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 14):
			{
				tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw T26_;
				T26_ = (tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw)0;
				T26_ = checkForSideEffects__apZ9c8Nt8WLADYEdQq9beFoA(n);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				stack[(sp)- 0] = (T26_ == ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 1));
				sp += ((NI) 1);
			}
			break;
			case ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 15):
			{
				tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw T28_;
				T28_ = (tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw)0;
				T28_ = checkForSideEffects__apZ9c8Nt8WLADYEdQq9beFoA(n);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				stack[(sp)- 0] = !((T28_ == ((tyEnum_TSideEffectAnalysis__39b55cGxMJkG5uRuPt6svRw) 1)));
				sp += ((NI) 1);
			}
			break;
			}
			pc += ((NI) 1);
		}
	} LA1: ;
	result = stack[((NI)(sp - ((NI) 1)))- 0];
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isLValue__kCP6QlI8uS4X0pOQUdr7tg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
	NIM_BOOL result;
	tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag T1_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (NIM_BOOL)0;
	T1_ = (tyEnum_TAssignableResult__JFgO3TudAWntzWI8Fmx4Ag)0;
	T1_ = isAssignable__H8ClJSBthN45fIRKmjWHMQ(NIM_NIL, n, NIM_FALSE);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	result = ((38 &(1U<<((NU)(T1_)&7U)))!=0);
	}BeforeRet_: ;
	return result;
}
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = memcpy(dest, source, ((size_t) (size)));
}
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {
	nimCopyMem(dest, source, size);
}
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
	{
		void* T5_;
		void* T6_;
		if (!!((src == NIM_NIL))) goto LA3_;
		T5_ = (void*)0;
		T5_ = ((void*) ((&(*dest).data[(*dest).Sup.len])));
		T6_ = (void*)0;
		T6_ = ((void*) ((*src).data));
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(T5_, T6_, ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
		(*dest).Sup.len += (*src).Sup.len;
	}
	LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, patternError__5Tflpt1vZ7YgBe0KNn4aLw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
	tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T1_;
	NimStringDesc* T2_;
	NimStringDesc* T3_;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	T1_ = (*n).info;
	T2_ = (NimStringDesc*)0;
	T3_ = (NimStringDesc*)0;
	T3_ = renderTree__ppjdh9aQ5L0SGPF8yz1gZ9cA(n, 4);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	T2_ = rawNewString((T3_ ? T3_->Sup.len : 0) + 15);
appendString(T2_, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_2));
appendString(T2_, T3_);
	liMessage__Q6JNH4uRwLyZrj0dJakHew(conf, T1_, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 10), T2_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__kdeXVhLeMhTeIyOxnAjnxA_3, NIM_FALSE);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
}
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__9bGgqEk7RXXl6eqM9c1HdELAsystem)(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__9bGgqEk7RXXl6eqM9c1HdELAsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
		goto BeforeRet_;
	}
	LA3_: ;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(void, add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns)(NimStringDesc** code, tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA op) {
	(*code) = addChar((*code), ((NIM_CHAR) (((NI) (op)))));
}
static N_INLINE(NimStringDesc*, toFileLineCol__fTQr4TRmeNwYlKvcPy3kYAmsgs)(tyTuple__kN8up2W6YKc5YA9avn5mV5w info) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = resizeString(result, (info.Field0 ? info.Field0->Sup.len : 0) + 0);
appendString(result, info.Field0);
	{
		if (!(((NI) 0) < info.Field1)) goto LA3_;
		result = resizeString(result, 1);
appendString(result, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_19));
		addInt__mftMOxbyu0h4yByfs3sqjA((&result), ((NI64) (info.Field1)));
		{
			if (!(((NI) 0) < (NI)(info.Field2 + ((NI) 1)))) goto LA7_;
			result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_20));
			addInt__mftMOxbyu0h4yByfs3sqjA((&result), ((NI64) ((NI)(info.Field2 + ((NI) 1)))));
		}
		LA7_: ;
		result = resizeString(result, 1);
appendString(result, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_21));
	}
	LA3_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, compileConstraints__ei3y5Hkw3H4CU1JGiutKlw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p, NimStringDesc** result, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	switch ((*p).kind) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32):
	{
		tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* op;
		{
			if (!!(((*(*p)._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2)))) goto LA4_;
			patternError__5Tflpt1vZ7YgBe0KNn4aLw((*p)._kind_6.sons->data[((NI) 0)], conf);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			goto BeforeRet_;
		}
		LA4_: ;
		op = (*(*p)._kind_6.sons->data[((NI) 0)])._kind_5.ident;
		{
			NI T8_;
			T8_ = (NI)0;
			T8_ = len__P89cqdlERShb9alU3iC0yj8wast(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T8_ == ((NI) 3))) goto LA9_;
			{
				NIM_BOOL T13_;
				T13_ = (NIM_BOOL)0;
				T13_ = eqStrings((*op).s, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_5));
				if (T13_) goto LA14_;
				T13_ = ((*op).Sup.id == ((NI) 47));
				LA14_: ;
				if (!T13_) goto LA15_;
				compileConstraints__ei3y5Hkw3H4CU1JGiutKlw((*p)._kind_6.sons->data[((NI) 1)], result, conf);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				compileConstraints__ei3y5Hkw3H4CU1JGiutKlw((*p)._kind_6.sons->data[((NI) 2)], result, conf);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 2));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			goto LA11_;
			LA15_: ;
			{
				NIM_BOOL T18_;
				T18_ = (NIM_BOOL)0;
				T18_ = eqStrings((*op).s, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_6));
				if (T18_) goto LA19_;
				T18_ = ((*op).Sup.id == ((NI) 2));
				LA19_: ;
				if (!T18_) goto LA20_;
				compileConstraints__ei3y5Hkw3H4CU1JGiutKlw((*p)._kind_6.sons->data[((NI) 1)], result, conf);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				compileConstraints__ei3y5Hkw3H4CU1JGiutKlw((*p)._kind_6.sons->data[((NI) 2)], result, conf);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 3));
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			goto LA11_;
			LA20_: ;
			{
				patternError__5Tflpt1vZ7YgBe0KNn4aLw(p, conf);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			LA11_: ;
		}
		goto LA6_;
		LA9_: ;
		{
			NIM_BOOL T24_;
			NI T25_;
			NIM_BOOL T27_;
			T24_ = (NIM_BOOL)0;
			T25_ = (NI)0;
			T25_ = len__P89cqdlERShb9alU3iC0yj8wast(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			T24_ = (T25_ == ((NI) 2));
			if (!(T24_)) goto LA26_;
			T27_ = (NIM_BOOL)0;
			T27_ = eqStrings((*op).s, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_7));
			if (T27_) goto LA28_;
			T27_ = ((*op).Sup.id == ((NI) 43));
			LA28_: ;
			T24_ = T27_;
			LA26_: ;
			if (!T24_) goto LA29_;
			compileConstraints__ei3y5Hkw3H4CU1JGiutKlw((*p)._kind_6.sons->data[((NI) 1)], result, conf);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 4));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA6_;
		LA29_: ;
		{
			patternError__5Tflpt1vZ7YgBe0KNn4aLw(p, conf);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA6_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 53):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 37):
	{
		{
			NI T35_;
			T35_ = (NI)0;
			T35_ = len__P89cqdlERShb9alU3iC0yj8wast(p);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			if (!(T35_ == ((NI) 1))) goto LA36_;
			compileConstraints__ei3y5Hkw3H4CU1JGiutKlw((*p)._kind_6.sons->data[((NI) 0)], result, conf);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA33_;
		LA36_: ;
		{
			patternError__5Tflpt1vZ7YgBe0KNn4aLw(p, conf);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA33_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
	{
		NimStringDesc* spec;
		spec = nsuNormalize((*(*p)._kind_5.ident).s);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		switch (hashString(spec) & 15) {
		case 2: 
if (eqStrings(spec, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_18))) goto LA50_;
break;
		case 4: 
if (eqStrings(spec, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_10))) goto LA42_;
if (eqStrings(spec, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_15))) goto LA47_;
if (eqStrings(spec, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_17))) goto LA49_;
break;
		case 6: 
if (eqStrings(spec, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_11))) goto LA43_;
break;
		case 10: 
if (eqStrings(spec, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_14))) goto LA46_;
break;
		case 11: 
if (eqStrings(spec, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_8))) goto LA40_;
break;
		case 12: 
if (eqStrings(spec, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_9))) goto LA41_;
break;
		case 13: 
if (eqStrings(spec, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_12))) goto LA44_;
break;
		case 14: 
if (eqStrings(spec, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_13))) goto LA45_;
if (eqStrings(spec, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_16))) goto LA48_;
break;
		}
		goto LA51_;
		LA40_: ;
		{
			add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 6));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA52_;
		LA41_: ;
		{
			add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 7));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA52_;
		LA42_: ;
		{
			add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 5));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA52_;
		LA43_: ;
		{
			add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 8));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA52_;
		LA44_: ;
		{
			add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 9));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA52_;
		LA45_: ;
		{
			(*result)->data[((NI) 0)] = 2;
		}
		goto LA52_;
		LA46_: ;
		{
			(*result)->data[((NI) 0)] = 3;
		}
		goto LA52_;
		LA47_: ;
		{
			add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 12));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA52_;
		LA48_: ;
		{
			add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 13));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA52_;
		LA49_: ;
		{
			add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 14));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA52_;
		LA50_: ;
		{
			add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 15));
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		goto LA52_;
		LA51_: ;
		{
			{
				NimStringDesc* argX60gensym13_;
				if (!NIM_FALSE) goto LA67_;
				argX60gensym13_ = toFileLineCol__fTQr4TRmeNwYlKvcPy3kYAmsgs(TM__kdeXVhLeMhTeIyOxnAjnxA_22);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				internalErrorImpl__PTSwZ6HM9bGBf7vF9cnDmwVw(conf, TM__kdeXVhLeMhTeIyOxnAjnxA_23, argX60gensym13_, TM__kdeXVhLeMhTeIyOxnAjnxA_22);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			LA67_: ;
			{
				tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw i;
				i = (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)0;
				{
					tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw v;
					NI res;
					v = (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)0;
					res = ((NI) 0);
					{
						while (1) {
							if (!(res <= ((NI) 25))) goto LA72;
							v = ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) (res));
							i = v;
							{
								NimStringDesc* T75_;
								NI T76_;
								T75_ = (NimStringDesc*)0;
								T75_ = substr__iGg0RIKceRvsmvq8FUHOEw(reprEnum((NI)i, (&NTI__cNCW9acsSznmEccl1fgQwkw_)), ((NI) 2));
								T76_ = (NI)0;
								T76_ = nsuCmpIgnoreStyle(T75_, spec);
								if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
								if (!(T76_ == ((NI) 0))) goto LA77_;
								add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 10));
								if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
								(*result) = addChar((*result), ((NIM_CHAR) (((NI) (i)))));
								goto BeforeRet_;
							}
							LA77_: ;
							res += ((NI) 1);
						} LA72: ;
					}
				}
			}
			{
				NimStringDesc* argX60gensym15_;
				if (!NIM_FALSE) goto LA81_;
				argX60gensym15_ = toFileLineCol__fTQr4TRmeNwYlKvcPy3kYAmsgs(TM__kdeXVhLeMhTeIyOxnAjnxA_24);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				internalErrorImpl__PTSwZ6HM9bGBf7vF9cnDmwVw(conf, TM__kdeXVhLeMhTeIyOxnAjnxA_23, argX60gensym15_, TM__kdeXVhLeMhTeIyOxnAjnxA_24);
				if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			}
			LA81_: ;
			{
				tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw i_2;
				i_2 = (tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw)0;
				{
					tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw v_2;
					NI res_2;
					v_2 = (tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw)0;
					res_2 = ((NI) 0);
					{
						while (1) {
							if (!(res_2 <= ((NI) 160))) goto LA86;
							v_2 = ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) (res_2));
							i_2 = v_2;
							{
								NI T89_;
								T89_ = (NI)0;
								T89_ = nsuCmpIgnoreStyle(reprEnum((NI)i_2, (&NTI__G4E4Gxe7oI2Cm03rkiOzQw_)), spec);
								if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
								if (!(T89_ == ((NI) 0))) goto LA90_;
								add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns(result, ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 11));
								if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
								(*result) = addChar((*result), ((NIM_CHAR) (((NI) (i_2)))));
								goto BeforeRet_;
							}
							LA90_: ;
							res_2 += ((NI) 1);
						} LA86: ;
					}
				}
			}
			patternError__5Tflpt1vZ7YgBe0KNn4aLw(p, conf);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA52_: ;
	}
	break;
	default:
	{
		patternError__5Tflpt1vZ7YgBe0KNn4aLw(p, conf);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	break;
	}
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, semNodeKindConstraints__h4580wUcWriTu1bx3JdXfA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NI start) {
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	result = newNodeI__vokyXY9cZDshCSxFKChhG9bg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20), (*n).info);
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	(*result)._kind_3.strVal = rawNewString(((NI) 10));
	(*result)._kind_3.strVal = addChar((*result)._kind_3.strVal, 1);
	{
		NI T3_;
		T3_ = (NI)0;
		T3_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		if (!(((NI) 2) <= T3_)) goto LA4_;
		{
			NI i;
			NI colontmp_;
			NI T7_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			T7_ = (NI)0;
			T7_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
			colontmp_ = ((NI) (T7_));
			i_2 = start;
			{
				while (1) {
					tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T10_;
					if (!(((NI) (i_2)) < ((NI) (colontmp_)))) goto LA9;
					i = i_2;
					T10_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
					T10_ = (*n)._kind_6.sons->data[i];
					compileConstraints__ei3y5Hkw3H4CU1JGiutKlw(T10_, (&(*result)._kind_3.strVal), conf);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					i_2 += ((NI) 1);
				} LA9: ;
			}
		}
		{
			if (!(((NI) 63) < ((*result)._kind_3.strVal ? (*result)._kind_3.strVal->Sup.len : 0))) goto LA13_;
			internalErrorImpl__PTSwZ6HM9bGBf7vF9cnDmwVw(conf, (*n).info, ((NimStringDesc*) &TM__kdeXVhLeMhTeIyOxnAjnxA_25), TM__kdeXVhLeMhTeIyOxnAjnxA_26);
			if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
		}
		LA13_: ;
	}
	goto LA1_;
	LA4_: ;
	{
		patternError__5Tflpt1vZ7YgBe0KNn4aLw(n, conf);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
	LA1_: ;
	add__wJRzZcEmnPNg9a3PLD2A5IAparampatterns((&(*result)._kind_3.strVal), ((tyEnum_TOpcode__cKhgukabZvDBOVLlPOrptA) 1));
	if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw, whichAlias__L77p3t6SRXEDQrcmQOzgoA)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* p) {
	tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw result;
	result = (tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw)0;
	{
		if (!!(((*p).constraint == NIM_NIL))) goto LA3_;
		result = ((tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw) (((NU8)((*(*p).constraint)._kind_3.strVal->data[((NI) 0)]))));
	}
	goto LA1_;
	LA3_: ;
	{
		result = ((tyEnum_TAliasRequest__BbWVl1Ad9ayM74eg8oBpAfw) 1);
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, exprRoot__XD7qSmhHQJchscUPfXW57g)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
	tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it;
NIM_BOOL* nimErr_;
{nimErr_ = nimErrorFlag();
	result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
	it = n;
	{
		while (1) {
			switch ((*it).kind) {
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
			{
				result = (*it)._kind_4.sym;
				goto BeforeRet_;
			}
			break;
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 65):
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 47):
			{
				{
					tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* T7_;
					T7_ = (tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ*)0;
					T7_ = skipTypes__zsqmUNR5OZrTUna0Y9bdu9bg((*(*it)._kind_6.sons->data[((NI) 0)]).typ, IL64(36134350135273744));
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					if (!((6291456 &((NU64)1<<((NU)((*T7_).kind)&63U)))!=0)) goto LA8_;
					goto LA1;
				}
				goto LA5_;
				LA8_: ;
				{
					it = (*it)._kind_6.sons->data[((NI) 0)];
				}
				LA5_: ;
			}
			break;
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 45):
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 42):
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 64):
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 67):
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 66):
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 46):
			{
				it = (*it)._kind_6.sons->data[((NI) 0)];
			}
			break;
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 58):
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 59):
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 60):
			{
				it = (*it)._kind_6.sons->data[((NI) 1)];
			}
			break;
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115):
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 126):
			{
				{
					NIM_BOOL T16_;
					NI T17_;
					T16_ = (NIM_BOOL)0;
					T17_ = (NI)0;
					T17_ = len__P89cqdlERShb9alU3iC0yj8wast(it);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					T16_ = (((NI) 0) < T17_);
					if (!(T16_)) goto LA18_;
					T16_ = !(((*it).typ == NIM_NIL));
					LA18_: ;
					if (!T16_) goto LA19_;
					it = lastSon__UPSW0jLTX5qJL51YMUAHgw(it);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
				}
				goto LA14_;
				LA19_: ;
				{
					goto LA1;
				}
				LA14_: ;
			}
			break;
			case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32):
			{
				{
					NIM_BOOL T25_;
					NIM_BOOL T26_;
					NI T29_;
					T25_ = (NIM_BOOL)0;
					T26_ = (NIM_BOOL)0;
					T26_ = !(((*it).typ == NIM_NIL));
					if (!(T26_)) goto LA27_;
					T26_ = ((IL64(140737496743936) &((NU64)1<<((NU)((*(*it).typ).kind)&63U)))!=0);
					LA27_: ;
					T25_ = T26_;
					if (!(T25_)) goto LA28_;
					T29_ = (NI)0;
					T29_ = len__P89cqdlERShb9alU3iC0yj8wast(it);
					if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
					T25_ = (((NI) 1) < T29_);
					LA28_: ;
					if (!T25_) goto LA30_;
					it = (*it)._kind_6.sons->data[((NI) 1)];
				}
				goto LA23_;
				LA30_: ;
				{
					goto LA1;
				}
				LA23_: ;
			}
			break;
			default:
			{
				goto LA1;
			}
			break;
			}
		}
	} LA1: ;
	}BeforeRet_: ;
	return result;
}
