int32 FUNC_COMPAREVERSIONS(qbs*_FUNC_COMPAREVERSIONS_STRING_V,qbs*_FUNC_COMPAREVERSIONS_STRING_V1){
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 "data105.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{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T,_FUNC_COMPAREVERSIONS_STRING_V);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28135);}while(r);
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T1,_FUNC_COMPAREVERSIONS_STRING_V1);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28135);}while(r);
S_36592:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(qbs_right(_FUNC_COMPAREVERSIONS_STRING_T, 8 ),qbs_new_txt_len("-UNKNOWN",8))))||is_error_pending()){
if(qbevent){evnt(28136);if(r)goto S_36592;}
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T,qbs_left(_FUNC_COMPAREVERSIONS_STRING_T,_FUNC_COMPAREVERSIONS_STRING_T->len- 8 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28136);}while(r);
}
S_36595:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(qbs_right(_FUNC_COMPAREVERSIONS_STRING_T1, 8 ),qbs_new_txt_len("-UNKNOWN",8))))||is_error_pending()){
if(qbevent){evnt(28137);if(r)goto S_36595;}
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T1,qbs_left(_FUNC_COMPAREVERSIONS_STRING_T1,_FUNC_COMPAREVERSIONS_STRING_T1->len- 8 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28137);}while(r);
}
S_36598:;
do{
if(qbevent){evnt(28138);if(r)goto S_36598;}
do{
*_FUNC_COMPAREVERSIONS_LONG_L=func_instr(NULL,_FUNC_COMPAREVERSIONS_STRING_T,qbs_new_txt_len(".",1),0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28139);}while(r);
do{
*_FUNC_COMPAREVERSIONS_LONG_L1=func_instr(NULL,_FUNC_COMPAREVERSIONS_STRING_T1,qbs_new_txt_len(".",1),0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28139);}while(r);
S_36601:;
if ((*_FUNC_COMPAREVERSIONS_LONG_L)||is_error_pending()){
if(qbevent){evnt(28140);if(r)goto S_36601;}
do{
*_FUNC_COMPAREVERSIONS_LONG_V=qbr(qbs_val<long double>(qbs_left(_FUNC_COMPAREVERSIONS_STRING_T,*_FUNC_COMPAREVERSIONS_LONG_L- 1 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28141);}while(r);
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T,func_mid(_FUNC_COMPAREVERSIONS_STRING_T,*_FUNC_COMPAREVERSIONS_LONG_L+ 1 ,NULL,0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28142);}while(r);
}else{
do{
*_FUNC_COMPAREVERSIONS_LONG_V=qbr(qbs_val<long double>(_FUNC_COMPAREVERSIONS_STRING_T));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28144);}while(r);
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28145);}while(r);
}
S_36608:;
if ((*_FUNC_COMPAREVERSIONS_LONG_L1)||is_error_pending()){
if(qbevent){evnt(28147);if(r)goto S_36608;}
do{
*_FUNC_COMPAREVERSIONS_LONG_V1=qbr(qbs_val<long double>(qbs_left(_FUNC_COMPAREVERSIONS_STRING_T1,*_FUNC_COMPAREVERSIONS_LONG_L1- 1 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28148);}while(r);
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T1,func_mid(_FUNC_COMPAREVERSIONS_STRING_T1,*_FUNC_COMPAREVERSIONS_LONG_L1+ 1 ,NULL,0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28149);}while(r);
}else{
do{
*_FUNC_COMPAREVERSIONS_LONG_V1=qbr(qbs_val<long double>(_FUNC_COMPAREVERSIONS_STRING_T1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28151);}while(r);
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T1,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28152);}while(r);
}
S_36615:;
if ((-(*_FUNC_COMPAREVERSIONS_LONG_V<*_FUNC_COMPAREVERSIONS_LONG_V1))||is_error_pending()){
if(qbevent){evnt(28154);if(r)goto S_36615;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= -1 ;
if(!qbevent)break;evnt(28154);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28154);}while(r);
}
S_36619:;
if ((-(*_FUNC_COMPAREVERSIONS_LONG_V>*_FUNC_COMPAREVERSIONS_LONG_V1))||is_error_pending()){
if(qbevent){evnt(28155);if(r)goto S_36619;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= 1 ;
if(!qbevent)break;evnt(28155);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28155);}while(r);
}
S_36623:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_equal(_FUNC_COMPAREVERSIONS_STRING_T,qbs_new_txt_len("",0)))&(qbs_equal(_FUNC_COMPAREVERSIONS_STRING_T1,qbs_new_txt_len("",0)))))||is_error_pending()){
if(qbevent){evnt(28156);if(r)goto S_36623;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28156);}while(r);
}
S_36626:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_equal(_FUNC_COMPAREVERSIONS_STRING_T,qbs_new_txt_len("",0)))&(qbs_notequal(_FUNC_COMPAREVERSIONS_STRING_T1,qbs_new_txt_len("",0)))))||is_error_pending()){
if(qbevent){evnt(28157);if(r)goto S_36626;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= -1 ;
if(!qbevent)break;evnt(28157);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28157);}while(r);
}
S_36630:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_equal(_FUNC_COMPAREVERSIONS_STRING_T1,qbs_new_txt_len("",0)))&(qbs_notequal(_FUNC_COMPAREVERSIONS_STRING_T,qbs_new_txt_len("",0)))))||is_error_pending()){
if(qbevent){evnt(28158);if(r)goto S_36630;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= 1 ;
if(!qbevent)break;evnt(28158);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28158);}while(r);
}
dl_continue_4336:;
}while(1);
dl_exit_4336:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free105.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_COMPAREVERSIONS_LONG_COMPAREVERSIONS;
}
