// File: /workspace/github_c_makefile_star2_O2/zhiyb[P]png2tlg/./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 0x9548
testl %eax, %eax
je 0x2bcd
movq %rbx, 0x28(%rsp)
leaq 0x108(%rsp), %rdi
movl $0x8870, %edx           # imm = 0x8870
xorl %esi, %esi
callq 0x20e0
testq %r14, %r14
je 0x2a53
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 0xde6c
cmpq %r14, %rax
je 0x2b6b
movq %rax, %r15
testq %rax, %rax
je 0x2b6b
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 0x2afc
movq %r13, %rdi
callq 0x22c0
movq %rax, %r13
movq 0x10(%rsp), %r14
testq %r14, %r14
je 0x2b1d
movq (%r14), %rdi
movq (%rsp), %rsi
callq 0x22c0
jmp 0x2b1a
movq %rsi, %rdi
callq 0x21f0
movq %rax, %r13
movq 0x10(%rsp), %r14
testq %r14, %r14
je 0x2b1d
movq (%rsp), %rdi
callq 0x21f0
movq %rax, (%r14)
movslq %ebp, %rdx
movl %ebx, %eax
imull %ebp, %eax
movslq %eax, %rdi
addq %r13, %rdi
movq %r15, %rsi
callq 0x2130
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 0x2b5e
movl 0x8970(%rsp), %eax
movq (%r14), %rcx
movl %eax, (%rcx,%rbx,4)
addq $0x4, (%rsp)
incq %rbx
jmp 0x2a67
movq 0x110(%rsp), %rdi
callq 0x21c0
movq 0x120(%rsp), %rdi
callq 0x21c0
movq 0x118(%rsp), %rdi
callq 0x21c0
movl 0x89b8(%rsp), %edx
testl $0xfffffffb, %edx       # imm = 0xFFFFFFFB
je 0x2bc1
movl 0x108(%rsp), %ecx
imull %ebx, %ecx
movl 0x10c(%rsp), %r8d
pushq $0x4
popq %rsi
movq %r13, %rdi
callq 0xc54c
movq %rax, %r13
movq 0x28(%rsp), %rax
movl %ebx, (%rax)
movq %rax, %rbx
jmp 0x2bde
leaq 0xe4ed(%rip), %rax      # 0x110c1
movq %rax, 0x1263d(%rip)     # 0x15218
xorl %r13d, %r13d
cmpl $0x0, 0x1263b(%rip)     # 0x15220
je 0x2c39
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 0x2c39
movq %r15, %rdi
movl %ebp, %esi
movl 0x8(%rsp), %edx
movl %r14d, %ecx
callq 0x946e
addq %r12, %r15
jmp 0x2c1e
movq %r13, %rax
addq $0x8978, %rsp           # imm = 0x8978
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq