int32 FUNC_LOGICALNOT(qbs*_FUNC_LOGICALNOT_STRING_EXP,void*_FUNC_LOGICALNOT_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 "data217.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_39379:;
if (( 0ll )||is_error_pending()){
if(qbevent){evnt(28169,386,"const_eval.bas");if(r)goto S_39379;}
do{
sub__echo(qbs_new_txt_len("LogicalNot",10));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28169,386,"const_eval.bas");}while(r);
}
do{
qbs_set(_FUNC_LOGICALNOT_STRING_ELE,FUNC_PEEKNEXTELEMENT(_FUNC_LOGICALNOT_STRING_EXP,(int32*)(void*)( ((char*)(_FUNC_LOGICALNOT_UDT_STATE)) + ((0+0)) ),(int32*)(void*)( ((char*)(_FUNC_LOGICALNOT_UDT_STATE)) + ((0+4)) )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28169,387,"const_eval.bas");}while(r);
S_39383:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_LOGICALNOT_STRING_ELE,qbs_new_txt_len("NOT",3))))||is_error_pending()){
if(qbevent){evnt(28169,388,"const_eval.bas");if(r)goto S_39383;}
do{
qbs_set(_FUNC_LOGICALNOT_STRING_ELE,FUNC_GETNEXTELEMENT(_FUNC_LOGICALNOT_STRING_EXP,(int32*)(void*)( ((char*)(_FUNC_LOGICALNOT_UDT_STATE)) + ((0+0)) ),(int32*)(void*)( ((char*)(_FUNC_LOGICALNOT_UDT_STATE)) + ((0+4)) )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28169,388,"const_eval.bas");}while(r);
}
S_39386:;
if ((qbs_cleanup(qbs_tmp_base,-(FUNC_RELATION(_FUNC_LOGICALNOT_STRING_EXP,(void*)( ((char*)(_FUNC_LOGICALNOT_UDT_STATE)) + ((0+0)) ))== 0 )))||is_error_pending()){
if(qbevent){evnt(28169,390,"const_eval.bas");if(r)goto S_39386;}
do{
SUB_FIXUPERRORMESSAGE((void*)( ((char*)(_FUNC_LOGICALNOT_UDT_STATE)) + ((0+0)) ),qbs_new_txt_len("NOT",3));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28169,390,"const_eval.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28169,390,"const_eval.bas");}while(r);
}
S_39390:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_LOGICALNOT_STRING_ELE,qbs_new_txt_len("NOT",3))))||is_error_pending()){
if(qbevent){evnt(28169,392,"const_eval.bas");if(r)goto S_39390;}
S_39391:;
if (((*_FUNC_LOGICALNOT_LONG_NUM__ASCII_CHR_046__TYP&*__LONG_ISUNSIGNED)|(*(int32*)(((char*)_FUNC_LOGICALNOT_UDT_STATE)+((0+64)))&*__LONG_ISUNSIGNED))||is_error_pending()){
if(qbevent){evnt(28169,393,"const_eval.bas");if(r)goto S_39391;}
do{
SUB_PARSENUMSETUI((void*)( ((char*)(_FUNC_LOGICALNOT_UDT_STATE)) + ((0+8)) ),&(pass4751=*__LONG_UINTEGER64TYPE-*__LONG_ISPOINTER),&(pass4752=~(*(uint64*)(((char*)_FUNC_LOGICALNOT_UDT_STATE)+((0+48))))));
if(!qbevent)break;evnt(28169,394,"const_eval.bas");}while(r);
}else{
do{
SUB_PARSENUMSETI((void*)( ((char*)(_FUNC_LOGICALNOT_UDT_STATE)) + ((0+8)) ),&(pass4753=*__LONG_INTEGER64TYPE-*__LONG_ISPOINTER),&(pass4754=~(*(int64*)(((char*)_FUNC_LOGICALNOT_UDT_STATE)+((0+40))))));
if(!qbevent)break;evnt(28169,396,"const_eval.bas");}while(r);
}
}
do{
*_FUNC_LOGICALNOT_LONG_LOGICALNOT= -1 ;
if(!qbevent)break;evnt(28169,400,"const_eval.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free217.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_LOGICALNOT_LONG_LOGICALNOT;
}
