LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__getn(stbi__context*, unsigned char*, int)
static int stbi__getn(stbi__context *s, stbi_uc *buffer, int n)
{
   if (s->io.read) {
      int blen = (int) (s->img_buffer_end - s->img_buffer);
      if (blen < n) {
         int res, count;

         memcpy(buffer, s->img_buffer, blen);

         count = (s->io.read)(s->io_user_data, (char*) buffer + blen, n - blen);
         res = (count == (n-blen));
         s->img_buffer = s->img_buffer_end;
         return res;
      }
   }

   if (s->img_buffer+n <= s->img_buffer_end) {
      memcpy(buffer, s->img_buffer, n);
      s->img_buffer += n;
      return 1;
   } else
      return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0x10(%rdi)
je 0x11f70
movq 0xb8(%rbx), %rsi
movq 0xc0(%rbx), %r13
subq %rsi, %r13
movl %ebp, %r15d
subl %r13d, %r15d
jle 0x11f6b
movslq %r13d, %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x2150
movq 0x28(%rbx), %rdi
addq %r14, %r12
movq %r12, %rsi
movl %r15d, %edx
callq *0x10(%rbx)
movl %eax, %ecx
xorl %eax, %eax
cmpl %r15d, %ecx
sete %al
movq 0xc0(%rbx), %rcx
movq %rcx, 0xb8(%rbx)
cmpl %r13d, %ebp
jg 0x11fa0
movq 0xb8(%rbx), %rsi
movslq %ebp, %r15
leaq (%rsi,%r15), %rcx
xorl %eax, %eax
cmpq 0xc0(%rbx), %rcx
ja 0x11fa0
movq %r14, %rdi
movq %r15, %rdx
callq 0x2150
addq %r15, 0xb8(%rbx)
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__compute_transparency16(stbi__png*, unsigned short*, int)
static int stbi__compute_transparency16(stbi__png *z, stbi__uint16 tc[3], int out_n)
{
   stbi__context *s = z->s;
   stbi__uint32 i, pixel_count = s->img_x * s->img_y;
   stbi__uint16 *p = (stbi__uint16*) z->out;

   // compute color-based transparency, assuming we've
   // already got 65535 as the alpha value in the output
   STBI_ASSERT(out_n == 2 || out_n == 4);

   if (out_n == 2) {
      for (i = 0; i < pixel_count; ++i) {
         p[1] = (p[0] == tc[0] ? 0 : 65535);
         p += 2;
      }
   } else {
      for (i = 0; i < pixel_count; ++i) {
         if (p[0] == tc[0] && p[1] == tc[1] && p[2] == tc[2])
            p[3] = 0;
         p += 4;
      }
   }
   return 1;
}

// Assembly:
pushq %rax
movq (%rdi), %r8
movq 0x18(%rdi), %rax
movl 0x4(%r8), %ecx
imull (%r8), %ecx
cmpl $0x2, %edx
je 0x12000
cmpl $0x4, %edx
jne 0x12028
testl %ecx, %ecx
je 0x12026
movl %ecx, %ecx
xorl %edx, %edx
movzwl (%rax,%rdx,8), %edi
cmpw (%rsi), %di
jne 0x11ff7
movzwl 0x2(%rax,%rdx,8), %edi
cmpw 0x2(%rsi), %di
jne 0x11ff7
movzwl 0x4(%rax,%rdx,8), %edi
cmpw 0x4(%rsi), %di
jne 0x11ff7
movw $0x0, 0x6(%rax,%rdx,8)
incq %rdx
cmpl %edx, %ecx
jne 0x11fd1
jmp 0x12026
testl %ecx, %ecx
je 0x12026
movl %ecx, %ecx
xorl %edx, %edx
movzwl (%rax,%rdx,4), %edi
xorl %r8d, %r8d
cmpw (%rsi), %di
setne %r8b
negl %r8d
movw %r8w, 0x2(%rax,%rdx,4)
incq %rdx
cmpl %edx, %ecx
jne 0x12008
popq %rax
retq
leaq 0x5e46(%rip), %rdi      # 0x17e75
leaq 0x5950(%rip), %rsi      # 0x17986
leaq 0x5e51(%rip), %rcx      # 0x17e8e
movl $0x124d, %edx           # imm = 0x124D
callq 0x2100
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__compute_transparency(stbi__png*, unsigned char*, int)
static int stbi__compute_transparency(stbi__png *z, stbi_uc tc[3], int out_n)
{
   stbi__context *s = z->s;
   stbi__uint32 i, pixel_count = s->img_x * s->img_y;
   stbi_uc *p = z->out;

   // compute color-based transparency, assuming we've
   // already got 255 as the alpha value in the output
   STBI_ASSERT(out_n == 2 || out_n == 4);

   if (out_n == 2) {
      for (i=0; i < pixel_count; ++i) {
         p[1] = (p[0] == tc[0] ? 0 : 255);
         p += 2;
      }
   } else {
      for (i=0; i < pixel_count; ++i) {
         if (p[0] == tc[0] && p[1] == tc[1] && p[2] == tc[2])
            p[3] = 0;
         p += 4;
      }
   }
   return 1;
}

// Assembly:
pushq %rax
movq (%rdi), %r8
movq 0x18(%rdi), %rax
movl 0x4(%r8), %ecx
imull (%r8), %ecx
cmpl $0x2, %edx
je 0x12096
cmpl $0x4, %edx
jne 0x120ba
testl %ecx, %ecx
je 0x120b8
movl %ecx, %ecx
xorl %edx, %edx
movb (%rax,%rdx,4), %dil
cmpb (%rsi), %dil
jne 0x1208d
movb 0x1(%rax,%rdx,4), %dil
cmpb 0x1(%rsi), %dil
jne 0x1208d
movb 0x2(%rax,%rdx,4), %dil
cmpb 0x2(%rsi), %dil
jne 0x1208d
movb $0x0, 0x3(%rax,%rdx,4)
incq %rdx
cmpl %edx, %ecx
jne 0x12069
jmp 0x120b8
testl %ecx, %ecx
je 0x120b8
movl %ecx, %ecx
xorl %edx, %edx
movb (%rax,%rdx,2), %dil
cmpb (%rsi), %dil
setne %dil
negb %dil
movb %dil, 0x1(%rax,%rdx,2)
incq %rdx
cmpl %edx, %ecx
jne 0x1209e
popq %rax
retq
leaq 0x5db4(%rip), %rdi      # 0x17e75
leaq 0x58be(%rip), %rsi      # 0x17986
leaq 0x5e02(%rip), %rcx      # 0x17ed1
movl $0x1234, %edx           # imm = 0x1234
callq 0x2100
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__de_iphone(stbi__png*)
static void stbi__de_iphone(stbi__png *z)
{
   stbi__context *s = z->s;
   stbi__uint32 i, pixel_count = s->img_x * s->img_y;
   stbi_uc *p = z->out;

   if (s->img_out_n == 3) {  // convert bgr to rgb
      for (i=0; i < pixel_count; ++i) {
         stbi_uc t = p[0];
         p[0] = p[2];
         p[2] = t;
         p += 3;
      }
   } else {
      STBI_ASSERT(s->img_out_n == 4);
      if (stbi__unpremultiply_on_load) {
         // convert bgr to rgb and unpremultiply
         for (i=0; i < pixel_count; ++i) {
            stbi_uc a = p[3];
            stbi_uc t = p[0];
            if (a) {
               stbi_uc half = a / 2;
               p[0] = (p[2] * 255 + half) / a;
               p[1] = (p[1] * 255 + half) / a;
               p[2] = ( t   * 255 + half) / a;
            } else {
               p[0] = p[2];
               p[2] = t;
            }
            p += 4;
         }
      } else {
         // convert bgr to rgb
         for (i=0; i < pixel_count; ++i) {
            stbi_uc t = p[0];
            p[0] = p[2];
            p[2] = t;
            p += 4;
         }
      }
   }
}

// Assembly:
pushq %rax
movq (%rdi), %rsi
movq 0x18(%rdi), %rcx
movl 0x4(%rsi), %eax
movl 0xc(%rsi), %edx
imull (%rsi), %eax
cmpl $0x4, %edx
je 0x12119
cmpl $0x3, %edx
jne 0x121cd
testl %eax, %eax
je 0x121cb
movb (%rcx), %dl
movb 0x2(%rcx), %sil
movb %sil, (%rcx)
movb %dl, 0x2(%rcx)
addq $0x3, %rcx
decl %eax
jne 0x12100
jmp 0x121cb
cmpl $0x0, 0xa114(%rip)      # 0x1c234
je 0x121aa
testl %eax, %eax
je 0x121cb
movl %eax, %esi
xorl %edi, %edi
movzbl 0x3(%rcx,%rdi,4), %r8d
movb (%rcx,%rdi,4), %al
testl %r8d, %r8d
je 0x12196
movzbl %al, %r9d
movl %r8d, %edx
shrb %dl
movzbl 0x2(%rcx,%rdi,4), %r10d
movl %r10d, %eax
shll $0x8, %eax
subl %r10d, %eax
movzbl %dl, %r10d
addl %r10d, %eax
xorl %edx, %edx
divl %r8d
movb %al, (%rcx,%rdi,4)
movzbl 0x1(%rcx,%rdi,4), %edx
movl %edx, %eax
shll $0x8, %eax
subl %edx, %eax
addl %r10d, %eax
xorl %edx, %edx
divl %r8d
movb %al, 0x1(%rcx,%rdi,4)
movl %r9d, %eax
shll $0x8, %eax
subl %r9d, %eax
addl %r10d, %eax
xorl %edx, %edx
divl %r8d
movb %al, 0x2(%rcx,%rdi,4)
jmp 0x121a1
movb 0x2(%rcx,%rdi,4), %dl
movb %dl, (%rcx,%rdi,4)
movb %al, 0x2(%rcx,%rdi,4)
incq %rdi
cmpl %edi, %esi
jne 0x12132
jmp 0x121cb
testl %eax, %eax
je 0x121cb
movl %eax, %eax
xorl %edx, %edx
movb (%rcx,%rdx,4), %sil
movb 0x2(%rcx,%rdx,4), %dil
movb %dil, (%rcx,%rdx,4)
movb %sil, 0x2(%rcx,%rdx,4)
incq %rdx
cmpl %edx, %eax
jne 0x121b2
popq %rax
retq
leaq 0x5d39(%rip), %rdi      # 0x17f0d
leaq 0x57ab(%rip), %rsi      # 0x17986
leaq 0x5d3d(%rip), %rcx      # 0x17f1f
movl $0x129e, %edx           # imm = 0x129E
callq 0x2100
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__high_bit(unsigned int)
static int stbi__high_bit(unsigned int z)
{
   int n=0;
   if (z == 0) return -1;
   if (z >= 0x10000) { n += 16; z >>= 16; }
   if (z >= 0x00100) { n +=  8; z >>=  8; }
   if (z >= 0x00010) { n +=  4; z >>=  4; }
   if (z >= 0x00004) { n +=  2; z >>=  2; }
   if (z >= 0x00002) { n +=  1; z >>=  1; }
   return n;
}

// Assembly:
testl %edi, %edi
je 0x13455
movl %edi, %eax
shrl $0x10, %eax
xorl %ecx, %ecx
cmpl $0x10000, %edi          # imm = 0x10000
setae %cl
cmovbl %edi, %eax
shll $0x4, %ecx
leal 0x8(%rcx), %edx
movl %eax, %esi
shrl $0x8, %esi
cmpl $0x100, %eax            # imm = 0x100
cmovbl %eax, %esi
cmovbl %ecx, %edx
leal 0x4(%rdx), %ecx
movl %esi, %edi
shrl $0x4, %edi
cmpl $0x10, %esi
cmovbl %esi, %edi
cmovbl %edx, %ecx
leal 0x2(%rcx), %eax
movl %edi, %edx
shrl $0x2, %edx
cmpl $0x4, %edi
cmovbl %edi, %edx
cmovbl %ecx, %eax
cmpl $0x2, %edx
sbbl $-0x1, %eax
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__shiftsigned(unsigned int, int, int)
static int stbi__shiftsigned(unsigned int v, int shift, int bits)
{
   static unsigned int mul_table[9] = {
      0,
      0xff/*0b11111111*/, 0x55/*0b01010101*/, 0x49/*0b01001001*/, 0x11/*0b00010001*/,
      0x21/*0b00100001*/, 0x41/*0b01000001*/, 0x81/*0b10000001*/, 0x01/*0b00000001*/,
   };
   static unsigned int shift_table[9] = {
      0, 0,0,1,0,2,4,6,0,
   };
   if (shift < 0)
      v <<= -shift;
   else
      v >>= shift;
   STBI_ASSERT(v >= 0 && v < 256);
   v >>= (8-bits);
   STBI_ASSERT(bits >= 0 && bits <= 8);
   return (int) ((unsigned) v * mul_table[bits]) >> shift_table[bits];
}

// Assembly:
pushq %rax
movl %esi, %ecx
negb %cl
movl %edi, %eax
shll %cl, %eax
movl %esi, %ecx
shrl %cl, %edi
testl %esi, %esi
cmovsl %eax, %edi
cmpl $0x100, %edi            # imm = 0x100
jae 0x1349d
cmpl $0x9, %edx
jge 0x134bc
movb $0x8, %cl
subb %dl, %cl
shrl %cl, %edi
movl %edx, %eax
leaq 0x40d7(%rip), %rcx      # 0x17560
imull (%rcx,%rax,4), %edi
leaq 0x40fc(%rip), %rcx      # 0x17590
movb (%rcx,%rax,4), %cl
sarl %cl, %edi
movl %edi, %eax
popq %rcx
retq
leaq 0x4bb0(%rip), %rdi      # 0x18054
leaq 0x44db(%rip), %rsi      # 0x17986
leaq 0x4bb4(%rip), %rcx      # 0x18066
movl $0x13f9, %edx           # imm = 0x13F9
callq 0x2100
leaq 0x4bd1(%rip), %rdi      # 0x18094
leaq 0x44bc(%rip), %rsi      # 0x17986
leaq 0x4b95(%rip), %rcx      # 0x18066
movl $0x13fb, %edx           # imm = 0x13FB
callq 0x2100
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__gif_parse_colortable(stbi__context*, unsigned char (*) [4], int, int)
static void stbi__gif_parse_colortable(stbi__context *s, stbi_uc pal[256][4], int num_entries, int transp)
{
   int i;
   for (i=0; i < num_entries; ++i) {
      pal[i][2] = stbi__get8(s);
      pal[i][1] = stbi__get8(s);
      pal[i][0] = stbi__get8(s);
      pal[i][3] = transp == i ? 0 : 255;
   }
}

// Assembly:
testl %edx, %edx
jle 0x14834
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x39(%rdi), %rax
movq %rax, (%rsp)
movl %ecx, %r13d
movl %edx, %ebp
xorl %r12d, %r12d
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jb 0x14706
cmpl $0x0, 0x30(%r14)
je 0x146dc
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x146e0
movq %r15, 0xb8(%r14)
cltq
addq %r15, %rax
movq %rax, 0xc0(%r14)
jmp 0x146ff
xorl %eax, %eax
jmp 0x14713
movl $0x0, 0x30(%r14)
movq %r15, 0xb8(%r14)
movq (%rsp), %rax
movq %rax, 0xc0(%r14)
movb $0x0, 0x38(%r14)
movq 0xb8(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
movb %al, 0x2(%rbx,%r12,4)
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jb 0x14781
cmpl $0x0, 0x30(%r14)
je 0x14757
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x1475b
movq %r15, 0xb8(%r14)
cltq
addq %r15, %rax
movq %rax, 0xc0(%r14)
jmp 0x1477a
xorl %eax, %eax
jmp 0x1478e
movl $0x0, 0x30(%r14)
movq %r15, 0xb8(%r14)
movq (%rsp), %rax
movq %rax, 0xc0(%r14)
movb $0x0, 0x38(%r14)
movq 0xb8(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
movb %al, 0x1(%rbx,%r12,4)
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jb 0x147fc
cmpl $0x0, 0x30(%r14)
je 0x147d2
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x147d6
movq %r15, 0xb8(%r14)
cltq
addq %r15, %rax
movq %rax, 0xc0(%r14)
jmp 0x147f5
xorl %eax, %eax
jmp 0x14809
movl $0x0, 0x30(%r14)
movq %r15, 0xb8(%r14)
movq (%rsp), %rax
movq %rax, 0xc0(%r14)
movb $0x0, 0x38(%r14)
movq 0xb8(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
movb %al, (%rbx,%r12,4)
cmpq %r12, %r13
setne %al
negb %al
movb %al, 0x3(%rbx,%r12,4)
incq %r12
cmpq %r12, %rbp
jne 0x1469d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__out_gif_code(stbi__gif*, unsigned short)
static void stbi__out_gif_code(stbi__gif *g, stbi__uint16 code)
{
   stbi_uc *p, *c;
   int idx; 

   // recurse to decode the prefixes, since the linked-list is backwards,
   // and working backwards through an interleaved image would be nasty
   if (g->codes[code].prefix >= 0)
      stbi__out_gif_code(g, g->codes[code].prefix);

   if (g->cur_y >= g->max_y) return;

   idx = g->cur_x + g->cur_y; 
   p = &g->out[idx];
   g->history[idx / 4] = 1;  

   c = &g->color_table[g->codes[code].suffix * 4];
   if (c[3] > 128) { // don't render transparent pixels; 
      p[0] = c[2];
      p[1] = c[1];
      p[2] = c[0];
      p[3] = c[3];
   }
   g->cur_x += 4;

   if (g->cur_x >= g->max_x) {
      g->cur_x = g->start_x;
      g->cur_y += g->step;

      while (g->cur_y >= g->max_y && g->parse > 0) {
         g->step = (1 << g->parse) * g->line_size;
         g->cur_y = g->start_y + (g->step >> 1);
         --g->parse;
      }
   }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl %esi, %r14d
movzwl 0x834(%rdi,%r14,4), %eax
testw %ax, %ax
js 0x14858
movzwl %ax, %esi
movq %rbx, %rdi
callq 0x14835
movslq 0x8860(%rbx), %rcx
cmpl 0x8858(%rbx), %ecx
jge 0x1493b
movslq 0x885c(%rbx), %rax
addq %rcx, %rax
movq 0x8(%rbx), %rcx
leal 0x3(%rax), %edx
testl %eax, %eax
cmovnsl %eax, %edx
movq 0x18(%rbx), %rsi
sarl $0x2, %edx
movslq %edx, %rdx
movb $0x1, (%rsi,%rdx)
movq 0x8838(%rbx), %rdx
movzbl 0x837(%rbx,%r14,4), %esi
cmpb $-0x7f, 0x3(%rdx,%rsi,4)
jb 0x148ca
movb 0x2(%rdx,%rsi,4), %dil
movb %dil, (%rcx,%rax)
movb 0x1(%rdx,%rsi,4), %dil
movb %dil, 0x1(%rcx,%rax)
movb (%rdx,%rsi,4), %dil
movb %dil, 0x2(%rcx,%rax)
movb 0x3(%rdx,%rsi,4), %dl
movb %dl, 0x3(%rcx,%rax)
movl 0x885c(%rbx), %eax
addl $0x4, %eax
movl %eax, 0x885c(%rbx)
cmpl 0x8854(%rbx), %eax
jl 0x1493b
movl 0x884c(%rbx), %ecx
movl 0x8858(%rbx), %eax
movl %ecx, 0x885c(%rbx)
movl 0x8860(%rbx), %ecx
addl 0x8844(%rbx), %ecx
movl %ecx, 0x8860(%rbx)
cmpl %eax, %ecx
jl 0x1493b
movl 0x8840(%rbx), %ecx
testl %ecx, %ecx
jle 0x1493b
movl 0x8864(%rbx), %edx
shll %cl, %edx
movl %edx, 0x8844(%rbx)
sarl %edx
addl 0x8850(%rbx), %edx
movl %edx, 0x8860(%rbx)
decl %ecx
movl %ecx, 0x8840(%rbx)
cmpl %eax, %edx
jge 0x1490f
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__pic_is4(stbi__context*, char const*)
static int stbi__pic_is4(stbi__context *s,const char *str)
{
   int i;
   for (i=0; i<4; ++i)
      if (stbi__get8(s) != (stbi_uc)str[i])
         return 0;

   return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x39(%rdi), %r12
xorl %r13d, %r13d
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jb 0x149c2
cmpl $0x0, 0x30(%r14)
je 0x1499c
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x149a0
movq %r15, 0xb8(%r14)
cltq
addq %r15, %rax
movq %rax, 0xc0(%r14)
jmp 0x149bb
xorl %eax, %eax
jmp 0x149cf
movl $0x0, 0x30(%r14)
movq %r15, 0xb8(%r14)
movq %r12, 0xc0(%r14)
movb $0x0, 0x38(%r14)
movq 0xb8(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
cmpb (%rbx,%r13), %al
jne 0x149e9
incq %r13
cmpq $0x4, %r13
jne 0x1495d
movl $0x1, %eax
jmp 0x149eb
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__readval(stbi__context*, int, unsigned char*)
static stbi_uc *stbi__readval(stbi__context *s, int channel, stbi_uc *dest)
{
   int mask=0x80, i;

   for (i=0; i<4; ++i, mask>>=1) {
      if (channel & mask) {
         if (stbi__at_eof(s)) return stbi__errpuc("bad file","PIC file too short");
         dest[i]=stbi__get8(s);
      }
   }

   return dest;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x39(%rdi), %rax
movq %rax, (%rsp)
movl $0x80, %r13d
xorl %r12d, %r12d
testl %ebp, %r13d
je 0x14ad2
cmpq $0x0, 0x10(%r14)
je 0x14a44
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x14a58
cmpl $0x0, 0x30(%r14)
je 0x14ae4
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x14ae4
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jb 0x14ac1
cmpl $0x0, 0x30(%r14)
je 0x14a97
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x14a9b
movq %r15, 0xb8(%r14)
cltq
addq %r15, %rax
movq %rax, 0xc0(%r14)
jmp 0x14aba
xorl %eax, %eax
jmp 0x14ace
movl $0x0, 0x30(%r14)
movq %r15, 0xb8(%r14)
movq (%rsp), %rax
movq %rax, 0xc0(%r14)
movb $0x0, 0x38(%r14)
movq 0xb8(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
movb %al, (%rbx,%r12)
incq %r12
shrl %r13d
cmpq $0x4, %r12
jne 0x14a1d
jmp 0x14af4
leaq 0x369f(%rip), %rax      # 0x1818a
movq %rax, 0x7736(%rip)      # 0x1c228
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__pnm_skip_whitespace(stbi__context*, char*)
static void     stbi__pnm_skip_whitespace(stbi__context *s, char *c)
{
   for (;;) {
      while (!stbi__at_eof(s) && stbi__pnm_isspace(*c))
         *c = (char) stbi__get8(s);

      if (stbi__at_eof(s) || *c != '#')
         break;

      while (!stbi__at_eof(s) && *c != '\n' && *c != '\r' )
         *c = (char) stbi__get8(s);
   }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x39(%rdi), %r12
cmpq $0x0, 0x10(%r14)
je 0x14d91
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x14da1
cmpl $0x0, 0x30(%r14)
je 0x14dff
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x14dff
movzbl (%rbx), %eax
leal -0x9(%rax), %ecx
cmpl $0x5, %ecx
jae 0x14dfa
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jb 0x14f20
cmpl $0x0, 0x30(%r14)
je 0x14efa
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x14efe
movq %r15, 0xb8(%r14)
cltq
addq %r15, %rax
movq %rax, 0xc0(%r14)
jmp 0x14f19
cmpl $0x20, %eax
je 0x14dac
cmpq $0x0, 0x10(%r14)
je 0x14e1d
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x14e31
cmpl $0x0, 0x30(%r14)
je 0x14f34
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x14f34
cmpb $0x23, (%rbx)
jne 0x14f34
cmpq $0x0, 0x10(%r14)
je 0x14e58
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x14e6c
cmpl $0x0, 0x30(%r14)
je 0x14d77
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x14d77
movzbl (%rbx), %eax
cmpl $0xa, %eax
je 0x14d77
cmpl $0xd, %eax
je 0x14d77
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jb 0x14ee6
cmpl $0x0, 0x30(%r14)
je 0x14ec0
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x14ec4
movq %r15, 0xb8(%r14)
cltq
addq %r15, %rax
movq %rax, 0xc0(%r14)
jmp 0x14edf
xorl %eax, %eax
jmp 0x14ef3
movl $0x0, 0x30(%r14)
movq %r15, 0xb8(%r14)
movq %r12, 0xc0(%r14)
movb $0x0, 0x38(%r14)
movq 0xb8(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
movb %al, (%rbx)
jmp 0x14e3a
xorl %eax, %eax
jmp 0x14f2d
movl $0x0, 0x30(%r14)
movq %r15, 0xb8(%r14)
movq %r12, 0xc0(%r14)
movb $0x0, 0x38(%r14)
movq 0xb8(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
movb %al, (%rbx)
jmp 0x14d77
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__pnm_getinteger(stbi__context*, char*)
static int      stbi__pnm_getinteger(stbi__context *s, char *c)
{
   int value = 0;

   while (!stbi__at_eof(s) && stbi__pnm_isdigit(*c)) {
      value = value*10 + (*c - '0');
      *c = (char) stbi__get8(s);
   }

   return value;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x39(%rdi), %r13
xorl %r12d, %r12d
cmpq $0x0, 0x10(%r14)
je 0x14f7a
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x14f8e
cmpl $0x0, 0x30(%r14)
je 0x1501e
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x1501e
movzbl (%rbx), %ebp
leal -0x3a(%rbp), %eax
cmpb $-0xa, %al
jb 0x1501e
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jb 0x15001
cmpl $0x0, 0x30(%r14)
je 0x14fdb
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x14fdf
movq %r15, 0xb8(%r14)
cltq
addq %r15, %rax
movq %rax, 0xc0(%r14)
jmp 0x14ffa
xorl %eax, %eax
jmp 0x1500e
movl $0x0, 0x30(%r14)
movq %r15, 0xb8(%r14)
movq %r13, 0xc0(%r14)
movb $0x0, 0x38(%r14)
movq 0xb8(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %al
leal (%r12,%r12,4), %ecx
leal -0x30(%rbp,%rcx,2), %r12d
movb %al, (%rbx)
jmp 0x14f5c
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__hdr_gettoken(stbi__context*, char*)
static char *stbi__hdr_gettoken(stbi__context *z, char *buffer)
{
   int len=0;
   char c = '\0';

   c = (char) stbi__get8(z);

   while (!stbi__at_eof(z) && c != '\n') {
      buffer[len++] = c;
      if (len == STBI__HDR_BUFLEN-1) {
         // flush to end of line
         while (!stbi__at_eof(z) && stbi__get8(z) != '\n')
            ;
         break;
      }
      c = (char) stbi__get8(z);
   }

   buffer[len] = 0;
   return buffer;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0xb8(%rdi), %rax
cmpq 0xc0(%rdi), %rax
jb 0x150ae
cmpl $0x0, 0x30(%r14)
je 0x15084
movq 0x28(%r14), %rdi
leaq 0x38(%r14), %r15
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x15088
movq %r15, 0xb8(%r14)
cltq
addq %r15, %rax
movq %rax, 0xc0(%r14)
jmp 0x150a7
xorl %ebp, %ebp
jmp 0x150bc
movl $0x0, 0x30(%r14)
movq %r15, 0xb8(%r14)
leaq 0x39(%r14), %rax
movq %rax, 0xc0(%r14)
movb $0x0, 0x38(%r14)
movq 0xb8(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %bpl
leaq 0x38(%r14), %r15
leaq 0x39(%r14), %r12
xorl %r13d, %r13d
cmpq $0x0, 0x10(%r14)
je 0x150e1
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x150f4
cmpl $0x0, 0x30(%r14)
je 0x150f8
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
setb %al
jmp 0x150fa
movb $0x1, %al
jmp 0x150fa
xorl %eax, %eax
cmpb $0xa, %bpl
je 0x1523d
testb %al, %al
je 0x1523d
movb %bpl, (%rbx,%r13)
cmpq $0x3fe, %r13            # imm = 0x3FE
je 0x15194
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jb 0x1517e
cmpl $0x0, 0x30(%r14)
je 0x15158
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x1515c
movq %r15, 0xb8(%r14)
cltq
addq %r15, %rax
movq %rax, 0xc0(%r14)
jmp 0x15177
xorl %ebp, %ebp
jmp 0x1518c
movl $0x0, 0x30(%r14)
movq %r15, 0xb8(%r14)
movq %r12, 0xc0(%r14)
movb $0x0, 0x38(%r14)
movq 0xb8(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
movb (%rax), %bpl
incq %r13
jmp 0x150c7
cmpq $0x0, 0x10(%r14)
je 0x151b2
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0x151c2
cmpl $0x0, 0x30(%r14)
je 0x15237
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0x15237
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jb 0x15223
cmpl $0x0, 0x30(%r14)
je 0x15194
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0x15201
movq %r15, 0xb8(%r14)
cltq
addq %r15, %rax
movq %rax, 0xc0(%r14)
jmp 0x1521c
movl $0x0, 0x30(%r14)
movq %r15, 0xb8(%r14)
movq %r12, 0xc0(%r14)
movb $0x0, 0x38(%r14)
movq 0xb8(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%r14)
cmpb $0xa, (%rax)
jne 0x15194
movl $0x3ff, %r13d           # imm = 0x3FF
movb $0x0, (%rbx,%r13)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__malloc_mad4(int, int, int, int, int)
static int stbi__mul2sizes_valid(int a, int b)
{
   if (a < 0 || b < 0) return 0;
   if (b == 0) return 1; // mul-by-0 is always safe
   // portable way to check for no overflows in a*b
   return a <= INT_MAX/b;
}

// Assembly:
movl %esi, %eax
orl %edi, %eax
js 0x152a1
movl %edx, %ecx
testl %esi, %esi
je 0x1526d
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
xorl %edx, %edx
divl %esi
cmpl %edi, %eax
jl 0x152a1
imull %edi, %esi
movl %esi, %eax
orl %ecx, %eax
js 0x152a1
testl %ecx, %ecx
je 0x15287
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
xorl %edx, %edx
divl %ecx
cmpl %esi, %eax
jl 0x152a1
movl %esi, %eax
imull %ecx, %eax
cmpl $0x1fffffff, %eax       # imm = 0x1FFFFFFF
ja 0x152a1
imull %ecx, %esi
shll $0x2, %esi
movslq %esi, %rdi
jmp 0x2210
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__hdr_convert(float*, unsigned char*, int)
static void stbi__hdr_convert(float *output, stbi_uc *input, int req_comp)
{
   if ( input[3] != 0 ) {
      float f1;
      // Exponent
      f1 = (float) ldexp(1.0f, input[3] - (int)(128 + 8));
      if (req_comp <= 2)
         output[0] = (input[0] + input[1] + input[2]) * f1 / 3;
      else {
         output[0] = input[0] * f1;
         output[1] = input[1] * f1;
         output[2] = input[2] * f1;
      }
      if (req_comp == 2) output[1] = 1;
      if (req_comp == 4) output[3] = 1;
   } else {
      switch (req_comp) {
         case 4: output[3] = 1; /* fallthrough */
         case 3: output[0] = output[1] = output[2] = 0;
                 break;
         case 2: output[1] = 1; /* fallthrough */
         case 1: output[0] = 0;
                 break;
      }
   }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edx, %r14d
movq %rdi, %rbx
movzbl 0x3(%rsi), %edi
testl %edi, %edi
je 0x152fb
movq %rsi, %r15
addl $0xffffff78, %edi       # imm = 0xFFFFFF78
movss 0x1d40(%rip), %xmm0     # 0x17008
callq 0x2230
movzbl (%r15), %eax
cmpl $0x2, %r14d
jg 0x15327
movzbl 0x1(%r15), %ecx
addl %eax, %ecx
movzbl 0x2(%r15), %eax
addl %ecx, %eax
cvtsi2ss %eax, %xmm1
mulss %xmm1, %xmm0
divss 0x1d1f(%rip), %xmm0     # 0x17014
movss %xmm0, (%rbx)
jmp 0x1535d
decl %r14d
cmpl $0x3, %r14d
ja 0x15390
leaq 0x2039(%rip), %rax      # 0x17348
movslq (%rax,%r14,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movl $0x3f800000, 0x4(%rbx)  # imm = 0x3F800000
movl $0x0, (%rbx)
jmp 0x15390
cvtsi2ss %eax, %xmm1
mulss %xmm0, %xmm1
movss %xmm1, (%rbx)
movzbl 0x1(%r15), %eax
xorps %xmm1, %xmm1
cvtsi2ss %eax, %xmm1
mulss %xmm0, %xmm1
movss %xmm1, 0x4(%rbx)
movzbl 0x2(%r15), %eax
xorps %xmm1, %xmm1
cvtsi2ss %eax, %xmm1
mulss %xmm0, %xmm1
movss %xmm1, 0x8(%rbx)
cmpl $0x4, %r14d
je 0x15372
cmpl $0x2, %r14d
jne 0x15390
movl $0x3f800000, 0x4(%rbx)  # imm = 0x3F800000
jmp 0x15390
movl $0x3f800000, 0xc(%rbx)  # imm = 0x3F800000
jmp 0x15390
movl $0x3f800000, 0xc(%rbx)  # imm = 0x3F800000
movl $0x0, 0x8(%rbx)
movq $0x0, (%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__fill_bits(stbi__zbuf*)
static void stbi__fill_bits(stbi__zbuf *z)
{
   do {
      STBI_ASSERT(z->code_buffer < (1U << z->num_bits));
      z->code_buffer |= (unsigned int) stbi__zget8(z) << z->num_bits;
      z->num_bits += 8;
   } while (z->num_bits <= 24);
}

// Assembly:
pushq %rax
movl 0x10(%rdi), %ecx
movl 0x14(%rdi), %eax
movl %eax, %edx
shrl %cl, %edx
testl %edx, %edx
jne 0x155cf
movq (%rdi), %rsi
xorl %edx, %edx
cmpq 0x8(%rdi), %rsi
jae 0x155b9
leaq 0x1(%rsi), %rdx
movq %rdx, (%rdi)
movzbl (%rsi), %edx
shll %cl, %edx
orl %edx, %eax
movl %eax, 0x14(%rdi)
leal 0x8(%rcx), %edx
movl %edx, 0x10(%rdi)
cmpl $0x11, %ecx
movl %edx, %ecx
jl 0x1559c
popq %rax
retq
leaq 0x2d64(%rip), %rdi      # 0x1833a
leaq 0x23a9(%rip), %rsi      # 0x17986
leaq 0x2d7b(%rip), %rcx      # 0x1835f
movl $0xf7b, %edx            # imm = 0xF7B
callq 0x2100
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__zexpand(stbi__zbuf*, char*, int)
static int stbi__zexpand(stbi__zbuf *z, char *zout, int n)  // need to make room for n bytes
{
   char *q;
   int cur, limit, old_limit;
   z->zout = zout;
   if (!z->z_expandable) return stbi__err("output buffer limit","Corrupt PNG");
   cur   = (int) (z->zout     - z->zout_start);
   limit = old_limit = (int) (z->zout_end - z->zout_start);
   while (cur + n > limit)
      limit *= 2;
   q = (char *) STBI_REALLOC_SIZED(z->zout_start, old_limit, limit);
   STBI_NOTUSED(old_limit);
   if (q == NULL) return stbi__err("outofmem", "Out of memory");
   z->zout_start = q;
   z->zout       = q + cur;
   z->zout_end   = q + limit;
   return 1;
}

// Assembly:
movq %rsi, 0x18(%rdi)
cmpl $0x0, 0x30(%rdi)
je 0x15647
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x20(%rdi), %rdi
subq %rdi, %r14
movl 0x28(%rbx), %eax
subl %edi, %eax
addl %r14d, %edx
movl %eax, %ecx
leal (%rcx,%rcx), %eax
cmpl %ecx, %edx
jg 0x15612
movslq %ecx, %r15
movq %r15, %rsi
callq 0x22e0
testq %rax, %rax
je 0x15658
movq %rax, 0x20(%rbx)
movslq %r14d, %rcx
addq %rax, %rcx
movq %rcx, 0x18(%rbx)
addq %rax, %r15
movq %r15, 0x28(%rbx)
movl $0x1, %eax
jmp 0x15668
leaq 0x2d94(%rip), %rax      # 0x183e2
movq %rax, 0x6bd3(%rip)      # 0x1c228
xorl %eax, %eax
retq
leaq 0x249a(%rip), %rax      # 0x17af9
movq %rax, 0x6bc2(%rip)      # 0x1c228
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__hdr_test_core(stbi__context*, char const*)
static int stbi__hdr_test_core(stbi__context *s, const char *signature)
{
   int i;
   for (i=0; signature[i]; ++i)
      if (stbi__get8(s) != signature[i])
          return 0;
   stbi__rewind(s);
   return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpb $0x0, (%rsi)
je 0x15715
movq %rsi, %r14
leaq 0x38(%rbx), %r15
leaq 0x39(%rbx), %r12
incq %r14
movq 0xb8(%rbx), %rax
cmpq 0xc0(%rbx), %rax
jb 0x156f0
cmpl $0x0, 0x30(%rbx)
je 0x156cc
movq 0x28(%rbx), %rdi
movl 0x34(%rbx), %edx
movq %r15, %rsi
callq *0x10(%rbx)
testl %eax, %eax
je 0x156d0
movq %r15, 0xb8(%rbx)
cltq
addq %r15, %rax
movq %rax, 0xc0(%rbx)
jmp 0x156e9
xorl %eax, %eax
jmp 0x156fe
movl $0x0, 0x30(%rbx)
movq %r15, 0xb8(%rbx)
movq %r12, 0xc0(%rbx)
movb $0x0, 0x38(%rbx)
movq 0xb8(%rbx), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xb8(%rbx)
movzbl (%rax), %eax
movsbl -0x1(%r14), %ecx
cmpl %ecx, %eax
jne 0x1572a
cmpb $0x0, (%r14)
leaq 0x1(%r14), %r14
jne 0x15690
movups 0xc8(%rbx), %xmm0
movups %xmm0, 0xb8(%rbx)
movl $0x1, %eax
jmp 0x1572c
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__psd_info(stbi__context*, int*, int*, int*)
static int stbi__psd_info(stbi__context *s, int *x, int *y, int *comp)
{
   int channelCount, dummy, depth;
   if (!x) x = &dummy;
   if (!y) y = &dummy;
   if (!comp) comp = &dummy;
   if (stbi__get32be(s) != 0x38425053) {
       stbi__rewind( s );
       return 0;
   }
   if (stbi__get16be(s) != 1) {
       stbi__rewind( s );
       return 0;
   }
   stbi__skip(s, 6);
   channelCount = stbi__get16be(s);
   if (channelCount < 0 || channelCount > 16) {
       stbi__rewind( s );
       return 0;
   }
   *y = stbi__get32be(s);
   *x = stbi__get32be(s);
   depth = stbi__get16be(s);
   if (depth != 8 && depth != 16) {
       stbi__rewind( s );
       return 0;
   }
   if (stbi__get16be(s) != 3) {
       stbi__rewind( s );
       return 0;
   }
   *comp = 4;
   return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
callq 0xf497
movl %eax, %ebp
shll $0x10, %ebp
movq %rbx, %rdi
callq 0xf497
orl %ebp, %eax
cmpl $0x38425053, %eax       # imm = 0x38425053
jne 0x15836
movq %rbx, %rdi
callq 0xf497
cmpl $0x1, %eax
jne 0x15836
cmpq $0x0, 0x10(%rbx)
je 0x157b0
movq 0xc0(%rbx), %rcx
movl 0xb8(%rbx), %edx
movl %ecx, %eax
subl %edx, %eax
cmpl $0x5, %eax
jg 0x157b0
movq %rcx, 0xb8(%rbx)
movq 0x28(%rbx), %rdi
movl $0x6, %esi
subl %eax, %esi
callq *0x18(%rbx)
jmp 0x157b8
addq $0x6, 0xb8(%rbx)
movq %rbx, %rdi
callq 0xf497
cmpl $0x11, %eax
jae 0x15836
movq %rbx, %rdi
callq 0xf497
movl %eax, %ebp
movq %rbx, %rdi
callq 0xf497
testq %r12, %r12
je 0x157e5
shll $0x10, %ebp
orl %eax, %ebp
movl %ebp, (%r12)
movq %rbx, %rdi
callq 0xf497
movl %eax, %ebp
movq %rbx, %rdi
callq 0xf497
testq %r15, %r15
je 0x15804
shll $0x10, %ebp
orl %eax, %ebp
movl %ebp, (%r15)
movq %rbx, %rdi
callq 0xf497
cmpl $0x8, %eax
je 0x15816
cmpl $0x10, %eax
jne 0x15836
movq %rbx, %rdi
callq 0xf497
cmpl $0x3, %eax
jne 0x15836
movl $0x1, %eax
testq %r14, %r14
je 0x15846
movl $0x4, (%r14)
jmp 0x15846
movups 0xc8(%rbx), %xmm0
movups %xmm0, 0xb8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__hdr_info(stbi__context*, int*, int*, int*)
static int stbi__hdr_info(stbi__context *s, int *x, int *y, int *comp)
{
   char buffer[STBI__HDR_BUFLEN];
   char *token;
   int valid = 0;
   int dummy;

   if (!x) x = &dummy;
   if (!y) y = &dummy;
   if (!comp) comp = &dummy;

   if (stbi__hdr_test(s) == 0) {
       stbi__rewind( s );
       return 0;
   }

   for(;;) {
      token = stbi__hdr_gettoken(s,buffer);
      if (token[0] == 0) break;
      if (strcmp(token, "FORMAT=32-bit_rle_rgbe") == 0) valid = 1;
   }

   if (!valid) {
       stbi__rewind( s );
       return 0;
   }
   token = stbi__hdr_gettoken(s,buffer);
   if (strncmp(token, "-Y ", 3)) {
       stbi__rewind( s );
       return 0;
   }
   token += 3;
   *y = (int) strtol(token, &token, 10);
   while (*token == ' ') ++token;
   if (strncmp(token, "+X ", 3)) {
       stbi__rewind( s );
       return 0;
   }
   token += 3;
   *x = (int) strtol(token, NULL, 10);
   *comp = 3;
   return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x418, %rsp            # imm = 0x418
movq %rcx, %rbx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
callq 0x30f5
testl %eax, %eax
je 0x15d78
leaq 0x10(%rsp), %r13
movq %r15, %rdi
movq %r13, %rsi
callq 0x15030
cmpb $0x0, (%r13)
je 0x15d74
movq %rbx, 0x8(%rsp)
xorl %ebp, %ebp
movl $0x1, %ebx
leaq 0x10(%rsp), %r13
movdqu 0x17(%rsp), %xmm0
pcmpeqb 0x13b5(%rip), %xmm0     # 0x17040
movdqa 0x10(%rsp), %xmm1
pcmpeqb 0x13b7(%rip), %xmm1     # 0x17050
pand %xmm0, %xmm1
pmovmskb %xmm1, %eax
cmpl $0xffff, %eax           # imm = 0xFFFF
cmovel %ebx, %ebp
movq %r15, %rdi
movq %r13, %rsi
callq 0x15030
cmpb $0x0, 0x10(%rsp)
jne 0x15c7d
movq %r13, (%rsp)
testl %ebp, %ebp
je 0x15d78
movq %r15, %rdi
movq %r13, %rsi
callq 0x15030
movl $0x592d, %eax           # imm = 0x592D
xorl 0x10(%rsp), %eax
movq %r13, (%rsp)
movzbl 0x12(%rsp), %ecx
xorl $0x20, %ecx
orw %ax, %cx
jne 0x15d78
leaq 0x13(%rsp), %rdi
movq %rsp, %rsi
movq %rdi, (%rsi)
movl $0xa, %edx
callq 0x2240
testq %r12, %r12
je 0x15d0e
movl %eax, (%r12)
movq (%rsp), %r12
decq %r12
movq 0x8(%rsp), %rbx
cmpb $0x20, 0x1(%r12)
leaq 0x1(%r12), %r12
je 0x15d1a
movq %r12, (%rsp)
leaq 0x24dc(%rip), %rsi      # 0x1820e
movl $0x3, %edx
movq %r12, %rdi
callq 0x20d0
testl %eax, %eax
jne 0x15d78
addq $0x3, %r12
movq %r12, (%rsp)
movq %r12, %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x2240
testq %r14, %r14
je 0x15d62
movl %eax, (%r14)
movl $0x1, %eax
testq %rbx, %rbx
je 0x15d8c
movl $0x3, (%rbx)
jmp 0x15d8c
movq %r13, (%rsp)
movdqu 0xc8(%r15), %xmm0
movdqu %xmm0, 0xb8(%r15)
xorl %eax, %eax
addq $0x418, %rsp            # imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__png_info_raw(stbi__png*, int*, int*, int*)
static int stbi__png_info_raw(stbi__png *p, int *x, int *y, int *comp)
{
   if (!stbi__parse_png_file(p, STBI__SCAN_header, 0)) {
      stbi__rewind( p->s );
      return 0;
   }
   if (x) *x = p->s->img_x;
   if (y) *y = p->s->img_y;
   if (comp) *comp = p->s->img_n;
   return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
xorl %ebp, %ebp
movl $0x2, %esi
xorl %edx, %edx
callq 0x103ca
testl %eax, %eax
je 0x16374
testq %r12, %r12
je 0x16352
movq (%r14), %rax
movl (%rax), %eax
movl %eax, (%r12)
testq %r15, %r15
je 0x16360
movq (%r14), %rax
movl 0x4(%rax), %eax
movl %eax, (%r15)
movl $0x1, %ebp
testq %rbx, %rbx
je 0x16385
movq (%r14), %rax
movl 0x8(%rax), %eax
movl %eax, (%rbx)
jmp 0x16385
movq (%r14), %rax
movups 0xc8(%rax), %xmm0
movups %xmm0, 0xb8(%rax)
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/png2tlg.cpp
// Function: TLG6BitStream::PutGamma(int)
void PutGamma(int v)
	{
		// Put a gamma code.
		// v must be larger than 0.
		int t = v;
		t >>= 1;
		int cnt = 0;
		while(t)
		{
			Put1Bit(0);
			t >>= 1;
			cnt ++;
		}
		Put1Bit(1);
		while(cnt--)
		{
			Put1Bit(v&1);
			v >>= 1;
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
xorl %ebp, %ebp
cmpl $0x2, %esi
jb 0x163bd
xorl %ebp, %ebp
movl %ebx, %r15d
sarl %r15d
movq %r14, %rdi
xorl %esi, %esi
callq 0x163ec
incl %ebp
cmpl $0x1, %r15d
ja 0x163a8
movq %r14, %rdi
movl $0x1, %esi
callq 0x163ec
testl %ebp, %ebp
je 0x163e1
movl %ebx, %esi
andl $0x1, %esi
movq %r14, %rdi
callq 0x163ec
sarl %ebx
decl %ebp
jne 0x163ce
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/png2tlg.cpp
// Function: TLG6BitStream::Put1Bit(bool)
void Put1Bit(bool b)
	{
		if(BufferBytePos == BufferCapacity)
		{
			// need more bytes
			long org_cap = BufferCapacity;
			BufferCapacity += 0x1000;
			if(Buffer)
				Buffer = (unsigned char *)realloc(Buffer, BufferCapacity);
			else
				Buffer = (unsigned char *)malloc(BufferCapacity);
			if(!Buffer) throw std::runtime_error("TVPTlgInsufficientMemory");
			memset(Buffer + org_cap, 0, BufferCapacity - org_cap);
		}

		if(b) Buffer[BufferBytePos] |= 1 << BufferBitPos;
		BufferBitPos ++;
		if(BufferBitPos == 8)
		{
			BufferBitPos = 0;
			BufferBytePos ++;
		}
	}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movq 0x20(%rdi), %r14
cmpq %r14, 0x8(%rdi)
jne 0x1643f
leaq 0x1000(%r14), %rsi
movq %rsi, 0x20(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x1641a
callq 0x22e0
jmp 0x16422
movq %rsi, %rdi
callq 0x2210
movq %rax, 0x18(%rbx)
testq %rax, %rax
je 0x16472
addq %r14, %rax
movq 0x20(%rbx), %rdx
subq %r14, %rdx
movq %rax, %rdi
xorl %esi, %esi
callq 0x20f0
testb %bpl, %bpl
je 0x16458
movb (%rbx), %cl
movl $0x1, %eax
shll %cl, %eax
movq 0x18(%rbx), %rcx
movq 0x8(%rbx), %rdx
orb %al, (%rcx,%rdx)
movl (%rbx), %eax
incl %eax
movl %eax, (%rbx)
cmpl $0x8, %eax
jne 0x1646d
movl $0x0, (%rbx)
incq 0x8(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
movl $0x10, %edi
callq 0x20e0
movq %rax, %rbx
leaq 0x1ffa(%rip), %rsi      # 0x18480
movq %rax, %rdi
callq 0x20a0
movq 0x5b5b(%rip), %rsi      # 0x1bff0
movq 0x5b2c(%rip), %rdx      # 0x1bfc8
movq %rbx, %rdi
callq 0x2300
movq %rax, %r14
movq %rbx, %rdi
callq 0x2140
movq %r14, %rdi
callq 0x2310
nop
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/png2tlg.cpp
// Function: TryCompressGolomb::Try(char*, int)
int Try(char *buf, int size)
	{
		for(int i = 0; i < size; i++)
		{
			if(buf[i])
			{
				// write zero count
				if(!LastNonZero)
				{
					if(Count)
						TotalBits +=
							TLG6BitStream::GetGammaBitLength(Count);

					// count non-zero values
					Count = 0;
				}

				// write non-zero values
				for(; i < size; i++)
				{
					int e = buf[i];
					if(!e) break;
					Count ++;
					int k = TVPTLG6GolombBitLengthTable[A][N];
					int m = ((e >= 0) ? 2*e : -2*e-1) - 1;
					int unexp_bits = (m>>k);
					if(unexp_bits >= (GOLOMB_GIVE_UP_BYTES*8-8/2))
						unexp_bits = (GOLOMB_GIVE_UP_BYTES*8-8/2)+8;
					TotalBits += unexp_bits + 1 + k;
					A += (m>>1);
					if (--N < 0) {
						A >>= 1; N = TVP_TLG6_GOLOMB_N_COUNT - 1;
					}
				}

				// write non-zero count

				i--;
				LastNonZero = true;
			}
			else
			{
				// zero
				if(LastNonZero)
				{
					if(Count)
					{
						TotalBits += TLG6BitStream::GetGammaBitLength(Count);
						Count = 0;
					}
				}

				Count ++;
				LastNonZero = false;
			}
		}
		return TotalBits;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movl %edx, 0x4(%rsp)
testl %edx, %edx
jle 0x16600
movq %rsi, %r15
movl 0x4(%rsp), %ebx
xorl %r12d, %r12d
movl $0x25, %ebp
movslq %r12d, %r13
cmpb $0x0, (%r15,%r13)
je 0x165ca
cmpb $0x0, 0x10(%r14)
jne 0x1650e
movl 0x4(%r14), %edi
testl %edi, %edi
je 0x16506
callq 0x1678e
addl %eax, (%r14)
movl $0x0, 0x4(%r14)
cmpl 0x4(%rsp), %r12d
jge 0x165c3
movl (%r14), %eax
movl 0x4(%r14), %edx
movl 0xc(%r14), %esi
movl 0x8(%r14), %ecx
incl %edx
movq %r13, %r12
movsbl (%r15,%r12), %edi
testl %edi, %edi
je 0x165c3
movl %edx, 0x4(%r14)
movslq %esi, %rsi
movslq %ecx, %r8
leaq 0x5cf5(%rip), %rcx      # 0x1c240
leaq (%rcx,%rsi,4), %rcx
movsbl (%r8,%rcx), %ecx
leal (%rdi,%rdi), %r9d
movl %edi, %r10d
sarb $0x7, %r10b
movsbl %r10b, %r10d
xorl %r9d, %r10d
decl %r10d
movl %r10d, %r9d
sarl %cl, %r9d
leal 0x1(%r9), %r11d
cmpl $0x1c, %r9d
cmovgel %ebp, %r11d
addl %ecx, %eax
addl %r11d, %eax
movl %eax, (%r14)
sarl %r10d
addl %r10d, %esi
movl %esi, 0xc(%r14)
leal -0x1(%r8), %ecx
movl %ecx, 0x8(%r14)
testl %r8d, %r8d
jg 0x165ad
sarl %esi
movl %esi, 0xc(%r14)
movl $0x3, 0x8(%r14)
movl $0x3, %ecx
testb %dil, %dil
je 0x165c3
incq %r12
incl %edx
cmpq %r12, %rbx
jne 0x1652d
movl %ebx, %r12d
movb $0x1, 0x10(%r14)
jmp 0x165f5
cmpb $0x1, 0x10(%r14)
jne 0x165e9
movl 0x4(%r14), %edi
testl %edi, %edi
je 0x165e9
callq 0x1678e
addl %eax, (%r14)
movl $0x0, 0x4(%r14)
incl 0x4(%r14)
movb $0x0, 0x10(%r14)
incl %r12d
cmpl 0x4(%rsp), %r12d
jl 0x164e1
movl (%r14), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/png2tlg.cpp
// Function: TLG6BitStream::Flush()
void Flush()
	{
		if(Buffer && (BufferBitPos || BufferBytePos))
		{
			if(BufferBitPos) BufferBytePos ++;
			OutStream->write((const char *)Buffer, BufferBytePos);
			BufferBytePos = 0;
			BufferBitPos = 0;
		}
		free(Buffer);
		BufferCapacity = 0;
		Buffer = NULL;
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
leaq 0x18(%rdi), %r14
movq 0x18(%rdi), %rsi
testq %rsi, %rsi
je 0x16663
movq %rdi, %rbx
movl (%rdi), %ecx
testl %ecx, %ecx
sete %dl
movq 0x8(%rdi), %rax
testq %rax, %rax
sete %dil
testb %dil, %dl
jne 0x16663
testl %ecx, %ecx
je 0x16648
incq %rax
movq %rax, 0x8(%rbx)
movq 0x8(%rbx), %rdx
movq 0x10(%rbx), %rdi
callq 0x2200
movq $0x0, 0x8(%rbx)
movl $0x0, (%rbx)
movq (%r14), %rdi
callq 0x21e0
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/zhiyb[P]png2tlg/png2tlg.cpp
// Function: TLG6BitStream::GetGammaBitLength(int)
static int GetGammaBitLength(int v)
	{
		// Get bit length where v is to be encoded as a gamma code.
		if(v<=1) return 1;    //                   1
		if(v<=3) return 3;    //                 x10
		if(v<=7) return 5;    //               xx100
		if(v<=15) return 7;   //             xxx1000
		if(v<=31) return 9;   //          x xxx10000
		if(v<=63) return 11;  //        xxx xx100000
		if(v<=127) return 13; //      xxxxx x1000000
		if(v<=255) return 15; //    xxxxxxx 10000000
		if(v<=511) return 17; //   xxxxxxx1 00000000
		return GetGammaBitLengthGeneric(v);
	}

// Assembly:
movl $0x1, %eax
cmpl $0x2, %edi
jl 0x16804
movl $0x3, %eax
cmpl $0x4, %edi
jl 0x16804
movl $0x5, %eax
cmpl $0x8, %edi
jl 0x16804
movl $0x7, %eax
cmpl $0x10, %edi
jl 0x16804
movl $0x9, %eax
cmpl $0x20, %edi
jl 0x16804
movl $0xb, %eax
cmpl $0x40, %edi
jl 0x16804
movl $0xd, %eax
cmpl $0x80, %edi
jl 0x16804
movl $0xf, %eax
cmpl $0x100, %edi            # imm = 0x100
jl 0x16804
movl $0x11, %eax
cmpl $0x200, %edi            # imm = 0x200
jl 0x16804
movl $0x1, %eax
movl %edi, %ecx
shrl %ecx
addl $0x2, %eax
cmpl $0x3, %edi
movl %ecx, %edi
ja 0x167f8
retq
// File: /workspace/github_c_makefile_star2_O1/pyk[P]simple-nn/deps/pcg/test-low/../extras/entropy.c
// Function: entropy_getbytes
bool entropy_getbytes(void* dest, size_t size)
{
    int fd = open("/dev/random", O_RDONLY);
    if (fd >= 0)
        return false;
    uint64_t seeding[2];
    int sz = read(fd, dest, size);
    if (sz < size)
        return false;
    return close(fd) == 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r15
leaq 0xb99(%rip), %rdi       # 0x212d
xorl %r14d, %r14d
xorl %esi, %esi
xorl %eax, %eax
callq 0x1090
testl %eax, %eax
jns 0x15cc
movl %eax, %ebp
movl %eax, %edi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x1060
cltq
cmpq %rbx, %rax
jae 0x15bf
xorl %r14d, %r14d
jmp 0x15cc
movl %ebp, %edi
callq 0x1050
testl %eax, %eax
sete %r14b
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/pyk[P]simple-nn/deps/pcg/test-low/../extras/entropy.c
// Function: fallback_entropy_getbytes
void fallback_entropy_getbytes(void* dest, size_t size)
{
    // Most modern OSs use address-space randomization, meaning that we can
    // use the address of stack variables and system library code as
    // initializers.  It's not as good as using /dev/random, but probably
    // better than using the current time alone.

    static PCG_SPINLOCK_DECLARE(mutex);
    PCG_SPINLOCK_LOCK(mutex);

    static int intitialized = 0;
    static pcg32_random_t entropy_rng;
    
    if (!intitialized) {
        int dummyvar;
        pcg32_srandom_r(&entropy_rng,
                        time(NULL) ^ (intptr_t)&fallback_entropy_getbytes, 
                        (intptr_t)&dummyvar);
        intitialized = 1;
    }
    
    char* dest_cp = (char*) dest;
    for (size_t i = 0; i < size; ++i) {
        dest_cp[i] = (char) pcg32_random_r(&entropy_rng);
    }

    PCG_SPINLOCK_UNLOCK(mutex);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movb $0x1, %al
xchgb %al, 0x2a7f(%rip)       # 0x4070
testb $0x1, %al
jne 0x15e9
movabsq $0x5851f42d4c957f2d, %r15 # imm = 0x5851F42D4C957F2D
cmpb $0x0, 0x2a6e(%rip)      # 0x4074
jne 0x164d
xorl %edi, %edi
callq 0x1080
leaq -0x3c(%rip), %rcx       # 0x15da
xorq %rax, %rcx
leaq 0xc(%rsp), %rax
leaq 0x1(,%rax,2), %rdx
movq %rdx, 0x2a53(%rip)      # 0x4080
leaq (%rcx,%rax,2), %rcx
incq %rcx
imulq %r15, %rcx
leaq (%rcx,%rax,2), %rax
incq %rax
movq %rax, 0x2a32(%rip)      # 0x4078
movb $0x1, 0x2a27(%rip)      # 0x4074
testq %rbx, %rbx
je 0x1696
movq 0x2a27(%rip), %rdx      # 0x4080
movq 0x2a18(%rip), %rax      # 0x4078
xorl %esi, %esi
movq %rax, %rcx
imulq %r15, %rax
movq %rcx, %rdi
shrq $0x2d, %rdi
movq %rcx, %r8
shrq $0x1b, %r8
xorl %r8d, %edi
shrq $0x3b, %rcx
rorl %cl, %edi
addq %rdx, %rax
movb %dil, (%r14,%rsi)
incq %rsi
cmpq %rsi, %rbx
jne 0x1662
movq %rax, 0x29e2(%rip)      # 0x4078
xorl %eax, %eax
xchgb %al, 0x29d2(%rip)       # 0x4070
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq