// File: /workspace/github_c_makefile_star2_O2/wkoszek[P]mini_gzip/miniz.c
// Function: tinfl_decompress
tinfl_status tinfl_decompress(tinfl_decompressor *r, const mz_uint8 *pIn_buf_next, size_t *pIn_buf_size, mz_uint8 *pOut_buf_start, mz_uint8 *pOut_buf_next, size_t *pOut_buf_size, const mz_uint32 decomp_flags)
{
  static const int s_length_base[31] = { 3,4,5,6,7,8,9,10,11,13, 15,17,19,23,27,31,35,43,51,59, 67,83,99,115,131,163,195,227,258,0,0 };
  static const int s_length_extra[31]= { 0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0 };
  static const int s_dist_base[32] = { 1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193, 257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0};
  static const int s_dist_extra[32] = { 0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13};
  static const mz_uint8 s_length_dezigzag[19] = { 16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15 };
  static const int s_min_table_sizes[3] = { 257, 1, 4 };

  tinfl_status status = TINFL_STATUS_FAILED; mz_uint32 num_bits, dist, counter, num_extra; tinfl_bit_buf_t bit_buf;
  const mz_uint8 *pIn_buf_cur = pIn_buf_next, *const pIn_buf_end = pIn_buf_next + *pIn_buf_size;
  mz_uint8 *pOut_buf_cur = pOut_buf_next, *const pOut_buf_end = pOut_buf_next + *pOut_buf_size;
  size_t out_buf_size_mask = (decomp_flags & TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF) ? (size_t)-1 : ((pOut_buf_next - pOut_buf_start) + *pOut_buf_size) - 1, dist_from_out_buf_start;

  // Ensure the output buffer's size is a power of 2, unless the output buffer is large enough to hold the entire output file (in which case it doesn't matter).
  if (((out_buf_size_mask + 1) & out_buf_size_mask) || (pOut_buf_next < pOut_buf_start)) { *pIn_buf_size = *pOut_buf_size = 0; return TINFL_STATUS_BAD_PARAM; }

  num_bits = r->m_num_bits; bit_buf = r->m_bit_buf; dist = r->m_dist; counter = r->m_counter; num_extra = r->m_num_extra; dist_from_out_buf_start = r->m_dist_from_out_buf_start;
  TINFL_CR_BEGIN

  bit_buf = num_bits = dist = counter = num_extra = r->m_zhdr0 = r->m_zhdr1 = 0; r->m_z_adler32 = r->m_check_adler32 = 1;
  if (decomp_flags & TINFL_FLAG_PARSE_ZLIB_HEADER)
  {
    TINFL_GET_BYTE(1, r->m_zhdr0); TINFL_GET_BYTE(2, r->m_zhdr1);
    counter = (((r->m_zhdr0 * 256 + r->m_zhdr1) % 31 != 0) || (r->m_zhdr1 & 32) || ((r->m_zhdr0 & 15) != 8));
    if (!(decomp_flags & TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF)) counter |= (((1U << (8U + (r->m_zhdr0 >> 4))) > 32768U) || ((out_buf_size_mask + 1) < (size_t)(1U << (8U + (r->m_zhdr0 >> 4)))));
    if (counter) { TINFL_CR_RETURN_FOREVER(36, TINFL_STATUS_FAILED); }
  }

  do
  {
    TINFL_GET_BITS(3, r->m_final, 3); r->m_type = r->m_final >> 1;
    if (r->m_type == 0)
    {
      TINFL_SKIP_BITS(5, num_bits & 7);
      for (counter = 0; counter < 4; ++counter) { if (num_bits) TINFL_GET_BITS(6, r->m_raw_header[counter], 8); else TINFL_GET_BYTE(7, r->m_raw_header[counter]); }
      if ((counter = (r->m_raw_header[0] | (r->m_raw_header[1] << 8))) != (mz_uint)(0xFFFF ^ (r->m_raw_header[2] | (r->m_raw_header[3] << 8)))) { TINFL_CR_RETURN_FOREVER(39, TINFL_STATUS_FAILED); }
      while ((counter) && (num_bits))
      {
        TINFL_GET_BITS(51, dist, 8);
        while (pOut_buf_cur >= pOut_buf_end) { TINFL_CR_RETURN(52, TINFL_STATUS_HAS_MORE_OUTPUT); }
        *pOut_buf_cur++ = (mz_uint8)dist;
        counter--;
      }
      while (counter)
      {
        size_t n; while (pOut_buf_cur >= pOut_buf_end) { TINFL_CR_RETURN(9, TINFL_STATUS_HAS_MORE_OUTPUT); }
        while (pIn_buf_cur >= pIn_buf_end)
        {
          if (decomp_flags & TINFL_FLAG_HAS_MORE_INPUT)
          {
            TINFL_CR_RETURN(38, TINFL_STATUS_NEEDS_MORE_INPUT);
          }
          else
          {
            TINFL_CR_RETURN_FOREVER(40, TINFL_STATUS_FAILED);
          }
        }
        n = MZ_MIN(MZ_MIN((size_t)(pOut_buf_end - pOut_buf_cur), (size_t)(pIn_buf_end - pIn_buf_cur)), counter);
        TINFL_MEMCPY(pOut_buf_cur, pIn_buf_cur, n); pIn_buf_cur += n; pOut_buf_cur += n; counter -= (mz_uint)n;
      }
    }
    else if (r->m_type == 3)
    {
      TINFL_CR_RETURN_FOREVER(10, TINFL_STATUS_FAILED);
    }
    else
    {
      if (r->m_type == 1)
      {
        mz_uint8 *p = r->m_tables[0].m_code_size; mz_uint i;
        r->m_table_sizes[0] = 288; r->m_table_sizes[1] = 32; TINFL_MEMSET(r->m_tables[1].m_code_size, 5, 32);
        for ( i = 0; i <= 143; ++i) *p++ = 8; for ( ; i <= 255; ++i) *p++ = 9; for ( ; i <= 279; ++i) *p++ = 7; for ( ; i <= 287; ++i) *p++ = 8;
      }
      else
      {
        for (counter = 0; counter < 3; counter++) { TINFL_GET_BITS(11, r->m_table_sizes[counter], "\05\05\04"[counter]); r->m_table_sizes[counter] += s_min_table_sizes[counter]; }
        MZ_CLEAR_OBJ(r->m_tables[2].m_code_size); for (counter = 0; counter < r->m_table_sizes[2]; counter++) { mz_uint s; TINFL_GET_BITS(14, s, 3); r->m_tables[2].m_code_size[s_length_dezigzag[counter]] = (mz_uint8)s; }
        r->m_table_sizes[2] = 19;
      }
      for ( ; (int)r->m_type >= 0; r->m_type--)
      {
        int tree_next, tree_cur; tinfl_huff_table *pTable;
        mz_uint i, j, used_syms, total, sym_index, next_code[17], total_syms[16]; pTable = &r->m_tables[r->m_type]; MZ_CLEAR_OBJ(total_syms); MZ_CLEAR_OBJ(pTable->m_look_up); MZ_CLEAR_OBJ(pTable->m_tree);
        for (i = 0; i < r->m_table_sizes[r->m_type]; ++i) total_syms[pTable->m_code_size[i]]++;
        used_syms = 0, total = 0; next_code[0] = next_code[1] = 0;
        for (i = 1; i <= 15; ++i) { used_syms += total_syms[i]; next_code[i + 1] = (total = ((total + total_syms[i]) << 1)); }
        if ((65536 != total) && (used_syms > 1))
        {
          TINFL_CR_RETURN_FOREVER(35, TINFL_STATUS_FAILED);
        }
        for (tree_next = -1, sym_index = 0; sym_index < r->m_table_sizes[r->m_type]; ++sym_index)
        {
          mz_uint rev_code = 0, l, cur_code, code_size = pTable->m_code_size[sym_index]; if (!code_size) continue;
          cur_code = next_code[code_size]++; for (l = code_size; l > 0; l--, cur_code >>= 1) rev_code = (rev_code << 1) | (cur_code & 1);
          if (code_size <= TINFL_FAST_LOOKUP_BITS) { mz_int16 k = (mz_int16)((code_size << 9) | sym_index); while (rev_code < TINFL_FAST_LOOKUP_SIZE) { pTable->m_look_up[rev_code] = k; rev_code += (1 << code_size); } continue; }
          if (0 == (tree_cur = pTable->m_look_up[rev_code & (TINFL_FAST_LOOKUP_SIZE - 1)])) { pTable->m_look_up[rev_code & (TINFL_FAST_LOOKUP_SIZE - 1)] = (mz_int16)tree_next; tree_cur = tree_next; tree_next -= 2; }
          rev_code >>= (TINFL_FAST_LOOKUP_BITS - 1);
          for (j = code_size; j > (TINFL_FAST_LOOKUP_BITS + 1); j--)
          {
            tree_cur -= ((rev_code >>= 1) & 1);
            if (!pTable->m_tree[-tree_cur - 1]) { pTable->m_tree[-tree_cur - 1] = (mz_int16)tree_next; tree_cur = tree_next; tree_next -= 2; } else tree_cur = pTable->m_tree[-tree_cur - 1];
          }
          tree_cur -= ((rev_code >>= 1) & 1); pTable->m_tree[-tree_cur - 1] = (mz_int16)sym_index;
        }
        if (r->m_type == 2)
        {
          for (counter = 0; counter < (r->m_table_sizes[0] + r->m_table_sizes[1]); )
          {
            mz_uint s; TINFL_HUFF_DECODE(16, dist, &r->m_tables[2]); if (dist < 16) { r->m_len_codes[counter++] = (mz_uint8)dist; continue; }
            if ((dist == 16) && (!counter))
            {
              TINFL_CR_RETURN_FOREVER(17, TINFL_STATUS_FAILED);
            }
            num_extra = "\02\03\07"[dist - 16]; TINFL_GET_BITS(18, s, num_extra); s += "\03\03\013"[dist - 16];
            TINFL_MEMSET(r->m_len_codes + counter, (dist == 16) ? r->m_len_codes[counter - 1] : 0, s); counter += s;
          }
          if ((r->m_table_sizes[0] + r->m_table_sizes[1]) != counter)
          {
            TINFL_CR_RETURN_FOREVER(21, TINFL_STATUS_FAILED);
          }
          TINFL_MEMCPY(r->m_tables[0].m_code_size, r->m_len_codes, r->m_table_sizes[0]); TINFL_MEMCPY(r->m_tables[1].m_code_size, r->m_len_codes + r->m_table_sizes[0], r->m_table_sizes[1]);
        }
      }
      for ( ; ; )
      {
        mz_uint8 *pSrc;
        for ( ; ; )
        {
          if (((pIn_buf_end - pIn_buf_cur) < 4) || ((pOut_buf_end - pOut_buf_cur) < 2))
          {
            TINFL_HUFF_DECODE(23, counter, &r->m_tables[0]);
            if (counter >= 256)
              break;
            while (pOut_buf_cur >= pOut_buf_end) { TINFL_CR_RETURN(24, TINFL_STATUS_HAS_MORE_OUTPUT); }
            *pOut_buf_cur++ = (mz_uint8)counter;
          }
          else
          {
            int sym2; mz_uint code_len;
#if TINFL_USE_64BIT_BITBUF
            if (num_bits < 30) { bit_buf |= (((tinfl_bit_buf_t)MZ_READ_LE32(pIn_buf_cur)) << num_bits); pIn_buf_cur += 4; num_bits += 32; }
#else
            if (num_bits < 15) { bit_buf |= (((tinfl_bit_buf_t)MZ_READ_LE16(pIn_buf_cur)) << num_bits); pIn_buf_cur += 2; num_bits += 16; }
#endif
            if ((sym2 = r->m_tables[0].m_look_up[bit_buf & (TINFL_FAST_LOOKUP_SIZE - 1)]) >= 0)
              code_len = sym2 >> 9;
            else
            {
              code_len = TINFL_FAST_LOOKUP_BITS; do { sym2 = r->m_tables[0].m_tree[~sym2 + ((bit_buf >> code_len++) & 1)]; } while (sym2 < 0);
            }
            counter = sym2; bit_buf >>= code_len; num_bits -= code_len;
            if (counter & 256)
              break;

#if !TINFL_USE_64BIT_BITBUF
            if (num_bits < 15) { bit_buf |= (((tinfl_bit_buf_t)MZ_READ_LE16(pIn_buf_cur)) << num_bits); pIn_buf_cur += 2; num_bits += 16; }
#endif
            if ((sym2 = r->m_tables[0].m_look_up[bit_buf & (TINFL_FAST_LOOKUP_SIZE - 1)]) >= 0)
              code_len = sym2 >> 9;
            else
            {
              code_len = TINFL_FAST_LOOKUP_BITS; do { sym2 = r->m_tables[0].m_tree[~sym2 + ((bit_buf >> code_len++) & 1)]; } while (sym2 < 0);
            }
            bit_buf >>= code_len; num_bits -= code_len;

            pOut_buf_cur[0] = (mz_uint8)counter;
            if (sym2 & 256)
            {
              pOut_buf_cur++;
              counter = sym2;
              break;
            }
            pOut_buf_cur[1] = (mz_uint8)sym2;
            pOut_buf_cur += 2;
          }
        }
        if ((counter &= 511) == 256) break;

        num_extra = s_length_extra[counter - 257]; counter = s_length_base[counter - 257];
        if (num_extra) { mz_uint extra_bits; TINFL_GET_BITS(25, extra_bits, num_extra); counter += extra_bits; }

        TINFL_HUFF_DECODE(26, dist, &r->m_tables[1]);
        num_extra = s_dist_extra[dist]; dist = s_dist_base[dist];
        if (num_extra) { mz_uint extra_bits; TINFL_GET_BITS(27, extra_bits, num_extra); dist += extra_bits; }

        dist_from_out_buf_start = pOut_buf_cur - pOut_buf_start;
        if ((dist > dist_from_out_buf_start) && (decomp_flags & TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF))
        {
          TINFL_CR_RETURN_FOREVER(37, TINFL_STATUS_FAILED);
        }

        pSrc = pOut_buf_start + ((dist_from_out_buf_start - dist) & out_buf_size_mask);

        if ((MZ_MAX(pOut_buf_cur, pSrc) + counter) > pOut_buf_end)
        {
          while (counter--)
          {
            while (pOut_buf_cur >= pOut_buf_end) { TINFL_CR_RETURN(53, TINFL_STATUS_HAS_MORE_OUTPUT); }
            *pOut_buf_cur++ = pOut_buf_start[(dist_from_out_buf_start++ - dist) & out_buf_size_mask];
          }
          continue;
        }
#if MINIZ_USE_UNALIGNED_LOADS_AND_STORES
        else if ((counter >= 9) && (counter <= dist))
        {
          const mz_uint8 *pSrc_end = pSrc + (counter & ~7);
          do
          {
            ((mz_uint32 *)pOut_buf_cur)[0] = ((const mz_uint32 *)pSrc)[0];
            ((mz_uint32 *)pOut_buf_cur)[1] = ((const mz_uint32 *)pSrc)[1];
            pOut_buf_cur += 8;
          } while ((pSrc += 8) < pSrc_end);
          if ((counter &= 7) < 3)
          {
            if (counter)
            {
              pOut_buf_cur[0] = pSrc[0];
              if (counter > 1)
                pOut_buf_cur[1] = pSrc[1];
              pOut_buf_cur += counter;
            }
            continue;
          }
        }
#endif
        do
        {
          pOut_buf_cur[0] = pSrc[0];
          pOut_buf_cur[1] = pSrc[1];
          pOut_buf_cur[2] = pSrc[2];
          pOut_buf_cur += 3; pSrc += 3;
        } while ((int)(counter -= 3) > 2);
        if ((int)counter > 0)
        {
          pOut_buf_cur[0] = pSrc[0];
          if ((int)counter > 1)
            pOut_buf_cur[1] = pSrc[1];
          pOut_buf_cur += counter;
        }
      }
    }
  } while (!(r->m_final & 1));
  if (decomp_flags & TINFL_FLAG_PARSE_ZLIB_HEADER)
  {
    TINFL_SKIP_BITS(32, num_bits & 7); for (counter = 0; counter < 4; ++counter) { mz_uint s; if (num_bits) TINFL_GET_BITS(41, s, 8); else TINFL_GET_BYTE(42, s); r->m_z_adler32 = (r->m_z_adler32 << 8) | s; }
  }
  TINFL_CR_RETURN_FOREVER(34, TINFL_STATUS_DONE);
  TINFL_CR_FINISH

common_exit:
  r->m_num_bits = num_bits; r->m_bit_buf = bit_buf; r->m_dist = dist; r->m_counter = counter; r->m_num_extra = num_extra; r->m_dist_from_out_buf_start = dist_from_out_buf_start;
  *pIn_buf_size = pIn_buf_cur - pIn_buf_next; *pOut_buf_size = pOut_buf_cur - pOut_buf_next;
  if ((decomp_flags & (TINFL_FLAG_PARSE_ZLIB_HEADER | TINFL_FLAG_COMPUTE_ADLER32)) && (status >= 0))
  {
    const mz_uint8 *ptr = pOut_buf_next; size_t buf_len = *pOut_buf_size;
    mz_uint32 i, s1 = r->m_check_adler32 & 0xffff, s2 = r->m_check_adler32 >> 16; size_t block_len = buf_len % 5552;
    while (buf_len)
    {
      for (i = 0; i + 7 < block_len; i += 8, ptr += 8)
      {
        s1 += ptr[0], s2 += s1; s1 += ptr[1], s2 += s1; s1 += ptr[2], s2 += s1; s1 += ptr[3], s2 += s1;
        s1 += ptr[4], s2 += s1; s1 += ptr[5], s2 += s1; s1 += ptr[6], s2 += s1; s1 += ptr[7], s2 += s1;
      }
      for ( ; i < block_len; ++i) s1 += *ptr++, s2 += s1;
      s1 %= 65521U, s2 %= 65521U; buf_len -= block_len; block_len = 5552;
    }
    r->m_check_adler32 = (s2 << 16) + s1; if ((status == TINFL_STATUS_DONE) && (decomp_flags & TINFL_FLAG_PARSE_ZLIB_HEADER) && (r->m_check_adler32 != r->m_z_adler32)) status = TINFL_STATUS_ADLER32_MISMATCH;
  }
  return status;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %r8, %r14
movq %rdx, %r10
movl 0x150(%rsp), %eax
andl $0x4, %eax
xorl %r15d, %r15d
negl %eax
sbbq %r15, %r15
cmpq %rcx, %r8
jb 0x32ab
movq %rcx, %r8
movq (%r9), %rcx
addq %r14, %rcx
movq %r8, %rax
notq %rax
movq %rcx, 0x40(%rsp)
addq %rcx, %rax
orq %rax, %r15
leaq 0x1(%r15), %r11
movq %r11, %rax
andq %r15, %rax
jne 0x32ab
movq %rdi, %rbp
movl (%rdi), %eax
movl 0x4(%rdi), %edi
movq 0x40(%rbp), %r12
movl 0x28(%rbp), %ecx
movq %rcx, 0x28(%rsp)
movl 0x2c(%rbp), %r13d
movl 0x30(%rbp), %ebx
movq 0x48(%rbp), %rcx
movq %rcx, 0x10(%rsp)
pushq $-0x1
popq %rcx
movl %ecx, 0x4c(%rsp)
xorl %edx, %edx
cmpq $0x35, %rax
movq %r9, 0x88(%rsp)
movq %r10, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
ja 0x3762
movq %r15, 0x60(%rsp)
movq %r8, 0x50(%rsp)
movl %ebx, 0xc(%rsp)
movq %rdi, %rbx
movq (%r10), %rcx
leaq (%rsi,%rcx), %rdi
movq %rdi, 0x18(%rsp)
leaq 0x3f68(%rip), %rdi      # 0x71e0
movslq (%rdi,%rax,4), %r8
addq %rdi, %r8
pushq $0x1
popq %r15
jmpq *%r8
movq %rsi, %r10
movq %r14, %r15
xorl %r8d, %r8d
pushq $-0x1
popq %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
jmp 0x49cb
andq $0x0, (%r9)
andq $0x0, (%r10)
pushq $-0x3
popq %rax
jmp 0x4b05
movq %rsi, %r10
movq %r14, %r15
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jmp 0x4962
movq %rsi, %r10
movq %r14, %r15
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rcx
jmp 0x3d28
xorl %ecx, %ecx
movb $0x1, %dl
movq %rsi, %r10
movq %r14, %r15
movb $0x1, %r8b
jmp 0x3292
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jle 0x4195
movzbl (%r10), %r8d
incq %r10
jmp 0x419e
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jle 0x45b5
movzbl (%r10), %r8d
incq %r10
jmp 0x45c2
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jle 0x3c8e
movzbl (%r10), %r8d
incq %r10
jmp 0x3c97
movq %rsi, %rdx
testq %rcx, %rcx
movq %rbx, %rdi
jle 0x3881
movq %rdi, %rbx
movzbl (%rdx), %r8d
incq %rdx
movq %rdx, 0x20(%rsp)
jmp 0x389b
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
jle 0x3ead
movzbl (%r10), %r8d
incq %r10
jmp 0x3eb6
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jle 0x3c4f
movzbl (%r10), %r8d
incq %r10
jmp 0x3c58
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, 0xc(%rbp)
andl $0x0, 0x8(%rbp)
movl $0x1, 0x20(%rbp)
movl 0x150(%rsp), %eax
testb $0x1, %al
jne 0x3717
xorl %r12d, %r12d
movq %rsi, %r10
movq %r14, %r15
xorl %ebx, %ebx
xorl %r13d, %r13d
movq $0x0, 0x28(%rsp)
xorl %edi, %edi
movl 0x150(%rsp), %r11d
jmp 0x3969
testq %rcx, %rcx
jle 0x377d
leaq 0x1(%rsi), %rdx
movzbl (%rsi), %eax
movl %eax, 0x8(%rbp)
movq %rbx, %rdi
jmp 0x3876
testq %rcx, %rcx
jle 0x3789
leaq 0x1(%rsi), %r10
movb (%rsi), %al
movb %al, 0x2930(%rbp,%r13)
movq %r14, %r15
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jmp 0x3c30
movq %rsi, %r10
movq %r14, %r15
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
jmp 0x3d13
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jle 0x3a2a
movzbl (%r10), %r8d
incq %r10
jmp 0x39ae
movq %rsi, %r10
movq %r14, %r15
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jmp 0x4664
testq %rcx, %rcx
jle 0x37ad
leaq 0x1(%rsi), %r10
movzbl (%rsi), %r8d
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
jmp 0x37c8
testq %rcx, %rcx
jle 0x37e9
leaq 0x1(%rsi), %r10
movzbl (%rsi), %r8d
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
jmp 0x3804
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jle 0x49a2
movzbl (%r10), %r8d
incq %r10
jmp 0x49ab
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jle 0x476e
movzbl (%r10), %r8d
incq %r10
jmp 0x477b
testq %rcx, %rcx
jle 0x3825
leaq 0x1(%rsi), %r10
movzbl (%rsi), %r8d
movq %r14, %r15
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jmp 0x3a41
movq %rsi, %r10
movq %r14, %r15
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jmp 0x3ce8
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jle 0x3ab0
movzbl (%r10), %r8d
incq %r10
jmp 0x3a98
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jle 0x4354
movzbl (%r10), %r8d
incq %r10
jmp 0x4361
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jle 0x4819
movzbl (%r10), %r8d
incq %r10
jmp 0x4826
movq %rsi, %r10
movq %r14, %r15
testq %rcx, %rcx
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jle 0x3ddc
movzbl (%r10), %r8d
incq %r10
jmp 0x3de5
testq %rcx, %rcx
jle 0x3849
leaq 0x1(%rsi), %rdx
movzbl (%rsi), %eax
movl %eax, 0x8(%rbp)
xorl %r12d, %r12d
movl $0x0, 0xc(%rsp)
xorl %r13d, %r13d
movq $0x0, 0x28(%rsp)
xorl %edi, %edi
jmp 0x3876
movq %rsi, %r10
movq %r14, %r15
xorl %r8d, %r8d
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
jmp 0x3773
movq %rsi, %r10
movq %r14, %r15
xorl %r8d, %r8d
movl 0x150(%rsp), %r11d
movq 0x10(%rsp), %r9
jmp 0x49d2
movq %rbx, %rdi
movl 0xc(%rsp), %ebx
jmp 0x385c
movq %rsi, %r10
movq %r14, %r15
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jmp 0x3c1f
xorl %r8d, %r8d
movl 0x150(%rsp), %r11d
testb $0x2, %r11b
movq %rbx, %rdi
jne 0x3995
movq %rsi, %r10
movl 0xc(%rsp), %ebx
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
addl $0x8, %edi
movq %r14, %r15
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jmp 0x3b05
xorl %r8d, %r8d
movl 0x150(%rsp), %r11d
testb $0x2, %r11b
movq %rbx, %rdi
jne 0x399b
movq %rsi, %r10
movl 0xc(%rsp), %ebx
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
addl $0x8, %edi
movq %r14, %r15
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jmp 0x46e1
movq %rsi, %r10
movq %r14, %r15
movq %rbx, %rdi
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jmp 0x3a86
xorl %r12d, %r12d
xorl %ebx, %ebx
xorl %r13d, %r13d
movq $0x0, 0x28(%rsp)
xorl %edi, %edi
movl 0x150(%rsp), %eax
testb $0x2, %al
jne 0x3978
movl %ebx, 0xc(%rsp)
andl $0x0, 0x8(%rbp)
movq %rsi, %rdx
cmpq 0x18(%rsp), %rdx
jb 0x33bd
movq %rdx, 0x20(%rsp)
xorl %r8d, %r8d
movl 0x150(%rsp), %eax
testb $0x2, %al
jne 0x392c
movq %rdi, %rbx
movl 0x8(%rbp), %ecx
movl %ecx, %eax
shll $0x8, %eax
orl %r8d, %eax
xorl %r13d, %r13d
pushq $0x1f
popq %rdi
xorl %edx, %edx
divl %edi
movl %r8d, %eax
andl $0x20, %eax
orl %edx, %eax
movl %ecx, %edx
andl $0xf, %edx
xorl $0x8, %edx
orl %eax, %edx
setne %dl
movl %r8d, 0xc(%rbp)
pushq $0x24
popq %rax
movl 0x150(%rsp), %edi
testb $0x4, %dil
jne 0x3914
movl %ecx, %ecx
shrl $0x4, %ecx
movl $0x100, %edi            # imm = 0x100
shlq %cl, %rdi
cmpl $0x8001, %edi           # imm = 0x8001
setae %cl
cmpq %rdi, %r11
setb %sil
orb %dl, %cl
xorl %r13d, %r13d
orb %sil, %cl
je 0x394d
pushq $0x1
popq %r13
xorl %edx, %edx
movq %r14, %r15
xorl %r8d, %r8d
pushq $-0x1
popq %rcx
movq %rbx, %rdi
jmp 0x3937
testb %dl, %dl
movq %rbx, %rdi
je 0x3955
pushq $0x1
popq %r13
xorl %edx, %edx
movq %r14, %r15
xorl %r8d, %r8d
pushq $-0x1
popq %rcx
jmp 0x3937
pushq $0x2
popq %rax
movb $0x1, %dl
movl %r15d, %ecx
movq %r14, %r15
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x20(%rsp), %r10
jmp 0x32a1
movq %r14, %r15
movq %rbx, %rdi
jmp 0x3958
movq %r14, %r15
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x20(%rsp), %r10
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jmp 0x3ae0
movb $0x1, %dl
pushq $0x1
popq %rax
xorl %r8d, %r8d
movq %rsi, %r10
movq %r14, %r15
movl %eax, %ecx
movl 0x150(%rsp), %r11d
jmp 0x32a1
movb $0x1, %dl
pushq $0x5
jmp 0x399f
movb $0x1, %dl
pushq $0x20
popq %rax
movq %rsi, %r10
movl %r15d, %ecx
movq %r14, %r15
jmp 0x329d
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
addl $0x8, %edi
movl %r13d, %r8d
cmpl $0xf, %edi
jae 0x4297
movl %r12d, %eax
andl $0x3ff, %eax            # imm = 0x3FF
movswl 0x1cb0(%rbp,%rax,2), %eax
testl %eax, %eax
js 0x39e8
cmpw $0x200, %ax             # imm = 0x200
jb 0x3a21
shrl $0x9, %eax
cmpl %eax, %edi
jae 0x3a19
jmp 0x3a21
cmpl $0xb, %edi
jb 0x3a21
pushq $0xc
popq %rcx
leal -0x2(%rcx), %edx
notl %eax
cltq
btq %rdx, %r12
adcq $0x0, %rax
movswl 0x24b0(%rbp,%rax,2), %eax
testl %eax, %eax
jns 0x3a14
leal 0x1(%rcx), %edx
cmpl %ecx, %edi
movl %edx, %ecx
jae 0x39f0
testw %ax, %ax
js 0x3a21
movl %r13d, %r8d
jmp 0x4297
cmpq %rsi, %r10
jb 0x3517
xorl %r8d, %r8d
testb $0x2, %r11b
je 0x39ae
movb $0x1, %dl
pushq $0x10
popq %rax
jmp 0x49c8
movl 0x10(%rbp), %eax
shll $0x8, %eax
orl %r8d, %eax
movl %eax, 0x10(%rbp)
incl %r13d
cmpl $0x3, %r13d
ja 0x4655
testl %edi, %edi
je 0x3a74
cmpl $0x7, %edi
jbe 0x4999
movzbl %r12b, %r8d
shrq $0x8, %r12
addl $-0x8, %edi
jmp 0x3a41
xorl %edi, %edi
cmpq %rsi, %r10
jae 0x3a86
movzbl (%r10), %r8d
incq %r10
xorl %edi, %edi
jmp 0x3a41
xorl %r8d, %r8d
testb $0x2, %r11b
je 0x3a41
movb $0x1, %dl
pushq $0x2a
jmp 0x49c7
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
addl $0x8, %edi
cmpl %ebx, %edi
jae 0x3ac2
cmpq %rsi, %r10
jb 0x366f
xorl %r8d, %r8d
testb $0x2, %r11b
je 0x3a98
movb $0x1, %dl
pushq $0x19
jmp 0x49c7
pushq $-0x1
popq %rax
movl %ebx, %ecx
shll %cl, %eax
notl %eax
movl %r12d, %edx
shrq %cl, %r12
andl %eax, %edx
addl %r13d, %edx
subl %ebx, %edi
movl %edx, %r13d
jmp 0x4697
cmpl $0x2, %edi
jbe 0x3c46
movl %r12d, %ecx
andl $0x7, %ecx
movl %ecx, 0x18(%rbp)
shrq $0x3, %r12
addl $-0x3, %edi
movl %ecx, %eax
shrl %eax
movl %eax, 0x1c(%rbp)
cmpl $0x2, %ecx
jae 0x3b18
movl %edi, %ecx
andb $0x7, %cl
shrq %cl, %r12
andl $-0x8, %edi
xorl %r13d, %r13d
jmp 0x3bbc
cmpl $0x1, %eax
je 0x3b2f
xorl %edx, %edx
cmpl $0x3, %eax
jne 0x3e38
pushq $0xa
jmp 0x3c3b
movabsq $0x2000000120, %rax     # imm = 0x2000000120
movq %rax, 0x34(%rbp)
movaps 0x42bc(%rip), %xmm0     # 0x7e00
movups %xmm0, 0xdf0(%rbp)
movups %xmm0, 0xe00(%rbp)
pushq $0x50
popq %rax
cmpl $0xe0, %eax
je 0x3b66
movb $0x8, (%rbp,%rax)
incq %rax
jmp 0x3b55
addq %rbp, %rax
movl $0x90, %ecx
cmpl $0x100, %ecx            # imm = 0x100
je 0x3b80
movb $0x9, (%rax)
incq %rax
incl %ecx
jmp 0x3b6e
xorl %ecx, %ecx
cmpl $0x18, %ecx
je 0x3b90
movb $0x7, (%rax,%rcx)
incq %rcx
jmp 0x3b82
xorl %edx, %edx
cmpl $0x8, %edx
je 0x3ba4
leaq (%rax,%rdx), %rsi
movb $0x8, (%rsi,%rcx)
incq %rdx
jmp 0x3b92
movq %r10, 0x20(%rsp)
movl %ebx, 0xc(%rsp)
movq %r9, 0x10(%rsp)
movq %r12, 0x30(%rsp)
jmp 0x3f2e
cmpl $0x3, %r13d
ja 0x3be3
testl %edi, %edi
je 0x3c04
cmpl $0x7, %edi
jbe 0x3c85
movl %r13d, %eax
movb %r12b, 0x2930(%rbp,%rax)
shrq $0x8, %r12
addl $-0x8, %edi
jmp 0x3c30
movzwl 0x2930(%rbp), %r13d
movzwl 0x2932(%rbp), %eax
xorl %r13d, %eax
cmpl $0xffff, %eax           # imm = 0xFFFF
je 0x3cc6
pushq $0x27
jmp 0x3c77
xorl %edi, %edi
cmpq %rsi, %r10
jae 0x3c1f
movb (%r10), %al
incq %r10
movl %r13d, %ecx
movb %al, 0x2930(%rbp,%rcx)
xorl %edi, %edi
jmp 0x3c30
testb $0x2, %r11b
jne 0x3c35
movl %r13d, %eax
movb $0x0, 0x2930(%rbp,%rax)
incl %r13d
jmp 0x3bbc
movb $0x1, %dl
pushq $0x7
jmp 0x3c7c
popq %rax
xorl %r8d, %r8d
pushq $-0x1
jmp 0x49ca
cmpq %rsi, %r10
jb 0x3428
xorl %r8d, %r8d
testb $0x2, %r11b
jne 0x3c6e
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
addl $0x8, %edi
cmpl $0x3, %edi
jae 0x3ae9
jmp 0x3c46
movb $0x1, %dl
pushq $0x3
jmp 0x49c7
popq %rax
xorl %edx, %edx
jmp 0x3c3c
popq %rax
xorl %r8d, %r8d
jmp 0x49c8
cmpq %rsi, %r10
jb 0x33a2
xorl %r8d, %r8d
testb $0x2, %r11b
jne 0x3caf
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
leal 0x8(%rdi), %eax
cmpl $-0x9, %edi
movl %eax, %edi
jbe 0x3bcf
jmp 0x3c85
movb $0x1, %dl
pushq $0x6
jmp 0x49c7
movq 0x28(%rsp), %rax
movb %al, (%r15)
incq %r15
decl %r13d
testl %r13d, %r13d
je 0x3cfb
testl %edi, %edi
je 0x3cfb
cmpl $0x7, %edi
jbe 0x3dd3
movzbl %r12b, %eax
movq %rax, 0x28(%rsp)
shrq $0x8, %r12
addl $-0x8, %edi
cmpq 0x40(%rsp), %r15
jb 0x3cb8
pushq $0x2
popq %rcx
movb $0x1, %dl
pushq $0x34
jmp 0x3dca
movq %r9, 0x10(%rsp)
movq %r12, 0x30(%rsp)
testl %r13d, %r13d
je 0x3d94
movq 0x30(%rsp), %r12
movq 0x10(%rsp), %r9
cmpq 0x40(%rsp), %r15
movq 0x18(%rsp), %rcx
jae 0x3db8
cmpq %rcx, %r10
jae 0x3dab
movq %r9, 0x10(%rsp)
movq %r12, 0x30(%rsp)
movq 0x40(%rsp), %rax
subq %r15, %rax
movq %rcx, %r12
subq %r10, %r12
cmpq %r12, %rax
cmovbq %rax, %r12
movl %r13d, %eax
cmpq %rax, %r12
cmovaeq %rax, %r12
movq %rdi, 0x38(%rsp)
movq %r15, %rdi
movq %r10, %rsi
movq %r12, %rdx
movl %ebx, 0xc(%rsp)
movl %r11d, %ebx
movq %r10, 0x20(%rsp)
callq 0x10e0
movq 0x20(%rsp), %r10
movl %ebx, %r11d
movl 0xc(%rsp), %ebx
movq 0x38(%rsp), %rdi
addq %r12, %r10
addq %r12, %r15
subl %r12d, %r13d
jmp 0x3d05
xorl %r13d, %r13d
movq 0x30(%rsp), %r12
movq 0x10(%rsp), %r9
movq 0x18(%rsp), %rsi
jmp 0x4641
testb $0x2, %r11b
jne 0x3dc1
pushq $0x28
jmp 0x3c77
pushq $0x2
popq %rcx
movb $0x1, %dl
pushq $0x9
jmp 0x3dca
movb $0x1, %dl
pushq $0x26
jmp 0x3c7c
popq %rax
xorl %r8d, %r8d
jmp 0x49cb
cmpq %rsi, %r10
jb 0x370b
xorl %r8d, %r8d
testb $0x2, %r11b
jne 0x3dfd
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
leal 0x8(%rdi), %eax
cmpl $-0x9, %edi
movl %eax, %edi
jbe 0x3cd8
jmp 0x3dd3
movb $0x1, %dl
pushq $0x33
jmp 0x49c7
movq %r9, %r13
movq %rdi, %r9
pushq $-0x1
popq %rdi
shll %cl, %edi
movl %r12d, %r8d
movl %eax, %ecx
shrq %cl, %r12
notl %edi
andl %edi, %r8d
movq %r9, %rdi
movq %r13, %r9
subl %eax, %edi
leaq 0x36d3(%rip), %rax      # 0x7500
addl (%rax,%rsi,4), %r8d
movl %r8d, 0x34(%rbp,%rsi,4)
incl %edx
cmpl $0x2, %edx
ja 0x3e4e
movl %edx, %esi
leaq 0x4055(%rip), %rax      # 0x7e9b
movb (%rsi,%rax), %cl
movsbl %cl, %eax
jmp 0x3e97
movq %rdi, 0x38(%rsp)
leaq 0x1b90(%rbp), %rdi
xorl %r13d, %r13d
movl $0x120, %edx            # imm = 0x120
xorl %esi, %esi
movl %ebx, 0xc(%rsp)
movl %r11d, %ebx
movq %r10, 0x20(%rsp)
movq %r9, 0x10(%rsp)
callq 0x10a0
movq 0x10(%rsp), %r9
movq 0x20(%rsp), %r10
movl %ebx, %r11d
movl 0xc(%rsp), %ebx
movq 0x38(%rsp), %rdi
movq 0x18(%rsp), %rsi
jmp 0x3edf
cmpl %eax, %edi
jae 0x3e06
movl %edx, %r13d
cmpq 0x18(%rsp), %r10
jb 0x33f4
xorl %r8d, %r8d
testb $0x2, %r11b
jne 0x3ed6
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
addl $0x8, %edi
movl %r13d, %esi
leaq 0x3fd0(%rip), %rax      # 0x7e9b
movb (%rsi,%rax), %cl
movsbl %cl, %eax
movl %r13d, %edx
jmp 0x3e97
movb $0x1, %dl
pushq $0xb
jmp 0x49c7
cmpl 0x3c(%rbp), %r13d
jae 0x3f14
cmpl $0x2, %edi
jbe 0x418c
movl %r12d, %eax
andb $0x7, %al
shrq $0x3, %r12
addl $-0x3, %edi
movl %r13d, %ecx
leaq 0x3adc(%rip), %rdx      # 0x79e0
movzbl (%rcx,%rdx), %ecx
movb %al, 0x1b90(%rbp,%rcx)
incl %r13d
jmp 0x3edf
movq %r10, 0x20(%rsp)
movl %ebx, 0xc(%rsp)
movq %r9, 0x10(%rsp)
movq %r12, 0x30(%rsp)
movl $0x13, 0x3c(%rbp)
movl 0x1c(%rbp), %eax
testl %eax, %eax
js 0x4144
movq %rdi, 0x38(%rsp)
movl %eax, 0x5c(%rsp)
movl %eax, %eax
movq %rax, 0x70(%rsp)
imulq $0xda0, %rax, %rax      # imm = 0xDA0
leaq (%rax,%rbp), %rbx
addq $0x50, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0xc0(%rsp)
movaps %xmm0, 0xb0(%rsp)
movaps %xmm0, 0xa0(%rsp)
movaps %xmm0, 0x90(%rsp)
leaq (%rax,%rbp), %r12
addq $0x170, %r12            # imm = 0x170
movq %rbp, 0x68(%rsp)
xorl %ebp, %ebp
movl $0xc80, %edx            # imm = 0xC80
movq %r12, %rdi
xorl %esi, %esi
callq 0x10a0
movq 0x68(%rsp), %rcx
movq %rcx, %rdi
movq 0x70(%rsp), %rax
movl 0x34(%rcx,%rax,4), %eax
cmpq %rbp, %rax
je 0x3fc2
movzbl (%rbx,%rbp), %ecx
incl 0x90(%rsp,%rcx,4)
incq %rbp
jmp 0x3fad
andq $0x0, 0xd0(%rsp)
xorl %edx, %edx
xorl %ecx, %ecx
xorl %esi, %esi
movq %rdi, %rbp
movq 0x20(%rsp), %r10
cmpq $0xf, %rdx
je 0x3ff8
movl 0x94(%rsp,%rdx,4), %edi
addl %edi, %ecx
addl %edi, %esi
addl %esi, %esi
movl %esi, 0xd8(%rsp,%rdx,4)
incq %rdx
jmp 0x3fd9
cmpl $0x10000, %esi          # imm = 0x10000
setne %dl
cmpl $0x2, %ecx
setae %cl
testb %cl, %dl
jne 0x4161
pushq $-0x1
popq %rdi
xorl %edx, %edx
pushq $0x1
popq %rsi
cmpq %rax, %rdx
je 0x4117
movzbl (%rbx,%rdx), %ecx
testl %ecx, %ecx
je 0x410f
movl 0xd0(%rsp,%rcx,4), %r9d
leal 0x1(%r9), %r8d
movl %r8d, 0xd0(%rsp,%rcx,4)
xorl %r8d, %r8d
movl %ecx, %r10d
subl $0x1, %r10d
jb 0x405c
movl %r9d, %r11d
andl $0x1, %r11d
leal (%r11,%r8,2), %r8d
shrl %r9d
jmp 0x4046
cmpb $0xa, %cl
ja 0x408e
movl %ecx, %r10d
shll $0x9, %r10d
movl %edx, %r9d
orl %r10d, %r9d
movq %rsi, %r10
shlq %cl, %r10
movl %r8d, %ecx
cmpq $0x3ff, %rcx            # imm = 0x3FF
ja 0x410a
movw %r9w, (%r12,%rcx,2)
addq %r10, %rcx
jmp 0x4077
movl %r8d, %r9d
andl $0x3ff, %r9d            # imm = 0x3FF
movswl (%r12,%r9,2), %r11d
testl %r11d, %r11d
je 0x40aa
movl %edi, %r10d
movl %r11d, %edi
jmp 0x40b3
movw %di, (%r12,%r9,2)
leal -0x2(%rdi), %r10d
movl %edi, %r9d
shrl $0x9, %r8d
movl %r10d, %edi
shrl %r8d
movl %r8d, %r10d
andl $0x1, %r10d
notl %r9d
addl %r9d, %r10d
cmpl $0xc, %ecx
jb 0x40ff
movslq %r10d, %r9
movswl 0x920(%rbx,%r9,2), %r11d
testl %r11d, %r11d
je 0x40eb
movl %edi, %r10d
movl %r11d, %edi
jmp 0x40f8
movw %di, 0x920(%rbx,%r9,2)
leal -0x2(%rdi), %r10d
movl %edi, %r9d
decl %ecx
jmp 0x40ba
movslq %r10d, %rcx
movw %dx, 0x920(%rbx,%rcx,2)
movq 0x20(%rsp), %r10
incq %rdx
jmp 0x4017
xorl %r8d, %r8d
movl 0x5c(%rsp), %eax
cmpl $0x2, %eax
movl 0x150(%rsp), %r11d
movq 0x10(%rsp), %r9
movq 0x38(%rsp), %rdi
movl 0xc(%rsp), %ebx
movq 0x18(%rsp), %rsi
jne 0x425e
jmp 0x41bd
movq 0x30(%rsp), %r12
movq 0x10(%rsp), %r9
movl 0xc(%rsp), %ebx
movq 0x20(%rsp), %r10
movq 0x18(%rsp), %rsi
jmp 0x4709
pushq $0x23
popq %rax
xorl %edx, %edx
xorl %r8d, %r8d
pushq $-0x1
popq %rcx
movl 0x150(%rsp), %r11d
movq 0x30(%rsp), %r12
movq 0x10(%rsp), %r9
movq 0x38(%rsp), %rdi
movl 0xc(%rsp), %ebx
jmp 0x49cb
cmpq %rsi, %r10
jb 0x333a
xorl %r8d, %r8d
testb $0x2, %r11b
jne 0x41b4
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
addl $0x8, %edi
cmpl $0x3, %edi
jae 0x3eee
jmp 0x418c
movb $0x1, %dl
pushq $0xe
jmp 0x49c7
movl 0x34(%rbp), %r13d
movl 0x38(%rbp), %r12d
leal (%r12,%r13), %eax
cmpl %eax, %r8d
jae 0x41f4
cmpl $0xe, %edi
movq 0x30(%rsp), %r12
ja 0x4297
movq %rsi, %rax
subq %r10, %rax
cmpq $0x1, %rax
jg 0x4276
movl %r8d, %r13d
jmp 0x39c5
jne 0x4330
movq %rdi, 0x38(%rsp)
leaq 0x50(%rbp), %rdi
leaq 0x2934(%rbp), %rsi
movq %r13, %rdx
movl %ebx, 0xc(%rsp)
movq %r10, 0x20(%rsp)
movq %r9, %rbx
movq %r8, 0x10(%rsp)
callq 0x10e0
leaq 0xdf0(%rbp), %rdi
leaq 0x2934(,%r13), %rsi
addq %rbp, %rsi
movq %r12, %rdx
callq 0x10e0
movq %rbx, %r9
movq 0x20(%rsp), %r10
movl 0x150(%rsp), %r11d
movl 0xc(%rsp), %ebx
movq 0x38(%rsp), %rdi
movl 0x1c(%rbp), %eax
movq 0x10(%rsp), %r13
movq %r10, 0x20(%rsp)
movl %ebx, 0xc(%rsp)
movq %r9, 0x10(%rsp)
decl %eax
movl %eax, 0x1c(%rbp)
jmp 0x3f31
movzbl (%r10), %eax
movl %edi, %ecx
shlq %cl, %rax
movzbl 0x1(%r10), %edx
leal 0x8(%rdi), %ecx
shlq %cl, %rdx
orq %rax, %rdx
orq %rdx, %r12
addq $0x2, %r10
orl $0x10, %edi
movl %r12d, %eax
andl $0x3ff, %eax            # imm = 0x3FF
movswl 0x1cb0(%rbp,%rax,2), %edx
testl %edx, %edx
js 0x42b8
movl %edx, %ecx
shrl $0x9, %ecx
andl $0x1ff, %edx            # imm = 0x1FF
jmp 0x42da
pushq $0xa
popq %rax
notl %edx
movslq %edx, %rdx
movl %eax, %ecx
incl %ecx
btq %rax, %r12
adcq $0x0, %rdx
movswl 0x24b0(%rbp,%rdx,2), %edx
movl %ecx, %eax
testl %edx, %edx
js 0x42bb
shrq %cl, %r12
subl %ecx, %edi
cmpl $0xf, %edx
movq %rdx, 0x28(%rsp)
ja 0x4300
movq %r12, 0x30(%rsp)
movl %r8d, %eax
incl %r8d
movb %dl, 0x2934(%rbp,%rax)
jmp 0x41bd
cmpl $0x10, %edx
jne 0x430a
testl %r8d, %r8d
je 0x431e
leal -0x10(%rdx), %eax
leaq 0x3b8b(%rip), %rcx      # 0x7e9f
movsbl (%rax,%rcx), %ebx
cmpl %ebx, %edi
jae 0x438b
jmp 0x4348
xorl %r13d, %r13d
pushq $0x10
popq %rax
movq %rax, 0x28(%rsp)
pushq $0x11
jmp 0x3c77
pushq $0x15
popq %rax
xorl %edx, %edx
movl %r8d, %r13d
xorl %r8d, %r8d
pushq $-0x1
popq %rcx
movq 0x30(%rsp), %r12
jmp 0x49cb
movl %r8d, %r13d
cmpq %rsi, %r10
jb 0x36a3
xorl %r8d, %r8d
testb $0x2, %r11b
jne 0x441f
movq 0x28(%rsp), %rdx
movq %r12, %rax
movl %edi, %ecx
shlq %cl, %r8
movq %r8, %r12
orq %rax, %r12
addl $0x8, %edi
cmpl %ebx, %edi
movq %rdx, 0x28(%rsp)
jae 0x4385
movq %r13, %r8
jmp 0x4348
leal -0x10(%rdx), %eax
movq %r13, %r8
movq %r10, 0x20(%rsp)
movq %r9, 0x10(%rsp)
movq %rdi, %r13
movq %r12, %rdi
pushq $-0x1
popq %rdx
movl %ebx, %ecx
shll %cl, %edx
notl %edx
movl %edi, %esi
andl %edx, %esi
shrq %cl, %rdi
movq %rdi, 0x30(%rsp)
movl %ebx, 0xc(%rsp)
subl %ebx, %r13d
leaq 0x3ae5(%rip), %rcx      # 0x7ea3
movsbl (%rax,%rcx), %ebx
addl %esi, %ebx
movl %r8d, %eax
leaq (%rax,%rbp), %rdi
addq $0x2934, %rdi           # imm = 0x2934
xorl %eax, %eax
cmpl $0x10, 0x28(%rsp)
jne 0x43e9
leaq 0x2934(%rbp), %rax
leal -0x1(%r8), %ecx
movb (%rax,%rcx), %al
movl %ebx, %edx
movzbl %al, %esi
movq %r8, %r12
callq 0x10a0
movq %r12, %r8
addl %ebx, %r8d
movl 0x150(%rsp), %r11d
movq 0x10(%rsp), %r9
movq %r13, %rdi
movl 0xc(%rsp), %ebx
movq 0x20(%rsp), %r10
movq 0x18(%rsp), %rsi
jmp 0x41bd
movb $0x1, %dl
pushq $0x12
jmp 0x49c7
movq %rsi, %rcx
subq %r10, %rcx
cmpq $0x4, %rcx
jl 0x4511
movq 0x40(%rsp), %rdx
subq %r15, %rdx
cmpq $0x1, %rdx
jle 0x4511
cmpl $0x1d, %edi
ja 0x4461
movl (%r10), %edx
movl %edi, %ecx
shlq %cl, %rdx
orq %rdx, %r12
addq $0x4, %r10
orl $0x20, %edi
movl %r12d, %ecx
andl $0x3ff, %ecx            # imm = 0x3FF
movswl 0x170(%rbp,%rcx,2), %r13d
testl %r13d, %r13d
js 0x4480
movl %r13d, %ecx
shrl $0x9, %ecx
jmp 0x44a4
movl %eax, %edx
notl %r13d
movslq %r13d, %rsi
movl %edx, %ecx
incl %ecx
btq %rdx, %r12
adcq $0x0, %rsi
movswl 0x970(%rbp,%rsi,2), %r13d
movl %ecx, %edx
testl %r13d, %r13d
js 0x4482
shrq %cl, %r12
subl %ecx, %edi
btl $0x8, %r13d
jb 0x4546
movl %r12d, %ecx
andl $0x3ff, %ecx            # imm = 0x3FF
movswl 0x170(%rbp,%rcx,2), %edx
testl %edx, %edx
js 0x44d0
movl %edx, %ecx
shrl $0x9, %ecx
jmp 0x44f1
movl %eax, %esi
notl %edx
movslq %edx, %rdx
movl %esi, %ecx
incl %ecx
btq %rsi, %r12
adcq $0x0, %rdx
movswl 0x970(%rbp,%rdx,2), %edx
movl %ecx, %esi
testl %edx, %edx
js 0x44d2
shrq %cl, %r12
subl %ecx, %edi
movb %r13b, (%r15)
btl $0x8, %edx
jb 0x454b
movb %dl, 0x1(%r15)
addq $0x2, %r15
movq 0x18(%rsp), %rsi
jmp 0x4428
cmpl $0xe, %edi
ja 0x45d2
cmpq $0x1, %rcx
jle 0x4558
movzbl (%r10), %eax
movl %edi, %ecx
shlq %cl, %rax
movzbl 0x1(%r10), %edx
leal 0x8(%rdi), %ecx
shlq %cl, %rdx
orq %rax, %rdx
orq %rdx, %r12
addq $0x2, %r10
orl $0x10, %edi
jmp 0x45d2
movl %r13d, %edx
jmp 0x454e
incq %r15
movq 0x18(%rsp), %rsi
jmp 0x462d
movl %r12d, %eax
andl $0x3ff, %eax            # imm = 0x3FF
movswl 0x170(%rbp,%rax,2), %eax
testl %eax, %eax
js 0x457b
cmpw $0x200, %ax             # imm = 0x200
jb 0x45ac
shrl $0x9, %eax
cmpl %eax, %edi
jae 0x45d2
jmp 0x45ac
cmpl $0xb, %edi
jb 0x45ac
pushq $0xc
popq %rcx
leal -0x2(%rcx), %edx
notl %eax
cltq
btq %rdx, %r12
adcq $0x0, %rax
movswl 0x970(%rbp,%rax,2), %eax
testl %eax, %eax
jns 0x45a7
leal 0x1(%rcx), %edx
cmpl %ecx, %edi
movl %edx, %ecx
jae 0x4583
testw %ax, %ax
jns 0x45d2
cmpq %rsi, %r10
jb 0x336e
xorl %r8d, %r8d
testb $0x2, %r11b
jne 0x46f4
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
addl $0x8, %edi
cmpl $0xf, %edi
jb 0x4558
movl %r12d, %eax
andl $0x3ff, %eax            # imm = 0x3FF
movswl 0x170(%rbp,%rax,2), %r13d
testl %r13d, %r13d
js 0x45f7
movl %r13d, %ecx
shrl $0x9, %ecx
andl $0x1ff, %r13d           # imm = 0x1FF
jmp 0x461c
pushq $0xa
popq %rax
notl %r13d
movslq %r13d, %rdx
movl %eax, %ecx
incl %ecx
btq %rax, %r12
adcq $0x0, %rdx
movswl 0x970(%rbp,%rdx,2), %r13d
movl %ecx, %eax
testl %r13d, %r13d
js 0x45fa
shrq %cl, %r12
subl %ecx, %edi
movl %r13d, %edx
cmpl $0xff, %r13d
jbe 0x4664
andl $0x1ff, %edx            # imm = 0x1FF
movl $0x100, %r13d           # imm = 0x100
cmpl $0x100, %edx            # imm = 0x100
jne 0x467a
testb $0x1, 0x18(%rbp)
je 0x3ae0
testb $0x1, %r11b
jne 0x46e1
xorl %ecx, %ecx
movb $0x1, %dl
pushq $0x22
popq %rax
movb $0x1, %r8b
jmp 0x49cb
cmpq 0x40(%rsp), %r15
jae 0x46fd
movb %r13b, (%r15)
incq %r15
jmp 0x4709
addl $0xfffffeff, %edx       # imm = 0xFFFFFEFF
leaq 0x2c79(%rip), %rax      # 0x7300
movl (%rax,%rdx,4), %r13d
leaq -0x1c(%rdx), %rax
xorl %ebx, %ebx
cmpq $-0x14, %rax
jae 0x46d2
cmpl $0xe, %edi
ja 0x478b
movq %rsi, %rax
subq %r10, %rax
cmpq $0x1, %rax
jle 0x4711
movzbl (%r10), %eax
movl %edi, %ecx
shlq %cl, %rax
movzbl 0x1(%r10), %edx
leal 0x8(%rdi), %ecx
shlq %cl, %rdx
orq %rax, %rdx
orq %rdx, %r12
addq $0x2, %r10
orl $0x10, %edi
jmp 0x478b
leaq 0x2ca7(%rip), %rax      # 0x7380
movl (%rax,%rdx,4), %ebx
jmp 0x3aa3
movl %edi, %ecx
andb $0x7, %cl
shrq %cl, %r12
andl $-0x8, %edi
xorl %r13d, %r13d
jmp 0x3a50
movb $0x1, %dl
pushq $0x17
jmp 0x49c7
pushq $0x2
popq %rcx
movb $0x1, %dl
pushq $0x18
jmp 0x3dca
pushq $0xa
popq %rax
jmp 0x4428
movl %r12d, %eax
andl $0x3ff, %eax            # imm = 0x3FF
movswl 0xf10(%rbp,%rax,2), %eax
testl %eax, %eax
js 0x4734
cmpw $0x200, %ax             # imm = 0x200
jb 0x4765
shrl $0x9, %eax
cmpl %eax, %edi
jae 0x478b
jmp 0x4765
cmpl $0xb, %edi
jb 0x4765
pushq $0xc
popq %rcx
leal -0x2(%rcx), %edx
notl %eax
cltq
btq %rdx, %r12
adcq $0x0, %rax
movswl 0x1710(%rbp,%rax,2), %eax
testl %eax, %eax
jns 0x4760
leal 0x1(%rcx), %edx
cmpl %ecx, %edi
movl %edx, %ecx
jae 0x473c
testw %ax, %ax
jns 0x478b
cmpq %rsi, %r10
jb 0x35e5
xorl %r8d, %r8d
testb $0x2, %r11b
jne 0x4803
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
addl $0x8, %edi
cmpl $0xf, %edi
jb 0x4711
movl %r12d, %eax
andl $0x3ff, %eax            # imm = 0x3FF
movswl 0xf10(%rbp,%rax,2), %eax
testl %eax, %eax
js 0x47ab
movl %eax, %ecx
shrl $0x9, %ecx
andl $0x1ff, %eax            # imm = 0x1FF
jmp 0x47ce
pushq $0xa
popq %rcx
movl %ecx, %edx
notl %eax
cltq
movl %edx, %ecx
incl %ecx
btq %rdx, %r12
adcq $0x0, %rax
movswl 0x1710(%rbp,%rax,2), %eax
movl %ecx, %edx
testl %eax, %eax
js 0x47b0
shrq %cl, %r12
subl %ecx, %edi
movl %eax, %eax
leaq 0x2c24(%rip), %rcx      # 0x7400
movl (%rcx,%rax,4), %ecx
movq %rcx, 0x28(%rsp)
leaq -0x1e(%rax), %rcx
xorl %ebx, %ebx
cmpq $-0x1a, %rcx
jae 0x47f7
movq 0x28(%rsp), %rax
jmp 0x484c
leaq 0x2c82(%rip), %rcx      # 0x7480
movl (%rcx,%rax,4), %ebx
jmp 0x480c
movb $0x1, %dl
pushq $0x1a
jmp 0x49c7
cmpl %ebx, %edi
jae 0x4833
cmpq %rsi, %r10
jb 0x36d7
xorl %r8d, %r8d
testb $0x2, %r11b
jne 0x494d
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
addl $0x8, %edi
jmp 0x480c
pushq $-0x1
popq %rax
movl %ebx, %ecx
shll %cl, %eax
notl %eax
movl %r12d, %edx
shrq %cl, %r12
andl %eax, %edx
addl 0x28(%rsp), %edx
subl %ebx, %edi
movl %edx, %eax
movq %r15, %r9
subq 0x50(%rsp), %r9
movq %rax, 0x28(%rsp)
movl %eax, %ecx
testb $0x4, %r11b
je 0x486a
cmpq %rcx, %r9
jb 0x4944
movq %r9, %rax
subq %rcx, %rax
andq 0x60(%rsp), %rax
addq 0x50(%rsp), %rax
cmpq %rax, %r15
movq %rax, %rcx
cmovaq %r15, %rcx
movl %r13d, %edx
addq %rcx, %rdx
cmpq 0x40(%rsp), %rdx
ja 0x4953
cmpl $0x9, %r13d
jb 0x48f4
cmpl 0x28(%rsp), %r13d
ja 0x48f4
movl %r13d, %ecx
andl $-0x8, %ecx
addq %rax, %rcx
movl (%rax), %edx
movl %edx, (%r15)
movl 0x4(%rax), %edx
movl %edx, 0x4(%r15)
addq $0x8, %r15
addq $0x8, %rax
cmpq %rcx, %rax
jb 0x48ab
andl $0x7, %r13d
cmpl $0x2, %r13d
ja 0x48f4
testl %r13d, %r13d
je 0x4709
movb (%rax), %cl
movb %cl, (%r15)
cmpl $0x2, %r13d
jne 0x48e9
movb 0x1(%rax), %al
movb %al, 0x1(%r15)
movl %r13d, %eax
addq %rax, %r15
jmp 0x4709
addl $-0x3, %r13d
addq $0x3, %r13
movb (%rax), %cl
movb %cl, (%r15)
movb 0x1(%rax), %cl
movb %cl, 0x1(%r15)
movb 0x2(%rax), %cl
movb %cl, 0x2(%r15)
addq $0x3, %r15
addq $0x3, %rax
addq $-0x3, %r13
cmpl $0x2, %r13d
jg 0x48fc
testl %r13d, %r13d
jle 0x4709
movb (%rax), %cl
movb %cl, (%r15)
cmpl $0x2, %r13d
jne 0x493c
movb 0x1(%rax), %al
movb %al, 0x1(%r15)
addq %r13, %r15
jmp 0x4709
xorl %edx, %edx
pushq $0x25
jmp 0x3c3b
movb $0x1, %dl
pushq $0x1b
jmp 0x49c7
subl $0x1, %r13d
jae 0x4962
pushq $-0x1
popq %r13
jmp 0x4709
cmpq 0x40(%rsp), %r15
jae 0x498d
leaq 0x1(%r9), %rax
movl 0x28(%rsp), %ecx
subq %rcx, %r9
andq 0x60(%rsp), %r9
movq 0x50(%rsp), %rcx
movb (%rcx,%r9), %cl
movb %cl, (%r15)
incq %r15
movq %rax, %r9
jmp 0x4953
pushq $0x2
popq %rcx
movb $0x1, %dl
pushq $0x35
jmp 0x3dca
cmpq %rsi, %r10
jb 0x35b1
xorl %r8d, %r8d
testb $0x2, %r11b
jne 0x49c3
movl %edi, %ecx
shlq %cl, %r8
orq %r8, %r12
leal 0x8(%rdi), %eax
cmpl $-0x9, %edi
movl %eax, %edi
jbe 0x3a67
jmp 0x4999
movb $0x1, %dl
pushq $0x29
popq %rax
pushq $0x1
popq %rcx
movl %eax, (%rbp)
movl %ecx, 0x4c(%rsp)
movl %edi, 0x4(%rbp)
movq %r12, 0x40(%rbp)
movq 0x28(%rsp), %rax
movl %eax, 0x28(%rbp)
movl %r13d, 0x2c(%rbp)
movl %ebx, 0x30(%rbp)
movq %r9, 0x48(%rbp)
subq 0x78(%rsp), %r10
movq 0x80(%rsp), %rax
movq %r10, (%rax)
subq %r14, %r15
movq 0x88(%rsp), %rax
movq %r15, (%rax)
testb $0x9, %r11b
sete %al
xorb $0x1, %dl
orb %al, %dl
jne 0x4ad7
movl 0x20(%rbp), %ecx
movzwl %cx, %edi
shrl $0x10, %ecx
movl $0x15b0, %esi           # imm = 0x15B0
movq %r15, %rax
xorl %edx, %edx
divq %rsi
movq %rdx, %rsi
movl $0xfff1, %r9d           # imm = 0xFFF1
testq %r15, %r15
je 0x4add
xorl %r10d, %r10d
leal 0x7(%r10), %eax
cmpl %esi, %eax
jae 0x4ab0
movzbl (%r14,%r10), %eax
addl %eax, %edi
addl %edi, %ecx
movzbl 0x1(%r14,%r10), %eax
addl %edi, %eax
addl %eax, %ecx
movzbl 0x2(%r14,%r10), %edx
addl %eax, %edx
addl %edx, %ecx
movzbl 0x3(%r14,%r10), %eax
addl %edx, %eax
addl %eax, %ecx
movzbl 0x4(%r14,%r10), %edx
addl %eax, %edx
addl %edx, %ecx
movzbl 0x5(%r14,%r10), %eax
addl %edx, %eax
addl %eax, %ecx
movzbl 0x6(%r14,%r10), %edx
addl %eax, %edx
addl %edx, %ecx
movzbl 0x7(%r14,%r10), %edi
addl %edx, %edi
addl %edi, %ecx
addq $0x8, %r10
jmp 0x4a47
movzbl (%r14,%r10), %eax
addl %eax, %edi
addl %edi, %ecx
incq %r10
cmpl %esi, %r10d
jb 0x4aa4
movl %edi, %eax
xorl %edx, %edx
divl %r9d
movl %edx, %edi
movl %ecx, %eax
xorl %edx, %edx
divl %r9d
subq %rsi, %r15
addq %r10, %r14
movl $0x15b0, %esi           # imm = 0x15B0
movl %edx, %ecx
jmp 0x4a3b
movl 0x4c(%rsp), %eax
jmp 0x4b05
shll $0x10, %ecx
orl %edi, %ecx
movl %ecx, 0x20(%rbp)
testb %r8b, %r8b
movl 0x4c(%rsp), %eax
je 0x4b05
xorl %eax, %eax
testb $0x1, %r11b
je 0x4b05
xorl %eax, %eax
cmpl 0x10(%rbp), %ecx
sete %al
leal -0x2(,%rax,2), %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq