// File: /workspace/github_c_makefile_star2_O3/archer1357[P]Offline-Raytracer/stb_image.c
// Function: stbi__info_main
static int stbi__info_main(stbi__context *s, int *x, int *y, int *comp)
{
   if (stbi__jpeg_info(s, x, y, comp))
       return 1;
   if (stbi__png_info(s, x, y, comp))
       return 1;
   if (stbi__gif_info(s, x, y, comp))
       return 1;
   if (stbi__bmp_info(s, x, y, comp))
       return 1;
   if (stbi__psd_info(s, x, y, comp))
       return 1;
   if (stbi__pic_info(s, x, y, comp))
       return 1;
   #ifndef STBI_NO_HDR
   if (stbi__hdr_info(s, x, y, comp))
       return 1;
   #endif
   // test tga last because it's a crappy test!
   if (stbi__tga_info(s, x, y, comp))
       return 1;
   return stbi__err("unknown image type", "Image not of any known type, or corrupt");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x4860, %rsp           # imm = 0x4860
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movl $0x2, %esi
callq 0x40fc8f
testl %eax, %eax
jne 0x40df09
leaq 0x8(%rsp), %rdi
movq (%rdi), %rax
movq 0xc8(%rax), %rcx
movq %rcx, 0xb8(%rax)
movq %r12, (%rdi)
movl $0x2, %esi
xorl %edx, %edx
callq 0x4114f8
testl %eax, %eax
je 0x40df4e
testq %r15, %r15
je 0x40df18
movq 0x8(%rsp), %rax
movl (%rax), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x40df28
movq 0x8(%rsp), %rax
movl 0x4(%rax), %eax
movl %eax, (%r14)
testq %rbx, %rbx
je 0x40df37
movq 0x8(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, (%rbx)
movl $0x1, %ebp
movl %ebp, %eax
addq $0x4860, %rsp           # imm = 0x4860
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8(%rsp), %rsi
movq (%rsi), %rax
movq 0xc8(%rax), %rcx
movq %rcx, 0xb8(%rax)
movq %r12, %rdi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0x412d1b
testl %eax, %eax
je 0x40df92
testq %r15, %r15
je 0x40df84
movl 0x8(%rsp), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x40df37
movl 0xc(%rsp), %eax
movl %eax, (%r14)
jmp 0x40df37
movq 0xc8(%r12), %rax
movq %rax, 0xb8(%r12)
movq %r12, %rdi
callq 0x410442
cmpb $0x42, %al
jne 0x40e097
movq %r12, %rdi
callq 0x410442
cmpb $0x4d, %al
jne 0x40e097
cmpq $0x0, 0x10(%r12)
je 0x40dffe
movq 0xb8(%r12), %rax
movq 0xc0(%r12), %rdx
movl %edx, %ecx
subl %eax, %ecx
cmpl $0xb, %ecx
jg 0x40e006
movq %rdx, 0xb8(%r12)
movq 0x28(%r12), %rdi
movl $0xc, %esi
subl %ecx, %esi
callq *0x18(%r12)
jmp 0x40e012
movq 0xb8(%r12), %rax
addq $0xc, %rax
movq %rax, 0xb8(%r12)
movq %r12, %rdi
callq 0x412c38
cmpl $0x37, %eax
jle 0x40e030
cmpl $0x38, %eax
je 0x40e03e
cmpl $0x6c, %eax
je 0x40e03e
cmpl $0x7c, %eax
je 0x40e03e
jmp 0x40e097
cmpl $0xc, %eax
je 0x40e125
cmpl $0x28, %eax
jne 0x40e097
movq %r12, %rdi
callq 0x412c38
movl %eax, (%r15)
movq %r12, %rdi
callq 0x412c38
movl %eax, (%r14)
movq %r12, %rdi
callq 0x410442
movzbl %al, %ebp
movq %r12, %rdi
callq 0x410442
movzbl %al, %eax
shll $0x8, %eax
orl %ebp, %eax
cmpl $0x1, %eax
jne 0x40e097
movq %r12, %rdi
callq 0x410442
movzbl %al, %ebp
movq %r12, %rdi
callq 0x410442
movzbl %al, %eax
shll $0x8, %eax
orl %ebp, %eax
shrl $0x3, %eax
jmp 0x40df35
movq 0xc8(%r12), %rax
movq %rax, 0xb8(%r12)
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x41393b
movl $0x1, %ebp
testl %eax, %eax
jne 0x40df3c
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x413a68
testl %eax, %eax
jne 0x40df3c
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x413c5c
testl %eax, %eax
jne 0x40df3c
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x413dde
testl %eax, %eax
jne 0x40df3c
leaq 0xca7b5(%rip), %rax     # 0x4d88cc
movq %rax, 0x10e402(%rip)    # 0x51c520
xorl %ebp, %ebp
jmp 0x40df3c
movq %r12, %rdi
callq 0x410442
movzbl %al, %ebp
movq %r12, %rdi
callq 0x410442
movzbl %al, %eax
shll $0x8, %eax
orl %ebp, %eax
movl %eax, (%r15)
movq %r12, %rdi
callq 0x410442
movzbl %al, %ebp
movq %r12, %rdi
callq 0x410442
movzbl %al, %eax
shll $0x8, %eax
orl %ebp, %eax
jmp 0x40e051