/* Generated by Nim Compiler v0.10.2 */
/*   (c) 2014 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_INTBITS 32
#include "nimbase.h"
typedef struct trope176009 trope176009;
typedef struct TY548150 TY548150;
typedef struct tcgen548035 tcgen548035;
typedef struct TGenericSeq TGenericSeq;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tpasscontext285005 tpasscontext285005;
typedef struct TNimObject TNimObject;
typedef struct tsym224846 tsym224846;
typedef struct NimStringDesc NimStringDesc;
typedef struct tidtable224864 tidtable224864;
typedef struct tidpairseq224862 tidpairseq224862;
typedef struct tidpair224860 tidpair224860;
typedef struct tidobj199015 tidobj199015;
typedef struct intset221056 intset221056;
typedef struct ttrunk221052 ttrunk221052;
typedef struct ttrunkseq221054 ttrunkseq221054;
typedef struct tlinkedlist126028 tlinkedlist126028;
typedef struct tlistentry126022 tlistentry126022;
typedef struct tcproc548031 tcproc548031;
typedef struct ttypeseq224848 ttypeseq224848;
typedef struct ttype224852 ttype224852;
typedef struct tnodetable224876 tnodetable224876;
typedef struct tnodepairseq224874 tnodepairseq224874;
typedef struct tnodepair224872 tnodepair224872;
typedef struct tnode224816 tnode224816;
typedef struct tsymseq224818 tsymseq224818;
typedef struct tnodeseq224810 tnodeseq224810;
typedef struct TY194552 TY194552;
typedef struct TY548102 TY548102;
typedef struct tblock548029 tblock548029;
typedef struct tcell44935 tcell44935;
typedef struct tcellseq44951 tcellseq44951;
typedef struct tgcheap47016 tgcheap47016;
typedef struct tcellset44947 tcellset44947;
typedef struct tpagedesc44943 tpagedesc44943;
typedef struct tmemregion27210 tmemregion27210;
typedef struct tsmallchunk26440 tsmallchunk26440;
typedef struct tllchunk27204 tllchunk27204;
typedef struct tbigchunk26442 tbigchunk26442;
typedef struct tintset26417 tintset26417;
typedef struct ttrunk26413 ttrunk26413;
typedef struct tavlnode27208 tavlnode27208;
typedef struct tgcstat47014 tgcstat47014;
typedef struct tscope224840 tscope224840;
typedef struct TY224947 TY224947;
typedef struct tinstantiation224836 tinstantiation224836;
typedef struct tstrtable224820 tstrtable224820;
typedef struct tident199021 tident199021;
typedef struct tlineinfo194539 tlineinfo194539;
typedef struct tloc224830 tloc224830;
typedef struct tlib224834 tlib224834;
typedef struct tbasechunk26438 tbasechunk26438;
typedef struct tfreecell26430 tfreecell26430;
typedef struct TY224936 TY224936;
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  TNimObject  {
TNimType* m_type;
};
struct  tpasscontext285005  {
  TNimObject Sup;
NIM_BOOL Fromcache;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef trope176009* tcfilesections548019[18];
struct  tidpair224860  {
tidobj199015* Key;
TNimObject* Val;
};
struct  tidtable224864  {
NI Counter;
tidpairseq224862* Data;
};
struct  intset221056  {
NI Counter;
NI Max;
ttrunk221052* Head;
ttrunkseq221054* Data;
};
struct  tlinkedlist126028  {
tlistentry126022* Head;
tlistentry126022* Tail;
NI Counter;
};
struct  tnodepair224872  {
NI H;
tnode224816* Key;
NI Val;
};
struct  tnodetable224876  {
NI Counter;
tnodepairseq224874* Data;
};
typedef trope176009* TY548138[10];
struct  tcgen548035  {
  tpasscontext285005 Sup;
tsym224846* Module;
NimStringDesc* Filename;
tcfilesections548019 S;
NIM_BOOL Preventstacktrace;
NIM_BOOL Usesthreadvars;
NIM_BOOL Framedeclared;
NIM_BOOL Isheaderfile;
NIM_BOOL Includesstringh;
NIM_BOOL Objhaskidsvalid;
NimStringDesc* Cfilename;
tidtable224864 Typecache;
tidtable224864 Forwtypecache;
intset221056 Declaredthings;
intset221056 Declaredprotos;
tlinkedlist126028 Headerfiles;
intset221056 Typeinfomarker;
tcproc548031* Initproc;
tcproc548031* Postinitproc;
tcproc548031* Preinitproc;
ttypeseq224848* Typestack;
tnodetable224876 Datacache;
tsymseq224818* Forwardedprocs;
NI Typenodes;
NI Nimtypes;
trope176009* Typenodesname;
trope176009* Nimtypesname;
NI Labels;
TY548138 Extensionloaders;
trope176009* Injectstmt;
};
typedef trope176009* tcprocsections548023[3];
struct  tblock548029  {
NI Id;
trope176009* Label;
tcprocsections548023 Sections;
NIM_BOOL Isloop;
NI16 Nestedtrystmts;
NI16 Nestedexceptstmts;
NI16 Framelen;
};
struct  tcproc548031  {
tsym224846* Prc;
NIM_BOOL Beforeretneeded;
NIM_BOOL Threadvaraccessed;
tnodeseq224810* Nestedtrystmts;
NI Inexceptblock;
TY194552* Finallysafepoints;
NI Labels;
TY548102* Blocks;
NI Breakidx;
NU32 Options;
NI Maxframelen;
tcgen548035* Module;
NI Withinloop;
NI Gcframeid;
trope176009* Gcframetype;
};
struct  tcell44935  {
NI Refcount;
TNimType* Typ;
};
struct  tcellseq44951  {
NI Len;
NI Cap;
tcell44935** D;
};
struct  tcellset44947  {
NI Counter;
NI Max;
tpagedesc44943* Head;
tpagedesc44943** Data;
};
typedef tsmallchunk26440* TY27222[512];
typedef ttrunk26413* ttrunkbuckets26415[256];
struct  tintset26417  {
ttrunkbuckets26415 Data;
};
struct  tmemregion27210  {
NI Minlargeobj;
NI Maxlargeobj;
TY27222 Freesmallchunks;
tllchunk27204* Llmem;
NI Currmem;
NI Maxmem;
NI Freemem;
NI Lastsize;
tbigchunk26442* Freechunkslist;
tintset26417 Chunkstarts;
tavlnode27208* Root;
tavlnode27208* Deleted;
tavlnode27208* Last;
tavlnode27208* Freeavlnodes;
};
struct  tgcstat47014  {
NI Stackscans;
NI Cyclecollections;
NI Maxthreshold;
NI Maxstacksize;
NI Maxstackcells;
NI Cycletablesize;
NI64 Maxpause;
};
struct  tgcheap47016  {
void* Stackbottom;
NI Cyclethreshold;
tcellseq44951 Zct;
tcellseq44951 Decstack;
tcellset44947 Cycleroots;
tcellseq44951 Tempstack;
NI Recgclock;
tmemregion27210 Region;
tgcstat47014 Stat;
};
struct  tidobj199015  {
  TNimObject Sup;
NI Id;
};
struct  tstrtable224820  {
NI Counter;
tsymseq224818* Data;
};
struct  tlineinfo194539  {
NI16 Line;
NI16 Col;
NI32 Fileindex;
};
struct  tloc224830  {
NU8 K;
NU8 S;
NU8 Flags;
ttype224852* T;
trope176009* R;
trope176009* Heaproot;
};
struct  tsym224846  {
  tidobj199015 Sup;
NU8 Kind;
union {
struct {ttypeseq224848* Typeinstcache;
tscope224840* Typscope;
} S1;
struct {TY224947* Procinstcache;
tscope224840* Scope;
} S2;
struct {TY224947* Usedgenerics;
tstrtable224820 Tab;
} S3;
struct {tsym224846* Guard;
} S4;
} kindU;
NU16 Magic;
ttype224852* Typ;
tident199021* Name;
tlineinfo194539 Info;
tsym224846* Owner;
NU32 Flags;
tnode224816* Ast;
NU32 Options;
NI Position;
NI Offset;
tloc224830 Loc;
tlib224834* Annex;
tnode224816* Constraint;
};
struct  trope176009  {
  TNimObject Sup;
trope176009* Left;
trope176009* Right;
NI Length;
NimStringDesc* Data;
};
typedef NI TY26420[16];
struct  ttrunk221052  {
ttrunk221052* Next;
NI Key;
TY26420 Bits;
};
struct  tlistentry126022  {
  TNimObject Sup;
tlistentry126022* Prev;
tlistentry126022* Next;
};
struct  ttype224852  {
  tidobj199015 Sup;
NU8 Kind;
NU8 Callconv;
NU32 Flags;
ttypeseq224848* Sons;
tnode224816* N;
tsym224846* Owner;
tsym224846* Sym;
tsym224846* Destructor;
tsym224846* Deepcopy;
NI64 Size;
NI16 Align;
NI16 Locklevel;
tloc224830 Loc;
};
struct  tnode224816  {
ttype224852* Typ;
tlineinfo194539 Info;
NU16 Flags;
NU8 Kind;
union {
struct {NI64 Intval;
} S1;
struct {NF Floatval;
} S2;
struct {NimStringDesc* Strval;
} S3;
struct {tsym224846* Sym;
} S4;
struct {tident199021* Ident;
} S5;
struct {tnodeseq224810* Sons;
} S6;
} kindU;
NimStringDesc* Comment;
};
struct  tpagedesc44943  {
tpagedesc44943* Next;
NI Key;
TY26420 Bits;
};
struct  tbasechunk26438  {
NI Prevsize;
NI Size;
NIM_BOOL Used;
};
struct  tsmallchunk26440  {
  tbasechunk26438 Sup;
tsmallchunk26440* Next;
tsmallchunk26440* Prev;
tfreecell26430* Freelist;
NI Free;
NI Acc;
NF Data;
};
struct  tllchunk27204  {
NI Size;
NI Acc;
tllchunk27204* Next;
};
struct  tbigchunk26442  {
  tbasechunk26438 Sup;
tbigchunk26442* Next;
tbigchunk26442* Prev;
NI Align;
NF Data;
};
struct  ttrunk26413  {
ttrunk26413* Next;
NI Key;
TY26420 Bits;
};
typedef tavlnode27208* TY27214[2];
struct  tavlnode27208  {
TY27214 Link;
NI Key;
NI Upperbound;
NI Level;
};
struct  tscope224840  {
NI Depthlevel;
tstrtable224820 Symbols;
tnodeseq224810* Usingsyms;
tscope224840* Parent;
};
struct  tinstantiation224836  {
tsym224846* Sym;
ttypeseq224848* Concretetypes;
TY224936* Usedby;
};
struct  tident199021  {
  tidobj199015 Sup;
NimStringDesc* S;
tident199021* Next;
NI H;
};
struct  tlib224834  {
  tlistentry126022 Sup;
NU8 Kind;
NIM_BOOL Generated;
NIM_BOOL Isoverriden;
trope176009* Name;
tnode224816* Path;
};
struct  tfreecell26430  {
tfreecell26430* Next;
NI Zerofield;
};
struct TY548150 {
  TGenericSeq Sup;
  tcgen548035* data[SEQ_DECL_SIZE];
};
struct tidpairseq224862 {
  TGenericSeq Sup;
  tidpair224860 data[SEQ_DECL_SIZE];
};
struct ttrunkseq221054 {
  TGenericSeq Sup;
  ttrunk221052* data[SEQ_DECL_SIZE];
};
struct ttypeseq224848 {
  TGenericSeq Sup;
  ttype224852* data[SEQ_DECL_SIZE];
};
struct tnodepairseq224874 {
  TGenericSeq Sup;
  tnodepair224872 data[SEQ_DECL_SIZE];
};
struct tsymseq224818 {
  TGenericSeq Sup;
  tsym224846* data[SEQ_DECL_SIZE];
};
struct tnodeseq224810 {
  TGenericSeq Sup;
  tnode224816* data[SEQ_DECL_SIZE];
};
struct TY194552 {
  TGenericSeq Sup;
  trope176009* data[SEQ_DECL_SIZE];
};
struct TY548102 {
  TGenericSeq Sup;
  tblock548029 data[SEQ_DECL_SIZE];
};
struct TY224947 {
  TGenericSeq Sup;
  tinstantiation224836* data[SEQ_DECL_SIZE];
};
struct TY224936 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP971)(void* p, NI op);
N_NIMCALL(void, TMP972)(void* p, NI op);
N_NIMCALL(void, TMP976)(void* p, NI op);
N_NIMCALL(void, TMP977)(void* p, NI op);
static N_INLINE(void, nimGCunref)(void* p);
static N_INLINE(void, decref_50604)(tcell44935* c);
static N_INLINE(void, rtladdzct_50204)(tcell44935* c);
N_NOINLINE(void, addzct_48617)(tcellseq44951* s, tcell44935* c);
static N_INLINE(NIM_BOOL, canbecycleroot_48667)(tcell44935* c);
static N_INLINE(void, rtladdcycleroot_49429)(tcell44935* c);
N_NOINLINE(void, incl_45671)(tcellset44947* s, tcell44935* cell);
static N_INLINE(tcell44935*, usrtocell_48646)(void* usr);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_51025)(tcell44935* c);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
trope176009* mainmodprocs_548145;
trope176009* mainmodinit_548146;
trope176009* othermodsinit_548147;
trope176009* maindatinit_548148;
trope176009* gmapping_548149;
TY548150* gmodules_548171;
extern TNimType NTI285005; /* TPassContext */
TNimType NTI548035; /* TCGen */
extern TNimType NTI224814; /* PSym */
extern TNimType NTI149; /* string */
extern TNimType NTI176007; /* PRope */
TNimType NTI548019; /* TCFileSections */
extern TNimType NTI138; /* bool */
extern TNimType NTI224864; /* TIdTable */
extern TNimType NTI221056; /* IntSet */
extern TNimType NTI126028; /* TLinkedList */
TNimType NTI548031; /* TCProc */
extern TNimType NTI224810; /* TNodeSeq */
extern TNimType NTI108; /* int */
extern TNimType NTI194552; /* seq[PRope] */
extern TNimType NTI74921; /* range 0..2147483647(int) */
TNimType NTI548029; /* TBlock */
TNimType NTI548023; /* TCProcSections */
extern TNimType NTI112; /* int16 */
TNimType NTI548102; /* seq[TBlock] */
extern TNimType NTI168016; /* TOptions */
TNimType NTI548027; /* BProc */
extern TNimType NTI224848; /* TTypeSeq */
extern TNimType NTI224876; /* TNodeTable */
extern TNimType NTI224818; /* TSymSeq */
TNimType NTI548138; /* array[48..57, PRope] */
TNimType NTI548025; /* BModule */
TNimType NTI548150; /* seq[BModule] */
extern tgcheap47016 gch_47044;
NI gforwardedprocscounter_548172;
extern NU32 goptions_168116;
N_NIMCALL(void, TMP971)(void* p, NI op) {
	TY548102* a;
	NI LOC1;
	NI LOC2;
	a = (TY548102*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	nimGCvisit((void*)a->data[LOC1].Label, op);
	LOC2 = 0;
	for (LOC2 = 0; LOC2 < 3; LOC2++) {
	nimGCvisit((void*)a->data[LOC1].Sections[LOC2], op);
	}
	}
}
N_NIMCALL(void, TMP972)(void* p, NI op) {
	tcproc548031* a;
	a = (tcproc548031*)p;
	nimGCvisit((void*)(*a).Prc, op);
	nimGCvisit((void*)(*a).Nestedtrystmts, op);
	nimGCvisit((void*)(*a).Finallysafepoints, op);
	nimGCvisit((void*)(*a).Blocks, op);
	nimGCvisit((void*)(*a).Module, op);
	nimGCvisit((void*)(*a).Gcframetype, op);
}
N_NIMCALL(void, TMP976)(void* p, NI op) {
	tcgen548035* a;
	NI LOC1;
	NI LOC2;
	a = (tcgen548035*)p;
	nimGCvisit((void*)(*a).Module, op);
	nimGCvisit((void*)(*a).Filename, op);
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < 18; LOC1++) {
	nimGCvisit((void*)(*a).S[LOC1], op);
	}
	nimGCvisit((void*)(*a).Cfilename, op);
	nimGCvisit((void*)(*a).Typecache.Data, op);
	nimGCvisit((void*)(*a).Forwtypecache.Data, op);
	nimGCvisit((void*)(*a).Declaredthings.Head, op);
	nimGCvisit((void*)(*a).Declaredthings.Data, op);
	nimGCvisit((void*)(*a).Declaredprotos.Head, op);
	nimGCvisit((void*)(*a).Declaredprotos.Data, op);
	nimGCvisit((void*)(*a).Headerfiles.Head, op);
	nimGCvisit((void*)(*a).Headerfiles.Tail, op);
	nimGCvisit((void*)(*a).Typeinfomarker.Head, op);
	nimGCvisit((void*)(*a).Typeinfomarker.Data, op);
	nimGCvisit((void*)(*a).Initproc, op);
	nimGCvisit((void*)(*a).Postinitproc, op);
	nimGCvisit((void*)(*a).Preinitproc, op);
	nimGCvisit((void*)(*a).Typestack, op);
	nimGCvisit((void*)(*a).Datacache.Data, op);
	nimGCvisit((void*)(*a).Forwardedprocs, op);
	nimGCvisit((void*)(*a).Typenodesname, op);
	nimGCvisit((void*)(*a).Nimtypesname, op);
	LOC2 = 0;
	for (LOC2 = 0; LOC2 < 10; LOC2++) {
	nimGCvisit((void*)(*a).Extensionloaders[LOC2], op);
	}
	nimGCvisit((void*)(*a).Injectstmt, op);
}
N_NIMCALL(void, TMP977)(void* p, NI op) {
	TY548150* a;
	NI LOC1;
	a = (TY548150*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	nimGCvisit((void*)a->data[LOC1], op);
	}
}

static N_INLINE(void, rtladdzct_50204)(tcell44935* c) {
	addzct_48617((&gch_47044.Zct), c);
}

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

static N_INLINE(void, rtladdcycleroot_49429)(tcell44935* c) {
	{
		if (!!((((NI) ((NI)((*c).Refcount & 3))) == 3))) goto LA3;
		(*c).Refcount = (NI)((NI)((*c).Refcount & -4) | 3);
		incl_45671((&gch_47044.Cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, decref_50604)(tcell44935* c) {
	{
		(*c).Refcount -= 8;
		if (!((NU32)((*c).Refcount) < (NU32)(8))) goto LA3;
		rtladdzct_50204(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_48667(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_49429(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(tcell44935*, usrtocell_48646)(void* usr) {
	tcell44935* result;
	result = 0;
	result = ((tcell44935*) ((NI)((NU32)(((NI) (usr))) - (NU32)(((NI)sizeof(tcell44935))))));
	return result;
}

static N_INLINE(void, nimGCunref)(void* p) {
	tcell44935* LOC1;
	LOC1 = 0;
	LOC1 = usrtocell_48646(p);
	decref_50604(LOC1);
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		tcell44935* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_48646(src);
		(*c).Refcount += 8;
	}
	LA3: ;
	{
		tcell44935* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_48646((*dest));
		{
			(*c).Refcount -= 8;
			if (!((NU32)((*c).Refcount) < (NU32)(8))) goto LA11;
			rtladdzct_50204(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

static N_INLINE(void, incref_51025)(tcell44935* c) {
	(*c).Refcount = (NI)((NU32)((*c).Refcount) + (NU32)(8));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_48667(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_49429(c);
	}
	LA4: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		tcell44935* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_48646(src);
		incref_51025(LOC5);
	}
	LA3: ;
	{
		tcell44935* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_48646((*dest));
		decref_50604(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	tcell44935* c;
	c = usrtocell_48646(p);
	{
		(*c).Refcount -= 8;
		if (!((NU32)((*c).Refcount) < (NU32)(8))) goto LA3;
		rtladdzct_50204(c);
	}
	LA3: ;
}

N_NIMCALL(tcproc548031*, newproc_548230)(tsym224846* prc, tcgen548035* module) {
	tcproc548031* result;
	result = 0;
	result = (tcproc548031*) newObj((&NTI548027), sizeof(tcproc548031));
	asgnRefNoCycle((void**) (&(*result).Prc), prc);
	asgnRef((void**) (&(*result).Module), module);
	{
		if (!!((prc == NIM_NIL))) goto LA3;
		(*result).Options = (*prc).Options;
	}
	goto LA1;
	LA3: ;
	{
		(*result).Options = goptions_168116;
	}
	LA1: ;
	if ((*result).Blocks) nimGCunrefNoCycle((*result).Blocks);
	(*result).Blocks = (TY548102*) newSeqRC1((&NTI548102), 1);
	if ((*result).Nestedtrystmts) nimGCunrefNoCycle((*result).Nestedtrystmts);
	(*result).Nestedtrystmts = (tnodeseq224810*) newSeqRC1((&NTI224810), 0);
	if ((*result).Finallysafepoints) nimGCunrefNoCycle((*result).Finallysafepoints);
	(*result).Finallysafepoints = (TY194552*) newSeqRC1((&NTI194552), 0);
	return result;
}

N_NIMCALL(tcgen548035*, bmod_548220)(tsym224846* module) {
	tcgen548035* result;
	result = 0;
	result = gmodules_548171->data[(*module).Position];
	return result;
}
NIM_EXTERNC N_NOINLINE(void, HEX00_cgendataInit)(void) {
	if (gmodules_548171) nimGCunref(gmodules_548171);
	gmodules_548171 = (TY548150*) newSeqRC1((&NTI548150), 0);
	gforwardedprocscounter_548172 = 0;
}

NIM_EXTERNC N_NOINLINE(void, HEX00_cgendataDatInit)(void) {
static TNimNode* TMP963[29];
static TNimNode* TMP969[15];
static TNimNode* TMP970[7];
static TNimNode TMP961[54];
NTI548035.size = sizeof(tcgen548035);
NTI548035.kind = 17;
NTI548035.base = (&NTI285005);
TMP963[0] = &TMP961[1];
TMP961[1].kind = 1;
TMP961[1].offset = offsetof(tcgen548035, Module);
TMP961[1].typ = (&NTI224814);
TMP961[1].name = "module";
TMP963[1] = &TMP961[2];
TMP961[2].kind = 1;
TMP961[2].offset = offsetof(tcgen548035, Filename);
TMP961[2].typ = (&NTI149);
TMP961[2].name = "filename";
TMP963[2] = &TMP961[3];
NTI548019.size = sizeof(tcfilesections548019);
NTI548019.kind = 16;
NTI548019.base = (&NTI176007);
NTI548019.flags = 2;
TMP961[3].kind = 1;
TMP961[3].offset = offsetof(tcgen548035, S);
TMP961[3].typ = (&NTI548019);
TMP961[3].name = "s";
TMP963[3] = &TMP961[4];
TMP961[4].kind = 1;
TMP961[4].offset = offsetof(tcgen548035, Preventstacktrace);
TMP961[4].typ = (&NTI138);
TMP961[4].name = "preventStackTrace";
TMP963[4] = &TMP961[5];
TMP961[5].kind = 1;
TMP961[5].offset = offsetof(tcgen548035, Usesthreadvars);
TMP961[5].typ = (&NTI138);
TMP961[5].name = "usesThreadVars";
TMP963[5] = &TMP961[6];
TMP961[6].kind = 1;
TMP961[6].offset = offsetof(tcgen548035, Framedeclared);
TMP961[6].typ = (&NTI138);
TMP961[6].name = "frameDeclared";
TMP963[6] = &TMP961[7];
TMP961[7].kind = 1;
TMP961[7].offset = offsetof(tcgen548035, Isheaderfile);
TMP961[7].typ = (&NTI138);
TMP961[7].name = "isHeaderFile";
TMP963[7] = &TMP961[8];
TMP961[8].kind = 1;
TMP961[8].offset = offsetof(tcgen548035, Includesstringh);
TMP961[8].typ = (&NTI138);
TMP961[8].name = "includesStringh";
TMP963[8] = &TMP961[9];
TMP961[9].kind = 1;
TMP961[9].offset = offsetof(tcgen548035, Objhaskidsvalid);
TMP961[9].typ = (&NTI138);
TMP961[9].name = "objHasKidsValid";
TMP963[9] = &TMP961[10];
TMP961[10].kind = 1;
TMP961[10].offset = offsetof(tcgen548035, Cfilename);
TMP961[10].typ = (&NTI149);
TMP961[10].name = "cfilename";
TMP963[10] = &TMP961[11];
TMP961[11].kind = 1;
TMP961[11].offset = offsetof(tcgen548035, Typecache);
TMP961[11].typ = (&NTI224864);
TMP961[11].name = "typeCache";
TMP963[11] = &TMP961[12];
TMP961[12].kind = 1;
TMP961[12].offset = offsetof(tcgen548035, Forwtypecache);
TMP961[12].typ = (&NTI224864);
TMP961[12].name = "forwTypeCache";
TMP963[12] = &TMP961[13];
TMP961[13].kind = 1;
TMP961[13].offset = offsetof(tcgen548035, Declaredthings);
TMP961[13].typ = (&NTI221056);
TMP961[13].name = "declaredThings";
TMP963[13] = &TMP961[14];
TMP961[14].kind = 1;
TMP961[14].offset = offsetof(tcgen548035, Declaredprotos);
TMP961[14].typ = (&NTI221056);
TMP961[14].name = "declaredProtos";
TMP963[14] = &TMP961[15];
TMP961[15].kind = 1;
TMP961[15].offset = offsetof(tcgen548035, Headerfiles);
TMP961[15].typ = (&NTI126028);
TMP961[15].name = "headerFiles";
TMP963[15] = &TMP961[16];
TMP961[16].kind = 1;
TMP961[16].offset = offsetof(tcgen548035, Typeinfomarker);
TMP961[16].typ = (&NTI221056);
TMP961[16].name = "typeInfoMarker";
TMP963[16] = &TMP961[17];
NTI548031.size = sizeof(tcproc548031);
NTI548031.kind = 18;
NTI548031.base = 0;
TMP969[0] = &TMP961[19];
TMP961[19].kind = 1;
TMP961[19].offset = offsetof(tcproc548031, Prc);
TMP961[19].typ = (&NTI224814);
TMP961[19].name = "prc";
TMP969[1] = &TMP961[20];
TMP961[20].kind = 1;
TMP961[20].offset = offsetof(tcproc548031, Beforeretneeded);
TMP961[20].typ = (&NTI138);
TMP961[20].name = "beforeRetNeeded";
TMP969[2] = &TMP961[21];
TMP961[21].kind = 1;
TMP961[21].offset = offsetof(tcproc548031, Threadvaraccessed);
TMP961[21].typ = (&NTI138);
TMP961[21].name = "threadVarAccessed";
TMP969[3] = &TMP961[22];
TMP961[22].kind = 1;
TMP961[22].offset = offsetof(tcproc548031, Nestedtrystmts);
TMP961[22].typ = (&NTI224810);
TMP961[22].name = "nestedTryStmts";
TMP969[4] = &TMP961[23];
TMP961[23].kind = 1;
TMP961[23].offset = offsetof(tcproc548031, Inexceptblock);
TMP961[23].typ = (&NTI108);
TMP961[23].name = "inExceptBlock";
TMP969[5] = &TMP961[24];
TMP961[24].kind = 1;
TMP961[24].offset = offsetof(tcproc548031, Finallysafepoints);
TMP961[24].typ = (&NTI194552);
TMP961[24].name = "finallySafePoints";
TMP969[6] = &TMP961[25];
TMP961[25].kind = 1;
TMP961[25].offset = offsetof(tcproc548031, Labels);
TMP961[25].typ = (&NTI74921);
TMP961[25].name = "labels";
TMP969[7] = &TMP961[26];
NTI548029.size = sizeof(tblock548029);
NTI548029.kind = 18;
NTI548029.base = 0;
NTI548029.flags = 2;
TMP970[0] = &TMP961[28];
TMP961[28].kind = 1;
TMP961[28].offset = offsetof(tblock548029, Id);
TMP961[28].typ = (&NTI108);
TMP961[28].name = "id";
TMP970[1] = &TMP961[29];
TMP961[29].kind = 1;
TMP961[29].offset = offsetof(tblock548029, Label);
TMP961[29].typ = (&NTI176007);
TMP961[29].name = "label";
TMP970[2] = &TMP961[30];
NTI548023.size = sizeof(tcprocsections548023);
NTI548023.kind = 16;
NTI548023.base = (&NTI176007);
NTI548023.flags = 2;
TMP961[30].kind = 1;
TMP961[30].offset = offsetof(tblock548029, Sections);
TMP961[30].typ = (&NTI548023);
TMP961[30].name = "sections";
TMP970[3] = &TMP961[31];
TMP961[31].kind = 1;
TMP961[31].offset = offsetof(tblock548029, Isloop);
TMP961[31].typ = (&NTI138);
TMP961[31].name = "isLoop";
TMP970[4] = &TMP961[32];
TMP961[32].kind = 1;
TMP961[32].offset = offsetof(tblock548029, Nestedtrystmts);
TMP961[32].typ = (&NTI112);
TMP961[32].name = "nestedTryStmts";
TMP970[5] = &TMP961[33];
TMP961[33].kind = 1;
TMP961[33].offset = offsetof(tblock548029, Nestedexceptstmts);
TMP961[33].typ = (&NTI112);
TMP961[33].name = "nestedExceptStmts";
TMP970[6] = &TMP961[34];
TMP961[34].kind = 1;
TMP961[34].offset = offsetof(tblock548029, Framelen);
TMP961[34].typ = (&NTI112);
TMP961[34].name = "frameLen";
TMP961[27].len = 7; TMP961[27].kind = 2; TMP961[27].sons = &TMP970[0];
NTI548029.node = &TMP961[27];
NTI548102.size = sizeof(TY548102*);
NTI548102.kind = 24;
NTI548102.base = (&NTI548029);
NTI548102.flags = 2;
NTI548102.marker = TMP971;
TMP961[26].kind = 1;
TMP961[26].offset = offsetof(tcproc548031, Blocks);
TMP961[26].typ = (&NTI548102);
TMP961[26].name = "blocks";
TMP969[8] = &TMP961[35];
TMP961[35].kind = 1;
TMP961[35].offset = offsetof(tcproc548031, Breakidx);
TMP961[35].typ = (&NTI108);
TMP961[35].name = "breakIdx";
TMP969[9] = &TMP961[36];
TMP961[36].kind = 1;
TMP961[36].offset = offsetof(tcproc548031, Options);
TMP961[36].typ = (&NTI168016);
TMP961[36].name = "options";
TMP969[10] = &TMP961[37];
TMP961[37].kind = 1;
TMP961[37].offset = offsetof(tcproc548031, Maxframelen);
TMP961[37].typ = (&NTI108);
TMP961[37].name = "maxFrameLen";
TMP969[11] = &TMP961[38];
TMP961[38].kind = 1;
TMP961[38].offset = offsetof(tcproc548031, Module);
TMP961[38].typ = (&NTI548025);
TMP961[38].name = "module";
TMP969[12] = &TMP961[39];
TMP961[39].kind = 1;
TMP961[39].offset = offsetof(tcproc548031, Withinloop);
TMP961[39].typ = (&NTI108);
TMP961[39].name = "withinLoop";
TMP969[13] = &TMP961[40];
TMP961[40].kind = 1;
TMP961[40].offset = offsetof(tcproc548031, Gcframeid);
TMP961[40].typ = (&NTI74921);
TMP961[40].name = "gcFrameId";
TMP969[14] = &TMP961[41];
TMP961[41].kind = 1;
TMP961[41].offset = offsetof(tcproc548031, Gcframetype);
TMP961[41].typ = (&NTI176007);
TMP961[41].name = "gcFrameType";
TMP961[18].len = 15; TMP961[18].kind = 2; TMP961[18].sons = &TMP969[0];
NTI548031.node = &TMP961[18];
NTI548027.size = sizeof(tcproc548031*);
NTI548027.kind = 22;
NTI548027.base = (&NTI548031);
NTI548027.marker = TMP972;
TMP961[17].kind = 1;
TMP961[17].offset = offsetof(tcgen548035, Initproc);
TMP961[17].typ = (&NTI548027);
TMP961[17].name = "initProc";
TMP963[17] = &TMP961[42];
TMP961[42].kind = 1;
TMP961[42].offset = offsetof(tcgen548035, Postinitproc);
TMP961[42].typ = (&NTI548027);
TMP961[42].name = "postInitProc";
TMP963[18] = &TMP961[43];
TMP961[43].kind = 1;
TMP961[43].offset = offsetof(tcgen548035, Preinitproc);
TMP961[43].typ = (&NTI548027);
TMP961[43].name = "preInitProc";
TMP963[19] = &TMP961[44];
TMP961[44].kind = 1;
TMP961[44].offset = offsetof(tcgen548035, Typestack);
TMP961[44].typ = (&NTI224848);
TMP961[44].name = "typeStack";
TMP963[20] = &TMP961[45];
TMP961[45].kind = 1;
TMP961[45].offset = offsetof(tcgen548035, Datacache);
TMP961[45].typ = (&NTI224876);
TMP961[45].name = "dataCache";
TMP963[21] = &TMP961[46];
TMP961[46].kind = 1;
TMP961[46].offset = offsetof(tcgen548035, Forwardedprocs);
TMP961[46].typ = (&NTI224818);
TMP961[46].name = "forwardedProcs";
TMP963[22] = &TMP961[47];
TMP961[47].kind = 1;
TMP961[47].offset = offsetof(tcgen548035, Typenodes);
TMP961[47].typ = (&NTI108);
TMP961[47].name = "typeNodes";
TMP963[23] = &TMP961[48];
TMP961[48].kind = 1;
TMP961[48].offset = offsetof(tcgen548035, Nimtypes);
TMP961[48].typ = (&NTI108);
TMP961[48].name = "nimTypes";
TMP963[24] = &TMP961[49];
TMP961[49].kind = 1;
TMP961[49].offset = offsetof(tcgen548035, Typenodesname);
TMP961[49].typ = (&NTI176007);
TMP961[49].name = "typeNodesName";
TMP963[25] = &TMP961[50];
TMP961[50].kind = 1;
TMP961[50].offset = offsetof(tcgen548035, Nimtypesname);
TMP961[50].typ = (&NTI176007);
TMP961[50].name = "nimTypesName";
TMP963[26] = &TMP961[51];
TMP961[51].kind = 1;
TMP961[51].offset = offsetof(tcgen548035, Labels);
TMP961[51].typ = (&NTI74921);
TMP961[51].name = "labels";
TMP963[27] = &TMP961[52];
NTI548138.size = sizeof(TY548138);
NTI548138.kind = 16;
NTI548138.base = (&NTI176007);
NTI548138.flags = 2;
TMP961[52].kind = 1;
TMP961[52].offset = offsetof(tcgen548035, Extensionloaders);
TMP961[52].typ = (&NTI548138);
TMP961[52].name = "extensionLoaders";
TMP963[28] = &TMP961[53];
TMP961[53].kind = 1;
TMP961[53].offset = offsetof(tcgen548035, Injectstmt);
TMP961[53].typ = (&NTI176007);
TMP961[53].name = "injectStmt";
TMP961[0].len = 29; TMP961[0].kind = 2; TMP961[0].sons = &TMP963[0];
NTI548035.node = &TMP961[0];
NTI548025.size = sizeof(tcgen548035*);
NTI548025.kind = 22;
NTI548025.base = (&NTI548035);
NTI548025.marker = TMP976;
NTI548150.size = sizeof(TY548150*);
NTI548150.kind = 24;
NTI548150.base = (&NTI548025);
NTI548150.marker = TMP977;
}

