/* Generated by Nim Compiler v0.13.0 */
/*   (c) 2015 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_INTBITS 64

#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 Tnode215790 Tnode215790;
typedef struct Tsym215822 Tsym215822;
typedef struct Tpass262014 Tpass262014;
typedef struct Tpasscontext262002 Tpasscontext262002;
typedef struct Trodreader253021 Trodreader253021;
typedef struct Tlinkedlist135016 Tlinkedlist135016;
typedef struct Tlistentry135010 Tlistentry135010;
typedef struct Tidobj190006 Tidobj190006;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Ttypeseq215824 Ttypeseq215824;
typedef struct Tscope215816 Tscope215816;
typedef struct TY215925 TY215925;
typedef struct Tstrtable215794 Tstrtable215794;
typedef struct Tsymseq215792 Tsymseq215792;
typedef struct Ttype215828 Ttype215828;
typedef struct Tident190012 Tident190012;
typedef struct Tlineinfo183337 Tlineinfo183337;
typedef struct Tloc215804 Tloc215804;
typedef struct Ropeobj170006 Ropeobj170006;
typedef struct Tlib215808 Tlib215808;
typedef struct Tctx264036 Tctx264036;
typedef struct TY536183 TY536183;
typedef struct TY264242 TY264242;
typedef struct TY184090 TY184090;
typedef struct PprocHEX3Aobjecttype264221 PprocHEX3Aobjecttype264221;
typedef struct TY264261 TY264261;
typedef struct TY118706 TY118706;
typedef struct Cell47504 Cell47504;
typedef struct Cellseq47520 Cellseq47520;
typedef struct Gcheap49818 Gcheap49818;
typedef struct Gcstack49816 Gcstack49816;
typedef struct Cellset47516 Cellset47516;
typedef struct Pagedesc47512 Pagedesc47512;
typedef struct Memregion29688 Memregion29688;
typedef struct Smallchunk29640 Smallchunk29640;
typedef struct Llchunk29682 Llchunk29682;
typedef struct Bigchunk29642 Bigchunk29642;
typedef struct Intset29614 Intset29614;
typedef struct Trunk29610 Trunk29610;
typedef struct Avlnode29686 Avlnode29686;
typedef struct Gcstat49814 Gcstat49814;
typedef struct Vmargs264030 Vmargs264030;
typedef struct Exception Exception;
typedef struct TSafePoint TSafePoint;
typedef struct TY125202 TY125202;
typedef struct Tllstream203204 Tllstream203204;
typedef struct Tnodeseq215784 Tnodeseq215784;
typedef struct TY215913 TY215913;
typedef struct Tindex253019 Tindex253019;
typedef struct Tiitable222163 Tiitable222163;
typedef struct Tiipairseq222161 Tiipairseq222161;
typedef struct Table253054 Table253054;
typedef struct Keyvaluepairseq253057 Keyvaluepairseq253057;
typedef struct Memfile251202 Memfile251202;
typedef struct Tinstantiation215812 Tinstantiation215812;
typedef struct TY264222 TY264222;
typedef struct TY264227 TY264227;
typedef struct TY264262 TY264262;
typedef struct Basechunk29638 Basechunk29638;
typedef struct Freecell29630 Freecell29630;
typedef struct Tiipair222159 Tiipair222159;
typedef struct Keyvaluepair253060 Keyvaluepair253060;
typedef struct Tblock264018 Tblock264018;
typedef struct TY264202 TY264202;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef N_NIMCALL_PTR(Tnode215790*, TY262054) (Tsym215822* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tsym215822*, TY262049) (Tsym215822* m, NI32 fileidx);
typedef N_NIMCALL_PTR(Tpasscontext262002*, Tpassopen262006) (Tsym215822* module);
typedef N_NIMCALL_PTR(Tpasscontext262002*, Tpassopencached262008) (Tsym215822* module, Trodreader253021* rd);
typedef N_NIMCALL_PTR(Tnode215790*, Tpassprocess262012) (Tpasscontext262002* p, Tnode215790* toplevelstmt);
typedef N_NIMCALL_PTR(Tnode215790*, Tpassclose262010) (Tpasscontext262002* p, Tnode215790* n);
struct Tpass262014 {
Tpassopen262006 Field0;
Tpassopencached262008 Field1;
Tpassprocess262012 Field2;
Tpassclose262010 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  Tidobj190006  {
  TNimObject Sup;
NI id;
};
struct  Tstrtable215794  {
NI counter;
Tsymseq215792* data;
};
struct  Tlineinfo183337  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  Tloc215804  {
NU8 k;
NU8 s;
NU16 flags;
Ttype215828* t;
Ropeobj170006* r;
Ropeobj170006* heaproot;
};
struct  Tsym215822  {
  Tidobj190006 Sup;
NU8 kind;
union{
struct {Ttypeseq215824* typeinstcache;
Tscope215816* typscope;
} S1;
struct {TY215925* procinstcache;
Tsym215822* gcunsafetyreason;
} S2;
struct {TY215925* usedgenerics;
Tstrtable215794 tab;
} S3;
struct {Tsym215822* guard;
NI bitsize;
} S4;
} kindU;
NU8 magic;
Ttype215828* typ;
Tident190012* name;
Tlineinfo183337 info;
Tsym215822* owner;
NU32 flags;
Tnode215790* ast;
NU32 options;
NI position;
NI offset;
Tloc215804 loc;
Tlib215808* annex;
Tnode215790* constraint;
};
struct  TY536183  {
NI HEX3Astate;
NimStringDesc* errormsg536080;
NimStringDesc* vthisdir536081;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Tpasscontext262002  {
  TNimObject Sup;
NIM_BOOL fromcache;
};
struct  Tctx264036  {
  Tpasscontext262002 Sup;
TY264242* code;
TY184090* debug;
Tnode215790* globals;
Tnode215790* constants;
Ttypeseq215824* types;
Tnode215790* currentexceptiona;
Tnode215790* currentexceptionb;
NI exceptioninstr;
PprocHEX3Aobjecttype264221* prc;
Tsym215822* module;
Tnode215790* callsite;
NU8 mode;
NU8 features;
NIM_BOOL traceactive;
NI loopiterations;
Tlineinfo183337 comesfromheuristic;
TY264261* callbacks;
NimStringDesc* errorflag;
};
struct TY118706 {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
struct  Cell47504  {
NI refcount;
TNimType* typ;
};
struct  Cellseq47520  {
NI len;
NI cap;
Cell47504** d;
};
struct  Cellset47516  {
NI counter;
NI max;
Pagedesc47512* head;
Pagedesc47512** data;
};
typedef Smallchunk29640* TY29703[512];
typedef Trunk29610* Trunkbuckets29612[256];
struct  Intset29614  {
Trunkbuckets29612 data;
};
struct  Memregion29688  {
NI minlargeobj;
NI maxlargeobj;
TY29703 freesmallchunks;
Llchunk29682* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk29642* freechunkslist;
Intset29614 chunkstarts;
Avlnode29686* root;
Avlnode29686* deleted;
Avlnode29686* last;
Avlnode29686* 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;
Cellseq47520 zct;
Cellseq47520 decstack;
Cellset47516 cycleroots;
Cellseq47520 tempstack;
NI recgclock;
Memregion29688 region;
Gcstat49814 stat;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (Vmargs264030* args, void* ClEnv);
void* ClEnv;
} Vmcallback264032;
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, TMP3691) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3693) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3695) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3697) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3700) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3702) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3704) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3706) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3708) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3710) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3712) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3714) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3717) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3719) (Vmargs264030* args, void* ClEnv);
typedef N_CLOSURE_PTR(void, TMP3721) (Vmargs264030* args, void* ClEnv);
struct  Tnode215790  {
Ttype215828* typ;
Tlineinfo183337 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym215822* sym;
} S4;
struct {Tident190012* ident;
} S5;
struct {Tnodeseq215784* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
struct  Tiitable222163  {
NI counter;
Tiipairseq222161* data;
};
struct  Tindex253019  {
NI lastidxkey;
NI lastidxval;
Tiitable222163 tab;
NimStringDesc* r;
NI offset;
};
struct  Table253054  {
Keyvaluepairseq253057* data;
NI counter;
};
struct  Memfile251202  {
void* mem;
NI size;
int handle;
};
struct  Trodreader253021  {
  TNimObject Sup;
NI pos;
NCSTRING s;
NU32 options;
NU8 reason;
TY215913* moddeps;
TY215913* files;
NI dataidx;
NI convertersidx;
NI initidx;
NI interfidx;
NI compilerprocsidx;
NI methodsidx;
NimStringDesc* filename;
Tindex253019 index;
Tindex253019 imports;
NI readerindex;
NI line;
NI moduleid;
Table253054 syms;
Memfile251202 memfile;
Tsymseq215792* methods;
NimStringDesc* origfile;
NIM_BOOL inviewmode;
};
struct  Tlistentry135010  {
  TNimObject Sup;
Tlistentry135010* prev;
Tlistentry135010* next;
};
struct  Tscope215816  {
NI depthlevel;
Tstrtable215794 symbols;
Tnodeseq215784* usingsyms;
Tscope215816* parent;
};
struct  Ttype215828  {
  Tidobj190006 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq215824* sons;
Tnode215790* n;
Tsym215822* owner;
Tsym215822* sym;
Tsym215822* destructor;
Tsym215822* deepcopy;
Tsym215822* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc215804 loc;
};
struct  Tident190012  {
  Tidobj190006 Sup;
NimStringDesc* s;
Tident190012* next;
NI h;
};
struct  Ropeobj170006  {
  TNimObject Sup;
Ropeobj170006* left;
Ropeobj170006* right;
NI length;
NimStringDesc* data;
};
struct  Tlib215808  {
  Tlistentry135010 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj170006* name;
Tnode215790* path;
};
struct TY264227 {
NIM_BOOL Field0;
NU8 Field1;
};
typedef TY264227 TY264230[256];
struct  PprocHEX3Aobjecttype264221  {
TY264222* blocks;
Tsym215822* sym;
TY264230 slots;
NI maxslots;
};
struct TY264262 {
NimStringDesc* Field0;
Vmcallback264032 Field1;
};
struct  Gcstack49816  {
Gcstack49816* prev;
Gcstack49816* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY29619[8];
struct  Pagedesc47512  {
Pagedesc47512* next;
NI key;
TY29619 bits;
};
struct  Basechunk29638  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk29640  {
  Basechunk29638 Sup;
Smallchunk29640* next;
Smallchunk29640* prev;
Freecell29630* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk29682  {
NI size;
NI acc;
Llchunk29682* next;
};
struct  Bigchunk29642  {
  Basechunk29638 Sup;
Bigchunk29642* next;
Bigchunk29642* prev;
NI align;
NF data;
};
struct  Trunk29610  {
Trunk29610* next;
NI key;
TY29619 bits;
};
typedef Avlnode29686* TY29693[2];
struct  Avlnode29686  {
TY29693 link;
NI key;
NI upperbound;
NI level;
};
struct  Vmargs264030  {
NI ra;
NI rb;
NI rc;
void* slots;
Tnode215790* currentexception;
};
struct  Tllstream203204  {
  TNimObject Sup;
NU8 kind;
FILE* f;
NimStringDesc* s;
NI rd;
NI wr;
NI lineoffset;
};
struct  Tiipair222159  {
NI key;
NI val;
};
struct Keyvaluepair253060 {
NI Field0;
NI Field1;
Tsym215822* Field2;
};
struct  Tinstantiation215812  {
Tsym215822* sym;
Ttypeseq215824* concretetypes;
TY215913* usedby;
NI compilesid;
};
struct  Tblock264018  {
Tsym215822* label;
TY264202* fixups;
};
struct  Freecell29630  {
Freecell29630* next;
NI zerofield;
};
struct TY125202 {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
struct Ttypeseq215824 {
  TGenericSeq Sup;
  Ttype215828* data[SEQ_DECL_SIZE];
};
struct TY215925 {
  TGenericSeq Sup;
  Tinstantiation215812* data[SEQ_DECL_SIZE];
};
struct Tsymseq215792 {
  TGenericSeq Sup;
  Tsym215822* data[SEQ_DECL_SIZE];
};
struct TY264242 {
  TGenericSeq Sup;
  NU32 data[SEQ_DECL_SIZE];
};
struct TY184090 {
  TGenericSeq Sup;
  Tlineinfo183337 data[SEQ_DECL_SIZE];
};
struct TY264261 {
  TGenericSeq Sup;
  TY264262 data[SEQ_DECL_SIZE];
};
struct Tnodeseq215784 {
  TGenericSeq Sup;
  Tnode215790* data[SEQ_DECL_SIZE];
};
struct TY215913 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
struct Tiipairseq222161 {
  TGenericSeq Sup;
  Tiipair222159 data[SEQ_DECL_SIZE];
};
struct Keyvaluepairseq253057 {
  TGenericSeq Sup;
  Keyvaluepair253060 data[SEQ_DECL_SIZE];
};
struct TY264222 {
  TGenericSeq Sup;
  Tblock264018 data[SEQ_DECL_SIZE];
};
struct TY264202 {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
N_NIMCALL(Tnode215790*, includemodule_532818)(Tsym215822* s, NI32 fileidx);
N_NIMCALL(Tsym215822*, importmodule_532788)(Tsym215822* s, NI32 fileidx);
N_NIMCALL(void, initdefines_191184)(void);
N_NIMCALL(void, definesymbol_191004)(NimStringDesc* symbol);
N_NIMCALL(void, registerpass_262145)(Tpass262014* p);
N_NIMCALL(Tpasscontext262002*, myopen_468665)(Tsym215822* module);
N_NIMCALL(Tpasscontext262002*, myopencached_468696)(Tsym215822* module, Trodreader253021* rd);
N_NIMCALL(Tnode215790*, myprocess_468804)(Tpasscontext262002* context, Tnode215790* n);
N_NIMCALL(Tnode215790*, myclose_468814)(Tpasscontext262002* context, Tnode215790* n);
N_NIMCALL(Tpasscontext262002*, myopen_415030)(Tsym215822* module);
N_NIMCALL(Tnode215790*, myprocess_415203)(Tpasscontext262002* c, Tnode215790* n);
N_NIMCALL(void, appendstr_135244)(Tlinkedlist135016* list, NimStringDesc* data);
N_NIMCALL(Tsym215822*, makemodule_532884)(NimStringDesc* filename);
N_NIMCALL(Tctx264036*, setupvm_536075)(Tsym215822* module, NimStringDesc* scriptname);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP3660)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_NIMCALL(Tctx264036*, newctx_264267)(Tsym215822* module);
N_NIMCALL(void, registeradditionalops_414930)(Tctx264036* 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(Cell47504*, usrtocell_51440)(void* usr);
static N_INLINE(void, rtladdzct_53001)(Cell47504* c);
N_NOINLINE(void, addzct_51417)(Cellseq47520* s, Cell47504* c);
N_NIMCALL(void, registercallback_264374)(Tctx264036* c, NimStringDesc* name, Vmcallback264032 callback);
N_CLOSURE(void, HEX3Aanonymous_536094)(Vmargs264030* a, void* ClEnv);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_NIMCALL(void, listdirs_536003)(Vmargs264030* a, NU8 filter);
N_NIMCALL(NimStringDesc*, getstring_403037)(Vmargs264030* 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_402942)(Vmargs264030* 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)(Cell47504* c);
static N_INLINE(NIM_BOOL, canbecycleroot_51458)(Cell47504* c);
static N_INLINE(void, rtladdcycleroot_52220)(Cell47504* c);
N_NOINLINE(void, incl_48247)(Cellset47516* s, Cell47504* cell);
static N_INLINE(void, decref_53401)(Cell47504* c);
N_NIMCALL(void, reraiseException)(void);
N_CLOSURE(void, HEX3Aanonymous_536098)(Vmargs264030* a, void* ClEnv);
N_CLOSURE(void, HEX3Aanonymous_536102)(Vmargs264030* a, void* ClEnv);
N_NIMCALL(void, nosremoveDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_536105)(Vmargs264030* a, void* ClEnv);
N_NIMCALL(void, nosremoveFile)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_536108)(Vmargs264030* a, void* ClEnv);
N_NIMCALL(void, noscreateDir)(NimStringDesc* dir);
N_CLOSURE(void, HEX3Aanonymous_536111)(Vmargs264030* a, void* ClEnv);
N_NIMCALL(void, setresult_402900)(Vmargs264030* a, NimStringDesc* v);
N_CLOSURE(void, HEX3Aanonymous_536114)(Vmargs264030* 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_536117)(Vmargs264030* a, void* ClEnv);
N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
N_CLOSURE(void, HEX3Aanonymous_536120)(Vmargs264030* a, void* ClEnv);
N_NIMCALL(void, nosmoveFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_536123)(Vmargs264030* a, void* ClEnv);
N_NIMCALL(void, noscopyFile)(NimStringDesc* source, NimStringDesc* dest);
N_CLOSURE(void, HEX3Aanonymous_536126)(Vmargs264030* a, void* ClEnv);
N_NIMCALL(void, setresult_402851)(Vmargs264030* a, NF v);
N_NIMCALL(NF, toseconds_105458)(time_t time);
N_NIMCALL(time_t, nosgetLastModificationTime)(NimStringDesc* file);
N_CLOSURE(void, HEX3Aanonymous_536129)(Vmargs264030* a, void* ClEnv);
N_NIMCALL(void, setresult_402831)(Vmargs264030* a, NI64 v);
N_NIMCALL(NI, nospexecCmd)(NimStringDesc* command);
N_NIMCALL(void, HEX3Aanonymous_536132)(Vmargs264030* a);
N_NIMCALL(NimStringDesc*, getenv_125825)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_536135)(Vmargs264030* a);
N_NIMCALL(void, setresult_402871)(Vmargs264030* a, NIM_BOOL v_402874);
N_NIMCALL(NIM_BOOL, existsenv_125834)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_536138)(Vmargs264030* a);
N_NIMCALL(void, HEX3Aanonymous_536141)(Vmargs264030* a);
static N_INLINE(NIM_BOOL, fileexists_121804)(NimStringDesc* filename);
N_NIMCALL(NIM_BOOL, nosexistsFile)(NimStringDesc* filename);
N_CLOSURE(void, HEX3Aanonymous_536144)(Vmargs264030* a, void* ClEnv);
N_NIMCALL(void, HEX3Aanonymous_536147)(Vmargs264030* a);
N_NIMCALL(void, setconfigvar_161286)(NimStringDesc* key, NimStringDesc* val);
N_NIMCALL(void, HEX3Aanonymous_536150)(Vmargs264030* a);
N_NIMCALL(NimStringDesc*, getconfigvar_161282)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_536153)(Vmargs264030* a);
N_NIMCALL(NIM_BOOL, existsconfigvar_161278)(NimStringDesc* key);
N_NIMCALL(void, HEX3Aanonymous_536156)(Vmargs264030* a);
N_NIMCALL(NimStringDesc*, getnimcachedir_161610)(void);
N_NIMCALL(void, HEX3Aanonymous_536159)(Vmargs264030* a);
N_NIMCALL(NimStringDesc*, paramstr_131407)(NI i);
N_NIMCALL(NI64, getint_402986)(Vmargs264030* a, NI i);
N_NIMCALL(void, HEX3Aanonymous_536163)(Vmargs264030* a);
N_NIMCALL(NI, paramcount_131426)(void);
N_NIMCALL(void, HEX3Aanonymous_536166)(Vmargs264030* a);
N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_536169)(Vmargs264030* a);
N_NIMCALL(NI, nsuCmpIgnoreCase)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(void, HEX3Aanonymous_536172)(Vmargs264030* a);
N_NIMCALL(NimStringDesc*, canonicalizepath_161405)(NimStringDesc* path);
N_NIMCALL(void, HEX3Aanonymous_536176)(Vmargs264030* a);
N_NIMCALL(void, HEX3Aanonymous_536179)(Vmargs264030* a);
N_NIMCALL(void, processswitch_201016)(NimStringDesc* switch_201018, NimStringDesc* arg, NU8 pass, Tlineinfo183337 info);
N_NIMCALL(Tlineinfo183337, unknownlineinfo_184087)(void);
N_NIMCALL(void, compilesystemmodule_532856)(void);
N_NIMCALL(void, processmodule_262044)(Tsym215822* module, Tllstream203204* stream, Trodreader253021* rd);
N_NIMCALL(Tllstream203204*, llstreamopen_203241)(NimStringDesc* filename, NU8 mode);
N_NIMCALL(void, resetallmoduleshard_532350)(void);
N_NIMCALL(void, undefsymbol_191007)(NimStringDesc* symbol);
STRING_LITERAL(TMP2061, "nimscript", 9);
STRING_LITERAL(TMP2062, "nimconfig", 9);
STRING_LITERAL(TMP3661, "stdlib.system.listFiles", 23);
STRING_LITERAL(TMP3663, ".", 1);
STRING_LITERAL(TMP3664, "..", 2);
STRING_LITERAL(TMP3665, "", 0);
STRING_LITERAL(TMP3666, "stdlib.system.listDirs", 22);
STRING_LITERAL(TMP3668, "stdlib.system.removeDir", 23);
STRING_LITERAL(TMP3672, "stdlib.system.removeFile", 24);
STRING_LITERAL(TMP3674, "stdlib.system.createDir", 23);
STRING_LITERAL(TMP3676, "stdlib.system.getOsError", 24);
STRING_LITERAL(TMP3678, "stdlib.system.setCurrentDir", 27);
STRING_LITERAL(TMP3680, "stdlib.system.getCurrentDir", 27);
STRING_LITERAL(TMP3682, "stdlib.system.moveFile", 22);
STRING_LITERAL(TMP3684, "stdlib.system.copyFile", 22);
STRING_LITERAL(TMP3686, "stdlib.system.getLastModificationTime", 37);
STRING_LITERAL(TMP3688, "stdlib.system.rawExec", 21);
STRING_LITERAL(TMP3690, "stdlib.system.getEnv", 20);
STRING_LITERAL(TMP3692, "stdlib.system.existsEnv", 23);
STRING_LITERAL(TMP3694, "stdlib.system.dirExists", 23);
STRING_LITERAL(TMP3696, "stdlib.system.fileExists", 24);
STRING_LITERAL(TMP3698, "stdlib.system.thisDir", 21);
STRING_LITERAL(TMP3699, "stdlib.system.put", 17);
STRING_LITERAL(TMP3701, "stdlib.system.get", 17);
STRING_LITERAL(TMP3703, "stdlib.system.exists", 20);
STRING_LITERAL(TMP3705, "stdlib.system.nimcacheDir", 25);
STRING_LITERAL(TMP3707, "stdlib.system.paramStr", 22);
STRING_LITERAL(TMP3709, "stdlib.system.paramCount", 24);
STRING_LITERAL(TMP3711, "stdlib.system.cmpIgnoreStyle", 28);
STRING_LITERAL(TMP3713, "stdlib.system.cmpIgnoreCase", 27);
STRING_LITERAL(TMP3715, "stdlib.system.setCommand", 24);
STRING_LITERAL(TMP3718, "stdlib.system.getCommand", 24);
STRING_LITERAL(TMP3720, "stdlib.system.switch", 20);
extern TY262054 gincludefile_262058;
extern TY262049 gimportmodule_262053;
extern Tlinkedlist135016 searchpaths_161125;
extern NimStringDesc* libpath_161198;
extern Tctx264036* globalctx_415017;
TNimType NTI536183; /* object */
extern TNimType NTI326021; /* range -1..0(int) */
extern TNimType NTI138; /* string */
TNimType NTI536182; /* 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_161205;
extern NimStringDesc* gprojectname_161199;
extern NimStringDesc* gprojectfull_161201;
extern NimStringDesc* gprojectpath_161200;
N_NIMCALL(void, TMP3660)(void* p, NI op) {
	TY536183* a;
	a = (TY536183*)p;
	nimGCvisit((void*)(*a).errormsg536080, op);
	nimGCvisit((void*)(*a).vthisdir536081, op);
}

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

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

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	Cell47504* c;
	c = usrtocell_51440(p);
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU64)((*c).refcount) < (NU64)(((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_536003)(Vmargs264030* a, NU8 filter) {
	NimStringDesc* dir;
	TY125202* result;
	dir = getstring_403037(a, ((NI) 0));
	result = (TY125202*) newSeq((&NTI125202), 0);
	{
		NU8 kind_536027;
		NimStringDesc* path_536028;
		DIR* d_536066;
		kind_536027 = 0;
		path_536028 = 0;
		d_536066 = opendir(dir->data);
		{
			int LOC66;
			if (!!((d_536066 == NIM_NIL))) goto LA4;
			{
				while (1) {
					{
						struct dirent* x_536068;
						NimStringDesc* y_536070;
						x_536068 = readdir(d_536066);
						{
							if (!(x_536068 == NIM_NIL)) goto LA11;
							goto LA6;
						}
						LA11: ;
						y_536070 = cstrToNimstr(((NCSTRING) ((*x_536068).d_name)));
						{
							NIM_BOOL LOC15;
							struct stat s_536072;
							NU8 k_536074;
							LOC15 = 0;
							LOC15 = !(eqStrings(y_536070, ((NimStringDesc*) &TMP3663)));
							if (!(LOC15)) goto LA16;
							LOC15 = !(eqStrings(y_536070, ((NimStringDesc*) &TMP3664)));
							LA16: ;
							if (!LOC15) goto LA17;
							memset((void*)(&s_536072), 0, sizeof(s_536072));
							{
								if (!NIM_TRUE) goto LA21;
								y_536070 = HEX2F_118465(dir, y_536070);
							}
							LA21: ;
							k_536074 = ((NU8) 0);
							{
								if (!!(((*x_536068).d_type == ((NI8) 0)))) goto LA25;
								{
									if (!((*x_536068).d_type == ((NI8) 4))) goto LA29;
									k_536074 = ((NU8) 2);
								}
								LA29: ;
								{
									if (!((*x_536068).d_type == ((NI8) 10))) goto LA33;
									{
										NIM_BOOL LOC37;
										LOC37 = 0;
										LOC37 = direxists_121808(y_536070);
										if (!LOC37) goto LA38;
										k_536074 = ((NU8) 3);
									}
									goto LA35;
									LA38: ;
									{
										k_536074 = (NU8)(k_536074 + ((NI) 1));
									}
									LA35: ;
								}
								LA33: ;
								kind_536027 = k_536074;
								path_536028 = y_536070;
								{
									NimStringDesc* LOC45;
									if (!((filter &(1U<<((NU)(kind_536027)&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_536028);
									if (LOC45) nimGCunrefNoCycle(LOC45);
									++result->Sup.len;
								}
								LA43: ;
								goto LA8;
							}
							LA25: ;
							{
								int LOC48;
								LOC48 = 0;
								LOC48 = lstat(y_536070->data, (&s_536072));
								if (!(LOC48 < ((NI32) 0))) goto LA49;
								goto LA6;
							}
							LA49: ;
							{
								NIM_BOOL LOC53;
								LOC53 = 0;
								LOC53 = S_ISDIR(s_536072.st_mode);
								if (!LOC53) goto LA54;
								k_536074 = ((NU8) 2);
							}
							LA54: ;
							{
								NIM_BOOL LOC58;
								LOC58 = 0;
								LOC58 = S_ISLNK(s_536072.st_mode);
								if (!LOC58) goto LA59;
								k_536074 = (NU8)(k_536074 + ((NI) 1));
							}
							LA59: ;
							kind_536027 = k_536074;
							path_536028 = y_536070;
							{
								NimStringDesc* LOC65;
								if (!((filter &(1U<<((NU)(kind_536027)&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_536028);
								if (LOC65) nimGCunrefNoCycle(LOC65);
								++result->Sup.len;
							}
							LA63: ;
						}
						LA17: ;
					} LA8: ;
				}
			} LA6: ;
			LOC66 = 0;
			LOC66 = closedir(d_536066);
		}
		LA4: ;
	}
	setresult_402942(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*) &TMP3665));
	}
	goto LA1;
	LA3: ;
	{
		result = copyString((*e).message);
	}
	LA1: ;
	goto BeforeRet;
	}BeforeRet: ;
	return result;
}

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

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

static N_INLINE(void, rtladdcycleroot_52220)(Cell47504* 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)(Cell47504* c) {
	(*c).refcount = (NI)((NU64)((*c).refcount) + (NU64)(((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)(Cell47504* c) {
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU64)((*c).refcount) < (NU64)(((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) {
	{
		Cell47504* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_51440(src);
		incref_53819(LOC5);
	}
	LA3: ;
	{
		Cell47504* 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_536094)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536186;
	TSafePoint TMP3662;
	HEX3Aenvp_536186 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3662);
	TMP3662.status = setjmp(TMP3662.context);
	if (TMP3662.status == 0) {
		listdirs_536003(a, 3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3662.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536186).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3662.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_536098)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536188;
	TSafePoint TMP3667;
	HEX3Aenvp_536188 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3667);
	TMP3667.status = setjmp(TMP3667.context);
	if (TMP3667.status == 0) {
		listdirs_536003(a, 4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3667.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536188).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3667.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_536102)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536189;
	TSafePoint TMP3669;
	HEX3Aenvp_536189 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3669);
	TMP3669.status = setjmp(TMP3669.context);
	if (TMP3669.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_403037(a, ((NI) 0));
		nosremoveDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3669.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536189).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3669.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_536105)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536190;
	TSafePoint TMP3673;
	HEX3Aenvp_536190 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3673);
	TMP3673.status = setjmp(TMP3673.context);
	if (TMP3673.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_403037(a, ((NI) 0));
		nosremoveFile(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3673.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536190).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3673.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_536108)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536191;
	TSafePoint TMP3675;
	HEX3Aenvp_536191 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3675);
	TMP3675.status = setjmp(TMP3675.context);
	if (TMP3675.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_403037(a, ((NI) 0));
		noscreateDir(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3675.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536191).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3675.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_536111)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536192;
	TSafePoint TMP3677;
	HEX3Aenvp_536192 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3677);
	TMP3677.status = setjmp(TMP3677.context);
	if (TMP3677.status == 0) {
		setresult_402900(a, (*HEX3Aenvp_536192).errormsg536080);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3677.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536192).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3677.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*) &TMP3665));
	}
	LA4: ;
}

N_CLOSURE(void, HEX3Aanonymous_536114)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536193;
	TSafePoint TMP3679;
	HEX3Aenvp_536193 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3679);
	TMP3679.status = setjmp(TMP3679.context);
	if (TMP3679.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = getstring_403037(a, ((NI) 0));
		setcurrentdir_122801(LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3679.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536193).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3679.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_536117)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536194;
	TSafePoint TMP3681;
	HEX3Aenvp_536194 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3681);
	TMP3681.status = setjmp(TMP3681.context);
	if (TMP3681.status == 0) {
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = nosgetCurrentDir();
		setresult_402900(a, LOC2);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3681.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536194).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3681.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_536120)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536195;
	TSafePoint TMP3683;
	HEX3Aenvp_536195 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3683);
	TMP3683.status = setjmp(TMP3683.context);
	if (TMP3683.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_403037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_403037(a, ((NI) 1));
		nosmoveFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3683.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536195).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3683.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_536123)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536196;
	TSafePoint TMP3685;
	HEX3Aenvp_536196 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3685);
	TMP3685.status = setjmp(TMP3685.context);
	if (TMP3685.status == 0) {
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC2 = getstring_403037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = getstring_403037(a, ((NI) 1));
		noscopyFile(LOC2, LOC3);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3685.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536196).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3685.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_536126)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536197;
	TSafePoint TMP3687;
	HEX3Aenvp_536197 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3687);
	TMP3687.status = setjmp(TMP3687.context);
	if (TMP3687.status == 0) {
		NimStringDesc* LOC2;
		time_t LOC3;
		NF LOC4;
		LOC2 = 0;
		LOC2 = getstring_403037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nosgetLastModificationTime(LOC2);
		LOC4 = 0;
		LOC4 = toseconds_105458(LOC3);
		setresult_402851(a, LOC4);
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3687.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536197).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3687.status != 0) reraiseException();
}

N_CLOSURE(void, HEX3Aanonymous_536129)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536198;
	TSafePoint TMP3689;
	HEX3Aenvp_536198 = (TY536183*) ClEnv;
	pushSafePoint(&TMP3689);
	TMP3689.status = setjmp(TMP3689.context);
	if (TMP3689.status == 0) {
		NimStringDesc* LOC2;
		NI LOC3;
		LOC2 = 0;
		LOC2 = getstring_403037(a, ((NI) 0));
		LOC3 = 0;
		LOC3 = nospexecCmd(LOC2);
		setresult_402831(a, ((NI64) (LOC3)));
		popSafePoint();
	}
	else {
		popSafePoint();
		if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
			TMP3689.status = 0;
			asgnRefNoCycle((void**) (&(*HEX3Aenvp_536198).errormsg536080), getcurrentexceptionmsg_87205());
			popCurrentException();
		}
	}
	if (TMP3689.status != 0) reraiseException();
}

N_NIMCALL(void, HEX3Aanonymous_536132)(Vmargs264030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_403037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getenv_125825(LOC1);
	setresult_402900(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_536135)(Vmargs264030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_403037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsenv_125834(LOC1);
	setresult_402871(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_536138)(Vmargs264030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_403037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = direxists_121808(LOC1);
	setresult_402871(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_536141)(Vmargs264030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_403037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = fileexists_121804(LOC1);
	setresult_402871(a, LOC2);
}

N_CLOSURE(void, HEX3Aanonymous_536144)(Vmargs264030* a, void* ClEnv) {
	TY536183* HEX3Aenvp_536199;
	HEX3Aenvp_536199 = (TY536183*) ClEnv;
	setresult_402900(a, (*HEX3Aenvp_536199).vthisdir536081);
}

N_NIMCALL(void, HEX3Aanonymous_536147)(Vmargs264030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_403037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_403037(a, ((NI) 1));
	setconfigvar_161286(LOC1, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_536150)(Vmargs264030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getstring_403037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getconfigvar_161282(LOC1);
	setresult_402900(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_536153)(Vmargs264030* a) {
	NimStringDesc* LOC1;
	NIM_BOOL LOC2;
	LOC1 = 0;
	LOC1 = getstring_403037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = existsconfigvar_161278(LOC1);
	setresult_402871(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_536156)(Vmargs264030* a) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = getnimcachedir_161610();
	setresult_402900(a, LOC1);
}

N_NIMCALL(void, HEX3Aanonymous_536159)(Vmargs264030* a) {
	NI64 LOC1;
	NimStringDesc* LOC2;
	LOC1 = 0;
	LOC1 = getint_402986(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = paramstr_131407(((NI) (LOC1)));
	setresult_402900(a, LOC2);
}

N_NIMCALL(void, HEX3Aanonymous_536163)(Vmargs264030* a) {
	NI LOC1;
	LOC1 = 0;
	LOC1 = paramcount_131426();
	setresult_402831(a, ((NI64) (LOC1)));
}

N_NIMCALL(void, HEX3Aanonymous_536166)(Vmargs264030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_403037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_403037(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreStyle(LOC1, LOC2);
	setresult_402831(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_536169)(Vmargs264030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NI LOC3;
	LOC1 = 0;
	LOC1 = getstring_403037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_403037(a, ((NI) 1));
	LOC3 = 0;
	LOC3 = nsuCmpIgnoreCase(LOC1, LOC2);
	setresult_402831(a, ((NI64) (LOC3)));
}

N_NIMCALL(void, HEX3Aanonymous_536172)(Vmargs264030* a) {
	NimStringDesc* arg;
	asgnRefNoCycle((void**) (&command_161205), getstring_403037(a, ((NI) 0)));
	arg = getstring_403037(a, ((NI) 1));
	{
		NimStringDesc* LOC5;
		TSafePoint TMP3716;
		if (!(((NI) 0) < (arg ? arg->Sup.len : 0))) goto LA3;
		LOC5 = 0;
		LOC5 = gprojectname_161199; gprojectname_161199 = copyStringRC1(arg);
		if (LOC5) nimGCunrefNoCycle(LOC5);
		pushSafePoint(&TMP3716);
		TMP3716.status = setjmp(TMP3716.context);
		if (TMP3716.status == 0) {
			NimStringDesc* LOC7;
			LOC7 = 0;
			LOC7 = HEX2F_118465(gprojectpath_161200, gprojectname_161199);
			asgnRefNoCycle((void**) (&gprojectfull_161201), canonicalizepath_161405(LOC7));
			popSafePoint();
		}
		else {
			popSafePoint();
			if (isObj(getCurrentException()->Sup.m_type, (&NTI3630))) {
				NimStringDesc* LOC10;
				TMP3716.status = 0;
				LOC10 = 0;
				LOC10 = gprojectfull_161201; gprojectfull_161201 = copyStringRC1(gprojectname_161199);
				if (LOC10) nimGCunrefNoCycle(LOC10);
				popCurrentException();
			}
		}
		if (TMP3716.status != 0) reraiseException();
	}
	LA3: ;
}

N_NIMCALL(void, HEX3Aanonymous_536176)(Vmargs264030* a) {
	setresult_402900(a, command_161205);
}

N_NIMCALL(void, HEX3Aanonymous_536179)(Vmargs264030* a) {
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	Tlineinfo183337 LOC3;
	LOC1 = 0;
	LOC1 = getstring_403037(a, ((NI) 0));
	LOC2 = 0;
	LOC2 = getstring_403037(a, ((NI) 1));
	LOC3 = unknownlineinfo_184087();
	processswitch_201016(LOC1, LOC2, ((NU8) 2), LOC3);
}

N_NIMCALL(Tctx264036*, setupvm_536075)(Tsym215822* module, NimStringDesc* scriptname) {
	Tctx264036* result;
	TY536183* HEX3Aenv_536201;
	TY118706 LOC1;
	NimStringDesc* LOC2;
	Vmcallback264032 LOC3;
	Vmcallback264032 LOC4;
	Vmcallback264032 LOC5;
	Vmcallback264032 LOC6;
	Vmcallback264032 LOC7;
	Vmcallback264032 LOC8;
	Vmcallback264032 LOC9;
	Vmcallback264032 LOC10;
	Vmcallback264032 LOC11;
	Vmcallback264032 LOC12;
	Vmcallback264032 LOC13;
	Vmcallback264032 LOC14;
	Vmcallback264032 LOC15;
	Vmcallback264032 LOC16;
	Vmcallback264032 LOC17;
	Vmcallback264032 LOC18;
	Vmcallback264032 LOC19;
	Vmcallback264032 LOC20;
	Vmcallback264032 LOC21;
	Vmcallback264032 LOC22;
	Vmcallback264032 LOC23;
	Vmcallback264032 LOC24;
	Vmcallback264032 LOC25;
	Vmcallback264032 LOC26;
	Vmcallback264032 LOC27;
	Vmcallback264032 LOC28;
	Vmcallback264032 LOC29;
	Vmcallback264032 LOC30;
	result = 0;
	HEX3Aenv_536201 = 0;
	HEX3Aenv_536201 = (TY536183*) newObj((&NTI536182), sizeof(TY536183));
	result = newctx_264267(module);
	(*result).mode = ((NU8) 0);
	registeradditionalops_414930(result);
	memset((void*)(&LOC1), 0, sizeof(LOC1));
	nossplitFile(scriptname, (&LOC1));
	LOC2 = 0;
	LOC2 = (*HEX3Aenv_536201).vthisdir536081; (*HEX3Aenv_536201).vthisdir536081 = copyStringRC1(LOC1.Field0);
	if (LOC2) nimGCunrefNoCycle(LOC2);
	memset((void*)(&LOC3), 0, sizeof(LOC3));
	LOC3.ClPrc = HEX3Aanonymous_536094; LOC3.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3661), LOC3);
	memset((void*)(&LOC4), 0, sizeof(LOC4));
	LOC4.ClPrc = HEX3Aanonymous_536098; LOC4.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3666), LOC4);
	memset((void*)(&LOC5), 0, sizeof(LOC5));
	LOC5.ClPrc = HEX3Aanonymous_536102; LOC5.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3668), LOC5);
	memset((void*)(&LOC6), 0, sizeof(LOC6));
	LOC6.ClPrc = HEX3Aanonymous_536105; LOC6.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3672), LOC6);
	memset((void*)(&LOC7), 0, sizeof(LOC7));
	LOC7.ClPrc = HEX3Aanonymous_536108; LOC7.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3674), LOC7);
	memset((void*)(&LOC8), 0, sizeof(LOC8));
	LOC8.ClPrc = HEX3Aanonymous_536111; LOC8.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3676), LOC8);
	memset((void*)(&LOC9), 0, sizeof(LOC9));
	LOC9.ClPrc = HEX3Aanonymous_536114; LOC9.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3678), LOC9);
	memset((void*)(&LOC10), 0, sizeof(LOC10));
	LOC10.ClPrc = HEX3Aanonymous_536117; LOC10.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3680), LOC10);
	memset((void*)(&LOC11), 0, sizeof(LOC11));
	LOC11.ClPrc = HEX3Aanonymous_536120; LOC11.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3682), LOC11);
	memset((void*)(&LOC12), 0, sizeof(LOC12));
	LOC12.ClPrc = HEX3Aanonymous_536123; LOC12.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3684), LOC12);
	memset((void*)(&LOC13), 0, sizeof(LOC13));
	LOC13.ClPrc = HEX3Aanonymous_536126; LOC13.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3686), LOC13);
	memset((void*)(&LOC14), 0, sizeof(LOC14));
	LOC14.ClPrc = HEX3Aanonymous_536129; LOC14.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3688), LOC14);
	memset((void*)(&LOC15), 0, sizeof(LOC15));
	LOC15.ClPrc = ((TMP3691) (HEX3Aanonymous_536132)); LOC15.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3690), LOC15);
	memset((void*)(&LOC16), 0, sizeof(LOC16));
	LOC16.ClPrc = ((TMP3693) (HEX3Aanonymous_536135)); LOC16.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3692), LOC16);
	memset((void*)(&LOC17), 0, sizeof(LOC17));
	LOC17.ClPrc = ((TMP3695) (HEX3Aanonymous_536138)); LOC17.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3694), LOC17);
	memset((void*)(&LOC18), 0, sizeof(LOC18));
	LOC18.ClPrc = ((TMP3697) (HEX3Aanonymous_536141)); LOC18.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3696), LOC18);
	memset((void*)(&LOC19), 0, sizeof(LOC19));
	LOC19.ClPrc = HEX3Aanonymous_536144; LOC19.ClEnv = HEX3Aenv_536201;
	registercallback_264374(result, ((NimStringDesc*) &TMP3698), LOC19);
	memset((void*)(&LOC20), 0, sizeof(LOC20));
	LOC20.ClPrc = ((TMP3700) (HEX3Aanonymous_536147)); LOC20.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3699), LOC20);
	memset((void*)(&LOC21), 0, sizeof(LOC21));
	LOC21.ClPrc = ((TMP3702) (HEX3Aanonymous_536150)); LOC21.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3701), LOC21);
	memset((void*)(&LOC22), 0, sizeof(LOC22));
	LOC22.ClPrc = ((TMP3704) (HEX3Aanonymous_536153)); LOC22.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3703), LOC22);
	memset((void*)(&LOC23), 0, sizeof(LOC23));
	LOC23.ClPrc = ((TMP3706) (HEX3Aanonymous_536156)); LOC23.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3705), LOC23);
	memset((void*)(&LOC24), 0, sizeof(LOC24));
	LOC24.ClPrc = ((TMP3708) (HEX3Aanonymous_536159)); LOC24.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3707), LOC24);
	memset((void*)(&LOC25), 0, sizeof(LOC25));
	LOC25.ClPrc = ((TMP3710) (HEX3Aanonymous_536163)); LOC25.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3709), LOC25);
	memset((void*)(&LOC26), 0, sizeof(LOC26));
	LOC26.ClPrc = ((TMP3712) (HEX3Aanonymous_536166)); LOC26.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3711), LOC26);
	memset((void*)(&LOC27), 0, sizeof(LOC27));
	LOC27.ClPrc = ((TMP3714) (HEX3Aanonymous_536169)); LOC27.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3713), LOC27);
	memset((void*)(&LOC28), 0, sizeof(LOC28));
	LOC28.ClPrc = ((TMP3717) (HEX3Aanonymous_536172)); LOC28.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3715), LOC28);
	memset((void*)(&LOC29), 0, sizeof(LOC29));
	LOC29.ClPrc = ((TMP3719) (HEX3Aanonymous_536176)); LOC29.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3718), LOC29);
	memset((void*)(&LOC30), 0, sizeof(LOC30));
	LOC30.ClPrc = ((TMP3721) (HEX3Aanonymous_536179)); LOC30.ClEnv = NIM_NIL;
	registercallback_264374(result, ((NimStringDesc*) &TMP3720), LOC30);
	return result;
}

N_NIMCALL(void, runnimscript_536203)(NimStringDesc* scriptname) {
	Tpass262014 LOC1;
	Tpass262014 LOC2;
	Tsym215822* m;
	Tllstream203204* LOC3;
	gincludefile_262058 = includemodule_532818;
	gimportmodule_262053 = importmodule_532788;
	initdefines_191184();
	definesymbol_191004(((NimStringDesc*) &TMP2061));
	definesymbol_191004(((NimStringDesc*) &TMP2062));
	LOC1.Field0 = myopen_468665;
	LOC1.Field1 = myopencached_468696;
	LOC1.Field2 = myprocess_468804;
	LOC1.Field3 = myclose_468814;
	registerpass_262145((&LOC1));
	LOC2.Field0 = myopen_415030;
	LOC2.Field1 = NIM_NIL;
	LOC2.Field2 = myprocess_415203;
	LOC2.Field3 = myprocess_415203;
	registerpass_262145((&LOC2));
	appendstr_135244((&searchpaths_161125), libpath_161198);
	m = makemodule_532884(scriptname);
	(*m).flags |= ((NU32)1)<<((((NU8) 12))%(sizeof(NU32)*8));
	asgnRef((void**) (&globalctx_415017), setupvm_536075(m, scriptname));
	compilesystemmodule_532856();
	LOC3 = 0;
	LOC3 = llstreamopen_203241(scriptname, ((NU8) 0));
	processmodule_262044(m, LOC3, NIM_NIL);
	resetallmoduleshard_532350();
	asgnRef((void**) (&globalctx_415017), NIM_NIL);
	undefsymbol_191007(((NimStringDesc*) &TMP2061));
	undefsymbol_191007(((NimStringDesc*) &TMP2062));
}
NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigInit000)(void) {
}

NIM_EXTERNC N_NOINLINE(void, compiler_scriptconfigDatInit000)(void) {
static TNimNode* TMP3659[3];
static TNimNode TMP1637[4];
NTI536183.size = sizeof(TY536183);
NTI536183.kind = 18;
NTI536183.base = 0;
NTI536183.flags = 2;
TMP3659[0] = &TMP1637[1];
TMP1637[1].kind = 1;
TMP1637[1].offset = offsetof(TY536183, HEX3Astate);
TMP1637[1].typ = (&NTI326021);
TMP1637[1].name = ":state";
TMP3659[1] = &TMP1637[2];
TMP1637[2].kind = 1;
TMP1637[2].offset = offsetof(TY536183, errormsg536080);
TMP1637[2].typ = (&NTI138);
TMP1637[2].name = "errorMsg536080";
TMP3659[2] = &TMP1637[3];
TMP1637[3].kind = 1;
TMP1637[3].offset = offsetof(TY536183, vthisdir536081);
TMP1637[3].typ = (&NTI138);
TMP1637[3].name = "vthisDir536081";
TMP1637[0].len = 3; TMP1637[0].kind = 2; TMP1637[0].sons = &TMP3659[0];
NTI536183.node = &TMP1637[0];
NTI536182.size = sizeof(TY536183*);
NTI536182.kind = 22;
NTI536182.base = (&NTI536183);
NTI536182.flags = 2;
NTI536182.marker = TMP3660;
}

