// File: /workspace/github_c_makefile_star2_O1/tditlu[P]shadetabler/src/lodepng/lodepng.c
// Function: lodepng_deflate
unsigned lodepng_deflate(unsigned char** out, size_t* outsize,
                         const unsigned char* in, size_t insize,
                         const LodePNGCompressSettings* settings) {
  ucvector v = ucvector_init(*out, *outsize);
  unsigned error = lodepng_deflatev(&v, in, insize, settings);
  *out = v.data;
  *outsize = v.size;
  return error;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rdx, 0xb0(%rsp)
movq (%rdi), %rax
movq (%rsi), %r9
leaq 0xb8(%rsp), %rdx
movq %rax, (%rdx)
movq %r9, 0x8(%rdx)
movq %r9, 0x10(%rdx)
movq %rdx, 0x70(%rsp)
movb $0x0, 0x78(%rsp)
movl (%r8), %edx
movl $0x3d, %eax
cmpl $0x2, %edx
ja 0x4f25
movq %rcx, %r9
cmpl $0x1, %edx
je 0x40c0
testl %edx, %edx
jne 0x4099
leaq 0xfffe(%rcx), %r8
movabsq $-0x7fff7fff7fff7fff, %rdx # imm = 0x8000800080008001
movq %r8, %rax
mulq %rdx
cmpq $0xffff, %r8            # imm = 0xFFFF
jae 0x424c
xorl %eax, %eax
jmp 0x4f25
movq %rcx, %rax
shrq $0x3, %rax
cmpq $0xfff9, %rax           # imm = 0xFFF9
movl $0xfff8, %r9d           # imm = 0xFFF8
cmovaeq %rax, %r9
movl $0x3fff8, %eax          # imm = 0x3FFF8
cmpq %rax, %r9
cmovaeq %rax, %r9
addq $0x8, %r9
movq %rdi, 0xa0(%rsp)
movq %rsi, 0xa8(%rsp)
movq %rcx, 0x10(%rsp)
decq %rcx
leaq (%rcx,%r9), %rax
xorl %edx, %edx
divq %r9
movq %r9, 0x58(%rsp)
addq %r9, %rcx
movl $0x1, %ecx
cmovaeq %rax, %rcx
movq %rcx, 0x50(%rsp)
movq %r8, 0x38(%rsp)
movl 0x8(%r8), %ebp
movl $0x40000, %edi          # imm = 0x40000
callq 0x1140
movq %rax, %r13
movq %rax, 0x170(%rsp)
leaq (,%rbp,4), %rdi
movq %rdi, 0x68(%rsp)
callq 0x1140
movq %rax, %r14
movq %rax, 0x180(%rsp)
leaq (,%rbp,2), %rbx
movq %rbx, %rdi
callq 0x1140
movq %rax, %r15
movq %rax, 0x178(%rsp)
movq %rbx, %rdi
callq 0x1140
movq %rax, %r12
movq %rax, 0x198(%rsp)
movl $0x40c, %edi            # imm = 0x40C
callq 0x1140
movq %rax, 0x18(%rsp)
movq %rax, 0x188(%rsp)
movq %rbx, %rdi
callq 0x1140
movq %rax, 0x190(%rsp)
movl $0x53, %r10d
movq %r14, 0x60(%rsp)
testq %r14, %r14
je 0x4382
movq %rax, %rbx
testq %r13, %r13
movq 0x38(%rsp), %rcx
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rsi
movl $0x0, %eax
je 0x43cc
testq %r15, %r15
je 0x43cc
xorl %eax, %eax
testq %r12, %r12
je 0x43cc
movq 0x18(%rsp), %r12
testq %r12, %r12
je 0x43cc
testq %rbx, %rbx
je 0x43cc
movl $0x40000, %edx          # imm = 0x40000
movq %r13, %rdi
movl $0xff, %esi
callq 0x10e0
testq %rbp, %rbp
je 0x43a6
movq 0x60(%rsp), %rdi
movl $0xff, %esi
movq 0x68(%rsp), %rdx
callq 0x10e0
xorl %eax, %eax
movw %ax, (%r15,%rax,2)
incq %rax
cmpq %rax, %rbp
jne 0x4217
movl $0x40c, %edx            # imm = 0x40C
movq %r12, %rdi
movl $0xff, %esi
callq 0x10e0
xorl %r10d, %r10d
xorl %eax, %eax
movw %ax, (%rbx,%rax,2)
incq %rax
cmpq %rax, %rbp
jne 0x423b
jmp 0x43bb
movq %rdx, %r14
movq %rdi, 0xa0(%rsp)
movq %rsi, 0xa8(%rsp)
shrq $0xf, %r14
xorl %edx, %edx
movq %rcx, 0x10(%rsp)
movq 0xc0(%rsp), %rbp
movq 0xc8(%rsp), %r12
movl %edx, %r15d
movq %rcx, %rax
subq %r15, %rax
movq %rcx, %rbx
subl %edx, %ebx
cmpq $0xffff, %rax           # imm = 0xFFFF
movl $0xffff, %eax           # imm = 0xFFFF
cmovael %eax, %ebx
leaq (%rbx,%rbp), %r13
addq $0x5, %r13
cmpq %r13, %r12
jae 0x42da
movl %edx, 0x18(%rsp)
shrq %r12
addq %r13, %r12
movq 0xb8(%rsp), %rdi
movq %r12, %rsi
callq 0x1170
testq %rax, %rax
je 0x4376
movq %r12, 0xc8(%rsp)
movq %rax, 0xb8(%rsp)
movl 0x18(%rsp), %edx
movq %r13, 0xc0(%rsp)
xorl %r12d, %r12d
testb %r12b, %r12b
jne 0x4361
movl $0xffff, %eax           # imm = 0xFFFF
subl %ebx, %eax
cmpq $0x1, %r14
movq 0xb8(%rsp), %rcx
sete (%rcx,%rbp)
movq 0xb8(%rsp), %rcx
movb %bl, 0x1(%rcx,%rbp)
movq 0xb8(%rsp), %rcx
movb %bh, 0x2(%rcx,%rbp)
movq 0xb8(%rsp), %rcx
movb %al, 0x3(%rcx,%rbp)
movq 0xb8(%rsp), %rcx
movb %ah, 0x4(%rcx,%rbp)
testq %rbx, %rbx
je 0x435d
addq 0xb0(%rsp), %r15
movq 0xb8(%rsp), %rax
leaq (%rax,%rbp), %rdi
addq $0x5, %rdi
movq %r15, %rsi
movl %edx, %ebp
movq %rbx, %rdx
callq 0x1130
movl %ebp, %edx
addl %edx, %ebx
movl %ebx, %edx
testb %r12b, %r12b
movq 0x10(%rsp), %rcx
jne 0x4395
decq %r14
jne 0x426a
jmp 0x439f
movb $0x1, %r12b
movl 0x18(%rsp), %edx
jmp 0x42e5
movq 0x38(%rsp), %rcx
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rsi
xorl %eax, %eax
jmp 0x43cc
movl $0x53, %eax
jmp 0x4f15
xorl %eax, %eax
jmp 0x4f15
movl $0x40c, %edx            # imm = 0x40C
movq %r12, %rdi
movl $0xff, %esi
callq 0x10e0
xorl %r10d, %r10d
movb $0x1, %al
movq 0x38(%rsp), %rcx
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rsi
testb %al, %al
movq 0x10(%rsp), %r14
je 0x4ec1
testq %rsi, %rsi
je 0x4ebe
leaq -0x1(%rsi), %rax
movq %rax, 0x1a0(%rsp)
xorps %xmm0, %xmm0
movq 0xb0(%rsp), %rdi
xorl %r12d, %r12d
movq %rdx, %r8
xorl %r10d, %r10d
xorl %r9d, %r9d
cmpq %r8, %r14
movq %r8, %r15
cmovbq %r14, %r15
addq %r12, %r15
xorl %ebp, %ebp
cmpq 0x1a0(%rsp), %r9
sete %bpl
movq %r9, %r13
imulq %rdx, %r13
leaq (%rdx,%r13), %rbx
cmpq %r14, %rbx
cmovaeq %r14, %rbx
movl (%rcx), %eax
cmpl $0x2, %eax
je 0x458e
cmpl $0x1, %eax
jne 0x49de
movq %r9, 0x60(%rsp)
movq %r8, 0x68(%rsp)
movq %rdi, 0x18(%rsp)
movaps %xmm0, 0xe0(%rsp)
leaq 0xf8(%rsp), %rax
movups %xmm0, (%rax)
movaps %xmm0, 0x140(%rsp)
leaq 0x158(%rsp), %rax
movups %xmm0, (%rax)
leaq 0xe0(%rsp), %rdi
callq 0xc432
testl %eax, %eax
jne 0x4499
leaq 0x140(%rsp), %rdi
callq 0xc4d1
testl %eax, %eax
jne 0x499d
movl %ebp, %esi
movq %r14, %rbp
movl $0x1, %edx
leaq 0x70(%rsp), %r14
movq %r14, %rdi
callq 0xc9f1
movl $0x1, %edx
movq %r14, %rdi
movl $0x1, %esi
callq 0xc9f1
movl $0x1, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0xc9f1
movq 0x38(%rsp), %rcx
cmpl $0x0, 0x4(%rcx)
je 0x4911
xorps %xmm0, %xmm0
movaps %xmm0, 0x110(%rsp)
movq $0x0, 0x120(%rsp)
movl 0x8(%rcx), %r9d
movl 0xc(%rcx), %eax
movl 0x10(%rcx), %r10d
movl 0x14(%rcx), %r11d
subq $0x8, %rsp
leaq 0x118(%rsp), %rdi
leaq 0x178(%rsp), %rsi
movq 0xb8(%rsp), %rdx
movq %r13, %rcx
movq %rbx, %r8
pushq %r11
pushq %r10
pushq %rax
callq 0xcab7
addq $0x20, %rsp
movq %rax, %rbx
testl %eax, %eax
movq %rbp, %r14
jne 0x456a
leaq 0x70(%rsp), %rdi
leaq 0x110(%rsp), %rsi
leaq 0xe0(%rsp), %rdx
leaq 0x140(%rsp), %rcx
callq 0xd17e
leaq 0x128(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, -0x10(%rax)
movq 0x110(%rsp), %rdi
callq 0x1030
movq %rbx, %rax
jmp 0x4971
movl %ebp, 0x8(%rsp)
movq %r12, 0xd8(%rsp)
movq %r9, 0x60(%rsp)
movq %r8, 0x68(%rsp)
movq %rdi, 0x18(%rsp)
movaps %xmm0, 0x80(%rsp)
movq $0x0, 0x90(%rsp)
movaps %xmm0, 0xe0(%rsp)
leaq 0xf8(%rsp), %rax
movups %xmm0, (%rax)
movaps %xmm0, 0x140(%rsp)
leaq 0x158(%rsp), %rax
movups %xmm0, (%rax)
movaps %xmm0, 0x110(%rsp)
leaq 0x128(%rsp), %rax
movups %xmm0, (%rax)
movl $0x478, %edi            # imm = 0x478
callq 0x1140
movq %rax, %r14
movl $0x78, %edi
callq 0x1140
movq %rax, %r12
movl $0x4c, %edi
callq 0x1140
movq %rax, %rbp
testq %r14, %r14
setne %al
testq %r12, %r12
setne %cl
andb %al, %cl
testq %rbp, %rbp
setne %al
movl $0x53, %edx
testb %al, %cl
movl $0x0, %eax
cmovnel %eax, %edx
je 0x4729
movl $0x478, %edx            # imm = 0x478
movq %r14, 0x40(%rsp)
movq %r14, %rdi
xorl %esi, %esi
callq 0x10e0
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movups %xmm0, 0x10(%r12)
movups %xmm0, 0x20(%r12)
movups %xmm0, 0x30(%r12)
movups %xmm0, 0x40(%r12)
movups %xmm0, 0x50(%r12)
movups %xmm0, 0x60(%r12)
movq %r12, 0x30(%rsp)
movq $0x0, 0x70(%r12)
movups %xmm0, 0x3c(%rbp)
movups %xmm0, 0x30(%rbp)
movups %xmm0, 0x20(%rbp)
movups %xmm0, 0x10(%rbp)
movq %rbp, 0x28(%rsp)
movups %xmm0, (%rbp)
movq 0x38(%rsp), %rcx
cmpl $0x0, 0x4(%rcx)
je 0x4743
movl 0x8(%rcx), %r9d
movl 0xc(%rcx), %eax
movl 0x10(%rcx), %r10d
movl 0x14(%rcx), %r11d
subq $0x8, %rsp
leaq 0x88(%rsp), %rdi
leaq 0x178(%rsp), %rsi
movq 0xb8(%rsp), %rdx
movq %r13, %rcx
movq %rbx, %r8
pushq %r11
pushq %r10
pushq %rax
callq 0xcab7
xorps %xmm0, %xmm0
addq $0x20, %rsp
testl %eax, %eax
movq 0x10(%rsp), %r14
je 0x47bd
movq %rax, 0x8(%rsp)
xorl %r13d, %r13d
xorl %ebx, %ebx
movq 0x40(%rsp), %r15
movq 0x30(%rsp), %r12
movq 0x28(%rsp), %rbp
jmp 0x486b
movq %rdx, 0x8(%rsp)
xorl %r13d, %r13d
xorl %ebx, %ebx
xorps %xmm0, %xmm0
movq %r14, %r15
movq 0x10(%rsp), %r14
jmp 0x486b
movq %rbx, %r12
subq %r13, %r12
leaq (,%r12,4), %rax
movq 0x90(%rsp), %r14
cmpq %r14, %rax
jbe 0x478d
shrq %r14
addq %rax, %r14
movq 0x80(%rsp), %rdi
movq %r14, %rsi
callq 0x1170
testq %rax, %rax
je 0x4c2b
movq %r14, 0x90(%rsp)
movq %rax, 0x80(%rsp)
movq %r12, 0x88(%rsp)
cmpq %r13, %rbx
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %r14
jbe 0x47bd
movq 0x80(%rsp), %rax
xorl %ecx, %ecx
movzbl (%rsi,%rcx), %edx
movl %edx, (%rax,%rcx,4)
incq %rcx
cmpq %rcx, %r15
jne 0x47ae
movq 0x88(%rsp), %rax
testq %rax, %rax
movq 0x40(%rsp), %r15
movq 0x30(%rsp), %r12
je 0x4802
movq 0x80(%rsp), %rcx
xorl %edx, %edx
movl (%rcx,%rdx,4), %esi
incl (%r15,%rsi,4)
cmpq $0x101, %rsi            # imm = 0x101
jb 0x47fa
movl 0x8(%rcx,%rdx,4), %esi
incl (%r12,%rsi,4)
addq $0x3, %rdx
incq %rdx
cmpq %rax, %rdx
jne 0x47de
movl $0x1, 0x400(%r15)
movl $0x101, %edx            # imm = 0x101
movl $0x11e, %ecx            # imm = 0x11E
leaq 0xe0(%rsp), %rdi
movq %r15, %rsi
movl $0xf, %r8d
callq 0xd36a
testl %eax, %eax
movq 0x28(%rsp), %rbp
jne 0x485e
movl $0x2, %edx
movl $0x1e, %ecx
leaq 0x140(%rsp), %rdi
movq %r12, %rsi
movl $0xf, %r8d
callq 0xd36a
testl %eax, %eax
je 0x4a01
movq %rax, 0x8(%rsp)
xorl %r13d, %r13d
xorl %ebx, %ebx
xorps %xmm0, %xmm0
leaq 0x88(%rsp), %rax
movups %xmm0, (%rax)
movq 0x80(%rsp), %rdi
callq 0x1030
movq $0x0, 0x80(%rsp)
leaq 0xe0(%rsp), %rdi
callq 0xc40a
leaq 0x140(%rsp), %rdi
callq 0xc40a
leaq 0x110(%rsp), %rdi
callq 0xc40a
movq %r15, %rdi
callq 0x1030
movq %r12, %rdi
callq 0x1030
movq %rbp, %rdi
callq 0x1030
movq %rbx, %rdi
callq 0x1030
movq %r13, %rdi
callq 0x1030
xorps %xmm0, %xmm0
movq 0x38(%rsp), %rcx
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rsi
movq 0x18(%rsp), %rdi
movq 0x68(%rsp), %r8
movq 0x60(%rsp), %r9
movq 0xd8(%rsp), %r12
movq 0x8(%rsp), %r10
jmp 0x49de
xorl %eax, %eax
cmpq %r13, %rbx
jbe 0x496e
movq %r12, 0xd8(%rsp)
movq 0xe0(%rsp), %r14
movq 0xe8(%rsp), %r13
xorl %ebx, %ebx
leaq 0x70(%rsp), %rbp
movq 0x18(%rsp), %r12
movzbl (%r12,%rbx), %eax
shll $0x2, %eax
movl (%r14,%rax), %esi
movl (%r13,%rax), %edx
movq %rbp, %rdi
callq 0xd259
incq %rbx
cmpq %rbx, %r15
jne 0x493c
movq 0x10(%rsp), %r14
movq 0xd8(%rsp), %r12
xorl %eax, %eax
jmp 0x4971
movq %rbp, %r14
testl %eax, %eax
jne 0x499d
movq 0xe0(%rsp), %rax
movq 0xe8(%rsp), %rcx
movl 0x400(%rax), %esi
movl 0x400(%rcx), %edx
leaq 0x70(%rsp), %rdi
callq 0xd259
xorl %eax, %eax
leaq 0xe0(%rsp), %rdi
movq %rax, %rbx
callq 0xc40a
leaq 0x140(%rsp), %rdi
callq 0xc40a
movq %rbx, %r10
movq 0x38(%rsp), %rcx
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rsi
xorps %xmm0, %xmm0
movq 0x18(%rsp), %rdi
movq 0x68(%rsp), %r8
movq 0x60(%rsp), %r9
incq %r9
cmpq %rsi, %r9
je 0x4ec1
addq %rdx, %r8
subq %rdx, %r12
addq %rdx, %rdi
testl %r10d, %r10d
je 0x4405
jmp 0x4ec1
movl 0xf4(%rsp), %r12d
movl $0x11e, %eax            # imm = 0x11E
cmpl %eax, %r12d
movl $0x11e, %edx            # imm = 0x11E
cmovbl %r12d, %edx
movl 0x154(%rsp), %ebp
cmpl $0x1e, %ebp
movl $0x1e, %ecx
cmovbl %ebp, %ecx
movq %rcx, 0x108(%rsp)
movq %rdx, 0xd0(%rsp)
leaq (%rcx,%rdx), %r15
leal (,%r15,4), %r14d
movq %r14, %rdi
callq 0x1140
movq %rax, %rbx
movq %r14, %rdi
callq 0x1140
movq %rbx, %rdi
testq %rbx, %rbx
sete %dl
testq %rax, %rax
sete %cl
orb %dl, %cl
jne 0x4c51
testl %r12d, %r12d
movq %rax, 0x20(%rsp)
movq %rdi, 0x48(%rsp)
je 0x4aa8
movq 0xe8(%rsp), %rsi
movq 0xd0(%rsp), %rax
leaq (,%rax,4), %rdx
callq 0x1130
movq 0x48(%rsp), %rdi
movq 0x20(%rsp), %rax
testl %ebp, %ebp
movl $0x8a, %r14d
movq 0x30(%rsp), %r12
je 0x4aea
movq 0xd0(%rsp), %rax
leaq (%rdi,%rax,4), %rdi
movq 0x148(%rsp), %rsi
movq 0x108(%rsp), %rax
leaq (,%rax,4), %rdx
callq 0x1130
movq 0x48(%rsp), %rdi
movq 0x20(%rsp), %rax
testq %r15, %r15
je 0x4c7d
movq %rax, %rbx
addq $0x8, %rbx
xorl %ecx, %ecx
xorl %r10d, %r10d
leaq 0x1(%rcx), %rsi
xorl %edx, %edx
cmpq %r15, %rsi
jae 0x4b24
movl (%rdi,%rcx,4), %r9d
xorl %edx, %edx
movq %rsi, %r8
cmpl %r9d, (%rdi,%r8,4)
jne 0x4b24
incl %edx
leaq (%rsi,%rdx), %r8
cmpq %r15, %r8
jb 0x4b13
movl (%rdi,%rcx,4), %esi
cmpl $0x2, %edx
jb 0x4b51
testl %esi, %esi
jne 0x4b51
leal 0x1(%rdx), %esi
cmpl $0xa, %esi
ja 0x4bf1
movl $0x11, (%rax,%r10,4)
leal -0x2(%rdx), %esi
movl %esi, 0x4(%rax,%r10,4)
jmp 0x4c0c
cmpl $0x3, %edx
jb 0x4be8
movl %edx, %ebp
movl $0xaaaaaaab, %r8d       # imm = 0xAAAAAAAB
imulq %r8, %rbp
shrq $0x22, %rbp
movl %esi, (%rax,%r10,4)
leaq 0x1(%r10), %rsi
cmpl $0x6, %edx
jb 0x4bbf
movq %r10, %rax
leaq (%rbx,%r10,4), %r8
leal (,%rbp,2), %r10d
xorl %r9d, %r9d
movabsq $0x300000010, %r12      # imm = 0x300000010
movq %r12, -0x4(%r8)
addq $0x8, %r8
addq $-0x2, %r9
movq %r10, %r11
addq %r9, %r11
jne 0x4b93
subq %r9, %rsi
movq %rax, %r10
subq %r9, %r10
movq 0x30(%rsp), %r12
movq 0x20(%rsp), %rax
movq 0x48(%rsp), %rdi
addl %ebp, %ebp
leal (%rbp,%rbp,2), %r8d
movl %edx, %r9d
subl %r8d, %r9d
cmpl $0x3, %r9d
jb 0x4c23
movl $0x10, (%rax,%rsi,4)
addl $-0x3, %r9d
movl %r9d, 0x8(%rax,%r10,4)
addq $0x3, %r10
jmp 0x4c10
movl %esi, (%rax,%r10,4)
incq %r10
jmp 0x4c15
cmpl %r14d, %esi
cmovael %r14d, %esi
movl $0x12, (%rax,%r10,4)
leal -0xb(%rsi), %edx
movl %edx, 0x4(%rax,%r10,4)
decl %esi
movl %esi, %edx
addq $0x2, %r10
movl %edx, %edx
addq %rdx, %rcx
incq %rcx
cmpq %r15, %rcx
jne 0x4aff
jmp 0x4c80
subl %r9d, %edx
movq %rsi, %r10
jmp 0x4c10
movl $0x53, %eax
movq %rax, 0x8(%rsp)
xorl %r13d, %r13d
xorl %ebx, %ebx
xorps %xmm0, %xmm0
movq 0x40(%rsp), %r15
movq 0x30(%rsp), %r12
movq 0x28(%rsp), %rbp
jmp 0x4739
movl $0x53, %ecx
movq %rcx, 0x8(%rsp)
xorps %xmm0, %xmm0
movq 0x40(%rsp), %r15
movq 0x30(%rsp), %r12
movq 0x10(%rsp), %r14
movq 0x28(%rsp), %rbp
movq %rax, %r13
movq %rdi, %rbx
jmp 0x486b
xorl %r10d, %r10d
testq %r10, %r10
movq 0x28(%rsp), %rsi
je 0x4ca2
xorl %edx, %edx
movl (%rax,%rdx,4), %ecx
incl (%rsi,%rcx,4)
cmpq $0x10, %rcx
sbbq $-0x1, %rdx
incq %rdx
cmpq %r10, %rdx
jne 0x4c8c
movq %r10, %r13
movl $0x13, %edx
movl $0x13, %ecx
leaq 0x110(%rsp), %rdi
movl $0x7, %r8d
callq 0xd36a
testl %eax, %eax
movq 0x40(%rsp), %r15
movq 0x10(%rsp), %r14
je 0x4cdd
movq %rax, 0x8(%rsp)
xorps %xmm0, %xmm0
jmp 0x4eaa
movl $0x14, %eax
movl $0x13, %ecx
movq 0x118(%rsp), %r15
leaq 0xdbea(%rip), %rbx      # 0x128e0
movq %rcx, %r12
leaq -0x1(%rax), %r14
cmpq $0x5, %r14
jb 0x4d18
movl -0x8(%rbx,%rax,4), %eax
leaq -0x1(%r12), %rcx
cmpl $0x0, (%r15,%rax,4)
movq %r14, %rax
je 0x4cf6
jmp 0x4d1e
movl $0x4, %r14d
movl $0x1, %edx
leaq 0x70(%rsp), %rbp
movq %rbp, %rdi
movl 0x8(%rsp), %esi
callq 0xc9f1
movl $0x1, %edx
movq %rbp, %rdi
xorl %esi, %esi
callq 0xc9f1
movl $0x1, %edx
movq %rbp, %rdi
movl $0x1, %esi
callq 0xc9f1
movq 0xd0(%rsp), %rsi
addl $0xfffffeff, %esi       # imm = 0xFFFFFEFF
movq 0x108(%rsp), %rbp
decl %ebp
addl $-0x4, %r14d
movl $0x5, %edx
leaq 0x70(%rsp), %rdi
callq 0xc9f1
movl $0x5, %edx
leaq 0x70(%rsp), %rdi
movl %ebp, %esi
callq 0xc9f1
movl $0x4, %edx
leaq 0x70(%rsp), %rdi
movq %rdi, %rbp
movl %r14d, %esi
callq 0xc9f1
movq %rbx, %r14
movq %rbp, %rbx
movl (%r14), %eax
movl (%r15,%rax,4), %esi
movl $0x3, %edx
movq %rbx, %rdi
callq 0xc9f1
addq $0x4, %r14
decq %r12
jne 0x4dac
testq %r13, %r13
movq 0x20(%rsp), %rax
je 0x4e35
movq 0x110(%rsp), %rcx
movq %rcx, 0x8(%rsp)
xorl %r12d, %r12d
movl (%rax,%r12,4), %ebx
movq 0x8(%rsp), %rcx
movl (%rcx,%rbx,4), %esi
movl (%r15,%rbx,4), %edx
leaq 0x70(%rsp), %r14
movq %r14, %rdi
movq %rax, %rbp
callq 0xd259
leal -0x10(%rbx), %eax
cmpl $0x2, %eax
ja 0x4e28
movl %eax, %eax
leaq 0xdb9c(%rip), %rcx      # 0x129b0
movq (%rcx,%rax,8), %rdx
movl 0x4(%rbp,%r12,4), %esi
incq %r12
movq %r14, %rdi
callq 0xc9f1
incq %r12
cmpq %r13, %r12
movq 0x20(%rsp), %rax
jne 0x4de3
leaq 0x70(%rsp), %rbx
movq %rbx, %rdi
leaq 0x80(%rsp), %rsi
leaq 0xe0(%rsp), %rdx
leaq 0x140(%rsp), %rcx
callq 0xd17e
movq 0xe8(%rsp), %rax
movl 0x400(%rax), %edx
testq %rdx, %rdx
je 0x4e8e
movq 0xe0(%rsp), %rax
movl 0x400(%rax), %esi
movq %rbx, %rdi
callq 0xd259
movq $0x0, 0x8(%rsp)
jmp 0x4e98
movl $0x40, %eax
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %r14
xorps %xmm0, %xmm0
movq 0x40(%rsp), %r15
movq 0x30(%rsp), %r12
movq 0x28(%rsp), %rbp
movq 0x20(%rsp), %r13
movq 0x48(%rsp), %rbx
jmp 0x486b
xorl %r10d, %r10d
movq 0x170(%rsp), %rdi
movq %r10, %rbx
callq 0x1030
movq 0x180(%rsp), %rdi
callq 0x1030
movq 0x178(%rsp), %rdi
callq 0x1030
movq 0x198(%rsp), %rdi
callq 0x1030
movq 0x188(%rsp), %rdi
callq 0x1030
movq 0x190(%rsp), %rdi
callq 0x1030
movq %rbx, %rax
movq 0xa8(%rsp), %rsi
movq 0xa0(%rsp), %rdi
movq 0xb8(%rsp), %rcx
movq %rcx, (%rdi)
movq 0xc0(%rsp), %rcx
movq %rcx, (%rsi)
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq