#line 14815 "qb64pe.bas"
void SUB_APPENDRAWREDIMPRESERVE(int32*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF,qbs*_SUB_APPENDRAWREDIMPRESERVE_STRING_ARRAY_NAME,int32*_SUB_APPENDRAWREDIMPRESERVE_LONG_DIMENSION_COUNT,int32*_SUB_APPENDRAWREDIMPRESERVE_LONG_ELEMENT_BITS,qbs*_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT,int32*_SUB_APPENDRAWREDIMPRESERVE_LONG_UDT_INDEX,int32*_SUB_APPENDRAWREDIMPRESERVE_LONG_LAYOUT_MODE,int16*_SUB_APPENDRAWREDIMPRESERVE_INTEGER_BIT_ARRAY,int32*_SUB_APPENDRAWREDIMPRESERVE_LONG_REDIM_MODE){
#line 14815 "qb64pe.bas"
qbs *tqbs;
#line 14815 "qb64pe.bas"
ptrszint tmp_long;
#line 14815 "qb64pe.bas"
int32 tmp_fileno;
#line 14815 "qb64pe.bas"
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
#line 14815 "qb64pe.bas"
uint8 *tmp_mem_static_pointer=mem_static_pointer;
#line 14815 "qb64pe.bas"
uint32 tmp_cmem_sp=cmem_sp;
#line 14815 "qb64pe.bas"
#include "data12.txt"
#line 14815 "qb64pe.bas"
mem_lock *sf_mem_lock;
#line 14815 "qb64pe.bas"
new_mem_lock();
#line 14815 "qb64pe.bas"
sf_mem_lock=mem_lock_tmp;
#line 14815 "qb64pe.bas"
sf_mem_lock->type=3;
#line 14815 "qb64pe.bas"
libqb_check_stack();
#line 14815 "qb64pe.bas"
if (is_error_pending()) goto exit_subfunc;
#line 14822 "qb64pe.bas"
do{
#line 14822 "qb64pe.bas"
if(!qbevent)break;evnt(14822);}while(r);
#line 14824 "qb64pe.bas"
S_17398:;
#line 14824 "qb64pe.bas"
if ((-(*_SUB_APPENDRAWREDIMPRESERVE_LONG_REDIM_MODE== 2 ))||is_error_pending()){
#line 14824 "qb64pe.bas"
if(qbevent){evnt(14824);if(r)goto S_17398;}
#line 14825 "qb64pe.bas"
S_17399:;
#line 14825 "qb64pe.bas"
if ((*_SUB_APPENDRAWREDIMPRESERVE_INTEGER_BIT_ARRAY)||is_error_pending()){
#line 14825 "qb64pe.bas"
if(qbevent){evnt(14825);if(r)goto S_17399;}
#line 14828 "qb64pe.bas"
do{
#line 14828 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2018=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("tmp_long=(ptrszint)preserve_copy_count;",39));
#line 14828 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14828 "qb64pe.bas"
if(!qbevent)break;evnt(14828);}while(r);
#line 14829 "qb64pe.bas"
do{
#line 14829 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2019=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_add(qbs_add(qbs_add(qbs_add(qbs_new_txt_len("while(tmp_long--) setbits(",26),qbs__tostr((int32)(*_SUB_APPENDRAWREDIMPRESERVE_LONG_ELEMENT_BITS),NULL,0)),qbs_new_txt_len(",(uint8*)(preserve_new_ptr),tmp_long,(int64)getubits(",53)),qbs__tostr((int32)(*_SUB_APPENDRAWREDIMPRESERVE_LONG_ELEMENT_BITS),NULL,0)),qbs_new_txt_len(",(uint8*)(preserve_old_ptr),tmp_long));",39)));
#line 14829 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14829 "qb64pe.bas"
if(!qbevent)break;evnt(14829);}while(r);
#line 14830 "qb64pe.bas"
}else{
#line 14831 "qb64pe.bas"
do{
#line 14831 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2020=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_add(qbs_add(qbs_new_txt_len("if (preserve_copy_count) memcpy((void*)(preserve_new_ptr),(void*)(preserve_old_ptr),preserve_copy_count*",104),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT),qbs_new_txt_len(");",2)));
#line 14831 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14831 "qb64pe.bas"
if(!qbevent)break;evnt(14831);}while(r);
#line 14832 "qb64pe.bas"
}
#line 14833 "qb64pe.bas"
S_17405:;
#line 14833 "qb64pe.bas"
}else{
#line 14833 "qb64pe.bas"
if (-(*_SUB_APPENDRAWREDIMPRESERVE_LONG_REDIM_MODE== 3 )){
#line 14833 "qb64pe.bas"
if(qbevent){evnt(14833);if(r)goto S_17405;}
#line 14834 "qb64pe.bas"
S_17406:;
#line 14834 "qb64pe.bas"
if ((*_SUB_APPENDRAWREDIMPRESERVE_INTEGER_BIT_ARRAY)||is_error_pending()){
#line 14834 "qb64pe.bas"
if(qbevent){evnt(14834);if(r)goto S_17406;}
#line 14836 "qb64pe.bas"
do{
#line 14836 "qb64pe.bas"
qbs_set(_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC,qbs_add(qbs_add(qbs_add(qbs_add(qbs_new_txt_len("setbits(",8),qbs__tostr((int32)(*_SUB_APPENDRAWREDIMPRESERVE_LONG_ELEMENT_BITS),NULL,0)),qbs_new_txt_len(",(uint8*)(preserve_new_ptr),preserve_new_off,(int64)getubits(",61)),qbs__tostr((int32)(*_SUB_APPENDRAWREDIMPRESERVE_LONG_ELEMENT_BITS),NULL,0)),qbs_new_txt_len(",(uint8*)(preserve_old_ptr),preserve_old_off));",47)));
#line 14836 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14836 "qb64pe.bas"
if(!qbevent)break;evnt(14836);}while(r);
#line 14837 "qb64pe.bas"
}else{
#line 14838 "qb64pe.bas"
do{
#line 14838 "qb64pe.bas"
qbs_set(_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_new_txt_len("memcpy(((uint8*)(preserve_new_ptr))+preserve_new_off*",53),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT),qbs_new_txt_len(",((uint8*)(preserve_old_ptr))+preserve_old_off*",47)),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT),qbs_new_txt_len(",",1)),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT),qbs_new_txt_len(");",2)));
#line 14838 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14838 "qb64pe.bas"
if(!qbevent)break;evnt(14838);}while(r);
#line 14839 "qb64pe.bas"
}
#line 14840 "qb64pe.bas"
do{
#line 14840 "qb64pe.bas"
SUB_APPENDRETAINCOORDINATEWALK(_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF,_SUB_APPENDRAWREDIMPRESERVE_LONG_DIMENSION_COUNT,_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC);
#line 14840 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14840 "qb64pe.bas"
if(!qbevent)break;evnt(14840);}while(r);
#line 14841 "qb64pe.bas"
}
#line 14841 "qb64pe.bas"
}
#line 14843 "qb64pe.bas"
S_17413:;
#line 14843 "qb64pe.bas"
if (((-(*_SUB_APPENDRAWREDIMPRESERVE_LONG_UDT_INDEX> 0 ))&(-(*_SUB_APPENDRAWREDIMPRESERVE_LONG_LAYOUT_MODE!= 0 ))&(FUNC_UDTDYNHASMEMBERARRAYS(_SUB_APPENDRAWREDIMPRESERVE_LONG_UDT_INDEX,_SUB_APPENDRAWREDIMPRESERVE_LONG_LAYOUT_MODE)))||is_error_pending()){
#line 14843 "qb64pe.bas"
if(qbevent){evnt(14843);if(r)goto S_17413;}
#line 14847 "qb64pe.bas"
do{
#line 14847 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2021=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("if (preserve_old_flags&8){",26));
#line 14847 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14847 "qb64pe.bas"
if(!qbevent)break;evnt(14847);}while(r);
#line 14848 "qb64pe.bas"
S_17415:;
#line 14848 "qb64pe.bas"
if ((-(*_SUB_APPENDRAWREDIMPRESERVE_LONG_REDIM_MODE> 1 ))||is_error_pending()){
#line 14848 "qb64pe.bas"
if(qbevent){evnt(14848);if(r)goto S_17415;}
#line 14849 "qb64pe.bas"
do{
#line 14849 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2022=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_add(_SUB_APPENDRAWREDIMPRESERVE_STRING_ARRAY_NAME,qbs_new_txt_len("[0]=preserve_new_ptr;",21)));
#line 14849 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14849 "qb64pe.bas"
if(!qbevent)break;evnt(14849);}while(r);
#line 14850 "qb64pe.bas"
do{
#line 14850 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2023=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_add(_SUB_APPENDRAWREDIMPRESERVE_STRING_ARRAY_NAME,qbs_new_txt_len("[2]|=8;",7)));
#line 14850 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14850 "qb64pe.bas"
if(!qbevent)break;evnt(14850);}while(r);
#line 14851 "qb64pe.bas"
do{
#line 14851 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2024=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("tmp_long=(ptrszint)alloc_req_elems;",35));
#line 14851 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14851 "qb64pe.bas"
if(!qbevent)break;evnt(14851);}while(r);
#line 14852 "qb64pe.bas"
do{
#line 14852 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2025=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("while(tmp_long--){",18));
#line 14852 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14852 "qb64pe.bas"
if(!qbevent)break;evnt(14852);}while(r);
#line 14853 "qb64pe.bas"
do{
#line 14853 "qb64pe.bas"
qbs_set(_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC,qbs_new_txt_len("",0));
#line 14853 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14853 "qb64pe.bas"
if(!qbevent)break;evnt(14853);}while(r);
#line 14854 "qb64pe.bas"
do{
#line 14854 "qb64pe.bas"
SUB_APPENDDYNUDTDESCINIT(_SUB_APPENDRAWREDIMPRESERVE_STRING_ARRAY_NAME,_SUB_APPENDRAWREDIMPRESERVE_LONG_UDT_INDEX,&(pass2026= 0 ),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT,_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC,_SUB_APPENDRAWREDIMPRESERVE_LONG_LAYOUT_MODE);
#line 14854 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14854 "qb64pe.bas"
if(!qbevent)break;evnt(14854);}while(r);
#line 14855 "qb64pe.bas"
S_17422:;
#line 14855 "qb64pe.bas"
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
#line 14855 "qb64pe.bas"
if(qbevent){evnt(14855);if(r)goto S_17422;}
#line 14855 "qb64pe.bas"
do{
#line 14855 "qb64pe.bas"
goto exit_subfunc;
#line 14855 "qb64pe.bas"
if(!qbevent)break;evnt(14855);}while(r);
#line 14855 "qb64pe.bas"
}
#line 14856 "qb64pe.bas"
do{
#line 14856 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2027=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC);
#line 14856 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14856 "qb64pe.bas"
if(!qbevent)break;evnt(14856);}while(r);
#line 14857 "qb64pe.bas"
do{
#line 14857 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2028=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("}",1));
#line 14857 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14857 "qb64pe.bas"
if(!qbevent)break;evnt(14857);}while(r);
#line 14859 "qb64pe.bas"
S_17427:;
#line 14859 "qb64pe.bas"
if ((-(*_SUB_APPENDRAWREDIMPRESERVE_LONG_REDIM_MODE== 2 ))||is_error_pending()){
#line 14859 "qb64pe.bas"
if(qbevent){evnt(14859);if(r)goto S_17427;}
#line 14860 "qb64pe.bas"
do{
#line 14860 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2029=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("tmp_long=(ptrszint)preserve_copy_count;",39));
#line 14860 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14860 "qb64pe.bas"
if(!qbevent)break;evnt(14860);}while(r);
#line 14861 "qb64pe.bas"
do{
#line 14861 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2030=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("while(tmp_long--){",18));
#line 14861 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14861 "qb64pe.bas"
if(!qbevent)break;evnt(14861);}while(r);
#line 14862 "qb64pe.bas"
do{
#line 14862 "qb64pe.bas"
qbs_set(_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC,qbs_new_txt_len("",0));
#line 14862 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14862 "qb64pe.bas"
if(!qbevent)break;evnt(14862);}while(r);
#line 14863 "qb64pe.bas"
do{
#line 14863 "qb64pe.bas"
SUB_APPENDDYNUDTDESCCOPY(qbs_new_txt_len("preserve_new_ptr",16),qbs_new_txt_len("preserve_old_ptr",16),_SUB_APPENDRAWREDIMPRESERVE_LONG_UDT_INDEX,qbs_add(qbs_add(qbs_new_txt_len("(tmp_long*",10),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT),qbs_new_txt_len(")",1)),qbs_add(qbs_add(qbs_new_txt_len("(tmp_long*",10),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT),qbs_new_txt_len(")",1)),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT,_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC,_SUB_APPENDRAWREDIMPRESERVE_LONG_LAYOUT_MODE);
#line 14863 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14863 "qb64pe.bas"
if(!qbevent)break;evnt(14863);}while(r);
#line 14864 "qb64pe.bas"
S_17432:;
#line 14864 "qb64pe.bas"
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
#line 14864 "qb64pe.bas"
if(qbevent){evnt(14864);if(r)goto S_17432;}
#line 14864 "qb64pe.bas"
do{
#line 14864 "qb64pe.bas"
goto exit_subfunc;
#line 14864 "qb64pe.bas"
if(!qbevent)break;evnt(14864);}while(r);
#line 14864 "qb64pe.bas"
}
#line 14865 "qb64pe.bas"
do{
#line 14865 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2031=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC);
#line 14865 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14865 "qb64pe.bas"
if(!qbevent)break;evnt(14865);}while(r);
#line 14866 "qb64pe.bas"
do{
#line 14866 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2032=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("}",1));
#line 14866 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14866 "qb64pe.bas"
if(!qbevent)break;evnt(14866);}while(r);
#line 14867 "qb64pe.bas"
S_17437:;
#line 14867 "qb64pe.bas"
}else{
#line 14867 "qb64pe.bas"
if (-(*_SUB_APPENDRAWREDIMPRESERVE_LONG_REDIM_MODE== 3 )){
#line 14867 "qb64pe.bas"
if(qbevent){evnt(14867);if(r)goto S_17437;}
#line 14868 "qb64pe.bas"
do{
#line 14868 "qb64pe.bas"
qbs_set(_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC,qbs_new_txt_len("",0));
#line 14868 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14868 "qb64pe.bas"
if(!qbevent)break;evnt(14868);}while(r);
#line 14869 "qb64pe.bas"
do{
#line 14869 "qb64pe.bas"
SUB_APPENDDYNUDTDESCCOPY(qbs_new_txt_len("preserve_new_ptr",16),qbs_new_txt_len("preserve_old_ptr",16),_SUB_APPENDRAWREDIMPRESERVE_LONG_UDT_INDEX,qbs_add(qbs_add(qbs_new_txt_len("(preserve_new_off*",18),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT),qbs_new_txt_len(")",1)),qbs_add(qbs_add(qbs_new_txt_len("(preserve_old_off*",18),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT),qbs_new_txt_len(")",1)),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT,_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC,_SUB_APPENDRAWREDIMPRESERVE_LONG_LAYOUT_MODE);
#line 14869 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14869 "qb64pe.bas"
if(!qbevent)break;evnt(14869);}while(r);
#line 14870 "qb64pe.bas"
S_17440:;
#line 14870 "qb64pe.bas"
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
#line 14870 "qb64pe.bas"
if(qbevent){evnt(14870);if(r)goto S_17440;}
#line 14870 "qb64pe.bas"
do{
#line 14870 "qb64pe.bas"
goto exit_subfunc;
#line 14870 "qb64pe.bas"
if(!qbevent)break;evnt(14870);}while(r);
#line 14870 "qb64pe.bas"
}
#line 14871 "qb64pe.bas"
do{
#line 14871 "qb64pe.bas"
SUB_APPENDRETAINCOORDINATEWALK(_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF,_SUB_APPENDRAWREDIMPRESERVE_LONG_DIMENSION_COUNT,_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC);
#line 14871 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14871 "qb64pe.bas"
if(!qbevent)break;evnt(14871);}while(r);
#line 14872 "qb64pe.bas"
}
#line 14872 "qb64pe.bas"
}
#line 14873 "qb64pe.bas"
}
#line 14875 "qb64pe.bas"
do{
#line 14875 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2033=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("tmp_long=(ptrszint)preserve_old_total;",38));
#line 14875 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14875 "qb64pe.bas"
if(!qbevent)break;evnt(14875);}while(r);
#line 14876 "qb64pe.bas"
do{
#line 14876 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2034=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("while(tmp_long--){",18));
#line 14876 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14876 "qb64pe.bas"
if(!qbevent)break;evnt(14876);}while(r);
#line 14877 "qb64pe.bas"
do{
#line 14877 "qb64pe.bas"
qbs_set(_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC,qbs_new_txt_len("",0));
#line 14877 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14877 "qb64pe.bas"
if(!qbevent)break;evnt(14877);}while(r);
#line 14878 "qb64pe.bas"
do{
#line 14878 "qb64pe.bas"
SUB_APPENDDYNUDTDESCFREE(qbs_new_txt_len("preserve_old_ptr",16),_SUB_APPENDRAWREDIMPRESERVE_LONG_UDT_INDEX,&(pass2035= 0 ),_SUB_APPENDRAWREDIMPRESERVE_STRING_BYTES_PER_ELEMENT,_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC,_SUB_APPENDRAWREDIMPRESERVE_LONG_LAYOUT_MODE);
#line 14878 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14878 "qb64pe.bas"
if(!qbevent)break;evnt(14878);}while(r);
#line 14879 "qb64pe.bas"
S_17450:;
#line 14879 "qb64pe.bas"
if ((*__LONG_ERROR_HAPPENED)||is_error_pending()){
#line 14879 "qb64pe.bas"
if(qbevent){evnt(14879);if(r)goto S_17450;}
#line 14879 "qb64pe.bas"
do{
#line 14879 "qb64pe.bas"
goto exit_subfunc;
#line 14879 "qb64pe.bas"
if(!qbevent)break;evnt(14879);}while(r);
#line 14879 "qb64pe.bas"
}
#line 14880 "qb64pe.bas"
do{
#line 14880 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2036=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),_SUB_APPENDRAWREDIMPRESERVE_STRING_ACC);
#line 14880 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14880 "qb64pe.bas"
if(!qbevent)break;evnt(14880);}while(r);
#line 14881 "qb64pe.bas"
do{
#line 14881 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2037=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("}",1));
#line 14881 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14881 "qb64pe.bas"
if(!qbevent)break;evnt(14881);}while(r);
#line 14882 "qb64pe.bas"
do{
#line 14882 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2038=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("}",1));
#line 14882 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14882 "qb64pe.bas"
if(!qbevent)break;evnt(14882);}while(r);
#line 14883 "qb64pe.bas"
}
#line 14887 "qb64pe.bas"
do{
#line 14887 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2039=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("if (preserve_old_flags&4){",26));
#line 14887 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14887 "qb64pe.bas"
if(!qbevent)break;evnt(14887);}while(r);
#line 14888 "qb64pe.bas"
do{
#line 14888 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2040=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("cmem_dynamic_free((uint8*)(preserve_old_ptr));",46));
#line 14888 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14888 "qb64pe.bas"
if(!qbevent)break;evnt(14888);}while(r);
#line 14889 "qb64pe.bas"
do{
#line 14889 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2041=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("}else{",6));
#line 14889 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14889 "qb64pe.bas"
if(!qbevent)break;evnt(14889);}while(r);
#line 14890 "qb64pe.bas"
do{
#line 14890 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2042=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("free((void*)(preserve_old_ptr));",32));
#line 14890 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14890 "qb64pe.bas"
if(!qbevent)break;evnt(14890);}while(r);
#line 14891 "qb64pe.bas"
do{
#line 14891 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2043=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_new_txt_len("}",1));
#line 14891 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14891 "qb64pe.bas"
if(!qbevent)break;evnt(14891);}while(r);
#line 14892 "qb64pe.bas"
do{
#line 14892 "qb64pe.bas"
SUB_WRITEBUFLINE(&(pass2044=*_SUB_APPENDRAWREDIMPRESERVE_LONG_BUF),qbs_add(_SUB_APPENDRAWREDIMPRESERVE_STRING_ARRAY_NAME,qbs_new_txt_len("[0]=preserve_new_ptr;",21)));
#line 14892 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 14892 "qb64pe.bas"
if(!qbevent)break;evnt(14892);}while(r);
#line 14893 "qb64pe.bas"
exit_subfunc:;
#line 14893 "qb64pe.bas"
free_mem_lock(sf_mem_lock);
#line 14893 "qb64pe.bas"
#include "free12.txt"
#line 14893 "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 14893 "qb64pe.bas"
cmem_sp=tmp_cmem_sp;
#line 14893 "qb64pe.bas"
}
