// File: /workspace/github_c_makefile_star2_O1/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 $0x38, %rsp
movq %rcx, %rbp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movl $0x4888, %edi           # imm = 0x4888
callq 0x2210
movq %rax, %r13
movq %r12, (%rax)
movq %rax, %rdi
movl $0x2, %esi
callq 0xd1cb
movl %eax, %ebx
testl %eax, %eax
je 0x3f72
testq %r15, %r15
je 0x3f45
movq (%r13), %rax
movl (%rax), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x3f54
movq (%r13), %rax
movl 0x4(%rax), %eax
movl %eax, (%r14)
testq %rbp, %rbp
je 0x3f84
movq (%r13), %rax
xorl %ecx, %ecx
cmpl $0x3, 0x8(%rax)
setge %cl
leal 0x1(,%rcx,2), %eax
movl %eax, (%rbp)
jmp 0x3f84
movq (%r13), %rax
movups 0xc8(%rax), %xmm0
movups %xmm0, 0xb8(%rax)
movq %rbp, 0x8(%rsp)
movq %r13, %rdi
callq 0x21e0
movl $0x1, %ebp
testl %ebx, %ebx
jne 0x4028
leaq 0x10(%rsp), %rdi
movq %r12, (%rdi)
movq %r15, %rsi
movq %r14, %rdx
movq 0x8(%rsp), %rbx
movq %rbx, %rcx
callq 0x1631e
testl %eax, %eax
jne 0x4028
movl $0x8870, %edi           # imm = 0x8870
callq 0x2210
movq %rax, %r13
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0x14149
movl %eax, %ebx
testl %eax, %eax
je 0x4005
testq %r15, %r15
je 0x3fef
movl (%r13), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x3ffb
movl 0x4(%r13), %eax
movl %eax, (%r14)
movq %r13, %rdi
callq 0x21e0
jmp 0x401f
movq %r13, %rdi
callq 0x21e0
movups 0xc8(%r12), %xmm0
movups %xmm0, 0xb8(%r12)
movl $0x1, %ebp
testl %ebx, %ebx
je 0x4039
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10(%rsp), %rsi
movl $0xff, 0x1c(%rsi)
movq %r12, %rdi
callq 0x12fbc
movups 0xc8(%r12), %xmm0
movups %xmm0, 0xb8(%r12)
testq %rax, %rax
je 0x409b
testq %r15, %r15
je 0x4070
movl (%r12), %ecx
movl %ecx, (%r15)
testq %r14, %r14
je 0x407d
movl 0x4(%r12), %ecx
movl %ecx, (%r14)
movq 0x8(%rsp), %rdx
testq %rdx, %rdx
je 0x4096
cmpl $0x1, 0x28(%rsp)
movl $0x4, %ecx
sbbl $0x0, %ecx
movl %ecx, (%rdx)
testq %rax, %rax
jne 0x4028
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq 0x8(%rsp), %rbx
movq %rbx, %rcx
callq 0x15738
testl %eax, %eax
jne 0x4028
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x1584f
testl %eax, %eax
jne 0x4028
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x14b06
testl %eax, %eax
jne 0x4028
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x15c27
testl %eax, %eax
jne 0x4028
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x15d9e
testl %eax, %eax
jne 0x4028
leaq 0x138ca(%rip), %rax     # 0x179ee
movq %rax, 0x180fd(%rip)     # 0x1c228
xorl %ebp, %ebp
jmp 0x4028