void SUB_XREAD(qbs*_SUB_XREAD_STRING_CA,int32*_SUB_XREAD_LONG_N){
qbs *tqbs;
ptrszint tmp_long;
int32 tmp_fileno;
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
uint8 *tmp_mem_static_pointer=mem_static_pointer;
uint32 tmp_cmem_sp=cmem_sp;
#include "data57.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
if (is_error_pending()) goto exit_subfunc;
do{
qbs_set(_SUB_XREAD_STRING_L,FUNC_SCASE(qbs_new_txt_len("Read",4)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24904);}while(r);
S_32930:;
if ((-(*_SUB_XREAD_LONG_N== 1 ))||is_error_pending()){
if(qbevent){evnt(24905);if(r)goto S_32930;}
do{
SUB_GIVE_ERROR(qbs_new_txt_len("Expected variable",17));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24905);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24905);}while(r);
}
do{
*_SUB_XREAD_LONG_I= 2 ;
if(!qbevent)break;evnt(24906);}while(r);
S_32935:;
if ((-(*_SUB_XREAD_LONG_I>*_SUB_XREAD_LONG_N))||is_error_pending()){
if(qbevent){evnt(24907);if(r)goto S_32935;}
do{
SUB_GIVE_ERROR(qbs_new_txt_len("Expected , ...",14));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24907);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24907);}while(r);
}
do{
qbs_set(_SUB_XREAD_STRING_A3,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24908);}while(r);
do{
*_SUB_XREAD_LONG_B= 0 ;
if(!qbevent)break;evnt(24909);}while(r);
S_32941:;
fornext_value3739=*_SUB_XREAD_LONG_I;
fornext_finalvalue3739=*_SUB_XREAD_LONG_N;
fornext_step3739= 1 ;
if (fornext_step3739<0) fornext_step_negative3739=1; else fornext_step_negative3739=0;
if (is_error_pending()) goto fornext_error3739;
goto fornext_entrylabel3739;
while(1){
fornext_value3739=fornext_step3739+(*_SUB_XREAD_LONG_I);
fornext_entrylabel3739:
*_SUB_XREAD_LONG_I=fornext_value3739;
if (fornext_step_negative3739){
if (fornext_value3739<fornext_finalvalue3739) break;
}else{
if (fornext_value3739>fornext_finalvalue3739) break;
}
fornext_error3739:;
if(qbevent){evnt(24910);if(r)goto S_32941;}
do{
qbs_set(_SUB_XREAD_STRING_A2,FUNC_GETELEMENT(_SUB_XREAD_STRING_CA,_SUB_XREAD_LONG_I));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24911);}while(r);
S_32943:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_SUB_XREAD_STRING_A2,qbs_new_txt_len("(",1))))||is_error_pending()){
if(qbevent){evnt(24912);if(r)goto S_32943;}
do{
*_SUB_XREAD_LONG_B=*_SUB_XREAD_LONG_B+ 1 ;
if(!qbevent)break;evnt(24912);}while(r);
}
S_32946:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_SUB_XREAD_STRING_A2,qbs_new_txt_len(")",1))))||is_error_pending()){
if(qbevent){evnt(24913);if(r)goto S_32946;}
do{
*_SUB_XREAD_LONG_B=*_SUB_XREAD_LONG_B- 1 ;
if(!qbevent)break;evnt(24913);}while(r);
}
S_32949:;
if ((qbs_cleanup(qbs_tmp_base,(((qbs_equal(_SUB_XREAD_STRING_A2,qbs_new_txt_len(",",1)))&(-(*_SUB_XREAD_LONG_B== 0 ))))|(-(*_SUB_XREAD_LONG_I==*_SUB_XREAD_LONG_N))))||is_error_pending()){
if(qbevent){evnt(24914);if(r)goto S_32949;}
S_32950:;
if ((-(*_SUB_XREAD_LONG_I==*_SUB_XREAD_LONG_N))||is_error_pending()){
if(qbevent){evnt(24915);if(r)goto S_32950;}
S_32951:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_SUB_XREAD_STRING_A3,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(24916);if(r)goto S_32951;}
do{
qbs_set(_SUB_XREAD_STRING_A3,_SUB_XREAD_STRING_A2);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24916);}while(r);
}else{
do{
qbs_set(_SUB_XREAD_STRING_A3,qbs_add(qbs_add(_SUB_XREAD_STRING_A3,__STRING1_SP),_SUB_XREAD_STRING_A2));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24916);}while(r);
}
}
S_32957:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_SUB_XREAD_STRING_A3,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(24918);if(r)goto S_32957;}
do{
SUB_GIVE_ERROR(qbs_new_txt_len("Expected , ...",14));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24918);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24918);}while(r);
}
do{
qbs_set(_SUB_XREAD_STRING_E,FUNC_FIXOPERATIONORDER(_SUB_XREAD_STRING_A3));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24919);}while(r);
S_32962:;
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
if(qbevent){evnt(24920);if(r)goto S_32962;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24920);}while(r);
}
do{
qbs_set(_SUB_XREAD_STRING_L,qbs_add(qbs_add(_SUB_XREAD_STRING_L,__STRING1_SP),__STRING_TLAYOUT));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24921);}while(r);
S_32966:;
if ((-(*_SUB_XREAD_LONG_I!=*_SUB_XREAD_LONG_N))||is_error_pending()){
if(qbevent){evnt(24921);if(r)goto S_32966;}
do{
qbs_set(_SUB_XREAD_STRING_L,qbs_add(qbs_add(_SUB_XREAD_STRING_L,__STRING1_SP2),qbs_new_txt_len(",",1)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24921);}while(r);
}
do{
qbs_set(_SUB_XREAD_STRING_E,FUNC_EVALUATE(_SUB_XREAD_STRING_E,_SUB_XREAD_LONG_T));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24922);}while(r);
S_32970:;
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
if(qbevent){evnt(24923);if(r)goto S_32970;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24923);}while(r);
}
S_32973:;
if ((-((*_SUB_XREAD_LONG_T&*__LONG_ISREFERENCE)== 0 ))||is_error_pending()){
if(qbevent){evnt(24924);if(r)goto S_32973;}
do{
SUB_GIVE_ERROR(qbs_new_txt_len("Expected variable",17));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24924);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24924);}while(r);
}
S_32977:;
if (((*_SUB_XREAD_LONG_T&*__LONG_ISSTRING))||is_error_pending()){
if(qbevent){evnt(24926);if(r)goto S_32977;}
do{
qbs_set(_SUB_XREAD_STRING_E,FUNC_REFER(_SUB_XREAD_STRING_E,_SUB_XREAD_LONG_T,&(pass3740= 0 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24927);}while(r);
S_32979:;
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
if(qbevent){evnt(24928);if(r)goto S_32979;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24928);}while(r);
}
do{
SUB_WRITEBUFLINE(&(pass3741=*__LONG_MAINTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("sub_read_string(data,&data_offset,data_size,",44),_SUB_XREAD_STRING_E),qbs_new_txt_len(");",2)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24929);}while(r);
do{
*__INTEGER_STRINGPROCESSINGHAPPENED= 1 ;
if(!qbevent)break;evnt(24930);}while(r);
}else{
S_32985:;
if (((-((*_SUB_XREAD_LONG_T&*__LONG_ISFLOAT)!= 0 ))|(-((*_SUB_XREAD_LONG_T& 511 )!= 64 )))||is_error_pending()){
if(qbevent){evnt(24933);if(r)goto S_32985;}
S_32986:;
if (((*_SUB_XREAD_LONG_T&*__LONG_ISOFFSETINBITS))||is_error_pending()){
if(qbevent){evnt(24934);if(r)goto S_32986;}
do{
SUB_SETREFER(_SUB_XREAD_STRING_E,_SUB_XREAD_LONG_T,qbs_add(qbs_add(qbs_new_txt_len("((int64)func_read_float(data,&data_offset,data_size,",52),qbs__tostr((int32)(*_SUB_XREAD_LONG_T),NULL,0)),qbs_new_txt_len("))",2)),&(pass3742= 1 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24935);}while(r);
S_32988:;
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
if(qbevent){evnt(24936);if(r)goto S_32988;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24936);}while(r);
}
}else{
do{
SUB_SETREFER(_SUB_XREAD_STRING_E,_SUB_XREAD_LONG_T,qbs_add(qbs_add(qbs_new_txt_len("func_read_float(data,&data_offset,data_size,",44),qbs__tostr((int32)(*_SUB_XREAD_LONG_T),NULL,0)),qbs_new_txt_len(")",1)),&(pass3743= 1 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24938);}while(r);
S_32993:;
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
if(qbevent){evnt(24939);if(r)goto S_32993;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24939);}while(r);
}
}
}else{
S_32998:;
if ((*_SUB_XREAD_LONG_T&*__LONG_ISUNSIGNED)||is_error_pending()){
if(qbevent){evnt(24942);if(r)goto S_32998;}
do{
SUB_SETREFER(_SUB_XREAD_STRING_E,_SUB_XREAD_LONG_T,qbs_new_txt_len("func_read_uint64(data,&data_offset,data_size)",45),&(pass3744= 1 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24943);}while(r);
S_33000:;
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
if(qbevent){evnt(24944);if(r)goto S_33000;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24944);}while(r);
}
}else{
do{
SUB_SETREFER(_SUB_XREAD_STRING_E,_SUB_XREAD_LONG_T,qbs_new_txt_len("func_read_int64(data,&data_offset,data_size)",44),&(pass3745= 1 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24946);}while(r);
S_33005:;
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
if(qbevent){evnt(24947);if(r)goto S_33005;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24947);}while(r);
}
}
}
}
S_33011:;
if ((-(*_SUB_XREAD_LONG_I==*_SUB_XREAD_LONG_N))||is_error_pending()){
if(qbevent){evnt(24951);if(r)goto S_33011;}
do{
goto fornext_exit_3738;
if(!qbevent)break;evnt(24951);}while(r);
}
do{
qbs_set(_SUB_XREAD_STRING_A3,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24952);}while(r);
do{
qbs_set(_SUB_XREAD_STRING_A2,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24952);}while(r);
}
S_33017:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_SUB_XREAD_STRING_A3,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(24954);if(r)goto S_33017;}
do{
qbs_set(_SUB_XREAD_STRING_A3,_SUB_XREAD_STRING_A2);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24954);}while(r);
}else{
do{
qbs_set(_SUB_XREAD_STRING_A3,qbs_add(qbs_add(_SUB_XREAD_STRING_A3,__STRING1_SP),_SUB_XREAD_STRING_A2));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24954);}while(r);
}
fornext_continue_3738:;
}
fornext_exit_3738:;
S_33023:;
if ((*__INTEGER_STRINGPROCESSINGHAPPENED)||is_error_pending()){
if(qbevent){evnt(24956);if(r)goto S_33023;}
do{
SUB_WRITEBUFLINE(&(pass3746=*__LONG_MAINTXTBUF),qbs_add(__STRING_CLEANUPSTRINGPROCESSINGCALL,qbs_new_txt_len("0);",3)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24956);}while(r);
}
do{
*__LONG_LAYOUTDONE= 1 ;
if(!qbevent)break;evnt(24957);}while(r);
S_33027:;
if ((qbs_cleanup(qbs_tmp_base,__STRING_LAYOUT->len))||is_error_pending()){
if(qbevent){evnt(24957);if(r)goto S_33027;}
do{
qbs_set(__STRING_LAYOUT,qbs_add(qbs_add(__STRING_LAYOUT,__STRING1_SP),_SUB_XREAD_STRING_L));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24957);}while(r);
}else{
do{
qbs_set(__STRING_LAYOUT,_SUB_XREAD_STRING_L);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24957);}while(r);
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free57.txt"
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;
cmem_sp=tmp_cmem_sp;
}
