// File: /workspace/github_cpp_makefile_star2_O3/Wombozo[P]harmony/src/utils.cpp
// Function: valid_user_type_scale_input(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool valid_user_type_scale_input(const std::string &str)
{
    std::string sscales[] = {"Major",
                             "Minor"};
    for (auto scale : sscales)
    {
        if (!scale.compare(str))
            return true;
    }
    std::cout << "Available answers : ";
    for (auto sscale : sscales)
    {
        std::cout << "| " + sscale + " | ";
    }
    std::cout << std::endl;
    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdi, %r14
leaq -0xc0(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x86cf(%rip), %rsi      # 0xe2b8
leaq 0x86cd(%rip), %rdx      # 0xe2bd
leaq -0xd0(%rbp), %rdi
callq 0x5178
leaq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x86a8(%rip), %rsi      # 0xe2be
leaq 0x86a6(%rip), %rdx      # 0xe2c3
callq 0x5178
movl $0x8, %r13d
leaq -0x48(%rbp), %r15
leaq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0xd8(%rbp,%r13), %rsi
movq -0xd0(%rbp,%r13), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x663a
movq %r15, %rdi
movq %r14, %rsi
callq 0x3040
movl %eax, %ebx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5c75
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
testl %ebx, %ebx
je 0x5ddd
addq $0x20, %r13
cmpq $0x48, %r13
jne 0x5c2c
movq 0xd33a(%rip), %rdi      # 0x12fc8
leaq 0x84dd(%rip), %rsi      # 0xe172
movl $0x14, %edx
callq 0x31c0
movl %ebx, -0x4c(%rbp)
xorl %r13d, %r13d
leaq -0x48(%rbp), %r15
leaq -0x90(%rbp), %rbx
leaq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0xd0(%rbp,%r13), %rsi
movq -0xc8(%rbp,%r13), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x663a
movq %rbx, %rdi
leaq 0x84ab(%rip), %rsi      # 0xe188
movq %r15, %r14
movq %r15, %rdx
callq 0x6599
movq %rbx, %rdi
leaq 0x8495(%rip), %rsi      # 0xe187
callq 0x32e0
leaq -0x60(%rbp), %rsi
movq %rsi, -0x70(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5d1b
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x5d21
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq 0xd281(%rip), %rdi      # 0x12fc8
callq 0x31c0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x5d65
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x5d81
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5d9a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
addq $0x20, %r13
cmpq $0x40, %r13
movq %r14, %r15
jne 0x5cb0
movq 0xd216(%rip), %rdi      # 0x12fc8
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x3170
movl -0x4c(%rbp), %ebx
movsbl %al, %esi
movq 0xd1f8(%rip), %rdi      # 0x12fc8
callq 0x3030
movq %rax, %rdi
callq 0x3110
movq $-0x40, %r14
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0x5dfa
movq (%r12), %rsi
incq %rsi
callq 0x3190
addq $-0x20, %r12
addq $0x20, %r14
jne 0x5de4
testl %ebx, %ebx
sete %al
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0xd0(%rbp), %rdi
cmpq %r15, %rdi
je 0x5ed1
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x3190
jmp 0x5ed1
jmp 0x5e87
jmp 0x5e87
jmp 0x5e8c
movq %rax, %rbx
jmp 0x5e69
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x5e69
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x5e8f
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3190
jmp 0x5e8f
movq %rax, %rbx
jmp 0x5ea8
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5ea8
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
xorl %r14d, %r14d
movq -0xb0(%rbp,%r14), %rdi
leaq (%r12,%r14), %rax
cmpq %rdi, %rax
je 0x5ec7
movq (%rax), %rsi
incq %rsi
callq 0x3190
addq $-0x20, %r14
cmpq $-0x40, %r14
jne 0x5eab
movq %rbx, %rdi
callq 0x32b0