LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_parser.cpp
// Function: pl0_call_proc_fn(input_t*)
pair<int, pl0_ast_call_proc *> pl0_call_proc_fn(input_t *text) {
    auto parser = pl0_identify + (~pl0_arg_list);
    auto res = (spaces >> parser << spaces)(text);
    if (verbose) {
        cout << "parsing: Procedure Call" << endl;
    }
    return make_pair(std::get<0>(res), new pl0_ast_call_proc(text->locate(), std::get<1>(res).first, std::get<1>(res).second));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x320, %rsp            # imm = 0x320
movq %rdi, %rbx
leaq 0xa7036(%rip), %rsi     # 0xbb128
leaq 0xc8(%rsp), %r14
movq %r14, %rdi
callq 0x2e2d4
leaq 0xa6a7f(%rip), %rsi     # 0xbab88
leaq 0x38(%rsp), %rdi
movq %r14, %rdx
callq 0x2e1a8
leaq 0xc8(%rsp), %rdi
callq 0x2e346
leaq 0xa6586(%rip), %rsi     # 0xba6b0
leaq 0x228(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x2e580
leaq 0xa656d(%rip), %rdx     # 0xba6b0
leaq 0xc8(%rsp), %rdi
leaq 0x228(%rsp), %rsi
callq 0x2e384
movq %rsp, %rdi
leaq 0xc8(%rsp), %rsi
movq %rbx, %rdx
callq 0x1ef34
movq 0x218(%rsp), %rax
testq %rax, %rax
je 0x1418a
leaq 0x208(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x1c0(%rsp), %rdi
callq 0x161f6
leaq 0x130(%rsp), %r14
leaq 0x178(%rsp), %r15
movq %r15, %rdi
callq 0x2e346
movq %r14, %rdi
callq 0x297aa
movq -0x58(%r15), %rax
testq %rax, %rax
je 0x141d2
leaq 0x110(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0xc8(%rsp), %rdi
callq 0x161f6
leaq 0x290(%rsp), %r14
leaq 0x2d8(%rsp), %r15
movq %r15, %rdi
callq 0x2e346
movq %r14, %rdi
callq 0x297aa
movq -0x58(%r15), %rax
testq %rax, %rax
je 0x1421a
leaq 0x270(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x228(%rsp), %rdi
callq 0x161f6
movl $0x28, %edi
callq 0x5250
movq %rax, %r14
movq 0x8(%rbx), %rax
movq %rax, 0x8(%r14)
movl $0x4, 0x10(%r14)
leaq 0xa508d(%rip), %rax     # 0xb92d8
movq %rax, (%r14)
leaq 0x10(%rsp), %rax
movups 0x10(%rax), %xmm0
movups %xmm0, 0x18(%r14)
movl 0x20(%rax), %ebx
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14275
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x80(%rsp), %rdi
callq 0x2e346
leaq 0x38(%rsp), %rdi
callq 0x297aa
movl %ebx, %eax
movq %r14, %rdx
addq $0x320, %rsp            # imm = 0x320
popq %rbx
popq %r14
popq %r15
retq
jmp 0x142a2
jmp 0x142a2
movq %rax, %rdi
callq 0x253c4
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x142f1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x142f1
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0x1f28e
jmp 0x142df
movq %rax, %rbx
leaq 0x228(%rsp), %rdi
callq 0x1f306
jmp 0x142f1
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x2e346
leaq 0x38(%rsp), %rdi
callq 0x297aa
jmp 0x1431a
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0x2e346
movq %rbx, %rdi
callq 0x53d0
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_ast.cpp
// Function: Value::str[abi:cxx11]() const
std::string const Value::str() const {
    switch (t) {
        case IMM: return to_string(iv);
        case STR: return sv;
        default: return "";
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rsi), %eax
cmpl $0x1, %eax
je 0x62945
testl %eax, %eax
jne 0x62964
movl 0x4(%rsi), %r15d
movl %r15d, %ebp
negl %ebp
cmovsl %r15d, %ebp
movl $0x1, %r14d
cmpl $0xa, %ebp
jb 0x62988
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x6297f
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x62985
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x62988
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x62912
addl $-0x3, %r14d
jmp 0x62988
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rdx
addq %rax, %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x351dc
jmp 0x629b6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x30b9d(%rip), %rdx     # 0x9350f
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x253d0
jmp 0x629b6
addl $-0x2, %r14d
jmp 0x62988
decl %r14d
shrl $0x1f, %r15d
movl %r15d, %esi
addl %r14d, %esi
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x5300
movq (%rbx), %rdi
addq %r15, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x651be
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_tac_gen.cpp
// Function: pl0_tac_prog(pl0_ast_prog const*)
void pl0_tac_prog(pl0_ast_prog const *prog) {
    cout << __func__;
    // set up new flag.
    valtb.tag(); vartb.tag();
    proctb.tag(); functb.tag();
    pl0_tac_const_stmt(prog->consts);
    pl0_tac_var_stmt(prog->vars);
    for (auto && e: prog->exes) {
        switch (e->t) {
            case pl0_ast_executable::type_t::PROCEDURE:
                pl0_tac_procedure_stmt(e->proc); break;
            case pl0_ast_executable::type_t::FUNCTION:
                pl0_tac_function_stmt(e->func); break;
            default: cout << "ERROR" << endl;
        }
    }
    irb.emitlabel(irb.makelabel());
    pl0_tac_compound_stmt(prog->stmts);
    // pop stack.
    valtb.detag(); vartb.detag();
    proctb.detag(), functb.detag();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x53b72(%rip), %r14     # 0xb9fd8
leaq 0x2d0a2(%rip), %rsi     # 0x9350f
movq %r14, %rdi
xorl %edx, %edx
callq 0x52e0
leaq 0x551a2(%rip), %rdi     # 0xbb620
callq 0x75da8
leaq 0x55166(%rip), %rdi     # 0xbb5f0
callq 0x75dea
leaq 0x551ba(%rip), %rdi     # 0xbb650
callq 0x75e2c
leaq 0x551de(%rip), %rdi     # 0xbb680
callq 0x75e6e
movq 0x8(%rbx), %rdi
callq 0x6658e
movq 0x10(%rbx), %rdi
callq 0x66c7a
movq 0x18(%rbx), %r12
movq 0x20(%rbx), %r13
cmpq %r13, %r12
je 0x66533
leaq 0x2c481(%rip), %r15     # 0x9294e
movq (%r12), %rax
movl 0x28(%rax), %ecx
cmpl $0x1, %ecx
je 0x664e8
testl %ecx, %ecx
jne 0x664f3
movq 0x30(%rax), %rdi
callq 0x678be
jmp 0x6652a
movq 0x38(%rax), %rdi
callq 0x6829e
jmp 0x6652a
movl $0x5, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x52e0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5240
movsbl %al, %esi
movq %r14, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5190
addq $0x8, %r12
cmpq %r13, %r12
jne 0x664cd
leaq 0x5506e(%rip), %r14     # 0xbb5a8
movq %r14, %rdi
callq 0x632aa
movq %r14, %rdi
movl %eax, %esi
callq 0x75eb0
movq 0x30(%rbx), %rdi
callq 0x6933a
leaq 0x550c4(%rip), %rdi     # 0xbb620
callq 0x76068
leaq 0x55088(%rip), %rdi     # 0xbb5f0
callq 0x760cc
leaq 0x550dc(%rip), %rdi     # 0xbb650
callq 0x76130
leaq 0x55100(%rip), %rdi     # 0xbb680
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x76194
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_tac_gen.cpp
// Function: scope_name[abi:cxx11]()
static std::string scope_name() {
    string name = "";
    for (auto && s: scope) {
        name = name + "_" + s;
    }
    return name;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rsp)
movq %rax, (%rdi)
leaq 0x2a13d(%rip), %rdx     # 0x9350f
movq %rdx, %rsi
callq 0x253d0
movq 0x521f7(%rip), %r13     # 0xbb5d8
movq 0x521f8(%rip), %r15     # 0xbb5e0
cmpq %r15, %r13
je 0x694c1
leaq 0x18(%rsp), %rbp
leaq 0x38(%rsp), %r12
leaq 0x8(%rsp), %r14
movq %rbp, 0x8(%rsp)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x351dc
movq %r14, %rdi
leaq 0x295af(%rip), %rsi     # 0x929d0
callq 0x5420
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %r14, %rdi
callq 0x50d0
movq %r12, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x69459
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x69461
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
leaq 0x28(%rsp), %rsi
callq 0x5310
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x6949d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x694b4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
addq $0x20, %r13
cmpq %r15, %r13
jne 0x69400
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x694f1
jmp 0x694d7
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x694f1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
movq (%rbx), %rdi
cmpq (%rsp), %rdi
je 0x69509
movq (%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x5260
movq %r14, %rdi
callq 0x53d0
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/./pl0_ast.hpp
// Function: pl0_env<constant>::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
bool pl0_env<T>::find(std::string const & name, bool cross) {
    if (this->empty()) { return false; }
    for (int i = this->tb.size()-1; i >= 0; --i) {
        if (!cross && i < this->tags.back()) {
            break;
        }
        if (this->tb[i].name == name || (this->tb[i].name.rfind('_') != this->tb[i].name.npos && this->tb[i].name.substr(this->tb[i].name.rfind('_')+1) == name)) {
            return true;
        }
    }
    return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, 0x4(%rsp)
movq (%rdi), %rcx
movq 0x8(%rdi), %rax
cmpq %rax, %rcx
je 0x76345
subq %rcx, %rax
shrq $0x3, %rax
imull $0x38e38e39, %eax, %eax # imm = 0x38E38E39
decl %eax
js 0x76345
movq %rsi, %r14
movq %rdi, %r15
movl %eax, %r12d
leaq (,%r12,8), %rax
leaq (%rax,%rax,8), %rbx
cmpb $0x0, 0x4(%rsp)
jne 0x7625c
movq 0x20(%r15), %rax
movslq -0x4(%rax), %rax
cmpq %rax, %r12
jl 0x76345
movq (%r15), %r13
movq 0x8(%r13,%rbx), %rdx
addq %rbx, %r13
cmpq 0x8(%r14), %rdx
jne 0x7628d
movb $0x1, %bpl
testq %rdx, %rdx
je 0x76347
movq (%r14), %rsi
movq (%r13), %rdi
callq 0x5280
testl %eax, %eax
je 0x76347
movq %r13, %rdi
movl $0x5f, %esi
movq $-0x1, %rdx
callq 0x5430
cmpq $-0x1, %rax
je 0x76330
movq (%r15), %r13
addq %rbx, %r13
movq %r13, %rdi
movl $0x5f, %esi
movq $-0x1, %rdx
callq 0x5430
leaq 0x1(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %r13, %rsi
movq $-0x1, %rcx
callq 0x52a0
movq 0x10(%rsp), %rdx
cmpq 0x8(%r14), %rdx
jne 0x76305
movq 0x8(%rsp), %r13
testq %rdx, %rdx
je 0x7630e
movq (%r14), %rsi
movq %r13, %rdi
callq 0x5280
testl %eax, %eax
sete %bpl
jmp 0x76311
movq 0x8(%rsp), %r13
xorl %ebp, %ebp
jmp 0x76311
movb $0x1, %bpl
leaq 0x18(%rsp), %rax
cmpq %rax, %r13
je 0x7632b
movq 0x18(%rsp), %rsi
incq %rsi
movq %r13, %rdi
callq 0x5260
testb %bpl, %bpl
jne 0x76358
leaq -0x1(%r12), %rax
addq $-0x48, %rbx
testq %r12, %r12
movq %rax, %r12
jg 0x76244
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %bpl
jmp 0x76347
nop
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/./pl0_ast.hpp
// Function: pl0_env<variable>::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, variable&)
bool pl0_env<T>::find(std::string const & name, bool cross, T & res) {
    if (this->empty()) { return false; }
    for (int i = this->tb.size()-1; i >= 0; --i) {
        if (!cross && i < this->tags.back()) {
            break;
        }
        if (this->tb[i].name == name || (this->tb[i].name.rfind('_') != this->tb[i].name.npos && this->tb[i].name.substr(this->tb[i].name.rfind('_')+1) == name)) {
            res = this->tb[i];
            return true;
        }
    }
    return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %edx, 0xc(%rsp)
movq (%rdi), %rdx
movq 0x8(%rdi), %rax
cmpq %rax, %rdx
je 0x7703a
subq %rdx, %rax
shrq $0x3, %rax
imull $0xc4ec4ec5, %eax, %eax # imm = 0xC4EC4EC5
decl %eax
js 0x7703a
movq %rsi, %r15
movq %rdi, %r14
movq %rcx, 0x10(%rsp)
movl %eax, %r12d
imulq $0x68, %r12, %rbx
cmpb $0x0, 0xc(%rsp)
jne 0x76f53
movq 0x20(%r14), %rax
movslq -0x4(%rax), %rax
cmpq %rax, %r12
jl 0x7703a
movq (%r14), %rbp
leaq (%rbx,%rbp), %r13
movq 0x8(%rbp,%rbx), %rdx
cmpq 0x8(%r15), %rdx
jne 0x76f82
testq %rdx, %rdx
je 0x77041
movq (%r15), %rsi
movq (%r13), %rdi
callq 0x5280
testl %eax, %eax
je 0x77041
movq %r13, %rdi
movl $0x5f, %esi
movq $-0x1, %rdx
callq 0x5430
cmpq $-0x1, %rax
je 0x77025
movq (%r14), %r13
addq %rbx, %r13
movq %r13, %rdi
movl $0x5f, %esi
movq $-0x1, %rdx
callq 0x5430
leaq 0x1(%rax), %rdx
leaq 0x18(%rsp), %rdi
movq %r13, %rsi
movq $-0x1, %rcx
callq 0x52a0
movq 0x20(%rsp), %rdx
cmpq 0x8(%r15), %rdx
jne 0x76ffa
movq 0x18(%rsp), %r13
testq %rdx, %rdx
je 0x77003
movq (%r15), %rsi
movq %r13, %rdi
callq 0x5280
testl %eax, %eax
sete %bpl
jmp 0x77006
movq 0x18(%rsp), %r13
xorl %ebp, %ebp
jmp 0x77006
movb $0x1, %bpl
leaq 0x28(%rsp), %rax
cmpq %rax, %r13
je 0x77020
movq 0x28(%rsp), %rsi
incq %rsi
movq %r13, %rdi
callq 0x5260
testb %bpl, %bpl
jne 0x7703e
leaq -0x1(%r12), %rax
addq $-0x68, %rbx
testq %r12, %r12
movq %rax, %r12
jg 0x76f3b
xorl %eax, %eax
jmp 0x77081
movq (%r14), %rbp
leaq (%rbx,%rbp), %rsi
movq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x5150
leaq 0x20(%r15), %rdi
leaq (%rbx,%rbp), %rsi
addq $0x20, %rsi
callq 0x5150
leaq 0x40(%r15), %rdi
leaq (%rbx,%rbp), %r14
addq $0x40, %r14
movq %r14, %rsi
callq 0x5150
movl 0x20(%r14), %eax
movl %eax, 0x60(%r15)
movb $0x1, %al
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/./pl0_ast.hpp
// Function: Value::value[abi:cxx11]() const
std::string value() const {
        if (this->t == TYPE::IMM) {
            return to_string(this->iv);
        }
        else {
            return this->sv;
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, (%rsi)
je 0x7770b
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rdx
addq %rax, %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x351dc
jmp 0x7779a
movl 0x4(%rsi), %r15d
movl %r15d, %ebp
negl %ebp
cmovsl %r15d, %ebp
movl $0x1, %r14d
cmpl $0xa, %ebp
jb 0x7776c
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x77763
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x77769
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x7776c
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x77730
addl $-0x3, %r14d
jmp 0x7776c
addl $-0x2, %r14d
jmp 0x7776c
decl %r14d
shrl $0x1f, %r15d
movl %r15d, %esi
addl %r14d, %esi
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x5300
movq (%rbx), %rdi
addq %r15, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x651be
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_opt.cpp
// Function: BasicBlock::findNode(Value*)
int BasicBlock::findNode(Value *val) {
    int k = record.count(*val);
    if (k == 0) {
        k = G.size();
        G.emplace_back(DAGNode(k, val));
        return k;
    }
    else {
        return record[*val];
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x78(%rdi), %r15
movq %r15, %rdi
callq 0x7ddda
leaq 0x80(%rbx), %rcx
cmpq %rcx, %rax
je 0x7a8e0
movq %r15, %rdi
movq %r14, %rsi
callq 0x7c5a6
movl (%rax), %ebx
jmp 0x7a943
leaq 0x60(%rbx), %r15
movq 0x68(%rbx), %rax
subq 0x60(%rbx), %rax
shrq $0x3, %rax
imull $0xba2e8ba3, %eax, %ebx # imm = 0xBA2E8BA3
movq %rsp, %r12
movq %r12, %rdi
movl %ebx, %esi
movq %r14, %rdx
callq 0x7c530
movq %r15, %rdi
movq %r12, %rsi
callq 0x7c442
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a92c
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x7a943
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x5260
movl %ebx, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x7c4fc
movq %rbx, %rdi
callq 0x53d0
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_opt.cpp
// Function: BasicBlock::setMap(Value*, int)
void BasicBlock::setMap(Value *val, int node) {
    auto iter = record.find(*val);
    if (iter == record.end()) {
        record[*val] = node;
        G[node].addItem(val);
    }
    else if (iter->second == node) {
        return;
    }
    else {
        auto it = G[iter->second].items.begin();
        while (it != G[iter->second].items.end()) {
            if (*(*it) == *val) {
                it = G[iter->second].items.erase(it);
            }
            else {
                it++;
            }
        }
        record[*val] = node;
        G[node].addItem(val);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x78(%rdi), %r15
movq %r15, %rdi
callq 0x7e298
movq %rax, %r12
leaq 0x80(%r14), %rax
cmpq %rax, %r12
je 0x7aa1f
movslq 0x68(%r12), %rax
cmpl %ebp, %eax
je 0x7aa62
movl %ebp, 0xc(%rsp)
movq 0x60(%r14), %rcx
imulq $0x58, %rax, %rax
movq 0x18(%rcx,%rax), %r13
cmpq 0x20(%rcx,%rax), %r13
je 0x7aa31
movq (%r13), %rdi
movq %rbx, %rsi
callq 0x7c63a
testb %al, %al
je 0x7aa0c
movslq 0x68(%r12), %rax
movq 0x60(%r14), %rcx
imulq $0x58, %rax, %rax
leaq (%rcx,%rax), %rbp
addq $0x18, %rbp
movq %r13, %rsi
addq $0x8, %rsi
movq 0x8(%rbp), %rdx
cmpq %rdx, %rsi
je 0x7aa02
subq %rsi, %rdx
movq %r13, %rdi
callq 0x53a0
movq 0x8(%rbp), %rdx
addq $-0x8, %rdx
movq %rdx, 0x8(%rbp)
jmp 0x7aa10
addq $0x8, %r13
movslq 0x68(%r12), %rax
movq 0x60(%r14), %rcx
imulq $0x58, %rax, %rax
jmp 0x7a9b7
movq %r15, %rdi
movq %rbx, %rsi
callq 0x7c5a6
movl %ebp, (%rax)
movslq %ebp, %rax
jmp 0x7aa45
movq %r15, %rdi
movq %rbx, %rsi
callq 0x7c5a6
movl 0xc(%rsp), %ecx
movl %ecx, (%rax)
movslq %ecx, %rax
movq 0x60(%r14), %rcx
leaq 0x10(%rsp), %rsi
movq %rbx, (%rsi)
imulq $0x58, %rax, %rax
leaq (%rcx,%rax), %rdi
addq $0x18, %rdi
callq 0x7c82c
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_opt.cpp
// Function: pl0_block(std::vector<TAC, std::allocator<TAC>>&, std::vector<BasicBlock, std::allocator<BasicBlock>>&, int)
int pl0_block(std::vector<TAC> & code, std::vector<BasicBlock> & bbs, int p) {
    std::map<int, std::vector<int>> pres, sufs;
    pl0_block_helper(code, bbs, p, pres, sufs);
    for (auto && bb: bbs) {
        bb.setPrefix(pres[bb.no]);
        bb.setSuffix(sufs[bb.no]);
    }
    return bbs.size();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rsi, %rbx
leaq 0x38(%rsp), %rax
xorl %ecx, %ecx
movl %ecx, (%rax)
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
leaq 0x8(%rsp), %rax
movl %ecx, (%rax)
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
leaq 0x30(%rsp), %rcx
movq %rsp, %r8
callq 0x7bad8
movq (%rbx), %r14
movq 0x8(%rbx), %r13
cmpq %r13, %r14
je 0x7ba87
leaq 0x30(%rsp), %r15
movq %rsp, %r12
movq %r15, %rdi
movq %r14, %rsi
callq 0x7c744
addq $0x30, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x7c2ee
addq $-0x30, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x7c744
addq $0x48, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x7c2ee
addq $0x78, %r14
cmpq %r13, %r14
jne 0x7ba3d
movq (%rbx), %r14
movq 0x8(%rbx), %rax
jmp 0x7ba8a
movq %r14, %rax
subq %r14, %rax
shrq $0x6, %rax
imull $0xaaaaaaab, %eax, %ebx # imm = 0xAAAAAAAB
movq %rsp, %rdi
callq 0x7d6a6
leaq 0x30(%rsp), %rdi
callq 0x7d6a6
movl %ebx, %eax
addq $0x60, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x7babb
movq %rax, %rbx
movq %rsp, %rdi
callq 0x7d6a6
leaq 0x30(%rsp), %rdi
callq 0x7d6a6
movq %rbx, %rdi
callq 0x53d0
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/./pl0_ast.hpp
// Function: Value::operator==(Value const&) const
bool operator == (Value const & v) const {
        bool res = t == v.t;
        if (res) {
            if (t == TYPE::IMM) {
                res = res && iv == v.iv;
            }
            else {
                res = res && sv == v.sv;
            }
        }
        return res;
    }

// Assembly:
movl (%rdi), %eax
cmpl (%rsi), %eax
jne 0x7c66b
testl %eax, %eax
je 0x7c66e
movq 0x10(%rdi), %rdx
cmpq 0x10(%rsi), %rdx
jne 0x7c66b
testq %rdx, %rdx
je 0x7c678
pushq %rax
movq 0x8(%rsi), %rsi
movq 0x8(%rdi), %rdi
callq 0x5280
testl %eax, %eax
sete %al
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
movl 0x4(%rdi), %eax
cmpl 0x4(%rsi), %eax
sete %al
retq
movb $0x1, %al
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_allocator.cpp
// Function: SimpleAllocator::release(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool)
void SimpleAllocator::release(std::string name, bool is_reg) {
    if (is_reg) {
        // release register.
        if (this->used[name]) {
            this->used[name] = false;
            this->record.erase(name);
        }
    }
    else {
        // release variable.
        for (auto && p: this->record) {
            if (p.second == name) {
                this->used[p.first] = false;
                this->record.erase(p.first);
                break;
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
testl %edx, %edx
je 0x7ef14
leaq 0xc0(%rbx), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x813bc
cmpb $0x1, (%rax)
jne 0x7ef62
movq %r15, %rdi
movq %r14, %rsi
callq 0x813bc
movb $0x0, (%rax)
addq $0xf0, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x825be
movq %rbx, %r15
jmp 0x7ef95
movq 0x108(%rbx), %r12
leaq 0xf8(%rbx), %rbp
cmpq %rbp, %r12
je 0x7ef62
leaq 0xf0(%rbx), %r15
movq 0x8(%r14), %r13
cmpq %r13, 0x48(%r12)
jne 0x7ef52
testq %r13, %r13
je 0x7ef71
movq (%r14), %rsi
movq 0x40(%r12), %rdi
movq %r13, %rdx
callq 0x5280
testl %eax, %eax
je 0x7ef71
movq %r12, %rdi
callq 0x51a0
movq %rax, %r12
cmpq %rbp, %rax
jne 0x7ef32
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
addq $0x20, %r12
addq $0xc0, %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x813bc
movb $0x0, (%rax)
movq %r15, %rdi
movq %r12, %rsi
callq 0x825be
movq %r15, %rdi
movq %rax, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x82672
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_allocator.cpp
// Function: SimpleAllocator::spill(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void SimpleAllocator::spill(std::string reg) {
    if (this->used[reg]) {
        this->store(this->record[reg]);
        this->release(reg, true);
    }
    else {
        // DO NOTHING
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
addq $0xc0, %rdi
callq 0x813bc
cmpb $0x1, (%rax)
jne 0x7fecc
leaq 0xf0(%rbx), %rdi
movq %r14, %rsi
callq 0x81438
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x351dc
movq (%rbx), %rax
movq %rbx, %rdi
movq %r15, %rsi
callq *0x38(%rax)
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x7fe83
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x351dc
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq *0x10(%rax)
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x7fecc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
jmp 0x7feea
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x7fefb
movq (%r12), %rsi
incq %rsi
callq 0x5260
movq %rbx, %rdi
callq 0x53d0
nop
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/./pl0_x86.h
// Function: RegisterAllocator::exist(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string exist(std::string name) {
        for (auto && x: record) {
            if (x.second == name) {
                return x.first;
            }
        }
        return "";
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
movq 0x108(%rsi), %r12
addq $0xf8, %r15
cmpq %r15, %r12
je 0x81301
movq %rdx, %r14
movq 0x8(%rdx), %r13
cmpq %r13, 0x48(%r12)
jne 0x812f1
testq %r13, %r13
je 0x8131c
movq (%r14), %rsi
movq 0x40(%r12), %rdi
movq %r13, %rdx
callq 0x5280
testl %eax, %eax
je 0x8131c
movq %r12, %rdi
callq 0x51a0
movq %rax, %r12
cmpq %r15, %rax
jne 0x812d1
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x12200(%rip), %rdx     # 0x9350f
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x253d0
jmp 0x81338
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x20(%r12), %rsi
movq 0x28(%r12), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x351dc
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_x86.cpp
// Function: pl0_x86_gen_blocks(std::vector<BasicBlock, std::allocator<BasicBlock>>&, unsigned long)
static size_t pl0_x86_gen_blocks(std::vector<BasicBlock> & bbs, size_t bp = 0) {
    std::vector<std::string> buffer;
    pl0_x86_gen_header(bbs[bp++], buffer);
    runtime.dump();
    while (bp < bbs.size() && bbs[bp].no == 0) {
        bp = pl0_x86_gen_blocks(bbs, bp);
    }
    for (auto && s: buffer) {
        out.emit(s);
    }
    while (bp < bbs.size() && bbs[bp].no != 0) {
        pl0_x86_gen_body(bbs[bp]);
        if (bbs[bp++].is_end) {
            break; // the end block of a procedure or a function.
        }
    }
    return bp;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rsi
movaps %xmm0, (%rsi)
movq $0x0, 0x10(%rsi)
leaq (%rbx,%rbx,2), %rdi
shlq $0x6, %rdi
addq (%r14), %rdi
callq 0x839f4
leaq 0x37e59(%rip), %rdi     # 0xbb6f8
callq 0x8e844
incq %rbx
movabsq $-0x5555555555555555, %r15 # imm = 0xAAAAAAAAAAAAAAAB
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x6, %rcx
imulq %r15, %rcx
cmpq %rcx, %rbx
jae 0x838e6
leaq (%rbx,%rbx,2), %rcx
shlq $0x6, %rcx
cmpl $0x0, (%rax,%rcx)
jne 0x838e6
movq %r14, %rdi
movq %rbx, %rsi
callq 0x83861
movq %rax, %rbx
jmp 0x838b1
movq 0x20(%rsp), %rbp
movq 0x28(%rsp), %r13
cmpq %r13, %rbp
je 0x83945
leaq 0x10(%rsp), %r12
movq %rsp, %r15
movq %r12, (%rsp)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x351dc
leaq 0x37da5(%rip), %rdi     # 0xbb6c0
movq %r15, %rsi
callq 0x81650
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x83939
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5260
addq $0x20, %rbp
cmpq %r13, %rbp
jne 0x838fd
movq (%r14), %rax
movabsq $-0x5555555555555555, %rbp # imm = 0xAAAAAAAAAAAAAAAB
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x6, %rcx
imulq %rbp, %rcx
cmpq %rcx, %rbx
jae 0x839a2
leaq (%rbx,%rbx,2), %r12
shlq $0x6, %r12
cmpl $0x0, (%rax,%r12)
je 0x839a2
leaq (%rax,%r12), %rcx
movq 0x18(%rcx), %r15
movq 0x20(%rcx), %r13
cmpq %r13, %r15
je 0x83997
movq %r15, %rdi
callq 0x84cc7
addq $0x50, %r15
cmpq %r13, %r15
jne 0x83983
movq (%r14), %rax
incq %rbx
cmpb $0x1, 0x5(%rax,%r12)
jne 0x8394f
leaq 0x20(%rsp), %rdi
callq 0x757a6
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x839df
jmp 0x839df
jmp 0x839df
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x839e2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x839e2
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x757a6
movq %rbx, %rdi
callq 0x53d0
// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/./pl0_ast.hpp
// Function: pl0_env<LOC>::dump()
void dump() {
        cout << ";; -----------------  Symbol Table  -------------------" << endl;
        for (auto && t: tb) {
            cout << ";; " << t.str() << endl;
        }
        cout << ";; -----------------------------------------------------" << endl;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r15
movq 0x2b77c(%rip), %rbx     # 0xb9fd8
leaq 0x4806(%rip), %rsi      # 0x93069
movl $0x37, %edx
movq %rbx, %rdi
callq 0x52e0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5240
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5190
movq (%r15), %r14
movq 0x8(%r15), %rbx
cmpq %rbx, %r14
je 0x8e936
movq 0x2b72a(%rip), %r15     # 0xb9fd8
leaq 0x47b0(%rip), %r12      # 0x93065
leaq 0x8(%rsp), %r13
movl $0x3, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x52e0
movq %r13, %rdi
movq %r14, %rsi
callq 0x8f042
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x52e0
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x5240
movsbl %al, %esi
movq %rbp, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5190
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x8e92d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
addq $0x48, %r14
cmpq %rbx, %r14
jne 0x8e8ba
leaq 0x4764(%rip), %rsi      # 0x930a1
movl $0x38, %edx
movq 0x2b68f(%rip), %rbx     # 0xb9fd8
movq %rbx, %rdi
callq 0x52e0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5240
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5190
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x8e9a6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
movq %r14, %rdi
callq 0x53d0
// File: /workspace/github_cpp_makefile_star2_O3/sharmin-lalani[P]Port-knocking-Backdoor/knocker.c
// Function: main
int main(int argv, char** argc) {

	FILE *config_file; 
	int sockfd, n, serverlen;
	short unsigned int port_num;
	struct sockaddr_in serveraddr, srcaddr;

	// parse the config file   	
	config_file = fopen(argc[1],"r");
    	if(config_file == NULL) {
        	printf("Unable to open config file.\n");
		return -1;
    	}

	
    	/* socket: create the socket */
    	sockfd = socket(AF_INET, SOCK_DGRAM, 0);
    	if (sockfd < 0) {
        	printf("ERROR opening socket\n");
		return -1;
	}

    	/* build the server's Internet address */
    	memset(&serveraddr, 0, sizeof(serveraddr));
    	serveraddr.sin_family = AF_INET;
	inet_aton(argc[2], &serveraddr.sin_addr);

	/* build the knocker's Internet address */
	memset(&srcaddr, 0, sizeof(srcaddr));
	srcaddr.sin_family = AF_INET;
	srcaddr.sin_addr.s_addr = htonl(INADDR_ANY);
    	srcaddr.sin_port = htons(22222);

	/* bind the client socket */
	if (bind(sockfd, (struct sockaddr *) &srcaddr, sizeof(srcaddr)) < 0)
		printf("ERROR in bind\n");

	serverlen = sizeof(serveraddr);

	while (fscanf(config_file, "%hu", &port_num) == 1) {
		//printf("%d\n", port_num);		

		serveraddr.sin_port = htons(port_num);
    		/* send the message to the server */
    		n = sendto(sockfd, NULL, 0, 0, (const sockaddr*)&serveraddr, serverlen);
    		if (n < 0) 
      			printf("ERROR in sendto\n");
		//else
			//printf("packet successfully sent\n");
		sleep(0.1);    

	}
	fclose(config_file);
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r15
movq 0x8(%rsi), %rdi
leaq 0xe29(%rip), %rsi       # 0x2004
callq 0x1090
testq %rax, %rax
je 0x12d7
movq %rax, %rbx
movl $0x2, %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x1050
testl %eax, %eax
js 0x12e0
movl %eax, %r14d
xorps %xmm0, %xmm0
leaq -0x3c(%rbp), %rsi
movaps %xmm0, -0x4(%rsi)
movw $0x2, -0x4(%rsi)
movq 0x10(%r15), %rdi
callq 0x1060
leaq -0x50(%rbp), %rsi
movq $0x0, 0x8(%rsi)
movl $0xce560002, %eax       # imm = 0xCE560002
movq %rax, (%rsi)
movl %r14d, %edi
movl $0x10, %edx
callq 0x1040
testl %eax, %eax
jns 0x1253
leaq 0xdbc(%rip), %rdi       # 0x200a
callq 0x10a0
leaq 0xdac(%rip), %rsi       # 0x2006
leaq -0x2a(%rbp), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x10b0
cmpl $0x1, %eax
jne 0x12cb
leaq -0x40(%rbp), %r12
leaq 0xd8e(%rip), %r13       # 0x2006
leaq -0x2a(%rbp), %r15
movzwl -0x2a(%rbp), %eax
rolw $0x8, %ax
movw %ax, -0x3e(%rbp)
movl %r14d, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r12, %r8
movl $0x10, %r9d
callq 0x1030
testl %eax, %eax
jns 0x12af
leaq 0xd6e(%rip), %rdi       # 0x2018
callq 0x10a0
xorl %edi, %edi
callq 0x1070
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10b0
cmpl $0x1, %eax
je 0x127c
movq %rbx, %rdi
callq 0x1080
xorl %eax, %eax
jmp 0x12f1
leaq 0xd5f(%rip), %rdi       # 0x203d
jmp 0x12e7
leaq 0xd41(%rip), %rdi       # 0x2028
callq 0x10a0
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/KellerMartins[P]PDS2-Pacman/source/main.cpp
// Function: Update()
void Update() {
    #ifndef NDEBUG
    if(IsKeyPressed(KEY_R))
        RenderManager::ReloadShaders();
    #endif

    Game::Update();
    RenderManager::Render();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl $0x52, %edi
callq 0x2fee6
testb %al, %al
je 0x97ae
callq 0xf777
callq 0xb65b
popq %rbp
jmp 0xfa11
// File: /workspace/github_cpp_makefile_star2_O3/KellerMartins[P]PDS2-Pacman/source/utils.cpp
// Function: Lerp(Color, Color, float)
Color Lerp(Color v0, Color v1, float t) {
    if(t<=0) return v0;
    if(t>1) return v1;
    return (Color){(unsigned char)((1 - t) * v0.r + t * v1.r),
                   (unsigned char)((1 - t) * v0.g + t * v1.g),
                   (unsigned char)((1 - t) * v0.b + t * v1.b),
                   (unsigned char)((1 - t) * v0.a + t * v1.a)};
}

// Assembly:
movl %edi, %eax
shrl $0x8, %eax
movl %edi, %ecx
shrl $0x10, %ecx
movl %edi, %edx
shrl $0x18, %edx
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jae 0x9edf
pushq %rbp
movq %rsp, %rbp
movl %esi, %r10d
shrl $0x8, %r10d
movl %esi, %r9d
shrl $0x10, %r9d
movl %esi, %r8d
shrl $0x18, %r8d
ucomiss 0x8f2fe(%rip), %xmm0    # 0x99134
jbe 0x9e48
movl %esi, %edi
movl %r10d, %eax
movl %r9d, %ecx
movl %r8d, %edx
jmp 0x9ede
movss 0x8f2e4(%rip), %xmm1    # 0x99134
movl $0xff, %r11d
andl %r11d, %edi
cvtsi2ss %edi, %xmm2
andl %r11d, %esi
cvtsi2ss %esi, %xmm3
subss %xmm0, %xmm1
mulss %xmm0, %xmm3
mulss %xmm1, %xmm2
addss %xmm3, %xmm2
andl %r11d, %eax
xorps %xmm3, %xmm3
cvtsi2ss %eax, %xmm3
andl %r11d, %r10d
cvtsi2ss %r10d, %xmm4
cvttss2si %xmm2, %edi
mulss %xmm0, %xmm4
mulss %xmm1, %xmm3
addss %xmm4, %xmm3
cvttss2si %xmm3, %eax
andl %r11d, %ecx
xorps %xmm2, %xmm2
cvtsi2ss %ecx, %xmm2
andl %r11d, %r9d
xorps %xmm3, %xmm3
cvtsi2ss %r9d, %xmm3
mulss %xmm0, %xmm3
mulss %xmm1, %xmm2
addss %xmm3, %xmm2
cvttss2si %xmm2, %ecx
xorps %xmm2, %xmm2
cvtsi2ss %edx, %xmm2
xorps %xmm3, %xmm3
cvtsi2ss %r8d, %xmm3
mulss %xmm0, %xmm3
mulss %xmm1, %xmm2
addss %xmm3, %xmm2
cvttss2si %xmm2, %edx
popq %rbp
movzbl %dl, %edx
shll $0x18, %edx
movzbl %cl, %ecx
shll $0x10, %ecx
orl %edx, %ecx
movzbl %al, %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl %dil, %eax
orl %edx, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/KellerMartins[P]PDS2-Pacman/source/game/enemy.cpp
// Function: Enemy::Enemy(int, int, Color)
Enemy::Enemy(int x, int y, Color color) : _model("assets/models/ghost.obj",color){
	_spawnX = x;
	_spawnY = y;
	_x = x;
	_y = y;
	_model.position = {(float)x, 0, (float)y};
	_direcaoY = 0;
	_direcaoX = 0;
	
	_scatter = false;
	_alive = true;

	_color = color;
	_velocidade = GHOST_SPEED_DEFAULT;

	_timerMovimento = 0.0;
	_timerScatter = 0.0;
	
	_goalX = 1.0;
	_goalY = 1.0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %r14d
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %rbx
callq 0xb712
leaq 0xcca2f(%rip), %rax     # 0xd6a38
movq %rax, (%rbx)
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x8f21d(%rip), %rsi     # 0x99238
leaq 0x8f22d(%rip), %rdx     # 0x9924f
leaq -0x48(%rbp), %rdi
callq 0xa75c
leaq 0x8(%rbx), %rdi
leaq -0x48(%rbp), %rsi
movl %r14d, %edx
callq 0xe496
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0xa050
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x8880
movl %r12d, 0x2c0(%rbx)
movl %r15d, 0x2c4(%rbx)
movl %r12d, 0x2c8(%rbx)
movl %r15d, 0x2cc(%rbx)
cvtsi2ss %r12d, %xmm0
cvtsi2ss %r15d, %xmm1
movss %xmm0, 0x18(%rbx)
movl $0x0, 0x1c(%rbx)
movss %xmm1, 0x20(%rbx)
movq $0x0, 0x2d0(%rbx)
movw $0x100, 0x2d8(%rbx)     # imm = 0x100
movl %r14d, 0x2e0(%rbx)
movl $0x40400000, 0x2dc(%rbx) # imm = 0x40400000
movaps 0x8f15d(%rip), %xmm0    # 0x99210
movups %xmm0, 0x2e4(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0xa0e6
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x8880
jmp 0xa0e6
movq %rax, %r14
movq %rbx, %rdi
callq 0xb75c
movq %r14, %rdi
callq 0x8ea0
// File: /workspace/github_cpp_makefile_star2_O3/KellerMartins[P]PDS2-Pacman/source/game/enemy.cpp
// Function: Enemy::OnRestart()
void Enemy::OnRestart(){
	_model.position = {(float)_spawnX, 0, (float)_spawnY};
	_model.SetColor(_color);
	_direcaoX = 0;
	_direcaoY = 0;
	_x = _spawnX;
	_y = _spawnY;
	_scatter = false;
	_scared = false;
	_alive = true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cvtsi2ssl 0x2c0(%rdi), %xmm0
cvtsi2ssl 0x2c4(%rdi), %xmm1
addq $0x8, %rdi
movss %xmm0, 0x18(%rbx)
movl $0x0, 0x1c(%rbx)
movss %xmm1, 0x20(%rbx)
movl 0x2e0(%rbx), %esi
callq 0xe76e
movq $0x0, 0x2d0(%rbx)
movq 0x2c0(%rbx), %rax
movq %rax, 0x2c8(%rbx)
xorl %eax, %eax
movb %al, 0x2d8(%rbx)
movb %al, 0xcf7bf(%rip)      # 0xd9e29
movb $0x1, 0x2d9(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/KellerMartins[P]PDS2-Pacman/source/game/game.cpp
// Function: Game::MenuStateUpdate()
void MenuStateUpdate(){
        GameEvents::TriggerMenuUpdate();
        UI::DrawImage("assets/interface/title.png",0.5,0.4,0.75,0.75);
        UI::DrawTextCentered("Press space", 0.5, 0.8, 7, 0.0, { 246, 196, 2, 255 });

        #if defined(NDEBUG) && !defined(EMSCRIPTEN)
        if(1.0-introFadeTimer > 0){
            UI::DrawRect(0,0,1,1,Lerp(RAYWHITE, {0, 0, 0, 0}, introFadeTimer));
            introFadeTimer+=2*Clamp(GetFrameTime(),0,0.016);
        }
        #endif

        if(IsKeyDown(KEY_SPACE)){
            pacman->Resetar();
            GameEvents::TriggerRestart();
            SetState(Game::GameStart);
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
callq 0xb688
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x8e6c5(%rip), %rsi     # 0x993a5
leaq 0x8e6d8(%rip), %rdx     # 0x993bf
leaq -0x50(%rbp), %rbx
movq %rbx, %rdi
callq 0xa75c
movss 0x8e5f9(%rip), %xmm0    # 0x992f4
movss 0x8e5f5(%rip), %xmm1    # 0x992f8
movss 0x8e5f1(%rip), %xmm2    # 0x992fc
movq %rbx, %rdi
movaps %xmm2, %xmm3
callq 0x10386
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0xad2b
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x8880
leaq -0x20(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x8e686(%rip), %rsi     # 0x993c0
leaq 0x8e68a(%rip), %rdx     # 0x993cb
leaq -0x30(%rbp), %rbx
movq %rbx, %rdi
callq 0xa75c
movss 0x8e59f(%rip), %xmm0    # 0x992f4
movss 0x8e5a3(%rip), %xmm1    # 0x99300
movss 0x8e59f(%rip), %xmm2    # 0x99304
xorps %xmm3, %xmm3
movq %rbx, %rdi
movl $0xff02c4f6, %esi       # imm = 0xFF02C4F6
callq 0x1055a
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0xad8a
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x8880
movl $0x20, %edi
callq 0x2ff44
testb %al, %al
je 0xadc7
movq 0xcf099(%rip), %rdi     # 0xd9e38
callq 0xd950
callq 0xb6e4
movq $0x0, 0xcf08c(%rip) # 0xd9e40
callq 0xadf8
leaq 0xab(%rip), %rax        # 0xae6b
movq %rax, 0xcf091(%rip)     # 0xd9e58
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
movq -0x30(%rbp), %rdi
jmp 0xade0
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0xadf0
movq (%r14), %rsi
incq %rsi
callq 0x8880
movq %rbx, %rdi
callq 0x8ea0
// File: /workspace/github_cpp_makefile_star2_O3/KellerMartins[P]PDS2-Pacman/source/game/game.cpp
// Function: Game::GameStartStateUpdate()
void GameStartStateUpdate(){
        if(stateTimer < 2){
            UI::DrawTextCentered("START!", 0.5, 0.4, 7, 0.0, WHITE);
            GameEvents::TriggerMenuUpdate();

            Vector2 pacSpawn = Mapa::GetPlayerSpawn();
            RenderManager::CameraFollow({pacSpawn.x, 0, pacSpawn.y}, 3);
        }else{
            SetState(GameInProgress);
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movsd 0x8e4c2(%rip), %xmm0    # 0x99340
ucomisd 0xcefba(%rip), %xmm0    # 0xd9e40
jbe 0xaf11
leaq -0x20(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x8e557(%rip), %rsi     # 0x993f2
leaq 0x8e556(%rip), %rdx     # 0x993f8
leaq -0x30(%rbp), %rbx
movq %rbx, %rdi
callq 0xa75c
movss 0x8e43e(%rip), %xmm0    # 0x992f4
movss 0x8e43a(%rip), %xmm1    # 0x992f8
movss 0x8e43e(%rip), %xmm2    # 0x99304
xorps %xmm3, %xmm3
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x1055a
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0xaeeb
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x8880
callq 0xb688
callq 0xc6f6
movaps %xmm0, %xmm1
shufps $0x55, %xmm0, %xmm1     # xmm1 = xmm1[1,1],xmm0[1,1]
xorps %xmm2, %xmm2
unpcklps %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
movss 0x8e2fa(%rip), %xmm2    # 0x99204
callq 0xf917
jmp 0xaf3b
movq $0x0, 0xcef24(%rip) # 0xd9e40
movabsq $-0x4010000000000000, %rax # imm = 0xBFF0000000000000
movq %rax, 0xcef33(%rip)     # 0xd9e60
leaq 0x47(%rip), %rax        # 0xaf7b
movq %rax, 0xcef1d(%rip)     # 0xd9e58
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0xaf5c
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x8880
movq %rbx, %rdi
callq 0x8ea0
// File: /workspace/github_cpp_makefile_star2_O3/KellerMartins[P]PDS2-Pacman/source/game/game.cpp
// Function: Game::LevelClearedStateUpdate()
void LevelClearedStateUpdate(){
        if(stateTimer < 4){
            std::ostringstream scoreString;
            scoreString << "Score:" << pacman->GetPontuacao();
            UI::DrawTextCentered(scoreString.str(), 0.5, 0.05, 5, 0.5, RAYWHITE);
            UI::DrawTextCentered("Level Cleared!", 0.5, 0.5, 15, 0.0, WHITE);
            GameEvents::TriggerMenuUpdate();
        }else{
            Mapa::Recarrega();
            GameEvents::TriggerRestart();
            SetState(GameStart);
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x1c0, %rsp            # imm = 0x1C0
movsd 0x8e14f(%rip), %xmm0    # 0x99358
ucomisd 0xcec2f(%rip), %xmm0    # 0xd9e40
jbe 0xb327
leaq -0x1c8(%rbp), %rbx
movq %rbx, %rdi
callq 0x8a90
leaq 0x8e1cc(%rip), %rsi     # 0x993f9
movl $0x6, %edx
movq %rbx, %rdi
callq 0x8980
movq 0xcebf7(%rip), %rdi     # 0xd9e38
callq 0xdd2a
movl %eax, %esi
leaq -0x1c8(%rbp), %rdi
callq 0x8570
leaq -0x1c0(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x8d10
leaq -0x50(%rbp), %rdi
movss 0x8e098(%rip), %xmm1    # 0x99308
movss 0x8dfbc(%rip), %xmm2    # 0x99234
movss 0x8e074(%rip), %xmm0    # 0x992f4
movapd %xmm0, %xmm3
movl $0xfff5f5f5, %esi       # imm = 0xFFF5F5F5
callq 0x1055a
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb2a7
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x8880
leaq -0x20(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x8e16b(%rip), %rsi     # 0x99421
leaq 0x8e172(%rip), %rdx     # 0x9942f
leaq -0x30(%rbp), %rdi
callq 0xa75c
leaq -0x30(%rbp), %rdi
movss 0x8e022(%rip), %xmm0    # 0x992f4
movss 0x8e03a(%rip), %xmm2    # 0x99314
xorpd %xmm3, %xmm3
movapd %xmm0, %xmm1
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x1055a
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0xb301
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x8880
callq 0xb688
movq 0xcbcbb(%rip), %rsi     # 0xd6fc8
leaq -0x1c8(%rbp), %rdi
callq 0x8440
leaq -0x158(%rbp), %rdi
callq 0x8280
jmp 0xb34f
callq 0xc318
callq 0xb6e4
movq $0x0, 0xceb04(%rip) # 0xd9e40
callq 0xadf8
leaq -0x4dd(%rip), %rax      # 0xae6b
movq %rax, 0xceb09(%rip)     # 0xd9e58
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0xb390
movq -0x20(%rbp), %rsi
jmp 0xb383
jmp 0xb38d
movq %rax, %rbx
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb390
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x8880
jmp 0xb390
movq %rax, %rbx
movq 0xcbc31(%rip), %rsi     # 0xd6fc8
leaq -0x1c8(%rbp), %rdi
callq 0x8440
leaq -0x158(%rbp), %rdi
callq 0x8280
movq %rbx, %rdi
callq 0x8ea0
// File: /workspace/github_cpp_makefile_star2_O3/KellerMartins[P]PDS2-Pacman/source/game/gameEvents.cpp
// Function: GameEvents::~GameEvents()
GameEvents::~GameEvents(){
    for(unsigned i=0; i<_events.size(); i++){
        //Remove "this" from the vector, doesn't maintain order
        if(_events[i] == this){
            _events[i] = _events[_events.size()-1];
            _events.pop_back();
            break;
        }
    }
}

// Assembly:
leaq 0xcb32d(%rip), %rax     # 0xd6a90
movq %rax, (%rdi)
movq 0xce70b(%rip), %rcx     # 0xd9e78
movq 0xce6fc(%rip), %rax     # 0xd9e70
movq %rcx, %rdx
subq %rax, %rdx
subq %rax, %rcx
je 0xb7b3
pushq %rbp
movq %rsp, %rbp
sarq $0x3, %rdx
movl $0x1, %esi
xorl %r8d, %r8d
cmpq %rdi, (%rax,%r8,8)
je 0xb7a1
movl %esi, %r8d
incl %esi
cmpq %r8, %rdx
ja 0xb78f
jmp 0xb7b2
movq -0x8(%rax,%rcx), %rcx
movq %rcx, (%rax,%r8,8)
addq $-0x8, 0xce6c6(%rip)    # 0xd9e78
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/KellerMartins[P]PDS2-Pacman/source/game/mapa.cpp
// Function: Mapa::RegistraMapaRenderizavel()
void Mapa::RegistraMapaRenderizavel(){
	for(int y = 0; y < ALTURA; y++){
		for(int x = 0; x < LARGURA; x++){
			int indiceElem = (int)(this->_mapa[x][y]);
			if(indiceElem < (int)(sizeof(modeloElemento)/sizeof(modeloElemento[0])) && modeloElemento[indiceElem] != ""){
				Object3D* parede = new Object3D(modeloElemento[indiceElem], BLUE);
				parede->position.x = x;
				parede->position.z = y;
				_objetosMapa.push_back(parede);
			}
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x8(%rdi), %r15
leaq 0x11c8(%rdi), %rax
movq %rax, -0x68(%rbp)
xorl %eax, %eax
movq %rax, -0x58(%rbp)
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
movss %xmm0, -0x2c(%rbp)
movq %r15, -0x60(%rbp)
xorl %r12d, %r12d
movslq (%r15), %r14
cmpq $0x3, %r14
jg 0xbec1
shlq $0x5, %r14
leaq 0xce094(%rip), %rax     # 0xd9ea0
addq %rax, %r14
movq %r14, %rdi
leaq 0x8d6b5(%rip), %rsi     # 0x994ce
callq 0x81e0
testl %eax, %eax
je 0xbec1
movl $0x2b8, %edi            # imm = 0x2B8
callq 0x8850
movq %rax, %r13
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq -0x50(%rbp), %r14
movq %r14, %rdi
callq 0xcddc
movq %r13, %rdi
movq %r14, %rsi
movl $0xfff17900, %edx       # imm = 0xFFF17900
callq 0xe496
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0xbe7a
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x8880
movq %r13, -0x70(%rbp)
xorps %xmm0, %xmm0
cvtsi2ss %r12d, %xmm0
movss %xmm0, 0x10(%r13)
movss -0x2c(%rbp), %xmm0
movss %xmm0, 0x18(%r13)
movq 0x11d0(%rbx), %rsi
cmpq 0x11d8(%rbx), %rsi
je 0xbeb4
movq %r13, (%rsi)
addq $0x8, 0x11d0(%rbx)
jmp 0xbec1
movq -0x68(%rbp), %rdi
leaq -0x70(%rbp), %rdx
callq 0xd084
incq %r12
addq $0x6c, %r15
cmpq $0x15, %r12
jne 0xbdf4
movq -0x58(%rbp), %rax
incq %rax
movq -0x60(%rbp), %r15
addq $0x4, %r15
cmpq $0x1b, %rax
jne 0xbddd
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0xbf1b
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x8880
jmp 0xbf1b
movq %rax, %rbx
movl $0x2b8, %esi            # imm = 0x2B8
movq %r13, %rdi
callq 0x8880
movq %rbx, %rdi
callq 0x8ea0