// File: /workspace/github_c_makefile_star2_O2/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__create_png_image_raw(stbi__png*, unsigned char*, unsigned int, int, unsigned int, unsigned int, int, int)
static int stbi__create_png_image_raw(stbi__png *a, stbi_uc *raw, stbi__uint32 raw_len, int out_n, stbi__uint32 x, stbi__uint32 y, int depth, int color)
{
   int bytes = (depth == 16? 2 : 1);
   stbi__context *s = a->s;
   stbi__uint32 i,j,stride = x*out_n*bytes;
   stbi__uint32 img_len, img_width_bytes;
   int k;
   int img_n = s->img_n; // copy it into a local for later

   int output_bytes = out_n*bytes;
   int filter_bytes = img_n*bytes;
   int width = x;

   STBI_ASSERT(out_n == s->img_n || out_n == s->img_n+1);
   a->out = (stbi_uc *) stbi__malloc_mad3(x, y, output_bytes, 0); // extra bytes to write off the end into
   if (!a->out) return stbi__err("outofmem", "Out of memory");

   if (!stbi__mad3sizes_valid(img_n, x, depth, 7)) return stbi__err("too large", "Corrupt PNG");
   img_width_bytes = (((img_n * x * depth) + 7) >> 3);
   img_len = (img_width_bytes + 1) * y;

   // we used to check for exact match between raw_len and img_len on non-interlaced PNGs,
   // but issue #276 reported a PNG in the wild that had extra data at the end (all zeros),
   // so just check for raw_len < img_len always.
   if (raw_len < img_len) return stbi__err("not enough pixels","Corrupt PNG");

   for (j=0; j < y; ++j) {
      stbi_uc *cur = a->out + stride*j;
      stbi_uc *prior;
      int filter = *raw++;

      if (filter > 4)
         return stbi__err("invalid filter","Corrupt PNG");

      if (depth < 8) {
         STBI_ASSERT(img_width_bytes <= x);
         cur += x*out_n - img_width_bytes; // store output to the rightmost img_len bytes, so we can decode in place
         filter_bytes = 1;
         width = img_width_bytes;
      }
      prior = cur - stride; // bugfix: need to compute this after 'cur +=' computation above

      // if first row, use special filter that doesn't sample previous row
      if (j == 0) filter = first_row_filter[filter];

      // handle first byte explicitly
      for (k=0; k < filter_bytes; ++k) {
         switch (filter) {
            case STBI__F_none       : cur[k] = raw[k]; break;
            case STBI__F_sub        : cur[k] = raw[k]; break;
            case STBI__F_up         : cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break;
            case STBI__F_avg        : cur[k] = STBI__BYTECAST(raw[k] + (prior[k]>>1)); break;
            case STBI__F_paeth      : cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(0,prior[k],0)); break;
            case STBI__F_avg_first  : cur[k] = raw[k]; break;
            case STBI__F_paeth_first: cur[k] = raw[k]; break;
         }
      }

      if (depth == 8) {
         if (img_n != out_n)
            cur[img_n] = 255; // first pixel
         raw += img_n;
         cur += out_n;
         prior += out_n;
      } else if (depth == 16) {
         if (img_n != out_n) {
            cur[filter_bytes]   = 255; // first pixel top byte
            cur[filter_bytes+1] = 255; // first pixel bottom byte
         }
         raw += filter_bytes;
         cur += output_bytes;
         prior += output_bytes;
      } else {
         raw += 1;
         cur += 1;
         prior += 1;
      }

      // this is a little gross, so that we don't switch per-pixel or per-component
      if (depth < 8 || img_n == out_n) {
         int nk = (width - 1)*filter_bytes;
         #define STBI__CASE(f) \
             case f:     \
                for (k=0; k < nk; ++k)
         switch (filter) {
            // "none" filter turns into a memcpy here; make that explicit.
            case STBI__F_none:         memcpy(cur, raw, nk); break;
            STBI__CASE(STBI__F_sub)          { cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); } break;
            STBI__CASE(STBI__F_up)           { cur[k] = STBI__BYTECAST(raw[k] + prior[k]); } break;
            STBI__CASE(STBI__F_avg)          { cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); } break;
            STBI__CASE(STBI__F_paeth)        { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); } break;
            STBI__CASE(STBI__F_avg_first)    { cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); } break;
            STBI__CASE(STBI__F_paeth_first)  { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); } break;
         }
         #undef STBI__CASE
         raw += nk;
      } else {
         STBI_ASSERT(img_n+1 == out_n);
         #define STBI__CASE(f) \
             case f:     \
                for (i=x-1; i >= 1; --i, cur[filter_bytes]=255,raw+=filter_bytes,cur+=output_bytes,prior+=output_bytes) \
                   for (k=0; k < filter_bytes; ++k)
         switch (filter) {
            STBI__CASE(STBI__F_none)         { cur[k] = raw[k]; } break;
            STBI__CASE(STBI__F_sub)          { cur[k] = STBI__BYTECAST(raw[k] + cur[k- output_bytes]); } break;
            STBI__CASE(STBI__F_up)           { cur[k] = STBI__BYTECAST(raw[k] + prior[k]); } break;
            STBI__CASE(STBI__F_avg)          { cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k- output_bytes])>>1)); } break;
            STBI__CASE(STBI__F_paeth)        { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k- output_bytes],prior[k],prior[k- output_bytes])); } break;
            STBI__CASE(STBI__F_avg_first)    { cur[k] = STBI__BYTECAST(raw[k] + (cur[k- output_bytes] >> 1)); } break;
            STBI__CASE(STBI__F_paeth_first)  { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k- output_bytes],0,0)); } break;
         }
         #undef STBI__CASE

         // the loop above sets the high byte of the pixels' alpha, but for
         // 16 bit png files we also need the low byte set. we'll do that here.
         if (depth == 16) {
            cur = a->out + stride*j; // start at the beginning of the row again
            for (i=0; i < x; ++i,cur+=output_bytes) {
               cur[filter_bytes+1] = 255;
            }
         }
      }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movl %r8d, %ebp
movl %ecx, %r8d
movq %rdi, %r14
cmpl $0x10, 0x110(%rsp)
sete %cl
movl %ebp, %eax
imull %r8d, %eax
movq %rax, 0x78(%rsp)
shll %cl, %eax
movl %eax, 0x24(%rsp)
movq (%rdi), %rax
movl 0x8(%rax), %edi
movl %r8d, %ebx
shll %cl, %ebx
movl %edi, %eax
shll %cl, %eax
movq %rax, 0x60(%rsp)
cmpl %r8d, %edi
sete %al
movq %rdi, 0x48(%rsp)
leal 0x1(%rdi), %ecx
movl %r8d, 0x20(%rsp)
movl %ecx, 0x84(%rsp)
cmpl %r8d, %ecx
sete %cl
orb %al, %cl
je 0xd9f9
movl %edx, %r15d
movq %rsi, %r12
movl %ebp, %edi
movl %r9d, 0x6c(%rsp)
movl %r9d, %esi
movl %ebx, %edx
xorl %ecx, %ecx
callq 0xb1e3
movq %r14, 0x50(%rsp)
movq %rax, 0x18(%r14)
testq %rax, %rax
je 0xcec0
pushq $0x7
popq %rcx
movq 0x48(%rsp), %r13
movl %r13d, %edi
movl %ebp, %esi
movl 0x110(%rsp), %r14d
movl %r14d, %edx
callq 0xb0de
testl %eax, %eax
je 0xcecc
movl %r13d, %eax
imull %ebp, %eax
movl %eax, 0x44(%rsp)
movl %eax, %edi
imull %r14d, %edi
addl $0x7, %edi
shrl $0x3, %edi
leal 0x1(%rdi), %eax
movl 0x6c(%rsp), %esi
imull %esi, %eax
cmpl %r15d, %eax
jbe 0xced8
leaq 0x3f48(%rip), %rax      # 0x10e03
jmp 0xd975
leaq 0x3c12(%rip), %rax      # 0x10ad9
jmp 0xd975
leaq 0x3bfc(%rip), %rax      # 0x10acf
jmp 0xd975
movslq %r13d, %rax
movq %rax, 0x88(%rsp)
movl 0x20(%rsp), %ecx
cmpl %ecx, %r13d
sete %al
cmpl $0x8, %r14d
setl %r8b
movq 0x78(%rsp), %rdx
subl %edi, %edx
movq %rdx, 0xc8(%rsp)
movl 0x24(%rsp), %edx
movslq %ebx, %r10
movslq %ecx, %rcx
movq %rcx, 0xd0(%rsp)
orb %al, %r8b
movb %r8b, 0x17(%rsp)
movl %esi, %eax
movq %rax, 0xa0(%rsp)
movq %r10, %r11
negq %r11
movq %r11, %rax
subq %rdx, %rax
movq %rax, 0xb8(%rsp)
negq %rdx
movq %rdx, 0x70(%rsp)
leaq 0x3391(%rip), %rbx      # 0x102dc
xorl %r8d, %r8d
xorl %r9d, %r9d
movl %ebp, %eax
movq %rax, 0x98(%rsp)
movq 0x50(%rsp), %rdx
movl %r14d, %esi
movq %rbp, 0x28(%rsp)
movq %rdi, 0x90(%rsp)
movq %r10, 0x58(%rsp)
movq %r11, 0xc0(%rsp)
cmpq 0xa0(%rsp), %r9
je 0xd584
movzbl (%r12), %r14d
cmpq $0x4, %r14
ja 0xd96e
movl 0x24(%rsp), %eax
imull %r9d, %eax
addq 0x18(%rdx), %rax
movq %rax, 0x18(%rsp)
cmpl $0x7, %esi
jg 0xcfdc
cmpl %ebp, %edi
ja 0xd9bb
movq 0x18(%rsp), %rax
addq 0xc8(%rsp), %rax
movq %rax, 0x18(%rsp)
pushq $0x1
popq %rax
movq %rax, 0x60(%rsp)
movl %edi, %eax
movq %rax, 0x98(%rsp)
movq %r9, 0xa8(%rsp)
testq %r9, %r9
jne 0xcff4
leaq 0x353c(%rip), %rax      # 0x1052c
movb (%r14,%rax), %r14b
movl %r8d, %r8d
movq %r8, 0xb0(%rsp)
leaq 0x1(%r12), %rdi
movq 0x70(%rsp), %rax
movq 0x18(%rsp), %rcx
addq %rcx, %rax
movq %rax, 0x30(%rsp)
movq 0x60(%rsp), %rax
testl %eax, %eax
movl $0x0, %ebp
cmovgl %eax, %ebp
xorl %r15d, %r15d
movzbl %r14b, %eax
cmpq %r15, %rbp
je 0xd097
cmpb $0x6, %r14b
ja 0xd092
movslq (%rbx,%rax,4), %rax
addq %rbx, %rax
jmpq *%rax
movb (%rdi,%r15), %al
jmp 0xd089
movb (%rdi,%r15), %r13b
movq 0x30(%rsp), %rax
movzbl (%rax,%r15), %esi
movq %rdi, %rbx
xorl %edi, %edi
xorl %edx, %edx
callq 0xda37
movq %rbx, %rdi
addb %r13b, %al
leaq 0x326f(%rip), %rbx      # 0x102dc
jmp 0xd089
movq 0x30(%rsp), %rax
movb (%rax,%r15), %al
jmp 0xd085
movq 0x30(%rsp), %rax
movb (%rax,%r15), %al
shrb %al
addb (%rdi,%r15), %al
movq 0x18(%rsp), %rcx
movb %al, (%rcx,%r15)
incq %r15
jmp 0xd028
movslq 0x60(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movl 0x110(%rsp), %ecx
cmpl $0x8, %ecx
jne 0xd0db
movq 0x48(%rsp), %rcx
cmpl 0x20(%rsp), %ecx
je 0xd0c9
movq 0x88(%rsp), %rcx
movq 0x18(%rsp), %rdx
movb $-0x1, (%rdx,%rcx)
addq 0x88(%rsp), %rdi
movq 0xd0(%rsp), %rcx
jmp 0xd108
cmpl $0x10, %ecx
jne 0xd10d
movq 0x48(%rsp), %rcx
cmpl 0x20(%rsp), %ecx
je 0xd0fe
movb $-0x1, %cl
movq 0x8(%rsp), %rdx
movq 0x18(%rsp), %rsi
movb %cl, (%rsi,%rdx)
movb %cl, 0x1(%rdx,%rsi)
addq 0x8(%rsp), %rdi
movq 0x58(%rsp), %rcx
movq %rdi, %r12
jmp 0xd114
addq $0x2, %r12
pushq $0x1
popq %rcx
movq 0x18(%rsp), %rdx
leaq (%rdx,%rcx), %r15
addq %rcx, 0x30(%rsp)
cmpb $0x0, 0x17(%rsp)
je 0xd19c
movq 0x98(%rsp), %rcx
leal -0x1(%rcx), %r13d
imull 0x60(%rsp), %r13d
movslq %r13d, %rcx
movq %rcx, 0x38(%rsp)
cmpb $0x6, %r14b
movq 0x28(%rsp), %rbp
ja 0xd16e
leaq 0x31bf(%rip), %rcx      # 0x10314
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r15, %rdi
movq %r12, %rsi
movq 0x38(%rsp), %rdx
callq 0x2130
addq 0x38(%rsp), %r12
movq 0x50(%rsp), %rdx
movl 0x110(%rsp), %esi
movq 0x90(%rsp), %rdi
movq 0xb0(%rsp), %r8
movq 0xa8(%rsp), %r9
jmp 0xd4c7
movl 0x84(%rsp), %edx
cmpl 0x20(%rsp), %edx
jne 0xd9da
cmpb $0x6, %r14b
ja 0xd475
leaq 0x313a(%rip), %rdx      # 0x102f8
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
movq 0x70(%rsp), %r9
movq 0x58(%rsp), %r10
movq 0xc0(%rsp), %r11
jmpq *%rax
movq 0x28(%rsp), %rax
movq 0x8(%rsp), %rsi
decl %eax
je 0xd47a
xorl %ecx, %ecx
cmpq %rcx, %rbp
je 0xd1ff
movb (%r12,%rcx), %dl
movb %dl, (%r15,%rcx)
incq %rcx
jmp 0xd1ed
movb $-0x1, (%r15,%rsi)
addq %rsi, %r12
addq %r10, %r15
jmp 0xd1e3
testl %r13d, %r13d
movl $0x0, %eax
cmovlel %eax, %r13d
xorl %r14d, %r14d
cmpq %r13, %r14
je 0xd16e
movb (%r12,%r14), %bl
movq %r14, %rax
subq 0x8(%rsp), %rax
movzbl (%r15,%rax), %edi
movq 0x30(%rsp), %rcx
movzbl (%rcx,%r14), %esi
movzbl (%rcx,%rax), %edx
callq 0xda37
addb %bl, %al
leaq 0x308b(%rip), %rbx      # 0x102dc
movb %al, (%r15,%r14)
incq %r14
jmp 0xd21b
testl %r13d, %r13d
movl $0x0, %eax
cmovlel %eax, %r13d
movq 0x70(%rsp), %rax
addq %r15, %rax
xorl %ecx, %ecx
cmpq %rcx, %r13
je 0xd16e
movb (%rax,%rcx), %dl
addb (%r12,%rcx), %dl
movb %dl, (%r15,%rcx)
incq %rcx
jmp 0xd270
testl %r13d, %r13d
movl $0x0, %eax
cmovlel %eax, %r13d
negq 0x8(%rsp)
movq %r12, %rax
subq $0x1, %r13
jb 0xd16e
movq 0x70(%rsp), %rcx
movzbl (%r15,%rcx), %ecx
movq 0x8(%rsp), %rdx
movzbl (%r15,%rdx), %edx
addl %ecx, %edx
shrl %edx
addb (%rax), %dl
movb %dl, (%r15)
incq %r15
incq %rax
jmp 0xd29d
testl %r13d, %r13d
movl $0x0, %eax
cmovlel %eax, %r13d
movq %r15, %rax
subq 0x8(%rsp), %rax
xorl %ecx, %ecx
cmpq %rcx, %r13
je 0xd16e
movb (%rax,%rcx), %dl
addb (%r12,%rcx), %dl
movb %dl, (%r15,%rcx)
incq %rcx
jmp 0xd2e2
testl %r13d, %r13d
movl $0x0, %eax
cmovlel %eax, %r13d
movq %r15, %rax
subq 0x8(%rsp), %rax
xorl %ecx, %ecx
cmpq %rcx, %r13
je 0xd16e
movb (%rax,%rcx), %dl
shrb %dl
addb (%r12,%rcx), %dl
movb %dl, (%r15,%rcx)
incq %rcx
jmp 0xd311
testl %r13d, %r13d
movl $0x0, %eax
cmovlel %eax, %r13d
movq %r15, %rax
subq 0x8(%rsp), %rax
xorl %ecx, %ecx
cmpq %rcx, %r13
je 0xd16e
movb (%rax,%rcx), %dl
addb (%r12,%rcx), %dl
movb %dl, (%r15,%rcx)
incq %rcx
jmp 0xd342
movq %r12, 0x38(%rsp)
movq 0x18(%rsp), %r12
leaq (%r12,%r11), %r14
addq %rcx, %r14
addq 0xb8(%rsp), %r12
addq %rcx, %r12
movq 0x28(%rsp), %rax
decl %eax
je 0xd3e0
movl %eax, 0x18(%rsp)
xorl %ebx, %ebx
cmpq %rbx, %rbp
je 0xd3b8
movq 0x38(%rsp), %rax
movb (%rax,%rbx), %r13b
movzbl (%r14,%rbx), %edi
movq 0x30(%rsp), %rax
movzbl (%rax,%rbx), %esi
movzbl (%r12,%rbx), %edx
callq 0xda37
addb %r13b, %al
movb %al, (%r15,%rbx)
incq %rbx
jmp 0xd386
movq 0x8(%rsp), %rax
movb $-0x1, (%r15,%rax)
addq %rax, 0x38(%rsp)
movq 0x58(%rsp), %rax
addq %rax, %r15
addq %rax, 0x30(%rsp)
addq %rax, %r14
addq %rax, %r12
movl 0x18(%rsp), %eax
jmp 0xd37c
movq 0x58(%rsp), %r10
leaq 0x2ef0(%rip), %rbx      # 0x102dc
movq 0x38(%rsp), %r12
jmp 0xd47a
movq 0x28(%rsp), %rax
movq 0x8(%rsp), %rdi
decl %eax
je 0xd47a
leaq (%r15,%r9), %rcx
xorl %edx, %edx
cmpq %rdx, %rbp
je 0xd420
movb (%rcx,%rdx), %sil
addb (%r12,%rdx), %sil
movb %sil, (%r15,%rdx)
incq %rdx
jmp 0xd40a
movb $-0x1, (%r15,%rdi)
addq %rdi, %r12
addq %r10, %r15
jmp 0xd400
movq 0x28(%rsp), %rax
movq 0x8(%rsp), %r14
decl %eax
je 0xd47a
movq %r12, %rcx
movq %r15, %rdx
movq %rbp, %rsi
subq $0x1, %rsi
jb 0xd468
movzbl (%rdx,%r9), %edi
movzbl (%rdx,%r11), %r8d
addl %edi, %r8d
shrl %r8d
addb (%rcx), %r8b
movb %r8b, (%rdx)
incq %rdx
incq %rcx
jmp 0xd444
movb $-0x1, (%r15,%r14)
addq %r14, %r12
addq %r10, %r15
jmp 0xd437
movq 0x58(%rsp), %r10
movl 0x110(%rsp), %esi
cmpl $0x10, %esi
movq 0x50(%rsp), %rdx
movq 0x28(%rsp), %rbp
movq 0x90(%rsp), %rdi
movq 0xb0(%rsp), %r8
movq 0xa8(%rsp), %r9
jne 0xd4c7
movq 0x60(%rsp), %rax
incl %eax
cltq
addq %r8, %rax
addq 0x18(%rdx), %rax
movl %ebp, %ecx
subl $0x1, %ecx
jb 0xd4c7
movb $-0x1, (%rax)
addq %r10, %rax
jmp 0xd4ba
incq %r9
addl 0x24(%rsp), %r8d
jmp 0xcf7d
movq 0x28(%rsp), %rax
movq 0x8(%rsp), %rdi
decl %eax
je 0xd47a
leaq (%r15,%r11), %rcx
xorl %edx, %edx
cmpq %rdx, %rbp
je 0xd4fe
movb (%rcx,%rdx), %sil
addb (%r12,%rdx), %sil
movb %sil, (%r15,%rdx)
incq %rdx
jmp 0xd4e8
movb $-0x1, (%r15,%rdi)
addq %rdi, %r12
addq %r10, %r15
jmp 0xd4de
movq 0x28(%rsp), %rax
movq 0x8(%rsp), %rdi
decl %eax
je 0xd47a
leaq (%r15,%r11), %rcx
xorl %edx, %edx
cmpq %rdx, %rbp
je 0xd53c
movb (%rcx,%rdx), %sil
shrb %sil
addb (%r12,%rdx), %sil
movb %sil, (%r15,%rdx)
incq %rdx
jmp 0xd523
movb $-0x1, (%r15,%rdi)
addq %rdi, %r12
addq %r10, %r15
jmp 0xd515
movq 0x28(%rsp), %rax
movq 0x8(%rsp), %rdi
decl %eax
je 0xd47a
leaq (%r15,%r11), %rcx
xorl %edx, %edx
cmpq %rdx, %rbp
je 0xd577
movb (%rcx,%rdx), %sil
addb (%r12,%rdx), %sil
movb %sil, (%r15,%rdx)
incq %rdx
jmp 0xd561
movb $-0x1, (%r15,%rdi)
addq %rdi, %r12
addq %r10, %r15
jmp 0xd553
cmpl $0x7, %esi
jg 0xd990
movl 0x78(%rsp), %ecx
movl %edi, %edx
movslq %esi, %rsi
movl %ebp, %edi
movq %rcx, %rax
subq %rdx, %rax
movq %rax, 0x18(%rsp)
negq %rdx
leaq (%rdi,%rdi,2), %rax
addq $-0x3, %rax
movq %rax, 0x30(%rsp)
movl %ebp, %eax
decl %ebp
leal -0x4(,%rax,4), %r8d
movl %r8d, 0x38(%rsp)
decq %rdi
leal -0x1(,%rax,2), %eax
movl %eax, 0x8(%rsp)
xorl %ebx, %ebx
xorl %r15d, %r15d
xorl %r12d, %r12d
cmpq 0xa0(%rsp), %r12
je 0xd9b6
movq %rbp, %r8
movb $0x1, %bpl
cmpl $0x0, 0x118(%rsp)
jne 0xd603
leaq 0x2ea1(%rip), %rax      # 0x104a0
movb (%rsi,%rax), %bpl
movl %r15d, %r15d
movq 0x50(%rsp), %rax
movq 0x18(%rax), %rax
movl 0x24(%rsp), %r9d
movl %r9d, %r13d
imull %r12d, %r13d
movl 0x110(%rsp), %r9d
cmpl $0x4, %r9d
je 0xd79c
leaq (%rcx,%r13), %r14
addq %rdx, %r14
addq %rax, %r14
cmpl $0x2, %r9d
je 0xd6f9
cmpl $0x1, %r9d
jne 0xd8a7
addq %r15, %rax
addq $0x7, %rax
movl 0x44(%rsp), %r10d
cmpl $0x8, %r10d
jl 0xd7fd
movb (%r14), %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x7(%rax)
movb (%r14), %r9b
addb %r9b, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x6(%rax)
movb (%r14), %r9b
shlb $0x2, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x5(%rax)
movb (%r14), %r9b
shlb $0x3, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x4(%rax)
movb (%r14), %r9b
shlb $0x4, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x3(%rax)
movb (%r14), %r9b
shlb $0x5, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x2(%rax)
movb (%r14), %r9b
shlb $0x6, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x1(%rax)
movzbl %bpl, %r9d
testb $0x1, (%r14)
cmovel %ebx, %r9d
movb %r9b, (%rax)
addl $-0x8, %r10d
incq %r14
addq $0x8, %rax
jmp 0xd657
leaq (%rax,%r15), %r10
addq $0x3, %r10
movl 0x44(%rsp), %r9d
cmpl $0x4, %r9d
jl 0xd74f
movb (%r14), %al
shrb $0x6, %al
mulb %bpl
movb %al, -0x3(%r10)
movb (%r14), %al
shrb $0x4, %al
andb $0x3, %al
mulb %bpl
movb %al, -0x2(%r10)
movb (%r14), %al
shrb $0x2, %al
andb $0x3, %al
mulb %bpl
movb %al, -0x1(%r10)
movb (%r14), %al
andb $0x3, %al
mulb %bpl
movb %al, (%r10)
addl $-0x4, %r9d
incq %r14
addq $0x4, %r10
jmp 0xd706
testl %r9d, %r9d
jle 0xd8a7
movb (%r14), %al
shrb $0x6, %al
mulb %bpl
movb %al, -0x3(%r10)
cmpl $0x1, %r9d
je 0xd8a7
movb (%r14), %al
shrb $0x4, %al
andb $0x3, %al
mulb %bpl
movb %al, -0x2(%r10)
cmpl $0x3, %r9d
jne 0xd8a7
movb (%r14), %al
shrb $0x2, %al
andb $0x3, %al
mulb %bpl
movb %al, -0x1(%r10)
jmp 0xd8a7
leaq (%rax,%r15), %r14
addq 0x18(%rsp), %r14
leaq (%rax,%r15), %r9
incq %r9
xorl %r10d, %r10d
movl 0x44(%rsp), %r11d
cmpl $0x2, %r11d
jl 0xd7df
movb (%r14,%r10), %al
shrb $0x4, %al
mulb %bpl
movb %al, -0x1(%r9,%r10,2)
movb (%r14,%r10), %al
andb $0xf, %al
mulb %bpl
movb %al, (%r9,%r10,2)
addl $-0x2, %r11d
incq %r10
jmp 0xd7b4
cmpl $0x1, %r11d
jne 0xd8a7
movb (%r14,%r10), %al
shrb $0x4, %al
mulb %bpl
movb %al, -0x1(%r9,%r10,2)
jmp 0xd8a7
testl %r10d, %r10d
jle 0xd8a7
movb (%r14), %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x7(%rax)
cmpl $0x1, %r10d
je 0xd8a7
movb (%r14), %r9b
addb %r9b, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x6(%rax)
cmpl $0x3, %r10d
jb 0xd8a7
movb (%r14), %r9b
shlb $0x2, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x5(%rax)
cmpl $0x3, %r10d
je 0xd8a7
movb (%r14), %r9b
shlb $0x3, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x4(%rax)
cmpl $0x5, %r10d
jb 0xd8a7
movb (%r14), %r9b
shlb $0x4, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x3(%rax)
cmpl $0x5, %r10d
je 0xd8a7
movb (%r14), %r9b
shlb $0x5, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x2(%rax)
cmpl $0x7, %r10d
jne 0xd8a7
movb (%r14), %r9b
shlb $0x6, %r9b
sarb $0x7, %r9b
andb %bpl, %r9b
movb %r9b, -0x1(%rax)
movq 0x48(%rsp), %rax
cmpl 0x20(%rsp), %eax
movq %r8, %rbp
je 0xd928
movq 0x50(%rsp), %rax
addq 0x18(%rax), %r13
movq 0x48(%rsp), %r11
cmpl $0x1, %r11d
je 0xd935
movl 0x38(%rsp), %eax
movl %ebp, %r9d
movq 0x30(%rsp), %r10
cmpl $0x3, %r11d
je 0xd923
jmp 0xda18
leal 0x3(%rax), %r11d
movb $-0x1, (%r13,%r11)
movl %r10d, %r11d
movb 0x2(%r13,%r11), %bpl
leal 0x2(%rax), %r14d
movb %bpl, (%r13,%r14)
movb 0x1(%r13,%r11), %bpl
leal 0x1(%rax), %r14d
movb %bpl, (%r13,%r14)
movq %r8, %rbp
movb (%r13,%r11), %r11b
movl %eax, %r14d
movb %r11b, (%r13,%r14)
addq $-0x3, %r10
decl %r9d
addl $-0x4, %eax
testl %r9d, %r9d
jns 0xd8e0
incq %r12
addl 0x24(%rsp), %r15d
jmp 0xd5da
movl 0x8(%rsp), %eax
xorl %r9d, %r9d
movl %ebp, %r10d
addl %r9d, %r10d
js 0xd928
leaq (%rdi,%r9), %r10
leal -0x1(%rax), %r11d
movl %eax, %r14d
movb $-0x1, (%r13,%r14)
andl $0x7fffffff, %r10d      # imm = 0x7FFFFFFF
movb (%r13,%r10), %r10b
movb %r10b, (%r13,%r11)
decq %r9
addl $-0x2, %eax
jmp 0xd93c
leaq 0x34a0(%rip), %rax      # 0x10e15
movq %rax, 0x789c(%rip)      # 0x15218
xorl %eax, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x1
popq %rax
cmpl $0x10, %esi
jne 0xd97e
movq 0x18(%rdx), %rdx
movq 0x78(%rsp), %rsi
imull 0x6c(%rsp), %esi
xorl %ecx, %ecx
cmpl %ecx, %esi
je 0xd97e
rolw $0x8, (%rdx,%rcx,2)
incq %rcx
jmp 0xd9a8
pushq $0x1
popq %rax
jmp 0xd97e
leaq 0x3462(%rip), %rdi      # 0x10e24
leaq 0x2f9d(%rip), %rsi      # 0x10966
leaq 0x33c3(%rip), %rcx      # 0x10d93
movl $0x114f, %edx           # imm = 0x114F
callq 0x20f0
leaq 0x3458(%rip), %rdi      # 0x10e39
leaq 0x2f7e(%rip), %rsi      # 0x10966
leaq 0x33a4(%rip), %rcx      # 0x10d93
movl $0x118d, %edx           # imm = 0x118D
callq 0x20f0
leaq 0x336a(%rip), %rdi      # 0x10d6a
leaq 0x2f5f(%rip), %rsi      # 0x10966
leaq 0x3385(%rip), %rcx      # 0x10d93
movl $0x1139, %edx           # imm = 0x1139
callq 0x20f0
leaq 0x342b(%rip), %rdi      # 0x10e4a
leaq 0x2f40(%rip), %rsi      # 0x10966
leaq 0x3366(%rip), %rcx      # 0x10d93
movl $0x11e6, %edx           # imm = 0x11E6
callq 0x20f0