// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/libraries/libwebp/src/dec/vp8l_dec.c
// Function: DecodeImageData
static int DecodeImageData(VP8LDecoder* const dec, uint32_t* const data,
                           int width, int height, int last_row,
                           ProcessRowsFunc process_func) {
  int row = dec->last_pixel_ / width;
  int col = dec->last_pixel_ % width;
  VP8LBitReader* const br = &dec->br_;
  VP8LMetadata* const hdr = &dec->hdr_;
  uint32_t* src = data + dec->last_pixel_;
  uint32_t* last_cached = src;
  uint32_t* const src_end = data + width * height;     // End of data
  uint32_t* const src_last = data + width * last_row;  // Last pixel to decode
  const int len_code_limit = NUM_LITERAL_CODES + NUM_LENGTH_CODES;
  const int color_cache_limit = len_code_limit + hdr->color_cache_size_;
  int next_sync_row = dec->incremental_ ? row : 1 << 24;
  VP8LColorCache* const color_cache =
      (hdr->color_cache_size_ > 0) ? &hdr->color_cache_ : NULL;
  const int mask = hdr->huffman_mask_;
  const HTreeGroup* htree_group =
      (src < src_last) ? GetHtreeGroupForPos(hdr, col, row) : NULL;
  assert(dec->last_row_ < last_row);
  assert(src_last <= src_end);

  while (src < src_last) {
    int code;
    if (row >= next_sync_row) {
      SaveState(dec, (int)(src - data));
      next_sync_row = row + SYNC_EVERY_N_ROWS;
    }
    // Only update when changing tile. Note we could use this test:
    // if "((((prev_col ^ col) | prev_row ^ row)) > mask)" -> tile changed
    // but that's actually slower and needs storing the previous col/row.
    if ((col & mask) == 0) {
      htree_group = GetHtreeGroupForPos(hdr, col, row);
    }
    assert(htree_group != NULL);
    if (htree_group->is_trivial_code) {
      *src = htree_group->literal_arb;
      goto AdvanceByOne;
    }
    VP8LFillBitWindow(br);
    if (htree_group->use_packed_table) {
      code = ReadPackedSymbols(htree_group, br, src);
      if (VP8LIsEndOfStream(br)) break;
      if (code == PACKED_NON_LITERAL_CODE) goto AdvanceByOne;
    } else {
      code = ReadSymbol(htree_group->htrees[GREEN], br);
    }
    if (VP8LIsEndOfStream(br)) break;
    if (code < NUM_LITERAL_CODES) {  // Literal
      if (htree_group->is_trivial_literal) {
        *src = htree_group->literal_arb | (code << 8);
      } else {
        int red, blue, alpha;
        red = ReadSymbol(htree_group->htrees[RED], br);
        VP8LFillBitWindow(br);
        blue = ReadSymbol(htree_group->htrees[BLUE], br);
        alpha = ReadSymbol(htree_group->htrees[ALPHA], br);
        if (VP8LIsEndOfStream(br)) break;
        *src = ((uint32_t)alpha << 24) | (red << 16) | (code << 8) | blue;
      }
    AdvanceByOne:
      ++src;
      ++col;
      if (col >= width) {
        col = 0;
        ++row;
        if (process_func != NULL) {
          if (row <= last_row && (row % NUM_ARGB_CACHE_ROWS == 0)) {
            process_func(dec, row);
          }
        }
        if (color_cache != NULL) {
          while (last_cached < src) {
            VP8LColorCacheInsert(color_cache, *last_cached++);
          }
        }
      }
    } else if (code < len_code_limit) {  // Backward reference
      int dist_code, dist;
      const int length_sym = code - NUM_LITERAL_CODES;
      const int length = GetCopyLength(length_sym, br);
      const int dist_symbol = ReadSymbol(htree_group->htrees[DIST], br);
      VP8LFillBitWindow(br);
      dist_code = GetCopyDistance(dist_symbol, br);
      dist = PlaneCodeToDistance(width, dist_code);

      if (VP8LIsEndOfStream(br)) break;
      if (src - data < (ptrdiff_t)dist || src_end - src < (ptrdiff_t)length) {
        goto Error;
      } else {
        CopyBlock32b(src, dist, length);
      }
      src += length;
      col += length;
      while (col >= width) {
        col -= width;
        ++row;
        if (process_func != NULL) {
          if (row <= last_row && (row % NUM_ARGB_CACHE_ROWS == 0)) {
            process_func(dec, row);
          }
        }
      }
      // Because of the check done above (before 'src' was incremented by
      // 'length'), the following holds true.
      assert(src <= src_end);
      if (col & mask) htree_group = GetHtreeGroupForPos(hdr, col, row);
      if (color_cache != NULL) {
        while (last_cached < src) {
          VP8LColorCacheInsert(color_cache, *last_cached++);
        }
      }
    } else if (code < color_cache_limit) {  // Color cache
      const int key = code - len_code_limit;
      assert(color_cache != NULL);
      while (last_cached < src) {
        VP8LColorCacheInsert(color_cache, *last_cached++);
      }
      *src = VP8LColorCacheLookup(color_cache, key);
      goto AdvanceByOne;
    } else {  // Not reached
      goto Error;
    }
  }

  br->eos_ = VP8LIsEndOfStream(br);
  // In incremental decoding:
  // br->eos_ && src < src_last: if 'br' reached the end of the buffer and
  // 'src_last' has not been reached yet, there is not enough data. 'dec' has to
  // be reset until there is more data.
  // !br->eos_ && src < src_last: this cannot happen as either the buffer is
  // fully read, either enough has been read to reach 'src_last'.
  // src >= src_last: 'src_last' is reached, all is fine. 'src' can actually go
  // beyond 'src_last' in case the image is cropped and an LZ77 goes further.
  // The buffer might have been enough or there is some left. 'br->eos_' does
  // not matter.
  assert(!dec->incremental_ || (br->eos_ && src < src_last) || src >= src_last);
  if (dec->incremental_ && br->eos_ && src < src_last) {
    RestoreState(dec);
  } else if ((dec->incremental_ && src >= src_last) || !br->eos_) {
    // Process the remaining rows corresponding to last row-block.
    if (process_func != NULL) {
      process_func(dec, row > last_row ? last_row : row);
    }
    dec->status_ = VP8_STATUS_OK;
    dec->last_pixel_ = (int)(src - data);  // end-of-scan marker
  } else {
    // if not incremental, and we are past the end of buffer (eos_=1), then this
    // is a real bitstream error.
    goto Error;
  }
  return 1;

 Error:
  return VP8LSetError(dec, VP8_STATUS_BITSTREAM_ERROR);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %ecx, %r10d
movl %edx, %ecx
movq %rdi, %rbx
movslq 0x90(%rdi), %rdi
movl %edi, %eax
cltd
idivl %ecx
movl %eax, %r11d
movl %r8d, 0xc(%rsp)
movl %r8d, %eax
movl %ecx, (%rsp)
imull %ecx, %eax
movl 0x98(%rbx), %r14d
cmpl $0x0, 0x50(%rbx)
movl $0x1000000, %r8d        # imm = 0x1000000
cmovnel %r11d, %r8d
leaq 0xa0(%rbx), %rcx
xorl %r15d, %r15d
movq %r14, 0x40(%rsp)
testl %r14d, %r14d
movl $0x0, %r14d
movq %rcx, 0x80(%rsp)
cmovgq %rcx, %r14
movq %r14, 0x38(%rsp)
movq %rsi, 0x48(%rsp)
movl 0xc0(%rbx), %ecx
movl %ecx, 0x2c(%rsp)
cmpl %eax, %edi
jge 0xd6171
movl 0xc4(%rbx), %ecx
testl %ecx, %ecx
je 0xd6153
movl %r11d, %ebp
sarl %cl, %ebp
imull 0xc8(%rbx), %ebp
movl %edx, %esi
sarl %cl, %esi
movq 0xd0(%rbx), %rcx
addl %ebp, %esi
movslq %esi, %rsi
movl (%rcx,%rsi,4), %r15d
cmpl 0xd8(%rbx), %r15d
jge 0xd6ba4
movslq %r15d, %rcx
imulq $0x238, %rcx, %r15      # imm = 0x238
addq 0xe0(%rbx), %r15
movl 0xc(%rsp), %ecx
cmpl %ecx, 0x8c(%rbx)
jge 0xd6bc3
movq %r9, 0x60(%rsp)
imull (%rsp), %r10d
cmpl %r10d, %eax
jg 0xd6be2
leaq 0x28(%rbx), %rcx
movq %rcx, 0x10(%rsp)
leaq 0x98(%rbx), %rcx
movq %rcx, 0x88(%rsp)
movq 0x48(%rsp), %rsi
leaq (%rsi,%rdi,4), %rbp
movslq %r10d, %rcx
leaq (%rsi,%rcx,4), %rcx
movq %rcx, 0x70(%rsp)
cltq
leaq (%rsi,%rax,4), %rax
movq %rax, 0x20(%rsp)
movq 0x40(%rsp), %rax
leal 0x118(%rax), %eax
movl %eax, 0x6c(%rsp)
leaq 0x58(%rbx), %rax
movq %rax, 0x90(%rsp)
leaq 0xb0(%rbx), %rax
movq %rax, 0x78(%rsp)
movq %rbp, %r13
movl %r8d, %r10d
movl %edx, %r9d
movq %r15, %r8
movq %rbx, 0x58(%rsp)
cmpq 0x20(%rsp), %r13
jae 0xd6a26
cmpl %r10d, %r11d
jl 0xd6284
cmpl $0x0, 0x50(%rbx)
je 0xd6b85
movq %r13, %rax
subq 0x48(%rsp), %rax
shrq $0x2, %rax
movq 0x10(%rsp), %rdx
movq 0x20(%rdx), %rcx
movq 0x90(%rsp), %rsi
movq %rcx, 0x20(%rsi)
movups (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movups %xmm1, 0x10(%rsi)
movups %xmm0, (%rsi)
movl %eax, 0x80(%rbx)
cmpl $0x0, 0x98(%rbx)
jle 0xd6280
movq 0x80(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq %r11, %r14
movl %r9d, %r15d
movq %r8, %r12
callq 0xf0e8c
movq %r12, %r8
movl %r15d, %r9d
movq %r14, %r11
leal 0x8(%r11), %r10d
testl %r9d, 0x2c(%rsp)
jne 0xd62d5
movl 0xc4(%rbx), %ecx
testl %ecx, %ecx
je 0xd62b7
movl %r11d, %eax
sarl %cl, %eax
imull 0xc8(%rbx), %eax
movl %r9d, %edx
sarl %cl, %edx
movq 0xd0(%rbx), %rcx
addl %eax, %edx
movslq %edx, %rax
movl (%rcx,%rax,4), %eax
jmp 0xd62b9
xorl %eax, %eax
cmpl 0xd8(%rbx), %eax
jge 0xd6ba4
cltq
imulq $0x238, %rax, %r8       # imm = 0x238
addq 0xe0(%rbx), %r8
testq %r8, %r8
je 0xd6b47
cmpl $0x0, 0x30(%r8)
je 0xd6305
movl 0x2c(%r8), %r14d
movl %r14d, (%r13)
leaq 0x4(%r13), %r15
incl %r9d
xorl %r12d, %r12d
cmpl (%rsp), %r9d
jge 0xd6371
movq %r15, %r13
jmp 0xd64de
cmpl $0x20, 0x48(%rbx)
jl 0xd6332
movq 0x10(%rsp), %rdi
movq %r11, %r14
movl %r10d, %r15d
movl %r9d, %r12d
movq %r8, %rbx
callq 0xf0c80
movq %rbx, %r8
movq 0x58(%rsp), %rbx
movl %r12d, %r9d
movl %r15d, %r10d
movq %r14, %r11
cmpl $0x0, 0x34(%r8)
je 0xd6413
movq 0x28(%rbx), %rax
movl 0x48(%rbx), %ecx
shrq %cl, %rax
andl $0x3f, %eax
movl 0x38(%r8,%rax,8), %edx
movl 0x3c(%r8,%rax,8), %r14d
addl %edx, %ecx
cmpl $0xff, %edx
jg 0xd647a
movl %ecx, 0x48(%rbx)
movl %r14d, (%r13)
xorl %r14d, %r14d
jmp 0xd6490
movq 0x60(%rsp), %rdx
testq %rdx, %rdx
setne %al
leal 0x1(%r11), %r14d
cmpl 0xc(%rsp), %r11d
setl %cl
andb %al, %cl
testb $0xf, %r14b
sete %al
andb %cl, %al
cmpb $0x1, %al
jne 0xd63b0
movq %rbx, %rdi
movl %r14d, %esi
movl %r10d, %r12d
movq %r8, %rbx
callq *%rdx
movq %rbx, %r8
movq 0x58(%rsp), %rbx
movl %r12d, %r10d
xorl %r12d, %r12d
cmpl $0x0, 0x40(%rsp)
jle 0xd6405
cmpq %r15, %rbp
jae 0xd6405
movl %r10d, %r11d
movq %r8, %r10
movq 0x38(%rsp), %r8
movq (%r8), %rax
movq %rbp, %rdx
movl (%rbp), %esi
movb 0x8(%r8), %cl
imull $0x1e35a7bd, %esi, %edi # imm = 0x1E35A7BD
shrl %cl, %edi
addq $0x4, %rbp
movslq %edi, %rcx
movl %esi, (%rax,%rcx,4)
cmpq %r13, %rdx
jb 0xd63cd
movq %r15, %r13
xorl %r9d, %r9d
movl %r14d, %eax
movq %r10, %r8
movl %r11d, %r10d
movq %rax, %r11
jmp 0xd64de
movq %r15, %r13
xorl %r9d, %r9d
movl %r14d, %r11d
jmp 0xd64de
movq (%r8), %rax
movq 0x28(%rbx), %rdx
movl 0x48(%rbx), %ecx
movq %rdx, %rsi
shrq %cl, %rsi
movzbl %sil, %esi
leaq (%rax,%rsi,4), %rsi
movzbl (%rsi), %eax
cmpl $0x9, %eax
jb 0xd646d
addl $0x8, %ecx
shrq %cl, %rdx
movl %ecx, 0x48(%rbx)
movzwl 0x2(%rsi), %edi
addb $-0x8, %al
movq %r11, %r14
movl %r10d, %r11d
movq %r8, %r10
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %r8d
leaq (%rsi,%rdi,4), %rax
notl %r8d
andl %edx, %r8d
leaq (%rax,%r8,4), %rsi
movq %r10, %r8
movl %r11d, %r10d
movq %r14, %r11
movzbl (%rsi), %eax
addl %eax, 0x48(%rbx)
movzwl 0x2(%rsi), %r14d
jmp 0xd64c1
addl $0xffffff00, %ecx       # imm = 0xFFFFFF00
movl %ecx, 0x48(%rbx)
cmpl $0xff, %r14d
jbe 0xd6c01
movq 0x38(%rbx), %rax
movq 0x40(%rbx), %rcx
cmpq %rax, %rcx
ja 0xd6b66
movl $0x3, %r12d
cmpl $0x0, 0x4c(%rbx)
jne 0xd64de
cmpq %rax, %rcx
jne 0xd64b8
cmpl $0x40, 0x48(%rbx)
jg 0xd64de
testl %r14d, %r14d
je 0xd62ed
movq 0x38(%rbx), %rax
movq 0x40(%rbx), %rcx
cmpq %rax, %rcx
ja 0xd6b66
movl $0x3, %r12d
cmpl $0x0, 0x4c(%rbx)
je 0xd64ec
testl %r12d, %r12d
je 0xd6204
jmp 0xd6a12
cmpq %rax, %rcx
jne 0xd64f7
cmpl $0x40, 0x48(%rbx)
jg 0xd64de
cmpl $0xff, %r14d
jg 0xd6518
cmpl $0x0, 0x28(%r8)
je 0xd6594
shll $0x8, %r14d
orl 0x2c(%r8), %r14d
jmp 0xd62e9
cmpl $0x117, %r14d           # imm = 0x117
jg 0xd6549
cmpl $0x104, %r14d           # imm = 0x104
movl %r10d, 0x4(%rsp)
movl %r9d, 0x8(%rsp)
movq %r11, 0x30(%rsp)
jge 0xd6710
addl $0xffffff00, %r14d      # imm = 0xFFFFFF00
jmp 0xd673c
movl $0x7, %r12d
cmpl 0x6c(%rsp), %r14d
jge 0xd64de
cmpl $0x0, 0x40(%rsp)
jle 0xd6c3f
cmpq %r13, %rbp
jae 0xd6904
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
movl (%rbp), %edx
movb 0x8(%rdi), %cl
imull $0x1e35a7bd, %edx, %esi # imm = 0x1E35A7BD
shrl %cl, %esi
addq $0x4, %rbp
movslq %esi, %rcx
movl %edx, (%rax,%rcx,4)
cmpq %r13, %rbp
jb 0xd6572
jmp 0xd6909
movq 0x8(%r8), %rax
movq 0x28(%rbx), %rdx
movl 0x48(%rbx), %ecx
movq %rdx, %rsi
shrq %cl, %rsi
movzbl %sil, %esi
leaq (%rax,%rsi,4), %rsi
movzbl (%rsi), %eax
cmpl $0x9, %eax
jb 0xd65ef
addl $0x8, %ecx
shrq %cl, %rdx
movl %ecx, 0x48(%rbx)
movzwl 0x2(%rsi), %edi
addb $-0x8, %al
movq %r11, %r15
movl %r10d, %r11d
movq %r8, %r10
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %r8d
leaq (%rsi,%rdi,4), %rax
notl %r8d
andl %edx, %r8d
leaq (%rax,%r8,4), %rsi
movq %r10, %r8
movl %r11d, %r10d
movq %r15, %r11
movzbl (%rsi), %eax
addl 0x48(%rbx), %eax
movl %eax, 0x48(%rbx)
movzwl 0x2(%rsi), %ecx
movl %ecx, 0x50(%rsp)
cmpl $0x20, %eax
jl 0xd6630
movq 0x10(%rsp), %rdi
movq %r11, %r15
movl %r10d, %r12d
movl %r9d, 0x8(%rsp)
movq %r8, %rbx
callq 0xf0c80
movq %rbx, %r8
movq 0x58(%rsp), %rbx
movl 0x8(%rsp), %r9d
movl %r12d, %r10d
movq %r15, %r11
movq 0x10(%r8), %rax
movq 0x28(%rbx), %rdx
movl 0x48(%rbx), %ecx
movq %rdx, %rsi
shrq %cl, %rsi
movzbl %sil, %esi
leaq (%rax,%rsi,4), %rsi
movzbl (%rsi), %eax
movl %r10d, %r12d
movl %r9d, %r15d
cmpl $0x9, %eax
jb 0xd6689
addl $0x8, %ecx
movq %rdx, %rdi
shrq %cl, %rdi
movl %ecx, 0x48(%rbx)
movq %r8, %r10
movzwl 0x2(%rsi), %r8d
addb $-0x8, %al
movl $0xffffffff, %r9d       # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %r9d
leaq (%rsi,%r8,4), %rax
movq %r10, %r8
notl %r9d
andl %edi, %r9d
leaq (%rax,%r9,4), %rsi
movzbl (%rsi), %ecx
addl 0x48(%rbx), %ecx
movl %ecx, 0x48(%rbx)
movzwl 0x2(%rsi), %esi
movq 0x18(%r8), %rax
movq %rdx, %rdi
shrq %cl, %rdi
movzbl %dil, %edi
leaq (%rax,%rdi,4), %rdi
movzbl (%rdi), %eax
cmpl $0x9, %eax
jb 0xd66df
addl $0x8, %ecx
shrq %cl, %rdx
movl %ecx, 0x48(%rbx)
movq %r8, %r10
movzwl 0x2(%rdi), %r8d
addb $-0x8, %al
movl $0xffffffff, %r9d       # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %r9d
leaq (%rdi,%r8,4), %rax
movq %r10, %r8
notl %r9d
andl %edx, %r9d
leaq (%rax,%r9,4), %rdi
movl %r15d, %r9d
movl %r12d, %r10d
movzbl (%rdi), %eax
addl 0x48(%rbx), %eax
movl %eax, 0x48(%rbx)
movq 0x38(%rbx), %rcx
movq 0x40(%rbx), %rdx
cmpq %rcx, %rdx
ja 0xd6b66
cmpl $0x0, 0x4c(%rbx)
je 0xd68bd
xorl %eax, %eax
jmp 0xd68cb
leal -0x102(%r14), %ecx
shrl %ecx
andl $0x1, %r14d
orl $0x2, %r14d
shll %cl, %r14d
movq 0x10(%rsp), %rdi
movl %ecx, %esi
movq %r8, %r15
callq 0xf0d7f
movq %r15, %r8
addl %r14d, %eax
movl %eax, %r14d
movq 0x20(%r8), %rax
movq 0x28(%rbx), %rdx
movl 0x48(%rbx), %ecx
movq %rdx, %rsi
shrq %cl, %rsi
movzbl %sil, %esi
leaq (%rax,%rsi,4), %rsi
movzbl (%rsi), %eax
cmpl $0x9, %eax
movq %r8, 0x18(%rsp)
jb 0xd678a
addl $0x8, %ecx
shrq %cl, %rdx
movl %ecx, 0x48(%rbx)
movzwl 0x2(%rsi), %edi
addb $-0x8, %al
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %r8d
leaq (%rsi,%rdi,4), %rax
notl %r8d
andl %edx, %r8d
leaq (%rax,%r8,4), %rsi
movzbl (%rsi), %eax
addl 0x48(%rbx), %eax
movl %eax, 0x48(%rbx)
movzwl 0x2(%rsi), %r15d
cmpl $0x20, %eax
jl 0xd67a7
movq 0x10(%rsp), %rdi
callq 0xf0c80
cmpw $0x4, %r15w
jb 0xd67d1
leal -0x2(%r15), %ecx
shrl %ecx
andl $0x1, %r15d
orl $0x2, %r15d
shll %cl, %r15d
movq 0x10(%rsp), %rdi
movl %ecx, %esi
callq 0xf0d7f
addl %r15d, %eax
movl %eax, %r15d
movq 0x30(%rsp), %r11
movl 0x4(%rsp), %r10d
movl 0x8(%rsp), %r9d
movq 0x18(%rsp), %r8
leal 0x1(%r15), %eax
cmpl $0x79, %eax
jl 0xd67f4
addl $-0x77, %r15d
jmp 0xd6825
movslq %r15d, %rax
leaq 0x53e32(%rip), %rcx     # 0x12a630
movzbl (%rax,%rcx), %eax
movl %eax, %r15d
shrl $0x4, %r15d
andl $0xf, %eax
imull (%rsp), %r15d
subl %eax, %r15d
addl $0x8, %r15d
cmpl $0x2, %r15d
movl $0x1, %eax
cmovll %eax, %r15d
movq 0x38(%rbx), %rax
movq 0x40(%rbx), %rcx
cmpq %rax, %rcx
ja 0xd6b66
cmpl $0x0, 0x4c(%rbx)
jne 0xd64de
cmpq %rax, %rcx
jne 0xd684f
cmpl $0x40, 0x48(%rbx)
jg 0xd64de
movq %r13, %rax
subq 0x48(%rsp), %rax
sarq $0x2, %rax
movslq %r15d, %rcx
movl $0x7, %r12d
cmpq %rcx, %rax
jl 0xd64de
incl %r14d
movq 0x70(%rsp), %rax
subq %r13, %rax
sarq $0x2, %rax
movslq %r14d, %rcx
cmpq %rcx, %rax
jl 0xd64de
movq %rcx, 0x50(%rsp)
movq %r13, %rdi
movl %r15d, %esi
movl %r14d, %edx
movl %r9d, %r12d
callq 0xd79de
movl %r12d, %r9d
addl %r14d, %r9d
cmpl (%rsp), %r9d
jge 0xd692f
movq 0x30(%rsp), %r11
movq 0x18(%rsp), %r8
jmp 0xd6988
cmpq %rcx, %rdx
setne %cl
cmpl $0x41, %eax
setl %al
orb %cl, %al
movl $0x3, %r12d
testb %al, %al
je 0xd68f7
movzwl 0x2(%rdi), %ecx
shll $0x18, %ecx
movl 0x50(%rsp), %edx
shll $0x10, %edx
shll $0x8, %r14d
orl %edx, %r14d
orl %esi, %r14d
orl %ecx, %r14d
movl %r14d, (%r13)
xorl %r12d, %r12d
testb %al, %al
jne 0xd62ed
jmp 0xd64de
movq 0x38(%rsp), %rdi
addl $0xfffffee8, %r14d      # imm = 0xFFFFFEE8
movb 0xc(%rdi), %cl
movl %r14d, %eax
shrl %cl, %eax
testl %eax, %eax
jne 0xd6c5e
movq (%rdi), %rax
movl %r14d, %ecx
movl (%rax,%rcx,4), %r14d
jmp 0xd62e9
movq 0x60(%rsp), %r14
movq 0x30(%rsp), %r11
movq 0x18(%rsp), %r8
movl %r11d, %eax
testq %r14, %r14
setne %cl
cmpl 0xc(%rsp), %r11d
leal 0x1(%rax), %r11d
setl %al
andb %cl, %al
testb $0xf, %r11b
sete %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xd697d
movq %rbx, %rdi
movl %r11d, %esi
movq %r11, %r12
movl %r9d, %r15d
callq *%r14
movq 0x18(%rsp), %r8
movl %r15d, %r9d
movq %r12, %r11
movl (%rsp), %eax
subl %eax, %r9d
cmpl %eax, %r9d
jge 0xd693e
movq 0x50(%rsp), %rax
leaq (%r13,%rax,4), %r13
cmpq 0x70(%rsp), %r13
ja 0xd6c7d
testl %r9d, 0x2c(%rsp)
je 0xd69c6
movq 0x88(%rsp), %rdi
movl %r9d, %esi
movl %r11d, %edx
movq %r11, %r14
movl %r9d, %r15d
callq 0xd77dd
movl %r15d, %r9d
movq %r14, %r11
movq %rax, %r8
xorl %r12d, %r12d
cmpl $0x0, 0x40(%rsp)
jle 0xd6a08
cmpq %r13, %rbp
movl 0x4(%rsp), %r10d
jae 0xd64de
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
movl (%rbp), %edx
movb 0x8(%rdi), %cl
imull $0x1e35a7bd, %edx, %esi # imm = 0x1E35A7BD
shrl %cl, %esi
addq $0x4, %rbp
movslq %esi, %rcx
movl %edx, (%rax,%rcx,4)
cmpq %r13, %rbp
jb 0xd69e6
jmp 0xd64de
movl 0x4(%rsp), %r10d
jmp 0xd64de
cmpl $0x7, %r12d
je 0xd6ae7
cmpl $0x3, %r12d
jne 0xd6afc
movq 0x38(%rbx), %rcx
movq 0x40(%rbx), %rdx
cmpq %rcx, %rdx
ja 0xd6b66
movl $0x1, %eax
cmpl $0x0, 0x4c(%rbx)
jne 0xd6a52
xorl %eax, %eax
cmpq %rcx, %rdx
jne 0xd6a52
xorl %eax, %eax
cmpl $0x41, 0x48(%rbx)
setge %al
movl %eax, 0x4c(%rbx)
movl 0x50(%rbx), %ecx
testl %ecx, %ecx
je 0xd6ad2
cmpq 0x20(%rsp), %r13
setb %dl
testb %dl, %al
jne 0xd6a73
cmpq 0x20(%rsp), %r13
jb 0xd6c20
testl %ecx, %ecx
je 0xd6ad2
testl %eax, %eax
je 0xd6ad2
cmpq 0x20(%rsp), %r13
jae 0xd6ad2
movl $0x5, (%rbx)
movq 0x78(%rbx), %rax
movq 0x10(%rsp), %rcx
movq %rax, 0x20(%rcx)
movups 0x58(%rbx), %xmm0
movups 0x68(%rbx), %xmm1
movups %xmm1, 0x10(%rcx)
movups %xmm0, (%rcx)
movl 0x80(%rbx), %eax
movl %eax, 0x90(%rbx)
movl $0x1, %ebp
cmpl $0x0, 0x98(%rbx)
jle 0xd6b33
movq 0x78(%rsp), %rdi
movq 0x80(%rsp), %rsi
callq 0xf0e8c
jmp 0xd6b33
testl %ecx, %ecx
setne %cl
cmpq 0x20(%rsp), %r13
setae %dl
testb %dl, %cl
jne 0xd6afe
testl %eax, %eax
je 0xd6afe
movl (%rbx), %eax
xorl %ebp, %ebp
cmpl $0x5, %eax
je 0xd6af4
testl %eax, %eax
jne 0xd6b33
movl $0x3, (%rbx)
jmp 0xd6b33
jmp 0xd6b33
movq 0x60(%rsp), %rax
testq %rax, %rax
je 0xd6b18
movl 0xc(%rsp), %esi
cmpl %esi, %r11d
cmovll %r11d, %esi
movq %rbx, %rdi
callq *%rax
movl $0x0, (%rbx)
subq 0x48(%rsp), %r13
shrq $0x2, %r13
movl %r13d, 0x90(%rbx)
movl $0x1, %ebp
movl %ebp, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x54037(%rip), %rdi     # 0x12ab85
leaq 0x53b64(%rip), %rsi     # 0x12a6b9
leaq 0x54275(%rip), %rcx     # 0x12add1
movl $0x494, %edx            # imm = 0x494
callq 0x55710
leaq 0x5419c(%rip), %rdi     # 0x12ad09
leaq 0x541aa(%rip), %rsi     # 0x12ad1e
leaq 0x5420a(%rip), %rcx     # 0x12ad85
movl $0xac, %edx
callq 0x55710
leaq 0x5431b(%rip), %rdi     # 0x12aea7
leaq 0x53b26(%rip), %rsi     # 0x12a6b9
leaq 0x5431f(%rip), %rcx     # 0x12aeb9
movl $0x45f, %edx            # imm = 0x45F
callq 0x55710
leaq 0x53fee(%rip), %rdi     # 0x12ab99
leaq 0x53b07(%rip), %rsi     # 0x12a6b9
leaq 0x54004(%rip), %rcx     # 0x12abbd
movl $0x30a, %edx            # imm = 0x30A
callq 0x55710
leaq 0x541ed(%rip), %rdi     # 0x12adb7
leaq 0x53ae8(%rip), %rsi     # 0x12a6b9
leaq 0x541f9(%rip), %rcx     # 0x12add1
movl $0x485, %edx            # imm = 0x485
callq 0x55710
leaq 0x54241(%rip), %rdi     # 0x12ae2a
leaq 0x53ac9(%rip), %rsi     # 0x12a6b9
leaq 0x541da(%rip), %rcx     # 0x12add1
movl $0x486, %edx            # imm = 0x486
callq 0x55710
leaq 0x5432a(%rip), %rdi     # 0x12af32
leaq 0x53aaa(%rip), %rsi     # 0x12a6b9
leaq 0x542cb(%rip), %rcx     # 0x12aee1
movl $0xdf, %edx
callq 0x55710
leaq 0x5423a(%rip), %rdi     # 0x12ae61
leaq 0x53a8b(%rip), %rsi     # 0x12a6b9
leaq 0x5419c(%rip), %rcx     # 0x12add1
movl $0x4fa, %edx            # imm = 0x4FA
callq 0x55710
leaq 0x54207(%rip), %rdi     # 0x12ae4d
leaq 0x53a6c(%rip), %rsi     # 0x12a6b9
leaq 0x5417d(%rip), %rcx     # 0x12add1
movl $0x4e4, %edx            # imm = 0x4E4
callq 0x55710
leaq 0x5434d(%rip), %rdi     # 0x12afb2
leaq 0x54364(%rip), %rsi     # 0x12afd0
leaq 0x543c5(%rip), %rcx     # 0x12b038
movl $0x2b, %edx
callq 0x55710
leaq 0x541ba(%rip), %rdi     # 0x12ae3e
leaq 0x53a2e(%rip), %rsi     # 0x12a6b9
leaq 0x5413f(%rip), %rcx     # 0x12add1
movl $0x4db, %edx            # imm = 0x4DB
callq 0x55710