// File: /workspace/github_cpp_makefile_star2_O2/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 $0x8978, %rsp           # imm = 0x8978
movq %r9, %rbx
movq %r8, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdx, %r14
leaq 0x30(%rsp), %rcx
andq $0x0, 0x10(%rcx)
andl $0x0, 0x30(%rcx)
movq %rdi, 0xc8(%rcx)
movq %rdi, 0xb8(%rcx)
movslq %esi, %rax
addq %rdi, %rax
movq %rax, 0xd0(%rcx)
movq %rax, 0xc0(%rcx)
movq %rcx, %rdi
callq 0x27219
testl %eax, %eax
je 0x20159
movq %rbx, 0x28(%rsp)
leaq 0x108(%rsp), %rdi
movl $0x8870, %edx           # imm = 0x8870
xorl %esi, %esi
callq 0x6230
testq %r14, %r14
je 0x1ffdf
andq $0x0, (%r14)
movq %r14, 0x10(%rsp)
pushq $0x4
popq %rax
movq %rax, (%rsp)
xorl %ebx, %ebx
xorl %r13d, %r13d
xorl %r12d, %r12d
leaq 0x30(%rsp), %r14
movq %r14, %rdi
leaq 0x108(%rsp), %rsi
movq 0x89b0(%rsp), %rdx
movq %r12, %rcx
callq 0x2bb3d
cmpq %r14, %rax
je 0x200f7
movq %rax, %r15
testq %rax, %rax
je 0x200f7
movq %r12, 0x8(%rsp)
movl 0x108(%rsp), %eax
movq 0x18(%rsp), %rcx
movl %eax, (%rcx)
movl 0x10c(%rsp), %r12d
movq 0x20(%rsp), %rcx
movl %r12d, (%rcx)
imull %eax, %r12d
leal (,%r12,4), %ebp
leal 0x1(%rbx), %eax
imull %ebp, %eax
movslq %eax, %rsi
testq %r13, %r13
je 0x20088
movq %r13, %rdi
callq 0x6690
movq %rax, %r13
movq 0x10(%rsp), %r14
testq %r14, %r14
je 0x200a9
movq (%r14), %rdi
movq (%rsp), %rsi
callq 0x6690
jmp 0x200a6
movq %rsi, %rdi
callq 0x6510
movq %rax, %r13
movq 0x10(%rsp), %r14
testq %r14, %r14
je 0x200a9
movq (%rsp), %rdi
callq 0x6510
movq %rax, (%r14)
movslq %ebp, %rdx
movl %ebx, %eax
imull %ebp, %eax
movslq %eax, %rdi
addq %r13, %rdi
movq %r15, %rsi
callq 0x6360
shll $0x3, %r12d
movslq %r12d, %rax
movq %r13, %rcx
subq %rax, %rcx
testq %rbx, %rbx
movq 0x8(%rsp), %r12
cmovneq %rcx, %r12
testq %r14, %r14
je 0x200ea
movl 0x8970(%rsp), %eax
movq (%r14), %rcx
movl %eax, (%rcx,%rbx,4)
addq $0x4, (%rsp)
incq %rbx
jmp 0x1fff3
movq 0x110(%rsp), %rdi
callq 0x64d0
movq 0x120(%rsp), %rdi
callq 0x64d0
movq 0x118(%rsp), %rdi
callq 0x64d0
movl 0x89b8(%rsp), %edx
testl $0xfffffffb, %edx       # imm = 0xFFFFFFFB
je 0x2014d
movl 0x108(%rsp), %ecx
imull %ebx, %ecx
movl 0x10c(%rsp), %r8d
pushq $0x4
popq %rsi
movq %r13, %rdi
callq 0x2a21d
movq %rax, %r13
movq 0x28(%rsp), %rax
movl %ebx, (%rax)
movq %rax, %rbx
jmp 0x2016a
leaq 0x13d1c(%rip), %rax     # 0x33e7c
movq %rax, 0x283b1(%rip)     # 0x48518
xorl %r13d, %r13d
cmpl $0x0, 0x283af(%rip)     # 0x48520
je 0x201c5
movq 0x18(%rsp), %rax
movl (%rax), %edx
movq 0x20(%rsp), %rax
movl (%rax), %esi
movl (%rbx), %eax
movq 0x89b0(%rsp), %rcx
movl (%rcx), %r14d
movl %esi, 0x8(%rsp)
movl %esi, %ecx
movl %edx, %ebp
imull %edx, %ecx
imull %r14d, %ecx
movslq %ecx, %r12
xorl %ebx, %ebx
testl %eax, %eax
cmovgl %eax, %ebx
movq %r13, %r15
subl $0x1, %ebx
jb 0x201c5
movq %r15, %rdi
movl %ebp, %esi
movl 0x8(%rsp), %edx
movl %r14d, %ecx
callq 0x2713f
addq %r12, %r15
jmp 0x201aa
movq %r13, %rax
addq $0x8978, %rsp           # imm = 0x8978
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq