// File: /workspace/github_cpp_makefile_star2_O3/sagardoshi[P]NegotiationsEncounter/src/GameMaster.cpp
// Function: GameMaster::createTitle(char, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, bool)
void GameMaster::createTitle(char ch, int x, string text,
                             string &toAdd, bool print) {

    toAdd += string(WIDTH, ch) + "\n";
    centerText(text, toAdd);
    toAdd += string(WIDTH, ch) + "\n\n";

    if (print) cout << toAdd;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %r9d, %ebp
movq %r8, %rbx
movq %rcx, %r12
movl %esi, %r14d
movq %rdi, %r15
movslq 0x4(%rdi), %rsi
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x28(%rsp), %rdi
movl %r14d, %edx
callq 0x2270
movl %ebp, 0x24(%rsp)
leaq 0xba27(%rip), %rsi      # 0xf3fb
leaq 0x28(%rsp), %rdi
callq 0x23d0
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3a04
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x3a0b
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x20d0
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x3a4a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x3a61
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2210
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %r12
movq %r12, %rdi
callq 0x6a38
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x3d1e
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x3aa8
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2210
movslq 0x4(%r15), %rsi
leaq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %r15
movq %r15, (%rdi)
movsbl %r14b, %edx
callq 0x2270
leaq 0xb931(%rip), %rsi      # 0xf3fa
leaq 0x28(%rsp), %rdi
callq 0x23d0
movq %rbp, (%rsp)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x3af4
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x3afe
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq %rbp, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
callq 0x20d0
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x3b34
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
movl 0x24(%rsp), %ebp
je 0x3b4f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2210
testb %bpl, %bpl
je 0x3b67
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0x1146e(%rip), %rdi     # 0x14fd0
callq 0x2260
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x3b94
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
jmp 0x3b94
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
jne 0x3be3
jmp 0x3bf5
jmp 0x3bf2
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x3bf5
movq 0x58(%rsp), %rsi
jmp 0x3be8
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x3bd9
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2210
jmp 0x3bd9
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x3bf5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2210
jmp 0x3bf5
movq %rax, %rbx
movq %rbx, %rdi
callq 0x2390
nop