LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/common.h
// Function: ipd::play(ipd::prisoner_t const&, ipd::prisoner_t const&, int)
int play(const prisoner_t& p1, const prisoner_t& p2, int n) {
    history_t p1_hist, p2_hist;
    int p1_score = 0;

    for (int i = 0; i < n; ++i) {
        auto d1 = p1(p2_hist);
        auto d2 = p2(p1_hist);
        p1_score += score(d1, d2);

        p1_hist.push_front(d1);
        p2_hist.push_front(d2);
    }
    return p1_score;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
leaq -0x60(%rbp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
xorl %r15d, %r15d
movq %r15, 0x10(%rax)
leaq -0x48(%rbp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq %r15, 0x10(%rax)
testl %edx, %edx
jle 0x583d
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %rcx
leaq 0x20(%rdi), %rax
movq %rax, -0x80(%rbp)
leaq 0x20(%rsi), %rax
movq %rax, -0x78(%rbp)
xorl %r15d, %r15d
leaq -0x48(%rbp), %rsi
leaq -0x60(%rbp), %rbx
movq %r14, -0x70(%rbp)
movq %rdi, -0x68(%rbp)
cmpq $0x0, 0x30(%rcx)
je 0x5889
movq -0x80(%rbp), %rdi
callq *0x38(%rcx)
movl %r12d, -0x2c(%rbp)
cmpq $0x0, 0x30(%r14)
je 0x588e
movl %eax, %r13d
movq -0x78(%rbp), %rdi
movq %rbx, %rsi
callq *0x38(%r14)
movl %eax, %r14d
orl %r13d, %eax
je 0x57d5
movl %r14d, %eax
xorl $0x1, %eax
xorl %r12d, %r12d
movl %r13d, %ecx
orl %eax, %ecx
je 0x57db
movl %r13d, %ecx
xorl $0x1, %ecx
movl $0x5, %r12d
movl %ecx, %edx
orl %r14d, %edx
je 0x57db
xorl %r12d, %r12d
orl %eax, %ecx
sete %r12b
jmp 0x57db
movl $0x3, %r12d
movq -0x60(%rbp), %rbx
movl $0x18, %edi
callq 0x4370
movl %r13d, 0x10(%rax)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4070
incq -0x50(%rbp)
movq -0x48(%rbp), %r13
movl $0x18, %edi
callq 0x4370
addl %r12d, %r15d
movl %r14d, 0x10(%rax)
movq %rax, %rdi
movq %r13, %rsi
callq 0x4070
incq -0x38(%rbp)
movl -0x2c(%rbp), %r12d
decl %r12d
leaq -0x60(%rbp), %rbx
leaq -0x48(%rbp), %rsi
movq -0x70(%rbp), %r14
movq -0x68(%rbp), %rcx
jne 0x5770
movq -0x48(%rbp), %rdi
leaq -0x48(%rbp), %r14
cmpq %r14, %rdi
je 0x585a
movq (%rdi), %rbx
callq 0x4350
movq %rbx, %rdi
cmpq %r14, %rbx
jne 0x584a
movq -0x60(%rbp), %rdi
leaq -0x60(%rbp), %r14
cmpq %r14, %rdi
je 0x5877
movq (%rdi), %rbx
callq 0x4350
movq %rbx, %rdi
cmpq %r14, %rbx
jne 0x5867
movl %r15d, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x4120
callq 0x4120
jmp 0x5899
jmp 0x5899
jmp 0x5899
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x48(%rbp), %r15
cmpq %r15, %rdi
je 0x58b9
movq (%rdi), %r14
callq 0x4350
movq %r14, %rdi
cmpq %r15, %r14
jne 0x58a9
movq -0x60(%rbp), %rdi
leaq -0x60(%rbp), %r15
cmpq %r15, %rdi
je 0x58d6
movq (%rdi), %r14
callq 0x4350
movq %r14, %rdi
cmpq %r15, %r14
jne 0x58c6
movq %rbx, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/common.h
// Function: ipd::total_score(ipd::prisoner_t const&, std::vector<ipd::prisoner_t, std::allocator<ipd::prisoner_t>> const&, int)
int total_score(const prisoner_t& p, const std::vector<prisoner_t>& ps, int n) {
    int score = 0;
    for (const auto& i: ps)
        score += play(p, i, n);
    return score;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rsi), %r12
movq 0x8(%rsi), %r13
cmpq %r13, %r12
je 0x591b
movl %edx, %ebx
movq %rdi, %r14
xorl %r15d, %r15d
movq %r14, %rdi
movq %r12, %rsi
movl %ebx, %edx
callq 0x570a
addl %eax, %r15d
addq $0x40, %r12
cmpq %r13, %r12
jne 0x5900
jmp 0x591e
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/common.h
// Function: ipd::play_tourny(std::vector<ipd::prisoner_t, std::allocator<ipd::prisoner_t>> const&, int)
std::vector<score_t>
play_tourny(const std::vector<prisoner_t>& players, int n) {
    std::vector<std::pair<prisoner_t, int>> ret;
    for (auto p1: players) {
        auto score = total_score(p1, players, n);
        ret.push_back({p1, score});
    }
    std::sort(ret.begin(), ret.end(), std::greater<score_t>());
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, -0x30(%rbp)
movq $0x0, 0x10(%rdi)
movq (%rsi), %rbx
movq %rsi, -0x48(%rbp)
movq 0x8(%rsi), %rax
movq %rax, -0x40(%rbp)
cmpq %rax, %rbx
je 0x5a87
movl %edx, %r14d
leaq -0x80(%rbp), %r15
leaq -0x90(%rbp), %r13
movq %r15, -0x90(%rbp)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x9bf0
leaq 0x20(%rbx), %rsi
leaq -0x70(%rbp), %rdi
callq 0x9302
movq %rbx, -0x50(%rbp)
movq -0x48(%rbp), %rax
movq (%rax), %rbx
movq 0x8(%rax), %r12
xorl %r15d, %r15d
cmpq %r12, %rbx
je 0x59ee
movq %r13, %rdi
movq %rbx, %rsi
movl %r14d, %edx
callq 0x570a
addl %eax, %r15d
addq $0x40, %rbx
jmp 0x59d2
movl %r15d, -0x34(%rbp)
leaq -0xd8(%rbp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
leaq -0x34(%rbp), %rdx
callq 0x8360
movq -0x30(%rbp), %rdi
movq %rbx, %rsi
callq 0x9cda
movq -0x50(%rbp), %rbx
leaq -0x80(%rbp), %r15
movq -0xa8(%rbp), %rax
testq %rax, %rax
je 0x5a39
leaq -0xb8(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x5a51
callq 0x4350
movq -0x60(%rbp), %rax
testq %rax, %rax
je 0x5a68
leaq -0x70(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x90(%rbp), %rdi
cmpq %r15, %rdi
je 0x5a79
callq 0x4350
addq $0x40, %rbx
cmpq -0x40(%rbp), %rbx
jne 0x599a
movq -0x30(%rbp), %rax
movq (%rax), %rbx
movq 0x8(%rax), %r14
cmpq %r14, %rbx
je 0x5ad2
movq %r14, %rax
subq %rbx, %rax
sarq $0x3, %rax
movabsq $-0x71c71c71c71c71c7, %rcx # imm = 0x8E38E38E38E38E39
imulq %rax, %rcx
bsrq %rcx, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9f80
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa05e
movq -0x30(%rbp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5b07
jmp 0x5aec
movq %rax, %rdi
callq 0x92f4
jmp 0x5b22
movq %rax, %rbx
leaq -0xd8(%rbp), %rdi
callq 0x83c2
jmp 0x5b25
movq %rax, %rbx
jmp 0x5b31
movq %rax, %rbx
movq -0x90(%rbp), %rdi
cmpq %r15, %rdi
je 0x5b31
callq 0x4350
jmp 0x5b31
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0x8404
movq -0x30(%rbp), %rdi
callq 0x8446
movq %rbx, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/bots.h
// Function: ipd::bots::tf2t(std::__cxx11::list<ipd::decision, std::allocator<ipd::decision>> const&)
decision tf2t(const history_t& h) {
    if (h.size() < 2)
        return decision::cooperate;
    if (h.front() == decision::defect && *std::next(h.begin()) == decision::defect)
        return decision::defect;
    return decision::cooperate;
}

// Assembly:
xorl %eax, %eax
cmpq $0x2, 0x10(%rdi)
jb 0x5ba7
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rax
cmpl $0x1, 0x10(%rax)
jne 0x5ba4
movq (%rax), %rcx
movl $0x1, %eax
cmpl $0x1, 0x10(%rcx)
je 0x5ba6
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/bots.h
// Function: ipd::bots::sus_tf2t(std::__cxx11::list<ipd::decision, std::allocator<ipd::decision>> const&)
decision sus_tf2t(const history_t& h) {
    if (h.size() < 2)
        return decision::defect;
    if (h.front() == decision::defect && *std::next(h.begin()) == decision::defect)
        return decision::defect;
    return decision::cooperate;
}

// Assembly:
movl $0x1, %eax
cmpq $0x2, 0x10(%rdi)
jb 0x5bcd
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rcx
cmpl $0x1, 0x10(%rcx)
jne 0x5bca
movq (%rcx), %rcx
cmpl $0x1, 0x10(%rcx)
je 0x5bcc
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/config.h
// Function: ipd::config::parse_line(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::pair<std::string, int> parse_line(std::string line) {
        std::stringstream sstream(line);
        std::string name;
        int val;

        sstream >> name >> val;
        return {name, val};
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdi, %rbx
leaq -0x1c8(%rbp), %r14
movq %r14, %rdi
movl $0x18, %edx
callq 0x4490
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x40(%rbp), %rsi
movq %r14, %rdi
callq 0x4400
leaq -0x1c(%rbp), %rsi
movq %rax, %rdi
callq 0x41f0
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x9bf0
movl -0x1c(%rbp), %eax
movl %eax, 0x20(%rbx)
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x5ce9
callq 0x4350
movq 0xf298(%rip), %rsi      # 0x14f88
leaq -0x1c8(%rbp), %rdi
callq 0x4280
leaq -0x148(%rbp), %rdi
callq 0x4100
movq %rbx, %rax
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x5d2a
callq 0x4350
movq 0xf257(%rip), %rsi      # 0x14f88
leaq -0x1c8(%rbp), %rdi
callq 0x4280
leaq -0x148(%rbp), %rdi
callq 0x4100
movq %rbx, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/config.h
// Function: ipd::config::load_config()
void load_config() {
        std::ifstream in("ipd.conf");
        std::string line;
        while (std::getline(in, line)) {
            auto p = parse_line(line);
            assign_arg(p.first, p.second);
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x298, %rsp            # imm = 0x298
leaq 0x8380(%rip), %rsi      # 0xe12c
leaq -0x2b8(%rbp), %rbx
movq %rbx, %rdi
movl $0x8, %edx
callq 0x4550
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0xa0(%rbp), %r12
leaq -0x80(%rbp), %r14
leaq -0xb0(%rbp), %r15
leaq -0x90(%rbp), %r13
movq -0x2b8(%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4360
movsbl %al, %edx
movq %rbx, %rdi
leaq -0x48(%rbp), %rsi
callq 0x4560
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x5ead
movq %r12, -0xb0(%rbp)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x9bf0
leaq -0x70(%rbp), %rdi
movq %r15, %rsi
callq 0x5c68
movq -0xb0(%rbp), %rdi
cmpq %r12, %rdi
je 0x5e5c
callq 0x4350
movq %r14, -0x90(%rbp)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x9bf0
movl -0x50(%rbp), %esi
movq %r13, %rdi
callq 0x5d51
movq -0x90(%rbp), %rdi
cmpq %r14, %rdi
je 0x5e92
callq 0x4350
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x5dec
callq 0x4350
jmp 0x5dec
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5ebf
callq 0x4350
leaq -0x2b8(%rbp), %rdi
callq 0x40e0
addq $0x298, %rsp            # imm = 0x298
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x90(%rbp), %rdi
cmpq %r14, %rdi
je 0x5ef6
callq 0x4350
jmp 0x5ef6
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
jne 0x5f16
jmp 0x5f20
jmp 0x5f1d
movq %rax, %rbx
movq -0xb0(%rbp), %rdi
cmpq %r12, %rdi
je 0x5f20
callq 0x4350
jmp 0x5f20
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5f32
callq 0x4350
leaq -0x2b8(%rbp), %rdi
callq 0x40e0
movq %rbx, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::random_decision()
decision random_decision() {
    static std::uniform_int_distribution<int> dist(0, 1);
    static std::knuth_b gen (std::time(nullptr));
    static auto roll = std::bind(dist, gen);

    if (roll())
        return decision::cooperate;
    return decision::defect;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movb 0xf325(%rip), %al       # 0x153b8
testb %al, %al
je 0x60cc
movb 0xfb33(%rip), %al       # 0x15bd0
testb %al, %al
je 0x60d3
movb 0x10349(%rip), %al      # 0x163f0
testb %al, %al
je 0x60da
leaq 0xfb2e(%rip), %rsi      # 0x15be0
leaq 0xfb1f(%rip), %rdi      # 0x15bd8
movq %rdi, %rdx
callq 0xb320
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
movl %ecx, %eax
popq %rbp
retq
callq 0x45b6
jmp 0x6097
callq 0x45ea
jmp 0x60a1
callq 0x467e
jmp 0x60ab
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::tft_genome[abi:cxx11](int)
std::string tft_genome(int mem_size) {
    int limit = std::pow(mem_size, 4);
    std::string genome = "c";
    for (int i = 1; i < limit; ++i) {
        if ((i & 2) > 0)
            genome += "c";
        else
            genome += "d";
    }
    return genome;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cvtsi2sd %esi, %xmm0
movsd 0x7f0a(%rip), %xmm1     # 0xe008
callq 0x4510
cvttsd2si %xmm0, %r12d
leaq 0x10(%rbx), %rax
movq %rax, -0x30(%rbp)
movq %rax, (%rbx)
leaq 0x801b(%rip), %r14      # 0xe135
leaq 0x8015(%rip), %rdx      # 0xe136
movq %rbx, %rdi
movq %r14, %rsi
callq 0xaa78
cmpl $0x2, %r12d
jl 0x615a
movl $0x1, %r13d
leaq 0x8077(%rip), %r15      # 0xe1b6
testb $0x2, %r13b
movq %r14, %rsi
cmoveq %r15, %rsi
movq %rbx, %rdi
callq 0x4570
incl %r13d
cmpl %r13d, %r12d
jne 0x613f
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
cmpq -0x30(%rbp), %rdi
je 0x617d
callq 0x4350
movq %r14, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::make_prisoner_t(ipd::genetic::genetic_strategy const&)
prisoner_t make_prisoner_t(const genetic_strategy& gs) {
    // converts a decision to a character
    auto f = [] (std::string s, decision d) {
        if (d == decision::cooperate) s += 'c';
        else s += 'd';
        return s;
    };
    auto name = std::accumulate(gs.strategy.begin(), gs.strategy.end(),
            std::string(), f);
    return {name, gs};
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, -0x50(%rbp)
movq 0x18(%rsi), %r14
movq %rsi, -0x78(%rbp)
movq 0x20(%rsi), %rbx
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
cmpq %rbx, %r14
je 0x6284
leaq -0x60(%rbp), %r12
leaq -0xa8(%rbp), %r13
leaq -0x70(%rbp), %r15
movq %r12, -0x70(%rbp)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x9bf0
cmpl $0x1, (%r14)
movl $0x64, %esi
sbbl $0x0, %esi
movq %r15, %rdi
callq 0x42d0
movq %r13, -0xb8(%rbp)
movq -0x70(%rbp), %rax
cmpq %r12, %rax
je 0x6223
movq %rax, -0xb8(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0xa8(%rbp)
jmp 0x622d
movups (%r12), %xmm0
movups %xmm0, (%r13)
movq -0x68(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq %r12, -0x70(%rbp)
movq $0x0, -0x68(%rbp)
movb $0x0, -0x60(%rbp)
leaq -0x48(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x43f0
movq -0xb8(%rbp), %rdi
cmpq %r13, %rdi
je 0x6269
callq 0x4350
movq -0x70(%rbp), %rdi
cmpq %r12, %rdi
je 0x6277
callq 0x4350
addq $0x4, %r14
cmpq %rbx, %r14
jne 0x61d4
leaq -0x88(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0x48(%rbp), %rax
leaq -0x38(%rbp), %rcx
cmpq %rcx, %rax
je 0x62b0
movq %rax, -0x98(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x88(%rbp)
jmp 0x62b6
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq -0x50(%rbp), %r12
movq -0x40(%rbp), %rax
movq %rax, -0x90(%rbp)
movq %rcx, -0x48(%rbp)
movq $0x0, -0x40(%rbp)
movb $0x0, -0x38(%rbp)
leaq 0x10(%r12), %r15
movq %r15, (%r12)
movq -0x98(%rbp), %rsi
movq -0x90(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x9bf0
leaq 0x20(%r12), %rdi
movq -0x78(%rbp), %rsi
callq 0x8872
movq -0x98(%rbp), %rdi
cmpq %rbx, %rdi
je 0x6316
callq 0x4350
movq %r12, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%r12), %rdi
cmpq %r15, %rdi
je 0x6341
callq 0x4350
jmp 0x6341
movq %rax, %r14
movq -0x98(%rbp), %rdi
cmpq %rbx, %rdi
jne 0x6372
jmp 0x6377
movq %rax, %r14
jmp 0x6365
movq %rax, %r14
movq -0x70(%rbp), %rdi
cmpq %r12, %rdi
je 0x6365
callq 0x4350
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x6377
callq 0x4350
movq %r14, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::initial_population(unsigned long, unsigned long, unsigned long)
std::vector<prisoner_t> initial_population(std::size_t n,
        std::size_t first, std::size_t last) {
    std::vector<prisoner_t> ret;
    for (auto i = 0UL; i < n; ++i)
        ret.push_back(make_prisoner_t(genetic_strategy(random_range(first, last))));
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rcx, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, -0x30(%rbp)
movq $0x0, 0x10(%rdi)
testq %rsi, %rsi
je 0x64d6
movq %rsi, %r12
xorl %r14d, %r14d
leaq -0xb8(%rbp), %r13
leaq -0x80(%rbp), %rbx
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x88cf
movq %r13, %rdi
movq %rax, %rsi
callq 0x8914
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6185
movq -0x30(%rbp), %rdi
movq %rbx, %rsi
callq 0x92bc
movq -0x50(%rbp), %rax
testq %rax, %rax
je 0x648b
leaq -0x60(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x649d
callq 0x4350
movq -0xa0(%rbp), %rdi
testq %rdi, %rdi
je 0x64ae
callq 0x4350
movq -0xb8(%rbp), %rdi
cmpq %r13, %rdi
je 0x64ca
movq (%rdi), %r15
callq 0x4350
movq %r15, %rdi
cmpq %r13, %r15
jne 0x64ba
incq %r14
cmpq %r12, %r14
jne 0x6445
movq -0x30(%rbp), %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rdi
callq 0x92f4
movq %rax, %rbx
jmp 0x6505
movq %rax, %rbx
leaq -0x80(%rbp), %rdi
callq 0x8404
leaq -0xb8(%rbp), %rdi
callq 0x89f2
jmp 0x6516
movq %rax, %rbx
movq -0x30(%rbp), %rdi
callq 0x84bc
movq %rbx, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::evaluate_async(std::vector<ipd::prisoner_t, std::allocator<ipd::prisoner_t>> const&)
std::vector<score_t> evaluate_async(const std::vector<prisoner_t>& v) {
    qp::profiler fit_prof("fitness evaluation");
    std::vector<std::future<int>> futs;
    std::vector<score_t> ret(v.size());
    auto fitness = std::bind(total_score, _1, bots::all, ipd::config::rounds);

    for (const auto& i: v) {
        futs.emplace_back(std::async(fitness, i));
    }

    for (auto i = 0UL; i < v.size(); ++i) {
        ret.emplace_back(v[i], futs[i].get());
    }

    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %r14
movq %rdi, -0x30(%rbp)
leaq -0x98(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x7be3(%rip), %rsi      # 0xe137
leaq 0x7bee(%rip), %rdx      # 0xe149
leaq -0xa8(%rbp), %rbx
movq %rbx, %rdi
callq 0xaa78
callq 0x4060
leaq -0xc8(%rbp), %rdi
movq %rax, -0x18(%rdi)
movq $0x0, -0x10(%rdi)
movb $0x0, -0x8(%rdi)
leaq -0xb8(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
callq 0x9bf0
movq -0xa8(%rbp), %rdi
cmpq %r15, %rdi
je 0x65b1
callq 0x4350
xorps %xmm0, %xmm0
movaps %xmm0, -0x60(%rbp)
movq $0x0, -0x50(%rbp)
movq 0x8(%r14), %rsi
subq (%r14), %rsi
sarq $0x6, %rsi
leaq -0x88(%rbp), %rdx
movq -0x30(%rbp), %rdi
callq 0x8a28
leaq -0xd04(%rip), %rax      # 0x58de
leaq -0x78(%rbp), %rdi
movq %rax, -0x10(%rdi)
movl 0xed68(%rip), %eax      # 0x15358
movl %eax, -0x8(%rdi)
leaq 0xed16(%rip), %rsi      # 0x15310
callq 0x91d0
movq (%r14), %r12
movq 0x8(%r14), %r15
cmpq %r15, %r12
je 0x664c
leaq -0x40(%rbp), %r13
leaq -0x60(%rbp), %rbx
movq %r13, %rdi
movl $0x3, %esi
leaq -0x88(%rbp), %rdx
movq %r12, %rcx
callq 0xbc61
movq %rbx, %rdi
movq %r13, %rsi
callq 0x8ace
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x6643
callq 0x9592
addq $0x40, %r12
cmpq %r15, %r12
jne 0x6613
movq (%r14), %r13
cmpq %r13, 0x8(%r14)
je 0x669d
xorl %ebx, %ebx
xorl %r15d, %r15d
xorl %r12d, %r12d
movq -0x60(%rbp), %rdi
addq %rbx, %rdi
callq 0x8b4c
addq %r15, %r13
movl %eax, -0x40(%rbp)
movq -0x30(%rbp), %rdi
movq %r13, %rsi
leaq -0x40(%rbp), %rdx
callq 0x8b0a
incq %r12
movq (%r14), %r13
movq 0x8(%r14), %rax
subq %r13, %rax
sarq $0x6, %rax
addq $0x40, %r15
addq $0x10, %rbx
cmpq %rax, %r12
jb 0x665d
leaq -0x78(%rbp), %rdi
callq 0x84bc
leaq -0x60(%rbp), %rdi
callq 0x8b9e
leaq -0xe0(%rbp), %rdi
callq 0x8bea
movq -0x30(%rbp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x6712
movq %rax, %r14
jmp 0x671b
movq %rax, %r14
movq -0xa8(%rbp), %rdi
cmpq %r15, %rdi
je 0x6730
callq 0x4350
jmp 0x6730
jmp 0x6706
movq %rax, %r14
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x6709
callq 0x9592
jmp 0x6709
movq %rax, %r14
leaq -0x78(%rbp), %rdi
callq 0x84bc
movq -0x30(%rbp), %rdi
callq 0x8446
leaq -0x60(%rbp), %rdi
callq 0x8b9e
leaq -0xe0(%rbp), %rdi
callq 0x8bea
movq %r14, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::hamming_distance(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int hamming_distance(const std::string& s1, const std::string& s2) {
    int ret = 0;
    for (auto i = 0UL; i < s1.size(); ++i) {
        if (s1[i] == s2[i])
            ++ret;
    }
    return ret;
}

// Assembly:
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
je 0x676b
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rdx
movq (%rsi), %rsi
xorl %edi, %edi
xorl %eax, %eax
movb (%rdx,%rdi), %r8b
xorl %r9d, %r9d
cmpb (%rsi,%rdi), %r8b
sete %r9b
addl %r9d, %eax
incq %rdi
cmpq %rdi, %rcx
jne 0x674f
popq %rbp
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::evaluate_tft_dist(std::vector<ipd::prisoner_t, std::allocator<ipd::prisoner_t>> const&)
std::vector<score_t> evaluate_tft_dist(const std::vector<prisoner_t>& v) {
    std::vector<score_t> ret;
    for (const auto& i: v) {
        std::size_t msize = std::ceil(
            std::log(i.name.size()) / std::log(4)
        );
        ret.emplace_back(i, i.name.size() - hamming_distance(
                    i.name, tft_genome(msize)
        ));
    }
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
xorpd %xmm0, %xmm0
movupd %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq (%rsi), %r14
movq 0x8(%rsi), %r13
cmpq %r13, %r14
je 0x686b
leaq -0x30(%rbp), %r12
movsd 0x8(%r14), %xmm1
unpcklps 0x788d(%rip), %xmm1     # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x7895(%rip), %xmm1     # 0xe050
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
callq 0x42a0
divsd 0x7844(%rip), %xmm0     # 0xe018
callq 0x40a0
cvttsd2si %xmm0, %rsi
movq %rsi, %rax
subsd 0x7827(%rip), %xmm0     # 0xe010
cvttsd2si %xmm0, %rcx
sarq $0x3f, %rax
andl %eax, %ecx
orl %ecx, %esi
movq 0x8(%r14), %r15
leaq -0x50(%rbp), %rdi
callq 0x60e1
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x6835
movq (%r14), %rcx
xorl %edx, %edx
movq -0x50(%rbp), %rsi
xorl %edi, %edi
movb (%rcx,%rdx), %r8b
xorl %r9d, %r9d
cmpb (%rsi,%rdx), %r8b
sete %r9b
addl %r9d, %edi
incq %rdx
cmpq %rdx, %rax
jne 0x6817
movl %edi, %eax
jmp 0x6837
xorl %eax, %eax
subq %rax, %r15
movq %r15, -0x30(%rbp)
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x8c1c
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x685e
callq 0x4350
addq $0x40, %r14
cmpq %r13, %r14
jne 0x67a6
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x6897
movq %rax, %r14
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x6897
callq 0x4350
movq %rbx, %rdi
callq 0x8446
movq %r14, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::evaluate_vs_tft(std::vector<ipd::prisoner_t, std::allocator<ipd::prisoner_t>> const&)
std::vector<score_t> evaluate_vs_tft(const std::vector<prisoner_t>& v) {
    std::vector<score_t> ret;
    prisoner_t tft = {"", bots::tft};
    for (const auto& i: v)
        ret.emplace_back(i, play(i, tft, ipd::config::rounds));
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq -0x60(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x77a9(%rip), %rdx      # 0xe084
leaq -0x70(%rbp), %rdi
movq %rdx, %rsi
callq 0xaa78
xorps %xmm0, %xmm0
movups %xmm0, -0x50(%rbp)
movups %xmm0, -0x40(%rbp)
leaq -0xda4(%rip), %rax      # 0x5b55
movq %rax, -0x50(%rbp)
leaq 0x420e(%rip), %rax      # 0xab12
movq %rax, -0x38(%rbp)
leaq 0x4211(%rip), %rax      # 0xab20
movq %rax, -0x40(%rbp)
movq (%r15), %r14
movq 0x8(%r15), %r13
cmpq %r13, %r14
je 0x6952
leaq -0x70(%rbp), %r15
leaq -0x2c(%rbp), %r12
movl 0xea2b(%rip), %edx      # 0x15358
movq %r14, %rdi
movq %r15, %rsi
callq 0x570a
movl %eax, -0x2c(%rbp)
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x8b0a
addq $0x40, %r14
cmpq %r13, %r14
jne 0x6927
movq -0x40(%rbp), %rax
testq %rax, %rax
je 0x6969
leaq -0x50(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x697b
callq 0x4350
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rdi
callq 0x92f4
movq %rax, %r14
jmp 0x69a6
movq %rax, %r14
leaq -0x70(%rbp), %rdi
callq 0x8404
movq %rbx, %rdi
callq 0x8446
movq %r14, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::mutate_strategy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int)
std::string mutate_strategy(std::string s, const int rate) {
    auto maybe_change = [&] (const char c) {
        if (random_range(0, 100) <= rate) {
            auto d = random_decision();
            if (d == decision::defect) return 'd';
            return 'c';
        }
        return c;
    };

    std::transform(s.begin(), s.end(), s.begin(), maybe_change);
    return s;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, -0x38(%rbp)
movq %rsi, -0x30(%rbp)
movq 0x8(%rsi), %r12
testq %r12, %r12
je 0x6a15
movl %edx, %r15d
movq -0x30(%rbp), %rax
movq (%rax), %r13
xorl %r14d, %r14d
movb (%r13,%r14), %bl
xorl %edi, %edi
movl $0x64, %esi
callq 0xd3a9
cmpl %r15d, %eax
jg 0x6a08
callq 0x6089
cmpl $0x1, %eax
movb $0x64, %bl
sbbb $0x0, %bl
movb %bl, (%r13,%r14)
incq %r14
cmpq %r14, %r12
jne 0x69e5
movq -0x38(%rbp), %rax
leaq 0x10(%rax), %rcx
movq %rcx, (%rax)
movq -0x30(%rbp), %rsi
movq (%rsi), %rdx
leaq 0x10(%rsi), %rdi
cmpq %rdi, %rdx
je 0x6a3c
movq %rdx, (%rax)
movq (%rdi), %rcx
movq %rcx, 0x10(%rax)
jmp 0x6a42
movups (%rdi), %xmm0
movups %xmm0, (%rcx)
movq 0x8(%rsi), %rcx
movq %rcx, 0x8(%rax)
movq %rdi, (%rsi)
movq $0x0, 0x8(%rsi)
movb $0x0, 0x10(%rsi)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::cross(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::pair<std::string, std::string> cross(const std::string& s1,
                                          const std::string& s2) {
    auto point = random_range<std::size_t>(0UL, std::min(s1.size(), s2.size()));
    std::string p1 = s1.substr(0, point),
                p2 = s2.substr(0, point);

    for (auto i = point; i < s1.size(); ++i)
        p2 += s1[i];
    for (auto i = point; i < s2.size(); ++i)
        p1 += s2[i];

    return {p1, p2};
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, -0x30(%rbp)
movq 0x8(%rsi), %rsi
movq 0x8(%rdx), %rax
cmpq %rsi, %rax
cmovbq %rax, %rsi
xorl %edi, %edi
callq 0x88cf
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
movq %r12, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x43a0
leaq -0x50(%rbp), %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x43a0
cmpq 0x8(%r12), %rbx
jae 0x6ae7
leaq -0x50(%rbp), %r13
movq %rbx, %r15
movq (%r12), %rax
movsbl (%rax,%r15), %esi
movq %r13, %rdi
callq 0x42d0
incq %r15
cmpq 0x8(%r12), %r15
jb 0x6acc
cmpq 0x8(%r14), %rbx
jae 0x6b09
leaq -0x70(%rbp), %r12
movq (%r14), %rax
movsbl (%rax,%rbx), %esi
movq %r12, %rdi
callq 0x42d0
incq %rbx
cmpq 0x8(%r14), %rbx
jb 0x6af1
leaq -0x70(%rbp), %rsi
leaq -0x50(%rbp), %rdx
movq -0x30(%rbp), %rbx
movq %rbx, %rdi
callq 0x8c5e
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6b2f
callq 0x4350
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6b41
callq 0x4350
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6b5c
movq %rax, %rbx
jmp 0x6b71
jmp 0x6b5c
movq %rax, %rbx
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6b71
callq 0x4350
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6b83
callq 0x4350
movq %rbx, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/hill_climb.h
// Function: ipd::hill_climb::mutation_successor(ipd::prisoner_t const&, int)
std::vector<prisoner_t>
mutation_successor(const prisoner_t& p, const int rate) {
    std::vector<prisoner_t> ret;
    auto mutation = std::bind(genetic::mutate_strategy, _1, rate);

    for (int i = 0; i < config::pop_size; ++i) {
        auto n = mutation(p.name);
        ret.push_back(make_prisoner_t(genetic::genetic_strategy(n)));
    }

    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, -0x38(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, -0x30(%rbp)
movq $0x0, 0x10(%rdi)
leaq -0x649(%rip), %rax      # 0x69b6
movq %rax, -0x48(%rbp)
movl %edx, -0x40(%rbp)
cmpl $0x0, 0xe357(%rip)      # 0x15364
jle 0x70dc
xorl %ebx, %ebx
leaq -0x68(%rbp), %r13
leaq -0xe0(%rbp), %r15
leaq -0xa8(%rbp), %r12
movq %r13, %rdi
leaq -0x48(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x40(%rbp), %rcx
callq 0xd8a9
movq %r15, %rdi
movq %r13, %rsi
callq 0x9006
movq %r12, %rdi
movq %r15, %rsi
callq 0x6185
movq -0x30(%rbp), %rdi
movq %r12, %rsi
callq 0x92bc
movq -0x78(%rbp), %rax
testq %rax, %rax
je 0x7077
leaq -0x88(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x708f
callq 0x4350
movq -0xc8(%rbp), %rdi
testq %rdi, %rdi
je 0x70a0
callq 0x4350
movq -0xe0(%rbp), %rdi
cmpq %r15, %rdi
je 0x70bc
movq (%rdi), %r14
callq 0x4350
movq %r14, %rdi
cmpq %r15, %r14
jne 0x70ac
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x70ce
callq 0x4350
incl %ebx
cmpl 0xe28e(%rip), %ebx      # 0x15364
jl 0x7027
movq -0x30(%rbp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rdi
callq 0x92f4
movq %rax, %r14
jmp 0x7136
movq %rax, %r14
jmp 0x7124
movq %rax, %r14
jmp 0x7118
movq %rax, %r14
leaq -0xa8(%rbp), %rdi
callq 0x8404
leaq -0xe0(%rbp), %rdi
callq 0x89f2
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x7136
callq 0x4350
movq -0x30(%rbp), %rdi
callq 0x84bc
movq %r14, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/hill_climb.h
// Function: ipd::hill_climb::climb(ipd::prisoner_t, int, std::function<std::vector<std::pair<ipd::prisoner_t, int>, std::allocator<std::pair<ipd::prisoner_t, int>>> (std::vector<ipd::prisoner_t, std::allocator<ipd::prisoner_t>> const&)>)
prisoner_t climb(prisoner_t init, const int rate,
        genetic::fitness_fn fitness_func) {
    while (true) {
        auto succ = mutation_successor(init, rate);
        succ.push_back(init);

        auto evaluation = fitness_func(succ);
        auto m = std::max_element(evaluation.begin(), evaluation.end(),
                std::less<score_t>());

        // best guy was initial guy
        if (m->first.name == init.name)
            break;
        init = m->first;
    }

    return init;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r15
movl %edx, -0x2c(%rbp)
movq %rsi, %r14
movq %rdi, -0x38(%rbp)
leaq 0x20(%rsi), %rax
movq %rax, -0x40(%rbp)
leaq -0x70(%rbp), %rbx
leaq -0x58(%rbp), %r13
movq %rbx, %rdi
movq %r14, %rsi
movl -0x2c(%rbp), %edx
callq 0x6fce
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9132
cmpq $0x0, 0x10(%r15)
je 0x738f
movq %r13, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq *0x18(%r15)
movq -0x58(%rbp), %rdx
movq -0x50(%rbp), %rax
cmpq %rax, %rdx
sete %sil
movq %rdx, %rcx
addq $0x48, %rcx
cmpq %rax, %rcx
sete %dil
orb %sil, %dil
je 0x7291
movq %rdx, %r12
jmp 0x72ab
movl 0x40(%rdx), %esi
movq %rcx, %r12
cmpl 0x40(%rcx), %esi
jl 0x729f
movq %rdx, %r12
addq $0x48, %rcx
movq %r12, %rdx
cmpq %rax, %rcx
jne 0x7291
movq 0x8(%r12), %rdx
cmpq 0x8(%r14), %rdx
jne 0x72cb
testq %rdx, %rdx
je 0x72fb
movq (%r14), %rsi
movq (%r12), %rdi
callq 0x4390
testl %eax, %eax
je 0x72fb
movq %r14, %rdi
movq %r12, %rsi
callq 0x41a0
addq $0x20, %r12
movq -0x40(%rbp), %rdi
movq %r12, %rsi
callq 0x9aea
movq %r13, %rdi
callq 0x8446
movq %rbx, %rdi
callq 0x84bc
jmp 0x7239
leaq -0x58(%rbp), %rdi
callq 0x8446
leaq -0x70(%rbp), %rdi
callq 0x84bc
movq -0x38(%rbp), %rax
leaq 0x10(%rax), %rcx
movq %rcx, (%rax)
movq (%r14), %rdx
leaq 0x10(%r14), %rsi
cmpq %rsi, %rdx
je 0x7330
movq %rdx, (%rax)
movq (%rsi), %rcx
movq %rcx, 0x10(%rax)
jmp 0x7336
movups (%rsi), %xmm0
movups %xmm0, (%rcx)
movq 0x8(%r14), %rcx
movq %rcx, 0x8(%rax)
movq %rsi, (%r14)
xorl %ecx, %ecx
movq %rcx, 0x8(%r14)
movb $0x0, 0x10(%r14)
movq %rcx, 0x30(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rax)
movq 0x38(%r14), %rcx
movq %rcx, 0x38(%rax)
movq 0x30(%r14), %rdx
testq %rdx, %rdx
je 0x7380
leaq 0x20(%rax), %rcx
movups 0x20(%r14), %xmm1
addq $0x30, %r14
movups %xmm1, (%rcx)
movq %rdx, 0x30(%rax)
movups %xmm0, (%r14)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x4120
jmp 0x7398
jmp 0x7398
movq %rax, %rbx
jmp 0x73a9
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x8446
leaq -0x70(%rbp), %rdi
callq 0x84bc
movq %rbx, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/hill_climb.h
// Function: ipd::hill_climb::climb(ipd::prisoner_t, int, int)
prisoner_t climb(prisoner_t init, const int rate, int rounds) {
    for (int i = 0; i < rounds; ++i) {
        auto succ = mutate(init, rate);
        if (single_vs_tft(succ) > single_vs_tft(init))
            init = succ;
    }
    return init;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, -0x30(%rbp)
testl %ecx, %ecx
jle 0x750f
movl %ecx, %r15d
movl %edx, %r12d
leaq 0x20(%r14), %rax
movq %rax, -0x38(%rbp)
leaq -0x78(%rbp), %r13
movq %r13, %rdi
movq %r14, %rsi
movl %r12d, %edx
callq 0x7147
movq %r13, %rdi
callq 0x73ba
movl %eax, %ebx
movq %r14, %rdi
callq 0x73ba
cmpl %eax, %ebx
jle 0x74e1
movq %r14, %rdi
movq %r13, %rsi
callq 0x41a0
movq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x9aea
movq -0x48(%rbp), %rax
testq %rax, %rax
je 0x74f8
leaq -0x58(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x750a
callq 0x4350
decl %r15d
jne 0x74a5
movq -0x30(%rbp), %rax
leaq 0x10(%rax), %rcx
movq %rcx, (%rax)
movq (%r14), %rdx
leaq 0x10(%r14), %rsi
cmpq %rsi, %rdx
je 0x7532
movq %rdx, (%rax)
movq (%rsi), %rcx
movq %rcx, 0x10(%rax)
jmp 0x7538
movups (%rsi), %xmm0
movups %xmm0, (%rcx)
movq 0x8(%r14), %rcx
movq %rcx, 0x8(%rax)
movq %rsi, (%r14)
xorl %ecx, %ecx
movq %rcx, 0x8(%r14)
movb $0x0, 0x10(%r14)
movq %rcx, 0x30(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rax)
movq 0x38(%r14), %rcx
movq %rcx, 0x38(%rax)
movq 0x30(%r14), %rdx
testq %rdx, %rdx
je 0x7582
leaq 0x20(%rax), %rcx
movups 0x20(%r14), %xmm1
addq $0x30, %r14
movups %xmm1, (%rcx)
movq %rdx, 0x30(%rax)
movups %xmm0, (%r14)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rdi
callq 0x92f4
movq %rax, %rbx
leaq -0x78(%rbp), %rdi
callq 0x8404
movq %rbx, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/main.cpp
// Function: ev_against_classic()
void ev_against_classic() {
    using namespace ipd;
    auto ev_guy   = genetic::evolve(
        config::pop_size,
        config::mutation_rate,
        config::generations,
        genetic::evaluate_vs_tft
    );
    auto cp       = bots::all;
    cp.push_back(ev_guy);

    auto sb = play_tourny(cp, config::rounds);
    for (auto i: sb)
        std::cout << i << std::endl;

    log(sb.front().first, sb.front().second);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movl 0xd9ee(%rip), %esi      # 0x15364
movl 0xd9ec(%rip), %edx      # 0x15368
movl 0xd9ea(%rip), %ecx      # 0x1536c
xorps %xmm0, %xmm0
leaq -0x80(%rbp), %r8
movaps %xmm0, (%r8)
movaps %xmm0, 0x10(%r8)
leaq -0x10f2(%rip), %rax     # 0x68a7
movq %rax, (%r8)
leaq 0x6239(%rip), %rax      # 0xdbdc
movq %rax, 0x18(%r8)
leaq 0x624a(%rip), %rax      # 0xdbf8
movq %rax, 0x10(%r8)
leaq -0xc0(%rbp), %rdi
callq 0x6b8b
movq -0x70(%rbp), %rax
testq %rax, %rax
je 0x79d5
leaq -0x80(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0xd934(%rip), %rsi      # 0x15310
leaq -0x58(%rbp), %rdi
callq 0x91d0
leaq -0x58(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x9132
movl 0xd95d(%rip), %edx      # 0x15358
leaq -0x40(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x594e
movq -0x40(%rbp), %rbx
movq -0x38(%rbp), %r13
cmpq %r13, %rbx
je 0x7aa6
leaq -0xe8(%rbp), %r14
leaq -0x108(%rbp), %r15
movq 0xd592(%rip), %r12      # 0x14fc0
movq %r15, %rdi
movq %rbx, %rsi
callq 0x925e
movq %r12, %rdi
movq %r15, %rsi
callq 0x566e
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x4360
movsbl %al, %esi
movq %r12, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4230
movq -0xd8(%rbp), %rax
testq %rax, %rax
je 0x7a85
movq %r14, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq *%rax
movq -0x108(%rbp), %rdi
leaq -0xf8(%rbp), %rax
cmpq %rax, %rdi
je 0x7a9d
callq 0x4350
addq $0x48, %rbx
cmpq %r13, %rbx
jne 0x7a2e
movq -0x40(%rbp), %rdi
movl 0x40(%rdi), %esi
callq 0x78a0
leaq -0x40(%rbp), %rdi
callq 0x8446
leaq -0x58(%rbp), %rdi
callq 0x84bc
movq -0x90(%rbp), %rax
testq %rax, %rax
je 0x7ae1
leaq -0xa0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq -0xb0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7af6
callq 0x4350
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7b38
jmp 0x7b38
jmp 0x7b40
jmp 0x7b10
movq %rax, %rbx
jmp 0x7b5d
movq %rax, %rbx
jmp 0x7b66
movq %rax, %rbx
movq -0x70(%rbp), %rax
testq %rax, %rax
je 0x7b72
leaq -0x80(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x7b72
jmp 0x7b38
movq %rax, %rdi
callq 0x92f4
movq %rax, %rbx
jmp 0x7b54
movq %rax, %rbx
leaq -0x108(%rbp), %rdi
callq 0x83c2
leaq -0x40(%rbp), %rdi
callq 0x8446
leaq -0x58(%rbp), %rdi
callq 0x84bc
leaq -0xc0(%rbp), %rdi
callq 0x8404
movq %rbx, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/main.cpp
// Function: hill_against_classic()
void hill_against_classic() {
    using namespace ipd;
    auto hill_guy = hill_climb::climb(
        make_prisoner_t(genetic::genetic_strategy(3)),
        config::mutation_rate,
        config::hill_pop
    );
    auto cp       = bots::all;
    cp.push_back(hill_guy);

    auto sb = play_tourny(cp, config::rounds);
    for (auto i: sb)
        std::cout << i << std::endl;

    //log(sb.front().first, sb.front().second);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
leaq -0xa0(%rbp), %rbx
movl $0x3, %esi
movq %rbx, %rdi
callq 0x8914
leaq -0xe0(%rbp), %rdi
movq %rbx, %rsi
callq 0x6185
movl 0xd7b1(%rip), %edx      # 0x15368
movl 0xd7b3(%rip), %ecx      # 0x15370
leaq -0x120(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x7477
movq -0xb0(%rbp), %rax
testq %rax, %rax
je 0x7bed
leaq -0xc0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq -0xd0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7c02
callq 0x4350
movq -0x88(%rbp), %rdi
testq %rdi, %rdi
je 0x7c13
callq 0x4350
movq -0xa0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x7c2f
movq (%rdi), %r14
callq 0x4350
movq %r14, %rdi
cmpq %rbx, %r14
jne 0x7c1f
leaq 0xd6da(%rip), %rsi      # 0x15310
leaq -0x58(%rbp), %rdi
callq 0x91d0
leaq -0x58(%rbp), %rdi
leaq -0x120(%rbp), %rsi
callq 0x9132
movl 0xd703(%rip), %edx      # 0x15358
leaq -0x40(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x594e
movq -0x40(%rbp), %rbx
movq -0x38(%rbp), %r13
cmpq %r13, %rbx
je 0x7cfa
leaq -0x80(%rbp), %r14
leaq -0xa0(%rbp), %r15
movq 0xd33b(%rip), %r12      # 0x14fc0
movq %r15, %rdi
movq %rbx, %rsi
callq 0x925e
movq %r12, %rdi
movq %r15, %rsi
callq 0x566e
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x4360
movsbl %al, %esi
movq %r12, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4230
movq -0x70(%rbp), %rax
testq %rax, %rax
je 0x7cd9
movq %r14, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq *%rax
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x7cf1
callq 0x4350
addq $0x48, %rbx
cmpq %r13, %rbx
jne 0x7c85
leaq -0x40(%rbp), %rdi
callq 0x8446
leaq -0x58(%rbp), %rdi
callq 0x84bc
movq -0xf0(%rbp), %rax
testq %rax, %rax
je 0x7d29
leaq -0x100(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq -0x110(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7d3e
callq 0x4350
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7d82
jmp 0x7d82
jmp 0x7d56
movq %rax, %rbx
jmp 0x7da7
movq %rax, %rbx
jmp 0x7db0
movq %rax, %rbx
leaq -0xe0(%rbp), %rdi
callq 0x8404
jmp 0x7d74
movq %rax, %rbx
leaq -0xa0(%rbp), %rdi
callq 0x89f2
jmp 0x7dbc
movq %rax, %rdi
callq 0x92f4
movq %rax, %rbx
jmp 0x7d9e
movq %rax, %rbx
leaq -0xa0(%rbp), %rdi
callq 0x83c2
leaq -0x40(%rbp), %rdi
callq 0x8446
leaq -0x58(%rbp), %rdi
callq 0x84bc
leaq -0x120(%rbp), %rdi
callq 0x8404
movq %rbx, %rdi
callq 0x4520
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/main.cpp
// Function: main
int main(int argc, char* argv[]) {
    ipd::config::load_config();
    ipd::config::load_cmd_args(argc, argv);

    //ev_against_classic();
    hill_against_classic();
    //restart_hill_against_classic(1000);
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movl %edi, %r14d
callq 0x5d91
movl %r14d, %edi
movq %rbx, %rsi
callq 0x5f46
callq 0x7b7a
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::genetic_strategy::genetic_strategy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
genetic_strategy(const std::string& genome) :
        strategy(genome.size()),
        mem_size(
            std::ceil(std::log(genome.size()) / std::log(4))
        )
    {
        // converts a character to a decision
        auto f = [] (char c) {
            if (c == 'c') return decision::cooperate;
            return decision::defect;
        };
        std::transform(genome.begin(), genome.end(), strategy.begin(), f);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rdi, 0x8(%rdi)
movq %rdi, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x18(%rdi), %r15
movq 0x8(%rsi), %rsi
leaq -0x19(%rbp), %rdx
movq %r15, %rdi
callq 0x94e4
movsd 0x8(%r14), %xmm1
unpcklps 0x4ffa(%rip), %xmm1     # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x5002(%rip), %xmm1     # 0xe050
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
callq 0x42a0
divsd 0x4fb1(%rip), %xmm0     # 0xe018
callq 0x40a0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
subsd 0x4f94(%rip), %xmm0     # 0xe010
sarq $0x3f, %rcx
cvttsd2si %xmm0, %rdx
andq %rcx, %rdx
orq %rax, %rdx
movq %rdx, 0x30(%rbx)
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x90b5
movq (%r14), %rcx
movq (%r15), %rdx
xorl %esi, %esi
xorl %edi, %edi
cmpb $0x63, (%rcx,%rsi)
setne %dil
movl %edi, (%rdx,%rsi,4)
incq %rsi
cmpq %rsi, %rax
jne 0x90a0
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %rbx, %rdi
je 0x90db
movq (%rdi), %r15
callq 0x4350
movq %r15, %rdi
cmpq %rbx, %r15
jne 0x90cb
movq %r14, %rdi
callq 0x4520
nop
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/profile.h
// Function: qp::profiler::stop()
void stop() {
        if (done) return;
        using namespace std::chrono;
        t2 = high_resolution_clock::now();
        sections[tag] += duration_cast<duration<double>>(t2 - t1).count();
        done = true;
        log();
    }

// Assembly:
cmpb $0x0, 0x10(%rdi)
je 0x9605
retq
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x4060
movq %rax, 0x8(%rbx)
subq (%rbx), %rax
cvtsi2sd %rax, %xmm0
divsd 0x49f9(%rip), %xmm0     # 0xe020
movsd %xmm0, -0x10(%rbp)
leaq 0x18(%rbx), %rsi
leaq 0xbcf1(%rip), %rdi      # 0x15328
callq 0x965c
movsd -0x10(%rbp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, (%rax)
movb $0x1, 0x10(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x96dc
nop
// File: /workspace/github_cpp_makefile_star2_O1/Quinny[P]IteratedPrisoners/./ipd/genetic.h
// Function: ipd::genetic::genetic_strategy::encode(std::__cxx11::list<ipd::decision, std::allocator<ipd::decision>> const&) const
std::size_t encode(const history_t& op_history) const {
        std::size_t code = 0;

        auto my_iter = history.begin();
        auto op_iter = op_history.begin();

        for (auto shift = 0UL; shift < 2 * mem_size; shift += 2) {
            if (my_iter == history.end() || op_iter == op_history.end())
                break;

            if (*my_iter == decision::cooperate)
                code |= 1 << shift;

            if (*op_iter == decision::cooperate)
                code |= 1 << (shift + 1);

            ++my_iter; ++op_iter;
        }
        return code;
    }

// Assembly:
movq (%rdi), %rdx
movq 0x30(%rdi), %r8
addq %r8, %r8
movq (%rsi), %r9
sete %al
cmpq %rdi, %rdx
sete %cl
cmpq %rsi, %r9
sete %r11b
orb %cl, %r11b
xorl %r10d, %r10d
orb %al, %r11b
je 0xb831
xorl %eax, %eax
retq
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl $0x2, %r11d
xorl %eax, %eax
leal -0x2(%r11), %ecx
movl $0x1, %ebx
shll %cl, %ebx
cmpl %r10d, 0x10(%rdx)
cmovnel %r10d, %ebx
movl $0x2, %r14d
shll %cl, %r14d
cmpl %r10d, 0x10(%r9)
cmovnel %r10d, %r14d
movslq %r14d, %rcx
orq %rbx, %rax
orq %rcx, %rax
cmpq %r8, %r11
jae 0xb886
movq (%rdx), %rdx
cmpq %rdi, %rdx
je 0xb886
movq (%r9), %r9
addq $0x2, %r11
cmpq %rsi, %r9
jne 0xb840
popq %rbx
popq %r14
popq %rbp
retq
nop