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

#include "nimbase.h"
#include <string.h>
typedef struct TY402242 TY402242;
typedef struct TY402243 TY402243;
typedef struct Tsymseq227811 Tsymseq227811;
typedef struct Tsym227841 Tsym227841;
typedef struct TGenericSeq TGenericSeq;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Cell48946 Cell48946;
typedef struct Cellseq48962 Cellseq48962;
typedef struct Gcheap51018 Gcheap51018;
typedef struct Gcstack51016 Gcstack51016;
typedef struct Cellset48958 Cellset48958;
typedef struct Pagedesc48954 Pagedesc48954;
typedef struct Memregion30890 Memregion30890;
typedef struct Smallchunk30842 Smallchunk30842;
typedef struct Llchunk30884 Llchunk30884;
typedef struct Bigchunk30844 Bigchunk30844;
typedef struct Intset30817 Intset30817;
typedef struct Trunk30813 Trunk30813;
typedef struct Avlnode30888 Avlnode30888;
typedef struct Gcstat51014 Gcstat51014;
typedef struct Tidobj200015 Tidobj200015;
typedef struct TNimObject TNimObject;
typedef struct Ttypeseq227843 Ttypeseq227843;
typedef struct Tscope227835 Tscope227835;
typedef struct TY227944 TY227944;
typedef struct Tstrtable227813 Tstrtable227813;
typedef struct Ttype227847 Ttype227847;
typedef struct Tident200021 Tident200021;
typedef struct Tlineinfo192352 Tlineinfo192352;
typedef struct Tnode227809 Tnode227809;
typedef struct Tloc227823 Tloc227823;
typedef struct Ropeobj178009 Ropeobj178009;
typedef struct Tlib227827 Tlib227827;
typedef struct NimStringDesc NimStringDesc;
typedef struct Tnodeseq227803 Tnodeseq227803;
typedef struct Intset224056 Intset224056;
typedef struct Trunk224052 Trunk224052;
typedef struct Trunkseq224054 Trunkseq224054;
typedef struct Basechunk30840 Basechunk30840;
typedef struct Freecell30832 Freecell30832;
typedef struct Tinstantiation227831 Tinstantiation227831;
typedef struct Tlistentry143022 Tlistentry143022;
typedef struct TY227932 TY227932;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct TY402243 {
Tsymseq227811* Field0;
Tsym227841* 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  Cell48946  {
NI refcount;
TNimType* typ;
};
struct  Cellseq48962  {
NI len;
NI cap;
Cell48946** d;
};
struct  Cellset48958  {
NI counter;
NI max;
Pagedesc48954* head;
Pagedesc48954** data;
};
typedef Smallchunk30842* TY30905[512];
typedef Trunk30813* Trunkbuckets30815[256];
struct  Intset30817  {
Trunkbuckets30815 data;
};
struct  Memregion30890  {
NI minlargeobj;
NI maxlargeobj;
TY30905 freesmallchunks;
Llchunk30884* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk30844* freechunkslist;
Intset30817 chunkstarts;
Avlnode30888* root;
Avlnode30888* deleted;
Avlnode30888* last;
Avlnode30888* 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;
Cellseq48962 zct;
Cellseq48962 decstack;
Cellset48958 cycleroots;
Cellseq48962 tempstack;
NI recgclock;
Memregion30890 region;
Gcstat51014 stat;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  Tidobj200015  {
  TNimObject Sup;
NI id;
};
struct  Tstrtable227813  {
NI counter;
Tsymseq227811* data;
};
struct  Tlineinfo192352  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  Tloc227823  {
NU8 k;
NU8 s;
NU16 flags;
Ttype227847* t;
Ropeobj178009* r;
Ropeobj178009* heaproot;
};
struct  Tsym227841  {
  Tidobj200015 Sup;
NU8 kind;
union{
struct {Ttypeseq227843* typeinstcache;
Tscope227835* typscope;
} S1;
struct {TY227944* procinstcache;
Tsym227841* gcunsafetyreason;
} S2;
struct {TY227944* usedgenerics;
Tstrtable227813 tab;
} S3;
struct {Tsym227841* guard;
NI bitsize;
} S4;
} kindU;
NU8 magic;
Ttype227847* typ;
Tident200021* name;
Tlineinfo192352 info;
Tsym227841* owner;
NU32 flags;
Tnode227809* ast;
NU32 options;
NI position;
NI offset;
Tloc227823 loc;
Tlib227827* annex;
Tnode227809* constraint;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tident200021  {
  Tidobj200015 Sup;
NimStringDesc* s;
Tident200021* next;
NI h;
};
struct  Ttype227847  {
  Tidobj200015 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq227843* sons;
Tnode227809* n;
Tsym227841* owner;
Tsym227841* sym;
Tsym227841* destructor;
Tsym227841* deepcopy;
Tsym227841* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc227823 loc;
};
struct  Tnode227809  {
Ttype227847* typ;
Tlineinfo192352 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym227841* sym;
} S4;
struct {Tident200021* ident;
} S5;
struct {Tnodeseq227803* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
typedef NimStringDesc* TY195306[2];
typedef Tsym227841* TY282434[1];
struct  Intset224056  {
NI counter;
NI max;
Trunk224052* head;
Trunkseq224054* data;
};
struct  Gcstack51016  {
Gcstack51016* prev;
Gcstack51016* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY30821[16];
struct  Pagedesc48954  {
Pagedesc48954* next;
NI key;
TY30821 bits;
};
struct  Basechunk30840  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk30842  {
  Basechunk30840 Sup;
Smallchunk30842* next;
Smallchunk30842* prev;
Freecell30832* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk30884  {
NI size;
NI acc;
Llchunk30884* next;
};
struct  Bigchunk30844  {
  Basechunk30840 Sup;
Bigchunk30844* next;
Bigchunk30844* prev;
NI align;
NF data;
};
struct  Trunk30813  {
Trunk30813* next;
NI key;
TY30821 bits;
};
typedef Avlnode30888* TY30895[2];
struct  Avlnode30888  {
TY30895 link;
NI key;
NI upperbound;
NI level;
};
struct  Tscope227835  {
NI depthlevel;
Tstrtable227813 symbols;
Tnodeseq227803* usingsyms;
Tscope227835* parent;
};
struct  Ropeobj178009  {
  TNimObject Sup;
Ropeobj178009* left;
Ropeobj178009* right;
NI length;
NimStringDesc* data;
};
struct  Tlistentry143022  {
  TNimObject Sup;
Tlistentry143022* prev;
Tlistentry143022* next;
};
struct  Tlib227827  {
  Tlistentry143022 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj178009* name;
Tnode227809* path;
};
struct  Trunk224052  {
Trunk224052* next;
NI key;
TY30821 bits;
};
struct  Freecell30832  {
Freecell30832* next;
NI zerofield;
};
struct  Tinstantiation227831  {
Tsym227841* sym;
Ttypeseq227843* concretetypes;
TY227932* usedby;
NI compilesid;
};
struct Tsymseq227811 {
  TGenericSeq Sup;
  Tsym227841* data[SEQ_DECL_SIZE];
};
struct TY402242 {
  TGenericSeq Sup;
  TY402243 data[SEQ_DECL_SIZE];
};
struct Ttypeseq227843 {
  TGenericSeq Sup;
  Ttype227847* data[SEQ_DECL_SIZE];
};
struct TY227944 {
  TGenericSeq Sup;
  Tinstantiation227831* data[SEQ_DECL_SIZE];
};
struct Tnodeseq227803 {
  TGenericSeq Sup;
  Tnode227809* data[SEQ_DECL_SIZE];
};
struct Trunkseq224054 {
  TGenericSeq Sup;
  Trunk224052* data[SEQ_DECL_SIZE];
};
struct TY227932 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP1015)(void* p, NI op);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(Cell48946*, usrtocell_52646)(void* usr);
static N_INLINE(void, rtladdzct_54204)(Cell48946* c);
N_NOINLINE(void, addzct_52617)(Cellseq48962* s, Cell48946* c);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
N_NIMCALL(NU8, samemethodbucket_402275)(Tsym227841* a, Tsym227841* b);
N_NIMCALL(NI, sonslen_230351)(Ttype227847* n);
N_NIMCALL(NIM_BOOL, sametypeornil_262108)(Ttype227847* a, Ttype227847* b, NU8 flags);
N_NIMCALL(Ttype227847*, skiptypes_231167)(Ttype227847* t, NU64 kinds);
N_NIMCALL(Ttype227847*, lastson_230426)(Ttype227847* n);
N_NIMCALL(NIM_BOOL, sametype_262092)(Ttype227847* a, Ttype227847* b, NU8 flags);
N_NIMCALL(NI, inheritancediff_264091)(Ttype227847* a, Ttype227847* b);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemsize);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
N_NIMCALL(void, attachdispatcher_402406)(Tsym227841* s, Tnode227809* dispatcher);
static N_INLINE(NI, len_228098)(Tnode227809* n);
N_NIMCALL(void, add_228165)(Tnode227809* father, Tnode227809* son);
N_NIMCALL(Tnode227809*, lastson_230406)(Tnode227809* n);
N_NIMCALL(void, fixupdispatcher_402522)(Tsym227841* meth, Tsym227841* disp);
N_NIMCALL(NI, sonslen_230387)(Tnode227809* n);
N_NIMCALL(Tnode227809*, copytree_232028)(Tnode227809* src);
N_NIMCALL(void, message_198161)(Tlineinfo192352 info, NU16 msg, NimStringDesc* arg);
N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen0);
N_NIMCALL(NimStringDesc*, HEX24_230096)(NI16 x);
N_NIMCALL(void, checkmethodeffects_372399)(Tsym227841* disp, Tsym227841* branch);
N_NIMCALL(void, localerror_198139)(Tlineinfo192352 info, NimStringDesc* arg);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_NIMCALL(Tsym227841*, createdispatcher_402447)(Tsym227841* s);
N_NIMCALL(Tsym227841*, copysym_230607)(Tsym227841* s, NIM_BOOL keepid);
N_NIMCALL(Ttype227847*, copytype_230542)(Ttype227847* t, Tsym227841* owner, NIM_BOOL keepid);
N_NIMCALL(void, addson_229819)(Tnode227809* father, Tnode227809* son);
N_NIMCALL(Tnode227809*, newsymnode_229325)(Tsym227841* sym);
N_NIMCALL(void, genericSeqAssign)(void* dest, void* src_87604, TNimType* mt);
N_NIMCALL(void, internalerror_198172)(Tlineinfo192352 info, NimStringDesc* errmsg);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_NIMCALL(NimStringDesc*, HEX24_193879)(Tlineinfo192352 info);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_NIMCALL(Tnode227809*, genconv_402017)(Tnode227809* n, Ttype227847* d, NIM_BOOL downcast);
N_NIMCALL(Tnode227809*, newnodeit_229807)(NU8 kind, Tlineinfo192352 info, Ttype227847* typ);
N_NIMCALL(Tnode227809*, newnode_228401)(NU8 kind);
N_NIMCALL(void, initintset_224927)(Intset224056* Result);
N_NOINLINE(void, chckNil)(void* p);
N_NIMCALL(NIM_BOOL, relevantcol_402911)(Tsymseq227811* methods, NI col);
N_NIMCALL(void, incl_224856)(Intset224056* s, NI key);
N_NIMCALL(void, sortbucket_403017)(Tsymseq227811** a, Intset224056 relevantcols);
N_NIMCALL(NI, cmpsignatures_402965)(Tsym227841* a, Tsym227841* b, Intset224056 relevantcols);
N_NIMCALL(NIM_BOOL, contains_224829)(Intset224056 s, NI key);
N_NIMCALL(Tsym227841*, gendispatcher_403091)(Tsymseq227811* methods, Intset224056 relevantcols);
N_NIMCALL(Tnode227809*, newnodei_229351)(NU8 kind, Tlineinfo192352 info);
N_NIMCALL(Tsym227841*, getsyssym_276077)(NimStringDesc* name);
N_NIMCALL(Ttype227847*, getsystype_276190)(NU8 kind);
STRING_LITERAL(TMP3411, "method has lock level $1, but another method has $2", 51);
STRING_LITERAL(TMP3419, "method is not a base", 20);
STRING_LITERAL(TMP3420, "no method dispatcher found", 26);
STRING_LITERAL(TMP3421, "invalid declaration order; cannot attach \'", 42);
STRING_LITERAL(TMP3422, "\' to method defined here: ", 26);
STRING_LITERAL(TMP3423, "", 0);
STRING_LITERAL(TMP3424, "cgmeth.genConv", 14);
STRING_LITERAL(TMP3425, "cgmeth.genConv: no upcast allowed", 33);
STRING_LITERAL(TMP3426, "cgmeth.genConv: no downcast allowed", 35);
STRING_LITERAL(TMP4463, "and", 3);
STRING_LITERAL(TMP4464, "of", 2);
TY402242* gmethods_402262;
TNimType NTI402243; /* tuple[methods: TSymSeq, dispatcher: PSym] */
extern TNimType NTI227811; /* TSymSeq */
extern TNimType NTI227807; /* PSym */
TNimType NTI402242; /* seq[tuple[methods: TSymSeq, dispatcher: PSym]] */
extern Gcheap51018 gch_51059;
extern Tnode227809* emptynode_228807;
N_NIMCALL(void, TMP1015)(void* p, NI op) {
	TY402242* a;
	NI LOC1;
	a = (TY402242*)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(Cell48946*, usrtocell_52646)(void* usr) {
	Cell48946* result;
	result = 0;
	result = ((Cell48946*) ((NI)((NU32)(((NI) (usr))) - (NU32)(((NI)sizeof(Cell48946))))));
	return result;
}

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

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

N_NIMCALL(NU8, samemethodbucket_402275)(Tsym227841* a, Tsym227841* 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_230351((*a).typ);
		LOC8 = 0;
		LOC8 = sonslen_230351((*b).typ);
		if (!!((LOC7 == LOC8))) goto LA9;
		goto BeforeRet;
	}
	LA9: ;
	{
		NIM_BOOL LOC13;
		LOC13 = 0;
		LOC13 = sametypeornil_262108((*(*a).typ).sons->data[((NI) 0)], (*(*b).typ).sons->data[((NI) 0)], 0);
		if (!!(LOC13)) goto LA14;
		goto BeforeRet;
	}
	LA14: ;
	{
		NI i_402299;
		NI HEX3Atmp_402378;
		NI LOC17;
		NI res_402381;
		i_402299 = 0;
		HEX3Atmp_402378 = 0;
		LOC17 = 0;
		LOC17 = sonslen_230351((*a).typ);
		HEX3Atmp_402378 = (NI)(LOC17 - ((NI) 1));
		res_402381 = ((NI) 1);
		{
			while (1) {
				Ttype227847* aa;
				Ttype227847* bb;
				if (!(res_402381 <= HEX3Atmp_402378)) goto LA19;
				i_402299 = res_402381;
				aa = (*(*a).typ).sons->data[i_402299];
				bb = (*(*b).typ).sons->data[i_402299];
				{
					while (1) {
						aa = skiptypes_231167(aa, 2048);
						bb = skiptypes_231167(bb, 2048);
						{
							NIM_BOOL LOC24;
							LOC24 = 0;
							LOC24 = ((*aa).kind == (*bb).kind);
							if (!(LOC24)) goto LA25;
							LOC24 = ((*aa).kind == ((NU8) 23) || (*aa).kind == ((NU8) 21) || (*aa).kind == ((NU8) 22));
							LA25: ;
							if (!LOC24) goto LA26;
							aa = lastson_230426(aa);
							bb = lastson_230426(bb);
						}
						goto LA22;
						LA26: ;
						{
							goto LA20;
						}
						LA22: ;
					}
				} LA20: ;
				{
					NIM_BOOL LOC31;
					LOC31 = 0;
					LOC31 = sametype_262092(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_264091(bb, aa);
					{
						if (!(diff < ((NI) 0))) goto LA47;
						{
							if (!!((result == ((NU8) 1)))) goto LA51;
							result = ((NU8) 2);
						}
						LA51: ;
					}
					goto LA45;
					LA47: ;
					{
						if (!!((diff == ((NI) 2147483647)))) goto LA54;
						result = ((NU8) 1);
					}
					goto LA45;
					LA54: ;
					LA45: ;
				}
				goto LA29;
				LA43: ;
				{
					result = ((NU8) 0);
					goto BeforeRet;
				}
				LA29: ;
				res_402381 += ((NI) 1);
			} LA19: ;
		}
	}
	}BeforeRet: ;
	return result;
}

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

static N_INLINE(NI, len_228098)(Tnode227809* 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_402406)(Tsym227841* s, Tnode227809* dispatcher) {
	NI L;
	NI LOC1;
	Tnode227809* x;
	LOC1 = 0;
	LOC1 = len_228098((*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_228165((*s).ast, dispatcher);
	}
	LA2: ;
}

N_NIMCALL(void, fixupdispatcher_402522)(Tsym227841* meth, Tsym227841* disp) {
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		NI LOC5;
		NI LOC7;
		LOC3 = 0;
		LOC4 = 0;
		LOC5 = 0;
		LOC5 = sonslen_230387((*disp).ast);
		LOC4 = (((NI) 7) < LOC5);
		if (!(LOC4)) goto LA6;
		LOC7 = 0;
		LOC7 = sonslen_230387((*meth).ast);
		LOC4 = (((NI) 7) < LOC7);
		LA6: ;
		LOC3 = LOC4;
		if (!(LOC3)) goto LA8;
		LOC3 = ((*(*disp).ast).kindU.S6.sons->data[((NI) 7)] == emptynode_228807);
		LA8: ;
		if (!LOC3) goto LA9;
		asgnRefNoCycle((void**) (&(*(*disp).ast).kindU.S6.sons->data[((NI) 7)]), copytree_232028((*(*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;
		TY195306 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_230096((*(*meth).typ).locklevel);
		LOC20[1] = HEX24_230096((*(*disp).typ).locklevel);
		LOC21 = 0;
		LOC21 = nsuFormatOpenArray(((NimStringDesc*) &TMP3411), LOC20, 2);
		message_198161((*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(Tsym227841*, createdispatcher_402447)(Tsym227841* s) {
	Tsym227841* result;
	Tsym227841* disp;
	Tnode227809* LOC15;
	Tnode227809* LOC16;
{	result = 0;
	disp = copysym_230607(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_230542((*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_232028((*s).ast));
	asgnRefNoCycle((void**) (&(*(*disp).ast).kindU.S6.sons->data[((NI) 6)]), emptynode_228807);
	asgnRefNoCycle((void**) (&(*disp).loc.r), NIM_NIL);
	{
		if (!!(((*(*s).typ).sons->data[((NI) 0)] == NIM_NIL))) goto LA7;
		{
			NI LOC11;
			LOC11 = 0;
			LOC11 = sonslen_230387((*disp).ast);
			if (!(((NI) 7) < LOC11)) goto LA12;
			asgnRefNoCycle((void**) (&(*(*(*disp).ast).kindU.S6.sons->data[((NI) 7)]).kindU.S4.sym), copysym_230607((*(*(*s).ast).kindU.S6.sons->data[((NI) 7)]).kindU.S4.sym, NIM_FALSE));
		}
		goto LA9;
		LA12: ;
		{
			addson_229819((*disp).ast, emptynode_228807);
		}
		LA9: ;
	}
	LA7: ;
	LOC15 = 0;
	LOC15 = newsymnode_229325(disp);
	attachdispatcher_402406(s, LOC15);
	LOC16 = 0;
	LOC16 = newsymnode_229325(disp);
	attachdispatcher_402406(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_402634)(Tsym227841* s, NIM_BOOL fromcache) {
	NI L;
	Tsym227841* witness;
	TY402243 LOC19;
	TY282434 LOC20;
{	L = (gmethods_402262 ? gmethods_402262->Sup.len : 0);
	witness = 0;
	{
		NI i_402660;
		NI HEX3Atmp_402889;
		NI res_402892;
		i_402660 = 0;
		HEX3Atmp_402889 = 0;
		HEX3Atmp_402889 = (NI)(L - ((NI) 1));
		res_402892 = ((NI) 0);
		{
			while (1) {
				Tsym227841* disp;
				NU8 LOC4;
				if (!(res_402892 <= HEX3Atmp_402889)) goto LA3;
				i_402660 = res_402892;
				disp = gmethods_402262->data[i_402660].Field1;
				LOC4 = 0;
				LOC4 = samemethodbucket_402275(disp, s);
				switch (LOC4) {
				case ((NU8) 2):
				{
					Tnode227809* LOC6;
					gmethods_402262->data[i_402660].Field0 = (Tsymseq227811*) incrSeqV2(&(gmethods_402262->data[i_402660].Field0)->Sup, sizeof(Tsym227841*));
					asgnRefNoCycle((void**) (&gmethods_402262->data[i_402660].Field0->data[gmethods_402262->data[i_402660].Field0->Sup.len]), s);
					++gmethods_402262->data[i_402660].Field0->Sup.len;
					LOC6 = 0;
					LOC6 = lastson_230406((*disp).ast);
					attachdispatcher_402406(s, LOC6);
					fixupdispatcher_402522(s, disp);
					checkmethodeffects_372399(disp, s);
					{
						NIM_BOOL LOC9;
						LOC9 = 0;
						LOC9 = (((*s).flags &(1<<((((NU8) 18))&31)))!=0);
						if (!(LOC9)) goto LA10;
						LOC9 = !((gmethods_402262->data[i_402660].Field0->data[((NI) 0)] == s));
						LA10: ;
						if (!LOC9) goto LA11;
						localerror_198139((*s).info, ((NimStringDesc*) &TMP3419));
					}
					LA11: ;
					goto BeforeRet;
				}
				break;
				case ((NU8) 0):
				{
				}
				break;
				case ((NU8) 1):
				{
					{
						if (!witness == 0) goto LA17;
						witness = gmethods_402262->data[i_402660].Field0->data[((NI) 0)];
					}
					LA17: ;
				}
				break;
				}
				res_402892 += ((NI) 1);
			} LA3: ;
		}
	}
	memset((void*)(&LOC19), 0, sizeof(LOC19));
	LOC19.Field0 = (Tsymseq227811*) newSeq((&NTI227811), 1);
	memset((void*)LOC20, 0, sizeof(LOC20));
	LOC20[0] = s;
	asgnRefNoCycle((void**) (&LOC19.Field0->data[0]), LOC20[0]);
	LOC19.Field1 = createdispatcher_402447(s);
	gmethods_402262 = (TY402242*) incrSeqV2(&(gmethods_402262)->Sup, sizeof(TY402243));
	genericSeqAssign((&gmethods_402262->data[gmethods_402262->Sup.len].Field0), LOC19.Field0, (&NTI227811));
	asgnRefNoCycle((void**) (&gmethods_402262->data[gmethods_402262->Sup.len].Field1), LOC19.Field1);
	++gmethods_402262->Sup.len;
	{
		if (!fromcache) goto LA23;
		internalerror_198172((*s).info, ((NimStringDesc*) &TMP3420));
	}
	LA23: ;
	{
		NimStringDesc* LOC29;
		NimStringDesc* LOC30;
		if (!!((witness == NIM_NIL))) goto LA27;
		LOC29 = 0;
		LOC30 = 0;
		LOC30 = HEX24_193879((*witness).info);
		LOC29 = rawNewString((*(*s).name).s->Sup.len + LOC30->Sup.len + 68);
appendString(LOC29, ((NimStringDesc*) &TMP3421));
appendString(LOC29, (*(*s).name).s);
appendString(LOC29, ((NimStringDesc*) &TMP3422));
appendString(LOC29, LOC30);
		localerror_198139((*s).info, LOC29);
	}
	goto LA25;
	LA27: ;
	{
		if (!!((((*s).flags &(1<<((((NU8) 18))&31)))!=0))) goto LA32;
		message_198161((*s).info, ((NU16) 252), ((NimStringDesc*) &TMP3423));
	}
	goto LA25;
	LA32: ;
	LA25: ;
	}BeforeRet: ;
}

N_NIMCALL(Tnode227809*, genconv_402017)(Tnode227809* n, Ttype227847* d, NIM_BOOL downcast) {
	Tnode227809* result;
	Ttype227847* dest;
	Ttype227847* source;
	result = 0;
	dest = skiptypes_231167(d, IL64(211106247256320));
	source = skiptypes_231167((*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_264091(dest, source);
		{
			if (!(diff == ((NI) 2147483647))) goto LA9;
			internalerror_198172((*n).info, ((NimStringDesc*) &TMP3424));
		}
		LA9: ;
		{
			if (!(diff < ((NI) 0))) goto LA13;
			result = newnodeit_229807(((NU8) 67), (*n).info, d);
			addson_229819(result, n);
			{
				if (!downcast) goto LA17;
				internalerror_198172((*n).info, ((NimStringDesc*) &TMP3425));
			}
			LA17: ;
		}
		goto LA11;
		LA13: ;
		{
			if (!(((NI) 0) < diff)) goto LA20;
			result = newnodeit_229807(((NU8) 66), (*n).info, d);
			addson_229819(result, n);
			{
				if (!!(downcast)) goto LA24;
				internalerror_198172((*n).info, ((NimStringDesc*) &TMP3426));
			}
			LA24: ;
		}
		goto LA11;
		LA20: ;
		{
			result = n;
		}
		LA11: ;
	}
	goto LA1;
	LA5: ;
	{
		result = n;
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode227809*, methodcall_402054)(Tnode227809* n) {
	Tnode227809* result;
	Tsym227841* disp;
	Tnode227809* LOC1;
	result = 0;
	result = n;
	LOC1 = 0;
	LOC1 = lastson_230406((*(*(*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_402215;
		NI HEX3Atmp_402220;
		NI LOC3;
		NI res_402223;
		i_402215 = 0;
		HEX3Atmp_402220 = 0;
		LOC3 = 0;
		LOC3 = sonslen_230387(result);
		HEX3Atmp_402220 = (NI)(LOC3 - ((NI) 1));
		res_402223 = ((NI) 1);
		{
			while (1) {
				if (!(res_402223 <= HEX3Atmp_402220)) goto LA5;
				i_402215 = res_402223;
				asgnRefNoCycle((void**) (&(*result).kindU.S6.sons->data[i_402215]), genconv_402017((*result).kindU.S6.sons->data[i_402215], (*(*disp).typ).sons->data[i_402215], NIM_TRUE));
				res_402223 += ((NI) 1);
			} LA5: ;
		}
	}
	return result;
}

N_NIMCALL(NIM_BOOL, relevantcol_402911)(Tsymseq227811* methods, NI col) {
	NIM_BOOL result;
	Ttype227847* t;
{	result = 0;
	t = skiptypes_231167((*(*methods->data[((NI) 0)]).typ).sons->data[col], IL64(211106247215360));
	{
		if (!((*t).kind == ((NU8) 17))) goto LA3;
		{
			NI i_402939;
			NI HEX3Atmp_402943;
			NI res_402946;
			i_402939 = 0;
			HEX3Atmp_402943 = 0;
			HEX3Atmp_402943 = (methods ? (methods->Sup.len-1) : -1);
			res_402946 = ((NI) 1);
			{
				while (1) {
					Ttype227847* t2;
					if (!(res_402946 <= HEX3Atmp_402943)) goto LA7;
					i_402939 = res_402946;
					t2 = skiptypes_231167((*(*methods->data[i_402939]).typ).sons->data[col], IL64(211106247215360));
					{
						NIM_BOOL LOC10;
						LOC10 = 0;
						LOC10 = sametype_262092(t2, t, 0);
						if (!!(LOC10)) goto LA11;
						result = NIM_TRUE;
						goto BeforeRet;
					}
					LA11: ;
					res_402946 += ((NI) 1);
				} LA7: ;
			}
		}
	}
	LA3: ;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(NI, cmpsignatures_402965)(Tsym227841* a, Tsym227841* b, Intset224056 relevantcols) {
	NI result;
{	result = 0;
	{
		NI col_402984;
		NI HEX3Atmp_402995;
		NI LOC2;
		NI res_402998;
		col_402984 = 0;
		HEX3Atmp_402995 = 0;
		LOC2 = 0;
		LOC2 = sonslen_230351((*a).typ);
		HEX3Atmp_402995 = (NI)(LOC2 - ((NI) 1));
		res_402998 = ((NI) 1);
		{
			while (1) {
				if (!(res_402998 <= HEX3Atmp_402995)) goto LA4;
				col_402984 = res_402998;
				{
					NIM_BOOL LOC7;
					Ttype227847* aa;
					Ttype227847* bb;
					NI d;
					LOC7 = 0;
					LOC7 = contains_224829(relevantcols, col_402984);
					if (!LOC7) goto LA8;
					aa = skiptypes_231167((*(*a).typ).sons->data[col_402984], IL64(211106247215360));
					bb = skiptypes_231167((*(*b).typ).sons->data[col_402984], IL64(211106247215360));
					d = inheritancediff_264091(aa, bb);
					{
						if (!!((d == ((NI) 2147483647)))) goto LA12;
						result = d;
						goto BeforeRet;
					}
					LA12: ;
				}
				LA8: ;
				res_402998 += ((NI) 1);
			} LA4: ;
		}
	}
	}BeforeRet: ;
	return result;
}

N_NIMCALL(void, sortbucket_403017)(Tsymseq227811** a, Intset224056 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_403044;
				NI HEX3Atmp_403051;
				NI res_403054;
				i_403044 = 0;
				HEX3Atmp_403051 = 0;
				HEX3Atmp_403051 = (NI)(n - ((NI) 1));
				res_403054 = h;
				{
					while (1) {
						Tsym227841* v;
						NI j;
						if (!(res_403054 <= HEX3Atmp_403051)) goto LA11;
						i_403044 = res_403054;
						v = (*a)->data[i_403044];
						j = i_403044;
						{
							while (1) {
								NI LOC14;
								LOC14 = 0;
								LOC14 = cmpsignatures_402965((*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_403054 += ((NI) 1);
					} LA11: ;
				}
			}
			{
				if (!(h == ((NI) 1))) goto LA21;
				goto LA7;
			}
			LA21: ;
		}
	} LA7: ;
}

N_NIMCALL(Tsym227841*, gendispatcher_403091)(Tsymseq227811* methods, Intset224056 relevantcols) {
	Tsym227841* result;
	Tsym227841* base;
	Tnode227809* LOC1;
	NI paramlen;
	Tnode227809* disp;
	Tsym227841* ands;
	Tsym227841* iss;
	result = 0;
	LOC1 = 0;
	LOC1 = lastson_230406((*methods->data[((NI) 0)]).ast);
	base = (*LOC1).kindU.S4.sym;
	result = base;
	paramlen = sonslen_230351((*base).typ);
	disp = newnodei_229351(((NU8) 92), (*base).info);
	ands = getsyssym_276077(((NimStringDesc*) &TMP4463));
	iss = getsyssym_276077(((NimStringDesc*) &TMP4464));
	{
		NI meth_403117;
		NI HEX3Atmp_403228;
		NI res_403231;
		meth_403117 = 0;
		HEX3Atmp_403228 = 0;
		HEX3Atmp_403228 = (methods ? (methods->Sup.len-1) : -1);
		res_403231 = ((NI) 0);
		{
			while (1) {
				Tsym227841* curr;
				Tnode227809* cond;
				Tnode227809* call;
				Tnode227809* LOC24;
				Tnode227809* ret;
				if (!(res_403231 <= HEX3Atmp_403228)) goto LA4;
				meth_403117 = res_403231;
				curr = methods->data[meth_403117];
				cond = NIM_NIL;
				{
					NI col_403132;
					NI HEX3Atmp_403212;
					NI res_403215;
					col_403132 = 0;
					HEX3Atmp_403212 = 0;
					HEX3Atmp_403212 = (NI)(paramlen - ((NI) 1));
					res_403215 = ((NI) 1);
					{
						while (1) {
							if (!(res_403215 <= HEX3Atmp_403212)) goto LA7;
							col_403132 = res_403215;
							{
								NIM_BOOL LOC10;
								Tnode227809* isn;
								Ttype227847* LOC13;
								Tnode227809* LOC14;
								Tnode227809* LOC15;
								Tnode227809* LOC16;
								LOC10 = 0;
								LOC10 = contains_224829(relevantcols, col_403132);
								if (!LOC10) goto LA11;
								LOC13 = 0;
								LOC13 = getsystype_276190(((NU8) 1));
								isn = newnodeit_229807(((NU8) 27), (*base).info, LOC13);
								LOC14 = 0;
								LOC14 = newsymnode_229325(iss);
								addson_229819(isn, LOC14);
								LOC15 = 0;
								LOC15 = newsymnode_229325((*(*(*(*base).typ).n).kindU.S6.sons->data[col_403132]).kindU.S4.sym);
								addson_229819(isn, LOC15);
								LOC16 = 0;
								LOC16 = newnodeit_229807(((NU8) 4), (*base).info, (*(*curr).typ).sons->data[col_403132]);
								addson_229819(isn, LOC16);
								{
									Tnode227809* a;
									Ttype227847* LOC21;
									Tnode227809* LOC22;
									if (!!((cond == NIM_NIL))) goto LA19;
									LOC21 = 0;
									LOC21 = getsystype_276190(((NU8) 1));
									a = newnodeit_229807(((NU8) 27), (*base).info, LOC21);
									LOC22 = 0;
									LOC22 = newsymnode_229325(ands);
									addson_229819(a, LOC22);
									addson_229819(a, cond);
									addson_229819(a, isn);
									cond = a;
								}
								goto LA17;
								LA19: ;
								{
									cond = isn;
								}
								LA17: ;
							}
							LA11: ;
							res_403215 += ((NI) 1);
						} LA7: ;
					}
				}
				call = newnodei_229351(((NU8) 27), (*base).info);
				LOC24 = 0;
				LOC24 = newsymnode_229325(curr);
				addson_229819(call, LOC24);
				{
					NI col_403168;
					NI HEX3Atmp_403220;
					NI res_403223;
					col_403168 = 0;
					HEX3Atmp_403220 = 0;
					HEX3Atmp_403220 = (NI)(paramlen - ((NI) 1));
					res_403223 = ((NI) 1);
					{
						while (1) {
							Tnode227809* LOC28;
							Tnode227809* LOC29;
							if (!(res_403223 <= HEX3Atmp_403220)) goto LA27;
							col_403168 = res_403223;
							LOC28 = 0;
							LOC28 = newsymnode_229325((*(*(*(*base).typ).n).kindU.S6.sons->data[col_403168]).kindU.S4.sym);
							LOC29 = 0;
							LOC29 = genconv_402017(LOC28, (*(*curr).typ).sons->data[col_403168], NIM_FALSE);
							addson_229819(call, LOC29);
							res_403223 += ((NI) 1);
						} LA27: ;
					}
				}
				ret = 0;
				{
					Tnode227809* a;
					Tnode227809* LOC34;
					if (!!(((*(*base).typ).sons->data[((NI) 0)] == NIM_NIL))) goto LA32;
					a = newnodei_229351(((NU8) 74), (*base).info);
					LOC34 = 0;
					LOC34 = newsymnode_229325((*(*(*base).ast).kindU.S6.sons->data[((NI) 7)]).kindU.S4.sym);
					addson_229819(a, LOC34);
					addson_229819(a, call);
					ret = newnodei_229351(((NU8) 109), (*base).info);
					addson_229819(ret, a);
				}
				goto LA30;
				LA32: ;
				{
					ret = call;
				}
				LA30: ;
				{
					Tnode227809* a;
					if (!!((cond == NIM_NIL))) goto LA38;
					a = newnodei_229351(((NU8) 86), (*base).info);
					addson_229819(a, cond);
					addson_229819(a, ret);
					addson_229819(disp, a);
				}
				goto LA36;
				LA38: ;
				{
					disp = ret;
				}
				LA36: ;
				res_403231 += ((NI) 1);
			} LA4: ;
		}
	}
	asgnRefNoCycle((void**) (&(*(*result).ast).kindU.S6.sons->data[((NI) 6)]), disp);
	return result;
}

N_NIMCALL(Tnode227809*, generatemethoddispatchers_403268)(void) {
	Tnode227809* result;
	result = 0;
	result = newnode_228401(((NU8) 115));
	{
		NI bucket_403291;
		NI HEX3Atmp_403318;
		NI res_403321;
		bucket_403291 = 0;
		HEX3Atmp_403318 = 0;
		HEX3Atmp_403318 = (NI)((gmethods_402262 ? gmethods_402262->Sup.len : 0) - ((NI) 1));
		res_403321 = ((NI) 0);
		{
			while (1) {
				Intset224056 relevantcols;
				Tsym227841* LOC13;
				Tnode227809* LOC14;
				if (!(res_403321 <= HEX3Atmp_403318)) goto LA3;
				bucket_403291 = res_403321;
				memset((void*)(&relevantcols), 0, sizeof(relevantcols));
				chckNil((void*)(&relevantcols));
				memset((void*)(&relevantcols), 0, sizeof(relevantcols));
				initintset_224927((&relevantcols));
				{
					NI col_403306;
					NI HEX3Atmp_403311;
					NI LOC5;
					NI res_403314;
					col_403306 = 0;
					HEX3Atmp_403311 = 0;
					LOC5 = 0;
					LOC5 = sonslen_230351((*gmethods_402262->data[bucket_403291].Field0->data[((NI) 0)]).typ);
					HEX3Atmp_403311 = (NI)(LOC5 - ((NI) 1));
					res_403314 = ((NI) 1);
					{
						while (1) {
							if (!(res_403314 <= HEX3Atmp_403311)) goto LA7;
							col_403306 = res_403314;
							{
								NIM_BOOL LOC10;
								LOC10 = 0;
								LOC10 = relevantcol_402911(gmethods_402262->data[bucket_403291].Field0, col_403306);
								if (!LOC10) goto LA11;
								incl_224856((&relevantcols), col_403306);
							}
							LA11: ;
							res_403314 += ((NI) 1);
						} LA7: ;
					}
				}
				sortbucket_403017((&gmethods_402262->data[bucket_403291].Field0), relevantcols);
				LOC13 = 0;
				LOC13 = gendispatcher_403091(gmethods_402262->data[bucket_403291].Field0, relevantcols);
				LOC14 = 0;
				LOC14 = newsymnode_229325(LOC13);
				addson_229819(result, LOC14);
				res_403321 += ((NI) 1);
			} LA3: ;
		}
	}
	return result;
}
NIM_EXTERNC N_NOINLINE(void, compiler_cgmethInit000)(void) {
	if (gmethods_402262) nimGCunrefNoCycle(gmethods_402262);
	gmethods_402262 = (TY402242*) newSeqRC1((&NTI402242), 0);
}

NIM_EXTERNC N_NOINLINE(void, compiler_cgmethDatInit000)(void) {
static TNimNode* TMP1014[2];
static TNimNode TMP1012[3];
NTI402243.size = sizeof(TY402243);
NTI402243.kind = 18;
NTI402243.base = 0;
NTI402243.flags = 2;
TMP1014[0] = &TMP1012[1];
TMP1012[1].kind = 1;
TMP1012[1].offset = offsetof(TY402243, Field0);
TMP1012[1].typ = (&NTI227811);
TMP1012[1].name = "Field0";
TMP1014[1] = &TMP1012[2];
TMP1012[2].kind = 1;
TMP1012[2].offset = offsetof(TY402243, Field1);
TMP1012[2].typ = (&NTI227807);
TMP1012[2].name = "Field1";
TMP1012[0].len = 2; TMP1012[0].kind = 2; TMP1012[0].sons = &TMP1014[0];
NTI402243.node = &TMP1012[0];
NTI402242.size = sizeof(TY402242*);
NTI402242.kind = 24;
NTI402242.base = (&NTI402243);
NTI402242.flags = 2;
NTI402242.marker = TMP1015;
}

