/* 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 Tnode225809 Tnode225809;
typedef struct Tsym225841 Tsym225841;
typedef struct Tpass277017 Tpass277017;
typedef struct Tpasscontext277005 Tpasscontext277005;
typedef struct Trodreader268030 Trodreader268030;
typedef struct Tlinkedlist141028 Tlinkedlist141028;
typedef struct Tlistentry141022 Tlistentry141022;
typedef struct Tidobj198015 Tidobj198015;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Ttypeseq225843 Ttypeseq225843;
typedef struct Tscope225835 Tscope225835;
typedef struct TY225944 TY225944;
typedef struct Tstrtable225813 Tstrtable225813;
typedef struct Tsymseq225811 Tsymseq225811;
typedef struct Ttype225847 Ttype225847;
typedef struct Tident198021 Tident198021;
typedef struct Tlineinfo190352 Tlineinfo190352;
typedef struct Tloc225823 Tloc225823;
typedef struct Ropeobj176009 Ropeobj176009;
typedef struct Tlib225827 Tlib225827;
typedef struct Tctx279048 Tctx279048;
typedef struct TY581200 TY581200;
typedef struct TY279254 TY279254;
typedef struct TY191420 TY191420;
typedef struct PprocHEX3Aobjecttype279233 PprocHEX3Aobjecttype279233;
typedef struct TY279273 TY279273;
typedef struct TY125009 TY125009;
typedef struct Cell49147 Cell49147;
typedef struct Cellseq49163 Cellseq49163;
typedef struct Gcheap51218 Gcheap51218;
typedef struct Gcstack51216 Gcstack51216;
typedef struct Cellset49159 Cellset49159;
typedef struct Pagedesc49155 Pagedesc49155;
typedef struct Memregion31090 Memregion31090;
typedef struct Smallchunk31042 Smallchunk31042;
typedef struct Llchunk31084 Llchunk31084;
typedef struct Bigchunk31044 Bigchunk31044;
typedef struct Intset31017 Intset31017;
typedef struct Trunk31013 Trunk31013;
typedef struct Avlnode31088 Avlnode31088;
typedef struct Gcstat51214 Gcstat51214;
typedef struct Vmargs279042 Vmargs279042;
typedef struct Exception Exception;
typedef struct TSafePoint TSafePoint;
typedef struct TY131608 TY131608;
typedef struct Tllstream213204 Tllstream213204;
typedef struct Tnodeseq225803 Tnodeseq225803;
typedef struct TY225932 TY225932;
typedef struct Tindex268028 Tindex268028;
typedef struct Tiitable233274 Tiitable233274;
typedef struct Tiipairseq233272 Tiipairseq233272;
typedef struct Table268063 Table268063;
typedef struct Keyvaluepairseq268066 Keyvaluepairseq268066;
typedef struct Memfile266208 Memfile266208;
typedef struct Tinstantiation225831 Tinstantiation225831;
typedef struct TY279234 TY279234;
typedef struct TY279239 TY279239;
typedef struct TY279274 TY279274;
typedef struct Basechunk31040 Basechunk31040;
typedef struct Freecell31032 Freecell31032;
typedef struct Tiipair233270 Tiipair233270;
typedef struct Keyvaluepair268069 Keyvaluepair268069;
typedef struct Tblock279030 Tblock279030;
typedef struct TY279214 TY279214;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef N_NIMCALL_PTR(Tnode225809*, TY277069) (Tsym225841* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tsym225841*, TY277064) (Tsym225841* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tpasscontext277005*, Tpassopen277009) (Tsym225841* module);
typedef N_NIMCALL_PTR(Tpasscontext277005*, Tpassopencached277011) (Tsym225841* module, Trodreader268030* rd);
typedef N_NIMCALL_PTR(Tnode225809*, Tpassprocess277015) (Tpasscontext277005* p, Tnode225809* toplevelstmt);
typedef N_NIMCALL_PTR(Tnode225809*, Tpassclose277013) (Tpasscontext277005* p, Tnode225809* n);
struct Tpass277017 {
Tpassopen277009 Field0;
Tpassopencached277011 Field1;
Tpassprocess277015 Field2;
Tpassclose277013 Field3;
};
struct  Tlinkedlist141028  {
Tlistentry141022* head;
Tlistentry141022* 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  Tidobj198015  {
  TNimObject Sup;
NI id;
};
struct  Tstrtable225813  {
NI counter;
Tsymseq225811* data;
};
struct  Tlineinfo190352  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  Tloc225823  {
NU8 k;
NU8 s;
NU16 flags;
Ttype225847* t;
Ropeobj176009* r;
Ropeobj176009* heaproot;
};
struct  Tsym225841  {
  Tidobj198015 Sup;
NU8 kind;
union{
struct {Ttypeseq225843* typeinstcache;
Tscope225835* typscope;
} S1;
struct {TY225944* procinstcache;
Tsym225841* gcunsafetyreason;
} S2;
struct {TY225944* usedgenerics;
Tstrtable225813 tab;
} S3;
struct {Tsym225841* guard;
NI bitsize;
} S4;
} kindU;
NU8 magic;
Ttype225847* typ;
Tident198021* name;
Tlineinfo190352 info;
Tsym225841* owner;
NU32 flags;
Tnode225809* ast;
NU32 options;
NI position;
NI offset;
Tloc225823 loc;
Tlib225827* annex;
Tnode225809* constraint;
};
struct  TY581200  {
NI HEX3Astate;
NimStringDesc* errormsg581098;
NimStringDesc* vthisdir581099;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Tpasscontext277005  {
  TNimObject Sup;
NIM_BOOL fromcache;
};
struct  Tctx279048  {
  Tpasscontext277005 Sup;
TY279254* code;
TY191420* debug;
Tnode225809* globals;
Tnode225809* constants;
Ttypeseq225843* types;
Tnode225809* currentexceptiona;
Tnode225809* currentexceptionb;
NI exceptioninstr;
PprocHEX3Aobjecttype279233* prc;
Tsym225841* module;
Tnode225809* callsite;
NU8 mode;
NU8 features;
NIM_BOOL traceactive;
NI loopiterations;
Tlineinfo190352 comesfromheuristic;
TY279273* callbacks;
NimStringDesc* errorflag;
};
struct TY125009 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
struct  Cell49147  {
NI refcount;
TNimType* typ;
};
struct  Cellseq49163  {
NI len;
NI cap;
Cell49147** d;
};
struct  Cellset49159  {
NI counter;
NI max;
Pagedesc49155* head;
Pagedesc49155** data;
};
typedef Smallchunk31042* TY31105[512];
typedef Trunk31013* Trunkbuckets31015[256];
struct  Intset31017  {
Trunkbuckets31015 data;
};
struct  Memregion31090  {
NI minlargeobj;
NI maxlargeobj;
TY31105 freesmallchunks;
Llchunk31084* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk31044* freechunkslist;
Intset31017 chunkstarts;
Avlnode31088* root;
Avlnode31088* deleted;
Avlnode31088* last;
Avlnode31088* freeavlnodes;
};
struct  Gcstat51214  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Gcheap51218  {
Gcstack51216* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq49163 zct;
Cellseq49163 decstack;
Cellset49159 cycleroots;
Cellseq49163 tempstack;
NI recgclock;
Memregion31090 region;
Gcstat51214 stat;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (Vmargs279042* args, void* ClEnv);
void* ClEnv;
} Vmcallback279044;
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;
} TY19411;
struct  TSafePoint  {
TSafePoint* prev;
NI status;
jmp_buf context;
NIM_BOOL hasRaiseAction;
TY19411 raiseAction;
};
typedef NIM_CHAR TY114385[256];
typedef N_CLOSURE_PTR(void, TMP3671) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3673) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3675) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3677) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3680) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3682) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3684) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3686) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3689) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3691) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3693) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3695) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3698) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3700) (Vmargs279042* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3702) (Vmargs279042* args, void* ClEnv);
struct  Tnode225809  {
Ttype225847* typ;
Tlineinfo190352 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym225841* sym;
} S4;
struct {Tident198021* ident;
} S5;
struct {Tnodeseq225803* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
struct  Tiitable233274  {
NI counter;
Tiipairseq233272* data;
};
struct  Tindex268028  {
NI lastidxkey;
NI lastidxval;
Tiitable233274 tab;
NimStringDesc* r;
NI offset;
};
struct  Table268063  {
Keyvaluepairseq268066* data;
NI counter;
};
struct  Memfile266208  {
void* mem;
NI size;
int handle;
};
struct  Trodreader268030  {
  TNimObject Sup;
NI pos;
NCSTRING s;
NU32 options;
NU8 reason;
TY225932* moddeps;
TY225932* files;
NI dataidx;
NI convertersidx;
NI initidx;
NI interfidx;
NI compilerprocsidx;
NI methodsidx;
NimStringDesc* filename;
Tindex268028 index;
Tindex268028 imports;
NI readerindex;
NI line;
NI moduleid;
Table268063 syms;
Memfile266208 memfile;
Tsymseq225811* methods;
NimStringDesc* origfile;
NIM_BOOL inviewmode;
};
struct  Tlistentry141022  {
  TNimObject Sup;
Tlistentry141022* prev;
Tlistentry141022* next;
};
struct  Tscope225835  {
NI depthlevel;
Tstrtable225813 symbols;
Tnodeseq225803* usingsyms;
Tscope225835* parent;
};
struct  Ttype225847  {
  Tidobj198015 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq225843* sons;
Tnode225809* n;
Tsym225841* owner;
Tsym225841* sym;
Tsym225841* destructor;
Tsym225841* deepcopy;
Tsym225841* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc225823 loc;
};
struct  Tident198021  {
  Tidobj198015 Sup;
NimStringDesc* s;
Tident198021* next;
NI h;
};
struct  Ropeobj176009  {
  TNimObject Sup;
Ropeobj176009* left;
Ropeobj176009* right;
NI length;
NimStringDesc* data;
};
struct  Tlib225827  {
  Tlistentry141022 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj176009* name;
Tnode225809* path;
};
struct TY279239 {
NIM_BOOL Field0;
NU8 Field1;
};
typedef TY279239 TY279242[256];
struct  PprocHEX3Aobjecttype279233  {
TY279234* blocks;
Tsym225841* sym;
TY279242 slots;
NI maxslots;
};
struct TY279274 {
NimStringDesc* Field0;
Vmcallback279044 Field1;
};
struct  Gcstack51216  {
Gcstack51216* prev;
Gcstack51216* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY31021[16];
struct  Pagedesc49155  {
Pagedesc49155* next;
NI key;
TY31021 bits;
};
struct  Basechunk31040  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk31042  {
  Basechunk31040 Sup;
Smallchunk31042* next;
Smallchunk31042* prev;
Freecell31032* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk31084  {
NI size;
NI acc;
Llchunk31084* next;
};
struct  Bigchunk31044  {
  Basechunk31040 Sup;
Bigchunk31044* next;
Bigchunk31044* prev;
NI align;
NF data;
};
struct  Trunk31013  {
Trunk31013* next;
NI key;
TY31021 bits;
};
typedef Avlnode31088* TY31095[2];
struct  Avlnode31088  {
TY31095 link;
NI key;
NI upperbound;
NI level;
};
struct  Vmargs279042  {
NI ra;
NI rb;
NI rc;
void* slots;
Tnode225809* currentexception;
};
struct  Tllstream213204  {
  TNimObject Sup;
NU8 kind;
FILE* f;
NimStringDesc* s;
NI rd;
NI wr;
NI lineoffset;
};
struct  Tiipair233270  {
NI key;
NI val;
};
struct Keyvaluepair268069 {
NI Field0;
NI Field1;
Tsym225841* Field2;
};
struct  Tinstantiation225831  {
Tsym225841* sym;
Ttypeseq225843* concretetypes;
TY225932* usedby;
NI compilesid;
};
struct  Tblock279030  {
Tsym225841* label;
TY279214* fixups;
};
struct  Freecell31032  {
Freecell31032* next;
NI zerofield;
};
struct TY131608 {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
struct Ttypeseq225843 {
  TGenericSeq Sup;
  Ttype225847* data[SEQ_DECL_SIZE];
};
struct TY225944 {
  TGenericSeq Sup;
  Tinstantiation225831* data[SEQ_DECL_SIZE];
};
struct Tsymseq225811 {
  TGenericSeq Sup;
  Tsym225841* data[SEQ_DECL_SIZE];
};
struct TY279254 {
  TGenericSeq Sup;
  NU32 data[SEQ_DECL_SIZE];
};
struct TY191420 {
  TGenericSeq Sup;
  Tlineinfo190352 data[SEQ_DECL_SIZE];
};
struct TY279273 {
  TGenericSeq Sup;
  TY279274 data[SEQ_DECL_SIZE];
};
struct Tnodeseq225803 {
  TGenericSeq Sup;
  Tnode225809* data[SEQ_DECL_SIZE];
};
struct TY225932 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct Tiipairseq233272 {
  TGenericSeq Sup;
  Tiipair233270 data[SEQ_DECL_SIZE];
};
struct Keyvaluepairseq268066 {
  TGenericSeq Sup;
  Keyvaluepair268069 data[SEQ_DECL_SIZE];
};
struct TY279234 {
  TGenericSeq Sup;
  Tblock279030 data[SEQ_DECL_SIZE];
};
struct TY279214 {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
N_NIMCALL(Tnode225809*, includemodule_576860)(Tsym225841* s, NI32 fileidx);
N_NIMCALL(Tsym225841*, importmodule_576824)(Tsym225841* s, NI32 fileidx);
N_NIMCALL(void, initdefines_199254)(void);
N_NIMCALL(void, definesymbol_199013)(NimStringDesc* symbol);
N_NIMCALL(void, registerpass_277190)(Tpass277017 p);
N_NIMCALL(Tpasscontext277005*, myopen_502741)(Tsym225841* module);
N_NIMCALL(Tpasscontext277005*, myopencached_502778)(Tsym225841* module, Trodreader268030* rd);
N_NIMCALL(Tnode225809*, myprocess_502917)(Tpasscontext277005* context, Tnode225809* n);
N_NIMCALL(Tnode225809*, myclose_502933)(Tpasscontext277005* context, Tnode225809* n);
N_NIMCALL(Tpasscontext277005*, myopen_445295)(Tsym225841* module);
N_NIMCALL(Tnode225809*, myprocess_445412)(Tpasscontext277005* c, Tnode225809* n);
N_NIMCALL(void, appendstr_141268)(Tlinkedlist141028* list, NimStringDesc* data);
N_NIMCALL(Tsym225841*, makemodule_577007)(NimStringDesc* filename);
N_NIMCALL(Tctx279048*, setupvm_581093)(Tsym225841* module, NimStringDesc* scriptname);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP3640)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_NIMCALL(Tctx279048*, newctx_279282)(Tsym225841* module);
N_NIMCALL(void, registeradditionalops_445102)(Tctx279048* c);
N_NIMCALL(void, nossplitFile)(NimStringDesc* path, TY125009* Result);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(Cell49147*, usrtocell_52846)(void* usr);
static N_INLINE(void, rtladdzct_54404)(Cell49147* c);
N_NOINLINE(void, addzct_52817)(Cellseq49163* s, Cell49147* c);
N_NIMCALL(void, registercallback_279401)(Tctx279048* c, NimStringDesc* name, Vmcallback279044 callback);
N_CLOSURE(void, HEX3Aanonymous_581112)(Vmargs279042* a, void* ClEnv);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_NIMCALL(void, listdirs_581015)(Vmargs279042* a, NU8 filter);
N_NIMCALL(NimStringDesc*, getstring_433072)(Vmargs279042* 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_124681)(NimStringDesc* head, NimStringDesc* tail);
static N_INLINE(NIM_BOOL, direxists_128220)(NimStringDesc* dir);
N_NIMCALL(NIM_BOOL, nosexistsDir)(NimStringDesc* dir);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(void, setresult_432963)(Vmargs279042* a, TY131608* 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_89408)(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_55222)(Cell49147* c);
static N_INLINE(NIM_BOOL, canbecycleroot_52867)(Cell49147* c);
static N_INLINE(void, rtladdcycleroot_53623)(Cell49147* c);
N_NOINLINE(void, incl_49865)(Cellset49159* s, Cell49147* cell);
static N_INLINE(void, decref_54804)(Cell49147* c);
N_NIMCALL(void, reraiseException)(void);
N_CLOSURE(void, HEX3Aanonymous_581116)(Vmargs279042* a, void* ClEnv);
N_CLOSURE(void, HEX3Aanonymous_581120)(Vmargs279042* a, void* ClEnv);
N_NIMCALL(void, nosremoveDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_581123)(Vmargs279042* a, void* ClEnv);
N_NIMCALL(void, nosremoveFile)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_581126)(Vmargs279042* a, void* ClEnv);
N_NIMCALL(void, noscreateDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_581129)(Vmargs279042* a, void* ClEnv);
N_NIMCALL(void, setresult_432915)(Vmargs279042* a, NimStringDesc* v);
N_CLOSURE(void, HEX3Aanonymous_581132)(Vmargs279042* a, void* ClEnv);
static N_INLINE(void, setcurrentdir_129207)(NimStringDesc* newdir);
N_NOINLINE(void, raiseoserror_127209)(NI32 errorcode, NimStringDesc* additionalinfo);
N_NIMCALL(NI32, oslasterror_127234)(void);
N_CLOSURE(void, HEX3Aanonymous_581135)(Vmargs279042* a, void* ClEnv);
N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
N_CLOSURE(void, HEX3Aanonymous_581138)(Vmargs279042* a, void* ClEnv);
N_NIMCALL(void, nosmoveFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_581141)(Vmargs279042* a, void* ClEnv);
N_NIMCALL(void, noscopyFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_581144)(Vmargs279042* a, void* ClEnv);
N_NIMCALL(void, setresult_432860)(Vmargs279042* a, NF v);
N_NIMCALL(NF, toseconds_109511)(time_t time);
N_NIMCALL(time_t, nosgetLastModificationTime)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_581147)(Vmargs279042* a, void* ClEnv);
N_NIMCALL(void, setresult_432837)(Vmargs279042* a, NI64 v);
N_NIMCALL(NI, nospexecCmd)(NimStringDesc* command);
N_NIMCALL(void, HEX3Aanonymous_581150)(Vmargs279042* a);
N_NIMCALL(NimStringDesc*, getenv_132243)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_581153)(Vmargs279042* a);
N_NIMCALL(void, setresult_432883)(Vmargs279042* a, NIM_BOOL v_432886);
N_NIMCALL(NIM_BOOL, existsenv_132258)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_581156)(Vmargs279042* a);
N_NIMCALL(void, HEX3Aanonymous_581159)(Vmargs279042* a);
static N_INLINE(NIM_BOOL, fileexists_128210)(NimStringDesc* filename);
N_NIMCALL(NIM_BOOL, nosexistsFile)(NimStringDesc* filename);
N_CLOSURE(void, HEX3Aanonymous_581162)(Vmargs279042* a, void* ClEnv);
N_NIMCALL(void, HEX3Aanonymous_581165)(Vmargs279042* a);
N_NIMCALL(void, setconfigvar_167345)(NimStringDesc* key, NimStringDesc* val);
N_NIMCALL(void, HEX3Aanonymous_581168)(Vmargs279042* a);
N_NIMCALL(NimStringDesc*, getconfigvar_167335)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_581171)(Vmargs279042* a);
N_NIMCALL(NIM_BOOL, existsconfigvar_167325)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_581174)(Vmargs279042* a);
N_NIMCALL(NimStringDesc*, getnimcachedir_167628)(void);
N_NIMCALL(void, HEX3Aanonymous_581177)(Vmargs279042* a);
N_NIMCALL(NimStringDesc*, paramstr_137213)(NI i);
N_NIMCALL(NI64, getint_433020)(Vmargs279042* a, NI i);
N_NIMCALL(void, HEX3Aanonymous_581180)(Vmargs279042* a);
N_NIMCALL(NI, paramcount_137235)(void);
N_NIMCALL(void, HEX3Aanonymous_581183)(Vmargs279042* a);
N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_581186)(Vmargs279042* a);
N_NIMCALL(NI, nsuCmpIgnoreCase)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_581189)(Vmargs279042* a);
N_NIMCALL(NimStringDesc*, canonicalizepath_167409)(NimStringDesc* path);
N_NIMCALL(void, HEX3Aanonymous_581193)(Vmargs279042* a);
N_NIMCALL(void, HEX3Aanonymous_581196)(Vmargs279042* a);
N_NIMCALL(void, processswitch_211040)(NimStringDesc* switch_211042, NimStringDesc* arg, NU8 pass, Tlineinfo190352 info);
N_NIMCALL(Tlineinfo190352, unknownlineinfo_191411)(void);
N_NIMCALL(void, compilesystemmodule_576910)(void);
N_NIMCALL(void, processmodule_277056)(Tsym225841* module, Tllstream213204* stream, Trodreader268030* rd);
N_NIMCALL(Tllstream213204*, llstreamopen_213256)(NimStringDesc* filename, NU8 mode);
N_NIMCALL(void, resetallmoduleshard_576442)(void);
N_NIMCALL(void, undefsymbol_199022)(NimStringDesc* symbol);
STRING_LITERAL(TMP2022, "nimscript", 9);
STRING_LITERAL(TMP2023, "nimconfig", 9);
STRING_LITERAL(TMP3641, "stdlib.system.listFiles", 23);
STRING_LITERAL(TMP3643, ".", 1);
STRING_LITERAL(TMP3644, "..", 2);
STRING_LITERAL(TMP3645, "", 0);
STRING_LITERAL(TMP3646, "stdlib.system.listDirs", 22);
STRING_LITERAL(TMP3648, "stdlib.system.removeDir", 23);
STRING_LITERAL(TMP3652, "stdlib.system.removeFile", 24);
STRING_LITERAL(TMP3654, "stdlib.system.createDir", 23);
STRING_LITERAL(TMP3656, "stdlib.system.getOsError", 24);
STRING_LITERAL(TMP3658, "stdlib.system.setCurrentDir", 27);
STRING_LITERAL(TMP3660, "stdlib.system.getCurrentDir", 27);
STRING_LITERAL(TMP3662, "stdlib.system.moveFile", 22);
STRING_LITERAL(TMP3664, "stdlib.system.copyFile", 22);
STRING_LITERAL(TMP3666, "stdlib.system.getLastModificationTime", 37);
STRING_LITERAL(TMP3668, "stdlib.system.rawExec", 21);
STRING_LITERAL(TMP3670, "stdlib.system.getEnv", 20);
STRING_LITERAL(TMP3672, "stdlib.system.existsEnv", 23);
STRING_LITERAL(TMP3674, "stdlib.system.dirExists", 23);
STRING_LITERAL(TMP3676, "stdlib.system.fileExists", 24);
STRING_LITERAL(TMP3678, "stdlib.system.thisDir", 21);
STRING_LITERAL(TMP3679, "stdlib.system.put", 17);
STRING_LITERAL(TMP3681, "stdlib.system.get", 17);
STRING_LITERAL(TMP3683, "stdlib.system.exists", 20);
STRING_LITERAL(TMP3685, "stdlib.system.nimcacheDir", 25);
STRING_LITERAL(TMP3687, "stdlib.system.paramStr", 22);
STRING_LITERAL(TMP3690, "stdlib.system.paramCount", 24);
STRING_LITERAL(TMP3692, "stdlib.system.cmpIgnoreStyle", 28);
STRING_LITERAL(TMP3694, "stdlib.system.cmpIgnoreCase", 27);
STRING_LITERAL(TMP3696, "stdlib.system.setCommand", 24);
STRING_LITERAL(TMP3699, "stdlib.system.getCommand", 24);
STRING_LITERAL(TMP3701, "stdlib.system.switch", 20);
extern TY277069 gincludefile_277073;
extern TY277064 gimportmodule_277068;
extern Tlinkedlist141028 searchpaths_167136;
extern NimStringDesc* libpath_167233;
extern Tctx279048* globalctx_445273;
TNimType NTI581200; /* object */
extern TNimType NTI346033; /* range -1..0(int) */
extern TNimType NTI149; /* string */
TNimType NTI581316; /* ref object */
extern Gcheap51218 gch_51259;
extern TSafePoint* exchandler_21043;
extern TNimType NTI131608; /* seq[string] */
extern TNimType NTI4033; /* OSError */
extern Exception* currexception_21045;
extern NimStringDesc* command_167240;
extern NimStringDesc* gprojectname_167234;
extern NimStringDesc* gprojectfull_167236;
extern NimStringDesc* gprojectpath_167235;
N_NIMCALL(void, TMP3640)(void* p, NI op) {
	TY581200* a;
	a = (TY581200*)p;
	nimGCvisit((void*)(*a).errormsg581098, op);
	nimGCvisit((void*)(*a).vthisdir581099, op);
}

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

static N_INLINE(void, rtladdzct_54404)(Cell49147* c) {
	addzct_52817((&gch_51259.zct), c);
}

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

static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
	(*s).hasRaiseAction = NIM_FALSE;
	(*s).prev = exchandler_21043;
	exchandler_21043 = 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_128220)(NimStringDesc* dir) {
	NIM_BOOL result;
	result = 0;
	result = nosexistsDir(dir);
	return result;
}

N_NIMCALL(void, listdirs_581015)(Vmargs279042* a, NU8 filter) {
	NimStringDesc* dir;
	TY131608* result;
	dir = getstring_433072(a, ((NI) 0));
	result = (TY131608*) newSeq((&NTI131608), 0);
	{
		NU8 kind_581039;
		NimStringDesc* path_581040;
		DIR* d_581066;
		kind_581039 = 0;
		path_581040 = 0;
		d_581066 = opendir(dir->data);
		{
			int LOC66;
			if (!!((d_581066 == NIM_NIL))) goto LA4;
			{
				while (1) {
					{
						struct dirent* x_581068;
						NimStringDesc* y_581070;
						x_581068 = readdir(d_581066);
						{
							if (!(x_581068 == NIM_NIL)) goto LA11;
							goto LA6;
						}
						LA11: ;
						y_581070 = cstrToNimstr(((NCSTRING) ((*x_581068).d_name)));
						{
							NIM_BOOL LOC15;
							struct stat s_581072;
							NU8 k_581074;
							LOC15 = 0;
							LOC15 = !(eqStrings(y_581070, ((NimStringDesc*) &TMP3643)));
							if (!(LOC15)) goto LA16;
							LOC15 = !(eqStrings(y_581070, ((NimStringDesc*) &TMP3644)));
							LA16: ;
							if (!LOC15) goto LA17;
							memset((void*)(&s_581072), 0, sizeof(s_581072));
							{
								if (!NIM_TRUE) goto LA21;
								y_581070 = HEX2F_124681(dir, y_581070);
							}
							LA21: ;
							k_581074 = ((NU8) 0);
							{
								if (!!(((*x_581068).d_type == ((NI8) 0)))) goto LA25;
								{
									if (!((*x_581068).d_type == ((NI8) 4))) goto LA29;
									k_581074 = ((NU8) 2);
								}
								LA29: ;
								{
									if (!((*x_581068).d_type == ((NI8) 10))) goto LA33;
									{
										NIM_BOOL LOC37;
										LOC37 = 0;
										LOC37 = direxists_128220(y_581070);
										if (!LOC37) goto LA38;
										k_581074 = ((NU8) 3);
									}
									goto LA35;
									LA38: ;
									{
										k_581074 = (NU8)(k_581074 + ((NI) 1));
									}
									LA35: ;
								}
								LA33: ;
								kind_581039 = k_581074;
								path_581040 = y_581070;
								{
									NimStringDesc* LOC45;
									if (!((filter &(1<<((kind_581039)&7)))!=0)) goto LA43;
									result = (TY131608*) incrSeqV2(&(result)->Sup, sizeof(NimStringDesc*));
									LOC45 = 0;
									LOC45 = result->data[result->Sup.len]; result->data[result->Sup.len] = copyStringRC1(path_581040);
									if (LOC45) nimGCunrefNoCycle(LOC45);
									++result->Sup.len;
								}
								LA43: ;
								goto LA8;
							}
							LA25: ;
							{
								int LOC48;
								LOC48 = 0;
								LOC48 = lstat(y_581070->data, (&s_581072));
								if (!(LOC48 < ((NI32) 0))) goto LA49;
								goto LA6;
							}
							LA49: ;
							{
								NIM_BOOL LOC53;
								LOC53 = 0;
								LOC53 = S_ISDIR(s_581072.st_mode);
								if (!LOC53) goto LA54;
								k_581074 = ((NU8) 2);
							}
							LA54: ;
							{
								NIM_BOOL LOC58;
								LOC58 = 0;
								LOC58 = S_ISLNK(s_581072.st_mode);
								if (!LOC58) goto LA59;
								k_581074 = (NU8)(k_581074 + ((NI) 1));
							}
							LA59: ;
							kind_581039 = k_581074;
							path_581040 = y_581070;
							{
								NimStringDesc* LOC65;
								if (!((filter &(1<<((kind_581039)&7)))!=0)) goto LA63;
								result = (TY131608*) incrSeqV2(&(result)->Sup, sizeof(NimStringDesc*));
								LOC65 = 0;
								LOC65 = result->data[result->Sup.len]; result->data[result->Sup.len] = copyStringRC1(path_581040);
								if (LOC65) nimGCunrefNoCycle(LOC65);
								++result->Sup.len;
							}
							LA63: ;
						}
						LA17: ;
					} LA8: ;
				}
			} LA6: ;
			LOC66 = 0;
			LOC66 = closedir(d_581066);
		}
		LA4: ;
	}
	setresult_432963(a, result);
}

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

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

static N_INLINE(NimStringDesc*, getcurrentexceptionmsg_89408)(void) {
	NimStringDesc* result;
	Exception* e;
{	result = 0;
	e = getCurrentException();
	{
		if (!(e == NIM_NIL)) goto LA3;
		result = copyString(((NimStringDesc*) &TMP3645));
	}
	goto LA1;
	LA3: ;
	{
		result = copyString((*e).message);
	}
	LA1: ;
	goto BeforeRet;
	}BeforeRet: ;
	return result;
}

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

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

static N_INLINE(void, rtladdcycleroot_53623)(Cell49147* c) {
	{
		if (!!((((NI) ((NI)((*c).refcount & ((NI) 3)))) == ((NI) 3)))) goto LA3;
		(*c).refcount = (NI)((NI)((*c).refcount & ((NI) -4)) | ((NI) 3));
		incl_49865((&gch_51259.cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_55222)(Cell49147* c) {
	(*c).refcount = (NI)((NU32)((*c).refcount) + (NU32)(((NI) 8)));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_52867(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_53623(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_54804)(Cell49147* c) {
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3;
		rtladdzct_54404(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_52867(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_53623(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		Cell49147* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_52846(src);
		incref_55222(LOC5);
	}
	LA3: ;
	{
		Cell49147* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_52846((*dest));
		decref_54804(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

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

N_CLOSURE(void, HEX3Aanonymous_581112)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581206;
	TSafePoint TMP3642;
	HEX3Aenvp_581206 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3642);
	TMP3642.status = _setjmp(TMP3642.context);
	if (TMP3642.status == 0) {
		listdirs_581015(a, 3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3642.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581206).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3642.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_581116)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581212;
	TSafePoint TMP3647;
	HEX3Aenvp_581212 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3647);
	TMP3647.status = _setjmp(TMP3647.context);
	if (TMP3647.status == 0) {
		listdirs_581015(a, 4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3647.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581212).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3647.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_581120)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581217;
	TSafePoint TMP3649;
	HEX3Aenvp_581217 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3649);
	TMP3649.status = _setjmp(TMP3649.context);
	if (TMP3649.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_433072(a, ((NI) 0));
		nosremoveDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3649.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581217).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3649.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_581123)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581222;
	TSafePoint TMP3653;
	HEX3Aenvp_581222 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3653);
	TMP3653.status = _setjmp(TMP3653.context);
	if (TMP3653.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_433072(a, ((NI) 0));
		nosremoveFile(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3653.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581222).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3653.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_581126)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581227;
	TSafePoint TMP3655;
	HEX3Aenvp_581227 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3655);
	TMP3655.status = _setjmp(TMP3655.context);
	if (TMP3655.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_433072(a, ((NI) 0));
		noscreateDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3655.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581227).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3655.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_581129)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581232;
	TSafePoint TMP3657;
	HEX3Aenvp_581232 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3657);
	TMP3657.status = _setjmp(TMP3657.context);
	if (TMP3657.status == 0) {
		setresult_432915(a, (*HEX3Aenvp_581232).errormsg581098);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3657.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581232).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3657.status != 0) reraiseException();
}

static N_INLINE(void, setcurrentdir_129207)(NimStringDesc* newdir) {
	{
		int LOC3;
		NI32 LOC6;
		LOC3 = 0;
		LOC3 = chdir(newdir->data);
		if (!!((LOC3 == ((NI32) 0)))) goto LA4;
		LOC6 = 0;
		LOC6 = oslasterror_127234();
		raiseoserror_127209(LOC6, ((NimStringDesc*) &TMP3645));
	}
	LA4: ;
}

N_CLOSURE(void, HEX3Aanonymous_581132)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581237;
	TSafePoint TMP3659;
	HEX3Aenvp_581237 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3659);
	TMP3659.status = _setjmp(TMP3659.context);
	if (TMP3659.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_433072(a, ((NI) 0));
		setcurrentdir_129207(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3659.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581237).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3659.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_581135)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581242;
	TSafePoint TMP3661;
	HEX3Aenvp_581242 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3661);
	TMP3661.status = _setjmp(TMP3661.context);
	if (TMP3661.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = nosgetCurrentDir();
		setresult_432915(a, LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3661.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581242).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3661.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_581138)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581247;
	TSafePoint TMP3663;
	HEX3Aenvp_581247 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3663);
	TMP3663.status = _setjmp(TMP3663.context);
	if (TMP3663.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_433072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_433072(a, ((NI) 1));
		nosmoveFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3663.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581247).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3663.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_581141)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581252;
	TSafePoint TMP3665;
	HEX3Aenvp_581252 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3665);
	TMP3665.status = _setjmp(TMP3665.context);
	if (TMP3665.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_433072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_433072(a, ((NI) 1));
		noscopyFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3665.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581252).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3665.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_581144)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581257;
	TSafePoint TMP3667;
	HEX3Aenvp_581257 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3667);
	TMP3667.status = _setjmp(TMP3667.context);
	if (TMP3667.status == 0) {
		NimStringDesc* LOC2;
		time_t LOC3;
		NF LOC4;
		LOC2 = 0;
		LOC2 = getstring_433072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nosgetLastModificationTime(LOC2);
		LOC4 = 0;
		LOC4 = toseconds_109511(LOC3);
		setresult_432860(a, LOC4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3667.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581257).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3667.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_581147)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581262;
	TSafePoint TMP3669;
	HEX3Aenvp_581262 = (TY581200*) ClEnv;
	pushSafePoint(&TMP3669);
	TMP3669.status = _setjmp(TMP3669.context);
	if (TMP3669.status == 0) {
		NimStringDesc* LOC2;
		NI LOC3;
		LOC2 = 0;
		LOC2 = getstring_433072(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nospexecCmd(LOC2);
		setresult_432837(a, ((NI64) (LOC3)));
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
			TMP3669.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_581262).errormsg581098), getcurrentexceptionmsg_89408());
			popCurrentException();
		}
	}
	if (TMP3669.status != 0) reraiseException();
}

N_NIMCALL(void, HEX3Aanonymous_581150)(Vmargs279042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_433072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getenv_132243(LOC1);
	setresult_432915(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_581153)(Vmargs279042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_433072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsenv_132258(LOC1);
	setresult_432883(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_581156)(Vmargs279042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_433072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = direxists_128220(LOC1);
	setresult_432883(a, LOC2);
}

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

N_NIMCALL(void, HEX3Aanonymous_581159)(Vmargs279042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_433072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = fileexists_128210(LOC1);
	setresult_432883(a, LOC2);
}

N_CLOSURE(void, HEX3Aanonymous_581162)(Vmargs279042* a, void* ClEnv) {
	TY581200* HEX3Aenvp_581279;
	HEX3Aenvp_581279 = (TY581200*) ClEnv;
	setresult_432915(a, (*HEX3Aenvp_581279).vthisdir581099);
}

N_NIMCALL(void, HEX3Aanonymous_581165)(Vmargs279042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_433072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_433072(a, ((NI) 1));
	setconfigvar_167345(LOC1, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_581168)(Vmargs279042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_433072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getconfigvar_167335(LOC1);
	setresult_432915(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_581171)(Vmargs279042* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_433072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsconfigvar_167325(LOC1);
	setresult_432883(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_581174)(Vmargs279042* a) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = getnimcachedir_167628();
	setresult_432915(a, LOC1);
}

N_NIMCALL(void, HEX3Aanonymous_581177)(Vmargs279042* a) {
	NI64 LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getint_433020(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = paramstr_137213(((NI) (LOC1)));
	setresult_432915(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_581180)(Vmargs279042* a) {
	NI LOC1;
	LOC1 = 0;
	LOC1 = paramcount_137235();
	setresult_432837(a, ((NI64) (LOC1)));
}

N_NIMCALL(void, HEX3Aanonymous_581183)(Vmargs279042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_433072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_433072(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreStyle(LOC1, LOC2);
	setresult_432837(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_581186)(Vmargs279042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_433072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_433072(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreCase(LOC1, LOC2);
	setresult_432837(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_581189)(Vmargs279042* a) {
	NimStringDesc* arg;
	asgnRefNoCycle((void**) (&command_167240), getstring_433072(a, ((NI) 0)));
	arg = getstring_433072(a, ((NI) 1));
	{
		NimStringDesc* LOC5;
		TSafePoint TMP3697;
		if (!(((NI) 0) < (arg ? arg->Sup.len : 0))) goto LA3;
		LOC5 = 0;
		LOC5 = gprojectname_167234; gprojectname_167234 = copyStringRC1(arg);
		if (LOC5) nimGCunrefNoCycle(LOC5);
		pushSafePoint(&TMP3697);
		TMP3697.status = _setjmp(TMP3697.context);
		if (TMP3697.status == 0) {
			NimStringDesc* LOC7;
			LOC7 = 0;
			LOC7 = HEX2F_124681(gprojectpath_167235, gprojectname_167234);
			asgnRefNoCycle((void**) (&gprojectfull_167236), canonicalizepath_167409(LOC7));
			popSafePoint();
		}
		else {
			popSafePoint();
			if (isObj(getCurrentException()->Sup.m_type, (&NTI4033))) {
				NimStringDesc* LOC10;
				TMP3697.status = 0;
				LOC10 = 0;
				LOC10 = gprojectfull_167236; gprojectfull_167236 = copyStringRC1(gprojectname_167234);
				if (LOC10) nimGCunrefNoCycle(LOC10);
				popCurrentException();
			}
		}
		if (TMP3697.status != 0) reraiseException();
	}
	LA3: ;
}

N_NIMCALL(void, HEX3Aanonymous_581193)(Vmargs279042* a) {
	setresult_432915(a, command_167240);
}

N_NIMCALL(void, HEX3Aanonymous_581196)(Vmargs279042* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	Tlineinfo190352 LOC3;
	LOC1 = 0;
	LOC1 = getstring_433072(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_433072(a, ((NI) 1));
	LOC3 = unknownlineinfo_191411();
	processswitch_211040(LOC1, LOC2, ((NU8) 2), LOC3);
}

N_NIMCALL(Tctx279048*, setupvm_581093)(Tsym225841* module, NimStringDesc* scriptname) {
	Tctx279048* result;
	TY581200* HEX3Aenv_581315;
	TY125009 LOC1;
	NimStringDesc* LOC2;
	Vmcallback279044 LOC3;
	Vmcallback279044 LOC4;
	Vmcallback279044 LOC5;
	Vmcallback279044 LOC6;
	Vmcallback279044 LOC7;
	Vmcallback279044 LOC8;
	Vmcallback279044 LOC9;
	Vmcallback279044 LOC10;
	Vmcallback279044 LOC11;
	Vmcallback279044 LOC12;
	Vmcallback279044 LOC13;
	Vmcallback279044 LOC14;
	Vmcallback279044 LOC15;
	Vmcallback279044 LOC16;
	Vmcallback279044 LOC17;
	Vmcallback279044 LOC18;
	Vmcallback279044 LOC19;
	Vmcallback279044 LOC20;
	Vmcallback279044 LOC21;
	Vmcallback279044 LOC22;
	Vmcallback279044 LOC23;
	Vmcallback279044 LOC24;
	Vmcallback279044 LOC25;
	Vmcallback279044 LOC26;
	Vmcallback279044 LOC27;
	Vmcallback279044 LOC28;
	Vmcallback279044 LOC29;
	Vmcallback279044 LOC30;
	result = 0;
	HEX3Aenv_581315 = 0;
	HEX3Aenv_581315 = (TY581200*) newObj((&NTI581316), sizeof(TY581200));
	result = newctx_279282(module);
	(*result).mode = ((NU8) 0);
	registeradditionalops_445102(result);
	memset((void*)(&LOC1), 0, sizeof(LOC1));
	nossplitFile(scriptname, (&LOC1));
	LOC2 = 0;
	LOC2 = (*HEX3Aenv_581315).vthisdir581099; (*HEX3Aenv_581315).vthisdir581099 = copyStringRC1(LOC1.Field0);
	if (LOC2) nimGCunrefNoCycle(LOC2);
	memset((void*)(&LOC3), 0, sizeof(LOC3));
	LOC3.ClPrc = HEX3Aanonymous_581112; LOC3.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3641), LOC3);
	memset((void*)(&LOC4), 0, sizeof(LOC4));
	LOC4.ClPrc = HEX3Aanonymous_581116; LOC4.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3646), LOC4);
	memset((void*)(&LOC5), 0, sizeof(LOC5));
	LOC5.ClPrc = HEX3Aanonymous_581120; LOC5.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3648), LOC5);
	memset((void*)(&LOC6), 0, sizeof(LOC6));
	LOC6.ClPrc = HEX3Aanonymous_581123; LOC6.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3652), LOC6);
	memset((void*)(&LOC7), 0, sizeof(LOC7));
	LOC7.ClPrc = HEX3Aanonymous_581126; LOC7.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3654), LOC7);
	memset((void*)(&LOC8), 0, sizeof(LOC8));
	LOC8.ClPrc = HEX3Aanonymous_581129; LOC8.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3656), LOC8);
	memset((void*)(&LOC9), 0, sizeof(LOC9));
	LOC9.ClPrc = HEX3Aanonymous_581132; LOC9.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3658), LOC9);
	memset((void*)(&LOC10), 0, sizeof(LOC10));
	LOC10.ClPrc = HEX3Aanonymous_581135; LOC10.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3660), LOC10);
	memset((void*)(&LOC11), 0, sizeof(LOC11));
	LOC11.ClPrc = HEX3Aanonymous_581138; LOC11.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3662), LOC11);
	memset((void*)(&LOC12), 0, sizeof(LOC12));
	LOC12.ClPrc = HEX3Aanonymous_581141; LOC12.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3664), LOC12);
	memset((void*)(&LOC13), 0, sizeof(LOC13));
	LOC13.ClPrc = HEX3Aanonymous_581144; LOC13.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3666), LOC13);
	memset((void*)(&LOC14), 0, sizeof(LOC14));
	LOC14.ClPrc = HEX3Aanonymous_581147; LOC14.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3668), LOC14);
	memset((void*)(&LOC15), 0, sizeof(LOC15));
	LOC15.ClPrc = ((TMP3671) (HEX3Aanonymous_581150)); LOC15.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3670), LOC15);
	memset((void*)(&LOC16), 0, sizeof(LOC16));
	LOC16.ClPrc = ((TMP3673) (HEX3Aanonymous_581153)); LOC16.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3672), LOC16);
	memset((void*)(&LOC17), 0, sizeof(LOC17));
	LOC17.ClPrc = ((TMP3675) (HEX3Aanonymous_581156)); LOC17.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3674), LOC17);
	memset((void*)(&LOC18), 0, sizeof(LOC18));
	LOC18.ClPrc = ((TMP3677) (HEX3Aanonymous_581159)); LOC18.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3676), LOC18);
	memset((void*)(&LOC19), 0, sizeof(LOC19));
	LOC19.ClPrc = HEX3Aanonymous_581162; LOC19.ClEnv = HEX3Aenv_581315;
	registercallback_279401(result, ((NimStringDesc*) &TMP3678), LOC19);
	memset((void*)(&LOC20), 0, sizeof(LOC20));
	LOC20.ClPrc = ((TMP3680) (HEX3Aanonymous_581165)); LOC20.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3679), LOC20);
	memset((void*)(&LOC21), 0, sizeof(LOC21));
	LOC21.ClPrc = ((TMP3682) (HEX3Aanonymous_581168)); LOC21.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3681), LOC21);
	memset((void*)(&LOC22), 0, sizeof(LOC22));
	LOC22.ClPrc = ((TMP3684) (HEX3Aanonymous_581171)); LOC22.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3683), LOC22);
	memset((void*)(&LOC23), 0, sizeof(LOC23));
	LOC23.ClPrc = ((TMP3686) (HEX3Aanonymous_581174)); LOC23.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3685), LOC23);
	memset((void*)(&LOC24), 0, sizeof(LOC24));
	LOC24.ClPrc = ((TMP3689) (HEX3Aanonymous_581177)); LOC24.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3687), LOC24);
	memset((void*)(&LOC25), 0, sizeof(LOC25));
	LOC25.ClPrc = ((TMP3691) (HEX3Aanonymous_581180)); LOC25.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3690), LOC25);
	memset((void*)(&LOC26), 0, sizeof(LOC26));
	LOC26.ClPrc = ((TMP3693) (HEX3Aanonymous_581183)); LOC26.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3692), LOC26);
	memset((void*)(&LOC27), 0, sizeof(LOC27));
	LOC27.ClPrc = ((TMP3695) (HEX3Aanonymous_581186)); LOC27.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3694), LOC27);
	memset((void*)(&LOC28), 0, sizeof(LOC28));
	LOC28.ClPrc = ((TMP3698) (HEX3Aanonymous_581189)); LOC28.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3696), LOC28);
	memset((void*)(&LOC29), 0, sizeof(LOC29));
	LOC29.ClPrc = ((TMP3700) (HEX3Aanonymous_581193)); LOC29.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3699), LOC29);
	memset((void*)(&LOC30), 0, sizeof(LOC30));
	LOC30.ClPrc = ((TMP3702) (HEX3Aanonymous_581196)); LOC30.ClEnv = NIM_NIL;
	registercallback_279401(result, ((NimStringDesc*) &TMP3701), LOC30);
	return result;
}

N_NIMCALL(void, runnimscript_581327)(NimStringDesc* scriptname) {
	Tpass277017 LOC1;
	Tpass277017 LOC2;
	Tsym225841* m;
	Tllstream213204* LOC3;
	gincludefile_277073 = includemodule_576860;
	gimportmodule_277068 = importmodule_576824;
	initdefines_199254();
	definesymbol_199013(((NimStringDesc*) &TMP2022));
	definesymbol_199013(((NimStringDesc*) &TMP2023));
	LOC1.Field0 = myopen_502741;
	LOC1.Field1 = myopencached_502778;
	LOC1.Field2 = myprocess_502917;
	LOC1.Field3 = myclose_502933;
	registerpass_277190(LOC1);
	LOC2.Field0 = myopen_445295;
	LOC2.Field1 = NIM_NIL;
	LOC2.Field2 = myprocess_445412;
	LOC2.Field3 = myprocess_445412;
	registerpass_277190(LOC2);
	appendstr_141268((&searchpaths_167136), libpath_167233);
	m = makemodule_577007(scriptname);
	(*m).flags |= ((NU32)1)<<((((NU8) 12))%(sizeof(NU32)*8));
	asgnRef((void**) (&globalctx_445273), setupvm_581093(m, scriptname));
	compilesystemmodule_576910();
	LOC3 = 0;
	LOC3 = llstreamopen_213256(scriptname, ((NU8) 0));
	processmodule_277056(m, LOC3, NIM_NIL);
	resetallmoduleshard_576442();
	asgnRef((void**) (&globalctx_445273), NIM_NIL);
	undefsymbol_199022(((NimStringDesc*) &TMP2022));
	undefsymbol_199022(((NimStringDesc*) &TMP2023));
}
NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigInit000)(void) {
}

NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigDatInit000)(void) {
static TNimNode* TMP3639[3];
static TNimNode TMP1597[4];
NTI581200.size = sizeof(TY581200);
NTI581200.kind = 18;
NTI581200.base = 0;
NTI581200.flags = 2;
TMP3639[0] = &TMP1597[1];
TMP1597[1].kind = 1;
TMP1597[1].offset = offsetof(TY581200, HEX3Astate);
TMP1597[1].typ = (&NTI346033);
TMP1597[1].name = ":state";
TMP3639[1] = &TMP1597[2];
TMP1597[2].kind = 1;
TMP1597[2].offset = offsetof(TY581200, errormsg581098);
TMP1597[2].typ = (&NTI149);
TMP1597[2].name = "errorMsg581098";
TMP3639[2] = &TMP1597[3];
TMP1597[3].kind = 1;
TMP1597[3].offset = offsetof(TY581200, vthisdir581099);
TMP1597[3].typ = (&NTI149);
TMP1597[3].name = "vthisDir581099";
TMP1597[0].len = 3; TMP1597[0].kind = 2; TMP1597[0].sons = &TMP3639[0];
NTI581200.node = &TMP1597[0];
NTI581316.size = sizeof(TY581200*);
NTI581316.kind = 22;
NTI581316.base = (&NTI581200);
NTI581316.flags = 2;
NTI581316.marker = TMP3640;
}

