// File: /workspace/github_c_makefile_star2_O2/zhiyb[P]png2tlg/./stb_image.h
// Function: stbi__do_zlib(stbi__zbuf*, char*, int, int, int)
static int stbi__do_zlib(stbi__zbuf *a, char *obuf, int olen, int exp, int parse_header)
{
   a->zout_start = obuf;
   a->zout       = obuf;
   a->zout_end   = obuf + olen;
   a->z_expandable = exp;

   return stbi__parse_zlib(a, parse_header);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x9f8, %rsp            # imm = 0x9F8
movq %rdi, %r14
movq %rsi, 0x20(%rdi)
movq %rsi, 0x18(%rdi)
movslq %edx, %rax
addq %rsi, %rax
movq %rax, 0x28(%rdi)
movl %ecx, 0x30(%rdi)
testl %r8d, %r8d
je 0x31ef
movq (%r14), %rax
movq 0x8(%r14), %rdx
xorl %esi, %esi
cmpq %rdx, %rax
jae 0x31a5
leaq 0x1(%rax), %rdi
movq %rdi, (%r14)
movzbl (%rax), %ecx
movq %rdi, %rax
jmp 0x31a7
xorl %ecx, %ecx
cmpq %rdx, %rax
jae 0x31b6
leaq 0x1(%rax), %rdx
movq %rdx, (%r14)
movzbl (%rax), %esi
movl %ecx, %eax
shll $0x8, %eax
orl %esi, %eax
xorl %ebx, %ebx
movw $0x1f, %di
xorl %edx, %edx
divw %di
testw %dx, %dx
je 0x31d9
leaq 0xe123(%rip), %rax      # 0x112f7
jmp 0x3692
testb $0x20, %sil
jne 0x3682
andl $0xf, %ecx
cmpl $0x8, %ecx
jne 0x368b
andq $0x0, 0x10(%r14)
leaq 0x34(%r14), %r15
leaq 0x818(%r14), %rax
movq %rax, 0x10(%rsp)
pushq $0x1
popq %rbp
pushq $0x2
popq %r12
xorl %ebx, %ebx
leaq 0xd38c(%rip), %r13      # 0x105a0
movq %r15, 0x8(%rsp)
movq %r14, %rdi
movl %ebp, %esi
callq 0xec31
movl %eax, 0x1c(%rsp)
movq %r14, %rdi
movl %r12d, %esi
callq 0xec31
testl %eax, %eax
je 0x33d2
cmpl $0x1, %eax
je 0x32b5
cmpl $0x3, %eax
je 0x36ab
movq %r14, %rdi
pushq $0x5
popq %rbp
movl %ebp, %esi
callq 0xec31
movl %eax, %r13d
movq %r14, %rdi
movl %ebp, %esi
callq 0xec31
movl %eax, 0x4(%rsp)
movq %r14, %rdi
pushq $0x4
popq %rsi
callq 0xec31
movl %eax, %r12d
addl $0x4, %r12d
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
andl $0x0, 0x2f(%rsp)
testl %r12d, %r12d
cmovlel %ebx, %r12d
xorl %ebx, %ebx
pushq $0x3
popq %rbp
leaq 0xd448(%rip), %r15      # 0x106e0
cmpq %rbx, %r12
je 0x32e1
movq %r14, %rdi
movl %ebp, %esi
callq 0xec31
movzbl (%rbx,%r15), %ecx
movb %al, 0x20(%rsp,%rcx)
incq %rbx
jmp 0x3298
movq %r15, %rdi
movq %r13, %rsi
movl $0x120, %edx            # imm = 0x120
callq 0xec6a
testl %eax, %eax
je 0x36ab
movq 0x10(%rsp), %rdi
leaq 0xd3e7(%rip), %rsi      # 0x106c0
pushq $0x20
popq %rdx
jmp 0x34e4
leaq 0x214(%rsp), %rdi
leaq 0x20(%rsp), %rsi
pushq $0x13
popq %rdx
callq 0xec6a
testl %eax, %eax
je 0x36a9
movl %r13d, %eax
addl $0x101, %r13d           # imm = 0x101
movl %r13d, 0x18(%rsp)
movl 0x4(%rsp), %edx
movl %edx, %ecx
incl %edx
movl %edx, 0x4(%rsp)
leal (%rcx,%rax), %ebp
addl $0x102, %ebp            # imm = 0x102
xorl %r13d, %r13d
movl %ebp, %ebx
subl %r13d, %ebx
jle 0x34aa
movq %r14, %rdi
leaq 0x214(%rsp), %rsi
callq 0xef29
cmpl $0x12, %eax
ja 0x3670
movslq %r13d, %r15
cmpl $0xf, %eax
ja 0x335b
incl %r13d
movb %al, 0x40(%rsp,%r15)
jmp 0x3325
cmpl $0x11, %eax
pushq $0x2
popq %rsi
movq %r14, %rdi
je 0x338c
cmpl $0x10, %eax
jne 0x339d
callq 0xec31
testl %r13d, %r13d
je 0x3670
movl %eax, %r12d
addl $0x3, %r12d
leaq 0x40(%rsp), %rax
movb -0x1(%r15,%rax), %al
jmp 0x33ae
pushq $0x3
popq %rsi
callq 0xec31
movl %eax, %r12d
addl $0x3, %r12d
jmp 0x33ac
pushq $0x7
popq %rsi
callq 0xec31
movl %eax, %r12d
addl $0xb, %r12d
xorl %eax, %eax
cmpl %r12d, %ebx
jl 0x3670
leaq (%rsp,%r15), %rdi
addq $0x40, %rdi
movslq %r12d, %rdx
movzbl %al, %esi
callq 0x20e0
addl %r12d, %r13d
jmp 0x3325
movl 0x10(%r14), %ecx
movl %ecx, %esi
andl $0x7, %esi
je 0x33e9
movq %r14, %rdi
callq 0xec31
movl 0x10(%r14), %ecx
xorl %eax, %eax
testl %ecx, %ecx
jle 0x340d
movl 0x14(%r14), %edx
movb %dl, 0x214(%rsp,%rax)
incq %rax
shrl $0x8, %edx
movl %edx, 0x14(%r14)
addl $-0x8, %ecx
movl %ecx, 0x10(%r14)
jmp 0x33eb
jne 0x36d1
cmpq $0x3, %rax
ja 0x343b
movq (%r14), %rcx
cmpq 0x8(%r14), %rcx
jae 0x342d
leaq 0x1(%rcx), %rdx
movq %rdx, (%r14)
movb (%rcx), %cl
jmp 0x342f
xorl %ecx, %ecx
movb %cl, 0x214(%rsp,%rax)
incq %rax
jmp 0x3413
movzwl 0x214(%rsp), %edx
movzwl 0x216(%rsp), %eax
xorl %edx, %eax
cmpl $0xffff, %eax           # imm = 0xFFFF
jne 0x36bf
movq (%r14), %rsi
movl %edx, %ebx
leaq (%rsi,%rbx), %rax
cmpq 0x8(%r14), %rax
ja 0x36c8
movq 0x18(%r14), %rax
leaq (%rax,%rbx), %rcx
cmpq 0x28(%r14), %rcx
jbe 0x3493
movq %r14, %rdi
movq %rax, %rsi
callq 0xeeab
testl %eax, %eax
je 0x36a9
movq (%r14), %rsi
movq 0x18(%r14), %rax
movq %rax, %rdi
movq %rbx, %rdx
callq 0x2130
addq %rbx, (%r14)
addq %rbx, 0x18(%r14)
jmp 0x365c
jne 0x3670
movq 0x8(%rsp), %r15
movq %r15, %rdi
leaq 0x40(%rsp), %rsi
movl 0x18(%rsp), %ebx
movl %ebx, %edx
callq 0xec6a
testl %eax, %eax
je 0x36a9
movslq %ebx, %rax
leaq (%rsp,%rax), %rsi
addq $0x40, %rsi
movq 0x10(%rsp), %rdi
movl 0x4(%rsp), %edx
callq 0xec6a
testl %eax, %eax
je 0x36a9
movq 0x18(%r14), %rbx
movq %r14, %rdi
movq %r15, %rsi
callq 0xef29
movl %eax, %r12d
cmpl $0xff, %eax
jg 0x353b
testl %r12d, %r12d
js 0x3679
cmpq 0x28(%r14), %rbx
jb 0x3533
movq %r14, %rdi
movq %rbx, %rsi
pushq $0x1
popq %rdx
callq 0xeeab
testl %eax, %eax
je 0x36a9
movq 0x18(%r14), %rbx
movb %r12b, (%rbx)
incq %rbx
jmp 0x34f5
cmpl $0x100, %r12d           # imm = 0x100
je 0x364a
addl $0xfffffeff, %r12d      # imm = 0xFFFFFEFF
leaq 0xd1aa(%rip), %rax      # 0x10700
movl (%rax,%r12,4), %r13d
leaq -0x1c(%r12), %rax
cmpq $-0x14, %rax
jb 0x357b
leaq 0xd214(%rip), %rax      # 0x10780
movl (%rax,%r12,4), %esi
movq %r14, %rdi
callq 0xec31
addl %eax, %r13d
movq %r14, %rdi
movq 0x10(%rsp), %rsi
callq 0xef29
testl %eax, %eax
js 0x3679
movl %eax, %eax
leaq 0xd267(%rip), %rcx      # 0x10800
movl (%rcx,%rax,4), %ebp
leaq -0x1e(%rax), %rcx
cmpq $-0x1a, %rcx
jb 0x35ba
leaq 0xd2d3(%rip), %rcx      # 0x10880
movl (%rcx,%rax,4), %esi
movq %r14, %rdi
callq 0xec31
addl %eax, %ebp
movq %rbx, %rax
subq 0x20(%r14), %rax
movslq %ebp, %r15
cmpq %r15, %rax
jl 0x369b
movslq %r13d, %rax
addq %rbx, %rax
cmpq 0x28(%r14), %rax
jbe 0x35f3
movq %r14, %rdi
movq %rbx, %rsi
movl %r13d, %edx
callq 0xeeab
testl %eax, %eax
je 0x36a9
movq 0x18(%r14), %rbx
movq %r15, %rax
negq %rax
cmpl $0x1, %r15d
jne 0x362a
testl %r13d, %r13d
movq 0x8(%rsp), %r15
je 0x34f5
movl %r13d, %edx
movzbl (%rbx,%rax), %esi
movq %rbx, %rdi
callq 0x20e0
decl %r13d
addq %r13, %rbx
incq %rbx
jmp 0x34f5
testl %r13d, %r13d
movq 0x8(%rsp), %r15
je 0x34f5
movb (%rbx,%rax), %cl
movb %cl, (%rbx)
incq %rbx
decl %r13d
jne 0x3638
jmp 0x34f5
movq %rbx, 0x18(%r14)
pushq $0x1
popq %rbp
pushq $0x2
popq %r12
leaq 0xcf44(%rip), %r13      # 0x105a0
cmpl $0x0, 0x1c(%rsp)
movl $0x0, %ebx
je 0x3219
movl %ebp, %ebx
jmp 0x36ab
leaq 0xdd65(%rip), %rax      # 0x113dc
jmp 0x36a2
leaq 0xd4ce(%rip), %rax      # 0x10b4e
jmp 0x36a2
leaq 0xdc7e(%rip), %rax      # 0x11307
jmp 0x3692
leaq 0xdabe(%rip), %rax      # 0x11150
movq %rax, 0x11b7f(%rip)     # 0x15218
jmp 0x36ab
leaq 0xdd9d(%rip), %rax      # 0x1143f
movq %rax, 0x11b6f(%rip)     # 0x15218
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x9f8, %rsp            # imm = 0x9F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xdcda(%rip), %rax      # 0x113a0
jmp 0x36a2
leaq 0xdcde(%rip), %rax      # 0x113ad
jmp 0x36a2
leaq 0xdc86(%rip), %rdi      # 0x1135e
leaq 0xd287(%rip), %rsi      # 0x10966
leaq 0xdc89(%rip), %rcx      # 0x1136f
movl $0x1034, %edx           # imm = 0x1034
callq 0x20f0