// File: /workspace/github_c_makefile_star2_O1/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 $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 0x9fe2
testl %eax, %eax
je 0x2ca7
movq %rbx, 0x38(%rsp)
leaq 0x118(%rsp), %rdi
movq $0x0, 0x10(%rsp)
movl $0x8870, %edx           # imm = 0x8870
xorl %esi, %esi
callq 0x20f0
testq %r14, %r14
movq %r14, %rbx
je 0x2af4
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 0x134db
movq %rax, %r14
cmpq %r13, %rax
sete %al
testq %r14, %r14
sete %r12b
orb %al, %r12b
je 0x2b39
movq 0x30(%rsp), %rcx
jmp 0x2c3a
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 0x2ba1
callq 0x22e0
testq %rbx, %rbx
je 0x2bc7
movq %rax, 0x8(%rsp)
movq (%rbx), %rdi
movslq %ebp, %rsi
shlq $0x2, %rsi
callq 0x22e0
jmp 0x2bbf
movq %rsi, %rdi
callq 0x2210
testq %rbx, %rbx
je 0x2bc7
movq %rax, 0x8(%rsp)
movslq %ebp, %rdi
shlq $0x2, %rdi
callq 0x2210
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 0x2150
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 0x2c19
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 0x2b07
movq 0x120(%rsp), %rdi
callq 0x21e0
movq 0x130(%rsp), %rdi
callq 0x21e0
movq 0x128(%rsp), %rdi
callq 0x21e0
movl 0x89c8(%rsp), %edx
testl $0xfffffffb, %edx       # imm = 0xFFFFFFFB
movq 0x38(%rsp), %rbx
je 0x2cc0
movl 0x118(%rsp), %ecx
movq 0x10(%rsp), %r14
imull %r14d, %ecx
movl 0x11c(%rsp), %r8d
movq 0x8(%rsp), %rdi
movl $0x4, %esi
callq 0x115e7
jmp 0x2cca
leaq 0x15433(%rip), %rax     # 0x180e1
movq %rax, 0x19573(%rip)     # 0x1c228
movq $0x0, 0x8(%rsp)
jmp 0x2cd2
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %r14
movq %rax, 0x8(%rsp)
movl %r14d, (%rbx)
cmpl $0x0, 0x19557(%rip)     # 0x1c230
je 0x2d1c
movl (%rbx), %r12d
testl %r12d, %r12d
jle 0x2d1c
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 0x9ef5
addq %r13, %r15
decl %r12d
jne 0x2d05
movq 0x8(%rsp), %rax
addq $0x8988, %rsp           # imm = 0x8988
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq