int16 FUNC_BOUNDSHAVETOPTO(qbs*_FUNC_BOUNDSHAVETOPTO_STRING_BOUNDS){
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 "data22.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
libqb_check_stack();
if (is_error_pending()) goto exit_subfunc;
do{
if(!qbevent)break;evnt(15799);}while(r);
do{
if(!qbevent)break;evnt(15800);}while(r);
do{
if(!qbevent)break;evnt(15801);}while(r);
do{
if(!qbevent)break;evnt(15802);}while(r);
do{
*_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_COUNT=FUNC_NUMELEMENTS(_FUNC_BOUNDSHAVETOPTO_STRING_BOUNDS);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15804);}while(r);
do{
*_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_DEPTH= 0 ;
if(!qbevent)break;evnt(15805);}while(r);
do{
*_FUNC_BOUNDSHAVETOPTO_INTEGER_BOUNDSHAVETOPTO= 0 ;
if(!qbevent)break;evnt(15806);}while(r);
S_18308:;
fornext_value2686= 1 ;
fornext_finalvalue2686=*_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_COUNT;
fornext_step2686= 1 ;
if (fornext_step2686<0) fornext_step_negative2686=1; else fornext_step_negative2686=0;
if (is_error_pending()) goto fornext_error2686;
goto fornext_entrylabel2686;
while(1){
fornext_value2686=fornext_step2686+(*_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_INDEX);
fornext_entrylabel2686:
*_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_INDEX=fornext_value2686;
if (fornext_step_negative2686){
if (fornext_value2686<fornext_finalvalue2686) break;
}else{
if (fornext_value2686>fornext_finalvalue2686) break;
}
fornext_error2686:;
if(qbevent){evnt(15808);if(r)goto S_18308;}
do{
qbs_set(_FUNC_BOUNDSHAVETOPTO_STRING_TOKEN,FUNC_GETELEMENT(_FUNC_BOUNDSHAVETOPTO_STRING_BOUNDS,_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_INDEX));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15809);}while(r);
S_18310:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_BOUNDSHAVETOPTO_STRING_TOKEN,qbs_new_txt_len("(",1))))||is_error_pending()){
if(qbevent){evnt(15810);if(r)goto S_18310;}
do{
*_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_DEPTH=*_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_DEPTH+ 1 ;
if(!qbevent)break;evnt(15810);}while(r);
}
S_18313:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_BOUNDSHAVETOPTO_STRING_TOKEN,qbs_new_txt_len(")",1))))||is_error_pending()){
if(qbevent){evnt(15811);if(r)goto S_18313;}
do{
*_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_DEPTH=*_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_DEPTH- 1 ;
if(!qbevent)break;evnt(15811);}while(r);
}
S_18316:;
if ((-(*_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_DEPTH< 0 ))||is_error_pending()){
if(qbevent){evnt(15812);if(r)goto S_18316;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(15812);}while(r);
}
S_18319:;
if ((qbs_cleanup(qbs_tmp_base,(-(*_FUNC_BOUNDSHAVETOPTO_LONG_TOKEN_DEPTH== 0 ))&(qbs_equal(qbs_ucase(_FUNC_BOUNDSHAVETOPTO_STRING_TOKEN),qbs_new_txt_len("TO",2)))))||is_error_pending()){
if(qbevent){evnt(15813);if(r)goto S_18319;}
do{
*_FUNC_BOUNDSHAVETOPTO_INTEGER_BOUNDSHAVETOPTO= -1 ;
if(!qbevent)break;evnt(15814);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(15815);}while(r);
}
fornext_continue_2685:;
}
fornext_exit_2685:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free22.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;
return *_FUNC_BOUNDSHAVETOPTO_INTEGER_BOUNDSHAVETOPTO;
}
