typedef   signed char       int8;
typedef unsigned char      uint8;
typedef   signed short      int16;
typedef unsigned short     uint16;
typedef   signed int        int32;
typedef unsigned int       uint32;
typedef   signed long long  int64;
typedef unsigned long long uint64;
typedef struct { char *data; int64 len; int64 size; } FBSTRING;
typedef int8 boolean;
struct $8DWSTRING {
	uint32* DATA;
	int64 LEN;
	int64 SIZE;
};
#define __FB_STATIC_ASSERT( expr ) extern int __$fb_structsizecheck[(expr) ? 1 : -1]
__FB_STATIC_ASSERT( sizeof( struct $8DWSTRING ) == 24 );
typedef int64 $13FB_WARNINGMSG;
struct $8DZSTRING {
	char* DATA;
	int64 LEN;
	int64 SIZE;
};
__FB_STATIC_ASSERT( sizeof( struct $8DZSTRING ) == 24 );
struct $16__FB_ARRAYDIMTB$ {
	int64 ELEMENTS;
	int64 LBOUND;
	int64 UBOUND;
};
__FB_STATIC_ASSERT( sizeof( struct $16__FB_ARRAYDIMTB$ ) == 24 );
struct $7FBARRAYI8FBSTRINGE {
	FBSTRING* DATA;
	FBSTRING* PTR;
	int64 SIZE;
	int64 ELEMENT_LEN;
	int64 DIMENSIONS;
	int64 FLAGS;
	struct $16__FB_ARRAYDIMTB$ DIMTB[8];
};
__FB_STATIC_ASSERT( sizeof( struct $7FBARRAYI8FBSTRINGE ) == 240 );
struct $8FBARRAY1IlE {
	int64* DATA;
	int64* PTR;
	int64 SIZE;
	int64 ELEMENT_LEN;
	int64 DIMENSIONS;
	int64 FLAGS;
	struct $16__FB_ARRAYDIMTB$ DIMTB[1];
};
__FB_STATIC_ASSERT( sizeof( struct $8FBARRAY1IlE ) == 72 );
struct $7FBARRAYIvE {
	void* DATA;
	void* PTR;
	int64 SIZE;
	int64 ELEMENT_LEN;
	int64 DIMENSIONS;
	int64 FLAGS;
	struct $16__FB_ARRAYDIMTB$ DIMTB[8];
};
__FB_STATIC_ASSERT( sizeof( struct $7FBARRAYIvE ) == 240 );
struct $7FBARRAYI8DWSTRINGE {
	struct $8DWSTRING* DATA;
	struct $8DWSTRING* PTR;
	int64 SIZE;
	int64 ELEMENT_LEN;
	int64 DIMENSIONS;
	int64 FLAGS;
	struct $16__FB_ARRAYDIMTB$ DIMTB[8];
};
__FB_STATIC_ASSERT( sizeof( struct $7FBARRAYI8DWSTRINGE ) == 240 );
struct $8HASHITEM;
struct $8HASHITEM {
	char* NAME;
	void* DATA;
	struct $8HASHITEM* PREV;
	struct $8HASHITEM* NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $8HASHITEM ) == 32 );
struct $11TSTRSETITEM {
	FBSTRING S;
	int64 USERDATA;
	struct $8HASHITEM* HASHITEM;
};
__FB_STATIC_ASSERT( sizeof( struct $11TSTRSETITEM ) == 40 );
int32 fb_ArrayRedimEx( struct $7FBARRAYIvE*, const uint64, const int32, const int32, const uint64, ... );
int32 fb_ArrayRedimPresvEx( struct $7FBARRAYIvE*, const uint64, const int32, const int32, const uint64, ... );
int32 fb_ArrayErase( struct $7FBARRAYIvE* );
void* fb_ErrorThrowAt( const int32, const char*, const void*, const void* );
void free( void* );
FBSTRING* fb_WstrAssignToA_Init( void*, const int64, const uint32*, const int64 );
FBSTRING* fb_StrAssign( void*, const int64, const void*, const int64, const int32 );
uint32* fb_WstrAssign( uint32*, const int64, const uint32* );
uint32* fb_WstrAssignFromA( uint32*, const int64, const void*, const int64 );
FBSTRING* fb_WstrAssignToA( void*, const int64, const uint32*, const int32 );
void fb_StrDelete( const FBSTRING* );
void fb_WstrDelete( const uint32* );
FBSTRING* fb_StrConcat( FBSTRING*, const void*, const int64, const void*, const int64 );
FBSTRING* fb_StrConcatAssign( void*, const int64, const void*, const int64, const int32 );
FBSTRING* fb_StrAllocTempResult( const FBSTRING* );
FBSTRING* fb_StrAllocTempDescZ( const char* );
FBSTRING* fb_StrMid( const FBSTRING*, const int64, const int64 );
uint32* fb_WstrMid( const uint32*, const int64, const int64 );
int64 fb_StrLen( const void*, const int64 );
int64 fb_WstrLen( const uint32* );
FBSTRING* fb_CHR( const int32, ... );
uint32* fb_WstrChr( const int32, ... );
int64 fb_StrInstr( const int64, const FBSTRING*, const FBSTRING* );
int64 fb_WstrInstr( const int64, const uint32*, const uint32* );
FBSTRING* fb_OCT_l( const uint64 );
uint32* fb_WstrOct_l( const uint64 );
FBSTRING* fb_LEFT( const FBSTRING*, const int64 );
uint32* fb_WstrLeft( const uint32*, const int64 );
static void fb_ctor__hlpzstr( void ) __attribute__(( constructor ));
void* XALLOCATE( int32 );
void* XREALLOCATE( void*, int32 );
static void _ZN11TSTRSETITEMaSERKS_( struct $11TSTRSETITEM*, const struct $11TSTRSETITEM* );
typedef int64 $12FB_ERRMSGOPT;
void ERRREPORTWARN( int64, const char*, $12FB_ERRMSGOPT, const char* );
int64 FBISHOSTBIGENDIAN( void );
int64 FBGETTARGETWCHARSIZE( void );
void DZSTRALLOCATE( struct $8DZSTRING*, int64 );
void DWSTRALLOCATE( struct $8DWSTRING*, int64 );
void DWSTRASSIGN( struct $8DWSTRING*, const uint32* );
void DWSTRCONCATASSIGN( struct $8DWSTRING*, const uint32* );
int64 HSTR2LONG( FBSTRING*, int32* );
static int64 HREMAPCHAR( int64 );
static int64 HHEXCHAR( int64 );
static uint64 HUNICODEHEXTOCODEPOINTW( uint32**, int64 );
static void HUNICODECODEPOINTCHARTOHEX( uint64*, char**, int64 );
typedef int64 $13AST_NODECLASS;
typedef int64 $11AST_OPFLAGS;
typedef int64 $6AST_OP;
struct $10AST_OPINFO {
	$13AST_NODECLASS CLASS;
	$11AST_OPFLAGS FLAGS;
	char* ID;
	$6AST_OP SELFOP;
};
__FB_STATIC_ASSERT( sizeof( struct $10AST_OPINFO ) == 32 );
struct $8FBARRAY1I10AST_OPINFOE {
	struct $10AST_OPINFO* DATA;
	struct $10AST_OPINFO* PTR;
	int64 SIZE;
	int64 ELEMENT_LEN;
	int64 DIMENSIONS;
	int64 FLAGS;
	struct $16__FB_ARRAYDIMTB$ DIMTB[1];
};
__FB_STATIC_ASSERT( sizeof( struct $8FBARRAY1I10AST_OPINFOE ) == 72 );
static struct $8FBARRAY1I10AST_OPINFOE tmp$83$;
typedef int64 $12FB_DATACLASS;
typedef int64 $11FB_DATATYPE;
struct $13SYMB_DATATYPE {
	$12FB_DATACLASS CLASS;
	int64 SIZE;
	int64 SIGNED;
	int64 INTRANK;
	$11FB_DATATYPE REMAPTYPE;
	int64 SIZETYPE;
	char* NAME;
};
__FB_STATIC_ASSERT( sizeof( struct $13SYMB_DATATYPE ) == 56 );
struct $8FBARRAY1I13SYMB_DATATYPEE {
	struct $13SYMB_DATATYPE* DATA;
	struct $13SYMB_DATATYPE* PTR;
	int64 SIZE;
	int64 ELEMENT_LEN;
	int64 DIMENSIONS;
	int64 FLAGS;
	struct $16__FB_ARRAYDIMTB$ DIMTB[1];
};
__FB_STATIC_ASSERT( sizeof( struct $8FBARRAY1I13SYMB_DATATYPEE ) == 72 );
static struct $8FBARRAY1I13SYMB_DATATYPEE tmp$84$;
struct $8FBARRAY2IlE {
	int64* DATA;
	int64* PTR;
	int64 SIZE;
	int64 ELEMENT_LEN;
	int64 DIMENSIONS;
	int64 FLAGS;
	struct $16__FB_ARRAYDIMTB$ DIMTB[2];
};
__FB_STATIC_ASSERT( sizeof( struct $8FBARRAY2IlE ) == 96 );
static struct $8FBARRAY2IlE tmp$85$;
struct $7TLISTTB;
struct $7TLISTTB {
	struct $7TLISTTB* NEXT;
	void* NODETB;
	int64 NODES;
};
__FB_STATIC_ASSERT( sizeof( struct $7TLISTTB ) == 24 );
struct $9TLISTNODE;
struct $9TLISTNODE {
	struct $9TLISTNODE* PREV;
	struct $9TLISTNODE* NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $9TLISTNODE ) == 16 );
typedef int64 $10LIST_FLAGS;
struct $5TLIST {
	struct $7TLISTTB* TBHEAD;
	struct $7TLISTTB* TBTAIL;
	int64 NODES;
	int64 NODELEN;
	struct $9TLISTNODE* FHEAD;
	void* HEAD;
	void* TAIL;
	$10LIST_FLAGS FLAGS;
};
__FB_STATIC_ASSERT( sizeof( struct $5TLIST ) == 64 );
typedef int64 $10FB_OUTTYPE;
typedef int64 $10FB_BACKEND;
typedef int64 $13FB_COMPTARGET;
typedef int64 $10FB_CPUTYPE;
typedef int64 $10FB_FPUTYPE;
typedef int64 $9FB_FPMODE;
typedef int64 $17FB_VECTORIZELEVEL;
typedef int64 $12FB_ASMSYNTAX;
typedef int64 $7FB_LANG;
typedef int64 $10FB_PDCHECK;
typedef int64 $11FB_MODEVIEW;
struct $12FBCMMLINEOPT {
	$10FB_OUTTYPE OUTTYPE;
	int64 PPONLY;
	$10FB_BACKEND BACKEND;
	$13FB_COMPTARGET TARGET;
	$10FB_CPUTYPE CPUTYPE;
	$10FB_FPUTYPE FPUTYPE;
	$9FB_FPMODE FPMODE;
	$17FB_VECTORIZELEVEL VECTORIZE;
	int64 OPTLEVEL;
	$12FB_ASMSYNTAX ASMSYNTAX;
	$7FB_LANG LANG;
	int64 FORCELANG;
	int64 DEBUG;
	int64 DEBUGINFO;
	int64 ASSERTIONS;
	int64 ERRORCHECK;
	int64 RESUMEERR;
	int64 EXTRAERRCHK;
	int64 ERRLOCATION;
	int64 ARRAYBOUNDCHK;
	int64 ARRAYDIMSCHK;
	int64 NULLPTRCHK;
	int64 UNWINDINFO;
	int64 PROFILE;
	int64 WARNINGLEVEL;
	int64 SHOWERROR;
	int64 MAXERRORS;
	$10FB_PDCHECK PDCHECKOPT;
	int64 GOSUBSETJMP;
	int64 VALISTASPTR;
	int64 NOTHISCALL;
	int64 NOFASTCALL;
	int64 FBRT;
	int64 EXPORT;
	int64 MSBITFIELDS;
	int64 MULTITHREADED;
	int64 FBGFX;
	int64 FBSFX;
	int64 PIC;
	int64 STACKSIZE;
	int64 OBJINFO;
	int64 SHOWINCLUDES;
	$11FB_MODEVIEW MODEVIEW;
	int64 NOCMDLINE;
	int64 RETURNINFLTS;
	int64 NOBUILTINS;
	int64 OPTABSTRACT;
};
__FB_STATIC_ASSERT( sizeof( struct $12FBCMMLINEOPT ) == 376 );
typedef int64 $11FB_FUNCMODE;
typedef int64 $12FB_TARGETOPT;
struct $8FBTARGET {
	char* ID;
	$11FB_DATATYPE WCHAR;
	$11FB_FUNCMODE FBCALL;
	$11FB_FUNCMODE STDCALL;
	$12FB_TARGETOPT OPTIONS;
};
__FB_STATIC_ASSERT( sizeof( struct $8FBTARGET ) == 40 );
typedef int64 $12FB_WCHARCONV;
typedef int64 $13FBFILE_FORMAT;
struct $6FBFILE {
	int64 NUM;
	char NAME[261];
	char* INCFILE;
	int64 ISMAIN;
	$13FBFILE_FORMAT FORMAT;
};
__FB_STATIC_ASSERT( sizeof( struct $6FBFILE ) == 296 );
struct $8HASHLIST {
	struct $8HASHITEM* HEAD;
	struct $8HASHITEM* TAIL;
};
__FB_STATIC_ASSERT( sizeof( struct $8HASHLIST ) == 16 );
struct $5THASH {
	struct $8HASHLIST* LIST;
	int64 NODES;
	int64 DELSTR;
};
__FB_STATIC_ASSERT( sizeof( struct $5THASH ) == 24 );
typedef int64 $12FB_SYMBCLASS;
typedef int64 $13FB_SYMBATTRIB;
typedef int64 $13FB_PROCATTRIB;
typedef int64 $12FB_SYMBSTATS;
struct $9FB_SYMBID {
	char* NAME;
	char* ALIAS;
	char* MANGLED;
};
__FB_STATIC_ASSERT( sizeof( struct $9FB_SYMBID ) == 24 );
struct $8FBSYMBOL;
union $7FBVALUE {
	struct $8FBSYMBOL* S;
	int64 I;
	double F;
};
__FB_STATIC_ASSERT( sizeof( union $7FBVALUE ) == 8 );
struct $14AST_NODE_CONST {
	union {
		union $7FBVALUE VALUE;
		struct $8FBSYMBOL* S;
		int64 I;
		double F;
	};
	int64 HASSUFFIX;
};
__FB_STATIC_ASSERT( sizeof( struct $14AST_NODE_CONST ) == 16 );
struct $12AST_NODE_VAR {
	int64 OFS;
};
__FB_STATIC_ASSERT( sizeof( struct $12AST_NODE_VAR ) == 8 );
struct $12AST_NODE_IDX {
	int64 OFS;
	int64 MULT;
};
__FB_STATIC_ASSERT( sizeof( struct $12AST_NODE_IDX ) == 16 );
struct $12AST_NODE_PTR {
	int64 OFS;
};
__FB_STATIC_ASSERT( sizeof( struct $12AST_NODE_PTR ) == 8 );
struct $7ASTNODE;
struct $19AST_TMPSTRLIST_ITEM;
struct $19AST_TMPSTRLIST_ITEM {
	struct $8FBSYMBOL* SYM;
	struct $7ASTNODE* SRCTREE;
	struct $19AST_TMPSTRLIST_ITEM* PREV;
};
__FB_STATIC_ASSERT( sizeof( struct $19AST_TMPSTRLIST_ITEM ) == 24 );
struct $13AST_NODE_CALL {
	int64 ISRTL;
	int64 ARGS;
	struct $8FBSYMBOL* CURRARG;
	struct $7ASTNODE* ARGTAIL;
	struct $19AST_TMPSTRLIST_ITEM* STRTAIL;
	struct $8FBSYMBOL* TMPRES;
	struct $7ASTNODE* PROFBEGIN;
	struct $7ASTNODE* PROFEND;
};
__FB_STATIC_ASSERT( sizeof( struct $13AST_NODE_CALL ) == 64 );
struct $12AST_NODE_ARG {
	int64 MODE;
	int64 LGT;
};
__FB_STATIC_ASSERT( sizeof( struct $12AST_NODE_ARG ) == 16 );
struct $12AST_NODE_IIF {
	struct $8FBSYMBOL* FALSELABEL;
};
__FB_STATIC_ASSERT( sizeof( struct $12AST_NODE_IIF ) == 8 );
typedef int64 $9AST_OPOPT;
struct $11AST_NODE_OP {
	int64 OP;
	$9AST_OPOPT OPTIONS;
	struct $8FBSYMBOL* EX;
};
__FB_STATIC_ASSERT( sizeof( struct $11AST_NODE_OP ) == 24 );
struct $13AST_NODE_LOAD {
	int64 ISRES;
};
__FB_STATIC_ASSERT( sizeof( struct $13AST_NODE_LOAD ) == 8 );
struct $14AST_NODE_LABEL {
	int64 FLUSH;
};
__FB_STATIC_ASSERT( sizeof( struct $14AST_NODE_LABEL ) == 8 );
struct $13AST_NODE_OFFS {
	int64 OFS;
};
__FB_STATIC_ASSERT( sizeof( struct $13AST_NODE_OFFS ) == 8 );
struct $12AST_NODE_LIT {
	char* TEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $12AST_NODE_LIT ) == 8 );
typedef int64 $14AST_ASMTOKTYPE;
struct $9ASTASMTOK;
struct $9ASTASMTOK {
	$14AST_ASMTOKTYPE TYPE;
	union {
		struct $8FBSYMBOL* SYM;
		char* TEXT;
	};
	struct $9ASTASMTOK* NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $9ASTASMTOK ) == 24 );
struct $12AST_NODE_ASM {
	struct $9ASTASMTOK* TOKHEAD;
};
__FB_STATIC_ASSERT( sizeof( struct $12AST_NODE_ASM ) == 8 );
struct $14AST_NODE_JMPTB {
	uint64* VALUES;
	struct $8FBSYMBOL** LABELS;
	int64 LABELCOUNT;
	struct $8FBSYMBOL* DEFLABEL;
	uint64 BIAS;
	uint64 SPAN;
};
__FB_STATIC_ASSERT( sizeof( struct $14AST_NODE_JMPTB ) == 48 );
struct $12AST_NODE_DBG {
	int64 EX;
	char* FILENAME;
	int64 OP;
};
__FB_STATIC_ASSERT( sizeof( struct $12AST_NODE_DBG ) == 24 );
struct $12AST_NODE_MEM {
	int64 OP;
	int64 BYTES;
	int64 FILLCHAR;
};
__FB_STATIC_ASSERT( sizeof( struct $12AST_NODE_MEM ) == 24 );
struct $14AST_NODE_STACK {
	int64 OP;
};
__FB_STATIC_ASSERT( sizeof( struct $14AST_NODE_STACK ) == 8 );
struct $16AST_NODE_TYPEINI {
	int64 OFS;
	union {
		int64 BYTES;
		int64 ELEMENTS;
	};
	struct $8FBSYMBOL* SCP;
	struct $8FBSYMBOL* LASTSCP;
};
__FB_STATIC_ASSERT( sizeof( struct $16AST_NODE_TYPEINI ) == 32 );
struct $21AST_NODE_TYPEINISCOPE {
	int64 IS_ARRAY;
};
__FB_STATIC_ASSERT( sizeof( struct $21AST_NODE_TYPEINISCOPE ) == 8 );
struct $13AST_BREAKLIST {
	struct $7ASTNODE* HEAD;
	struct $7ASTNODE* TAIL;
};
__FB_STATIC_ASSERT( sizeof( struct $13AST_BREAKLIST ) == 16 );
struct $13AST_NODE_PROC {
	int64 ISMAIN;
	struct $7ASTNODE* DECL_LAST;
};
__FB_STATIC_ASSERT( sizeof( struct $13AST_NODE_PROC ) == 16 );
struct $14AST_NODE_BLOCK {
	struct $7ASTNODE* PARENT;
	int64 INISTMT;
	int64 ENDSTMT;
	struct $8FBSYMBOL* INITLABEL;
	struct $8FBSYMBOL* EXITLABEL;
	struct $13AST_BREAKLIST BREAKLIST;
	struct $13AST_NODE_PROC PROC;
};
__FB_STATIC_ASSERT( sizeof( struct $14AST_NODE_BLOCK ) == 72 );
struct $14AST_NODE_BREAK {
	struct $7ASTNODE* PARENT;
	int64 SCOPE;
	int64 LINENUM;
	int64 STMTNUM;
};
__FB_STATIC_ASSERT( sizeof( struct $14AST_NODE_BREAK ) == 32 );
struct $17AST_NODE_DATASTMT {
	union {
		int64 ID;
		int64 ELMTS;
	};
};
__FB_STATIC_ASSERT( sizeof( struct $17AST_NODE_DATASTMT ) == 8 );
struct $13AST_NODE_LINK {
	int64 RET;
};
__FB_STATIC_ASSERT( sizeof( struct $13AST_NODE_LINK ) == 8 );
struct $13AST_NODE_CAST {
	int64 DOCONV;
	int64 DO_CONVFD2FS;
	int64 CONVCONST;
};
__FB_STATIC_ASSERT( sizeof( struct $13AST_NODE_CAST ) == 24 );
struct $7ASTNODE {
	$13AST_NODECLASS CLASS;
	int64 DTYPE;
	struct $8FBSYMBOL* SUBTYPE;
	struct $8FBSYMBOL* SYM;
	int64 VECTOR;
	union {
		struct $14AST_NODE_CONST VAL;
		struct $12AST_NODE_VAR VAR_;
		struct $12AST_NODE_IDX IDX;
		struct $12AST_NODE_PTR PTR;
		struct $13AST_NODE_CALL CALL;
		struct $12AST_NODE_ARG ARG;
		struct $12AST_NODE_IIF IIF;
		struct $11AST_NODE_OP OP;
		struct $13AST_NODE_LOAD LOD;
		struct $14AST_NODE_LABEL LBL;
		struct $13AST_NODE_OFFS OFS;
		struct $12AST_NODE_LIT LIT;
		struct $12AST_NODE_ASM ASM;
		struct $14AST_NODE_JMPTB JMPTB;
		struct $12AST_NODE_DBG DBG;
		struct $12AST_NODE_MEM MEM;
		struct $14AST_NODE_STACK STACK;
		struct $16AST_NODE_TYPEINI TYPEINI;
		struct $21AST_NODE_TYPEINISCOPE TYPEINISCOPE;
		struct $14AST_NODE_BLOCK BLOCK;
		struct $14AST_NODE_BREAK BREAK;
		struct $17AST_NODE_DATASTMT DATA;
		struct $13AST_NODE_LINK LINK;
		struct $13AST_NODE_CAST CAST;
	};
	struct $7ASTNODE* L;
	struct $7ASTNODE* R;
	struct $7ASTNODE* PREV;
	struct $7ASTNODE* NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $7ASTNODE ) == 144 );
struct $10FBARRAYDIM {
	int64 LOWER;
	int64 UPPER;
};
__FB_STATIC_ASSERT( sizeof( struct $10FBARRAYDIM ) == 16 );
struct $9FBS_ARRAY {
	int64 DIMENSIONS;
	struct $10FBARRAYDIM* DIMTB;
	int64 DIFF;
	int64 ELEMENTS;
	struct $8FBSYMBOL* DESC;
	struct $8FBSYMBOL* DESCTYPE;
};
__FB_STATIC_ASSERT( sizeof( struct $9FBS_ARRAY ) == 48 );
struct $10FBVAR_DESC {
	struct $8FBSYMBOL* ARRAY;
};
__FB_STATIC_ASSERT( sizeof( struct $10FBVAR_DESC ) == 8 );
struct $10FBVAR_DATA {
	struct $8FBSYMBOL* PREV;
};
__FB_STATIC_ASSERT( sizeof( struct $10FBVAR_DATA ) == 8 );
struct $7FBS_VAR {
	union {
		char* LITTEXT;
		uint32* LITTEXTW;
		struct $7ASTNODE* INITREE;
	};
	struct $9FBS_ARRAY ARRAY;
	struct $10FBVAR_DESC DESC;
	int64 STMTNUM;
	int64 ALIGN;
	struct $10FBVAR_DATA DATA;
	int64 BITPOS;
	int64 BITS;
};
__FB_STATIC_ASSERT( sizeof( struct $7FBS_VAR ) == 104 );
struct $9FBS_CONST {
	union {
		union $7FBVALUE VALUE;
		struct $8FBSYMBOL* S;
		int64 I;
		double F;
	};
	int64 HASSUFFIX;
};
__FB_STATIC_ASSERT( sizeof( struct $9FBS_CONST ) == 16 );
struct $10FBSYMBOLTB {
	struct $8FBSYMBOL* OWNER;
	struct $8FBSYMBOL* HEAD;
	struct $8FBSYMBOL* TAIL;
};
__FB_STATIC_ASSERT( sizeof( struct $10FBSYMBOLTB ) == 24 );
struct $8FBHASHTB;
struct $8FBHASHTB {
	struct $8FBSYMBOL* OWNER;
	struct $5THASH TB;
	struct $8FBHASHTB* PREV;
	struct $8FBHASHTB* NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $8FBHASHTB ) == 48 );
struct $9FBSYMLIST {
	struct $8FBSYMBOL* HEAD;
	struct $8FBSYMBOL* TAIL;
};
__FB_STATIC_ASSERT( sizeof( struct $9FBSYMLIST ) == 16 );
struct $10FBSYMCHAIN;
struct $10FBSYMCHAIN {
	struct $8FBSYMBOL* SYM;
	struct $10FBSYMCHAIN* NEXT;
	int64 ISIMPORT;
	struct $10FBSYMCHAIN* PREV;
	struct $8HASHITEM* ITEM;
	struct $10FBSYMCHAIN* IMP_NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $10FBSYMCHAIN ) == 48 );
struct $13FBNAMESPC_EXT {
	struct $9FBSYMLIST IMPLIST;
	struct $9FBSYMLIST EXPLIST;
	int64 CNT;
	struct $10FBSYMCHAIN* IMPSYM_HEAD;
	struct $10FBSYMCHAIN* IMPSYM_TAIL;
};
__FB_STATIC_ASSERT( sizeof( struct $13FBNAMESPC_EXT ) == 56 );
struct $9FBNAMESPC {
	struct $10FBSYMBOLTB SYMTB;
	struct $8FBHASHTB HASHTB;
	struct $13FBNAMESPC_EXT* EXT;
};
__FB_STATIC_ASSERT( sizeof( struct $9FBNAMESPC ) == 80 );
typedef int64 $15FB_STRUCT_INREG;
struct $13FB_STRUCT_DBG {
	int64 TYPENUM;
};
__FB_STATIC_ASSERT( sizeof( struct $13FB_STRUCT_DBG ) == 8 );
struct $12FB_STRUCTEXT {
	struct $8FBSYMBOL* CTORHEAD;
	struct $8FBSYMBOL* DEFCTOR;
	struct $8FBSYMBOL* COPYCTOR;
	struct $8FBSYMBOL* COPYCTORCONST;
	struct $8FBSYMBOL* DTOR1;
	struct $8FBSYMBOL* DTOR0;
	struct $8FBSYMBOL* COPYLETOP;
	struct $8FBSYMBOL* COPYLETOPCONST;
	struct $8FBSYMBOL* OPOVLTB[28];
	int64 VTABLEELEMENTS;
	struct $8FBSYMBOL* VTABLE;
	struct $8FBSYMBOL* RTTI;
	int64 ABSTRACTCOUNT;
};
__FB_STATIC_ASSERT( sizeof( struct $12FB_STRUCTEXT ) == 320 );
struct $10FBS_STRUCT {
	struct $9FBNAMESPC NS;
	struct $8FBSYMBOL* BASE;
	struct $8FBSYMBOL* ANONPARENT;
	int64 NATALIGN;
	int64 UNPADLGT;
	int32 OPTIONS;
	uint8 BITPOS;
	uint8 ALIGN;
	$11FB_DATATYPE RETDTYPE;
	$15FB_STRUCT_INREG RETIN2REGS;
	struct $13FB_STRUCT_DBG DBG;
	struct $12FB_STRUCTEXT* EXT;
};
__FB_STATIC_ASSERT( sizeof( struct $10FBS_STRUCT ) == 152 );
struct $8FBS_ENUM {
	struct $9FBNAMESPC NS;
	int64 ELEMENTS;
	struct $13FB_STRUCT_DBG DBG;
};
__FB_STATIC_ASSERT( sizeof( struct $8FBS_ENUM ) == 96 );
typedef int64 $21FB_PROC_RETURN_METHOD;
typedef int64 (*tmp$35)( struct $8FBSYMBOL* );
struct $10FB_PROCRTL {
	tmp$35 CALLBACK;
};
__FB_STATIC_ASSERT( sizeof( struct $10FB_PROCRTL ) == 8 );
struct $10FB_PROCOVL {
	int16 MINPARAMS;
	int16 MAXPARAMS;
	struct $8FBSYMBOL* NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $10FB_PROCOVL ) == 16 );
struct $10FB_PROCSTK {
	int64 ARGOFS;
	int64 LOCALOFS;
	int64 LOCALMAX;
};
__FB_STATIC_ASSERT( sizeof( struct $10FB_PROCSTK ) == 24 );
struct $10FB_PROCDBG {
	int64 INILINE;
	int64 ENDLINE;
	char* INCFILE;
};
__FB_STATIC_ASSERT( sizeof( struct $10FB_PROCDBG ) == 24 );
struct $10FB_PROCERR {
	struct $8FBSYMBOL* LASTHND;
	struct $8FBSYMBOL* LASTMOD;
	struct $8FBSYMBOL* LASTFUN;
};
__FB_STATIC_ASSERT( sizeof( struct $10FB_PROCERR ) == 24 );
struct $12FB_PROCOPOVL {
	$6AST_OP OP;
};
__FB_STATIC_ASSERT( sizeof( struct $12FB_PROCOPOVL ) == 8 );
typedef int64 $12FB_PROCSTATS;
struct $10FB_PROCGSB {
	struct $8FBSYMBOL* CTX;
};
__FB_STATIC_ASSERT( sizeof( struct $10FB_PROCGSB ) == 8 );
struct $10FB_PROCEXT {
	struct $8FBSYMBOL* RES;
	struct $10FB_PROCSTK STK;
	struct $10FB_PROCDBG DBG;
	struct $10FB_PROCERR ERR;
	struct $12FB_PROCOPOVL OPOVL;
	struct $5TLIST* STATDTOR;
	$12FB_PROCSTATS STATS;
	int64 STMTNUM;
	int64 PRIORITY;
	struct $10FB_PROCGSB GOSUB;
	struct $7ASTNODE* BASE_INITREE;
	int64 VTABLEINDEX;
	struct $8FBSYMBOL* OVERRIDDEN;
};
__FB_STATIC_ASSERT( sizeof( struct $10FB_PROCEXT ) == 152 );
struct $8FBS_PROC {
	struct $10FBSYMBOLTB SYMTB;
	int16 PARAMS;
	int16 OPTPARAMS;
	struct $10FBSYMBOLTB PARAMTB;
	$11FB_FUNCMODE MODE;
	$11FB_DATATYPE REALDTYPE;
	struct $8FBSYMBOL* REALSUBTYPE;
	$21FB_PROC_RETURN_METHOD RETURNMETHOD;
	struct $10FB_PROCRTL RTL;
	struct $10FB_PROCOVL OVL;
	struct $10FB_PROCEXT* EXT;
};
__FB_STATIC_ASSERT( sizeof( struct $8FBS_PROC ) == 120 );
typedef int64 $12FB_PARAMMODE;
struct $9FBS_PARAM {
	$12FB_PARAMMODE MODE;
	struct $8FBSYMBOL* VAR;
	struct $7ASTNODE* OPTEXPR;
	int64 BYDESCDIMENSIONS;
	struct $8FBSYMBOL* BYDESCREALSUBTYPE;
	int64 REGNUM;
};
__FB_STATIC_ASSERT( sizeof( struct $9FBS_PARAM ) == 48 );
struct $9FBS_LABEL {
	struct $8FBSYMBOL* PARENT;
	int64 DECLARED;
	int64 STMTNUM;
	boolean GOSUB;
};
__FB_STATIC_ASSERT( sizeof( struct $9FBS_LABEL ) == 32 );
struct $11FB_DEFPARAM;
struct $11FB_DEFPARAM {
	char* NAME;
	int64 NUM;
	struct $11FB_DEFPARAM* NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $11FB_DEFPARAM ) == 24 );
typedef int64 $14FB_DEFTOK_TYPE;
struct $9FB_DEFTOK;
struct $9FB_DEFTOK {
	$14FB_DEFTOK_TYPE TYPE;
	union {
		char* TEXT;
		uint32* TEXTW;
		int64 PARAMNUM;
	};
	struct $9FB_DEFTOK* PREV;
	struct $9FB_DEFTOK* NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $9FB_DEFTOK ) == 32 );
typedef int64 $15FB_DEFINE_FLAGS;
typedef FBSTRING* (*tmp$29)( void );
typedef FBSTRING* (*tmp$30)( void*, int64* );
typedef uint32* (*tmp$31)( void*, int64* );
struct $10FBS_DEFINE {
	int64 PARAMS;
	struct $11FB_DEFPARAM* PARAMHEAD;
	union {
		struct $9FB_DEFTOK* TOKHEAD;
		char* TEXT;
		uint32* TEXTW;
	};
	int64 ISARGLESS;
	$15FB_DEFINE_FLAGS FLAGS;
	union {
		tmp$29 DPROCZ;
		tmp$30 MPROCZ;
	};
	union {
		tmp$31 MPROCW;
	};
};
__FB_STATIC_ASSERT( sizeof( struct $10FBS_DEFINE ) == 56 );
typedef int64 $10FB_TKCLASS;
struct $11FBS_KEYWORD {
	int64 ID;
	$10FB_TKCLASS TKCLASS;
};
__FB_STATIC_ASSERT( sizeof( struct $11FBS_KEYWORD ) == 16 );
struct $8FBFWDREF;
struct $8FBFWDREF {
	struct $8FBSYMBOL* REF;
	struct $8FBFWDREF* PREV;
};
__FB_STATIC_ASSERT( sizeof( struct $8FBFWDREF ) == 16 );
struct $10FBS_FWDREF {
	struct $8FBFWDREF* TAIL;
};
__FB_STATIC_ASSERT( sizeof( struct $10FBS_FWDREF ) == 8 );
struct $11FB_SCOPEDBG {
	int64 INILINE;
	int64 ENDLINE;
	struct $8FBSYMBOL* INILABEL;
	struct $8FBSYMBOL* ENDLABEL;
};
__FB_STATIC_ASSERT( sizeof( struct $11FB_SCOPEDBG ) == 32 );
struct $12FB_SCOPEEMIT {
	int64 BASEOFS;
};
__FB_STATIC_ASSERT( sizeof( struct $12FB_SCOPEEMIT ) == 8 );
struct $9FBS_SCOPE {
	struct $7ASTNODE* BACKNODE;
	struct $10FBSYMBOLTB SYMTB;
	struct $11FB_SCOPEDBG DBG;
	struct $12FB_SCOPEEMIT EMIT;
};
__FB_STATIC_ASSERT( sizeof( struct $9FBS_SCOPE ) == 72 );
struct $13FBS_NAMESPACE {
	struct $9FBNAMESPC NS;
	int64 CNT;
	struct $8FBSYMBOL* LAST_TAIL;
};
__FB_STATIC_ASSERT( sizeof( struct $13FBS_NAMESPACE ) == 96 );
struct $12FBS_NSIMPORT {
	struct $8FBSYMBOL* IMP_NS;
	struct $8FBSYMBOL* IMP_PREV;
	struct $8FBSYMBOL* IMP_NEXT;
	struct $8FBSYMBOL* EXP_NS;
	struct $8FBSYMBOL* EXP_PREV;
	struct $8FBSYMBOL* EXP_NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $12FBS_NSIMPORT ) == 48 );
struct $9FBSYMHASH {
	struct $8FBHASHTB* TB;
	struct $8HASHITEM* ITEM;
	uint64 INDEX;
	struct $8FBSYMBOL* PREV;
	struct $8FBSYMBOL* NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $9FBSYMHASH ) == 40 );
struct $8FBSYMBOL {
	$12FB_SYMBCLASS CLASS;
	$13FB_SYMBATTRIB ATTRIB;
	$13FB_PROCATTRIB PATTRIB;
	$12FB_SYMBSTATS STATS;
	struct $9FB_SYMBID ID;
	$11FB_DATATYPE TYP;
	struct $8FBSYMBOL* SUBTYPE;
	uint16 SCOPE;
	int16 MANGLING;
	int64 LGT;
	int64 OFS;
	union {
		struct $7FBS_VAR VAR_;
		struct $9FBS_CONST VAL;
		struct $10FBS_STRUCT UDT;
		struct $8FBS_ENUM ENUM_;
		struct $8FBS_PROC PROC;
		struct $9FBS_PARAM PARAM;
		struct $9FBS_LABEL LBL;
		struct $10FBS_DEFINE DEF;
		struct $11FBS_KEYWORD KEY;
		struct $10FBS_FWDREF FWD;
		struct $9FBS_SCOPE SCP;
		struct $13FBS_NAMESPACE NSPC;
		struct $12FBS_NSIMPORT NSIMP;
	};
	struct $9FBSYMHASH HASH;
	struct $10FBSYMBOLTB* SYMTB;
	struct $8FBSYMBOL* PARENT;
	struct $8FBSYMBOL* PREV;
	struct $8FBSYMBOL* NEXT;
};
__FB_STATIC_ASSERT( sizeof( struct $8FBSYMBOL ) == 320 );
struct $6FBMAIN {
	struct $8FBSYMBOL* PROC;
	struct $7ASTNODE* INITNODE;
};
__FB_STATIC_ASSERT( sizeof( struct $6FBMAIN ) == 16 );
typedef int64 $11FB_LANG_OPT;
struct $11FB_LANG_CTX {
	$11FB_LANG_OPT OPT;
	$11FB_DATATYPE INTEGERKEYWORDDTYPE;
	$11FB_DATATYPE INT15LITERALDTYPE;
	$11FB_DATATYPE INT16LITERALDTYPE;
	$11FB_DATATYPE INT31LITERALDTYPE;
	$11FB_DATATYPE INT32LITERALDTYPE;
	$11FB_DATATYPE INT63LITERALDTYPE;
	$11FB_DATATYPE INT64LITERALDTYPE;
	$11FB_DATATYPE FLOATLITERALDTYPE;
};
__FB_STATIC_ASSERT( sizeof( struct $11FB_LANG_CTX ) == 72 );
struct $8FBOPTION {
	int64 BASE;
	int64 PARAMMODE;
	int64 EXPLICIT;
	int64 PROCPUBLIC;
	int64 PROCPROFILE;
	int64 ESCAPESTR;
	int64 DYNAMIC;
	int64 GOSUB;
};
__FB_STATIC_ASSERT( sizeof( struct $8FBOPTION ) == 64 );
typedef int64 $16FB_RESTART_FLAGS;
struct $7TSTRSET {
	struct $5TLIST LIST;
	struct $5THASH HASH;
};
__FB_STATIC_ASSERT( sizeof( struct $7TSTRSET ) == 88 );
struct $5FBENV {
	struct $5TLIST PREDEFINES;
	struct $5TLIST PREINCLUDES;
	struct $5TLIST INCLUDEPATHS;
	struct $12FBCMMLINEOPT CLOPT;
	struct $8FBTARGET TARGET;
	$12FB_WCHARCONV WCHARCONV;
	int64 UNDERSCOREPREFIX;
	int64 POINTERSIZE;
	struct $6FBFILE INF;
	struct $6FBFILE OUTF;
	int64 PPFILE_NUM;
	struct $5THASH FILENAMEHASH;
	struct $5THASH INCFILEHASH;
	struct $5THASH INCONCEHASH;
	int64 INCLUDEREC;
	char ENTRY[128];
	struct $6FBMAIN MAIN;
	struct $11FB_LANG_CTX LANG;
	struct $8FBOPTION OPT;
	int64 INITED;
	int64 MODULE_COUNT;
	$16FB_RESTART_FLAGS RESTART_REQUEST;
	$16FB_RESTART_FLAGS RESTART_ACTION;
	$16FB_RESTART_FLAGS RESTART_STATUS;
	int64 RESTART_COUNT;
	$7FB_LANG RESTART_LANG;
	struct $7TSTRSET LIBS;
	struct $7TSTRSET LIBPATHS;
	int64 FBCTINF_STARTED;
};
__FB_STATIC_ASSERT( sizeof( struct $5FBENV ) == 1832 );
extern struct $5FBENV ENV$;

void ZSTRASSIGN( char** DST$1, char* SRC$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	label$10:;
	int64 DST_LEN$1;
	__builtin_memset( &DST_LEN$1, 0, 8ll );
	int64 SRC_LEN$1;
	__builtin_memset( &SRC_LEN$1, 0, 8ll );
	if( SRC$1 != (char*)0ull) goto label$13;
	{
		SRC_LEN$1 = 0ll;
	}
	goto label$12;
	label$13:;
	{
		int64 vr$2 = fb_StrLen( (void*)SRC$1, 0ll );
		SRC_LEN$1 = vr$2;
	}
	label$12:;
	if( SRC_LEN$1 != 0ll) goto label$15;
	{
		if( *DST$1 == (char*)0ull) goto label$17;
		{
			free( *(void**)DST$1 );
			*DST$1 = (char*)0ull;
			goto label$11;
		}
		label$17:;
		label$16:;
	}
	label$15:;
	label$14:;
	if( *DST$1 != (char*)0ull) goto label$19;
	{
		DST_LEN$1 = 0ll;
	}
	goto label$18;
	label$19:;
	{
		int64 vr$8 = fb_StrLen( *(void**)DST$1, 0ll );
		DST_LEN$1 = vr$8;
	}
	label$18:;
	if( DST_LEN$1 == SRC_LEN$1) goto label$21;
	{
		void* vr$11 = XALLOCATE( (int32)(SRC_LEN$1 + 1ll) );
		*DST$1 = (char*)vr$11;
	}
	label$21:;
	label$20:;
	if( *DST$1 == (char*)0ull) goto label$23;
	{
		fb_StrAssign( *(void**)DST$1, 0ll, (void*)SRC$1, 0ll, 0 );
	}
	label$23:;
	label$22:;
	label$11:;
}

void ZSTRASSIGNW( char** DST$1, uint32* SRC$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	label$24:;
	int64 DST_LEN$1;
	__builtin_memset( &DST_LEN$1, 0, 8ll );
	int64 SRC_LEN$1;
	__builtin_memset( &SRC_LEN$1, 0, 8ll );
	if( SRC$1 != (uint32*)0ull) goto label$27;
	{
		SRC_LEN$1 = 0ll;
	}
	goto label$26;
	label$27:;
	{
		int64 vr$2 = fb_WstrLen( (uint32*)SRC$1 );
		SRC_LEN$1 = vr$2;
	}
	label$26:;
	if( SRC_LEN$1 != 0ll) goto label$29;
	{
		if( *DST$1 == (char*)0ull) goto label$31;
		{
			free( *(void**)DST$1 );
			*DST$1 = (char*)0ull;
			goto label$25;
		}
		label$31:;
		label$30:;
	}
	label$29:;
	label$28:;
	if( *DST$1 != (char*)0ull) goto label$33;
	{
		DST_LEN$1 = 0ll;
	}
	goto label$32;
	label$33:;
	{
		int64 vr$8 = fb_StrLen( *(void**)DST$1, 0ll );
		DST_LEN$1 = vr$8;
	}
	label$32:;
	if( DST_LEN$1 == SRC_LEN$1) goto label$35;
	{
		void* vr$11 = XALLOCATE( (int32)(SRC_LEN$1 + 1ll) );
		*DST$1 = (char*)vr$11;
	}
	label$35:;
	label$34:;
	if( *DST$1 == (char*)0ull) goto label$37;
	{
		fb_WstrAssignToA( *(void**)DST$1, 0ll, (uint32*)SRC$1, 0 );
	}
	label$37:;
	label$36:;
	label$25:;
}

void ZSTRCONCATASSIGN( char** DST$1, char* SRC$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	label$38:;
	int64 DST_LEN$1;
	__builtin_memset( &DST_LEN$1, 0, 8ll );
	int64 SRC_LEN$1;
	__builtin_memset( &SRC_LEN$1, 0, 8ll );
	if( SRC$1 != (char*)0ull) goto label$41;
	{
		goto label$39;
	}
	label$41:;
	label$40:;
	int64 vr$2 = fb_StrLen( (void*)SRC$1, 0ll );
	SRC_LEN$1 = vr$2;
	if( SRC_LEN$1 != 0ll) goto label$43;
	{
		goto label$39;
	}
	label$43:;
	label$42:;
	if( *DST$1 != (char*)0ull) goto label$45;
	{
		DST_LEN$1 = 0ll;
		void* vr$6 = XALLOCATE( (int32)(SRC_LEN$1 + 1ll) );
		*DST$1 = (char*)vr$6;
	}
	goto label$44;
	label$45:;
	{
		int64 vr$9 = fb_StrLen( *(void**)DST$1, 0ll );
		DST_LEN$1 = vr$9;
		void* vr$14 = XREALLOCATE( *(void**)DST$1, (int32)((DST_LEN$1 + SRC_LEN$1) + 1ll) );
		*DST$1 = (char*)vr$14;
	}
	label$44:;
	if( *DST$1 == (char*)0ull) goto label$47;
	{
		fb_StrAssign( (void*)((uint8*)*DST$1 + DST_LEN$1), 0ll, (void*)SRC$1, 0ll, 0 );
	}
	label$47:;
	label$46:;
	label$39:;
}

void ZSTRCONCATASSIGNW( char** DST$1, uint32* SRC$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	label$48:;
	int64 DST_LEN$1;
	__builtin_memset( &DST_LEN$1, 0, 8ll );
	int64 SRC_LEN$1;
	__builtin_memset( &SRC_LEN$1, 0, 8ll );
	if( SRC$1 != (uint32*)0ull) goto label$51;
	{
		goto label$49;
	}
	label$51:;
	label$50:;
	int64 vr$2 = fb_WstrLen( (uint32*)SRC$1 );
	SRC_LEN$1 = vr$2;
	if( SRC_LEN$1 != 0ll) goto label$53;
	{
		goto label$49;
	}
	label$53:;
	label$52:;
	if( *DST$1 != (char*)0ull) goto label$55;
	{
		DST_LEN$1 = 0ll;
		void* vr$6 = XALLOCATE( (int32)(SRC_LEN$1 + 1ll) );
		*DST$1 = (char*)vr$6;
	}
	goto label$54;
	label$55:;
	{
		int64 vr$9 = fb_StrLen( *(void**)DST$1, 0ll );
		DST_LEN$1 = vr$9;
		void* vr$14 = XREALLOCATE( *(void**)DST$1, (int32)((DST_LEN$1 + SRC_LEN$1) + 1ll) );
		*DST$1 = (char*)vr$14;
	}
	label$54:;
	if( *DST$1 == (char*)0ull) goto label$57;
	{
		fb_WstrAssignToA( (void*)((uint8*)*DST$1 + DST_LEN$1), 0ll, (uint32*)SRC$1, 0 );
	}
	label$57:;
	label$56:;
	label$49:;
}

void WSTRASSIGN( uint32** DST$1, uint32* SRC$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	label$58:;
	int64 DST_LEN$1;
	__builtin_memset( &DST_LEN$1, 0, 8ll );
	int64 SRC_LEN$1;
	__builtin_memset( &SRC_LEN$1, 0, 8ll );
	if( SRC$1 != (uint32*)0ull) goto label$61;
	{
		SRC_LEN$1 = 0ll;
	}
	goto label$60;
	label$61:;
	{
		int64 vr$2 = fb_WstrLen( (uint32*)SRC$1 );
		SRC_LEN$1 = vr$2;
	}
	label$60:;
	if( SRC_LEN$1 != 0ll) goto label$63;
	{
		if( *DST$1 == (uint32*)0ull) goto label$65;
		{
			free( *(void**)DST$1 );
			*DST$1 = (uint32*)0ull;
			goto label$59;
		}
		label$65:;
		label$64:;
	}
	label$63:;
	label$62:;
	if( *DST$1 != (uint32*)0ull) goto label$67;
	{
		DST_LEN$1 = 0ll;
	}
	goto label$66;
	label$67:;
	{
		int64 vr$8 = fb_WstrLen( (uint32*)*DST$1 );
		DST_LEN$1 = vr$8;
	}
	label$66:;
	if( DST_LEN$1 == SRC_LEN$1) goto label$69;
	{
		void* vr$12 = XALLOCATE( (int32)((SRC_LEN$1 << (2ll & 63ll)) + 4ll) );
		*DST$1 = (uint32*)vr$12;
	}
	label$69:;
	label$68:;
	if( *DST$1 == (uint32*)0ull) goto label$71;
	{
		fb_WstrAssign( *DST$1, 0ll, (uint32*)SRC$1 );
	}
	label$71:;
	label$70:;
	label$59:;
}

void WSTRASSIGNA( uint32** DST$1, char* SRC$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	label$72:;
	int64 DST_LEN$1;
	__builtin_memset( &DST_LEN$1, 0, 8ll );
	int64 SRC_LEN$1;
	__builtin_memset( &SRC_LEN$1, 0, 8ll );
	if( SRC$1 != (char*)0ull) goto label$75;
	{
		SRC_LEN$1 = 0ll;
	}
	goto label$74;
	label$75:;
	{
		int64 vr$2 = fb_StrLen( (void*)SRC$1, 0ll );
		SRC_LEN$1 = vr$2;
	}
	label$74:;
	if( SRC_LEN$1 != 0ll) goto label$77;
	{
		if( *DST$1 == (uint32*)0ull) goto label$79;
		{
			free( *(void**)DST$1 );
			*DST$1 = (uint32*)0ull;
			goto label$73;
		}
		label$79:;
		label$78:;
	}
	label$77:;
	label$76:;
	if( *DST$1 != (uint32*)0ull) goto label$81;
	{
		DST_LEN$1 = 0ll;
	}
	goto label$80;
	label$81:;
	{
		int64 vr$8 = fb_WstrLen( (uint32*)*DST$1 );
		DST_LEN$1 = vr$8;
	}
	label$80:;
	if( DST_LEN$1 == SRC_LEN$1) goto label$83;
	{
		void* vr$12 = XALLOCATE( (int32)((SRC_LEN$1 << (2ll & 63ll)) + 4ll) );
		*DST$1 = (uint32*)vr$12;
	}
	label$83:;
	label$82:;
	if( *DST$1 == (uint32*)0ull) goto label$85;
	{
		fb_WstrAssignFromA( *DST$1, 0ll, (void*)SRC$1, 0ll );
	}
	label$85:;
	label$84:;
	label$73:;
}

void WSTRCONCATASSIGN( uint32** DST$1, uint32* SRC$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	label$86:;
	int64 DST_LEN$1;
	__builtin_memset( &DST_LEN$1, 0, 8ll );
	int64 SRC_LEN$1;
	__builtin_memset( &SRC_LEN$1, 0, 8ll );
	if( SRC$1 != (uint32*)0ull) goto label$89;
	{
		goto label$87;
	}
	label$89:;
	label$88:;
	int64 vr$2 = fb_WstrLen( (uint32*)SRC$1 );
	SRC_LEN$1 = vr$2;
	if( SRC_LEN$1 != 0ll) goto label$91;
	{
		goto label$87;
	}
	label$91:;
	label$90:;
	if( *DST$1 != (uint32*)0ull) goto label$93;
	{
		DST_LEN$1 = 0ll;
		void* vr$7 = XALLOCATE( (int32)((SRC_LEN$1 << (2ll & 63ll)) + 4ll) );
		*DST$1 = (uint32*)vr$7;
	}
	goto label$92;
	label$93:;
	{
		int64 vr$10 = fb_WstrLen( (uint32*)*DST$1 );
		DST_LEN$1 = vr$10;
		void* vr$16 = XREALLOCATE( *(void**)DST$1, (int32)(((DST_LEN$1 + SRC_LEN$1) << (2ll & 63ll)) + 4ll) );
		*DST$1 = (uint32*)vr$16;
	}
	label$92:;
	if( *DST$1 == (uint32*)0ull) goto label$95;
	{
		fb_WstrAssign( (uint32*)((uint8*)*DST$1 + (DST_LEN$1 << (2ll & 63ll))), 0ll, (uint32*)SRC$1 );
	}
	label$95:;
	label$94:;
	label$87:;
}

void WSTRCONCATASSIGNW( uint32** DST$1, char* SRC$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	label$96:;
	int64 DST_LEN$1;
	__builtin_memset( &DST_LEN$1, 0, 8ll );
	int64 SRC_LEN$1;
	__builtin_memset( &SRC_LEN$1, 0, 8ll );
	if( SRC$1 != (char*)0ull) goto label$99;
	{
		goto label$97;
	}
	label$99:;
	label$98:;
	int64 vr$2 = fb_StrLen( (void*)SRC$1, 0ll );
	SRC_LEN$1 = vr$2;
	if( SRC_LEN$1 != 0ll) goto label$101;
	{
		goto label$97;
	}
	label$101:;
	label$100:;
	if( *DST$1 != (uint32*)0ull) goto label$103;
	{
		DST_LEN$1 = 0ll;
		void* vr$7 = XALLOCATE( (int32)((SRC_LEN$1 << (2ll & 63ll)) + 4ll) );
		*DST$1 = (uint32*)vr$7;
	}
	goto label$102;
	label$103:;
	{
		int64 vr$10 = fb_WstrLen( (uint32*)*DST$1 );
		DST_LEN$1 = vr$10;
		void* vr$16 = XREALLOCATE( *(void**)DST$1, (int32)(((DST_LEN$1 + SRC_LEN$1) << (2ll & 63ll)) + 4ll) );
		*DST$1 = (uint32*)vr$16;
	}
	label$102:;
	if( *DST$1 == (uint32*)0ull) goto label$105;
	{
		fb_WstrAssignFromA( (uint32*)((uint8*)*DST$1 + (DST_LEN$1 << (2ll & 63ll))), 0ll, (void*)SRC$1, 0ll );
	}
	label$105:;
	label$104:;
	label$97:;
}

char* ZSTRDUP( char* S$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	char* fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$106:;
	char* DST$1;
	__builtin_memset( &DST$1, 0, 8ll );
	int64 vr$2 = fb_StrLen( (void*)S$1, 0ll );
	void* vr$5 = XALLOCATE( (int32)(vr$2 + 1ll) );
	DST$1 = (char*)vr$5;
	fb_StrAssign( (void*)DST$1, 0ll, (void*)S$1, 0ll, 0 );
	fb$result$1 = DST$1;
	label$107:;
	return fb$result$1;
}

uint32* WSTRDUP( uint32* S$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	uint32* fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$108:;
	uint32* DST$1;
	__builtin_memset( &DST$1, 0, 8ll );
	int64 vr$2 = fb_WstrLen( (uint32*)S$1 );
	void* vr$6 = XALLOCATE( (int32)((vr$2 << (2ll & 63ll)) + 4ll) );
	DST$1 = (uint32*)vr$6;
	fb_WstrAssign( DST$1, 0ll, (uint32*)S$1 );
	fb$result$1 = DST$1;
	label$109:;
	return fb$result$1;
}

FBSTRING* HREPLACE( char* ORGTEXT$1, char* OLDTEXT$1, char* NEWTEXT$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	FBSTRING fb$result$1;
	__builtin_memset( &fb$result$1, 0, 24ll );
	label$110:;
	static int64 OLDLEN$1;
	static int64 NEWLEN$1;
	static int64 P$1;
	static FBSTRING TEXT$1;
	static FBSTRING REMTEXT$1;
	int64 vr$1 = fb_StrLen( (void*)OLDTEXT$1, 0ll );
	OLDLEN$1 = vr$1;
	int64 vr$2 = fb_StrLen( (void*)NEWTEXT$1, 0ll );
	NEWLEN$1 = vr$2;
	fb_StrAssign( (void*)&TEXT$1, -1ll, (void*)ORGTEXT$1, 0ll, 0 );
	P$1 = 0ll;
	label$112:;
	{
		FBSTRING TMP$86$2;
		FBSTRING* vr$3 = fb_StrAllocTempDescZ( (char*)OLDTEXT$1 );
		int64 vr$5 = fb_StrInstr( P$1 + 1ll, (FBSTRING*)&TEXT$1, (FBSTRING*)vr$3 );
		P$1 = vr$5;
		if( P$1 != 0ll) goto label$116;
		{
			goto label$113;
		}
		label$116:;
		label$115:;
		FBSTRING* vr$7 = fb_StrMid( (FBSTRING*)&TEXT$1, P$1 + OLDLEN$1, -1ll );
		fb_StrAssign( (void*)&REMTEXT$1, -1ll, (void*)vr$7, -1ll, 0 );
		FBSTRING* vr$9 = fb_LEFT( (FBSTRING*)&TEXT$1, P$1 + -1ll );
		fb_StrAssign( (void*)&TEXT$1, -1ll, (void*)vr$9, -1ll, 0 );
		__builtin_memset( &TMP$86$2, 0, 24ll );
		FBSTRING* vr$12 = fb_StrConcat( &TMP$86$2, (void*)&TEXT$1, -1ll, (void*)NEWTEXT$1, 0ll );
		fb_StrAssign( (void*)&TEXT$1, -1ll, (void*)vr$12, -1ll, 0 );
		fb_StrConcatAssign( (void*)&TEXT$1, -1ll, (void*)&REMTEXT$1, -1ll, 0 );
		P$1 = (P$1 + NEWLEN$1) + -1ll;
	}
	label$114:;
	goto label$112;
	label$113:;
	fb_StrAssign( (void*)&fb$result$1, -1ll, (void*)&TEXT$1, -1ll, 0 );
	label$111:;
	FBSTRING* vr$17 = fb_StrAllocTempResult( (FBSTRING*)&fb$result$1 );
	return vr$17;
}

uint32* HREPLACEW( uint32* ORGTEXT$1, uint32* OLDTEXT$1, uint32* NEWTEXT$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	uint32* fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$117:;
	static int64 OLDLEN$1;
	static int64 NEWLEN$1;
	static int64 P$1;
	static struct $8DWSTRING TEXT$1;
	static struct $8DWSTRING REMTEXT$1;
	int64 vr$1 = fb_WstrLen( (uint32*)OLDTEXT$1 );
	OLDLEN$1 = vr$1;
	int64 vr$2 = fb_WstrLen( (uint32*)NEWTEXT$1 );
	NEWLEN$1 = vr$2;
	DWSTRASSIGN( &TEXT$1, (uint32*)ORGTEXT$1 );
	P$1 = 0ll;
	label$119:;
	{
		uint32* TMP$87$2;
		uint32* TMP$88$2;
		int64 vr$4 = fb_WstrInstr( P$1 + 1ll, (uint32*)*(uint32**)&TEXT$1, (uint32*)OLDTEXT$1 );
		P$1 = vr$4;
		if( P$1 != 0ll) goto label$123;
		{
			goto label$120;
		}
		label$123:;
		label$122:;
		uint32* vr$6 = fb_WstrMid( (uint32*)*(uint32**)&TEXT$1, P$1 + OLDLEN$1, -1ll );
		TMP$87$2 = vr$6;
		DWSTRASSIGN( &REMTEXT$1, (uint32*)TMP$87$2 );
		fb_WstrDelete( (uint32*)TMP$87$2 );
		uint32* vr$8 = fb_WstrLeft( *(uint32**)&TEXT$1, P$1 + -1ll );
		TMP$88$2 = vr$8;
		DWSTRASSIGN( &TEXT$1, (uint32*)TMP$88$2 );
		fb_WstrDelete( (uint32*)TMP$88$2 );
		DWSTRCONCATASSIGN( &TEXT$1, (uint32*)NEWTEXT$1 );
		DWSTRCONCATASSIGN( &TEXT$1, (uint32*)*(uint32**)&REMTEXT$1 );
		P$1 = (P$1 + NEWLEN$1) + -1ll;
	}
	label$121:;
	goto label$119;
	label$120:;
	fb$result$1 = *(uint32**)&TEXT$1;
	label$118:;
	return fb$result$1;
}

char* HREPLACECHAR( char* ORGTEXT$1, int64 OLDCHAR$1, int64 NEWCHAR$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	char* fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$124:;
	{
		int64 I$2;
		I$2 = 0ll;
		int64 TMP$89$2;
		int64 vr$1 = fb_StrLen( (void*)ORGTEXT$1, 0ll );
		TMP$89$2 = vr$1 + -1ll;
		goto label$126;
		label$129:;
		{
			if( (int64)(uint8)*(char*)((uint8*)ORGTEXT$1 + I$2) != OLDCHAR$1) goto label$131;
			{
				*(char*)((uint8*)ORGTEXT$1 + I$2) = (uint8)NEWCHAR$1;
			}
			label$131:;
			label$130:;
		}
		label$127:;
		I$2 = I$2 + 1ll;
		label$126:;
		if( I$2 <= TMP$89$2) goto label$129;
		label$128:;
	}
	fb$result$1 = ORGTEXT$1;
	label$125:;
	return fb$result$1;
}

int64 HHASESCAPE( char* TEXT$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	int64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$169:;
	static uint64 CHAR$1;
	static int64 LGT$1;
	int64 vr$1 = fb_StrLen( (void*)TEXT$1, 0ll );
	LGT$1 = vr$1;
	label$171:;
	if( LGT$1 <= 0ll) goto label$172;
	{
		if( (int64)(uint8)*TEXT$1 != 92ll) goto label$174;
		{
			TEXT$1 = (char*)((uint8*)TEXT$1 + 1ll);
			CHAR$1 = (uint64)(uint8)*TEXT$1;
			{
				uint64 TMP$101$4;
				TMP$101$4 = CHAR$1;
				goto label$176;
				label$177:;
				{
					fb$result$1 = -1ll;
					goto label$170;
				}
				goto label$175;
				label$176:;
				static const void* tmp$102[85ll] = {
					&&label$177,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$177,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$177,
					&&label$177,
					&&label$177,
					&&label$177,
					&&label$177,
					&&label$177,
					&&label$177,
					&&label$177,
					&&label$177,
					&&label$177,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$177,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$177,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$177,
					&&label$177,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$177,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$177,
					&&label$175,
					&&label$177,
					&&label$175,
					&&label$175,
					&&label$175,
					&&label$177,
					&&label$175,
					&&label$177,
					&&label$177,
					&&label$177,
				};
				if( (TMP$101$4 - 34ull) > 84ull ) goto label$175;
				goto *tmp$102[TMP$101$4 - 34ull];
				label$175:;
			}
		}
		label$174:;
		label$173:;
		TEXT$1 = (char*)((uint8*)TEXT$1 + 1ll);
		LGT$1 = LGT$1 + -1ll;
	}
	goto label$171;
	label$172:;
	fb$result$1 = 0ll;
	label$170:;
	return fb$result$1;
}

int64 HHASESCAPEW( uint32* TEXT$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	int64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$178:;
	static uint64 CHAR$1;
	static int64 LGT$1;
	int64 vr$1 = fb_WstrLen( (uint32*)TEXT$1 );
	LGT$1 = vr$1;
	label$180:;
	if( LGT$1 <= 0ll) goto label$181;
	{
		if( (int64)*TEXT$1 != 92ll) goto label$183;
		{
			TEXT$1 = (uint32*)((uint8*)TEXT$1 + 4ll);
			CHAR$1 = (uint64)*TEXT$1;
			{
				uint64 TMP$103$4;
				TMP$103$4 = CHAR$1;
				goto label$185;
				label$186:;
				{
					fb$result$1 = -1ll;
					goto label$179;
				}
				goto label$184;
				label$185:;
				static const void* tmp$104[85ll] = {
					&&label$186,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$186,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$186,
					&&label$186,
					&&label$186,
					&&label$186,
					&&label$186,
					&&label$186,
					&&label$186,
					&&label$186,
					&&label$186,
					&&label$186,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$186,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$186,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$186,
					&&label$186,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$186,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$186,
					&&label$184,
					&&label$186,
					&&label$184,
					&&label$184,
					&&label$184,
					&&label$186,
					&&label$184,
					&&label$186,
					&&label$186,
					&&label$186,
				};
				if( (TMP$103$4 - 34ull) > 84ull ) goto label$184;
				goto *tmp$104[TMP$103$4 - 34ull];
				label$184:;
			}
		}
		label$183:;
		label$182:;
		TEXT$1 = (uint32*)((uint8*)TEXT$1 + 4ll);
		LGT$1 = LGT$1 + -1ll;
	}
	goto label$180;
	label$181:;
	fb$result$1 = 0ll;
	label$179:;
	return fb$result$1;
}

char* HREESCAPE( char* TEXT$1, int64* TEXTLEN$1, int64* ISUNICODE$1, $13FB_WARNINGMSG* WRNMSG$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	char* fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$187:;
	static struct $8DZSTRING RES$1;
	static int64 CHAR$1;
	static int64 LGT$1;
	static int64 I$1;
	static int64 VALUE$1;
	static int64 ISNUMBER$1;
	static char* SRC$1;
	static char* DST$1;
	static char* SRC_END$1;
	*ISUNICODE$1 = 0ll;
	*TEXTLEN$1 = 0ll;
	int64 vr$3 = fb_StrLen( (void*)TEXT$1, 0ll );
	LGT$1 = vr$3;
	if( LGT$1 != 0ll) goto label$190;
	{
		fb$result$1 = TEXT$1;
		goto label$188;
	}
	label$190:;
	label$189:;
	DZSTRALLOCATE( &RES$1, LGT$1 << (1ll & 63ll) );
	SRC$1 = TEXT$1;
	DST$1 = *(char**)&RES$1;
	SRC_END$1 = (char*)((uint8*)SRC$1 + LGT$1);
	label$191:;
	if( SRC$1 >= SRC_END$1) goto label$192;
	{
		CHAR$1 = (int64)(uint8)*SRC$1;
		SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
		if( CHAR$1 != 92ll) goto label$194;
		{
			if( SRC$1 < SRC_END$1) goto label$196;
			{
				goto label$192;
				label$196:;
			}
			*DST$1 = (uint8)27u;
			DST$1 = (char*)((uint8*)DST$1 + 1ll);
			ISNUMBER$1 = 0ll;
			CHAR$1 = (int64)(uint8)*SRC$1;
			SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
			{
				if( CHAR$1 < 48ll) goto label$198;
				if( CHAR$1 > 57ll) goto label$198;
				label$199:;
				{
					ISNUMBER$1 = -1ll;
					VALUE$1 = CHAR$1 + -48ll;
					{
						I$1 = 2ll;
						label$203:;
						{
							if( SRC$1 < SRC_END$1) goto label$205;
							{
								goto label$202;
								label$205:;
							}
							CHAR$1 = (int64)(uint8)*SRC$1;
							if( ((int64)-(CHAR$1 < 48ll) | (int64)-(CHAR$1 > 57ll)) == 0ll) goto label$207;
							{
								goto label$202;
							}
							label$207:;
							label$206:;
							VALUE$1 = ((VALUE$1 * 10ll) + CHAR$1) + -48ll;
							SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
						}
						label$201:;
						I$1 = I$1 + 1ll;
						label$200:;
						if( I$1 <= 3ll) goto label$203;
						label$202:;
					}
				}
				goto label$197;
				label$198:;
				if( CHAR$1 == 38ll) goto label$209;
				label$210:;
				if( CHAR$1 == 88ll) goto label$209;
				label$211:;
				if( CHAR$1 != 120ll) goto label$208;
				label$209:;
				{
					if( SRC$1 < SRC_END$1) goto label$213;
					{
						goto label$192;
						label$213:;
					}
					VALUE$1 = 0ll;
					if( CHAR$1 != 38ll) goto label$215;
					{
						CHAR$1 = (int64)(uint8)*SRC$1;
						SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
					}
					goto label$214;
					label$215:;
					{
						CHAR$1 = 72ll;
					}
					label$214:;
					{
						uint64 TMP$105$6;
						TMP$105$6 = (uint64)CHAR$1;
						goto label$217;
						label$218:;
						{
							ISNUMBER$1 = -1ll;
							{
								I$1 = 1ll;
								label$222:;
								{
									if( SRC$1 < SRC_END$1) goto label$224;
									{
										goto label$221;
										label$224:;
									}
									CHAR$1 = (int64)(uint8)*SRC$1;
									{
										if( CHAR$1 < 97ll) goto label$228;
										if( CHAR$1 <= 102ll) goto label$227;
										label$228:;
										if( CHAR$1 < 65ll) goto label$229;
										if( CHAR$1 <= 70ll) goto label$227;
										label$229:;
										if( CHAR$1 < 48ll) goto label$226;
										if( CHAR$1 > 57ll) goto label$226;
										label$227:;
										{
											CHAR$1 = CHAR$1 + -48ll;
											if( CHAR$1 <= 9ll) goto label$231;
											{
												CHAR$1 = CHAR$1 + -7ll;
											}
											label$231:;
											label$230:;
											if( CHAR$1 <= 16ll) goto label$233;
											{
												CHAR$1 = CHAR$1 + -32ll;
											}
											label$233:;
											label$232:;
											VALUE$1 = (VALUE$1 << (4ll & 63ll)) + CHAR$1;
										}
										goto label$225;
										label$226:;
										{
											goto label$221;
										}
										label$234:;
										label$225:;
									}
									SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
								}
								label$220:;
								I$1 = I$1 + 1ll;
								label$219:;
								if( I$1 <= 2ll) goto label$222;
								label$221:;
							}
						}
						goto label$216;
						label$235:;
						{
							ISNUMBER$1 = -1ll;
							{
								I$1 = 1ll;
								label$239:;
								{
									if( SRC$1 < SRC_END$1) goto label$241;
									{
										goto label$238;
										label$241:;
									}
									CHAR$1 = (int64)(uint8)*SRC$1;
									if( ((int64)-(CHAR$1 < 48ll) | (int64)-(CHAR$1 > 55ll)) == 0ll) goto label$243;
									{
										goto label$238;
									}
									label$243:;
									label$242:;
									VALUE$1 = ((VALUE$1 << (3ll & 63ll)) + CHAR$1) + -48ll;
									SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
								}
								label$237:;
								I$1 = I$1 + 1ll;
								label$236:;
								if( I$1 <= 3ll) goto label$239;
								label$238:;
							}
						}
						goto label$216;
						label$244:;
						{
							ISNUMBER$1 = -1ll;
							{
								I$1 = 1ll;
								label$248:;
								{
									if( SRC$1 < SRC_END$1) goto label$250;
									{
										goto label$247;
										label$250:;
									}
									CHAR$1 = (int64)(uint8)*SRC$1;
									if( ((int64)-(CHAR$1 < 48ll) | (int64)-(CHAR$1 > 49ll)) == 0ll) goto label$252;
									{
										goto label$247;
									}
									label$252:;
									label$251:;
									VALUE$1 = ((VALUE$1 << (1ll & 63ll)) + CHAR$1) + -48ll;
									SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
								}
								label$246:;
								I$1 = I$1 + 1ll;
								label$245:;
								if( I$1 <= 8ll) goto label$248;
								label$247:;
							}
						}
						goto label$216;
						label$217:;
						static const void* tmp$106[46ll] = {
							&&label$244,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$218,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$235,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$244,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$218,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$216,
							&&label$235,
						};
						if( (TMP$105$6 - 66ull) > 45ull ) goto label$216;
						goto *tmp$106[TMP$105$6 - 66ull];
						label$216:;
					}
				}
				goto label$197;
				label$208:;
				if( CHAR$1 != 97ll) goto label$253;
				label$254:;
				{
					ISNUMBER$1 = -1ll;
					VALUE$1 = 7ll;
				}
				goto label$197;
				label$253:;
				if( CHAR$1 != 117ll) goto label$255;
				label$256:;
				{
					*ISUNICODE$1 = -1ll;
					*DST$1 = (uint8)CHAR$1;
					DST$1 = (char*)((uint8*)DST$1 + 1ll);
					{
						I$1 = 1ll;
						label$260:;
						{
							if( SRC$1 < SRC_END$1) goto label$262;
							{
								*WRNMSG$1 = 52ll;
								goto label$259;
							}
							label$262:;
							label$261:;
							CHAR$1 = (int64)(uint8)*SRC$1;
							{
								if( CHAR$1 < 48ll) goto label$266;
								if( CHAR$1 <= 57ll) goto label$265;
								label$266:;
								if( CHAR$1 < 97ll) goto label$267;
								if( CHAR$1 <= 102ll) goto label$265;
								label$267:;
								if( CHAR$1 < 65ll) goto label$264;
								if( CHAR$1 > 70ll) goto label$264;
								label$265:;
								{
								}
								goto label$263;
								label$264:;
								{
									*WRNMSG$1 = 52ll;
									goto label$259;
								}
								label$268:;
								label$263:;
							}
							fb_StrAssign( (void*)DST$1, 0ll, (void*)SRC$1, 0ll, 0 );
							DST$1 = (char*)((uint8*)DST$1 + 1ll);
							SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
						}
						label$258:;
						I$1 = I$1 + 1ll;
						label$257:;
						if( I$1 <= 4ll) goto label$260;
						label$259:;
					}
					*TEXTLEN$1 = *TEXTLEN$1 + 2ll;
					goto label$191;
				}
				goto label$197;
				label$255:;
				if( CHAR$1 != 85ll) goto label$269;
				label$270:;
				{
					*ISUNICODE$1 = -1ll;
					{
						I$1 = 1ll;
						label$274:;
						{
							if( SRC$1 < SRC_END$1) goto label$276;
							{
								*WRNMSG$1 = 52ll;
								goto label$273;
							}
							label$276:;
							label$275:;
							CHAR$1 = (int64)(uint8)*SRC$1;
							{
								if( CHAR$1 < 48ll) goto label$278;
								if( CHAR$1 > 57ll) goto label$278;
								label$279:;
								{
									VALUE$1 = ((VALUE$1 << (4ll & 63ll)) + CHAR$1) + -48ll;
								}
								goto label$277;
								label$278:;
								if( CHAR$1 < 97ll) goto label$280;
								if( CHAR$1 > 102ll) goto label$280;
								label$281:;
								{
									VALUE$1 = ((VALUE$1 << (4ll & 63ll)) + CHAR$1) + -87ll;
								}
								goto label$277;
								label$280:;
								if( CHAR$1 < 65ll) goto label$282;
								if( CHAR$1 > 70ll) goto label$282;
								label$283:;
								{
									VALUE$1 = ((VALUE$1 << (4ll & 63ll)) + CHAR$1) + -55ll;
								}
								goto label$277;
								label$282:;
								{
									*WRNMSG$1 = 52ll;
									goto label$273;
								}
								label$284:;
								label$277:;
							}
							SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
						}
						label$272:;
						I$1 = I$1 + 1ll;
						label$271:;
						if( I$1 <= 8ll) goto label$274;
						label$273:;
					}
					if( VALUE$1 <= 65535ll) goto label$286;
					{
						*DST$1 = (uint8)85u;
						DST$1 = (char*)((uint8*)DST$1 + 1ll);
						int64 vr$90 = HHEXCHAR( VALUE$1 >> (28ll & 63ll) );
						*DST$1 = (uint8)vr$90;
						int64 vr$94 = HHEXCHAR( VALUE$1 >> (24ll & 63ll) );
						*(char*)((uint8*)DST$1 + 1ll) = (uint8)vr$94;
						int64 vr$98 = HHEXCHAR( VALUE$1 >> (20ll & 63ll) );
						*(char*)((uint8*)DST$1 + 2ll) = (uint8)vr$98;
						int64 vr$102 = HHEXCHAR( VALUE$1 >> (16ll & 63ll) );
						*(char*)((uint8*)DST$1 + 3ll) = (uint8)vr$102;
						int64 vr$106 = HHEXCHAR( VALUE$1 >> (12ll & 63ll) );
						*(char*)((uint8*)DST$1 + 4ll) = (uint8)vr$106;
						int64 vr$110 = HHEXCHAR( VALUE$1 >> (8ll & 63ll) );
						*(char*)((uint8*)DST$1 + 5ll) = (uint8)vr$110;
						int64 vr$114 = HHEXCHAR( VALUE$1 >> (4ll & 63ll) );
						*(char*)((uint8*)DST$1 + 6ll) = (uint8)vr$114;
						int64 vr$117 = HHEXCHAR( VALUE$1 );
						*(char*)((uint8*)DST$1 + 7ll) = (uint8)vr$117;
						DST$1 = (char*)((uint8*)DST$1 + 8ll);
						*TEXTLEN$1 = *TEXTLEN$1 + 4ll;
					}
					goto label$285;
					label$286:;
					{
						*DST$1 = (uint8)117u;
						DST$1 = (char*)((uint8*)DST$1 + 1ll);
						int64 vr$127 = HHEXCHAR( VALUE$1 >> (12ll & 63ll) );
						*DST$1 = (uint8)vr$127;
						int64 vr$131 = HHEXCHAR( VALUE$1 >> (8ll & 63ll) );
						*(char*)((uint8*)DST$1 + 1ll) = (uint8)vr$131;
						int64 vr$135 = HHEXCHAR( VALUE$1 >> (4ll & 63ll) );
						*(char*)((uint8*)DST$1 + 2ll) = (uint8)vr$135;
						int64 vr$138 = HHEXCHAR( VALUE$1 );
						*(char*)((uint8*)DST$1 + 3ll) = (uint8)vr$138;
						DST$1 = (char*)((uint8*)DST$1 + 4ll);
						*TEXTLEN$1 = *TEXTLEN$1 + 2ll;
					}
					label$285:;
					goto label$191;
				}
				label$269:;
				label$197:;
			}
			if( ISNUMBER$1 == 0ll) goto label$288;
			{
				if( (uint64)VALUE$1 <= 255ull) goto label$290;
				{
					ERRREPORTWARN( 8ll, (char*)0ull, 1ll, (char*)0ull );
					VALUE$1 = 255ll;
				}
				label$290:;
				label$289:;
				if( VALUE$1 >= 8ll) goto label$292;
				{
					LGT$1 = 1ll;
				}
				goto label$291;
				label$292:;
				if( VALUE$1 >= 64ll) goto label$293;
				{
					LGT$1 = 2ll;
				}
				goto label$291;
				label$293:;
				{
					LGT$1 = 3ll;
				}
				label$291:;
				*DST$1 = (uint8)LGT$1;
				DST$1 = (char*)((uint8*)DST$1 + 1ll);
				FBSTRING* vr$148 = fb_OCT_l( (uint64)VALUE$1 );
				fb_StrAssign( (void*)DST$1, 0ll, (void*)vr$148, -1ll, 0 );
				DST$1 = (char*)((uint8*)DST$1 + LGT$1);
				*TEXTLEN$1 = *TEXTLEN$1 + 1ll;
				goto label$191;
			}
			label$288:;
			label$287:;
		}
		label$194:;
		label$193:;
		*DST$1 = (uint8)CHAR$1;
		DST$1 = (char*)((uint8*)DST$1 + 1ll);
		*TEXTLEN$1 = *TEXTLEN$1 + 1ll;
	}
	goto label$191;
	label$192:;
	*DST$1 = (uint8)0u;
	fb$result$1 = *(char**)&RES$1;
	label$188:;
	return fb$result$1;
}

uint32* HREESCAPEW( uint32* TEXT$1, int64* TEXTLEN$1, $13FB_WARNINGMSG* WRNMSG$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	uint32* fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$294:;
	static struct $8DWSTRING RES$1;
	static int64 CHAR$1;
	static int64 LGT$1;
	static int64 I$1;
	static int64 ISNUMBER$1;
	static uint64 VALUE$1;
	static uint32* SRC$1;
	static uint32* DST$1;
	static uint32* SRC_END$1;
	*TEXTLEN$1 = 0ll;
	int64 vr$2 = fb_WstrLen( (uint32*)TEXT$1 );
	LGT$1 = vr$2;
	if( LGT$1 != 0ll) goto label$297;
	{
		fb$result$1 = TEXT$1;
		goto label$295;
	}
	label$297:;
	label$296:;
	DWSTRALLOCATE( &RES$1, LGT$1 << (1ll & 63ll) );
	SRC$1 = TEXT$1;
	DST$1 = *(uint32**)&RES$1;
	SRC_END$1 = (uint32*)((uint8*)SRC$1 + (LGT$1 << (2ll & 63ll)));
	label$298:;
	if( SRC$1 >= SRC_END$1) goto label$299;
	{
		CHAR$1 = (int64)*SRC$1;
		SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
		if( CHAR$1 != 92ll) goto label$301;
		{
			if( SRC$1 < SRC_END$1) goto label$303;
			{
				goto label$299;
				label$303:;
			}
			*DST$1 = 27u;
			DST$1 = (uint32*)((uint8*)DST$1 + 4ll);
			ISNUMBER$1 = 0ll;
			CHAR$1 = (int64)*SRC$1;
			SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
			{
				if( CHAR$1 < 48ll) goto label$305;
				if( CHAR$1 > 57ll) goto label$305;
				label$306:;
				{
					ISNUMBER$1 = -1ll;
					VALUE$1 = (uint64)(CHAR$1 + -48ll);
					{
						I$1 = 2ll;
						label$310:;
						{
							if( SRC$1 < SRC_END$1) goto label$312;
							{
								goto label$309;
								label$312:;
							}
							CHAR$1 = (int64)*SRC$1;
							if( ((int64)-(CHAR$1 < 48ll) | (int64)-(CHAR$1 > 57ll)) == 0ll) goto label$314;
							{
								goto label$309;
							}
							label$314:;
							label$313:;
							VALUE$1 = (VALUE$1 * 10ull) + (uint64)(CHAR$1 + -48ll);
							SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
						}
						label$308:;
						I$1 = I$1 + 1ll;
						label$307:;
						if( I$1 <= 5ll) goto label$310;
						label$309:;
					}
				}
				goto label$304;
				label$305:;
				if( CHAR$1 == 38ll) goto label$316;
				label$317:;
				if( CHAR$1 == 88ll) goto label$316;
				label$318:;
				if( CHAR$1 != 120ll) goto label$315;
				label$316:;
				{
					if( SRC$1 < SRC_END$1) goto label$320;
					{
						goto label$299;
						label$320:;
					}
					VALUE$1 = 0ull;
					if( CHAR$1 != 38ll) goto label$322;
					{
						CHAR$1 = (int64)*SRC$1;
						SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
					}
					goto label$321;
					label$322:;
					{
						CHAR$1 = 72ll;
					}
					label$321:;
					{
						uint64 TMP$107$6;
						TMP$107$6 = (uint64)CHAR$1;
						goto label$324;
						label$325:;
						{
							ISNUMBER$1 = -1ll;
							{
								I$1 = 1ll;
								label$329:;
								{
									if( SRC$1 < SRC_END$1) goto label$331;
									{
										goto label$328;
										label$331:;
									}
									CHAR$1 = (int64)*SRC$1;
									{
										if( CHAR$1 < 97ll) goto label$335;
										if( CHAR$1 <= 102ll) goto label$334;
										label$335:;
										if( CHAR$1 < 65ll) goto label$336;
										if( CHAR$1 <= 70ll) goto label$334;
										label$336:;
										if( CHAR$1 < 48ll) goto label$333;
										if( CHAR$1 > 57ll) goto label$333;
										label$334:;
										{
											CHAR$1 = CHAR$1 + -48ll;
											if( CHAR$1 <= 9ll) goto label$338;
											{
												CHAR$1 = CHAR$1 + -7ll;
											}
											label$338:;
											label$337:;
											if( CHAR$1 <= 16ll) goto label$340;
											{
												CHAR$1 = CHAR$1 + -32ll;
											}
											label$340:;
											label$339:;
											VALUE$1 = (VALUE$1 << (4ull & 63ll)) + (uint64)CHAR$1;
										}
										goto label$332;
										label$333:;
										{
											goto label$328;
										}
										label$341:;
										label$332:;
									}
									SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
								}
								label$327:;
								I$1 = I$1 + 1ll;
								label$326:;
								if( I$1 <= 4ll) goto label$329;
								label$328:;
							}
						}
						goto label$323;
						label$342:;
						{
							ISNUMBER$1 = -1ll;
							{
								I$1 = 1ll;
								label$346:;
								{
									if( SRC$1 < SRC_END$1) goto label$348;
									{
										goto label$345;
										label$348:;
									}
									CHAR$1 = (int64)*SRC$1;
									if( ((int64)-(CHAR$1 < 48ll) | (int64)-(CHAR$1 > 55ll)) == 0ll) goto label$350;
									{
										goto label$345;
									}
									label$350:;
									label$349:;
									VALUE$1 = (VALUE$1 << (3ull & 63ll)) + (uint64)(CHAR$1 + -48ll);
									SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
								}
								label$344:;
								I$1 = I$1 + 1ll;
								label$343:;
								if( I$1 <= 6ll) goto label$346;
								label$345:;
							}
						}
						goto label$323;
						label$351:;
						{
							ISNUMBER$1 = -1ll;
							{
								I$1 = 1ll;
								label$355:;
								{
									if( SRC$1 < SRC_END$1) goto label$357;
									{
										goto label$354;
										label$357:;
									}
									CHAR$1 = (int64)*SRC$1;
									if( ((int64)-(CHAR$1 < 48ll) | (int64)-(CHAR$1 > 49ll)) == 0ll) goto label$359;
									{
										goto label$354;
									}
									label$359:;
									label$358:;
									VALUE$1 = (VALUE$1 << (1ull & 63ll)) + (uint64)(CHAR$1 + -48ll);
									SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
								}
								label$353:;
								I$1 = I$1 + 1ll;
								label$352:;
								if( I$1 <= 16ll) goto label$355;
								label$354:;
							}
						}
						goto label$323;
						label$324:;
						static const void* tmp$109[46ll] = {
							&&label$351,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$325,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$342,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$351,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$325,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$323,
							&&label$342,
						};
						if( (TMP$107$6 - 66ull) > 45ull ) goto label$323;
						goto *tmp$109[TMP$107$6 - 66ull];
						label$323:;
					}
				}
				goto label$304;
				label$315:;
				if( CHAR$1 != 117ll) goto label$360;
				label$361:;
				{
					*DST$1 = (uint32)CHAR$1;
					DST$1 = (uint32*)((uint8*)DST$1 + 4ll);
					{
						I$1 = 1ll;
						label$365:;
						{
							if( SRC$1 < SRC_END$1) goto label$367;
							{
								*WRNMSG$1 = 52ll;
								goto label$364;
							}
							label$367:;
							label$366:;
							CHAR$1 = (int64)*SRC$1;
							{
								if( CHAR$1 < 48ll) goto label$371;
								if( CHAR$1 <= 57ll) goto label$370;
								label$371:;
								if( CHAR$1 < 97ll) goto label$372;
								if( CHAR$1 <= 102ll) goto label$370;
								label$372:;
								if( CHAR$1 < 65ll) goto label$369;
								if( CHAR$1 > 70ll) goto label$369;
								label$370:;
								{
								}
								goto label$368;
								label$369:;
								{
									*WRNMSG$1 = 52ll;
									goto label$364;
								}
								label$373:;
								label$368:;
							}
							fb_WstrAssign( DST$1, 0ll, (uint32*)SRC$1 );
							DST$1 = (uint32*)((uint8*)DST$1 + 4ll);
							SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
						}
						label$363:;
						I$1 = I$1 + 1ll;
						label$362:;
						if( I$1 <= 4ll) goto label$365;
						label$364:;
					}
					*TEXTLEN$1 = *TEXTLEN$1 + 2ll;
					goto label$298;
				}
				goto label$304;
				label$360:;
				if( CHAR$1 != 85ll) goto label$374;
				label$375:;
				{
					{
						I$1 = 1ll;
						label$379:;
						{
							if( SRC$1 < SRC_END$1) goto label$381;
							{
								*WRNMSG$1 = 52ll;
								goto label$378;
							}
							label$381:;
							label$380:;
							CHAR$1 = (int64)*SRC$1;
							{
								if( CHAR$1 < 48ll) goto label$383;
								if( CHAR$1 > 57ll) goto label$383;
								label$384:;
								{
									VALUE$1 = (VALUE$1 << (4ull & 63ll)) + (uint64)(CHAR$1 + -48ll);
								}
								goto label$382;
								label$383:;
								if( CHAR$1 < 97ll) goto label$385;
								if( CHAR$1 > 102ll) goto label$385;
								label$386:;
								{
									VALUE$1 = ((VALUE$1 << (4ull & 63ll)) + (uint64)(CHAR$1 + -97ll)) + 10ull;
								}
								goto label$382;
								label$385:;
								if( CHAR$1 < 65ll) goto label$387;
								if( CHAR$1 > 70ll) goto label$387;
								label$388:;
								{
									VALUE$1 = ((VALUE$1 << (4ull & 63ll)) + (uint64)(CHAR$1 + -65ll)) + 10ull;
								}
								goto label$382;
								label$387:;
								{
									*WRNMSG$1 = 52ll;
									goto label$378;
								}
								label$389:;
								label$382:;
							}
							SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
						}
						label$377:;
						I$1 = I$1 + 1ll;
						label$376:;
						if( I$1 <= 8ll) goto label$379;
						label$378:;
					}
					if( VALUE$1 <= 65535ull) goto label$391;
					{
						*DST$1 = 85u;
						DST$1 = (uint32*)((uint8*)DST$1 + 4ll);
						int64 vr$90 = HHEXCHAR( (int64)(VALUE$1 >> (28ll & 63ll)) );
						*DST$1 = (uint32)vr$90;
						int64 vr$94 = HHEXCHAR( (int64)(VALUE$1 >> (24ll & 63ll)) );
						*(uint32*)((uint8*)DST$1 + 4ll) = (uint32)vr$94;
						int64 vr$98 = HHEXCHAR( (int64)(VALUE$1 >> (20ll & 63ll)) );
						*(uint32*)((uint8*)DST$1 + 8ll) = (uint32)vr$98;
						int64 vr$102 = HHEXCHAR( (int64)(VALUE$1 >> (16ll & 63ll)) );
						*(uint32*)((uint8*)DST$1 + 12ll) = (uint32)vr$102;
						int64 vr$106 = HHEXCHAR( (int64)(VALUE$1 >> (12ll & 63ll)) );
						*(uint32*)((uint8*)DST$1 + 16ll) = (uint32)vr$106;
						int64 vr$110 = HHEXCHAR( (int64)(VALUE$1 >> (8ll & 63ll)) );
						*(uint32*)((uint8*)DST$1 + 20ll) = (uint32)vr$110;
						int64 vr$114 = HHEXCHAR( (int64)(VALUE$1 >> (4ll & 63ll)) );
						*(uint32*)((uint8*)DST$1 + 24ll) = (uint32)vr$114;
						int64 vr$117 = HHEXCHAR( (int64)VALUE$1 );
						*(uint32*)((uint8*)DST$1 + 28ll) = (uint32)vr$117;
						DST$1 = (uint32*)((uint8*)DST$1 + 32ll);
						*TEXTLEN$1 = *TEXTLEN$1 + 4ll;
					}
					goto label$390;
					label$391:;
					{
						*DST$1 = 117u;
						DST$1 = (uint32*)((uint8*)DST$1 + 4ll);
						int64 vr$127 = HHEXCHAR( (int64)(VALUE$1 >> (12ll & 63ll)) );
						*DST$1 = (uint32)vr$127;
						int64 vr$131 = HHEXCHAR( (int64)(VALUE$1 >> (8ll & 63ll)) );
						*(uint32*)((uint8*)DST$1 + 4ll) = (uint32)vr$131;
						int64 vr$135 = HHEXCHAR( (int64)(VALUE$1 >> (4ll & 63ll)) );
						*(uint32*)((uint8*)DST$1 + 8ll) = (uint32)vr$135;
						int64 vr$138 = HHEXCHAR( (int64)VALUE$1 );
						*(uint32*)((uint8*)DST$1 + 12ll) = (uint32)vr$138;
						DST$1 = (uint32*)((uint8*)DST$1 + 16ll);
						*TEXTLEN$1 = *TEXTLEN$1 + 2ll;
					}
					label$390:;
					goto label$298;
				}
				label$374:;
				label$304:;
			}
			if( ISNUMBER$1 == 0ll) goto label$393;
			{
				uint32* TMP$108$4;
				if( VALUE$1 <= 65535ull) goto label$395;
				{
					ERRREPORTWARN( 8ll, (char*)0ull, 1ll, (char*)0ull );
					VALUE$1 = 65535ull;
				}
				label$395:;
				label$394:;
				LGT$1 = 1ll;
				static uint64 UIVALUE$4;
				UIVALUE$4 = VALUE$1;
				label$396:;
				if( UIVALUE$4 <= 7ull) goto label$397;
				{
					UIVALUE$4 = UIVALUE$4 >> (3ll & 63ll);
					LGT$1 = LGT$1 + 1ll;
				}
				goto label$396;
				label$397:;
				*DST$1 = (uint32)LGT$1;
				DST$1 = (uint32*)((uint8*)DST$1 + 4ll);
				uint32* vr$150 = fb_WstrOct_l( VALUE$1 );
				TMP$108$4 = vr$150;
				fb_WstrAssign( DST$1, 0ll, (uint32*)TMP$108$4 );
				fb_WstrDelete( (uint32*)TMP$108$4 );
				DST$1 = (uint32*)((uint8*)DST$1 + (LGT$1 << (2ll & 63ll)));
				*TEXTLEN$1 = *TEXTLEN$1 + 1ll;
				goto label$298;
			}
			label$393:;
			label$392:;
		}
		label$301:;
		label$300:;
		*DST$1 = (uint32)CHAR$1;
		DST$1 = (uint32*)((uint8*)DST$1 + 4ll);
		*TEXTLEN$1 = *TEXTLEN$1 + 1ll;
	}
	goto label$298;
	label$299:;
	*DST$1 = 0u;
	fb$result$1 = *(uint32**)&RES$1;
	label$295:;
	return fb$result$1;
}

char* HESCAPE( const char* TEXT$1, int64 MAXLEN$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	char* fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$398:;
	static struct $8DZSTRING RES$1;
	static int64 C$1;
	static int64 OCTLEN$1;
	static int64 LGT$1;
	static int64 N$1;
	static char* SRC$1;
	static char* SRC_END$1;
	static char* DST$1;
	OCTLEN$1 = 0ll;
	N$1 = 0ll;
	int64 vr$1 = fb_StrLen( (void*)TEXT$1, 0ll );
	LGT$1 = vr$1;
	if( LGT$1 != 0ll) goto label$401;
	{
		fb$result$1 = (char*)TEXT$1;
		goto label$399;
	}
	label$401:;
	label$400:;
	DZSTRALLOCATE( &RES$1, LGT$1 << (2ll & 63ll) );
	SRC$1 = (char*)TEXT$1;
	DST$1 = *(char**)&RES$1;
	SRC_END$1 = (char*)((uint8*)SRC$1 + LGT$1);
	label$402:;
	if( SRC$1 >= SRC_END$1) goto label$403;
	{
		int64 TMP$110$2;
		C$1 = (int64)(uint8)*SRC$1;
		SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
		{
			if( C$1 == 92ll) goto label$406;
			label$407:;
			if( C$1 != 34ll) goto label$405;
			label$406:;
			{
				*DST$1 = (uint8)92u;
				DST$1 = (char*)((uint8*)DST$1 + 1ll);
			}
			goto label$404;
			label$405:;
			if( C$1 != 27ll) goto label$408;
			label$409:;
			{
				*DST$1 = (uint8)92u;
				DST$1 = (char*)((uint8*)DST$1 + 1ll);
				if( SRC$1 < SRC_END$1) goto label$411;
				{
					goto label$403;
					label$411:;
				}
				C$1 = (int64)(uint8)*SRC$1;
				SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
				if( ((int64)-(C$1 >= 1ll) & (int64)-(C$1 <= 3ll)) == 0ll) goto label$413;
				{
					OCTLEN$1 = C$1;
					if( SRC$1 < SRC_END$1) goto label$415;
					{
						goto label$403;
						label$415:;
					}
					C$1 = (int64)(uint8)*SRC$1;
					SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
				}
				label$413:;
				label$412:;
			}
			goto label$404;
			label$408:;
			if( C$1 < 0ll) goto label$418;
			if( C$1 <= 31ll) goto label$417;
			label$418:;
			if( C$1 < 128ll) goto label$416;
			if( C$1 > 255ll) goto label$416;
			label$417:;
			{
				*DST$1 = (uint8)92u;
				DST$1 = (char*)((uint8*)DST$1 + 1ll);
				if( C$1 >= 8ll) goto label$420;
				{
					*DST$1 = (uint8)48u;
					*(char*)((uint8*)DST$1 + 1ll) = (uint8)48u;
					DST$1 = (char*)((uint8*)DST$1 + 2ll);
					C$1 = C$1 + 48ll;
				}
				goto label$419;
				label$420:;
				if( C$1 >= 64ll) goto label$421;
				{
					*DST$1 = (uint8)48u;
					*(char*)((uint8*)DST$1 + 1ll) = (uint8)((C$1 >> (3ll & 63ll)) + 48ll);
					DST$1 = (char*)((uint8*)DST$1 + 2ll);
					C$1 = (C$1 & 7ll) + 48ll;
				}
				goto label$419;
				label$421:;
				{
					*DST$1 = (uint8)((C$1 >> (6ll & 63ll)) + 48ll);
					*(char*)((uint8*)DST$1 + 1ll) = (uint8)(((C$1 & 56ll) >> (3ll & 63ll)) + 48ll);
					DST$1 = (char*)((uint8*)DST$1 + 2ll);
					C$1 = (C$1 & 7ll) + 48ll;
				}
				label$419:;
			}
			label$416:;
			label$404:;
		}
		*DST$1 = (uint8)C$1;
		DST$1 = (char*)((uint8*)DST$1 + 1ll);
		N$1 = N$1 + 1ll;
		if( MAXLEN$1 <= 0ll) goto label$422;
		TMP$110$2 = (int64)-(N$1 >= MAXLEN$1);
		goto label$429;
		label$422:;
		TMP$110$2 = 0ll;
		label$429:;
		if( TMP$110$2 == 0ll) goto label$424;
		{
			goto label$403;
			label$424:;
		}
		if( OCTLEN$1 <= 0ll) goto label$426;
		{
			OCTLEN$1 = OCTLEN$1 + -1ll;
			if( OCTLEN$1 != 0ll) goto label$428;
			{
				*DST$1 = (uint8)34u;
				*(char*)((uint8*)DST$1 + 1ll) = (uint8)34u;
				DST$1 = (char*)((uint8*)DST$1 + 2ll);
			}
			label$428:;
			label$427:;
		}
		label$426:;
		label$425:;
	}
	goto label$402;
	label$403:;
	*DST$1 = (uint8)0u;
	fb$result$1 = (char*)*(char**)&RES$1;
	label$399:;
	return fb$result$1;
}

char* HESCAPEW( const uint32* TEXT$1, int64 MAXLEN$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	char* fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$430:;
	static struct $8DZSTRING RES$1;
	static uint64 CHAR$1;
	static int64 LGT$1;
	static int64 I$1;
	static int64 WCHARLEN$1;
	static int64 N$1;
	static uint32* SRC$1;
	static uint32* SRC_END$1;
	static char* DST$1;
	int64 vr$1 = FBGETTARGETWCHARSIZE(  );
	WCHARLEN$1 = vr$1;
	N$1 = 0ll;
	int64 vr$2 = fb_WstrLen( TEXT$1 );
	LGT$1 = vr$2;
	if( LGT$1 != 0ll) goto label$433;
	{
		fb$result$1 = (char*)0ull;
		goto label$431;
	}
	label$433:;
	label$432:;
	DZSTRALLOCATE( &RES$1, (LGT$1 * WCHARLEN$1) << (2ll & 63ll) );
	SRC$1 = (uint32*)TEXT$1;
	DST$1 = *(char**)&RES$1;
	SRC_END$1 = (uint32*)((uint8*)SRC$1 + (LGT$1 << (2ll & 63ll)));
	label$434:;
	if( SRC$1 >= SRC_END$1) goto label$435;
	{
		int64 TMP$115$2;
		CHAR$1 = (uint64)*SRC$1;
		SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
		if( CHAR$1 != 27ull) goto label$437;
		{
			if( SRC$1 < SRC_END$1) goto label$439;
			{
				goto label$435;
				label$439:;
			}
			CHAR$1 = (uint64)*SRC$1;
			SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
			if( ((int64)-(CHAR$1 >= 1ull) & (int64)-(CHAR$1 <= 11ull)) == 0ll) goto label$441;
			{
				I$1 = (int64)CHAR$1;
				CHAR$1 = 0ull;
				if( (uint32*)((uint8*)SRC$1 + (I$1 << (2ll & 63ll))) <= SRC_END$1) goto label$443;
				{
					goto label$435;
					label$443:;
				}
				label$444:;
				if( I$1 <= 0ll) goto label$445;
				{
					CHAR$1 = (CHAR$1 << (3ull & 63ll)) + (uint64)((int64)*SRC$1 + -48ll);
					SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
					I$1 = I$1 + -1ll;
				}
				goto label$444;
				label$445:;
			}
			goto label$440;
			label$441:;
			{
				if( CHAR$1 != 117ull) goto label$447;
				{
					if( (uint32*)((uint8*)SRC$1 + 16ll) <= SRC_END$1) goto label$449;
					{
						goto label$435;
						label$449:;
					}
					uint64 vr$26 = HUNICODEHEXTOCODEPOINTW( &SRC$1, 4ll );
					CHAR$1 = vr$26;
				}
				goto label$446;
				label$447:;
				if( CHAR$1 != 85ull) goto label$450;
				{
					if( (uint32*)((uint8*)SRC$1 + 32ll) <= SRC_END$1) goto label$452;
					{
						goto label$435;
						label$452:;
					}
					uint64 vr$28 = HUNICODEHEXTOCODEPOINTW( &SRC$1, 8ll );
					CHAR$1 = vr$28;
				}
				goto label$446;
				label$450:;
				{
					int64 vr$29 = HREMAPCHAR( (int64)CHAR$1 );
					CHAR$1 = (uint64)vr$29;
				}
				label$446:;
			}
			label$440:;
		}
		label$437:;
		label$436:;
		if( ((int64)-(WCHARLEN$1 == 2ll) & (int64)-(CHAR$1 >= 65536ull)) == 0ll) goto label$454;
		{
			uint64 TMP$113$3;
			uint64 TMP$114$3;
			CHAR$1 = CHAR$1 + 18446744073709486080ull;
			TMP$113$3 = (CHAR$1 >> (10ll & 63ll)) + 55296ull;
			HUNICODECODEPOINTCHARTOHEX( &TMP$113$3, &DST$1, WCHARLEN$1 );
			TMP$114$3 = (CHAR$1 & 1023ull) + 56320ull;
			HUNICODECODEPOINTCHARTOHEX( &TMP$114$3, &DST$1, WCHARLEN$1 );
		}
		goto label$453;
		label$454:;
		{
			HUNICODECODEPOINTCHARTOHEX( &CHAR$1, &DST$1, WCHARLEN$1 );
		}
		label$453:;
		N$1 = N$1 + 1ll;
		if( MAXLEN$1 <= 0ll) goto label$455;
		TMP$115$2 = (int64)-(N$1 >= MAXLEN$1);
		goto label$458;
		label$455:;
		TMP$115$2 = 0ll;
		label$458:;
		if( TMP$115$2 == 0ll) goto label$457;
		{
			goto label$435;
			label$457:;
		}
	}
	goto label$434;
	label$435:;
	*DST$1 = (uint8)0u;
	fb$result$1 = *(char**)&RES$1;
	label$431:;
	return fb$result$1;
}

char* HUNESCAPE( char* TEXT$1, int64* TEXTLEN$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	char* fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$459:;
	static struct $8DZSTRING RES$1;
	static int64 CHAR$1;
	static int64 LGT$1;
	static int64 I$1;
	static char* SRC$1;
	static char* DST$1;
	static char* SRC_END$1;
	*TEXTLEN$1 = 0ll;
	int64 vr$2 = fb_StrLen( (void*)TEXT$1, 0ll );
	LGT$1 = vr$2;
	if( LGT$1 != 0ll) goto label$462;
	{
		fb$result$1 = TEXT$1;
		goto label$460;
	}
	label$462:;
	label$461:;
	DZSTRALLOCATE( &RES$1, LGT$1 );
	SRC$1 = TEXT$1;
	DST$1 = *(char**)&RES$1;
	SRC_END$1 = (char*)((uint8*)SRC$1 + LGT$1);
	label$463:;
	if( SRC$1 >= SRC_END$1) goto label$464;
	{
		CHAR$1 = (int64)(uint8)*SRC$1;
		SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
		if( CHAR$1 != 27ll) goto label$466;
		{
			if( SRC$1 < SRC_END$1) goto label$468;
			{
				goto label$464;
				label$468:;
			}
			CHAR$1 = (int64)(uint8)*SRC$1;
			SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
			if( ((int64)-(CHAR$1 >= 1ll) & (int64)-(CHAR$1 <= 3ll)) == 0ll) goto label$470;
			{
				I$1 = CHAR$1;
				CHAR$1 = 0ll;
				label$471:;
				if( I$1 <= 0ll) goto label$472;
				{
					CHAR$1 = ((CHAR$1 << (3ll & 63ll)) + (int64)(uint8)*SRC$1) + -48ll;
					SRC$1 = (char*)((uint8*)SRC$1 + 1ll);
					I$1 = I$1 + -1ll;
				}
				goto label$471;
				label$472:;
			}
			goto label$469;
			label$470:;
			{
				int64 vr$20 = HREMAPCHAR( CHAR$1 );
				CHAR$1 = vr$20;
			}
			label$469:;
		}
		label$466:;
		label$465:;
		*DST$1 = (uint8)CHAR$1;
		DST$1 = (char*)((uint8*)DST$1 + 1ll);
	}
	goto label$463;
	label$464:;
	*DST$1 = (uint8)0u;
	*TEXTLEN$1 = (int64)DST$1 - *(int64*)&RES$1;
	fb$result$1 = *(char**)&RES$1;
	label$460:;
	return fb$result$1;
}

uint32* HUNESCAPEW( uint32* TEXT$1, int64* TEXTLEN$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	uint32* fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$473:;
	static struct $8DWSTRING RES$1;
	static int64 CHAR$1;
	static int64 LGT$1;
	static int64 I$1;
	static uint32* SRC$1;
	static uint32* DST$1;
	static uint32* SRC_END$1;
	*TEXTLEN$1 = 0ll;
	int64 vr$2 = fb_WstrLen( (uint32*)TEXT$1 );
	LGT$1 = vr$2;
	if( LGT$1 != 0ll) goto label$476;
	{
		fb$result$1 = TEXT$1;
		goto label$474;
	}
	label$476:;
	label$475:;
	DWSTRALLOCATE( &RES$1, LGT$1 );
	SRC$1 = TEXT$1;
	DST$1 = *(uint32**)&RES$1;
	SRC_END$1 = (uint32*)((uint8*)SRC$1 + (LGT$1 << (2ll & 63ll)));
	label$477:;
	if( SRC$1 >= SRC_END$1) goto label$478;
	{
		CHAR$1 = (int64)*SRC$1;
		SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
		if( CHAR$1 != 27ll) goto label$480;
		{
			if( SRC$1 < SRC_END$1) goto label$482;
			{
				goto label$478;
				label$482:;
			}
			CHAR$1 = (int64)*SRC$1;
			SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
			if( ((int64)-(CHAR$1 >= 1ll) & (int64)-(CHAR$1 <= 11ll)) == 0ll) goto label$484;
			{
				I$1 = CHAR$1;
				CHAR$1 = 0ll;
				label$485:;
				if( I$1 <= 0ll) goto label$486;
				{
					CHAR$1 = ((CHAR$1 << (3ll & 63ll)) + (int64)*SRC$1) + -48ll;
					SRC$1 = (uint32*)((uint8*)SRC$1 + 4ll);
					I$1 = I$1 + -1ll;
				}
				goto label$485;
				label$486:;
			}
			goto label$483;
			label$484:;
			{
				if( (uint64)CHAR$1 != 117ull) goto label$488;
				{
					if( (uint32*)((uint8*)SRC$1 + 16ll) <= SRC_END$1) goto label$490;
					{
						goto label$478;
						label$490:;
					}
					uint64 vr$22 = HUNICODEHEXTOCODEPOINTW( &SRC$1, 4ll );
					CHAR$1 = (int64)vr$22;
				}
				goto label$487;
				label$488:;
				if( (uint64)CHAR$1 != 85ull) goto label$491;
				{
					if( (uint32*)((uint8*)SRC$1 + 32ll) <= SRC_END$1) goto label$493;
					{
						goto label$478;
						label$493:;
					}
					uint64 vr$24 = HUNICODEHEXTOCODEPOINTW( &SRC$1, 8ll );
					CHAR$1 = (int64)vr$24;
				}
				goto label$487;
				label$491:;
				{
					int64 vr$25 = HREMAPCHAR( CHAR$1 );
					CHAR$1 = vr$25;
				}
				label$487:;
			}
			label$483:;
		}
		label$480:;
		label$479:;
		goto label$495;
		{
			if( CHAR$1 <= 65535ll) goto label$497;
			{
				CHAR$1 = CHAR$1 + -65536ll;
				*DST$1 = (uint32)((CHAR$1 >> (10ll & 63ll)) + 55296ll);
				*(uint32*)((uint8*)DST$1 + 4ll) = (uint32)((CHAR$1 & 1023ll) + 56320ll);
				DST$1 = (uint32*)((uint8*)DST$1 + 8ll);
			}
			goto label$496;
			label$497:;
			{
				*DST$1 = (uint32)CHAR$1;
				DST$1 = (uint32*)((uint8*)DST$1 + 4ll);
			}
			label$496:;
		}
		goto label$494;
		label$495:;
		{
			*DST$1 = (uint32)CHAR$1;
			DST$1 = (uint32*)((uint8*)DST$1 + 4ll);
		}
		label$494:;
	}
	goto label$477;
	label$478:;
	*DST$1 = 0u;
	*TEXTLEN$1 = ((int64)DST$1 - *(int64*)&RES$1) / 4ll;
	fb$result$1 = *(uint32**)&RES$1;
	label$474:;
	return fb$result$1;
}

int64 HCHARNEEDSESCAPING( int64 CH$1, int64 QUOTECHAR$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	int64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$498:;
	fb$result$1 = (((int64)-(CH$1 < 32ll) | (int64)-(CH$1 >= 127ll)) | (int64)-((uint64)CH$1 == 92ull)) | (int64)-(CH$1 == QUOTECHAR$1);
	label$499:;
	return fb$result$1;
}

int64 HISVALIDHEXDIGIT( int64 CH$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	int64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$500:;
	fb$result$1 = (((int64)-((uint64)CH$1 >= 48ull) & (int64)-((uint64)CH$1 <= 57ull)) | ((int64)-((uint64)CH$1 >= 97ull) & (int64)-((uint64)CH$1 <= 102ull))) | ((int64)-((uint64)CH$1 >= 65ull) & (int64)-((uint64)CH$1 <= 70ull));
	label$501:;
	return fb$result$1;
}

int64 HSTR2LONG( FBSTRING* TXT$1, int32* VALUE$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	int64 TMP$120$1;
	int64 TMP$121$1;
	int64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$502:;
	int32 NVALUE$1;
	NVALUE$1 = 0;
	int32 NSIGN$1;
	NSIGN$1 = 1;
	int64 vr$1 = fb_StrLen( (void*)TXT$1, -1ll );
	if( vr$1 != 0ll) goto label$505;
	{
		fb$result$1 = 0ll;
		goto label$503;
	}
	label$505:;
	label$504:;
	uint8* S$1;
	S$1 = (uint8*)*(char**)TXT$1;
	if( S$1 == (uint8*)0ull) goto label$506;
	TMP$120$1 = (int64)-((int64)*S$1 == 0ll);
	goto label$516;
	label$506:;
	TMP$120$1 = -1ll;
	label$516:;
	if( TMP$120$1 == 0ll) goto label$508;
	{
		fb$result$1 = 0ll;
		goto label$503;
	}
	label$508:;
	label$507:;
	if( (int64)*S$1 != 45ll) goto label$510;
	{
		NSIGN$1 = -1;
		S$1 = (uint8*)(S$1 + 1ll);
	}
	label$510:;
	label$509:;
	if( (int64)*S$1 != 0ll) goto label$512;
	{
		fb$result$1 = 0ll;
		goto label$503;
	}
	label$512:;
	label$511:;
	label$513:;
	if( (uint64)(int64)*S$1 > 57ull) goto label$515;
	TMP$121$1 = (int64)-((uint64)(int64)*S$1 >= 48ull);
	goto label$517;
	label$515:;
	TMP$121$1 = 0ll;
	label$517:;
	if( TMP$121$1 == 0ll) goto label$514;
	{
		NVALUE$1 = (int32)((int64)NVALUE$1 * 10ll);
		NVALUE$1 = (int32)(((uint64)(int64)NVALUE$1 + (uint64)(int64)*S$1) + 18446744073709551568ull);
		S$1 = (uint8*)(S$1 + 1ll);
	}
	goto label$513;
	label$514:;
	*VALUE$1 = (int32)((int64)NVALUE$1 * (int64)NSIGN$1);
	fb$result$1 = (int64)-((int64)*S$1 == 0ll);
	goto label$503;
	label$503:;
	return fb$result$1;
}

int64 HWSTR2LONG( uint32* TXT$1, int32* VALUE$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	int64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$518:;
	FBSTRING ZTXT$1;
	fb_WstrAssignToA_Init( (void*)&ZTXT$1, -1ll, (uint32*)TXT$1, 0ll );
	int64 vr$3 = HSTR2LONG( &ZTXT$1, VALUE$1 );
	fb$result$1 = vr$3;
	fb_StrDelete( (FBSTRING*)&ZTXT$1 );
	goto label$519;
	fb_StrDelete( (FBSTRING*)&ZTXT$1 );
	label$519:;
	return fb$result$1;
}

void HSPLITSTR( FBSTRING* TXT$1, FBSTRING* DEL$1, struct $7FBARRAYI8FBSTRINGE* RES$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	label$520:;
	int64 ITEMS$1;
	ITEMS$1 = 10ll;
	struct $8FBARRAY1IlE DPOS$1;
	*(int64**)&DPOS$1 = (int64*)0ull;
	*(int64**)((uint8*)&DPOS$1 + 8ll) = (int64*)0ull;
	*(int64*)((uint8*)&DPOS$1 + 16ll) = 0ll;
	*(int64*)((uint8*)&DPOS$1 + 24ll) = 8ll;
	*(int64*)((uint8*)&DPOS$1 + 32ll) = 1ll;
	*(int64*)((uint8*)&DPOS$1 + 40ll) = 17ll;
	__builtin_memset( (void*)((uint8*)&DPOS$1 + 48ll), 0, 24ll );
	int32 vr$3 = fb_ArrayRedimEx( (struct $7FBARRAYIvE*)&DPOS$1, 8ull, -1, 0, 1ull, 0ll, ITEMS$1 + -1ll );
	if( (int64)vr$3 == 0ll) goto label$522;
	void* vr$5 = fb_ErrorThrowAt( 1510, (char*)"/home/jkfirth/fbc-resolute-package-src-1.20.2-11/src/compiler/hlp-str.bas", (void*)0ull, (void*)0ull );
	goto *vr$5;
	label$522:;
	int64 DELLEN$1;
	int64 vr$6 = fb_StrLen( (void*)DEL$1, -1ll );
	DELLEN$1 = vr$6;
	int64 CNT$1;
	CNT$1 = 0ll;
	int64 P$1;
	P$1 = 1ll;
	label$523:;
	{
		int64 vr$7 = fb_StrInstr( P$1, (FBSTRING*)TXT$1, (FBSTRING*)DEL$1 );
		P$1 = vr$7;
		if( P$1 <= 0ll) goto label$527;
		{
			if( CNT$1 < ITEMS$1) goto label$529;
			{
				ITEMS$1 = ITEMS$1 + 10ll;
				int32 vr$11 = fb_ArrayRedimPresvEx( (struct $7FBARRAYIvE*)&DPOS$1, 8ull, -1, 0, 1ull, 0ll, ITEMS$1 + -1ll );
				if( (int64)vr$11 == 0ll) goto label$530;
				void* vr$13 = fb_ErrorThrowAt( 1521, (char*)"/home/jkfirth/fbc-resolute-package-src-1.20.2-11/src/compiler/hlp-str.bas", (void*)0ull, (void*)0ull );
				goto *vr$13;
				label$530:;
			}
			label$529:;
			label$528:;
			*(int64*)((CNT$1 << (3ll & 63ll)) + *(int64*)&DPOS$1) = P$1;
			P$1 = P$1 + DELLEN$1;
		}
		label$527:;
		label$526:;
		CNT$1 = CNT$1 + 1ll;
	}
	label$525:;
	if( P$1 != 0ll) goto label$523;
	label$524:;
	CNT$1 = CNT$1 + -1ll;
	if( CNT$1 != 0ll) goto label$532;
	{
		int32 vr$19 = fb_ArrayRedimEx( (struct $7FBARRAYIvE*)RES$1, 24ull, -1, -1, 1ull, 0ll, 0ll );
		if( (int64)vr$19 == 0ll) goto label$533;
		void* vr$21 = fb_ErrorThrowAt( 1531, (char*)"/home/jkfirth/fbc-resolute-package-src-1.20.2-11/src/compiler/hlp-str.bas", (void*)0ull, (void*)0ull );
		goto *vr$21;
		label$533:;
		fb_StrAssign( (void*)*(int64*)RES$1, -1ll, (void*)TXT$1, -1ll, 0 );
		fb_ArrayErase( (struct $7FBARRAYIvE*)&DPOS$1 );
		goto label$521;
	}
	label$532:;
	label$531:;
	int32 vr$25 = fb_ArrayRedimEx( (struct $7FBARRAYIvE*)RES$1, 24ull, -1, -1, 1ull, 0ll, CNT$1 );
	if( (int64)vr$25 == 0ll) goto label$534;
	void* vr$27 = fb_ErrorThrowAt( 1536, (char*)"/home/jkfirth/fbc-resolute-package-src-1.20.2-11/src/compiler/hlp-str.bas", (void*)0ull, (void*)0ull );
	goto *vr$27;
	label$534:;
	FBSTRING* vr$29 = fb_LEFT( (FBSTRING*)TXT$1, *(int64*)*(int64*)&DPOS$1 + -1ll );
	fb_StrAssign( (void*)*(int64*)RES$1, -1ll, (void*)vr$29, -1ll, 0 );
	P$1 = 1ll;
	label$535:;
	if( P$1 == CNT$1) goto label$536;
	{
		FBSTRING* vr$41 = fb_StrMid( (FBSTRING*)TXT$1, *(int64*)((uint8*)((P$1 << (3ll & 63ll)) + *(int64*)&DPOS$1) + -8ll) + DELLEN$1, (*(int64*)((P$1 << (3ll & 63ll)) + *(int64*)&DPOS$1) - *(int64*)((uint8*)((P$1 << (3ll & 63ll)) + *(int64*)&DPOS$1) + -8ll)) - DELLEN$1 );
		fb_StrAssign( (void*)((P$1 * 24ll) + *(int64*)RES$1), -1ll, (void*)vr$41, -1ll, 0 );
		P$1 = P$1 + 1ll;
	}
	goto label$535;
	label$536:;
	FBSTRING* vr$50 = fb_StrMid( (FBSTRING*)TXT$1, *(int64*)((uint8*)((CNT$1 << (3ll & 63ll)) + *(int64*)&DPOS$1) + -8ll) + DELLEN$1, -1ll );
	fb_StrAssign( (void*)((CNT$1 * 24ll) + *(int64*)RES$1), -1ll, (void*)vr$50, -1ll, 0 );
	fb_ArrayErase( (struct $7FBARRAYIvE*)&DPOS$1 );
	label$521:;
}

int64 HSTR2TOK( const char* TXT$1, struct $7FBARRAYI8FBSTRINGE* RES$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	int64 TMP$124$1;
	int64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$537:;
	int64 T$1;
	T$1 = 0ll;
	uint64 LC$1;
	LC$1 = 32ull;
	uint8* S$1;
	S$1 = (uint8*)TXT$1;
	label$539:;
	if( (int64)*S$1 == 0ll) goto label$540;
	{
		uint64 C$2;
		C$2 = (uint64)*S$1;
		if( C$2 != 7ull) goto label$542;
		{
			C$2 = 32ull;
		}
		label$542:;
		label$541:;
		if( C$2 != 32ull) goto label$544;
		{
			if( LC$1 == 32ull) goto label$546;
			{
				T$1 = T$1 + 1ll;
			}
			label$546:;
			label$545:;
		}
		label$544:;
		label$543:;
		LC$1 = C$2;
		S$1 = (uint8*)((uint8*)S$1 + 1ll);
	}
	goto label$539;
	label$540:;
	if( LC$1 == 32ull) goto label$548;
	{
		T$1 = T$1 + 1ll;
	}
	label$548:;
	label$547:;
	if( T$1 != 0ll) goto label$550;
	{
		fb$result$1 = 0ll;
		goto label$538;
	}
	label$550:;
	label$549:;
	int32 vr$9 = fb_ArrayRedimEx( (struct $7FBARRAYIvE*)RES$1, 24ull, -1, -1, 1ull, 0ll, T$1 + -1ll );
	if( (int64)vr$9 == 0ll) goto label$551;
	void* vr$11 = fb_ErrorThrowAt( 1578, (char*)"/home/jkfirth/fbc-resolute-package-src-1.20.2-11/src/compiler/hlp-str.bas", (void*)0ull, (void*)0ull );
	goto *vr$11;
	label$551:;
	T$1 = 0ll;
	LC$1 = 32ull;
	S$1 = (uint8*)TXT$1;
	label$552:;
	if( (int64)*S$1 == 0ll) goto label$553;
	{
		uint64 C$2;
		C$2 = (uint64)*S$1;
		if( C$2 != 7ull) goto label$555;
		{
			C$2 = 32ull;
		}
		label$555:;
		label$554:;
		if( C$2 != 32ull) goto label$557;
		{
			if( LC$1 == 32ull) goto label$559;
			{
				T$1 = T$1 + 1ll;
			}
			label$559:;
			label$558:;
		}
		goto label$556;
		label$557:;
		{
			FBSTRING TMP$123$3;
			FBSTRING* vr$17 = fb_CHR( 1, (int64)C$2 );
			__builtin_memset( &TMP$123$3, 0, 24ll );
			FBSTRING* vr$24 = fb_StrConcat( &TMP$123$3, (void*)((T$1 * 24ll) + *(int64*)RES$1), -1ll, (void*)vr$17, -1ll );
			fb_StrAssign( (void*)((T$1 * 24ll) + *(int64*)RES$1), -1ll, (void*)vr$24, -1ll, 0 );
		}
		label$556:;
		LC$1 = C$2;
		S$1 = (uint8*)((uint8*)S$1 + 1ll);
	}
	goto label$552;
	label$553:;
	if( LC$1 == 32ull) goto label$560;
	TMP$124$1 = T$1 + 1ll;
	goto label$561;
	label$560:;
	TMP$124$1 = T$1;
	label$561:;
	fb$result$1 = TMP$124$1;
	label$538:;
	return fb$result$1;
}

int64 HSTR2ARGS( const char* TXT$1, struct $7FBARRAYI8FBSTRINGE* RES$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	int64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$562:;
	int64 T$1;
	T$1 = 0ll;
	uint8* S$1;
	S$1 = (uint8*)TXT$1;
	int64 PRNTCNT$1;
	PRNTCNT$1 = 0ll;
	uint64 C$1;
	C$1 = 0ull;
	int64 MAX_T$1;
	MAX_T$1 = 10ll;
	if( TXT$1 != (char*)0ull) goto label$565;
	{
		fb$result$1 = 0ll;
		goto label$563;
	}
	label$565:;
	label$564:;
	int32 vr$2 = fb_ArrayRedimEx( (struct $7FBARRAYIvE*)RES$1, 24ull, -1, -1, 1ull, 0ll, MAX_T$1 + -1ll );
	if( (int64)vr$2 == 0ll) goto label$566;
	void* vr$4 = fb_ErrorThrowAt( 1625, (char*)"/home/jkfirth/fbc-resolute-package-src-1.20.2-11/src/compiler/hlp-str.bas", (void*)0ull, (void*)0ull );
	goto *vr$4;
	label$566:;
	label$567:;
	{
		C$1 = (uint64)*S$1;
		if( ((int64)-(C$1 == 9ull) | (int64)-(C$1 == 32ull)) == 0ll) goto label$571;
		{
			S$1 = (uint8*)((uint8*)S$1 + 1ll);
		}
		goto label$570;
		label$571:;
		{
			goto label$568;
		}
		label$570:;
	}
	label$569:;
	goto label$567;
	label$568:;
	if( C$1 != 0ull) goto label$573;
	{
		fb$result$1 = 0ll;
		goto label$563;
	}
	label$573:;
	label$572:;
	T$1 = T$1 + 1ll;
	label$574:;
	{
		FBSTRING TMP$135$2;
		C$1 = (uint64)*S$1;
		{
			if( C$1 != 0ull) goto label$578;
			label$579:;
			{
				goto label$575;
			}
			goto label$577;
			label$578:;
			if( C$1 != 40ull) goto label$580;
			label$581:;
			{
				PRNTCNT$1 = PRNTCNT$1 + 1ll;
			}
			goto label$577;
			label$580:;
			if( C$1 != 41ull) goto label$582;
			label$583:;
			{
				if( PRNTCNT$1 <= 0ll) goto label$585;
				{
					PRNTCNT$1 = PRNTCNT$1 + -1ll;
				}
				label$585:;
				label$584:;
			}
			goto label$577;
			label$582:;
			if( C$1 != 44ull) goto label$586;
			label$587:;
			{
				if( PRNTCNT$1 != 0ll) goto label$589;
				{
					T$1 = T$1 + 1ll;
					if( T$1 <= MAX_T$1) goto label$591;
					{
						MAX_T$1 = MAX_T$1 + 10ll;
						int32 vr$19 = fb_ArrayRedimPresvEx( (struct $7FBARRAYIvE*)RES$1, 24ull, -1, -1, 1ull, 0ll, MAX_T$1 + -1ll );
						if( (int64)vr$19 == 0ll) goto label$592;
						void* vr$21 = fb_ErrorThrowAt( 1664, (char*)"/home/jkfirth/fbc-resolute-package-src-1.20.2-11/src/compiler/hlp-str.bas", (void*)0ull, (void*)0ull );
						goto *vr$21;
						label$592:;
					}
					label$591:;
					label$590:;
					S$1 = (uint8*)((uint8*)S$1 + 1ll);
					goto label$576;
				}
				label$589:;
				label$588:;
			}
			goto label$577;
			label$586:;
			if( C$1 == 34ull) goto label$594;
			label$595:;
			if( C$1 == 33ull) goto label$594;
			label$596:;
			if( C$1 != 36ull) goto label$593;
			label$594:;
			{
				FBSTRING TMP$126$4;
				int64 ESCAPED$4;
				ESCAPED$4 = *(int64*)((uint8*)&ENV$ + 1568ll);
				if( C$1 == 34ull) goto label$598;
				{
					FBSTRING TMP$125$5;
					ESCAPED$4 = (int64)-(C$1 == 33ull);
					FBSTRING* vr$24 = fb_CHR( 1, (int64)C$1 );
					__builtin_memset( &TMP$125$5, 0, 24ll );
					FBSTRING* vr$31 = fb_StrConcat( &TMP$125$5, (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$24, -1ll );
					fb_StrAssign( (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$31, -1ll, 0 );
					S$1 = (uint8*)((uint8*)S$1 + 1ll);
					C$1 = (uint64)*S$1;
					if( C$1 == 34ull) goto label$600;
					{
						goto label$576;
					}
					label$600:;
					label$599:;
				}
				label$598:;
				label$597:;
				FBSTRING* vr$39 = fb_CHR( 1, (int64)C$1 );
				__builtin_memset( &TMP$126$4, 0, 24ll );
				FBSTRING* vr$46 = fb_StrConcat( &TMP$126$4, (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$39, -1ll );
				fb_StrAssign( (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$46, -1ll, 0 );
				S$1 = (uint8*)((uint8*)S$1 + 1ll);
				label$601:;
				{
					FBSTRING TMP$127$5;
					C$1 = (uint64)*S$1;
					if( C$1 != 0ull) goto label$605;
					{
						goto label$602;
					}
					label$605:;
					label$604:;
					FBSTRING* vr$54 = fb_CHR( 1, (int64)C$1 );
					__builtin_memset( &TMP$127$5, 0, 24ll );
					FBSTRING* vr$61 = fb_StrConcat( &TMP$127$5, (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$54, -1ll );
					fb_StrAssign( (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$61, -1ll, 0 );
					S$1 = (uint8*)((uint8*)S$1 + 1ll);
					if( C$1 != 34ull) goto label$607;
					{
						FBSTRING TMP$128$6;
						C$1 = (uint64)*S$1;
						if( C$1 == 34ull) goto label$609;
						{
							goto label$602;
						}
						label$609:;
						label$608:;
						FBSTRING* vr$69 = fb_CHR( 1, (int64)C$1 );
						__builtin_memset( &TMP$128$6, 0, 24ll );
						FBSTRING* vr$76 = fb_StrConcat( &TMP$128$6, (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$69, -1ll );
						fb_StrAssign( (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$76, -1ll, 0 );
						S$1 = (uint8*)((uint8*)S$1 + 1ll);
					}
					goto label$606;
					label$607:;
					if( C$1 != 92ull) goto label$610;
					{
						C$1 = (uint64)*S$1;
						{
							if( C$1 == 34ull) goto label$613;
							label$614:;
							if( C$1 != 92ull) goto label$612;
							label$613:;
							{
								FBSTRING TMP$129$8;
								FBSTRING* vr$84 = fb_CHR( 1, (int64)C$1 );
								__builtin_memset( &TMP$129$8, 0, 24ll );
								FBSTRING* vr$91 = fb_StrConcat( &TMP$129$8, (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$84, -1ll );
								fb_StrAssign( (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$91, -1ll, 0 );
								S$1 = (uint8*)((uint8*)S$1 + 1ll);
							}
							label$612:;
							label$611:;
						}
					}
					label$610:;
					label$606:;
				}
				label$603:;
				goto label$601;
				label$602:;
				goto label$576;
			}
			goto label$577;
			label$593:;
			if( C$1 != 47ull) goto label$615;
			label$616:;
			{
				FBSTRING TMP$130$4;
				FBSTRING TMP$131$4;
				FBSTRING* vr$97 = fb_CHR( 1, (int64)C$1 );
				__builtin_memset( &TMP$130$4, 0, 24ll );
				FBSTRING* vr$104 = fb_StrConcat( &TMP$130$4, (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$97, -1ll );
				fb_StrAssign( (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$104, -1ll, 0 );
				S$1 = (uint8*)((uint8*)S$1 + 1ll);
				C$1 = (uint64)*S$1;
				if( C$1 == 39ull) goto label$618;
				{
					goto label$576;
				}
				label$618:;
				label$617:;
				FBSTRING* vr$112 = fb_CHR( 1, (int64)C$1 );
				__builtin_memset( &TMP$131$4, 0, 24ll );
				FBSTRING* vr$119 = fb_StrConcat( &TMP$131$4, (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$112, -1ll );
				fb_StrAssign( (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$119, -1ll, 0 );
				S$1 = (uint8*)((uint8*)S$1 + 1ll);
				label$619:;
				{
					FBSTRING TMP$132$5;
					C$1 = (uint64)*S$1;
					if( C$1 != 0ull) goto label$623;
					{
						goto label$620;
					}
					label$623:;
					label$622:;
					FBSTRING* vr$127 = fb_CHR( 1, (int64)C$1 );
					__builtin_memset( &TMP$132$5, 0, 24ll );
					FBSTRING* vr$134 = fb_StrConcat( &TMP$132$5, (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$127, -1ll );
					fb_StrAssign( (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$134, -1ll, 0 );
					S$1 = (uint8*)((uint8*)S$1 + 1ll);
					if( C$1 != 39ull) goto label$625;
					{
						C$1 = (uint64)*S$1;
						if( C$1 != 47ull) goto label$627;
						{
							FBSTRING TMP$133$7;
							FBSTRING* vr$142 = fb_CHR( 1, (int64)C$1 );
							__builtin_memset( &TMP$133$7, 0, 24ll );
							FBSTRING* vr$149 = fb_StrConcat( &TMP$133$7, (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$142, -1ll );
							fb_StrAssign( (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$149, -1ll, 0 );
							S$1 = (uint8*)((uint8*)S$1 + 1ll);
							goto label$620;
						}
						label$627:;
						label$626:;
					}
					label$625:;
					label$624:;
				}
				label$621:;
				goto label$619;
				label$620:;
				goto label$576;
			}
			goto label$577;
			label$615:;
			if( C$1 != 39ull) goto label$628;
			label$629:;
			{
				label$630:;
				if( C$1 == 0ull) goto label$631;
				{
					FBSTRING TMP$134$5;
					FBSTRING* vr$155 = fb_CHR( 1, (int64)C$1 );
					__builtin_memset( &TMP$134$5, 0, 24ll );
					FBSTRING* vr$162 = fb_StrConcat( &TMP$134$5, (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$155, -1ll );
					fb_StrAssign( (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$162, -1ll, 0 );
					S$1 = (uint8*)((uint8*)S$1 + 1ll);
					C$1 = (uint64)*S$1;
				}
				goto label$630;
				label$631:;
				goto label$575;
			}
			label$628:;
			label$577:;
		}
		FBSTRING* vr$170 = fb_CHR( 1, (int64)C$1 );
		__builtin_memset( &TMP$135$2, 0, 24ll );
		FBSTRING* vr$177 = fb_StrConcat( &TMP$135$2, (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$170, -1ll );
		fb_StrAssign( (void*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), -1ll, (void*)vr$177, -1ll, 0 );
		S$1 = (uint8*)((uint8*)S$1 + 1ll);
	}
	label$576:;
	goto label$574;
	label$575:;
	fb$result$1 = T$1;
	label$563:;
	return fb$result$1;
}

int64 HWSTR2ARGS( const uint32* TXT$1, struct $7FBARRAYI8DWSTRINGE* RES$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	int64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$632:;
	int64 T$1;
	T$1 = 0ll;
	uint32* S$1;
	S$1 = (uint32*)TXT$1;
	int64 PRNTCNT$1;
	PRNTCNT$1 = 0ll;
	uint64 C$1;
	C$1 = 0ull;
	int64 MAX_T$1;
	MAX_T$1 = 10ll;
	if( TXT$1 != (uint32*)0ull) goto label$635;
	{
		fb$result$1 = 0ll;
		goto label$633;
	}
	label$635:;
	label$634:;
	int32 vr$2 = fb_ArrayRedimEx( (struct $7FBARRAYIvE*)RES$1, 24ull, -1, 0, 1ull, 0ll, MAX_T$1 + -1ll );
	if( (int64)vr$2 == 0ll) goto label$636;
	void* vr$4 = fb_ErrorThrowAt( 1789, (char*)"/home/jkfirth/fbc-resolute-package-src-1.20.2-11/src/compiler/hlp-str.bas", (void*)0ull, (void*)0ull );
	goto *vr$4;
	label$636:;
	label$637:;
	{
		C$1 = (uint64)*S$1;
		if( ((int64)-(C$1 == 9ull) | (int64)-(C$1 == 32ull)) == 0ll) goto label$641;
		{
			S$1 = (uint32*)((uint8*)S$1 + 4ll);
		}
		goto label$640;
		label$641:;
		{
			goto label$638;
		}
		label$640:;
	}
	label$639:;
	goto label$637;
	label$638:;
	if( C$1 != 0ull) goto label$643;
	{
		fb$result$1 = 0ll;
		goto label$633;
	}
	label$643:;
	label$642:;
	T$1 = T$1 + 1ll;
	label$644:;
	{
		uint32* TMP$146$2;
		C$1 = (uint64)*S$1;
		{
			if( C$1 != 0ull) goto label$648;
			label$649:;
			{
				goto label$645;
			}
			goto label$647;
			label$648:;
			if( C$1 != 40ull) goto label$650;
			label$651:;
			{
				PRNTCNT$1 = PRNTCNT$1 + 1ll;
			}
			goto label$647;
			label$650:;
			if( C$1 != 41ull) goto label$652;
			label$653:;
			{
				if( PRNTCNT$1 <= 0ll) goto label$655;
				{
					PRNTCNT$1 = PRNTCNT$1 + -1ll;
				}
				label$655:;
				label$654:;
			}
			goto label$647;
			label$652:;
			if( C$1 != 44ull) goto label$656;
			label$657:;
			{
				if( PRNTCNT$1 != 0ll) goto label$659;
				{
					T$1 = T$1 + 1ll;
					if( T$1 <= MAX_T$1) goto label$661;
					{
						MAX_T$1 = MAX_T$1 + 10ll;
						int32 vr$19 = fb_ArrayRedimPresvEx( (struct $7FBARRAYIvE*)RES$1, 24ull, -1, 0, 1ull, 0ll, MAX_T$1 + -1ll );
						if( (int64)vr$19 == 0ll) goto label$662;
						void* vr$21 = fb_ErrorThrowAt( 1828, (char*)"/home/jkfirth/fbc-resolute-package-src-1.20.2-11/src/compiler/hlp-str.bas", (void*)0ull, (void*)0ull );
						goto *vr$21;
						label$662:;
					}
					label$661:;
					label$660:;
					S$1 = (uint32*)((uint8*)S$1 + 4ll);
					goto label$646;
				}
				label$659:;
				label$658:;
			}
			goto label$647;
			label$656:;
			if( C$1 == 34ull) goto label$664;
			label$665:;
			if( C$1 == 33ull) goto label$664;
			label$666:;
			if( C$1 != 36ull) goto label$663;
			label$664:;
			{
				uint32* TMP$137$4;
				int64 ESCAPED$4;
				ESCAPED$4 = *(int64*)((uint8*)&ENV$ + 1568ll);
				if( C$1 == 34ull) goto label$668;
				{
					uint32* TMP$136$5;
					ESCAPED$4 = (int64)-(C$1 == 33ull);
					uint32* vr$24 = fb_WstrChr( 1, (int64)C$1 );
					TMP$136$5 = vr$24;
					DWSTRCONCATASSIGN( (struct $8DWSTRING*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), (uint32*)TMP$136$5 );
					fb_WstrDelete( (uint32*)TMP$136$5 );
					S$1 = (uint32*)((uint8*)S$1 + 4ll);
					C$1 = (uint64)*S$1;
					if( C$1 == 34ull) goto label$670;
					{
						goto label$646;
					}
					label$670:;
					label$669:;
				}
				label$668:;
				label$667:;
				uint32* vr$32 = fb_WstrChr( 1, (int64)C$1 );
				TMP$137$4 = vr$32;
				DWSTRCONCATASSIGN( (struct $8DWSTRING*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), (uint32*)TMP$137$4 );
				fb_WstrDelete( (uint32*)TMP$137$4 );
				S$1 = (uint32*)((uint8*)S$1 + 4ll);
				label$671:;
				{
					uint32* TMP$138$5;
					C$1 = (uint64)*S$1;
					if( C$1 != 0ull) goto label$675;
					{
						goto label$672;
					}
					label$675:;
					label$674:;
					uint32* vr$40 = fb_WstrChr( 1, (int64)C$1 );
					TMP$138$5 = vr$40;
					DWSTRCONCATASSIGN( (struct $8DWSTRING*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), (uint32*)TMP$138$5 );
					fb_WstrDelete( (uint32*)TMP$138$5 );
					S$1 = (uint32*)((uint8*)S$1 + 4ll);
					if( C$1 != 34ull) goto label$677;
					{
						uint32* TMP$139$6;
						C$1 = (uint64)*S$1;
						if( C$1 == 34ull) goto label$679;
						{
							goto label$672;
						}
						label$679:;
						label$678:;
						uint32* vr$48 = fb_WstrChr( 1, (int64)C$1 );
						TMP$139$6 = vr$48;
						DWSTRCONCATASSIGN( (struct $8DWSTRING*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), (uint32*)TMP$139$6 );
						fb_WstrDelete( (uint32*)TMP$139$6 );
						S$1 = (uint32*)((uint8*)S$1 + 4ll);
					}
					goto label$676;
					label$677:;
					if( C$1 != 92ull) goto label$680;
					{
						C$1 = (uint64)*S$1;
						{
							if( C$1 == 34ull) goto label$683;
							label$684:;
							if( C$1 != 92ull) goto label$682;
							label$683:;
							{
								uint32* TMP$140$8;
								uint32* vr$56 = fb_WstrChr( 1, (int64)C$1 );
								TMP$140$8 = vr$56;
								DWSTRCONCATASSIGN( (struct $8DWSTRING*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), (uint32*)TMP$140$8 );
								fb_WstrDelete( (uint32*)TMP$140$8 );
								S$1 = (uint32*)((uint8*)S$1 + 4ll);
							}
							label$682:;
							label$681:;
						}
					}
					label$680:;
					label$676:;
				}
				label$673:;
				goto label$671;
				label$672:;
				goto label$646;
			}
			goto label$647;
			label$663:;
			if( C$1 != 47ull) goto label$685;
			label$686:;
			{
				uint32* TMP$141$4;
				uint32* TMP$142$4;
				uint32* vr$62 = fb_WstrChr( 1, (int64)C$1 );
				TMP$141$4 = vr$62;
				DWSTRCONCATASSIGN( (struct $8DWSTRING*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), (uint32*)TMP$141$4 );
				fb_WstrDelete( (uint32*)TMP$141$4 );
				S$1 = (uint32*)((uint8*)S$1 + 4ll);
				C$1 = (uint64)*S$1;
				if( C$1 == 39ull) goto label$688;
				{
					goto label$646;
				}
				label$688:;
				label$687:;
				uint32* vr$70 = fb_WstrChr( 1, (int64)C$1 );
				TMP$142$4 = vr$70;
				DWSTRCONCATASSIGN( (struct $8DWSTRING*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), (uint32*)TMP$142$4 );
				fb_WstrDelete( (uint32*)TMP$142$4 );
				S$1 = (uint32*)((uint8*)S$1 + 4ll);
				label$689:;
				{
					uint32* TMP$143$5;
					C$1 = (uint64)*S$1;
					if( C$1 != 0ull) goto label$693;
					{
						goto label$690;
					}
					label$693:;
					label$692:;
					uint32* vr$78 = fb_WstrChr( 1, (int64)C$1 );
					TMP$143$5 = vr$78;
					DWSTRCONCATASSIGN( (struct $8DWSTRING*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), (uint32*)TMP$143$5 );
					fb_WstrDelete( (uint32*)TMP$143$5 );
					S$1 = (uint32*)((uint8*)S$1 + 4ll);
					if( C$1 != 39ull) goto label$695;
					{
						C$1 = (uint64)*S$1;
						if( C$1 != 47ull) goto label$697;
						{
							uint32* TMP$144$7;
							uint32* vr$86 = fb_WstrChr( 1, (int64)C$1 );
							TMP$144$7 = vr$86;
							DWSTRCONCATASSIGN( (struct $8DWSTRING*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), (uint32*)TMP$144$7 );
							fb_WstrDelete( (uint32*)TMP$144$7 );
							S$1 = (uint32*)((uint8*)S$1 + 4ll);
							goto label$690;
						}
						label$697:;
						label$696:;
					}
					label$695:;
					label$694:;
				}
				label$691:;
				goto label$689;
				label$690:;
				goto label$646;
			}
			goto label$647;
			label$685:;
			if( C$1 != 39ull) goto label$698;
			label$699:;
			{
				label$700:;
				if( C$1 == 0ull) goto label$701;
				{
					uint32* TMP$145$5;
					uint32* vr$92 = fb_WstrChr( 1, (int64)C$1 );
					TMP$145$5 = vr$92;
					DWSTRCONCATASSIGN( (struct $8DWSTRING*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), (uint32*)TMP$145$5 );
					fb_WstrDelete( (uint32*)TMP$145$5 );
					S$1 = (uint32*)((uint8*)S$1 + 4ll);
					C$1 = (uint64)*S$1;
				}
				goto label$700;
				label$701:;
				goto label$645;
			}
			label$698:;
			label$647:;
		}
		uint32* vr$100 = fb_WstrChr( 1, (int64)C$1 );
		TMP$146$2 = vr$100;
		DWSTRCONCATASSIGN( (struct $8DWSTRING*)((uint8*)((T$1 * 24ll) + *(int64*)RES$1) + -24ll), (uint32*)TMP$146$2 );
		fb_WstrDelete( (uint32*)TMP$146$2 );
		S$1 = (uint32*)((uint8*)S$1 + 4ll);
	}
	label$646:;
	goto label$644;
	label$645:;
	fb$result$1 = T$1;
	label$633:;
	return fb$result$1;
}

static void _ZN11TSTRSETITEMaSERKS_( struct $11TSTRSETITEM* THIS$1, const struct $11TSTRSETITEM* __FB_RHS__$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	label$4:;
	fb_StrAssign( (void*)THIS$1, -1ll, (void*)__FB_RHS__$1, -1ll, 0 );
	*(int64*)((uint8*)THIS$1 + 24ll) = *(int64*)((uint8*)__FB_RHS__$1 + 24ll);
	*(struct $8HASHITEM**)((uint8*)THIS$1 + 32ll) = *(struct $8HASHITEM**)((uint8*)__FB_RHS__$1 + 32ll);
	label$5:;
}

static int64 HREMAPCHAR( int64 CHAR$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	int64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$132:;
	{
		uint64 TMP$90$2;
		TMP$90$2 = (uint64)CHAR$1;
		goto label$135;
		label$136:;
		{
			fb$result$1 = 13ll;
		}
		goto label$134;
		label$137:;
		{
			fb$result$1 = 10ll;
		}
		goto label$134;
		label$138:;
		{
			fb$result$1 = 9ll;
		}
		goto label$134;
		label$139:;
		{
			fb$result$1 = 8ll;
		}
		goto label$134;
		label$140:;
		{
			fb$result$1 = 7ll;
		}
		goto label$134;
		label$141:;
		{
			fb$result$1 = 12ll;
		}
		goto label$134;
		label$142:;
		{
			fb$result$1 = 11ll;
		}
		goto label$134;
		label$143:;
		{
			fb$result$1 = CHAR$1;
		}
		goto label$134;
		label$135:;
		static const void* tmp$147[22ll] = {
			&&label$140,
			&&label$139,
			&&label$143,
			&&label$143,
			&&label$143,
			&&label$141,
			&&label$143,
			&&label$143,
			&&label$143,
			&&label$143,
			&&label$143,
			&&label$137,
			&&label$143,
			&&label$137,
			&&label$143,
			&&label$143,
			&&label$143,
			&&label$136,
			&&label$143,
			&&label$138,
			&&label$143,
			&&label$142,
		};
		if( (TMP$90$2 - 97ull) > 21ull ) goto label$143;
		goto *tmp$147[TMP$90$2 - 97ull];
		label$134:;
	}
	label$133:;
	return fb$result$1;
}

static int64 HHEXCHAR( int64 VALUE$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	int64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$144:;
	VALUE$1 = VALUE$1 & 15ll;
	VALUE$1 = VALUE$1 + 48ll;
	if( VALUE$1 <= 57ll) goto label$147;
	{
		VALUE$1 = VALUE$1 + 7ll;
	}
	label$147:;
	label$146:;
	fb$result$1 = VALUE$1;
	label$145:;
	return fb$result$1;
}

static uint64 HUNICODEHEXTOCODEPOINTW( uint32** SRC$1, int64 DIGITS$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	uint64 fb$result$1;
	__builtin_memset( &fb$result$1, 0, 8ll );
	label$148:;
	static uint64 CHAR$1;
	static uint64 C$1;
	static int64 I$1;
	CHAR$1 = 0ull;
	{
		I$1 = 1ll;
		int64 TMP$99$2;
		TMP$99$2 = DIGITS$1;
		goto label$150;
		label$153:;
		{
			C$1 = (uint64)((int64)*(*SRC$1) + -48ll);
			*SRC$1 = (uint32*)((uint8*)*SRC$1 + 4ll);
			if( C$1 <= 9ull) goto label$155;
			{
				C$1 = C$1 + 18446744073709551609ull;
			}
			label$155:;
			label$154:;
			if( C$1 <= 16ull) goto label$157;
			{
				C$1 = C$1 + 18446744073709551584ull;
			}
			label$157:;
			label$156:;
			CHAR$1 = (CHAR$1 << (4ull & 63ll)) | C$1;
		}
		label$151:;
		I$1 = I$1 + 1ll;
		label$150:;
		if( I$1 <= TMP$99$2) goto label$153;
		label$152:;
	}
	fb$result$1 = CHAR$1;
	label$149:;
	return fb$result$1;
}

static void HUNICODECODEPOINTCHARTOHEX( uint64* CHAR$1, char** DST$1, int64 WCHARLEN$1 )
{
	_unusedlabel: ; void *_llvmbug18658 = &&_unusedlabel;
	label$158:;
	int64 I$1;
	uint64 C$1;
	{
		I$1 = 1ll;
		int64 TMP$100$2;
		TMP$100$2 = WCHARLEN$1;
		goto label$160;
		label$163:;
		{
			*(*DST$1) = (uint8)92u;
			*DST$1 = (char*)((uint8*)*DST$1 + 1ll);
			int64 vr$5 = FBISHOSTBIGENDIAN(  );
			if( vr$5 == 0ll) goto label$165;
			{
				C$1 = (*CHAR$1 >> (((WCHARLEN$1 - I$1) << (3ll & 63ll)) & 63ll)) & 255ull;
			}
			goto label$164;
			label$165:;
			{
				C$1 = (*CHAR$1 >> (((I$1 << (3ll & 63ll)) + -8ll) & 63ll)) & 255ull;
			}
			label$164:;
			if( C$1 >= 8ull) goto label$167;
			{
				*(*DST$1) = (uint8)(C$1 + 48ull);
				*DST$1 = (char*)((uint8*)*DST$1 + 1ll);
			}
			goto label$166;
			label$167:;
			if( C$1 >= 64ull) goto label$168;
			{
				*(*DST$1) = (uint8)((C$1 >> (3ll & 63ll)) + 48ull);
				*(char*)((uint8*)*DST$1 + 1ll) = (uint8)((C$1 & 7ull) + 48ull);
				*DST$1 = (char*)((uint8*)*DST$1 + 2ll);
			}
			goto label$166;
			label$168:;
			{
				*(*DST$1) = (uint8)((C$1 >> (6ll & 63ll)) + 48ull);
				*(char*)((uint8*)*DST$1 + 1ll) = (uint8)(((C$1 & 56ull) >> (3ll & 63ll)) + 48ull);
				*(char*)((uint8*)*DST$1 + 2ll) = (uint8)((C$1 & 7ull) + 48ull);
				*DST$1 = (char*)((uint8*)*DST$1 + 3ll);
			}
			label$166:;
		}
		label$161:;
		I$1 = I$1 + 1ll;
		label$160:;
		if( I$1 <= TMP$100$2) goto label$163;
		label$162:;
	}
	label$159:;
}
