LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/vsklad[P]cgen/./bal/encoding/literal.hpp
// Function: bal::Ref<bal::Literal<bal::Anf>> bal::dis2<bal::Anf>(bal::Literal<bal::Anf>*, bal::Literal<bal::Anf>*, bal::Literal<bal::Anf>*)
Ref<Literal<FORMULA_T>> dis2(Literal<FORMULA_T>* const r,
                                 Literal<FORMULA_T>* const x, Literal<FORMULA_T>* const y) {
        if (x->value == y->value) {
            return x;
        } else if (literal_t__is_negation_of(x->value, y->value)) {
            return 1;
        } else if (literal_t__is_constant_0(x->value)) {
            return y;
        } else if (literal_t__is_constant_0(y->value)) {
            return x;
        } else if (literal_t__is_constant_1(x->value) || literal_t__is_constant_1(y->value)) {
            return 1;
        } else {
            _assert_level_1(x->formula != nullptr && x->formula == y->formula);
            const literalid_t r_value = x->formula->new_variable_literal();
            dis2(x->formula, r_value, x->value, y->value);
            return new Literal<FORMULA_T>(x->formula, r_value);
        };
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %r15
movq %rdx, %r14
movq %rdi, %rbx
movl 0x20(%rdx), %ecx
movl 0x20(%r15), %eax
cmpl %eax, %ecx
jne 0x2f766
movq %r14, (%rbx)
movq (%r14), %rax
movq -0x20(%rax), %rax
incl 0x8(%r14,%rax)
jmp 0x2f7fe
movl %eax, %edx
xorl %ecx, %edx
cmpl $0x1, %edx
jne 0x2f78a
leaq -0x28(%rbp), %rsi
movl $0x1, (%rsi)
movq $0x0, (%rbx)
movq %rbx, %rdi
callq 0x2e50c
jmp 0x2f7fe
testl %ecx, %ecx
je 0x2f7ef
testl %eax, %eax
je 0x2f752
cmpl $0x1, %ecx
setne %cl
cmpl $0x1, %eax
setne %al
testb %al, %cl
jne 0x2f7a8
leaq -0x24(%rbp), %rsi
jmp 0x2f773
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0x2f80e
cmpq 0x18(%r15), %rdi
jne 0x2f80e
movq (%rdi), %rax
callq *0x8(%rax)
movl %eax, %r12d
movq 0x18(%r14), %rdi
movl 0x20(%r14), %edx
movl 0x20(%r15), %ecx
movl %eax, %esi
callq 0xeb4e
movl $0x40, %edi
callq 0xb2c0
movq %rax, %r15
movq 0x18(%r14), %rsi
movq %rax, %rdi
movl %r12d, %edx
callq 0x2e6e4
movq %r15, (%rbx)
movq (%r15), %rax
movq -0x20(%rax), %rax
incl 0x8(%r15,%rax)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x19e2a(%rip), %rdi     # 0x4963f
leaq 0x185fb(%rip), %rsi     # 0x47e17
leaq 0x19ed8(%rip), %rcx     # 0x496fb
movl $0x112, %edx            # imm = 0x112
callq 0xb180
// File: /workspace/github_cpp_makefile_star2_O3/vsklad[P]cgen/./bal/encoding/gf2n.hpp
// Function: bal::Ref<bal::GF2NElement<32ul, bal::Literal<bal::Anf>>> bal::parity<32ul, bal::Literal<bal::Anf>>(bal::GF2NElement<32ul, bal::Literal<bal::Anf>>*, bal::GF2NElement<32ul, bal::Literal<bal::Anf>> const*, bal::GF2NElement<32ul, bal::Literal<bal::Anf>> const*, bal::GF2NElement<32ul, bal::Literal<bal::Anf>> const*)
Ref<GF2NElement<N, GF2E>> parity(GF2NElement<N, GF2E>* const r,
                                     const GF2NElement<N, GF2E>* const x,
                                     const GF2NElement<N, GF2E>* const y,
                                     const GF2NElement<N, GF2E>* const z) {
        Ref<GF2NElement<N, GF2E>> result = new_instance_if_unassigned(r);
        for (auto i = 0; i < N; i++) {
            (*result)[i] = parity((*result)[i].data(), (*x)[i].data(), (*y)[i].data(), (*z)[i].data());
        };
        return result;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rdi, %rbx
callq 0x2eddc
movq (%rbx), %rax
xorl %r13d, %r13d
movq 0x30(%rax,%r13), %rsi
movq 0x30(%r12,%r13), %rax
movq 0x30(%r15,%r13), %rcx
movq 0x30(%r14,%r13), %rdx
movq %rax, -0x50(%rbp)
movq %rcx, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movl $0x3, %ecx
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rdx
callq 0x2ef78
movq (%rbx), %rax
movq -0x30(%rbp), %rcx
movq %rcx, 0x30(%rax,%r13)
addq $0x8, %r13
cmpq $0x100, %r13            # imm = 0x100
jne 0x2f855
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x2f8c5
movq %rbx, %rsi
callq 0xb9ef
movq %r14, %rdi
callq 0xb4e0
// File: /workspace/github_cpp_makefile_star2_O3/vsklad[P]cgen/./bal/encoding/gf2n.hpp
// Function: bal::Ref<bal::GF2NElement<32ul, bal::Literal<bal::Anf>>> bal::maj<32ul, bal::Literal<bal::Anf>>(bal::GF2NElement<32ul, bal::Literal<bal::Anf>>*, bal::GF2NElement<32ul, bal::Literal<bal::Anf>> const*, bal::GF2NElement<32ul, bal::Literal<bal::Anf>> const*, bal::GF2NElement<32ul, bal::Literal<bal::Anf>> const*)
Ref<GF2NElement<N, GF2E>> maj(GF2NElement<N, GF2E>* const r,
                                  const GF2NElement<N, GF2E>* const x,
                                  const GF2NElement<N, GF2E>* const y,
                                  const GF2NElement<N, GF2E>* const z) {
        Ref<GF2NElement<N, GF2E>> result = new_instance_if_unassigned(r);
        for (auto i = 0; i < N; i++) {
            (*result)[i] = maj((*result)[i].data(), (*x)[i].data(), (*y)[i].data(), (*z)[i].data());
        };
        return result;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rdi, %rbx
callq 0x2eddc
movq (%rbx), %rax
xorl %r13d, %r13d
movq 0x30(%rax,%r13), %rsi
movq 0x30(%r12,%r13), %rdx
movq 0x30(%r15,%r13), %rcx
movq 0x30(%r14,%r13), %r8
leaq -0x30(%rbp), %rdi
callq 0x2f955
movq (%rbx), %rax
movq -0x30(%rbp), %rcx
movq %rcx, 0x30(%rax,%r13)
addq $0x8, %r13
cmpq $0x100, %r13            # imm = 0x100
jne 0x2f8f2
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x2f94d
movq %rbx, %rsi
callq 0xba26
movq %r14, %rdi
callq 0xb4e0
// File: /workspace/github_cpp_makefile_star2_O3/vsklad[P]cgen/./bal/encoding/literal.hpp
// Function: bal::Ref<bal::Literal<bal::Anf>> bal::maj<bal::Anf>(bal::Literal<bal::Anf>*, bal::Literal<bal::Anf>*, bal::Literal<bal::Anf>*, bal::Literal<bal::Anf>*)
Ref<Literal<FORMULA_T>> maj(Literal<FORMULA_T>* const r,
                                Literal<FORMULA_T>* const x, Literal<FORMULA_T>* const y, Literal<FORMULA_T>* const z) {
        if (literal_t__is_constant_0(x->value)) {
            return con2(r, y, z);
        } else if (literal_t__is_constant_0(y->value)) {
            return con2(r, x, z);
        } else if (literal_t__is_constant_0(z->value)) {
            return con2(r, x, y);
        } else if (literal_t__is_constant_1(x->value)) {
            return dis2(r, y, z);
        } else if (literal_t__is_constant_1(y->value)) {
            return dis2(r, x, z);
        } else if (literal_t__is_constant_1(z->value)) {
            return dis2(r, x, y);
        } else if (x->value == y->value || x->value == z->value) {
            return x;
        } else if (y->value == z->value) {
            return y;
        } else {
            _assert_level_1(x->formula != nullptr && x->formula == y->formula && x->formula == z->formula);
            const literalid_t r_value = x->formula->new_variable_literal();
            maj(x->formula, r_value, x->value, y->value, z->value);
            return new Literal<FORMULA_T>(x->formula, r_value);
        };
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movq %rdi, %rbx
movl 0x20(%rdx), %ecx
testl %ecx, %ecx
je 0x2f994
movq %rdx, %r14
movl 0x20(%r15), %eax
testl %eax, %eax
je 0x2f99c
movl 0x20(%r12), %edx
testl %edx, %edx
je 0x2f9ac
cmpl $0x1, %ecx
jne 0x2f9b7
movq %rbx, %rdi
movq %r15, %rdx
jmp 0x2f9c2
movq %rbx, %rdi
movq %r15, %rdx
jmp 0x2f9a2
movq %rbx, %rdi
movq %r14, %rdx
movq %r12, %rcx
callq 0x2f632
jmp 0x2f9ca
movq %rbx, %rdi
movq %r14, %rdx
movq %r15, %rcx
jmp 0x2f9a5
cmpl $0x1, %eax
jne 0x2f9dc
movq %rbx, %rdi
movq %r14, %rdx
movq %r12, %rcx
callq 0x2f72f
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x1, %edx
jne 0x2f9ec
movq %rbx, %rdi
movq %r14, %rdx
movq %r15, %rcx
jmp 0x2f9c5
cmpl %eax, %ecx
setne %sil
cmpl %edx, %ecx
setne %cl
testb %cl, %sil
jne 0x2fa0d
movq %r14, (%rbx)
movq (%r14), %rax
movq -0x20(%rax), %rax
incl 0x8(%r14,%rax)
jmp 0x2f9ca
cmpl %edx, %eax
je 0x2fa64
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0x2fa78
cmpq 0x18(%r15), %rdi
jne 0x2fa78
cmpq 0x18(%r12), %rdi
jne 0x2fa78
movq (%rdi), %rax
callq *0x8(%rax)
movl %eax, %r13d
movq 0x18(%r14), %rdi
movl 0x20(%r14), %edx
movl 0x20(%r15), %ecx
movl 0x20(%r12), %r8d
movl %eax, %esi
callq 0xebfd
movl $0x40, %edi
callq 0xb2c0
movq %rax, %r15
movq 0x18(%r14), %rsi
movq %rax, %rdi
movl %r13d, %edx
callq 0x2e6e4
movq %r15, (%rbx)
movq (%r15), %rax
movq -0x20(%rax), %rax
incl 0x8(%r15,%rax)
jmp 0x2f9ca
leaq 0x19acf(%rip), %rdi     # 0x4954e
leaq 0x18391(%rip), %rsi     # 0x47e17
leaq 0x19cf8(%rip), %rcx     # 0x49785
movl $0x13a, %edx            # imm = 0x13A
callq 0xb180
// File: /workspace/github_cpp_makefile_star2_O3/vsklad[P]cgen/./bal/encoding/gf2n.hpp
// Function: bal::Ref<bal::GF2NElement<32ul, bal::Literal<bal::Anf>>> bal::shr<32ul, bal::Literal<bal::Anf>>(bal::GF2NElement<32ul, bal::Literal<bal::Anf>>*, bal::GF2NElement<32ul, bal::Literal<bal::Anf>> const*, int)
Ref<GF2NElement<N, GF2E>> shr(GF2NElement<N, GF2E>* const r,
                                  const GF2NElement<N, GF2E>* const value, const int n) {
        Ref<GF2NElement<N, GF2E>> result = new_instance_if_unassigned(r);
        for (auto i = 0; i < N; i++) {
            if ((0 <= (i + n)) && ((i + n) < N))
                (*result)[i] = (*value)[i + n];
            else
                (*result)[i] = 0b0;
        };
        return result;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r15d
movq %rdx, %r14
movq %rdi, %rbx
callq 0x2eddc
movslq %r15d, %r12
xorl %r13d, %r13d
leaq -0x2c(%rbp), %r15
leaq (%r12,%r13), %rax
cmpq $0x1f, %rax
ja 0x31941
movq (%rbx), %rcx
leaq (%rcx,%r13,8), %rdi
addq $0x30, %rdi
movq 0x30(%r14,%rax,8), %rsi
callq 0x2e56e
jmp 0x3195b
movl $0x0, -0x2c(%rbp)
movq (%rbx), %rax
leaq (%rax,%r13,8), %rdi
addq $0x30, %rdi
movq %r15, %rsi
callq 0x2e50c
incq %r13
cmpq $0x20, %r13
jne 0x31920
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x31989
movq %rbx, %rsi
callq 0xbf00
movq %r14, %rdi
callq 0xb4e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/vsklad[P]cgen/./bal/cnf/tracer/cnfgexftracer.hpp
// Function: bal::CnfGexfTracer::start(bal::Cnf const&)
void start(const Cnf& cnf) override {
            _assert_level_0(p_cnf_ == nullptr);
            _assert_level_0(edges_.size() == 0);
            next_edge_id_ = 0;
            timestamp_ = TIMESTAMP_MIN;
            p_cnf_ = &cnf;
            writer::write_header(cnf);
            writer::compute_edges(cnf, timestamp_, edges_, next_edge_id_);
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq $0x0, 0x30(%rdi)
jne 0x31be7
movq %rdi, %r14
cmpq $0x0, 0x60(%rdi)
jne 0x31c06
movq %rsi, %rbx
leaq 0x38(%r14), %r15
leaq 0x68(%r14), %r12
movq $0x0, 0x68(%r14)
movq %rsi, 0x30(%r14)
leaq 0x18(%r14), %r13
movq %r13, %rdi
callq 0x31df8
movl 0x6c(%r14), %edx
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rcx
movq %r12, %r8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x32c7a
leaq 0x15031(%rip), %rdi     # 0x46c1f
leaq 0x18152(%rip), %rsi     # 0x49d47
leaq 0x1816e(%rip), %rcx     # 0x49d6a
movl $0x2f, %edx
callq 0xb180
leaq 0x18191(%rip), %rdi     # 0x49d9e
leaq 0x18133(%rip), %rsi     # 0x49d47
leaq 0x1814f(%rip), %rcx     # 0x49d6a
movl $0x30, %edx
callq 0xb180
nop
// File: /workspace/github_cpp_makefile_star2_O3/vsklad[P]cgen/./bal/cnf/tracer/cnfgexftracer.hpp
// Function: bal::CnfGexfTracer::finish()
void finish() override {
            _assert_level_0(p_cnf_ != nullptr);
            write_nodes(*p_cnf_, edges_);
            write_edges(*p_cnf_, edges_);
            writer::write_footer(*p_cnf_);
            p_cnf_ = nullptr;
            edges_.clear();
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0x30(%rdi), %rsi
testq %rsi, %rsi
je 0x31c88
movq %rdi, %rbx
leaq 0x18(%rdi), %r14
leaq 0x38(%rdi), %r15
movq 0x18(%rdi), %rax
movq %r14, %rdi
movq %r15, %rdx
callq *0x30(%rax)
movq 0x18(%rbx), %rax
movq 0x30(%rbx), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq *0x40(%rax)
movq 0x30(%rbx), %rsi
movq %r14, %rdi
callq 0x32196
movq $0x0, 0x30(%rbx)
movq %r15, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3311a
leaq 0x18122(%rip), %rdi     # 0x49db1
leaq 0x180b1(%rip), %rsi     # 0x49d47
leaq 0x18126(%rip), %rcx     # 0x49dc3
movl $0x39, %edx
callq 0xb180
nop
// File: /workspace/github_cpp_makefile_star2_O3/vsklad[P]cgen/./bal/cnf/io/cnfvig.hpp
// Function: bal::edge_dynamic_data_t<true>::update(unsigned int, bal::edge_action_t, unsigned int)
void update(const uint32_t clause_header, const edge_action_t action, const timestamp_t timestamp) {
            switch(action) {
                case eaInsert:
                    clauses_count = 1;
                    start = timestamp;
                    end = TIMESTAMP_MAX;
                    break;
                case eaUpdate:
                    clauses_count++;
                    break;
                case eaRemove:
                    _assert_level_0(timestamp >= start);
                    _assert_level_0(clauses_count > 0);
                    clauses_count--;
                    if (clauses_count == 0) {
                        end = timestamp;
                    };
                    break;
            };
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
cmpl $0x2, %edx
je 0x332a0
cmpl $0x1, %edx
je 0x3329c
testl %edx, %edx
jne 0x332b4
movl $0x1, (%rdi)
movl %ecx, 0x4(%rdi)
movl $0xffffffff, 0x8(%rdi)  # imm = 0xFFFFFFFF
jmp 0x332b4
incl (%rdi)
jmp 0x332b4
cmpl %ecx, 0x4(%rdi)
ja 0x332b6
movl (%rdi), %eax
testl %eax, %eax
je 0x332d5
decl %eax
movl %eax, (%rdi)
jne 0x332b4
movl %ecx, 0x8(%rdi)
popq %rbp
retq
leaq 0x16b30(%rip), %rdi     # 0x49ded
leaq 0x151fb(%rip), %rsi     # 0x484bf
leaq 0x16b35(%rip), %rcx     # 0x49e00
movl $0x31, %edx
callq 0xb180
leaq 0x16b88(%rip), %rdi     # 0x49e64
leaq 0x151dc(%rip), %rsi     # 0x484bf
leaq 0x16b16(%rip), %rcx     # 0x49e00
movl $0x32, %edx
callq 0xb180
// File: /workspace/github_cpp_makefile_star2_O3/vsklad[P]cgen/./bal/cnf/encoding/cnfencoding.hpp
// Function: bal::Ref<bal::GF2NElement<32ul, bal::Literal<bal::Cnf>>> bal::add2<32ul>(bal::GF2NElement<32ul, bal::Literal<bal::Cnf>>*, bal::GF2NElement<32ul, bal::Literal<bal::Cnf>> const*, bal::GF2NElement<32ul, bal::Literal<bal::Cnf>> const*)
Ref<GF2NElement<N, Literal<Cnf>>> add2(GF2NElement<N, Literal<Cnf>>* const r,
                                            const GF2NElement<N, Literal<Cnf>>* const x,
                                            const GF2NElement<N, Literal<Cnf>>* const y) {
        Ref<GF2NElement<N, Literal<Cnf>>> result = new_instance_if_unassigned(r);
        const GF2NElement<N, Literal<Cnf>>* args[2] = { x, y };
        literal_word_add<N, Literal<Cnf>, add>(result, args, 2);
        return result;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %rbx
callq 0x3481c
leaq -0x30(%rbp), %rsi
movq %r15, (%rsi)
movq %r14, 0x8(%rsi)
movq (%rbx), %rdi
movl $0x2, %edx
callq 0x35526
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x35ee0
movq %rbx, %rsi
callq 0xc254
movq %r14, %rdi
callq 0xb4e0
// File: /workspace/github_cpp_makefile_star2_O3/vsklad[P]cgen/./bal/io/textreader.hpp
// Function: operator<<(std::ostream&, TextReaderException const&)
std::ostream& operator << (std::ostream& stream, const TextReaderException &e) {
        stream << e.message_;
        if (e.line_index_ > 0) {
            stream << ", line: " << e.line_index_ << ", pos: " << e.pos_ << ", \"" << e.line_ << "\"";
        };
        return stream;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x30(%rsi), %rsi
movq 0x38(%r14), %rdx
callq 0xb320
cmpq $0x0, (%r14)
je 0x38a39
leaq 0x12006(%rip), %rsi     # 0x4a9c9
movl $0x8, %edx
movq %rbx, %rdi
callq 0xb320
movq (%r14), %rsi
movq %rbx, %rdi
callq 0xb190
movq %rax, %r15
leaq 0x11fed(%rip), %rsi     # 0x4a9d2
movl $0x7, %edx
movq %rax, %rdi
callq 0xb320
movq 0x8(%r14), %rsi
movq %r15, %rdi
callq 0xb190
movq %rax, %r15
leaq 0x11fd2(%rip), %rsi     # 0x4a9da
movl $0x3, %edx
movq %rax, %rdi
callq 0xb320
movq 0x10(%r14), %rsi
movq 0x18(%r14), %rdx
movq %r15, %rdi
callq 0xb320
leaq 0x11fb0(%rip), %rsi     # 0x4a9dc
movl $0x1, %edx
movq %rax, %rdi
callq 0xb320
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/vsklad[P]cgen/./bal/io/textreader.hpp
// Function: TextReader::read_quoted[abi:cxx11]()
std::string read_quoted() {
        load_next_token();
        if (current_token_type_ == ttQuoted) {
            std::string result = current_line_.substr(current_token_pos_ + 1, current_token_len_ - 2);
            skip_token();
            return result;
        } else {
            parse_error("Expect a quoted value");
            return std::string();
        };
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x1d33a
cmpl $0x7, 0x40(%r14)
jne 0x39565
leaq 0x18(%r14), %rsi
movq 0x8(%r14), %rdx
movq 0x10(%r14), %rcx
incq %rdx
addq $-0x2, %rcx
movq %rbx, %rdi
callq 0xb2e0
movq 0x10(%r14), %rax
addq %rax, 0x8(%r14)
movq $0x0, 0x10(%r14)
movl $0x0, 0x40(%r14)
jmp 0x395b4
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x11427(%rip), %rsi     # 0x4a99c
leaq 0x11435(%rip), %rdx     # 0x4a9b1
leaq -0x40(%rbp), %r15
movq %r15, %rdi
callq 0x1dab2
movq %r14, %rdi
movq %r15, %rsi
callq 0x1c690
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x395a1
callq 0xb280
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
movq %rbx, %rax
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 0x395d5
callq 0xb280
movq %rbx, %rdi
callq 0xb4e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x1d33a
cmpq $0x0, 0x10(%rbx)
je 0x3a919
movq 0x8(%rbx), %rax
movq 0x18(%rbx), %rcx
cmpb $0x2d, (%rcx,%rax)
jne 0x3a919
incq %rax
movq %rax, 0x8(%rbx)
movq $0x0, 0x10(%rbx)
movl $0x0, 0x40(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x1c066
movl %eax, %r14d
negq %r14
jmp 0x3a92b
movq %rbx, %rdi
xorl %esi, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x1c066
movl %eax, %r14d
movslq %r14d, %rax
cmpq %r14, %rax
je 0x3a96f
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x10123(%rip), %rsi     # 0x4aa66
leaq 0x10148(%rip), %rdx     # 0x4aa92
leaq -0x40(%rbp), %r15
movq %r15, %rdi
callq 0x1dab2
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1c690
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x3a96f
callq 0xb280
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 0x3a990
callq 0xb280
movq %rbx, %rdi
callq 0xb4e0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x3bc4a
leaq 0x10(%rbx), %rdi
callq 0x3bc82
movq $0x0, 0x70(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0xb0f0
leaq 0x40(%r15), %r14
leaq -0x78(%rbp), %rsi
movq %r14, %rdi
callq 0x3bcba
movq %rax, %r12
leaq -0x68(%rbp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x3afad
callq 0xb280
addq $0x48, %r15
cmpq %r15, %r12
je 0x3afc7
addq $0x40, %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2187a
jmp 0x3b01d
leaq -0x78(%rbp), %r15
leaq -0x38(%rbp), %rsi
movq %r15, %rdi
movq %rbx, %rdx
callq 0x3b7dc
movq %r14, %rdi
movq %r15, %rsi
callq 0x3bd58
cmpl $0x0, -0x40(%rbp)
je 0x3b008
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x3b001
callq 0xb350
movq $0x0, -0x58(%rbp)
movl $0x0, -0x40(%rbp)
movl $0x0, -0x50(%rbp)
movq -0x78(%rbp), %rdi
cmpq %r13, %rdi
je 0x3b01d
callq 0xb280
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x78(%rbp), %rdi
callq 0x3b832
jmp 0x3b054
movq %rax, %rbx
leaq -0x68(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b054
callq 0xb280
jmp 0x3b054
movq %rax, %rbx
movq %rbx, %rdi
callq 0xb4e0
// File: /workspace/github_cpp_makefile_star2_O3/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), %rax
addq $0x48, %r14
cmpq %r14, %rax
je 0x3b324
movl %esi, %ebx
movl 0x48(%rax), %edx
testq %rdx, %rdx
je 0x3b317
movq 0x40(%rax), %rsi
movl (%rsi), %edi
shrl %edi
decl %edi
movb $0x1, %cl
cmpl %ebx, %edi
je 0x3b326
movl $0x1, %r8d
movq %r8, %rdi
cmpq %r8, %rdx
je 0x3b312
movl (%rsi,%rdi,4), %r9d
shrl %r9d
decl %r9d
leaq 0x1(%rdi), %r8
cmpl %ebx, %r9d
jne 0x3b2f7
cmpq %rdx, %rdi
jb 0x3b326
movq %rax, %rdi
callq 0xb330
cmpq %r14, %rax
jne 0x3b2d9
xorl %ecx, %ecx
movl %ecx, %eax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x3bcba
addq $0x48, %r14
cmpq %r14, %rax
je 0x3b41c
movl 0x8(%rbx), %ecx
cmpl 0x48(%rax), %ecx
jne 0x3b42a
testl %ecx, %ecx
je 0x3b423
movq (%rbx), %rdx
movq 0x40(%rax), %rsi
xorl %edi, %edi
xorl %eax, %eax
cmpl $-0x1, (%rsi,%rdi,4)
jne 0x3b40f
movl (%rdx,%rdi,4), %r8d
cmpl $-0x1, %r8d
je 0x3b40f
movl %r8d, (%rsi,%rdi,4)
incl %eax
movl 0x8(%rbx), %ecx
incq %rdi
movl %ecx, %r8d
cmpq %r8, %rdi
jb 0x3b3f6
jmp 0x3b425
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
jmp 0x3b425
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x1028a(%rip), %rdi     # 0x4b6bb
leaq 0x102a6(%rip), %rsi     # 0x4b6de
leaq 0x102b9(%rip), %rcx     # 0x4b6f8
movl $0x44, %edx
callq 0xb180
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x3b4af
movq %rsi, %rbx
movq (%rsi), %r15
movl 0x48(%rax), %esi
testl %esi, %esi
je 0x3b4a2
movq 0x40(%rax), %rcx
xorl %edx, %edx
movl (%rcx,%rdx,4), %edi
leal 0x1(%rdi), %r8d
cmpl $0x3, %r8d
jb 0x3b498
movl %edi, %esi
shrl %esi
decl %esi
cmpl 0x8(%rbx), %esi
jae 0x3b4ba
movl %esi, %esi
movl %edi, (%r15,%rsi,4)
movl 0x48(%rax), %esi
incq %rdx
movl %esi, %edi
cmpq %rdi, %rdx
jb 0x3b477
movq %rax, %rdi
callq 0xb330
cmpq %r14, %rax
jne 0x3b46a
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x102a4(%rip), %rdi     # 0x4b765
leaq 0x10216(%rip), %rsi     # 0x4b6de
leaq 0x102b7(%rip), %rcx     # 0x4b786
movl $0x61, %edx
callq 0xb180
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x3c264
movq 0x1fcc4(%rip), %rbx     # 0x5bfb0
leaq 0xf5cf(%rip), %rsi      # 0x4b8c2
movl $0x65, %edx
movq %rbx, %rdi
callq 0xb320
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xb2a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0xb030
movq %rax, %rdi
callq 0xb1a0
leaq 0xf5fa(%rip), %rsi      # 0x4b928
movl $0x105, %edx            # imm = 0x105
movq %rbx, %rdi
callq 0xb320
leaq 0xf6ec(%rip), %rsi      # 0x4ba2e
movl $0x2a6, %edx            # imm = 0x2A6
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xb320
// File: /workspace/github_cpp_makefile_star2_O3/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 0x3d43e
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x297b(%rip), %rsi      # 0x3fd4a
movl $0x1, %edx
callq 0xb320
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 0xb190
testl %ebx, %ebx
je 0x3d43e
leaq 0x2944(%rip), %rsi      # 0x3fd4a
movl $0x1, %edx
movq %r14, %rdi
callq 0xb320
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 0xb4c0
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 %r14
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebp
movl %edi, %ebx
leal 0x1(%rbx), %eax
movslq %eax, %rsi
leaq 0x4(%rsp), %rdx
movl $0x0, (%rdx)
leaq 0x8(%rsp), %r14
leaq 0x3(%rsp), %rcx
movq %r14, %rdi
callq 0x137a
movslq %ebx, %rax
movq (%r14), %rdi
testl %eax, %eax
jle 0x12ed
movslq %ebp, %rcx
movl $0x1, %edx
movl (%rdi,%rdx,4), %esi
leal 0x1(%rsi), %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, %esi
incl %esi
movl %esi, (%rdi,%rdx,4)
leal 0x1(%rdx), %esi
cmpl %ebx, %esi
jg 0x12e4
movslq %esi, %rsi
movq %rsi, %r8
subq %rdx, %r8
movl (%rdi,%r8,4), %r8d
addl (%rdi,%rsi,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, (%rdi,%rsi,4)
incl %esi
jmp 0x12a5
imulq %rcx, %rdx
cmpq %rax, %rdx
jle 0x1271
movl (%rdi,%rax,4), %ebx
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x10c0
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x2ccd(%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 0x2c91(%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
// File: /workspace/github_cpp_makefile_star2_O3/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 0x15e5
movq 0x2cd0(%rip), %rdi      # 0x3fe0
leaq -0xa8(%rbp), %rsi
callq 0x15e5
leaq -0x48(%rbp), %rax
movq %rax, -0x10(%rax)
movq -0xd8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
addq %rsi, %rdx
leaq -0x58(%rbp), %rdi
callq 0x14ea
leaq -0x68(%rbp), %r13
movq %r13, -0x10(%r13)
movq -0xa8(%rbp), %rsi
movq -0xa0(%rbp), %rdx
addq %rsi, %rdx
leaq -0x78(%rbp), %rdi
callq 0x14ea
movq -0x50(%rbp), %rdx
cmpq -0x70(%rbp), %rdx
jne 0x1387
movq -0x78(%rbp), %rbx
testq %rdx, %rdx
je 0x1390
movq -0x58(%rbp), %rdi
movq %rbx, %rsi
callq 0x10c0
testl %eax, %eax
sete %r12b
jmp 0x1393
movq -0x78(%rbp), %rbx
xorl %r12d, %r12d
jmp 0x1393
movb $0x1, %r12b
cmpq %r13, %rbx
je 0x13a7
movq -0x68(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x10b0
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %r13
cmpq %r13, %rdi
je 0x13c0
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x10b0
testb %r12b, %r12b
je 0x142f
leaq -0x58(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
callq 0x167a
movq 0x2bed(%rip), %rbx      # 0x3fd0
leaq -0x58(%rbp), %rsi
movq %rbx, %rdi
callq 0x16d3
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq 0x2bc3(%rip), %rdi      # 0x3fd0
callq 0x1030
movq %rax, %rdi
callq 0x1060
movq -0x58(%rbp), %rdi
cmpq %r13, %rdi
je 0x142f
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x10b0
movq -0xa8(%rbp), %rdi
cmpq %r15, %rdi
je 0x144a
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x10b0
movq -0xd8(%rbp), %rdi
cmpq %r14, %rdi
je 0x1465
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 0x14a9
movq %rax, %rbx
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
jne 0x149b
jmp 0x14ac
jmp 0x14a9
movq %rax, %rbx
movq -0x58(%rbp), %rdi
cmpq %r13, %rdi
je 0x14ac
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x10b0
jmp 0x14ac
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
cmpq %r15, %rdi
je 0x14c7
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x10b0
movq -0xd8(%rbp), %rdi
cmpq %r14, %rdi
je 0x14e2
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x10b0
movq %rbx, %rdi
callq 0x1120
// File: /workspace/github_cpp_makefile_star2_O3/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 0xd3d5
movl %ebx, %edi
callq 0xd2ef
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 0x682c
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_O3/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 0xce7b(%rip), %rsi      # 0x132e8
xorl %r12d, %r12d
leaq 0xce51(%rip), %r13      # 0x132c8
xorl %ebx, %ebx
addq %r12, %rsi
movq %r14, %rdi
callq 0x3040
testl %eax, %eax
jne 0x64a0
movq (%r13), %rax
movq 0x8(%r13), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %rbx, %rdx
jbe 0x64d3
movq (%rax,%rbx,8), %r15
incq %rbx
movq 0xce46(%rip), %rax      # 0x132f0
movq 0xce37(%rip), %rsi      # 0x132e8
subq %rsi, %rax
sarq $0x5, %rax
addq $0x20, %r12
cmpq %rbx, %rax
ja 0x6479
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x7e14(%rip), %rdi      # 0xe2ee
movq %rbx, %rsi
xorl %eax, %eax
callq 0x3210
// File: /workspace/github_cpp_makefile_star2_O3/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 0x686e
movl %esi, %eax
leaq 0x7b56(%rip), %rdx      # 0xe3b0
movslq (%rdx,%rax,4), %rcx
addq %rdx, %rcx
leaq 0x7b68(%rip), %rdx      # 0xe3d0
movq (%rdx,%rax,8), %r8
jmp 0x687b
movl $0xd, %r8d
leaq 0x7b25(%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 0x68ab
movq (%r15), %rsi
incq %rsi
callq 0x3190
movq %r14, %rdi
callq 0x32b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x7225
decl %eax
movq 0x50(%rbx), %rbx
decl %eax
jne 0x721d
movl 0x24(%r15), %r13d
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl %eax, %r12d
movq %rbx, %rdi
callq 0x6ba0
addl %r12d, %eax
cmpl %eax, %r13d
je 0x72f2
movl 0x24(%r15), %r13d
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl %eax, %r12d
movq %rbx, %rdi
callq 0x6ba0
addl %r12d, %eax
incl %eax
cmpl %eax, %r13d
jne 0x7271
movq 0x60(%rbx), %rbx
jmp 0x72ed
movl 0x24(%r15), %r13d
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl %eax, %r12d
movq %rbx, %rdi
callq 0x6ba0
addl %r12d, %eax
decl %eax
cmpl %eax, %r13d
jne 0x7299
movq 0x68(%rbx), %rbx
jmp 0x72ed
movl 0x24(%r15), %r13d
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl %eax, %r12d
movq %rbx, %rdi
callq 0x6ba0
addl %r12d, %eax
addl $0x2, %eax
cmpl %eax, %r13d
jne 0x72c2
movq 0x60(%rbx), %rax
jmp 0x72e9
movl 0x24(%r15), %r15d
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl %eax, %r14d
movq %rbx, %rdi
callq 0x6ba0
addl %r14d, %eax
addl $-0x2, %eax
cmpl %eax, %r15d
jne 0x730f
movq 0x68(%rbx), %rax
movq 0x10(%rax), %rbx
testq %rbx, %rbx
je 0x730b
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 0x72f9
movl $0x4, %edi
callq 0x30d0
movl $0x0, (%rax)
leaq 0xb552(%rip), %rsi      # 0x12878
movq %rax, %rdi
xorl %edx, %edx
callq 0x3290
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rcx, -0x28(%rbp)
xorl %r8d, %r8d
callq 0x7874
cmpq %r15, %r14
je 0x8655
movq 0x58(%rbx), %rax
movq 0x60(%rbx), %rcx
leaq -0x38(%rbp), %rsi
movq %rcx, (%rsi)
leaq -0x30(%rbp), %rdx
movq %rax, (%rdx)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rcx
callq 0x93fd
movq -0x20(%rbp), %rsi
cmpq 0x58(%rbx), %rsi
je 0x8655
movq 0x60(%rbx), %rdx
cmpq %rdx, %rsi
je 0x864d
leaq -0x8(%rsi), %rdi
subq %rsi, %rdx
callq 0x3260
movq 0x60(%rbx), %rdx
addq $-0x8, %rdx
movq %rdx, 0x60(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x8674
movq %r14, %rdi
callq 0x32b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x8fcc
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 0x5675(%rip), %rsi      # 0xe5a4
callq 0x32e0
movq %r13, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8f54
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x8f5c
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 0x8f98
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x8fb1
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 0x8f19
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x9019
movq %rax, %r14
jmp 0x9000
movq %rax, %r14
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x9000
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3190
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x9019
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3190
movq (%rbx), %rdi
cmpq -0x30(%rbp), %rdi
je 0x9031
movq -0x30(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3190
movq %r14, %rdi
callq 0x32b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rcx, -0x28(%rbp)
xorl %r8d, %r8d
callq 0x9b04
cmpq %r15, %r14
je 0xaa13
movq 0x70(%rbx), %rax
movq 0x78(%rbx), %rcx
leaq -0x38(%rbp), %rsi
movq %rcx, (%rsi)
leaq -0x30(%rbp), %rdx
movq %rax, (%rdx)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rcx
callq 0x93fd
movq -0x20(%rbp), %rsi
cmpq 0x70(%rbx), %rsi
je 0xaa13
movq 0x78(%rbx), %rdx
cmpq %rdx, %rsi
je 0xaa0b
leaq -0x8(%rsi), %rdi
subq %rsi, %rdx
callq 0x3260
movq 0x78(%rbx), %rdx
addq $-0x8, %rdx
movq %rdx, 0x78(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0xaa32
movq %r14, %rdi
callq 0x32b0
nop