/* Generated by Nim Compiler v0.10.2 */
/*   (c) 2014 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_INTBITS 64
#include "nimbase.h"

#include <string.h>
typedef struct tsymseq225818 tsymseq225818;
typedef struct tsym225846 tsym225846;
typedef struct TGenericSeq TGenericSeq;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tcell45135 tcell45135;
typedef struct tcellseq45151 tcellseq45151;
typedef struct tgcheap47216 tgcheap47216;
typedef struct tcellset45147 tcellset45147;
typedef struct tpagedesc45143 tpagedesc45143;
typedef struct tmemregion27410 tmemregion27410;
typedef struct tsmallchunk26640 tsmallchunk26640;
typedef struct tllchunk27404 tllchunk27404;
typedef struct tbigchunk26642 tbigchunk26642;
typedef struct tintset26617 tintset26617;
typedef struct ttrunk26613 ttrunk26613;
typedef struct tavlnode27408 tavlnode27408;
typedef struct tgcstat47214 tgcstat47214;
typedef struct tcontext290021 tcontext290021;
typedef struct tpasscontext286005 tpasscontext286005;
typedef struct TNimObject TNimObject;
typedef struct tscope225840 tscope225840;
typedef struct tproccon290011 tproccon290011;
typedef struct intset222056 intset222056;
typedef struct ttrunk222052 ttrunk222052;
typedef struct ttrunkseq222054 ttrunkseq222054;
typedef struct tlinkedlist127028 tlinkedlist127028;
typedef struct tlistentry127022 tlistentry127022;
typedef struct tidtable225864 tidtable225864;
typedef struct tidpairseq225862 tidpairseq225862;
typedef struct tidpair225860 tidpair225860;
typedef struct tidobj200015 tidobj200015;
typedef struct tnode225816 tnode225816;
typedef struct ttype225852 ttype225852;
typedef struct tlineinfo195539 tlineinfo195539;
typedef struct tstrtable225820 tstrtable225820;
typedef struct tctx289048 tctx289048;
typedef struct TY290133 TY290133;
typedef struct tinstantiationpair290013 tinstantiationpair290013;
typedef struct tinstantiation225836 tinstantiation225836;
typedef struct TY612034 TY612034;
typedef struct TY612037 TY612037;
typedef struct toptionentry290005 toptionentry290005;
typedef struct tlib225834 tlib225834;
typedef struct ttypeseq225848 ttypeseq225848;
typedef struct tloc225830 tloc225830;
typedef struct trope177009 trope177009;
typedef struct NimStringDesc NimStringDesc;
typedef struct tident200021 tident200021;
typedef struct tnodeseq225810 tnodeseq225810;
typedef struct TY84945 TY84945;
typedef struct TY225947 TY225947;
typedef struct tbasechunk26638 tbasechunk26638;
typedef struct tfreecell26630 tfreecell26630;
typedef struct TY289250 TY289250;
typedef struct TY196414 TY196414;
typedef struct pprocHEX3Aobjecttype289230 pprocHEX3Aobjecttype289230;
typedef struct TY289269 TY289269;
typedef struct TY289270 TY289270;
typedef struct vmargs289042 vmargs289042;
typedef struct TY225936 TY225936;
typedef struct TY289231 TY289231;
typedef struct tblock289030 tblock289030;
typedef struct TY289211 TY289211;
typedef struct TY289237 TY289237;
struct  TGenericSeq  {
NI len;
NI reserved;
};
typedef N_NIMCALL_PTR(void, TY3089) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3094) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3089 marker;
TY3094 deepcopy;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  tcell45135  {
NI Refcount;
TNimType* Typ;
};
struct  tcellseq45151  {
NI Len;
NI Cap;
tcell45135** D;
};
struct  tcellset45147  {
NI Counter;
NI Max;
tpagedesc45143* Head;
tpagedesc45143** Data;
};
typedef tsmallchunk26640* TY27422[512];
typedef ttrunk26613* ttrunkbuckets26615[256];
struct  tintset26617  {
ttrunkbuckets26615 Data;
};
struct  tmemregion27410  {
NI Minlargeobj;
NI Maxlargeobj;
TY27422 Freesmallchunks;
tllchunk27404* Llmem;
NI Currmem;
NI Maxmem;
NI Freemem;
NI Lastsize;
tbigchunk26642* Freechunkslist;
tintset26617 Chunkstarts;
tavlnode27408* Root;
tavlnode27408* Deleted;
tavlnode27408* Last;
tavlnode27408* Freeavlnodes;
};
struct  tgcstat47214  {
NI Stackscans;
NI Cyclecollections;
NI Maxthreshold;
NI Maxstacksize;
NI Maxstackcells;
NI Cycletablesize;
NI64 Maxpause;
};
struct  tgcheap47216  {
void* Stackbottom;
NI Cyclethreshold;
tcellseq45151 Zct;
tcellseq45151 Decstack;
tcellset45147 Cycleroots;
tcellseq45151 Tempstack;
NI Recgclock;
tmemregion27410 Region;
tgcstat47214 Stat;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  tpasscontext286005  {
  TNimObject Sup;
NIM_BOOL Fromcache;
};
struct  intset222056  {
NI Counter;
NI Max;
ttrunk222052* Head;
ttrunkseq222054* Data;
};
struct  tlinkedlist127028  {
tlistentry127022* Head;
tlistentry127022* Tail;
NI Counter;
};
struct  tidpair225860  {
tidobj200015* Key;
TNimObject* Val;
};
struct  tidtable225864  {
NI Counter;
tidpairseq225862* Data;
};
typedef N_NIMCALL_PTR(tnode225816*, TY290064) (tcontext290021* c, tnode225816* n);
typedef N_NIMCALL_PTR(tnode225816*, TY290069) (tcontext290021* c, tnode225816* n, NU16 flags);
typedef N_NIMCALL_PTR(tnode225816*, TY290077) (tcontext290021* c, tnode225816* n, NU16 flags);
typedef N_NIMCALL_PTR(tnode225816*, TY290085) (tcontext290021* c, tnode225816* n);
typedef N_NIMCALL_PTR(tnode225816*, TY290090) (tcontext290021* c, tnode225816* n, NU16 flags);
typedef N_NIMCALL_PTR(tnode225816*, TY290098) (tcontext290021* c, tnode225816* n);
typedef N_NIMCALL_PTR(tnode225816*, TY290103) (tcontext290021* c, tnode225816* n, tnode225816* norig, NU32 filter);
typedef N_NIMCALL_PTR(ttype225852*, TY290110) (tcontext290021* c, tnode225816* n, ttype225852* prev);
typedef struct {
N_NIMCALL_PTR(tnode225816*, ClPrc) (tcontext290021* c, tidtable225864 pt, tnode225816* n, void* ClEnv);
void* ClEnv;
} TY290116;
struct  tlineinfo195539  {
NI16 Line;
NI16 Col;
NI32 Fileindex;
};
typedef struct {
N_NIMCALL_PTR(tsym225846*, ClPrc) (tcontext290021* c, tsym225846* fn, tidtable225864 pt, tlineinfo195539 info, void* ClEnv);
void* ClEnv;
} TY290122;
struct  tstrtable225820  {
NI Counter;
tsymseq225818* Data;
};
struct  tinstantiationpair290013  {
tsym225846* Genericsym;
tinstantiation225836* Inst;
};
typedef N_NIMCALL_PTR(tsym225846*, TY290138) (tcontext290021* c, tsym225846* dc, ttype225852* t, tlineinfo195539 info);
struct  tcontext290021  {
  tpasscontext286005 Sup;
tsym225846* Module;
tscope225840* Currentscope;
tscope225840* Importtable;
tscope225840* Toplevelscope;
tproccon290011* P;
tsymseq225818* Friendmodules;
NI Instcounter;
intset222056 Ambiguoussymbols;
NI Intypeclass;
NI Ingenericcontext;
NI Inunrolledcontext;
NI Incompilescontext;
NI Ingenericinst;
tsymseq225818* Converters;
tsymseq225818* Patterns;
tlinkedlist127028 Optionstack;
tidtable225864 Symmapping;
tlinkedlist127028 Libs;
TY290064 Semconstexpr;
TY290069 Semexpr;
TY290077 Semtryexpr;
TY290085 Semtryconstexpr;
TY290090 Semoperand;
TY290098 Semconstboolexpr;
TY290103 Semoverloadedcall;
TY290110 Semtypenode;
TY290116 Seminferredlambda;
TY290122 Semgenerateinstance;
intset222056 Includedfiles;
tstrtable225820 Userpragmas;
tctx289048* Evalcontext;
intset222056 Unknownidents;
TY290133* Generics;
NI Lastgenericidx;
NI Hloloopdetector;
NI Inparallelstmt;
TY290138 Instdeepcopy;
};
struct  tproccon290011  {
tsym225846* Owner;
tsym225846* Resultsym;
NI Nestedloopcounter;
NI Nestedblockcounter;
NI Intrystmt;
tproccon290011* Next;
};
struct TY612034 {
void* Field0;
TY612037* Field1;
};
struct  tlistentry127022  {
  TNimObject Sup;
tlistentry127022* Prev;
tlistentry127022* Next;
};
struct  toptionentry290005  {
  tlistentry127022 Sup;
NU32 Options;
NU8 Defaultcc;
tlib225834* Dynlib;
NU64 Notes;
tnode225816* Otherpragmas;
};
typedef tsym225846* TY290498[1];
struct  tidobj200015  {
  TNimObject Sup;
NI Id;
};
struct  tloc225830  {
NU8 K;
NU8 S;
NU8 Flags;
ttype225852* T;
trope177009* R;
trope177009* Heaproot;
};
struct  ttype225852  {
  tidobj200015 Sup;
NU8 Kind;
NU8 Callconv;
NU32 Flags;
ttypeseq225848* Sons;
tnode225816* N;
tsym225846* Owner;
tsym225846* Sym;
tsym225846* Destructor;
tsym225846* Deepcopy;
NI64 Size;
NI16 Align;
NI16 Locklevel;
tloc225830 Loc;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  tnode225816  {
ttype225852* Typ;
tlineinfo195539 Info;
NU16 Flags;
NU8 Kind;
union {
struct {NI64 Intval;
} S1;
struct {NF Floatval;
} S2;
struct {NimStringDesc* Strval;
} S3;
struct {tsym225846* Sym;
} S4;
struct {tident200021* Ident;
} S5;
struct {tnodeseq225810* Sons;
} S6;
} kindU;
NimStringDesc* Comment;
};
struct TY84945 {
NimStringDesc* Field0;
NI Field1;
};
typedef tnode225816* TY246892[1];
typedef ttype225852* TY411748[1];
typedef ttype225852* TY290918[2];
typedef tnode225816* TY291286[2];
struct  tlib225834  {
  tlistentry127022 Sup;
NU8 Kind;
NIM_BOOL Generated;
NIM_BOOL Isoverriden;
trope177009* Name;
tnode225816* Path;
};
struct  tsym225846  {
  tidobj200015 Sup;
NU8 Kind;
union {
struct {ttypeseq225848* Typeinstcache;
tscope225840* Typscope;
} S1;
struct {TY225947* Procinstcache;
tscope225840* Scope;
} S2;
struct {TY225947* Usedgenerics;
tstrtable225820 Tab;
} S3;
struct {tsym225846* Guard;
} S4;
} kindU;
NU16 Magic;
ttype225852* Typ;
tident200021* Name;
tlineinfo195539 Info;
tsym225846* Owner;
NU32 Flags;
tnode225816* Ast;
NU32 Options;
NI Position;
NI Offset;
tloc225830 Loc;
tlib225834* Annex;
tnode225816* Constraint;
};
typedef NI TY26620[8];
struct  tpagedesc45143  {
tpagedesc45143* Next;
NI Key;
TY26620 Bits;
};
struct  tbasechunk26638  {
NI Prevsize;
NI Size;
NIM_BOOL Used;
};
struct  tsmallchunk26640  {
  tbasechunk26638 Sup;
tsmallchunk26640* Next;
tsmallchunk26640* Prev;
tfreecell26630* Freelist;
NI Free;
NI Acc;
NF Data;
};
struct  tllchunk27404  {
NI Size;
NI Acc;
tllchunk27404* Next;
};
struct  tbigchunk26642  {
  tbasechunk26638 Sup;
tbigchunk26642* Next;
tbigchunk26642* Prev;
NI Align;
NF Data;
};
struct  ttrunk26613  {
ttrunk26613* Next;
NI Key;
TY26620 Bits;
};
typedef tavlnode27408* TY27414[2];
struct  tavlnode27408  {
TY27414 Link;
NI Key;
NI Upperbound;
NI Level;
};
struct  tscope225840  {
NI Depthlevel;
tstrtable225820 Symbols;
tnodeseq225810* Usingsyms;
tscope225840* Parent;
};
struct  ttrunk222052  {
ttrunk222052* Next;
NI Key;
TY26620 Bits;
};
struct  vmargs289042  {
NI Ra;
NI Rb;
NI Rc;
void* Slots;
tnode225816* Currentexception;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (vmargs289042* args, void* ClEnv);
void* ClEnv;
} vmcallback289044;
struct TY289270 {
NimStringDesc* Field0;
vmcallback289044 Field1;
};
struct  tctx289048  {
  tpasscontext286005 Sup;
TY289250* Code;
TY196414* Debug;
tnode225816* Globals;
tnode225816* Constants;
ttypeseq225848* Types;
tnode225816* Currentexceptiona;
tnode225816* Currentexceptionb;
NI Exceptioninstr;
pprocHEX3Aobjecttype289230* Prc;
tsym225846* Module;
tnode225816* Callsite;
NU8 Mode;
NU8 Features;
NIM_BOOL Traceactive;
NI Loopiterations;
tlineinfo195539 Comesfromheuristic;
TY289269* Callbacks;
NimStringDesc* Errorflag;
};
struct  tinstantiation225836  {
tsym225846* Sym;
ttypeseq225848* Concretetypes;
TY225936* Usedby;
};
struct TY612037 {
char dummy;
};
struct  trope177009  {
  TNimObject Sup;
trope177009* Left;
trope177009* Right;
NI Length;
NimStringDesc* Data;
};
struct  tident200021  {
  tidobj200015 Sup;
NimStringDesc* S;
tident200021* Next;
NI H;
};
struct  tfreecell26630  {
tfreecell26630* Next;
NI Zerofield;
};
struct  tblock289030  {
tsym225846* Label;
TY289211* Fixups;
};
struct TY289237 {
NIM_BOOL Field0;
NU8 Field1;
};
typedef TY289237 TY289234[256];
struct  pprocHEX3Aobjecttype289230  {
TY289231* Blocks;
tsym225846* Sym;
TY289234 Slots;
NI Maxslots;
};
struct tsymseq225818 {
  TGenericSeq Sup;
  tsym225846* data[SEQ_DECL_SIZE];
};
struct ttrunkseq222054 {
  TGenericSeq Sup;
  ttrunk222052* data[SEQ_DECL_SIZE];
};
struct tidpairseq225862 {
  TGenericSeq Sup;
  tidpair225860 data[SEQ_DECL_SIZE];
};
struct TY290133 {
  TGenericSeq Sup;
  tinstantiationpair290013 data[SEQ_DECL_SIZE];
};
struct ttypeseq225848 {
  TGenericSeq Sup;
  ttype225852* data[SEQ_DECL_SIZE];
};
struct tnodeseq225810 {
  TGenericSeq Sup;
  tnode225816* data[SEQ_DECL_SIZE];
};
struct TY225947 {
  TGenericSeq Sup;
  tinstantiation225836* data[SEQ_DECL_SIZE];
};
struct TY289250 {
  TGenericSeq Sup;
  NU32 data[SEQ_DECL_SIZE];
};
struct TY196414 {
  TGenericSeq Sup;
  tlineinfo195539 data[SEQ_DECL_SIZE];
};
struct TY289269 {
  TGenericSeq Sup;
  TY289270 data[SEQ_DECL_SIZE];
};
struct TY225936 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct TY289211 {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
struct TY289231 {
  TGenericSeq Sup;
  tblock289030 data[SEQ_DECL_SIZE];
};
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(tcell45135*, usrtocell_48846)(void* usr);
static N_INLINE(void, rtladdzct_50404)(tcell45135* c);
N_NOINLINE(void, addzct_48817)(tcellseq45151* s, tcell45135* c);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP1944)(void* p, NI op);
N_NIMCALL(void, TMP1969)(void* p, NI op);
N_NIMCALL(void, TMP1970)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_NIMCALL(void, initintset_222950)(intset222056* Result);
N_NIMCALL(void, initlinkedlist_127043)(tlinkedlist127028* list);
N_NIMCALL(void, append_127053)(tlinkedlist127028* list, tlistentry127022* entry);
N_NIMCALL(toptionentry290005*, newoptionentry_290181)(void);
N_NIMCALL(void, TMP1975)(void* p, NI op);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_51225)(tcell45135* c);
static N_INLINE(NIM_BOOL, canbecycleroot_48867)(tcell45135* c);
static N_INLINE(void, rtladdcycleroot_49629)(tcell45135* c);
N_NOINLINE(void, incl_45871)(tcellset45147* s, tcell45135* cell);
static N_INLINE(void, decref_50804)(tcell45135* c);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
N_NIMCALL(void, initstrtable_226153)(tstrtable225820* x);
N_NIMCALL(ttype225852*, newtypes_290213)(NU8 kind, tcontext290021* c);
N_NIMCALL(ttype225852*, newtype_226083)(NU8 kind, tsym225846* owner);
N_NIMCALL(tsym225846*, getcurrowner_290255)(void);
N_NIMCALL(void, genericSeqAssign)(void* dest, void* src_79804, TNimType* mt);
N_NIMCALL(void, globalerror_197934)(tlineinfo195539 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(NimStringDesc*, rendertree_250058)(tnode225816* n, NU8 renderflags);
static N_INLINE(NI, sonslen_226249)(tnode225816* n);
N_NIMCALL(void, illformedast_291405)(tnode225816* n);
N_NIMCALL(void, addsonskipintlit_282574)(ttype225852* father, ttype225852* son);
N_NIMCALL(void, internalerror_198006)(NimStringDesc* errmsg);
N_NIMCALL(NimStringDesc*, HEX24_198126)(TY84945 x_198130);
N_NIMCALL(tnode225816*, newnodei_226138)(NU8 kind, tlineinfo195539 info);
N_NIMCALL(void, addson_226287)(tnode225816* father, tnode225816* son);
N_NIMCALL(tnode225816*, newinttypenode_226103)(NU8 kind, NI64 intval, ttype225852* typ);
N_NIMCALL(ttype225852*, newtypewithsons_290822)(tcontext290021* c, NU8 kind, ttypeseq225848* sons);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_NIMCALL(void, propagatetoowner_230318)(ttype225852* owner, ttype225852* elem);
N_NIMCALL(ttype225852*, getsystype_282030)(NU8 kind);
N_NIMCALL(tnode225816*, newnode_228207)(NU8 kind, tlineinfo195539 info, tnodeseq225810* sons, ttype225852* typ);
N_NIMCALL(tnode225816*, makestaticexpr_290835)(tcontext290021* c, tnode225816* n);
N_NIMCALL(tnode225816*, nminusone_291218)(tnode225816* n);
N_NIMCALL(tnode225816*, newsymnode_226132)(tsym225846* sym);
N_NIMCALL(tsym225846*, getsysmagic_282175)(NimStringDesc* name, NU16 m);
N_NIMCALL(TGenericSeq*, incrSeq)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_NIMCALL(TGenericSeq*, setLengthSeq)(TGenericSeq* seq, NI elemsize, NI newlen);
N_NIMCALL(ttype225852*, errortype_291318)(tcontext290021* c);
N_NIMCALL(ttype225852*, maketypedesc_290762)(tcontext290021* c, ttype225852* typ);
N_NIMCALL(tsym225846*, linkto_226825)(tsym225846* s, ttype225852* t);
N_NIMCALL(tsym225846*, newsym_226074)(NU8 symkind, tident200021* name, tsym225846* owner, tlineinfo195539 info);
N_NIMCALL(tnode225816*, newsymnode_227754)(tsym225846* sym, tlineinfo195539 info);
N_NIMCALL(void, inclsym_290567)(tsymseq225818** sq, tsym225846* s);
STRING_LITERAL(TMP2674, "compiler/semdata.nim", 20);
NIM_CONST TY84945 TMP2673 = {((NimStringDesc*) &TMP2674),
214}
;
NIM_CONST TY84945 TMP2682 = {((NimStringDesc*) &TMP2674),
210}
;
STRING_LITERAL(TMP2890, "<", 1);
STRING_LITERAL(TMP3044, "popOwner", 8);
NIM_CONST TY84945 TMP3242 = {((NimStringDesc*) &TMP2674),
206}
;
tsymseq225818* gowners_290292;
extern TNimType NTI225818; /* TSymSeq */
extern tgcheap47216 gch_47244;
extern TNimType NTI286005; /* TPassContext */
TNimType NTI290021; /* TContext */
extern TNimType NTI225814; /* PSym */
extern TNimType NTI225842; /* PScope */
TNimType NTI290011; /* TProcCon */
extern TNimType NTI108; /* int */
TNimType NTI290009; /* PProcCon */
extern TNimType NTI222056; /* IntSet */
extern TNimType NTI127028; /* TLinkedList */
extern TNimType NTI225864; /* TIdTable */
TNimType NTI290064; /* proc (PContext, PNode): PNode */
TNimType NTI290069; /* proc (PContext, PNode, TExprFlags): PNode */
TNimType NTI290077; /* proc (PContext, PNode, TExprFlags): PNode */
TNimType NTI290085; /* proc (PContext, PNode): PNode */
TNimType NTI290090; /* proc (PContext, PNode, TExprFlags): PNode */
TNimType NTI290098; /* proc (PContext, PNode): PNode */
TNimType NTI290103; /* proc (PContext, PNode, PNode, TSymKinds): PNode */
TNimType NTI290110; /* proc (PContext, PNode, PType): PType */
TNimType NTI290116; /* tuple[pointer, ref tuple[]] */
extern TNimType NTI153; /* pointer */
extern TNimType NTI612036; /* ref tuple[] */
TNimType NTI290122; /* tuple[pointer, ref tuple[]] */
extern TNimType NTI225820; /* TStrTable */
extern TNimType NTI289046; /* PCtx */
TNimType NTI290013; /* TInstantiationPair */
extern TNimType NTI225838; /* PInstantiation */
TNimType NTI290133; /* seq[TInstantiationPair] */
TNimType NTI290138; /* proc (PContext, PSym, PType, TLineInfo): PSym */
TNimType NTI290019; /* PContext */
extern TNimType NTI127022; /* TListEntry */
TNimType NTI290005; /* TOptionEntry */
extern TNimType NTI169016; /* TOptions */
extern TNimType NTI225005; /* TCallingConvention */
extern TNimType NTI225844; /* PLib */
extern TNimType NTI195535; /* TNoteKinds */
extern TNimType NTI225808; /* PNode */
TNimType NTI290007; /* POptionEntry */
extern NU32 goptions_169116;
extern NU64 gnotes_196302;
extern TNimType NTI225848; /* TTypeSeq */
extern TNimType NTI225810; /* TNodeSeq */
extern TNimType NTI225834; /* TLib */
extern tident200021* idanon_200504;

static N_INLINE(tcell45135*, usrtocell_48846)(void* usr) {
	tcell45135* result;
	result = 0;
	result = ((tcell45135*) ((NI)((NU64)(((NI) (usr))) - (NU64)(((NI)sizeof(tcell45135))))));
	return result;
}

static N_INLINE(void, rtladdzct_50404)(tcell45135* c) {
	addzct_48817((&gch_47244.Zct), c);
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	tcell45135* c;
	c = usrtocell_48846(p);
	{
		(*c).Refcount -= 8;
		if (!((NU64)((*c).Refcount) < (NU64)(8))) goto LA3;
		rtladdzct_50404(c);
	}
	LA3: ;
}
N_NIMCALL(void, TMP1944)(void* p, NI op) {
	tproccon290011* a;
	a = (tproccon290011*)p;
	nimGCvisit((void*)(*a).Owner, op);
	nimGCvisit((void*)(*a).Resultsym, op);
	nimGCvisit((void*)(*a).Next, op);
}
N_NIMCALL(void, TMP1969)(void* p, NI op) {
	TY290133* a;
	NI LOC1;
	a = (TY290133*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	nimGCvisit((void*)a->data[LOC1].Genericsym, op);
	nimGCvisit((void*)a->data[LOC1].Inst, op);
	}
}
N_NIMCALL(void, TMP1970)(void* p, NI op) {
	tcontext290021* a;
	a = (tcontext290021*)p;
	nimGCvisit((void*)(*a).Module, op);
	nimGCvisit((void*)(*a).Currentscope, op);
	nimGCvisit((void*)(*a).Importtable, op);
	nimGCvisit((void*)(*a).Toplevelscope, op);
	nimGCvisit((void*)(*a).P, op);
	nimGCvisit((void*)(*a).Friendmodules, op);
	nimGCvisit((void*)(*a).Ambiguoussymbols.Head, op);
	nimGCvisit((void*)(*a).Ambiguoussymbols.Data, op);
	nimGCvisit((void*)(*a).Converters, op);
	nimGCvisit((void*)(*a).Patterns, op);
	nimGCvisit((void*)(*a).Optionstack.Head, op);
	nimGCvisit((void*)(*a).Optionstack.Tail, op);
	nimGCvisit((void*)(*a).Symmapping.Data, op);
	nimGCvisit((void*)(*a).Libs.Head, op);
	nimGCvisit((void*)(*a).Libs.Tail, op);
	nimGCvisit((void*)(*a).Seminferredlambda.ClEnv, op);
	nimGCvisit((void*)(*a).Semgenerateinstance.ClEnv, op);
	nimGCvisit((void*)(*a).Includedfiles.Head, op);
	nimGCvisit((void*)(*a).Includedfiles.Data, op);
	nimGCvisit((void*)(*a).Userpragmas.Data, op);
	nimGCvisit((void*)(*a).Evalcontext, op);
	nimGCvisit((void*)(*a).Unknownidents.Head, op);
	nimGCvisit((void*)(*a).Unknownidents.Data, op);
	nimGCvisit((void*)(*a).Generics, op);
}
N_NIMCALL(void, TMP1975)(void* p, NI op) {
	toptionentry290005* a;
	a = (toptionentry290005*)p;
	nimGCvisit((void*)(*a).Sup.Prev, op);
	nimGCvisit((void*)(*a).Sup.Next, op);
	nimGCvisit((void*)(*a).Dynlib, op);
	nimGCvisit((void*)(*a).Otherpragmas, op);
}

static N_INLINE(NIM_BOOL, canbecycleroot_48867)(tcell45135* c) {
	NIM_BOOL result;
	result = 0;
	result = !((((*(*c).Typ).flags &(1<<((((NU8) 1))&7)))!=0));
	return result;
}

static N_INLINE(void, rtladdcycleroot_49629)(tcell45135* c) {
	{
		if (!!((((NI) ((NI)((*c).Refcount & 3))) == 3))) goto LA3;
		(*c).Refcount = (NI)((NI)((*c).Refcount & -4) | 3);
		incl_45871((&gch_47244.Cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_51225)(tcell45135* c) {
	(*c).Refcount = (NI)((NU64)((*c).Refcount) + (NU64)(8));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_48867(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_49629(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_50804)(tcell45135* c) {
	{
		(*c).Refcount -= 8;
		if (!((NU64)((*c).Refcount) < (NU64)(8))) goto LA3;
		rtladdzct_50404(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_48867(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_49629(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		tcell45135* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_48846(src);
		incref_51225(LOC5);
	}
	LA3: ;
	{
		tcell45135* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_48846((*dest));
		decref_50804(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

N_NIMCALL(toptionentry290005*, newoptionentry_290181)(void) {
	toptionentry290005* result;
	result = 0;
	result = (toptionentry290005*) newObj((&NTI290007), sizeof(toptionentry290005));
	(*result).Sup.Sup.m_type = (&NTI290005);
	(*result).Options = goptions_169116;
	(*result).Defaultcc = ((NU8) 0);
	asgnRef((void**) (&(*result).Dynlib), NIM_NIL);
	(*result).Notes = gnotes_196302;
	return result;
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		tcell45135* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_48846(src);
		(*c).Refcount += 8;
	}
	LA3: ;
	{
		tcell45135* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_48846((*dest));
		{
			(*c).Refcount -= 8;
			if (!((NU64)((*c).Refcount) < (NU64)(8))) goto LA11;
			rtladdzct_50404(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

N_NIMCALL(tcontext290021*, newcontext_290169)(tsym225846* module) {
	tcontext290021* result;
	toptionentry290005* LOC1;
	tlistentry127022* LOC2;
	TY290498 LOC3;
	result = 0;
	result = (tcontext290021*) newObj((&NTI290019), sizeof(tcontext290021));
	(*result).Sup.Sup.m_type = (&NTI290021);
	initintset_222950((&(*result).Ambiguoussymbols));
	initlinkedlist_127043((&(*result).Optionstack));
	initlinkedlist_127043((&(*result).Libs));
	LOC1 = 0;
	LOC1 = newoptionentry_290181();
	LOC2 = 0;
	LOC2 = &LOC1->Sup;
	append_127053((&(*result).Optionstack), LOC2);
	asgnRefNoCycle((void**) (&(*result).Module), module);
	if ((*result).Friendmodules) nimGCunrefNoCycle((*result).Friendmodules);
	(*result).Friendmodules = (tsymseq225818*) newSeqRC1((&NTI225818), 1);
	memset((void*)LOC3, 0, sizeof(LOC3));
	LOC3[0] = module;
	asgnRefNoCycle((void**) (&(*result).Friendmodules->data[0]), LOC3[0]);
	if ((*result).Converters) nimGCunrefNoCycle((*result).Converters);
	(*result).Converters = (tsymseq225818*) newSeqRC1((&NTI225818), 0);
	if ((*result).Patterns) nimGCunrefNoCycle((*result).Patterns);
	(*result).Patterns = (tsymseq225818*) newSeqRC1((&NTI225818), 0);
	initintset_222950((&(*result).Includedfiles));
	initstrtable_226153((&(*result).Userpragmas));
	if ((*result).Generics) nimGCunrefNoCycle((*result).Generics);
	(*result).Generics = (TY290133*) newSeqRC1((&NTI290133), 0);
	initintset_222950((&(*result).Unknownidents));
	return result;
}

N_NIMCALL(tsym225846*, getcurrowner_290255)(void) {
	tsym225846* result;
	result = 0;
	result = gowners_290292->data[(gowners_290292->Sup.len-1)];
	return result;
}

N_NIMCALL(ttype225852*, newtypes_290213)(NU8 kind, tcontext290021* c) {
	ttype225852* result;
	tsym225846* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = getcurrowner_290255();
	result = newtype_226083(kind, LOC1);
	return result;
}

N_NIMCALL(ttype225852*, maketypefromexpr_290811)(tcontext290021* c, tnode225816* n) {
	ttype225852* result;
	result = 0;
	result = newtypes_290213(((NU8) 60), c);
	asgnRefNoCycle((void**) (&(*result).N), n);
	return result;
}

N_NIMCALL(ttype225852*, newtypewithsons_290822)(tcontext290021* c, NU8 kind, ttypeseq225848* sons) {
	ttype225852* result;
	tsym225846* LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = getcurrowner_290255();
	result = newtype_226083(kind, LOC1);
	genericSeqAssign((&(*result).Sons), sons, (&NTI225848));
	return result;
}

N_NIMCALL(ttype225852*, errortype_291318)(tcontext290021* c) {
	ttype225852* result;
	result = 0;
	result = newtypes_290213(((NU8) 50), c);
	return result;
}

N_NIMCALL(void, illformedast_291405)(tnode225816* n) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = rendertree_250058(n, 4);
	globalerror_197934((*n).Info, ((NU16) 1), LOC1);
}

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

N_NIMCALL(void, checksonslen_291415)(tnode225816* n, NI length) {
	{
		NI LOC3;
		LOC3 = 0;
		LOC3 = sonslen_226249(n);
		if (!!((LOC3 == length))) goto LA4;
		illformedast_291405(n);
	}
	LA4: ;
}

N_NIMCALL(ttype225852*, maketypedesc_290762)(tcontext290021* c, ttype225852* typ) {
	ttype225852* result;
	result = 0;
	result = newtypes_290213(((NU8) 8), c);
	{
		NimStringDesc* LOC5;
		if (!(typ == NIM_NIL)) goto LA3;
		LOC5 = 0;
		LOC5 = HEX24_198126(TMP2673);
		internalerror_198006(LOC5);
	}
	LA3: ;
	addsonskipintlit_282574(result, typ);
	return result;
}

N_NIMCALL(ttype225852*, makevartype_290206)(tcontext290021* c, ttype225852* basetype) {
	ttype225852* result;
	result = 0;
	result = newtypes_290213(((NU8) 23), c);
	{
		NimStringDesc* LOC5;
		if (!(basetype == NIM_NIL)) goto LA3;
		LOC5 = 0;
		LOC5 = HEX24_198126(TMP2682);
		internalerror_198006(LOC5);
	}
	LA3: ;
	addsonskipintlit_282574(result, basetype);
	return result;
}

N_NIMCALL(ttype225852*, makerangetype_291350)(tcontext290021* c, NI64 first, NI64 last, tlineinfo195539 info, ttype225852* inttype) {
	ttype225852* result;
	tnode225816* n;
	tnode225816* LOC1;
	tnode225816* LOC2;
	result = 0;
	n = newnodei_226138(((NU8) 44), info);
	LOC1 = 0;
	LOC1 = newinttypenode_226103(((NU8) 6), first, inttype);
	addson_226287(n, LOC1);
	LOC2 = 0;
	LOC2 = newinttypenode_226103(((NU8) 6), last, inttype);
	addson_226287(n, LOC2);
	result = newtypes_290213(((NU8) 20), c);
	asgnRefNoCycle((void**) (&(*result).N), n);
	addsonskipintlit_282574(result, inttype);
	return result;
}

N_NIMCALL(tnode225816*, makestaticexpr_290835)(tcontext290021* c, tnode225816* n) {
	tnode225816* result;
	TY246892 LOC1;
	ttypeseq225848* LOC2;
	TY411748 LOC3;
	result = 0;
	result = newnodei_226138(((NU8) 62), (*n).Info);
	if ((*result).kindU.S6.Sons) nimGCunrefNoCycle((*result).kindU.S6.Sons);
	(*result).kindU.S6.Sons = (tnodeseq225810*) newSeqRC1((&NTI225810), 1);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = n;
	asgnRefNoCycle((void**) (&(*result).kindU.S6.Sons->data[0]), LOC1[0]);
	LOC2 = 0;
	LOC2 = (ttypeseq225848*) newSeq((&NTI225848), 1);
	memset((void*)LOC3, 0, sizeof(LOC3));
	LOC3[0] = (*n).Typ;
	asgnRefNoCycle((void**) (&LOC2->data[0]), LOC3[0]);
	asgnRefNoCycle((void**) (&(*result).Typ), newtypewithsons_290822(c, ((NU8) 59), LOC2));
	return result;
}

N_NIMCALL(ttype225852*, makeandtype_290896)(tcontext290021* c, ttype225852* t1, ttype225852* t2) {
	ttype225852* result;
	TY290918 LOC1;
	result = 0;
	result = newtypes_290213(((NU8) 55), c);
	if ((*result).Sons) nimGCunrefNoCycle((*result).Sons);
	(*result).Sons = (ttypeseq225848*) newSeqRC1((&NTI225848), 2);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = t1;
	LOC1[1] = t2;
	asgnRefNoCycle((void**) (&(*result).Sons->data[0]), LOC1[0]);
	asgnRefNoCycle((void**) (&(*result).Sons->data[1]), LOC1[1]);
	propagatetoowner_230318(result, t1);
	propagatetoowner_230318(result, t2);
	(*result).Flags = ((*result).Flags | (((*t1).Flags | (*t2).Flags) & 4194304));
	return result;
}

N_NIMCALL(ttype225852*, makeortype_291015)(tcontext290021* c, ttype225852* t1, ttype225852* t2) {
	ttype225852* result;
	TY290918 LOC1;
	result = 0;
	result = newtypes_290213(((NU8) 56), c);
	if ((*result).Sons) nimGCunrefNoCycle((*result).Sons);
	(*result).Sons = (ttypeseq225848*) newSeqRC1((&NTI225848), 2);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = t1;
	LOC1[1] = t2;
	asgnRefNoCycle((void**) (&(*result).Sons->data[0]), LOC1[0]);
	asgnRefNoCycle((void**) (&(*result).Sons->data[1]), LOC1[1]);
	propagatetoowner_230318(result, t1);
	propagatetoowner_230318(result, t2);
	(*result).Flags = ((*result).Flags | (((*t1).Flags | (*t2).Flags) & 4194304));
	return result;
}

N_NIMCALL(ttype225852*, makenottype_291134)(tcontext290021* c, ttype225852* t1) {
	ttype225852* result;
	TY411748 LOC1;
	result = 0;
	result = newtypes_290213(((NU8) 57), c);
	if ((*result).Sons) nimGCunrefNoCycle((*result).Sons);
	(*result).Sons = (ttypeseq225848*) newSeqRC1((&NTI225848), 1);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = t1;
	asgnRefNoCycle((void**) (&(*result).Sons->data[0]), LOC1[0]);
	propagatetoowner_230318(result, t1);
	(*result).Flags = ((*result).Flags | ((*t1).Flags & 4194304));
	return result;
}

N_NIMCALL(void, checkminsonslen_291425)(tnode225816* n, NI length) {
	{
		NI LOC3;
		LOC3 = 0;
		LOC3 = sonslen_226249(n);
		if (!(LOC3 < length)) goto LA4;
		illformedast_291405(n);
	}
	LA4: ;
}

N_NIMCALL(tnode225816*, nminusone_291218)(tnode225816* n) {
	tnode225816* result;
	tnodeseq225810* LOC1;
	TY291286 LOC2;
	tsym225846* LOC3;
	result = 0;
	LOC1 = 0;
	LOC1 = (tnodeseq225810*) newSeq((&NTI225810), 2);
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC3 = 0;
	LOC3 = getsysmagic_282175(((NimStringDesc*) &TMP2890), ((NU16) 18));
	LOC2[0] = newsymnode_226132(LOC3);
	LOC2[1] = n;
	asgnRefNoCycle((void**) (&LOC1->data[0]), LOC2[0]);
	asgnRefNoCycle((void**) (&LOC1->data[1]), LOC2[1]);
	result = newnode_228207(((NU8) 27), (*n).Info, LOC1, NIM_NIL);
	return result;
}

N_NIMCALL(ttype225852*, makerangewithstaticexpr_291246)(tcontext290021* c, tnode225816* n) {
	ttype225852* result;
	ttype225852* inttype;
	TY411748 LOC1;
	tnodeseq225810* LOC2;
	TY291286 LOC3;
	tnode225816* LOC4;
	result = 0;
	inttype = getsystype_282030(((NU8) 31));
	result = newtypes_290213(((NU8) 20), c);
	if ((*result).Sons) nimGCunrefNoCycle((*result).Sons);
	(*result).Sons = (ttypeseq225848*) newSeqRC1((&NTI225848), 1);
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = inttype;
	asgnRefNoCycle((void**) (&(*result).Sons->data[0]), LOC1[0]);
	LOC2 = 0;
	LOC2 = (tnodeseq225810*) newSeq((&NTI225810), 2);
	memset((void*)LOC3, 0, sizeof(LOC3));
	LOC3[0] = newinttypenode_226103(((NU8) 6), IL64(0), inttype);
	LOC4 = 0;
	LOC4 = nminusone_291218(n);
	LOC3[1] = makestaticexpr_290835(c, LOC4);
	asgnRefNoCycle((void**) (&LOC2->data[0]), LOC3[0]);
	asgnRefNoCycle((void**) (&LOC2->data[1]), LOC3[1]);
	asgnRefNoCycle((void**) (&(*result).N), newnode_228207(((NU8) 44), (*n).Info, LOC2, NIM_NIL));
	return result;
}

N_NIMCALL(void, pushowner_290260)(tsym225846* owner) {
	gowners_290292 = (tsymseq225818*) incrSeq(&(gowners_290292)->Sup, sizeof(tsym225846*));
	asgnRefNoCycle((void**) (&gowners_290292->data[gowners_290292->Sup.len-1]), owner);
}

N_NIMCALL(void, makeinstpair_290148)(tsym225846* s, tinstantiation225836* inst, tinstantiationpair290013* Result) {
	unsureAsgnRef((void**) (&(*Result).Genericsym), s);
	unsureAsgnRef((void**) (&(*Result).Inst), inst);
}

N_NIMCALL(tlib225834*, newlib_290186)(NU8 kind) {
	tlib225834* result;
	result = 0;
	result = (tlib225834*) newObj((&NTI225844), sizeof(tlib225834));
	(*result).Sup.Sup.m_type = (&NTI225834);
	(*result).Kind = kind;
	return result;
}

N_NIMCALL(void, addtolib_290192)(tlib225834* lib, tsym225846* sym) {
	asgnRef((void**) (&(*sym).Annex), lib);
}

N_NIMCALL(toptionentry290005*, lastoptionentry_290175)(tcontext290021* c) {
	toptionentry290005* result;
	result = 0;
	result = ((toptionentry290005*) ((*c).Optionstack.Tail));
	return result;
}

N_NIMCALL(void, popowner_290266)(void) {
	NI length;
	length = gowners_290292->Sup.len;
	{
		if (!(0 < length)) goto LA3;
		gowners_290292 = (tsymseq225818*) setLengthSeq(&(gowners_290292)->Sup, sizeof(tsym225846*), (NI64)(length - 1));
	}
	goto LA1;
	LA3: ;
	{
		internalerror_198006(((NimStringDesc*) &TMP3044));
	}
	LA1: ;
}

N_NIMCALL(tnode225816*, errornode_291328)(tcontext290021* c, tnode225816* n) {
	tnode225816* result;
	result = 0;
	result = newnodei_226138(((NU8) 1), (*n).Info);
	asgnRefNoCycle((void**) (&(*result).Typ), errortype_291318(c));
	return result;
}

N_NIMCALL(ttype225852*, makeptrtype_290199)(tcontext290021* c, ttype225852* basetype) {
	ttype225852* result;
	result = 0;
	result = newtypes_290213(((NU8) 21), c);
	{
		NimStringDesc* LOC5;
		if (!(basetype == NIM_NIL)) goto LA3;
		LOC5 = 0;
		LOC5 = HEX24_198126(TMP3242);
		internalerror_198006(LOC5);
	}
	LA3: ;
	addsonskipintlit_282574(result, basetype);
	return result;
}

N_NIMCALL(tnode225816*, maketypesymnode_290797)(tcontext290021* c, ttype225852* typ, tlineinfo195539 info) {
	tnode225816* result;
	ttype225852* typedesc;
	tsym225846* sym;
	tsym225846* LOC1;
	tsym225846* LOC2;
	result = 0;
	typedesc = maketypedesc_290762(c, typ);
	LOC1 = 0;
	LOC1 = getcurrowner_290255();
	LOC2 = 0;
	LOC2 = newsym_226074(((NU8) 7), idanon_200504, LOC1, info);
	sym = linkto_226825(LOC2, typedesc);
	result = newsymnode_227754(sym, info);
	goto BeforeRet;
	BeforeRet: ;
	return result;
}

N_NIMCALL(void, inclsym_290567)(tsymseq225818** sq, tsym225846* s) {
	NI l;
	l = (*sq)->Sup.len;
	{
		NI i_290596;
		NI HEX3Atmp_290614;
		NI res_290617;
		i_290596 = 0;
		HEX3Atmp_290614 = 0;
		HEX3Atmp_290614 = (NI64)(l - 1);
		res_290617 = 0;
		{
			while (1) {
				if (!(res_290617 <= HEX3Atmp_290614)) goto LA3;
				i_290596 = res_290617;
				{
					if (!((*(*sq)->data[i_290596]).Sup.Id == (*s).Sup.Id)) goto LA6;
					goto BeforeRet;
				}
				LA6: ;
				res_290617 += 1;
			} LA3: ;
		}
	}
	(*sq) = (tsymseq225818*) setLengthSeq(&((*sq))->Sup, sizeof(tsym225846*), (NI64)(l + 1));
	asgnRefNoCycle((void**) (&(*sq)->data[l]), s);
	BeforeRet: ;
}

N_NIMCALL(void, addconverter_290634)(tcontext290021* c, tsym225846* conv) {
	inclsym_290567((&(*c).Converters), conv);
}

N_NIMCALL(void, addpattern_290645)(tcontext290021* c, tsym225846* p) {
	inclsym_290567((&(*c).Patterns), p);
}
NIM_EXTERNC N_NOINLINE(void, HEX00_semdataInit)(void) {
	if (gowners_290292) nimGCunrefNoCycle(gowners_290292);
	gowners_290292 = (tsymseq225818*) newSeqRC1((&NTI225818), 0);
}

NIM_EXTERNC N_NOINLINE(void, HEX00_semdataDatInit)(void) {
static TNimNode* TMP1942[37];
static TNimNode* TMP1943[6];
static TNimNode* TMP1945[2];
static TNimNode* TMP1946[2];
static TNimNode* TMP1968[2];
static TNimNode* TMP1971[5];
static TNimNode TMP846[60];
NTI290021.size = sizeof(tcontext290021);
NTI290021.kind = 17;
NTI290021.base = (&NTI286005);
TMP1942[0] = &TMP846[1];
TMP846[1].kind = 1;
TMP846[1].offset = offsetof(tcontext290021, Module);
TMP846[1].typ = (&NTI225814);
TMP846[1].name = "module";
TMP1942[1] = &TMP846[2];
TMP846[2].kind = 1;
TMP846[2].offset = offsetof(tcontext290021, Currentscope);
TMP846[2].typ = (&NTI225842);
TMP846[2].name = "currentScope";
TMP1942[2] = &TMP846[3];
TMP846[3].kind = 1;
TMP846[3].offset = offsetof(tcontext290021, Importtable);
TMP846[3].typ = (&NTI225842);
TMP846[3].name = "importTable";
TMP1942[3] = &TMP846[4];
TMP846[4].kind = 1;
TMP846[4].offset = offsetof(tcontext290021, Toplevelscope);
TMP846[4].typ = (&NTI225842);
TMP846[4].name = "topLevelScope";
TMP1942[4] = &TMP846[5];
NTI290011.size = sizeof(tproccon290011);
NTI290011.kind = 18;
NTI290011.base = 0;
TMP1943[0] = &TMP846[7];
TMP846[7].kind = 1;
TMP846[7].offset = offsetof(tproccon290011, Owner);
TMP846[7].typ = (&NTI225814);
TMP846[7].name = "owner";
TMP1943[1] = &TMP846[8];
TMP846[8].kind = 1;
TMP846[8].offset = offsetof(tproccon290011, Resultsym);
TMP846[8].typ = (&NTI225814);
TMP846[8].name = "resultSym";
TMP1943[2] = &TMP846[9];
TMP846[9].kind = 1;
TMP846[9].offset = offsetof(tproccon290011, Nestedloopcounter);
TMP846[9].typ = (&NTI108);
TMP846[9].name = "nestedLoopCounter";
TMP1943[3] = &TMP846[10];
TMP846[10].kind = 1;
TMP846[10].offset = offsetof(tproccon290011, Nestedblockcounter);
TMP846[10].typ = (&NTI108);
TMP846[10].name = "nestedBlockCounter";
TMP1943[4] = &TMP846[11];
TMP846[11].kind = 1;
TMP846[11].offset = offsetof(tproccon290011, Intrystmt);
TMP846[11].typ = (&NTI108);
TMP846[11].name = "inTryStmt";
TMP1943[5] = &TMP846[12];
TMP846[12].kind = 1;
TMP846[12].offset = offsetof(tproccon290011, Next);
TMP846[12].typ = (&NTI290009);
TMP846[12].name = "next";
TMP846[6].len = 6; TMP846[6].kind = 2; TMP846[6].sons = &TMP1943[0];
NTI290011.node = &TMP846[6];
NTI290009.size = sizeof(tproccon290011*);
NTI290009.kind = 22;
NTI290009.base = (&NTI290011);
NTI290009.marker = TMP1944;
TMP846[5].kind = 1;
TMP846[5].offset = offsetof(tcontext290021, P);
TMP846[5].typ = (&NTI290009);
TMP846[5].name = "p";
TMP1942[5] = &TMP846[13];
TMP846[13].kind = 1;
TMP846[13].offset = offsetof(tcontext290021, Friendmodules);
TMP846[13].typ = (&NTI225818);
TMP846[13].name = "friendModules";
TMP1942[6] = &TMP846[14];
TMP846[14].kind = 1;
TMP846[14].offset = offsetof(tcontext290021, Instcounter);
TMP846[14].typ = (&NTI108);
TMP846[14].name = "instCounter";
TMP1942[7] = &TMP846[15];
TMP846[15].kind = 1;
TMP846[15].offset = offsetof(tcontext290021, Ambiguoussymbols);
TMP846[15].typ = (&NTI222056);
TMP846[15].name = "ambiguousSymbols";
TMP1942[8] = &TMP846[16];
TMP846[16].kind = 1;
TMP846[16].offset = offsetof(tcontext290021, Intypeclass);
TMP846[16].typ = (&NTI108);
TMP846[16].name = "inTypeClass";
TMP1942[9] = &TMP846[17];
TMP846[17].kind = 1;
TMP846[17].offset = offsetof(tcontext290021, Ingenericcontext);
TMP846[17].typ = (&NTI108);
TMP846[17].name = "inGenericContext";
TMP1942[10] = &TMP846[18];
TMP846[18].kind = 1;
TMP846[18].offset = offsetof(tcontext290021, Inunrolledcontext);
TMP846[18].typ = (&NTI108);
TMP846[18].name = "inUnrolledContext";
TMP1942[11] = &TMP846[19];
TMP846[19].kind = 1;
TMP846[19].offset = offsetof(tcontext290021, Incompilescontext);
TMP846[19].typ = (&NTI108);
TMP846[19].name = "inCompilesContext";
TMP1942[12] = &TMP846[20];
TMP846[20].kind = 1;
TMP846[20].offset = offsetof(tcontext290021, Ingenericinst);
TMP846[20].typ = (&NTI108);
TMP846[20].name = "inGenericInst";
TMP1942[13] = &TMP846[21];
TMP846[21].kind = 1;
TMP846[21].offset = offsetof(tcontext290021, Converters);
TMP846[21].typ = (&NTI225818);
TMP846[21].name = "converters";
TMP1942[14] = &TMP846[22];
TMP846[22].kind = 1;
TMP846[22].offset = offsetof(tcontext290021, Patterns);
TMP846[22].typ = (&NTI225818);
TMP846[22].name = "patterns";
TMP1942[15] = &TMP846[23];
TMP846[23].kind = 1;
TMP846[23].offset = offsetof(tcontext290021, Optionstack);
TMP846[23].typ = (&NTI127028);
TMP846[23].name = "optionStack";
TMP1942[16] = &TMP846[24];
TMP846[24].kind = 1;
TMP846[24].offset = offsetof(tcontext290021, Symmapping);
TMP846[24].typ = (&NTI225864);
TMP846[24].name = "symMapping";
TMP1942[17] = &TMP846[25];
TMP846[25].kind = 1;
TMP846[25].offset = offsetof(tcontext290021, Libs);
TMP846[25].typ = (&NTI127028);
TMP846[25].name = "libs";
TMP1942[18] = &TMP846[26];
NTI290064.size = sizeof(TY290064);
NTI290064.kind = 25;
NTI290064.base = 0;
NTI290064.flags = 3;
TMP846[26].kind = 1;
TMP846[26].offset = offsetof(tcontext290021, Semconstexpr);
TMP846[26].typ = (&NTI290064);
TMP846[26].name = "semConstExpr";
TMP1942[19] = &TMP846[27];
NTI290069.size = sizeof(TY290069);
NTI290069.kind = 25;
NTI290069.base = 0;
NTI290069.flags = 3;
TMP846[27].kind = 1;
TMP846[27].offset = offsetof(tcontext290021, Semexpr);
TMP846[27].typ = (&NTI290069);
TMP846[27].name = "semExpr";
TMP1942[20] = &TMP846[28];
NTI290077.size = sizeof(TY290077);
NTI290077.kind = 25;
NTI290077.base = 0;
NTI290077.flags = 3;
TMP846[28].kind = 1;
TMP846[28].offset = offsetof(tcontext290021, Semtryexpr);
TMP846[28].typ = (&NTI290077);
TMP846[28].name = "semTryExpr";
TMP1942[21] = &TMP846[29];
NTI290085.size = sizeof(TY290085);
NTI290085.kind = 25;
NTI290085.base = 0;
NTI290085.flags = 3;
TMP846[29].kind = 1;
TMP846[29].offset = offsetof(tcontext290021, Semtryconstexpr);
TMP846[29].typ = (&NTI290085);
TMP846[29].name = "semTryConstExpr";
TMP1942[22] = &TMP846[30];
NTI290090.size = sizeof(TY290090);
NTI290090.kind = 25;
NTI290090.base = 0;
NTI290090.flags = 3;
TMP846[30].kind = 1;
TMP846[30].offset = offsetof(tcontext290021, Semoperand);
TMP846[30].typ = (&NTI290090);
TMP846[30].name = "semOperand";
TMP1942[23] = &TMP846[31];
NTI290098.size = sizeof(TY290098);
NTI290098.kind = 25;
NTI290098.base = 0;
NTI290098.flags = 3;
TMP846[31].kind = 1;
TMP846[31].offset = offsetof(tcontext290021, Semconstboolexpr);
TMP846[31].typ = (&NTI290098);
TMP846[31].name = "semConstBoolExpr";
TMP1942[24] = &TMP846[32];
NTI290103.size = sizeof(TY290103);
NTI290103.kind = 25;
NTI290103.base = 0;
NTI290103.flags = 3;
TMP846[32].kind = 1;
TMP846[32].offset = offsetof(tcontext290021, Semoverloadedcall);
TMP846[32].typ = (&NTI290103);
TMP846[32].name = "semOverloadedCall";
TMP1942[25] = &TMP846[33];
NTI290110.size = sizeof(TY290110);
NTI290110.kind = 25;
NTI290110.base = 0;
NTI290110.flags = 3;
TMP846[33].kind = 1;
TMP846[33].offset = offsetof(tcontext290021, Semtypenode);
TMP846[33].typ = (&NTI290110);
TMP846[33].name = "semTypeNode";
TMP1942[26] = &TMP846[34];
NTI290116.size = sizeof(TY612034);
NTI290116.kind = 18;
NTI290116.base = 0;
NTI290116.flags = 2;
TMP1945[0] = &TMP846[36];
TMP846[36].kind = 1;
TMP846[36].offset = offsetof(TY612034, Field0);
TMP846[36].typ = (&NTI153);
TMP846[36].name = "Field0";
TMP1945[1] = &TMP846[37];
TMP846[37].kind = 1;
TMP846[37].offset = offsetof(TY612034, Field1);
TMP846[37].typ = (&NTI612036);
TMP846[37].name = "Field1";
TMP846[35].len = 2; TMP846[35].kind = 2; TMP846[35].sons = &TMP1945[0];
NTI290116.node = &TMP846[35];
TMP846[34].kind = 1;
TMP846[34].offset = offsetof(tcontext290021, Seminferredlambda);
TMP846[34].typ = (&NTI290116);
TMP846[34].name = "semInferredLambda";
TMP1942[27] = &TMP846[38];
NTI290122.size = sizeof(TY612034);
NTI290122.kind = 18;
NTI290122.base = 0;
NTI290122.flags = 2;
TMP1946[0] = &TMP846[40];
TMP846[40].kind = 1;
TMP846[40].offset = offsetof(TY612034, Field0);
TMP846[40].typ = (&NTI153);
TMP846[40].name = "Field0";
TMP1946[1] = &TMP846[41];
TMP846[41].kind = 1;
TMP846[41].offset = offsetof(TY612034, Field1);
TMP846[41].typ = (&NTI612036);
TMP846[41].name = "Field1";
TMP846[39].len = 2; TMP846[39].kind = 2; TMP846[39].sons = &TMP1946[0];
NTI290122.node = &TMP846[39];
TMP846[38].kind = 1;
TMP846[38].offset = offsetof(tcontext290021, Semgenerateinstance);
TMP846[38].typ = (&NTI290122);
TMP846[38].name = "semGenerateInstance";
TMP1942[28] = &TMP846[42];
TMP846[42].kind = 1;
TMP846[42].offset = offsetof(tcontext290021, Includedfiles);
TMP846[42].typ = (&NTI222056);
TMP846[42].name = "includedFiles";
TMP1942[29] = &TMP846[43];
TMP846[43].kind = 1;
TMP846[43].offset = offsetof(tcontext290021, Userpragmas);
TMP846[43].typ = (&NTI225820);
TMP846[43].name = "userPragmas";
TMP1942[30] = &TMP846[44];
TMP846[44].kind = 1;
TMP846[44].offset = offsetof(tcontext290021, Evalcontext);
TMP846[44].typ = (&NTI289046);
TMP846[44].name = "evalContext";
TMP1942[31] = &TMP846[45];
TMP846[45].kind = 1;
TMP846[45].offset = offsetof(tcontext290021, Unknownidents);
TMP846[45].typ = (&NTI222056);
TMP846[45].name = "unknownIdents";
TMP1942[32] = &TMP846[46];
NTI290013.size = sizeof(tinstantiationpair290013);
NTI290013.kind = 18;
NTI290013.base = 0;
NTI290013.flags = 2;
TMP1968[0] = &TMP846[48];
TMP846[48].kind = 1;
TMP846[48].offset = offsetof(tinstantiationpair290013, Genericsym);
TMP846[48].typ = (&NTI225814);
TMP846[48].name = "genericSym";
TMP1968[1] = &TMP846[49];
TMP846[49].kind = 1;
TMP846[49].offset = offsetof(tinstantiationpair290013, Inst);
TMP846[49].typ = (&NTI225838);
TMP846[49].name = "inst";
TMP846[47].len = 2; TMP846[47].kind = 2; TMP846[47].sons = &TMP1968[0];
NTI290013.node = &TMP846[47];
NTI290133.size = sizeof(TY290133*);
NTI290133.kind = 24;
NTI290133.base = (&NTI290013);
NTI290133.flags = 2;
NTI290133.marker = TMP1969;
TMP846[46].kind = 1;
TMP846[46].offset = offsetof(tcontext290021, Generics);
TMP846[46].typ = (&NTI290133);
TMP846[46].name = "generics";
TMP1942[33] = &TMP846[50];
TMP846[50].kind = 1;
TMP846[50].offset = offsetof(tcontext290021, Lastgenericidx);
TMP846[50].typ = (&NTI108);
TMP846[50].name = "lastGenericIdx";
TMP1942[34] = &TMP846[51];
TMP846[51].kind = 1;
TMP846[51].offset = offsetof(tcontext290021, Hloloopdetector);
TMP846[51].typ = (&NTI108);
TMP846[51].name = "hloLoopDetector";
TMP1942[35] = &TMP846[52];
TMP846[52].kind = 1;
TMP846[52].offset = offsetof(tcontext290021, Inparallelstmt);
TMP846[52].typ = (&NTI108);
TMP846[52].name = "inParallelStmt";
TMP1942[36] = &TMP846[53];
NTI290138.size = sizeof(TY290138);
NTI290138.kind = 25;
NTI290138.base = 0;
NTI290138.flags = 3;
TMP846[53].kind = 1;
TMP846[53].offset = offsetof(tcontext290021, Instdeepcopy);
TMP846[53].typ = (&NTI290138);
TMP846[53].name = "instDeepCopy";
TMP846[0].len = 37; TMP846[0].kind = 2; TMP846[0].sons = &TMP1942[0];
NTI290021.node = &TMP846[0];
NTI290019.size = sizeof(tcontext290021*);
NTI290019.kind = 22;
NTI290019.base = (&NTI290021);
NTI290019.marker = TMP1970;
NTI290005.size = sizeof(toptionentry290005);
NTI290005.kind = 17;
NTI290005.base = (&NTI127022);
TMP1971[0] = &TMP846[55];
TMP846[55].kind = 1;
TMP846[55].offset = offsetof(toptionentry290005, Options);
TMP846[55].typ = (&NTI169016);
TMP846[55].name = "options";
TMP1971[1] = &TMP846[56];
TMP846[56].kind = 1;
TMP846[56].offset = offsetof(toptionentry290005, Defaultcc);
TMP846[56].typ = (&NTI225005);
TMP846[56].name = "defaultCC";
TMP1971[2] = &TMP846[57];
TMP846[57].kind = 1;
TMP846[57].offset = offsetof(toptionentry290005, Dynlib);
TMP846[57].typ = (&NTI225844);
TMP846[57].name = "dynlib";
TMP1971[3] = &TMP846[58];
TMP846[58].kind = 1;
TMP846[58].offset = offsetof(toptionentry290005, Notes);
TMP846[58].typ = (&NTI195535);
TMP846[58].name = "notes";
TMP1971[4] = &TMP846[59];
TMP846[59].kind = 1;
TMP846[59].offset = offsetof(toptionentry290005, Otherpragmas);
TMP846[59].typ = (&NTI225808);
TMP846[59].name = "otherPragmas";
TMP846[54].len = 5; TMP846[54].kind = 2; TMP846[54].sons = &TMP1971[0];
NTI290005.node = &TMP846[54];
NTI290007.size = sizeof(toptionentry290005*);
NTI290007.kind = 22;
NTI290007.base = (&NTI290005);
NTI290007.marker = TMP1975;
}

