// File: /workspace/github_c_makefile_star2_O1/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 $0x58, %rsp
movq %rdi, %rbx
movq 0xb0(%rdi), %r14
movq 0xb8(%rdi), %r15
movl 0xa8(%rdi), %eax
movl %eax, 0x34(%rsp)
leaq 0xc8(%rdi), %rax
movq %rax, 0x18(%rsp)
leaq 0x92aa(%rdi), %rax
movq %rax, 0x40(%rsp)
leaq 0x192a2(%rdi), %rax
movq %rax, 0x50(%rsp)
testq %r15, %r15
jne 0x10c6b4
cmpl $0x0, 0x34(%rsp)
je 0x10cf6c
cmpl $0x0, 0x28(%rbx)
je 0x10cf6c
movl 0x28(%rbx), %r8d
movl 0x2c(%rbx), %r11d
leal (%r11,%r8), %ecx
cmpl $0x1, %ecx
jbe 0x10c796
movl 0x24(%rbx), %ecx
leal (%rcx,%r8), %edx
addl $-0x2, %edx
movl %edx, %esi
movl $0x7fff, %eax           # imm = 0x7FFF
andl %eax, %esi
movzbl 0xc8(%rbx,%rsi), %esi
leal (%rcx,%r8), %edi
decl %edi
andl %eax, %edi
movzbl 0xc8(%rbx,%rdi), %r9d
movl $0x102, %r10d           # imm = 0x102
subl %r8d, %r10d
cmpq %r10, %r15
movl %r15d, %edi
cmovael %r10d, %edi
subq %rdi, %r15
leal (%rdi,%r8), %r10d
movl %r10d, 0x28(%rbx)
testq %r14, %r14
je 0x10c8ae
testl %edi, %edi
je 0x10c8ae
addl %r8d, %ecx
shll $0x5, %esi
xorl %r9d, %esi
andl $0x7fff, %ecx           # imm = 0x7FFF
movb (%r14), %r8b
movb %r8b, 0xc8(%rbx,%rcx)
cmpl $0x100, %ecx            # imm = 0x100
ja 0x10c751
movl %ecx, %r9d
movb %r8b, 0x80c8(%rbx,%r9)
incq %r14
movzbl %r8b, %r8d
shll $0x5, %esi
andl $0x7fe0, %esi           # imm = 0x7FE0
xorl %r8d, %esi
movzwl 0x292aa(%rbx,%rsi,2), %r8d
movl %edx, %r9d
andl $0x7fff, %r9d           # imm = 0x7FFF
movw %r8w, 0x192aa(%rbx,%r9,2)
movw %dx, 0x292aa(%rbx,%rsi,2)
incl %ecx
incl %edx
decq %rdi
jne 0x10c72d
jmp 0x10c8ae
testq %r15, %r15
je 0x10c89e
movl 0x28(%rbx), %ecx
movl $0x102, %edx            # imm = 0x102
subl %ecx, %edx
movl $0x0, %eax
cmovbl %eax, %edx
leal -0x2(%rcx), %eax
movq %rax, 0x28(%rsp)
movq %r11, 0x20(%rsp)
leal (%r11,%rcx), %edi
incl %edi
xorl %r8d, %r8d
movq %r15, %r9
cmpl %r8d, %edx
je 0x10c8a3
movb (%r14,%r8), %r11b
movl 0x24(%rbx), %r10d
leal (%rcx,%r8), %r12d
addl %r10d, %r12d
andl $0x7fff, %r12d          # imm = 0x7FFF
movb %r11b, 0xc8(%rbx,%r12)
cmpl $0x100, %r12d           # imm = 0x100
ja 0x10c805
movl %r12d, %r12d
movb %r11b, 0x80c8(%rbx,%r12)
leal (%rcx,%r8), %ebp
incl %ebp
movl %ebp, 0x28(%rbx)
leal (%rdi,%r8), %ebp
cmpl $0x3, %ebp
jb 0x10c887
movzbl %r11b, %r11d
movq 0x28(%rsp), %rax
leal (%rax,%r8), %r12d
addl %r10d, %r12d
movl $0x7fff, %esi           # imm = 0x7FFF
andl %esi, %r12d
movzbl 0xc8(%rbx,%r12), %ebp
leal (%rcx,%r8), %r13d
movq %r15, %rax
leal (%r10,%r13), %r15d
decl %r15d
andl %esi, %r15d
movzbl 0xc8(%rbx,%r15), %r15d
shll $0x5, %r15d
andl $0x1f, %ebp
shll $0xa, %ebp
xorl %r15d, %r11d
movq %rax, %r15
xorl %ebp, %r11d
movzwl 0x292aa(%rbx,%r11,2), %ebp
movw %bp, 0x192aa(%rbx,%r12,2)
addl %r13d, %r10d
addl $-0x2, %r10d
movw %r10w, 0x292aa(%rbx,%r11,2)
incq %r8
decq %r9
cmpq %r8, %r15
jne 0x10c7ca
addq %r8, %r14
xorl %r15d, %r15d
jmp 0x10c8a9
xorl %r15d, %r15d
jmp 0x10c8ae
addq %r8, %r14
movq %r9, %r15
movq 0x20(%rsp), %r11
cmpl $0x0, 0x34(%rsp)
sete %sil
movl 0x28(%rbx), %edx
movl $0x8000, %r10d          # imm = 0x8000
subl %edx, %r10d
cmpl %r11d, %r10d
cmovael %r11d, %r10d
movl %r10d, 0x2c(%rbx)
cmpl $0x102, %edx            # imm = 0x102
setb %al
movl $0x3, %ecx
testb %al, %sil
jne 0x10cf59
movl %edx, %edi
movl 0x68(%rbx), %r13d
testl %r13d, %r13d
movl %r13d, %eax
movl $0x2, %edx
cmovel %edx, %eax
movl 0x10(%rbx), %ebp
movl 0x24(%rbx), %r12d
movl %r12d, %r9d
andl $0x7fff, %r9d           # imm = 0x7FFF
testl $0x90000, %ebp          # imm = 0x90000
je 0x10c96c
testl %r10d, %r10d
sete %sil
movl %ebp, %r8d
shrl $0x13, %r8d
andl $0x1, %r8d
xorl %edx, %edx
orb %sil, %r8b
jne 0x10cba9
testq %rdi, %rdi
je 0x10cb86
decl %r12d
andl $0x7fff, %r12d          # imm = 0x7FFF
movb 0xc8(%rbx,%r12), %dl
xorl %eax, %eax
leal (%r9,%rax), %esi
cmpb %dl, 0xc8(%rbx,%rsi)
jne 0x10cb88
incq %rax
cmpq %rax, %rdi
jne 0x10c94c
movl %edi, %eax
jmp 0x10cb88
cmpl $0x103, %edi            # imm = 0x103
jae 0x10cfcf
xorl %edx, %edx
cmpl %edi, %eax
jae 0x10cba9
xorl %esi, %esi
cmpl $0x20, %eax
setae %sil
movl 0x14(%rbx,%rsi,4), %r11d
decl %r11d
je 0x10cba9
movq 0x18(%rsp), %r8
leaq (%r8,%r9), %rdx
movq %rdx, 0x48(%rsp)
leal (%r9,%rax), %edx
leal (%r9,%rax), %esi
decl %esi
movb (%r8,%rsi), %cl
movb %cl, 0xf(%rsp)
movb (%r8,%rdx), %cl
movb %cl, 0x20(%rsp)
xorl %edx, %edx
movl %r9d, %esi
movl %eax, %ecx
movq %rcx, 0x28(%rsp)
movl %ebp, 0x14(%rsp)
movl %r13d, 0x10(%rsp)
movl $0x1, %r8d
subl %r11d, %r8d
movl %r8d, %r11d
movl %esi, %esi
movzwl 0x192aa(%rbx,%rsi,2), %esi
testl %esi, %esi
je 0x10cba9
movl %r12d, %r8d
subl %esi, %r8d
movzwl %r8w, %r13d
cmpl %r13d, %r10d
jb 0x10cba0
andl $0x7fff, %esi           # imm = 0x7FFF
movq 0x28(%rsp), %rcx
leal (%rcx,%rsi), %r8d
movq 0x18(%rsp), %rbp
movb 0x20(%rsp), %cl
cmpb %cl, (%rbp,%r8)
jne 0x10ca3d
decl %r8d
movq 0x18(%rsp), %rbp
movb 0xf(%rsp), %cl
cmpb %cl, (%rbp,%r8)
je 0x10cb02
movzwl 0x192aa(%rbx,%rsi,2), %esi
testl %esi, %esi
je 0x10cba0
movl %r12d, %r8d
subl %esi, %r8d
movzwl %r8w, %r13d
cmpl %r13d, %r10d
jb 0x10cba0
andl $0x7fff, %esi           # imm = 0x7FFF
movq 0x28(%rsp), %rcx
leal (%rcx,%rsi), %r8d
movq 0x18(%rsp), %rbp
movb 0x20(%rsp), %cl
cmpb %cl, (%rbp,%r8)
jne 0x10ca92
decl %r8d
movq 0x18(%rsp), %rbp
movb 0xf(%rsp), %cl
cmpb %cl, (%rbp,%r8)
je 0x10cb02
movzwl 0x192aa(%rbx,%rsi,2), %esi
testl %esi, %esi
je 0x10cba0
movl %r12d, %r8d
subl %esi, %r8d
movzwl %r8w, %r13d
cmpl %r13d, %r10d
jb 0x10cba0
andl $0x7fff, %esi           # imm = 0x7FFF
movq 0x28(%rsp), %rcx
leal (%rcx,%rsi), %r8d
movq 0x18(%rsp), %rbp
movb 0x20(%rsp), %cl
cmpb %cl, (%rbp,%r8)
jne 0x10cae7
decl %r8d
movq 0x18(%rsp), %rbp
movb 0xf(%rsp), %cl
cmpb %cl, (%rbp,%r8)
je 0x10cb02
incl %r11d
cmpl $0x1, %r11d
movl 0x14(%rsp), %ebp
movl 0x10(%rsp), %r13d
jne 0x10c9e2
jmp 0x10cba9
testl %r13d, %r13d
je 0x10cba0
movq %r15, 0x38(%rsp)
movl %esi, %ebp
addq 0x18(%rsp), %rbp
xorl %r8d, %r8d
movq 0x48(%rsp), %r15
movb (%r15,%r8), %r15b
cmpb (%rbp,%r8), %r15b
jne 0x10cb35
incq %r8
cmpl %r8d, %edi
jne 0x10cb1a
movl %edi, %r8d
cmpl 0x28(%rsp), %r8d
movq 0x38(%rsp), %r15
jbe 0x10cb72
cmpl %edi, %r8d
je 0x10cb9a
movl %r8d, %eax
movl %r9d, %edx
addq %rax, %rdx
movq 0x18(%rsp), %rbp
movb (%rbp,%rdx), %al
movb %al, 0x20(%rsp)
leal -0x1(%rdx), %eax
movb (%rbp,%rax), %al
movb %al, 0xf(%rsp)
movl %r13d, %edx
movl %r8d, %eax
movq %r8, 0x28(%rsp)
negl %r11d
movl 0x14(%rsp), %ebp
movl 0x10(%rsp), %r13d
jb 0x10c9d6
jmp 0x10cba9
xorl %eax, %eax
xorl %edx, %edx
cmpl $0x3, %eax
setae %dl
movl $0x0, %esi
cmovbl %esi, %eax
jmp 0x10cba9
movl %r13d, %edx
movl %r8d, %eax
movl 0x14(%rsp), %ebp
movl 0x10(%rsp), %r13d
cmpl $0x3, %eax
sete %sil
cmpl $0x2000, %edx           # imm = 0x2000
setae %dil
testb %dil, %sil
jne 0x10cbcf
cmpl %edx, %r9d
je 0x10cbcf
btl $0x11, %ebp
jae 0x10cbd3
cmpl $0x5, %eax
ja 0x10cbd3
xorl %edx, %edx
xorl %eax, %eax
testl %r13d, %r13d
je 0x10ccdc
cmpl %r13d, %eax
jbe 0x10cda5
movl 0x6c(%rbx), %ecx
incl 0x54(%rbx)
movq 0x30(%rbx), %rsi
leaq 0x1(%rsi), %rdi
movq %rdi, 0x30(%rbx)
movb %cl, (%rsi)
movq 0x38(%rbx), %rsi
shrb (%rsi)
decl 0x50(%rbx)
jne 0x10cc1b
movl $0x8, 0x50(%rbx)
movq 0x30(%rbx), %rsi
leaq 0x1(%rsi), %rdi
movq %rdi, 0x30(%rbx)
movq %rsi, 0x38(%rbx)
movzbl %cl, %ecx
incw 0x81ca(%rbx,%rcx,2)
cmpl $0x80, %eax
jb 0x10cec2
decl %edx
cmpl $0x8000, %edx           # imm = 0x8000
jae 0x10cfb0
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 0x10cc91
movl $0x8, 0x50(%rbx)
movq 0x30(%rbx), %rdi
leaq 0x1(%rdi), %r8
movq %r8, 0x30(%rbx)
movq %rdi, 0x38(%rbx)
movl %edx, %edi
andl $0x1ff, %edi            # imm = 0x1FF
leaq 0x3f8b0(%rip), %r8      # 0x14c550
addq %r8, %rdi
leaq 0x3faa6(%rip), %r8      # 0x14c750
addq %r8, %rsi
cmpl $0x200, %edx            # imm = 0x200
cmovbq %rdi, %rsi
movzbl (%rsi), %edx
incw 0x840a(%rbx,%rdx,2)
movl %ecx, %ecx
leaq 0x3fb05(%rip), %rdx     # 0x14c7d0
movzwl (%rdx,%rcx,2), %ecx
incw 0x81ca(%rbx,%rcx,2)
jmp 0x10ce5e
testl %edx, %edx
je 0x10ce67
cmpl $0x0, 0x1c(%rbx)
je 0x10cead
cmpl $0x8000, %edx           # imm = 0x8000
ja 0x10cfb0
cmpl $0x2, %eax
jbe 0x10cfb0
leal -0x1(%rdx), %esi
addl %eax, 0x54(%rbx)
leal -0x3(%rax), %ecx
movq 0x30(%rbx), %rdi
movb %cl, (%rdi)
movq 0x30(%rbx), %rdi
movb %sil, 0x1(%rdi)
movl %esi, %edi
shrl $0x8, %edi
movq 0x30(%rbx), %r8
movb %dil, 0x2(%r8)
addq $0x3, 0x30(%rbx)
movq 0x38(%rbx), %r8
movb (%r8), %r9b
shrb %r9b
orb $-0x80, %r9b
movb %r9b, (%r8)
decl 0x50(%rbx)
jne 0x10cd59
movl $0x8, 0x50(%rbx)
movq 0x30(%rbx), %r8
leaq 0x1(%r8), %r9
movq %r9, 0x30(%rbx)
movq %r8, 0x38(%rbx)
andl $0x1ff, %esi            # imm = 0x1FF
leaq 0x3f7ea(%rip), %r8      # 0x14c550
addq %r8, %rsi
andl $0x7f, %edi
leaq 0x3f9dd(%rip), %r8      # 0x14c750
addq %r8, %rdi
cmpl $0x201, %edx            # imm = 0x201
cmovbq %rsi, %rdi
movzbl (%rdi), %edx
incw 0x840a(%rbx,%rdx,2)
movl %ecx, %ecx
leaq 0x3fa3c(%rip), %rdx     # 0x14c7d0
movzwl (%rdx,%rcx,2), %ecx
incw 0x81ca(%rbx,%rcx,2)
jmp 0x10ced9
cmpl $0x3, %r13d
jb 0x10cfb0
movl 0x64(%rbx), %eax
decl %eax
cmpl $0x8000, %eax           # imm = 0x8000
jae 0x10cfb0
addl %r13d, 0x54(%rbx)
addl $-0x3, %r13d
movq 0x30(%rbx), %rdx
movb %r13b, (%rdx)
movq 0x30(%rbx), %rdx
movb %al, 0x1(%rdx)
movl %eax, %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 0x10ce13
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 0x3f72e(%rip), %rdi     # 0x14c550
addq %rdi, %rsi
leaq 0x3f924(%rip), %rdi     # 0x14c750
addq %rdi, %rdx
cmpl $0x200, %eax            # imm = 0x200
cmovbq %rsi, %rdx
movzbl (%rdx), %eax
incw 0x840a(%rbx,%rax,2)
movl %r13d, %eax
leaq 0x3f983(%rip), %rcx     # 0x14c7d0
movzwl (%rcx,%rax,2), %eax
incw 0x81ca(%rbx,%rax,2)
movl 0x68(%rbx), %eax
decl %eax
movl $0x0, 0x68(%rbx)
jmp 0x10ced9
movzbl 0xc8(%rbx,%r9), %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)
jne 0x10cea3
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)
jmp 0x10ced4
btl $0x10, %ebp
jb 0x10ccee
cmpl $0x80, %eax
jae 0x10ccee
movzbl 0xc8(%rbx,%r9), %ecx
movl %ecx, 0x6c(%rbx)
movl %edx, 0x64(%rbx)
movl %eax, 0x68(%rbx)
movl $0x1, %eax
addl %eax, 0x24(%rbx)
movl 0x28(%rbx), %ecx
subl %eax, %ecx
jb 0x10cf91
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 0x50(%rsp), %rax
jbe 0x10cf38
movq %r14, 0xb0(%rbx)
movq %r15, 0xb8(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10cfee
movl %eax, %edx
notl %edx
shrl $0x1f, %edx
xorl %ecx, %ecx
testl %eax, %eax
setne %cl
movl 0x30(%rsp), %eax
cmovnel %edx, %eax
movl %eax, 0x30(%rsp)
jmp 0x10cf59
movl 0x54(%rbx), %edx
xorl %ecx, %ecx
cmpl $0x7c01, %edx           # imm = 0x7C01
jb 0x10cf59
subl 0x40(%rsp), %eax
imull $0x73, %eax, %eax
shrl $0x7, %eax
cmpl %edx, %eax
jae 0x10cf05
testb $0x8, 0x12(%rbx)
jne 0x10cf05
testl %ecx, %ecx
je 0x10c69a
cmpl $0x3, %ecx
je 0x10cf6f
movl 0x30(%rsp), %eax
jmp 0x10cf82
xorl %r15d, %r15d
movq %r14, 0xb0(%rbx)
movq %r15, 0xb8(%rbx)
movl $0x1, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3fffd(%rip), %rdi     # 0x14cf95
leaq 0x3fedf(%rip), %rsi     # 0x14ce7e
leaq 0x40012(%rip), %rcx     # 0x14cfb8
movl $0x755, %edx            # imm = 0x755
callq 0x18120
leaq 0x400b3(%rip), %rdi     # 0x14d06a
leaq 0x3fec0(%rip), %rsi     # 0x14ce7e
leaq 0x40103(%rip), %rcx     # 0x14d0c8
movl $0x6c0, %edx            # imm = 0x6C0
callq 0x18120
leaq 0x40014(%rip), %rdi     # 0x14cfea
leaq 0x3fea1(%rip), %rsi     # 0x14ce7e
leaq 0x4002b(%rip), %rcx     # 0x14d00f
movl $0x5cf, %edx            # imm = 0x5CF
callq 0x18120