// File: /workspace/github_c_makefile_star2_O2/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 $0x428, %rsp            # imm = 0x428
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movl $0x4888, %edi           # imm = 0x4888
callq 0x21f0
movq %rax, %r13
movq %r12, (%rax)
pushq $0x2
popq %rsi
movq %rax, %rdi
callq 0x9a6c
movl %eax, %ebp
testl %eax, %eax
je 0x39e2
testq %r15, %r15
je 0x39b6
movq (%r13), %rax
movl (%rax), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x39c5
movq (%r13), %rax
movl 0x4(%rax), %eax
movl %eax, (%r14)
testq %rbx, %rbx
je 0x39f4
movq (%r13), %rax
xorl %ecx, %ecx
cmpl $0x3, 0x8(%rax)
setge %cl
leal 0x1(,%rcx,2), %eax
movl %eax, (%rbx)
jmp 0x39f4
movq (%r13), %rax
movups 0xc8(%rax), %xmm0
movups %xmm0, 0xb8(%rax)
movq %r13, %rdi
callq 0x21c0
pushq $0x1
popq %r13
testl %ebp, %ebp
jne 0x3a62
leaq 0x20(%rsp), %rdi
movq %r12, (%rdi)
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0xf079
testl %eax, %eax
jne 0x3a62
movl $0x8870, %edi           # imm = 0x8870
callq 0x21f0
movq %rax, %rbp
pushq $0x1
popq %r13
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
movl %r13d, %ecx
callq 0xe4aa
testl %eax, %eax
je 0x3a77
testq %r15, %r15
je 0x3a4f
movl (%rbp), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x3a5a
movl 0x4(%rbp), %eax
movl %eax, (%r14)
movq %rbp, %rdi
callq 0x21c0
movl %r13d, %eax
addq $0x428, %rsp            # imm = 0x428
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %rdi
callq 0x21c0
movups 0xc8(%r12), %xmm0
movups %xmm0, 0xb8(%r12)
leaq 0x20(%rsp), %rsi
movl $0xff, 0x1c(%rsi)
movq %r12, %rdi
callq 0xdabc
movups 0xc8(%r12), %xmm0
movups %xmm0, 0xb8(%r12)
testq %rax, %rax
je 0x3aec
testq %r15, %r15
je 0x3ac8
movl (%r12), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x3ad5
movl 0x4(%r12), %eax
movl %eax, (%r14)
testq %rbx, %rbx
je 0x3a62
cmpl $0x1, 0x38(%rsp)
pushq $0x4
popq %rax
sbbl $0x0, %eax
movl %eax, (%rbx)
jmp 0x3a62
movq %r12, %rdi
callq 0xcd14
cmpl $0x38425053, %eax       # imm = 0x38425053
jne 0x3b73
movq %r12, %rdi
callq 0xaf12
cmpl $0x1, %eax
jne 0x3b73
pushq $0x6
popq %rsi
movq %r12, %rdi
callq 0xb088
movq %r12, %rdi
callq 0xaf12
cmpl $0x10, %eax
ja 0x3b73
movq %r12, %rdi
callq 0xcd14
testq %r14, %r14
je 0x3b30
movl %eax, (%r14)
movq %r12, %rdi
callq 0xcd14
testq %r15, %r15
je 0x3b40
movl %eax, (%r15)
movq %r12, %rdi
callq 0xaf12
cmpl $0x10, %eax
je 0x3b52
cmpl $0x8, %eax
jne 0x3b73
movq %r12, %rdi
callq 0xaf12
cmpl $0x3, %eax
jne 0x3b73
testq %rbx, %rbx
je 0x3a62
movl $0x4, (%rbx)
jmp 0x3a62
movups 0xc8(%r12), %xmm0
movups %xmm0, 0xb8(%r12)
leaq 0xd5d4(%rip), %rsi      # 0x11160
movq %r12, %rdi
callq 0xe732
testl %eax, %eax
je 0x3bd5
pushq $0x58
popq %rsi
movq %r12, %rdi
callq 0xb088
movq %r12, %rdi
callq 0xaf12
movl %eax, %ebp
testq %r15, %r15
je 0x3bb5
movl %ebp, (%r15)
movq %r12, %rdi
callq 0xaf12
testq %r14, %r14
je 0x3bc7
movl %eax, (%r14)
jmp 0x3bc9
movl %eax, %ebp
movq %r12, %rdi
callq 0xae57
testl %eax, %eax
je 0x3c48
movups 0xc8(%r12), %xmm0
movups %xmm0, 0xb8(%r12)
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0xe7f3
testl %eax, %eax
jne 0x3a62
movq %r12, %rdi
callq 0x2fa9
testl %eax, %eax
je 0x3d9b
xorl %ebp, %ebp
movq %r12, %rdi
leaq 0x20(%rsp), %rsi
callq 0xe9b3
cmpb $0x0, 0x20(%rsp)
je 0x3cff
leaq 0x20(%rsp), %rdi
leaq 0xd572(%rip), %rsi      # 0x111a8
pushq $0x17
popq %rdx
callq 0x2190
testl %eax, %eax
pushq $0x1
popq %rax
cmovel %eax, %ebp
jmp 0x3c12
movl %ebp, %ecx
testq %r15, %r15
je 0x3c52
movl (%r15), %ecx
testl %ecx, %ecx
je 0x3c6f
movl $0x10000000, %eax       # imm = 0x10000000
xorl %edx, %edx
idivl %ecx
testq %r14, %r14
je 0x3c67
movl (%r14), %ebp
cmpl %ebp, %eax
jl 0x3bd5
pushq $0x8
popq %rsi
movq %r12, %rdi
callq 0xb088
xorl %eax, %eax
pushq $0xb
popq %rcx
decl %ecx
je 0x3be7
movl %ecx, 0xc(%rsp)
movl %eax, 0x10(%rsp)
movq %r12, %rdi
callq 0xae91
movb %al, 0x8(%rsp)
movq %r12, %rdi
callq 0xae91
movb %al, 0x7(%rsp)
movq %r12, %rdi
callq 0xae91
movq %r12, %rdi
callq 0xae91
movl %eax, %ebp
movq %r12, %rdi
callq 0xae57
testl %eax, %eax
jne 0x3bd5
cmpb $0x8, 0x7(%rsp)
jne 0x3bd5
movzbl %bpl, %eax
movl 0x10(%rsp), %ecx
orl %eax, %ecx
movl %ecx, %eax
cmpb $0x0, 0x8(%rsp)
movl 0xc(%rsp), %ecx
jne 0x3c7f
testq %rbx, %rbx
je 0x3a62
andl $0x10, %eax
cmpl $0x1, %eax
jmp 0x3adf
testl %ebp, %ebp
je 0x3d9b
leaq 0x20(%rsp), %rbp
movq %r12, %rdi
movq %rbp, %rsi
callq 0xe9b3
leaq 0xd4b4(%rip), %rsi      # 0x111d2
pushq $0x3
popq %rdx
movq %rbp, %rdi
callq 0x2190
testl %eax, %eax
jne 0x3d9b
leaq 0x23(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movq %rdi, (%rsi)
pushq $0xa
popq %rdx
callq 0x2220
testq %r14, %r14
je 0x3d4a
movl %eax, (%r14)
movq 0x18(%rsp), %rdi
addq $0x2, %rdi
movzbl -0x2(%rdi), %eax
incq %rdi
cmpl $0x20, %eax
je 0x3d53
cmpl $0x2b, %eax
jne 0x3d9b
cmpb $0x58, -0x2(%rdi)
jne 0x3d9b
cmpb $0x20, -0x1(%rdi)
jne 0x3d9b
movq %rdi, 0x18(%rsp)
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x2220
testq %r15, %r15
je 0x3d87
movl %eax, (%r15)
testq %rbx, %rbx
je 0x3d92
movl $0x3, (%rbx)
pushq $0x1
popq %r13
jmp 0x3a62
movups 0xc8(%r12), %xmm0
movups %xmm0, 0xb8(%r12)
movq %r12, %rdi
callq 0xae91
movq %r12, %rdi
callq 0xae91
cmpb $0x1, %al
jbe 0x3de9
movups 0xc8(%r12), %xmm0
movups %xmm0, 0xb8(%r12)
leaq 0xcbf4(%rip), %rax      # 0x109ce
movq %rax, 0x11437(%rip)     # 0x15218
xorl %r13d, %r13d
jmp 0x3a62
movl %eax, %ebp
movq %r12, %rdi
callq 0xae91
cmpb $0x1, %bpl
movb %al, 0x7(%rsp)
jne 0x3e36
andb $-0x9, %al
cmpb $0x1, %al
jne 0x3dc1
pushq $0x4
popq %rbp
movq %r12, %rdi
movl %ebp, %esi
callq 0xb088
movq %r12, %rdi
callq 0xae91
cmpb $0x20, %al
ja 0x3dc1
movzbl %al, %ecx
movabsq $0x101018100, %rax      # imm = 0x101018100
movq %rcx, 0x10(%rsp)
btq %rcx, %rax
jb 0x3e48
jmp 0x3dc1
andb $-0xa, %al
cmpb $0x2, %al
jne 0x3dc1
movq $0x0, 0x10(%rsp)
pushq $0x9
popq %rbp
movq %r12, %rdi
movl %ebp, %esi
callq 0xb088
movq %r12, %rdi
callq 0xda97
movl %eax, 0xc(%rsp)
testl %eax, %eax
je 0x3dc1
movq %r12, %rdi
callq 0xda97
movl %eax, 0x8(%rsp)
testl %eax, %eax
je 0x3dc1
movq %r12, %rdi
callq 0xae91
movl %eax, %ebp
movq %r12, %rdi
callq 0xae91
cmpl $0x0, 0x10(%rsp)
je 0x3eaf
cmpb $0x10, %bpl
je 0x3ea6
movzbl %bpl, %eax
cmpl $0x8, %eax
jne 0x3dc1
movq 0x10(%rsp), %rdi
xorl %esi, %esi
jmp 0x3ec1
movzbl %bpl, %edi
movb 0x7(%rsp), %al
andb $-0x9, %al
xorl %esi, %esi
cmpb $0x3, %al
sete %sil
xorl %edx, %edx
callq 0xeb8c
testl %eax, %eax
je 0x3dc1
testq %r15, %r15
je 0x3edc
movl 0xc(%rsp), %ecx
movl %ecx, (%r15)
testq %r14, %r14
je 0x3ee8
movl 0x8(%rsp), %ecx
movl %ecx, (%r14)
testq %rbx, %rbx
jne 0x3ae5
jmp 0x3a62