// File: /workspace/github_cpp_makefile_star2_O1/kmyk[P]topcoder-marathon-match-100-same-color-pairs/./SameColorPairs.cpp
// Function: std::vector<std::array<int, 4ul>, std::allocator<std::array<int, 4ul>>> solve_sa_greedy<xor_shift_128>(int, int, int, std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>> const&, double, xor_shift_128&)
vector<array<int, 4> > solve_sa_greedy(int H, int W, int C, vector<vector<int> > const & original_original_board, double clock_end, RandomEngine & gen) {
    array<int8_t, MAX_H * MAX_W> original_board = pack_board(H, W, original_original_board);
    update_compression(H, W, original_board);
    vector<array<int, 4> > result;
    vector<array<int, 4> > cur;
    vector<pair<int, int> > remaining;
    array<uint8_t, MAX_H * MAX_W> remaining_count = {};

    // values for partialy solved board
    int initial_removed = 0;
    REP (y, H) REP (x, W) {
        initial_removed += (original_board[y * W + x] < 0);
    }
    int optimal_size = 0; {  // since the numbers of cells sometimes are odd
        vector<bool> dangling(C);
        REP (y, H) REP (x, W) {
            int c = original_board[y * W + x];
            if (c >= 0) {
                optimal_size += dangling[c];
                dangling[c] = not dangling[c];
            }
        }
    }

    int iteration = 0;
    double clock_begin = rdtsc();
    double last_t = rdtsc();
    double max_delta = 0;
    array<int8_t, MAX_H * MAX_W> board;
    for (; ; ++ iteration) {
        double t = rdtsc();
        if (t + max(2 * max_delta, 0.2) > clock_end) break;
        double temperature = 1 - 0.8 * (t - clock_begin) / (clock_end - clock_begin);

        // prepare board and the prefix of nxt
        char type;
        vector<array<int, 4> > nxt;

        if (cur.empty() or bernoulli_distribution(0.01 * temperature)(gen)) {
            // forget everything and restart from zero
            type = 'A';
            memcpy(board.data(), original_board.data(), H * W);

        } else if (not remaining.empty() and remaining.size() < 100 and bernoulli_distribution(0.5)(gen)) {
            // make neighborhood removing last remaining cells
            type = 'B';
            memcpy(board.data(), original_board.data(), H * W);
            int k = cur.size();
            int i = uniform_int_distribution<int>(0, k - 1)(gen);
            vector<pair<int, int> > order(remaining.size());
            REP (j, remaining.size()) {
                int y, x; tie(y, x) = remaining[j];
                order[j] = make_pair(remaining_count[y * W + x] + uniform_int_distribution<int>(0, 10)(gen), j);
            }
            sort(order.rbegin(), order.rend());
            int l = uniform_int_distribution<int>(1, remaining.size())(gen);
            vector<pair<int, int> > preciding(l);
            REP (j, l) {
                preciding[j] = remaining[order[j].second];
            }
            apply_rects_with_preceding_cells(W, board, preciding, ALL(cur), i, back_inserter(nxt));

        } else {
            // make neighborhood only removing a pair
            type = 'C';
            int k = cur.size();
            int i = uniform_int_distribution<int>(0, k - 1)(gen);
            nxt = cur;
            swap(nxt[i], nxt.back());
            memcpy(board.data(), original_board.data(), H * W);
            apply_rects(W, board, nxt.begin(), nxt.begin() + i);
            nxt.erase(apply_unreliable_rects(W, board, nxt.begin() + i, nxt.end()), nxt.end());
        }

        // run greedy
        vector<array<int, 4> > delta = solve_greedy_once(H, W, C, board, gen);
        copy(ALL(delta), back_inserter(nxt));

        // update the weights of cells
        int remaining_size = H * W - initial_removed - 2 * int(cur.size());
        REP (y, H) REP (x, W) {
            uint8_t & it = remaining_count[y * W + x];
            if (board[y * W + x] >= 0) it += remaining_size == 4 ? 12 : 5;
            if (it == 0) continue;
            it = max(0, min(100, it - 3));
        }

        // update cur and result
        int size_delta = int(nxt.size()) - int(cur.size());
        double prob = exp(0.3 * size_delta / temperature);
        if (cur.size() <= nxt.size() or bernoulli_distribution(prob)(gen)) {
            cur = nxt;

            // collect remaining cells 
            remaining.clear();
            if (remaining_size <= 100) {
                REP (y, H) {
                    for (int x = 0; x < W; ) {
                        if (board[y * W + x] < 0) {
                            x -= board[y * W + x];
                        } else {
                            remaining.emplace_back(y, x);
                            ++ x;
                        }
                    }
                }
            }

            // update result
            if (result.size() < cur.size()) {
                result = nxt;
#ifdef LOCAL
                cerr << type << " : ";
                cerr << "score = " << H * W - initial_removed - 2 * int(result.size()) << " / " << H * W << endl;
#endif
                if (int(result.size()) == optimal_size) {
                    ++ iteration;
                    break;
                }
            }
        }

        chmax(max_delta, t - last_t);
        last_t = t;
    }
    cerr << "iteration = " << iteration << endl;
    cerr << "time = " << (rdtsc() - clock_begin) << endl;
    cerr << "max delta = " << max_delta << endl;
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x7698, %rsp           # imm = 0x7698
movsd %xmm0, 0xf8(%rsp)
movl %ecx, 0xc4(%rsp)
movl %edx, %r15d
movq %rdi, 0x90(%rsp)
movl %edx, %ebp
movl %esi, %eax
movq %rax, 0xd8(%rsp)
movl %esi, 0x14(%rsp)
testl %esi, %esi
jle 0x60d8
movq (%r8), %rax
leaq 0x2878(%rsp), %rcx
xorl %edx, %edx
testl %r15d, %r15d
jle 0x60c8
leaq (%rdx,%rdx,2), %rsi
movq (%rax,%rsi,8), %rsi
xorl %edi, %edi
movb (%rsi,%rdi,4), %r8b
movb %r8b, (%rcx,%rdi)
incq %rdi
cmpq %rdi, %rbp
jne 0x60b8
incq %rdx
addq %rbp, %rcx
cmpq 0xd8(%rsp), %rdx
jne 0x60a9
movq %r9, 0xc8(%rsp)
leaq 0x2878(%rsp), %rbx
movl 0x14(%rsp), %r14d
movl %r14d, %edi
movl %r15d, %esi
movq %rbx, %rdx
callq 0x2d51
xorl %ecx, %ecx
movq 0x90(%rsp), %rax
movq %rcx, 0x10(%rax)
xorpd %xmm0, %xmm0
movupd %xmm0, (%rax)
movq %rcx, 0x30(%rsp)
movapd %xmm0, 0x20(%rsp)
movq %rcx, 0x80(%rsp)
movapd %xmm0, 0x70(%rsp)
leaq 0x4f88(%rsp), %rdi
movl $0x2710, %edx           # imm = 0x2710
xorl %esi, %esi
callq 0x20c0
testl %r14d, %r14d
movl $0x0, %r14d
jle 0x617f
xorl %eax, %eax
leaq 0x2878(%rsp), %rcx
xorl %r14d, %r14d
testl %r15d, %r15d
jle 0x616f
xorl %edx, %edx
movzbl (%rcx,%rdx), %esi
shrl $0x7, %esi
addl %esi, %r14d
incq %rdx
cmpq %rdx, %rbp
jne 0x615d
incq %rax
addq %rbp, %rcx
cmpq 0xd8(%rsp), %rax
jne 0x6156
movslq 0xc4(%rsp), %rsi
leaq 0x50(%rsp), %rdx
movb $0x0, (%rdx)
leaq 0x168(%rsp), %r13
leaq 0x38(%rsp), %rcx
movq %r13, %rdi
callq 0x4266
cmpl $0x0, 0x14(%rsp)
jle 0x6216
xorl %eax, %eax
movl $0x0, 0x1c(%rsp)
testl %r15d, %r15d
jle 0x6204
movq 0x168(%rsp), %rcx
xorl %edx, %edx
movsbq (%rbx,%rdx), %rsi
testq %rsi, %rsi
js 0x61fc
movq %rsi, %rdi
shrq $0x6, %rdi
movq (%rcx,%rdi,8), %r8
btq %rsi, %r8
adcl $0x0, 0x1c(%rsp)
movq %r8, %r9
btrq %rsi, %r9
movq %r8, %r10
btsq %rsi, %r10
btq %rsi, %r8
cmovbq %r9, %r10
movq %r10, (%rcx,%rdi,8)
incq %rdx
cmpq %rdx, %rbp
jne 0x61c4
incq %rax
addq %rbp, %rbx
cmpq 0xd8(%rsp), %rax
jne 0x61b5
jmp 0x621e
movl $0x0, 0x1c(%rsp)
movq %r14, 0x130(%rsp)
movq 0x168(%rsp), %rdi
testq %rdi, %rdi
je 0x626b
movq 0x188(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
xorl %eax, %eax
movq %rax, 0x168(%rsp)
movl %eax, 0x170(%rsp)
movq %rax, 0x178(%rsp)
movl %eax, 0x180(%rsp)
movq %rax, 0x188(%rsp)
rdtsc
shlq $0x20, %rdx
movl %eax, %eax
orq %rdx, %rax
movq %rax, %xmm0
movq 0x2d8d(%rip), %xmm3     # 0x9010
punpckldq %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
movapd 0x2d91(%rip), %xmm1     # 0x9020
subpd %xmm1, %xmm0
movapd %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
addsd %xmm0, %xmm2
movsd 0x2d99(%rip), %xmm4     # 0x9040
mulsd %xmm4, %xmm2
rdtsc
shlq $0x20, %rdx
movl %eax, %eax
orq %rdx, %rax
movq %rax, %xmm0
punpckldq %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
subpd %xmm1, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
mulsd %xmm4, %xmm1
movapd %xmm1, 0x110(%rsp)
movsd 0xf8(%rsp), %xmm0
movapd %xmm2, 0x150(%rsp)
subsd %xmm2, %xmm0
movsd %xmm0, 0x138(%rsp)
movl %r15d, %eax
imull 0x14(%rsp), %eax
movl %eax, 0xec(%rsp)
cltq
movq %rax, 0xe0(%rsp)
movq $0x0, 0xb8(%rsp)
xorpd %xmm0, %xmm0
movsd %xmm0, 0xd0(%rsp)
movl $0x64, %r14d
movq 0xc8(%rsp), %rbx
rdtsc
shlq $0x20, %rdx
movl %eax, %eax
orq %rdx, %rax
movq %rax, %xmm0
punpckldq 0x2cbd(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x2cc5(%rip), %xmm0     # 0x9020
movapd %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
addsd %xmm0, %xmm2
mulsd 0x2cd1(%rip), %xmm2     # 0x9040
movsd 0xd0(%rsp), %xmm0
addsd %xmm0, %xmm0
movsd 0x2cdc(%rip), %xmm1     # 0x9060
maxsd %xmm0, %xmm1
addsd %xmm2, %xmm1
ucomisd 0xf8(%rsp), %xmm1
jbe 0x63b1
xorl %r12d, %r12d
movapd 0x110(%rsp), %xmm0
movapd %xmm0, 0x120(%rsp)
jmp 0x66fb
movapd %xmm2, 0x120(%rsp)
subsd 0x150(%rsp), %xmm2
mulsd 0x2c9d(%rip), %xmm2     # 0x9068
divsd 0x138(%rsp), %xmm2
addsd 0x2c74(%rip), %xmm2     # 0x9050
movapd %xmm2, 0x100(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x50(%rsp)
movq $0x0, 0x60(%rsp)
movq 0x20(%rsp), %rax
cmpq 0x28(%rsp), %rax
je 0x6427
movq %rbx, %rdi
callq 0x771f
movapd 0x100(%rsp), %xmm1
mulsd 0x2c53(%rip), %xmm1     # 0x9070
ucomisd %xmm0, %xmm1
jbe 0x672d
movq %r13, %rdi
leaq 0x2878(%rsp), %rsi
movq 0xe0(%rsp), %rdx
callq 0x2140
leaq 0x38(%rsp), %rdi
movl 0x14(%rsp), %esi
movl %r15d, %edx
movl 0xc4(%rsp), %ecx
movq %r13, %r8
movq %rbx, %r9
callq 0x72a6
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq 0x86ec
movq 0x28(%rsp), %rax
subq 0x20(%rsp), %rax
shrq $0x4, %rax
movq 0x130(%rsp), %rcx
leal (%rcx,%rax,2), %ecx
movl 0xec(%rsp), %r12d
subl %ecx, %r12d
cmpl $0x0, 0x14(%rsp)
jle 0x6517
cmpl $0x4, %r12d
movl $0x5, %ecx
movl $0xc, %edx
cmovel %edx, %ecx
leaq 0x4f88(%rsp), %rdx
movq %r13, %rsi
xorl %edi, %edi
testl %r15d, %r15d
jle 0x6504
xorl %r8d, %r8d
cmpb $0x0, (%rsi,%r8)
js 0x64cd
addb %cl, (%rdx,%r8)
movzbl (%rdx,%r8), %r9d
testl %r9d, %r9d
je 0x64fc
cmpl $0x4, %r9d
movl %r9d, %r10d
movl $0x3, %r11d
cmovll %r11d, %r10d
addb $-0x3, %r10b
cmpb $0x67, %r9b
movzbl %r10b, %r9d
cmovael %r14d, %r9d
movb %r9b, (%rdx,%r8)
incq %r8
cmpq %r8, %rbp
jne 0x64c2
incq %rdi
addq %rbp, %rsi
addq %rbp, %rdx
cmpq 0xd8(%rsp), %rdi
jne 0x64ba
movq 0x58(%rsp), %rcx
subq 0x50(%rsp), %rcx
shrq $0x4, %rcx
subl %eax, %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
mulsd 0x2b4a(%rip), %xmm0     # 0x9080
divsd 0x100(%rsp), %xmm0
callq 0x2270
movsd %xmm0, 0x100(%rsp)
movq 0x28(%rsp), %rax
subq 0x20(%rsp), %rax
movq 0x58(%rsp), %rcx
subq 0x50(%rsp), %rcx
cmpq %rcx, %rax
jbe 0x6581
movq %rbx, %rdi
callq 0x771f
movsd 0x100(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x66a6
leaq 0x20(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x710a
movq 0x70(%rsp), %rax
cmpq %rax, 0x78(%rsp)
je 0x65a1
movq %rax, 0x78(%rsp)
cmpl $0x64, %r12d
jg 0x6634
movl $0x0, 0xa0(%rsp)
cmpl $0x0, 0x14(%rsp)
jle 0x6634
movl $0x0, 0x98(%rsp)
testl %r15d, %r15d
jle 0x661e
xorl %eax, %eax
movl 0xa0(%rsp), %ecx
imull %r15d, %ecx
addl %eax, %ecx
movslq %ecx, %rcx
movsbl 0x168(%rsp,%rcx), %ecx
testl %ecx, %ecx
js 0x6610
leaq 0x70(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0x98(%rsp), %rdx
callq 0x76e6
movl 0x98(%rsp), %eax
incl %eax
jmp 0x6612
subl %ecx, %eax
movl %eax, 0x98(%rsp)
cmpl %r15d, %eax
jl 0x65cf
movl 0xa0(%rsp), %eax
incl %eax
movl %eax, 0xa0(%rsp)
cmpl 0x14(%rsp), %eax
jl 0x65bd
movq 0x90(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
movq 0x28(%rsp), %rcx
subq 0x20(%rsp), %rcx
cmpq %rcx, %rax
jae 0x66a6
movq 0x90(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x710a
movq 0x90(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
shrq $0x4, %rax
cmpl %eax, 0x1c(%rsp)
jne 0x66a6
movq 0xb8(%rsp), %rax
incl %eax
movq %rax, 0xb8(%rsp)
xorl %r12d, %r12d
movapd 0x110(%rsp), %xmm0
movapd %xmm0, 0x120(%rsp)
jmp 0x66cd
movapd 0x120(%rsp), %xmm0
subsd 0x110(%rsp), %xmm0
maxsd 0xd0(%rsp), %xmm0
movb $0x1, %r12b
movsd %xmm0, 0xd0(%rsp)
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x66e4
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x66fb
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
testb %r12b, %r12b
je 0x6afd
movq 0xb8(%rsp), %rax
incl %eax
movq %rax, 0xb8(%rsp)
movapd 0x120(%rsp), %xmm0
movapd %xmm0, 0x110(%rsp)
jmp 0x633b
movq 0x78(%rsp), %rax
subq 0x70(%rsp), %rax
sete %cl
cmpq $0x320, %rax            # imm = 0x320
setae %al
orb %cl, %al
movslq %r15d, %r12
movq %r12, 0xf0(%rsp)
jne 0x69cf
movq %rbx, %rdi
callq 0x771f
movsd 0x2912(%rip), %xmm1     # 0x9078
ucomisd %xmm0, %xmm1
jbe 0x69cf
movq %r13, %rdi
leaq 0x2878(%rsp), %rsi
movq 0xe0(%rsp), %rdx
callq 0x2140
movq 0x28(%rsp), %rax
subq 0x20(%rsp), %rax
shrq $0x4, %rax
decl %eax
movl $0x0, 0x38(%rsp)
movl %eax, 0x3c(%rsp)
leaq 0x38(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x7848
movl %eax, 0x18(%rsp)
movq 0x78(%rsp), %rsi
subq 0x70(%rsp), %rsi
sarq $0x3, %rsi
movq %r12, %rdi
leaq 0xa0(%rsp), %rdx
callq 0x6d50
movabsq $0xa00000000, %r13      # imm = 0xA00000000
movq 0x70(%rsp), %rax
movq 0x78(%rsp), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
testl %ecx, %ecx
jle 0x6863
xorl %ebx, %ebx
movslq (%rax,%rbx,8), %rcx
movslq 0x4(%rax,%rbx,8), %rax
imulq 0xf0(%rsp), %rcx
addq %rax, %rcx
movzbl 0x4f88(%rsp,%rcx), %r12d
movq %r13, 0xa0(%rsp)
leaq 0xa0(%rsp), %rdi
movq 0xc8(%rsp), %rsi
movq %rdi, %rdx
callq 0x7848
addl %r12d, %eax
movq 0x38(%rsp), %rcx
movl %eax, (%rcx,%rbx,8)
movl %ebx, 0x4(%rcx,%rbx,8)
incq %rbx
movq 0x70(%rsp), %rax
movq 0x78(%rsp), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movslq %ecx, %rcx
cmpq %rcx, %rbx
jl 0x67fa
movq 0x38(%rsp), %rbx
movq 0x40(%rsp), %r12
movq %r12, %rax
subq %rbx, %rax
je 0x68d0
movq %r12, 0xa0(%rsp)
movq %rbx, 0x98(%rsp)
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
leaq 0xa0(%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x793f
movq %r12, 0x148(%rsp)
movq %rbx, 0x140(%rsp)
leaq 0x148(%rsp), %rdi
leaq 0x140(%rsp), %rsi
callq 0x7a8a
movq 0x78(%rsp), %rax
subq 0x70(%rsp), %rax
shrq $0x3, %rax
movl $0x1, 0xa0(%rsp)
movl %eax, 0xa4(%rsp)
leaq 0xa0(%rsp), %r13
movq %r13, %rdi
movq 0xc8(%rsp), %rbx
movq %rbx, %rsi
movq %r13, %rdx
callq 0x7848
movl %eax, %r12d
movslq %eax, %rsi
movq %r13, %rdi
leaq 0x98(%rsp), %rdx
callq 0x6d50
testl %r12d, %r12d
leaq 0x168(%rsp), %r13
jle 0x6967
movq 0x38(%rsp), %rax
movq 0x70(%rsp), %rcx
movq 0xa0(%rsp), %rdx
movl %r12d, %esi
xorl %edi, %edi
movslq 0x4(%rax,%rdi,8), %r8
movl (%rcx,%r8,8), %r9d
movl %r9d, (%rdx,%rdi,8)
movl 0x4(%rcx,%r8,8), %r8d
movl %r8d, 0x4(%rdx,%rdi,8)
incq %rdi
cmpq %rdi, %rsi
jne 0x6948
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %r8
leaq 0x50(%rsp), %rax
movq %rax, (%rsp)
movl %r15d, %edi
movq %r13, %rsi
leaq 0xa0(%rsp), %rdx
movl 0x18(%rsp), %r9d
callq 0x6dc8
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x69af
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x643f
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
jmp 0x643f
movq 0x28(%rsp), %rax
subq 0x20(%rsp), %rax
shrq $0x4, %rax
decl %eax
movl $0x0, 0x38(%rsp)
movl %eax, 0x3c(%rsp)
leaq 0x38(%rsp), %rdi
movq %rbx, %rsi
movq %rdi, %rdx
callq 0x7848
movl %eax, %ebx
leaq 0x50(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x710a
movl %ebx, 0x18(%rsp)
movslq %ebx, %r13
movq 0x50(%rsp), %rbx
movq 0x58(%rsp), %r12
shlq $0x4, %r13
addq %rbx, %r13
movq $-0x10, %rax
movl 0x10(%r13,%rax), %ecx
movl (%r12,%rax), %edx
movl %edx, 0x10(%r13,%rax)
movl %ecx, (%r12,%rax)
addq $0x4, %rax
jne 0x6a2b
leaq 0x168(%rsp), %rdi
leaq 0x2878(%rsp), %rsi
movq 0xe0(%rsp), %rdx
callq 0x2140
cmpl $0x0, 0x18(%rsp)
movb $-0x1, %dil
movq 0xf0(%rsp), %r8
je 0x6aa8
movslq (%rbx), %rax
movslq 0x4(%rbx), %rcx
movslq 0x8(%rbx), %rdx
movslq 0xc(%rbx), %rsi
imulq %r8, %rax
addq %rcx, %rax
movb %dil, 0x168(%rsp,%rax)
imulq %r8, %rdx
addq %rsi, %rdx
movb %dil, 0x168(%rsp,%rdx)
addq $0x10, %rbx
cmpq %r13, %rbx
jne 0x6a72
movl %r15d, %edi
leaq 0x168(%rsp), %rsi
movq %r13, %rdx
movq %r12, %rcx
callq 0x71df
movq 0x58(%rsp), %rcx
cmpq %rcx, %rax
movq 0xc8(%rsp), %rbx
leaq 0x168(%rsp), %r13
je 0x643f
movq 0x58(%rsp), %rdx
movq %rdx, %rsi
subq %rcx, %rsi
addq %rsi, %rax
cmpq %rax, %rdx
je 0x643f
movq %rax, 0x58(%rsp)
jmp 0x643f
movq 0x64ec(%rip), %rdi      # 0xcff0
leaq 0x28c3(%rip), %rsi      # 0x93ce
movl $0xc, %edx
callq 0x21a0
movq 0x64d4(%rip), %rdi      # 0xcff0
movq 0xb8(%rsp), %rsi
callq 0x2250
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
movq 0x6496(%rip), %rdi      # 0xcff0
leaq 0x2817(%rip), %rsi      # 0x9378
movl $0x7, %edx
callq 0x21a0
rdtsc
shlq $0x20, %rdx
movl %eax, %eax
orq %rdx, %rax
movq %rax, %xmm1
punpckldq 0x248d(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x2495(%rip), %xmm1     # 0x9020
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x24a1(%rip), %xmm0     # 0x9040
subsd 0x150(%rsp), %xmm0
movq 0x6441(%rip), %rdi      # 0xcff0
callq 0x2210
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
movq 0x640b(%rip), %rdi      # 0xcff0
leaq 0x27ef(%rip), %rsi      # 0x93db
movl $0xc, %edx
callq 0x21a0
movq 0x63f3(%rip), %rdi      # 0xcff0
movsd 0xd0(%rsp), %xmm0
callq 0x2210
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x6c4f
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x6c66
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
movq 0x90(%rsp), %rax
addq $0x7698, %rsp           # imm = 0x7698
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6cba
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x6ccd
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
jmp 0x6ccd
jmp 0x6cca
jmp 0x6cca
jmp 0x6cc1
jmp 0x6cc1
jmp 0x6cca
jmp 0x6cc1
jmp 0x6cc1
jmp 0x6cc1
jmp 0x6cc1
jmp 0x6cca
jmp 0x6cc1
movq %rax, %rbx
jmp 0x6cfb
jmp 0x6cca
movq %rax, %rbx
jmp 0x6ce4
jmp 0x6cca
jmp 0x6cca
movq %rax, %rbx
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6ce4
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x6cfb
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x6d15
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x6d2c
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
movq 0x90(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x6d48
movq 0x10(%rax), %rsi
subq %rdi, %rsi
callq 0x2190
movq %rbx, %rdi
callq 0x2260