// File: /workspace/github_cpp_makefile_star2_O3/rozpo[P]enemy/data/game/shop/Shop.cpp
// Function: Shop::print(int&, int, int&)
void Shop::print(int &gold, const int cost, int &recover)
{
    std::cout << "---\n"
              << name << " " << gold << "\n"
              << "---\n"
              << "[1] (" << std::setw(3) << cost << " gp)" << this->map_Choices[1] << "\n";
    for(int i = 2; i != this->map_Choices.size (); i++)
    {
        if(i == e_shop_recover)
            std::cout << "[" << i << "] (" << std::setw(3) << recover << " gp)" << this->map_Choices[i] << "\n";
        else
        std::cout << "[" << i << "] " << this->map_Choices[i] << '\n';
    }
    std::cout << "---\n" << "[0] " << this->map_Choices[0] << '\n';
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, 0x18(%rsp)
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
movq 0xa4b6(%rip), %r13      # 0x10fd0
leaq 0x4b67(%rip), %r12      # 0xb688
movl $0x4, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x3140
movq 0x30(%rbx), %rsi
movq 0x38(%rbx), %rdx
movq %r13, %rdi
callq 0x3140
movq %rax, %r13
leaq 0x4a82(%rip), %rsi      # 0xb5cd
movl $0x1, %edx
movq %rax, %rdi
callq 0x3140
movl (%r15), %esi
movq %r13, %rdi
callq 0x31b0
movq %rax, %r13
leaq 0x4b21(%rip), %r15      # 0xb68e
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3140
movl $0x4, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x3140
leaq 0x4c24(%rip), %rsi      # 0xb7b8
movl $0x5, %edx
movq %r13, %rdi
callq 0x3140
movq (%r13), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r13,%rax)
movq %r13, %rdi
movl %ebp, %esi
callq 0x31b0
movq %rax, %r12
leaq 0x4bf8(%rip), %rsi      # 0xb7be
movl $0x4, %edx
movq %rax, %rdi
callq 0x3140
leaq 0x24(%rsp), %rsi
movl $0x1, (%rsi)
movq %rbx, %rdi
callq 0x651a
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r12, %rdi
callq 0x3140
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3140
movl $0x2, 0x10(%rsp)
cmpq $0x2, 0x28(%rbx)
je 0x6d28
movl $0x2, %r14d
movq 0xa3ab(%rip), %r15      # 0x10fd0
leaq 0x4d6f(%rip), %r12      # 0xb99b
leaq 0x10(%rsp), %r13
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x3140
movl 0x10(%rsp), %esi
movq %r15, %rdi
callq 0x31b0
movq %rax, %rbp
cmpl $0x3, %r14d
jne 0x6ccc
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x4b55(%rip), %rsi      # 0xb7ba
callq 0x3140
movq (%rbp), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rbp,%rax)
movq 0x18(%rsp), %rax
movl (%rax), %esi
movq %rbp, %rdi
callq 0x31b0
movq %rax, %rbp
movl $0x4, %edx
movq %rax, %rdi
leaq 0x4b22(%rip), %rsi      # 0xb7be
callq 0x3140
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6d9e
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbp, %rdi
callq 0x3140
movl $0x1, %edx
movq %rax, %rdi
leaq 0x49c4(%rip), %rsi      # 0xb68e
jmp 0x6d0c
movl $0x2, %edx
movq %rbp, %rdi
leaq 0x4aea(%rip), %rsi      # 0xb7c5
callq 0x3140
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6d9e
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbp, %rdi
callq 0x3140
movb $0xa, 0xf(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0xf(%rsp), %rsi
callq 0x3140
movslq 0x10(%rsp), %r14
incq %r14
movl %r14d, 0x10(%rsp)
cmpq %r14, 0x28(%rbx)
jne 0x6c31
movq 0xa2a1(%rip), %r14      # 0x10fd0
leaq 0x4952(%rip), %rsi      # 0xb688
movl $0x4, %edx
movq %r14, %rdi
callq 0x3140
leaq 0x4a79(%rip), %rsi      # 0xb7c3
movl $0x4, %edx
movq %r14, %rdi
callq 0x3140
leaq 0x20(%rsp), %rsi
movl $0x0, (%rsi)
movq %rbx, %rdi
callq 0x651a
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r14, %rdi
callq 0x3140
leaq 0x17(%rsp), %rsi
movb $0xa, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x3140
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop