// File: /workspace/github_c_makefile_star2_O3/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__info_main(stbi__context*, int*, int*, int*)
static int stbi__info_main(stbi__context *s, int *x, int *y, int *comp)
{
   #ifndef STBI_NO_JPEG
   if (stbi__jpeg_info(s, x, y, comp)) return 1;
   #endif

   #ifndef STBI_NO_PNG
   if (stbi__png_info(s, x, y, comp))  return 1;
   #endif

   #ifndef STBI_NO_GIF
   if (stbi__gif_info(s, x, y, comp))  return 1;
   #endif

   #ifndef STBI_NO_BMP
   if (stbi__bmp_info(s, x, y, comp))  return 1;
   #endif

   #ifndef STBI_NO_PSD
   if (stbi__psd_info(s, x, y, comp))  return 1;
   #endif

   #ifndef STBI_NO_PIC
   if (stbi__pic_info(s, x, y, comp))  return 1;
   #endif

   #ifndef STBI_NO_PNM
   if (stbi__pnm_info(s, x, y, comp))  return 1;
   #endif

   #ifndef STBI_NO_HDR
   if (stbi__hdr_info(s, x, y, comp))  return 1;
   #endif

   // test tga last because it's a crappy test!
   #ifndef STBI_NO_TGA
   if (stbi__tga_info(s, x, y, comp))
       return 1;
   #endif
   return stbi__err("unknown image type", "Image not of any known type, or corrupt");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movl $0x4888, %edi           # imm = 0x4888
callq 0x2200
movq %rax, %r13
movq %r12, (%rax)
movq %rax, %rdi
movl $0x2, %esi
callq 0xe044
testl %eax, %eax
je 0x4063
testq %r15, %r15
je 0x402a
movq (%r13), %rax
movl (%rax), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x4039
movq (%r13), %rax
movl 0x4(%rax), %eax
movl %eax, (%r14)
testq %rbx, %rbx
je 0x4054
movq (%r13), %rax
xorl %ecx, %ecx
cmpl $0x3, 0x8(%rax)
setge %cl
leal 0x1(,%rcx,2), %eax
movl %eax, (%rbx)
movq %r13, %rdi
callq 0x21d0
movl $0x1, %ebp
jmp 0x409a
movq (%r13), %rax
movups 0xc8(%rax), %xmm0
movups %xmm0, 0xb8(%rax)
movq %r13, %rdi
callq 0x21d0
movq %rsp, %rdi
movq %r12, (%rdi)
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x16b10
movl $0x1, %ebp
testl %eax, %eax
je 0x40ab
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x8870, %edi           # imm = 0x8870
callq 0x2200
movq %rax, %r13
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0x147b6
testl %eax, %eax
je 0x40f0
testq %r15, %r15
je 0x40db
movl (%r13), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x4054
movl 0x4(%r13), %eax
movl %eax, (%r14)
jmp 0x4054
movq %r13, %rdi
callq 0x21d0
movups 0xc8(%r12), %xmm0
movups %xmm0, 0xb8(%r12)
movq %rsp, %rsi
movl $0xff, 0x1c(%rsi)
movq %r12, %rdi
callq 0x137d1
movups 0xc8(%r12), %xmm0
movups %xmm0, 0xb8(%r12)
testq %rax, %rax
je 0x4169
testq %r15, %r15
je 0x413f
movl (%r12), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x414c
movl 0x4(%r12), %eax
movl %eax, (%r14)
testq %rbx, %rbx
je 0x405c
cmpl $0x1, 0x18(%rsp)
movl $0x4, %eax
sbbl $0x0, %eax
movl %eax, (%rbx)
jmp 0x405c
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x16008
movl $0x1, %ebp
testl %eax, %eax
jne 0x409a
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x1612a
testl %eax, %eax
jne 0x409a
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x150c4
testl %eax, %eax
jne 0x409a
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x164b4
testl %eax, %eax
jne 0x409a
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x16611
testl %eax, %eax
jne 0x409a
leaq 0x148ac(%rip), %rax     # 0x18a9e
movq %rax, 0x18fff(%rip)     # 0x1d1f8
xorl %ebp, %ebp
jmp 0x409a