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 "data78.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
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(25722);}while(r);
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T1,_FUNC_COMPAREVERSIONS_STRING_V1);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25722);}while(r);
S_33873:;
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(25723);if(r)goto S_33873;}
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(25723);}while(r);
}
S_33876:;
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(25724);if(r)goto S_33876;}
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(25724);}while(r);
}
S_33879:;
do{
if(qbevent){evnt(25725);if(r)goto S_33879;}
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(25726);}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(25726);}while(r);
S_33882:;
if ((*_FUNC_COMPAREVERSIONS_LONG_L)||is_error_pending()){
if(qbevent){evnt(25727);if(r)goto S_33882;}
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(25728);}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(25729);}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(25731);}while(r);
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25732);}while(r);
}
S_33889:;
if ((*_FUNC_COMPAREVERSIONS_LONG_L1)||is_error_pending()){
if(qbevent){evnt(25734);if(r)goto S_33889;}
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(25735);}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(25736);}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(25738);}while(r);
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T1,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25739);}while(r);
}
S_33896:;
if ((-(*_FUNC_COMPAREVERSIONS_LONG_V<*_FUNC_COMPAREVERSIONS_LONG_V1))||is_error_pending()){
if(qbevent){evnt(25741);if(r)goto S_33896;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= -1 ;
if(!qbevent)break;evnt(25741);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(25741);}while(r);
}
S_33900:;
if ((-(*_FUNC_COMPAREVERSIONS_LONG_V>*_FUNC_COMPAREVERSIONS_LONG_V1))||is_error_pending()){
if(qbevent){evnt(25742);if(r)goto S_33900;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= 1 ;
if(!qbevent)break;evnt(25742);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(25742);}while(r);
}
S_33904:;
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(25743);if(r)goto S_33904;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(25743);}while(r);
}
S_33907:;
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(25744);if(r)goto S_33907;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= -1 ;
if(!qbevent)break;evnt(25744);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(25744);}while(r);
}
S_33911:;
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(25745);if(r)goto S_33911;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= 1 ;
if(!qbevent)break;evnt(25745);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(25745);}while(r);
}
dl_continue_3906:;
}while(1);
dl_exit_3906:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free78.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;
}
