// File: /workspace/github_cpp_makefile_star2_O1/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, -0x50(%rbp)
leaq -0xc0(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x86b4(%rip), %rsi      # 0xe2b8
leaq 0x86b2(%rip), %rdx      # 0xe2bd
leaq -0xd0(%rbp), %r12
movq %r12, %rdi
callq 0x5178
leaq -0xb0(%rbp), %r15
leaq -0xa0(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x868b(%rip), %rsi      # 0xe2be
leaq 0x8689(%rip), %rdx      # 0xe2c3
movq %r15, %rdi
callq 0x5178
movb $0x1, %bl
movl $0x8, %r14d
leaq -0x48(%rbp), %r15
leaq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0xd8(%rbp,%r14), %rsi
movq -0xd0(%rbp,%r14), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x669c
movq %r15, %rdi
movq -0x50(%rbp), %rsi
callq 0x3040
movl %eax, %r12d
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5c99
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
testl %r12d, %r12d
je 0x5e05
addq $0x20, %r14
cmpq $0x48, %r14
setne %bl
jne 0x5c4e
movq 0xd312(%rip), %rdi      # 0x12fc8
leaq 0x84b5(%rip), %rsi      # 0xe172
movl $0x14, %edx
callq 0x31c0
movb %bl, -0x50(%rbp)
xorl %r12d, %r12d
leaq -0x48(%rbp), %r15
leaq -0x90(%rbp), %rbx
leaq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0xd0(%rbp,%r12), %rsi
movq -0xc8(%rbp,%r12), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x669c
movq %rbx, %rdi
leaq 0x8483(%rip), %rsi      # 0xe188
movq %r15, %r14
movq %r15, %rdx
callq 0x65fc
movq %rbx, %rdi
leaq 0x846d(%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 0x5d43
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x5d49
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 0xd259(%rip), %rdi      # 0x12fc8
callq 0x31c0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x5d8d
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x5da9
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5dc2
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
addq $0x20, %r12
cmpq $0x40, %r12
movq %r14, %r15
jne 0x5cd8
movq 0xd1ee(%rip), %rdi      # 0x12fc8
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x3170
movb -0x50(%rbp), %bl
movsbl %al, %esi
movq 0xd1d0(%rip), %rdi      # 0x12fc8
callq 0x3030
movq %rax, %rdi
callq 0x3110
movq $-0x40, %r14
movq -0x10(%r13), %rdi
cmpq %rdi, %r13
je 0x5e21
movq (%r13), %rsi
incq %rsi
callq 0x3190
addq $-0x20, %r13
addq $0x20, %r14
jne 0x5e0c
andb $0x1, %bl
movl %ebx, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x5e4d
movq %rax, %rbx
movq %r12, %r15
cmpq %r15, %r12
je 0x5f19
addq $-0x10, %r15
leaq -0xd0(%rbp), %r14
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x5e75
movq (%r15), %rsi
incq %rsi
callq 0x3190
leaq -0x20(%r15), %rax
addq $-0x10, %r15
cmpq %r14, %r15
movq %rax, %r15
jne 0x5e61
jmp 0x5f19
jmp 0x5ecf
jmp 0x5ecf
jmp 0x5ed4
movq %rax, %rbx
jmp 0x5eb1
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x5eb1
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x5ed7
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3190
jmp 0x5ed7
movq %rax, %rbx
jmp 0x5ef0
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5ef0
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
xorl %r14d, %r14d
movq -0xb0(%rbp,%r14), %rdi
leaq (%r14,%r13), %rax
cmpq %rdi, %rax
je 0x5f0f
movq (%rax), %rsi
incq %rsi
callq 0x3190
addq $-0x20, %r14
cmpq $-0x40, %r14
jne 0x5ef3
movq %rbx, %rdi
callq 0x32b0