/* 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>
#include <setjmp.h>
#include <time.h>
#include <stdio.h>
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct Tnode227809 Tnode227809;
typedef struct Tsym227841 Tsym227841;
typedef struct Tpass279017 Tpass279017;
typedef struct Tpasscontext279005 Tpasscontext279005;
typedef struct Trodreader270030 Trodreader270030;
typedef struct Tlinkedlist143028 Tlinkedlist143028;
typedef struct Tlistentry143022 Tlistentry143022;
typedef struct Tidobj200015 Tidobj200015;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Ttypeseq227843 Ttypeseq227843;
typedef struct Tscope227835 Tscope227835;
typedef struct TY227944 TY227944;
typedef struct Tstrtable227813 Tstrtable227813;
typedef struct Tsymseq227811 Tsymseq227811;
typedef struct Ttype227847 Ttype227847;
typedef struct Tident200021 Tident200021;
typedef struct Tlineinfo192352 Tlineinfo192352;
typedef struct Tloc227823 Tloc227823;
typedef struct Ropeobj178009 Ropeobj178009;
typedef struct Tlib227827 Tlib227827;
typedef struct Tctx281048 Tctx281048;
typedef struct TY583196 TY583196;
typedef struct TY281254 TY281254;
typedef struct TY193420 TY193420;
typedef struct PprocHEX3Aobjecttype281233 PprocHEX3Aobjecttype281233;
typedef struct TY281273 TY281273;
typedef struct TY122218 TY122218;
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 Vmargs281042 Vmargs281042;
typedef struct Exception Exception;
typedef struct TSafePoint TSafePoint;
typedef struct TY132408 TY132408;
typedef struct Win32finddata112219 Win32finddata112219;
typedef struct Filetime111273 Filetime111273;
typedef struct Tllstream215204 Tllstream215204;
typedef struct Tnodeseq227803 Tnodeseq227803;
typedef struct TY227932 TY227932;
typedef struct Tindex270028 Tindex270028;
typedef struct Tiitable235274 Tiitable235274;
typedef struct Tiipairseq235272 Tiipairseq235272;
typedef struct Table270063 Table270063;
typedef struct Keyvaluepairseq270066 Keyvaluepairseq270066;
typedef struct Memfile268208 Memfile268208;
typedef struct Tinstantiation227831 Tinstantiation227831;
typedef struct TY281234 TY281234;
typedef struct TY281239 TY281239;
typedef struct TY281274 TY281274;
typedef struct Basechunk30840 Basechunk30840;
typedef struct Freecell30832 Freecell30832;
typedef struct Tiipair235270 Tiipair235270;
typedef struct Keyvaluepair270069 Keyvaluepair270069;
typedef struct Tblock281030 Tblock281030;
typedef struct TY281214 TY281214;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef N_NIMCALL_PTR(Tnode227809*, TY279069) (Tsym227841* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tsym227841*, TY279064) (Tsym227841* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tpasscontext279005*, Tpassopen279009) (Tsym227841* module);
typedef N_NIMCALL_PTR(Tpasscontext279005*, Tpassopencached279011) (Tsym227841* module, Trodreader270030* rd);
typedef N_NIMCALL_PTR(Tnode227809*, Tpassprocess279015) (Tpasscontext279005* p, Tnode227809* toplevelstmt);
typedef N_NIMCALL_PTR(Tnode227809*, Tpassclose279013) (Tpasscontext279005* p, Tnode227809* n);
struct Tpass279017 {
Tpassopen279009 Field0;
Tpassopencached279011 Field1;
Tpassprocess279015 Field2;
Tpassclose279013 Field3;
};
struct  Tlinkedlist143028  {
Tlistentry143022* head;
Tlistentry143022* tail;
NI counter;
};
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  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  TY583196  {
NI HEX3Astate;
NimStringDesc* errormsg583094;
NimStringDesc* vthisdir583095;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Tpasscontext279005  {
  TNimObject Sup;
NIM_BOOL fromcache;
};
struct  Tctx281048  {
  Tpasscontext279005 Sup;
TY281254* code;
TY193420* debug;
Tnode227809* globals;
Tnode227809* constants;
Ttypeseq227843* types;
Tnode227809* currentexceptiona;
Tnode227809* currentexceptionb;
NI exceptioninstr;
PprocHEX3Aobjecttype281233* prc;
Tsym227841* module;
Tnode227809* callsite;
NU8 mode;
NU8 features;
NIM_BOOL traceactive;
NI loopiterations;
Tlineinfo192352 comesfromheuristic;
TY281273* callbacks;
NimStringDesc* errorflag;
};
struct TY122218 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
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;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (Vmargs281042* args, void* ClEnv);
void* ClEnv;
} Vmcallback281044;
struct  Exception  {
  TNimObject Sup;
Exception* parent;
NCSTRING name;
NimStringDesc* message;
NimStringDesc* trace;
};
typedef struct {
N_NIMCALL_PTR(NIM_BOOL, ClPrc) (Exception* e, void* ClEnv);
void* ClEnv;
} TY19211;
struct  TSafePoint  {
TSafePoint* prev;
NI status;
jmp_buf context;
NIM_BOOL hasRaiseAction;
TY19211 raiseAction;
};
struct  Filetime111273  {
NI32 dwlowdatetime;
NI32 dwhighdatetime;
};
typedef NI16 TY112230[260];
typedef NI16 TY112234[14];
struct  Win32finddata112219  {
NI32 dwfileattributes;
Filetime111273 ftcreationtime;
Filetime111273 ftlastaccesstime;
Filetime111273 ftlastwritetime;
NI32 nfilesizehigh;
NI32 nfilesizelow;
NI32 dwreserved0;
NI32 dwreserved1;
TY112230 cfilename;
TY112234 calternatefilename;
};
typedef N_STDCALL_PTR(NI32, TY112249) (NI hfindfile, Win32finddata112219* lpfindfiledata);
typedef N_STDCALL_PTR(void, TY112405) (NI hfindfile);
typedef N_STDCALL_PTR(NI32, TY111815) (NI16* lppathname);
typedef N_CLOSURE_PTR(void, TMP3674) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3676) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3678) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3680) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3683) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3685) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3687) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3689) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3692) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3694) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3696) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3698) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3701) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3703) (Vmargs281042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3705) (Vmargs281042* args, void* ClEnv);
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;
};
struct  Tiitable235274  {
NI counter;
Tiipairseq235272* data;
};
struct  Tindex270028  {
NI lastidxkey;
NI lastidxval;
Tiitable235274 tab;
NimStringDesc* r;
NI offset;
};
struct  Table270063  {
Keyvaluepairseq270066* data;
NI counter;
};
struct  Memfile268208  {
void* mem;
NI size;
NI fhandle;
NI maphandle;
NIM_BOOL wasopened;
};
struct  Trodreader270030  {
  TNimObject Sup;
NI pos;
NCSTRING s;
NU32 options;
NU8 reason;
TY227932* moddeps;
TY227932* files;
NI dataidx;
NI convertersidx;
NI initidx;
NI interfidx;
NI compilerprocsidx;
NI methodsidx;
NimStringDesc* filename;
Tindex270028 index;
Tindex270028 imports;
NI readerindex;
NI line;
NI moduleid;
Table270063 syms;
Memfile268208 memfile;
Tsymseq227811* methods;
NimStringDesc* origfile;
NIM_BOOL inviewmode;
};
struct  Tlistentry143022  {
  TNimObject Sup;
Tlistentry143022* prev;
Tlistentry143022* next;
};
struct  Tscope227835  {
NI depthlevel;
Tstrtable227813 symbols;
Tnodeseq227803* usingsyms;
Tscope227835* parent;
};
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  Tident200021  {
  Tidobj200015 Sup;
NimStringDesc* s;
Tident200021* next;
NI h;
};
struct  Ropeobj178009  {
  TNimObject Sup;
Ropeobj178009* left;
Ropeobj178009* right;
NI length;
NimStringDesc* data;
};
struct  Tlib227827  {
  Tlistentry143022 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj178009* name;
Tnode227809* path;
};
struct TY281239 {
NIM_BOOL Field0;
NU8 Field1;
};
typedef TY281239 TY281242[256];
struct  PprocHEX3Aobjecttype281233  {
TY281234* blocks;
Tsym227841* sym;
TY281242 slots;
NI maxslots;
};
struct TY281274 {
NimStringDesc* Field0;
Vmcallback281044 Field1;
};
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  Vmargs281042  {
NI ra;
NI rb;
NI rc;
void* slots;
Tnode227809* currentexception;
};
struct  Tllstream215204  {
  TNimObject Sup;
NU8 kind;
FILE* f;
NimStringDesc* s;
NI rd;
NI wr;
NI lineoffset;
};
struct  Tiipair235270  {
NI key;
NI val;
};
struct Keyvaluepair270069 {
NI Field0;
NI Field1;
Tsym227841* Field2;
};
struct  Tinstantiation227831  {
Tsym227841* sym;
Ttypeseq227843* concretetypes;
TY227932* usedby;
NI compilesid;
};
struct  Tblock281030  {
Tsym227841* label;
TY281214* fixups;
};
struct  Freecell30832  {
Freecell30832* next;
NI zerofield;
};
struct TY132408 {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
struct Ttypeseq227843 {
  TGenericSeq Sup;
  Ttype227847* data[SEQ_DECL_SIZE];
};
struct TY227944 {
  TGenericSeq Sup;
  Tinstantiation227831* data[SEQ_DECL_SIZE];
};
struct Tsymseq227811 {
  TGenericSeq Sup;
  Tsym227841* data[SEQ_DECL_SIZE];
};
struct TY281254 {
  TGenericSeq Sup;
  NU32 data[SEQ_DECL_SIZE];
};
struct TY193420 {
  TGenericSeq Sup;
  Tlineinfo192352 data[SEQ_DECL_SIZE];
};
struct TY281273 {
  TGenericSeq Sup;
  TY281274 data[SEQ_DECL_SIZE];
};
struct Tnodeseq227803 {
  TGenericSeq Sup;
  Tnode227809* data[SEQ_DECL_SIZE];
};
struct TY227932 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct Tiipairseq235272 {
  TGenericSeq Sup;
  Tiipair235270 data[SEQ_DECL_SIZE];
};
struct Keyvaluepairseq270066 {
  TGenericSeq Sup;
  Keyvaluepair270069 data[SEQ_DECL_SIZE];
};
struct TY281234 {
  TGenericSeq Sup;
  Tblock281030 data[SEQ_DECL_SIZE];
};
struct TY281214 {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
N_NIMCALL(Tnode227809*, includemodule_578860)(Tsym227841* s, NI32 fileidx);
N_NIMCALL(Tsym227841*, importmodule_578824)(Tsym227841* s, NI32 fileidx);
N_NIMCALL(void, initdefines_201254)(void);
N_NIMCALL(void, definesymbol_201013)(NimStringDesc* symbol);
N_NIMCALL(void, registerpass_279190)(Tpass279017 p);
N_NIMCALL(Tpasscontext279005*, myopen_504741)(Tsym227841* module);
N_NIMCALL(Tpasscontext279005*, myopencached_504778)(Tsym227841* module, Trodreader270030* rd);
N_NIMCALL(Tnode227809*, myprocess_504917)(Tpasscontext279005* context, Tnode227809* n);
N_NIMCALL(Tnode227809*, myclose_504933)(Tpasscontext279005* context, Tnode227809* n);
N_NIMCALL(Tpasscontext279005*, myopen_447295)(Tsym227841* module);
N_NIMCALL(Tnode227809*, myprocess_447412)(Tpasscontext279005* c, Tnode227809* n);
N_NIMCALL(void, appendstr_143268)(Tlinkedlist143028* list, NimStringDesc* data);
N_NIMCALL(Tsym227841*, makemodule_579007)(NimStringDesc* filename);
N_NIMCALL(Tctx281048*, setupvm_583089)(Tsym227841* module, NimStringDesc* scriptname);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP3645)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_NIMCALL(Tctx281048*, newctx_281282)(Tsym227841* module);
N_NIMCALL(void, registeradditionalops_447102)(Tctx281048* c);
N_NIMCALL(void, nossplitFile)(NimStringDesc* path, TY122218* Result);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
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, registercallback_281401)(Tctx281048* c, NimStringDesc* name, Vmcallback281044 callback);
N_CLOSURE(void, HEX3Aanonymous_583108)(Vmargs281042* a, void* ClEnv);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_NIMCALL(void, listdirs_583015)(Vmargs281042* a, NU8 filter);
N_NIMCALL(NimStringDesc*, getstring_435072)(Vmargs281042* a, NI i);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_NIMCALL(NI, findfirstfile_125416)(NimStringDesc* a, Win32finddata112219* b);
N_NIMCALL(NimStringDesc*, HEX2F_121890)(NimStringDesc* head, NimStringDesc* tail);
static N_INLINE(NIM_BOOL, skipfinddata_125437)(Win32finddata112219* f);
N_NIMCALL(NimStringDesc*, nosextractFilename)(NimStringDesc* path);
N_NIMCALL(NimStringDesc*, HEX24_85487)(NI16* s);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(void, setresult_434963)(Vmargs281042* a, TY132408* v);
static N_INLINE(void, popSafePoint)(void);
N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
static N_INLINE(Exception*, getCurrentException)(void);
static N_INLINE(NimStringDesc*, getcurrentexceptionmsg_91008)(void);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
static N_INLINE(void, popCurrentException)(void);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_55022)(Cell48946* c);
static N_INLINE(NIM_BOOL, canbecycleroot_52667)(Cell48946* c);
static N_INLINE(void, rtladdcycleroot_53423)(Cell48946* c);
N_NOINLINE(void, incl_49665)(Cellset48958* s, Cell48946* cell);
static N_INLINE(void, decref_54604)(Cell48946* c);
N_NIMCALL(void, reraiseException)(void);
N_CLOSURE(void, HEX3Aanonymous_583112)(Vmargs281042* a, void* ClEnv);
N_CLOSURE(void, HEX3Aanonymous_583116)(Vmargs281042* a, void* ClEnv);
N_NIMCALL(void, nosremoveDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_583119)(Vmargs281042* a, void* ClEnv);
N_NIMCALL(void, nosremoveFile)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_583122)(Vmargs281042* a, void* ClEnv);
N_NIMCALL(void, noscreateDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_583125)(Vmargs281042* a, void* ClEnv);
N_NIMCALL(void, setresult_434915)(Vmargs281042* a, NimStringDesc* v);
N_CLOSURE(void, HEX3Aanonymous_583128)(Vmargs281042* a, void* ClEnv);
static N_INLINE(void, setcurrentdir_128009)(NimStringDesc* newdir);
N_NIMCALL(NI16*, newwidecstring_85405)(NimStringDesc* s);
N_NOINLINE(void, raiseoserror_125030)(NI32 errorcode, NimStringDesc* additionalinfo);
N_NIMCALL(NI32, oslasterror_125055)(void);
N_CLOSURE(void, HEX3Aanonymous_583131)(Vmargs281042* a, void* ClEnv);
N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
N_CLOSURE(void, HEX3Aanonymous_583134)(Vmargs281042* a, void* ClEnv);
N_NIMCALL(void, nosmoveFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_583137)(Vmargs281042* a, void* ClEnv);
N_NIMCALL(void, noscopyFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_583140)(Vmargs281042* a, void* ClEnv);
N_NIMCALL(void, setresult_434860)(Vmargs281042* a, NF v);
N_NIMCALL(NF, toseconds_114506)(time_t time);
N_NIMCALL(time_t, nosgetLastModificationTime)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_583143)(Vmargs281042* a, void* ClEnv);
N_NIMCALL(void, setresult_434837)(Vmargs281042* a, NI64 v);
N_NIMCALL(NI, nospexecCmd)(NimStringDesc* command);
N_NIMCALL(void, HEX3Aanonymous_583146)(Vmargs281042* a);
N_NIMCALL(NimStringDesc*, getenv_133243)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_583149)(Vmargs281042* a);
N_NIMCALL(void, setresult_434883)(Vmargs281042* a, NIM_BOOL v_434886);
N_NIMCALL(NIM_BOOL, existsenv_133258)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_583152)(Vmargs281042* a);
static N_INLINE(NIM_BOOL, direxists_126818)(NimStringDesc* dir);
N_NIMCALL(NIM_BOOL, nosexistsDir)(NimStringDesc* dir);
N_NIMCALL(void, HEX3Aanonymous_583155)(Vmargs281042* a);
static N_INLINE(NIM_BOOL, fileexists_126808)(NimStringDesc* filename);
N_NIMCALL(NIM_BOOL, nosexistsFile)(NimStringDesc* filename);
N_CLOSURE(void, HEX3Aanonymous_583158)(Vmargs281042* a, void* ClEnv);
N_NIMCALL(void, HEX3Aanonymous_583161)(Vmargs281042* a);
N_NIMCALL(void, setconfigvar_169345)(NimStringDesc* key, NimStringDesc* val);
N_NIMCALL(void, HEX3Aanonymous_583164)(Vmargs281042* a);
N_NIMCALL(NimStringDesc*, getconfigvar_169335)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_583167)(Vmargs281042* a);
N_NIMCALL(NIM_BOOL, existsconfigvar_169325)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_583170)(Vmargs281042* a);
N_NIMCALL(NimStringDesc*, getnimcachedir_169628)(void);
N_NIMCALL(void, HEX3Aanonymous_583173)(Vmargs281042* a);
N_NIMCALL(NimStringDesc*, nosparamStr)(NI i);
N_NIMCALL(NI64, getint_435020)(Vmargs281042* a, NI i);
N_NIMCALL(void, HEX3Aanonymous_583176)(Vmargs281042* a);
N_NIMCALL(NI, nosparamCount)(void);
N_NIMCALL(void, HEX3Aanonymous_583179)(Vmargs281042* a);
N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_583182)(Vmargs281042* a);
N_NIMCALL(NI, nsuCmpIgnoreCase)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_583185)(Vmargs281042* a);
N_NIMCALL(NimStringDesc*, canonicalizepath_169409)(NimStringDesc* path);
N_NIMCALL(void, HEX3Aanonymous_583189)(Vmargs281042* a);
N_NIMCALL(void, HEX3Aanonymous_583192)(Vmargs281042* a);
N_NIMCALL(void, processswitch_213040)(NimStringDesc* switch_213042, NimStringDesc* arg, NU8 pass, Tlineinfo192352 info);
N_NIMCALL(Tlineinfo192352, unknownlineinfo_193411)(void);
N_NIMCALL(void, compilesystemmodule_578910)(void);
N_NIMCALL(void, processmodule_279056)(Tsym227841* module, Tllstream215204* stream, Trodreader270030* rd);
N_NIMCALL(Tllstream215204*, llstreamopen_215256)(NimStringDesc* filename, NU8 mode);
N_NIMCALL(void, resetallmoduleshard_578442)(void);
N_NIMCALL(void, undefsymbol_201022)(NimStringDesc* symbol);
STRING_LITERAL(TMP2028, "nimscript", 9);
STRING_LITERAL(TMP2029, "nimconfig", 9);
STRING_LITERAL(TMP3646, "stdlib.system.listFiles", 23);
STRING_LITERAL(TMP3648, "*", 1);
STRING_LITERAL(TMP3649, "", 0);
STRING_LITERAL(TMP3650, "stdlib.system.listDirs", 22);
STRING_LITERAL(TMP3652, "stdlib.system.removeDir", 23);
STRING_LITERAL(TMP3655, "stdlib.system.removeFile", 24);
STRING_LITERAL(TMP3657, "stdlib.system.createDir", 23);
STRING_LITERAL(TMP3659, "stdlib.system.getOsError", 24);
STRING_LITERAL(TMP3661, "stdlib.system.setCurrentDir", 27);
STRING_LITERAL(TMP3663, "stdlib.system.getCurrentDir", 27);
STRING_LITERAL(TMP3665, "stdlib.system.moveFile", 22);
STRING_LITERAL(TMP3667, "stdlib.system.copyFile", 22);
STRING_LITERAL(TMP3669, "stdlib.system.getLastModificationTime", 37);
STRING_LITERAL(TMP3671, "stdlib.system.rawExec", 21);
STRING_LITERAL(TMP3673, "stdlib.system.getEnv", 20);
STRING_LITERAL(TMP3675, "stdlib.system.existsEnv", 23);
STRING_LITERAL(TMP3677, "stdlib.system.dirExists", 23);
STRING_LITERAL(TMP3679, "stdlib.system.fileExists", 24);
STRING_LITERAL(TMP3681, "stdlib.system.thisDir", 21);
STRING_LITERAL(TMP3682, "stdlib.system.put", 17);
STRING_LITERAL(TMP3684, "stdlib.system.get", 17);
STRING_LITERAL(TMP3686, "stdlib.system.exists", 20);
STRING_LITERAL(TMP3688, "stdlib.system.nimcacheDir", 25);
STRING_LITERAL(TMP3690, "stdlib.system.paramStr", 22);
STRING_LITERAL(TMP3693, "stdlib.system.paramCount", 24);
STRING_LITERAL(TMP3695, "stdlib.system.cmpIgnoreStyle", 28);
STRING_LITERAL(TMP3697, "stdlib.system.cmpIgnoreCase", 27);
STRING_LITERAL(TMP3699, "stdlib.system.setCommand", 24);
STRING_LITERAL(TMP3702, "stdlib.system.getCommand", 24);
STRING_LITERAL(TMP3704, "stdlib.system.switch", 20);
extern TY279069 gincludefile_279073;
extern TY279064 gimportmodule_279068;
extern Tlinkedlist143028 searchpaths_169136;
extern NimStringDesc* libpath_169233;
extern Tctx281048* globalctx_447273;
TNimType NTI583196; /* object */
extern TNimType NTI348033; /* range -1..0(int) */
extern TNimType NTI149; /* string */
TNimType NTI583312; /* ref object */
extern Gcheap51018 gch_51059;
extern TSafePoint* exchandler_20843;
extern TNimType NTI132408; /* seq[string] */
extern TY112249 Dl_112248;
extern TY112405 Dl_112404;
extern TNimType NTI4033; /* OSError */
extern Exception* currexception_20845;
extern TY111815 Dl_111814;
extern NimStringDesc* command_169240;
extern NimStringDesc* gprojectname_169234;
extern NimStringDesc* gprojectfull_169236;
extern NimStringDesc* gprojectpath_169235;
N_NIMCALL(void, TMP3645)(void* p, NI op) {
	TY583196* a;
	a = (TY583196*)p;
	nimGCvisit((void*)(*a).errormsg583094, op);
	nimGCvisit((void*)(*a).vthisdir583095, 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: ;
}

static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
	(*s).hasRaiseAction = NIM_FALSE;
	(*s).prev = exchandler_20843;
	exchandler_20843 = s;
}

static N_INLINE(NIM_BOOL, skipfinddata_125437)(Win32finddata112219* f) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	NIM_BOOL LOC3;
	NIM_BOOL LOC5;
	result = 0;
	LOC1 = 0;
	LOC1 = (((NI) ((*f).cfilename[(((NI) 0))- 0])) == ((NI) 46));
	if (!(LOC1)) goto LA2;
	LOC3 = 0;
	LOC3 = (((NI) ((*f).cfilename[(((NI) 1))- 0])) == ((NI) 0));
	if (LOC3) goto LA4;
	LOC5 = 0;
	LOC5 = (((NI) ((*f).cfilename[(((NI) 1))- 0])) == ((NI) 46));
	if (!(LOC5)) goto LA6;
	LOC5 = (((NI) ((*f).cfilename[(((NI) 2))- 0])) == ((NI) 0));
	LA6: ;
	LOC3 = LOC5;
	LA4: ;
	LOC1 = LOC3;
	LA2: ;
	result = LOC1;
	return result;
}

N_NIMCALL(void, listdirs_583015)(Vmargs281042* a, NU8 filter) {
	NimStringDesc* dir;
	TY132408* result;
	dir = getstring_435072(a, ((NI) 0));
	result = (TY132408*) newSeq((&NTI132408), 0);
	{
		NU8 kind_583039;
		NimStringDesc* path_583040;
		Win32finddata112219 f_583065;
		NI h_583067;
		NimStringDesc* LOC2;
		kind_583039 = 0;
		path_583040 = 0;
		memset((void*)(&f_583065), 0, sizeof(f_583065));
		LOC2 = 0;
		LOC2 = HEX2F_121890(dir, ((NimStringDesc*) &TMP3648));
		h_583067 = findfirstfile_125416(LOC2, (&f_583065));
		{
			if (!!((h_583067 == ((NI) -1)))) goto LA5;
			{
				while (1) {
					NU8 k_583069;
					k_583069 = ((NU8) 0);
					{
						NIM_BOOL LOC11;
						NimStringDesc* xx_583071;
						LOC11 = 0;
						LOC11 = skipfinddata_125437((&f_583065));
						if (!!(LOC11)) goto LA12;
						{
							if (!!(((NI32)(f_583065.dwfileattributes & ((NI32) 16)) == ((NI32) 0)))) goto LA16;
							k_583069 = ((NU8) 2);
						}
						LA16: ;
						{
							if (!!(((NI32)(f_583065.dwfileattributes & ((NI32) 1024)) == ((NI32) 0)))) goto LA20;
							k_583069 = (NU8)(k_583069 + ((NI) 1));
						}
						LA20: ;
						{
							NimStringDesc* LOC26;
							if (!NIM_FALSE) goto LA24;
							LOC26 = 0;
							LOC26 = HEX24_85487(((NI16*) ((&f_583065.cfilename[(((NI) 0))- 0]))));
							xx_583071 = nosextractFilename(LOC26);
						}
						goto LA22;
						LA24: ;
						{
							NimStringDesc* LOC28;
							NimStringDesc* LOC29;
							LOC28 = 0;
							LOC28 = HEX24_85487(((NI16*) ((&f_583065.cfilename[(((NI) 0))- 0]))));
							LOC29 = 0;
							LOC29 = nosextractFilename(LOC28);
							xx_583071 = HEX2F_121890(dir, LOC29);
						}
						LA22: ;
						kind_583039 = k_583069;
						path_583040 = xx_583071;
						{
							NimStringDesc* LOC34;
							if (!((filter &(1<<((kind_583039)&7)))!=0)) goto LA32;
							result = (TY132408*) incrSeqV2(&(result)->Sup, sizeof(NimStringDesc*));
							LOC34 = 0;
							LOC34 = result->data[result->Sup.len]; result->data[result->Sup.len] = copyStringRC1(path_583040);
							if (LOC34) nimGCunrefNoCycle(LOC34);
							++result->Sup.len;
						}
						LA32: ;
					}
					LA12: ;
					{
						NI32 LOC37;
						LOC37 = 0;
						LOC37 = Dl_112248(h_583067, (&f_583065));
						if (!(LOC37 == ((NI32) 0))) goto LA38;
						goto LA7;
					}
					LA38: ;
				}
			} LA7: ;
			Dl_112404(h_583067);
		}
		LA5: ;
	}
	setresult_434963(a, result);
}

static N_INLINE(void, popSafePoint)(void) {
	exchandler_20843 = (*exchandler_20843).prev;
}

static N_INLINE(Exception*, getCurrentException)(void) {
	Exception* result;
	result = 0;
	result = currexception_20845;
	return result;
}

static N_INLINE(NimStringDesc*, getcurrentexceptionmsg_91008)(void) {
	NimStringDesc* result;
	Exception* e;
{	result = 0;
	e = getCurrentException();
	{
		if (!(e == NIM_NIL)) goto LA3;
		result = copyString(((NimStringDesc*) &TMP3649));
	}
	goto LA1;
	LA3: ;
	{
		result = copyString((*e).message);
	}
	LA1: ;
	goto BeforeRet;
	}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(NIM_BOOL, canbecycleroot_52667)(Cell48946* c) {
	NIM_BOOL result;
	result = 0;
	result = !((((*(*c).typ).flags &(1<<((((NU8) 1))&7)))!=0));
	return result;
}

static N_INLINE(void, rtladdcycleroot_53423)(Cell48946* c) {
	{
		if (!!((((NI) ((NI)((*c).refcount & ((NI) 3)))) == ((NI) 3)))) goto LA3;
		(*c).refcount = (NI)((NI)((*c).refcount & ((NI) -4)) | ((NI) 3));
		incl_49665((&gch_51059.cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_55022)(Cell48946* c) {
	(*c).refcount = (NI)((NU32)((*c).refcount) + (NU32)(((NI) 8)));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_52667(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_53423(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_54604)(Cell48946* c) {
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3;
		rtladdzct_54204(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_52667(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_53423(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		Cell48946* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_52646(src);
		incref_55022(LOC5);
	}
	LA3: ;
	{
		Cell48946* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_52646((*dest));
		decref_54604(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

static N_INLINE(void, popCurrentException)(void) {
	asgnRef((void**) (&currexception_20845), NIM_NIL);
}

N_CLOSURE(void, HEX3Aanonymous_583108)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583202;
	TSafePoint TMP3647;
	HEX3Aenvp_583202 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3647);
	TMP3647.status = setjmp(TMP3647.context);
	if (TMP3647.status == 0) {
		listdirs_583015(a, 3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3647.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583202).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3647.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_583112)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583208;
	TSafePoint TMP3651;
	HEX3Aenvp_583208 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3651);
	TMP3651.status = setjmp(TMP3651.context);
	if (TMP3651.status == 0) {
		listdirs_583015(a, 4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3651.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583208).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3651.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_583116)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583213;
	TSafePoint TMP3653;
	HEX3Aenvp_583213 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3653);
	TMP3653.status = setjmp(TMP3653.context);
	if (TMP3653.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_435072(a, ((NI) 0));
		nosremoveDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3653.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583213).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3653.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_583119)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583218;
	TSafePoint TMP3656;
	HEX3Aenvp_583218 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3656);
	TMP3656.status = setjmp(TMP3656.context);
	if (TMP3656.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_435072(a, ((NI) 0));
		nosremoveFile(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3656.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583218).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3656.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_583122)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583223;
	TSafePoint TMP3658;
	HEX3Aenvp_583223 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3658);
	TMP3658.status = setjmp(TMP3658.context);
	if (TMP3658.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_435072(a, ((NI) 0));
		noscreateDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3658.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583223).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3658.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_583125)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583228;
	TSafePoint TMP3660;
	HEX3Aenvp_583228 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3660);
	TMP3660.status = setjmp(TMP3660.context);
	if (TMP3660.status == 0) {
		setresult_434915(a, (*HEX3Aenvp_583228).errormsg583094);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3660.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583228).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3660.status != 0) reraiseException();
}

static N_INLINE(void, setcurrentdir_128009)(NimStringDesc* newdir) {
	{
		NI16* LOC3;
		NI32 LOC4;
		NI32 LOC7;
		LOC3 = 0;
		LOC3 = newwidecstring_85405(newdir);
		LOC4 = 0;
		LOC4 = Dl_111814(LOC3);
		if (!(LOC4 == ((NI32) 0))) goto LA5;
		LOC7 = 0;
		LOC7 = oslasterror_125055();
		raiseoserror_125030(LOC7, ((NimStringDesc*) &TMP3649));
	}
	LA5: ;
}

N_CLOSURE(void, HEX3Aanonymous_583128)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583233;
	TSafePoint TMP3662;
	HEX3Aenvp_583233 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3662);
	TMP3662.status = setjmp(TMP3662.context);
	if (TMP3662.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_435072(a, ((NI) 0));
		setcurrentdir_128009(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3662.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583233).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3662.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_583131)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583238;
	TSafePoint TMP3664;
	HEX3Aenvp_583238 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3664);
	TMP3664.status = setjmp(TMP3664.context);
	if (TMP3664.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = nosgetCurrentDir();
		setresult_434915(a, LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3664.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583238).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3664.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_583134)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583243;
	TSafePoint TMP3666;
	HEX3Aenvp_583243 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3666);
	TMP3666.status = setjmp(TMP3666.context);
	if (TMP3666.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_435072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_435072(a, ((NI) 1));
		nosmoveFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3666.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583243).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3666.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_583137)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583248;
	TSafePoint TMP3668;
	HEX3Aenvp_583248 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3668);
	TMP3668.status = setjmp(TMP3668.context);
	if (TMP3668.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_435072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_435072(a, ((NI) 1));
		noscopyFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3668.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583248).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3668.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_583140)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583253;
	TSafePoint TMP3670;
	HEX3Aenvp_583253 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3670);
	TMP3670.status = setjmp(TMP3670.context);
	if (TMP3670.status == 0) {
		NimStringDesc* LOC2;
		time_t LOC3;
		NF LOC4;
		LOC2 = 0;
		LOC2 = getstring_435072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nosgetLastModificationTime(LOC2);
		LOC4 = 0;
		LOC4 = toseconds_114506(LOC3);
		setresult_434860(a, LOC4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3670.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583253).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3670.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_583143)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583258;
	TSafePoint TMP3672;
	HEX3Aenvp_583258 = (TY583196*) ClEnv;
	pushSafePoint(&TMP3672);
	TMP3672.status = setjmp(TMP3672.context);
	if (TMP3672.status == 0) {
		NimStringDesc* LOC2;
		NI LOC3;
		LOC2 = 0;
		LOC2 = getstring_435072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nospexecCmd(LOC2);
		setresult_434837(a, ((NI64) (LOC3)));
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3672.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_583258).errormsg583094), getcurrentexceptionmsg_91008());
			popCurrentException();
		}
	}
	if (TMP3672.status != 0) reraiseException();
}

N_NIMCALL(void, HEX3Aanonymous_583146)(Vmargs281042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_435072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getenv_133243(LOC1);
	setresult_434915(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_583149)(Vmargs281042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_435072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsenv_133258(LOC1);
	setresult_434883(a, LOC2);
}

static N_INLINE(NIM_BOOL, direxists_126818)(NimStringDesc* dir) {
	NIM_BOOL result;
	result = 0;
	result = nosexistsDir(dir);
	return result;
}

N_NIMCALL(void, HEX3Aanonymous_583152)(Vmargs281042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_435072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = direxists_126818(LOC1);
	setresult_434883(a, LOC2);
}

static N_INLINE(NIM_BOOL, fileexists_126808)(NimStringDesc* filename) {
	NIM_BOOL result;
	result = 0;
	result = nosexistsFile(filename);
	return result;
}

N_NIMCALL(void, HEX3Aanonymous_583155)(Vmargs281042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_435072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = fileexists_126808(LOC1);
	setresult_434883(a, LOC2);
}

N_CLOSURE(void, HEX3Aanonymous_583158)(Vmargs281042* a, void* ClEnv) {
	TY583196* HEX3Aenvp_583275;
	HEX3Aenvp_583275 = (TY583196*) ClEnv;
	setresult_434915(a, (*HEX3Aenvp_583275).vthisdir583095);
}

N_NIMCALL(void, HEX3Aanonymous_583161)(Vmargs281042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_435072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_435072(a, ((NI) 1));
	setconfigvar_169345(LOC1, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_583164)(Vmargs281042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_435072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getconfigvar_169335(LOC1);
	setresult_434915(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_583167)(Vmargs281042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_435072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsconfigvar_169325(LOC1);
	setresult_434883(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_583170)(Vmargs281042* a) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = getnimcachedir_169628();
	setresult_434915(a, LOC1);
}

N_NIMCALL(void, HEX3Aanonymous_583173)(Vmargs281042* a) {
	NI64 LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getint_435020(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = nosparamStr(((NI) (LOC1)));
	setresult_434915(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_583176)(Vmargs281042* a) {
	NI LOC1;
	LOC1 = 0;
	LOC1 = nosparamCount();
	setresult_434837(a, ((NI64) (LOC1)));
}

N_NIMCALL(void, HEX3Aanonymous_583179)(Vmargs281042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_435072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_435072(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreStyle(LOC1, LOC2);
	setresult_434837(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_583182)(Vmargs281042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_435072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_435072(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreCase(LOC1, LOC2);
	setresult_434837(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_583185)(Vmargs281042* a) {
	NimStringDesc* arg;
	asgnRefNoCycle((void**) (&command_169240), getstring_435072(a, ((NI) 0)));
	arg = getstring_435072(a, ((NI) 1));
	{
		NimStringDesc* LOC5;
		TSafePoint TMP3700;
		if (!(((NI) 0) < (arg ? arg->Sup.len : 0))) goto LA3;
		LOC5 = 0;
		LOC5 = gprojectname_169234; gprojectname_169234 = copyStringRC1(arg);
		if (LOC5) nimGCunrefNoCycle(LOC5);
		pushSafePoint(&TMP3700);
		TMP3700.status = setjmp(TMP3700.context);
		if (TMP3700.status == 0) {
			NimStringDesc* LOC7;
			LOC7 = 0;
			LOC7 = HEX2F_121890(gprojectpath_169235, gprojectname_169234);
			asgnRefNoCycle((void**) (&gprojectfull_169236), canonicalizepath_169409(LOC7));
			popSafePoint();
		}
		else {
			popSafePoint();
			if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
				NimStringDesc* LOC10;
				TMP3700.status = 0;
				LOC10 = 0;
				LOC10 = gprojectfull_169236; gprojectfull_169236 = copyStringRC1(gprojectname_169234);
				if (LOC10) nimGCunrefNoCycle(LOC10);
				popCurrentException();
			}
		}
		if (TMP3700.status != 0) reraiseException();
	}
	LA3: ;
}

N_NIMCALL(void, HEX3Aanonymous_583189)(Vmargs281042* a) {
	setresult_434915(a, command_169240);
}

N_NIMCALL(void, HEX3Aanonymous_583192)(Vmargs281042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	Tlineinfo192352 LOC3;
	LOC1 = 0;
	LOC1 = getstring_435072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_435072(a, ((NI) 1));
	LOC3 = unknownlineinfo_193411();
	processswitch_213040(LOC1, LOC2, ((NU8) 2), LOC3);
}

N_NIMCALL(Tctx281048*, setupvm_583089)(Tsym227841* module, NimStringDesc* scriptname) {
	Tctx281048* result;
	TY583196* HEX3Aenv_583311;
	TY122218 LOC1;
	NimStringDesc* LOC2;
	Vmcallback281044 LOC3;
	Vmcallback281044 LOC4;
	Vmcallback281044 LOC5;
	Vmcallback281044 LOC6;
	Vmcallback281044 LOC7;
	Vmcallback281044 LOC8;
	Vmcallback281044 LOC9;
	Vmcallback281044 LOC10;
	Vmcallback281044 LOC11;
	Vmcallback281044 LOC12;
	Vmcallback281044 LOC13;
	Vmcallback281044 LOC14;
	Vmcallback281044 LOC15;
	Vmcallback281044 LOC16;
	Vmcallback281044 LOC17;
	Vmcallback281044 LOC18;
	Vmcallback281044 LOC19;
	Vmcallback281044 LOC20;
	Vmcallback281044 LOC21;
	Vmcallback281044 LOC22;
	Vmcallback281044 LOC23;
	Vmcallback281044 LOC24;
	Vmcallback281044 LOC25;
	Vmcallback281044 LOC26;
	Vmcallback281044 LOC27;
	Vmcallback281044 LOC28;
	Vmcallback281044 LOC29;
	Vmcallback281044 LOC30;
	result = 0;
	HEX3Aenv_583311 = 0;
	HEX3Aenv_583311 = (TY583196*) newObj((&NTI583312), sizeof(TY583196));
	result = newctx_281282(module);
	(*result).mode = ((NU8) 0);
	registeradditionalops_447102(result);
	memset((void*)(&LOC1), 0, sizeof(LOC1));
	nossplitFile(scriptname, (&LOC1));
	LOC2 = 0;
	LOC2 = (*HEX3Aenv_583311).vthisdir583095; (*HEX3Aenv_583311).vthisdir583095 = copyStringRC1(LOC1.Field0);
	if (LOC2) nimGCunrefNoCycle(LOC2);
	memset((void*)(&LOC3), 0, sizeof(LOC3));
	LOC3.ClPrc = HEX3Aanonymous_583108; LOC3.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3646), LOC3);
	memset((void*)(&LOC4), 0, sizeof(LOC4));
	LOC4.ClPrc = HEX3Aanonymous_583112; LOC4.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3650), LOC4);
	memset((void*)(&LOC5), 0, sizeof(LOC5));
	LOC5.ClPrc = HEX3Aanonymous_583116; LOC5.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3652), LOC5);
	memset((void*)(&LOC6), 0, sizeof(LOC6));
	LOC6.ClPrc = HEX3Aanonymous_583119; LOC6.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3655), LOC6);
	memset((void*)(&LOC7), 0, sizeof(LOC7));
	LOC7.ClPrc = HEX3Aanonymous_583122; LOC7.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3657), LOC7);
	memset((void*)(&LOC8), 0, sizeof(LOC8));
	LOC8.ClPrc = HEX3Aanonymous_583125; LOC8.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3659), LOC8);
	memset((void*)(&LOC9), 0, sizeof(LOC9));
	LOC9.ClPrc = HEX3Aanonymous_583128; LOC9.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3661), LOC9);
	memset((void*)(&LOC10), 0, sizeof(LOC10));
	LOC10.ClPrc = HEX3Aanonymous_583131; LOC10.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3663), LOC10);
	memset((void*)(&LOC11), 0, sizeof(LOC11));
	LOC11.ClPrc = HEX3Aanonymous_583134; LOC11.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3665), LOC11);
	memset((void*)(&LOC12), 0, sizeof(LOC12));
	LOC12.ClPrc = HEX3Aanonymous_583137; LOC12.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3667), LOC12);
	memset((void*)(&LOC13), 0, sizeof(LOC13));
	LOC13.ClPrc = HEX3Aanonymous_583140; LOC13.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3669), LOC13);
	memset((void*)(&LOC14), 0, sizeof(LOC14));
	LOC14.ClPrc = HEX3Aanonymous_583143; LOC14.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3671), LOC14);
	memset((void*)(&LOC15), 0, sizeof(LOC15));
	LOC15.ClPrc = ((TMP3674) (HEX3Aanonymous_583146)); LOC15.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3673), LOC15);
	memset((void*)(&LOC16), 0, sizeof(LOC16));
	LOC16.ClPrc = ((TMP3676) (HEX3Aanonymous_583149)); LOC16.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3675), LOC16);
	memset((void*)(&LOC17), 0, sizeof(LOC17));
	LOC17.ClPrc = ((TMP3678) (HEX3Aanonymous_583152)); LOC17.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3677), LOC17);
	memset((void*)(&LOC18), 0, sizeof(LOC18));
	LOC18.ClPrc = ((TMP3680) (HEX3Aanonymous_583155)); LOC18.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3679), LOC18);
	memset((void*)(&LOC19), 0, sizeof(LOC19));
	LOC19.ClPrc = HEX3Aanonymous_583158; LOC19.ClEnv = HEX3Aenv_583311;
	registercallback_281401(result, ((NimStringDesc*) &TMP3681), LOC19);
	memset((void*)(&LOC20), 0, sizeof(LOC20));
	LOC20.ClPrc = ((TMP3683) (HEX3Aanonymous_583161)); LOC20.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3682), LOC20);
	memset((void*)(&LOC21), 0, sizeof(LOC21));
	LOC21.ClPrc = ((TMP3685) (HEX3Aanonymous_583164)); LOC21.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3684), LOC21);
	memset((void*)(&LOC22), 0, sizeof(LOC22));
	LOC22.ClPrc = ((TMP3687) (HEX3Aanonymous_583167)); LOC22.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3686), LOC22);
	memset((void*)(&LOC23), 0, sizeof(LOC23));
	LOC23.ClPrc = ((TMP3689) (HEX3Aanonymous_583170)); LOC23.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3688), LOC23);
	memset((void*)(&LOC24), 0, sizeof(LOC24));
	LOC24.ClPrc = ((TMP3692) (HEX3Aanonymous_583173)); LOC24.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3690), LOC24);
	memset((void*)(&LOC25), 0, sizeof(LOC25));
	LOC25.ClPrc = ((TMP3694) (HEX3Aanonymous_583176)); LOC25.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3693), LOC25);
	memset((void*)(&LOC26), 0, sizeof(LOC26));
	LOC26.ClPrc = ((TMP3696) (HEX3Aanonymous_583179)); LOC26.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3695), LOC26);
	memset((void*)(&LOC27), 0, sizeof(LOC27));
	LOC27.ClPrc = ((TMP3698) (HEX3Aanonymous_583182)); LOC27.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3697), LOC27);
	memset((void*)(&LOC28), 0, sizeof(LOC28));
	LOC28.ClPrc = ((TMP3701) (HEX3Aanonymous_583185)); LOC28.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3699), LOC28);
	memset((void*)(&LOC29), 0, sizeof(LOC29));
	LOC29.ClPrc = ((TMP3703) (HEX3Aanonymous_583189)); LOC29.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3702), LOC29);
	memset((void*)(&LOC30), 0, sizeof(LOC30));
	LOC30.ClPrc = ((TMP3705) (HEX3Aanonymous_583192)); LOC30.ClEnv = NIM_NIL;
	registercallback_281401(result, ((NimStringDesc*) &TMP3704), LOC30);
	return result;
}

N_NIMCALL(void, runnimscript_583323)(NimStringDesc* scriptname) {
	Tpass279017 LOC1;
	Tpass279017 LOC2;
	Tsym227841* m;
	Tllstream215204* LOC3;
	gincludefile_279073 = includemodule_578860;
	gimportmodule_279068 = importmodule_578824;
	initdefines_201254();
	definesymbol_201013(((NimStringDesc*) &TMP2028));
	definesymbol_201013(((NimStringDesc*) &TMP2029));
	LOC1.Field0 = myopen_504741;
	LOC1.Field1 = myopencached_504778;
	LOC1.Field2 = myprocess_504917;
	LOC1.Field3 = myclose_504933;
	registerpass_279190(LOC1);
	LOC2.Field0 = myopen_447295;
	LOC2.Field1 = NIM_NIL;
	LOC2.Field2 = myprocess_447412;
	LOC2.Field3 = myprocess_447412;
	registerpass_279190(LOC2);
	appendstr_143268((&searchpaths_169136), libpath_169233);
	m = makemodule_579007(scriptname);
	(*m).flags |= ((NU32)1)<<((((NU8) 12))%(sizeof(NU32)*8));
	asgnRef((void**) (&globalctx_447273), setupvm_583089(m, scriptname));
	compilesystemmodule_578910();
	LOC3 = 0;
	LOC3 = llstreamopen_215256(scriptname, ((NU8) 0));
	processmodule_279056(m, LOC3, NIM_NIL);
	resetallmoduleshard_578442();
	asgnRef((void**) (&globalctx_447273), NIM_NIL);
	undefsymbol_201022(((NimStringDesc*) &TMP2028));
	undefsymbol_201022(((NimStringDesc*) &TMP2029));
}
NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigInit000)(void) {
}

NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigDatInit000)(void) {
static TNimNode* TMP3644[3];
static TNimNode TMP1609[4];
NTI583196.size = sizeof(TY583196);
NTI583196.kind = 18;
NTI583196.base = 0;
NTI583196.flags = 2;
TMP3644[0] = &TMP1609[1];
TMP1609[1].kind = 1;
TMP1609[1].offset = offsetof(TY583196, HEX3Astate);
TMP1609[1].typ = (&NTI348033);
TMP1609[1].name = ":state";
TMP3644[1] = &TMP1609[2];
TMP1609[2].kind = 1;
TMP1609[2].offset = offsetof(TY583196, errormsg583094);
TMP1609[2].typ = (&NTI149);
TMP1609[2].name = "errorMsg583094";
TMP3644[2] = &TMP1609[3];
TMP1609[3].kind = 1;
TMP1609[3].offset = offsetof(TY583196, vthisdir583095);
TMP1609[3].typ = (&NTI149);
TMP1609[3].name = "vthisDir583095";
TMP1609[0].len = 3; TMP1609[0].kind = 2; TMP1609[0].sons = &TMP3644[0];
NTI583196.node = &TMP1609[0];
NTI583312.size = sizeof(TY583196*);
NTI583312.kind = 22;
NTI583312.base = (&NTI583196);
NTI583312.flags = 2;
NTI583312.marker = TMP3645;
}

