// File: /workspace/github_c_makefile_star2_O3/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, 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 0xa55a
testl %eax, %eax
je 0x2d20
leaq 0x108(%rsp), %rdi
xorl %r12d, %r12d
movl $0x8870, %edx           # imm = 0x8870
xorl %esi, %esi
callq 0x20e0
testq %r14, %r14
je 0x2b5c
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 0x13cbc
movq %rax, %r14
cmpq %r15, %rax
sete %al
testq %r14, %r14
sete %cl
orb %al, %cl
movl $0x0, %eax
movq %rax, (%rsp)
jne 0x2ccc
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 0x2c1f
callq 0x22d0
movq %rax, (%rsp)
movq 0x8(%rsp), %r13
testq %r13, %r13
je 0x2c41
movq (%r13), %rdi
movq %r15, %rsi
callq 0x22d0
jmp 0x2c3d
movq %rsi, %rdi
callq 0x2200
movq %rax, (%rsp)
movq 0x8(%rsp), %r13
testq %r13, %r13
je 0x2c41
movq %r15, %rdi
callq 0x2200
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 0x2140
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 0x2c88
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 0x13cbc
incq %r12
cmpq %rbx, %rax
je 0x2cc0
movq %rax, %r14
addq $0x4, %r15
testq %rax, %rax
jne 0x2bbf
movq 0x20(%rsp), %rbx
movl 0x89b8(%rsp), %ebp
movq 0x110(%rsp), %rdi
callq 0x21d0
movq 0x120(%rsp), %rdi
callq 0x21d0
movq 0x118(%rsp), %rdi
callq 0x21d0
testl $0xfffffffb, %ebp       # imm = 0xFFFFFFFB
je 0x2d38
movl 0x108(%rsp), %ecx
imull %r12d, %ecx
movl 0x10c(%rsp), %r8d
movq (%rsp), %rdi
movl $0x4, %esi
movl %ebp, %edx
callq 0x11e4d
jmp 0x2d3c
leaq 0x1646a(%rip), %rax     # 0x19191
movq %rax, 0x1a4ca(%rip)     # 0x1d1f8
movq $0x0, (%rsp)
jmp 0x2d43
movq (%rsp), %rax
movq %rax, (%rsp)
movl %r12d, (%rbx)
cmpl $0x0, 0x1a4b6(%rip)     # 0x1d200
je 0x2d94
movl (%rbx), %r12d
testl %r12d, %r12d
jle 0x2d94
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 0xa46d
addq %r13, %r15
decl %r12d
jne 0x2d7d
movq (%rsp), %rax
addq $0x8978, %rsp           # imm = 0x8978
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq