// File: /workspace/github_c_makefile_star2_O2/tditlu[P]shadetabler/src/lodepng/lodepng.c
// Function: lodepng_compute_color_stats
unsigned lodepng_compute_color_stats(LodePNGColorStats* stats,
                                     const unsigned char* in, unsigned w, unsigned h,
                                     const LodePNGColorMode* mode_in) {
  size_t i;
  ColorTree tree;
  size_t numpixels = (size_t)w * (size_t)h;
  unsigned error = 0;

  /* mark things as done already if it would be impossible to have a more expensive case */
  unsigned colored_done = lodepng_is_greyscale_type(mode_in) ? 1 : 0;
  unsigned alpha_done = lodepng_can_have_alpha(mode_in) ? 0 : 1;
  unsigned numcolors_done = 0;
  unsigned bpp = lodepng_get_bpp(mode_in);
  unsigned bits_done = (stats->bits == 1 && bpp == 1) ? 1 : 0;
  unsigned sixteen = 0; /* whether the input image is 16 bit */
  unsigned maxnumcolors = 257;
  if(bpp <= 8) maxnumcolors = LODEPNG_MIN(257, stats->numcolors + (1u << bpp));

  stats->numpixels += numpixels;

  /*if palette not allowed, no need to compute numcolors*/
  if(!stats->allow_palette) numcolors_done = 1;

  color_tree_init(&tree);

  /*If the stats was already filled in from previous data, fill its palette in tree
  and mark things as done already if we know they are the most expensive case already*/
  if(stats->alpha) alpha_done = 1;
  if(stats->colored) colored_done = 1;
  if(stats->bits == 16) numcolors_done = 1;
  if(stats->bits >= bpp) bits_done = 1;
  if(stats->numcolors >= maxnumcolors) numcolors_done = 1;

  if(!numcolors_done) {
    for(i = 0; i < stats->numcolors; i++) {
      const unsigned char* color = &stats->palette[i * 4];
      error = color_tree_add(&tree, color[0], color[1], color[2], color[3], i);
      if(error) goto cleanup;
    }
  }

  /*Check if the 16-bit input is truly 16-bit*/
  if(mode_in->bitdepth == 16 && !sixteen) {
    unsigned short r = 0, g = 0, b = 0, a = 0;
    for(i = 0; i != numpixels; ++i) {
      getPixelColorRGBA16(&r, &g, &b, &a, in, i, mode_in);
      if((r & 255) != ((r >> 8) & 255) || (g & 255) != ((g >> 8) & 255) ||
         (b & 255) != ((b >> 8) & 255) || (a & 255) != ((a >> 8) & 255)) /*first and second byte differ*/ {
        stats->bits = 16;
        sixteen = 1;
        bits_done = 1;
        numcolors_done = 1; /*counting colors no longer useful, palette doesn't support 16-bit*/
        break;
      }
    }
  }

  if(sixteen) {
    unsigned short r = 0, g = 0, b = 0, a = 0;

    for(i = 0; i != numpixels; ++i) {
      getPixelColorRGBA16(&r, &g, &b, &a, in, i, mode_in);

      if(!colored_done && (r != g || r != b)) {
        stats->colored = 1;
        colored_done = 1;
      }

      if(!alpha_done) {
        unsigned matchkey = (r == stats->key_r && g == stats->key_g && b == stats->key_b);
        if(a != 65535 && (a != 0 || (stats->key && !matchkey))) {
          stats->alpha = 1;
          stats->key = 0;
          alpha_done = 1;
        } else if(a == 0 && !stats->alpha && !stats->key) {
          stats->key = 1;
          stats->key_r = r;
          stats->key_g = g;
          stats->key_b = b;
        } else if(a == 65535 && stats->key && matchkey) {
          /* Color key cannot be used if an opaque pixel also has that RGB color. */
          stats->alpha = 1;
          stats->key = 0;
          alpha_done = 1;
        }
      }
      if(alpha_done && numcolors_done && colored_done && bits_done) break;
    }

    if(stats->key && !stats->alpha) {
      for(i = 0; i != numpixels; ++i) {
        getPixelColorRGBA16(&r, &g, &b, &a, in, i, mode_in);
        if(a != 0 && r == stats->key_r && g == stats->key_g && b == stats->key_b) {
          /* Color key cannot be used if an opaque pixel also has that RGB color. */
          stats->alpha = 1;
          stats->key = 0;
          alpha_done = 1;
        }
      }
    }
  } else /* < 16-bit */ {
    unsigned char r = 0, g = 0, b = 0, a = 0;
    for(i = 0; i != numpixels; ++i) {
      getPixelColorRGBA8(&r, &g, &b, &a, in, i, mode_in);

      if(!bits_done && stats->bits < 8) {
        /*only r is checked, < 8 bits is only relevant for grayscale*/
        unsigned bits = getValueRequiredBits(r);
        if(bits > stats->bits) stats->bits = bits;
      }
      bits_done = (stats->bits >= bpp);

      if(!colored_done && (r != g || r != b)) {
        stats->colored = 1;
        colored_done = 1;
        if(stats->bits < 8) stats->bits = 8; /*PNG has no colored modes with less than 8-bit per channel*/
      }

      if(!alpha_done) {
        unsigned matchkey = (r == stats->key_r && g == stats->key_g && b == stats->key_b);
        if(a != 255 && (a != 0 || (stats->key && !matchkey))) {
          stats->alpha = 1;
          stats->key = 0;
          alpha_done = 1;
          if(stats->bits < 8) stats->bits = 8; /*PNG has no alphachannel modes with less than 8-bit per channel*/
        } else if(a == 0 && !stats->alpha && !stats->key) {
          stats->key = 1;
          stats->key_r = r;
          stats->key_g = g;
          stats->key_b = b;
        } else if(a == 255 && stats->key && matchkey) {
          /* Color key cannot be used if an opaque pixel also has that RGB color. */
          stats->alpha = 1;
          stats->key = 0;
          alpha_done = 1;
          if(stats->bits < 8) stats->bits = 8; /*PNG has no alphachannel modes with less than 8-bit per channel*/
        }
      }

      if(!numcolors_done) {
        if(!color_tree_has(&tree, r, g, b, a)) {
          error = color_tree_add(&tree, r, g, b, a, stats->numcolors);
          if(error) goto cleanup;
          if(stats->numcolors < 256) {
            unsigned char* p = stats->palette;
            unsigned n = stats->numcolors;
            p[n * 4 + 0] = r;
            p[n * 4 + 1] = g;
            p[n * 4 + 2] = b;
            p[n * 4 + 3] = a;
          }
          ++stats->numcolors;
          numcolors_done = stats->numcolors >= maxnumcolors;
        }
      }

      if(alpha_done && numcolors_done && colored_done && bits_done) break;
    }

    if(stats->key && !stats->alpha) {
      for(i = 0; i != numpixels; ++i) {
        getPixelColorRGBA8(&r, &g, &b, &a, in, i, mode_in);
        if(a != 0 && r == stats->key_r && g == stats->key_g && b == stats->key_b) {
          /* Color key cannot be used if an opaque pixel also has that RGB color. */
          stats->alpha = 1;
          stats->key = 0;
          alpha_done = 1;
          if(stats->bits < 8) stats->bits = 8; /*PNG has no alphachannel modes with less than 8-bit per channel*/
        }
      }
    }

    /*make the stats's key always 16-bit for consistency - repeat each byte twice*/
    stats->key_r += (stats->key_r << 8);
    stats->key_g += (stats->key_g << 8);
    stats->key_b += (stats->key_b << 8);
  }

cleanup:
  color_tree_cleanup(&tree);
  return error;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %r8, %r15
movq %rsi, 0x40(%rsp)
movq %rdi, %r14
movl %edx, %eax
movl %ecx, %ecx
imulq %rax, %rcx
movq %rcx, 0x30(%rsp)
movl (%r8), %ebx
movq %r8, %rdi
callq 0x4bb2
xorl $0x1, %eax
movl %eax, 0x14(%rsp)
movq %r15, 0x28(%rsp)
movq %r15, %rdi
callq 0x4b2b
movl %eax, %edx
movl 0x418(%r14), %ebp
movl %ebp, %eax
xorl $0x1, %eax
movl %edx, %ecx
xorl $0x1, %ecx
orl %eax, %ecx
sete 0x58(%rsp)
movl $0x101, %r12d           # imm = 0x101
cmpl $0x8, %edx
ja 0x658b
pushq $0x1
popq %r12
movl %edx, %ecx
shll %cl, %r12d
addl 0x14(%r14), %r12d
movl $0x101, %eax            # imm = 0x101
cmpl %eax, %r12d
cmovael %eax, %r12d
testl $0xfffffffb, %ebx       # imm = 0xFFFFFFFB
sete %bl
movq 0x30(%rsp), %rax
addq %rax, 0x420(%r14)
cmpl $0x0, 0x428(%r14)
movl %edx, %r13d
sete %r15b
leaq 0x70(%rsp), %rdi
callq 0x5e38
cmpl $0x0, 0x10(%r14)
movl 0x14(%rsp), %eax
pushq $0x1
popq %rcx
cmovnel %ecx, %eax
movl %eax, 0x14(%rsp)
cmpl $0x0, (%r14)
setne %cl
cmpl $0x10, %ebp
movq %r14, %rax
sete %r14b
movl %r13d, 0x24(%rsp)
cmpl %r13d, %ebp
setae 0x1b(%rsp)
movq %rax, 0x38(%rsp)
movl 0x14(%rax), %eax
movl %r12d, 0x64(%rsp)
movq %rax, 0x50(%rsp)
cmpl %r12d, %eax
setae %al
orb %r15b, %r14b
orb %al, %r14b
movq 0x28(%rsp), %r12
jne 0x666e
movb %bl, 0x20(%rsp)
xorl %r15d, %r15d
leaq 0x70(%rsp), %rbp
movq 0x38(%rsp), %r12
movl 0x14(%r12), %eax
cmpq %rax, %r15
jae 0x6660
movzbl 0x18(%r12,%r15,4), %esi
movzbl 0x19(%r12,%r15,4), %edx
movl %ecx, %ebx
movzbl 0x1a(%r12,%r15,4), %ecx
movzbl 0x1b(%r12,%r15,4), %r8d
movq %rbp, %rdi
movl %r15d, %r9d
callq 0x5e53
movl %ebx, %ecx
incq %r15
testl %eax, %eax
je 0x6620
movl %eax, %r13d
jmp 0x6cd1
movq %rax, 0x50(%rsp)
movq 0x28(%rsp), %r12
movb 0x20(%rsp), %bl
orb %bl, %cl
movzbl %cl, %ebp
cmpl $0x10, 0x4(%r12)
movb 0x1b(%rsp), %bl
jne 0x6919
leaq 0x10(%rsp), %r13
andw $0x0, (%r13)
leaq 0xe(%rsp), %rax
andw $0x0, (%rax)
leaq 0xc(%rsp), %rax
andw $0x0, (%rax)
leaq 0x12(%rsp), %rax
andw $0x0, (%rax)
xorl %r15d, %r15d
cmpq %r15, 0x30(%rsp)
je 0x6919
movq %r12, (%rsp)
movq %r13, %rdi
leaq 0xe(%rsp), %rsi
leaq 0xc(%rsp), %rdx
leaq 0x12(%rsp), %rcx
movq 0x40(%rsp), %r8
movq %r15, %r9
callq 0x5f0a
movzwl 0x10(%rsp), %eax
movzbl %al, %ecx
shrl $0x8, %eax
cmpl %eax, %ecx
jne 0x6719
movzwl 0xe(%rsp), %eax
movzbl %al, %ecx
shrl $0x8, %eax
cmpl %eax, %ecx
jne 0x6719
movzwl 0xc(%rsp), %eax
movzbl %al, %ecx
shrl $0x8, %eax
cmpl %eax, %ecx
jne 0x6719
movzwl 0x12(%rsp), %eax
movzbl %al, %ecx
shrl $0x8, %eax
incq %r15
cmpl %eax, %ecx
je 0x66ac
movl %ebp, %ebx
movq 0x38(%rsp), %r14
movl $0x10, 0x418(%r14)
leaq 0x10(%rsp), %rax
andw $0x0, (%rax)
leaq 0xe(%rsp), %rax
andw $0x0, (%rax)
leaq 0xc(%rsp), %rax
andw $0x0, (%rax)
leaq 0x12(%rsp), %r15
andw $0x0, (%r15)
xorl %r13d, %r13d
pushq $0x1
popq %rbp
cmpq %r13, 0x30(%rsp)
je 0x6881
movq %r12, (%rsp)
leaq 0x10(%rsp), %rdi
leaq 0xe(%rsp), %rsi
leaq 0xc(%rsp), %rdx
movq %r15, %rcx
movq 0x40(%rsp), %r8
movq %r13, %r9
callq 0x5f0a
movb $0x1, %cl
movb $0x1, %al
testl %ebx, %ebx
movl %ebp, %ebx
jne 0x67b3
movzwl 0x10(%rsp), %edx
cmpw 0xe(%rsp), %dx
jne 0x67a8
xorl %eax, %eax
movl $0x0, %ebx
cmpw 0xc(%rsp), %dx
je 0x67b3
movl $0x1, (%r14)
movb $0x1, %al
movl %ebp, %ebx
cmpl $0x0, 0x14(%rsp)
jne 0x6870
movzwl 0x10(%rsp), %edx
cmpw 0x8(%r14), %dx
jne 0x67e5
movzwl 0xe(%rsp), %ecx
cmpw 0xa(%r14), %cx
jne 0x67e5
movzwl 0xc(%rsp), %ecx
cmpw 0xc(%r14), %cx
sete %cl
jmp 0x67e7
xorl %ecx, %ecx
movzwl 0x12(%rsp), %esi
cmpl $0xffff, %esi           # imm = 0xFFFF
je 0x6848
testl %esi, %esi
jne 0x6861
movl 0x4(%r14), %esi
testl %esi, %esi
sete %dil
orb %cl, %dil
testb $0x1, %dil
je 0x6861
xorl %ecx, %ecx
orl 0x10(%r14), %esi
movl $0x0, 0x14(%rsp)
jne 0x6874
movl $0x1, 0x4(%r14)
movw %dx, 0x8(%r14)
movzwl 0xe(%rsp), %ecx
movw %cx, 0xa(%r14)
movzwl 0xc(%rsp), %ecx
movw %cx, 0xc(%r14)
xorl %ecx, %ecx
movl $0x0, 0x14(%rsp)
jmp 0x6874
cmpl $0x0, 0x4(%r14)
setne %dl
andb %cl, %dl
xorl %ecx, %ecx
movl $0x0, 0x14(%rsp)
cmpb $0x1, %dl
jne 0x6874
movl $0x1, 0x10(%r14)
andl $0x0, 0x4(%r14)
movb $0x1, %cl
movl %ebp, 0x14(%rsp)
andb %cl, %al
incq %r13
cmpb $0x1, %al
jne 0x6756
cmpl $0x0, 0x4(%r14)
je 0x6cce
cmpl $0x0, 0x10(%r14)
jne 0x6cce
xorl %r15d, %r15d
leaq 0x10(%rsp), %rbx
leaq 0xe(%rsp), %r13
leaq 0xc(%rsp), %rbp
leaq 0x12(%rsp), %r12
cmpq %r15, 0x30(%rsp)
je 0x6cce
movq 0x28(%rsp), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq %r13, %rsi
movq %rbp, %rdx
movq %r12, %rcx
movq 0x40(%rsp), %r8
movq %r15, %r9
callq 0x5f0a
cmpw $0x0, 0x12(%rsp)
je 0x6914
movzwl 0x10(%rsp), %eax
cmpw 0x8(%r14), %ax
jne 0x6914
movzwl 0xe(%rsp), %eax
cmpw 0xa(%r14), %ax
jne 0x6914
movzwl 0xc(%rsp), %eax
cmpw 0xc(%r14), %ax
jne 0x6914
movl $0x1, 0x10(%r14)
andl $0x0, 0x4(%r14)
incq %r15
jmp 0x68ae
orb 0x58(%rsp), %bl
movzbl %r14b, %r13d
xorl %r9d, %r9d
leaq 0x10(%rsp), %rax
movb %r9b, (%rax)
leaq 0xe(%rsp), %rax
movb %r9b, (%rax)
leaq 0xc(%rsp), %rax
movb %r9b, (%rax)
leaq 0x12(%rsp), %rax
movb %r9b, (%rax)
movq 0x38(%rsp), %r14
movl 0x24(%rsp), %r15d
cmpq %r9, 0x30(%rsp)
je 0x6c9f
movq %r12, (%rsp)
leaq 0x10(%rsp), %rdi
leaq 0xe(%rsp), %rsi
leaq 0xc(%rsp), %rdx
leaq 0x12(%rsp), %rcx
movq 0x40(%rsp), %r8
movq %r9, 0x58(%rsp)
callq 0x6082
movl 0x418(%r14), %r10d
cmpl $0x8, %r10d
setae %al
orb %al, %bl
testb $0x1, %bl
je 0x699c
leaq 0x70(%rsp), %rdi
jmp 0x69e9
movb 0x10(%rsp), %cl
leal 0x1(%rcx), %edx
pushq $0x1
popq %rax
cmpb $0x2, %dl
leaq 0x70(%rsp), %rdi
jb 0x69da
movzbl %cl, %ecx
movl %ecx, %eax
movb $0x11, %dl
divb %dl
movzbl %ah, %edx
pushq $0x8
popq %rax
testb %dl, %dl
jne 0x69da
movl %ecx, %eax
movb $0x55, %cl
divb %cl
movzbl %ah, %eax
xorl %ecx, %ecx
testb %al, %al
setne %cl
leal 0x2(,%rcx,2), %eax
cmpl %r10d, %eax
jbe 0x69e9
movl %eax, 0x418(%r14)
movl %eax, %r10d
cmpl %r15d, %r10d
setae 0x1b(%rsp)
movb $0x1, %r9b
movl %r10d, %eax
movb $0x1, %bl
testl %ebp, %ebp
pushq $0x1
popq %rbp
jne 0x6a3f
movb 0x10(%rsp), %cl
cmpb 0xe(%rsp), %cl
jne 0x6a1a
xorl %ebx, %ebx
movl %r10d, %eax
movl $0x0, %ebp
cmpb 0xc(%rsp), %cl
je 0x6a3f
movl $0x1, (%r14)
movl %r10d, %eax
movb $0x1, %bl
pushq $0x1
popq %rbp
cmpl $0x7, %r10d
ja 0x6a3f
movl $0x8, 0x418(%r14)
pushq $0x8
popq %rax
movb $0x1, %bl
cmpl $0x0, 0x14(%rsp)
je 0x6a5e
movb $0x1, %r9b
pushq $0x1
popq %rax
movl %eax, 0x14(%rsp)
testl %r13d, %r13d
je 0x6a8d
pushq $0x1
popq %r13
jmp 0x6c30
movzbl 0x10(%rsp), %ecx
cmpw %cx, 0x8(%r14)
jne 0x6b01
movzbl 0xe(%rsp), %edx
cmpw %dx, 0xa(%r14)
jne 0x6b01
movzbl 0xc(%rsp), %edx
cmpw %dx, 0xc(%r14)
sete %dl
jmp 0x6b03
movl %r9d, 0x48(%rsp)
movl %r10d, 0x4c(%rsp)
movl %ebp, 0x20(%rsp)
movb 0x10(%rsp), %al
movb 0xe(%rsp), %r13b
movb 0xc(%rsp), %bpl
movb 0x12(%rsp), %r14b
movb %al, 0x1f(%rsp)
movzbl %al, %esi
movzbl %r13b, %edx
movzbl %bpl, %r12d
movzbl %r14b, %r15d
movl %esi, 0x6c(%rsp)
movl %edx, 0x68(%rsp)
movl %r12d, %ecx
movl %r15d, %r8d
callq 0xb75f
testl %eax, %eax
js 0x6b8c
movq 0x38(%rsp), %r14
movq 0x28(%rsp), %r12
movl 0x20(%rsp), %ebp
movl 0x24(%rsp), %r15d
movl 0x4c(%rsp), %r10d
xorl %r13d, %r13d
movl 0x48(%rsp), %r9d
jmp 0x6c30
xorl %edx, %edx
movzbl 0x12(%rsp), %esi
cmpl $0xff, %esi
je 0x6c5b
testl %esi, %esi
jne 0x6b71
movl 0x4(%r14), %esi
testl %esi, %esi
sete %r8b
orb %dl, %r8b
testb $0x1, %r8b
je 0x6b71
xorl %r9d, %r9d
orl 0x10(%r14), %esi
movl $0x0, 0x14(%rsp)
jne 0x6a50
movl $0x1, 0x4(%r14)
movw %cx, 0x8(%r14)
movzbl 0xe(%rsp), %eax
movw %ax, 0xa(%r14)
movzbl 0xc(%rsp), %eax
movw %ax, 0xc(%r14)
xorl %r9d, %r9d
movl $0x0, 0x14(%rsp)
jmp 0x6a50
movl $0x1, 0x10(%r14)
andl $0x0, 0x4(%r14)
cmpl $0x7, %eax
ja 0x6a49
jmp 0x6c8f
movb %r14b, 0x1c(%rsp)
movb %bpl, 0x1d(%rsp)
movb %r13b, 0x1e(%rsp)
leaq 0x70(%rsp), %rdi
movl 0x6c(%rsp), %esi
movl 0x68(%rsp), %edx
movl %r12d, %ecx
movl %r15d, %r8d
movq 0x50(%rsp), %r9
callq 0x5e53
testl %eax, %eax
jne 0x6658
movq 0x38(%rsp), %r14
movl 0x14(%r14), %eax
cmpq $0xff, %rax
movq 0x28(%rsp), %r12
movl 0x20(%rsp), %ebp
movl 0x24(%rsp), %r15d
movl 0x4c(%rsp), %r10d
movl 0x48(%rsp), %r9d
ja 0x6c1a
movq %rax, %rcx
leal (,%rax,4), %eax
movb 0x1f(%rsp), %dl
movb %dl, 0x18(%r14,%rcx,4)
movb 0x1e(%rsp), %dl
movb %dl, 0x19(%r14,%rax)
movb 0x1d(%rsp), %dl
movb %dl, 0x1a(%r14,%rax)
movb 0x1c(%rsp), %dl
movb %dl, 0x1b(%r14,%rax)
movq %rcx, %rax
incl %eax
movl %eax, 0x14(%r14)
xorl %r13d, %r13d
movq %rax, 0x50(%rsp)
cmpl 0x64(%rsp), %eax
setae %r13b
testl %r13d, %r13d
setne %al
andb %r9b, %bl
andb %al, %bl
movq 0x58(%rsp), %r9
incq %r9
cmpb $0x1, %bl
movb 0x1b(%rsp), %bl
jne 0x694e
cmpl %r15d, %r10d
jb 0x694e
jmp 0x6c9f
cmpl $0x0, 0x4(%r14)
setne %cl
andb %dl, %cl
xorl %r9d, %r9d
movl $0x0, 0x14(%rsp)
cmpb $0x1, %cl
jne 0x6a50
movl $0x1, 0x10(%r14)
andl $0x0, 0x4(%r14)
cmpl $0x7, %eax
ja 0x6a46
movl $0x8, 0x418(%r14)
jmp 0x6a46
cmpl $0x0, 0x4(%r14)
je 0x6cad
cmpl $0x0, 0x10(%r14)
je 0x6cf0
movq 0x8(%r14), %xmm0
pmullw 0x8445(%rip), %xmm0     # 0xf100
movd %xmm0, 0x8(%r14)
imull $0x101, 0xc(%r14), %eax # imm = 0x101
movw %ax, 0xc(%r14)
xorl %r13d, %r13d
leaq 0x70(%rsp), %rdi
callq 0x632a
movl %r13d, %eax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
leaq 0x10(%rsp), %rbx
leaq 0xe(%rsp), %r13
leaq 0xc(%rsp), %rbp
leaq 0x12(%rsp), %r12
cmpq %r15, 0x30(%rsp)
je 0x6cad
movq 0x28(%rsp), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq %r13, %rsi
movq %rbp, %rdx
movq %r12, %rcx
movq 0x40(%rsp), %r8
movq %r15, %r9
callq 0x6082
cmpb $0x0, 0x12(%rsp)
je 0x6d7d
movzbl 0x10(%rsp), %eax
cmpw %ax, 0x8(%r14)
jne 0x6d7d
movzbl 0xe(%rsp), %eax
cmpw %ax, 0xa(%r14)
jne 0x6d7d
movzbl 0xc(%rsp), %eax
cmpw %ax, 0xc(%r14)
jne 0x6d7d
movl $0x1, 0x10(%r14)
andl $0x0, 0x4(%r14)
cmpl $0x7, 0x418(%r14)
ja 0x6d7d
movl $0x8, 0x418(%r14)
incq %r15
jmp 0x6d07