/* 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 <dirent.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
#include <stdio.h>
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct Tnode224809 Tnode224809;
typedef struct Tsym224841 Tsym224841;
typedef struct Tpass276017 Tpass276017;
typedef struct Tpasscontext276005 Tpasscontext276005;
typedef struct Trodreader267030 Trodreader267030;
typedef struct Tlinkedlist140028 Tlinkedlist140028;
typedef struct Tlistentry140022 Tlistentry140022;
typedef struct Tidobj197015 Tidobj197015;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Ttypeseq224843 Ttypeseq224843;
typedef struct Tscope224835 Tscope224835;
typedef struct TY224944 TY224944;
typedef struct Tstrtable224813 Tstrtable224813;
typedef struct Tsymseq224811 Tsymseq224811;
typedef struct Ttype224847 Ttype224847;
typedef struct Tident197021 Tident197021;
typedef struct Tlineinfo189352 Tlineinfo189352;
typedef struct Tloc224823 Tloc224823;
typedef struct Ropeobj175009 Ropeobj175009;
typedef struct Tlib224827 Tlib224827;
typedef struct Tctx278048 Tctx278048;
typedef struct TY580200 TY580200;
typedef struct TY278254 TY278254;
typedef struct TY190420 TY190420;
typedef struct PprocHEX3Aobjecttype278233 PprocHEX3Aobjecttype278233;
typedef struct TY278273 TY278273;
typedef struct TY123809 TY123809;
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 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 Vmargs278042 Vmargs278042;
typedef struct Exception Exception;
typedef struct TSafePoint TSafePoint;
typedef struct TY130408 TY130408;
typedef struct Tllstream212204 Tllstream212204;
typedef struct Tnodeseq224803 Tnodeseq224803;
typedef struct TY224932 TY224932;
typedef struct Tindex267028 Tindex267028;
typedef struct Tiitable232274 Tiitable232274;
typedef struct Tiipairseq232272 Tiipairseq232272;
typedef struct Table267063 Table267063;
typedef struct Keyvaluepairseq267066 Keyvaluepairseq267066;
typedef struct Memfile265208 Memfile265208;
typedef struct Tinstantiation224831 Tinstantiation224831;
typedef struct TY278234 TY278234;
typedef struct TY278239 TY278239;
typedef struct TY278274 TY278274;
typedef struct Basechunk30840 Basechunk30840;
typedef struct Freecell30832 Freecell30832;
typedef struct Tiipair232270 Tiipair232270;
typedef struct Keyvaluepair267069 Keyvaluepair267069;
typedef struct Tblock278030 Tblock278030;
typedef struct TY278214 TY278214;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef N_NIMCALL_PTR(Tnode224809*, TY276069) (Tsym224841* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tsym224841*, TY276064) (Tsym224841* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tpasscontext276005*, Tpassopen276009) (Tsym224841* module);
typedef N_NIMCALL_PTR(Tpasscontext276005*, Tpassopencached276011) (Tsym224841* module, Trodreader267030* rd);
typedef N_NIMCALL_PTR(Tnode224809*, Tpassprocess276015) (Tpasscontext276005* p, Tnode224809* toplevelstmt);
typedef N_NIMCALL_PTR(Tnode224809*, Tpassclose276013) (Tpasscontext276005* p, Tnode224809* n);
struct Tpass276017 {
Tpassopen276009 Field0;
Tpassopencached276011 Field1;
Tpassprocess276015 Field2;
Tpassclose276013 Field3;
};
struct  Tlinkedlist140028  {
Tlistentry140022* head;
Tlistentry140022* 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  Tidobj197015  {
  TNimObject Sup;
NI id;
};
struct  Tstrtable224813  {
NI counter;
Tsymseq224811* data;
};
struct  Tlineinfo189352  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  Tloc224823  {
NU8 k;
NU8 s;
NU16 flags;
Ttype224847* t;
Ropeobj175009* r;
Ropeobj175009* heaproot;
};
struct  Tsym224841  {
  Tidobj197015 Sup;
NU8 kind;
union{
struct {Ttypeseq224843* typeinstcache;
Tscope224835* typscope;
} S1;
struct {TY224944* procinstcache;
Tsym224841* gcunsafetyreason;
} S2;
struct {TY224944* usedgenerics;
Tstrtable224813 tab;
} S3;
struct {Tsym224841* guard;
NI bitsize;
} S4;
} kindU;
NU8 magic;
Ttype224847* typ;
Tident197021* name;
Tlineinfo189352 info;
Tsym224841* owner;
NU32 flags;
Tnode224809* ast;
NU32 options;
NI position;
NI offset;
Tloc224823 loc;
Tlib224827* annex;
Tnode224809* constraint;
};
struct  TY580200  {
NI HEX3Astate;
NimStringDesc* errormsg580098;
NimStringDesc* vthisdir580099;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Tpasscontext276005  {
  TNimObject Sup;
NIM_BOOL fromcache;
};
struct  Tctx278048  {
  Tpasscontext276005 Sup;
TY278254* code;
TY190420* debug;
Tnode224809* globals;
Tnode224809* constants;
Ttypeseq224843* types;
Tnode224809* currentexceptiona;
Tnode224809* currentexceptionb;
NI exceptioninstr;
PprocHEX3Aobjecttype278233* prc;
Tsym224841* module;
Tnode224809* callsite;
NU8 mode;
NU8 features;
NIM_BOOL traceactive;
NI loopiterations;
Tlineinfo189352 comesfromheuristic;
TY278273* callbacks;
NimStringDesc* errorflag;
};
struct TY123809 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
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 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;
Cellseq48963 zct;
Cellseq48963 decstack;
Cellset48959 cycleroots;
Cellseq48963 tempstack;
NI recgclock;
Memregion30890 region;
Gcstat51014 stat;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (Vmargs278042* args, void* ClEnv);
void* ClEnv;
} Vmcallback278044;
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;
};
typedef NIM_CHAR TY113386[256];
typedef N_CLOSURE_PTR(void, TMP3675) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3677) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3679) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3681) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3684) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3686) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3688) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3690) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3693) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3695) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3697) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3699) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3702) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3704) (Vmargs278042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3706) (Vmargs278042* args, void* ClEnv);
struct  Tnode224809  {
Ttype224847* typ;
Tlineinfo189352 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym224841* sym;
} S4;
struct {Tident197021* ident;
} S5;
struct {Tnodeseq224803* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
struct  Tiitable232274  {
NI counter;
Tiipairseq232272* data;
};
struct  Tindex267028  {
NI lastidxkey;
NI lastidxval;
Tiitable232274 tab;
NimStringDesc* r;
NI offset;
};
struct  Table267063  {
Keyvaluepairseq267066* data;
NI counter;
};
struct  Memfile265208  {
void* mem;
NI size;
int handle;
};
struct  Trodreader267030  {
  TNimObject Sup;
NI pos;
NCSTRING s;
NU32 options;
NU8 reason;
TY224932* moddeps;
TY224932* files;
NI dataidx;
NI convertersidx;
NI initidx;
NI interfidx;
NI compilerprocsidx;
NI methodsidx;
NimStringDesc* filename;
Tindex267028 index;
Tindex267028 imports;
NI readerindex;
NI line;
NI moduleid;
Table267063 syms;
Memfile265208 memfile;
Tsymseq224811* methods;
NimStringDesc* origfile;
NIM_BOOL inviewmode;
};
struct  Tlistentry140022  {
  TNimObject Sup;
Tlistentry140022* prev;
Tlistentry140022* next;
};
struct  Tscope224835  {
NI depthlevel;
Tstrtable224813 symbols;
Tnodeseq224803* usingsyms;
Tscope224835* parent;
};
struct  Ttype224847  {
  Tidobj197015 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq224843* sons;
Tnode224809* n;
Tsym224841* owner;
Tsym224841* sym;
Tsym224841* destructor;
Tsym224841* deepcopy;
Tsym224841* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc224823 loc;
};
struct  Tident197021  {
  Tidobj197015 Sup;
NimStringDesc* s;
Tident197021* next;
NI h;
};
struct  Ropeobj175009  {
  TNimObject Sup;
Ropeobj175009* left;
Ropeobj175009* right;
NI length;
NimStringDesc* data;
};
struct  Tlib224827  {
  Tlistentry140022 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj175009* name;
Tnode224809* path;
};
struct TY278239 {
NIM_BOOL Field0;
NU8 Field1;
};
typedef TY278239 TY278242[256];
struct  PprocHEX3Aobjecttype278233  {
TY278234* blocks;
Tsym224841* sym;
TY278242 slots;
NI maxslots;
};
struct TY278274 {
NimStringDesc* Field0;
Vmcallback278044 Field1;
};
struct  Gcstack51016  {
Gcstack51016* prev;
Gcstack51016* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY30821[16];
struct  Pagedesc48955  {
Pagedesc48955* 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  Vmargs278042  {
NI ra;
NI rb;
NI rc;
void* slots;
Tnode224809* currentexception;
};
struct  Tllstream212204  {
  TNimObject Sup;
NU8 kind;
FILE* f;
NimStringDesc* s;
NI rd;
NI wr;
NI lineoffset;
};
struct  Tiipair232270  {
NI key;
NI val;
};
struct Keyvaluepair267069 {
NI Field0;
NI Field1;
Tsym224841* Field2;
};
struct  Tinstantiation224831  {
Tsym224841* sym;
Ttypeseq224843* concretetypes;
TY224932* usedby;
NI compilesid;
};
struct  Tblock278030  {
Tsym224841* label;
TY278214* fixups;
};
struct  Freecell30832  {
Freecell30832* next;
NI zerofield;
};
struct TY130408 {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
struct Ttypeseq224843 {
  TGenericSeq Sup;
  Ttype224847* data[SEQ_DECL_SIZE];
};
struct TY224944 {
  TGenericSeq Sup;
  Tinstantiation224831* data[SEQ_DECL_SIZE];
};
struct Tsymseq224811 {
  TGenericSeq Sup;
  Tsym224841* data[SEQ_DECL_SIZE];
};
struct TY278254 {
  TGenericSeq Sup;
  NU32 data[SEQ_DECL_SIZE];
};
struct TY190420 {
  TGenericSeq Sup;
  Tlineinfo189352 data[SEQ_DECL_SIZE];
};
struct TY278273 {
  TGenericSeq Sup;
  TY278274 data[SEQ_DECL_SIZE];
};
struct Tnodeseq224803 {
  TGenericSeq Sup;
  Tnode224809* data[SEQ_DECL_SIZE];
};
struct TY224932 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct Tiipairseq232272 {
  TGenericSeq Sup;
  Tiipair232270 data[SEQ_DECL_SIZE];
};
struct Keyvaluepairseq267066 {
  TGenericSeq Sup;
  Keyvaluepair267069 data[SEQ_DECL_SIZE];
};
struct TY278234 {
  TGenericSeq Sup;
  Tblock278030 data[SEQ_DECL_SIZE];
};
struct TY278214 {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
N_NIMCALL(Tnode224809*, includemodule_575860)(Tsym224841* s, NI32 fileidx);
N_NIMCALL(Tsym224841*, importmodule_575824)(Tsym224841* s, NI32 fileidx);
N_NIMCALL(void, initdefines_198254)(void);
N_NIMCALL(void, definesymbol_198013)(NimStringDesc* symbol);
N_NIMCALL(void, registerpass_276190)(Tpass276017 p);
N_NIMCALL(Tpasscontext276005*, myopen_501741)(Tsym224841* module);
N_NIMCALL(Tpasscontext276005*, myopencached_501778)(Tsym224841* module, Trodreader267030* rd);
N_NIMCALL(Tnode224809*, myprocess_501917)(Tpasscontext276005* context, Tnode224809* n);
N_NIMCALL(Tnode224809*, myclose_501933)(Tpasscontext276005* context, Tnode224809* n);
N_NIMCALL(Tpasscontext276005*, myopen_444295)(Tsym224841* module);
N_NIMCALL(Tnode224809*, myprocess_444412)(Tpasscontext276005* c, Tnode224809* n);
N_NIMCALL(void, appendstr_140268)(Tlinkedlist140028* list, NimStringDesc* data);
N_NIMCALL(Tsym224841*, makemodule_576007)(NimStringDesc* filename);
N_NIMCALL(Tctx278048*, setupvm_580093)(Tsym224841* module, NimStringDesc* scriptname);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP3644)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_NIMCALL(Tctx278048*, newctx_278282)(Tsym224841* module);
N_NIMCALL(void, registeradditionalops_444102)(Tctx278048* c);
N_NIMCALL(void, nossplitFile)(NimStringDesc* path, TY123809* Result);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
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, registercallback_278401)(Tctx278048* c, NimStringDesc* name, Vmcallback278044 callback);
N_CLOSURE(void, HEX3Aanonymous_580112)(Vmargs278042* a, void* ClEnv);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_NIMCALL(void, listdirs_580015)(Vmargs278042* a, NU8 filter);
N_NIMCALL(NimStringDesc*, getstring_432072)(Vmargs278042* a, NI i);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_NIMCALL(NimStringDesc*, cstrToNimstr)(NCSTRING str);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(NimStringDesc*, HEX2F_123481)(NimStringDesc* head, NimStringDesc* tail);
static N_INLINE(NIM_BOOL, direxists_127020)(NimStringDesc* dir);
N_NIMCALL(NIM_BOOL, nosexistsDir)(NimStringDesc* dir);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(void, setresult_431963)(Vmargs278042* a, TY130408* 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_89208)(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)(Cell48947* c);
static N_INLINE(NIM_BOOL, canbecycleroot_52667)(Cell48947* c);
static N_INLINE(void, rtladdcycleroot_53423)(Cell48947* c);
N_NOINLINE(void, incl_49665)(Cellset48959* s, Cell48947* cell);
static N_INLINE(void, decref_54604)(Cell48947* c);
N_NIMCALL(void, reraiseException)(void);
N_CLOSURE(void, HEX3Aanonymous_580116)(Vmargs278042* a, void* ClEnv);
N_CLOSURE(void, HEX3Aanonymous_580120)(Vmargs278042* a, void* ClEnv);
N_NIMCALL(void, nosremoveDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_580123)(Vmargs278042* a, void* ClEnv);
N_NIMCALL(void, nosremoveFile)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_580126)(Vmargs278042* a, void* ClEnv);
N_NIMCALL(void, noscreateDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_580129)(Vmargs278042* a, void* ClEnv);
N_NIMCALL(void, setresult_431915)(Vmargs278042* a, NimStringDesc* v);
N_CLOSURE(void, HEX3Aanonymous_580132)(Vmargs278042* a, void* ClEnv);
static N_INLINE(void, setcurrentdir_128007)(NimStringDesc* newdir);
N_NOINLINE(void, raiseoserror_126009)(NI32 errorcode, NimStringDesc* additionalinfo);
N_NIMCALL(NI32, oslasterror_126034)(void);
N_CLOSURE(void, HEX3Aanonymous_580135)(Vmargs278042* a, void* ClEnv);
N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
N_CLOSURE(void, HEX3Aanonymous_580138)(Vmargs278042* a, void* ClEnv);
N_NIMCALL(void, nosmoveFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_580141)(Vmargs278042* a, void* ClEnv);
N_NIMCALL(void, noscopyFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_580144)(Vmargs278042* a, void* ClEnv);
N_NIMCALL(void, setresult_431860)(Vmargs278042* a, NF v);
N_NIMCALL(NF, toseconds_108511)(time_t time);
N_NIMCALL(time_t, nosgetLastModificationTime)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_580147)(Vmargs278042* a, void* ClEnv);
N_NIMCALL(void, setresult_431837)(Vmargs278042* a, NI64 v);
N_NIMCALL(NI, nospexecCmd)(NimStringDesc* command);
N_NIMCALL(void, HEX3Aanonymous_580150)(Vmargs278042* a);
N_NIMCALL(NimStringDesc*, getenv_131044)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_580153)(Vmargs278042* a);
N_NIMCALL(void, setresult_431883)(Vmargs278042* a, NIM_BOOL v_431886);
N_NIMCALL(NIM_BOOL, existsenv_131059)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_580156)(Vmargs278042* a);
N_NIMCALL(void, HEX3Aanonymous_580159)(Vmargs278042* a);
static N_INLINE(NIM_BOOL, fileexists_127010)(NimStringDesc* filename);
N_NIMCALL(NIM_BOOL, nosexistsFile)(NimStringDesc* filename);
N_CLOSURE(void, HEX3Aanonymous_580162)(Vmargs278042* a, void* ClEnv);
N_NIMCALL(void, HEX3Aanonymous_580165)(Vmargs278042* a);
N_NIMCALL(void, setconfigvar_166345)(NimStringDesc* key, NimStringDesc* val);
N_NIMCALL(void, HEX3Aanonymous_580168)(Vmargs278042* a);
N_NIMCALL(NimStringDesc*, getconfigvar_166335)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_580171)(Vmargs278042* a);
N_NIMCALL(NIM_BOOL, existsconfigvar_166325)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_580174)(Vmargs278042* a);
N_NIMCALL(NimStringDesc*, getnimcachedir_166628)(void);
N_NIMCALL(void, HEX3Aanonymous_580177)(Vmargs278042* a);
N_NIMCALL(NimStringDesc*, paramstr_136013)(NI i);
N_NIMCALL(NI64, getint_432020)(Vmargs278042* a, NI i);
N_NIMCALL(void, HEX3Aanonymous_580180)(Vmargs278042* a);
N_NIMCALL(NI, paramcount_136035)(void);
N_NIMCALL(void, HEX3Aanonymous_580183)(Vmargs278042* a);
N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_580186)(Vmargs278042* a);
N_NIMCALL(NI, nsuCmpIgnoreCase)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_580189)(Vmargs278042* a);
N_NIMCALL(NimStringDesc*, canonicalizepath_166409)(NimStringDesc* path);
N_NIMCALL(void, HEX3Aanonymous_580193)(Vmargs278042* a);
N_NIMCALL(void, HEX3Aanonymous_580196)(Vmargs278042* a);
N_NIMCALL(void, processswitch_210040)(NimStringDesc* switch_210042, NimStringDesc* arg, NU8 pass, Tlineinfo189352 info);
N_NIMCALL(Tlineinfo189352, unknownlineinfo_190411)(void);
N_NIMCALL(void, compilesystemmodule_575910)(void);
N_NIMCALL(void, processmodule_276056)(Tsym224841* module, Tllstream212204* stream, Trodreader267030* rd);
N_NIMCALL(Tllstream212204*, llstreamopen_212256)(NimStringDesc* filename, NU8 mode);
N_NIMCALL(void, resetallmoduleshard_575442)(void);
N_NIMCALL(void, undefsymbol_198022)(NimStringDesc* symbol);
STRING_LITERAL(TMP2024, "nimscript", 9);
STRING_LITERAL(TMP2025, "nimconfig", 9);
STRING_LITERAL(TMP3645, "stdlib.system.listFiles", 23);
STRING_LITERAL(TMP3647, ".", 1);
STRING_LITERAL(TMP3648, "..", 2);
STRING_LITERAL(TMP3649, "", 0);
STRING_LITERAL(TMP3650, "stdlib.system.listDirs", 22);
STRING_LITERAL(TMP3652, "stdlib.system.removeDir", 23);
STRING_LITERAL(TMP3656, "stdlib.system.removeFile", 24);
STRING_LITERAL(TMP3658, "stdlib.system.createDir", 23);
STRING_LITERAL(TMP3660, "stdlib.system.getOsError", 24);
STRING_LITERAL(TMP3662, "stdlib.system.setCurrentDir", 27);
STRING_LITERAL(TMP3664, "stdlib.system.getCurrentDir", 27);
STRING_LITERAL(TMP3666, "stdlib.system.moveFile", 22);
STRING_LITERAL(TMP3668, "stdlib.system.copyFile", 22);
STRING_LITERAL(TMP3670, "stdlib.system.getLastModificationTime", 37);
STRING_LITERAL(TMP3672, "stdlib.system.rawExec", 21);
STRING_LITERAL(TMP3674, "stdlib.system.getEnv", 20);
STRING_LITERAL(TMP3676, "stdlib.system.existsEnv", 23);
STRING_LITERAL(TMP3678, "stdlib.system.dirExists", 23);
STRING_LITERAL(TMP3680, "stdlib.system.fileExists", 24);
STRING_LITERAL(TMP3682, "stdlib.system.thisDir", 21);
STRING_LITERAL(TMP3683, "stdlib.system.put", 17);
STRING_LITERAL(TMP3685, "stdlib.system.get", 17);
STRING_LITERAL(TMP3687, "stdlib.system.exists", 20);
STRING_LITERAL(TMP3689, "stdlib.system.nimcacheDir", 25);
STRING_LITERAL(TMP3691, "stdlib.system.paramStr", 22);
STRING_LITERAL(TMP3694, "stdlib.system.paramCount", 24);
STRING_LITERAL(TMP3696, "stdlib.system.cmpIgnoreStyle", 28);
STRING_LITERAL(TMP3698, "stdlib.system.cmpIgnoreCase", 27);
STRING_LITERAL(TMP3700, "stdlib.system.setCommand", 24);
STRING_LITERAL(TMP3703, "stdlib.system.getCommand", 24);
STRING_LITERAL(TMP3705, "stdlib.system.switch", 20);
extern TY276069 gincludefile_276073;
extern TY276064 gimportmodule_276068;
extern Tlinkedlist140028 searchpaths_166136;
extern NimStringDesc* libpath_166233;
extern Tctx278048* globalctx_444273;
TNimType NTI580200; /* object */
extern TNimType NTI345033; /* range -1..0(int) */
extern TNimType NTI149; /* string */
TNimType NTI580316; /* ref object */
extern Gcheap51018 gch_51059;
extern TSafePoint* exchandler_20843;
extern TNimType NTI130408; /* seq[string] */
extern TNimType NTI4033; /* OSError */
extern Exception* currexception_20845;
extern NimStringDesc* command_166240;
extern NimStringDesc* gprojectname_166234;
extern NimStringDesc* gprojectfull_166236;
extern NimStringDesc* gprojectpath_166235;
N_NIMCALL(void, TMP3644)(void* p, NI op) {
	TY580200* a;
	a = (TY580200*)p;
	nimGCvisit((void*)(*a).errormsg580098, op);
	nimGCvisit((void*)(*a).vthisdir580099, op);
}

static N_INLINE(Cell48947*, usrtocell_52646)(void* usr) {
	Cell48947* result;
	result = 0;
	result = ((Cell48947*) ((NI)((NU32)(((NI) (usr))) - (NU32)(((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 (!((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, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	NIM_BOOL LOC11;
	int LOC13;
{	result = 0;
	{
		if (!(a == b)) goto LA3;
		result = NIM_TRUE;
		goto BeforeRet;
	}
	LA3: ;
	{
		NIM_BOOL LOC7;
		LOC7 = 0;
		LOC7 = (a == NIM_NIL);
		if (LOC7) goto LA8;
		LOC7 = (b == NIM_NIL);
		LA8: ;
		if (!LOC7) goto LA9;
		result = NIM_FALSE;
		goto BeforeRet;
	}
	LA9: ;
	LOC11 = 0;
	LOC11 = ((*a).Sup.len == (*b).Sup.len);
	if (!(LOC11)) goto LA12;
	LOC13 = 0;
	LOC13 = memcmp(((NCSTRING) ((*a).data)), ((NCSTRING) ((*b).data)), (*a).Sup.len);
	LOC11 = (LOC13 == ((NI32) 0));
	LA12: ;
	result = LOC11;
	goto BeforeRet;
	}BeforeRet: ;
	return result;
}

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

N_NIMCALL(void, listdirs_580015)(Vmargs278042* a, NU8 filter) {
	NimStringDesc* dir;
	TY130408* result;
	dir = getstring_432072(a, ((NI) 0));
	result = (TY130408*) newSeq((&NTI130408), 0);
	{
		NU8 kind_580039;
		NimStringDesc* path_580040;
		DIR* d_580066;
		kind_580039 = 0;
		path_580040 = 0;
		d_580066 = opendir(dir->data);
		{
			int LOC66;
			if (!!((d_580066 == NIM_NIL))) goto LA4;
			{
				while (1) {
					{
						struct dirent* x_580068;
						NimStringDesc* y_580070;
						x_580068 = readdir(d_580066);
						{
							if (!(x_580068 == NIM_NIL)) goto LA11;
							goto LA6;
						}
						LA11: ;
						y_580070 = cstrToNimstr(((NCSTRING) ((*x_580068).d_name)));
						{
							NIM_BOOL LOC15;
							struct stat s_580072;
							NU8 k_580074;
							LOC15 = 0;
							LOC15 = !(eqStrings(y_580070, ((NimStringDesc*) &TMP3647)));
							if (!(LOC15)) goto LA16;
							LOC15 = !(eqStrings(y_580070, ((NimStringDesc*) &TMP3648)));
							LA16: ;
							if (!LOC15) goto LA17;
							memset((void*)(&s_580072), 0, sizeof(s_580072));
							{
								if (!NIM_TRUE) goto LA21;
								y_580070 = HEX2F_123481(dir, y_580070);
							}
							LA21: ;
							k_580074 = ((NU8) 0);
							{
								if (!!(((*x_580068).d_type == ((NI8) 0)))) goto LA25;
								{
									if (!((*x_580068).d_type == ((NI8) 4))) goto LA29;
									k_580074 = ((NU8) 2);
								}
								LA29: ;
								{
									if (!((*x_580068).d_type == ((NI8) 10))) goto LA33;
									{
										NIM_BOOL LOC37;
										LOC37 = 0;
										LOC37 = direxists_127020(y_580070);
										if (!LOC37) goto LA38;
										k_580074 = ((NU8) 3);
									}
									goto LA35;
									LA38: ;
									{
										k_580074 = (NU8)(k_580074 + ((NI) 1));
									}
									LA35: ;
								}
								LA33: ;
								kind_580039 = k_580074;
								path_580040 = y_580070;
								{
									NimStringDesc* LOC45;
									if (!((filter &(1<<((kind_580039)&7)))!=0)) goto LA43;
									result = (TY130408*) incrSeqV2(&(result)->Sup, sizeof(NimStringDesc*));
									LOC45 = 0;
									LOC45 = result->data[result->Sup.len]; result->data[result->Sup.len] = copyStringRC1(path_580040);
									if (LOC45) nimGCunrefNoCycle(LOC45);
									++result->Sup.len;
								}
								LA43: ;
								goto LA8;
							}
							LA25: ;
							{
								int LOC48;
								LOC48 = 0;
								LOC48 = lstat(y_580070->data, (&s_580072));
								if (!(LOC48 < ((NI32) 0))) goto LA49;
								goto LA6;
							}
							LA49: ;
							{
								NIM_BOOL LOC53;
								LOC53 = 0;
								LOC53 = S_ISDIR(s_580072.st_mode);
								if (!LOC53) goto LA54;
								k_580074 = ((NU8) 2);
							}
							LA54: ;
							{
								NIM_BOOL LOC58;
								LOC58 = 0;
								LOC58 = S_ISLNK(s_580072.st_mode);
								if (!LOC58) goto LA59;
								k_580074 = (NU8)(k_580074 + ((NI) 1));
							}
							LA59: ;
							kind_580039 = k_580074;
							path_580040 = y_580070;
							{
								NimStringDesc* LOC65;
								if (!((filter &(1<<((kind_580039)&7)))!=0)) goto LA63;
								result = (TY130408*) incrSeqV2(&(result)->Sup, sizeof(NimStringDesc*));
								LOC65 = 0;
								LOC65 = result->data[result->Sup.len]; result->data[result->Sup.len] = copyStringRC1(path_580040);
								if (LOC65) nimGCunrefNoCycle(LOC65);
								++result->Sup.len;
							}
							LA63: ;
						}
						LA17: ;
					} LA8: ;
				}
			} LA6: ;
			LOC66 = 0;
			LOC66 = closedir(d_580066);
		}
		LA4: ;
	}
	setresult_431963(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_89208)(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) {
	{
		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 (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA11;
			rtladdzct_54204(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

static N_INLINE(NIM_BOOL, canbecycleroot_52667)(Cell48947* c) {
	NIM_BOOL result;
	result = 0;
	result = !((((*(*c).typ).flags &(1<<((((NU8) 1))&7)))!=0));
	return result;
}

static N_INLINE(void, rtladdcycleroot_53423)(Cell48947* 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)(Cell48947* 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)(Cell48947* 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) {
	{
		Cell48947* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_52646(src);
		incref_55022(LOC5);
	}
	LA3: ;
	{
		Cell48947* 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_580112)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580206;
	TSafePoint TMP3646;
	HEX3Aenvp_580206 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3646);
	TMP3646.status = _setjmp(TMP3646.context);
	if (TMP3646.status == 0) {
		listdirs_580015(a, 3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3646.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580206).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3646.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_580116)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580212;
	TSafePoint TMP3651;
	HEX3Aenvp_580212 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3651);
	TMP3651.status = _setjmp(TMP3651.context);
	if (TMP3651.status == 0) {
		listdirs_580015(a, 4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3651.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580212).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3651.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_580120)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580217;
	TSafePoint TMP3653;
	HEX3Aenvp_580217 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3653);
	TMP3653.status = _setjmp(TMP3653.context);
	if (TMP3653.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_432072(a, ((NI) 0));
		nosremoveDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3653.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580217).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3653.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_580123)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580222;
	TSafePoint TMP3657;
	HEX3Aenvp_580222 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3657);
	TMP3657.status = _setjmp(TMP3657.context);
	if (TMP3657.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_432072(a, ((NI) 0));
		nosremoveFile(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3657.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580222).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3657.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_580126)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580227;
	TSafePoint TMP3659;
	HEX3Aenvp_580227 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3659);
	TMP3659.status = _setjmp(TMP3659.context);
	if (TMP3659.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_432072(a, ((NI) 0));
		noscreateDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3659.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580227).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3659.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_580129)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580232;
	TSafePoint TMP3661;
	HEX3Aenvp_580232 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3661);
	TMP3661.status = _setjmp(TMP3661.context);
	if (TMP3661.status == 0) {
		setresult_431915(a, (*HEX3Aenvp_580232).errormsg580098);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3661.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580232).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3661.status != 0) reraiseException();
}

static N_INLINE(void, setcurrentdir_128007)(NimStringDesc* newdir) {
	{
		int LOC3;
		NI32 LOC6;
		LOC3 = 0;
		LOC3 = chdir(newdir->data);
		if (!!((LOC3 == ((NI32) 0)))) goto LA4;
		LOC6 = 0;
		LOC6 = oslasterror_126034();
		raiseoserror_126009(LOC6, ((NimStringDesc*) &TMP3649));
	}
	LA4: ;
}

N_CLOSURE(void, HEX3Aanonymous_580132)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580237;
	TSafePoint TMP3663;
	HEX3Aenvp_580237 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3663);
	TMP3663.status = _setjmp(TMP3663.context);
	if (TMP3663.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_432072(a, ((NI) 0));
		setcurrentdir_128007(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3663.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580237).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3663.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_580135)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580242;
	TSafePoint TMP3665;
	HEX3Aenvp_580242 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3665);
	TMP3665.status = _setjmp(TMP3665.context);
	if (TMP3665.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = nosgetCurrentDir();
		setresult_431915(a, LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3665.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580242).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3665.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_580138)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580247;
	TSafePoint TMP3667;
	HEX3Aenvp_580247 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3667);
	TMP3667.status = _setjmp(TMP3667.context);
	if (TMP3667.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_432072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_432072(a, ((NI) 1));
		nosmoveFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3667.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580247).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3667.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_580141)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580252;
	TSafePoint TMP3669;
	HEX3Aenvp_580252 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3669);
	TMP3669.status = _setjmp(TMP3669.context);
	if (TMP3669.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_432072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_432072(a, ((NI) 1));
		noscopyFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3669.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580252).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3669.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_580144)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580257;
	TSafePoint TMP3671;
	HEX3Aenvp_580257 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3671);
	TMP3671.status = _setjmp(TMP3671.context);
	if (TMP3671.status == 0) {
		NimStringDesc* LOC2;
		time_t LOC3;
		NF LOC4;
		LOC2 = 0;
		LOC2 = getstring_432072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nosgetLastModificationTime(LOC2);
		LOC4 = 0;
		LOC4 = toseconds_108511(LOC3);
		setresult_431860(a, LOC4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3671.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580257).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3671.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_580147)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580262;
	TSafePoint TMP3673;
	HEX3Aenvp_580262 = (TY580200*) ClEnv;
	pushSafePoint(&TMP3673);
	TMP3673.status = _setjmp(TMP3673.context);
	if (TMP3673.status == 0) {
		NimStringDesc* LOC2;
		NI LOC3;
		LOC2 = 0;
		LOC2 = getstring_432072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nospexecCmd(LOC2);
		setresult_431837(a, ((NI64) (LOC3)));
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3673.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_580262).errormsg580098), getcurrentexceptionmsg_89208());
			popCurrentException();
		}
	}
	if (TMP3673.status != 0) reraiseException();
}

N_NIMCALL(void, HEX3Aanonymous_580150)(Vmargs278042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_432072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getenv_131044(LOC1);
	setresult_431915(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_580153)(Vmargs278042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_432072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsenv_131059(LOC1);
	setresult_431883(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_580156)(Vmargs278042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_432072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = direxists_127020(LOC1);
	setresult_431883(a, LOC2);
}

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

N_NIMCALL(void, HEX3Aanonymous_580159)(Vmargs278042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_432072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = fileexists_127010(LOC1);
	setresult_431883(a, LOC2);
}

N_CLOSURE(void, HEX3Aanonymous_580162)(Vmargs278042* a, void* ClEnv) {
	TY580200* HEX3Aenvp_580279;
	HEX3Aenvp_580279 = (TY580200*) ClEnv;
	setresult_431915(a, (*HEX3Aenvp_580279).vthisdir580099);
}

N_NIMCALL(void, HEX3Aanonymous_580165)(Vmargs278042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_432072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_432072(a, ((NI) 1));
	setconfigvar_166345(LOC1, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_580168)(Vmargs278042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_432072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getconfigvar_166335(LOC1);
	setresult_431915(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_580171)(Vmargs278042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_432072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsconfigvar_166325(LOC1);
	setresult_431883(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_580174)(Vmargs278042* a) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = getnimcachedir_166628();
	setresult_431915(a, LOC1);
}

N_NIMCALL(void, HEX3Aanonymous_580177)(Vmargs278042* a) {
	NI64 LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getint_432020(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = paramstr_136013(((NI) (LOC1)));
	setresult_431915(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_580180)(Vmargs278042* a) {
	NI LOC1;
	LOC1 = 0;
	LOC1 = paramcount_136035();
	setresult_431837(a, ((NI64) (LOC1)));
}

N_NIMCALL(void, HEX3Aanonymous_580183)(Vmargs278042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_432072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_432072(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreStyle(LOC1, LOC2);
	setresult_431837(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_580186)(Vmargs278042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_432072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_432072(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreCase(LOC1, LOC2);
	setresult_431837(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_580189)(Vmargs278042* a) {
	NimStringDesc* arg;
	asgnRefNoCycle((void**) (&command_166240), getstring_432072(a, ((NI) 0)));
	arg = getstring_432072(a, ((NI) 1));
	{
		NimStringDesc* LOC5;
		TSafePoint TMP3701;
		if (!(((NI) 0) < (arg ? arg->Sup.len : 0))) goto LA3;
		LOC5 = 0;
		LOC5 = gprojectname_166234; gprojectname_166234 = copyStringRC1(arg);
		if (LOC5) nimGCunrefNoCycle(LOC5);
		pushSafePoint(&TMP3701);
		TMP3701.status = _setjmp(TMP3701.context);
		if (TMP3701.status == 0) {
			NimStringDesc* LOC7;
			LOC7 = 0;
			LOC7 = HEX2F_123481(gprojectpath_166235, gprojectname_166234);
			asgnRefNoCycle((void**) (&gprojectfull_166236), canonicalizepath_166409(LOC7));
			popSafePoint();
		}
		else {
			popSafePoint();
			if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
				NimStringDesc* LOC10;
				TMP3701.status = 0;
				LOC10 = 0;
				LOC10 = gprojectfull_166236; gprojectfull_166236 = copyStringRC1(gprojectname_166234);
				if (LOC10) nimGCunrefNoCycle(LOC10);
				popCurrentException();
			}
		}
		if (TMP3701.status != 0) reraiseException();
	}
	LA3: ;
}

N_NIMCALL(void, HEX3Aanonymous_580193)(Vmargs278042* a) {
	setresult_431915(a, command_166240);
}

N_NIMCALL(void, HEX3Aanonymous_580196)(Vmargs278042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	Tlineinfo189352 LOC3;
	LOC1 = 0;
	LOC1 = getstring_432072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_432072(a, ((NI) 1));
	LOC3 = unknownlineinfo_190411();
	processswitch_210040(LOC1, LOC2, ((NU8) 2), LOC3);
}

N_NIMCALL(Tctx278048*, setupvm_580093)(Tsym224841* module, NimStringDesc* scriptname) {
	Tctx278048* result;
	TY580200* HEX3Aenv_580315;
	TY123809 LOC1;
	NimStringDesc* LOC2;
	Vmcallback278044 LOC3;
	Vmcallback278044 LOC4;
	Vmcallback278044 LOC5;
	Vmcallback278044 LOC6;
	Vmcallback278044 LOC7;
	Vmcallback278044 LOC8;
	Vmcallback278044 LOC9;
	Vmcallback278044 LOC10;
	Vmcallback278044 LOC11;
	Vmcallback278044 LOC12;
	Vmcallback278044 LOC13;
	Vmcallback278044 LOC14;
	Vmcallback278044 LOC15;
	Vmcallback278044 LOC16;
	Vmcallback278044 LOC17;
	Vmcallback278044 LOC18;
	Vmcallback278044 LOC19;
	Vmcallback278044 LOC20;
	Vmcallback278044 LOC21;
	Vmcallback278044 LOC22;
	Vmcallback278044 LOC23;
	Vmcallback278044 LOC24;
	Vmcallback278044 LOC25;
	Vmcallback278044 LOC26;
	Vmcallback278044 LOC27;
	Vmcallback278044 LOC28;
	Vmcallback278044 LOC29;
	Vmcallback278044 LOC30;
	result = 0;
	HEX3Aenv_580315 = 0;
	HEX3Aenv_580315 = (TY580200*) newObj((&NTI580316), sizeof(TY580200));
	result = newctx_278282(module);
	(*result).mode = ((NU8) 0);
	registeradditionalops_444102(result);
	memset((void*)(&LOC1), 0, sizeof(LOC1));
	nossplitFile(scriptname, (&LOC1));
	LOC2 = 0;
	LOC2 = (*HEX3Aenv_580315).vthisdir580099; (*HEX3Aenv_580315).vthisdir580099 = copyStringRC1(LOC1.Field0);
	if (LOC2) nimGCunrefNoCycle(LOC2);
	memset((void*)(&LOC3), 0, sizeof(LOC3));
	LOC3.ClPrc = HEX3Aanonymous_580112; LOC3.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3645), LOC3);
	memset((void*)(&LOC4), 0, sizeof(LOC4));
	LOC4.ClPrc = HEX3Aanonymous_580116; LOC4.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3650), LOC4);
	memset((void*)(&LOC5), 0, sizeof(LOC5));
	LOC5.ClPrc = HEX3Aanonymous_580120; LOC5.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3652), LOC5);
	memset((void*)(&LOC6), 0, sizeof(LOC6));
	LOC6.ClPrc = HEX3Aanonymous_580123; LOC6.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3656), LOC6);
	memset((void*)(&LOC7), 0, sizeof(LOC7));
	LOC7.ClPrc = HEX3Aanonymous_580126; LOC7.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3658), LOC7);
	memset((void*)(&LOC8), 0, sizeof(LOC8));
	LOC8.ClPrc = HEX3Aanonymous_580129; LOC8.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3660), LOC8);
	memset((void*)(&LOC9), 0, sizeof(LOC9));
	LOC9.ClPrc = HEX3Aanonymous_580132; LOC9.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3662), LOC9);
	memset((void*)(&LOC10), 0, sizeof(LOC10));
	LOC10.ClPrc = HEX3Aanonymous_580135; LOC10.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3664), LOC10);
	memset((void*)(&LOC11), 0, sizeof(LOC11));
	LOC11.ClPrc = HEX3Aanonymous_580138; LOC11.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3666), LOC11);
	memset((void*)(&LOC12), 0, sizeof(LOC12));
	LOC12.ClPrc = HEX3Aanonymous_580141; LOC12.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3668), LOC12);
	memset((void*)(&LOC13), 0, sizeof(LOC13));
	LOC13.ClPrc = HEX3Aanonymous_580144; LOC13.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3670), LOC13);
	memset((void*)(&LOC14), 0, sizeof(LOC14));
	LOC14.ClPrc = HEX3Aanonymous_580147; LOC14.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3672), LOC14);
	memset((void*)(&LOC15), 0, sizeof(LOC15));
	LOC15.ClPrc = ((TMP3675) (HEX3Aanonymous_580150)); LOC15.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3674), LOC15);
	memset((void*)(&LOC16), 0, sizeof(LOC16));
	LOC16.ClPrc = ((TMP3677) (HEX3Aanonymous_580153)); LOC16.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3676), LOC16);
	memset((void*)(&LOC17), 0, sizeof(LOC17));
	LOC17.ClPrc = ((TMP3679) (HEX3Aanonymous_580156)); LOC17.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3678), LOC17);
	memset((void*)(&LOC18), 0, sizeof(LOC18));
	LOC18.ClPrc = ((TMP3681) (HEX3Aanonymous_580159)); LOC18.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3680), LOC18);
	memset((void*)(&LOC19), 0, sizeof(LOC19));
	LOC19.ClPrc = HEX3Aanonymous_580162; LOC19.ClEnv = HEX3Aenv_580315;
	registercallback_278401(result, ((NimStringDesc*) &TMP3682), LOC19);
	memset((void*)(&LOC20), 0, sizeof(LOC20));
	LOC20.ClPrc = ((TMP3684) (HEX3Aanonymous_580165)); LOC20.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3683), LOC20);
	memset((void*)(&LOC21), 0, sizeof(LOC21));
	LOC21.ClPrc = ((TMP3686) (HEX3Aanonymous_580168)); LOC21.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3685), LOC21);
	memset((void*)(&LOC22), 0, sizeof(LOC22));
	LOC22.ClPrc = ((TMP3688) (HEX3Aanonymous_580171)); LOC22.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3687), LOC22);
	memset((void*)(&LOC23), 0, sizeof(LOC23));
	LOC23.ClPrc = ((TMP3690) (HEX3Aanonymous_580174)); LOC23.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3689), LOC23);
	memset((void*)(&LOC24), 0, sizeof(LOC24));
	LOC24.ClPrc = ((TMP3693) (HEX3Aanonymous_580177)); LOC24.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3691), LOC24);
	memset((void*)(&LOC25), 0, sizeof(LOC25));
	LOC25.ClPrc = ((TMP3695) (HEX3Aanonymous_580180)); LOC25.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3694), LOC25);
	memset((void*)(&LOC26), 0, sizeof(LOC26));
	LOC26.ClPrc = ((TMP3697) (HEX3Aanonymous_580183)); LOC26.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3696), LOC26);
	memset((void*)(&LOC27), 0, sizeof(LOC27));
	LOC27.ClPrc = ((TMP3699) (HEX3Aanonymous_580186)); LOC27.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3698), LOC27);
	memset((void*)(&LOC28), 0, sizeof(LOC28));
	LOC28.ClPrc = ((TMP3702) (HEX3Aanonymous_580189)); LOC28.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3700), LOC28);
	memset((void*)(&LOC29), 0, sizeof(LOC29));
	LOC29.ClPrc = ((TMP3704) (HEX3Aanonymous_580193)); LOC29.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3703), LOC29);
	memset((void*)(&LOC30), 0, sizeof(LOC30));
	LOC30.ClPrc = ((TMP3706) (HEX3Aanonymous_580196)); LOC30.ClEnv = NIM_NIL;
	registercallback_278401(result, ((NimStringDesc*) &TMP3705), LOC30);
	return result;
}

N_NIMCALL(void, runnimscript_580327)(NimStringDesc* scriptname) {
	Tpass276017 LOC1;
	Tpass276017 LOC2;
	Tsym224841* m;
	Tllstream212204* LOC3;
	gincludefile_276073 = includemodule_575860;
	gimportmodule_276068 = importmodule_575824;
	initdefines_198254();
	definesymbol_198013(((NimStringDesc*) &TMP2024));
	definesymbol_198013(((NimStringDesc*) &TMP2025));
	LOC1.Field0 = myopen_501741;
	LOC1.Field1 = myopencached_501778;
	LOC1.Field2 = myprocess_501917;
	LOC1.Field3 = myclose_501933;
	registerpass_276190(LOC1);
	LOC2.Field0 = myopen_444295;
	LOC2.Field1 = NIM_NIL;
	LOC2.Field2 = myprocess_444412;
	LOC2.Field3 = myprocess_444412;
	registerpass_276190(LOC2);
	appendstr_140268((&searchpaths_166136), libpath_166233);
	m = makemodule_576007(scriptname);
	(*m).flags |= ((NU32)1)<<((((NU8) 12))%(sizeof(NU32)*8));
	asgnRef((void**) (&globalctx_444273), setupvm_580093(m, scriptname));
	compilesystemmodule_575910();
	LOC3 = 0;
	LOC3 = llstreamopen_212256(scriptname, ((NU8) 0));
	processmodule_276056(m, LOC3, NIM_NIL);
	resetallmoduleshard_575442();
	asgnRef((void**) (&globalctx_444273), NIM_NIL);
	undefsymbol_198022(((NimStringDesc*) &TMP2024));
	undefsymbol_198022(((NimStringDesc*) &TMP2025));
}
NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigInit000)(void) {
}

NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigDatInit000)(void) {
static TNimNode* TMP3643[3];
static TNimNode TMP1601[4];
NTI580200.size = sizeof(TY580200);
NTI580200.kind = 18;
NTI580200.base = 0;
NTI580200.flags = 2;
TMP3643[0] = &TMP1601[1];
TMP1601[1].kind = 1;
TMP1601[1].offset = offsetof(TY580200, HEX3Astate);
TMP1601[1].typ = (&NTI345033);
TMP1601[1].name = ":state";
TMP3643[1] = &TMP1601[2];
TMP1601[2].kind = 1;
TMP1601[2].offset = offsetof(TY580200, errormsg580098);
TMP1601[2].typ = (&NTI149);
TMP1601[2].name = "errorMsg580098";
TMP3643[2] = &TMP1601[3];
TMP1601[3].kind = 1;
TMP1601[3].offset = offsetof(TY580200, vthisdir580099);
TMP1601[3].typ = (&NTI149);
TMP1601[3].name = "vthisDir580099";
TMP1601[0].len = 3; TMP1601[0].kind = 2; TMP1601[0].sons = &TMP3643[0];
NTI580200.node = &TMP1601[0];
NTI580316.size = sizeof(TY580200*);
NTI580316.kind = 22;
NTI580316.base = (&NTI580200);
NTI580316.flags = 2;
NTI580316.marker = TMP3644;
}

