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

#include "nimbase.h"
#include <string.h>
#undef linux
typedef struct Tiitable_2ud26DHRGdy6LEqDPifSOA Tiitable_2ud26DHRGdy6LEqDPifSOA;
typedef struct TY_h0IAOvrRzVzO3NpUxaxxvQ TY_h0IAOvrRzVzO3NpUxaxxvQ;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Tiipair_Vwj9bWy1xJ8WVCE9ctkEPJDA Tiipair_Vwj9bWy1xJ8WVCE9ctkEPJDA;
typedef struct TGenericSeq TGenericSeq;
typedef struct Tsym_AXG7xcvKqaxY6koRX1xkCw Tsym_AXG7xcvKqaxY6koRX1xkCw;
typedef struct Ttabiter_VYF5VQsIYEVaBL0fKZJkbg Ttabiter_VYF5VQsIYEVaBL0fKZJkbg;
typedef struct Tstrtable_f07aOS3dr28kGa5wcE29aFA Tstrtable_f07aOS3dr28kGa5wcE29aFA;
typedef struct TY_sksVpmPRIkNR9axiwtD1Guw TY_sksVpmPRIkNR9axiwtD1Guw;
typedef struct Tident_4umxGerWTHGPwUms7Yqu3g Tident_4umxGerWTHGPwUms7Yqu3g;
typedef struct Tidobj_raN9cHVgzmvaXisezY9aGg9cg Tidobj_raN9cHVgzmvaXisezY9aGg9cg;
typedef struct TNimObject TNimObject;
typedef struct NimStringDesc NimStringDesc;
typedef struct TY_zuqP4Riz26Oi5fWgPYVEgA TY_zuqP4Riz26Oi5fWgPYVEgA;
typedef struct TY_DXS6mEo7PVUFJkirsQ9bNQA TY_DXS6mEo7PVUFJkirsQ9bNQA;
typedef struct Ttype_LTUWCZolpovw9cWE3JBWSUw Ttype_LTUWCZolpovw9cWE3JBWSUw;
typedef struct Tlineinfo_T9c3PM9bs7WZ4LIQfEici9cZw Tlineinfo_T9c3PM9bs7WZ4LIQfEici9cZw;
typedef struct Tnode_bROa11lyF5vxEN9aYNbHmhw Tnode_bROa11lyF5vxEN9aYNbHmhw;
typedef struct Tloc_EtHNvCB0bgfu9bFjzx9cb6aA Tloc_EtHNvCB0bgfu9bFjzx9cb6aA;
typedef struct Ropeobj_HF4qJnb6xiOddgPmsxodtQ Ropeobj_HF4qJnb6xiOddgPmsxodtQ;
typedef struct Tlib_4f9aBgmqEuj7uWJdBBGcRgA Tlib_4f9aBgmqEuj7uWJdBBGcRgA;
typedef struct Tidtable_9aiv9bp2t5icFNINcg9c4xi1Q Tidtable_9aiv9bp2t5icFNINcg9c4xi1Q;
typedef struct TY_Mh9agqM29bm9aP5AUL1x7dZGA TY_Mh9agqM29bm9aP5AUL1x7dZGA;
typedef struct Tidpair_AdFnD2YdADPeuJbG2YJ4vg Tidpair_AdFnD2YdADPeuJbG2YJ4vg;
typedef struct Cell_1zcF9cV8XIAtbN8h5HRUB8g Cell_1zcF9cV8XIAtbN8h5HRUB8g;
typedef struct Cellseq_Axo1XVm9aaQueTOldv8le5w Cellseq_Axo1XVm9aaQueTOldv8le5w;
typedef struct Gcheap_1TRH1TZMaVZTnLNcIHuNFQ Gcheap_1TRH1TZMaVZTnLNcIHuNFQ;
typedef struct Gcstack_7fytPA5bBsob6See21YMRA Gcstack_7fytPA5bBsob6See21YMRA;
typedef struct Memregion_x81NhDv59b8ercDZ9bi85jyg Memregion_x81NhDv59b8ercDZ9bi85jyg;
typedef struct Smallchunk_tXn60W2f8h3jgAYdEmy5NQ Smallchunk_tXn60W2f8h3jgAYdEmy5NQ;
typedef struct Llchunk_XsENErzHIZV9bhvyJx56wGw Llchunk_XsENErzHIZV9bhvyJx56wGw;
typedef struct Bigchunk_Rv9c70Uhp2TytkX7eH78qEg Bigchunk_Rv9c70Uhp2TytkX7eH78qEg;
typedef struct Intset_EZObFrE3NC9bIb3YMkY9crZA Intset_EZObFrE3NC9bIb3YMkY9crZA;
typedef struct Trunk_W0r8S0Y3UGke6T9bIUWnnuw Trunk_W0r8S0Y3UGke6T9bIUWnnuw;
typedef struct Avlnode_IaqjtwKhxLEpvDS9bct9blEw Avlnode_IaqjtwKhxLEpvDS9bct9blEw;
typedef struct Gcstat_0RwLoVBHZPfUAcLczmfQAg Gcstat_0RwLoVBHZPfUAcLczmfQAg;
typedef struct Cellset_jG87P0AI9aZtss9ccTYBIISQ Cellset_jG87P0AI9aZtss9ccTYBIISQ;
typedef struct Pagedesc_fublkgIY4LG3mT51LU2WHg Pagedesc_fublkgIY4LG3mT51LU2WHg;
typedef struct TY_ehmV9bTklH2Gt9cXHV9c0HLeQ TY_ehmV9bTklH2Gt9cXHV9c0HLeQ;
typedef struct Tidentiter_Oi4goG2ACEsy9cyTe6OCPrA Tidentiter_Oi4goG2ACEsy9cyTe6OCPrA;
typedef struct Intset_PQrmFm4BXFkFSVOUl1ojSg Intset_PQrmFm4BXFkFSVOUl1ojSg;
typedef struct Trunk_ul49aWfv9aes8cutmeltT3gQ Trunk_ul49aWfv9aes8cutmeltT3gQ;
typedef struct TY_9brg1xNurxcus33lU4IE1Dw TY_9brg1xNurxcus33lU4IE1Dw;
typedef struct Tidnodetable_UWAp0mDjKLG1NEwUafSRhA Tidnodetable_UWAp0mDjKLG1NEwUafSRhA;
typedef struct TY_K8W16aeLg4OWxniQxtguMw TY_K8W16aeLg4OWxniQxtguMw;
typedef struct Tidnodepair_fUuF71MXGqn0RZORg9clE3w Tidnodepair_fUuF71MXGqn0RZORg9clE3w;
typedef struct Tinstantiation_5LqgVn6Tq9ainQRK7TQAQxA Tinstantiation_5LqgVn6Tq9ainQRK7TQAQxA;
typedef struct TY_iGkpo9aKQdr3NWelKC4cnJA TY_iGkpo9aKQdr3NWelKC4cnJA;
typedef struct Tlistentry_U4JkVlrJQaACKZ9a9cwCla3Q Tlistentry_U4JkVlrJQaACKZ9a9cwCla3Q;
typedef struct Basechunk_Sdq7WpT6qAH858F5ZEdG3w Basechunk_Sdq7WpT6qAH858F5ZEdG3w;
typedef struct Freecell_u6M5LHprqzkn9axr04yg9bGQ Freecell_u6M5LHprqzkn9axr04yg9bGQ;
typedef struct TY_a09bGTAl9ceOKTAytYdkbyKg TY_a09bGTAl9ceOKTAytYdkbyKg;
struct  Tiitable_2ud26DHRGdy6LEqDPifSOA  {
NI counter;
TY_h0IAOvrRzVzO3NpUxaxxvQ* data;
};
typedef NU8 Tnimkind_jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 Tnimtypeflag_v8QUszD1sWlSIWZz7mC4bQ_Set;
typedef N_NIMCALL_PTR(void, TY_ojoeKfW4VYIm36I9cpDTQIg) (void* p0, NI op0);
typedef N_NIMCALL_PTR(void*, TY_WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p0);
struct  TNimType  {
NI size;
Tnimkind_jIBKr1ejBgsfM33Kxw4j7A kind;
Tnimtypeflag_v8QUszD1sWlSIWZz7mC4bQ_Set flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY_ojoeKfW4VYIm36I9cpDTQIg marker;
TY_WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
};
typedef NU8 Tnimnodekind_unfNsxrcATrufDZmpBq4HQ;
struct  TNimNode  {
Tnimnodekind_unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Tiipair_Vwj9bWy1xJ8WVCE9ctkEPJDA  {
NI key;
NI val;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  Tstrtable_f07aOS3dr28kGa5wcE29aFA  {
NI counter;
TY_sksVpmPRIkNR9axiwtD1Guw* data;
};
struct  Ttabiter_VYF5VQsIYEVaBL0fKZJkbg  {
NI h;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  Tidobj_raN9cHVgzmvaXisezY9aGg9cg  {
  TNimObject Sup;
NI id;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tident_4umxGerWTHGPwUms7Yqu3g  {
  Tidobj_raN9cHVgzmvaXisezY9aGg9cg Sup;
NimStringDesc* s;
Tident_4umxGerWTHGPwUms7Yqu3g* next;
NI h;
};
typedef NU8 Tsymkind_cNCW9acsSznmEccl1fgQwkw;
typedef NU16 Tmagic_shZhZOdbVC5nnFvcXQAImg;
struct  Tlineinfo_T9c3PM9bs7WZ4LIQfEici9cZw  {
NI16 line;
NI16 col;
NI32 fileindex;
};
typedef NU32 Tsymflag_K9ay6LWMat9bUiT9bIbMxpDHw_Set;
typedef NU32 Toption_WspMeQySXNP2XoTWR5MTgg_Set;
typedef NU8 Tlockind_O7PRFZKuiBBWbku09cayVBg;
typedef NU8 Tstorageloc_JK9cKMX3XnqHaUky9b6gkGEw;
typedef NU16 Tlocflag_o2bqJgR4ceIupnUSpxiudA_Set;
struct  Tloc_EtHNvCB0bgfu9bFjzx9cb6aA  {
Tlockind_O7PRFZKuiBBWbku09cayVBg k;
Tstorageloc_JK9cKMX3XnqHaUky9b6gkGEw s;
Tlocflag_o2bqJgR4ceIupnUSpxiudA_Set flags;
Ttype_LTUWCZolpovw9cWE3JBWSUw* t;
Ropeobj_HF4qJnb6xiOddgPmsxodtQ* r;
};
struct  Tsym_AXG7xcvKqaxY6koRX1xkCw  {
  Tidobj_raN9cHVgzmvaXisezY9aGg9cg Sup;
Tsymkind_cNCW9acsSznmEccl1fgQwkw kind;
union{
struct {TY_zuqP4Riz26Oi5fWgPYVEgA* typeinstcache;
} S1;
struct {TY_DXS6mEo7PVUFJkirsQ9bNQA* procinstcache;
Tsym_AXG7xcvKqaxY6koRX1xkCw* gcunsafetyreason;
} S2;
struct {TY_DXS6mEo7PVUFJkirsQ9bNQA* usedgenerics;
Tstrtable_f07aOS3dr28kGa5wcE29aFA tab;
} S3;
struct {Tsym_AXG7xcvKqaxY6koRX1xkCw* guard;
NI bitsize;
} S4;
} kindU;
Tmagic_shZhZOdbVC5nnFvcXQAImg magic;
Ttype_LTUWCZolpovw9cWE3JBWSUw* typ;
Tident_4umxGerWTHGPwUms7Yqu3g* name;
Tlineinfo_T9c3PM9bs7WZ4LIQfEici9cZw info;
Tsym_AXG7xcvKqaxY6koRX1xkCw* owner;
Tsymflag_K9ay6LWMat9bUiT9bIbMxpDHw_Set flags;
Tnode_bROa11lyF5vxEN9aYNbHmhw* ast;
Toption_WspMeQySXNP2XoTWR5MTgg_Set options;
NI position;
NI offset;
Tloc_EtHNvCB0bgfu9bFjzx9cb6aA loc;
Tlib_4f9aBgmqEuj7uWJdBBGcRgA* annex;
Tnode_bROa11lyF5vxEN9aYNbHmhw* constraint;
};
struct  Tidtable_9aiv9bp2t5icFNINcg9c4xi1Q  {
NI counter;
TY_Mh9agqM29bm9aP5AUL1x7dZGA* data;
};
struct  Tidpair_AdFnD2YdADPeuJbG2YJ4vg  {
Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key;
TNimObject* val;
};
struct  Cell_1zcF9cV8XIAtbN8h5HRUB8g  {
NI refcount;
TNimType* typ;
};
struct  Cellseq_Axo1XVm9aaQueTOldv8le5w  {
NI len;
NI cap;
Cell_1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef Smallchunk_tXn60W2f8h3jgAYdEmy5NQ* TY_SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef Trunk_W0r8S0Y3UGke6T9bIUWnnuw* TY_lh2A89ahMmYg9bCmpVaplLbA[256];
struct  Intset_EZObFrE3NC9bIb3YMkY9crZA  {
TY_lh2A89ahMmYg9bCmpVaplLbA data;
};
struct  Memregion_x81NhDv59b8ercDZ9bi85jyg  {
NI minlargeobj;
NI maxlargeobj;
TY_SiRwrEKZdLgxqz9a9aoVBglg freesmallchunks;
Llchunk_XsENErzHIZV9bhvyJx56wGw* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk_Rv9c70Uhp2TytkX7eH78qEg* freechunkslist;
Intset_EZObFrE3NC9bIb3YMkY9crZA chunkstarts;
Avlnode_IaqjtwKhxLEpvDS9bct9blEw* root;
Avlnode_IaqjtwKhxLEpvDS9bct9blEw* deleted;
Avlnode_IaqjtwKhxLEpvDS9bct9blEw* last;
Avlnode_IaqjtwKhxLEpvDS9bct9blEw* freeavlnodes;
NIM_BOOL locked;
NIM_BOOL blockchunksizeincrease;
NI nextchunksize;
};
struct  Gcstat_0RwLoVBHZPfUAcLczmfQAg  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Cellset_jG87P0AI9aZtss9ccTYBIISQ  {
NI counter;
NI max;
Pagedesc_fublkgIY4LG3mT51LU2WHg* head;
Pagedesc_fublkgIY4LG3mT51LU2WHg** data;
};
struct  Gcheap_1TRH1TZMaVZTnLNcIHuNFQ  {
Gcstack_7fytPA5bBsob6See21YMRA* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq_Axo1XVm9aaQueTOldv8le5w zct;
Cellseq_Axo1XVm9aaQueTOldv8le5w decstack;
Cellseq_Axo1XVm9aaQueTOldv8le5w tempstack;
NI recgclock;
Memregion_x81NhDv59b8ercDZ9bi85jyg region;
Gcstat_0RwLoVBHZPfUAcLczmfQAg stat;
Cellset_jG87P0AI9aZtss9ccTYBIISQ marked;
Cellseq_Axo1XVm9aaQueTOldv8le5w additionalroots;
};
typedef NU16 Tnodeflag_jyh9acXHkhZANSSvPIY7ZLg_Set;
typedef NU8 Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw;
struct  Tnode_bROa11lyF5vxEN9aYNbHmhw  {
Ttype_LTUWCZolpovw9cWE3JBWSUw* typ;
Tlineinfo_T9c3PM9bs7WZ4LIQfEici9cZw info;
Tnodeflag_jyh9acXHkhZANSSvPIY7ZLg_Set flags;
Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym_AXG7xcvKqaxY6koRX1xkCw* sym;
} S4;
struct {Tident_4umxGerWTHGPwUms7Yqu3g* ident;
} S5;
struct {TY_ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
typedef NU8 Tsymflag_K9ay6LWMat9bUiT9bIbMxpDHw;
struct  Tidentiter_Oi4goG2ACEsy9cyTe6OCPrA  {
NI h;
Tident_4umxGerWTHGPwUms7Yqu3g* name;
};
typedef NU8 Timplication_t4F29a8ejY1DFQTYTML9c9byA;
struct  Intset_PQrmFm4BXFkFSVOUl1ojSg  {
NI counter;
NI max;
Trunk_ul49aWfv9aes8cutmeltT3gQ* head;
TY_9brg1xNurxcus33lU4IE1Dw* data;
};
struct  Tidnodetable_UWAp0mDjKLG1NEwUafSRhA  {
NI counter;
TY_K8W16aeLg4OWxniQxtguMw* data;
};
struct  Tidnodepair_fUuF71MXGqn0RZORg9clE3w  {
Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key;
Tnode_bROa11lyF5vxEN9aYNbHmhw* val;
};
typedef NU8 Ttypekind_9a3YiReNVD0IJHWFKgXRe9ag;
typedef NU8 Tcallingconvention_yjAJ8w0h1PBaSwSGJ3P7IA;
typedef NU32 Ttypeflag_x2m5g1NpbmDig4wLT3Ylhw_Set;
struct  Ttype_LTUWCZolpovw9cWE3JBWSUw  {
  Tidobj_raN9cHVgzmvaXisezY9aGg9cg Sup;
Ttypekind_9a3YiReNVD0IJHWFKgXRe9ag kind;
Tcallingconvention_yjAJ8w0h1PBaSwSGJ3P7IA callconv;
Ttypeflag_x2m5g1NpbmDig4wLT3Ylhw_Set flags;
TY_zuqP4Riz26Oi5fWgPYVEgA* sons;
Tnode_bROa11lyF5vxEN9aYNbHmhw* n;
Tsym_AXG7xcvKqaxY6koRX1xkCw* owner;
Tsym_AXG7xcvKqaxY6koRX1xkCw* sym;
Tsym_AXG7xcvKqaxY6koRX1xkCw* destructor;
Tsym_AXG7xcvKqaxY6koRX1xkCw* deepcopy;
Tsym_AXG7xcvKqaxY6koRX1xkCw* assignment;
TY_iGkpo9aKQdr3NWelKC4cnJA* methods;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc_EtHNvCB0bgfu9bFjzx9cb6aA loc;
Ttype_LTUWCZolpovw9cWE3JBWSUw* typeinst;
};
struct  Ropeobj_HF4qJnb6xiOddgPmsxodtQ  {
  TNimObject Sup;
Ropeobj_HF4qJnb6xiOddgPmsxodtQ* left;
Ropeobj_HF4qJnb6xiOddgPmsxodtQ* right;
NI length;
NimStringDesc* data;
};
struct  Tlistentry_U4JkVlrJQaACKZ9a9cwCla3Q  {
  TNimObject Sup;
Tlistentry_U4JkVlrJQaACKZ9a9cwCla3Q* prev;
Tlistentry_U4JkVlrJQaACKZ9a9cwCla3Q* next;
};
typedef NU8 Tlibkind_9b8v60kso59bBaw9cp8B9a9apKQ;
struct  Tlib_4f9aBgmqEuj7uWJdBBGcRgA  {
  Tlistentry_U4JkVlrJQaACKZ9a9cwCla3Q Sup;
Tlibkind_9b8v60kso59bBaw9cp8B9a9apKQ kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj_HF4qJnb6xiOddgPmsxodtQ* name;
Tnode_bROa11lyF5vxEN9aYNbHmhw* path;
};
struct  Gcstack_7fytPA5bBsob6See21YMRA  {
Gcstack_7fytPA5bBsob6See21YMRA* prev;
Gcstack_7fytPA5bBsob6See21YMRA* next;
void* starts;
void* pos;
NI maxstacksize;
};
struct  Basechunk_Sdq7WpT6qAH858F5ZEdG3w  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk_tXn60W2f8h3jgAYdEmy5NQ  {
  Basechunk_Sdq7WpT6qAH858F5ZEdG3w Sup;
Smallchunk_tXn60W2f8h3jgAYdEmy5NQ* next;
Smallchunk_tXn60W2f8h3jgAYdEmy5NQ* prev;
Freecell_u6M5LHprqzkn9axr04yg9bGQ* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk_XsENErzHIZV9bhvyJx56wGw  {
NI size;
NI acc;
Llchunk_XsENErzHIZV9bhvyJx56wGw* next;
};
struct  Bigchunk_Rv9c70Uhp2TytkX7eH78qEg  {
  Basechunk_Sdq7WpT6qAH858F5ZEdG3w Sup;
Bigchunk_Rv9c70Uhp2TytkX7eH78qEg* next;
Bigchunk_Rv9c70Uhp2TytkX7eH78qEg* prev;
NI align;
NF data;
};
typedef NI TY_9agrCtWKhCnWWMJpKKugJag[16];
struct  Trunk_W0r8S0Y3UGke6T9bIUWnnuw  {
Trunk_W0r8S0Y3UGke6T9bIUWnnuw* next;
NI key;
TY_9agrCtWKhCnWWMJpKKugJag bits;
};
typedef Avlnode_IaqjtwKhxLEpvDS9bct9blEw* TY_0aOLqZchNi8nWtMTi8ND8w[2];
struct  Avlnode_IaqjtwKhxLEpvDS9bct9blEw  {
TY_0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperbound;
NI level;
};
struct  Pagedesc_fublkgIY4LG3mT51LU2WHg  {
Pagedesc_fublkgIY4LG3mT51LU2WHg* next;
NI key;
TY_9agrCtWKhCnWWMJpKKugJag bits;
};
struct  Trunk_ul49aWfv9aes8cutmeltT3gQ  {
Trunk_ul49aWfv9aes8cutmeltT3gQ* next;
NI key;
TY_9agrCtWKhCnWWMJpKKugJag bits;
};
struct  Tinstantiation_5LqgVn6Tq9ainQRK7TQAQxA  {
Tsym_AXG7xcvKqaxY6koRX1xkCw* sym;
TY_zuqP4Riz26Oi5fWgPYVEgA* concretetypes;
NI compilesid;
};
struct TY_a09bGTAl9ceOKTAytYdkbyKg {
NI Field0;
Tsym_AXG7xcvKqaxY6koRX1xkCw* Field1;
};
struct  Freecell_u6M5LHprqzkn9axr04yg9bGQ  {
Freecell_u6M5LHprqzkn9axr04yg9bGQ* next;
NI zerofield;
};
struct TY_h0IAOvrRzVzO3NpUxaxxvQ {
  TGenericSeq Sup;
  Tiipair_Vwj9bWy1xJ8WVCE9ctkEPJDA data[SEQ_DECL_SIZE];
};
struct TY_Mh9agqM29bm9aP5AUL1x7dZGA {
  TGenericSeq Sup;
  Tidpair_AdFnD2YdADPeuJbG2YJ4vg data[SEQ_DECL_SIZE];
};
struct TY_sksVpmPRIkNR9axiwtD1Guw {
  TGenericSeq Sup;
  Tsym_AXG7xcvKqaxY6koRX1xkCw* data[SEQ_DECL_SIZE];
};
struct TY_K8W16aeLg4OWxniQxtguMw {
  TGenericSeq Sup;
  Tidnodepair_fUuF71MXGqn0RZORg9clE3w data[SEQ_DECL_SIZE];
};
struct TY_zuqP4Riz26Oi5fWgPYVEgA {
  TGenericSeq Sup;
  Ttype_LTUWCZolpovw9cWE3JBWSUw* data[SEQ_DECL_SIZE];
};
struct TY_DXS6mEo7PVUFJkirsQ9bNQA {
  TGenericSeq Sup;
  Tinstantiation_5LqgVn6Tq9ainQRK7TQAQxA* data[SEQ_DECL_SIZE];
};
struct TY_ehmV9bTklH2Gt9cXHV9c0HLeQ {
  TGenericSeq Sup;
  Tnode_bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
};
struct TY_9brg1xNurxcus33lU4IE1Dw {
  TGenericSeq Sup;
  Trunk_ul49aWfv9aes8cutmeltT3gQ* data[SEQ_DECL_SIZE];
};
struct TY_iGkpo9aKQdr3NWelKC4cnJA {
  TGenericSeq Sup;
  TY_a09bGTAl9ceOKTAytYdkbyKg data[SEQ_DECL_SIZE];
};
static N_NIMCALL(void, Marker_TY_h0IAOvrRzVzO3NpUxaxxvQ)(void* p, NI op);
N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, nextiter_MtRRPpsZix0WHVpZVShg0A)(Ttabiter_VYF5VQsIYEVaBL0fKZJkbg* ti0, Tstrtable_f07aOS3dr28kGa5wcE29aFA tab0);
static N_INLINE(NI, nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo)(NI h0, NI maxhash0);
N_NIMCALL(NI, iitablerawget_EgYHcx8etCrcLSUXIA9aoUw_2)(Tiitable_2ud26DHRGdy6LEqDPifSOA t0, NI key0);
N_NIMCALL(NI, idtablerawget_K86TALqaCRsY9aqXg51xWgg)(Tidtable_9aiv9bp2t5icFNINcg9c4xi1Q t0, NI key0);
static N_INLINE(void, asgnRef)(void** dest0, void* src0);
static N_INLINE(void, incref_9cAA5YuQAAC3MVbnGeV86swsystem)(Cell_1zcF9cV8XIAtbN8h5HRUB8g* c0);
static N_INLINE(Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrtocell_yB9aH5WIlwd0xkYrcdPeXrQsystem)(void* usr0);
static N_INLINE(void, decref_MV4BBk6J1qu70IbBxwEn4wsystem)(Cell_1zcF9cV8XIAtbN8h5HRUB8g* c0);
static N_INLINE(void, rtladdzct_MV4BBk6J1qu70IbBxwEn4w_2system)(Cell_1zcF9cV8XIAtbN8h5HRUB8g* c0);
N_NOINLINE(void, addzct_fCDI7oO1NNVXXURtxSzsRw)(Cellseq_Axo1XVm9aaQueTOldv8le5w* s0, Cell_1zcF9cV8XIAtbN8h5HRUB8g* c0);
N_NIMCALL(NIM_BOOL, mustrehash_UPHU5PqxEqM9bt6KyM7sznQ)(NI length0, NI counter0);
N_NIMCALL(void*, newSeq)(TNimType* typ0, NI len0);
N_NIMCALL(void, idtablerawinsert_bjnlXT9ccw5Uh2C9by3tYgag)(TY_Mh9agqM29bm9aP5AUL1x7dZGA** data0, Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key0, TNimObject* val0);
N_NIMCALL(void, unsureAsgnRef)(void** dest0, void* src0);
N_NIMCALL(NI, sonslen_qPWPHw7WgJeEVYUdcaRIig)(Tnode_bROa11lyF5vxEN9aYNbHmhw* n0);
N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, lookupinrecord_s51A17ot5EKQXx9bfMBO03w)(Tnode_bROa11lyF5vxEN9aYNbHmhw* n0, Tident_4umxGerWTHGPwUms7Yqu3g* field0);
N_NIMCALL(void, internalerror_MXmtqrCmYwtOPkDCFgUWKQ)(Tlineinfo_T9c3PM9bs7WZ4LIQfEici9cZw info0, NimStringDesc* errmsg0);
N_NIMCALL(Tnode_bROa11lyF5vxEN9aYNbHmhw*, lastson_esDJA7239bJDiq4UrX9aHCjg)(Tnode_bROa11lyF5vxEN9aYNbHmhw* n0);
static N_INLINE(NIM_BOOL, reallysameident_OgzdJjkgH9bsrn5tFog8M2Qastalgo)(NimStringDesc* a0, NimStringDesc* b0);
static N_INLINE(void, asgnRefNoCycle)(void** dest0, void* src0);
N_NIMCALL(void, strtableenlarge_gNEowrcNqtcnFkIbFVskuQ)(Tstrtable_f07aOS3dr28kGa5wcE29aFA* t0);
N_NIMCALL(void, strtablerawinsert_YbJC6h0NJQwh0BmBWkDlQw)(TY_sksVpmPRIkNR9axiwtD1Guw** data0, Tsym_AXG7xcvKqaxY6koRX1xkCw* n0);
N_NIMCALL(void, iitablerawinsert_g4wNWEyMNWKUBgA76z4X4A)(TY_h0IAOvrRzVzO3NpUxaxxvQ** data0, NI key0, NI val0);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a0, NimStringDesc* b0);
static N_INLINE(NIM_BOOL, equalmem_DCrUjdaMvFDHaR1hs7sQGwropes)(void* a0, void* b0, NI size0);
N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, nextidentiter_rTNfZVe9bciOJ9bfDRjx5gIw)(Tidentiter_Oi4goG2ACEsy9cyTe6OCPrA* ti0, Tstrtable_f07aOS3dr28kGa5wcE29aFA tab0);
static N_INLINE(NI, cmpStrings)(NimStringDesc* a0, NimStringDesc* b0);
N_NIMCALL(NIM_BOOL, levalue_1Qdwg1ZguEjbL3mmgPJD3w_2)(Tnode_bROa11lyF5vxEN9aYNbHmhw* a0, Tnode_bROa11lyF5vxEN9aYNbHmhw* b0);
N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, nextidentexcluding_obGpxuVaue5ppunX7Y0SaA)(Tidentiter_Oi4goG2ACEsy9cyTe6OCPrA* ti0, Tstrtable_f07aOS3dr28kGa5wcE29aFA tab0, Intset_PQrmFm4BXFkFSVOUl1ojSg excluding0);
N_NIMCALL(NIM_BOOL, contains_sYBLNwnPJlAFi0nfWU79awg)(Intset_PQrmFm4BXFkFSVOUl1ojSg s0, NI key0);
N_NIMCALL(NI, idnodetablerawget_9bFSjzmv9bB9avFMMOqcyceHQ)(Tidnodetable_UWAp0mDjKLG1NEwUafSRhA t0, Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key0);
N_NIMCALL(void, idnodetablerawinsert_P1suHu6LOhphCUn3fe81QQ)(TY_K8W16aeLg4OWxniQxtguMw** data0, Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key0, Tnode_bROa11lyF5vxEN9aYNbHmhw* val0);
N_NIMCALL(void, symtabreplaceraw_jN1bMURp9axuROPqeJnNjPw)(TY_sksVpmPRIkNR9axiwtD1Guw** data0, Tsym_AXG7xcvKqaxY6koRX1xkCw* prevsym0, Tsym_AXG7xcvKqaxY6koRX1xkCw* newsym0);
TNimType NTI_2ud26DHRGdy6LEqDPifSOA;
extern TNimType NTI_rR5Bzr1D5krxoo1NcNyeMA;
TNimType NTI_Vwj9bWy1xJ8WVCE9ctkEPJDA;
TNimType NTI_h0IAOvrRzVzO3NpUxaxxvQ;
extern Gcheap_1TRH1TZMaVZTnLNcIHuNFQ gch_IcYaEuuWivYAS86vFMTS3Q;
extern TNimType NTI_Mh9agqM29bm9aP5AUL1x7dZGA;
extern TNimType NTI_sksVpmPRIkNR9axiwtD1Guw;
extern TNimType NTI_K8W16aeLg4OWxniQxtguMw;
STRING_LITERAL(T_uRgrUHgaDgkYkoMPsaodqw_4, "lookupInRecord", 14);
STRING_LITERAL(T_uRgrUHgaDgkYkoMPsaodqw_5, "lookupInRecord(record case branch)", 34);
STRING_LITERAL(T_uRgrUHgaDgkYkoMPsaodqw_6, "lookupInRecord()", 16);
STRING_LITERAL(T_uRgrUHgaDgkYkoMPsaodqw_7, "getSymFromList", 14);
static N_NIMCALL(void, Marker_TY_h0IAOvrRzVzO3NpUxaxxvQ)(void* p, NI op) {
	TY_h0IAOvrRzVzO3NpUxaxxvQ* a;
	NI LOC1;
	a = (TY_h0IAOvrRzVzO3NpUxaxxvQ*)p;
	LOC1 = (NI)0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	}
}

N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, nextiter_MtRRPpsZix0WHVpZVShg0A)(Ttabiter_VYF5VQsIYEVaBL0fKZJkbg* ti0, Tstrtable_f07aOS3dr28kGa5wcE29aFA tab0) {
	Tsym_AXG7xcvKqaxY6koRX1xkCw* result0;
	result0 = (Tsym_AXG7xcvKqaxY6koRX1xkCw*)0;
	result0 = NIM_NIL;
	{
		while (1) {
			if (!((*ti0).h <= (tab0.data ? (tab0.data->Sup.len-1) : -1))) goto LA2;
			result0 = tab0.data->data[(*ti0).h];
			(*ti0).h += ((NI) 1);
			{
				if (!!((result0 == NIM_NIL))) goto LA5;
				goto LA1;
			}
			LA5: ;
		} LA2: ;
	} LA1: ;
	return result0;
}

N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, inittabiter_4ygtuv45J5xOJG1H4GUF9bA)(Ttabiter_VYF5VQsIYEVaBL0fKZJkbg* ti0, Tstrtable_f07aOS3dr28kGa5wcE29aFA tab0) {
	Tsym_AXG7xcvKqaxY6koRX1xkCw* result0;
	result0 = (Tsym_AXG7xcvKqaxY6koRX1xkCw*)0;
	(*ti0).h = ((NI) 0);
	{
		if (!(tab0.counter == ((NI) 0))) goto LA3;
		result0 = NIM_NIL;
	}
	goto LA1;
	LA3: ;
	{
		result0 = nextiter_MtRRPpsZix0WHVpZVShg0A(ti0, tab0);
	}
	LA1: ;
	return result0;
}

static N_INLINE(NI, nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo)(NI h0, NI maxhash0) {
	NI result0;
	result0 = (NI)0;
	result0 = (NI)((NI)((NI)(((NI) 5) * h0) + ((NI) 1)) & maxhash0);
	return result0;
}

N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, strtableget_lwInE2j9aCwWqT2bvslVRNA)(Tstrtable_f07aOS3dr28kGa5wcE29aFA t0, Tident_4umxGerWTHGPwUms7Yqu3g* name0) {
	Tsym_AXG7xcvKqaxY6koRX1xkCw* result0;
	NI h0;
	result0 = (Tsym_AXG7xcvKqaxY6koRX1xkCw*)0;
	h0 = (NI)((*name0).h & (t0.data ? (t0.data->Sup.len-1) : -1));
	{
		while (1) {
			result0 = t0.data->data[h0];
			{
				if (!(result0 == NIM_NIL)) goto LA5;
				goto LA1;
			}
			LA5: ;
			{
				if (!((*(*result0).name).Sup.id == (*name0).Sup.id)) goto LA9;
				goto LA1;
			}
			LA9: ;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, (t0.data ? (t0.data->Sup.len-1) : -1));
		}
	} LA1: ;
	return result0;
}

N_NIMCALL(NI, iitablerawget_EgYHcx8etCrcLSUXIA9aoUw_2)(Tiitable_2ud26DHRGdy6LEqDPifSOA t0, NI key0) {
	NI result0;
	NI h0;
{	result0 = (NI)0;
	h0 = (NI)0;
	h0 = (NI)(key0 & (t0.data ? (t0.data->Sup.len-1) : -1));
	{
		while (1) {
			if (!!((t0.data->data[h0].key == ((NI) (-2147483647 -1))))) goto LA2;
			{
				if (!(t0.data->data[h0].key == key0)) goto LA5;
				result0 = h0;
				goto BeforeRet;
			}
			LA5: ;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, (t0.data ? (t0.data->Sup.len-1) : -1));
		} LA2: ;
	}
	result0 = ((NI) -1);
	}BeforeRet: ;
	return result0;
}

N_NIMCALL(NI, iitableget_EgYHcx8etCrcLSUXIA9aoUw)(Tiitable_2ud26DHRGdy6LEqDPifSOA t0, NI key0) {
	NI result0;
	NI index0;
	result0 = (NI)0;
	index0 = iitablerawget_EgYHcx8etCrcLSUXIA9aoUw_2(t0, key0);
	{
		if (!(((NI) 0) <= index0)) goto LA3;
		result0 = t0.data->data[index0].val;
	}
	goto LA1;
	LA3: ;
	{
		result0 = ((NI) (-2147483647 -1));
	}
	LA1: ;
	return result0;
}

N_NIMCALL(NI, idtablerawget_K86TALqaCRsY9aqXg51xWgg)(Tidtable_9aiv9bp2t5icFNINcg9c4xi1Q t0, NI key0) {
	NI result0;
	NI h0;
{	result0 = (NI)0;
	h0 = (NI)0;
	h0 = (NI)(key0 & (t0.data ? (t0.data->Sup.len-1) : -1));
	{
		while (1) {
			if (!!((t0.data->data[h0].key == NIM_NIL))) goto LA2;
			{
				if (!((*t0.data->data[h0].key).id == key0)) goto LA5;
				result0 = h0;
				goto BeforeRet;
			}
			LA5: ;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, (t0.data ? (t0.data->Sup.len-1) : -1));
		} LA2: ;
	}
	result0 = ((NI) -1);
	}BeforeRet: ;
	return result0;
}

N_NIMCALL(TNimObject*, idtableget_Z0OPsM9b7rlHUCmy4XL0CMw)(Tidtable_9aiv9bp2t5icFNINcg9c4xi1Q t0, NI key0) {
	TNimObject* result0;
	NI index0;
	result0 = (TNimObject*)0;
	index0 = idtablerawget_K86TALqaCRsY9aqXg51xWgg(t0, key0);
	{
		if (!(((NI) 0) <= index0)) goto LA3;
		result0 = t0.data->data[index0].val;
	}
	goto LA1;
	LA3: ;
	{
		result0 = NIM_NIL;
	}
	LA1: ;
	return result0;
}

static N_INLINE(void, incref_9cAA5YuQAAC3MVbnGeV86swsystem)(Cell_1zcF9cV8XIAtbN8h5HRUB8g* c0) {
	(*c0).refcount = (NI)((NU32)((*c0).refcount) + (NU32)(((NI) 8)));
}

static N_INLINE(Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrtocell_yB9aH5WIlwd0xkYrcdPeXrQsystem)(void* usr0) {
	Cell_1zcF9cV8XIAtbN8h5HRUB8g* result0;
	result0 = (Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
	result0 = ((Cell_1zcF9cV8XIAtbN8h5HRUB8g*) ((NI)((NU32)(((NI) (usr0))) - (NU32)(((NI)sizeof(Cell_1zcF9cV8XIAtbN8h5HRUB8g))))));
	return result0;
}

static N_INLINE(void, rtladdzct_MV4BBk6J1qu70IbBxwEn4w_2system)(Cell_1zcF9cV8XIAtbN8h5HRUB8g* c0) {
	addzct_fCDI7oO1NNVXXURtxSzsRw((&gch_IcYaEuuWivYAS86vFMTS3Q.zct), c0);
}

static N_INLINE(void, decref_MV4BBk6J1qu70IbBxwEn4wsystem)(Cell_1zcF9cV8XIAtbN8h5HRUB8g* c0) {
	{
		(*c0).refcount -= ((NI) 8);
		if (!((NU32)((*c0).refcount) < (NU32)(((NI) 8)))) goto LA3;
		rtladdzct_MV4BBk6J1qu70IbBxwEn4w_2system(c0);
	}
	LA3: ;
}

static N_INLINE(void, asgnRef)(void** dest0, void* src0) {
	{
		Cell_1zcF9cV8XIAtbN8h5HRUB8g* LOC5;
		if (!!((src0 == NIM_NIL))) goto LA3;
		LOC5 = (Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
		LOC5 = usrtocell_yB9aH5WIlwd0xkYrcdPeXrQsystem(src0);
		incref_9cAA5YuQAAC3MVbnGeV86swsystem(LOC5);
	}
	LA3: ;
	{
		Cell_1zcF9cV8XIAtbN8h5HRUB8g* LOC10;
		if (!!(((*dest0) == NIM_NIL))) goto LA8;
		LOC10 = (Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
		LOC10 = usrtocell_yB9aH5WIlwd0xkYrcdPeXrQsystem((*dest0));
		decref_MV4BBk6J1qu70IbBxwEn4wsystem(LOC10);
	}
	LA8: ;
	(*dest0) = src0;
}

N_NIMCALL(NIM_BOOL, mustrehash_UPHU5PqxEqM9bt6KyM7sznQ)(NI length0, NI counter0) {
	NIM_BOOL result0;
	NIM_BOOL LOC1;
	result0 = (NIM_BOOL)0;
	LOC1 = (NIM_BOOL)0;
	LOC1 = ((NI)(length0 * ((NI) 2)) < (NI)(counter0 * ((NI) 3)));
	if (LOC1) goto LA2;
	LOC1 = ((NI)(length0 - counter0) < ((NI) 4));
	LA2: ;
	result0 = LOC1;
	return result0;
}

N_NIMCALL(void, idtablerawinsert_bjnlXT9ccw5Uh2C9by3tYgag)(TY_Mh9agqM29bm9aP5AUL1x7dZGA** data0, Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key0, TNimObject* val0) {
	NI h0;
	h0 = (NI)0;
	h0 = (NI)((*key0).id & ((*data0) ? ((*data0)->Sup.len-1) : -1));
	{
		while (1) {
			if (!!(((*data0)->data[h0].key == NIM_NIL))) goto LA2;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, ((*data0) ? ((*data0)->Sup.len-1) : -1));
		} LA2: ;
	}
	asgnRef((void**) (&(*data0)->data[h0].key), key0);
	asgnRef((void**) (&(*data0)->data[h0].val), val0);
}

N_NIMCALL(void, idtableput_3gLsywwJ9bZDaf06DfKpYbw)(Tidtable_9aiv9bp2t5icFNINcg9c4xi1Q* t0, Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key0, TNimObject* val0) {
	NI index0;
	TY_Mh9agqM29bm9aP5AUL1x7dZGA* n0;
	index0 = (NI)0;
	n0 = (TY_Mh9agqM29bm9aP5AUL1x7dZGA*)0;
	index0 = idtablerawget_K86TALqaCRsY9aqXg51xWgg((*t0), (*key0).id);
	{
		if (!(((NI) 0) <= index0)) goto LA3;
		asgnRef((void**) (&(*t0).data->data[index0].val), val0);
	}
	goto LA1;
	LA3: ;
	{
		{
			NIM_BOOL LOC8;
			TY_Mh9agqM29bm9aP5AUL1x7dZGA* LOC18;
			LOC8 = (NIM_BOOL)0;
			LOC8 = mustrehash_UPHU5PqxEqM9bt6KyM7sznQ(((*t0).data ? (*t0).data->Sup.len : 0), (*t0).counter);
			if (!LOC8) goto LA9;
			n0 = (TY_Mh9agqM29bm9aP5AUL1x7dZGA*) newSeq((&NTI_Mh9agqM29bm9aP5AUL1x7dZGA), ((NI) ((NI)(((*t0).data ? (*t0).data->Sup.len : 0) * ((NI) 2)))));
			{
				NI i_dY6fFBS4KEiI13Euywo2dg;
				NI HEX3Atmp_Lux3wX9cl1mnB0A9as7KUPyg;
				NI res_qMJ9bv2nS6QhSDGAQgL9c6IA;
				i_dY6fFBS4KEiI13Euywo2dg = (NI)0;
				HEX3Atmp_Lux3wX9cl1mnB0A9as7KUPyg = (NI)0;
				HEX3Atmp_Lux3wX9cl1mnB0A9as7KUPyg = ((*t0).data ? ((*t0).data->Sup.len-1) : -1);
				res_qMJ9bv2nS6QhSDGAQgL9c6IA = ((NI) 0);
				{
					while (1) {
						if (!(res_qMJ9bv2nS6QhSDGAQgL9c6IA <= HEX3Atmp_Lux3wX9cl1mnB0A9as7KUPyg)) goto LA13;
						i_dY6fFBS4KEiI13Euywo2dg = res_qMJ9bv2nS6QhSDGAQgL9c6IA;
						{
							if (!!(((*t0).data->data[i_dY6fFBS4KEiI13Euywo2dg].key == NIM_NIL))) goto LA16;
							idtablerawinsert_bjnlXT9ccw5Uh2C9by3tYgag((&n0), (*t0).data->data[i_dY6fFBS4KEiI13Euywo2dg].key, (*t0).data->data[i_dY6fFBS4KEiI13Euywo2dg].val);
						}
						LA16: ;
						res_qMJ9bv2nS6QhSDGAQgL9c6IA += ((NI) 1);
					} LA13: ;
				}
			}
			LOC18 = (TY_Mh9agqM29bm9aP5AUL1x7dZGA*)0;
			LOC18 = (*t0).data;
			unsureAsgnRef((void**) (&(*t0).data), n0);
			n0 = LOC18;
		}
		LA9: ;
		idtablerawinsert_bjnlXT9ccw5Uh2C9by3tYgag((&(*t0).data), key0, val0);
		(*t0).counter += ((NI) 1);
	}
	LA1: ;
}

N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, lookupinrecord_s51A17ot5EKQXx9bfMBO03w)(Tnode_bROa11lyF5vxEN9aYNbHmhw* n0, Tident_4umxGerWTHGPwUms7Yqu3g* field0) {
	Tsym_AXG7xcvKqaxY6koRX1xkCw* result0;
{	result0 = (Tsym_AXG7xcvKqaxY6koRX1xkCw*)0;
	result0 = NIM_NIL;
	switch ((*n0).kind) {
	case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 138):
	{
		{
			NI i_zitJno65ql1ErWzsM2ZKIA;
			NI HEX3Atmp_RGAXfUWMhk9c0RdPRFJ3n9bw;
			NI LOC3;
			NI res_4xZuCS8Hb720OUHmFCG9bEw;
			i_zitJno65ql1ErWzsM2ZKIA = (NI)0;
			HEX3Atmp_RGAXfUWMhk9c0RdPRFJ3n9bw = (NI)0;
			LOC3 = (NI)0;
			LOC3 = sonslen_qPWPHw7WgJeEVYUdcaRIig(n0);
			HEX3Atmp_RGAXfUWMhk9c0RdPRFJ3n9bw = (NI)(LOC3 - ((NI) 1));
			res_4xZuCS8Hb720OUHmFCG9bEw = ((NI) 0);
			{
				while (1) {
					if (!(res_4xZuCS8Hb720OUHmFCG9bEw <= HEX3Atmp_RGAXfUWMhk9c0RdPRFJ3n9bw)) goto LA5;
					i_zitJno65ql1ErWzsM2ZKIA = res_4xZuCS8Hb720OUHmFCG9bEw;
					result0 = lookupinrecord_s51A17ot5EKQXx9bfMBO03w((*n0).kindU.S6.sons->data[i_zitJno65ql1ErWzsM2ZKIA], field0);
					{
						if (!!((result0 == NIM_NIL))) goto LA8;
						goto BeforeRet;
					}
					LA8: ;
					res_4xZuCS8Hb720OUHmFCG9bEw += ((NI) 1);
				} LA5: ;
			}
		}
	}
	break;
	case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 139):
	{
		{
			if (!!(((*(*n0).kindU.S6.sons->data[((NI) 0)]).kind == ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 3)))) goto LA13;
			internalerror_MXmtqrCmYwtOPkDCFgUWKQ((*n0).info, ((NimStringDesc*) &T_uRgrUHgaDgkYkoMPsaodqw_4));
		}
		LA13: ;
		result0 = lookupinrecord_s51A17ot5EKQXx9bfMBO03w((*n0).kindU.S6.sons->data[((NI) 0)], field0);
		{
			if (!!((result0 == NIM_NIL))) goto LA17;
			goto BeforeRet;
		}
		LA17: ;
		{
			NI i_zitJno65ql1ErWzsM2ZKIA_2;
			NI HEX3Atmp_RGAXfUWMhk9c0RdPRFJ3n9bw_2;
			NI LOC20;
			NI res_4xZuCS8Hb720OUHmFCG9bEw_2;
			i_zitJno65ql1ErWzsM2ZKIA_2 = (NI)0;
			HEX3Atmp_RGAXfUWMhk9c0RdPRFJ3n9bw_2 = (NI)0;
			LOC20 = (NI)0;
			LOC20 = sonslen_qPWPHw7WgJeEVYUdcaRIig(n0);
			HEX3Atmp_RGAXfUWMhk9c0RdPRFJ3n9bw_2 = (NI)(LOC20 - ((NI) 1));
			res_4xZuCS8Hb720OUHmFCG9bEw_2 = ((NI) 1);
			{
				while (1) {
					if (!(res_4xZuCS8Hb720OUHmFCG9bEw_2 <= HEX3Atmp_RGAXfUWMhk9c0RdPRFJ3n9bw_2)) goto LA22;
					i_zitJno65ql1ErWzsM2ZKIA_2 = res_4xZuCS8Hb720OUHmFCG9bEw_2;
					switch ((*(*n0).kindU.S6.sons->data[i_zitJno65ql1ErWzsM2ZKIA_2]).kind) {
					case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 85):
					case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 88):
					{
						Tnode_bROa11lyF5vxEN9aYNbHmhw* LOC24;
						LOC24 = (Tnode_bROa11lyF5vxEN9aYNbHmhw*)0;
						LOC24 = lastson_esDJA7239bJDiq4UrX9aHCjg((*n0).kindU.S6.sons->data[i_zitJno65ql1ErWzsM2ZKIA_2]);
						result0 = lookupinrecord_s51A17ot5EKQXx9bfMBO03w(LOC24, field0);
						{
							if (!!((result0 == NIM_NIL))) goto LA27;
							goto BeforeRet;
						}
						LA27: ;
					}
					break;
					default:
					{
						internalerror_MXmtqrCmYwtOPkDCFgUWKQ((*n0).info, ((NimStringDesc*) &T_uRgrUHgaDgkYkoMPsaodqw_5));
					}
					break;
					}
					res_4xZuCS8Hb720OUHmFCG9bEw_2 += ((NI) 1);
				} LA22: ;
			}
		}
	}
	break;
	case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 3):
	{
		{
			if (!((*(*(*n0).kindU.S4.sym).name).Sup.id == (*field0).Sup.id)) goto LA33;
			result0 = (*n0).kindU.S4.sym;
		}
		LA33: ;
	}
	break;
	default:
	{
		internalerror_MXmtqrCmYwtOPkDCFgUWKQ((*n0).info, ((NimStringDesc*) &T_uRgrUHgaDgkYkoMPsaodqw_6));
	}
	break;
	}
	}BeforeRet: ;
	return result0;
}

N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, getsymfromlist_9c9cLkZFlCQ8DEaDRcXgGe9bA)(Tnode_bROa11lyF5vxEN9aYNbHmhw* list0, Tident_4umxGerWTHGPwUms7Yqu3g* ident0, NI start0) {
	Tsym_AXG7xcvKqaxY6koRX1xkCw* result0;
{	result0 = (Tsym_AXG7xcvKqaxY6koRX1xkCw*)0;
	{
		NI i_Zz4AL6wdHe7OBzti58woTw;
		NI HEX3Atmp_lH7ihzBvg1iOqopf7hMLFA;
		NI LOC2;
		NI res_4U79bbdt8kJ6S50dAkoJTHw;
		i_Zz4AL6wdHe7OBzti58woTw = (NI)0;
		HEX3Atmp_lH7ihzBvg1iOqopf7hMLFA = (NI)0;
		LOC2 = (NI)0;
		LOC2 = sonslen_qPWPHw7WgJeEVYUdcaRIig(list0);
		HEX3Atmp_lH7ihzBvg1iOqopf7hMLFA = (NI)(LOC2 - ((NI) 1));
		res_4U79bbdt8kJ6S50dAkoJTHw = start0;
		{
			while (1) {
				if (!(res_4U79bbdt8kJ6S50dAkoJTHw <= HEX3Atmp_lH7ihzBvg1iOqopf7hMLFA)) goto LA4;
				i_Zz4AL6wdHe7OBzti58woTw = res_4U79bbdt8kJ6S50dAkoJTHw;
				{
					if (!((*(*list0).kindU.S6.sons->data[i_Zz4AL6wdHe7OBzti58woTw]).kind == ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA7;
					result0 = (*(*list0).kindU.S6.sons->data[i_Zz4AL6wdHe7OBzti58woTw]).kindU.S4.sym;
					{
						if (!((*(*result0).name).Sup.id == (*ident0).Sup.id)) goto LA11;
						goto BeforeRet;
					}
					LA11: ;
				}
				goto LA5;
				LA7: ;
				{
					internalerror_MXmtqrCmYwtOPkDCFgUWKQ((*list0).info, ((NimStringDesc*) &T_uRgrUHgaDgkYkoMPsaodqw_7));
				}
				LA5: ;
				res_4U79bbdt8kJ6S50dAkoJTHw += ((NI) 1);
			} LA4: ;
		}
	}
	result0 = NIM_NIL;
	}BeforeRet: ;
	return result0;
}

static N_INLINE(NIM_BOOL, reallysameident_OgzdJjkgH9bsrn5tFog8M2Qastalgo)(NimStringDesc* a0, NimStringDesc* b0) {
	NIM_BOOL result0;
	result0 = (NIM_BOOL)0;
	result0 = NIM_TRUE;
	return result0;
}

static N_INLINE(void, asgnRefNoCycle)(void** dest0, void* src0) {
	{
		Cell_1zcF9cV8XIAtbN8h5HRUB8g* c0;
		if (!!((src0 == NIM_NIL))) goto LA3;
		c0 = usrtocell_yB9aH5WIlwd0xkYrcdPeXrQsystem(src0);
		(*c0).refcount += ((NI) 8);
	}
	LA3: ;
	{
		Cell_1zcF9cV8XIAtbN8h5HRUB8g* c0;
		if (!!(((*dest0) == NIM_NIL))) goto LA7;
		c0 = usrtocell_yB9aH5WIlwd0xkYrcdPeXrQsystem((*dest0));
		{
			(*c0).refcount -= ((NI) 8);
			if (!((NU32)((*c0).refcount) < (NU32)(((NI) 8)))) goto LA11;
			rtladdzct_MV4BBk6J1qu70IbBxwEn4w_2system(c0);
		}
		LA11: ;
	}
	LA7: ;
	(*dest0) = src0;
}

N_NIMCALL(void, strtablerawinsert_YbJC6h0NJQwh0BmBWkDlQw)(TY_sksVpmPRIkNR9axiwtD1Guw** data0, Tsym_AXG7xcvKqaxY6koRX1xkCw* n0) {
	NI h0;
{	h0 = (NI)((*(*n0).name).h & ((*data0) ? ((*data0)->Sup.len-1) : -1));
	{
		if (!!((((*n0).flags &(1U<<((NU)(((Tsymflag_K9ay6LWMat9bUiT9bIbMxpDHw) 25))&31U)))!=0))) goto LA3;
		{
			while (1) {
				if (!!(((*data0)->data[h0] == NIM_NIL))) goto LA6;
				{
					if (!((*data0)->data[h0] == n0)) goto LA9;
					goto BeforeRet;
				}
				LA9: ;
				h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, ((*data0) ? ((*data0)->Sup.len-1) : -1));
			} LA6: ;
		}
		asgnRefNoCycle((void**) (&(*data0)->data[h0]), n0);
	}
	goto LA1;
	LA3: ;
	{
		NI favpos0;
		favpos0 = ((NI) -1);
		{
			while (1) {
				if (!!(((*data0)->data[h0] == NIM_NIL))) goto LA13;
				{
					if (!((*data0)->data[h0] == n0)) goto LA16;
					goto BeforeRet;
				}
				LA16: ;
				{
					NIM_BOOL LOC20;
					LOC20 = (NIM_BOOL)0;
					LOC20 = (favpos0 < ((NI) 0));
					if (!(LOC20)) goto LA21;
					LOC20 = ((*(*(*data0)->data[h0]).name).Sup.id == (*(*n0).name).Sup.id);
					LA21: ;
					if (!LOC20) goto LA22;
					favpos0 = h0;
				}
				LA22: ;
				h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, ((*data0) ? ((*data0)->Sup.len-1) : -1));
			} LA13: ;
		}
		asgnRefNoCycle((void**) (&(*data0)->data[h0]), n0);
		{
			Tsym_AXG7xcvKqaxY6koRX1xkCw* LOC28;
			if (!(((NI) 0) <= favpos0)) goto LA26;
			LOC28 = (Tsym_AXG7xcvKqaxY6koRX1xkCw*)0;
			LOC28 = (*data0)->data[h0];
			asgnRefNoCycle((void**) (&(*data0)->data[h0]), (*data0)->data[favpos0]);
			asgnRefNoCycle((void**) (&(*data0)->data[favpos0]), LOC28);
		}
		LA26: ;
	}
	LA1: ;
	}BeforeRet: ;
}

N_NIMCALL(void, strtableenlarge_gNEowrcNqtcnFkIbFVskuQ)(Tstrtable_f07aOS3dr28kGa5wcE29aFA* t0) {
	TY_sksVpmPRIkNR9axiwtD1Guw* n0;
	TY_sksVpmPRIkNR9axiwtD1Guw* LOC8;
	n0 = (TY_sksVpmPRIkNR9axiwtD1Guw*)0;
	n0 = (TY_sksVpmPRIkNR9axiwtD1Guw*) newSeq((&NTI_sksVpmPRIkNR9axiwtD1Guw), ((NI) ((NI)(((*t0).data ? (*t0).data->Sup.len : 0) * ((NI) 2)))));
	{
		NI i_rv59aOlOug7WBzAcLTMd2MQ;
		NI HEX3Atmp_69aQr5H5jv19bN4EKcf4nUIQ;
		NI res_BL4DFDTEu7yuPtrenFPKbA;
		i_rv59aOlOug7WBzAcLTMd2MQ = (NI)0;
		HEX3Atmp_69aQr5H5jv19bN4EKcf4nUIQ = (NI)0;
		HEX3Atmp_69aQr5H5jv19bN4EKcf4nUIQ = ((*t0).data ? ((*t0).data->Sup.len-1) : -1);
		res_BL4DFDTEu7yuPtrenFPKbA = ((NI) 0);
		{
			while (1) {
				if (!(res_BL4DFDTEu7yuPtrenFPKbA <= HEX3Atmp_69aQr5H5jv19bN4EKcf4nUIQ)) goto LA3;
				i_rv59aOlOug7WBzAcLTMd2MQ = res_BL4DFDTEu7yuPtrenFPKbA;
				{
					if (!!(((*t0).data->data[i_rv59aOlOug7WBzAcLTMd2MQ] == NIM_NIL))) goto LA6;
					strtablerawinsert_YbJC6h0NJQwh0BmBWkDlQw((&n0), (*t0).data->data[i_rv59aOlOug7WBzAcLTMd2MQ]);
				}
				LA6: ;
				res_BL4DFDTEu7yuPtrenFPKbA += ((NI) 1);
			} LA3: ;
		}
	}
	LOC8 = (TY_sksVpmPRIkNR9axiwtD1Guw*)0;
	LOC8 = (*t0).data;
	unsureAsgnRef((void**) (&(*t0).data), n0);
	n0 = LOC8;
}

N_NIMCALL(NIM_BOOL, strtableincl_ZkoOMnVPhudcLs4AfKupyg)(Tstrtable_f07aOS3dr28kGa5wcE29aFA* t0, Tsym_AXG7xcvKqaxY6koRX1xkCw* n0, NIM_BOOL onconflictkeepold0) {
	NIM_BOOL result0;
	NI h0;
	NI replaceslot0;
{	result0 = (NIM_BOOL)0;
	h0 = (NI)((*(*n0).name).h & ((*t0).data ? ((*t0).data->Sup.len-1) : -1));
	replaceslot0 = ((NI) -1);
	{
		while (1) {
			Tsym_AXG7xcvKqaxY6koRX1xkCw* it0;
			it0 = (*t0).data->data[h0];
			{
				if (!(it0 == NIM_NIL)) goto LA5;
				goto LA1;
			}
			LA5: ;
			{
				NIM_BOOL LOC9;
				LOC9 = (NIM_BOOL)0;
				LOC9 = ((*(*it0).name).Sup.id == (*(*n0).name).Sup.id);
				if (!(LOC9)) goto LA10;
				LOC9 = reallysameident_OgzdJjkgH9bsrn5tFog8M2Qastalgo((*(*it0).name).s, (*(*n0).name).s);
				LA10: ;
				if (!LOC9) goto LA11;
				{
					if (!(it0 == n0)) goto LA15;
					result0 = NIM_FALSE;
					goto BeforeRet;
				}
				LA15: ;
				replaceslot0 = h0;
			}
			LA11: ;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, ((*t0).data ? ((*t0).data->Sup.len-1) : -1));
		}
	} LA1: ;
	{
		if (!(((NI) 0) <= replaceslot0)) goto LA19;
		{
			if (!!(onconflictkeepold0)) goto LA23;
			asgnRefNoCycle((void**) (&(*t0).data->data[replaceslot0]), n0);
		}
		LA23: ;
		result0 = NIM_TRUE;
		goto BeforeRet;
	}
	goto LA17;
	LA19: ;
	{
		NIM_BOOL LOC26;
		LOC26 = (NIM_BOOL)0;
		LOC26 = mustrehash_UPHU5PqxEqM9bt6KyM7sznQ(((*t0).data ? (*t0).data->Sup.len : 0), (*t0).counter);
		if (!LOC26) goto LA27;
		strtableenlarge_gNEowrcNqtcnFkIbFVskuQ(t0);
		strtablerawinsert_YbJC6h0NJQwh0BmBWkDlQw((&(*t0).data), n0);
	}
	goto LA17;
	LA27: ;
	{
		asgnRefNoCycle((void**) (&(*t0).data->data[h0]), n0);
	}
	LA17: ;
	(*t0).counter += ((NI) 1);
	result0 = NIM_FALSE;
	}BeforeRet: ;
	return result0;
}

N_NIMCALL(void, strtableadd_Tcb9aDxXz9ch8cAXKFCMrlbA)(Tstrtable_f07aOS3dr28kGa5wcE29aFA* t0, Tsym_AXG7xcvKqaxY6koRX1xkCw* n0) {
	{
		NIM_BOOL LOC3;
		LOC3 = (NIM_BOOL)0;
		LOC3 = mustrehash_UPHU5PqxEqM9bt6KyM7sznQ(((*t0).data ? (*t0).data->Sup.len : 0), (*t0).counter);
		if (!LOC3) goto LA4;
		strtableenlarge_gNEowrcNqtcnFkIbFVskuQ(t0);
	}
	LA4: ;
	strtablerawinsert_YbJC6h0NJQwh0BmBWkDlQw((&(*t0).data), n0);
	(*t0).counter += ((NI) 1);
}

N_NIMCALL(void, initiitable_IfyJxQyI39a9aYH4RvM9cSJsg)(Tiitable_2ud26DHRGdy6LEqDPifSOA* x0) {
	(*x0).counter = ((NI) 0);
	unsureAsgnRef((void**) (&(*x0).data), (TY_h0IAOvrRzVzO3NpUxaxxvQ*) newSeq((&NTI_h0IAOvrRzVzO3NpUxaxxvQ), ((NI) 8)));
	{
		NI i_LdYSFcsirn6eUO2Au3k1wQ;
		NI res_YT9aP1zvAKRMuPqgC09bWTJA;
		i_LdYSFcsirn6eUO2Au3k1wQ = (NI)0;
		res_YT9aP1zvAKRMuPqgC09bWTJA = ((NI) 0);
		{
			while (1) {
				if (!(res_YT9aP1zvAKRMuPqgC09bWTJA <= ((NI) 7))) goto LA3;
				i_LdYSFcsirn6eUO2Au3k1wQ = res_YT9aP1zvAKRMuPqgC09bWTJA;
				(*x0).data->data[i_LdYSFcsirn6eUO2Au3k1wQ].key = ((NI) (-2147483647 -1));
				res_YT9aP1zvAKRMuPqgC09bWTJA += ((NI) 1);
			} LA3: ;
		}
	}
}

N_NIMCALL(void, iitablerawinsert_g4wNWEyMNWKUBgA76z4X4A)(TY_h0IAOvrRzVzO3NpUxaxxvQ** data0, NI key0, NI val0) {
	NI h0;
	h0 = (NI)0;
	h0 = (NI)(key0 & ((*data0) ? ((*data0)->Sup.len-1) : -1));
	{
		while (1) {
			if (!!(((*data0)->data[h0].key == ((NI) (-2147483647 -1))))) goto LA2;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, ((*data0) ? ((*data0)->Sup.len-1) : -1));
		} LA2: ;
	}
	(*data0)->data[h0].key = key0;
	(*data0)->data[h0].val = val0;
}

N_NIMCALL(void, iitableput_i9ao9aBgb0oZrn7lQBCMTEZg)(Tiitable_2ud26DHRGdy6LEqDPifSOA* t0, NI key0, NI val0) {
	NI index0;
	index0 = iitablerawget_EgYHcx8etCrcLSUXIA9aoUw_2((*t0), key0);
	{
		if (!(((NI) 0) <= index0)) goto LA3;
		(*t0).data->data[index0].val = val0;
	}
	goto LA1;
	LA3: ;
	{
		{
			NIM_BOOL LOC8;
			TY_h0IAOvrRzVzO3NpUxaxxvQ* n0;
			TY_h0IAOvrRzVzO3NpUxaxxvQ* LOC21;
			LOC8 = (NIM_BOOL)0;
			LOC8 = mustrehash_UPHU5PqxEqM9bt6KyM7sznQ(((*t0).data ? (*t0).data->Sup.len : 0), (*t0).counter);
			if (!LOC8) goto LA9;
			n0 = (TY_h0IAOvrRzVzO3NpUxaxxvQ*)0;
			n0 = (TY_h0IAOvrRzVzO3NpUxaxxvQ*) newSeq((&NTI_h0IAOvrRzVzO3NpUxaxxvQ), ((NI) ((NI)(((*t0).data ? (*t0).data->Sup.len : 0) * ((NI) 2)))));
			{
				NI i_7nSKTTOYBtlybQfO9a6S6YA;
				NI HEX3Atmp_bUxwdKa4mltEHPFoeYrlcQ;
				NI res_t9b2t4b6dp4Vouu5jy5Ap5Q;
				i_7nSKTTOYBtlybQfO9a6S6YA = (NI)0;
				HEX3Atmp_bUxwdKa4mltEHPFoeYrlcQ = (NI)0;
				HEX3Atmp_bUxwdKa4mltEHPFoeYrlcQ = (n0 ? (n0->Sup.len-1) : -1);
				res_t9b2t4b6dp4Vouu5jy5Ap5Q = ((NI) 0);
				{
					while (1) {
						if (!(res_t9b2t4b6dp4Vouu5jy5Ap5Q <= HEX3Atmp_bUxwdKa4mltEHPFoeYrlcQ)) goto LA13;
						i_7nSKTTOYBtlybQfO9a6S6YA = res_t9b2t4b6dp4Vouu5jy5Ap5Q;
						n0->data[i_7nSKTTOYBtlybQfO9a6S6YA].key = ((NI) (-2147483647 -1));
						res_t9b2t4b6dp4Vouu5jy5Ap5Q += ((NI) 1);
					} LA13: ;
				}
			}
			{
				NI i_7nSKTTOYBtlybQfO9a6S6YA_2;
				NI HEX3Atmp_bUxwdKa4mltEHPFoeYrlcQ_2;
				NI res_t9b2t4b6dp4Vouu5jy5Ap5Q_2;
				i_7nSKTTOYBtlybQfO9a6S6YA_2 = (NI)0;
				HEX3Atmp_bUxwdKa4mltEHPFoeYrlcQ_2 = (NI)0;
				HEX3Atmp_bUxwdKa4mltEHPFoeYrlcQ_2 = ((*t0).data ? ((*t0).data->Sup.len-1) : -1);
				res_t9b2t4b6dp4Vouu5jy5Ap5Q_2 = ((NI) 0);
				{
					while (1) {
						if (!(res_t9b2t4b6dp4Vouu5jy5Ap5Q_2 <= HEX3Atmp_bUxwdKa4mltEHPFoeYrlcQ_2)) goto LA16;
						i_7nSKTTOYBtlybQfO9a6S6YA_2 = res_t9b2t4b6dp4Vouu5jy5Ap5Q_2;
						{
							if (!!(((*t0).data->data[i_7nSKTTOYBtlybQfO9a6S6YA_2].key == ((NI) (-2147483647 -1))))) goto LA19;
							iitablerawinsert_g4wNWEyMNWKUBgA76z4X4A((&n0), (*t0).data->data[i_7nSKTTOYBtlybQfO9a6S6YA_2].key, (*t0).data->data[i_7nSKTTOYBtlybQfO9a6S6YA_2].val);
						}
						LA19: ;
						res_t9b2t4b6dp4Vouu5jy5Ap5Q_2 += ((NI) 1);
					} LA16: ;
				}
			}
			LOC21 = (TY_h0IAOvrRzVzO3NpUxaxxvQ*)0;
			LOC21 = (*t0).data;
			unsureAsgnRef((void**) (&(*t0).data), n0);
			n0 = LOC21;
		}
		LA9: ;
		iitablerawinsert_g4wNWEyMNWKUBgA76z4X4A((&(*t0).data), key0, val0);
		(*t0).counter += ((NI) 1);
	}
	LA1: ;
}

N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, getmodule_0lPlu1uOok1rRK50z1V70A)(Tsym_AXG7xcvKqaxY6koRX1xkCw* s0) {
	Tsym_AXG7xcvKqaxY6koRX1xkCw* result0;
	result0 = (Tsym_AXG7xcvKqaxY6koRX1xkCw*)0;
	result0 = s0;
	{
		while (1) {
			NIM_BOOL LOC3;
			LOC3 = (NIM_BOOL)0;
			LOC3 = !((result0 == NIM_NIL));
			if (!(LOC3)) goto LA4;
			LOC3 = !(((*result0).kind == ((Tsymkind_cNCW9acsSznmEccl1fgQwkw) 6)));
			LA4: ;
			if (!LOC3) goto LA2;
			result0 = (*result0).owner;
		} LA2: ;
	}
	return result0;
}

N_NIMCALL(TNimObject*, idtableget_D12lVDWWPrKae8szg3EYLw)(Tidtable_9aiv9bp2t5icFNINcg9c4xi1Q t0, Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key0) {
	TNimObject* result0;
	NI index0;
	result0 = (TNimObject*)0;
	index0 = idtablerawget_K86TALqaCRsY9aqXg51xWgg(t0, (*key0).id);
	{
		if (!(((NI) 0) <= index0)) goto LA3;
		result0 = t0.data->data[index0].val;
	}
	goto LA1;
	LA3: ;
	{
		result0 = NIM_NIL;
	}
	LA1: ;
	return result0;
}

static N_INLINE(NIM_BOOL, equalmem_DCrUjdaMvFDHaR1hs7sQGwropes)(void* a0, void* b0, NI size0) {
	NIM_BOOL result0;
	int LOC1;
	result0 = (NIM_BOOL)0;
	LOC1 = (int)0;
	LOC1 = memcmp(a0, b0, ((size_t) (size0)));
	result0 = (LOC1 == ((NI32) 0));
	return result0;
}

static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a0, NimStringDesc* b0) {
	NIM_BOOL result0;
	NIM_BOOL LOC11;
{	result0 = (NIM_BOOL)0;
	{
		if (!(a0 == b0)) goto LA3;
		result0 = NIM_TRUE;
		goto BeforeRet;
	}
	LA3: ;
	{
		NIM_BOOL LOC7;
		LOC7 = (NIM_BOOL)0;
		LOC7 = (a0 == NIM_NIL);
		if (LOC7) goto LA8;
		LOC7 = (b0 == NIM_NIL);
		LA8: ;
		if (!LOC7) goto LA9;
		result0 = NIM_FALSE;
		goto BeforeRet;
	}
	LA9: ;
	LOC11 = (NIM_BOOL)0;
	LOC11 = ((*a0).Sup.len == (*b0).Sup.len);
	if (!(LOC11)) goto LA12;
	LOC11 = equalmem_DCrUjdaMvFDHaR1hs7sQGwropes(((void*) ((*a0).data)), ((void*) ((*b0).data)), ((NI) ((*a0).Sup.len)));
	LA12: ;
	result0 = LOC11;
	goto BeforeRet;
	}BeforeRet: ;
	return result0;
}

N_NIMCALL(NIM_BOOL, samevalue_1Qdwg1ZguEjbL3mmgPJD3w)(Tnode_bROa11lyF5vxEN9aYNbHmhw* a0, Tnode_bROa11lyF5vxEN9aYNbHmhw* b0) {
	NIM_BOOL result0;
	result0 = (NIM_BOOL)0;
	result0 = NIM_FALSE;
	switch ((*a0).kind) {
	case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 5) ... ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 15):
	{
		{
			if (!((*b0).kind >= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 5) && (*b0).kind <= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 15))) goto LA4;
			result0 = ((*a0).kindU.S1.intval == (*b0).kindU.S1.intval);
		}
		LA4: ;
	}
	break;
	case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 16) ... ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 18):
	{
		{
			if (!((*b0).kind >= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 16) && (*b0).kind <= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 18))) goto LA9;
			result0 = ((*a0).kindU.S2.floatval == (*b0).kindU.S2.floatval);
		}
		LA9: ;
	}
	break;
	case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 20) ... ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 22):
	{
		{
			if (!((*b0).kind >= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 20) && (*b0).kind <= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 22))) goto LA14;
			result0 = eqStrings((*a0).kindU.S3.strval, (*b0).kindU.S3.strval);
		}
		LA14: ;
	}
	break;
	default:
	{
	}
	break;
	}
	return result0;
}

N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, nextidentiter_rTNfZVe9bciOJ9bfDRjx5gIw)(Tidentiter_Oi4goG2ACEsy9cyTe6OCPrA* ti0, Tstrtable_f07aOS3dr28kGa5wcE29aFA tab0) {
	Tsym_AXG7xcvKqaxY6koRX1xkCw* result0;
	NI h0;
	NI start0;
	result0 = (Tsym_AXG7xcvKqaxY6koRX1xkCw*)0;
	h0 = (NI)((*ti0).h & (tab0.data ? (tab0.data->Sup.len-1) : -1));
	start0 = h0;
	result0 = tab0.data->data[h0];
	{
		while (1) {
			if (!!((result0 == NIM_NIL))) goto LA2;
			{
				if (!((*(*result0).name).Sup.id == (*(*ti0).name).Sup.id)) goto LA5;
				goto LA1;
			}
			LA5: ;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, (tab0.data ? (tab0.data->Sup.len-1) : -1));
			{
				if (!(h0 == start0)) goto LA9;
				result0 = NIM_NIL;
				goto LA1;
			}
			LA9: ;
			result0 = tab0.data->data[h0];
		} LA2: ;
	} LA1: ;
	(*ti0).h = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, (tab0.data ? (tab0.data->Sup.len-1) : -1));
	return result0;
}

N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, initidentiter_mWFOqJ9be21lsluYGFm6uRA)(Tidentiter_Oi4goG2ACEsy9cyTe6OCPrA* ti0, Tstrtable_f07aOS3dr28kGa5wcE29aFA tab0, Tident_4umxGerWTHGPwUms7Yqu3g* s0) {
	Tsym_AXG7xcvKqaxY6koRX1xkCw* result0;
	result0 = (Tsym_AXG7xcvKqaxY6koRX1xkCw*)0;
	(*ti0).h = (*s0).h;
	unsureAsgnRef((void**) (&(*ti0).name), s0);
	{
		if (!(tab0.counter == ((NI) 0))) goto LA3;
		result0 = NIM_NIL;
	}
	goto LA1;
	LA3: ;
	{
		result0 = nextidentiter_rTNfZVe9bciOJ9bfDRjx5gIw(ti0, tab0);
	}
	LA1: ;
	return result0;
}

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

N_NIMCALL(NIM_BOOL, levalue_1Qdwg1ZguEjbL3mmgPJD3w_2)(Tnode_bROa11lyF5vxEN9aYNbHmhw* a0, Tnode_bROa11lyF5vxEN9aYNbHmhw* b0) {
	NIM_BOOL result0;
	result0 = (NIM_BOOL)0;
	result0 = NIM_FALSE;
	switch ((*a0).kind) {
	case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 5) ... ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 14):
	{
		{
			if (!((*b0).kind >= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 5) && (*b0).kind <= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 14))) goto LA4;
			result0 = ((*a0).kindU.S1.intval <= (*b0).kindU.S1.intval);
		}
		LA4: ;
	}
	break;
	case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 16) ... ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 18):
	{
		{
			if (!((*b0).kind >= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 16) && (*b0).kind <= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 18))) goto LA9;
			result0 = ((*a0).kindU.S2.floatval <= (*b0).kindU.S2.floatval);
		}
		LA9: ;
	}
	break;
	case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 20) ... ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 22):
	{
		{
			if (!((*b0).kind >= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 20) && (*b0).kind <= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 22))) goto LA14;
			result0 = (cmpStrings((*a0).kindU.S3.strval, (*b0).kindU.S3.strval) <= 0);
		}
		LA14: ;
	}
	break;
	default:
	{
	}
	break;
	}
	return result0;
}

N_NIMCALL(Timplication_t4F29a8ejY1DFQTYTML9c9byA, weaklevalue_ZgzWfhdUsbwPI0319a0Xjbg)(Tnode_bROa11lyF5vxEN9aYNbHmhw* a0, Tnode_bROa11lyF5vxEN9aYNbHmhw* b0) {
	Timplication_t4F29a8ejY1DFQTYTML9c9byA result0;
	result0 = (Timplication_t4F29a8ejY1DFQTYTML9c9byA)0;
	{
		NIM_BOOL LOC3;
		LOC3 = (NIM_BOOL)0;
		LOC3 = !(((*a0).kind >= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 5) && (*a0).kind <= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 22)));
		if (LOC3) goto LA4;
		LOC3 = !(((*b0).kind >= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 5) && (*b0).kind <= ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 22)));
		LA4: ;
		if (!LOC3) goto LA5;
		result0 = ((Timplication_t4F29a8ejY1DFQTYTML9c9byA) 0);
	}
	goto LA1;
	LA5: ;
	{
		{
			NIM_BOOL LOC10;
			LOC10 = (NIM_BOOL)0;
			LOC10 = levalue_1Qdwg1ZguEjbL3mmgPJD3w_2(a0, b0);
			if (!LOC10) goto LA11;
			result0 = ((Timplication_t4F29a8ejY1DFQTYTML9c9byA) 2);
		}
		goto LA8;
		LA11: ;
		{
			result0 = ((Timplication_t4F29a8ejY1DFQTYTML9c9byA) 1);
		}
		LA8: ;
	}
	LA1: ;
	return result0;
}

N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, nextidentexcluding_obGpxuVaue5ppunX7Y0SaA)(Tidentiter_Oi4goG2ACEsy9cyTe6OCPrA* ti0, Tstrtable_f07aOS3dr28kGa5wcE29aFA tab0, Intset_PQrmFm4BXFkFSVOUl1ojSg excluding0) {
	Tsym_AXG7xcvKqaxY6koRX1xkCw* result0;
	NI h0;
	NI start0;
	result0 = (Tsym_AXG7xcvKqaxY6koRX1xkCw*)0;
	h0 = (NI)((*ti0).h & (tab0.data ? (tab0.data->Sup.len-1) : -1));
	start0 = h0;
	result0 = tab0.data->data[h0];
	{
		while (1) {
			if (!!((result0 == NIM_NIL))) goto LA2;
			{
				NIM_BOOL LOC5;
				NIM_BOOL LOC7;
				LOC5 = (NIM_BOOL)0;
				LOC5 = ((*(*result0).name).Sup.id == (*(*ti0).name).Sup.id);
				if (!(LOC5)) goto LA6;
				LOC7 = (NIM_BOOL)0;
				LOC7 = contains_sYBLNwnPJlAFi0nfWU79awg(excluding0, (*result0).Sup.id);
				LOC5 = !(LOC7);
				LA6: ;
				if (!LOC5) goto LA8;
				goto LA1;
			}
			LA8: ;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, (tab0.data ? (tab0.data->Sup.len-1) : -1));
			{
				if (!(h0 == start0)) goto LA12;
				result0 = NIM_NIL;
				goto LA1;
			}
			LA12: ;
			result0 = tab0.data->data[h0];
		} LA2: ;
	} LA1: ;
	(*ti0).h = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, (tab0.data ? (tab0.data->Sup.len-1) : -1));
	{
		NIM_BOOL LOC16;
		LOC16 = (NIM_BOOL)0;
		LOC16 = !((result0 == NIM_NIL));
		if (!(LOC16)) goto LA17;
		LOC16 = contains_sYBLNwnPJlAFi0nfWU79awg(excluding0, (*result0).Sup.id);
		LA17: ;
		if (!LOC16) goto LA18;
		result0 = NIM_NIL;
	}
	LA18: ;
	return result0;
}

N_NIMCALL(Tsym_AXG7xcvKqaxY6koRX1xkCw*, firstidentexcluding_DGP2ZsxOFapwvAWaTICevA)(Tidentiter_Oi4goG2ACEsy9cyTe6OCPrA* ti0, Tstrtable_f07aOS3dr28kGa5wcE29aFA tab0, Tident_4umxGerWTHGPwUms7Yqu3g* s0, Intset_PQrmFm4BXFkFSVOUl1ojSg excluding0) {
	Tsym_AXG7xcvKqaxY6koRX1xkCw* result0;
	result0 = (Tsym_AXG7xcvKqaxY6koRX1xkCw*)0;
	(*ti0).h = (*s0).h;
	unsureAsgnRef((void**) (&(*ti0).name), s0);
	{
		if (!(tab0.counter == ((NI) 0))) goto LA3;
		result0 = NIM_NIL;
	}
	goto LA1;
	LA3: ;
	{
		result0 = nextidentexcluding_obGpxuVaue5ppunX7Y0SaA(ti0, tab0, excluding0);
	}
	LA1: ;
	return result0;
}

N_NIMCALL(NI, idnodetablerawget_9bFSjzmv9bB9avFMMOqcyceHQ)(Tidnodetable_UWAp0mDjKLG1NEwUafSRhA t0, Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key0) {
	NI result0;
	NI h0;
{	result0 = (NI)0;
	h0 = (NI)0;
	h0 = (NI)((*key0).id & (t0.data ? (t0.data->Sup.len-1) : -1));
	{
		while (1) {
			if (!!((t0.data->data[h0].key == NIM_NIL))) goto LA2;
			{
				if (!((*t0.data->data[h0].key).id == (*key0).id)) goto LA5;
				result0 = h0;
				goto BeforeRet;
			}
			LA5: ;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, (t0.data ? (t0.data->Sup.len-1) : -1));
		} LA2: ;
	}
	result0 = ((NI) -1);
	}BeforeRet: ;
	return result0;
}

N_NIMCALL(Tnode_bROa11lyF5vxEN9aYNbHmhw*, idnodetableget_k1EqkK7iCzBR3ZzZA4NZOA)(Tidnodetable_UWAp0mDjKLG1NEwUafSRhA t0, Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key0) {
	Tnode_bROa11lyF5vxEN9aYNbHmhw* result0;
	NI index0;
	result0 = (Tnode_bROa11lyF5vxEN9aYNbHmhw*)0;
	index0 = (NI)0;
	index0 = idnodetablerawget_9bFSjzmv9bB9avFMMOqcyceHQ(t0, key0);
	{
		if (!(((NI) 0) <= index0)) goto LA3;
		result0 = t0.data->data[index0].val;
	}
	goto LA1;
	LA3: ;
	{
		result0 = NIM_NIL;
	}
	LA1: ;
	return result0;
}

N_NIMCALL(void, idnodetablerawinsert_P1suHu6LOhphCUn3fe81QQ)(TY_K8W16aeLg4OWxniQxtguMw** data0, Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key0, Tnode_bROa11lyF5vxEN9aYNbHmhw* val0) {
	NI h0;
	h0 = (NI)0;
	h0 = (NI)((*key0).id & ((*data0) ? ((*data0)->Sup.len-1) : -1));
	{
		while (1) {
			if (!!(((*data0)->data[h0].key == NIM_NIL))) goto LA2;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, ((*data0) ? ((*data0)->Sup.len-1) : -1));
		} LA2: ;
	}
	asgnRef((void**) (&(*data0)->data[h0].key), key0);
	asgnRefNoCycle((void**) (&(*data0)->data[h0].val), val0);
}

N_NIMCALL(void, idnodetableput_y9aThGQcKlirEWxQJAz1ScQ)(Tidnodetable_UWAp0mDjKLG1NEwUafSRhA* t0, Tidobj_raN9cHVgzmvaXisezY9aGg9cg* key0, Tnode_bROa11lyF5vxEN9aYNbHmhw* val0) {
	NI index0;
	index0 = idnodetablerawget_9bFSjzmv9bB9avFMMOqcyceHQ((*t0), key0);
	{
		if (!(((NI) 0) <= index0)) goto LA3;
		asgnRefNoCycle((void**) (&(*t0).data->data[index0].val), val0);
	}
	goto LA1;
	LA3: ;
	{
		{
			NIM_BOOL LOC8;
			TY_K8W16aeLg4OWxniQxtguMw* n0;
			TY_K8W16aeLg4OWxniQxtguMw* LOC18;
			LOC8 = (NIM_BOOL)0;
			LOC8 = mustrehash_UPHU5PqxEqM9bt6KyM7sznQ(((*t0).data ? (*t0).data->Sup.len : 0), (*t0).counter);
			if (!LOC8) goto LA9;
			n0 = (TY_K8W16aeLg4OWxniQxtguMw*)0;
			n0 = (TY_K8W16aeLg4OWxniQxtguMw*) newSeq((&NTI_K8W16aeLg4OWxniQxtguMw), ((NI) ((NI)(((*t0).data ? (*t0).data->Sup.len : 0) * ((NI) 2)))));
			{
				NI i_9btxtoxVe9bP25ual8GiGfdw;
				NI HEX3Atmp_ohrSpFEXt3QHu9cSZZz9bP6g;
				NI res_Ya6coymHGRTaYxq22LFx9cg;
				i_9btxtoxVe9bP25ual8GiGfdw = (NI)0;
				HEX3Atmp_ohrSpFEXt3QHu9cSZZz9bP6g = (NI)0;
				HEX3Atmp_ohrSpFEXt3QHu9cSZZz9bP6g = ((*t0).data ? ((*t0).data->Sup.len-1) : -1);
				res_Ya6coymHGRTaYxq22LFx9cg = ((NI) 0);
				{
					while (1) {
						if (!(res_Ya6coymHGRTaYxq22LFx9cg <= HEX3Atmp_ohrSpFEXt3QHu9cSZZz9bP6g)) goto LA13;
						i_9btxtoxVe9bP25ual8GiGfdw = res_Ya6coymHGRTaYxq22LFx9cg;
						{
							if (!!(((*t0).data->data[i_9btxtoxVe9bP25ual8GiGfdw].key == NIM_NIL))) goto LA16;
							idnodetablerawinsert_P1suHu6LOhphCUn3fe81QQ((&n0), (*t0).data->data[i_9btxtoxVe9bP25ual8GiGfdw].key, (*t0).data->data[i_9btxtoxVe9bP25ual8GiGfdw].val);
						}
						LA16: ;
						res_Ya6coymHGRTaYxq22LFx9cg += ((NI) 1);
					} LA13: ;
				}
			}
			LOC18 = (TY_K8W16aeLg4OWxniQxtguMw*)0;
			LOC18 = (*t0).data;
			unsureAsgnRef((void**) (&(*t0).data), n0);
			n0 = LOC18;
		}
		LA9: ;
		idnodetablerawinsert_P1suHu6LOhphCUn3fe81QQ((&(*t0).data), key0, val0);
		(*t0).counter += ((NI) 1);
	}
	LA1: ;
}

N_NIMCALL(Tnode_bROa11lyF5vxEN9aYNbHmhw*, skipconvandclosure_5R14FnfRuiaUrK9cQGEILPw)(Tnode_bROa11lyF5vxEN9aYNbHmhw* n0) {
	Tnode_bROa11lyF5vxEN9aYNbHmhw* result0;
	result0 = (Tnode_bROa11lyF5vxEN9aYNbHmhw*)0;
	result0 = n0;
	{
		while (1) {
			switch ((*result0).kind) {
			case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 67):
			case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 66):
			case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 70):
			case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 68):
			case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 69):
			case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 155):
			{
				result0 = (*result0).kindU.S6.sons->data[((NI) 0)];
			}
			break;
			case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 58):
			case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 59):
			case ((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 60):
			{
				result0 = (*result0).kindU.S6.sons->data[((NI) 1)];
			}
			break;
			default:
			{
				goto LA1;
			}
			break;
			}
		}
	} LA1: ;
	return result0;
}

N_NIMCALL(void, symtabreplaceraw_jN1bMURp9axuROPqeJnNjPw)(TY_sksVpmPRIkNR9axiwtD1Guw** data0, Tsym_AXG7xcvKqaxY6koRX1xkCw* prevsym0, Tsym_AXG7xcvKqaxY6koRX1xkCw* newsym0) {
	NI h0;
{	h0 = (NI)((*(*prevsym0).name).h & ((*data0) ? ((*data0)->Sup.len-1) : -1));
	{
		while (1) {
			if (!!(((*data0)->data[h0] == NIM_NIL))) goto LA2;
			{
				if (!((*data0)->data[h0] == prevsym0)) goto LA5;
				asgnRefNoCycle((void**) (&(*data0)->data[h0]), newsym0);
				goto BeforeRet;
			}
			LA5: ;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, ((*data0) ? ((*data0)->Sup.len-1) : -1));
		} LA2: ;
	}
	}BeforeRet: ;
}

N_NIMCALL(void, symtabreplace_9cpa7CNz9cHIC1kkUdx2eSyA)(Tstrtable_f07aOS3dr28kGa5wcE29aFA* t0, Tsym_AXG7xcvKqaxY6koRX1xkCw* prevsym0, Tsym_AXG7xcvKqaxY6koRX1xkCw* newsym0) {
	symtabreplaceraw_jN1bMURp9axuROPqeJnNjPw((&(*t0).data), prevsym0, newsym0);
}

N_NIMCALL(NIM_BOOL, strtablecontains_snKiQhZH2EuGi1wugVKGFg)(Tstrtable_f07aOS3dr28kGa5wcE29aFA t0, Tsym_AXG7xcvKqaxY6koRX1xkCw* n0) {
	NIM_BOOL result0;
	NI h0;
{	result0 = (NIM_BOOL)0;
	h0 = (NI)((*(*n0).name).h & (t0.data ? (t0.data->Sup.len-1) : -1));
	{
		while (1) {
			if (!!((t0.data->data[h0] == NIM_NIL))) goto LA2;
			{
				if (!(t0.data->data[h0] == n0)) goto LA5;
				result0 = NIM_TRUE;
				goto BeforeRet;
			}
			LA5: ;
			h0 = nexttry_4YWwV26d3PsQh1gUwwAjvAastalgo(h0, (t0.data ? (t0.data->Sup.len-1) : -1));
		} LA2: ;
	}
	result0 = NIM_FALSE;
	}BeforeRet: ;
	return result0;
}
NIM_EXTERNC N_NOINLINE(void, compiler_astalgoInit000)(void) {
}

NIM_EXTERNC N_NOINLINE(void, compiler_astalgoDatInit000)(void) {
static TNimNode* T_uRgrUHgaDgkYkoMPsaodqw_2[2];
static TNimNode* T_uRgrUHgaDgkYkoMPsaodqw_3[2];
static TNimNode T_uRgrUHgaDgkYkoMPsaodqw_0[6];
NTI_2ud26DHRGdy6LEqDPifSOA.size = sizeof(Tiitable_2ud26DHRGdy6LEqDPifSOA);
NTI_2ud26DHRGdy6LEqDPifSOA.kind = 18;
NTI_2ud26DHRGdy6LEqDPifSOA.base = 0;
NTI_2ud26DHRGdy6LEqDPifSOA.flags = 2;
T_uRgrUHgaDgkYkoMPsaodqw_2[0] = &T_uRgrUHgaDgkYkoMPsaodqw_0[1];
T_uRgrUHgaDgkYkoMPsaodqw_0[1].kind = 1;
T_uRgrUHgaDgkYkoMPsaodqw_0[1].offset = offsetof(Tiitable_2ud26DHRGdy6LEqDPifSOA, counter);
T_uRgrUHgaDgkYkoMPsaodqw_0[1].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA);
T_uRgrUHgaDgkYkoMPsaodqw_0[1].name = "counter";
T_uRgrUHgaDgkYkoMPsaodqw_2[1] = &T_uRgrUHgaDgkYkoMPsaodqw_0[2];
NTI_Vwj9bWy1xJ8WVCE9ctkEPJDA.size = sizeof(Tiipair_Vwj9bWy1xJ8WVCE9ctkEPJDA);
NTI_Vwj9bWy1xJ8WVCE9ctkEPJDA.kind = 18;
NTI_Vwj9bWy1xJ8WVCE9ctkEPJDA.base = 0;
NTI_Vwj9bWy1xJ8WVCE9ctkEPJDA.flags = 3;
T_uRgrUHgaDgkYkoMPsaodqw_3[0] = &T_uRgrUHgaDgkYkoMPsaodqw_0[4];
T_uRgrUHgaDgkYkoMPsaodqw_0[4].kind = 1;
T_uRgrUHgaDgkYkoMPsaodqw_0[4].offset = offsetof(Tiipair_Vwj9bWy1xJ8WVCE9ctkEPJDA, key);
T_uRgrUHgaDgkYkoMPsaodqw_0[4].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA);
T_uRgrUHgaDgkYkoMPsaodqw_0[4].name = "key";
T_uRgrUHgaDgkYkoMPsaodqw_3[1] = &T_uRgrUHgaDgkYkoMPsaodqw_0[5];
T_uRgrUHgaDgkYkoMPsaodqw_0[5].kind = 1;
T_uRgrUHgaDgkYkoMPsaodqw_0[5].offset = offsetof(Tiipair_Vwj9bWy1xJ8WVCE9ctkEPJDA, val);
T_uRgrUHgaDgkYkoMPsaodqw_0[5].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA);
T_uRgrUHgaDgkYkoMPsaodqw_0[5].name = "val";
T_uRgrUHgaDgkYkoMPsaodqw_0[3].len = 2; T_uRgrUHgaDgkYkoMPsaodqw_0[3].kind = 2; T_uRgrUHgaDgkYkoMPsaodqw_0[3].sons = &T_uRgrUHgaDgkYkoMPsaodqw_3[0];
NTI_Vwj9bWy1xJ8WVCE9ctkEPJDA.node = &T_uRgrUHgaDgkYkoMPsaodqw_0[3];
NTI_h0IAOvrRzVzO3NpUxaxxvQ.size = sizeof(TY_h0IAOvrRzVzO3NpUxaxxvQ*);
NTI_h0IAOvrRzVzO3NpUxaxxvQ.kind = 24;
NTI_h0IAOvrRzVzO3NpUxaxxvQ.base = (&NTI_Vwj9bWy1xJ8WVCE9ctkEPJDA);
NTI_h0IAOvrRzVzO3NpUxaxxvQ.flags = 2;
NTI_h0IAOvrRzVzO3NpUxaxxvQ.marker = Marker_TY_h0IAOvrRzVzO3NpUxaxxvQ;
T_uRgrUHgaDgkYkoMPsaodqw_0[2].kind = 1;
T_uRgrUHgaDgkYkoMPsaodqw_0[2].offset = offsetof(Tiitable_2ud26DHRGdy6LEqDPifSOA, data);
T_uRgrUHgaDgkYkoMPsaodqw_0[2].typ = (&NTI_h0IAOvrRzVzO3NpUxaxxvQ);
T_uRgrUHgaDgkYkoMPsaodqw_0[2].name = "data";
T_uRgrUHgaDgkYkoMPsaodqw_0[0].len = 2; T_uRgrUHgaDgkYkoMPsaodqw_0[0].kind = 2; T_uRgrUHgaDgkYkoMPsaodqw_0[0].sons = &T_uRgrUHgaDgkYkoMPsaodqw_2[0];
NTI_2ud26DHRGdy6LEqDPifSOA.node = &T_uRgrUHgaDgkYkoMPsaodqw_0[0];
}

