qbs* FUNC_MAKENMOUTPUTFILENAME(qbs*_FUNC_MAKENMOUTPUTFILENAME_STRING_LIBFILE,int32*_FUNC_MAKENMOUTPUTFILENAME_LONG_DYNAMIC){
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 "data130.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;
S_36823:;
if ((*_FUNC_MAKENMOUTPUTFILENAME_LONG_DYNAMIC)||is_error_pending()){
if(qbevent){evnt(28164,33,"build.bas");if(r)goto S_36823;}
do{
qbs_set(_FUNC_MAKENMOUTPUTFILENAME_STRING_DYN,qbs_new_txt_len("_dynamic",8));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28164,33,"build.bas");}while(r);
}else{
do{
qbs_set(_FUNC_MAKENMOUTPUTFILENAME_STRING_DYN,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28164,33,"build.bas");}while(r);
}
do{
qbs_set(_FUNC_MAKENMOUTPUTFILENAME_STRING_MAKENMOUTPUTFILENAME,qbs_add(qbs_add(qbs_add(qbs_add(__STRING_TMPDIR,qbs_new_txt_len("nm_output_",10)),FUNC_STRREPLACE(FUNC_STRREPLACE(_FUNC_MAKENMOUTPUTFILENAME_STRING_LIBFILE,__STRING1_PATHSEP,qbs_new_txt_len(".",1)),qbs_new_txt_len(":",1),qbs_new_txt_len(".",1))),_FUNC_MAKENMOUTPUTFILENAME_STRING_DYN),qbs_new_txt_len(".txt",4)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28164,35,"build.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free130.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_MAKENMOUTPUTFILENAME_STRING_MAKENMOUTPUTFILENAME);return _FUNC_MAKENMOUTPUTFILENAME_STRING_MAKENMOUTPUTFILENAME;
}
