/* 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 Tnode214790 Tnode214790;
typedef struct Tsym214822 Tsym214822;
typedef struct Tpass261014 Tpass261014;
typedef struct Tpasscontext261002 Tpasscontext261002;
typedef struct Trodreader252021 Trodreader252021;
typedef struct Tlinkedlist135016 Tlinkedlist135016;
typedef struct Tlistentry135010 Tlistentry135010;
typedef struct Tidobj189006 Tidobj189006;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Ttypeseq214824 Ttypeseq214824;
typedef struct Tscope214816 Tscope214816;
typedef struct TY214925 TY214925;
typedef struct Tstrtable214794 Tstrtable214794;
typedef struct Tsymseq214792 Tsymseq214792;
typedef struct Ttype214828 Ttype214828;
typedef struct Tident189012 Tident189012;
typedef struct Tlineinfo182337 Tlineinfo182337;
typedef struct Tloc214804 Tloc214804;
typedef struct Ropeobj169006 Ropeobj169006;
typedef struct Tlib214808 Tlib214808;
typedef struct Tctx263036 Tctx263036;
typedef struct TY535182 TY535182;
typedef struct TY263242 TY263242;
typedef struct TY183093 TY183093;
typedef struct PprocHEX3Aobjecttype263221 PprocHEX3Aobjecttype263221;
typedef struct TY263261 TY263261;
typedef struct TY118706 TY118706;
typedef struct Cell47505 Cell47505;
typedef struct Cellseq47521 Cellseq47521;
typedef struct Gcheap49818 Gcheap49818;
typedef struct Gcstack49816 Gcstack49816;
typedef struct Cellset47517 Cellset47517;
typedef struct Pagedesc47513 Pagedesc47513;
typedef struct Memregion29687 Memregion29687;
typedef struct Smallchunk29639 Smallchunk29639;
typedef struct Llchunk29681 Llchunk29681;
typedef struct Bigchunk29641 Bigchunk29641;
typedef struct Intset29614 Intset29614;
typedef struct Trunk29610 Trunk29610;
typedef struct Avlnode29685 Avlnode29685;
typedef struct Gcstat49814 Gcstat49814;
typedef struct Vmargs263030 Vmargs263030;
typedef struct Exception Exception;
typedef struct TSafePoint TSafePoint;
typedef struct TY125202 TY125202;
typedef struct Tllstream202204 Tllstream202204;
typedef struct Tnodeseq214784 Tnodeseq214784;
typedef struct TY214913 TY214913;
typedef struct Tindex252019 Tindex252019;
typedef struct Tiitable221163 Tiitable221163;
typedef struct Tiipairseq221161 Tiipairseq221161;
typedef struct Table252054 Table252054;
typedef struct Keyvaluepairseq252057 Keyvaluepairseq252057;
typedef struct Memfile250202 Memfile250202;
typedef struct Tinstantiation214812 Tinstantiation214812;
typedef struct TY263222 TY263222;
typedef struct TY263227 TY263227;
typedef struct TY263262 TY263262;
typedef struct Basechunk29637 Basechunk29637;
typedef struct Freecell29629 Freecell29629;
typedef struct Tiipair221159 Tiipair221159;
typedef struct Keyvaluepair252060 Keyvaluepair252060;
typedef struct Tblock263018 Tblock263018;
typedef struct TY263202 TY263202;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef N_NIMCALL_PTR(Tnode214790*, TY261054) (Tsym214822* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tsym214822*, TY261049) (Tsym214822* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tpasscontext261002*, Tpassopen261006) (Tsym214822* module);
typedef N_NIMCALL_PTR(Tpasscontext261002*, Tpassopencached261008) (Tsym214822* module, Trodreader252021* rd);
typedef N_NIMCALL_PTR(Tnode214790*, Tpassprocess261012) (Tpasscontext261002* p, Tnode214790* toplevelstmt);
typedef N_NIMCALL_PTR(Tnode214790*, Tpassclose261010) (Tpasscontext261002* p, Tnode214790* n);
struct Tpass261014 {
Tpassopen261006 Field0;
Tpassopencached261008 Field1;
Tpassprocess261012 Field2;
Tpassclose261010 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  Tidobj189006  {
  TNimObject Sup;
NI id;
};
struct  Tstrtable214794  {
NI counter;
Tsymseq214792* data;
};
struct  Tlineinfo182337  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  Tloc214804  {
NU8 k;
NU8 s;
NU16 flags;
Ttype214828* t;
Ropeobj169006* r;
Ropeobj169006* heaproot;
};
struct  Tsym214822  {
  Tidobj189006 Sup;
NU8 kind;
union{
struct {Ttypeseq214824* typeinstcache;
Tscope214816* typscope;
} S1;
struct {TY214925* procinstcache;
Tsym214822* gcunsafetyreason;
} S2;
struct {TY214925* usedgenerics;
Tstrtable214794 tab;
} S3;
struct {Tsym214822* guard;
NI bitsize;
} S4;
} kindU;
NU8 magic;
Ttype214828* typ;
Tident189012* name;
Tlineinfo182337 info;
Tsym214822* owner;
NU32 flags;
Tnode214790* ast;
NU32 options;
NI position;
NI offset;
Tloc214804 loc;
Tlib214808* annex;
Tnode214790* constraint;
};
struct  TY535182  {
NI HEX3Astate;
NimStringDesc* errormsg535080;
NimStringDesc* vthisdir535081;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Tpasscontext261002  {
  TNimObject Sup;
NIM_BOOL fromcache;
};
struct  Tctx263036  {
  Tpasscontext261002 Sup;
TY263242* code;
TY183093* debug;
Tnode214790* globals;
Tnode214790* constants;
Ttypeseq214824* types;
Tnode214790* currentexceptiona;
Tnode214790* currentexceptionb;
NI exceptioninstr;
PprocHEX3Aobjecttype263221* prc;
Tsym214822* module;
Tnode214790* callsite;
NU8 mode;
NU8 features;
NIM_BOOL traceactive;
NI loopiterations;
Tlineinfo182337 comesfromheuristic;
TY263261* callbacks;
NimStringDesc* errorflag;
};
struct TY118706 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
struct  Cell47505  {
NI refcount;
TNimType* typ;
};
struct  Cellseq47521  {
NI len;
NI cap;
Cell47505** d;
};
struct  Cellset47517  {
NI counter;
NI max;
Pagedesc47513* head;
Pagedesc47513** data;
};
typedef Smallchunk29639* TY29702[512];
typedef Trunk29610* Trunkbuckets29612[256];
struct  Intset29614  {
Trunkbuckets29612 data;
};
struct  Memregion29687  {
NI minlargeobj;
NI maxlargeobj;
TY29702 freesmallchunks;
Llchunk29681* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk29641* freechunkslist;
Intset29614 chunkstarts;
Avlnode29685* root;
Avlnode29685* deleted;
Avlnode29685* last;
Avlnode29685* freeavlnodes;
};
struct  Gcstat49814  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Gcheap49818  {
Gcstack49816* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq47521 zct;
Cellseq47521 decstack;
Cellset47517 cycleroots;
Cellseq47521 tempstack;
NI recgclock;
Memregion29687 region;
Gcstat49814 stat;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (Vmargs263030* args, void* ClEnv);
void* ClEnv;
} Vmcallback263032;
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;
} TY17811;
struct  TSafePoint  {
TSafePoint* prev;
NI status;
jmp_buf context;
NIM_BOOL hasRaiseAction;
TY17811 raiseAction;
};
typedef NIM_CHAR TY110371[256];
typedef N_CLOSURE_PTR(void, TMP3689) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3691) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3693) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3695) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3698) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3700) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3702) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3704) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3706) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3708) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3710) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3712) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3715) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3717) (Vmargs263030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3719) (Vmargs263030* args, void* ClEnv);
struct  Tnode214790  {
Ttype214828* typ;
Tlineinfo182337 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym214822* sym;
} S4;
struct {Tident189012* ident;
} S5;
struct {Tnodeseq214784* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
struct  Tiitable221163  {
NI counter;
Tiipairseq221161* data;
};
struct  Tindex252019  {
NI lastidxkey;
NI lastidxval;
Tiitable221163 tab;
NimStringDesc* r;
NI offset;
};
struct  Table252054  {
Keyvaluepairseq252057* data;
NI counter;
};
struct  Memfile250202  {
void* mem;
NI size;
int handle;
};
struct  Trodreader252021  {
  TNimObject Sup;
NI pos;
NCSTRING s;
NU32 options;
NU8 reason;
TY214913* moddeps;
TY214913* files;
NI dataidx;
NI convertersidx;
NI initidx;
NI interfidx;
NI compilerprocsidx;
NI methodsidx;
NimStringDesc* filename;
Tindex252019 index;
Tindex252019 imports;
NI readerindex;
NI line;
NI moduleid;
Table252054 syms;
Memfile250202 memfile;
Tsymseq214792* methods;
NimStringDesc* origfile;
NIM_BOOL inviewmode;
};
struct  Tlistentry135010  {
  TNimObject Sup;
Tlistentry135010* prev;
Tlistentry135010* next;
};
struct  Tscope214816  {
NI depthlevel;
Tstrtable214794 symbols;
Tnodeseq214784* usingsyms;
Tscope214816* parent;
};
struct  Ttype214828  {
  Tidobj189006 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq214824* sons;
Tnode214790* n;
Tsym214822* owner;
Tsym214822* sym;
Tsym214822* destructor;
Tsym214822* deepcopy;
Tsym214822* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc214804 loc;
};
struct  Tident189012  {
  Tidobj189006 Sup;
NimStringDesc* s;
Tident189012* next;
NI h;
};
struct  Ropeobj169006  {
  TNimObject Sup;
Ropeobj169006* left;
Ropeobj169006* right;
NI length;
NimStringDesc* data;
};
struct  Tlib214808  {
  Tlistentry135010 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj169006* name;
Tnode214790* path;
};
struct TY263227 {
NIM_BOOL Field0;
NU8 Field1;
};
typedef TY263227 TY263230[256];
struct  PprocHEX3Aobjecttype263221  {
TY263222* blocks;
Tsym214822* sym;
TY263230 slots;
NI maxslots;
};
struct TY263262 {
NimStringDesc* Field0;
Vmcallback263032 Field1;
};
struct  Gcstack49816  {
Gcstack49816* prev;
Gcstack49816* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY29618[16];
struct  Pagedesc47513  {
Pagedesc47513* next;
NI key;
TY29618 bits;
};
struct  Basechunk29637  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk29639  {
  Basechunk29637 Sup;
Smallchunk29639* next;
Smallchunk29639* prev;
Freecell29629* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk29681  {
NI size;
NI acc;
Llchunk29681* next;
};
struct  Bigchunk29641  {
  Basechunk29637 Sup;
Bigchunk29641* next;
Bigchunk29641* prev;
NI align;
NF data;
};
struct  Trunk29610  {
Trunk29610* next;
NI key;
TY29618 bits;
};
typedef Avlnode29685* TY29692[2];
struct  Avlnode29685  {
TY29692 link;
NI key;
NI upperbound;
NI level;
};
struct  Vmargs263030  {
NI ra;
NI rb;
NI rc;
void* slots;
Tnode214790* currentexception;
};
struct  Tllstream202204  {
  TNimObject Sup;
NU8 kind;
FILE* f;
NimStringDesc* s;
NI rd;
NI wr;
NI lineoffset;
};
struct  Tiipair221159  {
NI key;
NI val;
};
struct Keyvaluepair252060 {
NI Field0;
NI Field1;
Tsym214822* Field2;
};
struct  Tinstantiation214812  {
Tsym214822* sym;
Ttypeseq214824* concretetypes;
TY214913* usedby;
NI compilesid;
};
struct  Tblock263018  {
Tsym214822* label;
TY263202* fixups;
};
struct  Freecell29629  {
Freecell29629* next;
NI zerofield;
};
struct TY125202 {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
struct Ttypeseq214824 {
  TGenericSeq Sup;
  Ttype214828* data[SEQ_DECL_SIZE];
};
struct TY214925 {
  TGenericSeq Sup;
  Tinstantiation214812* data[SEQ_DECL_SIZE];
};
struct Tsymseq214792 {
  TGenericSeq Sup;
  Tsym214822* data[SEQ_DECL_SIZE];
};
struct TY263242 {
  TGenericSeq Sup;
  NU32 data[SEQ_DECL_SIZE];
};
struct TY183093 {
  TGenericSeq Sup;
  Tlineinfo182337 data[SEQ_DECL_SIZE];
};
struct TY263261 {
  TGenericSeq Sup;
  TY263262 data[SEQ_DECL_SIZE];
};
struct Tnodeseq214784 {
  TGenericSeq Sup;
  Tnode214790* data[SEQ_DECL_SIZE];
};
struct TY214913 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct Tiipairseq221161 {
  TGenericSeq Sup;
  Tiipair221159 data[SEQ_DECL_SIZE];
};
struct Keyvaluepairseq252057 {
  TGenericSeq Sup;
  Keyvaluepair252060 data[SEQ_DECL_SIZE];
};
struct TY263222 {
  TGenericSeq Sup;
  Tblock263018 data[SEQ_DECL_SIZE];
};
struct TY263202 {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
N_NIMCALL(Tnode214790*, includemodule_531818)(Tsym214822* s, NI32 fileidx);
N_NIMCALL(Tsym214822*, importmodule_531788)(Tsym214822* s, NI32 fileidx);
N_NIMCALL(void, initdefines_190184)(void);
N_NIMCALL(void, definesymbol_190004)(NimStringDesc* symbol);
N_NIMCALL(void, registerpass_261145)(Tpass261014 p);
N_NIMCALL(Tpasscontext261002*, myopen_467665)(Tsym214822* module);
N_NIMCALL(Tpasscontext261002*, myopencached_467696)(Tsym214822* module, Trodreader252021* rd);
N_NIMCALL(Tnode214790*, myprocess_467804)(Tpasscontext261002* context, Tnode214790* n);
N_NIMCALL(Tnode214790*, myclose_467814)(Tpasscontext261002* context, Tnode214790* n);
N_NIMCALL(Tpasscontext261002*, myopen_414030)(Tsym214822* module);
N_NIMCALL(Tnode214790*, myprocess_414203)(Tpasscontext261002* c, Tnode214790* n);
N_NIMCALL(void, appendstr_135244)(Tlinkedlist135016* list, NimStringDesc* data);
N_NIMCALL(Tsym214822*, makemodule_531884)(NimStringDesc* filename);
N_NIMCALL(Tctx263036*, setupvm_535075)(Tsym214822* module, NimStringDesc* scriptname);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP3658)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_NIMCALL(Tctx263036*, newctx_263267)(Tsym214822* module);
N_NIMCALL(void, registeradditionalops_413930)(Tctx263036* c);
N_NIMCALL(void, nossplitFile)(NimStringDesc* path, TY118706* Result);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(Cell47505*, usrtocell_51440)(void* usr);
static N_INLINE(void, rtladdzct_53001)(Cell47505* c);
N_NOINLINE(void, addzct_51417)(Cellseq47521* s, Cell47505* c);
N_NIMCALL(void, registercallback_263374)(Tctx263036* c, NimStringDesc* name, Vmcallback263032 callback);
N_CLOSURE(void, HEX3Aanonymous_535094)(Vmargs263030* a, void* ClEnv);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_NIMCALL(void, listdirs_535003)(Vmargs263030* a, NU8 filter);
N_NIMCALL(NimStringDesc*, getstring_402037)(Vmargs263030* 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_118465)(NimStringDesc* head, NimStringDesc* tail);
static N_INLINE(NIM_BOOL, direxists_121808)(NimStringDesc* dir);
N_NIMCALL(NIM_BOOL, nosexistsDir)(NimStringDesc* dir);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(void, setresult_401942)(Vmargs263030* a, TY125202* 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_87205)(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_53819)(Cell47505* c);
static N_INLINE(NIM_BOOL, canbecycleroot_51458)(Cell47505* c);
static N_INLINE(void, rtladdcycleroot_52220)(Cell47505* c);
N_NOINLINE(void, incl_48247)(Cellset47517* s, Cell47505* cell);
static N_INLINE(void, decref_53401)(Cell47505* c);
N_NIMCALL(void, reraiseException)(void);
N_CLOSURE(void, HEX3Aanonymous_535098)(Vmargs263030* a, void* ClEnv);
N_CLOSURE(void, HEX3Aanonymous_535102)(Vmargs263030* a, void* ClEnv);
N_NIMCALL(void, nosremoveDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_535105)(Vmargs263030* a, void* ClEnv);
N_NIMCALL(void, nosremoveFile)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_535108)(Vmargs263030* a, void* ClEnv);
N_NIMCALL(void, noscreateDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_535111)(Vmargs263030* a, void* ClEnv);
N_NIMCALL(void, setresult_401900)(Vmargs263030* a, NimStringDesc* v);
N_CLOSURE(void, HEX3Aanonymous_535114)(Vmargs263030* a, void* ClEnv);
static N_INLINE(void, setcurrentdir_122801)(NimStringDesc* newdir);
N_NOINLINE(void, raiseoserror_120803)(NI32 errorcode, NimStringDesc* additionalinfo);
N_NIMCALL(NI32, oslasterror_120819)(void);
N_CLOSURE(void, HEX3Aanonymous_535117)(Vmargs263030* a, void* ClEnv);
N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
N_CLOSURE(void, HEX3Aanonymous_535120)(Vmargs263030* a, void* ClEnv);
N_NIMCALL(void, nosmoveFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_535123)(Vmargs263030* a, void* ClEnv);
N_NIMCALL(void, noscopyFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_535126)(Vmargs263030* a, void* ClEnv);
N_NIMCALL(void, setresult_401851)(Vmargs263030* a, NF v);
N_NIMCALL(NF, toseconds_105457)(time_t time);
N_NIMCALL(time_t, nosgetLastModificationTime)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_535129)(Vmargs263030* a, void* ClEnv);
N_NIMCALL(void, setresult_401831)(Vmargs263030* a, NI64 v);
N_NIMCALL(NI, nospexecCmd)(NimStringDesc* command);
N_NIMCALL(void, HEX3Aanonymous_535132)(Vmargs263030* a);
N_NIMCALL(NimStringDesc*, getenv_125825)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_535135)(Vmargs263030* a);
N_NIMCALL(void, setresult_401871)(Vmargs263030* a, NIM_BOOL v_401874);
N_NIMCALL(NIM_BOOL, existsenv_125834)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_535138)(Vmargs263030* a);
N_NIMCALL(void, HEX3Aanonymous_535141)(Vmargs263030* a);
static N_INLINE(NIM_BOOL, fileexists_121804)(NimStringDesc* filename);
N_NIMCALL(NIM_BOOL, nosexistsFile)(NimStringDesc* filename);
N_CLOSURE(void, HEX3Aanonymous_535144)(Vmargs263030* a, void* ClEnv);
N_NIMCALL(void, HEX3Aanonymous_535147)(Vmargs263030* a);
N_NIMCALL(void, setconfigvar_160286)(NimStringDesc* key, NimStringDesc* val);
N_NIMCALL(void, HEX3Aanonymous_535150)(Vmargs263030* a);
N_NIMCALL(NimStringDesc*, getconfigvar_160282)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_535153)(Vmargs263030* a);
N_NIMCALL(NIM_BOOL, existsconfigvar_160278)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_535156)(Vmargs263030* a);
N_NIMCALL(NimStringDesc*, getnimcachedir_160610)(void);
N_NIMCALL(void, HEX3Aanonymous_535159)(Vmargs263030* a);
N_NIMCALL(NimStringDesc*, paramstr_131407)(NI i);
N_NIMCALL(NI64, getint_401986)(Vmargs263030* a, NI i);
N_NIMCALL(void, HEX3Aanonymous_535162)(Vmargs263030* a);
N_NIMCALL(NI, paramcount_131426)(void);
N_NIMCALL(void, HEX3Aanonymous_535165)(Vmargs263030* a);
N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_535168)(Vmargs263030* a);
N_NIMCALL(NI, nsuCmpIgnoreCase)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_535171)(Vmargs263030* a);
N_NIMCALL(NimStringDesc*, canonicalizepath_160405)(NimStringDesc* path);
N_NIMCALL(void, HEX3Aanonymous_535175)(Vmargs263030* a);
N_NIMCALL(void, HEX3Aanonymous_535178)(Vmargs263030* a);
N_NIMCALL(void, processswitch_200016)(NimStringDesc* switch_200018, NimStringDesc* arg, NU8 pass, Tlineinfo182337 info);
N_NIMCALL(Tlineinfo182337, unknownlineinfo_183090)(void);
N_NIMCALL(void, compilesystemmodule_531856)(void);
N_NIMCALL(void, processmodule_261044)(Tsym214822* module, Tllstream202204* stream, Trodreader252021* rd);
N_NIMCALL(Tllstream202204*, llstreamopen_202241)(NimStringDesc* filename, NU8 mode);
N_NIMCALL(void, resetallmoduleshard_531353)(void);
N_NIMCALL(void, undefsymbol_190007)(NimStringDesc* symbol);
STRING_LITERAL(TMP2059, "nimscript", 9);
STRING_LITERAL(TMP2060, "nimconfig", 9);
STRING_LITERAL(TMP3659, "stdlib.system.listFiles", 23);
STRING_LITERAL(TMP3661, ".", 1);
STRING_LITERAL(TMP3662, "..", 2);
STRING_LITERAL(TMP3663, "", 0);
STRING_LITERAL(TMP3664, "stdlib.system.listDirs", 22);
STRING_LITERAL(TMP3666, "stdlib.system.removeDir", 23);
STRING_LITERAL(TMP3670, "stdlib.system.removeFile", 24);
STRING_LITERAL(TMP3672, "stdlib.system.createDir", 23);
STRING_LITERAL(TMP3674, "stdlib.system.getOsError", 24);
STRING_LITERAL(TMP3676, "stdlib.system.setCurrentDir", 27);
STRING_LITERAL(TMP3678, "stdlib.system.getCurrentDir", 27);
STRING_LITERAL(TMP3680, "stdlib.system.moveFile", 22);
STRING_LITERAL(TMP3682, "stdlib.system.copyFile", 22);
STRING_LITERAL(TMP3684, "stdlib.system.getLastModificationTime", 37);
STRING_LITERAL(TMP3686, "stdlib.system.rawExec", 21);
STRING_LITERAL(TMP3688, "stdlib.system.getEnv", 20);
STRING_LITERAL(TMP3690, "stdlib.system.existsEnv", 23);
STRING_LITERAL(TMP3692, "stdlib.system.dirExists", 23);
STRING_LITERAL(TMP3694, "stdlib.system.fileExists", 24);
STRING_LITERAL(TMP3696, "stdlib.system.thisDir", 21);
STRING_LITERAL(TMP3697, "stdlib.system.put", 17);
STRING_LITERAL(TMP3699, "stdlib.system.get", 17);
STRING_LITERAL(TMP3701, "stdlib.system.exists", 20);
STRING_LITERAL(TMP3703, "stdlib.system.nimcacheDir", 25);
STRING_LITERAL(TMP3705, "stdlib.system.paramStr", 22);
STRING_LITERAL(TMP3707, "stdlib.system.paramCount", 24);
STRING_LITERAL(TMP3709, "stdlib.system.cmpIgnoreStyle", 28);
STRING_LITERAL(TMP3711, "stdlib.system.cmpIgnoreCase", 27);
STRING_LITERAL(TMP3713, "stdlib.system.setCommand", 24);
STRING_LITERAL(TMP3716, "stdlib.system.getCommand", 24);
STRING_LITERAL(TMP3718, "stdlib.system.switch", 20);
extern TY261054 gincludefile_261058;
extern TY261049 gimportmodule_261053;
extern Tlinkedlist135016 searchpaths_160125;
extern NimStringDesc* libpath_160198;
extern Tctx263036* globalctx_414017;
TNimType NTI535182; /* object */
extern TNimType NTI325021; /* range -1..0(int) */
extern TNimType NTI138; /* string */
TNimType NTI535181; /* ref object */
extern Gcheap49818 gch_49859;
extern TSafePoint* exchandler_19437;
extern TNimType NTI125202; /* seq[string] */
extern TNimType NTI3630; /* OSError */
extern Exception* currexception_19439;
extern NimStringDesc* command_160205;
extern NimStringDesc* gprojectname_160199;
extern NimStringDesc* gprojectfull_160201;
extern NimStringDesc* gprojectpath_160200;
N_NIMCALL(void, TMP3658)(void* p, NI op) {
	TY535182* a;
	a = (TY535182*)p;
	nimGCvisit((void*)(*a).errormsg535080, op);
	nimGCvisit((void*)(*a).vthisdir535081, op);
}

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

static N_INLINE(void, rtladdzct_53001)(Cell47505* c) {
	addzct_51417((&gch_49859.zct), c);
}

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

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

N_NIMCALL(void, listdirs_535003)(Vmargs263030* a, NU8 filter) {
	NimStringDesc* dir;
	TY125202* result;
	dir = getstring_402037(a, ((NI) 0));
	result = (TY125202*) newSeq((&NTI125202), 0);
	{
		NU8 kind_535027;
		NimStringDesc* path_535028;
		DIR* d_535066;
		kind_535027 = 0;
		path_535028 = 0;
		d_535066 = opendir(dir->data);
		{
			int LOC66;
			if (!!((d_535066 == NIM_NIL))) goto LA4;
			{
				while (1) {
					{
						struct dirent* x_535068;
						NimStringDesc* y_535070;
						x_535068 = readdir(d_535066);
						{
							if (!(x_535068 == NIM_NIL)) goto LA11;
							goto LA6;
						}
						LA11: ;
						y_535070 = cstrToNimstr(((NCSTRING) ((*x_535068).d_name)));
						{
							NIM_BOOL LOC15;
							struct stat s_535072;
							NU8 k_535074;
							LOC15 = 0;
							LOC15 = !(eqStrings(y_535070, ((NimStringDesc*) &TMP3661)));
							if (!(LOC15)) goto LA16;
							LOC15 = !(eqStrings(y_535070, ((NimStringDesc*) &TMP3662)));
							LA16: ;
							if (!LOC15) goto LA17;
							memset((void*)(&s_535072), 0, sizeof(s_535072));
							{
								if (!NIM_TRUE) goto LA21;
								y_535070 = HEX2F_118465(dir, y_535070);
							}
							LA21: ;
							k_535074 = ((NU8) 0);
							{
								if (!!(((*x_535068).d_type == ((NI8) 0)))) goto LA25;
								{
									if (!((*x_535068).d_type == ((NI8) 4))) goto LA29;
									k_535074 = ((NU8) 2);
								}
								LA29: ;
								{
									if (!((*x_535068).d_type == ((NI8) 10))) goto LA33;
									{
										NIM_BOOL LOC37;
										LOC37 = 0;
										LOC37 = direxists_121808(y_535070);
										if (!LOC37) goto LA38;
										k_535074 = ((NU8) 3);
									}
									goto LA35;
									LA38: ;
									{
										k_535074 = (NU8)(k_535074 + ((NI) 1));
									}
									LA35: ;
								}
								LA33: ;
								kind_535027 = k_535074;
								path_535028 = y_535070;
								{
									NimStringDesc* LOC45;
									if (!((filter &(1U<<((NU)(kind_535027)&7U)))!=0)) goto LA43;
									result = (TY125202*) incrSeqV2(&(result)->Sup, sizeof(NimStringDesc*));
									LOC45 = 0;
									LOC45 = result->data[result->Sup.len]; result->data[result->Sup.len] = copyStringRC1(path_535028);
									if (LOC45) nimGCunrefNoCycle(LOC45);
									++result->Sup.len;
								}
								LA43: ;
								goto LA8;
							}
							LA25: ;
							{
								int LOC48;
								LOC48 = 0;
								LOC48 = lstat(y_535070->data, (&s_535072));
								if (!(LOC48 < ((NI32) 0))) goto LA49;
								goto LA6;
							}
							LA49: ;
							{
								NIM_BOOL LOC53;
								LOC53 = 0;
								LOC53 = S_ISDIR(s_535072.st_mode);
								if (!LOC53) goto LA54;
								k_535074 = ((NU8) 2);
							}
							LA54: ;
							{
								NIM_BOOL LOC58;
								LOC58 = 0;
								LOC58 = S_ISLNK(s_535072.st_mode);
								if (!LOC58) goto LA59;
								k_535074 = (NU8)(k_535074 + ((NI) 1));
							}
							LA59: ;
							kind_535027 = k_535074;
							path_535028 = y_535070;
							{
								NimStringDesc* LOC65;
								if (!((filter &(1U<<((NU)(kind_535027)&7U)))!=0)) goto LA63;
								result = (TY125202*) incrSeqV2(&(result)->Sup, sizeof(NimStringDesc*));
								LOC65 = 0;
								LOC65 = result->data[result->Sup.len]; result->data[result->Sup.len] = copyStringRC1(path_535028);
								if (LOC65) nimGCunrefNoCycle(LOC65);
								++result->Sup.len;
							}
							LA63: ;
						}
						LA17: ;
					} LA8: ;
				}
			} LA6: ;
			LOC66 = 0;
			LOC66 = closedir(d_535066);
		}
		LA4: ;
	}
	setresult_401942(a, result);
}

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

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

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

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

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

static N_INLINE(void, rtladdcycleroot_52220)(Cell47505* c) {
	{
		if (!!((((NI) ((NI)((*c).refcount & ((NI) 3)))) == ((NI) 3)))) goto LA3;
		(*c).refcount = (NI)((NI)((*c).refcount & ((NI) -4)) | ((NI) 3));
		incl_48247((&gch_49859.cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_53819)(Cell47505* c) {
	(*c).refcount = (NI)((NU32)((*c).refcount) + (NU32)(((NI) 8)));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_51458(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_52220(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_53401)(Cell47505* c) {
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3;
		rtladdzct_53001(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_51458(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_52220(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		Cell47505* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_51440(src);
		incref_53819(LOC5);
	}
	LA3: ;
	{
		Cell47505* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_51440((*dest));
		decref_53401(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

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

N_CLOSURE(void, HEX3Aanonymous_535094)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535185;
	TSafePoint TMP3660;
	HEX3Aenvp_535185 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3660);
	TMP3660.status = _setjmp(TMP3660.context);
	if (TMP3660.status == 0) {
		listdirs_535003(a, 3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3660.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535185).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3660.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_535098)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535187;
	TSafePoint TMP3665;
	HEX3Aenvp_535187 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3665);
	TMP3665.status = _setjmp(TMP3665.context);
	if (TMP3665.status == 0) {
		listdirs_535003(a, 4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3665.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535187).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3665.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_535102)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535188;
	TSafePoint TMP3667;
	HEX3Aenvp_535188 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3667);
	TMP3667.status = _setjmp(TMP3667.context);
	if (TMP3667.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_402037(a, ((NI) 0));
		nosremoveDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3667.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535188).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3667.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_535105)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535189;
	TSafePoint TMP3671;
	HEX3Aenvp_535189 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3671);
	TMP3671.status = _setjmp(TMP3671.context);
	if (TMP3671.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_402037(a, ((NI) 0));
		nosremoveFile(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3671.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535189).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3671.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_535108)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535190;
	TSafePoint TMP3673;
	HEX3Aenvp_535190 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3673);
	TMP3673.status = _setjmp(TMP3673.context);
	if (TMP3673.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_402037(a, ((NI) 0));
		noscreateDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3673.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535190).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3673.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_535111)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535191;
	TSafePoint TMP3675;
	HEX3Aenvp_535191 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3675);
	TMP3675.status = _setjmp(TMP3675.context);
	if (TMP3675.status == 0) {
		setresult_401900(a, (*HEX3Aenvp_535191).errormsg535080);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3675.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535191).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3675.status != 0) reraiseException();
}

static N_INLINE(void, setcurrentdir_122801)(NimStringDesc* newdir) {
	{
		int LOC3;
		NI32 LOC6;
		LOC3 = 0;
		LOC3 = chdir(newdir->data);
		if (!!((LOC3 == ((NI32) 0)))) goto LA4;
		LOC6 = 0;
		LOC6 = oslasterror_120819();
		raiseoserror_120803(LOC6, ((NimStringDesc*) &TMP3663));
	}
	LA4: ;
}

N_CLOSURE(void, HEX3Aanonymous_535114)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535192;
	TSafePoint TMP3677;
	HEX3Aenvp_535192 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3677);
	TMP3677.status = _setjmp(TMP3677.context);
	if (TMP3677.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_402037(a, ((NI) 0));
		setcurrentdir_122801(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3677.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535192).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3677.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_535117)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535193;
	TSafePoint TMP3679;
	HEX3Aenvp_535193 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3679);
	TMP3679.status = _setjmp(TMP3679.context);
	if (TMP3679.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = nosgetCurrentDir();
		setresult_401900(a, LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3679.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535193).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3679.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_535120)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535194;
	TSafePoint TMP3681;
	HEX3Aenvp_535194 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3681);
	TMP3681.status = _setjmp(TMP3681.context);
	if (TMP3681.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_402037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_402037(a, ((NI) 1));
		nosmoveFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3681.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535194).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3681.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_535123)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535195;
	TSafePoint TMP3683;
	HEX3Aenvp_535195 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3683);
	TMP3683.status = _setjmp(TMP3683.context);
	if (TMP3683.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_402037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_402037(a, ((NI) 1));
		noscopyFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3683.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535195).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3683.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_535126)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535196;
	TSafePoint TMP3685;
	HEX3Aenvp_535196 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3685);
	TMP3685.status = _setjmp(TMP3685.context);
	if (TMP3685.status == 0) {
		NimStringDesc* LOC2;
		time_t LOC3;
		NF LOC4;
		LOC2 = 0;
		LOC2 = getstring_402037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nosgetLastModificationTime(LOC2);
		LOC4 = 0;
		LOC4 = toseconds_105457(LOC3);
		setresult_401851(a, LOC4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3685.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535196).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3685.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_535129)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535197;
	TSafePoint TMP3687;
	HEX3Aenvp_535197 = (TY535182*) ClEnv;
	pushSafePoint(&TMP3687);
	TMP3687.status = _setjmp(TMP3687.context);
	if (TMP3687.status == 0) {
		NimStringDesc* LOC2;
		NI LOC3;
		LOC2 = 0;
		LOC2 = getstring_402037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nospexecCmd(LOC2);
		setresult_401831(a, ((NI64) (LOC3)));
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3687.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_535197).errormsg535080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3687.status != 0) reraiseException();
}

N_NIMCALL(void, HEX3Aanonymous_535132)(Vmargs263030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_402037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getenv_125825(LOC1);
	setresult_401900(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_535135)(Vmargs263030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_402037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsenv_125834(LOC1);
	setresult_401871(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_535138)(Vmargs263030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_402037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = direxists_121808(LOC1);
	setresult_401871(a, LOC2);
}

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

N_NIMCALL(void, HEX3Aanonymous_535141)(Vmargs263030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_402037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = fileexists_121804(LOC1);
	setresult_401871(a, LOC2);
}

N_CLOSURE(void, HEX3Aanonymous_535144)(Vmargs263030* a, void* ClEnv) {
	TY535182* HEX3Aenvp_535198;
	HEX3Aenvp_535198 = (TY535182*) ClEnv;
	setresult_401900(a, (*HEX3Aenvp_535198).vthisdir535081);
}

N_NIMCALL(void, HEX3Aanonymous_535147)(Vmargs263030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_402037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_402037(a, ((NI) 1));
	setconfigvar_160286(LOC1, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_535150)(Vmargs263030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_402037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getconfigvar_160282(LOC1);
	setresult_401900(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_535153)(Vmargs263030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_402037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsconfigvar_160278(LOC1);
	setresult_401871(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_535156)(Vmargs263030* a) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = getnimcachedir_160610();
	setresult_401900(a, LOC1);
}

N_NIMCALL(void, HEX3Aanonymous_535159)(Vmargs263030* a) {
	NI64 LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getint_401986(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = paramstr_131407(((NI) (LOC1)));
	setresult_401900(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_535162)(Vmargs263030* a) {
	NI LOC1;
	LOC1 = 0;
	LOC1 = paramcount_131426();
	setresult_401831(a, ((NI64) (LOC1)));
}

N_NIMCALL(void, HEX3Aanonymous_535165)(Vmargs263030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_402037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_402037(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreStyle(LOC1, LOC2);
	setresult_401831(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_535168)(Vmargs263030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_402037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_402037(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreCase(LOC1, LOC2);
	setresult_401831(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_535171)(Vmargs263030* a) {
	NimStringDesc* arg;
	asgnRefNoCycle((void**) (&command_160205), getstring_402037(a, ((NI) 0)));
	arg = getstring_402037(a, ((NI) 1));
	{
		NimStringDesc* LOC5;
		TSafePoint TMP3714;
		if (!(((NI) 0) < (arg ? arg->Sup.len : 0))) goto LA3;
		LOC5 = 0;
		LOC5 = gprojectname_160199; gprojectname_160199 = copyStringRC1(arg);
		if (LOC5) nimGCunrefNoCycle(LOC5);
		pushSafePoint(&TMP3714);
		TMP3714.status = _setjmp(TMP3714.context);
		if (TMP3714.status == 0) {
			NimStringDesc* LOC7;
			LOC7 = 0;
			LOC7 = HEX2F_118465(gprojectpath_160200, gprojectname_160199);
			asgnRefNoCycle((void**) (&gprojectfull_160201), canonicalizepath_160405(LOC7));
			popSafePoint();
		}
		else {
			popSafePoint();
			if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
				NimStringDesc* LOC10;
				TMP3714.status = 0;
				LOC10 = 0;
				LOC10 = gprojectfull_160201; gprojectfull_160201 = copyStringRC1(gprojectname_160199);
				if (LOC10) nimGCunrefNoCycle(LOC10);
				popCurrentException();
			}
		}
		if (TMP3714.status != 0) reraiseException();
	}
	LA3: ;
}

N_NIMCALL(void, HEX3Aanonymous_535175)(Vmargs263030* a) {
	setresult_401900(a, command_160205);
}

N_NIMCALL(void, HEX3Aanonymous_535178)(Vmargs263030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	Tlineinfo182337 LOC3;
	LOC1 = 0;
	LOC1 = getstring_402037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_402037(a, ((NI) 1));
	LOC3 = unknownlineinfo_183090();
	processswitch_200016(LOC1, LOC2, ((NU8) 2), LOC3);
}

N_NIMCALL(Tctx263036*, setupvm_535075)(Tsym214822* module, NimStringDesc* scriptname) {
	Tctx263036* result;
	TY535182* HEX3Aenv_535200;
	TY118706 LOC1;
	NimStringDesc* LOC2;
	Vmcallback263032 LOC3;
	Vmcallback263032 LOC4;
	Vmcallback263032 LOC5;
	Vmcallback263032 LOC6;
	Vmcallback263032 LOC7;
	Vmcallback263032 LOC8;
	Vmcallback263032 LOC9;
	Vmcallback263032 LOC10;
	Vmcallback263032 LOC11;
	Vmcallback263032 LOC12;
	Vmcallback263032 LOC13;
	Vmcallback263032 LOC14;
	Vmcallback263032 LOC15;
	Vmcallback263032 LOC16;
	Vmcallback263032 LOC17;
	Vmcallback263032 LOC18;
	Vmcallback263032 LOC19;
	Vmcallback263032 LOC20;
	Vmcallback263032 LOC21;
	Vmcallback263032 LOC22;
	Vmcallback263032 LOC23;
	Vmcallback263032 LOC24;
	Vmcallback263032 LOC25;
	Vmcallback263032 LOC26;
	Vmcallback263032 LOC27;
	Vmcallback263032 LOC28;
	Vmcallback263032 LOC29;
	Vmcallback263032 LOC30;
	result = 0;
	HEX3Aenv_535200 = 0;
	HEX3Aenv_535200 = (TY535182*) newObj((&NTI535181), sizeof(TY535182));
	result = newctx_263267(module);
	(*result).mode = ((NU8) 0);
	registeradditionalops_413930(result);
	memset((void*)(&LOC1), 0, sizeof(LOC1));
	nossplitFile(scriptname, (&LOC1));
	LOC2 = 0;
	LOC2 = (*HEX3Aenv_535200).vthisdir535081; (*HEX3Aenv_535200).vthisdir535081 = copyStringRC1(LOC1.Field0);
	if (LOC2) nimGCunrefNoCycle(LOC2);
	memset((void*)(&LOC3), 0, sizeof(LOC3));
	LOC3.ClPrc = HEX3Aanonymous_535094; LOC3.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3659), LOC3);
	memset((void*)(&LOC4), 0, sizeof(LOC4));
	LOC4.ClPrc = HEX3Aanonymous_535098; LOC4.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3664), LOC4);
	memset((void*)(&LOC5), 0, sizeof(LOC5));
	LOC5.ClPrc = HEX3Aanonymous_535102; LOC5.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3666), LOC5);
	memset((void*)(&LOC6), 0, sizeof(LOC6));
	LOC6.ClPrc = HEX3Aanonymous_535105; LOC6.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3670), LOC6);
	memset((void*)(&LOC7), 0, sizeof(LOC7));
	LOC7.ClPrc = HEX3Aanonymous_535108; LOC7.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3672), LOC7);
	memset((void*)(&LOC8), 0, sizeof(LOC8));
	LOC8.ClPrc = HEX3Aanonymous_535111; LOC8.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3674), LOC8);
	memset((void*)(&LOC9), 0, sizeof(LOC9));
	LOC9.ClPrc = HEX3Aanonymous_535114; LOC9.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3676), LOC9);
	memset((void*)(&LOC10), 0, sizeof(LOC10));
	LOC10.ClPrc = HEX3Aanonymous_535117; LOC10.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3678), LOC10);
	memset((void*)(&LOC11), 0, sizeof(LOC11));
	LOC11.ClPrc = HEX3Aanonymous_535120; LOC11.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3680), LOC11);
	memset((void*)(&LOC12), 0, sizeof(LOC12));
	LOC12.ClPrc = HEX3Aanonymous_535123; LOC12.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3682), LOC12);
	memset((void*)(&LOC13), 0, sizeof(LOC13));
	LOC13.ClPrc = HEX3Aanonymous_535126; LOC13.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3684), LOC13);
	memset((void*)(&LOC14), 0, sizeof(LOC14));
	LOC14.ClPrc = HEX3Aanonymous_535129; LOC14.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3686), LOC14);
	memset((void*)(&LOC15), 0, sizeof(LOC15));
	LOC15.ClPrc = ((TMP3689) (HEX3Aanonymous_535132)); LOC15.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3688), LOC15);
	memset((void*)(&LOC16), 0, sizeof(LOC16));
	LOC16.ClPrc = ((TMP3691) (HEX3Aanonymous_535135)); LOC16.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3690), LOC16);
	memset((void*)(&LOC17), 0, sizeof(LOC17));
	LOC17.ClPrc = ((TMP3693) (HEX3Aanonymous_535138)); LOC17.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3692), LOC17);
	memset((void*)(&LOC18), 0, sizeof(LOC18));
	LOC18.ClPrc = ((TMP3695) (HEX3Aanonymous_535141)); LOC18.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3694), LOC18);
	memset((void*)(&LOC19), 0, sizeof(LOC19));
	LOC19.ClPrc = HEX3Aanonymous_535144; LOC19.ClEnv = HEX3Aenv_535200;
	registercallback_263374(result, ((NimStringDesc*) &TMP3696), LOC19);
	memset((void*)(&LOC20), 0, sizeof(LOC20));
	LOC20.ClPrc = ((TMP3698) (HEX3Aanonymous_535147)); LOC20.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3697), LOC20);
	memset((void*)(&LOC21), 0, sizeof(LOC21));
	LOC21.ClPrc = ((TMP3700) (HEX3Aanonymous_535150)); LOC21.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3699), LOC21);
	memset((void*)(&LOC22), 0, sizeof(LOC22));
	LOC22.ClPrc = ((TMP3702) (HEX3Aanonymous_535153)); LOC22.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3701), LOC22);
	memset((void*)(&LOC23), 0, sizeof(LOC23));
	LOC23.ClPrc = ((TMP3704) (HEX3Aanonymous_535156)); LOC23.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3703), LOC23);
	memset((void*)(&LOC24), 0, sizeof(LOC24));
	LOC24.ClPrc = ((TMP3706) (HEX3Aanonymous_535159)); LOC24.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3705), LOC24);
	memset((void*)(&LOC25), 0, sizeof(LOC25));
	LOC25.ClPrc = ((TMP3708) (HEX3Aanonymous_535162)); LOC25.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3707), LOC25);
	memset((void*)(&LOC26), 0, sizeof(LOC26));
	LOC26.ClPrc = ((TMP3710) (HEX3Aanonymous_535165)); LOC26.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3709), LOC26);
	memset((void*)(&LOC27), 0, sizeof(LOC27));
	LOC27.ClPrc = ((TMP3712) (HEX3Aanonymous_535168)); LOC27.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3711), LOC27);
	memset((void*)(&LOC28), 0, sizeof(LOC28));
	LOC28.ClPrc = ((TMP3715) (HEX3Aanonymous_535171)); LOC28.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3713), LOC28);
	memset((void*)(&LOC29), 0, sizeof(LOC29));
	LOC29.ClPrc = ((TMP3717) (HEX3Aanonymous_535175)); LOC29.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3716), LOC29);
	memset((void*)(&LOC30), 0, sizeof(LOC30));
	LOC30.ClPrc = ((TMP3719) (HEX3Aanonymous_535178)); LOC30.ClEnv = NIM_NIL;
	registercallback_263374(result, ((NimStringDesc*) &TMP3718), LOC30);
	return result;
}

N_NIMCALL(void, runnimscript_535202)(NimStringDesc* scriptname) {
	Tpass261014 LOC1;
	Tpass261014 LOC2;
	Tsym214822* m;
	Tllstream202204* LOC3;
	gincludefile_261058 = includemodule_531818;
	gimportmodule_261053 = importmodule_531788;
	initdefines_190184();
	definesymbol_190004(((NimStringDesc*) &TMP2059));
	definesymbol_190004(((NimStringDesc*) &TMP2060));
	LOC1.Field0 = myopen_467665;
	LOC1.Field1 = myopencached_467696;
	LOC1.Field2 = myprocess_467804;
	LOC1.Field3 = myclose_467814;
	registerpass_261145(LOC1);
	LOC2.Field0 = myopen_414030;
	LOC2.Field1 = NIM_NIL;
	LOC2.Field2 = myprocess_414203;
	LOC2.Field3 = myprocess_414203;
	registerpass_261145(LOC2);
	appendstr_135244((&searchpaths_160125), libpath_160198);
	m = makemodule_531884(scriptname);
	(*m).flags |= ((NU32)1)<<((((NU8) 12))%(sizeof(NU32)*8));
	asgnRef((void**) (&globalctx_414017), setupvm_535075(m, scriptname));
	compilesystemmodule_531856();
	LOC3 = 0;
	LOC3 = llstreamopen_202241(scriptname, ((NU8) 0));
	processmodule_261044(m, LOC3, NIM_NIL);
	resetallmoduleshard_531353();
	asgnRef((void**) (&globalctx_414017), NIM_NIL);
	undefsymbol_190007(((NimStringDesc*) &TMP2059));
	undefsymbol_190007(((NimStringDesc*) &TMP2060));
}
NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigInit000)(void) {
}

NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigDatInit000)(void) {
static TNimNode* TMP3657[3];
static TNimNode TMP1635[4];
NTI535182.size = sizeof(TY535182);
NTI535182.kind = 18;
NTI535182.base = 0;
NTI535182.flags = 2;
TMP3657[0] = &TMP1635[1];
TMP1635[1].kind = 1;
TMP1635[1].offset = offsetof(TY535182, HEX3Astate);
TMP1635[1].typ = (&NTI325021);
TMP1635[1].name = ":state";
TMP3657[1] = &TMP1635[2];
TMP1635[2].kind = 1;
TMP1635[2].offset = offsetof(TY535182, errormsg535080);
TMP1635[2].typ = (&NTI138);
TMP1635[2].name = "errorMsg535080";
TMP3657[2] = &TMP1635[3];
TMP1635[3].kind = 1;
TMP1635[3].offset = offsetof(TY535182, vthisdir535081);
TMP1635[3].typ = (&NTI138);
TMP1635[3].name = "vthisDir535081";
TMP1635[0].len = 3; TMP1635[0].kind = 2; TMP1635[0].sons = &TMP3657[0];
NTI535182.node = &TMP1635[0];
NTI535181.size = sizeof(TY535182*);
NTI535181.kind = 22;
NTI535181.base = (&NTI535182);
NTI535181.flags = 2;
NTI535181.marker = TMP3658;
}

