// File: /workspace/github_c_makefile_star2_O3/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__pic_load(stbi__context*, int*, int*, int*, int, stbi__result_info*)
static void *stbi__pic_load(stbi__context *s,int *px,int *py,int *comp,int req_comp, stbi__result_info *ri)
{
   stbi_uc *result;
   int i, x,y, internal_comp;
   STBI_NOTUSED(ri);

   if (!comp) comp = &internal_comp;

   for (i=0; i<92; ++i)
      stbi__get8(s);

   x = stbi__get16be(s);
   y = stbi__get16be(s);
   if (stbi__at_eof(s))  return stbi__errpuc("bad file","file too short (pic header)");
   if (!stbi__mad3sizes_valid(x, y, 4, 0)) return stbi__errpuc("too large", "PIC image too large to decode");

   stbi__get32be(s); //skip `ratio'
   stbi__get16be(s); //skip `fields'
   stbi__get16be(s); //skip `pad'

   // intermediate buffer is RGBA
   result = (stbi_uc *) stbi__malloc_mad3(x, y, 4, 0);
   memset(result, 0xff, x*y*4);

   if (!stbi__pic_load_core(s,x,y,comp, result)) {
      STBI_FREE(result);
      result=0;
   }
   *px = x;
   *py = y;
   if (req_comp == 0) req_comp = *comp;
   result=stbi__convert_format(result,4,req_comp,x,y);

   return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movl %r8d, %ebp
movq %rcx, %r12
movq %rdx, 0x78(%rsp)
movq %rsi, 0x70(%rsp)
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x39(%rdi), %r13
movq 0xb8(%rdi), %rcx
movq 0xc0(%rdi), %rax
movl $0x5c, %ebx
cmpq %rax, %rcx
jae 0xbe9c
incq %rcx
jmp 0xbed7
cmpl $0x0, 0x30(%r14)
je 0xbede
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0xbebd
cltq
addq %r15, %rax
jmp 0xbecd
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
movq %r13, %rax
movq %rax, 0xc0(%r14)
movq %r13, %rcx
movq %rcx, 0xb8(%r14)
decl %ebx
jne 0xbe92
movq %r14, %rdi
callq 0xfc21
movq %rax, 0x8(%rsp)
movq %r14, %rdi
callq 0xfc21
movl %eax, 0x14(%rsp)
cmpq $0x0, 0x10(%r14)
je 0xbf15
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0xbf25
cmpl $0x0, 0x30(%r14)
je 0xbf72
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
jae 0xbf72
movl %ebp, 0x1c(%rsp)
movq %r12, 0x30(%rsp)
xorl %ebp, %ebp
movl $0x0, %ebx
movl 0x14(%rsp), %r12d
testl %r12d, %r12d
je 0xbf87
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
xorl %edx, %edx
divl %r12d
movq 0x8(%rsp), %rcx
cmpl %ecx, %eax
setb %al
movl %r12d, %ebx
imull %ecx, %ebx
cmpl $0x20000000, %ebx       # imm = 0x20000000
setae %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0xbf87
leaq 0xcc2f(%rip), %rax      # 0x18b9f
jmp 0xbf79
leaq 0xd2c1(%rip), %rax      # 0x1923a
movq %rax, 0x11278(%rip)     # 0x1d1f8
xorl %eax, %eax
jmp 0xc645
movq %r14, %rdi
callq 0xfc21
movq %r14, %rdi
callq 0xfc21
movq %r14, %rdi
callq 0xfc21
movq %r14, %rdi
callq 0xfc21
movq 0x8(%rsp), %rdi
movl %r12d, %esi
movl $0x4, %edx
xorl %ecx, %ecx
callq 0xffc2
shll $0x2, %ebx
movq %rax, 0x28(%rsp)
movq %rax, %rdi
movl $0xff, %esi
movq %rbx, %rdx
callq 0x20e0
leaq 0x82(%rsp), %rbx
xorl %r12d, %r12d
movq %r13, 0x38(%rsp)
cmpq $0xa, %r12
je 0xc5d6
movq 0xb8(%r14), %rcx
movq 0xc0(%r14), %rax
cmpq %rax, %rcx
jae 0xc016
leaq 0x1(%rcx), %rdx
movq %rdx, 0xb8(%r14)
movb (%rcx), %cl
movl %ecx, 0x4(%rsp)
movq %rdx, %rcx
jmp 0xc071
cmpl $0x0, 0x30(%r14)
je 0xc03e
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0xc048
cltq
addq %r15, %rax
movb (%r15), %cl
movl %ecx, 0x4(%rsp)
jmp 0xc060
movl $0x0, 0x4(%rsp)
jmp 0xc071
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
movl $0x0, 0x4(%rsp)
movq %r13, %rax
movq %rax, 0xc0(%r14)
movq %r13, 0xb8(%r14)
movq %r13, %rcx
cmpq %rax, %rcx
movq %r12, 0x40(%rsp)
jae 0xc08e
leaq 0x1(%rcx), %rdx
movq %rdx, 0xb8(%r14)
movb (%rcx), %r12b
movq %rdx, %rcx
jmp 0xc0db
cmpl $0x0, 0x30(%r14)
je 0xc0b2
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0xc0b7
cltq
addq %r15, %rax
movb (%r15), %r12b
jmp 0xc0ca
xorl %r12d, %r12d
jmp 0xc0db
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %r12d, %r12d
movq %r13, %rax
movq %rax, 0xc0(%r14)
movq %r13, 0xb8(%r14)
movq %r13, %rcx
movb %r12b, -0x2(%rbx)
cmpq %rax, %rcx
jae 0xc0f6
leaq 0x1(%rcx), %rsi
movq %rsi, 0xb8(%r14)
movb (%rcx), %dl
movq %rsi, %rcx
jmp 0xc141
cmpl $0x0, 0x30(%r14)
je 0xc11a
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0xc11e
cltq
addq %r15, %rax
movb (%r15), %dl
jmp 0xc130
xorl %edx, %edx
jmp 0xc141
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %edx, %edx
movq %r13, %rax
movq %rax, 0xc0(%r14)
movq %r13, 0xb8(%r14)
movq %r13, %rcx
movb %dl, -0x1(%rbx)
cmpq %rax, %rcx
jae 0xc15c
leaq 0x1(%rcx), %rdx
movq %rdx, 0xb8(%r14)
movb (%rcx), %r13b
movq %rdx, %rcx
jmp 0xc1b0
cmpl $0x0, 0x30(%r14)
je 0xc185
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0xc18a
cltq
addq %r15, %rax
movb (%r15), %r13b
movq 0x38(%rsp), %rcx
jmp 0xc1a2
xorl %r13d, %r13d
jmp 0xc1b0
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %r13d, %r13d
movq 0x38(%rsp), %rcx
movq %rcx, %rax
movq %rax, 0xc0(%r14)
movq %rcx, 0xb8(%r14)
movb %r13b, (%rbx)
cmpq $0x0, 0x10(%r14)
je 0xc1df
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0xc1e8
cmpl $0x0, 0x30(%r14)
je 0xc5df
movq 0xb8(%r14), %rcx
movq 0xc0(%r14), %rax
cmpq %rax, %rcx
jae 0xc5df
cmpb $0x8, %r12b
jne 0xc5d6
movzbl %r13b, %eax
orl %eax, %ebp
addq $0x3, %rbx
movq 0x40(%rsp), %r12
incq %r12
cmpb $0x0, 0x4(%rsp)
movq 0x38(%rsp), %r13
jne 0xbfe3
andl $0x10, %ebp
cmpl $0x1, %ebp
movl $0x4, %eax
sbbl $0x0, %eax
movq 0x30(%rsp), %rbx
testq %rbx, %rbx
je 0xc22e
movl %eax, (%rbx)
movl %eax, 0x54(%rsp)
movl 0x14(%rsp), %ecx
testl %ecx, %ecx
je 0xc5c3
movq 0x8(%rsp), %rax
leal (,%rax,4), %eax
movl %ecx, %ecx
movq %rcx, 0x58(%rsp)
xorl %edx, %edx
movq %r12, 0x40(%rsp)
movl %eax, 0x50(%rsp)
movq %rdx, 0x60(%rsp)
imull %edx, %eax
cltq
addq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
xorl %ecx, %ecx
leaq (%rcx,%rcx,2), %rax
leaq (%rsp,%rax), %rbp
addq $0x80, %rbp
movzbl 0x1(%rbp), %eax
testl %eax, %eax
movq %rcx, 0x68(%rsp)
je 0xc55a
cmpl $0x1, %eax
je 0xc429
cmpl $0x2, %eax
jne 0xc667
movq 0x8(%rsp), %rax
movl %eax, 0x4(%rsp)
movq 0x20(%rsp), %rbx
testl %eax, %eax
je 0xc58d
movq 0xb8(%r14), %rcx
movq 0xc0(%r14), %rax
cmpq %rax, %rcx
jae 0xc2e0
leaq 0x1(%rcx), %rdx
movq %rdx, 0xb8(%r14)
movb (%rcx), %r12b
movq %rdx, %rcx
jmp 0xc32d
cmpl $0x0, 0x30(%r14)
je 0xc304
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0xc309
cltq
addq %r15, %rax
movb (%r15), %r12b
jmp 0xc31c
xorl %r12d, %r12d
jmp 0xc32d
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
xorl %r12d, %r12d
movq %r13, %rax
movq %rax, 0xc0(%r14)
movq %r13, 0xb8(%r14)
movq %r13, %rcx
cmpq $0x0, 0x10(%r14)
je 0xc359
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0xc362
cmpl $0x0, 0x30(%r14)
je 0xc657
movq 0xb8(%r14), %rcx
movq 0xc0(%r14), %rax
cmpq %rax, %rcx
jae 0xc657
movzbl %r12b, %eax
testb %al, %al
js 0xc3a5
leal 0x1(%rax), %r12d
movl %r12d, 0x4c(%rsp)
cmpl %eax, 0x4(%rsp)
jbe 0xc657
movzbl 0x2(%rbp), %esi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x14fb2
testq %rax, %rax
je 0xc5ed
addq $0x4, %rbx
decl %r12d
jne 0xc37d
movl 0x4c(%rsp), %r12d
jmp 0xc419
cmpl $0x80, %eax
jne 0xc3b9
movq %r14, %rdi
callq 0xfc21
movl %eax, %r12d
jmp 0xc3bf
addl $-0x7f, %eax
movl %eax, %r12d
cmpl 0x4(%rsp), %r12d
jg 0xc657
movzbl 0x2(%rbp), %esi
movq %r14, %rdi
leaq 0x18(%rsp), %rdx
callq 0x14fb2
testq %rax, %rax
je 0xc5ed
testl %r12d, %r12d
jle 0xc419
xorl %eax, %eax
movzbl 0x2(%rbp), %ecx
movl $0x80, %edx
xorl %esi, %esi
testl %ecx, %edx
je 0xc403
movb 0x18(%rsp,%rsi), %dil
movb %dil, (%rbx,%rsi)
incq %rsi
shrl %edx
cmpq $0x4, %rsi
jne 0xc3f6
incl %eax
addq $0x4, %rbx
cmpl %r12d, %eax
jne 0xc3eb
subl %r12d, 0x4(%rsp)
jg 0xc2ba
jmp 0xc58d
movq 0x8(%rsp), %rax
movl %eax, %ebx
movq 0x20(%rsp), %r12
testl %eax, %eax
je 0xc58d
movq 0xb8(%r14), %rcx
movq 0xc0(%r14), %rax
cmpq %rax, %rcx
jae 0xc466
leaq 0x1(%rcx), %rdx
movq %rdx, 0xb8(%r14)
movb (%rcx), %cl
movl %ecx, 0x4(%rsp)
movq %rdx, %rcx
jmp 0xc4c1
cmpl $0x0, 0x30(%r14)
je 0xc48e
movq 0x28(%r14), %rdi
movl 0x34(%r14), %edx
movq %r15, %rsi
callq *0x10(%r14)
testl %eax, %eax
je 0xc498
cltq
addq %r15, %rax
movb (%r15), %cl
movl %ecx, 0x4(%rsp)
jmp 0xc4b0
movl $0x0, 0x4(%rsp)
jmp 0xc4c1
movl $0x0, 0x30(%r14)
movb $0x0, 0x38(%r14)
movl $0x0, 0x4(%rsp)
movq %r13, %rax
movq %rax, 0xc0(%r14)
movq %r13, 0xb8(%r14)
movq %r13, %rcx
cmpq $0x0, 0x10(%r14)
je 0xc4ed
movq 0x28(%r14), %rdi
callq *0x20(%r14)
testl %eax, %eax
je 0xc4f6
cmpl $0x0, 0x30(%r14)
je 0xc657
movq 0xb8(%r14), %rcx
movq 0xc0(%r14), %rax
cmpq %rax, %rcx
jae 0xc657
movzbl 0x2(%rbp), %esi
movq %r14, %rdi
leaq 0x18(%rsp), %rdx
callq 0x14fb2
testq %rax, %rax
je 0xc5ed
movzbl 0x4(%rsp), %eax
cmpl %eax, %ebx
cmovbl %ebx, %eax
movzbl %al, %eax
testb %al, %al
je 0xc550
xorl %ecx, %ecx
movzbl 0x2(%rbp), %edx
movl $0x80, %esi
xorl %edi, %edi
testl %edx, %esi
je 0xc53b
movb 0x18(%rsp,%rdi), %r8b
movb %r8b, (%r12,%rdi)
incq %rdi
shrl %esi
cmpq $0x4, %rdi
jne 0xc52e
incl %ecx
addq $0x4, %r12
cmpl %eax, %ecx
jne 0xc523
subl %eax, %ebx
jg 0xc43d
jmp 0xc58d
cmpl $0x0, 0x8(%rsp)
je 0xc58d
movzbl 0x2(%rbp), %ebx
movq 0x8(%rsp), %rax
movl %eax, %r12d
movq 0x20(%rsp), %rbp
movq %r14, %rdi
movl %ebx, %esi
movq %rbp, %rdx
callq 0x14fb2
testq %rax, %rax
je 0xc5ed
addq $0x4, %rbp
decl %r12d
jne 0xc572
movq 0x68(%rsp), %rcx
incq %rcx
movq 0x40(%rsp), %r12
cmpq %rcx, %r12
jne 0xc272
movq 0x60(%rsp), %rdx
incq %rdx
cmpq 0x58(%rsp), %rdx
movq 0x30(%rsp), %rbx
movl 0x14(%rsp), %ecx
movl 0x50(%rsp), %eax
jne 0xc25c
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
movl 0x1c(%rsp), %ebp
movl %ecx, %r14d
jne 0xc607
jmp 0xc600
leaq 0xcc66(%rip), %rax      # 0x19243
jmp 0xc5e6
leaq 0xcc54(%rip), %rax      # 0x1923a
movq %rax, 0x10c0b(%rip)     # 0x1d1f8
movq 0x30(%rsp), %rbx
movl 0x1c(%rsp), %ebp
movl 0x14(%rsp), %r14d
movq 0x28(%rsp), %rdi
callq 0x21d0
xorl %edi, %edi
testq %rbx, %rbx
sete %al
movq 0x70(%rsp), %rcx
movq 0x8(%rsp), %rdx
movl %edx, (%rcx)
movq 0x78(%rsp), %rcx
movl %r14d, (%rcx)
testl %ebp, %ebp
setne %cl
movl 0x54(%rsp), %edx
cmovnel %ebp, %edx
orb %al, %cl
jne 0xc633
movl (%rbx), %edx
movl $0x4, %esi
movq 0x8(%rsp), %rcx
movl %r14d, %r8d
callq 0x11e4d
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xcbdc(%rip), %rax      # 0x1923a
movq %rax, 0x10b93(%rip)     # 0x1d1f8
jmp 0xc5ed
leaq 0xcbd5(%rip), %rax      # 0x19243
jmp 0xc65e