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

#include "nimbase.h"
#include <string.h>
typedef struct TY398242 TY398242;
typedef struct TY398243 TY398243;
typedef struct Tsymseq223811 Tsymseq223811;
typedef struct Tsym223841 Tsym223841;
typedef struct TGenericSeq TGenericSeq;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Cell48947 Cell48947;
typedef struct Cellseq48963 Cellseq48963;
typedef struct Gcheap51018 Gcheap51018;
typedef struct Gcstack51016 Gcstack51016;
typedef struct Cellset48959 Cellset48959;
typedef struct Pagedesc48955 Pagedesc48955;
typedef struct Memregion30891 Memregion30891;
typedef struct Smallchunk30843 Smallchunk30843;
typedef struct Llchunk30885 Llchunk30885;
typedef struct Bigchunk30845 Bigchunk30845;
typedef struct Intset30817 Intset30817;
typedef struct Trunk30813 Trunk30813;
typedef struct Avlnode30889 Avlnode30889;
typedef struct Gcstat51014 Gcstat51014;
typedef struct Tidobj196015 Tidobj196015;
typedef struct TNimObject TNimObject;
typedef struct Ttypeseq223843 Ttypeseq223843;
typedef struct Tscope223835 Tscope223835;
typedef struct TY223944 TY223944;
typedef struct Tstrtable223813 Tstrtable223813;
typedef struct Ttype223847 Ttype223847;
typedef struct Tident196021 Tident196021;
typedef struct Tlineinfo188352 Tlineinfo188352;
typedef struct Tnode223809 Tnode223809;
typedef struct Tloc223823 Tloc223823;
typedef struct Ropeobj174009 Ropeobj174009;
typedef struct Tlib223827 Tlib223827;
typedef struct NimStringDesc NimStringDesc;
typedef struct Tnodeseq223803 Tnodeseq223803;
typedef struct Intset220056 Intset220056;
typedef struct Trunk220052 Trunk220052;
typedef struct Trunkseq220054 Trunkseq220054;
typedef struct Basechunk30841 Basechunk30841;
typedef struct Freecell30833 Freecell30833;
typedef struct Tinstantiation223831 Tinstantiation223831;
typedef struct Tlistentry139022 Tlistentry139022;
typedef struct TY223932 TY223932;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct TY398243 {
Tsymseq223811* Field0;
Tsym223841* Field1;
};
typedef N_NIMCALL_PTR(void, TY3889) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3894) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3889 marker;
TY3894 deepcopy;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Cell48947  {
NI refcount;
TNimType* typ;
};
struct  Cellseq48963  {
NI len;
NI cap;
Cell48947** d;
};
struct  Cellset48959  {
NI counter;
NI max;
Pagedesc48955* head;
Pagedesc48955** data;
};
typedef Smallchunk30843* TY30906[512];
typedef Trunk30813* Trunkbuckets30815[256];
struct  Intset30817  {
Trunkbuckets30815 data;
};
struct  Memregion30891  {
NI minlargeobj;
NI maxlargeobj;
TY30906 freesmallchunks;
Llchunk30885* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk30845* freechunkslist;
Intset30817 chunkstarts;
Avlnode30889* root;
Avlnode30889* deleted;
Avlnode30889* last;
Avlnode30889* freeavlnodes;
};
struct  Gcstat51014  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Gcheap51018  {
Gcstack51016* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq48963 zct;
Cellseq48963 decstack;
Cellset48959 cycleroots;
Cellseq48963 tempstack;
NI recgclock;
Memregion30891 region;
Gcstat51014 stat;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  Tidobj196015  {
  TNimObject Sup;
NI id;
};
struct  Tstrtable223813  {
NI counter;
Tsymseq223811* data;
};
struct  Tlineinfo188352  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  Tloc223823  {
NU8 k;
NU8 s;
NU16 flags;
Ttype223847* t;
Ropeobj174009* r;
Ropeobj174009* heaproot;
};
struct  Tsym223841  {
  Tidobj196015 Sup;
NU8 kind;
union{
struct {Ttypeseq223843* typeinstcache;
Tscope223835* typscope;
} S1;
struct {TY223944* procinstcache;
Tsym223841* gcunsafetyreason;
} S2;
struct {TY223944* usedgenerics;
Tstrtable223813 tab;
} S3;
struct {Tsym223841* guard;
NI bitsize;
} S4;
} kindU;
NU8 magic;
Ttype223847* typ;
Tident196021* name;
Tlineinfo188352 info;
Tsym223841* owner;
NU32 flags;
Tnode223809* ast;
NU32 options;
NI position;
NI offset;
Tloc223823 loc;
Tlib223827* annex;
Tnode223809* constraint;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tident196021  {
  Tidobj196015 Sup;
NimStringDesc* s;
Tident196021* next;
NI h;
};
struct  Ttype223847  {
  Tidobj196015 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq223843* sons;
Tnode223809* n;
Tsym223841* owner;
Tsym223841* sym;
Tsym223841* destructor;
Tsym223841* deepcopy;
Tsym223841* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc223823 loc;
};
struct  Tnode223809  {
Ttype223847* typ;
Tlineinfo188352 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym223841* sym;
} S4;
struct {Tident196021* ident;
} S5;
struct {Tnodeseq223803* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
typedef NimStringDesc* TY191306[2];
typedef Tsym223841* TY278433[1];
struct  Intset220056  {
NI counter;
NI max;
Trunk220052* head;
Trunkseq220054* data;
};
struct  Gcstack51016  {
Gcstack51016* prev;
Gcstack51016* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY30822[8];
struct  Pagedesc48955  {
Pagedesc48955* next;
NI key;
TY30822 bits;
};
struct  Basechunk30841  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk30843  {
  Basechunk30841 Sup;
Smallchunk30843* next;
Smallchunk30843* prev;
Freecell30833* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk30885  {
NI size;
NI acc;
Llchunk30885* next;
};
struct  Bigchunk30845  {
  Basechunk30841 Sup;
Bigchunk30845* next;
Bigchunk30845* prev;
NI align;
NF data;
};
struct  Trunk30813  {
Trunk30813* next;
NI key;
TY30822 bits;
};
typedef Avlnode30889* TY30896[2];
struct  Avlnode30889  {
TY30896 link;
NI key;
NI upperbound;
NI level;
};
struct  Tscope223835  {
NI depthlevel;
Tstrtable223813 symbols;
Tnodeseq223803* usingsyms;
Tscope223835* parent;
};
struct  Ropeobj174009  {
  TNimObject Sup;
Ropeobj174009* left;
Ropeobj174009* right;
NI length;
NimStringDesc* data;
};
struct  Tlistentry139022  {
  TNimObject Sup;
Tlistentry139022* prev;
Tlistentry139022* next;
};
struct  Tlib223827  {
  Tlistentry139022 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj174009* name;
Tnode223809* path;
};
struct  Trunk220052  {
Trunk220052* next;
NI key;
TY30822 bits;
};
struct  Freecell30833  {
Freecell30833* next;
NI zerofield;
};
struct  Tinstantiation223831  {
Tsym223841* sym;
Ttypeseq223843* concretetypes;
TY223932* usedby;
NI compilesid;
};
struct Tsymseq223811 {
  TGenericSeq Sup;
  Tsym223841* data[SEQ_DECL_SIZE];
};
struct TY398242 {
  TGenericSeq Sup;
  TY398243 data[SEQ_DECL_SIZE];
};
struct Ttypeseq223843 {
  TGenericSeq Sup;
  Ttype223847* data[SEQ_DECL_SIZE];
};
struct TY223944 {
  TGenericSeq Sup;
  Tinstantiation223831* data[SEQ_DECL_SIZE];
};
struct Tnodeseq223803 {
  TGenericSeq Sup;
  Tnode223809* data[SEQ_DECL_SIZE];
};
struct Trunkseq220054 {
  TGenericSeq Sup;
  Trunk220052* data[SEQ_DECL_SIZE];
};
struct TY223932 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP1008)(void* p, NI op);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(Cell48947*, usrtocell_52646)(void* usr);
static N_INLINE(void, rtladdzct_54204)(Cell48947* c);
N_NOINLINE(void, addzct_52617)(Cellseq48963* s, Cell48947* c);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
N_NIMCALL(NU8, samemethodbucket_398275)(Tsym223841* a, Tsym223841* b);
N_NIMCALL(NI, sonslen_226351)(Ttype223847* n);
N_NIMCALL(NIM_BOOL, sametypeornil_258108)(Ttype223847* a, Ttype223847* b, NU8 flags);
N_NIMCALL(Ttype223847*, skiptypes_227167)(Ttype223847* t, NU64 kinds);
N_NIMCALL(Ttype223847*, lastson_226426)(Ttype223847* n);
N_NIMCALL(NIM_BOOL, sametype_258092)(Ttype223847* a, Ttype223847* b, NU8 flags);
N_NIMCALL(NI, inheritancediff_260091)(Ttype223847* a, Ttype223847* b);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemsize);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
N_NIMCALL(void, attachdispatcher_398406)(Tsym223841* s, Tnode223809* dispatcher);
static N_INLINE(NI, len_224098)(Tnode223809* n);
N_NIMCALL(void, add_224165)(Tnode223809* father, Tnode223809* son);
N_NIMCALL(Tnode223809*, lastson_226406)(Tnode223809* n);
N_NIMCALL(void, fixupdispatcher_398522)(Tsym223841* meth, Tsym223841* disp);
N_NIMCALL(NI, sonslen_226387)(Tnode223809* n);
N_NIMCALL(Tnode223809*, copytree_228028)(Tnode223809* src);
N_NIMCALL(void, message_194161)(Tlineinfo188352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen0);
N_NIMCALL(NimStringDesc*, HEX24_226096)(NI16 x);
N_NIMCALL(void, checkmethodeffects_368399)(Tsym223841* disp, Tsym223841* branch);
N_NIMCALL(void, localerror_194139)(Tlineinfo188352 info, NimStringDesc* arg);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_NIMCALL(Tsym223841*, createdispatcher_398447)(Tsym223841* s);
N_NIMCALL(Tsym223841*, copysym_226607)(Tsym223841* s, NIM_BOOL keepid);
N_NIMCALL(Ttype223847*, copytype_226542)(Ttype223847* t, Tsym223841* owner, NIM_BOOL keepid);
N_NIMCALL(void, addson_225819)(Tnode223809* father, Tnode223809* son);
N_NIMCALL(Tnode223809*, newsymnode_225325)(Tsym223841* sym);
N_NIMCALL(void, genericSeqAssign)(void* dest, void* src_85804, TNimType* mt);
N_NIMCALL(void, internalerror_194172)(Tlineinfo188352 info, NimStringDesc* errmsg);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_NIMCALL(NimStringDesc*, HEX24_189879)(Tlineinfo188352 info);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_NIMCALL(Tnode223809*, genconv_398017)(Tnode223809* n, Ttype223847* d, NIM_BOOL downcast);
N_NIMCALL(Tnode223809*, newnodeit_225807)(NU8 kind, Tlineinfo188352 info, Ttype223847* typ);
N_NIMCALL(Tnode223809*, newnode_224401)(NU8 kind);
N_NIMCALL(void, initintset_220927)(Intset220056* Result);
N_NOINLINE(void, chckNil)(void* p);
N_NIMCALL(NIM_BOOL, relevantcol_398911)(Tsymseq223811* methods, NI col);
N_NIMCALL(void, incl_220856)(Intset220056* s, NI key);
N_NIMCALL(void, sortbucket_399017)(Tsymseq223811** a, Intset220056* relevantcols);
N_NIMCALL(NI, cmpsignatures_398965)(Tsym223841* a, Tsym223841* b, Intset220056* relevantcols);
N_NIMCALL(NIM_BOOL, contains_220829)(Intset220056* s, NI key);
N_NIMCALL(Tsym223841*, gendispatcher_399091)(Tsymseq223811* methods, Intset220056* relevantcols);
N_NIMCALL(Tnode223809*, newnodei_225351)(NU8 kind, Tlineinfo188352 info);
N_NIMCALL(Tsym223841*, getsyssym_272077)(NimStringDesc* name);
N_NIMCALL(Ttype223847*, getsystype_272190)(NU8 kind);
STRING_LITERAL(TMP3410, "method has lock level $1, but another method has $2", 51);
STRING_LITERAL(TMP3418, "method is not a base", 20);
STRING_LITERAL(TMP3419, "no method dispatcher found", 26);
STRING_LITERAL(TMP3420, "invalid declaration order; cannot attach \'", 42);
STRING_LITERAL(TMP3421, "\' to method defined here: ", 26);
STRING_LITERAL(TMP3422, "", 0);
STRING_LITERAL(TMP3423, "cgmeth.genConv", 14);
STRING_LITERAL(TMP3424, "cgmeth.genConv: no upcast allowed", 33);
STRING_LITERAL(TMP3425, "cgmeth.genConv: no downcast allowed", 35);
STRING_LITERAL(TMP4464, "and", 3);
STRING_LITERAL(TMP4465, "of", 2);
TY398242* gmethods_398262;
TNimType NTI398243; /* tuple[methods: TSymSeq, dispatcher: PSym] */
extern TNimType NTI223811; /* TSymSeq */
extern TNimType NTI223807; /* PSym */
TNimType NTI398242; /* seq[tuple[methods: TSymSeq, dispatcher: PSym]] */
extern Gcheap51018 gch_51059;
extern Tnode223809* emptynode_224807;
N_NIMCALL(void, TMP1008)(void* p, NI op) {
	TY398242* a;
	NI LOC1;
	a = (TY398242*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	nimGCvisit((void*)a->data[LOC1].Field0, op);
	nimGCvisit((void*)a->data[LOC1].Field1, op);
	}
}

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

static N_INLINE(void, rtladdzct_54204)(Cell48947* c) {
	addzct_52617((&gch_51059.zct), c);
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	Cell48947* c;
	c = usrtocell_52646(p);
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3;
		rtladdzct_54204(c);
	}
	LA3: ;
}

N_NIMCALL(NU8, samemethodbucket_398275)(Tsym223841* a, Tsym223841* b) {
	NU8 result;
{	result = 0;
	{
		if (!!(((*(*a).name).Sup.id == (*(*b).name).Sup.id))) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	{
		NI LOC7;
		NI LOC8;
		LOC7 = 0;
		LOC7 = sonslen_226351((*a).typ);
		LOC8 = 0;
		LOC8 = sonslen_226351((*b).typ);
		if (!!((LOC7 == LOC8))) goto LA9;
		goto BeforeRet;
	}
	LA9: ;
	{
		NIM_BOOL LOC13;
		LOC13 = 0;
		LOC13 = sametypeornil_258108((*(*a).typ).sons->data[((NI) 0)], (*(*b).typ).sons->data[((NI) 0)], 0);
		if (!!(LOC13)) goto LA14;
		goto BeforeRet;
	}
	LA14: ;
	{
		NI i_398299;
		NI HEX3Atmp_398378;
		NI LOC17;
		NI res_398381;
		i_398299 = 0;
		HEX3Atmp_398378 = 0;
		LOC17 = 0;
		LOC17 = sonslen_226351((*a).typ);
		HEX3Atmp_398378 = (NI)(LOC17 - ((NI) 1));
		res_398381 = ((NI) 1);
		{
			while (1) {
				Ttype223847* aa;
				Ttype223847* bb;
				if (!(res_398381 <= HEX3Atmp_398378)) goto LA19;
				i_398299 = res_398381;
				aa = (*(*a).typ).sons->data[i_398299];
				bb = (*(*b).typ).sons->data[i_398299];
				{
					while (1) {
						aa = skiptypes_227167(aa, 2048);
						bb = skiptypes_227167(bb, 2048);
						{
							NIM_BOOL LOC24;
							LOC24 = 0;
							LOC24 = ((*aa).kind == (*bb).kind);
							if (!(LOC24)) goto LA25;
							LOC24 = ((14680064 &(IL64(1)<<(((*aa).kind)&IL64(63))))!=0);
							LA25: ;
							if (!LOC24) goto LA26;
							aa = lastson_226426(aa);
							bb = lastson_226426(bb);
						}
						goto LA22;
						LA26: ;
						{
							goto LA20;
						}
						LA22: ;
					}
				} LA20: ;
				{
					NIM_BOOL LOC31;
					LOC31 = 0;
					LOC31 = sametype_258092(aa, bb, 0);
					if (!LOC31) goto LA32;
					{
						NIM_BOOL LOC36;
						LOC36 = 0;
						LOC36 = ((*aa).kind == ((NU8) 17));
						if (!(LOC36)) goto LA37;
						LOC36 = !((result == ((NU8) 1)));
						LA37: ;
						if (!LOC36) goto LA38;
						result = ((NU8) 2);
					}
					LA38: ;
				}
				goto LA29;
				LA32: ;
				{
					NIM_BOOL LOC41;
					NI diff;
					LOC41 = 0;
					LOC41 = ((*aa).kind == ((NU8) 17));
					if (!(LOC41)) goto LA42;
					LOC41 = ((*bb).kind == ((NU8) 17));
					LA42: ;
					if (!LOC41) goto LA43;
					diff = inheritancediff_260091(bb, aa);
					{
						if (!(diff < ((NI) 0))) goto LA47;
						{
							if (!!((result == ((NU8) 1)))) goto LA51;
							result = ((NU8) 2);
						}
						LA51: ;
					}
					goto LA45;
					LA47: ;
					{
						if (!!((diff == ((NI) IL64(9223372036854775807))))) goto LA54;
						result = ((NU8) 1);
					}
					goto LA45;
					LA54: ;
					LA45: ;
				}
				goto LA29;
				LA43: ;
				{
					result = ((NU8) 0);
					goto BeforeRet;
				}
				LA29: ;
				res_398381 += ((NI) 1);
			} LA19: ;
		}
	}
	}BeforeRet: ;
	return result;
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		Cell48947* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_52646(src);
		(*c).refcount += ((NI) 8);
	}
	LA3: ;
	{
		Cell48947* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_52646((*dest));
		{
			(*c).refcount -= ((NI) 8);
			if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA11;
			rtladdzct_54204(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

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

N_NIMCALL(void, attachdispatcher_398406)(Tsym223841* s, Tnode223809* dispatcher) {
	NI L;
	NI LOC1;
	Tnode223809* x;
	LOC1 = 0;
	LOC1 = len_224098((*s).ast);
	L = (NI)(LOC1 - ((NI) 1));
	x = (*(*s).ast).kindU.S6.sons->data[L];
	{
		NIM_BOOL LOC4;
		LOC4 = 0;
		LOC4 = ((*x).kind == ((NU8) 3));
		if (!(LOC4)) goto LA5;
		LOC4 = (((*(*x).kindU.S4.sym).flags &(1<<((((NU8) 25))&31)))!=0);
		LA5: ;
		if (!LOC4) goto LA6;
		asgnRefNoCycle((void**) (&(*(*s).ast).kindU.S6.sons->data[L]), dispatcher);
	}
	goto LA2;
	LA6: ;
	{
		add_224165((*s).ast, dispatcher);
	}
	LA2: ;
}

N_NIMCALL(void, fixupdispatcher_398522)(Tsym223841* meth, Tsym223841* disp) {
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		NI LOC5;
		NI LOC7;
		LOC3 = 0;
		LOC4 = 0;
		LOC5 = 0;
		LOC5 = sonslen_226387((*disp).ast);
		LOC4 = (((NI) 7) < LOC5);
		if (!(LOC4)) goto LA6;
		LOC7 = 0;
		LOC7 = sonslen_226387((*meth).ast);
		LOC4 = (((NI) 7) < LOC7);
		LA6: ;
		LOC3 = LOC4;
		if (!(LOC3)) goto LA8;
		LOC3 = ((*(*disp).ast).kindU.S6.sons->data[((NI) 7)] == emptynode_224807);
		LA8: ;
		if (!LOC3) goto LA9;
		asgnRefNoCycle((void**) (&(*(*disp).ast).kindU.S6.sons->data[((NI) 7)]), copytree_228028((*(*meth).ast).kindU.S6.sons->data[((NI) 7)]));
	}
	LA9: ;
	{
		if (!((*(*disp).typ).locklevel == ((NI16) -1))) goto LA13;
		(*(*disp).typ).locklevel = (*(*meth).typ).locklevel;
	}
	goto LA11;
	LA13: ;
	{
		NIM_BOOL LOC16;
		TY191306 LOC20;
		NimStringDesc* LOC21;
		LOC16 = 0;
		LOC16 = !(((*(*meth).typ).locklevel == ((NI16) -1)));
		if (!(LOC16)) goto LA17;
		LOC16 = !(((*(*meth).typ).locklevel == (*(*disp).typ).locklevel));
		LA17: ;
		if (!LOC16) goto LA18;
		memset((void*)LOC20, 0, sizeof(LOC20));
		LOC20[0] = HEX24_226096((*(*meth).typ).locklevel);
		LOC20[1] = HEX24_226096((*(*disp).typ).locklevel);
		LOC21 = 0;
		LOC21 = nsuFormatOpenArray(((NimStringDesc*) &TMP3410), LOC20, 2);
		message_194161((*meth).info, ((NU16) 265), LOC21);
		{
			if (!((*(*disp).typ).locklevel < (*(*meth).typ).locklevel)) goto LA24;
			(*(*disp).typ).locklevel = (*(*meth).typ).locklevel;
		}
		LA24: ;
	}
	goto LA11;
	LA18: ;
	LA11: ;
}

N_NIMCALL(Tsym223841*, createdispatcher_398447)(Tsym223841* s) {
	Tsym223841* result;
	Tsym223841* disp;
	Tnode223809* LOC15;
	Tnode223809* LOC16;
{	result = 0;
	disp = copysym_226607(s, NIM_FALSE);
	(*disp).flags |= ((NU32)1)<<((((NU8) 25))%(sizeof(NU32)*8));
	(*disp).flags &= ~(((NU32)1) << ((((NU8) 1)) % (sizeof(NU32)*8)));
	asgnRefNoCycle((void**) (&(*disp).typ), copytype_226542((*disp).typ, (*(*disp).typ).owner, NIM_FALSE));
	{
		if (!((*(*disp).typ).callconv == ((NU8) 5))) goto LA3;
		(*(*disp).typ).callconv = ((NU8) 0);
	}
	LA3: ;
	asgnRefNoCycle((void**) (&(*disp).ast), copytree_228028((*s).ast));
	asgnRefNoCycle((void**) (&(*(*disp).ast).kindU.S6.sons->data[((NI) 6)]), emptynode_224807);
	asgnRefNoCycle((void**) (&(*disp).loc.r), NIM_NIL);
	{
		if (!!(((*(*s).typ).sons->data[((NI) 0)] == NIM_NIL))) goto LA7;
		{
			NI LOC11;
			LOC11 = 0;
			LOC11 = sonslen_226387((*disp).ast);
			if (!(((NI) 7) < LOC11)) goto LA12;
			asgnRefNoCycle((void**) (&(*(*(*disp).ast).kindU.S6.sons->data[((NI) 7)]).kindU.S4.sym), copysym_226607((*(*(*s).ast).kindU.S6.sons->data[((NI) 7)]).kindU.S4.sym, NIM_FALSE));
		}
		goto LA9;
		LA12: ;
		{
			addson_225819((*disp).ast, emptynode_224807);
		}
		LA9: ;
	}
	LA7: ;
	LOC15 = 0;
	LOC15 = newsymnode_225325(disp);
	attachdispatcher_398406(s, LOC15);
	LOC16 = 0;
	LOC16 = newsymnode_225325(disp);
	attachdispatcher_398406(disp, LOC16);
	result = disp;
	goto BeforeRet;
	}BeforeRet: ;
	return result;
}

static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
	memcpy(((NCSTRING) ((&(*dest).data[((*dest).Sup.len)- 0]))), ((NCSTRING) ((*src).data)), (NI)((*src).Sup.len + ((NI) 1)));
	(*dest).Sup.len += (*src).Sup.len;
}

N_NIMCALL(void, methoddef_398634)(Tsym223841* s, NIM_BOOL fromcache) {
	NI L;
	Tsym223841* witness;
	TY398243 LOC19;
	TY278433 LOC20;
{	L = (gmethods_398262 ? gmethods_398262->Sup.len : 0);
	witness = 0;
	{
		NI i_398660;
		NI HEX3Atmp_398889;
		NI res_398892;
		i_398660 = 0;
		HEX3Atmp_398889 = 0;
		HEX3Atmp_398889 = (NI)(L - ((NI) 1));
		res_398892 = ((NI) 0);
		{
			while (1) {
				Tsym223841* disp;
				NU8 LOC4;
				if (!(res_398892 <= HEX3Atmp_398889)) goto LA3;
				i_398660 = res_398892;
				disp = gmethods_398262->data[i_398660].Field1;
				LOC4 = 0;
				LOC4 = samemethodbucket_398275(disp, s);
				switch (LOC4) {
				case ((NU8) 2):
				{
					Tnode223809* LOC6;
					gmethods_398262->data[i_398660].Field0 = (Tsymseq223811*) incrSeqV2(&(gmethods_398262->data[i_398660].Field0)->Sup, sizeof(Tsym223841*));
					asgnRefNoCycle((void**) (&gmethods_398262->data[i_398660].Field0->data[gmethods_398262->data[i_398660].Field0->Sup.len]), s);
					++gmethods_398262->data[i_398660].Field0->Sup.len;
					LOC6 = 0;
					LOC6 = lastson_226406((*disp).ast);
					attachdispatcher_398406(s, LOC6);
					fixupdispatcher_398522(s, disp);
					checkmethodeffects_368399(disp, s);
					{
						NIM_BOOL LOC9;
						LOC9 = 0;
						LOC9 = (((*s).flags &(1<<((((NU8) 18))&31)))!=0);
						if (!(LOC9)) goto LA10;
						LOC9 = !((gmethods_398262->data[i_398660].Field0->data[((NI) 0)] == s));
						LA10: ;
						if (!LOC9) goto LA11;
						localerror_194139((*s).info, ((NimStringDesc*) &TMP3418));
					}
					LA11: ;
					goto BeforeRet;
				}
				break;
				case ((NU8) 0):
				{
				}
				break;
				case ((NU8) 1):
				{
					{
						if (!witness == 0) goto LA17;
						witness = gmethods_398262->data[i_398660].Field0->data[((NI) 0)];
					}
					LA17: ;
				}
				break;
				}
				res_398892 += ((NI) 1);
			} LA3: ;
		}
	}
	memset((void*)(&LOC19), 0, sizeof(LOC19));
	LOC19.Field0 = (Tsymseq223811*) newSeq((&NTI223811), 1);
	memset((void*)LOC20, 0, sizeof(LOC20));
	LOC20[0] = s;
	asgnRefNoCycle((void**) (&LOC19.Field0->data[0]), LOC20[0]);
	LOC19.Field1 = createdispatcher_398447(s);
	gmethods_398262 = (TY398242*) incrSeqV2(&(gmethods_398262)->Sup, sizeof(TY398243));
	genericSeqAssign((&gmethods_398262->data[gmethods_398262->Sup.len].Field0), LOC19.Field0, (&NTI223811));
	asgnRefNoCycle((void**) (&gmethods_398262->data[gmethods_398262->Sup.len].Field1), LOC19.Field1);
	++gmethods_398262->Sup.len;
	{
		if (!fromcache) goto LA23;
		internalerror_194172((*s).info, ((NimStringDesc*) &TMP3419));
	}
	LA23: ;
	{
		NimStringDesc* LOC29;
		NimStringDesc* LOC30;
		if (!!((witness == NIM_NIL))) goto LA27;
		LOC29 = 0;
		LOC30 = 0;
		LOC30 = HEX24_189879((*witness).info);
		LOC29 = rawNewString((*(*s).name).s->Sup.len + LOC30->Sup.len + 68);
appendString(LOC29, ((NimStringDesc*) &TMP3420));
appendString(LOC29, (*(*s).name).s);
appendString(LOC29, ((NimStringDesc*) &TMP3421));
appendString(LOC29, LOC30);
		localerror_194139((*s).info, LOC29);
	}
	goto LA25;
	LA27: ;
	{
		if (!!((((*s).flags &(1<<((((NU8) 18))&31)))!=0))) goto LA32;
		message_194161((*s).info, ((NU16) 252), ((NimStringDesc*) &TMP3422));
	}
	goto LA25;
	LA32: ;
	LA25: ;
	}BeforeRet: ;
}

N_NIMCALL(Tnode223809*, genconv_398017)(Tnode223809* n, Ttype223847* d, NIM_BOOL downcast) {
	Tnode223809* result;
	Ttype223847* dest;
	Ttype223847* source;
	result = 0;
	dest = skiptypes_227167(d, IL64(211106247256320));
	source = skiptypes_227167((*n).typ, IL64(211106247256320));
	{
		NIM_BOOL LOC3;
		NI diff;
		LOC3 = 0;
		LOC3 = ((*source).kind == ((NU8) 17));
		if (!(LOC3)) goto LA4;
		LOC3 = ((*dest).kind == ((NU8) 17));
		LA4: ;
		if (!LOC3) goto LA5;
		diff = inheritancediff_260091(dest, source);
		{
			if (!(diff == ((NI) IL64(9223372036854775807)))) goto LA9;
			internalerror_194172((*n).info, ((NimStringDesc*) &TMP3423));
		}
		LA9: ;
		{
			if (!(diff < ((NI) 0))) goto LA13;
			result = newnodeit_225807(((NU8) 67), (*n).info, d);
			addson_225819(result, n);
			{
				if (!downcast) goto LA17;
				internalerror_194172((*n).info, ((NimStringDesc*) &TMP3424));
			}
			LA17: ;
		}
		goto LA11;
		LA13: ;
		{
			if (!(((NI) 0) < diff)) goto LA20;
			result = newnodeit_225807(((NU8) 66), (*n).info, d);
			addson_225819(result, n);
			{
				if (!!(downcast)) goto LA24;
				internalerror_194172((*n).info, ((NimStringDesc*) &TMP3425));
			}
			LA24: ;
		}
		goto LA11;
		LA20: ;
		{
			result = n;
		}
		LA11: ;
	}
	goto LA1;
	LA5: ;
	{
		result = n;
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode223809*, methodcall_398054)(Tnode223809* n) {
	Tnode223809* result;
	Tsym223841* disp;
	Tnode223809* LOC1;
	result = 0;
	result = n;
	LOC1 = 0;
	LOC1 = lastson_226406((*(*(*result).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym).ast);
	disp = (*LOC1).kindU.S4.sym;
	asgnRefNoCycle((void**) (&(*(*result).kindU.S6.sons->data[((NI) 0)]).kindU.S4.sym), disp);
	{
		NI i_398215;
		NI HEX3Atmp_398220;
		NI LOC3;
		NI res_398223;
		i_398215 = 0;
		HEX3Atmp_398220 = 0;
		LOC3 = 0;
		LOC3 = sonslen_226387(result);
		HEX3Atmp_398220 = (NI)(LOC3 - ((NI) 1));
		res_398223 = ((NI) 1);
		{
			while (1) {
				if (!(res_398223 <= HEX3Atmp_398220)) goto LA5;
				i_398215 = res_398223;
				asgnRefNoCycle((void**) (&(*result).kindU.S6.sons->data[i_398215]), genconv_398017((*result).kindU.S6.sons->data[i_398215], (*(*disp).typ).sons->data[i_398215], NIM_TRUE));
				res_398223 += ((NI) 1);
			} LA5: ;
		}
	}
	return result;
}

N_NIMCALL(NIM_BOOL, relevantcol_398911)(Tsymseq223811* methods, NI col) {
	NIM_BOOL result;
	Ttype223847* t;
{	result = 0;
	t = skiptypes_227167((*(*methods->data[((NI) 0)]).typ).sons->data[col], IL64(211106247215360));
	{
		if (!((*t).kind == ((NU8) 17))) goto LA3;
		{
			NI i_398939;
			NI HEX3Atmp_398943;
			NI res_398946;
			i_398939 = 0;
			HEX3Atmp_398943 = 0;
			HEX3Atmp_398943 = (methods ? (methods->Sup.len-1) : -1);
			res_398946 = ((NI) 1);
			{
				while (1) {
					Ttype223847* t2;
					if (!(res_398946 <= HEX3Atmp_398943)) goto LA7;
					i_398939 = res_398946;
					t2 = skiptypes_227167((*(*methods->data[i_398939]).typ).sons->data[col], IL64(211106247215360));
					{
						NIM_BOOL LOC10;
						LOC10 = 0;
						LOC10 = sametype_258092(t2, t, 0);
						if (!!(LOC10)) goto LA11;
						result = NIM_TRUE;
						goto BeforeRet;
					}
					LA11: ;
					res_398946 += ((NI) 1);
				} LA7: ;
			}
		}
	}
	LA3: ;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(NI, cmpsignatures_398965)(Tsym223841* a, Tsym223841* b, Intset220056* relevantcols) {
	NI result;
{	result = 0;
	{
		NI col_398984;
		NI HEX3Atmp_398995;
		NI LOC2;
		NI res_398998;
		col_398984 = 0;
		HEX3Atmp_398995 = 0;
		LOC2 = 0;
		LOC2 = sonslen_226351((*a).typ);
		HEX3Atmp_398995 = (NI)(LOC2 - ((NI) 1));
		res_398998 = ((NI) 1);
		{
			while (1) {
				if (!(res_398998 <= HEX3Atmp_398995)) goto LA4;
				col_398984 = res_398998;
				{
					NIM_BOOL LOC7;
					Ttype223847* aa;
					Ttype223847* bb;
					NI d;
					LOC7 = 0;
					LOC7 = contains_220829(relevantcols, col_398984);
					if (!LOC7) goto LA8;
					aa = skiptypes_227167((*(*a).typ).sons->data[col_398984], IL64(211106247215360));
					bb = skiptypes_227167((*(*b).typ).sons->data[col_398984], IL64(211106247215360));
					d = inheritancediff_260091(aa, bb);
					{
						if (!!((d == ((NI) IL64(9223372036854775807))))) goto LA12;
						result = d;
						goto BeforeRet;
					}
					LA12: ;
				}
				LA8: ;
				res_398998 += ((NI) 1);
			} LA4: ;
		}
	}
	}BeforeRet: ;
	return result;
}

N_NIMCALL(void, sortbucket_399017)(Tsymseq223811** a, Intset220056* relevantcols) {
	NI n;
	NI h;
	n = ((*a) ? (*a)->Sup.len : 0);
	h = ((NI) 1);
	{
		while (1) {
			h = (NI)((NI)(((NI) 3) * h) + ((NI) 1));
			{
				if (!(n < h)) goto LA5;
				goto LA1;
			}
			LA5: ;
		}
	} LA1: ;
	{
		while (1) {
			h = (NI)(h / ((NI) 3));
			{
				NI i_399044;
				NI HEX3Atmp_399051;
				NI res_399054;
				i_399044 = 0;
				HEX3Atmp_399051 = 0;
				HEX3Atmp_399051 = (NI)(n - ((NI) 1));
				res_399054 = h;
				{
					while (1) {
						Tsym223841* v;
						NI j;
						if (!(res_399054 <= HEX3Atmp_399051)) goto LA11;
						i_399044 = res_399054;
						v = (*a)->data[i_399044];
						j = i_399044;
						{
							while (1) {
								NI LOC14;
								LOC14 = 0;
								LOC14 = cmpsignatures_398965((*a)->data[(NI)(j - h)], v, relevantcols);
								if (!(((NI) 0) <= LOC14)) goto LA13;
								asgnRefNoCycle((void**) (&(*a)->data[j]), (*a)->data[(NI)(j - h)]);
								j = (NI)(j - h);
								{
									if (!(j < h)) goto LA17;
									goto LA12;
								}
								LA17: ;
							} LA13: ;
						} LA12: ;
						asgnRefNoCycle((void**) (&(*a)->data[j]), v);
						res_399054 += ((NI) 1);
					} LA11: ;
				}
			}
			{
				if (!(h == ((NI) 1))) goto LA21;
				goto LA7;
			}
			LA21: ;
		}
	} LA7: ;
}

N_NIMCALL(Tsym223841*, gendispatcher_399091)(Tsymseq223811* methods, Intset220056* relevantcols) {
	Tsym223841* result;
	Tsym223841* base;
	Tnode223809* LOC1;
	NI paramlen;
	Tnode223809* disp;
	Tsym223841* ands;
	Tsym223841* iss;
	result = 0;
	LOC1 = 0;
	LOC1 = lastson_226406((*methods->data[((NI) 0)]).ast);
	base = (*LOC1).kindU.S4.sym;
	result = base;
	paramlen = sonslen_226351((*base).typ);
	disp = newnodei_225351(((NU8) 92), (*base).info);
	ands = getsyssym_272077(((NimStringDesc*) &TMP4464));
	iss = getsyssym_272077(((NimStringDesc*) &TMP4465));
	{
		NI meth_399117;
		NI HEX3Atmp_399228;
		NI res_399231;
		meth_399117 = 0;
		HEX3Atmp_399228 = 0;
		HEX3Atmp_399228 = (methods ? (methods->Sup.len-1) : -1);
		res_399231 = ((NI) 0);
		{
			while (1) {
				Tsym223841* curr;
				Tnode223809* cond;
				Tnode223809* call;
				Tnode223809* LOC24;
				Tnode223809* ret;
				if (!(res_399231 <= HEX3Atmp_399228)) goto LA4;
				meth_399117 = res_399231;
				curr = methods->data[meth_399117];
				cond = NIM_NIL;
				{
					NI col_399132;
					NI HEX3Atmp_399212;
					NI res_399215;
					col_399132 = 0;
					HEX3Atmp_399212 = 0;
					HEX3Atmp_399212 = (NI)(paramlen - ((NI) 1));
					res_399215 = ((NI) 1);
					{
						while (1) {
							if (!(res_399215 <= HEX3Atmp_399212)) goto LA7;
							col_399132 = res_399215;
							{
								NIM_BOOL LOC10;
								Tnode223809* isn;
								Ttype223847* LOC13;
								Tnode223809* LOC14;
								Tnode223809* LOC15;
								Tnode223809* LOC16;
								LOC10 = 0;
								LOC10 = contains_220829(relevantcols, col_399132);
								if (!LOC10) goto LA11;
								LOC13 = 0;
								LOC13 = getsystype_272190(((NU8) 1));
								isn = newnodeit_225807(((NU8) 27), (*base).info, LOC13);
								LOC14 = 0;
								LOC14 = newsymnode_225325(iss);
								addson_225819(isn, LOC14);
								LOC15 = 0;
								LOC15 = newsymnode_225325((*(*(*(*base).typ).n).kindU.S6.sons->data[col_399132]).kindU.S4.sym);
								addson_225819(isn, LOC15);
								LOC16 = 0;
								LOC16 = newnodeit_225807(((NU8) 4), (*base).info, (*(*curr).typ).sons->data[col_399132]);
								addson_225819(isn, LOC16);
								{
									Tnode223809* a;
									Ttype223847* LOC21;
									Tnode223809* LOC22;
									if (!!((cond == NIM_NIL))) goto LA19;
									LOC21 = 0;
									LOC21 = getsystype_272190(((NU8) 1));
									a = newnodeit_225807(((NU8) 27), (*base).info, LOC21);
									LOC22 = 0;
									LOC22 = newsymnode_225325(ands);
									addson_225819(a, LOC22);
									addson_225819(a, cond);
									addson_225819(a, isn);
									cond = a;
								}
								goto LA17;
								LA19: ;
								{
									cond = isn;
								}
								LA17: ;
							}
							LA11: ;
							res_399215 += ((NI) 1);
						} LA7: ;
					}
				}
				call = newnodei_225351(((NU8) 27), (*base).info);
				LOC24 = 0;
				LOC24 = newsymnode_225325(curr);
				addson_225819(call, LOC24);
				{
					NI col_399168;
					NI HEX3Atmp_399220;
					NI res_399223;
					col_399168 = 0;
					HEX3Atmp_399220 = 0;
					HEX3Atmp_399220 = (NI)(paramlen - ((NI) 1));
					res_399223 = ((NI) 1);
					{
						while (1) {
							Tnode223809* LOC28;
							Tnode223809* LOC29;
							if (!(res_399223 <= HEX3Atmp_399220)) goto LA27;
							col_399168 = res_399223;
							LOC28 = 0;
							LOC28 = newsymnode_225325((*(*(*(*base).typ).n).kindU.S6.sons->data[col_399168]).kindU.S4.sym);
							LOC29 = 0;
							LOC29 = genconv_398017(LOC28, (*(*curr).typ).sons->data[col_399168], NIM_FALSE);
							addson_225819(call, LOC29);
							res_399223 += ((NI) 1);
						} LA27: ;
					}
				}
				ret = 0;
				{
					Tnode223809* a;
					Tnode223809* LOC34;
					if (!!(((*(*base).typ).sons->data[((NI) 0)] == NIM_NIL))) goto LA32;
					a = newnodei_225351(((NU8) 74), (*base).info);
					LOC34 = 0;
					LOC34 = newsymnode_225325((*(*(*base).ast).kindU.S6.sons->data[((NI) 7)]).kindU.S4.sym);
					addson_225819(a, LOC34);
					addson_225819(a, call);
					ret = newnodei_225351(((NU8) 109), (*base).info);
					addson_225819(ret, a);
				}
				goto LA30;
				LA32: ;
				{
					ret = call;
				}
				LA30: ;
				{
					Tnode223809* a;
					if (!!((cond == NIM_NIL))) goto LA38;
					a = newnodei_225351(((NU8) 86), (*base).info);
					addson_225819(a, cond);
					addson_225819(a, ret);
					addson_225819(disp, a);
				}
				goto LA36;
				LA38: ;
				{
					disp = ret;
				}
				LA36: ;
				res_399231 += ((NI) 1);
			} LA4: ;
		}
	}
	asgnRefNoCycle((void**) (&(*(*result).ast).kindU.S6.sons->data[((NI) 6)]), disp);
	return result;
}

N_NIMCALL(Tnode223809*, generatemethoddispatchers_399268)(void) {
	Tnode223809* result;
	result = 0;
	result = newnode_224401(((NU8) 115));
	{
		NI bucket_399291;
		NI HEX3Atmp_399318;
		NI res_399321;
		bucket_399291 = 0;
		HEX3Atmp_399318 = 0;
		HEX3Atmp_399318 = (NI)((gmethods_398262 ? gmethods_398262->Sup.len : 0) - ((NI) 1));
		res_399321 = ((NI) 0);
		{
			while (1) {
				Intset220056 relevantcols;
				Tsym223841* LOC13;
				Tnode223809* LOC14;
				if (!(res_399321 <= HEX3Atmp_399318)) goto LA3;
				bucket_399291 = res_399321;
				memset((void*)(&relevantcols), 0, sizeof(relevantcols));
				chckNil((void*)(&relevantcols));
				memset((void*)(&relevantcols), 0, sizeof(relevantcols));
				initintset_220927((&relevantcols));
				{
					NI col_399306;
					NI HEX3Atmp_399311;
					NI LOC5;
					NI res_399314;
					col_399306 = 0;
					HEX3Atmp_399311 = 0;
					LOC5 = 0;
					LOC5 = sonslen_226351((*gmethods_398262->data[bucket_399291].Field0->data[((NI) 0)]).typ);
					HEX3Atmp_399311 = (NI)(LOC5 - ((NI) 1));
					res_399314 = ((NI) 1);
					{
						while (1) {
							if (!(res_399314 <= HEX3Atmp_399311)) goto LA7;
							col_399306 = res_399314;
							{
								NIM_BOOL LOC10;
								LOC10 = 0;
								LOC10 = relevantcol_398911(gmethods_398262->data[bucket_399291].Field0, col_399306);
								if (!LOC10) goto LA11;
								incl_220856((&relevantcols), col_399306);
							}
							LA11: ;
							res_399314 += ((NI) 1);
						} LA7: ;
					}
				}
				sortbucket_399017((&gmethods_398262->data[bucket_399291].Field0), (&relevantcols));
				LOC13 = 0;
				LOC13 = gendispatcher_399091(gmethods_398262->data[bucket_399291].Field0, (&relevantcols));
				LOC14 = 0;
				LOC14 = newsymnode_225325(LOC13);
				addson_225819(result, LOC14);
				res_399321 += ((NI) 1);
			} LA3: ;
		}
	}
	return result;
}
NIM_EXTERNC N_NOINLINE(void, compiler_cgmethInit000)(void) {
	if (gmethods_398262) nimGCunrefNoCycle(gmethods_398262);
	gmethods_398262 = (TY398242*) newSeqRC1((&NTI398242), 0);
}

NIM_EXTERNC N_NOINLINE(void, compiler_cgmethDatInit000)(void) {
static TNimNode* TMP1007[2];
static TNimNode TMP1005[3];
NTI398243.size = sizeof(TY398243);
NTI398243.kind = 18;
NTI398243.base = 0;
NTI398243.flags = 2;
TMP1007[0] = &TMP1005[1];
TMP1005[1].kind = 1;
TMP1005[1].offset = offsetof(TY398243, Field0);
TMP1005[1].typ = (&NTI223811);
TMP1005[1].name = "Field0";
TMP1007[1] = &TMP1005[2];
TMP1005[2].kind = 1;
TMP1005[2].offset = offsetof(TY398243, Field1);
TMP1005[2].typ = (&NTI223807);
TMP1005[2].name = "Field1";
TMP1005[0].len = 2; TMP1005[0].kind = 2; TMP1005[0].sons = &TMP1007[0];
NTI398243.node = &TMP1005[0];
NTI398242.size = sizeof(TY398242*);
NTI398242.kind = 24;
NTI398242.base = (&NTI398243);
NTI398242.flags = 2;
NTI398242.marker = TMP1008;
}

