LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/vsklad[P]cgen/./bal/io/textreader.hpp
// Function: TextReader::read_sint32()
inline int32_t read_sint32() {
        bool is_negative = is_symbol('-');
        if (is_negative) {
            skip_symbol();
        };
        int64_t result = read_uint32();
        if (is_negative) result = -result;
        
        if (result > INT32_MAX || result < INT32_MIN) {
            parse_error("The signed int 32 bit value is out of bounds");
        };
        return (int32_t)result;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
callq 0x1eae0
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0x3c848
movq 0x8(%rbx), %rcx
movq 0x18(%rbx), %rdx
cmpb $0x2d, (%rdx,%rcx)
sete %r15b
jmp 0x3c84b
xorl %r15d, %r15d
testq %rax, %rax
je 0x3c868
testb %r15b, %r15b
je 0x3c868
incq 0x8(%rbx)
movq $0x0, 0x10(%rbx)
movl $0x0, 0x40(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x1d7d8
movl %eax, %eax
movq %rax, %r14
negq %r14
testb %r15b, %r15b
cmoveq %rax, %r14
movslq %r14d, %rax
cmpq %r14, %rax
je 0x3c8ca
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x102c6(%rip), %rsi     # 0x4cb64
leaq 0x102eb(%rip), %rdx     # 0x4cb90
leaq -0x40(%rbp), %r15
movq %r15, %rdi
callq 0x1f29e
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1de0a
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x3c8ca
callq 0xc280
movl %r14d, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x3c8eb
callq 0xc280
movq %rbx, %rdi
callq 0xc4e0
nop
// File: /workspace/github_cpp_makefile_star2_O1/vsklad[P]cgen/./bal/formula/formula.cpp
// Function: bal::Formula::initialize()
void Formula::initialize() {
        VariableGenerator::reset(0);
        named_variables_.clear();
        parameters_.clear();
        
        add_max_args_ = 0; // 0 means default value
        xor_max_args_ = 0; // 0 means default value
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x0, 0x8(%rdi)
addq $0x40, %rdi
callq 0x3dc22
leaq 0x10(%rbx), %rdi
callq 0x3dc5a
movq $0x0, 0x70(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/vsklad[P]cgen/./bal/formula/formula.cpp
// Function: bal::Formula::add_named_variable(char const*, bal::VariablesArray const&)
void Formula::add_named_variable(const char* const name, const VariablesArray& value) {
        // a copy of value is made here; overwrites any previous value
        auto it = named_variables_.find(name);
        if (it == named_variables_.end()) {
            named_variables_.insert({name, value});
        } else {
            it->second = value;
        };
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %rbx
movq %rdi, %r15
movq %rsi, -0x38(%rbp)
leaq -0x78(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0xc0f0
leaq 0x40(%r15), %r14
leaq -0x78(%rbp), %rsi
movq %r14, %rdi
callq 0x3dc92
movq %rax, %r12
leaq -0x68(%rbp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x3cef5
callq 0xc280
addq $0x48, %r15
cmpq %r15, %r12
je 0x3cf17
movq %r12, %rdi
addq $0x40, %rdi
movq %rbx, %rsi
callq 0xfa68
movl 0x1c(%rbx), %eax
movl %eax, 0x5c(%r12)
jmp 0x3cf6e
leaq -0x78(%rbp), %r15
leaq -0x38(%rbp), %rsi
movq %r15, %rdi
movq %rbx, %rdx
callq 0x3d784
movq %r14, %rdi
movq %r15, %rsi
callq 0x3dd30
cmpl $0x0, -0x40(%rbp)
je 0x3cf59
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x3cf51
callq 0xc350
movq $0x0, -0x58(%rbp)
xorl %eax, %eax
movl %eax, -0x50(%rbp)
movl %eax, -0x40(%rbp)
movl $0x0, -0x50(%rbp)
movq -0x78(%rbp), %rdi
cmpq %r13, %rdi
je 0x3cf6e
callq 0xc280
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x78(%rbp), %rdi
callq 0x3d7f2
jmp 0x3cfa5
movq %rax, %rbx
leaq -0x68(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3cfa5
callq 0xc280
jmp 0x3cfa5
movq %rax, %rbx
movq %rbx, %rdi
callq 0xc4e0
nop
// File: /workspace/github_cpp_makefile_star2_O1/vsklad[P]cgen/./bal/formula/formula.cpp
// Function: bal::Formula::is_variable_named(unsigned int) const
bool Formula::is_variable_named(const variableid_t variable_id) const {
        for (auto vit = named_variables_.begin(); vit != named_variables_.end(); vit++) {
            if (vit->second.contains(variable_id)) {
                return true;
            };
        };
        return false;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
movq 0x58(%rdi), %rdi
addq $0x48, %r14
cmpq %r14, %rdi
setne %al
je 0x3d29a
movl %esi, %ebx
movl 0x48(%rdi), %ecx
testq %rcx, %rcx
setne %dl
je 0x3d286
movq 0x40(%rdi), %rdx
movl (%rdx), %esi
shrl %esi
decl %esi
cmpl %ebx, %esi
je 0x3d29a
movl $0x1, %r8d
movq %r8, %rsi
cmpq %r8, %rcx
je 0x3d280
movl (%rdx,%rsi,4), %r9d
shrl %r9d
decl %r9d
leaq 0x1(%rsi), %r8
cmpl %ebx, %r9d
jne 0x3d265
cmpq %rcx, %rsi
setb %dl
testb %dl, %dl
jne 0x3d29a
callq 0xc330
movq %rax, %rdi
cmpq %r14, %rax
setne %al
jne 0x3d246
andb $0x1, %al
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/vsklad[P]cgen/./bal/formula/formula.cpp
// Function: bal::Formula::named_variable_update_unassigned(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bal::VariablesArray const&)
variables_size_t Formula::named_variable_update_unassigned(const std::string& name, const VariablesArray& source) {
        auto it = named_variables_.find(name);
        if (it != named_variables_.end()) {
            _assert_level_1(source.size() == it->second.size());
            const bal::literalid_t* const p_src = source.data();
            bal::literalid_t* const p_dst = it->second.data();
            variables_size_t changes_count = 0;
            
            for (auto i = 0; i < source.size(); i++) {
                if (literal_t__is_unassigned(p_dst[i]) && !literal_t__is_unassigned(p_src[i])) {
                    p_dst[i] = p_src[i];
                    changes_count++;
                };
            };
            
            return changes_count;
        } else {
            return VARIABLEID_ERROR;
        };
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
addq $0x40, %rdi
callq 0x3dc92
addq $0x48, %r14
cmpq %r14, %rax
je 0x3d38c
movl 0x8(%rbx), %ecx
cmpl 0x48(%rax), %ecx
jne 0x3d39a
cmpl $0x0, 0x8(%rbx)
je 0x3d393
movq (%rbx), %rcx
movq 0x40(%rax), %rdx
xorl %esi, %esi
xorl %eax, %eax
cmpl $-0x1, (%rdx,%rsi,4)
jne 0x3d37f
movl (%rcx,%rsi,4), %edi
cmpl $-0x1, %edi
je 0x3d37f
movl %edi, (%rdx,%rsi,4)
incl %eax
incq %rsi
movl 0x8(%rbx), %edi
cmpq %rdi, %rsi
jb 0x3d36c
jmp 0x3d395
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
jmp 0x3d395
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x10432(%rip), %rdi     # 0x4d7d3
leaq 0x1044e(%rip), %rsi     # 0x4d7f6
leaq 0x10461(%rip), %rcx     # 0x4d810
movl $0x44, %edx
callq 0xc180
nop
// File: /workspace/github_cpp_makefile_star2_O1/vsklad[P]cgen/./bal/formula/formula.cpp
// Function: bal::Formula::named_variables_assign_negations(bal::VariablesArray&) const
void Formula::named_variables_assign_negations(VariablesArray& destination) const {
        literalid_t* data = destination.data();
        // this assigns any negations into variables_
        for (auto vit = named_variables_.begin(); vit != named_variables_.end(); vit++) {
            const literalid_t* const template_ = vit->second.data();
            for (auto j = 0; j < vit->second.size(); j++) {
                if (literal_t__is_variable(template_[j])) {
                    const variableid_t variable_id = literal_t__variable_id(template_[j]);
                    assert(variable_id < destination.size());
                    data[variable_id] = template_[j];
                };
            };
        };
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x58(%rdi), %rax
addq $0x48, %r14
cmpq %r14, %rax
je 0x3d41a
movq %rsi, %rbx
movq (%rsi), %r15
cmpl $0x0, 0x48(%rax)
je 0x3d40d
movq 0x40(%rax), %rcx
xorl %edx, %edx
movl (%rcx,%rdx,4), %esi
leal 0x1(%rsi), %edi
cmpl $0x3, %edi
jb 0x3d402
movl %esi, %edi
shrl %edi
decl %edi
cmpl 0x8(%rbx), %edi
jae 0x3d425
movl %edi, %edi
movl %esi, (%r15,%rdi,4)
incq %rdx
movl 0x48(%rax), %esi
cmpq %rsi, %rdx
jb 0x3d3e6
movq %rax, %rdi
callq 0xc330
cmpq %r14, %rax
jne 0x3d3da
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10451(%rip), %rdi     # 0x4d87d
leaq 0x103c3(%rip), %rsi     # 0x4d7f6
leaq 0x10464(%rip), %rcx     # 0x4d89e
movl $0x61, %edx
callq 0xc180
// File: /workspace/github_cpp_makefile_star2_O1/vsklad[P]cgen/main.cpp
// Function: print_help()
void print_help() {
    print_version();
    std::cout << APP_DESCRIPTION << std::endl;
    std::cout << APP_USAGE_SHORT;
    std::cout << APP_USAGE_LONG;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
callq 0x3e250
movq 0x20cd0(%rip), %rbx     # 0x5efa8
leaq 0xf6e3(%rip), %rsi      # 0x4d9c2
movl $0x65, %edx
movq %rbx, %rdi
callq 0xc320
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xc2a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0xc030
movq %rax, %rdi
callq 0xc1a0
leaq 0xf70e(%rip), %rsi      # 0x4da28
movl $0x105, %edx            # imm = 0x105
movq %rbx, %rdi
callq 0xc320
leaq 0xf800(%rip), %rsi      # 0x4db2e
movl $0x2a6, %edx            # imm = 0x2A6
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xc320
// File: /workspace/github_cpp_makefile_star2_O1/vsklad[P]cgen/./bal/variables/variablesio.cpp
// Function: bal::write_sequence_parameters_(std::ostream&, unsigned long, int)
void write_sequence_parameters_(std::ostream& stream,
                                    const size_t sequence_size, const int sequence_step) {
        if (sequence_size > 1) {
            stream << "/" << std::dec << sequence_size;
            if (sequence_step != 0) {
                stream << "/" << std::dec << sequence_step;
            };
        };
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpq $0x2, %rsi
jb 0x3f43e
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x298f(%rip), %rsi      # 0x41d5e
movl $0x1, %edx
callq 0xc320
movq (%r14), %rax
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%r14,%rax)
movq %r14, %rdi
movq %r15, %rsi
callq 0xc190
testl %ebx, %ebx
je 0x3f43e
leaq 0x2958(%rip), %rsi      # 0x41d5e
movl $0x1, %edx
movq %r14, %rdi
callq 0xc320
movq (%r14), %rax
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%r14,%rax)
movq %r14, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xc4c0
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/vividvilla[P]hackerrank/src/oobleck-boxes.cpp
// Function: getWays(int, int)
int getWays(int n, int m) {
    vector<int> w = vector<int>(n + 1, 0);

    for (long long i = 1; i <= n; i *= m) {
        w[i] = (w[i] + 1) % MOD;
        for (int j = i + 1; j <= n; j++) {
            w[j] = (w[j] + w[j - i]) % MOD;
        }
    }

    return w[n];
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x28, %rsp
movl %esi, %ebp
movl %edi, %ebx
leal 0x1(%rbx), %eax
movslq %eax, %rsi
leaq 0xc(%rsp), %rdx
movl $0x0, (%rdx)
leaq 0x10(%rsp), %rdi
leaq 0xb(%rsp), %rcx
callq 0x1380
movslq %ebx, %rax
testl %eax, %eax
jle 0x12ea
movq 0x10(%rsp), %rcx
movslq %ebp, %rdx
movl $0x1, %esi
movl (%rcx,%rsi,4), %edi
leal 0x1(%rdi), %r8d
movslq %r8d, %r8
imulq $0x44b82f99, %r8, %r8   # imm = 0x44B82F99
movq %r8, %r9
shrq $0x3f, %r9
sarq $0x3c, %r8
addl %r9d, %r8d
imull $0x3b9aca07, %r8d, %r8d # imm = 0x3B9ACA07
negl %r8d
addl %r8d, %edi
incl %edi
movl %edi, (%rcx,%rsi,4)
leal 0x1(%rsi), %edi
cmpl %ebx, %edi
jg 0x12e1
movslq %edi, %rdi
movq %rdi, %r8
subq %rsi, %r8
movl (%rcx,%r8,4), %r8d
addl (%rcx,%rdi,4), %r8d
movslq %r8d, %r8
imulq $0x44b82f99, %r8, %r9   # imm = 0x44B82F99
movq %r9, %r10
shrq $0x3f, %r10
sarq $0x3c, %r9
addl %r10d, %r9d
imull $0x3b9aca07, %r9d, %r9d # imm = 0x3B9ACA07
subl %r9d, %r8d
movl %r8d, (%rcx,%rdi,4)
incl %edi
jmp 0x12a2
imulq %rdx, %rsi
cmpq %rax, %rsi
jle 0x126e
movq 0x10(%rsp), %rdi
movl (%rdi,%rax,4), %ebx
testq %rdi, %rdi
je 0x1304
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x10c0
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/vividvilla[P]hackerrank/src/oobleck-boxes.cpp
// Function: main
int main() {
    int n, m;
    cin >> n >> m;

    cout << getWays(n, m) << endl;

    return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x2cc8(%rip), %rdi      # 0x3fe0
leaq 0x4(%rsp), %rbx
movq %rbx, %rsi
callq 0x1060
movq %rsp, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x1060
movl (%rbx), %edi
movl (%r14), %esi
callq 0x122c
movq 0x2c8c(%rip), %rdi      # 0x3fd0
movl %eax, %esi
callq 0x10e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1070
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/iZhangHui[P]CppPrimer/CH08_TheIOLibrary/examples/add_item.cc
// Function: main
int main()
{
	Sales_data data1, data2;
	read(cin, data1);                       // read the transactions
	read(cin, data2);                      
	// code to add into data1 and data2 unchanged from chapter 7
	if (data1.isbn() == data2.isbn()) {     // check isbns
		Sales_data sum = add(data1, data2); // add the transactions
		print(cout, sum);                   // print the results
		cout << endl;                       // followed by a newline 
	}

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
leaq -0xc8(%rbp), %r14
movq %r14, -0x10(%r14)
xorl %eax, %eax
movq %rax, -0x8(%r14)
movb %al, (%r14)
movl %eax, 0x10(%r14)
movq %rax, 0x18(%r14)
leaq -0x98(%rbp), %r15
movq %r15, -0x10(%r15)
movq %rax, -0x8(%r15)
movb %al, (%r15)
movl %eax, 0x10(%r15)
movq %rax, 0x18(%r15)
movq 0x2ce3(%rip), %rdi      # 0x3fe0
leaq -0xd8(%rbp), %rsi
callq 0x15c9
movq 0x2cd0(%rip), %rdi      # 0x3fe0
leaq -0xa8(%rbp), %rsi
callq 0x15c9
leaq -0x48(%rbp), %r12
movq %r12, -0x10(%r12)
movq -0xd8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
addq %rsi, %rdx
leaq -0x58(%rbp), %rdi
callq 0x14d2
leaq -0x68(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0xa8(%rbp), %rsi
movq -0xa0(%rbp), %rdx
addq %rsi, %rdx
leaq -0x78(%rbp), %rdi
callq 0x14d2
movq -0x50(%rbp), %rdx
cmpq -0x70(%rbp), %rdx
jne 0x1385
testq %rdx, %rdx
je 0x138a
movq -0x78(%rbp), %rsi
movq -0x58(%rbp), %rdi
callq 0x10c0
testl %eax, %eax
sete %r13b
jmp 0x138d
xorl %r13d, %r13d
jmp 0x138d
movb $0x1, %r13b
movq -0x78(%rbp), %rdi
cmpq %rbx, %rdi
je 0x13a2
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x10b0
movq -0x58(%rbp), %rdi
cmpq %r12, %rdi
je 0x13b7
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x10b0
testb %r13b, %r13b
je 0x1426
leaq -0x58(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
callq 0x165e
movq 0x2bf6(%rip), %rbx      # 0x3fd0
leaq -0x58(%rbp), %rsi
movq %rbx, %rdi
callq 0x16b7
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq 0x2bcc(%rip), %rdi      # 0x3fd0
callq 0x1030
movq %rax, %rdi
callq 0x1060
movq -0x58(%rbp), %rdi
cmpq %r12, %rdi
je 0x1426
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x10b0
movq -0xa8(%rbp), %rdi
cmpq %r15, %rdi
je 0x1441
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x10b0
movq -0xd8(%rbp), %rdi
cmpq %r14, %rdi
je 0x145c
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x10b0
xorl %eax, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1490
jmp 0x1476
jmp 0x1490
movq %rax, %rbx
movq -0x58(%rbp), %rdi
cmpq %r12, %rdi
je 0x1493
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x10b0
jmp 0x1493
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
cmpq %r15, %rdi
je 0x14ae
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x10b0
movq -0xd8(%rbp), %rdi
cmpq %r14, %rdi
je 0x14c9
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x10b0
movq %rbx, %rdi
callq 0x1120
nop
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/main.cpp
// Function: main
int main(int argc, char *argv[])
{
    Note::initialize();
    try
    {
        std::cout << "// WELCOME TO HARMONY ANALYSER \\" << std::endl;
        std::cout << "This software has many features and will be improved by time. "
                     "Please use 'git pull' each time you want to use it to keep you updated."
                  << std::endl;
        if (argc > 1)
            interact(atoi(argv[1]));
        else
        {
            help();
            interact(0);
        }
    }
    catch (H_ERR err)
    {
        std::cout << "ERROR: " << handle_H_ERR(err) << std::endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movl %edi, %r14d
callq 0x4078
movq 0xf0ad(%rip), %r15      # 0x12fc8
leaq 0xa0e9(%rip), %rsi      # 0xe00b
movl $0x20, %edx
movq %r15, %rdi
callq 0x31c0
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x3170
movsbl %al, %esi
movq 0xf07b(%rip), %rdi      # 0x12fc8
callq 0x3030
movq %rax, %rdi
callq 0x3110
movq 0xf067(%rip), %r15      # 0x12fc8
leaq 0xa0c4(%rip), %rsi      # 0xe02c
movl $0x85, %edx
movq %r15, %rdi
callq 0x31c0
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x3170
movsbl %al, %esi
movq 0xf035(%rip), %rdi      # 0x12fc8
callq 0x3030
movq %rax, %rdi
callq 0x3110
cmpl $0x2, %r14d
jl 0x3fb3
movq 0x8(%rbx), %rdi
callq 0x3240
movl %eax, %ebx
jmp 0x3fba
xorl %ebx, %ebx
callq 0xd510
movl %ebx, %edi
callq 0xd43c
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x406e
movq %rbx, %rdi
callq 0x30a0
movl (%rax), %ebx
movq 0xefdd(%rip), %rdi      # 0x12fc8
leaq 0xa0c0(%rip), %rsi      # 0xe0b2
movl $0x7, %edx
callq 0x31c0
leaq -0x38(%rbp), %rdi
movl %ebx, %esi
callq 0x688c
movq -0x38(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq 0xefb2(%rip), %rdi      # 0x12fc8
callq 0x31c0
movq %rax, %rdi
callq 0x30c0
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x403c
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3190
callq 0x3270
jmp 0x3fc1
jmp 0x4048
movq %rax, %rbx
jmp 0x4069
movq %rax, %rbx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4069
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3190
callq 0x3270
movq %rbx, %rdi
callq 0x32b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/utils.cpp
// Function: u_parse_note(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Note *u_parse_note(const std::string &str)
{
    Note *tmp;
    for (int i = 0; i < snotes.size(); i++)
    {
        if (!str.compare(snotes.at(i)))
        {
            tmp = Notes.at(i);
        }
    }
    return tmp;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0xce15(%rip), %rsi      # 0x132e8
xorl %r12d, %r12d
leaq 0xcdeb(%rip), %r13      # 0x132c8
xorl %ebx, %ebx
addq %r12, %rsi
movq %r14, %rdi
callq 0x3040
testl %eax, %eax
jne 0x6506
movq (%r13), %rax
movq 0x8(%r13), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %rbx, %rdx
jbe 0x6539
movq (%rax,%rbx,8), %r15
incq %rbx
movq 0xcde0(%rip), %rax      # 0x132f0
movq 0xcdd1(%rip), %rsi      # 0x132e8
subq %rsi, %rax
sarq $0x5, %rax
addq $0x20, %r12
cmpq %rbx, %rax
ja 0x64df
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x7dae(%rip), %rdi      # 0xe2ee
movq %rbx, %rsi
xorl %eax, %eax
callq 0x3210
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/errors.cpp
// Function: handle_H_ERR[abi:cxx11](H_ERR)
std::string handle_H_ERR(H_ERR e)
{
    std::string str;
    switch (e)
    {
    case E_INTERVAL:
        str = "Invalid interval";
        break;
    case E_CHORD_UNKNOWN:
        str = "Unknown chord";
        break;
    case E_INVERSION:
        str = "Cannot invert chord";
        break;
    case E_SCALE_UNKNOWN:
        str = "Unknown scale";
        break;
    case E_CHOICE:
        str = "Bad choice";
        break;
    case E_DEGREE_NOT_FOUND:
        str = "Degree not found";
        break;
    case E_TYPE:
        str = "Wrong type";
        break;
    default:
        str = "Unknown error";
        break;
    }
    return str;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
cmpl $0x7, %esi
jae 0x68ce
movl %esi, %eax
leaq 0x7af6(%rip), %rdx      # 0xe3b0
movslq (%rdx,%rax,4), %rcx
addq %rdx, %rcx
leaq 0x7b08(%rip), %rdx      # 0xe3d0
movq (%rdx,%rax,8), %r8
jmp 0x68db
movl $0xd, %r8d
leaq 0x7ac5(%rip), %rcx      # 0xe3a0
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3230
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x690b
movq (%r15), %rsi
incq %rsi
callq 0x3190
movq %r14, %rdi
callq 0x32b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/Interval.cpp
// Function: Interval::getNextSorted(Note*)
Note *Interval::getNextSorted(Note *a)
{

    Note *tmp;
    // Get the natural note
    NaturalNote *ntmp = a->getNatural();
    for (int i = 0; i < type - 1; i++)
    {
        ntmp = ntmp->next;
    }
    // Test for altered notes
    SharpNote *stmp;
    FlatNote *ftmp;
    DblSharpNote *sstmp;
    DblFlatNote *fftmp;

    if (getSemiTones() == a->semiToneShift() + ntmp->getNextSTNatural())
    {
        tmp = (Note *)ntmp;
    }
    else if (getSemiTones() == a->semiToneShift() + ntmp->getNextSTNatural() + 1)
    {
        tmp = (Note *)ntmp->sn;
    }
    else if (getSemiTones() == a->semiToneShift() + ntmp->getNextSTNatural() - 1)
    {
        tmp = (Note *)ntmp->fn;
    }
    else if (getSemiTones() == a->semiToneShift() + ntmp->getNextSTNatural() + 2)
    {
        tmp = (Note *)ntmp->sn->sharp;
    }
    else if (getSemiTones() == a->semiToneShift() + ntmp->getNextSTNatural() - 2)
    {
        tmp = (Note *)ntmp->fn->flat;
    }
    else
    {
        throw E_INTERVAL;
    }
    return tmp;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x10(%rax)
movq %rax, %rbx
movl 0x20(%r15), %eax
cmpl $0x2, %eax
jl 0x7289
decl %eax
movq 0x50(%rbx), %rbx
decl %eax
jne 0x7281
movl 0x24(%r15), %r13d
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl %eax, %r12d
movq %rbx, %rdi
callq 0x6c00
addl %r12d, %eax
cmpl %eax, %r13d
je 0x7356
movl 0x24(%r15), %r13d
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl %eax, %r12d
movq %rbx, %rdi
callq 0x6c00
addl %r12d, %eax
incl %eax
cmpl %eax, %r13d
jne 0x72d5
movq 0x60(%rbx), %rbx
jmp 0x7351
movl 0x24(%r15), %r13d
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl %eax, %r12d
movq %rbx, %rdi
callq 0x6c00
addl %r12d, %eax
decl %eax
cmpl %eax, %r13d
jne 0x72fd
movq 0x68(%rbx), %rbx
jmp 0x7351
movl 0x24(%r15), %r13d
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl %eax, %r12d
movq %rbx, %rdi
callq 0x6c00
addl %r12d, %eax
addl $0x2, %eax
cmpl %eax, %r13d
jne 0x7326
movq 0x60(%rbx), %rax
jmp 0x734d
movl 0x24(%r15), %r15d
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl %eax, %r14d
movq %rbx, %rdi
callq 0x6c00
addl %r14d, %eax
addl $-0x2, %eax
cmpl %eax, %r15d
jne 0x7373
movq 0x68(%rbx), %rax
movq 0x10(%rax), %rbx
testq %rbx, %rbx
je 0x736f
movq (%rbx), %rax
addq -0x38(%rax), %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %ebx, %ebx
jmp 0x735d
movl $0x4, %edi
callq 0x30d0
movl $0x0, (%rax)
leaq 0xb4ee(%rip), %rsi      # 0x12878
movq %rax, %rdi
xorl %edx, %edx
callq 0x3290
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/Chord.cpp
// Function: Chord::Chord(Note*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Note*)
Chord::Chord(Note *n, const std::string &str, Note *b) : Chord(n, str, b, 0)
{
    // Remove the notes if the bass is one of the notes of the chord
    if (b != n)
    {
        auto foundIt = std::find(notes.rbegin(), notes.rend(), b);
        if (foundIt != notes.rend())
        {
            auto toRemove = --(foundIt.base());
            notes.erase(toRemove);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rcx, -0x18(%rbp)
xorl %r8d, %r8d
callq 0x78d8
cmpq %r14, -0x18(%rbp)
je 0x86e2
movq 0x58(%rbx), %rax
movq 0x60(%rbx), %rcx
leaq -0x30(%rbp), %rsi
movq %rcx, (%rsi)
leaq -0x28(%rbp), %rdx
movq %rax, (%rdx)
leaq -0x20(%rbp), %rdi
leaq -0x18(%rbp), %rcx
callq 0x9468
movq -0x20(%rbp), %rsi
cmpq 0x58(%rbx), %rsi
je 0x86e2
movq 0x60(%rbx), %rdx
cmpq %rdx, %rsi
je 0x86dd
leaq -0x8(%rsi), %rdi
subq %rsi, %rdx
callq 0x3260
addq $-0x8, 0x60(%rbx)
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x86fe
movq %r14, %rdi
callq 0x32b0
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/Chord.cpp
// Function: Chord::displayNotes[abi:cxx11]()
std::string Chord::displayNotes()
{
    std::string str;
    for (int i = 0; i < notes.size(); i++)
    {
        str += notes.at(i)->display() + " ";
    }
    return str;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x30(%rbp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x58(%rsi), %rax
cmpq %rax, 0x60(%rsi)
je 0x906c
movq %rsi, %r14
leaq -0x40(%rbp), %r13
xorl %r12d, %r12d
leaq -0x70(%rbp), %r15
movq (%rax,%r12,8), %rsi
movq (%rsi), %rax
movq %r15, %rdi
callq *(%rax)
movq %r15, %rdi
leaq 0x55d5(%rip), %rsi      # 0xe5a4
callq 0x32e0
movq %r13, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8ff4
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x8ffc
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %rbx, %rdi
callq 0x3080
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x9038
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x9051
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3190
incq %r12
movq 0x58(%r14), %rax
movq 0x60(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r12, %rcx
ja 0x8fb9
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x90b9
movq %rax, %r14
jmp 0x90a0
movq %rax, %r14
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x90a0
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x90b9
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3190
movq (%rbx), %rdi
cmpq -0x30(%rbp), %rdi
je 0x90d1
movq -0x30(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3190
movq %r14, %rdi
callq 0x32b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/Triad.cpp
// Function: Triad::Triad(Note*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Note*)
Triad::Triad(Note *n, const std::string &str, Note *b) : Triad(n, str, b, 0)
{
    // Remove the notes if the bass is one of the notes of the chord
    if (b != n)
    {
        auto foundIt = std::find(notes.rbegin(), notes.rend(), b);
        if (foundIt != notes.rend())
        {
            auto toRemove = --(foundIt.base());
            notes.erase(toRemove);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rcx, -0x18(%rbp)
xorl %r8d, %r8d
callq 0x9b2c
cmpq %r14, -0x18(%rbp)
je 0xaa84
movq 0x70(%rbx), %rax
movq 0x78(%rbx), %rcx
leaq -0x30(%rbp), %rsi
movq %rcx, (%rsi)
leaq -0x28(%rbp), %rdx
movq %rax, (%rdx)
leaq -0x20(%rbp), %rdi
leaq -0x18(%rbp), %rcx
callq 0x9468
movq -0x20(%rbp), %rsi
cmpq 0x70(%rbx), %rsi
je 0xaa84
movq 0x78(%rbx), %rdx
cmpq %rdx, %rsi
je 0xaa7f
leaq -0x8(%rsi), %rdi
subq %rsi, %rdx
callq 0x3260
addq $-0x8, 0x78(%rbx)
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0xaaa0
movq %r14, %rdi
callq 0x32b0
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/Triad.cpp
// Function: setNotes(Triad*, std::vector<Interval, std::allocator<Interval>>*)
static void _setNotes(Triad *c, std::vector<Interval> *intervals)
{
    c->getRoot()->getNatural()->sort();
    c->notes.push_back(c->getBass());
    if (c->getRoot() != c->getBass())
    {
        c->notes.push_back(c->getRoot());
    }
    Note *tmp;
    for (int k = 0; k < 2; k++)
    {
        tmp = intervals->at(k).getNextSorted(c->getRoot());
        c->notes.push_back(tmp);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq %rax, %rdi
callq 0x6c0a
leaq 0x70(%r14), %r15
movq 0x8(%r14), %rax
leaq -0x30(%rbp), %rsi
movq %rax, (%rsi)
movq %r15, %rdi
callq 0x971c
movq (%r14), %rax
cmpq 0x8(%r14), %rax
je 0xb773
leaq -0x30(%rbp), %rsi
movq %rax, (%rsi)
movq %r15, %rdi
callq 0x971c
movq %r15, -0x38(%rbp)
xorl %r13d, %r13d
movabsq $-0x3333333333333333, %r15 # imm = 0xCCCCCCCCCCCCCCCD
xorl %r12d, %r12d
movq (%rbx), %rdi
movq 0x8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x3, %rdx
imulq %r15, %rdx
cmpq %r12, %rdx
jbe 0xb7ed
addq %r13, %rdi
movq (%r14), %rsi
callq 0x7256
movq %rax, -0x30(%rbp)
movq 0x78(%r14), %rsi
cmpq 0x80(%r14), %rsi
je 0xb7c4
movq %rax, (%rsi)
addq $0x8, 0x78(%r14)
jmp 0xb7d1
movq -0x38(%rbp), %rdi
leaq -0x30(%rbp), %rdx
callq 0xb9fc
incq %r12
addq $0x28, %r13
cmpq $0x1, %r12
je 0xb787
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2afa(%rip), %rdi      # 0xe2ee
movq %r12, %rsi
xorl %eax, %eax
callq 0x3210
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/Scale.cpp
// Function: Scale::setNotes()
void Scale::setNotes()
{
    NaturalNote *ntmp = tonic->getNatural();
    ntmp->sort();
    notes.push_back(tonic);
    for (auto i : intervals)
    {
        notes.push_back(i.getNextSorted(tonic));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r15
leaq 0x18(%rdi), %rbx
movq 0x18(%rdi), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq %rax, %rdi
callq 0x6c0a
leaq 0x40(%r15), %r14
movq 0x48(%r15), %rsi
cmpq 0x50(%r15), %rsi
je 0xbdba
movq 0x18(%r15), %rax
movq %rax, (%rsi)
addq $0x8, 0x48(%r15)
jmp 0xbdc5
movq %r14, %rdi
movq %rbx, %rdx
callq 0xb9fc
movq (%r15), %r13
movq 0x8(%r15), %r12
cmpq %r12, %r13
je 0xbe24
leaq -0x58(%rbp), %r15
leaq -0x48(%rbp), %rax
movq %rax, -0x58(%rbp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x669c
movq 0x20(%r13), %rax
movq %rax, -0x38(%rbp)
movq (%rbx), %rsi
movq %r15, %rdi
callq 0x7256
movq %rax, -0x30(%rbp)
movq %r14, %rdi
leaq -0x30(%rbp), %rsi
callq 0x971c
movq %r15, %rdi
callq 0x786e
addq $0x28, %r13
cmpq %r12, %r13
jne 0xbdd5
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x786e
movq %rbx, %rdi
callq 0x32b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/Scale.cpp
// Function: Scale::getDegree(Note*)
int Scale::getDegree(Note *n)
{
    int deg = 0;
    for (auto note : notes)
    {
        if (n == note)
            return deg + 1;
        else
            deg++;
    }
    throw E_DEGREE_NOT_FOUND;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x40(%rdi), %r8
movq 0x48(%rdi), %rdx
cmpq %rdx, %r8
sete %cl
je 0xc688
cmpq %rsi, (%r8)
je 0xc68a
addq $0x8, %r8
movl $0x1, %eax
movl $0x2, %edi
cmpq %rdx, %r8
sete %cl
je 0xc68f
cmpq %rsi, (%r8)
cmovel %edi, %eax
leal 0x1(%rdi), %edi
leaq 0x8(%r8), %r8
jne 0xc66f
jmp 0xc68f
jmp 0xc68f
movl $0x1, %eax
testb %cl, %cl
jne 0xc695
popq %rbp
retq
movl $0x4, %edi
callq 0x30d0
movl $0x5, (%rax)
leaq 0x61cc(%rip), %rsi      # 0x12878
movq %rax, %rdi
xorl %edx, %edx
callq 0x3290
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/Scale.cpp
// Function: Scale::display[abi:cxx11]()
std::string Scale::display()
{
    std::string str;
    for (auto n : notes)
    {
        str += n->display() + " ";
    }
    return str;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x30(%rbp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x40(%rsi), %r12
movq 0x48(%rsi), %r15
cmpq %r15, %r12
je 0xc86b
leaq -0x40(%rbp), %r13
leaq -0x70(%rbp), %r14
movq (%r12), %rsi
movq (%rsi), %rax
movq %r14, %rdi
callq *(%rax)
movq %r14, %rdi
leaq 0x1dc8(%rip), %rsi      # 0xe5a4
callq 0x32e0
movq %r13, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xc801
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0xc809
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %rbx, %rdi
callq 0x3080
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0xc845
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xc85e
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3190
addq $0x8, %r12
cmpq %r15, %r12
jne 0xc7c6
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0xc8b8
movq %rax, %r14
jmp 0xc89f
movq %rax, %r14
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0xc89f
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xc8b8
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3190
movq (%rbx), %rdi
cmpq -0x30(%rbp), %rdi
je 0xc8d0
movq -0x30(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3190
movq %r14, %rdi
callq 0x32b0
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/user.cpp
// Function: interact(int)
void interact(int c)
{
    std::cout << std::endl;
    int choice;
    if (!c)
        do
        {
            std::cout << "Select which feature you want to use (ex : 2) or '-1' to see features : " << std::endl;
            std::cin >> choice;
            if (choice == -1)
                help();
        } while (!std::cin || choice > 3 || choice < 0);
    else
        choice = c;
    handle_choice(choice);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %edi, %r14d
movq 0x5b73(%rip), %rbx      # 0x12fc8
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3110
testl %r14d, %r14d
je 0xd487
movl %r14d, -0x24(%rbp)
jmp 0xd4fb
leaq 0x1012(%rip), %r14      # 0xe4a0
movq 0x5b43(%rip), %r15      # 0x12fd8
leaq -0x24(%rbp), %r12
movl $0x48, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x31c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3110
movq %r15, %rdi
movq %r12, %rsi
callq 0x3100
cmpl $-0x1, -0x24(%rbp)
jne 0xd4e6
callq 0xd510
movq (%r15), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%r15,%rax)
jne 0xd499
cmpl $0x3, -0x24(%rbp)
ja 0xd499
movl -0x24(%rbp), %edi
callq 0xc8d8
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Wombozo[P]harmony/src/user.cpp
// Function: help()
void help()
{
    std::cout << "Features : " << std::endl;
    std::cout << "\t -> Chord display (" << C_CD << ")" << std::endl;
    std::cout << "\t -> Scale display (" << C_SD << ")" << std::endl;
    std::cout << "\t -> Interval display (" << C_ID << ")" << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0x5aa7(%rip), %rbx      # 0x12fc8
leaq 0xfc1(%rip), %rsi       # 0xe4e9
movl $0xb, %edx
movq %rbx, %rdi
callq 0x31c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3110
leaq 0xf92(%rip), %rsi       # 0xe4f5
movl $0x14, %edx
movq %rbx, %rdi
callq 0x31c0
movq %rbx, %rdi
movl $0x1, %esi
callq 0x32a0
movq %rax, %r15
leaq 0xbb1(%rip), %r14       # 0xe138
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x31c0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3170
movsbl %al, %esi
movq %r15, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3110
leaq 0xf45(%rip), %rsi       # 0xe50a
movl $0x14, %edx
movq %rbx, %rdi
callq 0x31c0
movq %rbx, %rdi
movl $0x2, %esi
callq 0x32a0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x31c0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3170
movsbl %al, %esi
movq %r15, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3110
leaq 0xeff(%rip), %rsi       # 0xe51f
movl $0x17, %edx
movq %rbx, %rdi
callq 0x31c0
movq %rbx, %rdi
movl $0x3, %esi
callq 0x32a0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x31c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3110
// File: /workspace/github_cpp_makefile_star2_O1/trisolaris233[P]httpc/src/main2.cpp
// Function: testDefaultResponse()
void testDefaultResponse() {
    Response res;
    for (const auto& status_code : httpc::GetAllHttpStatus()) {
        res.SetDefault(status_code);
        std::cout << res << std::endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
xorl %eax, %eax
leaq -0xc8(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rcx)
movq %rax, 0x20(%rcx)
leaq -0x90(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movb %al, 0x10(%rcx)
leaq -0x70(%rbp), %rcx
movl $0x0, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq -0x38(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
callq 0x23079
movq (%rax), %r13
movq 0x8(%rax), %r12
cmpq %r12, %r13
je 0x8ff2
leaq -0xe8(%rbp), %rbx
movq 0x2bfe8(%rip), %r14     # 0x34f90
movl (%r13), %esi
movq %rbx, %rdi
callq 0xa5ba
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa7a5
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x8500
movsbl %al, %esi
movq %r15, %rdi
callq 0x8050
movq %rax, %rdi
callq 0x83b0
addq $0x4, %r13
cmpq %r12, %r13
jne 0x8fa8
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x900b
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x8520
leaq -0xb8(%rbp), %rbx
leaq -0x78(%rbp), %r14
movq %r14, %rdi
callq 0xc0f8
movq -0x28(%r14), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x903d
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x8520
movq %rbx, %rdi
callq 0xc0ba
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x9067
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x8520
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0xe8(%rbp), %rdi
callq 0xa960
movq %rbx, %rdi
callq 0x8830
// File: /workspace/github_cpp_makefile_star2_O1/trisolaris233[P]httpc/src/http_router.hpp
// Function: void httpc::HttpRouter::Invoke<main::$_2>(httpc::Request&, httpc::Response&, main::$_2)
void Invoke(
            Request&            request,
            Response&           response,
            Function            callback,
            Aspects...          aspects
        ) {
            // get all the aspects objects into a tuple
            std::tuple<Aspects...> aspects_tuple(std::forward<Aspects>(aspects)...);
            // go through for every aspect and call the before() function
            std::apply([&request, &response](auto&&... aspect) {
                (aspect.before(request, response), ...);
            }, aspects_tuple);

            // do the bussiness
            std::forward<Function>(callback)(request, response);

            // do same for after()
            std::apply([&request, &response](auto&&... aspect) {
                (aspect.after(request, response), ...);
            }, aspects_tuple);
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbx
leaq -0x48(%rbp), %r14
movq %r14, -0x10(%r14)
movq 0x60(%rcx), %rsi
movq 0x68(%rcx), %rdx
addq %rsi, %rdx
leaq -0x58(%rbp), %rdi
callq 0xb0fe
leaq 0x1b3a6(%rip), %rsi     # 0x24f29
leaq -0x58(%rbp), %rdi
callq 0x88d0
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9bb0
movq %rdx, -0x38(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x28(%rbp)
jmp 0x9bb7
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0x38(%rbp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
callq 0x9f7e
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x9bef
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x8520
movq -0x58(%rbp), %rdi
cmpq %r14, %rdi
je 0x9c04
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x8520
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x9c2c
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x8520
jmp 0x9c2c
movq %rax, %rbx
movq -0x58(%rbp), %rdi
cmpq %r14, %rdi
je 0x9c41
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x8520
movq %rbx, %rdi
callq 0x8830
movq %rax, %rdi
callq 0x9e84
nop
// File: /workspace/github_cpp_makefile_star2_O1/trisolaris233[P]httpc/src/response.hpp
// Function: httpc::operator<<(std::ostream&, httpc::Response const&)
std::ostream& operator<< (std::ostream& os, const Response& response) {
            os << "HTTP/" << response.http_major_version << "." << response.http_minor_version
               << " " << static_cast<int>(response.status_code) << " " << GetHTTPReasonPhrase(response.status_code) << std::endl;
            for (const auto& header : response.headers) {
                os << header.field << ": " << header.value << std::endl;
            }
            os << response.message_body;
            return os;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x1a04c(%rip), %rsi     # 0x2480f
movl $0x5, %edx
callq 0x85b0
movl (%r14), %esi
movq %rbx, %rdi
callq 0x8810
movq %rax, %r15
leaq 0x1a04e(%rip), %rsi     # 0x24830
movl $0x1, %edx
movq %rax, %rdi
callq 0x85b0
movl 0x4(%r14), %esi
movq %r15, %rdi
callq 0x8810
movq %rax, %r15
leaq 0x1a6c0(%rip), %r12     # 0x24ec5
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x85b0
movl 0x8(%r14), %esi
movq %r15, %rdi
callq 0x8810
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x85b0
movl 0x8(%r14), %esi
leaq -0x50(%rbp), %r12
movq %r12, %rdi
callq 0x22aa4
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r15, %rdi
callq 0x85b0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x8500
movsbl %al, %esi
movq %r15, %rdi
callq 0x8050
movq %rax, %rdi
callq 0x83b0
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa898
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x8520
movq 0x30(%r14), %r13
movq %r14, -0x30(%rbp)
movq 0x38(%r14), %r14
cmpq %r14, %r13
je 0xa916
leaq 0x1a614(%rip), %r15     # 0x24ec4
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x85b0
movq %rax, %r12
movl $0x2, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x85b0
movq 0x20(%r13), %rsi
movq 0x28(%r13), %rdx
movq %r12, %rdi
callq 0x85b0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x8500
movsbl %al, %esi
movq %r12, %rdi
callq 0x8050
movq %rax, %rdi
callq 0x83b0
addq $0x40, %r13
cmpq %r14, %r13
jne 0xa8b0
movq -0x30(%rbp), %rax
movq 0x48(%rax), %rsi
movq 0x50(%rax), %rdx
movq %rbx, %rdi
callq 0x85b0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa958
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x8520
movq %rbx, %rdi
callq 0x8830
// File: /workspace/github_cpp_makefile_star2_O1/trisolaris233[P]httpc/src/server.hpp
// Function: httpc::Server::Start()
void Start() {
            // thread_.reset(new std::thread(
            //     [this] {
            //         io_context_.run();
            //     }
            // ));
            // // should be tested before use.
            // // but that means I should make a exception class
            // // I am lazy...
            // thread_->detach();

            // use std::async instead
            this->Accept_();
            std::async(std::launch::async, [this] {
                io_context_.run(); 
            });
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
callq 0x13b9e
leaq -0x10(%rbp), %rdx
movq %rbx, (%rdx)
leaq -0x20(%rbp), %rbx
movq %rbx, %rdi
movl $0x1, %esi
callq 0x13c87
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0xaca3
callq 0x11b2a
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/trisolaris233[P]httpc/src/response.hpp
// Function: httpc::Response& httpc::Response::AddHeader<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&&)
inline Response& AddHeader(StringT&& field, StringT&& value) {
            bool flag = false;
            for (auto itr = this->headers.begin(); itr != this->headers.end(); ++itr) {
                if (itr->field == field) {
                    itr->value = value;
                    flag = true;
                    break;
                }
            }
            if (!flag) {
                headers.emplace_back(std::forward<Header>({
                    std::forward<StringT>(field),
                    std::forward<StringT>(value)
                }));
            }
            
            return *this;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, -0x30(%rbp)
movq %rsi, %r15
movq 0x30(%rdi), %r12
movq %rdi, -0x38(%rbp)
movq 0x38(%rdi), %r14
cmpq %r14, %r12
je 0xb624
movq (%r15), %r13
movq 0x8(%r15), %rbx
movq 0x8(%r12), %rdx
cmpq %rbx, %rdx
jne 0xb61b
testq %rdx, %rdx
je 0xb67e
movq (%r12), %rdi
movq %r13, %rsi
callq 0x8540
testl %eax, %eax
je 0xb67e
addq $0x40, %r12
cmpq %r14, %r12
jne 0xb5fc
movq -0x38(%rbp), %rbx
leaq 0x30(%rbx), %r12
leaq -0x78(%rbp), %r13
movq %r13, %rdi
movq %r15, %rsi
movq -0x30(%rbp), %rdx
callq 0xb6f4
movq %r12, %rdi
movq %r13, %rsi
callq 0xb6b8
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb663
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x8520
leaq -0x68(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb692
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x8520
jmp 0xb692
addq $0x20, %r12
movq %r12, %rdi
movq -0x30(%rbp), %rsi
callq 0x8310
movq -0x38(%rbp), %rbx
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x78(%rbp), %rdi
callq 0xb586
movq %rbx, %rdi
callq 0x8830