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 "data70.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(24188);}while(r);
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T1,_FUNC_COMPAREVERSIONS_STRING_V1);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24188);}while(r);
S_32363:;
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(24189);if(r)goto S_32363;}
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(24189);}while(r);
}
S_32366:;
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(24190);if(r)goto S_32366;}
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(24190);}while(r);
}
S_32369:;
do{
if(qbevent){evnt(24191);if(r)goto S_32369;}
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(24192);}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(24192);}while(r);
S_32372:;
if ((*_FUNC_COMPAREVERSIONS_LONG_L)||is_error_pending()){
if(qbevent){evnt(24193);if(r)goto S_32372;}
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(24194);}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(24195);}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(24197);}while(r);
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24198);}while(r);
}
S_32379:;
if ((*_FUNC_COMPAREVERSIONS_LONG_L1)||is_error_pending()){
if(qbevent){evnt(24200);if(r)goto S_32379;}
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(24201);}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(24202);}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(24204);}while(r);
do{
qbs_set(_FUNC_COMPAREVERSIONS_STRING_T1,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24205);}while(r);
}
S_32386:;
if ((-(*_FUNC_COMPAREVERSIONS_LONG_V<*_FUNC_COMPAREVERSIONS_LONG_V1))||is_error_pending()){
if(qbevent){evnt(24207);if(r)goto S_32386;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= -1 ;
if(!qbevent)break;evnt(24207);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24207);}while(r);
}
S_32390:;
if ((-(*_FUNC_COMPAREVERSIONS_LONG_V>*_FUNC_COMPAREVERSIONS_LONG_V1))||is_error_pending()){
if(qbevent){evnt(24208);if(r)goto S_32390;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= 1 ;
if(!qbevent)break;evnt(24208);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24208);}while(r);
}
S_32394:;
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(24209);if(r)goto S_32394;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24209);}while(r);
}
S_32397:;
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(24210);if(r)goto S_32397;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= -1 ;
if(!qbevent)break;evnt(24210);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24210);}while(r);
}
S_32401:;
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(24211);if(r)goto S_32401;}
do{
*_FUNC_COMPAREVERSIONS_LONG_COMPAREVERSIONS= 1 ;
if(!qbevent)break;evnt(24211);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24211);}while(r);
}
dl_continue_3675:;
}while(1);
dl_exit_3675:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free70.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;
}
