// File: kmyk[P]topcoder-marathon-match-100-same-color-pairs/./SameColorPairs.cpp
// Function: solve(int, int, int, std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>> const&)
vector<array<int, 4> > solve(int H, int W, int C, vector<vector<int> > const & original_board) {
    // assume H <= W
    if (H > W) {
        return with_transpose(H, W, C, original_board, [&](int H, int W, int C, vector<vector<int> > board) {
            return solve(H, W, C, board);
        });
    }

    double clock_begin = rdtsc();
    random_device device;
    xor_shift_128 gen(device());
    vector<vector<int> > board = original_board;

    // split the board to blocks
    int hk = H / 30 + 1;
    int wk = W / 30 + 1;
    while (hk * wk >= 2 and (H / hk) * (W / wk) <= 400) {
        -- (hk >= wk ? hk : wk);  // not to make too small blocks
    }
    int k = hk * wk;
    vector<int> h = split_to_chunks(H, hk);
    vector<int> w = split_to_chunks(W, wk);

    // define the ordering
    vector<tuple<int, int, int, int> > order;
    assert (hk <= hk);  // since H <= W
    REP (y, hk) REP (x, wk) {
        int a = y;
        int b = (y % 2 == 0 ? - x : x);
        if (hk == 1) {
            // nop
        } else if (hk == 2) {
            if (y == 0 and x == wk - 1) a = 100;
        } else if (hk == 3) {
            // nop
        } else if (hk == 4) {
            assert (wk == 4);
            if (x < wk - 1) {
                // nop
            } else {
                a = 100;
                b = - y;
            }
        } else {
            assert (false);
        }
        order.emplace_back(a, b, y, x);
    }
    sort(ALL(order));
    order.pop_back();

    // solve each block
    vector<array<int, 4> > rects;
    vector<vector<bool> > used(hk, vector<bool>(wk));
    REP (i, k - 1) {
        int y, x; tie(ignore, ignore, y, x) = order[i];
        cerr << "[" << h[y] << ", " << h[y + 1] << ") * [" << w[x] << ", " << w[x + 1] << ")" << endl;

        // exntend the area
        used[y][x] = true;
        int ly = y, ry = y + 1;
        int lx = x, rx = x + 1;
        while (lx - 1 >=  0 and used[y][lx - 1]) -- lx;
        while (rx     <  wk and used[y][rx]) ++ rx;
        while (ly - 1 >=  0) {
            bool valid = true;
            REP3 (x, lx, rx) if (not used[ly - 1][x]) valid = false;
            if (not valid) break;
            -- ly;
        }
        while (ry < hk) {
            bool valid = true;
            REP3 (x, lx, rx) if (not used[ry][x]) valid = false;
            if (not valid) break;
            ++ ry;
        }

        // run greedy
        vector<array<int, 4> > delta =
            with_crop(H, W, C, board, h[ly], w[lx], h[ry], w[rx], [&](int H, int W, int C, vector<vector<int> > const & board) {
                return with_compress(H, W, C, board, [&](int H, int W, int C, vector<vector<int> > const & board) {
                    return with_landscape(H, W, C, board, [&](int H, int W, int C, vector<vector<int> > const & board) {
                        double clock_end = min(rdtsc() + min(1.0, 3 * 5.0 / (k - 1)), clock_begin + 5.0 * (i + 1) / (k - 1));
                        return solve_sa_greedy(H, W, C, board, clock_end, gen);
                    });
                });
            });
        apply_rects(board, ALL(delta));
        copy(ALL(delta), back_inserter(rects));
    }
    // solve the entire board
    vector<array<int, 4> > delta =
        with_compress(H, W, C, board, [&](int H, int W, int C, vector<vector<int> > const & board) {
            return with_landscape(H, W, C, board, [&](int H, int W, int C, vector<vector<int> > const & board) {  // use landscape mode to make linked lists more efficient
                return solve_sa_greedy(H, W, C, board, clock_begin + 9.5, gen);
            });
        });
    apply_rects(board, ALL(delta));
    copy(ALL(delta), back_inserter(rects));
    return rects;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1870, %rsp           # imm = 0x1870
movq %rdi, -0x1680(%rbp)
movq %rdi, %rax
movq %rax, -0x1678(%rbp)
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
movq %r8, -0x20(%rbp)
movl -0xc(%rbp), %eax
cmpl -0x10(%rbp), %eax
jle 0x39c9
movl -0xc(%rbp), %eax
movl %eax, -0x169c(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x1698(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x1694(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x1690(%rbp)
leaq -0x40(%rbp), %rdi
movq %rdi, -0x1688(%rbp)
leaq -0x41(%rbp), %rsi
callq 0x4940
movq -0x1680(%rbp), %rdi
movl -0x169c(%rbp), %esi
movl -0x1698(%rbp), %edx
movl -0x1694(%rbp), %ecx
movq -0x1690(%rbp), %r8
movq -0x1688(%rbp), %r9
callq 0x2cf0
jmp 0x39a1
leaq -0x40(%rbp), %rdi
callq 0x7280
jmp 0x4921
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x7280
jmp 0x4931
callq 0x7450
movsd %xmm0, -0x60(%rbp)
leaq -0x13e8(%rbp), %rdi
movq %rdi, -0x16a8(%rbp)
callq 0x74a0
movq -0x16a8(%rbp), %rdi
callq 0x7540
movl %eax, -0x16a0(%rbp)
jmp 0x39fa
movl -0x16a0(%rbp), %esi
leaq -0x13f8(%rbp), %rdi
callq 0x7560
jmp 0x3a0e
movq -0x20(%rbp), %rsi
leaq -0x1410(%rbp), %rdi
callq 0x7590
jmp 0x3a20
movl -0xc(%rbp), %eax
movl $0x1e, %ecx
cltd
idivl %ecx
addl $0x1, %eax
movl %eax, -0x1414(%rbp)
movl -0x10(%rbp), %eax
movl $0x1e, %ecx
cltd
idivl %ecx
addl $0x1, %eax
movl %eax, -0x1418(%rbp)
movl -0x1414(%rbp), %ecx
imull -0x1418(%rbp), %ecx
xorl %eax, %eax
cmpl $0x2, %ecx
movb %al, -0x16a9(%rbp)
jl 0x3a95
movl -0xc(%rbp), %eax
cltd
idivl -0x1414(%rbp)
movl %eax, -0x16b0(%rbp)
movl -0x10(%rbp), %eax
cltd
idivl -0x1418(%rbp)
movl %eax, %ecx
movl -0x16b0(%rbp), %eax
imull %ecx, %eax
cmpl $0x190, %eax            # imm = 0x190
setle %al
movb %al, -0x16a9(%rbp)
movb -0x16a9(%rbp), %al
testb $0x1, %al
jne 0x3aa1
jmp 0x3af3
movl -0x1414(%rbp), %eax
cmpl -0x1418(%rbp), %eax
jl 0x3abf
leaq -0x1414(%rbp), %rax
movq %rax, -0x16b8(%rbp)
jmp 0x3acf
leaq -0x1418(%rbp), %rax
movq %rax, -0x16b8(%rbp)
jmp 0x3acf
movq -0x16b8(%rbp), %rax
movl (%rax), %ecx
addl $-0x1, %ecx
movl %ecx, (%rax)
jmp 0x3a48
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x4913
movl -0x1414(%rbp), %eax
movl -0x1418(%rbp), %ecx
imull %ecx, %eax
movl %eax, -0x141c(%rbp)
movl -0xc(%rbp), %esi
movl -0x1414(%rbp), %edx
leaq -0x1438(%rbp), %rdi
callq 0x3820
jmp 0x3b1f
movl -0x10(%rbp), %esi
movl -0x1418(%rbp), %edx
leaq -0x1450(%rbp), %rdi
callq 0x3820
jmp 0x3b36
leaq -0x1468(%rbp), %rdi
callq 0x7680
movl -0x1414(%rbp), %eax
cmpl -0x1414(%rbp), %eax
jg 0x3b52
jmp 0x3b93
leaq 0x156ef(%rip), %rdi     # 0x19248
leaq 0x156f1(%rip), %rsi     # 0x19251
movl $0x1fc, %edx            # imm = 0x1FC
leaq 0x156fa(%rip), %rcx     # 0x19266
callq 0x2120
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x4907
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x48fb
movl $0x0, -0x146c(%rbp)
movl -0x146c(%rbp), %eax
cmpl -0x1414(%rbp), %eax
jge 0x3d50
movl $0x0, -0x1470(%rbp)
movl -0x1470(%rbp), %eax
cmpl -0x1418(%rbp), %eax
jge 0x3d3a
movl -0x146c(%rbp), %eax
movl %eax, -0x1474(%rbp)
movl -0x146c(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x3bfa
xorl %eax, %eax
subl -0x1470(%rbp), %eax
movl %eax, -0x16bc(%rbp)
jmp 0x3c06
movl -0x1470(%rbp), %eax
movl %eax, -0x16bc(%rbp)
movl -0x16bc(%rbp), %eax
movl %eax, -0x1478(%rbp)
cmpl $0x1, -0x1414(%rbp)
jne 0x3c20
jmp 0x3ce9
cmpl $0x2, -0x1414(%rbp)
jne 0x3c54
cmpl $0x0, -0x146c(%rbp)
jne 0x3c4f
movl -0x1470(%rbp), %eax
movl -0x1418(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x3c4f
movl $0x64, -0x1474(%rbp)
jmp 0x3ce7
cmpl $0x3, -0x1414(%rbp)
jne 0x3c62
jmp 0x3ce5
cmpl $0x4, -0x1414(%rbp)
jne 0x3cc4
cmpl $0x4, -0x1418(%rbp)
jne 0x3c76
jmp 0x3c95
leaq 0x15631(%rip), %rdi     # 0x192ae
leaq 0x155cd(%rip), %rsi     # 0x19251
movl $0x207, %edx            # imm = 0x207
leaq 0x155d6(%rip), %rcx     # 0x19266
callq 0x2120
movl -0x1470(%rbp), %eax
movl -0x1418(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x3caa
jmp 0x3cc2
movl $0x64, -0x1474(%rbp)
xorl %eax, %eax
subl -0x146c(%rbp), %eax
movl %eax, -0x1478(%rbp)
jmp 0x3ce3
leaq 0x155eb(%rip), %rdi     # 0x192b6
leaq 0x1557f(%rip), %rsi     # 0x19251
movl $0x20f, %edx            # imm = 0x20F
leaq 0x15588(%rip), %rcx     # 0x19266
callq 0x2120
jmp 0x3ce5
jmp 0x3ce7
jmp 0x3ce9
leaq -0x1468(%rbp), %rdi
leaq -0x1474(%rbp), %rsi
leaq -0x1478(%rbp), %rdx
leaq -0x146c(%rbp), %rcx
leaq -0x1470(%rbp), %r8
callq 0x76a0
jmp 0x3d13
jmp 0x3d15
movl -0x1470(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1470(%rbp)
jmp 0x3bb9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x48e3
jmp 0x3d3c
movl -0x146c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x146c(%rbp)
jmp 0x3b9d
leaq -0x1468(%rbp), %rdi
callq 0x7780
movq %rax, -0x16c8(%rbp)
jmp 0x3d65
movq -0x16c8(%rbp), %rax
movq %rax, -0x1480(%rbp)
leaq -0x1468(%rbp), %rdi
callq 0x77b0
movq %rax, -0x16d0(%rbp)
jmp 0x3d88
movq -0x16d0(%rbp), %rax
movq %rax, -0x1488(%rbp)
movq -0x1480(%rbp), %rdi
movq -0x1488(%rbp), %rsi
callq 0x7740
jmp 0x3dab
leaq -0x1468(%rbp), %rdi
callq 0x77e0
movq -0x1680(%rbp), %rdi
movb $0x0, -0x1489(%rbp)
callq 0x7810
movslq -0x1414(%rbp), %rax
movq %rax, -0x16e8(%rbp)
movslq -0x1418(%rbp), %rax
movq %rax, -0x16e0(%rbp)
leaq -0x14d1(%rbp), %rdi
movq %rdi, -0x16d8(%rbp)
callq 0x6aa0
movq -0x16e0(%rbp), %rsi
movq -0x16d8(%rbp), %rdx
leaq -0x14d0(%rbp), %rdi
callq 0x7830
jmp 0x3e15
leaq -0x14d2(%rbp), %rdi
movq %rdi, -0x16f0(%rbp)
callq 0x7870
movq -0x16e8(%rbp), %rsi
movq -0x16f0(%rbp), %rcx
leaq -0x14a8(%rbp), %rdi
leaq -0x14d0(%rbp), %rdx
callq 0x7890
jmp 0x3e4b
leaq -0x14d2(%rbp), %rdi
callq 0x7910
leaq -0x14d0(%rbp), %rdi
callq 0x7180
leaq -0x14d1(%rbp), %rdi
callq 0x6b40
movl $0x0, -0x14d8(%rbp)
movl -0x14d8(%rbp), %eax
movl -0x141c(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x469f
movslq -0x14d8(%rbp), %rsi
leaq -0x1468(%rbp), %rdi
callq 0x7930
movq %rax, -0x16f8(%rbp)
leaq 0x1553c(%rip), %rdx     # 0x193ed
leaq -0x1500(%rbp), %rdi
movq %rdi, -0x1700(%rbp)
leaq -0x14dc(%rbp), %rcx
leaq -0x14e0(%rbp), %r8
movq %rdx, %rsi
callq 0x7950
movq -0x1700(%rbp), %rdi
movq -0x16f8(%rbp), %rsi
callq 0x79a0
jmp 0x3eea
movq 0x210ff(%rip), %rdi     # 0x24ff0
leaq 0x153cb(%rip), %rsi     # 0x192c3
callq 0x21f0
movq %rax, -0x1708(%rbp)
jmp 0x3f06
movslq -0x14dc(%rbp), %rsi
leaq -0x1438(%rbp), %rdi
callq 0x6f00
movq -0x1708(%rbp), %rdi
movl (%rax), %esi
callq 0x2330
movq %rax, -0x1710(%rbp)
jmp 0x3f30
movq -0x1710(%rbp), %rdi
leaq 0x1537e(%rip), %rsi     # 0x192bc
callq 0x21f0
movq %rax, -0x1718(%rbp)
jmp 0x3f4c
movl -0x14dc(%rbp), %eax
incl %eax
movslq %eax, %rsi
leaq -0x1438(%rbp), %rdi
callq 0x6f00
movq -0x1718(%rbp), %rdi
movl (%rax), %esi
callq 0x2330
movq %rax, -0x1720(%rbp)
jmp 0x3f7a
movq -0x1720(%rbp), %rdi
leaq 0x15337(%rip), %rsi     # 0x192bf
callq 0x21f0
movq %rax, -0x1728(%rbp)
jmp 0x3f96
movslq -0x14e0(%rbp), %rsi
leaq -0x1450(%rbp), %rdi
callq 0x6f00
movq -0x1728(%rbp), %rdi
movl (%rax), %esi
callq 0x2330
movq %rax, -0x1730(%rbp)
jmp 0x3fc0
movq -0x1730(%rbp), %rdi
leaq 0x152ee(%rip), %rsi     # 0x192bc
callq 0x21f0
movq %rax, -0x1738(%rbp)
jmp 0x3fdc
movl -0x14e0(%rbp), %eax
incl %eax
movslq %eax, %rsi
leaq -0x1450(%rbp), %rdi
callq 0x6f00
movq -0x1738(%rbp), %rdi
movl (%rax), %esi
callq 0x2330
movq %rax, -0x1740(%rbp)
jmp 0x400a
movq -0x1740(%rbp), %rdi
leaq 0x15294(%rip), %rsi     # 0x192ac
callq 0x21f0
movq %rax, -0x1748(%rbp)
jmp 0x4026
movq -0x1748(%rbp), %rdi
movq 0x20f84(%rip), %rsi     # 0x24fb8
callq 0x2230
jmp 0x403b
movslq -0x14dc(%rbp), %rsi
leaq -0x14a8(%rbp), %rdi
callq 0x79d0
movq %rax, %rdi
movslq -0x14e0(%rbp), %rsi
callq 0x6ba0
movq %rdx, -0x1758(%rbp)
movq %rax, -0x1750(%rbp)
jmp 0x406d
movq -0x1758(%rbp), %rax
movq -0x1750(%rbp), %rcx
movq %rcx, -0x1510(%rbp)
movq %rax, -0x1508(%rbp)
leaq -0x1510(%rbp), %rdi
movl $0x1, %esi
callq 0x6c00
movl -0x14dc(%rbp), %eax
movl %eax, -0x1514(%rbp)
movl -0x14dc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1518(%rbp)
movl -0x14e0(%rbp), %eax
movl %eax, -0x151c(%rbp)
movl -0x14e0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1520(%rbp)
movl -0x151c(%rbp), %ecx
subl $0x1, %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x1759(%rbp)
jl 0x414a
movslq -0x14dc(%rbp), %rsi
leaq -0x14a8(%rbp), %rdi
callq 0x79d0
movq %rax, %rdi
movl -0x151c(%rbp), %eax
decl %eax
movslq %eax, %rsi
callq 0x6ba0
movq %rdx, -0x1770(%rbp)
movq %rax, -0x1768(%rbp)
jmp 0x411c
movq -0x1770(%rbp), %rax
movq -0x1768(%rbp), %rcx
movq %rcx, -0x1530(%rbp)
movq %rax, -0x1528(%rbp)
leaq -0x1530(%rbp), %rdi
callq 0x6c70
movb %al, -0x1759(%rbp)
movb -0x1759(%rbp), %al
testb $0x1, %al
jne 0x4156
jmp 0x41be
movl -0x151c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x151c(%rbp)
jmp 0x40d0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x419c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x14d2(%rbp), %rdi
callq 0x7910
leaq -0x14d0(%rbp), %rdi
callq 0x7180
leaq -0x14d1(%rbp), %rdi
callq 0x6b40
jmp 0x48d7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x487f
jmp 0x41c0
movl -0x1520(%rbp), %ecx
xorl %eax, %eax
cmpl -0x1418(%rbp), %ecx
movb %al, -0x1771(%rbp)
jge 0x4236
movslq -0x14dc(%rbp), %rsi
leaq -0x14a8(%rbp), %rdi
callq 0x79d0
movq %rax, %rdi
movslq -0x1520(%rbp), %rsi
callq 0x6ba0
movq %rdx, -0x1788(%rbp)
movq %rax, -0x1780(%rbp)
jmp 0x4208
movq -0x1788(%rbp), %rax
movq -0x1780(%rbp), %rcx
movq %rcx, -0x1540(%rbp)
movq %rax, -0x1538(%rbp)
leaq -0x1540(%rbp), %rdi
callq 0x6c70
movb %al, -0x1771(%rbp)
movb -0x1771(%rbp), %al
testb $0x1, %al
jne 0x4242
jmp 0x4256
movl -0x1520(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1520(%rbp)
jmp 0x41c0
jmp 0x4258
movl -0x1514(%rbp), %eax
subl $0x1, %eax
cmpl $0x0, %eax
jl 0x4331
movb $0x1, -0x1541(%rbp)
movl -0x151c(%rbp), %eax
movl %eax, -0x1548(%rbp)
movl -0x1548(%rbp), %eax
cmpl -0x1520(%rbp), %eax
jge 0x4312
movl -0x1514(%rbp), %eax
decl %eax
movslq %eax, %rsi
leaq -0x14a8(%rbp), %rdi
callq 0x79d0
movq %rax, %rdi
movslq -0x1548(%rbp), %rsi
callq 0x6ba0
movq %rdx, -0x1798(%rbp)
movq %rax, -0x1790(%rbp)
jmp 0x42c5
movq -0x1798(%rbp), %rax
movq -0x1790(%rbp), %rcx
movq %rcx, -0x1558(%rbp)
movq %rax, -0x1550(%rbp)
leaq -0x1558(%rbp), %rdi
callq 0x6c70
xorb $-0x1, %al
testb $0x1, %al
jne 0x42f5
jmp 0x42fc
movb $0x0, -0x1541(%rbp)
jmp 0x42fe
movl -0x1548(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1548(%rbp)
jmp 0x427d
testb $0x1, -0x1541(%rbp)
jne 0x431d
jmp 0x4331
movl -0x1514(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x1514(%rbp)
jmp 0x4258
jmp 0x4333
movl -0x1518(%rbp), %eax
cmpl -0x1414(%rbp), %eax
jge 0x4404
movb $0x1, -0x1559(%rbp)
movl -0x151c(%rbp), %eax
movl %eax, -0x1560(%rbp)
movl -0x1560(%rbp), %eax
cmpl -0x1520(%rbp), %eax
jge 0x43e5
movslq -0x1518(%rbp), %rsi
leaq -0x14a8(%rbp), %rdi
callq 0x79d0
movq %rax, %rdi
movslq -0x1560(%rbp), %rsi
callq 0x6ba0
movq %rdx, -0x17a8(%rbp)
movq %rax, -0x17a0(%rbp)
jmp 0x4398
movq -0x17a8(%rbp), %rax
movq -0x17a0(%rbp), %rcx
movq %rcx, -0x1570(%rbp)
movq %rax, -0x1568(%rbp)
leaq -0x1570(%rbp), %rdi
callq 0x6c70
xorb $-0x1, %al
testb $0x1, %al
jne 0x43c8
jmp 0x43cf
movb $0x0, -0x1559(%rbp)
jmp 0x43d1
movl -0x1560(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1560(%rbp)
jmp 0x4358
testb $0x1, -0x1559(%rbp)
jne 0x43f0
jmp 0x4404
movl -0x1518(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1518(%rbp)
jmp 0x4333
movl -0xc(%rbp), %eax
movl %eax, -0x17d8(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x17d4(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x17d0(%rbp)
movslq -0x1514(%rbp), %rsi
leaq -0x1438(%rbp), %rdi
movq %rdi, -0x17c8(%rbp)
callq 0x6f00
movl (%rax), %eax
movl %eax, -0x17cc(%rbp)
movslq -0x151c(%rbp), %rsi
leaq -0x1450(%rbp), %rdi
movq %rdi, -0x17b8(%rbp)
callq 0x6f00
movq -0x17c8(%rbp), %rdi
movl (%rax), %eax
movl %eax, -0x17bc(%rbp)
movslq -0x1518(%rbp), %rsi
callq 0x6f00
movq -0x17b8(%rbp), %rdi
movl (%rax), %eax
movl %eax, -0x17b0(%rbp)
movslq -0x1520(%rbp), %rsi
callq 0x6f00
movl (%rax), %eax
movl %eax, -0x17ac(%rbp)
leaq -0x141c(%rbp), %rax
movq %rax, -0x15c8(%rbp)
leaq -0x60(%rbp), %rax
movq %rax, -0x15c0(%rbp)
leaq -0x14d8(%rbp), %rax
movq %rax, -0x15b8(%rbp)
leaq -0x13f8(%rbp), %rax
movq %rax, -0x15b0(%rbp)
leaq -0x15a8(%rbp), %rdi
leaq -0x15c8(%rbp), %rsi
callq 0x49d0
jmp 0x44e3
movl -0x17cc(%rbp), %r9d
movl -0x17d0(%rbp), %ecx
movl -0x17d4(%rbp), %edx
movl -0x17d8(%rbp), %esi
movl -0x17bc(%rbp), %edi
movl -0x17b0(%rbp), %r8d
movl -0x17ac(%rbp), %r10d
movq %rsp, %rax
leaq -0x15a8(%rbp), %r11
movq %r11, 0x18(%rax)
movl %r10d, 0x10(%rax)
movl %r8d, 0x8(%rax)
movl %edi, (%rax)
leaq -0x1588(%rbp), %rdi
leaq -0x1410(%rbp), %r8
callq 0x3100
jmp 0x453d
leaq -0x15a8(%rbp), %rdi
callq 0x7280
leaq -0x1588(%rbp), %rdi
callq 0x7ae0
movq %rax, -0x17e0(%rbp)
jmp 0x455e
movq -0x17e0(%rbp), %rax
movq %rax, -0x15d0(%rbp)
leaq -0x1588(%rbp), %rdi
callq 0x7b10
movq %rax, -0x17e8(%rbp)
jmp 0x4581
movq -0x17e8(%rbp), %rax
movq %rax, -0x15d8(%rbp)
movq -0x15d0(%rbp), %rsi
movq -0x15d8(%rbp), %rdx
leaq -0x1410(%rbp), %rdi
callq 0x79f0
jmp 0x45ab
leaq -0x1588(%rbp), %rdi
callq 0x7ae0
movq %rax, -0x17f0(%rbp)
jmp 0x45c0
movq -0x17f0(%rbp), %rax
movq %rax, -0x15e0(%rbp)
leaq -0x1588(%rbp), %rdi
callq 0x7b10
movq %rax, -0x17f8(%rbp)
jmp 0x45e3
movq -0x1680(%rbp), %rdi
movq -0x17f8(%rbp), %rax
movq %rax, -0x15e8(%rbp)
callq 0x7bb0
movq %rax, -0x1800(%rbp)
jmp 0x4606
movq -0x1800(%rbp), %rax
movq %rax, -0x15f0(%rbp)
movq -0x15e0(%rbp), %rdi
movq -0x15e8(%rbp), %rsi
movq -0x15f0(%rbp), %rdx
callq 0x7b40
movq %rax, -0x1808(%rbp)
jmp 0x4637
movq -0x1808(%rbp), %rax
movq %rax, -0x15f8(%rbp)
leaq -0x1588(%rbp), %rdi
callq 0x70c0
movl -0x14d8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14d8(%rbp)
jmp 0x3e79
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x15a8(%rbp), %rdi
callq 0x7280
jmp 0x487f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x1588(%rbp), %rdi
callq 0x70c0
jmp 0x487f
movl -0xc(%rbp), %eax
movl %eax, -0x181c(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x1818(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x1814(%rbp)
leaq -0x60(%rbp), %rax
movq %rax, -0x1640(%rbp)
leaq -0x13f8(%rbp), %rax
movq %rax, -0x1638(%rbp)
leaq -0x1630(%rbp), %rdi
movq %rdi, -0x1810(%rbp)
leaq -0x1640(%rbp), %rsi
callq 0x4a70
movl -0x181c(%rbp), %esi
movl -0x1818(%rbp), %edx
movl -0x1814(%rbp), %ecx
movq -0x1810(%rbp), %r9
leaq -0x1610(%rbp), %rdi
leaq -0x1410(%rbp), %r8
callq 0x24f0
jmp 0x471b
leaq -0x1630(%rbp), %rdi
callq 0x7280
leaq -0x1610(%rbp), %rdi
callq 0x7ae0
movq %rax, -0x1828(%rbp)
jmp 0x473c
movq -0x1828(%rbp), %rax
movq %rax, -0x1648(%rbp)
leaq -0x1610(%rbp), %rdi
callq 0x7b10
movq %rax, -0x1830(%rbp)
jmp 0x475f
movq -0x1830(%rbp), %rax
movq %rax, -0x1650(%rbp)
movq -0x1648(%rbp), %rsi
movq -0x1650(%rbp), %rdx
leaq -0x1410(%rbp), %rdi
callq 0x79f0
jmp 0x4789
leaq -0x1610(%rbp), %rdi
callq 0x7ae0
movq %rax, -0x1838(%rbp)
jmp 0x479e
movq -0x1838(%rbp), %rax
movq %rax, -0x1658(%rbp)
leaq -0x1610(%rbp), %rdi
callq 0x7b10
movq %rax, -0x1840(%rbp)
jmp 0x47c1
movq -0x1680(%rbp), %rdi
movq -0x1840(%rbp), %rax
movq %rax, -0x1660(%rbp)
callq 0x7bb0
movq %rax, -0x1848(%rbp)
jmp 0x47e4
movq -0x1848(%rbp), %rax
movq %rax, -0x1668(%rbp)
movq -0x1658(%rbp), %rdi
movq -0x1660(%rbp), %rsi
movq -0x1668(%rbp), %rdx
callq 0x7b40
movq %rax, -0x1850(%rbp)
jmp 0x4815
movq -0x1850(%rbp), %rax
movq %rax, -0x1670(%rbp)
movb $0x1, -0x1489(%rbp)
leaq -0x1610(%rbp), %rdi
callq 0x70c0
leaq -0x14a8(%rbp), %rdi
callq 0x7be0
testb $0x1, -0x1489(%rbp)
jne 0x4899
jmp 0x488d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x1630(%rbp), %rdi
callq 0x7280
jmp 0x487f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x1610(%rbp), %rdi
callq 0x70c0
leaq -0x14a8(%rbp), %rdi
callq 0x7be0
jmp 0x48d7
movq -0x1680(%rbp), %rdi
callq 0x70c0
leaq -0x1468(%rbp), %rdi
callq 0x7c40
leaq -0x1450(%rbp), %rdi
callq 0x6e80
leaq -0x1438(%rbp), %rdi
callq 0x6e80
leaq -0x1410(%rbp), %rdi
callq 0x7120
leaq -0x13e8(%rbp), %rdi
callq 0x7ca0
jmp 0x4921
movq -0x1680(%rbp), %rdi
callq 0x70c0
leaq -0x1468(%rbp), %rdi
callq 0x7c40
leaq -0x1450(%rbp), %rdi
callq 0x6e80
leaq -0x1438(%rbp), %rdi
callq 0x6e80
leaq -0x1410(%rbp), %rdi
callq 0x7120
leaq -0x13e8(%rbp), %rdi
callq 0x7ca0
jmp 0x4931
movq -0x1678(%rbp), %rax
addq $0x1870, %rsp           # imm = 0x1870
popq %rbp
retq
movq -0x50(%rbp), %rdi
callq 0x2340
nopw (%rax,%rax)