#line 17181 "qb64pe.bas"
qbs* FUNC_UDTFILEARRAYBE(qbs*_FUNC_UDTFILEARRAYBE_STRING_ARR_EXPR,int32*_FUNC_UDTFILEARRAYBE_LONG_UDT_INDEX,int32*_FUNC_UDTFILEARRAYBE_LONG_LAYOUT_MODE,int32*_FUNC_UDTFILEARRAYBE_LONG_DIM_COUNT,int32*_FUNC_UDTFILEARRAYBE_LONG_DO_GET,qbs*_FUNC_UDTFILEARRAYBE_STRING_POST_CALL){
#line 17181 "qb64pe.bas"
qbs *tqbs;
#line 17181 "qb64pe.bas"
ptrszint tmp_long;
#line 17181 "qb64pe.bas"
int32 tmp_fileno;
#line 17181 "qb64pe.bas"
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
#line 17181 "qb64pe.bas"
uint8 *tmp_mem_static_pointer=mem_static_pointer;
#line 17181 "qb64pe.bas"
uint32 tmp_cmem_sp=cmem_sp;
#line 17181 "qb64pe.bas"
#include "data48.txt"
#line 17181 "qb64pe.bas"
mem_lock *sf_mem_lock;
#line 17181 "qb64pe.bas"
new_mem_lock();
#line 17181 "qb64pe.bas"
sf_mem_lock=mem_lock_tmp;
#line 17181 "qb64pe.bas"
sf_mem_lock->type=3;
#line 17181 "qb64pe.bas"
libqb_check_stack();
#line 17181 "qb64pe.bas"
if (is_error_pending()) goto exit_subfunc;
#line 17182 "qb64pe.bas"
do{
#line 17182 "qb64pe.bas"
if(!qbevent)break;evnt(17182);}while(r);
#line 17183 "qb64pe.bas"
do{
#line 17183 "qb64pe.bas"
if(!qbevent)break;evnt(17183);}while(r);
#line 17184 "qb64pe.bas"
do{
#line 17184 "qb64pe.bas"
if(!qbevent)break;evnt(17184);}while(r);
#line 17185 "qb64pe.bas"
do{
#line 17185 "qb64pe.bas"
if(!qbevent)break;evnt(17185);}while(r);
#line 17186 "qb64pe.bas"
do{
#line 17186 "qb64pe.bas"
if(!qbevent)break;evnt(17186);}while(r);
#line 17187 "qb64pe.bas"
do{
#line 17187 "qb64pe.bas"
if(!qbevent)break;evnt(17187);}while(r);
#line 17188 "qb64pe.bas"
do{
#line 17188 "qb64pe.bas"
if(!qbevent)break;evnt(17188);}while(r);
#line 17189 "qb64pe.bas"
do{
#line 17189 "qb64pe.bas"
if(!qbevent)break;evnt(17189);}while(r);
#line 17190 "qb64pe.bas"
do{
#line 17190 "qb64pe.bas"
if(!qbevent)break;evnt(17190);}while(r);
#line 17192 "qb64pe.bas"
S_19685:;
#line 17192 "qb64pe.bas"
if ((((int16*)(__ARRAY_INTEGER_UDTXVARIABLE[0]))[array_check((*_FUNC_UDTFILEARRAYBE_LONG_UDT_INDEX)-__ARRAY_INTEGER_UDTXVARIABLE[4],__ARRAY_INTEGER_UDTXVARIABLE[5])])||is_error_pending()){
#line 17192 "qb64pe.bas"
if(qbevent){evnt(17192);if(r)goto S_19685;}
#line 17192 "qb64pe.bas"
do{
#line 17192 "qb64pe.bas"
SUB_GIVE_ERROR(qbs_new_txt_len("UDT must have fixed size",24));
#line 17192 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17192 "qb64pe.bas"
if(!qbevent)break;evnt(17192);}while(r);
#line 17192 "qb64pe.bas"
do{
#line 17192 "qb64pe.bas"
goto exit_subfunc;
#line 17192 "qb64pe.bas"
if(!qbevent)break;evnt(17192);}while(r);
#line 17192 "qb64pe.bas"
}
#line 17193 "qb64pe.bas"
S_19689:;
#line 17193 "qb64pe.bas"
if ((-(FUNC_UDTDYNHASMEMBERARRAYS(_FUNC_UDTFILEARRAYBE_LONG_UDT_INDEX,_FUNC_UDTFILEARRAYBE_LONG_LAYOUT_MODE)== 0 ))||is_error_pending()){
#line 17193 "qb64pe.bas"
if(qbevent){evnt(17193);if(r)goto S_19689;}
#line 17193 "qb64pe.bas"
do{
#line 17193 "qb64pe.bas"
SUB_GIVE_ERROR(qbs_new_txt_len("PUT/GET cannot convert this TYPE value in the requested form",60));
#line 17193 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17193 "qb64pe.bas"
if(!qbevent)break;evnt(17193);}while(r);
#line 17193 "qb64pe.bas"
do{
#line 17193 "qb64pe.bas"
goto exit_subfunc;
#line 17193 "qb64pe.bas"
if(!qbevent)break;evnt(17193);}while(r);
#line 17193 "qb64pe.bas"
}
#line 17195 "qb64pe.bas"
do{
#line 17195 "qb64pe.bas"
qbs_set(_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME,qbs_add(qbs_new_txt_len("udt_file_array_",15),qbs__tostr((int32)(FUNC_UNIQUENUMBER()),NULL,0)));
#line 17195 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17195 "qb64pe.bas"
if(!qbevent)break;evnt(17195);}while(r);
#line 17196 "qb64pe.bas"
do{
#line 17196 "qb64pe.bas"
qbs_set(_FUNC_UDTFILEARRAYBE_STRING_PACK_NAME,qbs_add(_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME,qbs_new_txt_len("_pack",5)));
#line 17196 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17196 "qb64pe.bas"
if(!qbevent)break;evnt(17196);}while(r);
#line 17197 "qb64pe.bas"
do{
#line 17197 "qb64pe.bas"
qbs_set(_FUNC_UDTFILEARRAYBE_STRING_UNPACK_NAME,qbs_add(_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME,qbs_new_txt_len("_unpack",7)));
#line 17197 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17197 "qb64pe.bas"
if(!qbevent)break;evnt(17197);}while(r);
#line 17198 "qb64pe.bas"
do{
#line 17198 "qb64pe.bas"
qbs_set(_FUNC_UDTFILEARRAYBE_STRING_BUF_NAME,qbs_add(_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME,qbs_new_txt_len("_buf",4)));
#line 17198 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17198 "qb64pe.bas"
if(!qbevent)break;evnt(17198);}while(r);
#line 17199 "qb64pe.bas"
do{
#line 17199 "qb64pe.bas"
qbs_set(_FUNC_UDTFILEARRAYBE_STRING_SIZE_NAME,qbs_add(_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME,qbs_new_txt_len("_size",5)));
#line 17199 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17199 "qb64pe.bas"
if(!qbevent)break;evnt(17199);}while(r);
#line 17200 "qb64pe.bas"
do{
#line 17200 "qb64pe.bas"
*_FUNC_UDTFILEARRAYBE_LONG_STAT_BYTES=qb_safe_idiv(((int32*)(__ARRAY_LONG_UDTXSIZE[0]))[array_check((*_FUNC_UDTFILEARRAYBE_LONG_UDT_INDEX)-__ARRAY_LONG_UDTXSIZE[4],__ARRAY_LONG_UDTXSIZE[5])], 8 );
#line 17200 "qb64pe.bas"
if(!qbevent)break;evnt(17200);}while(r);
#line 17201 "qb64pe.bas"
do{
#line 17201 "qb64pe.bas"
*_FUNC_UDTFILEARRAYBE_LONG_DYN_BYTES=qb_safe_idiv(FUNC_UDTDYNLAYOUTSIZE(_FUNC_UDTFILEARRAYBE_LONG_UDT_INDEX), 8 );
#line 17201 "qb64pe.bas"
if(!qbevent)break;evnt(17201);}while(r);
#line 17203 "qb64pe.bas"
do{
#line 17203 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2320=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("static uint8 *",14),_FUNC_UDTFILEARRAYBE_STRING_BUF_NAME),qbs_new_txt_len("=NULL;",6)));
#line 17203 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17203 "qb64pe.bas"
if(!qbevent)break;evnt(17203);}while(r);
#line 17204 "qb64pe.bas"
do{
#line 17204 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2321=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("static uint64 ",14),_FUNC_UDTFILEARRAYBE_STRING_SIZE_NAME),qbs_new_txt_len("=0;",3)));
#line 17204 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17204 "qb64pe.bas"
if(!qbevent)break;evnt(17204);}while(r);
#line 17206 "qb64pe.bas"
do{
#line 17206 "qb64pe.bas"
qbs_set(_FUNC_UDTFILEARRAYBE_STRING_ACC,qbs_new_txt_len("",0));
#line 17206 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17206 "qb64pe.bas"
if(!qbevent)break;evnt(17206);}while(r);
#line 17207 "qb64pe.bas"
do{
#line 17207 "qb64pe.bas"
SUB_APPENDUDTFILECONVCODE(qbs_new_txt_len("qb_dst",6),qbs_new_txt_len("qb_src",6),_FUNC_UDTFILEARRAYBE_LONG_UDT_INDEX,_FUNC_UDTFILEARRAYBE_LONG_LAYOUT_MODE,&(pass2322= 0 ),_FUNC_UDTFILEARRAYBE_STRING_ACC);
#line 17207 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17207 "qb64pe.bas"
if(!qbevent)break;evnt(17207);}while(r);
#line 17208 "qb64pe.bas"
S_19704:;
#line 17208 "qb64pe.bas"
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
#line 17208 "qb64pe.bas"
if(qbevent){evnt(17208);if(r)goto S_19704;}
#line 17208 "qb64pe.bas"
do{
#line 17208 "qb64pe.bas"
goto exit_subfunc;
#line 17208 "qb64pe.bas"
if(!qbevent)break;evnt(17208);}while(r);
#line 17208 "qb64pe.bas"
}
#line 17209 "qb64pe.bas"
do{
#line 17209 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2323=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("static void ",12),_FUNC_UDTFILEARRAYBE_STRING_PACK_NAME),qbs_new_txt_len("(uint8 *qb_dst,uint8 *qb_src){",30)));
#line 17209 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17209 "qb64pe.bas"
if(!qbevent)break;evnt(17209);}while(r);
#line 17210 "qb64pe.bas"
do{
#line 17210 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2324=*__LONG_GLOBTXTBUF),_FUNC_UDTFILEARRAYBE_STRING_ACC);
#line 17210 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17210 "qb64pe.bas"
if(!qbevent)break;evnt(17210);}while(r);
#line 17211 "qb64pe.bas"
do{
#line 17211 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2325=*__LONG_GLOBTXTBUF),qbs_new_txt_len("}",1));
#line 17211 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17211 "qb64pe.bas"
if(!qbevent)break;evnt(17211);}while(r);
#line 17213 "qb64pe.bas"
do{
#line 17213 "qb64pe.bas"
qbs_set(_FUNC_UDTFILEARRAYBE_STRING_ACC,qbs_new_txt_len("",0));
#line 17213 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17213 "qb64pe.bas"
if(!qbevent)break;evnt(17213);}while(r);
#line 17214 "qb64pe.bas"
do{
#line 17214 "qb64pe.bas"
SUB_APPENDUDTFILECONVCODE(qbs_new_txt_len("qb_dst",6),qbs_new_txt_len("qb_src",6),_FUNC_UDTFILEARRAYBE_LONG_UDT_INDEX,_FUNC_UDTFILEARRAYBE_LONG_LAYOUT_MODE,&(pass2326= -1 ),_FUNC_UDTFILEARRAYBE_STRING_ACC);
#line 17214 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17214 "qb64pe.bas"
if(!qbevent)break;evnt(17214);}while(r);
#line 17215 "qb64pe.bas"
S_19712:;
#line 17215 "qb64pe.bas"
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
#line 17215 "qb64pe.bas"
if(qbevent){evnt(17215);if(r)goto S_19712;}
#line 17215 "qb64pe.bas"
do{
#line 17215 "qb64pe.bas"
goto exit_subfunc;
#line 17215 "qb64pe.bas"
if(!qbevent)break;evnt(17215);}while(r);
#line 17215 "qb64pe.bas"
}
#line 17216 "qb64pe.bas"
do{
#line 17216 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2327=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("static void ",12),_FUNC_UDTFILEARRAYBE_STRING_UNPACK_NAME),qbs_new_txt_len("(uint8 *qb_dst,uint8 *qb_src){",30)));
#line 17216 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17216 "qb64pe.bas"
if(!qbevent)break;evnt(17216);}while(r);
#line 17217 "qb64pe.bas"
do{
#line 17217 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2328=*__LONG_GLOBTXTBUF),_FUNC_UDTFILEARRAYBE_STRING_ACC);
#line 17217 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17217 "qb64pe.bas"
if(!qbevent)break;evnt(17217);}while(r);
#line 17218 "qb64pe.bas"
do{
#line 17218 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2329=*__LONG_GLOBTXTBUF),qbs_new_txt_len("}",1));
#line 17218 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17218 "qb64pe.bas"
if(!qbevent)break;evnt(17218);}while(r);
#line 17220 "qb64pe.bas"
do{
#line 17220 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2330=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("static uint64 ",14),_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME),qbs_new_txt_len("_total(ptrszint *qb_arr){",25)));
#line 17220 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17220 "qb64pe.bas"
if(!qbevent)break;evnt(17220);}while(r);
#line 17221 "qb64pe.bas"
do{
#line 17221 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2331=*__LONG_GLOBTXTBUF),qbs_new_txt_len("uint64 qb_total=1;",18));
#line 17221 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17221 "qb64pe.bas"
if(!qbevent)break;evnt(17221);}while(r);
#line 17222 "qb64pe.bas"
do{
#line 17222 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2332=*__LONG_GLOBTXTBUF),qbs_new_txt_len("if ((!qb_arr)||(!(qb_arr[2]&1))) error(9);",42));
#line 17222 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17222 "qb64pe.bas"
if(!qbevent)break;evnt(17222);}while(r);
#line 17223 "qb64pe.bas"
S_19721:;
#line 17223 "qb64pe.bas"
fornext_value2334= 1 ;
#line 17223 "qb64pe.bas"
fornext_finalvalue2334=*_FUNC_UDTFILEARRAYBE_LONG_DIM_COUNT;
#line 17223 "qb64pe.bas"
fornext_step2334= 1 ;
#line 17223 "qb64pe.bas"
if (fornext_step2334<0) fornext_step_negative2334=1; else fornext_step_negative2334=0;
#line 17223 "qb64pe.bas"
if (is_error_pending()) goto fornext_error2334;
#line 17223 "qb64pe.bas"
goto fornext_entrylabel2334;
#line 17223 "qb64pe.bas"
while(1){
#line 17223 "qb64pe.bas"
fornext_value2334=fornext_step2334+(*_FUNC_UDTFILEARRAYBE_LONG_DIM_I);
#line 17223 "qb64pe.bas"
fornext_entrylabel2334:
#line 17223 "qb64pe.bas"
*_FUNC_UDTFILEARRAYBE_LONG_DIM_I=fornext_value2334;
#line 17223 "qb64pe.bas"
if (fornext_step_negative2334){
#line 17223 "qb64pe.bas"
if (fornext_value2334<fornext_finalvalue2334) break;
#line 17223 "qb64pe.bas"
}else{
#line 17223 "qb64pe.bas"
if (fornext_value2334>fornext_finalvalue2334) break;
#line 17223 "qb64pe.bas"
}
#line 17223 "qb64pe.bas"
fornext_error2334:;
#line 17223 "qb64pe.bas"
if(qbevent){evnt(17223);if(r)goto S_19721;}
#line 17224 "qb64pe.bas"
do{
#line 17224 "qb64pe.bas"
*_FUNC_UDTFILEARRAYBE_LONG_SLOT_INDEX=(*_FUNC_UDTFILEARRAYBE_LONG_DIM_I* 4 )-( 4 )+( 5 );
#line 17224 "qb64pe.bas"
if(!qbevent)break;evnt(17224);}while(r);
#line 17225 "qb64pe.bas"
do{
#line 17225 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2335=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("if (qb_arr[",11),qbs__tostr((int32)(*_FUNC_UDTFILEARRAYBE_LONG_SLOT_INDEX),NULL,0)),qbs_new_txt_len("]<0) error(9);",14)));
#line 17225 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17225 "qb64pe.bas"
if(!qbevent)break;evnt(17225);}while(r);
#line 17226 "qb64pe.bas"
do{
#line 17226 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2336=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_add(qbs_add(qbs_new_txt_len("if (qb_arr[",11),qbs__tostr((int32)(*_FUNC_UDTFILEARRAYBE_LONG_SLOT_INDEX),NULL,0)),qbs_new_txt_len("]&&qb_total>(18446744073709551615ull/(uint64)qb_arr[",52)),qbs__tostr((int32)(*_FUNC_UDTFILEARRAYBE_LONG_SLOT_INDEX),NULL,0)),qbs_new_txt_len("])) error(257);",15)));
#line 17226 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17226 "qb64pe.bas"
if(!qbevent)break;evnt(17226);}while(r);
#line 17227 "qb64pe.bas"
do{
#line 17227 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2337=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("qb_total*=(uint64)qb_arr[",25),qbs__tostr((int32)(*_FUNC_UDTFILEARRAYBE_LONG_SLOT_INDEX),NULL,0)),qbs_new_txt_len("];",2)));
#line 17227 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17227 "qb64pe.bas"
if(!qbevent)break;evnt(17227);}while(r);
#line 17228 "qb64pe.bas"
fornext_continue_2333:;
#line 17228 "qb64pe.bas"
}
#line 17228 "qb64pe.bas"
fornext_exit_2333:;
#line 17229 "qb64pe.bas"
do{
#line 17229 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2338=*__LONG_GLOBTXTBUF),qbs_new_txt_len("return qb_total;",16));
#line 17229 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17229 "qb64pe.bas"
if(!qbevent)break;evnt(17229);}while(r);
#line 17230 "qb64pe.bas"
do{
#line 17230 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2339=*__LONG_GLOBTXTBUF),qbs_new_txt_len("}",1));
#line 17230 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17230 "qb64pe.bas"
if(!qbevent)break;evnt(17230);}while(r);
#line 17232 "qb64pe.bas"
do{
#line 17232 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2340=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("static byte_element_struct *",28),_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME),qbs_new_txt_len("_be(ptrszint *qb_arr,byte_element_struct *qb_be,int32 qb_pack){",63)));
#line 17232 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17232 "qb64pe.bas"
if(!qbevent)break;evnt(17232);}while(r);
#line 17233 "qb64pe.bas"
do{
#line 17233 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2341=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("uint64 qb_total=",16),_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME),qbs_new_txt_len("_total(qb_arr);",15)));
#line 17233 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17233 "qb64pe.bas"
if(!qbevent)break;evnt(17233);}while(r);
#line 17234 "qb64pe.bas"
do{
#line 17234 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2342=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("uint64 qb_need=qb_total*(uint64)",32),qbs__tostr((int32)(*_FUNC_UDTFILEARRAYBE_LONG_STAT_BYTES),NULL,0)),qbs_new_txt_len(";",1)));
#line 17234 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17234 "qb64pe.bas"
if(!qbevent)break;evnt(17234);}while(r);
#line 17235 "qb64pe.bas"
do{
#line 17235 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2343=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("if (qb_total&&qb_need/(uint64)",30),qbs__tostr((int32)(*_FUNC_UDTFILEARRAYBE_LONG_STAT_BYTES),NULL,0)),qbs_new_txt_len("!=qb_total) error(257);",23)));
#line 17235 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17235 "qb64pe.bas"
if(!qbevent)break;evnt(17235);}while(r);
#line 17236 "qb64pe.bas"
do{
#line 17236 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2344=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("if (",4),_FUNC_UDTFILEARRAYBE_STRING_SIZE_NAME),qbs_new_txt_len("<qb_need){",10)));
#line 17236 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17236 "qb64pe.bas"
if(!qbevent)break;evnt(17236);}while(r);
#line 17237 "qb64pe.bas"
do{
#line 17237 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2345=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("uint8 *qb_new=(uint8*)realloc(",30),_FUNC_UDTFILEARRAYBE_STRING_BUF_NAME),qbs_new_txt_len(",(size_t)qb_need);",18)));
#line 17237 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17237 "qb64pe.bas"
if(!qbevent)break;evnt(17237);}while(r);
#line 17238 "qb64pe.bas"
do{
#line 17238 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2346=*__LONG_GLOBTXTBUF),qbs_new_txt_len("if ((!qb_new)&&qb_need) error(257);",35));
#line 17238 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17238 "qb64pe.bas"
if(!qbevent)break;evnt(17238);}while(r);
#line 17239 "qb64pe.bas"
do{
#line 17239 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2347=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_add(_FUNC_UDTFILEARRAYBE_STRING_BUF_NAME,qbs_new_txt_len("=qb_new; ",9)),_FUNC_UDTFILEARRAYBE_STRING_SIZE_NAME),qbs_new_txt_len("=qb_need;",9)));
#line 17239 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17239 "qb64pe.bas"
if(!qbevent)break;evnt(17239);}while(r);
#line 17240 "qb64pe.bas"
do{
#line 17240 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2348=*__LONG_GLOBTXTBUF),qbs_new_txt_len("}",1));
#line 17240 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17240 "qb64pe.bas"
if(!qbevent)break;evnt(17240);}while(r);
#line 17241 "qb64pe.bas"
do{
#line 17241 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2349=*__LONG_GLOBTXTBUF),qbs_new_txt_len("if (qb_pack){for(ptrszint qb_i=0; qb_i<(ptrszint)qb_total; qb_i++){",67));
#line 17241 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17241 "qb64pe.bas"
if(!qbevent)break;evnt(17241);}while(r);
#line 17242 "qb64pe.bas"
do{
#line 17242 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2350=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_FUNC_UDTFILEARRAYBE_STRING_PACK_NAME,qbs_new_txt_len("(",1)),_FUNC_UDTFILEARRAYBE_STRING_BUF_NAME),qbs_new_txt_len("+qb_i*",6)),qbs__tostr((int32)(*_FUNC_UDTFILEARRAYBE_LONG_STAT_BYTES),NULL,0)),qbs_new_txt_len(",((uint8*)qb_arr[0])+qb_i*",26)),qbs__tostr((int32)(*_FUNC_UDTFILEARRAYBE_LONG_DYN_BYTES),NULL,0)),qbs_new_txt_len(");",2)));
#line 17242 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17242 "qb64pe.bas"
if(!qbevent)break;evnt(17242);}while(r);
#line 17243 "qb64pe.bas"
do{
#line 17243 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2351=*__LONG_GLOBTXTBUF),qbs_new_txt_len("}}",2));
#line 17243 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17243 "qb64pe.bas"
if(!qbevent)break;evnt(17243);}while(r);
#line 17244 "qb64pe.bas"
do{
#line 17244 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2352=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("return (byte_element_struct*)byte_element((uint64)",50),_FUNC_UDTFILEARRAYBE_STRING_BUF_NAME),qbs_new_txt_len(",(ptrszint)qb_need,qb_be);",26)));
#line 17244 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17244 "qb64pe.bas"
if(!qbevent)break;evnt(17244);}while(r);
#line 17245 "qb64pe.bas"
do{
#line 17245 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2353=*__LONG_GLOBTXTBUF),qbs_new_txt_len("}",1));
#line 17245 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17245 "qb64pe.bas"
if(!qbevent)break;evnt(17245);}while(r);
#line 17247 "qb64pe.bas"
S_19743:;
#line 17247 "qb64pe.bas"
if ((*_FUNC_UDTFILEARRAYBE_LONG_DO_GET)||is_error_pending()){
#line 17247 "qb64pe.bas"
if(qbevent){evnt(17247);if(r)goto S_19743;}
#line 17248 "qb64pe.bas"
do{
#line 17248 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2354=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("static void ",12),_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME),qbs_new_txt_len("_commit(ptrszint *qb_arr){",26)));
#line 17248 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17248 "qb64pe.bas"
if(!qbevent)break;evnt(17248);}while(r);
#line 17249 "qb64pe.bas"
do{
#line 17249 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2355=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("uint64 qb_total=",16),_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME),qbs_new_txt_len("_total(qb_arr);",15)));
#line 17249 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17249 "qb64pe.bas"
if(!qbevent)break;evnt(17249);}while(r);
#line 17250 "qb64pe.bas"
do{
#line 17250 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2356=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("uint64 qb_need=qb_total*(uint64)",32),qbs__tostr((int32)(*_FUNC_UDTFILEARRAYBE_LONG_STAT_BYTES),NULL,0)),qbs_new_txt_len(";",1)));
#line 17250 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17250 "qb64pe.bas"
if(!qbevent)break;evnt(17250);}while(r);
#line 17251 "qb64pe.bas"
do{
#line 17251 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2357=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_add(qbs_add(qbs_new_txt_len("if ((!",6),_FUNC_UDTFILEARRAYBE_STRING_BUF_NAME),qbs_new_txt_len(")||(",4)),_FUNC_UDTFILEARRAYBE_STRING_SIZE_NAME),qbs_new_txt_len("<qb_need)) error(257);",22)));
#line 17251 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17251 "qb64pe.bas"
if(!qbevent)break;evnt(17251);}while(r);
#line 17252 "qb64pe.bas"
do{
#line 17252 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2358=*__LONG_GLOBTXTBUF),qbs_new_txt_len("for(ptrszint qb_i=0; qb_i<(ptrszint)qb_total; qb_i++){",54));
#line 17252 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17252 "qb64pe.bas"
if(!qbevent)break;evnt(17252);}while(r);
#line 17253 "qb64pe.bas"
do{
#line 17253 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2359=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_FUNC_UDTFILEARRAYBE_STRING_UNPACK_NAME,qbs_new_txt_len("(((uint8*)qb_arr[0])+qb_i*",26)),qbs__tostr((int32)(*_FUNC_UDTFILEARRAYBE_LONG_DYN_BYTES),NULL,0)),qbs_new_txt_len(",",1)),_FUNC_UDTFILEARRAYBE_STRING_BUF_NAME),qbs_new_txt_len("+qb_i*",6)),qbs__tostr((int32)(*_FUNC_UDTFILEARRAYBE_LONG_STAT_BYTES),NULL,0)),qbs_new_txt_len(");",2)));
#line 17253 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17253 "qb64pe.bas"
if(!qbevent)break;evnt(17253);}while(r);
#line 17254 "qb64pe.bas"
do{
#line 17254 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2360=*__LONG_GLOBTXTBUF),qbs_new_txt_len("}",1));
#line 17254 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17254 "qb64pe.bas"
if(!qbevent)break;evnt(17254);}while(r);
#line 17255 "qb64pe.bas"
do{
#line 17255 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2361=*__LONG_GLOBTXTBUF),qbs_new_txt_len("}",1));
#line 17255 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17255 "qb64pe.bas"
if(!qbevent)break;evnt(17255);}while(r);
#line 17256 "qb64pe.bas"
do{
#line 17256 "qb64pe.bas"
qbs_set(_FUNC_UDTFILEARRAYBE_STRING_POST_CALL,qbs_add(qbs_add(qbs_add(_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME,qbs_new_txt_len("_commit(",8)),_FUNC_UDTFILEARRAYBE_STRING_ARR_EXPR),qbs_new_txt_len(");",2)));
#line 17256 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17256 "qb64pe.bas"
if(!qbevent)break;evnt(17256);}while(r);
#line 17257 "qb64pe.bas"
}
#line 17259 "qb64pe.bas"
do{
#line 17259 "qb64pe.bas"
qbs_set(_FUNC_UDTFILEARRAYBE_STRING_BE_NAME,FUNC_NEWBYTEELEMENT());
#line 17259 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17259 "qb64pe.bas"
if(!qbevent)break;evnt(17259);}while(r);
#line 17260 "qb64pe.bas"
S_19755:;
#line 17260 "qb64pe.bas"
if ((*_FUNC_UDTFILEARRAYBE_LONG_DO_GET)||is_error_pending()){
#line 17260 "qb64pe.bas"
if(qbevent){evnt(17260);if(r)goto S_19755;}
#line 17261 "qb64pe.bas"
do{
#line 17261 "qb64pe.bas"
qbs_set(_FUNC_UDTFILEARRAYBE_STRING_UDTFILEARRAYBE,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME,qbs_new_txt_len("_be(",4)),_FUNC_UDTFILEARRAYBE_STRING_ARR_EXPR),qbs_new_txt_len(",",1)),_FUNC_UDTFILEARRAYBE_STRING_BE_NAME),qbs_new_txt_len(",0)",3)));
#line 17261 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17261 "qb64pe.bas"
if(!qbevent)break;evnt(17261);}while(r);
#line 17262 "qb64pe.bas"
}else{
#line 17263 "qb64pe.bas"
do{
#line 17263 "qb64pe.bas"
qbs_set(_FUNC_UDTFILEARRAYBE_STRING_UDTFILEARRAYBE,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_FUNC_UDTFILEARRAYBE_STRING_HELPER_NAME,qbs_new_txt_len("_be(",4)),_FUNC_UDTFILEARRAYBE_STRING_ARR_EXPR),qbs_new_txt_len(",",1)),_FUNC_UDTFILEARRAYBE_STRING_BE_NAME),qbs_new_txt_len(",1)",3)));
#line 17263 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17263 "qb64pe.bas"
if(!qbevent)break;evnt(17263);}while(r);
#line 17264 "qb64pe.bas"
}
#line 17265 "qb64pe.bas"
exit_subfunc:;
#line 17265 "qb64pe.bas"
free_mem_lock(sf_mem_lock);
#line 17265 "qb64pe.bas"
#include "free48.txt"
#line 17265 "qb64pe.bas"
if ((tmp_mem_static_pointer>=mem_static)&&(tmp_mem_static_pointer<=mem_static_limit)) mem_static_pointer=tmp_mem_static_pointer; else mem_static_pointer=mem_static;
#line 17265 "qb64pe.bas"
cmem_sp=tmp_cmem_sp;
#line 17265 "qb64pe.bas"
qbs_maketmp(_FUNC_UDTFILEARRAYBE_STRING_UDTFILEARRAYBE);return _FUNC_UDTFILEARRAYBE_STRING_UDTFILEARRAYBE;
#line 17265 "qb64pe.bas"
}
