// File: /workspace/github_cpp_makefile_star2_O3/Wombozo[P]harmony/src/Interval.cpp
// Function: Interval::Interval(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Interval::Interval(const std::string &str) : name(str)
{
    if (!str.compare("minor second"))
    {
        type = 2;
        semitones = 1;
    }
    else if (!str.compare("major second"))
    {
        type = 2;
        semitones = 2;
    }
    else if (!str.compare("augmented second"))
    {
        type = 2;
        semitones = 3;
    }
    else if (!str.compare("diminished third"))
    {
        type = 3;
        semitones = 2;
    }
    else if (!str.compare("minor third"))
    {
        type = 3;
        semitones = 3;
    }
    else if (!str.compare("major third"))
    {
        type = 3;
        semitones = 4;
    }
    else if (!str.compare("augmented third"))
    {
        type = 3;
        semitones = 5;
    }
    else if (!str.compare("diminished fourth"))
    {
        type = 4;
        semitones = 4;
    }
    else if (!str.compare("perfect fourth"))
    {
        type = 4;
        semitones = 5;
    }
    else if (!str.compare("augmented fourth"))
    {
        type = 4;
        semitones = 6;
    }
    else if (!str.compare("diminished fifth"))
    {
        type = 5;
        semitones = 6;
    }
    else if (!str.compare("perfect fifth"))
    {
        type = 5;
        semitones = 7;
    }
    else if (!str.compare("augmented fifth"))
    {
        type = 5;
        semitones = 8;
    }
    else if (!str.compare("diminished sixth"))
    {
        type = 6;
        semitones = 7;
    }
    else if (!str.compare("minor sixth"))
    {
        type = 6;
        semitones = 8;
    }
    else if (!str.compare("major sixth"))
    {
        type = 6;
        semitones = 9;
    }
    else if (!str.compare("augmented sixth"))
    {
        type = 6;
        semitones = 10;
    }
    else if (!str.compare("diminished seventh"))
    {
        type = 7;
        semitones = 9;
    }
    else if (!str.compare("minor seventh"))
    {
        type = 7;
        semitones = 10;
    }
    else if (!str.compare("major seventh"))
    {
        type = 7;
        semitones = 11;
    }
    else
    {
        throw E_INTERVAL;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq (%rsi), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
callq 0x663a
leaq 0x6c12(%rip), %rsi      # 0xe18b
movq %r14, %rdi
callq 0x3070
testl %eax, %eax
je 0x7799
leaq 0x6c08(%rip), %rsi      # 0xe198
movq %r14, %rdi
callq 0x3070
movl $0x2, %r13d
testl %eax, %eax
je 0x77a7
leaq 0x6bf8(%rip), %rsi      # 0xe1a5
movq %r14, %rdi
callq 0x3070
testl %eax, %eax
je 0x77a1
leaq 0x6bf2(%rip), %rsi      # 0xe1b6
movq %r14, %rdi
callq 0x3070
testl %eax, %eax
je 0x77c4
leaq 0x6bec(%rip), %rsi      # 0xe1c7
movq %r14, %rdi
callq 0x3070
movl $0x3, %r12d
testl %eax, %eax
je 0x77cc
leaq 0x6bdb(%rip), %rsi      # 0xe1d3
movq %r14, %rdi
callq 0x3070
testl %eax, %eax
je 0x77d4
leaq 0x6bd0(%rip), %rsi      # 0xe1df
movq %r14, %rdi
callq 0x3070
movl $0x5, %r13d
testl %eax, %eax
je 0x77ad
leaq 0x6bc3(%rip), %rsi      # 0xe1ef
movq %r14, %rdi
callq 0x3070
movl $0x4, %r12d
testl %eax, %eax
je 0x77d4
leaq 0x6bb8(%rip), %rsi      # 0xe201
movq %r14, %rdi
callq 0x3070
testl %eax, %eax
je 0x77ad
leaq 0x6bb0(%rip), %rsi      # 0xe210
movq %r14, %rdi
callq 0x3070
movl $0x6, %r13d
testl %eax, %eax
je 0x77ad
leaq 0x6ba4(%rip), %rsi      # 0xe221
movq %r14, %rdi
callq 0x3070
movl $0x5, %r12d
testl %eax, %eax
je 0x77ad
leaq 0x6b98(%rip), %rsi      # 0xe232
movq %r14, %rdi
callq 0x3070
movl $0x7, %r13d
testl %eax, %eax
je 0x77ad
leaq 0x6b89(%rip), %rsi      # 0xe240
movq %r14, %rdi
callq 0x3070
testl %eax, %eax
je 0x77dc
leaq 0x6b82(%rip), %rsi      # 0xe250
movq %r14, %rdi
callq 0x3070
movl $0x6, %r12d
testl %eax, %eax
je 0x77ad
leaq 0x6b76(%rip), %rsi      # 0xe261
movq %r14, %rdi
callq 0x3070
testl %eax, %eax
je 0x77dc
leaq 0x6b6b(%rip), %rsi      # 0xe26d
movq %r14, %rdi
callq 0x3070
movl $0x9, %r13d
testl %eax, %eax
je 0x77ad
leaq 0x6b5a(%rip), %rsi      # 0xe279
movq %r14, %rdi
callq 0x3070
testl %eax, %eax
je 0x77e4
leaq 0x6b53(%rip), %rsi      # 0xe289
movq %r14, %rdi
callq 0x3070
movl $0x7, %r12d
testl %eax, %eax
je 0x77ad
leaq 0x6b4d(%rip), %rsi      # 0xe29c
movq %r14, %rdi
callq 0x3070
testl %eax, %eax
je 0x77e4
leaq 0x6b44(%rip), %rsi      # 0xe2aa
movq %r14, %rdi
callq 0x3070
movl $0xb, %r13d
testl %eax, %eax
je 0x77ad
movl $0x4, %edi
callq 0x30d0
movl $0x0, (%rax)
leaq 0xb0e9(%rip), %rsi      # 0x12878
movq %rax, %rdi
xorl %edx, %edx
callq 0x3290
movl $0x1, %r13d
jmp 0x77a7
movl $0x3, %r13d
movl $0x2, %r12d
movl %r12d, 0x20(%rbx)
movl %r13d, 0x24(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x3, %r12d
jmp 0x77ad
movl $0x3, %r13d
jmp 0x77ad
movl $0x4, %r13d
jmp 0x77ad
movl $0x8, %r13d
jmp 0x77ad
movl $0xa, %r13d
jmp 0x77ad
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x7802
movq (%r15), %rsi
incq %rsi
callq 0x3190
movq %r14, %rdi
callq 0x32b0