// File: /workspace/github_cpp_makefile_star2_O1/alan0201tw[P]RayTracer/include/stb_image.h
// Function: stbi_load_gif_from_memory
STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp)
{
   unsigned char *result;
   stbi__context s; 
   stbi__start_mem(&s,buffer,len); 
   
   result = (unsigned char*) stbi__load_gif_main(&s, delays, x, y, z, comp, req_comp);
   if (stbi__vertically_flip_on_load) {
      stbi__vertical_flip_slices( result, *x, *y, *z, *comp ); 
   }

   return result; 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x8988, %rsp           # imm = 0x8988
movq %r9, %rbx
movq %r8, 0x28(%rsp)
movq %rcx, 0x20(%rsp)
movq %rdx, %r14
movq 0x89c0(%rsp), %r15
leaq 0x40(%rsp), %r13
movq $0x0, 0x10(%r13)
movl $0x0, 0x30(%r13)
movq %rdi, 0xc8(%r13)
movq %rdi, 0xb8(%r13)
movslq %esi, %rax
addq %rdi, %rax
movq %rax, 0xd0(%r13)
movq %rax, 0xc0(%r13)
movq %r13, %rdi
callq 0x2c9ef
testl %eax, %eax
je 0x24e7f
movq %rbx, 0x38(%rsp)
leaq 0x118(%rsp), %rdi
movq $0x0, 0x10(%rsp)
movl $0x8870, %edx           # imm = 0x8870
xorl %esi, %esi
callq 0x6210
testq %r14, %r14
movq %r14, %rbx
je 0x24ccc
movq $0x0, (%rbx)
leaq 0x118(%rsp), %rbp
movq $0x0, 0x8(%rsp)
xorl %ecx, %ecx
movq %r13, %rdi
movq %rbp, %rsi
movq %r15, %rdx
movq %rcx, 0x30(%rsp)
callq 0x35ee8
movq %rax, %r14
cmpq %r13, %rax
sete %al
testq %r14, %r14
sete %r12b
orb %al, %r12b
je 0x24d11
movq 0x30(%rsp), %rcx
jmp 0x24e12
movl 0x118(%rsp), %eax
movq 0x20(%rsp), %rcx
movl %eax, (%rcx)
movl 0x11c(%rsp), %r13d
movq 0x28(%rsp), %rcx
movl %r13d, (%rcx)
movq 0x10(%rsp), %rbp
incl %ebp
imull %eax, %r13d
leal (,%r13,4), %r15d
movl %r15d, %eax
imull %ebp, %eax
movslq %eax, %rsi
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
movl %ebp, 0x1c(%rsp)
je 0x24d79
callq 0x6660
testq %rbx, %rbx
je 0x24d9f
movq %rax, 0x8(%rsp)
movq (%rbx), %rdi
movslq %ebp, %rsi
shlq $0x2, %rsi
callq 0x6660
jmp 0x24d97
movq %rsi, %rdi
callq 0x64c0
testq %rbx, %rbx
je 0x24d9f
movq %rax, 0x8(%rsp)
movslq %ebp, %rdi
shlq $0x2, %rdi
callq 0x64c0
movq %rax, (%rbx)
movq 0x8(%rsp), %rax
movq %rbx, %rbp
movslq %r15d, %rdx
movq 0x10(%rsp), %rbx
imull %ebx, %r15d
movslq %r15d, %rdi
addq %rax, %rdi
movq %r14, %rsi
movq %rax, %r14
callq 0x6330
shll $0x3, %r13d
movslq %r13d, %rax
movq %r14, 0x8(%rsp)
movq %r14, %rdx
subq %rax, %rdx
testl %ebx, %ebx
movq 0x30(%rsp), %rcx
cmovgq %rdx, %rcx
testq %rbp, %rbp
je 0x24df1
movl 0x8980(%rsp), %eax
movq (%rbp), %rsi
movl %ebx, %edx
movl %eax, (%rsi,%rdx,4)
movl 0x1c(%rsp), %eax
movq %rax, 0x10(%rsp)
movq 0x89c0(%rsp), %r15
movq %rbp, %rbx
leaq 0x40(%rsp), %r13
leaq 0x118(%rsp), %rbp
testb %r12b, %r12b
je 0x24cdf
movq 0x120(%rsp), %rdi
callq 0x6490
movq 0x130(%rsp), %rdi
callq 0x6490
movq 0x128(%rsp), %rdi
callq 0x6490
movl 0x89c8(%rsp), %edx
testl $0xfffffffb, %edx       # imm = 0xFFFFFFFB
movq 0x38(%rsp), %rbx
je 0x24e98
movl 0x118(%rsp), %ecx
movq 0x10(%rsp), %r14
imull %r14d, %ecx
movl 0x11c(%rsp), %r8d
movq 0x8(%rsp), %rdi
movl $0x4, %esi
callq 0x33ff4
jmp 0x24ea2
leaq 0x1ae86(%rip), %rax     # 0x3fd0c
movq %rax, 0x2a65b(%rip)     # 0x4f4e8
movq $0x0, 0x8(%rsp)
jmp 0x24eaa
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %r14
movq %rax, 0x8(%rsp)
movl %r14d, (%rbx)
cmpl $0x0, 0x2a63f(%rip)     # 0x4f4f0
je 0x24ef4
movl (%rbx), %r12d
testl %r12d, %r12d
jle 0x24ef4
movq 0x20(%rsp), %rax
movl (%rax), %ebx
movq 0x28(%rsp), %rax
movl (%rax), %ebp
movl (%r15), %r14d
movl %ebp, %eax
imull %ebx, %eax
imull %r14d, %eax
movslq %eax, %r13
movq 0x8(%rsp), %r15
movq %r15, %rdi
movl %ebx, %esi
movl %ebp, %edx
movl %r14d, %ecx
callq 0x2c902
addq %r13, %r15
decl %r12d
jne 0x24edd
movq 0x8(%rsp), %rax
addq $0x8988, %rsp           # imm = 0x8988
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq