void SUB_CONVBUFTOLNXMACEOL(int16*_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE){
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 "data196.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
libqb_check_stack();
if (is_error_pending()) goto exit_subfunc;
do{
if(!qbevent)break;evnt(28168,829,"simplebuffer.bm");}while(r);
S_38832:;
if ((~(FUNC_CHECKHANDLE(_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE)))||is_error_pending()){
if(qbevent){evnt(28168,831,"simplebuffer.bm");if(r)goto S_38832;}
do{
error( 258 );
if(!qbevent)break;evnt(28168,831,"simplebuffer.bm");}while(r);
do{
close_program=1;
end();
if(!qbevent)break;evnt(28168,831,"simplebuffer.bm");}while(r);
}
do{
*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF=*_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE* 106 ;
if(!qbevent)break;evnt(28168,832,"simplebuffer.bm");}while(r);
S_38837:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(func_mid(((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 1 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5])])), 9 , 4 ,0|1),qbs_new_txt_len("EolL",4))))||is_error_pending()){
if(qbevent){evnt(28168,834,"simplebuffer.bm");if(r)goto S_38837;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28168,834,"simplebuffer.bm");}while(r);
}
S_38840:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_equal(func_mid(((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 1 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5])])), 9 , 4 ,0|1),qbs_new_txt_len("EolN",4)))&(-(((int32)(FUNC_BUFEOLSEQ(_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE))->len)== 1 ))))||is_error_pending()){
if(qbevent){evnt(28168,835,"simplebuffer.bm");if(r)goto S_38840;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28168,835,"simplebuffer.bm");}while(r);
}
do{
tmp_long=array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 1 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[tmp_long])),qbs_add(((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 1 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5])])),func_chr( 16 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28168,837,"simplebuffer.bm");}while(r);
S_38844:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal((func_mid(((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 0 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5])])),FUNC_GETBUFPOS(_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE), 2 ,0|1)),(qbs_add(func_chr( 13 ),func_chr( 10 ))))))||is_error_pending()){
if(qbevent){evnt(28168,838,"simplebuffer.bm");if(r)goto S_38844;}
do{
*_SUB_CONVBUFTOLNXMACEOL_LONG_RES=FUNC_SEEKBUF(_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE,&(pass4648= 1 ),&(pass4649= -23ll ));
if(!qbevent)break;evnt(28168,839,"simplebuffer.bm");}while(r);
}
do{
sub_mid(((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 2 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5])])), 101 * 4 , 4 ,func_mid(((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 1 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5])])), 1 , 4 ,0|1),1);
if(!qbevent)break;evnt(28168,841,"simplebuffer.bm");}while(r);
do{
sub_mid(((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 4 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5])])), 101 * 4 , 4 ,l2string( 2 ),1);
if(!qbevent)break;evnt(28168,842,"simplebuffer.bm");}while(r);
do{
tmp_long=array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 101 + 4 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[tmp_long])),qbs_add(func_chr( 13 ),func_chr( 10 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28168,842,"simplebuffer.bm");}while(r);
do{
*_SUB_CONVBUFTOLNXMACEOL_LONG_RES=FUNC_SEEKBUF(_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE,&(pass4650= 0 ),&(pass4651= -22ll ));
if(!qbevent)break;evnt(28168,844,"simplebuffer.bm");}while(r);
S_38851:;
do{
if(qbevent){evnt(28168,845,"simplebuffer.bm");if(r)goto S_38851;}
do{
*_SUB_CONVBUFTOLNXMACEOL_LONG_PO=FUNC_FINDBUFFWD(_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE,&(pass4653= 101 ),&(pass4654= 0ll ),&(pass4655= 0ll ));
if(!qbevent)break;evnt(28168,846,"simplebuffer.bm");}while(r);
S_38853:;
if ((-(*_SUB_CONVBUFTOLNXMACEOL_LONG_PO> 0 ))||is_error_pending()){
if(qbevent){evnt(28168,847,"simplebuffer.bm");if(r)goto S_38853;}
do{
SUB_DELETEBUFRAWDATA(_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE,&(pass4656= 1 ));
if(!qbevent)break;evnt(28168,847,"simplebuffer.bm");}while(r);
}
S_38856:;
dl_continue_4652:;
}while((!(-(*_SUB_CONVBUFTOLNXMACEOL_LONG_PO== 0 )))&&(!is_error_pending()));
dl_exit_4652:;
if(qbevent){evnt(28168,848,"simplebuffer.bm");if(r)goto S_38856;}
do{
sub_mid(((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 1 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5])])), 9 , 4 ,qbs_new_txt_len("EolL",4),1);
if(!qbevent)break;evnt(28168,849,"simplebuffer.bm");}while(r);
do{
*_SUB_CONVBUFTOLNXMACEOL_LONG_RES=FUNC_SEEKBUF(_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE,&(pass4657= 0 ),&(pass4658= 101 ));
if(!qbevent)break;evnt(28168,851,"simplebuffer.bm");}while(r);
do{
*_SUB_CONVBUFTOLNXMACEOL_LONG_RES=FUNC_REMOVEBUFFIND(_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE,&(pass4659= 101 ));
if(!qbevent)break;evnt(28168,852,"simplebuffer.bm");}while(r);
do{
*_SUB_CONVBUFTOLNXMACEOL_LONG_RES=FUNC_REMOVEBUFMARK(_SUB_CONVBUFTOLNXMACEOL_INTEGER_HANDLE,&(pass4660= 101 ));
if(!qbevent)break;evnt(28168,853,"simplebuffer.bm");}while(r);
do{
tmp_long=array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 1 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[tmp_long])),qbs_left(((qbs*)(((uint64*)(__ARRAY_STRING_SIMPLEBUFFER_ARRAY[0]))[array_check((*_SUB_CONVBUFTOLNXMACEOL_LONG_BUF+ 1 )-__ARRAY_STRING_SIMPLEBUFFER_ARRAY[4],__ARRAY_STRING_SIMPLEBUFFER_ARRAY[5])])), 16 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28168,854,"simplebuffer.bm");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free196.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;
}
