/* Generated by Nim Compiler v0.13.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 Tnode213790 Tnode213790;
typedef struct Tsym213822 Tsym213822;
typedef struct Tpass260014 Tpass260014;
typedef struct Tpasscontext260002 Tpasscontext260002;
typedef struct Trodreader251021 Trodreader251021;
typedef struct Tlinkedlist135016 Tlinkedlist135016;
typedef struct Tlistentry135010 Tlistentry135010;
typedef struct Tidobj188006 Tidobj188006;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Ttypeseq213824 Ttypeseq213824;
typedef struct Tscope213816 Tscope213816;
typedef struct TY213925 TY213925;
typedef struct Tstrtable213794 Tstrtable213794;
typedef struct Tsymseq213792 Tsymseq213792;
typedef struct Ttype213828 Ttype213828;
typedef struct Tident188012 Tident188012;
typedef struct Tlineinfo181337 Tlineinfo181337;
typedef struct Tloc213804 Tloc213804;
typedef struct Ropeobj168006 Ropeobj168006;
typedef struct Tlib213808 Tlib213808;
typedef struct Tctx262036 Tctx262036;
typedef struct TY534182 TY534182;
typedef struct TY262242 TY262242;
typedef struct TY182093 TY182093;
typedef struct PprocHEX3Aobjecttype262221 PprocHEX3Aobjecttype262221;
typedef struct TY262261 TY262261;
typedef struct TY118906 TY118906;
typedef struct Cell47705 Cell47705;
typedef struct Cellseq47721 Cellseq47721;
typedef struct Gcheap50018 Gcheap50018;
typedef struct Gcstack50016 Gcstack50016;
typedef struct Cellset47717 Cellset47717;
typedef struct Pagedesc47713 Pagedesc47713;
typedef struct Memregion29887 Memregion29887;
typedef struct Smallchunk29839 Smallchunk29839;
typedef struct Llchunk29881 Llchunk29881;
typedef struct Bigchunk29841 Bigchunk29841;
typedef struct Intset29814 Intset29814;
typedef struct Trunk29810 Trunk29810;
typedef struct Avlnode29885 Avlnode29885;
typedef struct Gcstat50014 Gcstat50014;
typedef struct Vmargs262030 Vmargs262030;
typedef struct Exception Exception;
typedef struct TSafePoint TSafePoint;
typedef struct TY125402 TY125402;
typedef struct Tllstream201204 Tllstream201204;
typedef struct Tnodeseq213784 Tnodeseq213784;
typedef struct TY213913 TY213913;
typedef struct Tindex251019 Tindex251019;
typedef struct Tiitable220163 Tiitable220163;
typedef struct Tiipairseq220161 Tiipairseq220161;
typedef struct Table251054 Table251054;
typedef struct Keyvaluepairseq251057 Keyvaluepairseq251057;
typedef struct Memfile249202 Memfile249202;
typedef struct Tinstantiation213812 Tinstantiation213812;
typedef struct TY262222 TY262222;
typedef struct TY262227 TY262227;
typedef struct TY262262 TY262262;
typedef struct Basechunk29837 Basechunk29837;
typedef struct Freecell29829 Freecell29829;
typedef struct Tiipair220159 Tiipair220159;
typedef struct Keyvaluepair251060 Keyvaluepair251060;
typedef struct Tblock262018 Tblock262018;
typedef struct TY262202 TY262202;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef N_NIMCALL_PTR(Tnode213790*, TY260054) (Tsym213822* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tsym213822*, TY260049) (Tsym213822* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tpasscontext260002*, Tpassopen260006) (Tsym213822* module);
typedef N_NIMCALL_PTR(Tpasscontext260002*, Tpassopencached260008) (Tsym213822* module, Trodreader251021* rd);
typedef N_NIMCALL_PTR(Tnode213790*, Tpassprocess260012) (Tpasscontext260002* p, Tnode213790* toplevelstmt);
typedef N_NIMCALL_PTR(Tnode213790*, Tpassclose260010) (Tpasscontext260002* p, Tnode213790* n);
struct Tpass260014 {
Tpassopen260006 Field0;
Tpassopencached260008 Field1;
Tpassprocess260012 Field2;
Tpassclose260010 Field3;
};
struct  Tlinkedlist135016  {
Tlistentry135010* head;
Tlistentry135010* tail;
NI counter;
};
typedef N_NIMCALL_PTR(void, TY3489) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3494) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3489 marker;
TY3494 deepcopy;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  Tidobj188006  {
  TNimObject Sup;
NI id;
};
struct  Tstrtable213794  {
NI counter;
Tsymseq213792* data;
};
struct  Tlineinfo181337  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  Tloc213804  {
NU8 k;
NU8 s;
NU16 flags;
Ttype213828* t;
Ropeobj168006* r;
Ropeobj168006* heaproot;
};
struct  Tsym213822  {
  Tidobj188006 Sup;
NU8 kind;
union{
struct {Ttypeseq213824* typeinstcache;
Tscope213816* typscope;
} S1;
struct {TY213925* procinstcache;
Tsym213822* gcunsafetyreason;
} S2;
struct {TY213925* usedgenerics;
Tstrtable213794 tab;
} S3;
struct {Tsym213822* guard;
NI bitsize;
} S4;
} kindU;
NU8 magic;
Ttype213828* typ;
Tident188012* name;
Tlineinfo181337 info;
Tsym213822* owner;
NU32 flags;
Tnode213790* ast;
NU32 options;
NI position;
NI offset;
Tloc213804 loc;
Tlib213808* annex;
Tnode213790* constraint;
};
struct  TY534182  {
NI HEX3Astate;
NimStringDesc* errormsg534080;
NimStringDesc* vthisdir534081;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Tpasscontext260002  {
  TNimObject Sup;
NIM_BOOL fromcache;
};
struct  Tctx262036  {
  Tpasscontext260002 Sup;
TY262242* code;
TY182093* debug;
Tnode213790* globals;
Tnode213790* constants;
Ttypeseq213824* types;
Tnode213790* currentexceptiona;
Tnode213790* currentexceptionb;
NI exceptioninstr;
PprocHEX3Aobjecttype262221* prc;
Tsym213822* module;
Tnode213790* callsite;
NU8 mode;
NU8 features;
NIM_BOOL traceactive;
NI loopiterations;
Tlineinfo181337 comesfromheuristic;
TY262261* callbacks;
NimStringDesc* errorflag;
};
struct TY118906 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
struct  Cell47705  {
NI refcount;
TNimType* typ;
};
struct  Cellseq47721  {
NI len;
NI cap;
Cell47705** d;
};
struct  Cellset47717  {
NI counter;
NI max;
Pagedesc47713* head;
Pagedesc47713** data;
};
typedef Smallchunk29839* TY29902[512];
typedef Trunk29810* Trunkbuckets29812[256];
struct  Intset29814  {
Trunkbuckets29812 data;
};
struct  Memregion29887  {
NI minlargeobj;
NI maxlargeobj;
TY29902 freesmallchunks;
Llchunk29881* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk29841* freechunkslist;
Intset29814 chunkstarts;
Avlnode29885* root;
Avlnode29885* deleted;
Avlnode29885* last;
Avlnode29885* freeavlnodes;
};
struct  Gcstat50014  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Gcheap50018  {
Gcstack50016* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq47721 zct;
Cellseq47721 decstack;
Cellset47717 cycleroots;
Cellseq47721 tempstack;
NI recgclock;
Memregion29887 region;
Gcstat50014 stat;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (Vmargs262030* args, void* ClEnv);
void* ClEnv;
} Vmcallback262032;
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;
} TY18011;
struct  TSafePoint  {
TSafePoint* prev;
NI status;
jmp_buf context;
NIM_BOOL hasRaiseAction;
TY18011 raiseAction;
};
typedef NIM_CHAR TY110370[256];
typedef N_CLOSURE_PTR(void, TMP3686) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3688) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3690) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3692) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3695) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3697) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3699) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3701) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3703) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3705) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3707) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3709) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3712) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3714) (Vmargs262030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3716) (Vmargs262030* args, void* ClEnv);
struct  Tnode213790  {
Ttype213828* typ;
Tlineinfo181337 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym213822* sym;
} S4;
struct {Tident188012* ident;
} S5;
struct {Tnodeseq213784* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
struct  Tiitable220163  {
NI counter;
Tiipairseq220161* data;
};
struct  Tindex251019  {
NI lastidxkey;
NI lastidxval;
Tiitable220163 tab;
NimStringDesc* r;
NI offset;
};
struct  Table251054  {
Keyvaluepairseq251057* data;
NI counter;
};
struct  Memfile249202  {
void* mem;
NI size;
int handle;
};
struct  Trodreader251021  {
  TNimObject Sup;
NI pos;
NCSTRING s;
NU32 options;
NU8 reason;
TY213913* moddeps;
TY213913* files;
NI dataidx;
NI convertersidx;
NI initidx;
NI interfidx;
NI compilerprocsidx;
NI methodsidx;
NimStringDesc* filename;
Tindex251019 index;
Tindex251019 imports;
NI readerindex;
NI line;
NI moduleid;
Table251054 syms;
Memfile249202 memfile;
Tsymseq213792* methods;
NimStringDesc* origfile;
NIM_BOOL inviewmode;
};
struct  Tlistentry135010  {
  TNimObject Sup;
Tlistentry135010* prev;
Tlistentry135010* next;
};
struct  Tscope213816  {
NI depthlevel;
Tstrtable213794 symbols;
Tnodeseq213784* usingsyms;
Tscope213816* parent;
};
struct  Ttype213828  {
  Tidobj188006 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq213824* sons;
Tnode213790* n;
Tsym213822* owner;
Tsym213822* sym;
Tsym213822* destructor;
Tsym213822* deepcopy;
Tsym213822* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc213804 loc;
};
struct  Tident188012  {
  Tidobj188006 Sup;
NimStringDesc* s;
Tident188012* next;
NI h;
};
struct  Ropeobj168006  {
  TNimObject Sup;
Ropeobj168006* left;
Ropeobj168006* right;
NI length;
NimStringDesc* data;
};
struct  Tlib213808  {
  Tlistentry135010 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj168006* name;
Tnode213790* path;
};
struct TY262227 {
NIM_BOOL Field0;
NU8 Field1;
};
typedef TY262227 TY262230[256];
struct  PprocHEX3Aobjecttype262221  {
TY262222* blocks;
Tsym213822* sym;
TY262230 slots;
NI maxslots;
};
struct TY262262 {
NimStringDesc* Field0;
Vmcallback262032 Field1;
};
struct  Gcstack50016  {
Gcstack50016* prev;
Gcstack50016* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY29818[16];
struct  Pagedesc47713  {
Pagedesc47713* next;
NI key;
TY29818 bits;
};
struct  Basechunk29837  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk29839  {
  Basechunk29837 Sup;
Smallchunk29839* next;
Smallchunk29839* prev;
Freecell29829* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk29881  {
NI size;
NI acc;
Llchunk29881* next;
};
struct  Bigchunk29841  {
  Basechunk29837 Sup;
Bigchunk29841* next;
Bigchunk29841* prev;
NI align;
NF data;
};
struct  Trunk29810  {
Trunk29810* next;
NI key;
TY29818 bits;
};
typedef Avlnode29885* TY29892[2];
struct  Avlnode29885  {
TY29892 link;
NI key;
NI upperbound;
NI level;
};
struct  Vmargs262030  {
NI ra;
NI rb;
NI rc;
void* slots;
Tnode213790* currentexception;
};
struct  Tllstream201204  {
  TNimObject Sup;
NU8 kind;
FILE* f;
NimStringDesc* s;
NI rd;
NI wr;
NI lineoffset;
};
struct  Tiipair220159  {
NI key;
NI val;
};
struct Keyvaluepair251060 {
NI Field0;
NI Field1;
Tsym213822* Field2;
};
struct  Tinstantiation213812  {
Tsym213822* sym;
Ttypeseq213824* concretetypes;
TY213913* usedby;
NI compilesid;
};
struct  Tblock262018  {
Tsym213822* label;
TY262202* fixups;
};
struct  Freecell29829  {
Freecell29829* next;
NI zerofield;
};
struct TY125402 {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
struct Ttypeseq213824 {
  TGenericSeq Sup;
  Ttype213828* data[SEQ_DECL_SIZE];
};
struct TY213925 {
  TGenericSeq Sup;
  Tinstantiation213812* data[SEQ_DECL_SIZE];
};
struct Tsymseq213792 {
  TGenericSeq Sup;
  Tsym213822* data[SEQ_DECL_SIZE];
};
struct TY262242 {
  TGenericSeq Sup;
  NU32 data[SEQ_DECL_SIZE];
};
struct TY182093 {
  TGenericSeq Sup;
  Tlineinfo181337 data[SEQ_DECL_SIZE];
};
struct TY262261 {
  TGenericSeq Sup;
  TY262262 data[SEQ_DECL_SIZE];
};
struct Tnodeseq213784 {
  TGenericSeq Sup;
  Tnode213790* data[SEQ_DECL_SIZE];
};
struct TY213913 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct Tiipairseq220161 {
  TGenericSeq Sup;
  Tiipair220159 data[SEQ_DECL_SIZE];
};
struct Keyvaluepairseq251057 {
  TGenericSeq Sup;
  Keyvaluepair251060 data[SEQ_DECL_SIZE];
};
struct TY262222 {
  TGenericSeq Sup;
  Tblock262018 data[SEQ_DECL_SIZE];
};
struct TY262202 {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
N_NIMCALL(Tnode213790*, includemodule_530818)(Tsym213822* s, NI32 fileidx);
N_NIMCALL(Tsym213822*, importmodule_530788)(Tsym213822* s, NI32 fileidx);
N_NIMCALL(void, initdefines_189184)(void);
N_NIMCALL(void, definesymbol_189004)(NimStringDesc* symbol);
N_NIMCALL(void, registerpass_260145)(Tpass260014 p);
N_NIMCALL(Tpasscontext260002*, myopen_466665)(Tsym213822* module);
N_NIMCALL(Tpasscontext260002*, myopencached_466696)(Tsym213822* module, Trodreader251021* rd);
N_NIMCALL(Tnode213790*, myprocess_466804)(Tpasscontext260002* context, Tnode213790* n);
N_NIMCALL(Tnode213790*, myclose_466814)(Tpasscontext260002* context, Tnode213790* n);
N_NIMCALL(Tpasscontext260002*, myopen_413030)(Tsym213822* module);
N_NIMCALL(Tnode213790*, myprocess_413203)(Tpasscontext260002* c, Tnode213790* n);
N_NIMCALL(void, appendstr_135244)(Tlinkedlist135016* list, NimStringDesc* data);
N_NIMCALL(Tsym213822*, makemodule_530884)(NimStringDesc* filename);
N_NIMCALL(Tctx262036*, setupvm_534075)(Tsym213822* module, NimStringDesc* scriptname);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP3655)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_NIMCALL(Tctx262036*, newctx_262267)(Tsym213822* module);
N_NIMCALL(void, registeradditionalops_412930)(Tctx262036* c);
N_NIMCALL(void, nossplitFile)(NimStringDesc* path, TY118906* Result);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(Cell47705*, usrtocell_51640)(void* usr);
static N_INLINE(void, rtladdzct_53201)(Cell47705* c);
N_NOINLINE(void, addzct_51617)(Cellseq47721* s, Cell47705* c);
N_NIMCALL(void, registercallback_262374)(Tctx262036* c, NimStringDesc* name, Vmcallback262032 callback);
N_CLOSURE(void, HEX3Aanonymous_534094)(Vmargs262030* a, void* ClEnv);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_NIMCALL(void, listdirs_534003)(Vmargs262030* a, NU8 filter);
N_NIMCALL(NimStringDesc*, getstring_401037)(Vmargs262030* 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_118665)(NimStringDesc* head, NimStringDesc* tail);
static N_INLINE(NIM_BOOL, direxists_122008)(NimStringDesc* dir);
N_NIMCALL(NIM_BOOL, nosexistsDir)(NimStringDesc* dir);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(void, setresult_400942)(Vmargs262030* a, TY125402* 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_87405)(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_54019)(Cell47705* c);
static N_INLINE(NIM_BOOL, canbecycleroot_51658)(Cell47705* c);
static N_INLINE(void, rtladdcycleroot_52420)(Cell47705* c);
N_NOINLINE(void, incl_48447)(Cellset47717* s, Cell47705* cell);
static N_INLINE(void, decref_53601)(Cell47705* c);
N_NIMCALL(void, reraiseException)(void);
N_CLOSURE(void, HEX3Aanonymous_534098)(Vmargs262030* a, void* ClEnv);
N_CLOSURE(void, HEX3Aanonymous_534102)(Vmargs262030* a, void* ClEnv);
N_NIMCALL(void, nosremoveDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_534105)(Vmargs262030* a, void* ClEnv);
N_NIMCALL(void, nosremoveFile)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_534108)(Vmargs262030* a, void* ClEnv);
N_NIMCALL(void, noscreateDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_534111)(Vmargs262030* a, void* ClEnv);
N_NIMCALL(void, setresult_400900)(Vmargs262030* a, NimStringDesc* v);
N_CLOSURE(void, HEX3Aanonymous_534114)(Vmargs262030* a, void* ClEnv);
static N_INLINE(void, setcurrentdir_123001)(NimStringDesc* newdir);
N_NOINLINE(void, raiseoserror_121003)(NI32 errorcode, NimStringDesc* additionalinfo);
N_NIMCALL(NI32, oslasterror_121019)(void);
N_CLOSURE(void, HEX3Aanonymous_534117)(Vmargs262030* a, void* ClEnv);
N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
N_CLOSURE(void, HEX3Aanonymous_534120)(Vmargs262030* a, void* ClEnv);
N_NIMCALL(void, nosmoveFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_534123)(Vmargs262030* a, void* ClEnv);
N_NIMCALL(void, noscopyFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_534126)(Vmargs262030* a, void* ClEnv);
N_NIMCALL(void, setresult_400851)(Vmargs262030* a, NF v);
N_NIMCALL(NF, toseconds_105457)(time_t time);
N_NIMCALL(time_t, nosgetLastModificationTime)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_534129)(Vmargs262030* a, void* ClEnv);
N_NIMCALL(void, setresult_400831)(Vmargs262030* a, NI64 v);
N_NIMCALL(NI, nospexecCmd)(NimStringDesc* command);
N_NIMCALL(void, HEX3Aanonymous_534132)(Vmargs262030* a);
N_NIMCALL(NimStringDesc*, getenv_126024)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_534135)(Vmargs262030* a);
N_NIMCALL(void, setresult_400871)(Vmargs262030* a, NIM_BOOL v_400874);
N_NIMCALL(NIM_BOOL, existsenv_126033)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_534138)(Vmargs262030* a);
N_NIMCALL(void, HEX3Aanonymous_534141)(Vmargs262030* a);
static N_INLINE(NIM_BOOL, fileexists_122004)(NimStringDesc* filename);
N_NIMCALL(NIM_BOOL, nosexistsFile)(NimStringDesc* filename);
N_CLOSURE(void, HEX3Aanonymous_534144)(Vmargs262030* a, void* ClEnv);
N_NIMCALL(void, HEX3Aanonymous_534147)(Vmargs262030* a);
N_NIMCALL(void, setconfigvar_159286)(NimStringDesc* key, NimStringDesc* val);
N_NIMCALL(void, HEX3Aanonymous_534150)(Vmargs262030* a);
N_NIMCALL(NimStringDesc*, getconfigvar_159282)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_534153)(Vmargs262030* a);
N_NIMCALL(NIM_BOOL, existsconfigvar_159278)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_534156)(Vmargs262030* a);
N_NIMCALL(NimStringDesc*, getnimcachedir_159610)(void);
N_NIMCALL(void, HEX3Aanonymous_534159)(Vmargs262030* a);
N_NIMCALL(NimStringDesc*, paramstr_131607)(NI i);
N_NIMCALL(NI64, getint_400986)(Vmargs262030* a, NI i);
N_NIMCALL(void, HEX3Aanonymous_534162)(Vmargs262030* a);
N_NIMCALL(NI, paramcount_131626)(void);
N_NIMCALL(void, HEX3Aanonymous_534165)(Vmargs262030* a);
N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_534168)(Vmargs262030* a);
N_NIMCALL(NI, nsuCmpIgnoreCase)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_534171)(Vmargs262030* a);
N_NIMCALL(NimStringDesc*, canonicalizepath_159405)(NimStringDesc* path);
N_NIMCALL(void, HEX3Aanonymous_534175)(Vmargs262030* a);
N_NIMCALL(void, HEX3Aanonymous_534178)(Vmargs262030* a);
N_NIMCALL(void, processswitch_199016)(NimStringDesc* switch_199018, NimStringDesc* arg, NU8 pass, Tlineinfo181337 info);
N_NIMCALL(Tlineinfo181337, unknownlineinfo_182090)(void);
N_NIMCALL(void, compilesystemmodule_530856)(void);
N_NIMCALL(void, processmodule_260044)(Tsym213822* module, Tllstream201204* stream, Trodreader251021* rd);
N_NIMCALL(Tllstream201204*, llstreamopen_201241)(NimStringDesc* filename, NU8 mode);
N_NIMCALL(void, resetallmoduleshard_530353)(void);
N_NIMCALL(void, undefsymbol_189007)(NimStringDesc* symbol);
STRING_LITERAL(TMP2058, "nimscript", 9);
STRING_LITERAL(TMP2059, "nimconfig", 9);
STRING_LITERAL(TMP3656, "stdlib.system.listFiles", 23);
STRING_LITERAL(TMP3658, ".", 1);
STRING_LITERAL(TMP3659, "..", 2);
STRING_LITERAL(TMP3660, "", 0);
STRING_LITERAL(TMP3661, "stdlib.system.listDirs", 22);
STRING_LITERAL(TMP3663, "stdlib.system.removeDir", 23);
STRING_LITERAL(TMP3667, "stdlib.system.removeFile", 24);
STRING_LITERAL(TMP3669, "stdlib.system.createDir", 23);
STRING_LITERAL(TMP3671, "stdlib.system.getOsError", 24);
STRING_LITERAL(TMP3673, "stdlib.system.setCurrentDir", 27);
STRING_LITERAL(TMP3675, "stdlib.system.getCurrentDir", 27);
STRING_LITERAL(TMP3677, "stdlib.system.moveFile", 22);
STRING_LITERAL(TMP3679, "stdlib.system.copyFile", 22);
STRING_LITERAL(TMP3681, "stdlib.system.getLastModificationTime", 37);
STRING_LITERAL(TMP3683, "stdlib.system.rawExec", 21);
STRING_LITERAL(TMP3685, "stdlib.system.getEnv", 20);
STRING_LITERAL(TMP3687, "stdlib.system.existsEnv", 23);
STRING_LITERAL(TMP3689, "stdlib.system.dirExists", 23);
STRING_LITERAL(TMP3691, "stdlib.system.fileExists", 24);
STRING_LITERAL(TMP3693, "stdlib.system.thisDir", 21);
STRING_LITERAL(TMP3694, "stdlib.system.put", 17);
STRING_LITERAL(TMP3696, "stdlib.system.get", 17);
STRING_LITERAL(TMP3698, "stdlib.system.exists", 20);
STRING_LITERAL(TMP3700, "stdlib.system.nimcacheDir", 25);
STRING_LITERAL(TMP3702, "stdlib.system.paramStr", 22);
STRING_LITERAL(TMP3704, "stdlib.system.paramCount", 24);
STRING_LITERAL(TMP3706, "stdlib.system.cmpIgnoreStyle", 28);
STRING_LITERAL(TMP3708, "stdlib.system.cmpIgnoreCase", 27);
STRING_LITERAL(TMP3710, "stdlib.system.setCommand", 24);
STRING_LITERAL(TMP3713, "stdlib.system.getCommand", 24);
STRING_LITERAL(TMP3715, "stdlib.system.switch", 20);
extern TY260054 gincludefile_260058;
extern TY260049 gimportmodule_260053;
extern Tlinkedlist135016 searchpaths_159125;
extern NimStringDesc* libpath_159198;
extern Tctx262036* globalctx_413017;
TNimType NTI534182; /* object */
extern TNimType NTI324021; /* range -1..0(int) */
extern TNimType NTI138; /* string */
TNimType NTI534181; /* ref object */
extern Gcheap50018 gch_50059;
extern TSafePoint* exchandler_19637;
extern TNimType NTI125402; /* seq[string] */
extern TNimType NTI3630; /* OSError */
extern Exception* currexception_19639;
extern NimStringDesc* command_159205;
extern NimStringDesc* gprojectname_159199;
extern NimStringDesc* gprojectfull_159201;
extern NimStringDesc* gprojectpath_159200;
N_NIMCALL(void, TMP3655)(void* p, NI op) {
	TY534182* a;
	a = (TY534182*)p;
	nimGCvisit((void*)(*a).errormsg534080, op);
	nimGCvisit((void*)(*a).vthisdir534081, op);
}

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

static N_INLINE(void, rtladdzct_53201)(Cell47705* c) {
	addzct_51617((&gch_50059.zct), c);
}

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

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

N_NIMCALL(void, listdirs_534003)(Vmargs262030* a, NU8 filter) {
	NimStringDesc* dir;
	TY125402* result;
	dir = getstring_401037(a, ((NI) 0));
	result = (TY125402*) newSeq((&NTI125402), 0);
	{
		NU8 kind_534027;
		NimStringDesc* path_534028;
		DIR* d_534066;
		kind_534027 = 0;
		path_534028 = 0;
		d_534066 = opendir(dir->data);
		{
			int LOC66;
			if (!!((d_534066 == NIM_NIL))) goto LA4;
			{
				while (1) {
					{
						struct dirent* x_534068;
						NimStringDesc* y_534070;
						x_534068 = readdir(d_534066);
						{
							if (!(x_534068 == NIM_NIL)) goto LA11;
							goto LA6;
						}
						LA11: ;
						y_534070 = cstrToNimstr(((NCSTRING) ((*x_534068).d_name)));
						{
							NIM_BOOL LOC15;
							struct stat s_534072;
							NU8 k_534074;
							LOC15 = 0;
							LOC15 = !(eqStrings(y_534070, ((NimStringDesc*) &TMP3658)));
							if (!(LOC15)) goto LA16;
							LOC15 = !(eqStrings(y_534070, ((NimStringDesc*) &TMP3659)));
							LA16: ;
							if (!LOC15) goto LA17;
							memset((void*)(&s_534072), 0, sizeof(s_534072));
							{
								if (!NIM_TRUE) goto LA21;
								y_534070 = HEX2F_118665(dir, y_534070);
							}
							LA21: ;
							k_534074 = ((NU8) 0);
							{
								if (!!(((*x_534068).d_type == ((NI8) 0)))) goto LA25;
								{
									if (!((*x_534068).d_type == ((NI8) 4))) goto LA29;
									k_534074 = ((NU8) 2);
								}
								LA29: ;
								{
									if (!((*x_534068).d_type == ((NI8) 10))) goto LA33;
									{
										NIM_BOOL LOC37;
										LOC37 = 0;
										LOC37 = direxists_122008(y_534070);
										if (!LOC37) goto LA38;
										k_534074 = ((NU8) 3);
									}
									goto LA35;
									LA38: ;
									{
										k_534074 = (NU8)(k_534074 + ((NI) 1));
									}
									LA35: ;
								}
								LA33: ;
								kind_534027 = k_534074;
								path_534028 = y_534070;
								{
									NimStringDesc* LOC45;
									if (!((filter &(1U<<((NU)(kind_534027)&7U)))!=0)) goto LA43;
									result = (TY125402*) incrSeqV2(&(result)->Sup, sizeof(NimStringDesc*));
									LOC45 = 0;
									LOC45 = result->data[result->Sup.len]; result->data[result->Sup.len] = copyStringRC1(path_534028);
									if (LOC45) nimGCunrefNoCycle(LOC45);
									++result->Sup.len;
								}
								LA43: ;
								goto LA8;
							}
							LA25: ;
							{
								int LOC48;
								LOC48 = 0;
								LOC48 = lstat(y_534070->data, (&s_534072));
								if (!(LOC48 < ((NI32) 0))) goto LA49;
								goto LA6;
							}
							LA49: ;
							{
								NIM_BOOL LOC53;
								LOC53 = 0;
								LOC53 = S_ISDIR(s_534072.st_mode);
								if (!LOC53) goto LA54;
								k_534074 = ((NU8) 2);
							}
							LA54: ;
							{
								NIM_BOOL LOC58;
								LOC58 = 0;
								LOC58 = S_ISLNK(s_534072.st_mode);
								if (!LOC58) goto LA59;
								k_534074 = (NU8)(k_534074 + ((NI) 1));
							}
							LA59: ;
							kind_534027 = k_534074;
							path_534028 = y_534070;
							{
								NimStringDesc* LOC65;
								if (!((filter &(1U<<((NU)(kind_534027)&7U)))!=0)) goto LA63;
								result = (TY125402*) incrSeqV2(&(result)->Sup, sizeof(NimStringDesc*));
								LOC65 = 0;
								LOC65 = result->data[result->Sup.len]; result->data[result->Sup.len] = copyStringRC1(path_534028);
								if (LOC65) nimGCunrefNoCycle(LOC65);
								++result->Sup.len;
							}
							LA63: ;
						}
						LA17: ;
					} LA8: ;
				}
			} LA6: ;
			LOC66 = 0;
			LOC66 = closedir(d_534066);
		}
		LA4: ;
	}
	setresult_400942(a, result);
}

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

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

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

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

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

static N_INLINE(void, rtladdcycleroot_52420)(Cell47705* c) {
	{
		if (!!((((NI) ((NI)((*c).refcount & ((NI) 3)))) == ((NI) 3)))) goto LA3;
		(*c).refcount = (NI)((NI)((*c).refcount & ((NI) -4)) | ((NI) 3));
		incl_48447((&gch_50059.cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_54019)(Cell47705* c) {
	(*c).refcount = (NI)((NU32)((*c).refcount) + (NU32)(((NI) 8)));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_51658(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_52420(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_53601)(Cell47705* c) {
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3;
		rtladdzct_53201(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_51658(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_52420(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		Cell47705* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_51640(src);
		incref_54019(LOC5);
	}
	LA3: ;
	{
		Cell47705* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_51640((*dest));
		decref_53601(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

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

N_CLOSURE(void, HEX3Aanonymous_534094)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534185;
	TSafePoint TMP3657;
	HEX3Aenvp_534185 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3657);
	TMP3657.status = _setjmp(TMP3657.context);
	if (TMP3657.status == 0) {
		listdirs_534003(a, 3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3657.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534185).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3657.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_534098)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534187;
	TSafePoint TMP3662;
	HEX3Aenvp_534187 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3662);
	TMP3662.status = _setjmp(TMP3662.context);
	if (TMP3662.status == 0) {
		listdirs_534003(a, 4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3662.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534187).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3662.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_534102)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534188;
	TSafePoint TMP3664;
	HEX3Aenvp_534188 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3664);
	TMP3664.status = _setjmp(TMP3664.context);
	if (TMP3664.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_401037(a, ((NI) 0));
		nosremoveDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3664.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534188).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3664.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_534105)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534189;
	TSafePoint TMP3668;
	HEX3Aenvp_534189 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3668);
	TMP3668.status = _setjmp(TMP3668.context);
	if (TMP3668.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_401037(a, ((NI) 0));
		nosremoveFile(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3668.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534189).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3668.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_534108)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534190;
	TSafePoint TMP3670;
	HEX3Aenvp_534190 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3670);
	TMP3670.status = _setjmp(TMP3670.context);
	if (TMP3670.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_401037(a, ((NI) 0));
		noscreateDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3670.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534190).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3670.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_534111)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534191;
	TSafePoint TMP3672;
	HEX3Aenvp_534191 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3672);
	TMP3672.status = _setjmp(TMP3672.context);
	if (TMP3672.status == 0) {
		setresult_400900(a, (*HEX3Aenvp_534191).errormsg534080);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3672.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534191).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3672.status != 0) reraiseException();
}

static N_INLINE(void, setcurrentdir_123001)(NimStringDesc* newdir) {
	{
		int LOC3;
		NI32 LOC6;
		LOC3 = 0;
		LOC3 = chdir(newdir->data);
		if (!!((LOC3 == ((NI32) 0)))) goto LA4;
		LOC6 = 0;
		LOC6 = oslasterror_121019();
		raiseoserror_121003(LOC6, ((NimStringDesc*) &TMP3660));
	}
	LA4: ;
}

N_CLOSURE(void, HEX3Aanonymous_534114)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534192;
	TSafePoint TMP3674;
	HEX3Aenvp_534192 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3674);
	TMP3674.status = _setjmp(TMP3674.context);
	if (TMP3674.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_401037(a, ((NI) 0));
		setcurrentdir_123001(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3674.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534192).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3674.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_534117)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534193;
	TSafePoint TMP3676;
	HEX3Aenvp_534193 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3676);
	TMP3676.status = _setjmp(TMP3676.context);
	if (TMP3676.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = nosgetCurrentDir();
		setresult_400900(a, LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3676.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534193).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3676.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_534120)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534194;
	TSafePoint TMP3678;
	HEX3Aenvp_534194 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3678);
	TMP3678.status = _setjmp(TMP3678.context);
	if (TMP3678.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_401037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_401037(a, ((NI) 1));
		nosmoveFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3678.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534194).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3678.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_534123)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534195;
	TSafePoint TMP3680;
	HEX3Aenvp_534195 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3680);
	TMP3680.status = _setjmp(TMP3680.context);
	if (TMP3680.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_401037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_401037(a, ((NI) 1));
		noscopyFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3680.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534195).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3680.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_534126)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534196;
	TSafePoint TMP3682;
	HEX3Aenvp_534196 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3682);
	TMP3682.status = _setjmp(TMP3682.context);
	if (TMP3682.status == 0) {
		NimStringDesc* LOC2;
		time_t LOC3;
		NF LOC4;
		LOC2 = 0;
		LOC2 = getstring_401037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nosgetLastModificationTime(LOC2);
		LOC4 = 0;
		LOC4 = toseconds_105457(LOC3);
		setresult_400851(a, LOC4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3682.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534196).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3682.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_534129)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534197;
	TSafePoint TMP3684;
	HEX3Aenvp_534197 = (TY534182*) ClEnv;
	pushSafePoint(&TMP3684);
	TMP3684.status = _setjmp(TMP3684.context);
	if (TMP3684.status == 0) {
		NimStringDesc* LOC2;
		NI LOC3;
		LOC2 = 0;
		LOC2 = getstring_401037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nospexecCmd(LOC2);
		setresult_400831(a, ((NI64) (LOC3)));
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3684.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_534197).errormsg534080), getcurrentexceptionmsg_87405());
			popCurrentException();
		}
	}
	if (TMP3684.status != 0) reraiseException();
}

N_NIMCALL(void, HEX3Aanonymous_534132)(Vmargs262030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_401037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getenv_126024(LOC1);
	setresult_400900(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_534135)(Vmargs262030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_401037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsenv_126033(LOC1);
	setresult_400871(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_534138)(Vmargs262030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_401037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = direxists_122008(LOC1);
	setresult_400871(a, LOC2);
}

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

N_NIMCALL(void, HEX3Aanonymous_534141)(Vmargs262030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_401037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = fileexists_122004(LOC1);
	setresult_400871(a, LOC2);
}

N_CLOSURE(void, HEX3Aanonymous_534144)(Vmargs262030* a, void* ClEnv) {
	TY534182* HEX3Aenvp_534198;
	HEX3Aenvp_534198 = (TY534182*) ClEnv;
	setresult_400900(a, (*HEX3Aenvp_534198).vthisdir534081);
}

N_NIMCALL(void, HEX3Aanonymous_534147)(Vmargs262030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_401037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_401037(a, ((NI) 1));
	setconfigvar_159286(LOC1, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_534150)(Vmargs262030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_401037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getconfigvar_159282(LOC1);
	setresult_400900(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_534153)(Vmargs262030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_401037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsconfigvar_159278(LOC1);
	setresult_400871(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_534156)(Vmargs262030* a) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = getnimcachedir_159610();
	setresult_400900(a, LOC1);
}

N_NIMCALL(void, HEX3Aanonymous_534159)(Vmargs262030* a) {
	NI64 LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getint_400986(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = paramstr_131607(((NI) (LOC1)));
	setresult_400900(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_534162)(Vmargs262030* a) {
	NI LOC1;
	LOC1 = 0;
	LOC1 = paramcount_131626();
	setresult_400831(a, ((NI64) (LOC1)));
}

N_NIMCALL(void, HEX3Aanonymous_534165)(Vmargs262030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_401037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_401037(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreStyle(LOC1, LOC2);
	setresult_400831(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_534168)(Vmargs262030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_401037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_401037(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreCase(LOC1, LOC2);
	setresult_400831(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_534171)(Vmargs262030* a) {
	NimStringDesc* arg;
	asgnRefNoCycle((void**) (&command_159205), getstring_401037(a, ((NI) 0)));
	arg = getstring_401037(a, ((NI) 1));
	{
		NimStringDesc* LOC5;
		TSafePoint TMP3711;
		if (!(((NI) 0) < (arg ? arg->Sup.len : 0))) goto LA3;
		LOC5 = 0;
		LOC5 = gprojectname_159199; gprojectname_159199 = copyStringRC1(arg);
		if (LOC5) nimGCunrefNoCycle(LOC5);
		pushSafePoint(&TMP3711);
		TMP3711.status = _setjmp(TMP3711.context);
		if (TMP3711.status == 0) {
			NimStringDesc* LOC7;
			LOC7 = 0;
			LOC7 = HEX2F_118665(gprojectpath_159200, gprojectname_159199);
			asgnRefNoCycle((void**) (&gprojectfull_159201), canonicalizepath_159405(LOC7));
			popSafePoint();
		}
		else {
			popSafePoint();
			if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
				NimStringDesc* LOC10;
				TMP3711.status = 0;
				LOC10 = 0;
				LOC10 = gprojectfull_159201; gprojectfull_159201 = copyStringRC1(gprojectname_159199);
				if (LOC10) nimGCunrefNoCycle(LOC10);
				popCurrentException();
			}
		}
		if (TMP3711.status != 0) reraiseException();
	}
	LA3: ;
}

N_NIMCALL(void, HEX3Aanonymous_534175)(Vmargs262030* a) {
	setresult_400900(a, command_159205);
}

N_NIMCALL(void, HEX3Aanonymous_534178)(Vmargs262030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	Tlineinfo181337 LOC3;
	LOC1 = 0;
	LOC1 = getstring_401037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_401037(a, ((NI) 1));
	LOC3 = unknownlineinfo_182090();
	processswitch_199016(LOC1, LOC2, ((NU8) 2), LOC3);
}

N_NIMCALL(Tctx262036*, setupvm_534075)(Tsym213822* module, NimStringDesc* scriptname) {
	Tctx262036* result;
	TY534182* HEX3Aenv_534200;
	TY118906 LOC1;
	NimStringDesc* LOC2;
	Vmcallback262032 LOC3;
	Vmcallback262032 LOC4;
	Vmcallback262032 LOC5;
	Vmcallback262032 LOC6;
	Vmcallback262032 LOC7;
	Vmcallback262032 LOC8;
	Vmcallback262032 LOC9;
	Vmcallback262032 LOC10;
	Vmcallback262032 LOC11;
	Vmcallback262032 LOC12;
	Vmcallback262032 LOC13;
	Vmcallback262032 LOC14;
	Vmcallback262032 LOC15;
	Vmcallback262032 LOC16;
	Vmcallback262032 LOC17;
	Vmcallback262032 LOC18;
	Vmcallback262032 LOC19;
	Vmcallback262032 LOC20;
	Vmcallback262032 LOC21;
	Vmcallback262032 LOC22;
	Vmcallback262032 LOC23;
	Vmcallback262032 LOC24;
	Vmcallback262032 LOC25;
	Vmcallback262032 LOC26;
	Vmcallback262032 LOC27;
	Vmcallback262032 LOC28;
	Vmcallback262032 LOC29;
	Vmcallback262032 LOC30;
	result = 0;
	HEX3Aenv_534200 = 0;
	HEX3Aenv_534200 = (TY534182*) newObj((&NTI534181), sizeof(TY534182));
	result = newctx_262267(module);
	(*result).mode = ((NU8) 0);
	registeradditionalops_412930(result);
	memset((void*)(&LOC1), 0, sizeof(LOC1));
	nossplitFile(scriptname, (&LOC1));
	LOC2 = 0;
	LOC2 = (*HEX3Aenv_534200).vthisdir534081; (*HEX3Aenv_534200).vthisdir534081 = copyStringRC1(LOC1.Field0);
	if (LOC2) nimGCunrefNoCycle(LOC2);
	memset((void*)(&LOC3), 0, sizeof(LOC3));
	LOC3.ClPrc = HEX3Aanonymous_534094; LOC3.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3656), LOC3);
	memset((void*)(&LOC4), 0, sizeof(LOC4));
	LOC4.ClPrc = HEX3Aanonymous_534098; LOC4.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3661), LOC4);
	memset((void*)(&LOC5), 0, sizeof(LOC5));
	LOC5.ClPrc = HEX3Aanonymous_534102; LOC5.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3663), LOC5);
	memset((void*)(&LOC6), 0, sizeof(LOC6));
	LOC6.ClPrc = HEX3Aanonymous_534105; LOC6.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3667), LOC6);
	memset((void*)(&LOC7), 0, sizeof(LOC7));
	LOC7.ClPrc = HEX3Aanonymous_534108; LOC7.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3669), LOC7);
	memset((void*)(&LOC8), 0, sizeof(LOC8));
	LOC8.ClPrc = HEX3Aanonymous_534111; LOC8.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3671), LOC8);
	memset((void*)(&LOC9), 0, sizeof(LOC9));
	LOC9.ClPrc = HEX3Aanonymous_534114; LOC9.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3673), LOC9);
	memset((void*)(&LOC10), 0, sizeof(LOC10));
	LOC10.ClPrc = HEX3Aanonymous_534117; LOC10.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3675), LOC10);
	memset((void*)(&LOC11), 0, sizeof(LOC11));
	LOC11.ClPrc = HEX3Aanonymous_534120; LOC11.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3677), LOC11);
	memset((void*)(&LOC12), 0, sizeof(LOC12));
	LOC12.ClPrc = HEX3Aanonymous_534123; LOC12.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3679), LOC12);
	memset((void*)(&LOC13), 0, sizeof(LOC13));
	LOC13.ClPrc = HEX3Aanonymous_534126; LOC13.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3681), LOC13);
	memset((void*)(&LOC14), 0, sizeof(LOC14));
	LOC14.ClPrc = HEX3Aanonymous_534129; LOC14.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3683), LOC14);
	memset((void*)(&LOC15), 0, sizeof(LOC15));
	LOC15.ClPrc = ((TMP3686) (HEX3Aanonymous_534132)); LOC15.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3685), LOC15);
	memset((void*)(&LOC16), 0, sizeof(LOC16));
	LOC16.ClPrc = ((TMP3688) (HEX3Aanonymous_534135)); LOC16.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3687), LOC16);
	memset((void*)(&LOC17), 0, sizeof(LOC17));
	LOC17.ClPrc = ((TMP3690) (HEX3Aanonymous_534138)); LOC17.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3689), LOC17);
	memset((void*)(&LOC18), 0, sizeof(LOC18));
	LOC18.ClPrc = ((TMP3692) (HEX3Aanonymous_534141)); LOC18.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3691), LOC18);
	memset((void*)(&LOC19), 0, sizeof(LOC19));
	LOC19.ClPrc = HEX3Aanonymous_534144; LOC19.ClEnv = HEX3Aenv_534200;
	registercallback_262374(result, ((NimStringDesc*) &TMP3693), LOC19);
	memset((void*)(&LOC20), 0, sizeof(LOC20));
	LOC20.ClPrc = ((TMP3695) (HEX3Aanonymous_534147)); LOC20.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3694), LOC20);
	memset((void*)(&LOC21), 0, sizeof(LOC21));
	LOC21.ClPrc = ((TMP3697) (HEX3Aanonymous_534150)); LOC21.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3696), LOC21);
	memset((void*)(&LOC22), 0, sizeof(LOC22));
	LOC22.ClPrc = ((TMP3699) (HEX3Aanonymous_534153)); LOC22.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3698), LOC22);
	memset((void*)(&LOC23), 0, sizeof(LOC23));
	LOC23.ClPrc = ((TMP3701) (HEX3Aanonymous_534156)); LOC23.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3700), LOC23);
	memset((void*)(&LOC24), 0, sizeof(LOC24));
	LOC24.ClPrc = ((TMP3703) (HEX3Aanonymous_534159)); LOC24.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3702), LOC24);
	memset((void*)(&LOC25), 0, sizeof(LOC25));
	LOC25.ClPrc = ((TMP3705) (HEX3Aanonymous_534162)); LOC25.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3704), LOC25);
	memset((void*)(&LOC26), 0, sizeof(LOC26));
	LOC26.ClPrc = ((TMP3707) (HEX3Aanonymous_534165)); LOC26.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3706), LOC26);
	memset((void*)(&LOC27), 0, sizeof(LOC27));
	LOC27.ClPrc = ((TMP3709) (HEX3Aanonymous_534168)); LOC27.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3708), LOC27);
	memset((void*)(&LOC28), 0, sizeof(LOC28));
	LOC28.ClPrc = ((TMP3712) (HEX3Aanonymous_534171)); LOC28.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3710), LOC28);
	memset((void*)(&LOC29), 0, sizeof(LOC29));
	LOC29.ClPrc = ((TMP3714) (HEX3Aanonymous_534175)); LOC29.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3713), LOC29);
	memset((void*)(&LOC30), 0, sizeof(LOC30));
	LOC30.ClPrc = ((TMP3716) (HEX3Aanonymous_534178)); LOC30.ClEnv = NIM_NIL;
	registercallback_262374(result, ((NimStringDesc*) &TMP3715), LOC30);
	return result;
}

N_NIMCALL(void, runnimscript_534202)(NimStringDesc* scriptname) {
	Tpass260014 LOC1;
	Tpass260014 LOC2;
	Tsym213822* m;
	Tllstream201204* LOC3;
	gincludefile_260058 = includemodule_530818;
	gimportmodule_260053 = importmodule_530788;
	initdefines_189184();
	definesymbol_189004(((NimStringDesc*) &TMP2058));
	definesymbol_189004(((NimStringDesc*) &TMP2059));
	LOC1.Field0 = myopen_466665;
	LOC1.Field1 = myopencached_466696;
	LOC1.Field2 = myprocess_466804;
	LOC1.Field3 = myclose_466814;
	registerpass_260145(LOC1);
	LOC2.Field0 = myopen_413030;
	LOC2.Field1 = NIM_NIL;
	LOC2.Field2 = myprocess_413203;
	LOC2.Field3 = myprocess_413203;
	registerpass_260145(LOC2);
	appendstr_135244((&searchpaths_159125), libpath_159198);
	m = makemodule_530884(scriptname);
	(*m).flags |= ((NU32)1)<<((((NU8) 12))%(sizeof(NU32)*8));
	asgnRef((void**) (&globalctx_413017), setupvm_534075(m, scriptname));
	compilesystemmodule_530856();
	LOC3 = 0;
	LOC3 = llstreamopen_201241(scriptname, ((NU8) 0));
	processmodule_260044(m, LOC3, NIM_NIL);
	resetallmoduleshard_530353();
	asgnRef((void**) (&globalctx_413017), NIM_NIL);
	undefsymbol_189007(((NimStringDesc*) &TMP2058));
	undefsymbol_189007(((NimStringDesc*) &TMP2059));
}
NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigInit000)(void) {
}

NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigDatInit000)(void) {
static TNimNode* TMP3654[3];
static TNimNode TMP1631[4];
NTI534182.size = sizeof(TY534182);
NTI534182.kind = 18;
NTI534182.base = 0;
NTI534182.flags = 2;
TMP3654[0] = &TMP1631[1];
TMP1631[1].kind = 1;
TMP1631[1].offset = offsetof(TY534182, HEX3Astate);
TMP1631[1].typ = (&NTI324021);
TMP1631[1].name = ":state";
TMP3654[1] = &TMP1631[2];
TMP1631[2].kind = 1;
TMP1631[2].offset = offsetof(TY534182, errormsg534080);
TMP1631[2].typ = (&NTI138);
TMP1631[2].name = "errorMsg534080";
TMP3654[2] = &TMP1631[3];
TMP1631[3].kind = 1;
TMP1631[3].offset = offsetof(TY534182, vthisdir534081);
TMP1631[3].typ = (&NTI138);
TMP1631[3].name = "vthisDir534081";
TMP1631[0].len = 3; TMP1631[0].kind = 2; TMP1631[0].sons = &TMP3654[0];
NTI534182.node = &TMP1631[0];
NTI534181.size = sizeof(TY534182*);
NTI534181.kind = 22;
NTI534181.base = (&NTI534182);
NTI534181.flags = 2;
NTI534181.marker = TMP3655;
}

