#line 28228 "qb64pe.bas"
qbs* FUNC_NEWBYTEELEMENT(){
#line 28228 "qb64pe.bas"
qbs *tqbs;
#line 28228 "qb64pe.bas"
ptrszint tmp_long;
#line 28228 "qb64pe.bas"
int32 tmp_fileno;
#line 28228 "qb64pe.bas"
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
#line 28228 "qb64pe.bas"
uint8 *tmp_mem_static_pointer=mem_static_pointer;
#line 28228 "qb64pe.bas"
uint32 tmp_cmem_sp=cmem_sp;
#line 28228 "qb64pe.bas"
#include "data105.txt"
#line 28228 "qb64pe.bas"
mem_lock *sf_mem_lock;
#line 28228 "qb64pe.bas"
new_mem_lock();
#line 28228 "qb64pe.bas"
sf_mem_lock=mem_lock_tmp;
#line 28228 "qb64pe.bas"
sf_mem_lock->type=3;
#line 28228 "qb64pe.bas"
libqb_check_stack();
#line 28228 "qb64pe.bas"
if (is_error_pending()) goto exit_subfunc;
#line 28229 "qb64pe.bas"
do{
#line 28229 "qb64pe.bas"
qbs_set(_FUNC_NEWBYTEELEMENT_STRING_A,qbs_add(qbs_new_txt_len("byte_element_",13),qbs__tostr((int32)(FUNC_UNIQUENUMBER()),NULL,0)));
#line 28229 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 28229 "qb64pe.bas"
if(!qbevent)break;evnt(28229);}while(r);
#line 28230 "qb64pe.bas"
do{
#line 28230 "qb64pe.bas"
qbs_set(_FUNC_NEWBYTEELEMENT_STRING_NEWBYTEELEMENT,_FUNC_NEWBYTEELEMENT_STRING_A);
#line 28230 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 28230 "qb64pe.bas"
if(!qbevent)break;evnt(28230);}while(r);
#line 28231 "qb64pe.bas"
S_36607:;
#line 28231 "qb64pe.bas"
if ((*__LONG_USE_GLOBAL_BYTE_ELEMENTS)||is_error_pending()){
#line 28231 "qb64pe.bas"
if(qbevent){evnt(28231);if(r)goto S_36607;}
#line 28232 "qb64pe.bas"
do{
#line 28232 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass3452=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("byte_element_struct *",21),_FUNC_NEWBYTEELEMENT_STRING_A),qbs_new_txt_len("=(byte_element_struct*)malloc(12);",34)));
#line 28232 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 28232 "qb64pe.bas"
if(!qbevent)break;evnt(28232);}while(r);
#line 28233 "qb64pe.bas"
}else{
#line 28234 "qb64pe.bas"
do{
#line 28234 "qb64pe.bas"
SUB_WRITEBUFLINECPP(__LONG_DATATXTBUF,qbs_add(qbs_add(qbs_new_txt_len("byte_element_struct *",21),_FUNC_NEWBYTEELEMENT_STRING_A),qbs_new_txt_len("=NULL;",6)));
#line 28234 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 28234 "qb64pe.bas"
if(!qbevent)break;evnt(28234);}while(r);
#line 28235 "qb64pe.bas"
do{
#line 28235 "qb64pe.bas"
SUB_WRITEBUFLINECPP(__LONG_DATATXTBUF,qbs_add(qbs_add(qbs_new_txt_len("if (!",5),_FUNC_NEWBYTEELEMENT_STRING_A),qbs_new_txt_len("){",2)));
#line 28235 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 28235 "qb64pe.bas"
if(!qbevent)break;evnt(28235);}while(r);
#line 28236 "qb64pe.bas"
do{
#line 28236 "qb64pe.bas"
SUB_WRITEBUFLINECPP(__LONG_DATATXTBUF,qbs_add(qbs_add(qbs_add(qbs_add(qbs_new_txt_len("if ((mem_static_pointer+=12)<mem_static_limit) ",47),_FUNC_NEWBYTEELEMENT_STRING_A),qbs_new_txt_len("=(byte_element_struct*)(mem_static_pointer-12); else ",53)),_FUNC_NEWBYTEELEMENT_STRING_A),qbs_new_txt_len("=(byte_element_struct*)mem_static_malloc(12);",45)));
#line 28236 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 28236 "qb64pe.bas"
if(!qbevent)break;evnt(28236);}while(r);
#line 28237 "qb64pe.bas"
do{
#line 28237 "qb64pe.bas"
SUB_WRITEBUFLINECPP(__LONG_DATATXTBUF,qbs_new_txt_len("}",1));
#line 28237 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 28237 "qb64pe.bas"
if(!qbevent)break;evnt(28237);}while(r);
#line 28238 "qb64pe.bas"
}
#line 28239 "qb64pe.bas"
exit_subfunc:;
#line 28239 "qb64pe.bas"
free_mem_lock(sf_mem_lock);
#line 28239 "qb64pe.bas"
#include "free105.txt"
#line 28239 "qb64pe.bas"
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 28239 "qb64pe.bas"
cmem_sp=tmp_cmem_sp;
#line 28239 "qb64pe.bas"
qbs_maketmp(_FUNC_NEWBYTEELEMENT_STRING_NEWBYTEELEMENT);return _FUNC_NEWBYTEELEMENT_STRING_NEWBYTEELEMENT;
#line 28239 "qb64pe.bas"
}
