int32 FUNC_FACTOR(qbs*_FUNC_FACTOR_STRING_EXP,void*_FUNC_FACTOR_UDT_STATE){
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 "data222.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;
S_39594:;
if (( 0ll )||is_error_pending()){
if(qbevent){evnt(28169,580,"const_eval.bas");if(r)goto S_39594;}
do{
sub__echo(qbs_new_txt_len("Factor",6));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28169,580,"const_eval.bas");}while(r);
}
S_39597:;
if ((qbs_cleanup(qbs_tmp_base,-(FUNC_UNARY(_FUNC_FACTOR_STRING_EXP,(void*)( ((char*)(_FUNC_FACTOR_UDT_STATE)) + ((0+0)) ))== 0 )))||is_error_pending()){
if(qbevent){evnt(28169,581,"const_eval.bas");if(r)goto S_39597;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28169,581,"const_eval.bas");}while(r);
}
do{
if(!qbevent)break;evnt(28169,583,"const_eval.bas");}while(r);
do{
memcpy((((char*)_FUNC_FACTOR_UDT_NUM)+((0+0))+ 0),(((char*)_FUNC_FACTOR_UDT_STATE)+((0+8))+ 0), 32);
memcpy((((char*)_FUNC_FACTOR_UDT_NUM)+((0+0))+ 32),(((char*)_FUNC_FACTOR_UDT_STATE)+((0+8))+ 32), 8);
memcpy((((char*)_FUNC_FACTOR_UDT_NUM)+((0+0))+ 40),(((char*)_FUNC_FACTOR_UDT_STATE)+((0+8))+ 40), 8);
qbs_set(*(qbs**)(((char*)_FUNC_FACTOR_UDT_NUM)+((0+0))+ 48), *(qbs**)(((char*)_FUNC_FACTOR_UDT_STATE)+((0+8))+ 48));
memcpy((((char*)_FUNC_FACTOR_UDT_NUM)+((0+0))+ 56),(((char*)_FUNC_FACTOR_UDT_STATE)+((0+8))+ 56), 4);
if(!qbevent)break;evnt(28169,584,"const_eval.bas");}while(r);
S_39602:;
do{
if(qbevent){evnt(28169,586,"const_eval.bas");if(r)goto S_39602;}
do{
qbs_set(_FUNC_FACTOR_STRING_ELE,FUNC_PEEKNEXTELEMENT(_FUNC_FACTOR_STRING_EXP,(int32*)(void*)( ((char*)(_FUNC_FACTOR_UDT_STATE)) + ((0+0)) ),(int32*)(void*)( ((char*)(_FUNC_FACTOR_UDT_STATE)) + ((0+4)) )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28169,587,"const_eval.bas");}while(r);
S_39604:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_FACTOR_STRING_ELE,qbs_new_txt_len("*",1))))||is_error_pending()){
if(qbevent){evnt(28169,588,"const_eval.bas");if(r)goto S_39604;}
do{
qbs_set(_FUNC_FACTOR_STRING_ELE,FUNC_GETNEXTELEMENT(_FUNC_FACTOR_STRING_EXP,(int32*)(void*)( ((char*)(_FUNC_FACTOR_UDT_STATE)) + ((0+0)) ),(int32*)(void*)( ((char*)(_FUNC_FACTOR_UDT_STATE)) + ((0+4)) )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28169,589,"const_eval.bas");}while(r);
S_39606:;
if ((qbs_cleanup(qbs_tmp_base,-(FUNC_UNARY(_FUNC_FACTOR_STRING_EXP,(void*)( ((char*)(_FUNC_FACTOR_UDT_STATE)) + ((0+0)) ))== 0 )))||is_error_pending()){
if(qbevent){evnt(28169,590,"const_eval.bas");if(r)goto S_39606;}
do{
SUB_FIXUPERRORMESSAGE((void*)( ((char*)(_FUNC_FACTOR_UDT_STATE)) + ((0+0)) ),qbs_new_txt_len("*",1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28169,590,"const_eval.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28169,590,"const_eval.bas");}while(r);
}
S_39610:;
if (((*(int32*)(((char*)_FUNC_FACTOR_UDT_NUM)+((0+56)))&*__LONG_ISFLOAT)|(*(int32*)(((char*)_FUNC_FACTOR_UDT_STATE)+((0+64)))&*__LONG_ISFLOAT))||is_error_pending()){
if(qbevent){evnt(28169,592,"const_eval.bas");if(r)goto S_39610;}
do{
SUB_PARSENUMSETF((void*)( ((char*)(_FUNC_FACTOR_UDT_NUM)) + ((0+0)) ),&(pass4821=*__LONG_FLOATTYPE-*__LONG_ISPOINTER),&(pass4822=*(long double*)(((char*)_FUNC_FACTOR_UDT_NUM)+((0+0)))**(long double*)(((char*)_FUNC_FACTOR_UDT_STATE)+((0+8)))));
if(!qbevent)break;evnt(28169,593,"const_eval.bas");}while(r);
S_39612:;
}else{
if ((*(int32*)(((char*)_FUNC_FACTOR_UDT_NUM)+((0+56)))&*__LONG_ISUNSIGNED)|(*(int32*)(((char*)_FUNC_FACTOR_UDT_STATE)+((0+64)))&*__LONG_ISUNSIGNED)){
if(qbevent){evnt(28169,594,"const_eval.bas");if(r)goto S_39612;}
do{
SUB_PARSENUMSETUI((void*)( ((char*)(_FUNC_FACTOR_UDT_NUM)) + ((0+0)) ),&(pass4823=*__LONG_UINTEGER64TYPE-*__LONG_ISPOINTER),&(pass4824=*(uint64*)(((char*)_FUNC_FACTOR_UDT_NUM)+((0+40)))**(uint64*)(((char*)_FUNC_FACTOR_UDT_STATE)+((0+48)))));
if(!qbevent)break;evnt(28169,595,"const_eval.bas");}while(r);
}else{
do{
SUB_PARSENUMSETI((void*)( ((char*)(_FUNC_FACTOR_UDT_NUM)) + ((0+0)) ),&(pass4825=*__LONG_INTEGER64TYPE-*__LONG_ISPOINTER),&(pass4826=*(int64*)(((char*)_FUNC_FACTOR_UDT_NUM)+((0+32)))**(int64*)(((char*)_FUNC_FACTOR_UDT_STATE)+((0+40)))));
if(!qbevent)break;evnt(28169,597,"const_eval.bas");}while(r);
}
}
S_39617:;
}else{
if (qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_FACTOR_STRING_ELE,qbs_new_txt_len("/",1)))){
if(qbevent){evnt(28169,599,"const_eval.bas");if(r)goto S_39617;}
do{
qbs_set(_FUNC_FACTOR_STRING_ELE,FUNC_GETNEXTELEMENT(_FUNC_FACTOR_STRING_EXP,(int32*)(void*)( ((char*)(_FUNC_FACTOR_UDT_STATE)) + ((0+0)) ),(int32*)(void*)( ((char*)(_FUNC_FACTOR_UDT_STATE)) + ((0+4)) )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28169,600,"const_eval.bas");}while(r);
S_39619:;
if ((qbs_cleanup(qbs_tmp_base,-(FUNC_UNARY(_FUNC_FACTOR_STRING_EXP,(void*)( ((char*)(_FUNC_FACTOR_UDT_STATE)) + ((0+0)) ))== 0 )))||is_error_pending()){
if(qbevent){evnt(28169,601,"const_eval.bas");if(r)goto S_39619;}
do{
SUB_FIXUPERRORMESSAGE((void*)( ((char*)(_FUNC_FACTOR_UDT_STATE)) + ((0+0)) ),qbs_new_txt_len("/",1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28169,601,"const_eval.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28169,601,"const_eval.bas");}while(r);
}
do{
SUB_PARSENUMSETF((void*)( ((char*)(_FUNC_FACTOR_UDT_NUM)) + ((0+0)) ),&(pass4827=*__LONG_FLOATTYPE-*__LONG_ISPOINTER),&(pass4828=*(long double*)(((char*)_FUNC_FACTOR_UDT_NUM)+((0+0)))/ *(long double*)(((char*)_FUNC_FACTOR_UDT_STATE)+((0+8)))));
if(!qbevent)break;evnt(28169,604,"const_eval.bas");}while(r);
}else{
S_39625:;
if (( 0ll )||is_error_pending()){
if(qbevent){evnt(28169,606,"const_eval.bas");if(r)goto S_39625;}
do{
sub__echo(qbs_new_txt_len("Factor done!",12));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28169,606,"const_eval.bas");}while(r);
}
do{
memcpy((((char*)_FUNC_FACTOR_UDT_STATE)+((0+8))+ 0),(((char*)_FUNC_FACTOR_UDT_NUM)+((0+0))+ 0), 32);
memcpy((((char*)_FUNC_FACTOR_UDT_STATE)+((0+8))+ 32),(((char*)_FUNC_FACTOR_UDT_NUM)+((0+0))+ 32), 8);
memcpy((((char*)_FUNC_FACTOR_UDT_STATE)+((0+8))+ 40),(((char*)_FUNC_FACTOR_UDT_NUM)+((0+0))+ 40), 8);
qbs_set(*(qbs**)(((char*)_FUNC_FACTOR_UDT_STATE)+((0+8))+ 48), *(qbs**)(((char*)_FUNC_FACTOR_UDT_NUM)+((0+0))+ 48));
memcpy((((char*)_FUNC_FACTOR_UDT_STATE)+((0+8))+ 56),(((char*)_FUNC_FACTOR_UDT_NUM)+((0+0))+ 56), 4);
if(!qbevent)break;evnt(28169,607,"const_eval.bas");}while(r);
do{
*_FUNC_FACTOR_LONG_FACTOR= -1 ;
if(!qbevent)break;evnt(28169,608,"const_eval.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28169,609,"const_eval.bas");}while(r);
}
}
dl_continue_4820:;
}while(1);
dl_exit_4820:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free222.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_FACTOR_LONG_FACTOR;
}
