// File: /workspace/github_c_makefile_star2_O3/jsummers[P]deark/src/../foreign/miniz-c.h
// Function: tdefl_compress_normal
static mz_bool tdefl_compress_normal(tdefl_compressor *d)
{
    const mz_uint8 *pSrc = d->m_pSrc;
    size_t src_buf_left = d->m_src_buf_left;
    tdefl_flush flush = d->m_flush;

    while ((src_buf_left) || ((flush) && (d->m_lookahead_size)))
    {
        mz_uint len_to_move, cur_match_dist, cur_match_len, cur_pos;
        /* Update dictionary and hash chains. Keeps the lookahead size equal to TDEFL_MAX_MATCH_LEN. */
        if ((d->m_lookahead_size + d->m_dict_size) >= (TDEFL_MIN_MATCH_LEN - 1))
        {
            mz_uint dst_pos = (d->m_lookahead_pos + d->m_lookahead_size) & TDEFL_LZ_DICT_SIZE_MASK, ins_pos = d->m_lookahead_pos + d->m_lookahead_size - 2;
            mz_uint hash = (d->m_dict[ins_pos & TDEFL_LZ_DICT_SIZE_MASK] << TDEFL_LZ_HASH_SHIFT) ^ d->m_dict[(ins_pos + 1) & TDEFL_LZ_DICT_SIZE_MASK];
            mz_uint num_bytes_to_process = (mz_uint)MZ_MIN(src_buf_left, TDEFL_MAX_MATCH_LEN - d->m_lookahead_size);
            const mz_uint8 *pSrc_end = pSrc ? pSrc + num_bytes_to_process : NULL;
            src_buf_left -= num_bytes_to_process;
            d->m_lookahead_size += num_bytes_to_process;
            while (pSrc != pSrc_end)
            {
                mz_uint8 c = *pSrc++;
                d->m_dict[dst_pos] = c;
                if (dst_pos < (TDEFL_MAX_MATCH_LEN - 1))
                    d->m_dict[TDEFL_LZ_DICT_SIZE + dst_pos] = c;
                hash = ((hash << TDEFL_LZ_HASH_SHIFT) ^ c) & (TDEFL_LZ_HASH_SIZE - 1);
                d->m_next[ins_pos & TDEFL_LZ_DICT_SIZE_MASK] = d->m_hash[hash];
                d->m_hash[hash] = (mz_uint16)(ins_pos);
                dst_pos = (dst_pos + 1) & TDEFL_LZ_DICT_SIZE_MASK;
                ins_pos++;
            }
        }
        else
        {
            while ((src_buf_left) && (d->m_lookahead_size < TDEFL_MAX_MATCH_LEN))
            {
                mz_uint8 c = *pSrc++;
                mz_uint dst_pos = (d->m_lookahead_pos + d->m_lookahead_size) & TDEFL_LZ_DICT_SIZE_MASK;
                src_buf_left--;
                d->m_dict[dst_pos] = c;
                if (dst_pos < (TDEFL_MAX_MATCH_LEN - 1))
                    d->m_dict[TDEFL_LZ_DICT_SIZE + dst_pos] = c;
                if ((++d->m_lookahead_size + d->m_dict_size) >= TDEFL_MIN_MATCH_LEN)
                {
                    mz_uint ins_pos = d->m_lookahead_pos + (d->m_lookahead_size - 1) - 2;
                    mz_uint hash = ((d->m_dict[ins_pos & TDEFL_LZ_DICT_SIZE_MASK] << (TDEFL_LZ_HASH_SHIFT * 2)) ^ (d->m_dict[(ins_pos + 1) & TDEFL_LZ_DICT_SIZE_MASK] << TDEFL_LZ_HASH_SHIFT) ^ c) & (TDEFL_LZ_HASH_SIZE - 1);
                    d->m_next[ins_pos & TDEFL_LZ_DICT_SIZE_MASK] = d->m_hash[hash];
                    d->m_hash[hash] = (mz_uint16)(ins_pos);
                }
            }
        }
        d->m_dict_size = MZ_MIN(TDEFL_LZ_DICT_SIZE - d->m_lookahead_size, d->m_dict_size);
        if ((!flush) && (d->m_lookahead_size < TDEFL_MAX_MATCH_LEN))
            break;

        /* Simple lazy/greedy parsing state machine. */
        len_to_move = 1;
        cur_match_dist = 0;
        cur_match_len = d->m_saved_match_len ? d->m_saved_match_len : (TDEFL_MIN_MATCH_LEN - 1);
        cur_pos = d->m_lookahead_pos & TDEFL_LZ_DICT_SIZE_MASK;
        if (d->m_flags & (TDEFL_RLE_MATCHES | TDEFL_FORCE_ALL_RAW_BLOCKS))
        {
            if ((d->m_dict_size) && (!(d->m_flags & TDEFL_FORCE_ALL_RAW_BLOCKS)))
            {
                mz_uint8 c = d->m_dict[(cur_pos - 1) & TDEFL_LZ_DICT_SIZE_MASK];
                cur_match_len = 0;
                while (cur_match_len < d->m_lookahead_size)
                {
                    if (d->m_dict[cur_pos + cur_match_len] != c)
                        break;
                    cur_match_len++;
                }
                if (cur_match_len < TDEFL_MIN_MATCH_LEN)
                    cur_match_len = 0;
                else
                    cur_match_dist = 1;
            }
        }
        else
        {
            tdefl_find_match(d, d->m_lookahead_pos, d->m_dict_size, d->m_lookahead_size, &cur_match_dist, &cur_match_len);
        }
        if (((cur_match_len == TDEFL_MIN_MATCH_LEN) && (cur_match_dist >= 8U * 1024U)) || (cur_pos == cur_match_dist) || ((d->m_flags & TDEFL_FILTER_MATCHES) && (cur_match_len <= 5)))
        {
            cur_match_dist = cur_match_len = 0;
        }
        if (d->m_saved_match_len)
        {
            if (cur_match_len > d->m_saved_match_len)
            {
                tdefl_record_literal(d, (mz_uint8)d->m_saved_lit);
                if (cur_match_len >= 128)
                {
                    tdefl_record_match(d, cur_match_len, cur_match_dist);
                    d->m_saved_match_len = 0;
                    len_to_move = cur_match_len;
                }
                else
                {
                    d->m_saved_lit = d->m_dict[cur_pos];
                    d->m_saved_match_dist = cur_match_dist;
                    d->m_saved_match_len = cur_match_len;
                }
            }
            else
            {
                tdefl_record_match(d, d->m_saved_match_len, d->m_saved_match_dist);
                len_to_move = d->m_saved_match_len - 1;
                d->m_saved_match_len = 0;
            }
        }
        else if (!cur_match_dist)
            tdefl_record_literal(d, d->m_dict[MZ_MIN(cur_pos, sizeof(d->m_dict) - 1)]);
        else if ((d->m_greedy_parsing) || (d->m_flags & TDEFL_RLE_MATCHES) || (cur_match_len >= 128))
        {
            tdefl_record_match(d, cur_match_len, cur_match_dist);
            len_to_move = cur_match_len;
        }
        else
        {
            d->m_saved_lit = d->m_dict[MZ_MIN(cur_pos, sizeof(d->m_dict) - 1)];
            d->m_saved_match_dist = cur_match_dist;
            d->m_saved_match_len = cur_match_len;
        }
        /* Move the lookahead forward by len_to_move bytes. */
        d->m_lookahead_pos += len_to_move;
        MZ_ASSERT(d->m_lookahead_size >= len_to_move);
        d->m_lookahead_size -= len_to_move;
        d->m_dict_size = MZ_MIN(d->m_dict_size + len_to_move, (mz_uint)TDEFL_LZ_DICT_SIZE);
        /* Check if it's time to flush the current LZ codes to the internal output buffer. */
        if ((d->m_pLZ_code_buf > &d->m_lz_code_buf[TDEFL_LZ_CODE_BUF_SIZE - 8]) ||
            ((d->m_total_lz_bytes > 31 * 1024) && (((((mz_uint)(d->m_pLZ_code_buf - d->m_lz_code_buf) * 115) >> 7) >= d->m_total_lz_bytes) || (d->m_flags & TDEFL_FORCE_ALL_RAW_BLOCKS))))
        {
            int n;
            d->m_pSrc = pSrc;
            d->m_src_buf_left = src_buf_left;
            if ((n = tdefl_flush_block(d, 0)) != 0)
                return (n < 0) ? MZ_FALSE : MZ_TRUE;
        }
    }

    d->m_pSrc = pSrc;
    d->m_src_buf_left = src_buf_left;
    return MZ_TRUE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq 0xb0(%rdi), %r14
movq 0xb8(%rdi), %rbp
movl 0xa8(%rdi), %eax
movl %eax, 0x2c(%rsp)
leaq 0xc8(%rdi), %r15
leaq 0x92aa(%rdi), %rax
movq %rax, 0x30(%rsp)
leaq 0x192a2(%rdi), %rax
movq %rax, 0x40(%rsp)
testq %rbp, %rbp
je 0x10c571
movl 0x28(%rbx), %edi
movl 0x2c(%rbx), %r11d
leal (%r11,%rdi), %ecx
cmpl $0x1, %ecx
ja 0x10c598
jmp 0x10c665
cmpl $0x0, 0x2c(%rsp)
je 0x10ce2b
movl 0x28(%rbx), %edi
testl %edi, %edi
je 0x10ce2b
movl 0x2c(%rbx), %r11d
leal (%r11,%rdi), %ecx
cmpl $0x1, %ecx
jbe 0x10c65c
movl 0x24(%rbx), %edx
leal (%rdx,%rdi), %esi
addl $-0x2, %esi
movl %esi, %ecx
movl $0x7fff, %eax           # imm = 0x7FFF
andl %eax, %ecx
movq %rdi, %r10
movzbl 0xc8(%rbx,%rcx), %edi
leal (%rdx,%r10), %ecx
decl %ecx
andl %eax, %ecx
movzbl 0xc8(%rbx,%rcx), %ecx
movl $0x102, %r9d            # imm = 0x102
subl %r10d, %r9d
cmpq %r9, %rbp
movl %ebp, %r8d
cmovael %r9d, %r8d
subq %r8, %rbp
leal (%r8,%r10), %r9d
movl %r9d, 0x28(%rbx)
testq %r14, %r14
je 0x10c654
testl %r8d, %r8d
je 0x10c654
movq %r10, %rax
addl %eax, %edx
shll $0x5, %edi
xorl %ecx, %edi
andl $0x7fff, %edx           # imm = 0x7FFF
movb (%r14), %cl
movb %cl, (%r15,%rdx)
cmpl $0x100, %edx            # imm = 0x100
ja 0x10c617
movl %edx, %r10d
movb %cl, 0x8000(%r15,%r10)
incq %r14
movzbl %cl, %ecx
shll $0x5, %edi
andl $0x7fe0, %edi           # imm = 0x7FE0
xorl %ecx, %edi
movzwl 0x292aa(%rbx,%rdi,2), %ecx
movl %esi, %r10d
andl $0x7fff, %r10d          # imm = 0x7FFF
movw %cx, 0x192aa(%rbx,%r10,2)
movw %si, 0x292aa(%rbx,%rdi,2)
incl %edx
incl %esi
decq %r8
jne 0x10c5f7
movl %r9d, %edi
jmp 0x10c796
testq %rbp, %rbp
je 0x10c794
movl %edi, %ecx
cmpl $0x103, %edi            # imm = 0x103
movl $0x102, %edi            # imm = 0x102
cmovael %ecx, %edi
movq %rdi, 0x20(%rsp)
subl %ecx, %edi
movl %ecx, %edx
leal -0x2(%rcx), %eax
movq %rax, 0x18(%rsp)
movq %r11, 0x10(%rsp)
leal (%rcx,%r11), %r9d
incl %r9d
xorl %esi, %esi
cmpl %esi, %edi
je 0x10c76e
movb (%r14,%rsi), %cl
movl 0x24(%rbx), %r10d
leal (%rdx,%rsi), %r11d
addl %r10d, %r11d
andl $0x7fff, %r11d          # imm = 0x7FFF
movb %cl, 0xc8(%rbx,%r11)
cmpl $0x100, %r11d           # imm = 0x100
ja 0x10c6ce
movl %r11d, %r11d
movb %cl, 0x8000(%r15,%r11)
leal (%rdx,%rsi), %r11d
incl %r11d
movl %r11d, 0x28(%rbx)
leal (%r9,%rsi), %r11d
cmpl $0x3, %r11d
jb 0x10c752
movzbl %cl, %ecx
movq 0x18(%rsp), %rax
leal (%rax,%rsi), %r11d
addl %r10d, %r11d
movl $0x7fff, %r8d           # imm = 0x7FFF
andl %r8d, %r11d
movq %r15, %r12
movq %rbp, %r15
movzbl 0xc8(%rbx,%r11), %ebp
leal (%rdx,%rsi), %r13d
leal (%r10,%r13), %eax
decl %eax
andl %r8d, %eax
movzbl 0xc8(%rbx,%rax), %eax
shll $0x5, %eax
andl $0x1f, %ebp
shll $0xa, %ebp
xorl %eax, %ecx
xorl %ebp, %ecx
movq %r15, %rbp
movq %r12, %r15
movzwl 0x292aa(%rbx,%rcx,2), %eax
movw %ax, 0x192aa(%rbx,%r11,2)
leal (%r10,%r13), %eax
addl $-0x2, %eax
movw %ax, 0x292aa(%rbx,%rcx,2)
incq %rsi
cmpq %rsi, %rbp
jne 0x10c694
addl %esi, %edx
addq %rsi, %r14
movl %edx, %edi
xorl %ebp, %ebp
movq 0x10(%rsp), %r11
jmp 0x10c796
movl $0x8000, %r10d          # imm = 0x8000
movq 0x20(%rsp), %rdi
subl %edi, %r10d
movq 0x10(%rsp), %rax
cmpl %eax, %r10d
cmovael %eax, %r10d
movl %r10d, 0x2c(%rbx)
addq %rsi, %r14
subq %rsi, %rbp
jmp 0x10c7bd
xorl %ebp, %ebp
movl $0x8000, %r10d          # imm = 0x8000
subl %edi, %r10d
cmpl %r11d, %r10d
cmovael %r11d, %r10d
movl %r10d, 0x2c(%rbx)
cmpl $0x0, 0x2c(%rsp)
jne 0x10c7bd
cmpl $0x102, %edi            # imm = 0x102
jb 0x10ce2d
movl %edi, %r9d
movl 0x68(%rbx), %edx
testl %edx, %edx
movl %edx, %eax
movl $0x2, %ecx
cmovel %ecx, %eax
movl 0x10(%rbx), %r8d
movl 0x24(%rbx), %r13d
movl %r13d, %r11d
andl $0x7fff, %r11d          # imm = 0x7FFF
testl $0x90000, %r8d          # imm = 0x90000
movq %rbp, 0x18(%rsp)
je 0x10c840
testl %r10d, %r10d
sete %cl
movl %r8d, %esi
shrl $0x13, %esi
andl $0x1, %esi
xorl %r12d, %r12d
orb %cl, %sil
jne 0x10ca4d
testl %edi, %edi
je 0x10ca2d
decl %r13d
andl $0x7fff, %r13d          # imm = 0x7FFF
movb (%r15,%r13), %cl
xorl %eax, %eax
leal (%r11,%rax), %esi
cmpb %cl, (%r15,%rsi)
jne 0x10ca2f
incq %rax
cmpq %rax, %r9
jne 0x10c822
movl %r9d, %eax
jmp 0x10ca2f
cmpl $0x103, %edi            # imm = 0x103
jae 0x10ce94
cmpl %edi, %eax
jae 0x10ca28
xorl %ecx, %ecx
cmpl $0x20, %eax
setae %cl
movl 0x14(%rbx,%rcx,4), %ebp
decl %ebp
je 0x10ca28
leaq (%r15,%r11), %rcx
movq %rcx, 0x38(%rsp)
leal (%r11,%rax), %ecx
leal (%r11,%rax), %esi
decl %esi
movb (%r15,%rsi), %sil
movb %sil, 0x2(%rsp)
movb (%r15,%rcx), %cl
movb %cl, 0x3(%rsp)
xorl %r12d, %r12d
movl %r11d, %esi
movl %eax, %ecx
movq %rcx, 0x10(%rsp)
movl %r8d, 0x4(%rsp)
movq %r12, 0x8(%rsp)
movl $0x1, %ecx
subl %ebp, %ecx
movl %ecx, %ebp
movl %esi, %ecx
movzwl 0x192aa(%rbx,%rcx,2), %esi
testl %esi, %esi
je 0x10ca48
movl %r13d, %ecx
subl %esi, %ecx
movzwl %cx, %r8d
cmpl %r8d, %r10d
jb 0x10ca43
andl $0x7fff, %esi           # imm = 0x7FFF
movq 0x10(%rsp), %rcx
addl %esi, %ecx
movb 0x3(%rsp), %r12b
cmpb %r12b, (%r15,%rcx)
jne 0x10c8f9
decl %ecx
movb 0x2(%rsp), %r12b
cmpb %r12b, (%r15,%rcx)
je 0x10c99c
movzwl 0x192aa(%rbx,%rsi,2), %esi
testl %esi, %esi
je 0x10ca43
movl %r13d, %ecx
subl %esi, %ecx
movzwl %cx, %r8d
cmpl %r8d, %r10d
jb 0x10ca43
andl $0x7fff, %esi           # imm = 0x7FFF
movq 0x10(%rsp), %rcx
addl %esi, %ecx
movb 0x3(%rsp), %r12b
cmpb %r12b, (%r15,%rcx)
jne 0x10c940
decl %ecx
movb 0x2(%rsp), %r12b
cmpb %r12b, (%r15,%rcx)
je 0x10c99c
movzwl 0x192aa(%rbx,%rsi,2), %esi
testl %esi, %esi
je 0x10ca43
movl %r13d, %ecx
subl %esi, %ecx
movzwl %cx, %r8d
cmpl %r8d, %r10d
jb 0x10ca43
andl $0x7fff, %esi           # imm = 0x7FFF
movq 0x10(%rsp), %rcx
addl %esi, %ecx
movb 0x3(%rsp), %r12b
cmpb %r12b, (%r15,%rcx)
jne 0x10c987
decl %ecx
movb 0x2(%rsp), %r12b
cmpb %r12b, (%r15,%rcx)
je 0x10c99c
incl %ebp
cmpl $0x1, %ebp
movl 0x4(%rsp), %r8d
jne 0x10c8ac
jmp 0x10ca48
testl %r8d, %r8d
je 0x10ca43
movq %rdi, 0x20(%rsp)
movl %esi, %r12d
addq %r15, %r12
xorl %ecx, %ecx
movq 0x38(%rsp), %rdi
movb (%rdi,%rcx), %dil
cmpb (%r12,%rcx), %dil
jne 0x10c9d2
incq %rcx
cmpl %ecx, %r9d
jne 0x10c9b2
movq 0x20(%rsp), %rdi
movl %edi, %ecx
jmp 0x10c9d7
movq 0x20(%rsp), %rdi
cmpl 0x10(%rsp), %ecx
jbe 0x10ca14
cmpl %edi, %ecx
je 0x10ce1b
movl %ecx, %eax
movl %r11d, %edi
addq %rax, %rdi
movb (%r15,%rdi), %al
movb %al, 0x3(%rsp)
leal -0x1(%rdi), %eax
movq 0x20(%rsp), %rdi
movb (%r15,%rax), %al
movb %al, 0x2(%rsp)
movl %r8d, %eax
movq %rax, 0x8(%rsp)
movl %ecx, %eax
movq %rcx, 0x10(%rsp)
negl %ebp
movq 0x8(%rsp), %r12
movl 0x4(%rsp), %r8d
jb 0x10c89e
jmp 0x10ca4d
xorl %r12d, %r12d
jmp 0x10ca4d
xorl %eax, %eax
xorl %r12d, %r12d
cmpl $0x3, %eax
setae %r12b
movl $0x0, %ecx
cmovbl %ecx, %eax
jmp 0x10ca4d
movl 0x4(%rsp), %r8d
movq 0x8(%rsp), %r12
cmpl $0x3, %eax
sete %cl
cmpl $0x2000, %r12d          # imm = 0x2000
setae %sil
testb %sil, %cl
jne 0x10ca7f
movq %r12, %r9
cmpl %r9d, %r11d
je 0x10ca7f
btl $0x11, %r8d
jae 0x10cb4c
cmpl $0x6, %eax
jae 0x10cb4c
testl %edx, %edx
je 0x10cd28
cmpl $0x3, %edx
jb 0x10ce75
movl 0x64(%rbx), %eax
decl %eax
cmpl $0x8000, %eax           # imm = 0x8000
jae 0x10ce75
addl %edx, 0x54(%rbx)
addl $-0x3, %edx
movq 0x30(%rbx), %rcx
movb %dl, (%rcx)
movq 0x30(%rbx), %rcx
movb %al, 0x1(%rcx)
movl %eax, %ecx
shrl $0x8, %ecx
movq 0x30(%rbx), %rsi
movb %cl, 0x2(%rsi)
addq $0x3, 0x30(%rbx)
movq 0x38(%rbx), %rsi
movb (%rsi), %dil
shrb %dil
orb $-0x80, %dil
movb %dil, (%rsi)
decl 0x50(%rbx)
movq 0x18(%rsp), %rbp
jne 0x10caf6
movl $0x8, 0x50(%rbx)
movq 0x30(%rbx), %rsi
leaq 0x1(%rsi), %rdi
movq %rdi, 0x30(%rbx)
movq %rsi, 0x38(%rbx)
movl %eax, %esi
andl $0x1ff, %esi            # imm = 0x1FF
leaq 0x4006b(%rip), %rdi     # 0x14cb70
addq %rdi, %rsi
leaq 0x40261(%rip), %rdi     # 0x14cd70
addq %rdi, %rcx
cmpl $0x200, %eax            # imm = 0x200
cmovbq %rsi, %rcx
movzbl (%rcx), %eax
incw 0x840a(%rbx,%rax,2)
movl %edx, %eax
leaq 0x402c1(%rip), %rcx     # 0x14cdf0
movzwl (%rcx,%rax,2), %eax
incw 0x81ca(%rbx,%rax,2)
movl 0x68(%rbx), %eax
decl %eax
movl $0x0, 0x68(%rbx)
jmp 0x10cd76
testl %edx, %edx
je 0x10cc5d
cmpl %edx, %eax
jbe 0x10ca87
movl 0x6c(%rbx), %ecx
incl 0x54(%rbx)
movq 0x30(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x30(%rbx)
movb %cl, (%rdx)
movq 0x38(%rbx), %rdx
shrb (%rdx)
decl 0x50(%rbx)
jne 0x10cb92
movl $0x8, 0x50(%rbx)
movq 0x30(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x30(%rbx)
movq %rdx, 0x38(%rbx)
movzbl %cl, %ecx
incw 0x81ca(%rbx,%rcx,2)
cmpl $0x80, %eax
movq 0x18(%rsp), %rbp
jb 0x10ce03
decl %r9d
cmpl $0x8000, %r9d           # imm = 0x8000
jae 0x10ce75
addl %eax, 0x54(%rbx)
leal -0x3(%rax), %ecx
movq 0x30(%rbx), %rdx
movb %cl, (%rdx)
movq 0x30(%rbx), %rdx
movb %r9b, 0x1(%rdx)
movl %r9d, %edx
shrl $0x8, %edx
movq 0x30(%rbx), %rsi
movb %dl, 0x2(%rsi)
addq $0x3, 0x30(%rbx)
movq 0x38(%rbx), %rsi
movb (%rsi), %dil
shrb %dil
orb $-0x80, %dil
movb %dil, (%rsi)
decl 0x50(%rbx)
jne 0x10cc10
movl $0x8, 0x50(%rbx)
movq 0x30(%rbx), %rsi
leaq 0x1(%rsi), %rdi
movq %rdi, 0x30(%rbx)
movq %rsi, 0x38(%rbx)
movl %r9d, %esi
andl $0x1ff, %esi            # imm = 0x1FF
leaq 0x3ff50(%rip), %rdi     # 0x14cb70
addq %rdi, %rsi
leaq 0x40146(%rip), %rdi     # 0x14cd70
addq %rdi, %rdx
cmpl $0x200, %r9d            # imm = 0x200
cmovbq %rsi, %rdx
movzbl (%rdx), %edx
incw 0x840a(%rbx,%rdx,2)
movl %ecx, %ecx
leaq 0x401a4(%rip), %rdx     # 0x14cdf0
movzwl (%rdx,%rcx,2), %ecx
incw 0x81ca(%rbx,%rcx,2)
jmp 0x10cb40
testl %r9d, %r9d
je 0x10cd28
cmpl $0x0, 0x1c(%rbx)
movq 0x18(%rsp), %rbp
je 0x10cded
cmpl $0x8000, %r9d           # imm = 0x8000
ja 0x10ce75
cmpl $0x2, %eax
jbe 0x10ce75
leal -0x1(%r9), %edx
addl %eax, 0x54(%rbx)
leal -0x3(%rax), %ecx
movq 0x30(%rbx), %rsi
movb %cl, (%rsi)
movq 0x30(%rbx), %rsi
movb %dl, 0x1(%rsi)
movl %edx, %esi
shrl $0x8, %esi
movq 0x30(%rbx), %rdi
movb %sil, 0x2(%rdi)
addq $0x3, 0x30(%rbx)
movq 0x38(%rbx), %rdi
movb (%rdi), %r8b
shrb %r8b
orb $-0x80, %r8b
movb %r8b, (%rdi)
decl 0x50(%rbx)
jne 0x10cce1
movl $0x8, 0x50(%rbx)
movq 0x30(%rbx), %rdi
leaq 0x1(%rdi), %r8
movq %r8, 0x30(%rbx)
movq %rdi, 0x38(%rbx)
andl $0x1ff, %edx            # imm = 0x1FF
leaq 0x3fe82(%rip), %rdi     # 0x14cb70
addq %rdi, %rdx
leaq 0x40078(%rip), %rdi     # 0x14cd70
addq %rdi, %rsi
cmpl $0x201, %r9d            # imm = 0x201
cmovbq %rdx, %rsi
movzbl (%rsi), %edx
incw 0x840a(%rbx,%rdx,2)
movl %ecx, %ecx
leaq 0x400d6(%rip), %rdx     # 0x14cdf0
movzwl (%rdx,%rcx,2), %ecx
incw 0x81ca(%rbx,%rcx,2)
jmp 0x10cd76
movzbl 0xc8(%rbx,%r11), %eax
incl 0x54(%rbx)
movq 0x30(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x30(%rbx)
movb %al, (%rcx)
movq 0x38(%rbx), %rcx
shrb (%rcx)
decl 0x50(%rbx)
movq 0x18(%rsp), %rbp
jne 0x10cd69
movl $0x8, 0x50(%rbx)
movq 0x30(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x30(%rbx)
movq %rcx, 0x38(%rbx)
incw 0x81ca(%rbx,%rax,2)
movl $0x1, %eax
addl %eax, 0x24(%rbx)
movl 0x28(%rbx), %ecx
subl %eax, %ecx
jb 0x10ce56
movl %ecx, 0x28(%rbx)
addl 0x2c(%rbx), %eax
movl $0x8000, %ecx           # imm = 0x8000
cmpl %ecx, %eax
cmovael %ecx, %eax
movl %eax, 0x2c(%rbx)
movq 0x30(%rbx), %rax
cmpq 0x40(%rsp), %rax
jbe 0x10cdc4
movq %r14, 0xb0(%rbx)
movq %rbp, 0xb8(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10ceb3
testl %eax, %eax
je 0x10c557
jmp 0x10ce42
movl 0x54(%rbx), %ecx
cmpl $0x7c01, %ecx           # imm = 0x7C01
jb 0x10c557
subl 0x30(%rsp), %eax
imull $0x73, %eax, %eax
shrl $0x7, %eax
cmpl %ecx, %eax
jae 0x10cda2
testb $0x8, 0x12(%rbx)
je 0x10c557
jmp 0x10cda2
btl $0x10, %r8d
jb 0x10cc75
cmpl $0x80, %eax
jae 0x10cc75
movzbl 0xc8(%rbx,%r11), %ecx
movl %ecx, 0x6c(%rbx)
movl %r9d, 0x64(%rbx)
movl %eax, 0x68(%rbx)
jmp 0x10cd71
movl %r8d, %r12d
movl %r9d, %eax
movl 0x4(%rsp), %r8d
jmp 0x10ca4d
xorl %ebp, %ebp
movq %r14, 0xb0(%rbx)
movq %rbp, 0xb8(%rbx)
movl $0x1, %eax
jmp 0x10ce47
notl %eax
shrl $0x1f, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x40758(%rip), %rdi     # 0x14d5b5
leaq 0x4063a(%rip), %rsi     # 0x14d49e
leaq 0x4076d(%rip), %rcx     # 0x14d5d8
movl $0x755, %edx            # imm = 0x755
callq 0x18120
leaq 0x4080e(%rip), %rdi     # 0x14d68a
leaq 0x4061b(%rip), %rsi     # 0x14d49e
leaq 0x4085e(%rip), %rcx     # 0x14d6e8
movl $0x6c0, %edx            # imm = 0x6C0
callq 0x18120
leaq 0x4076f(%rip), %rdi     # 0x14d60a
leaq 0x405fc(%rip), %rsi     # 0x14d49e
leaq 0x40786(%rip), %rcx     # 0x14d62f
movl $0x5cf, %edx            # imm = 0x5CF
callq 0x18120