qbs* FUNC__ENCODEURL(qbs*_FUNC__ENCODEURL_STRING__URL){
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 "data472.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;
error_track_line(28346,64,"afterlastline.bm");
error_track_line(28346,66,"afterlastline.bm");
qbs_set(_FUNC__ENCODEURL_STRING__TMP,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
error_track_line(28346,66,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__INQUERY= 0ll ;
error_track_line(28346,66,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__ISKEY= 0ll ;
error_track_line(28346,68,"afterlastline.bm");
fornext_value8274= 1 ;
fornext_finalvalue8274=_FUNC__ENCODEURL_STRING__URL->len;
fornext_step8274= 1 ;
if (fornext_step8274<0) fornext_step_negative8274=1; else fornext_step_negative8274=0;
if (is_error_pending()) goto fornext_error8274;
goto fornext_entrylabel8274;
while(1){
fornext_value8274=fornext_step8274+(*_FUNC__ENCODEURL_INTEGER__P);
fornext_entrylabel8274:
*_FUNC__ENCODEURL_INTEGER__P=fornext_value8274;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative8274){
if (fornext_value8274<fornext_finalvalue8274) break;
}else{
if (fornext_value8274>fornext_finalvalue8274) break;
}
fornext_error8274:;
error_track_line(28346,69,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__A=qbs_asc(_FUNC__ENCODEURL_STRING__URL,*_FUNC__ENCODEURL_INTEGER__P);
qbs_cleanup(qbs_tmp_base,0);
error_track_line(28346,69,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__VALID= 0ll ;
error_track_line(28346,71,"afterlastline.bm");
error_track_line(28346,72,"afterlastline.bm");
if (((*_FUNC__ENCODEURL_INTEGER__A==( 45ll ))||(*_FUNC__ENCODEURL_INTEGER__A==( 46ll ))||(*_FUNC__ENCODEURL_INTEGER__A==( 95ll ))||(*_FUNC__ENCODEURL_INTEGER__A==( 126ll ))||((*_FUNC__ENCODEURL_INTEGER__A>=( 48 ))&&(*_FUNC__ENCODEURL_INTEGER__A<=( 57 )))||((*_FUNC__ENCODEURL_INTEGER__A>=( 65 ))&&(*_FUNC__ENCODEURL_INTEGER__A<=( 90 )))||((*_FUNC__ENCODEURL_INTEGER__A>=( 97 ))&&(*_FUNC__ENCODEURL_INTEGER__A<=( 122 ))))||is_error_pending()){
error_track_line(28346,73,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__VALID= -1ll ;
error_track_line(28346,74,"afterlastline.bm");
sc_ec_614_end:;
goto sc_8276_end;
}
if (((*_FUNC__ENCODEURL_INTEGER__A==( 35ll ))||(*_FUNC__ENCODEURL_INTEGER__A==( 47ll ))||(*_FUNC__ENCODEURL_INTEGER__A==( 58ll ))||(*_FUNC__ENCODEURL_INTEGER__A==( 63ll ))||(*_FUNC__ENCODEURL_INTEGER__A==( 64ll ))||(*_FUNC__ENCODEURL_INTEGER__A==( 91ll ))||(*_FUNC__ENCODEURL_INTEGER__A==( 93ll )))||is_error_pending()){
error_track_line(28346,75,"afterlastline.bm");
if ((~(*_FUNC__ENCODEURL_INTEGER__INQUERY))||is_error_pending()){
error_track_line(28346,76,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__VALID= -1ll ;
error_track_line(28346,77,"afterlastline.bm");
if ((-(*_FUNC__ENCODEURL_INTEGER__A== 63ll ))||is_error_pending()){
error_track_line(28346,77,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__INQUERY= -1ll ;
error_track_line(28346,77,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__ISKEY= -1ll ;
error_track_line(28346,77,"afterlastline.bm");
}
error_track_line(28346,78,"afterlastline.bm");
}
error_track_line(28346,79,"afterlastline.bm");
sc_ec_615_end:;
goto sc_8276_end;
}
if (((*_FUNC__ENCODEURL_INTEGER__A==( 61ll )))||is_error_pending()){
error_track_line(28346,80,"afterlastline.bm");
if ((*_FUNC__ENCODEURL_INTEGER__INQUERY&*_FUNC__ENCODEURL_INTEGER__ISKEY)||is_error_pending()){
error_track_line(28346,80,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__VALID= -1ll ;
error_track_line(28346,80,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__ISKEY= 0ll ;
error_track_line(28346,80,"afterlastline.bm");
}
error_track_line(28346,81,"afterlastline.bm");
sc_ec_616_end:;
goto sc_8276_end;
}
if (((*_FUNC__ENCODEURL_INTEGER__A==( 38ll )))||is_error_pending()){
error_track_line(28346,82,"afterlastline.bm");
if ((*_FUNC__ENCODEURL_INTEGER__INQUERY&(~(*_FUNC__ENCODEURL_INTEGER__ISKEY)))||is_error_pending()){
error_track_line(28346,82,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__VALID= -1ll ;
error_track_line(28346,82,"afterlastline.bm");
*_FUNC__ENCODEURL_INTEGER__ISKEY= -1ll ;
error_track_line(28346,82,"afterlastline.bm");
}
error_track_line(28346,83,"afterlastline.bm");
sc_ec_617_end:;
goto sc_8276_end;
}
sc_8276_end:;
error_track_line(28346,85,"afterlastline.bm");
if ((*_FUNC__ENCODEURL_INTEGER__VALID)||is_error_pending()){
error_track_line(28346,86,"afterlastline.bm");
qbs_set(_FUNC__ENCODEURL_STRING__TMP,qbs_add(_FUNC__ENCODEURL_STRING__TMP,func_chr(*_FUNC__ENCODEURL_INTEGER__A)));
qbs_cleanup(qbs_tmp_base,0);
error_track_line(28346,87,"afterlastline.bm");
}else{
error_track_line(28346,88,"afterlastline.bm");
qbs_set(_FUNC__ENCODEURL_STRING__TMP,qbs_add(qbs_add(_FUNC__ENCODEURL_STRING__TMP,qbs_new_txt_len("%",1)),qbs_right(qbs_add(qbs_new_txt_len("00",2),func_hex(*_FUNC__ENCODEURL_INTEGER__A,4)), 2 )));
qbs_cleanup(qbs_tmp_base,0);
error_track_line(28346,89,"afterlastline.bm");
}
error_track_line(28346,90,"afterlastline.bm");
fornext_continue_8273:;
}
fornext_exit_8273:;
error_track_line(28346,92,"afterlastline.bm");
qbs_set(_FUNC__ENCODEURL_STRING__ENCODEURL,_FUNC__ENCODEURL_STRING__TMP);
qbs_cleanup(qbs_tmp_base,0);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free472.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;
qbs_maketmp(_FUNC__ENCODEURL_STRING__ENCODEURL);return _FUNC__ENCODEURL_STRING__ENCODEURL;
}
