// File: /workspace/github_cpp_makefile_star2_O3/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, 0x10(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdx, %r14
leaq 0x30(%rsp), %rcx
movq $0x0, 0x10(%rcx)
movl $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 0x2c45c
testl %eax, %eax
je 0x24484
leaq 0x108(%rsp), %rdi
xorl %r12d, %r12d
movl $0x8870, %edx           # imm = 0x8870
xorl %esi, %esi
callq 0x6210
testq %r14, %r14
je 0x242c0
movq $0x0, (%r14)
movq %r14, 0x8(%rsp)
movl 0x89b8(%rsp), %ebp
leaq 0x108(%rsp), %rsi
leaq 0x30(%rsp), %r15
movq %r15, %rdi
movq 0x89b0(%rsp), %rdx
xorl %ecx, %ecx
callq 0x35bbe
movq %rax, %r14
cmpq %r15, %rax
sete %al
testq %r14, %r14
sete %cl
orb %al, %cl
movl $0x0, %eax
movq %rax, (%rsp)
jne 0x24430
movq %rbx, 0x20(%rsp)
movl $0x4, %r15d
xorl %r12d, %r12d
xorl %ebp, %ebp
movq $0x0, (%rsp)
movq %rbp, 0x28(%rsp)
movl 0x108(%rsp), %eax
movq 0x18(%rsp), %rcx
movl %eax, (%rcx)
movl 0x10c(%rsp), %ebp
movq 0x10(%rsp), %rcx
movl %ebp, (%rcx)
imull %eax, %ebp
leal (,%rbp,4), %ebx
leal 0x1(%r12), %eax
imull %ebx, %eax
movslq %eax, %rsi
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x24383
callq 0x6660
movq %rax, (%rsp)
movq 0x8(%rsp), %r13
testq %r13, %r13
je 0x243a5
movq (%r13), %rdi
movq %r15, %rsi
callq 0x6660
jmp 0x243a1
movq %rsi, %rdi
callq 0x64c0
movq %rax, (%rsp)
movq 0x8(%rsp), %r13
testq %r13, %r13
je 0x243a5
movq %r15, %rdi
callq 0x64c0
movq %rax, (%r13)
movslq %ebx, %rdx
movl %r12d, %eax
imull %ebx, %eax
movslq %eax, %rdi
movq (%rsp), %rbx
addq %rbx, %rdi
movq %r14, %rsi
callq 0x6330
shll $0x3, %ebp
movslq %ebp, %rax
movq %rbx, %rcx
subq %rax, %rcx
testq %r12, %r12
movq 0x28(%rsp), %rbp
cmovneq %rcx, %rbp
testq %r13, %r13
je 0x243ec
movl 0x8970(%rsp), %eax
movq (%r13), %rcx
movl %eax, (%rcx,%r12,4)
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
leaq 0x108(%rsp), %rsi
movq 0x89b0(%rsp), %rdx
movq %rbp, %rcx
callq 0x35bbe
incq %r12
cmpq %rbx, %rax
je 0x24424
movq %rax, %r14
addq $0x4, %r15
testq %rax, %rax
jne 0x24323
movq 0x20(%rsp), %rbx
movl 0x89b8(%rsp), %ebp
movq 0x110(%rsp), %rdi
callq 0x6490
movq 0x120(%rsp), %rdi
callq 0x6490
movq 0x118(%rsp), %rdi
callq 0x6490
testl $0xfffffffb, %ebp       # imm = 0xFFFFFFFB
je 0x2449c
movl 0x108(%rsp), %ecx
imull %r12d, %ecx
movl 0x10c(%rsp), %r8d
movq (%rsp), %rdi
movl $0x4, %esi
movl %ebp, %edx
callq 0x33d4f
jmp 0x244a0
leaq 0x1bae9(%rip), %rax     # 0x3ff74
movq %rax, 0x2b036(%rip)     # 0x4f4c8
movq $0x0, (%rsp)
jmp 0x244a7
movq (%rsp), %rax
movq %rax, (%rsp)
movl %r12d, (%rbx)
cmpl $0x0, 0x2b022(%rip)     # 0x4f4d0
je 0x244f8
movl (%rbx), %r12d
testl %r12d, %r12d
jle 0x244f8
movq 0x18(%rsp), %rax
movl (%rax), %ebx
movq 0x10(%rsp), %rax
movl (%rax), %ebp
movq 0x89b0(%rsp), %rax
movl (%rax), %r14d
movl %ebp, %eax
imull %ebx, %eax
imull %r14d, %eax
movslq %eax, %r13
movq (%rsp), %r15
movq %r15, %rdi
movl %ebx, %esi
movl %ebp, %edx
movl %r14d, %ecx
callq 0x2c36f
addq %r13, %r15
decl %r12d
jne 0x244e1
movq (%rsp), %rax
addq $0x8978, %rsp           # imm = 0x8978
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq