// File: /workspace/github_cpp_makefile_star2_O2/Alcaro[P]bridges/arlib/deps/miniz.c
// Function: tdefl_compress
tdefl_status tdefl_compress(tdefl_compressor *d, const void *pIn_buf, size_t *pIn_buf_size, void *pOut_buf, size_t *pOut_buf_size, tdefl_flush flush)
{
  if (!d)
  {
    if (pIn_buf_size) *pIn_buf_size = 0;
    if (pOut_buf_size) *pOut_buf_size = 0;
    return TDEFL_STATUS_BAD_PARAM;
  }

  d->m_pIn_buf = pIn_buf; d->m_pIn_buf_size = pIn_buf_size;
  d->m_pOut_buf = pOut_buf; d->m_pOut_buf_size = pOut_buf_size;
  d->m_pSrc = (const mz_uint8 *)(pIn_buf); d->m_src_buf_left = pIn_buf_size ? *pIn_buf_size : 0;
  d->m_out_buf_ofs = 0;
  d->m_flush = flush;

  if ( ((d->m_pPut_buf_func != NULL) == ((pOut_buf != NULL) || (pOut_buf_size != NULL))) || (d->m_prev_return_status != TDEFL_STATUS_OKAY) ||
        (d->m_wants_to_finish && (flush != TDEFL_FINISH)) || (pIn_buf_size && *pIn_buf_size && !pIn_buf) || (pOut_buf_size && *pOut_buf_size && !pOut_buf) )
  {
    if (pIn_buf_size) *pIn_buf_size = 0;
    if (pOut_buf_size) *pOut_buf_size = 0;
    return (d->m_prev_return_status = TDEFL_STATUS_BAD_PARAM);
  }
  d->m_wants_to_finish |= (flush == TDEFL_FINISH);

  if ((d->m_output_flush_remaining) || (d->m_finished))
    return (d->m_prev_return_status = tdefl_flush_output_buffer(d));

#if MINIZ_USE_UNALIGNED_LOADS_AND_STORES && MINIZ_LITTLE_ENDIAN
  if (((d->m_flags & TDEFL_MAX_PROBES_MASK) == 1) &&
      ((d->m_flags & TDEFL_GREEDY_PARSING_FLAG) != 0) &&
      ((d->m_flags & (TDEFL_FILTER_MATCHES | TDEFL_FORCE_ALL_RAW_BLOCKS | TDEFL_RLE_MATCHES)) == 0))
  {
    if (!tdefl_compress_fast(d))
      return d->m_prev_return_status;
  }
  else
#endif // #if MINIZ_USE_UNALIGNED_LOADS_AND_STORES && MINIZ_LITTLE_ENDIAN
  {
    if (!tdefl_compress_normal(d))
      return d->m_prev_return_status;
  }

  if ((d->m_flags & (TDEFL_WRITE_ZLIB_HEADER | TDEFL_COMPUTE_ADLER32)) && (pIn_buf))
    d->m_adler32 = (mz_uint32)mz_adler32(d->m_adler32, (const mz_uint8 *)pIn_buf, d->m_pSrc - (const mz_uint8 *)pIn_buf);

  if ((flush) && (!d->m_lookahead_size) && (!d->m_src_buf_left) && (!d->m_output_flush_remaining))
  {
    if (tdefl_flush_block(d, flush) < 0)
      return d->m_prev_return_status;
    d->m_finished = (flush == TDEFL_FINISH);
    if (flush == TDEFL_FULL_FLUSH) { MZ_CLEAR_OBJ(d->m_hash); MZ_CLEAR_OBJ(d->m_next); d->m_dict_size = 0; }
  }

  return (d->m_prev_return_status = tdefl_flush_output_buffer(d));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
testq %rdi, %rdi
je 0x2484c
movl %r9d, %r13d
movq %rsi, %r12
movq %rdi, %rbx
movq %rsi, 0x88(%rdi)
movq %rdx, 0x98(%rdi)
movq %rcx, 0x90(%rdi)
movq %r8, 0xa0(%rdi)
movq %rsi, 0xb0(%rdi)
testq %rdx, %rdx
je 0x24863
movq (%rdx), %r15
jmp 0x24866
testq %rdx, %rdx
je 0x24855
andq $0x0, (%rdx)
pushq $-0x2
popq %rax
testq %r8, %r8
je 0x248d3
andq $0x0, (%r8)
jmp 0x248d3
xorl %r15d, %r15d
movq %r15, 0xb8(%rbx)
andq $0x0, 0xc0(%rbx)
movl %r13d, 0xa8(%rbx)
movq %rcx, %rax
orq %r8, %rax
setne %al
cmpq $0x0, (%rbx)
sete %sil
xorb %al, %sil
jne 0x248b4
cmpl $0x0, 0x84(%rbx)
jne 0x248b4
movl 0x80(%rbx), %eax
testl %eax, %eax
setne %sil
cmpl $0x4, %r13d
setne %dil
testb %sil, %dil
je 0x248e5
testq %rdx, %rdx
je 0x248bd
andq $0x0, (%rdx)
testq %r8, %r8
je 0x248c6
andq $0x0, (%r8)
movl $0xfffffffe, 0x84(%rbx) # imm = 0xFFFFFFFE
pushq $-0x2
popq %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %rdx, %rdx
je 0x248f5
testq %r12, %r12
jne 0x248f5
cmpq $0x0, (%rdx)
jne 0x248b9
testq %r8, %r8
je 0x24905
testq %rcx, %rcx
jne 0x24905
cmpq $0x0, (%r8)
jne 0x248b4
xorl %ecx, %ecx
cmpl $0x4, %r13d
sete %cl
movl %ecx, 0x94(%rsp)
orl %ecx, %eax
movl %eax, 0x80(%rbx)
cmpl $0x0, 0x74(%rbx)
jne 0x24929
cmpl $0x0, 0x78(%rbx)
je 0x24939
movq %rbx, %rdi
callq 0x259e5
movl %eax, 0x84(%rbx)
jmp 0x248d3
movl $0xb4fff, %eax          # imm = 0xB4FFF
andl 0x10(%rbx), %eax
cmpl $0x4001, %eax           # imm = 0x4001
movl %r13d, 0x1c(%rsp)
movq %r12, 0x60(%rsp)
jne 0x24f04
movl 0x24(%rbx), %ecx
movl 0x28(%rbx), %edx
movl 0x2c(%rbx), %eax
movl %eax, 0x58(%rsp)
movl 0x54(%rbx), %eax
movl %eax, 0x30(%rsp)
movl 0x50(%rbx), %r13d
movq 0x30(%rbx), %r10
movq 0x38(%rbx), %r11
movq %rcx, 0x8(%rsp)
movl %ecx, %r14d
andl $0x7fff, %r14d          # imm = 0x7FFF
leaq 0xc8(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x80c8(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x192a2(%rbx), %rax
movq %rax, 0x78(%rsp)
leaq 0x1c8(%rbx), %rax
movq %rax, 0x70(%rsp)
leaq 0xd0(%rbx), %rax
movq %rax, 0x88(%rsp)
testq %r15, %r15
jne 0x249de
cmpl $0x0, 0xa8(%rbx)
je 0x25919
testl %edx, %edx
je 0x25919
movl %r14d, 0x38(%rsp)
movl $0x1000, %eax           # imm = 0x1000
subl %edx, %eax
cmpq %rax, %r15
movl %r15d, %r8d
cmovael %eax, %r8d
movq 0x8(%rsp), %rax
movq %rdx, 0x80(%rsp)
leal (%rax,%rdx), %r14d
subq %r8, %r15
movq %r15, 0xb8(%rbx)
movl %r8d, %ebp
movl %r13d, 0x40(%rsp)
movq %r11, 0x48(%rsp)
movq %r8, 0x28(%rsp)
testl %ebp, %ebp
je 0x24aae
movq %r10, %r13
andl $0x7fff, %r14d          # imm = 0x7FFF
movl $0x8000, %r15d          # imm = 0x8000
subl %r14d, %r15d
cmpl %ebp, %r15d
cmovael %ebp, %r15d
movl %r14d, %r12d
movq 0x20(%rsp), %rax
leaq (%rax,%r12), %rdi
movq 0xb0(%rbx), %rsi
movq %r15, %rdx
callq 0x3280
cmpl $0x100, %r14d           # imm = 0x100
ja 0x24a8a
addq 0x10(%rsp), %r12
movq 0xb0(%rbx), %rsi
movl $0x101, %edx            # imm = 0x101
subl %r14d, %edx
cmpl %edx, %r15d
cmovbl %r15d, %edx
movq %r12, %rdi
callq 0x3280
addq %r15, 0xb0(%rbx)
addl %r15d, %r14d
subl %r15d, %ebp
movq %r13, %r10
movl 0x40(%rsp), %r13d
movq 0x48(%rsp), %r11
movq 0x28(%rsp), %r8
jmp 0x24a21
addl 0x80(%rsp), %r8d
movl $0x8000, %r15d          # imm = 0x8000
subl %r8d, %r15d
movl 0x58(%rsp), %eax
cmpl %eax, %r15d
cmovael %eax, %r15d
cmpl $0x0, 0xa8(%rbx)
jne 0x24ae0
cmpl $0x1000, %r8d           # imm = 0x1000
jb 0x2590f
movq 0x60(%rsp), %r12
movl 0x38(%rsp), %r14d
cmpl $0x3, %r8d
jbe 0x24e2a
movl %r14d, 0x38(%rsp)
movl %r14d, %r9d
movl 0xc8(%rbx,%r9), %ecx
movl %ecx, %edi
andl $0xffffff, %edi         # imm = 0xFFFFFF
movl %edi, %eax
shrl $0x11, %eax
movl %ecx, %esi
andl $0xfff, %esi            # imm = 0xFFF
xorl %eax, %esi
movzwl 0x292aa(%rbx,%rsi,2), %edx
movq 0x8(%rsp), %rax
movw %ax, 0x292aa(%rbx,%rsi,2)
movl %eax, %esi
subl %edx, %esi
movzwl %si, %ebp
cmpl %ebp, %r15d
jb 0x24c22
movl %edx, %r14d
andl $0x7fff, %r14d          # imm = 0x7FFF
movq %r8, 0x28(%rsp)
movq 0x20(%rsp), %r8
movl (%r8,%r14), %r8d
movl $0xffffff, %eax         # imm = 0xFFFFFF
andl %eax, %r8d
cmpl %edi, %r8d
movq 0x28(%rsp), %r8
jne 0x24c22
movl %ebp, %eax
movq %r11, 0x48(%rsp)
movq %r10, 0x40(%rsp)
movq 0x20(%rsp), %rdi
leaq (%rdi,%r9), %r8
movq 0x70(%rsp), %rdi
addq %r9, %rdi
addq %rbx, %r9
movq 0x88(%rsp), %r10
leaq (%r10,%r14), %rbp
xorl %r12d, %r12d
movzwl 0xca(%r9,%r12), %r10d
movzwl -0x6(%rbp,%r12), %r11d
cmpw %r11w, %r10w
jne 0x24cf2
movzwl 0xcc(%r9,%r12), %r10d
movzwl -0x4(%rbp,%r12), %r11d
cmpw %r11w, %r10w
jne 0x24cff
movzwl 0xce(%r9,%r12), %r10d
movzwl -0x2(%rbp,%r12), %r11d
cmpw %r11w, %r10w
jne 0x24d0c
movzwl 0xd0(%r9,%r12), %r10d
movzwl (%rbp,%r12), %r11d
cmpw %r11w, %r10w
jne 0x24d19
addq $0x8, %r12
cmpl $0x100, %r12d           # imm = 0x100
jne 0x24b9d
movb (%rdi), %r10b
movq 0x70(%rsp), %r9
movb (%r9,%r14), %r11b
movb $0x1, %r9b
jmp 0x24d27
movb %cl, (%r10)
shrb (%r11)
incq %r10
movzbl %cl, %eax
pushq $0x1
popq %rcx
movl %ecx, %edi
movl 0x38(%rsp), %r14d
incw 0x81ca(%rbx,%rax,2)
xorl %eax, %eax
decl %r13d
cmoveq %r10, %r11
sete %cl
pushq $0x8
popq %rdx
cmovel %edx, %r13d
addl %edi, %r15d
movl $0x8000, %edx           # imm = 0x8000
cmpl %edx, %r15d
cmovael %edx, %r15d
subl %edi, %r8d
jb 0x2594a
movb %cl, %al
addq %rax, %r10
addl %edi, 0x30(%rsp)
movq 0x8(%rsp), %rax
addl %edi, %eax
movq %rax, 0x8(%rsp)
addl %edi, %r14d
andl $0x7fff, %r14d          # imm = 0x7FFF
cmpq 0x78(%rsp), %r10
jbe 0x24aea
movl %r13d, %ecx
movl %r14d, %r13d
movq 0x8(%rsp), %rax
movl %eax, 0x24(%rbx)
movq %r8, %rbp
movl %r8d, 0x28(%rbx)
movl %r15d, 0x2c(%rbx)
movl 0x30(%rsp), %eax
movl %eax, 0x54(%rbx)
movq %r10, 0x30(%rbx)
movq %r11, 0x38(%rbx)
movl %ecx, 0x50(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x25a84
testl %eax, %eax
jne 0x2583d
movl 0x54(%rbx), %eax
movl %eax, 0x30(%rsp)
movq 0x30(%rbx), %r10
movq 0x38(%rbx), %r11
movl 0x50(%rbx), %eax
movq %rbp, %r8
movl %r13d, %r14d
movl %eax, %r13d
jmp 0x24aea
leaq (%r12,%r9), %rdi
addq $0xca, %rdi
jmp 0x24d24
leaq (%r12,%r9), %rdi
addq $0xcc, %rdi
jmp 0x24d24
leaq (%r12,%r9), %rdi
addq $0xce, %rdi
jmp 0x24d24
leaq (%r12,%r9), %rdi
addq $0xd0, %rdi
xorl %r9d, %r9d
subl %r8d, %edi
andl $-0x2, %edi
xorl %r8d, %r8d
cmpb %r11b, %r10b
sete %r8b
orl %edi, %r8d
cmpw %dx, 0x8(%rsp)
movl $0x102, %edi            # imm = 0x102
movl $0x0, %r10d
cmovel %r10d, %edi
testb %r9b, %r9b
cmovel %r8d, %edi
cmpl $0x3, %edi
movq 0x60(%rsp), %r12
movl 0x38(%rsp), %r14d
jb 0x24d73
movl %eax, %r9d
cmpw $0x2000, %si            # imm = 0x2000
jb 0x24d98
cmpl $0x3, %edi
jne 0x24d98
movq 0x40(%rsp), %r10
movb %cl, (%r10)
movq 0x48(%rsp), %r11
shrb (%r11)
incq %r10
movzbl %cl, %eax
pushq $0x1
popq %rcx
movl %ecx, %edi
movq 0x28(%rsp), %r8
jmp 0x24c38
cmpw 0x8(%rsp), %dx
movq 0x40(%rsp), %r10
movq 0x48(%rsp), %r11
movq 0x28(%rsp), %r8
je 0x259c6
cmpw $0x8001, %si            # imm = 0x8001
jae 0x259c6
cmpl %r8d, %edi
cmovael %r8d, %edi
decl %r9d
leal -0x3(%rdi), %ecx
movb %cl, (%r10)
movw %r9w, 0x1(%r10)
addq $0x3, %r10
movb (%r11), %dl
shrb %dl
orb $-0x80, %dl
movb %dl, (%r11)
movl %r9d, %edx
andl $0x1ff, %edx            # imm = 0x1FF
leaq 0xb5df(%rip), %rax      # 0x303d0
addq %rax, %rdx
movl %r9d, %esi
shrl $0x8, %esi
leaq 0xb7cf(%rip), %rax      # 0x305d0
addq %rax, %rsi
cmpl $0x200, %r9d            # imm = 0x200
cmovbq %rdx, %rsi
movzbl (%rsi), %eax
incw 0x840a(%rbx,%rax,2)
leaq 0xb82f(%rip), %rax      # 0x30650
movzwl (%rax,%rcx,2), %eax
jmp 0x24c38
decl %r8d
movl 0x30(%rsp), %edx
cmpl $-0x1, %r8d
je 0x24eed
movl %r14d, %eax
movzbl 0xc8(%rbx,%rax), %eax
movb %al, (%r10)
shrb (%r11)
incl %edx
leaq 0x1(%r10), %rcx
decl %r13d
addq $0x2, %r10
testl %r13d, %r13d
cmoveq %rcx, %r11
cmovneq %rcx, %r10
pushq $0x8
popq %rcx
cmovel %ecx, %r13d
incw 0x81ca(%rbx,%rax,2)
movq 0x8(%rsp), %rax
incl %eax
movq %rax, 0x8(%rsp)
incl %r15d
movl $0x8000, %eax           # imm = 0x8000
cmpl %eax, %r15d
cmovael %eax, %r15d
cmpq 0x78(%rsp), %r10
jbe 0x24edb
movq 0x8(%rsp), %rax
movl %eax, 0x24(%rbx)
movq %r8, %rbp
movl %r8d, 0x28(%rbx)
movl %r15d, 0x2c(%rbx)
movl %edx, 0x54(%rbx)
movq %r10, 0x30(%rbx)
movq %r11, 0x38(%rbx)
movl %r13d, 0x50(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x25a84
testl %eax, %eax
jne 0x2583d
movl 0x54(%rbx), %edx
movq 0x30(%rbx), %r10
movq 0x38(%rbx), %r11
movl 0x50(%rbx), %r13d
movq %rbp, %r8
incl %r14d
andl $0x7fff, %r14d          # imm = 0x7FFF
decl %r8d
jmp 0x24e31
movl %r15d, 0x58(%rsp)
movl %edx, 0x30(%rsp)
movq 0xb8(%rbx), %r15
xorl %edx, %edx
jmp 0x249c4
movq %r12, %rax
leaq 0xc8(%rbx), %r12
leaq 0x92aa(%rbx), %rcx
movq %rcx, 0x70(%rsp)
leaq 0x192a2(%rbx), %rcx
movq %rcx, 0x30(%rsp)
leaq 0xd0(%rbx), %rcx
movq %rcx, 0x80(%rsp)
movq %rax, 0x8(%rsp)
testq %r15, %r15
je 0x24f49
movl 0x28(%rbx), %ecx
movq 0x8(%rsp), %rax
jmp 0x24f62
testl %r13d, %r13d
je 0x2585a
movl 0x28(%rbx), %ecx
testl %ecx, %ecx
movq 0x8(%rsp), %rax
je 0x25864
movl 0x2c(%rbx), %esi
leal (%rsi,%rcx), %edx
cmpl $0x1, %edx
movq %rsi, 0x20(%rsp)
jbe 0x25037
movl 0x24(%rbx), %esi
leal (%rsi,%rcx), %edx
addl $-0x2, %edx
leal (%rsi,%rcx), %edi
decl %edi
addl %ecx, %esi
movl %edx, %r8d
movl $0x7fff, %r9d           # imm = 0x7FFF
andl %r9d, %r8d
movzbl 0xc8(%rbx,%r8), %r8d
shll $0x5, %r8d
andl %r9d, %edi
movzbl 0xc8(%rbx,%rdi), %edi
xorl %r8d, %edi
movl $0x102, %r8d            # imm = 0x102
subl %ecx, %r8d
cmpq %r8, %r15
movl %r15d, %r9d
cmovael %r8d, %r9d
leaq (%rax,%r9), %r10
movl %r9d, %r8d
addl %ecx, %r8d
movl %r8d, 0x28(%rbx)
xorl %ecx, %ecx
cmpq %rcx, %r9
je 0x25128
andl $0x7fff, %esi           # imm = 0x7FFF
movb (%rax,%rcx), %r11b
movb %r11b, (%r12,%rsi)
cmpl $0x100, %esi            # imm = 0x100
ja 0x24ffa
movl %esi, %r14d
movb %r11b, 0x8000(%r12,%r14)
movzbl %r11b, %r11d
shll $0x5, %edi
andl $0x7fe0, %edi           # imm = 0x7FE0
xorl %r11d, %edi
movzwl 0x292aa(%rbx,%rdi,2), %r11d
movl %edx, %r14d
andl $0x7fff, %r14d          # imm = 0x7FFF
movw %r11w, 0x192aa(%rbx,%r14,2)
movw %dx, 0x292aa(%rbx,%rdi,2)
incl %esi
incl %edx
incq %rcx
jmp 0x24fd0
movl %ecx, %edi
leal (%rcx,%rsi), %r8d
incl %r8d
leal -0x2(%rcx), %edx
movq %rdx, 0x28(%rsp)
xorl %edx, %edx
movq %r15, %rsi
cmpq %rdx, %r15
je 0x25130
leaq (%rdi,%rdx), %r10
cmpl $0x101, %r10d           # imm = 0x101
ja 0x25132
movb (%rax,%rdx), %r11b
movl 0x24(%rbx), %r10d
leal (%rdi,%rdx), %r14d
addl %r10d, %r14d
andl $0x7fff, %r14d          # imm = 0x7FFF
movb %r11b, 0xc8(%rbx,%r14)
cmpl $0x100, %r14d           # imm = 0x100
ja 0x25099
movl %r14d, %r14d
movb %r11b, 0x8000(%r12,%r14)
leal (%rdi,%rdx), %ebp
incl %ebp
movl %ebp, 0x28(%rbx)
leal (%r8,%rdx), %ebp
cmpl $0x3, %ebp
jb 0x2511d
movzbl %r11b, %r11d
movq 0x28(%rsp), %rax
leal (%rax,%rdx), %r14d
addl %r10d, %r14d
movl $0x7fff, %r9d           # imm = 0x7FFF
andl %r9d, %r14d
movzbl 0xc8(%rbx,%r14), %ebp
leal (%rdi,%rdx), %eax
leal (%r10,%rax), %r13d
decl %r13d
andl %r9d, %r13d
movzbl 0xc8(%rbx,%r13), %r13d
shll $0x5, %r13d
andl $0x1f, %ebp
shll $0xa, %ebp
xorl %r13d, %r11d
movl 0x1c(%rsp), %r13d
xorl %ebp, %r11d
movzwl 0x292aa(%rbx,%r11,2), %ebp
movw %bp, 0x192aa(%rbx,%r14,2)
addl %r10d, %eax
addl $-0x2, %eax
movw %ax, 0x292aa(%rbx,%r11,2)
movq 0x8(%rsp), %rax
incq %rdx
decq %rsi
jmp 0x2504d
subq %r9, %r15
movq %r10, %rax
jmp 0x2513d
xorl %esi, %esi
addl %edx, %ecx
addq %rdx, %rax
movl %ecx, %r8d
movq %rsi, %r15
movl $0x8000, %r10d          # imm = 0x8000
subl %r8d, %r10d
movq 0x20(%rsp), %rcx
cmpl %ecx, %r10d
cmovael %ecx, %r10d
movl %r10d, 0x2c(%rbx)
testl %r13d, %r13d
jne 0x25168
cmpl $0x102, %r8d            # imm = 0x102
jb 0x25867
movq %rax, 0x8(%rsp)
movl 0x68(%rbx), %ecx
testl %ecx, %ecx
movl %ecx, %eax
pushq $0x2
popq %rdx
cmovel %edx, %eax
movl 0x10(%rbx), %esi
movl 0x24(%rbx), %r9d
movl %r9d, %ebp
andl $0x7fff, %ebp           # imm = 0x7FFF
testl $0x90000, %esi          # imm = 0x90000
movl %esi, 0x28(%rsp)
je 0x251ef
testl %r10d, %r10d
sete %dl
shrl $0x13, %esi
andl $0x1, %esi
orb %dl, %sil
jne 0x2545e
movl %r8d, %eax
leal -0x1(%r9), %edx
movl $0x7fff, %esi           # imm = 0x7FFF
andl %esi, %edx
movb (%r12,%rdx), %dl
andl %esi, %r9d
xorl %esi, %esi
cmpq %rsi, %rax
je 0x251d8
leal (%r9,%rsi), %edi
incq %rsi
cmpb %dl, (%r12,%rdi)
je 0x251c2
decl %esi
movl %esi, %eax
xorl %r9d, %r9d
cmpl $0x3, %eax
setae %r9b
movl $0x0, %edx
cmovbl %edx, %eax
jmp 0x25468
cmpl $0x103, %r8d            # imm = 0x103
jae 0x259a7
cmpl %r8d, %eax
jae 0x2545e
leaq (%r12,%rbp), %rdx
movq %rdx, 0x88(%rsp)
movzwl (%r12,%rbp), %edx
movw %dx, 0x78(%rsp)
xorl %edx, %edx
cmpl $0x20, %eax
setae %dl
movl 0x14(%rbx,%rdx,4), %r11d
leal -0x1(%rbp), %edx
movq %rdx, 0x58(%rsp)
leal -0x1(%rbp,%rax), %esi
leaq (%rbx,%rbp), %rdx
movq %rdx, 0x40(%rsp)
movq $0x0, 0x10(%rsp)
movl %ebp, %edx
movl %esi, %esi
movzwl (%r12,%rsi), %esi
movw %si, 0x20(%rsp)
leal -0x1(%rax), %esi
movq %rsi, 0x38(%rsp)
decl %r11d
movl %r11d, %esi
subl $0x1, %esi
jb 0x25463
movl %edx, %edx
movzwl 0x192aa(%rbx,%rdx,2), %edx
testl %edx, %edx
je 0x25463
movl %r9d, %edi
subl %edx, %edi
movzwl %di, %edi
cmpl %edi, %r10d
jb 0x25463
movl %r11d, 0x48(%rsp)
andl $0x7fff, %edx           # imm = 0x7FFF
movq 0x38(%rsp), %r11
addl %edx, %r11d
movzwl 0x20(%rsp), %r14d
cmpw %r14w, (%r12,%r11)
je 0x25326
movzwl 0x192aa(%rbx,%rdx,2), %edx
testl %edx, %edx
je 0x25463
movl %r9d, %edi
subl %edx, %edi
movzwl %di, %edi
cmpl %edi, %r10d
jb 0x25463
andl $0x7fff, %edx           # imm = 0x7FFF
movq 0x38(%rsp), %r11
addl %edx, %r11d
movzwl 0x20(%rsp), %r14d
cmpw %r14w, (%r12,%r11)
je 0x25326
movzwl 0x192aa(%rbx,%rdx,2), %edx
testl %edx, %edx
je 0x25463
movl %r9d, %edi
subl %edx, %edi
movzwl %di, %edi
cmpl %edi, %r10d
jb 0x25463
andl $0x7fff, %edx           # imm = 0x7FFF
movq 0x38(%rsp), %r11
addl %edx, %r11d
movzwl 0x20(%rsp), %r14d
cmpw %r14w, (%r12,%r11)
jne 0x2533e
testl %edi, %edi
je 0x25463
movl %edx, %r14d
movzwl 0x78(%rsp), %r11d
cmpw %r11w, (%r12,%r14)
je 0x25346
movl %esi, %r11d
jmp 0x25262
movl %r8d, 0x54(%rsp)
movq %rbp, 0x68(%rsp)
addq 0x80(%rsp), %r14
xorl %r11d, %r11d
movq 0x40(%rsp), %r8
movzwl 0xca(%r8,%r11), %esi
movzwl -0x6(%r14,%r11), %ebp
cmpw %bp, %si
jne 0x253c1
movzwl 0xcc(%r8,%r11), %esi
movzwl -0x4(%r14,%r11), %ebp
cmpw %bp, %si
jne 0x253cd
movzwl 0xce(%r8,%r11), %esi
movzwl -0x2(%r14,%r11), %ebp
cmpw %bp, %si
jne 0x253d9
movzwl 0xd0(%r8,%r11), %esi
movzwl (%r14,%r11), %ebp
cmpw %bp, %si
jne 0x253e5
addq $0x8, %r11
cmpl $0x100, %r11d           # imm = 0x100
jne 0x2535b
jmp 0x2581f
addq %r8, %r11
addq $0xca, %r11
jmp 0x253f4
addq %r8, %r11
addq $0xcc, %r11
jmp 0x253f4
addq %r8, %r11
addq $0xce, %r11
jmp 0x253f4
movq 0x40(%rsp), %r8
addq %r8, %r11
addq $0xd0, %r11
subl 0x88(%rsp), %r11d
andl $-0x2, %r11d
xorl %r14d, %r14d
cmpb %bpl, %sil
sete %r14b
orl %r11d, %r14d
cmpl %eax, %r14d
movq 0x68(%rsp), %rbp
movl 0x48(%rsp), %r11d
movl 0x54(%rsp), %r8d
jbe 0x2525c
cmpl %r8d, %r14d
cmovael %r8d, %r14d
jae 0x25830
movq 0x58(%rsp), %rax
leal (%r14,%rax), %esi
movl %edi, %eax
movq %rax, 0x10(%rsp)
movl %r14d, %eax
movl 0x1c(%rsp), %r13d
movq 0x68(%rsp), %rbp
movl 0x48(%rsp), %r11d
movl 0x54(%rsp), %r8d
jmp 0x25248
xorl %r9d, %r9d
jmp 0x25468
movq 0x10(%rsp), %r9
cmpl $0x3, %eax
sete %dl
cmpl $0x2000, %r9d           # imm = 0x2000
setae %sil
testb %sil, %dl
movl 0x28(%rsp), %edx
jne 0x2549a
cmpl %r9d, %ebp
je 0x2549a
btl $0x11, %edx
jae 0x2555f
cmpl $0x6, %eax
jae 0x2555f
testl %ecx, %ecx
je 0x25731
cmpl $0x3, %ecx
jb 0x25988
movl 0x64(%rbx), %eax
decl %eax
cmpl $0x8000, %eax           # imm = 0x8000
jae 0x25988
addl %ecx, 0x54(%rbx)
addl $-0x3, %ecx
movq 0x30(%rbx), %rdx
movb %cl, (%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 0x2550c
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 0xaeb5(%rip), %rdi      # 0x303d0
addq %rdi, %rsi
leaq 0xb0ab(%rip), %rdi      # 0x305d0
addq %rdi, %rdx
cmpl $0x200, %eax            # imm = 0x200
cmovbq %rsi, %rdx
movzbl (%rdx), %eax
incw 0x840a(%rbx,%rax,2)
movl %ecx, %eax
leaq 0xb10b(%rip), %rcx      # 0x30650
movzwl (%rcx,%rax,2), %eax
incw 0x81ca(%rbx,%rax,2)
movl 0x68(%rbx), %eax
decl %eax
andl $0x0, 0x68(%rbx)
jmp 0x25777
testl %ecx, %ecx
je 0x2566b
cmpl %ecx, %eax
jbe 0x254a2
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 0x255a5
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
jb 0x25808
decl %r9d
cmpl $0x8000, %r9d           # imm = 0x8000
jae 0x25988
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 0x2561e
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 0xada2(%rip), %rdi      # 0x303d0
addq %rdi, %rsi
leaq 0xaf98(%rip), %rdi      # 0x305d0
addq %rdi, %rdx
cmpl $0x200, %r9d            # imm = 0x200
cmovbq %rsi, %rdx
movzbl (%rdx), %edx
incw 0x840a(%rbx,%rdx,2)
movl %ecx, %ecx
leaq 0xaff6(%rip), %rdx      # 0x30650
movzwl (%rdx,%rcx,2), %ecx
incw 0x81ca(%rbx,%rcx,2)
jmp 0x25556
testl %r9d, %r9d
je 0x25731
cmpl $0x0, 0x1c(%rbx)
je 0x257f3
cmpl $0x8000, %r9d           # imm = 0x8000
ja 0x25988
cmpl $0x2, %eax
jbe 0x25988
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 0x256ea
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 0xacd9(%rip), %rdi      # 0x303d0
addq %rdi, %rdx
leaq 0xaecf(%rip), %rdi      # 0x305d0
addq %rdi, %rsi
cmpl $0x201, %r9d            # imm = 0x201
cmovbq %rdx, %rsi
movzbl (%rsi), %edx
incw 0x840a(%rbx,%rdx,2)
movl %ecx, %ecx
leaq 0xaf2d(%rip), %rdx      # 0x30650
movzwl (%rdx,%rcx,2), %ecx
incw 0x81ca(%rbx,%rcx,2)
jmp 0x25777
movzbl 0xc8(%rbx,%rbp), %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 0x2576c
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)
pushq $0x1
popq %rax
addl %eax, 0x24(%rbx)
movl 0x28(%rbx), %ecx
subl %eax, %ecx
jb 0x25969
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 0x30(%rsp), %rax
jbe 0x257ca
movq 0x8(%rsp), %rax
movq %rax, 0xb0(%rbx)
movq %r15, 0xb8(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x25a84
testl %eax, %eax
je 0x24f3a
jmp 0x25848
movl 0x54(%rbx), %ecx
cmpl $0x7c01, %ecx           # imm = 0x7C01
jb 0x24f3a
subl 0x70(%rsp), %eax
imull $0x73, %eax, %eax
shrl $0x7, %eax
cmpl %ecx, %eax
jae 0x257a3
testb $0x8, 0x12(%rbx)
je 0x24f3a
jmp 0x257a3
btl $0x10, %edx
jb 0x2567e
cmpl $0x80, %eax
jae 0x2567e
movzbl 0xc8(%rbx,%rbp), %ecx
movl %ecx, 0x6c(%rbx)
movl %r9d, 0x64(%rbx)
movl %eax, 0x68(%rbx)
jmp 0x25774
movl %edi, %r9d
movl 0x54(%rsp), %eax
movq 0x68(%rsp), %rbp
jmp 0x25468
movl %edi, %r9d
movl %r14d, %eax
movl 0x1c(%rsp), %r13d
jmp 0x25826
testl %eax, %eax
movl 0x1c(%rsp), %r13d
jns 0x2587a
jmp 0x2584f
movq 0x60(%rsp), %r12
jns 0x2587a
movl 0x84(%rbx), %eax
jmp 0x248d3
xorl %r15d, %r15d
movq 0x8(%rsp), %rax
jmp 0x25867
xorl %r15d, %r15d
movq %rax, 0xb0(%rbx)
movq %r15, 0xb8(%rbx)
movq 0x60(%rsp), %r12
testq %r12, %r12
je 0x258a1
movl $0x3000, %eax           # imm = 0x3000
andl 0x10(%rbx), %eax
je 0x258a1
movl 0x20(%rbx), %edi
movq 0xb0(%rbx), %rdx
subq %r12, %rdx
movq %r12, %rsi
callq 0x24710
movl %eax, 0x20(%rbx)
testl %r13d, %r13d
je 0x24929
cmpl $0x0, 0x28(%rbx)
jne 0x24929
cmpq $0x0, 0xb8(%rbx)
jne 0x24929
cmpl $0x0, 0x74(%rbx)
jne 0x24929
movq %rbx, %rdi
movl %r13d, %esi
callq 0x25a84
testl %eax, %eax
js 0x2584f
movl 0x94(%rsp), %eax
movl %eax, 0x78(%rbx)
cmpl $0x3, %r13d
jne 0x24929
leaq 0x192aa(%rbx), %rdi
andl $0x0, 0x2c(%rbx)
movl $0x20000, %edx          # imm = 0x20000
xorl %esi, %esi
callq 0x3170
jmp 0x24929
movl %r8d, %edx
movq 0x60(%rsp), %r12
jmp 0x2591e
movl 0x58(%rsp), %r15d
movq 0x8(%rsp), %rax
movl %eax, 0x24(%rbx)
movl %edx, 0x28(%rbx)
movl %r15d, 0x2c(%rbx)
movl 0x30(%rsp), %eax
movl %eax, 0x54(%rbx)
movq %r10, 0x30(%rbx)
movq %r11, 0x38(%rbx)
movl %r13d, 0x50(%rbx)
movl 0x1c(%rsp), %r13d
jmp 0x2587a
leaq 0xa75d(%rip), %rdi      # 0x300ae
leaq 0xa64f(%rip), %rsi      # 0x2ffa7
leaq 0xa71f(%rip), %rcx      # 0x3007e
movl $0x3bd, %edx            # imm = 0x3BD
callq 0x3200
leaq 0xa75e(%rip), %rdi      # 0x300ce
leaq 0xa630(%rip), %rsi      # 0x2ffa7
leaq 0xa773(%rip), %rcx      # 0x300f1
movl $0x46f, %edx            # imm = 0x46F
callq 0x3200
leaq 0xa814(%rip), %rdi      # 0x301a3
leaq 0xa611(%rip), %rsi      # 0x2ffa7
leaq 0xa864(%rip), %rcx      # 0x30201
movl $0x3f9, %edx            # imm = 0x3F9
callq 0x3200
leaq 0xa775(%rip), %rdi      # 0x30123
leaq 0xa5f2(%rip), %rsi      # 0x2ffa7
leaq 0xa78c(%rip), %rcx      # 0x30148
movl $0x329, %edx            # imm = 0x329
callq 0x3200
leaq 0xa647(%rip), %rdi      # 0x30014
leaq 0xa5d3(%rip), %rsi      # 0x2ffa7
leaq 0xa6a3(%rip), %rcx      # 0x3007e
movl $0x3a0, %edx            # imm = 0x3A0
callq 0x3200