// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]Dsuite/Dsuite_common.cpp
// Function: prepareOutFileRootString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int, int)
string prepareOutFileRootString(const string& providedPrefix, const string& runName, const string& setsFileName, const int regionStart, const int regionLength) {
    string fileNameRootString; string outRoot; if (providedPrefix == "") { outRoot = stripExtension(setsFileName);} else { outRoot = providedPrefix; }
    if (regionStart == -1) { if (runName != "") fileNameRootString = outRoot + "_" + runName; else fileNameRootString = outRoot; }
    else fileNameRootString = outRoot+"_"+runName+"_"+numToString(regionStart)+"_"+numToString(regionStart+regionLength);
    return fileNameRootString;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movl %r9d, %ebp
movl %r8d, %r14d
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
xorl %eax, %eax
movb %al, 0x10(%rdi)
leaq 0x38(%rsp), %rcx
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x6da4(%rip), %rsi      # 0x38fd1
movq %r13, %rdi
callq 0x813d
testb %al, %al
je 0x32262
leaq 0x48(%rsp), %rdi
movq %r12, %rsi
callq 0xafca
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %r12
movq %r12, %rsi
callq 0x7500
movq %r12, %rdi
callq 0x7898
jmp 0x3226f
leaq 0x28(%rsp), %rdi
movq %r13, %rsi
callq 0x7240
cmpl $-0x1, %r14d
je 0x32399
leaq 0x468e(%rip), %rdx      # 0x3690e
leaq 0xa8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x106e3
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
movq %r15, %rdx
callq 0x106c4
leaq 0x465d(%rip), %rdx      # 0x3690e
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x1063e
leaq 0x88(%rsp), %rdi
movl %r14d, %esi
callq 0x1071b
leaq 0x108(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x1065d
leaq 0x4614(%rip), %rdx      # 0x3690e
leaq 0x8(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x1063e
addl %r14d, %ebp
leaq 0x68(%rsp), %rdi
movl %ebp, %esi
callq 0x1071b
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x1065d
leaq 0x48(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7500
movq %r14, %rdi
callq 0x7898
leaq 0x68(%rsp), %rdi
callq 0x7898
leaq 0x8(%rsp), %rdi
callq 0x7898
leaq 0x108(%rsp), %rdi
callq 0x7898
leaq 0x88(%rsp), %rdi
callq 0x7898
leaq 0xe8(%rsp), %rdi
callq 0x7898
leaq 0xc8(%rsp), %rdi
callq 0x7898
leaq 0xa8(%rsp), %rdi
jmp 0x323f1
leaq 0x6c31(%rip), %rsi      # 0x38fd1
movq %r15, %rdi
callq 0x117d6
testb %al, %al
je 0x32415
leaq 0x455b(%rip), %rdx      # 0x3690e
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x106e3
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x106c4
leaq 0x48(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7500
movq %r14, %rdi
callq 0x7898
leaq 0x8(%rsp), %rdi
callq 0x7898
leaq 0x28(%rsp), %rdi
callq 0x7898
movq %rbx, %rax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x7240
jmp 0x323f6
movq %rax, %r14
leaq 0x8(%rsp), %rdi
jmp 0x32499
jmp 0x324ac
jmp 0x324ac
movq %rax, %r14
leaq 0x68(%rsp), %rdi
callq 0x7898
jmp 0x32444
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x7898
jmp 0x32453
movq %rax, %r14
leaq 0x108(%rsp), %rdi
callq 0x7898
jmp 0x32465
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x7898
jmp 0x32477
movq %rax, %r14
leaq 0xe8(%rsp), %rdi
callq 0x7898
leaq 0xc8(%rsp), %rdi
callq 0x7898
leaq 0xa8(%rsp), %rdi
callq 0x7898
jmp 0x324af
movq %rax, %r14
jmp 0x32484
movq %rax, %r14
jmp 0x32491
jmp 0x324ac
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x7898
movq %rbx, %rdi
callq 0x7898
movq %r14, %rdi
callq 0x7750