int16 FUNC_ISEMPTYPARENTHESIZEDTARGET(qbs*_FUNC_ISEMPTYPARENTHESIZEDTARGET_STRING_EXPR){
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 "data48.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{
*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_N=FUNC_NUMELEMENTS(_FUNC_ISEMPTYPARENTHESIZEDTARGET_STRING_EXPR);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(18446);}while(r);
S_21421:;
if ((-(*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_N== 0 ))||is_error_pending()){
if(qbevent){evnt(18447);if(r)goto S_21421;}
do{
*_FUNC_ISEMPTYPARENTHESIZEDTARGET_INTEGER_ISEMPTYPARENTHESIZEDTARGET= -1 ;
if(!qbevent)break;evnt(18447);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(18447);}while(r);
}
S_21425:;
while((-(*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_N>= 2 ))||is_error_pending()){
if(qbevent){evnt(18449);if(r)goto S_21425;}
S_21426:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_notequal(FUNC_GETELEMENT(_FUNC_ISEMPTYPARENTHESIZEDTARGET_STRING_EXPR,&(pass3179= 1 )),qbs_new_txt_len("(",1)))|(qbs_notequal(FUNC_GETELEMENT(_FUNC_ISEMPTYPARENTHESIZEDTARGET_STRING_EXPR,_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_N),qbs_new_txt_len(")",1)))))||is_error_pending()){
if(qbevent){evnt(18450);if(r)goto S_21426;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(18450);}while(r);
}
do{
*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_B= 0 ;
if(!qbevent)break;evnt(18452);}while(r);
do{
*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_WRAPPED= -1 ;
if(!qbevent)break;evnt(18453);}while(r);
S_21431:;
fornext_value3181= 1 ;
fornext_finalvalue3181=*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_N;
fornext_step3181= 1 ;
if (fornext_step3181<0) fornext_step_negative3181=1; else fornext_step_negative3181=0;
if (is_error_pending()) goto fornext_error3181;
goto fornext_entrylabel3181;
while(1){
fornext_value3181=fornext_step3181+(*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_I);
fornext_entrylabel3181:
*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_I=fornext_value3181;
if (fornext_step_negative3181){
if (fornext_value3181<fornext_finalvalue3181) break;
}else{
if (fornext_value3181>fornext_finalvalue3181) break;
}
fornext_error3181:;
if(qbevent){evnt(18454);if(r)goto S_21431;}
do{
qbs_set(_FUNC_ISEMPTYPARENTHESIZEDTARGET_STRING_T,FUNC_GETELEMENT(_FUNC_ISEMPTYPARENTHESIZEDTARGET_STRING_EXPR,_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_I));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(18455);}while(r);
S_21433:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_ISEMPTYPARENTHESIZEDTARGET_STRING_T,qbs_new_txt_len("(",1))))||is_error_pending()){
if(qbevent){evnt(18456);if(r)goto S_21433;}
do{
*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_B=*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_B+ 1 ;
if(!qbevent)break;evnt(18456);}while(r);
}
S_21436:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_ISEMPTYPARENTHESIZEDTARGET_STRING_T,qbs_new_txt_len(")",1))))||is_error_pending()){
if(qbevent){evnt(18457);if(r)goto S_21436;}
do{
*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_B=*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_B- 1 ;
if(!qbevent)break;evnt(18458);}while(r);
S_21438:;
if (((-(*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_B== 0 ))&(-(*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_I!=*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_N)))||is_error_pending()){
if(qbevent){evnt(18459);if(r)goto S_21438;}
do{
*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_WRAPPED= 0 ;
if(!qbevent)break;evnt(18459);}while(r);
do{
goto fornext_exit_3180;
if(!qbevent)break;evnt(18459);}while(r);
}
}
fornext_continue_3180:;
}
fornext_exit_3180:;
S_21444:;
if (((-(*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_WRAPPED== 0 ))|(-(*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_B!= 0 )))||is_error_pending()){
if(qbevent){evnt(18462);if(r)goto S_21444;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(18462);}while(r);
}
S_21447:;
if ((-(*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_N== 2 ))||is_error_pending()){
if(qbevent){evnt(18464);if(r)goto S_21447;}
do{
*_FUNC_ISEMPTYPARENTHESIZEDTARGET_INTEGER_ISEMPTYPARENTHESIZEDTARGET= -1 ;
if(!qbevent)break;evnt(18464);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(18464);}while(r);
}
do{
qbs_set(_FUNC_ISEMPTYPARENTHESIZEDTARGET_STRING_EXPR,FUNC_GETELEMENTS(_FUNC_ISEMPTYPARENTHESIZEDTARGET_STRING_EXPR,&(pass3182= 2 ),&(pass3183=*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_N- 1 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(18465);}while(r);
do{
*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_N=FUNC_NUMELEMENTS(_FUNC_ISEMPTYPARENTHESIZEDTARGET_STRING_EXPR);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(18466);}while(r);
S_21453:;
if ((-(*_FUNC_ISEMPTYPARENTHESIZEDTARGET_LONG_N== 0 ))||is_error_pending()){
if(qbevent){evnt(18467);if(r)goto S_21453;}
do{
*_FUNC_ISEMPTYPARENTHESIZEDTARGET_INTEGER_ISEMPTYPARENTHESIZEDTARGET= -1 ;
if(!qbevent)break;evnt(18467);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(18467);}while(r);
}
dl_continue_3178:;
}
dl_exit_3178:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free48.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_ISEMPTYPARENTHESIZEDTARGET_INTEGER_ISEMPTYPARENTHESIZEDTARGET;
}
