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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movb 0x68(%rsi), %bpl
movq 0x7f26(%rip), %rdi      # 0xbfd0
leaq 0x2169(%rip), %rsi      # 0x621a
callq 0x2150
cmpb $0x1, %bpl
jne 0x411a
callq 0x50e8
leaq 0x4(%rsp), %r15
movl %eax, (%r15)
pushq $0x1
popq %rsi
pushq $0x7
popq %rdx
movq %r15, %rdi
callq 0x3650
movq 0x7ef2(%rip), %rdi      # 0xbfd0
callq 0x20b0
movl (%r15), %eax
decl %eax
cmpl $0x5, %eax
ja 0x4263
leaq 0x2650(%rip), %rcx      # 0x6748
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x213b(%rip), %rsi      # 0x6243
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
callq 0x50e8
leaq 0x4(%rsp), %r14
movl %eax, (%r14)
pushq $0x1
popq %rsi
pushq $0x6
popq %rdx
movq %r14, %rdi
callq 0x3650
movq 0x7e94(%rip), %rdi      # 0xbfd0
callq 0x20b0
movl (%r14), %eax
decl %eax
cmpl $0x4, %eax
ja 0x41dc
leaq 0x25de(%rip), %rcx      # 0x6734
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x20dd(%rip), %rsi      # 0x6243
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
leaq 0x20d5(%rip), %rsi      # 0x6254
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
leaq 0x20b6(%rip), %rsi      # 0x624e
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
leaq 0x235e(%rip), %rsi      # 0x650f
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
leaq 0x207f(%rip), %rsi      # 0x6249
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
leaq 0x2077(%rip), %rsi      # 0x625a
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
leaq 0x2058(%rip), %rsi      # 0x6254
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
leaq 0x203c(%rip), %rsi      # 0x624e
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
leaq 0x22e7(%rip), %rsi      # 0x650f
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
leaq 0x200b(%rip), %rsi      # 0x6249
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
leaq 0x2006(%rip), %rsi      # 0x625a
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
jmp 0x427c
movb $0x0, 0x68(%r14)
leaq 0x25aa(%rip), %rsi      # 0x6819
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x2968
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x42a2
jmp 0x42a2
jmp 0x42a2
jmp 0x42a2
jmp 0x42a2
jmp 0x42a2
jmp 0x42a2
jmp 0x42a2
jmp 0x42a2
jmp 0x42a2
jmp 0x42a2
jmp 0x42a2
movq %rax, %rdi
callq 0x2230
nop