// File: /workspace/github_c_makefile_star2_O3/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 $0x88, %rsp
movl %ecx, %r11d
movl %edx, %ecx
movq %rdi, %r10
movslq 0x90(%rdi), %rdi
movl %edi, %eax
cltd
idivl %ecx
movl %eax, %r15d
movl %edx, %ebp
movl %r8d, 0x24(%rsp)
movl %r8d, %eax
movl %ecx, 0x20(%rsp)
imull %ecx, %eax
movl 0x98(%r10), %edx
cmpl $0x0, 0x50(%r10)
movl $0x1000000, %ecx        # imm = 0x1000000
cmovnel %r15d, %ecx
movl %ecx, 0x44(%rsp)
leaq 0xa0(%r10), %rcx
xorl %r8d, %r8d
movq %rdx, 0x50(%rsp)
testl %edx, %edx
movl $0x0, %r12d
movq %rcx, 0x38(%rsp)
cmovgq %rcx, %r12
movl 0xc0(%r10), %ecx
movl %ecx, 0x40(%rsp)
cmpl %eax, %edi
jge 0xd5226
movl 0xc4(%r10), %ecx
testl %ecx, %ecx
je 0xd5208
movl %r15d, %edx
sarl %cl, %edx
imull 0xc8(%r10), %edx
movl %ebp, %r8d
sarl %cl, %r8d
movq 0xd0(%r10), %rcx
addl %edx, %r8d
movslq %r8d, %rdx
movl (%rcx,%rdx,4), %r8d
cmpl 0xd8(%r10), %r8d
jge 0xd5b86
movslq %r8d, %rcx
imulq $0x238, %rcx, %r8       # imm = 0x238
addq 0xe0(%r10), %r8
movl 0x24(%rsp), %ecx
cmpl %ecx, 0x8c(%r10)
jge 0xd5ba5
imull 0x20(%rsp), %r11d
cmpl %r11d, %eax
jg 0xd5bc4
leaq 0x28(%r10), %rcx
movq %rcx, 0x28(%rsp)
leaq (%rsi,%rdi,4), %rbx
movslq %eax, %rcx
leaq (%rsi,%rcx,4), %rcx
movq %rcx, 0x48(%rsp)
cmpl %eax, %edi
movq %r10, 0x10(%rsp)
movq %rsi, 0x58(%rsp)
jge 0xd59ef
movq %r8, 0x30(%rsp)
leaq 0x98(%r10), %rax
movq %rax, 0x70(%rsp)
movslq %r11d, %rax
leaq (%rsi,%rax,4), %rax
movq %rax, 0x68(%rsp)
movq 0x50(%rsp), %rax
addl $0x118, %eax            # imm = 0x118
movl %eax, 0x64(%rsp)
leaq 0x58(%r10), %rax
movq %rax, 0x80(%rsp)
leaq 0xb0(%r10), %rax
movq %rax, 0x78(%rsp)
movq %rbx, %r14
movq %r9, 0x8(%rsp)
cmpl 0x44(%rsp), %r15d
movq 0x30(%rsp), %r13
jl 0xd5334
cmpl $0x0, 0x50(%r10)
je 0xd5b67
movq %rbx, %rax
subq 0x58(%rsp), %rax
shrq $0x2, %rax
movq 0x28(%rsp), %rdx
movq 0x20(%rdx), %rcx
movq 0x80(%rsp), %rsi
movq %rcx, 0x20(%rsi)
movups (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movups %xmm1, 0x10(%rsi)
movups %xmm0, (%rsi)
movl %eax, 0x80(%r10)
cmpl $0x0, 0x98(%r10)
jle 0xd532c
movq 0x38(%rsp), %rdi
movq 0x78(%rsp), %rsi
callq 0xf00b8
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %r10
leal 0x8(%r15), %eax
movl %eax, 0x44(%rsp)
testl %ebp, 0x40(%rsp)
jne 0xd5386
movl 0xc4(%r10), %ecx
testl %ecx, %ecx
je 0xd5367
movl %r15d, %eax
sarl %cl, %eax
imull 0xc8(%r10), %eax
movl %ebp, %edx
sarl %cl, %edx
movq 0xd0(%r10), %rcx
addl %eax, %edx
movslq %edx, %rax
movl (%rcx,%rax,4), %eax
jmp 0xd5369
xorl %eax, %eax
cmpl 0xd8(%r10), %eax
jge 0xd5b86
cltq
imulq $0x238, %rax, %r13      # imm = 0x238
addq 0xe0(%r10), %r13
testq %r13, %r13
je 0xd5b29
cmpl $0x0, 0x30(%r13)
movq %r15, 0x18(%rsp)
movq %r13, 0x30(%rsp)
je 0xd543d
movl 0x2c(%r13), %r15d
movl %r15d, (%rbx)
leaq 0x4(%rbx), %r13
incl %ebp
cmpl 0x20(%rsp), %ebp
movq 0x18(%rsp), %r15
jl 0xd542a
testq %r9, %r9
setne %al
movq %r15, %rcx
incl %r15d
cmpl 0x24(%rsp), %ecx
setl %cl
andb %al, %cl
testb $0xf, %r15b
sete %al
andb %cl, %al
cmpb $0x1, %al
jne 0xd53f2
movq %r10, %rdi
movl %r15d, %esi
callq *0x8(%rsp)
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %r10
xorl %ebp, %ebp
cmpl $0x0, 0x50(%rsp)
jle 0xd542a
cmpq %r13, %r14
jae 0xd542a
movq 0x38(%rsp), %rax
movq (%rax), %rax
movq %r14, %rdx
movl (%r14), %esi
movb 0x8(%r12), %cl
imull $0x1e35a7bd, %esi, %edi # imm = 0x1E35A7BD
shrl %cl, %edi
addq $0x4, %r14
movslq %edi, %rcx
movl %esi, (%rax,%rcx,4)
cmpq %rbx, %rdx
jb 0xd5408
movq %r13, %rbx
cmpq 0x48(%rsp), %r13
jb 0xd52bc
jmp 0xd59fc
cmpl $0x20, 0x48(%r10)
jl 0xd5458
movq 0x28(%rsp), %rdi
callq 0xefeb1
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %r10
cmpl $0x0, 0x34(%r13)
je 0xd5493
movq 0x28(%r10), %rsi
movl 0x48(%r10), %ecx
movq %rsi, %rax
shrq %cl, %rax
andl $0x3f, %eax
movl 0x38(%r13,%rax,8), %edx
movl 0x3c(%r13,%rax,8), %r15d
addl %edx, %ecx
cmpl $0xff, %edx
jg 0xd54fc
movl %ecx, 0x48(%r10)
movl %r15d, (%rbx)
xorl %r15d, %r15d
jmp 0xd5513
movq (%r13), %rdx
movq 0x28(%r10), %rsi
movl 0x48(%r10), %eax
movq %rsi, %rdi
movl %eax, %ecx
shrq %cl, %rdi
movzbl %dil, %ecx
leaq (%rdx,%rcx,4), %rdi
movzbl (%rdi), %edx
cmpl $0x9, %edx
jb 0xd54e4
addl $0x8, %eax
movq %rsi, %r8
movl %eax, %ecx
shrq %cl, %r8
movzwl 0x2(%rdi), %ecx
leaq (%rdi,%rcx,4), %rdi
addb $-0x8, %dl
movl $0xffffffff, %r11d      # imm = 0xFFFFFFFF
movl %edx, %ecx
shll %cl, %r11d
notl %r11d
andl %r8d, %r11d
leaq (%rdi,%r11,4), %rdi
movb (%rdi), %dl
movzbl %dl, %ecx
addl %eax, %ecx
movl %ecx, 0x48(%r10)
movzwl 0x2(%rdi), %r15d
movq 0x38(%r10), %rax
movq 0x40(%r10), %rcx
jmp 0xd5548
addl $0xffffff00, %ecx       # imm = 0xFFFFFF00
movl %ecx, 0x48(%r10)
cmpl $0xff, %r15d
jbe 0xd5be3
movq 0x38(%r10), %rax
movq 0x40(%r10), %rcx
cmpq %rax, %rcx
ja 0xd5b48
cmpl $0x0, 0x4c(%r10)
jne 0xd59f4
cmpq %rax, %rcx
jne 0xd553f
cmpl $0x40, 0x48(%r10)
jg 0xd59f4
testl %r15d, %r15d
je 0xd53ab
cmpq %rax, %rcx
ja 0xd5b48
cmpl $0x0, 0x4c(%r10)
jne 0xd59f4
cmpq %rax, %rcx
jne 0xd556c
cmpl $0x40, 0x48(%r10)
jg 0xd59f4
cmpl $0xff, %r15d
jg 0xd558d
cmpl $0x0, 0x28(%r13)
je 0xd56fe
shll $0x8, %r15d
orl 0x2c(%r13), %r15d
jmp 0xd53a8
cmpl $0x117, %r15d           # imm = 0x117
ja 0xd569e
leal -0x100(%r15), %eax
cmpl $0x4, %eax
jb 0xd55df
leal -0x102(%r15), %ecx
shrl %ecx
andl $0x1, %r15d
orl $0x2, %r15d
shll %cl, %r15d
movq 0x28(%rsp), %r13
movq %r13, %rdi
movl %ecx, %esi
callq 0xeffac
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %r10
addl %r15d, %eax
movq (%r13), %rsi
movq 0x30(%rsp), %r13
movl %eax, 0x60(%rsp)
movq 0x20(%r13), %rdx
movl 0x48(%r10), %eax
movq %rsi, %rdi
movl %eax, %ecx
shrq %cl, %rdi
movzbl %dil, %ecx
leaq (%rdx,%rcx,4), %rdi
movzbl (%rdi), %edx
cmpl $0x9, %edx
jb 0xd562d
addl $0x8, %eax
movl %eax, %ecx
shrq %cl, %rsi
movzwl 0x2(%rdi), %ecx
leaq (%rdi,%rcx,4), %rdi
addb $-0x8, %dl
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movl %edx, %ecx
shll %cl, %r8d
notl %r8d
andl %esi, %r8d
leaq (%rdi,%r8,4), %rdi
movb (%rdi), %dl
movzbl %dl, %ecx
addl %eax, %ecx
movl %ecx, 0x48(%r10)
movzwl 0x2(%rdi), %r15d
cmpl $0x20, %ecx
jl 0xd5654
movq 0x28(%rsp), %rdi
callq 0xefeb1
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %r10
cmpw $0x4, %r15w
jb 0xd5688
leal -0x2(%r15), %ecx
shrl %ecx
andl $0x1, %r15d
orl $0x2, %r15d
shll %cl, %r15d
movq 0x28(%rsp), %rdi
movl %ecx, %esi
callq 0xeffac
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %r10
addl %r15d, %eax
movl %eax, %r15d
leal 0x1(%r15), %eax
cmpl $0x79, %eax
jl 0xd586e
addl $-0x77, %r15d
jmp 0xd58a0
cmpl 0x64(%rsp), %r15d
jge 0xd5ac7
cmpq %rbx, %r14
jae 0xd56d5
movq 0x38(%rsp), %rax
movq (%rax), %rax
movl (%r14), %edx
movb 0x8(%r12), %cl
imull $0x1e35a7bd, %edx, %esi # imm = 0x1E35A7BD
shrl %cl, %esi
addq $0x4, %r14
movslq %esi, %rcx
movl %edx, (%rax,%rcx,4)
cmpq %rbx, %r14
jb 0xd56b6
addl $0xfffffee8, %r15d      # imm = 0xFFFFFEE8
movb 0xc(%r12), %cl
movl %r15d, %eax
shrl %cl, %eax
testl %eax, %eax
jne 0xd5c21
movq (%r12), %rax
movl %r15d, %ecx
movl (%rax,%rcx,4), %r15d
jmp 0xd53a8
movq 0x8(%r13), %rax
movl 0x48(%r10), %edx
movq %rsi, %rdi
movl %edx, %ecx
shrq %cl, %rdi
movzbl %dil, %ecx
leaq (%rax,%rcx,4), %rdi
movzbl (%rdi), %eax
cmpl $0x9, %eax
jb 0xd574a
addl $0x8, %edx
movq %rsi, %r8
movl %edx, %ecx
shrq %cl, %r8
movzwl 0x2(%rdi), %ecx
leaq (%rdi,%rcx,4), %rdi
addb $-0x8, %al
movl $0xffffffff, %r11d      # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %r11d
notl %r11d
andl %r8d, %r11d
leaq (%rdi,%r11,4), %rdi
movb (%rdi), %al
movzbl %al, %eax
addl %edx, %eax
movl %eax, 0x48(%r10)
movzwl 0x2(%rdi), %r13d
cmpl $0x20, %eax
jl 0xd5779
movq 0x28(%rsp), %rdi
callq 0xefeb1
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %r10
movq 0x28(%r10), %rsi
movl 0x48(%r10), %eax
movq 0x30(%rsp), %rcx
movq 0x10(%rcx), %rdx
movq %rsi, %rdi
movl %eax, %ecx
shrq %cl, %rdi
movzbl %dil, %ecx
leaq (%rdx,%rcx,4), %rdi
movzbl (%rdi), %edx
cmpl $0x9, %edx
jb 0xd57c7
addl $0x8, %eax
movq %rsi, %r8
movl %eax, %ecx
shrq %cl, %r8
movzwl 0x2(%rdi), %ecx
leaq (%rdi,%rcx,4), %rdi
addb $-0x8, %dl
movl $0xffffffff, %r11d      # imm = 0xFFFFFFFF
movl %edx, %ecx
shll %cl, %r11d
notl %r11d
andl %r8d, %r11d
leaq (%rdi,%r11,4), %rdi
movb (%rdi), %dl
movzbl %dl, %edx
addl %eax, %edx
movzwl 0x2(%rdi), %edi
movq 0x30(%rsp), %rax
movq 0x18(%rax), %rax
movq %rsi, %r8
movl %edx, %ecx
shrq %cl, %r8
movzbl %r8b, %ecx
leaq (%rax,%rcx,4), %r8
movzbl (%r8), %eax
cmpl $0x9, %eax
jb 0xd581d
addl $0x8, %edx
movl %edx, %ecx
shrq %cl, %rsi
movzwl 0x2(%r8), %ecx
leaq (%r8,%rcx,4), %r8
addb $-0x8, %al
movl $0xffffffff, %r11d      # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %r11d
notl %r11d
andl %esi, %r11d
leaq (%r8,%r11,4), %r8
movb (%r8), %al
movzbl %al, %ecx
addl %edx, %ecx
movl %ecx, 0x48(%r10)
movq 0x38(%r10), %rdx
movq 0x40(%r10), %rsi
cmpq %rdx, %rsi
ja 0xd5b48
cmpl $0x0, 0x4c(%r10)
jne 0xd59f4
movzwl 0x2(%r8), %eax
cmpq %rdx, %rsi
jne 0xd5855
cmpl $0x40, %ecx
jg 0xd59f4
shll $0x18, %eax
shll $0x10, %r13d
shll $0x8, %r15d
orl %r13d, %r15d
orl %edi, %r15d
orl %eax, %r15d
jmp 0xd53a8
movslq %r15d, %rax
leaq 0x53fe8(%rip), %rcx     # 0x129860
movzbl (%rax,%rcx), %eax
movl %eax, %r15d
shrl $0x4, %r15d
andl $0xf, %eax
imull 0x20(%rsp), %r15d
subl %eax, %r15d
addl $0x8, %r15d
cmpl $0x2, %r15d
movl $0x1, %eax
cmovll %eax, %r15d
movq 0x38(%r10), %rax
movq 0x40(%r10), %rcx
cmpq %rax, %rcx
ja 0xd5b48
cmpl $0x0, 0x4c(%r10)
jne 0xd59f4
cmpq %rax, %rcx
jne 0xd58cc
cmpl $0x40, 0x48(%r10)
jg 0xd59f4
movq %rbx, %rax
subq 0x58(%rsp), %rax
sarq $0x2, %rax
movl %r15d, %ecx
cmpq %rcx, %rax
movl 0x60(%rsp), %edx
jl 0xd5ac7
incl %edx
movq 0x68(%rsp), %rax
subq %rbx, %rax
sarq $0x2, %rax
movslq %edx, %r13
cmpq %r13, %rax
jl 0xd5ac7
movq %rbx, %rdi
movl %r15d, %esi
movl %edx, %r15d
callq 0xd6992
addl %r15d, %ebp
cmpl 0x20(%rsp), %ebp
jge 0xd592a
movq 0x10(%rsp), %r10
movq 0x8(%rsp), %r9
movq 0x18(%rsp), %r15
jmp 0xd597c
movq 0x10(%rsp), %r10
movq 0x8(%rsp), %r9
movq 0x18(%rsp), %r15
movl %r15d, %eax
testq %r9, %r9
setne %cl
cmpl 0x24(%rsp), %r15d
leal 0x1(%rax), %r15d
setl %al
andb %cl, %al
testb $0xf, %r15b
sete %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xd5972
movq %r10, %rdi
movl %r15d, %esi
callq *0x8(%rsp)
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %r10
movl 0x20(%rsp), %eax
subl %eax, %ebp
cmpl %eax, %ebp
jge 0xd5939
leaq (%rbx,%r13,4), %r13
cmpq 0x68(%rsp), %r13
ja 0xd5c40
testl %ebp, 0x40(%rsp)
je 0xd59af
movq 0x70(%rsp), %rdi
movl %ebp, %esi
movl %r15d, %edx
callq 0xd6791
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %r10
movq %rax, 0x30(%rsp)
cmpl $0x0, 0x50(%rsp)
jle 0xd542a
cmpq %r13, %r14
jae 0xd542a
movq 0x38(%rsp), %rax
movq (%rax), %rax
movl (%r14), %edx
movb 0x8(%r12), %cl
imull $0x1e35a7bd, %edx, %esi # imm = 0x1E35A7BD
shrl %cl, %esi
addq $0x4, %r14
movslq %esi, %rcx
movl %edx, (%rax,%rcx,4)
cmpq %r13, %r14
jb 0xd59cb
jmp 0xd542a
movq %rbx, %r13
jmp 0xd59fc
movq %rbx, %r13
movq 0x18(%rsp), %r15
movq 0x38(%r10), %rcx
movq 0x40(%r10), %rdx
cmpq %rcx, %rdx
ja 0xd5b48
cmpl $0x0, 0x4c(%r10)
je 0xd5a2d
movl $0x1, 0x4c(%r10)
movl $0x1, %eax
cmpl $0x0, 0x50(%r10)
jne 0xd5a49
jmp 0xd5ac7
xorl %eax, %eax
cmpq %rcx, %rdx
jne 0xd5a3e
xorl %eax, %eax
cmpl $0x41, 0x48(%r10)
setge %al
movl %eax, 0x4c(%r10)
cmpl $0x0, 0x50(%r10)
je 0xd5ac3
cmpq 0x48(%rsp), %r13
setb %cl
andb %al, %cl
jne 0xd5a60
cmpq 0x48(%rsp), %r13
jb 0xd5c02
testb %cl, %cl
je 0xd5abc
movl $0x5, (%r10)
movq 0x78(%r10), %rax
movq 0x28(%rsp), %rcx
movq %rax, 0x20(%rcx)
movups 0x58(%r10), %xmm0
movups 0x68(%r10), %xmm1
movups %xmm1, 0x10(%rcx)
movups %xmm0, (%rcx)
movl 0x80(%r10), %eax
movl %eax, 0x90(%r10)
movl $0x1, %ebp
cmpl $0x0, 0x98(%r10)
jle 0xd5b15
addq $0xb0, %r10
movq %r10, %rdi
movq 0x38(%rsp), %rsi
callq 0xf00b8
jmp 0xd5b15
cmpq 0x48(%rsp), %r13
jae 0xd5ade
testl %eax, %eax
je 0xd5ade
movl (%r10), %eax
xorl %ebp, %ebp
cmpl $0x5, %eax
je 0xd5ad5
testl %eax, %eax
jne 0xd5b15
movl $0x3, (%r10)
jmp 0xd5b15
testq %r9, %r9
je 0xd5af9
movl 0x24(%rsp), %esi
cmpl %esi, %r15d
cmovll %r15d, %esi
movq %r10, %rdi
callq *%r9
movq 0x10(%rsp), %r10
movl $0x0, (%r10)
subq 0x58(%rsp), %r13
shrq $0x2, %r13
movl %r13d, 0x90(%r10)
movl $0x1, %ebp
movl %ebp, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5427b(%rip), %rdi     # 0x129dab
leaq 0x53db2(%rip), %rsi     # 0x1298e9
leaq 0x544b9(%rip), %rcx     # 0x129ff7
movl $0x494, %edx            # imm = 0x494
callq 0x55710
leaq 0x543e0(%rip), %rdi     # 0x129f2f
leaq 0x543ee(%rip), %rsi     # 0x129f44
leaq 0x5444e(%rip), %rcx     # 0x129fab
movl $0xac, %edx
callq 0x55710
leaq 0x5454b(%rip), %rdi     # 0x12a0b9
leaq 0x53d74(%rip), %rsi     # 0x1298e9
leaq 0x5454f(%rip), %rcx     # 0x12a0cb
movl $0x45f, %edx            # imm = 0x45F
callq 0x55710
leaq 0x54232(%rip), %rdi     # 0x129dbf
leaq 0x53d55(%rip), %rsi     # 0x1298e9
leaq 0x54248(%rip), %rcx     # 0x129de3
movl $0x30a, %edx            # imm = 0x30A
callq 0x55710
leaq 0x54431(%rip), %rdi     # 0x129fdd
leaq 0x53d36(%rip), %rsi     # 0x1298e9
leaq 0x5443d(%rip), %rcx     # 0x129ff7
movl $0x485, %edx            # imm = 0x485
callq 0x55710
leaq 0x54485(%rip), %rdi     # 0x12a050
leaq 0x53d17(%rip), %rsi     # 0x1298e9
leaq 0x5441e(%rip), %rcx     # 0x129ff7
movl $0x486, %edx            # imm = 0x486
callq 0x55710
leaq 0x5455a(%rip), %rdi     # 0x12a144
leaq 0x53cf8(%rip), %rsi     # 0x1298e9
leaq 0x544fb(%rip), %rcx     # 0x12a0f3
movl $0xdf, %edx
callq 0x55710
leaq 0x5446a(%rip), %rdi     # 0x12a073
leaq 0x53cd9(%rip), %rsi     # 0x1298e9
leaq 0x543e0(%rip), %rcx     # 0x129ff7
movl $0x4fa, %edx            # imm = 0x4FA
callq 0x55710
leaq 0x5459c(%rip), %rdi     # 0x12a1c4
leaq 0x545b3(%rip), %rsi     # 0x12a1e2
leaq 0x54614(%rip), %rcx     # 0x12a24a
movl $0x2b, %edx
callq 0x55710
leaq 0x5441d(%rip), %rdi     # 0x12a064
leaq 0x53c9b(%rip), %rsi     # 0x1298e9
leaq 0x543a2(%rip), %rcx     # 0x129ff7
movl $0x4db, %edx            # imm = 0x4DB
callq 0x55710