#line 97 "internal/support/include/afterlastline.bm"
qbs* FUNC__DECODEURL(qbs*_FUNC__DECODEURL_STRING__URL){
#line 97 "internal/support/include/afterlastline.bm"
qbs *tqbs;
#line 97 "internal/support/include/afterlastline.bm"
ptrszint tmp_long;
#line 97 "internal/support/include/afterlastline.bm"
int32 tmp_fileno;
#line 97 "internal/support/include/afterlastline.bm"
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
#line 97 "internal/support/include/afterlastline.bm"
uint8 *tmp_mem_static_pointer=mem_static_pointer;
#line 97 "internal/support/include/afterlastline.bm"
uint32 tmp_cmem_sp=cmem_sp;
#line 97 "internal/support/include/afterlastline.bm"
#include "data510.txt"
#line 97 "internal/support/include/afterlastline.bm"
mem_lock *sf_mem_lock;
#line 97 "internal/support/include/afterlastline.bm"
new_mem_lock();
#line 97 "internal/support/include/afterlastline.bm"
sf_mem_lock=mem_lock_tmp;
#line 97 "internal/support/include/afterlastline.bm"
sf_mem_lock->type=3;
#line 97 "internal/support/include/afterlastline.bm"
libqb_check_stack();
#line 97 "internal/support/include/afterlastline.bm"
if (is_error_pending()) goto exit_subfunc;
#line 103 "internal/support/include/afterlastline.bm"
qbs_set(_FUNC__DECODEURL_STRING__TMP,qbs_new_txt_len("",0));
#line 103 "internal/support/include/afterlastline.bm"
qbs_cleanup(qbs_tmp_base,0);
#line 105 "internal/support/include/afterlastline.bm"
fornext_value7488= 1 ;
#line 105 "internal/support/include/afterlastline.bm"
fornext_finalvalue7488=_FUNC__DECODEURL_STRING__URL->len;
#line 105 "internal/support/include/afterlastline.bm"
fornext_step7488= 1 ;
#line 105 "internal/support/include/afterlastline.bm"
if (fornext_step7488<0) fornext_step_negative7488=1; else fornext_step_negative7488=0;
#line 105 "internal/support/include/afterlastline.bm"
if (is_error_pending()) goto fornext_error7488;
#line 105 "internal/support/include/afterlastline.bm"
goto fornext_entrylabel7488;
#line 105 "internal/support/include/afterlastline.bm"
while(1){
#line 105 "internal/support/include/afterlastline.bm"
fornext_value7488=fornext_step7488+(*_FUNC__DECODEURL_INTEGER__P);
#line 105 "internal/support/include/afterlastline.bm"
fornext_entrylabel7488:
#line 105 "internal/support/include/afterlastline.bm"
*_FUNC__DECODEURL_INTEGER__P=fornext_value7488;
#line 105 "internal/support/include/afterlastline.bm"
qbs_cleanup(qbs_tmp_base,0);
#line 105 "internal/support/include/afterlastline.bm"
if (fornext_step_negative7488){
#line 105 "internal/support/include/afterlastline.bm"
if (fornext_value7488<fornext_finalvalue7488) break;
#line 105 "internal/support/include/afterlastline.bm"
}else{
#line 105 "internal/support/include/afterlastline.bm"
if (fornext_value7488>fornext_finalvalue7488) break;
#line 105 "internal/support/include/afterlastline.bm"
}
#line 105 "internal/support/include/afterlastline.bm"
fornext_error7488:;
#line 106 "internal/support/include/afterlastline.bm"
*_FUNC__DECODEURL_INTEGER__A=qbs_asc(_FUNC__DECODEURL_STRING__URL,*_FUNC__DECODEURL_INTEGER__P);
#line 106 "internal/support/include/afterlastline.bm"
qbs_cleanup(qbs_tmp_base,0);
#line 108 "internal/support/include/afterlastline.bm"
if ((-(*_FUNC__DECODEURL_INTEGER__A!= 37ll ))||is_error_pending()){
#line 109 "internal/support/include/afterlastline.bm"
qbs_set(_FUNC__DECODEURL_STRING__TMP,qbs_add(_FUNC__DECODEURL_STRING__TMP,func_chr(*_FUNC__DECODEURL_INTEGER__A)));
#line 109 "internal/support/include/afterlastline.bm"
qbs_cleanup(qbs_tmp_base,0);
#line 110 "internal/support/include/afterlastline.bm"
}else{
#line 111 "internal/support/include/afterlastline.bm"
qbs_set(_FUNC__DECODEURL_STRING__TMP,qbs_add(_FUNC__DECODEURL_STRING__TMP,func_chr(qbr(qbs_val<long double>(qbs_add(qbs_new_txt_len("&H",2),func_mid(_FUNC__DECODEURL_STRING__URL,*_FUNC__DECODEURL_INTEGER__P+ 1 , 2 ,0|1))))& 255 )));
#line 111 "internal/support/include/afterlastline.bm"
qbs_cleanup(qbs_tmp_base,0);
#line 112 "internal/support/include/afterlastline.bm"
*_FUNC__DECODEURL_INTEGER__P=*_FUNC__DECODEURL_INTEGER__P+ 2 ;
#line 113 "internal/support/include/afterlastline.bm"
}
#line 114 "internal/support/include/afterlastline.bm"
fornext_continue_7487:;
#line 114 "internal/support/include/afterlastline.bm"
}
#line 114 "internal/support/include/afterlastline.bm"
fornext_exit_7487:;
#line 116 "internal/support/include/afterlastline.bm"
qbs_set(_FUNC__DECODEURL_STRING__DECODEURL,_FUNC__DECODEURL_STRING__TMP);
#line 116 "internal/support/include/afterlastline.bm"
qbs_cleanup(qbs_tmp_base,0);
#line 117 "internal/support/include/afterlastline.bm"
exit_subfunc:;
#line 117 "internal/support/include/afterlastline.bm"
free_mem_lock(sf_mem_lock);
#line 117 "internal/support/include/afterlastline.bm"
#include "free510.txt"
#line 117 "internal/support/include/afterlastline.bm"
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;
#line 117 "internal/support/include/afterlastline.bm"
cmem_sp=tmp_cmem_sp;
#line 117 "internal/support/include/afterlastline.bm"
qbs_maketmp(_FUNC__DECODEURL_STRING__DECODEURL);return _FUNC__DECODEURL_STRING__DECODEURL;
#line 117 "internal/support/include/afterlastline.bm"
}
