// File: /workspace/github_cpp_makefile_star2_O3/venGaza[P]starwars/src/Infirmary.cpp
// Function: Infirmary::getChoice[abi:cxx11]()
string Infirmary::getChoice() {
    if (medPodAvail){
        cout << "Please select a choice (enter integer): ";
        int choice = getInteger();
        validate(choice, 1, 5);
        cout << endl;
        
        if (choice == 1) {
            return "east";
        } else if (choice == 2) {
            return "west";
        } else if (choice == 3) {
            return "items";
        } else if (choice == 4) {
            return "look";
        } else {
            medPodAvail = false;
            return "medpod";
        }
    } else {
        cout << "Please select a choice (enter integer): ";
        int choice = getInteger();
        validate(choice, 1, 4);
        cout << endl;
        
        if (choice == 1) {
            return "east";
        } else if (choice == 2) {
            return "west";
        } else if (choice == 3) {
            return "items";
        } else {
            return "look";
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movb 0x68(%rsi), %bpl
movq 0x9ee5(%rip), %r14      # 0xdfd0
leaq 0x4128(%rip), %rsi      # 0x821a
movl $0x28, %edx
movq %r14, %rdi
callq 0x2160
cmpb $0x1, %bpl
jne 0x4191
callq 0x678c
leaq 0xc(%rsp), %r12
movl %eax, (%r12)
movq %r12, %rdi
movl $0x1, %esi
movl $0x5, %edx
callq 0x3d90
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movl (%r12), %eax
decl %eax
cmpl $0x3, %eax
ja 0x42b6
leaq 0x4486(%rip), %rcx      # 0x85ec
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x40cc(%rip), %rsi      # 0x8249
leaq 0x40c9(%rip), %rdx      # 0x824d
movq %rbx, %rdi
callq 0x2b74
jmp 0x42d8
callq 0x678c
leaq 0x8(%rsp), %r15
movl %eax, (%r15)
movq %r15, %rdi
movl $0x1, %esi
movl $0x4, %edx
callq 0x3d90
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movl (%r15), %eax
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
cmpl $0x3, %eax
je 0x4226
cmpl $0x2, %eax
je 0x420b
cmpl $0x1, %eax
jne 0x4241
leaq 0x4052(%rip), %rsi      # 0x8249
leaq 0x404f(%rip), %rdx      # 0x824d
movq %rbx, %rdi
callq 0x2b74
jmp 0x42d8
leaq 0x42fd(%rip), %rsi      # 0x850f
leaq 0x42fa(%rip), %rdx      # 0x8513
movq %rbx, %rdi
callq 0x2b74
jmp 0x42d8
leaq 0x4027(%rip), %rsi      # 0x8254
leaq 0x4025(%rip), %rdx      # 0x8259
movq %rbx, %rdi
callq 0x2b74
jmp 0x42d8
leaq 0x4012(%rip), %rsi      # 0x825a
leaq 0x400f(%rip), %rdx      # 0x825e
movq %rbx, %rdi
callq 0x2b74
jmp 0x42d8
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x3fed(%rip), %rsi      # 0x8254
leaq 0x3feb(%rip), %rdx      # 0x8259
movq %rbx, %rdi
callq 0x2b74
jmp 0x42d8
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x3fd4(%rip), %rsi      # 0x825a
leaq 0x3fd1(%rip), %rdx      # 0x825e
movq %rbx, %rdi
callq 0x2b74
jmp 0x42d8
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x426a(%rip), %rsi      # 0x850f
leaq 0x4267(%rip), %rdx      # 0x8513
movq %rbx, %rdi
callq 0x2b74
jmp 0x42d8
movb $0x0, 0x68(%r15)
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x43dd(%rip), %rsi      # 0x86a6
leaq 0x43dc(%rip), %rdx      # 0x86ac
movq %rbx, %rdi
callq 0x2b74
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x42f8
jmp 0x42f8
jmp 0x42f8
jmp 0x42f8
jmp 0x42f8
jmp 0x42f8
jmp 0x42f8
jmp 0x42f8
movq %rax, %rdi
callq 0x2220