// File: /workspace/github_c_makefile_star2_O2/dolphinking[P]slimox/src/slimox-codec.c
// Function: slimox_decode
int slimox_decode(buf_t* ib, buf_t* ob, ppm_model_t* ppm) {
    uint32_t   size = 0;
    uint32_t   match_pos = 0;
    uint8_t    match_len = 0;
    uint8_t    c;
    int        percent = 0;
    int        pos = 0;
    int        escape;
    int        i;
    matcher_t  matcher;
    rc_coder_t coder;

    /* read output size */
    size = size * 256 + ib->m_data[pos++];
    size = size * 256 + ib->m_data[pos++];
    size = size * 256 + ib->m_data[pos++];
    size = size * 256 + ib->m_data[pos++];
    escape = ib->m_data[pos++];

    /* start decoding */
    matcher_init(&matcher);
    rc_dec_init(&coder, input = ib->m_data[pos++]);
    while(ob->m_size < size) {
        if(percent < pos / (ib->m_size / 100 + 1)) {
            percent = pos / (ib->m_size / 100 + 1);
            fprintf(stderr, "%d%%\r",percent);
        }

        match_len = 1;
        ppm_decode(ppm, &coder, &c, ;; input = ib->m_data[pos++]);

        if(c != escape) { /* literal */
            buf_append(ob, c);
        } else {
            ppm->m_context <<= 8;
            ppm->m_context |= c;
            ppm_decode(ppm, &coder, &match_len, ;; input = ib->m_data[pos++]);
            if(match_len == 0) { /* escape */
                match_len = 1;
                buf_append(ob, escape);
            } else { /* match */
                match_pos = matcher_getpos(&matcher, ob->m_data, ob->m_size);
                for(i = 0; i < match_len; i++) {
                    buf_append(ob, ob->m_data[match_pos + i]);
                }
                ppm->m_sse_last_esc = 0;
            }
        }
        while(match_len > 0) { /* update context */
            matcher_update(&matcher, ob->m_data, ob->m_size - match_len, 0);
            ppm->m_context <<= 8;
            ppm->m_context |= ob->m_data[ob->m_size - match_len];
            match_len--;
        }
    }
    matcher_free(&matcher);
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdx, %r14
movq %rsi, 0x90(%rsp)
movq %rdi, 0x18(%rsp)
movq (%rdi), %rbx
movl (%rbx), %eax
bswapl %eax
movl %eax, 0xac(%rsp)
movb 0x4(%rbx), %al
movb %al, 0x37(%rsp)
leaq 0xd0(%rsp), %rdi
callq 0x4b31
movl 0x5(%rbx), %ebx
bswapl %ebx
leaq 0x280010(%r14), %rax
movq %rax, 0x50(%rsp)
leaq 0x10(%r14), %rax
movq %rax, 0x58(%rsp)
leaq 0x2a0610(%r14), %rax
movq %rax, 0xb8(%rsp)
leaq 0x280017(%r14), %rax
movq %rax, 0xc0(%rsp)
leaq 0x280016(%r14), %rax
movq %rax, 0xb0(%rsp)
pushq $0x9
popq %rbp
pushq $-0x1
popq %r12
xorl %r15d, %r15d
movl %eax, 0xc(%rsp)
movl $0x0, 0x9c(%rsp)
movq %r14, 0x28(%rsp)
movq 0x90(%rsp), %rax
movl 0xac(%rsp), %ecx
cmpl %ecx, 0x8(%rax)
jae 0x6aaf
movq 0x18(%rsp), %rax
movl 0x8(%rax), %eax
xorl %edx, %edx
pushq $0x64
popq %rcx
divl %ecx
movl %eax, %ecx
incl %ecx
movl %ebp, %eax
xorl %edx, %edx
divl %ecx
cmpl %eax, 0x9c(%rsp)
jb 0x5a1f
movq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x4c75
movq %rax, %rsi
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movzwl (%r14), %eax
cmpq $0x0, 0x200010(%r14,%rax,8)
movq %rsi, 0x20(%rsp)
jne 0x5358
movq 0x2a0818(%r14), %rdi
movl $0x206, %esi            # imm = 0x206
movl $0x400, %edx            # imm = 0x400
callq 0x4dbb
movzwl (%r14), %ecx
movq %rax, 0x200010(%r14,%rcx,8)
incl 0x4(%r14)
movl $0x206, %edx            # imm = 0x206
movq %rax, %rdi
xorl %esi, %esi
callq 0x10e0
movq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0x4e29
movq %rax, %rdi
movzwl (%rax), %r13d
movzwl 0x2(%rax), %esi
leal (%rsi,%r13), %r8d
movl %ebx, %ecx
subl %r15d, %ecx
movl $0xffff, %r9d           # imm = 0xFFFF
andl %r9d, %r8d
movl %r12d, %eax
xorl %edx, %edx
divl %r8d
movl %eax, %r12d
movl %ecx, %eax
xorl %edx, %edx
divl %r12d
andl %r9d, %eax
movl %eax, 0x48(%rsp)
cmpl %r13d, %eax
movq %r13, 0x38(%rsp)
jae 0x53e5
imull %r13d, %r12d
movslq %ebp, %rbp
movq 0x18(%rsp), %rcx
leal (%r15,%r12), %eax
xorl %r15d, %eax
cmpl $0x1000000, %eax        # imm = 0x1000000
jb 0x53cc
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x543a
movl %r15d, %eax
negl %eax
movzwl %ax, %r12d
movq (%rcx), %rax
movzbl (%rax,%rbp), %eax
incq %rbp
shll $0x8, %ebx
orl %eax, %ebx
shll $0x8, %r12d
shll $0x8, %r15d
jmp 0x53ac
movslq %ebp, %rbp
imull %r12d, %esi
movl %r12d, %eax
imull %r13d, %eax
addl %r15d, %eax
movl %eax, %r15d
movl %esi, %r12d
movq 0x18(%rsp), %rcx
leal (%r15,%r12), %eax
xorl %r15d, %eax
cmpl $0x1000000, %eax        # imm = 0x1000000
jb 0x5421
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x545a
movl %r15d, %eax
negl %eax
movzwl %ax, %r12d
movq (%rcx), %rax
movzbl (%rax,%rbp), %eax
incq %rbp
shll $0x8, %ebx
orl %eax, %ebx
shll $0x8, %r12d
shll $0x8, %r15d
jmp 0x5401
xorl %esi, %esi
callq 0x4fbf
movq 0x20(%rsp), %r10
cmpb $0x1, 0xe(%r10)
jne 0x54a5
movb 0x10(%r10), %al
movl %eax, 0xc(%rsp)
jmp 0x552f
pushq $0x1
popq %rsi
callq 0x4fbf
movq 0x20(%rsp), %r8
movzbl 0xe(%r8), %eax
leaq 0x10(%r8), %rsi
xorl %edx, %edx
cmpq %rdx, %rax
je 0x548c
movzbl (%rsi,%rdx,2), %ecx
pushq $0x1
popq %rdi
shll %cl, %edi
shrl $0x5, %ecx
orl %edi, 0x60(%rsp,%rcx,4)
incq %rdx
jmp 0x5472
cmpl $0x42, %eax
jne 0x5508
movzbl 0x93(%r8), %eax
subw %ax, 0xc(%r8)
movl $0x82, %edx
jmp 0x5519
leaq 0x10(%r10), %rsi
movzbl 0x11(%r10), %r8d
addl $0x6, %r8d
shrl %r8d
movzwl 0xc(%r10), %eax
addw %r8w, %ax
movl %ebx, %edi
subl %r15d, %edi
movzwl %ax, %r9d
xorl %ecx, %ecx
movl %r12d, %eax
xorl %edx, %edx
divl %r9d
movl %eax, %r9d
movl %edi, %eax
xorl %edx, %edx
divl %r9d
movzwl %ax, %edx
xorl %eax, %eax
movzwl %ax, %eax
leal (%r8,%rax), %r14d
movb 0x11(%r10,%rcx), %r13b
movzbl %r13b, %r12d
leal (%r14,%r12), %edi
cmpl %edx, %edi
ja 0x566f
movzwl %r12w, %edi
addl %edi, %eax
addq $0x2, %rcx
jmp 0x54e0
incb %al
movb %al, 0xe(%r8)
movzbl %al, %eax
leaq -0x2(,%rax,2), %rdx
movq %r8, %rdi
addq $0x12, %rdi
callq 0x11e0
movq 0x20(%rsp), %r10
movb $0x0, 0x11(%r10)
movl (%r14), %eax
cmpl %r13d, 0x48(%rsp)
jae 0x5568
shll $0x8, %eax
movq %r14, %r13
movl 0xc(%rsp), %r14d
movzbl %r14b, %edx
movl %eax, %ecx
shrl $0xe, %ecx
andl $0x3ff00, %eax          # imm = 0x3FF00
movl %edx, 0x10(%rsp)
orl %edx, %eax
xorl %ecx, %eax
movq 0x58(%rsp), %rcx
prefetcht0 (%rcx,%rax,8)
jmp 0x5e2a
movzwl %ax, %eax
movq 0x200010(%r14,%rax,8), %r8
movb 0x7(%r8), %sil
movzbl 0x6(%r8), %ecx
pushq $0x1
popq %rax
shll %cl, %eax
movl %ecx, %edx
shrl $0x5, %edx
andl 0x60(%rsp,%rdx,4), %eax
movb %sil, 0x30(%rsp)
movzbl %sil, %r11d
movzwl 0x2(%r8), %r14d
xorl %edx, %edx
xorl %r9d, %r9d
cmpq %rdx, %r14
je 0x55c8
movzbl 0x6(%r8,%rdx,2), %esi
movl %esi, %edi
shrl $0x5, %edi
movl 0x60(%rsp,%rdi,4), %edi
btl %esi, %edi
jae 0x55ba
xorl %esi, %esi
jmp 0x55c0
movzbl 0x7(%r8,%rdx,2), %esi
addl %esi, %r9d
incq %rdx
jmp 0x559d
movzwl 0x4(%r8), %r13d
cmpw $0x1, %r13w
adcl $0x0, %r13d
testl %eax, %eax
movl $0x0, %eax
cmovnel %eax, %r11d
movl %r13d, %r10d
movl $0xffff, %esi           # imm = 0xFFFF
andl %esi, %r10d
addl %r11d, %r9d
addl %r13d, %r9d
movl %ebx, %edi
subl %r15d, %edi
andl %esi, %r9d
movl %r12d, %eax
xorl %edx, %edx
divl %r9d
movl %eax, %r12d
movl %edi, %eax
xorl %edx, %edx
movl %r12d, 0x10(%rsp)
divl %r12d
subl %r10d, %r9d
andl %esi, %eax
cmpl %eax, %r9d
jle 0x56b4
xorl %edi, %edi
xorl %edx, %edx
movzwl %dx, %r10d
addl %r11d, %r10d
movb 0x7(%r8,%rdi), %r14b
movzbl %r14b, %r13d
movl %ecx, %r14d
shrb $0x3, %r14b
movzbl %r14b, %r14d
andl $0x1c, %r14d
movl 0x60(%rsp,%r14), %r14d
movzbl %cl, %r12d
btl %r12d, %r14d
movl $0x0, %r14d
cmovael %r13d, %r14d
addl %r14d, %r10d
cmpl %eax, %r10d
ja 0x56d2
addl %r14d, %edx
movb 0x8(%r8,%rdi), %cl
addq $0x2, %rdi
jmp 0x5623
testq %rcx, %rcx
je 0x5775
movb 0x10(%r10,%rcx), %al
movb %al, 0x10(%rsp)
addq $0x12, %r10
movq %r10, %rdi
movq %rcx, %rdx
movl %r9d, 0xc(%rsp)
callq 0x11e0
movl 0xc(%rsp), %r9d
movq 0x20(%rsp), %r10
movb 0x10(%rsp), %al
movb %al, 0x10(%r10)
movb %r13b, 0x11(%r10)
movzwl %r14w, %eax
jmp 0x577b
xorl %edx, %edx
cmpq %rdx, %r14
je 0x5738
movzbl 0x6(%r8,%rdx,2), %ecx
pushq $0x1
popq %rdi
shll %cl, %edi
shrl $0x5, %ecx
orl %edi, 0x60(%rsp,%rcx,4)
incq %rdx
jmp 0x56b6
testq %rdi, %rdi
je 0x57d5
movb 0x30(%rsp), %sil
movb %sil, 0x7(%r8,%rdi)
movq 0x28(%rsp), %r12
movzwl (%r12), %r8d
movq 0x200010(%r12,%r8,8), %r8
movb %r13b, 0x7(%r8)
movzwl (%r12), %r8d
movq 0x200010(%r12,%r8,8), %r8
movb 0x6(%r8,%rdi), %r10b
movb 0x6(%r8), %r14b
movb %r14b, 0x6(%r8,%rdi)
movzwl (%r12), %edi
movq 0x200010(%r12,%rdi,8), %rdi
movb %r10b, 0x6(%rdi)
movzwl %r11w, %edi
addl %edx, %edi
movl %ecx, 0xc(%rsp)
movl %edi, %edx
jmp 0x57df
addl %r14d, %r14d
movb 0x30(%rsp), %cl
movb %cl, 0x7(%r8,%r14)
movq 0x28(%rsp), %rdi
movzwl (%rdi), %ecx
movq 0x200010(%rdi,%rcx,8), %rcx
movb 0x6(%rcx), %dl
movb %dl, 0x6(%rcx,%r14)
movzwl (%rdi), %ecx
movq 0x200010(%rdi,%rcx,8), %rcx
movb $0x0, 0x7(%rcx)
incw 0x2(%r8)
movl %r9d, %edx
jmp 0x57df
addl %r12d, %r8d
movl %r8d, %r12d
movq 0x28(%rsp), %r14
movq 0x38(%rsp), %r13
imull %r9d, %eax
addl %r15d, %eax
imull %r9d, %r12d
movl %eax, %r15d
movq 0x18(%rsp), %rcx
leal (%r15,%r12), %eax
xorl %r15d, %eax
cmpl $0x1000000, %eax        # imm = 0x1000000
jb 0x57bc
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x544d
movl %r15d, %eax
negl %eax
movzwl %ax, %r12d
movq (%rcx), %rax
movzbl (%rax,%rbp), %eax
incq %rbp
shll $0x8, %ebx
orl %eax, %ebx
shll $0x8, %r12d
shll $0x8, %r15d
jmp 0x5798
addl %r13d, %r11d
movl %ecx, 0xc(%rsp)
movl %r11d, %r13d
movq 0x18(%rsp), %rdi
movzwl %dx, %r14d
movl 0x10(%rsp), %ecx
imull %ecx, %r14d
addl %r15d, %r14d
movzwl %r13w, %r12d
imull %ecx, %r12d
movslq %ebp, %rbp
movq 0x28(%rsp), %r13
leal (%r14,%r12), %ecx
xorl %r14d, %ecx
cmpl $0x1000000, %ecx        # imm = 0x1000000
jb 0x5824
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x583d
movl %r14d, %ecx
negl %ecx
movzwl %cx, %r12d
movq (%rdi), %rcx
movzbl (%rcx,%rbp), %ecx
incq %rbp
shll $0x8, %ebx
orl %ecx, %ebx
shll $0x8, %r12d
shll $0x8, %r14d
jmp 0x5803
movl (%r13), %edx
cmpl %eax, %r9d
jle 0x5870
movl %edx, %eax
shll $0x8, %eax
movzbl 0xc(%rsp), %esi
movl %eax, %ecx
shrl $0xe, %ecx
andl $0x3ff00, %eax          # imm = 0x3FF00
movl %esi, 0x10(%rsp)
orl %esi, %eax
xorl %ecx, %eax
movq 0x58(%rsp), %rcx
prefetcht0 (%rcx,%rax,8)
jmp 0x5e09
movq %rdx, 0x10(%rsp)
movzbl %dl, %eax
movq %rax, 0x88(%rsp)
imulq $0x206, %rax, %r11      # imm = 0x206
movq 0x50(%rsp), %rdx
leaq (%rdx,%r11), %r15
movb 0x7(%rdx,%r11), %al
movb %al, 0x40(%rsp)
movzbl %al, %r9d
movzbl 0x6(%rdx,%r11), %ecx
pushq $0x1
popq %rax
shll %cl, %eax
movl %ecx, 0x30(%rsp)
shrl $0x5, %ecx
andl 0x60(%rsp,%rcx,4), %eax
movzwl 0x2(%rdx,%r11), %r8d
movq 0xc0(%rsp), %rcx
leaq (%rcx,%r11), %rsi
xorl %ecx, %ecx
xorl %r10d, %r10d
cmpq %rcx, %r8
je 0x58f2
movzbl -0x1(%rsi,%rcx,2), %edx
movl %edx, %edi
shrl $0x5, %edi
movl 0x60(%rsp,%rdi,4), %edi
btl %edx, %edi
jae 0x58e6
xorl %edx, %edx
jmp 0x58ea
movzbl (%rsi,%rcx,2), %edx
addl %edx, %r10d
incq %rcx
jmp 0x58ca
movq %r15, 0xa0(%rsp)
movzwl 0x4(%r15), %r13d
cmpw $0x1, %r13w
adcl $0x0, %r13d
testl %eax, %eax
movl $0x0, %eax
cmovnel %eax, %r9d
movl %r13d, %r15d
movl $0xffff, %edi           # imm = 0xFFFF
andl %edi, %r15d
addl %r9d, %r10d
addl %r13d, %r10d
movl %ebx, %ecx
subl %r14d, %ecx
andl %edi, %r10d
movl %r12d, %eax
xorl %edx, %edx
divl %r10d
movl %eax, %r12d
movl %ecx, %eax
xorl %edx, %edx
divl %r12d
subl %r15d, %r10d
andl %edi, %eax
cmpl %eax, %r10d
jle 0x5989
xorl %edx, %edx
xorl %ecx, %ecx
movb (%rsi,%rdx), %r8b
movzbl %r8b, %r13d
movzbl -0x1(%rsi,%rdx), %edi
movl %edi, %r8d
shrl $0x5, %r8d
movl 0x60(%rsp,%r8,4), %r8d
btl %edi, %r8d
movl %r13d, %r8d
jae 0x5971
xorl %r8d, %r8d
movzwl %cx, %r15d
addl %r9d, %r15d
addl %r8d, %r15d
cmpl %eax, %r15d
ja 0x59bc
addl %r8d, %ecx
addq $0x2, %rdx
jmp 0x594c
movq 0xb0(%rsp), %rcx
leaq (%rcx,%r11), %rdx
xorl %esi, %esi
movq 0xa0(%rsp), %rdi
cmpq %rsi, %r8
je 0x59f5
movzbl (%rdx,%rsi,2), %ecx
pushq $0x1
popq %r9
shll %cl, %r9d
shrl $0x5, %ecx
orl %r9d, 0x60(%rsp,%rcx,4)
incq %rsi
jmp 0x599f
testq %rdx, %rdx
movl %edi, 0xc(%rsp)
je 0x5a4a
movb 0x40(%rsp), %r8b
movb %r8b, (%rdx,%rsi)
movq 0x50(%rsp), %r8
movb %r13b, 0x7(%r8,%r11)
movl 0x30(%rsp), %r15d
movb %r15b, -0x1(%rsi,%rdx)
movb %dil, 0x6(%r8,%r11)
movzwl %r9w, %edx
addl %ecx, %edx
movl %edx, %ecx
jmp 0x5a50
movb 0x40(%rsp), %cl
movb %cl, 0x7(%rdi,%r8,2)
movl 0x30(%rsp), %ecx
movb %cl, 0x6(%rdi,%r8,2)
movq 0x50(%rsp), %rcx
movb $0x0, 0x7(%rcx,%r11)
leal 0x1(%r8), %ecx
movw %cx, 0x2(%rdi)
movl %r10d, %ecx
jmp 0x5a50
movl %eax, %r13d
movq 0x55cf(%rip), %rax      # 0xaff8
movq (%rax), %rdi
leaq 0x25e5(%rip), %rsi      # 0x8018
movl %r13d, %edx
xorl %eax, %eax
callq 0x1140
movl %r13d, 0x9c(%rsp)
jmp 0x52ed
addl %r13d, %r9d
movl %r9d, %r13d
movq 0x18(%rsp), %rdx
movzwl %cx, %r15d
imull %r12d, %r15d
addl %r14d, %r15d
movl %r12d, %ecx
movzwl %r13w, %r12d
imull %ecx, %r12d
movq 0x28(%rsp), %r13
leal (%r15,%r12), %ecx
xorl %r15d, %ecx
cmpl $0x1000000, %ecx        # imm = 0x1000000
jb 0x5a91
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x5aaa
movl %r15d, %ecx
negl %ecx
movzwl %cx, %r12d
movq (%rdx), %rcx
movzbl (%rcx,%rbp), %ecx
incq %rbp
shll $0x8, %ebx
orl %ecx, %ebx
shll $0x8, %r12d
shll $0x8, %r15d
jmp 0x5a70
cmpl %eax, %r10d
jle 0x5ae5
movq 0x10(%rsp), %rcx
shll $0x8, %ecx
movzbl 0xc(%rsp), %edx
movl %ecx, %eax
shrl $0xe, %eax
andl $0x3ff00, %ecx          # imm = 0x3FF00
movl %edx, 0x10(%rsp)
orl %edx, %ecx
xorl %eax, %ecx
movq 0x58(%rsp), %rax
prefetcht0 (%rax,%rcx,8)
movq 0x88(%rsp), %rax
jmp 0x5dec
movb 0x2a0617(%r13), %dl
movzbl 0x2a0616(%r13), %esi
pushq $0x1
popq %rax
movl %esi, %ecx
shll %cl, %eax
movl %esi, %ecx
shrl $0x5, %ecx
andl 0x60(%rsp,%rcx,4), %eax
movb %dl, 0x30(%rsp)
movzbl %dl, %r11d
movzwl 0x2a0612(%r13), %r8d
xorl %ecx, %ecx
xorl %r9d, %r9d
cmpq %rcx, %r8
je 0x5b4a
movzbl 0x2a0616(%r13,%rcx,2), %edx
movl %edx, %edi
shrl $0x5, %edi
movl 0x60(%rsp,%rdi,4), %edi
btl %edx, %edi
jae 0x5b39
xorl %edx, %edx
jmp 0x5b42
movzbl 0x2a0617(%r13,%rcx,2), %edx
addl %edx, %r9d
incq %rcx
jmp 0x5b19
movzwl 0x2a0614(%r13), %r13d
cmpw $0x1, %r13w
adcl $0x0, %r13d
testl %eax, %eax
movl $0x0, %eax
cmovnel %eax, %r11d
movl %r13d, %r14d
movl $0xffff, %r10d          # imm = 0xFFFF
andl %r10d, %r14d
addl %r11d, %r9d
addl %r13d, %r9d
movl %ebx, %ecx
subl %r15d, %ecx
andl %r10d, %r9d
movl %r12d, %eax
xorl %edx, %edx
divl %r9d
movl %eax, %edi
movl %ecx, %eax
xorl %edx, %edx
divl %edi
subl %r14d, %r9d
andl %r10d, %eax
xorl %edx, %edx
cmpl %eax, %r9d
jle 0x5bfa
movl %esi, 0x40(%rsp)
xorl %ecx, %ecx
movq 0x28(%rsp), %r10
movzwl %cx, %r14d
addl %r11d, %r14d
movb 0x2a0617(%r10,%rdx), %r8b
movzbl %r8b, %r13d
movl %esi, %r8d
shrb $0x3, %r8b
movzbl %r8b, %r8d
andl $0x1c, %r8d
movl 0x60(%rsp,%r8), %r8d
movzbl %sil, %r12d
btl %r12d, %r8d
movl $0x0, %r8d
cmovael %r13d, %r8d
addl %r8d, %r14d
cmpl %eax, %r14d
ja 0x5c25
addl %r8d, %ecx
movb 0x2a0618(%r10,%rdx), %sil
addq $0x2, %rdx
jmp 0x5ba8
movq 0x10(%rsp), %r10
cmpq %rdx, %r8
je 0x5c68
movq 0x28(%rsp), %rcx
movzbl 0x2a0616(%rcx,%rdx,2), %ecx
pushq $0x1
popq %r11
shll %cl, %r11d
shrl $0x5, %ecx
orl %r11d, 0x60(%rsp,%rcx,4)
incq %rdx
jmp 0x5bff
movl %esi, 0xc(%rsp)
testq %rdx, %rdx
je 0x5c9d
movq 0x28(%rsp), %r8
movb 0x30(%rsp), %sil
movb %sil, 0x2a0617(%r8,%rdx)
movb %r13b, 0x2a0617(%r8)
movl 0x40(%rsp), %esi
movb %sil, 0x2a0616(%r8,%rdx)
movl 0xc(%rsp), %edx
movb %dl, 0x2a0616(%r8)
movzwl %r11w, %edx
addl %ecx, %edx
movl %edx, %ecx
jmp 0x5ca3
movq 0x28(%rsp), %rdx
movb 0x30(%rsp), %cl
movb %cl, 0x2a0617(%rdx,%r8,2)
movb %sil, 0x2a0616(%rdx,%r8,2)
movb $0x0, 0x2a0617(%rdx)
leal 0x1(%r8), %ecx
movw %cx, 0x2a0612(%rdx)
movl %r9d, %ecx
movq 0x18(%rsp), %r8
jmp 0x5cad
addl %r13d, %r11d
movl %r11d, %r13d
movq 0x18(%rsp), %r8
movq 0x10(%rsp), %r10
movzwl %cx, %r14d
imull %edi, %r14d
addl %r15d, %r14d
movzwl %r13w, %r12d
imull %edi, %r12d
leal (%r14,%r12), %ecx
xorl %r14d, %ecx
cmpl $0x1000000, %ecx        # imm = 0x1000000
jb 0x5ce1
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x5cfa
movl %r14d, %ecx
negl %ecx
movzwl %cx, %r12d
movq (%r8), %rcx
movzbl (%rcx,%rbp), %ecx
incq %rbp
shll $0x8, %ebx
orl %ecx, %ebx
shll $0x8, %r12d
shll $0x8, %r14d
jmp 0x5cc0
cmpl %eax, %r9d
jle 0x5d08
movl 0xc(%rsp), %ecx
jmp 0x5da6
xorl %eax, %eax
xorl %ecx, %ecx
cmpl $0x100, %ecx            # imm = 0x100
je 0x5d28
movl %ecx, %edx
shrl $0x5, %edx
movl 0x60(%rsp,%rdx,4), %edx
btl %ecx, %edx
sbbw $-0x1, %ax
incl %ecx
jmp 0x5d0c
movl %ebx, %ecx
subl %r14d, %ecx
movzwl %ax, %edi
xorl %esi, %esi
movl %r12d, %eax
xorl %edx, %edx
divl %edi
movl %eax, %r12d
movl %ecx, %eax
xorl %edx, %edx
divl %r12d
movzwl %ax, %ecx
xorl %edi, %edi
movl %esi, %eax
movl %edi, %edx
shrl $0x5, %edx
movl 0x60(%rsp,%rdx,4), %edx
btl %edi, %edx
sbbl $-0x1, %esi
incl %edi
cmpl %ecx, %esi
jbe 0x5d48
movl %edi, %ecx
imull %r12d, %eax
addl %r14d, %eax
movl %eax, %r14d
leal (%r14,%r12), %eax
xorl %r14d, %eax
cmpl $0x1000000, %eax        # imm = 0x1000000
jb 0x5d8b
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x5da4
movl %r14d, %eax
negl %eax
movzwl %ax, %r12d
movq (%r8), %rax
movzbl (%rax,%rbp), %eax
incq %rbp
shll $0x8, %ebx
orl %eax, %ebx
shll $0x8, %r12d
shll $0x8, %r14d
jmp 0x5d6b
decb %cl
shll $0x8, %r10d
movl %ecx, 0xc(%rsp)
movzbl %cl, %esi
movl %r10d, %eax
shrl $0xe, %eax
andl $0x3ff00, %r10d         # imm = 0x3FF00
orl %esi, %r10d
xorl %eax, %r10d
movq 0x58(%rsp), %rax
prefetcht0 (%rax,%r10,8)
movq 0xb8(%rsp), %rdi
movl %esi, 0x10(%rsp)
callq 0x4fe4
movq 0x28(%rsp), %r13
movzbl (%r13), %eax
movl %r14d, %r15d
imulq $0x206, %rax, %rdi      # imm = 0x206
addq 0x50(%rsp), %rdi
movl 0x10(%rsp), %esi
callq 0x4fe4
movzwl (%r13), %edx
movl %r15d, %r14d
movzwl %dx, %eax
movq 0x200010(%r13,%rax,8), %rdi
movl 0x10(%rsp), %esi
callq 0x4fe4
movl %r14d, %r15d
movl 0xc(%rsp), %r14d
movq 0x20(%rsp), %r10
movq %r13, %rdi
movq %r10, %rsi
movl 0x10(%rsp), %edx
callq 0x50b2
movl 0x48(%rsp), %eax
cmpl 0x38(%rsp), %eax
setb 0x2a0829(%r13)
cmpb 0x37(%rsp), %r14b
movl %r14d, 0xc(%rsp)
jne 0x5f5c
movl (%r13), %eax
shll $0x8, %eax
addl 0x10(%rsp), %eax
movl %eax, (%r13)
movq %r13, %rdi
callq 0x4c75
movq %rax, %rsi
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movzwl (%r13), %eax
cmpq $0x0, 0x200010(%r13,%rax,8)
movq %rsi, 0x48(%rsp)
jne 0x5ed0
movq 0x2a0818(%r13), %rdi
movl $0x206, %esi            # imm = 0x206
movl $0x400, %edx            # imm = 0x400
callq 0x4dbb
movzwl (%r13), %ecx
movq %rax, 0x200010(%r13,%rcx,8)
incl 0x4(%r13)
movl $0x206, %edx            # imm = 0x206
movq %rax, %rdi
xorl %esi, %esi
callq 0x10e0
movq 0x48(%rsp), %rsi
movq %r13, %rdi
callq 0x4e29
movq %rax, %rdi
movzwl (%rax), %r14d
movzwl 0x2(%rax), %esi
leal (%rsi,%r14), %r8d
movl %ebx, %ecx
subl %r15d, %ecx
movl $0xffff, %r9d           # imm = 0xFFFF
andl %r9d, %r8d
movl %r12d, %eax
xorl %edx, %edx
divl %r8d
movl %eax, %r12d
movl %ecx, %eax
xorl %edx, %edx
divl %r12d
andl %r9d, %eax
movl %eax, 0x30(%rsp)
cmpl %r14d, %eax
jae 0x5f7e
imull %r14d, %r12d
movslq %ebp, %rbp
movq 0x18(%rsp), %rcx
leal (%r15,%r12), %eax
xorl %r15d, %eax
cmpl $0x1000000, %eax        # imm = 0x1000000
jb 0x5f43
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x5fd3
movl %r15d, %eax
negl %eax
movzwl %ax, %r12d
movq (%rcx), %rax
movzbl (%rax,%rbp), %eax
incq %rbp
shll $0x8, %ebx
orl %eax, %ebx
shll $0x8, %r12d
shll $0x8, %r15d
jmp 0x5f1f
movq %rbp, 0x10(%rsp)
movzbl %r14b, %esi
movq 0x90(%rsp), %rdi
callq 0x4ad8
pushq $0x1
popq %r14
movq %r13, %rbp
jmp 0x6a59
imull %r12d, %esi
movl %r12d, %eax
imull %r14d, %eax
addl %r15d, %eax
movslq %ebp, %rbp
movl %eax, %r15d
movl %esi, %r12d
movq 0x18(%rsp), %rcx
leal (%r15,%r12), %eax
xorl %r15d, %eax
cmpl $0x1000000, %eax        # imm = 0x1000000
jb 0x5fba
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x5fef
movl %r15d, %eax
negl %eax
movzwl %ax, %r12d
movq (%rcx), %rax
movzbl (%rax,%rbp), %eax
incq %rbp
shll $0x8, %ebx
orl %eax, %ebx
shll $0x8, %r12d
shll $0x8, %r15d
jmp 0x5f9a
xorl %esi, %esi
callq 0x4fbf
movq 0x48(%rsp), %r10
cmpb $0x1, 0xe(%r10)
jne 0x603a
movb 0x10(%r10), %al
jmp 0x60cb
pushq $0x1
popq %rsi
callq 0x4fbf
movq 0x48(%rsp), %r8
movzbl 0xe(%r8), %eax
leaq 0x10(%r8), %rsi
xorl %edx, %edx
cmpq %rdx, %rax
je 0x6021
movzbl (%rsi,%rdx,2), %ecx
pushq $0x1
popq %rdi
shll %cl, %edi
shrl $0x5, %ecx
orl %edi, 0x60(%rsp,%rcx,4)
incq %rdx
jmp 0x6007
cmpl $0x42, %eax
jne 0x60a2
movzbl 0x93(%r8), %eax
subw %ax, 0xc(%r8)
movl $0x82, %edx
jmp 0x60b3
movq %r14, 0x40(%rsp)
leaq 0x10(%r10), %rsi
movzbl 0x11(%r10), %r8d
addl $0x6, %r8d
shrl %r8d
movzwl 0xc(%r10), %eax
addw %r8w, %ax
movl %ebx, %edi
subl %r15d, %edi
movzwl %ax, %r9d
xorl %ecx, %ecx
movl %r12d, %eax
xorl %edx, %edx
divl %r9d
movl %eax, %r9d
movl %edi, %eax
xorl %edx, %edx
divl %r9d
movzwl %ax, %edx
xorl %eax, %eax
movzwl %ax, %eax
leal (%r8,%rax), %r14d
movb 0x11(%r10,%rcx), %r13b
movzbl %r13b, %r12d
leal (%r14,%r12), %edi
cmpl %edx, %edi
ja 0x621b
movzwl %r12w, %edi
addl %edi, %eax
addq $0x2, %rcx
jmp 0x607a
incb %al
movb %al, 0xe(%r8)
movzbl %al, %eax
leaq -0x2(,%rax,2), %rdx
movq %r8, %rdi
addq $0x12, %rdi
callq 0x11e0
movq 0x48(%rsp), %r10
movb $0x0, 0x11(%r10)
movb $0x1, %al
movl %eax, 0x20(%rsp)
movq 0x28(%rsp), %r13
movl (%r13), %eax
cmpl %r14d, 0x30(%rsp)
jae 0x610f
movq %rbp, 0x10(%rsp)
shll $0x8, %eax
movl 0x20(%rsp), %ebp
movzbl %bpl, %edx
movl %eax, %ecx
shrl $0xe, %ecx
andl $0x3ff00, %eax          # imm = 0x3FF00
movl %edx, 0x38(%rsp)
orl %edx, %eax
xorl %ecx, %eax
movq 0x58(%rsp), %rcx
prefetcht0 (%rcx,%rax,8)
jmp 0x69bf
movq %r14, 0x40(%rsp)
movzwl %ax, %eax
movq 0x200010(%r13,%rax,8), %r8
movb 0x7(%r8), %sil
movzbl 0x6(%r8), %ecx
pushq $0x1
popq %rax
shll %cl, %eax
movl %ecx, %edx
shrl $0x5, %edx
andl 0x60(%rsp,%rdx,4), %eax
movb %sil, 0x38(%rsp)
movzbl %sil, %r11d
movzwl 0x2(%r8), %r14d
xorl %edx, %edx
xorl %r9d, %r9d
cmpq %rdx, %r14
je 0x6174
movzbl 0x6(%r8,%rdx,2), %esi
movl %esi, %edi
shrl $0x5, %edi
movl 0x60(%rsp,%rdi,4), %edi
btl %esi, %edi
jae 0x6166
xorl %esi, %esi
jmp 0x616c
movzbl 0x7(%r8,%rdx,2), %esi
addl %esi, %r9d
incq %rdx
jmp 0x6149
movzwl 0x4(%r8), %r13d
cmpw $0x1, %r13w
adcl $0x0, %r13d
testl %eax, %eax
movl $0x0, %eax
cmovnel %eax, %r11d
movl %r13d, %r10d
movl $0xffff, %esi           # imm = 0xFFFF
andl %esi, %r10d
addl %r11d, %r9d
addl %r13d, %r9d
movl %ebx, %edi
subl %r15d, %edi
andl %esi, %r9d
movl %r12d, %eax
xorl %edx, %edx
divl %r9d
movl %eax, %r12d
movl %edi, %eax
xorl %edx, %edx
movl %r12d, 0x10(%rsp)
divl %r12d
subl %r10d, %r9d
andl %esi, %eax
cmpl %eax, %r9d
jle 0x6260
xorl %edi, %edi
xorl %edx, %edx
movzwl %dx, %r10d
addl %r11d, %r10d
movb 0x7(%r8,%rdi), %r14b
movzbl %r14b, %r13d
movl %ecx, %r14d
shrb $0x3, %r14b
movzbl %r14b, %r14d
andl $0x1c, %r14d
movl 0x60(%rsp,%r14), %r14d
movzbl %cl, %r12d
btl %r12d, %r14d
movl $0x0, %r14d
cmovael %r13d, %r14d
addl %r14d, %r10d
cmpl %eax, %r10d
ja 0x627e
addl %r14d, %edx
movb 0x8(%r8,%rdi), %cl
addq $0x2, %rdi
jmp 0x61cf
testq %rcx, %rcx
je 0x6321
movb 0x10(%r10,%rcx), %al
movb %al, 0x10(%rsp)
addq $0x12, %r10
movq %r10, %rdi
movq %rcx, %rdx
movl %r9d, 0x20(%rsp)
callq 0x11e0
movl 0x20(%rsp), %r9d
movq 0x48(%rsp), %r10
movb 0x10(%rsp), %al
movb %al, 0x10(%r10)
movb %r13b, 0x11(%r10)
movzwl %r14w, %eax
jmp 0x6327
xorl %edx, %edx
cmpq %rdx, %r14
je 0x62e4
movzbl 0x6(%r8,%rdx,2), %ecx
pushq $0x1
popq %rdi
shll %cl, %edi
shrl $0x5, %ecx
orl %edi, 0x60(%rsp,%rcx,4)
incq %rdx
jmp 0x6262
testq %rdi, %rdi
je 0x637c
movb 0x38(%rsp), %sil
movb %sil, 0x7(%r8,%rdi)
movq 0x28(%rsp), %r12
movzwl (%r12), %r8d
movq 0x200010(%r12,%r8,8), %r8
movb %r13b, 0x7(%r8)
movzwl (%r12), %r8d
movq 0x200010(%r12,%r8,8), %r8
movb 0x6(%r8,%rdi), %r10b
movb 0x6(%r8), %r14b
movb %r14b, 0x6(%r8,%rdi)
movzwl (%r12), %edi
movq 0x200010(%r12,%rdi,8), %rdi
movb %r10b, 0x6(%rdi)
movzwl %r11w, %edi
addl %edx, %edi
movl %ecx, 0x20(%rsp)
movl %edi, %edx
jmp 0x6386
addl %r14d, %r14d
movb 0x38(%rsp), %cl
movb %cl, 0x7(%r8,%r14)
movq 0x28(%rsp), %rdi
movzwl (%rdi), %ecx
movq 0x200010(%rdi,%rcx,8), %rcx
movb 0x6(%rcx), %dl
movb %dl, 0x6(%rcx,%r14)
movzwl (%rdi), %ecx
movq 0x200010(%rdi,%rcx,8), %rcx
movb $0x0, 0x7(%rcx)
incw 0x2(%r8)
movl %r9d, %edx
jmp 0x6386
addl %r12d, %r8d
movl %r8d, %r12d
movq 0x40(%rsp), %r14
imull %r9d, %eax
addl %r15d, %eax
imull %r9d, %r12d
movl %eax, %r15d
movq 0x18(%rsp), %rcx
leal (%r15,%r12), %eax
xorl %r15d, %eax
cmpl $0x1000000, %eax        # imm = 0x1000000
jb 0x6363
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x5fe6
movl %r15d, %eax
negl %eax
movzwl %ax, %r12d
movq (%rcx), %rax
movzbl (%rax,%rbp), %eax
incq %rbp
shll $0x8, %ebx
orl %eax, %ebx
shll $0x8, %r12d
shll $0x8, %r15d
jmp 0x633f
addl %r13d, %r11d
movl %ecx, 0x20(%rsp)
movl %r11d, %r13d
movq 0x18(%rsp), %rdi
movzwl %dx, %r14d
movl 0x10(%rsp), %ecx
imull %ecx, %r14d
addl %r15d, %r14d
movzwl %r13w, %r12d
imull %ecx, %r12d
movslq %ebp, %rbp
movq 0x28(%rsp), %r13
leal (%r14,%r12), %ecx
xorl %r14d, %ecx
cmpl $0x1000000, %ecx        # imm = 0x1000000
jb 0x63cb
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x63e4
movl %r14d, %ecx
negl %ecx
movzwl %cx, %r12d
movq (%rdi), %rcx
movzbl (%rcx,%rbp), %ecx
incq %rbp
shll $0x8, %ebx
orl %ecx, %ebx
shll $0x8, %r12d
shll $0x8, %r14d
jmp 0x63aa
movl (%r13), %edx
cmpl %eax, %r9d
jle 0x641c
movq %rbp, 0x10(%rsp)
movl %edx, %eax
shll $0x8, %eax
movzbl 0x20(%rsp), %esi
movl %eax, %ecx
shrl $0xe, %ecx
andl $0x3ff00, %eax          # imm = 0x3FF00
movl %esi, 0x38(%rsp)
orl %esi, %eax
xorl %ecx, %eax
movq 0x58(%rsp), %rcx
prefetcht0 (%rcx,%rax,8)
jmp 0x699a
movq %rdx, 0x10(%rsp)
movzbl %dl, %eax
movq %rax, 0xa0(%rsp)
imulq $0x206, %rax, %r11      # imm = 0x206
movq 0x50(%rsp), %rdx
leaq (%rdx,%r11), %r15
movb 0x7(%rdx,%r11), %al
movb %al, 0x88(%rsp)
movzbl %al, %r9d
movzbl 0x6(%rdx,%r11), %ecx
pushq $0x1
popq %rax
shll %cl, %eax
movl %ecx, 0x38(%rsp)
shrl $0x5, %ecx
andl 0x60(%rsp,%rcx,4), %eax
movzwl 0x2(%rdx,%r11), %r8d
movq 0xc0(%rsp), %rcx
leaq (%rcx,%r11), %rsi
xorl %ecx, %ecx
xorl %r10d, %r10d
cmpq %rcx, %r8
je 0x64a1
movzbl -0x1(%rsi,%rcx,2), %edx
movl %edx, %edi
shrl $0x5, %edi
movl 0x60(%rsp,%rdi,4), %edi
btl %edx, %edi
jae 0x6495
xorl %edx, %edx
jmp 0x6499
movzbl (%rsi,%rcx,2), %edx
addl %edx, %r10d
incq %rcx
jmp 0x6479
movq %r15, 0xc8(%rsp)
movzwl 0x4(%r15), %r13d
cmpw $0x1, %r13w
adcl $0x0, %r13d
testl %eax, %eax
movl $0x0, %eax
cmovnel %eax, %r9d
movl %r13d, %r15d
movl $0xffff, %edi           # imm = 0xFFFF
andl %edi, %r15d
addl %r9d, %r10d
addl %r13d, %r10d
movl %ebx, %ecx
subl %r14d, %ecx
andl %edi, %r10d
movl %r12d, %eax
xorl %edx, %edx
divl %r10d
movl %eax, %r12d
movl %ecx, %eax
xorl %edx, %edx
divl %r12d
subl %r15d, %r10d
andl %edi, %eax
cmpl %eax, %r10d
jle 0x6538
xorl %edx, %edx
xorl %ecx, %ecx
movb (%rsi,%rdx), %r8b
movzbl %r8b, %r13d
movzbl -0x1(%rsi,%rdx), %edi
movl %edi, %r8d
shrl $0x5, %r8d
movl 0x60(%rsp,%r8,4), %r8d
btl %edi, %r8d
movl %r13d, %r8d
jae 0x6520
xorl %r8d, %r8d
movzwl %cx, %r15d
addl %r9d, %r15d
addl %r8d, %r15d
cmpl %eax, %r15d
ja 0x656b
addl %r8d, %ecx
addq $0x2, %rdx
jmp 0x64fb
movq 0xb0(%rsp), %rcx
leaq (%rcx,%r11), %rdx
xorl %esi, %esi
movq 0xc8(%rsp), %rdi
cmpq %rsi, %r8
je 0x65a3
movzbl (%rdx,%rsi,2), %ecx
pushq $0x1
popq %r9
shll %cl, %r9d
shrl $0x5, %ecx
orl %r9d, 0x60(%rsp,%rcx,4)
incq %rsi
jmp 0x654e
testq %rdx, %rdx
movl %edi, 0x20(%rsp)
je 0x65d0
movb 0x88(%rsp), %r8b
movb %r8b, (%rdx,%rsi)
movq 0x50(%rsp), %r8
movb %r13b, 0x7(%r8,%r11)
movl 0x38(%rsp), %r15d
movb %r15b, -0x1(%rsi,%rdx)
movb %dil, 0x6(%r8,%r11)
movzwl %r9w, %edx
addl %ecx, %edx
movl %edx, %ecx
jmp 0x65d6
movb 0x88(%rsp), %cl
movb %cl, 0x7(%rdi,%r8,2)
movl 0x38(%rsp), %ecx
movb %cl, 0x6(%rdi,%r8,2)
movq 0x50(%rsp), %rcx
movb $0x0, 0x7(%rcx,%r11)
leal 0x1(%r8), %ecx
movw %cx, 0x2(%rdi)
movl %r10d, %ecx
jmp 0x65d6
addl %r13d, %r9d
movl %r9d, %r13d
movq 0x18(%rsp), %rdx
movzwl %cx, %r15d
imull %r12d, %r15d
addl %r14d, %r15d
movl %r12d, %ecx
movzwl %r13w, %r12d
imull %ecx, %r12d
movq 0x28(%rsp), %r13
leal (%r15,%r12), %ecx
xorl %r15d, %ecx
cmpl $0x1000000, %ecx        # imm = 0x1000000
jb 0x6617
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x6630
movl %r15d, %ecx
negl %ecx
movzwl %cx, %r12d
movq (%rdx), %rcx
movzbl (%rcx,%rbp), %ecx
incq %rbp
shll $0x8, %ebx
orl %ecx, %ebx
shll $0x8, %r12d
shll $0x8, %r15d
jmp 0x65f6
cmpl %eax, %r10d
jle 0x666b
movq 0x10(%rsp), %rcx
shll $0x8, %ecx
movzbl 0x20(%rsp), %edx
movl %ecx, %eax
shrl $0xe, %eax
andl $0x3ff00, %ecx          # imm = 0x3FF00
movl %edx, 0x38(%rsp)
orl %edx, %ecx
xorl %eax, %ecx
movq 0x58(%rsp), %rax
prefetcht0 (%rax,%rcx,8)
movq 0xa0(%rsp), %rax
jmp 0x6978
movb 0x2a0617(%r13), %dl
movzbl 0x2a0616(%r13), %esi
pushq $0x1
popq %rax
movl %esi, %ecx
shll %cl, %eax
movl %esi, %ecx
shrl $0x5, %ecx
andl 0x60(%rsp,%rcx,4), %eax
movb %dl, 0x38(%rsp)
movzbl %dl, %r11d
movzwl 0x2a0612(%r13), %r8d
xorl %ecx, %ecx
xorl %r9d, %r9d
cmpq %rcx, %r8
je 0x66d0
movzbl 0x2a0616(%r13,%rcx,2), %edx
movl %edx, %edi
shrl $0x5, %edi
movl 0x60(%rsp,%rdi,4), %edi
btl %edx, %edi
jae 0x66bf
xorl %edx, %edx
jmp 0x66c8
movzbl 0x2a0617(%r13,%rcx,2), %edx
addl %edx, %r9d
incq %rcx
jmp 0x669f
movzwl 0x2a0614(%r13), %r13d
cmpw $0x1, %r13w
adcl $0x0, %r13d
testl %eax, %eax
movl $0x0, %eax
cmovnel %eax, %r11d
movl %r13d, %r14d
movl $0xffff, %r10d          # imm = 0xFFFF
andl %r10d, %r14d
addl %r11d, %r9d
addl %r13d, %r9d
movl %ebx, %ecx
subl %r15d, %ecx
andl %r10d, %r9d
movl %r12d, %eax
xorl %edx, %edx
divl %r9d
movl %eax, %edi
movl %ecx, %eax
xorl %edx, %edx
divl %edi
subl %r14d, %r9d
andl %r10d, %eax
xorl %edx, %edx
cmpl %eax, %r9d
jle 0x6783
movl %esi, 0x88(%rsp)
xorl %ecx, %ecx
movq 0x28(%rsp), %r10
movzwl %cx, %r14d
addl %r11d, %r14d
movb 0x2a0617(%r10,%rdx), %r8b
movzbl %r8b, %r13d
movl %esi, %r8d
shrb $0x3, %r8b
movzbl %r8b, %r8d
andl $0x1c, %r8d
movl 0x60(%rsp,%r8), %r8d
movzbl %sil, %r12d
btl %r12d, %r8d
movl $0x0, %r8d
cmovael %r13d, %r8d
addl %r8d, %r14d
cmpl %eax, %r14d
ja 0x67ae
addl %r8d, %ecx
movb 0x2a0618(%r10,%rdx), %sil
addq $0x2, %rdx
jmp 0x6731
movq 0x10(%rsp), %r10
cmpq %rdx, %r8
je 0x67f4
movq 0x28(%rsp), %rcx
movzbl 0x2a0616(%rcx,%rdx,2), %ecx
pushq $0x1
popq %r11
shll %cl, %r11d
shrl $0x5, %ecx
orl %r11d, 0x60(%rsp,%rcx,4)
incq %rdx
jmp 0x6788
movl %esi, 0x20(%rsp)
testq %rdx, %rdx
je 0x6829
movq 0x28(%rsp), %r8
movb 0x38(%rsp), %sil
movb %sil, 0x2a0617(%r8,%rdx)
movb %r13b, 0x2a0617(%r8)
movl 0x88(%rsp), %esi
movb %sil, 0x2a0616(%r8,%rdx)
movl 0x20(%rsp), %edx
movb %dl, 0x2a0616(%r8)
movzwl %r11w, %edx
addl %ecx, %edx
movl %edx, %ecx
jmp 0x682f
movq 0x28(%rsp), %rdx
movb 0x38(%rsp), %cl
movb %cl, 0x2a0617(%rdx,%r8,2)
movb %sil, 0x2a0616(%rdx,%r8,2)
movb $0x0, 0x2a0617(%rdx)
leal 0x1(%r8), %ecx
movw %cx, 0x2a0612(%rdx)
movl %r9d, %ecx
movq 0x18(%rsp), %r8
jmp 0x6839
addl %r13d, %r11d
movl %r11d, %r13d
movq 0x18(%rsp), %r8
movq 0x10(%rsp), %r10
movzwl %cx, %r14d
imull %edi, %r14d
addl %r15d, %r14d
movzwl %r13w, %r12d
imull %edi, %r12d
movq 0x28(%rsp), %r13
leal (%r14,%r12), %ecx
xorl %r14d, %ecx
cmpl $0x1000000, %ecx        # imm = 0x1000000
jb 0x6872
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x688b
movl %r14d, %ecx
negl %ecx
movzwl %cx, %r12d
movq (%r8), %rcx
movzbl (%rcx,%rbp), %ecx
incq %rbp
shll $0x8, %ebx
orl %ecx, %ebx
shll $0x8, %r12d
shll $0x8, %r14d
jmp 0x6851
cmpl %eax, %r9d
jle 0x6899
movl 0x20(%rsp), %ecx
jmp 0x6937
xorl %eax, %eax
xorl %ecx, %ecx
cmpl $0x100, %ecx            # imm = 0x100
je 0x68b9
movl %ecx, %edx
shrl $0x5, %edx
movl 0x60(%rsp,%rdx,4), %edx
btl %ecx, %edx
sbbw $-0x1, %ax
incl %ecx
jmp 0x689d
movl %ebx, %ecx
subl %r14d, %ecx
movzwl %ax, %edi
xorl %esi, %esi
movl %r12d, %eax
xorl %edx, %edx
divl %edi
movl %eax, %r12d
movl %ecx, %eax
xorl %edx, %edx
divl %r12d
movzwl %ax, %ecx
xorl %edi, %edi
movl %esi, %eax
movl %edi, %edx
shrl $0x5, %edx
movl 0x60(%rsp,%rdx,4), %edx
btl %edi, %edx
sbbl $-0x1, %esi
incl %edi
cmpl %ecx, %esi
jbe 0x68d9
movl %edi, %ecx
imull %r12d, %eax
addl %r14d, %eax
movl %eax, %r14d
leal (%r14,%r12), %eax
xorl %r14d, %eax
cmpl $0x1000000, %eax        # imm = 0x1000000
jb 0x691c
cmpl $0xffff, %r12d          # imm = 0xFFFF
ja 0x6935
movl %r14d, %eax
negl %eax
movzwl %ax, %r12d
movq (%r8), %rax
movzbl (%rax,%rbp), %eax
incq %rbp
shll $0x8, %ebx
orl %eax, %ebx
shll $0x8, %r12d
shll $0x8, %r14d
jmp 0x68fc
decb %cl
shll $0x8, %r10d
movl %ecx, 0x20(%rsp)
movzbl %cl, %esi
movl %r10d, %eax
shrl $0xe, %eax
andl $0x3ff00, %r10d         # imm = 0x3FF00
orl %esi, %r10d
xorl %eax, %r10d
movq 0x58(%rsp), %rax
prefetcht0 (%rax,%r10,8)
movq 0xb8(%rsp), %rdi
movl %esi, 0x38(%rsp)
callq 0x4fe4
movzbl (%r13), %eax
movl %r14d, %r15d
movq %rbp, 0x10(%rsp)
imulq $0x206, %rax, %rdi      # imm = 0x206
addq 0x50(%rsp), %rdi
movl 0x38(%rsp), %esi
callq 0x4fe4
movzwl (%r13), %edx
movl %r15d, %r14d
movzwl %dx, %eax
movq 0x200010(%r13,%rax,8), %rdi
movl 0x38(%rsp), %esi
callq 0x4fe4
movl %r14d, %r15d
movq 0x48(%rsp), %r10
movq 0x40(%rsp), %r14
movl 0x20(%rsp), %ebp
movq %r13, %rdi
movq %r10, %rsi
movl 0x38(%rsp), %edx
callq 0x50b2
cmpl %r14d, 0x30(%rsp)
setb 0x2a0829(%r13)
movl %ebp, 0x20(%rsp)
testb %bpl, %bpl
je 0x6a40
movq 0x90(%rsp), %rax
movq (%rax), %rsi
movl 0x8(%rax), %edx
leaq 0xd0(%rsp), %rdi
callq 0x6ad0
movl %eax, %r13d
movl 0x38(%rsp), %r14d
subq $0x1, %r14
jb 0x6a29
movq 0x90(%rsp), %rdi
movq (%rdi), %rax
movl %r13d, %ecx
movzbl (%rax,%rcx), %esi
callq 0x4ad8
incl %r13d
jmp 0x6a07
movq 0x28(%rsp), %rax
movq %rax, %rbp
movb $0x0, 0x2a0829(%rax)
movzbl 0x20(%rsp), %r14d
jmp 0x6a59
movq %r13, %rbp
movzbl 0x37(%rsp), %esi
movq 0x90(%rsp), %rdi
callq 0x4ad8
pushq $0x1
popq %r14
negl %r14d
testl %r14d, %r14d
je 0x6aa5
movq 0x90(%rsp), %r13
movq (%r13), %rsi
movl 0x8(%r13), %edx
addl %r14d, %edx
leaq 0xd0(%rsp), %rdi
xorl %ecx, %ecx
callq 0x6b4e
movl (%rbp), %eax
shll $0x8, %eax
movl %eax, (%rbp)
movq (%r13), %rcx
movl 0x8(%r13), %edx
addl %r14d, %edx
movzbl (%rcx,%rdx), %ecx
orl %eax, %ecx
movl %ecx, (%rbp)
incl %r14d
jmp 0x6a5c
movq 0x10(%rsp), %rbp
jmp 0x52af
leaq 0xd0(%rsp), %rdi
callq 0x51e8
xorl %eax, %eax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq