// File: /workspace/github_cpp_makefile_star2_O3/lvandeve[P]lodepng/lodepng.cpp
// Function: lodepng_deflate(unsigned char**, unsigned long*, unsigned char const*, unsigned long, LodePNGCompressSettings const*)
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 $0x1e8, %rsp            # imm = 0x1E8
movq %rdx, 0x80(%rsp)
movq (%rdi), %rax
movq (%rsi), %r9
leaq 0x98(%rsp), %rdx
movq %rax, (%rdx)
movq %r9, 0x8(%rdx)
movq %r9, 0x10(%rdx)
movq %rdx, 0x88(%rsp)
movb $0x0, 0x90(%rsp)
movl (%r8), %edx
movl $0x3d, %eax
cmpl $0x2, %edx
ja 0x4f7f
movq %rcx, %r9
cmpl $0x1, %edx
movq %rcx, 0x30(%rsp)
je 0x3c75
testl %edx, %edx
jne 0x3c4e
leaq 0xfffe(%rcx), %r8
movabsq $-0x7fff7fff7fff7fff, %rdx # imm = 0x8000800080008001
movq %r8, %rax
mulq %rdx
cmpq $0xffff, %r8            # imm = 0xFFFF
jae 0x4330
xorl %eax, %eax
jmp 0x4f7f
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 %rsi, 0x60(%rsp)
movq %rdi, 0x58(%rsp)
decq %rcx
leaq (%rcx,%r9), %rax
xorl %edx, %edx
divq %r9
movq %r9, 0x78(%rsp)
addq %r9, %rcx
movl $0x1, %ecx
cmovaeq %rax, %rcx
movq %rcx, 0x70(%rsp)
movq %r8, 0x28(%rsp)
movl 0x8(%r8), %r15d
movl $0x40000, %edi          # imm = 0x40000
callq 0x22b0
movq %rax, %r12
movq %rax, 0x1b8(%rsp)
leaq (,%r15,4), %rbx
movq %rbx, %rdi
callq 0x22b0
movq %rax, %r13
movq %rax, 0x1c8(%rsp)
leaq (%r15,%r15), %r14
movq %r14, %rdi
callq 0x22b0
movq %rax, 0x10(%rsp)
movq %rax, 0x1c0(%rsp)
movq %r14, %rdi
callq 0x22b0
movq %rax, 0x148(%rsp)
movq %rax, 0x1e0(%rsp)
movl $0x40c, %edi            # imm = 0x40C
callq 0x22b0
movq %rax, 0x68(%rsp)
movq %rax, 0x1d0(%rsp)
movq %r14, %rdi
callq 0x22b0
movq %rax, 0x1d8(%rsp)
movl $0x53, %r11d
movq %r13, 0x138(%rsp)
testq %r13, %r13
movq %r12, 0x140(%rsp)
movq %rax, 0x130(%rsp)
je 0x4326
testq %r12, %r12
je 0x4326
movq 0x10(%rsp), %rbp
testq %rbp, %rbp
je 0x4f2a
cmpq $0x0, 0x148(%rsp)
je 0x4f2a
cmpq $0x0, 0x68(%rsp)
je 0x4f2a
testq %rax, %rax
je 0x4f2a
movl $0x40000, %edx          # imm = 0x40000
movq 0x140(%rsp), %rdi
movl $0xff, %esi
callq 0x2140
testq %r15, %r15
je 0x443c
movabsq $0x1fffffff8, %r14      # imm = 0x1FFFFFFF8
movq 0x138(%rsp), %rdi
movl $0xff, %esi
movq %rbx, %rdx
callq 0x2140
leaq 0x7(%r15), %rbx
movq %rbx, %rax
andq $-0x8, %rax
decq %r15
movq %r15, %xmm0
pshufd $0x44, %xmm0, %xmm10    # xmm10 = xmm0[0,1,0,1]
movdqa 0x6e27c(%rip), %xmm0    # 0x72070
movdqa 0x6e284(%rip), %xmm1    # 0x72080
movdqa 0x6e23c(%rip), %xmm2    # 0x72040
movdqa 0x6e204(%rip), %xmm3    # 0x72010
xorl %ecx, %ecx
movdqa 0x6e239(%rip), %xmm11   # 0x72050
pxor %xmm11, %xmm10
pcmpeqd %xmm4, %xmm4
movdqa 0x6e267(%rip), %xmm12   # 0x72090
movdqa %xmm3, %xmm5
pxor %xmm11, %xmm5
movdqa %xmm5, %xmm7
pcmpgtd %xmm10, %xmm7
pshufd $0xa0, %xmm7, %xmm6     # xmm6 = xmm7[0,0,2,2]
pshuflw $0xe8, %xmm6, %xmm8     # xmm8 = xmm6[0,2,2,3,4,5,6,7]
pcmpeqd %xmm10, %xmm5
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm9     # xmm9 = xmm5[0,2,2,3,4,5,6,7]
pand %xmm8, %xmm9
pshufd $0xf5, %xmm7, %xmm7     # xmm7 = xmm7[1,1,3,3]
pshuflw $0xe8, %xmm7, %xmm8     # xmm8 = xmm7[0,2,2,3,4,5,6,7]
por %xmm9, %xmm8
pxor %xmm4, %xmm8
packssdw %xmm8, %xmm8
movd %xmm8, %edx
testb $0x1, %dl
je 0x3e84
movw %cx, (%rbp,%rcx,2)
pand %xmm6, %xmm5
por %xmm7, %xmm5
packssdw %xmm5, %xmm5
pxor %xmm4, %xmm5
packssdw %xmm5, %xmm5
movd %xmm5, %edx
shrl $0x10, %edx
testb $0x1, %dl
je 0x3eac
leal 0x1(%rcx), %edx
movw %dx, 0x2(%rbp,%rcx,2)
movdqa %xmm2, %xmm6
pxor %xmm11, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm10, %xmm7
pshufd $0xa0, %xmm7, %xmm5     # xmm5 = xmm7[0,0,2,2]
pcmpeqd %xmm10, %xmm6
pshufd $0xf5, %xmm6, %xmm6     # xmm6 = xmm6[1,1,3,3]
movdqa %xmm6, %xmm8
pand %xmm5, %xmm8
pshufd $0xf5, %xmm7, %xmm7     # xmm7 = xmm7[1,1,3,3]
por %xmm7, %xmm8
packssdw %xmm8, %xmm8
pxor %xmm4, %xmm8
packssdw %xmm8, %xmm8
pextrw $0x2, %xmm8, %edx
testb $0x1, %dl
je 0x3f03
leal 0x2(%rcx), %edx
movw %dx, 0x4(%rbp,%rcx,2)
pshufhw $0x84, %xmm5, %xmm5     # xmm5 = xmm5[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm6, %xmm6     # xmm6 = xmm6[0,1,2,3,4,5,4,6]
pand %xmm5, %xmm6
pshufhw $0x84, %xmm7, %xmm5     # xmm5 = xmm7[0,1,2,3,4,5,4,6]
por %xmm6, %xmm5
pxor %xmm4, %xmm5
packssdw %xmm5, %xmm5
pextrw $0x3, %xmm5, %edx
testb $0x1, %dl
je 0x3f34
leal 0x3(%rcx), %edx
movw %dx, 0x6(%rbp,%rcx,2)
movdqa %xmm1, %xmm5
pxor %xmm11, %xmm5
movdqa %xmm5, %xmm7
pcmpgtd %xmm10, %xmm7
pshufd $0xa0, %xmm7, %xmm6     # xmm6 = xmm7[0,0,2,2]
pshuflw $0xe8, %xmm6, %xmm8     # xmm8 = xmm6[0,2,2,3,4,5,6,7]
pcmpeqd %xmm10, %xmm5
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm9     # xmm9 = xmm5[0,2,2,3,4,5,6,7]
pand %xmm8, %xmm9
pshufd $0xf5, %xmm7, %xmm7     # xmm7 = xmm7[1,1,3,3]
pshuflw $0xe8, %xmm7, %xmm8     # xmm8 = xmm7[0,2,2,3,4,5,6,7]
por %xmm9, %xmm8
pxor %xmm4, %xmm8
packssdw %xmm8, %xmm8
pextrw $0x4, %xmm8, %edx
testb $0x1, %dl
je 0x3f93
leal 0x4(%rcx), %edx
movw %dx, 0x8(%rbp,%rcx,2)
pand %xmm6, %xmm5
por %xmm7, %xmm5
packssdw %xmm5, %xmm5
pxor %xmm4, %xmm5
packssdw %xmm5, %xmm5
pextrw $0x5, %xmm5, %edx
testb $0x1, %dl
je 0x3fb9
leal 0x5(%rcx), %edx
movw %dx, 0xa(%rbp,%rcx,2)
movdqa %xmm0, %xmm6
pxor %xmm11, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm10, %xmm7
pshufd $0xa0, %xmm7, %xmm5     # xmm5 = xmm7[0,0,2,2]
pcmpeqd %xmm10, %xmm6
pshufd $0xf5, %xmm6, %xmm6     # xmm6 = xmm6[1,1,3,3]
movdqa %xmm6, %xmm8
pand %xmm5, %xmm8
pshufd $0xf5, %xmm7, %xmm7     # xmm7 = xmm7[1,1,3,3]
por %xmm7, %xmm8
packssdw %xmm8, %xmm8
pxor %xmm4, %xmm8
packssdw %xmm8, %xmm8
pextrw $0x6, %xmm8, %edx
testb $0x1, %dl
je 0x4010
leal 0x6(%rcx), %edx
movw %dx, 0xc(%rbp,%rcx,2)
pshufhw $0x84, %xmm5, %xmm5     # xmm5 = xmm5[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm6, %xmm6     # xmm6 = xmm6[0,1,2,3,4,5,4,6]
pand %xmm5, %xmm6
pshufhw $0x84, %xmm7, %xmm5     # xmm5 = xmm7[0,1,2,3,4,5,4,6]
por %xmm6, %xmm5
pxor %xmm4, %xmm5
packssdw %xmm5, %xmm5
pextrw $0x7, %xmm5, %edx
testb $0x1, %dl
je 0x4041
leal 0x7(%rcx), %edx
movw %dx, 0xe(%rbp,%rcx,2)
addq $0x8, %rcx
paddq %xmm12, %xmm3
paddq %xmm12, %xmm2
paddq %xmm12, %xmm1
paddq %xmm12, %xmm0
cmpq %rcx, %rax
jne 0x3e29
movl $0x40c, %edx            # imm = 0x40C
movq 0x68(%rsp), %rdi
movl $0xff, %esi
movdqa %xmm10, 0xb0(%rsp)
callq 0x2140
movdqa 0x6e007(%rip), %xmm12   # 0x72090
movdqa 0x6dfbe(%rip), %xmm11   # 0x72050
movdqa 0xb0(%rsp), %xmm10
andq %r14, %rbx
movdqa 0x6dfc9(%rip), %xmm0    # 0x72070
movdqa 0x6dfd1(%rip), %xmm1    # 0x72080
movdqa 0x6df89(%rip), %xmm2    # 0x72040
movdqa 0x6df51(%rip), %xmm3    # 0x72010
xorl %eax, %eax
pcmpeqd %xmm4, %xmm4
movq 0x30(%rsp), %rdx
movq 0x28(%rsp), %rsi
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %r8
movq 0x130(%rsp), %r9
movdqa %xmm3, %xmm5
pxor %xmm11, %xmm5
movdqa %xmm5, %xmm7
pcmpgtd %xmm10, %xmm7
pshufd $0xa0, %xmm7, %xmm6     # xmm6 = xmm7[0,0,2,2]
pshuflw $0xe8, %xmm6, %xmm8     # xmm8 = xmm6[0,2,2,3,4,5,6,7]
pcmpeqd %xmm10, %xmm5
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm9     # xmm9 = xmm5[0,2,2,3,4,5,6,7]
pand %xmm8, %xmm9
pshufd $0xf5, %xmm7, %xmm7     # xmm7 = xmm7[1,1,3,3]
pshuflw $0xe8, %xmm7, %xmm8     # xmm8 = xmm7[0,2,2,3,4,5,6,7]
por %xmm9, %xmm8
pxor %xmm4, %xmm8
packssdw %xmm8, %xmm8
movd %xmm8, %ecx
testb $0x1, %cl
je 0x413c
movw %ax, (%r9,%rax,2)
pand %xmm6, %xmm5
por %xmm7, %xmm5
packssdw %xmm5, %xmm5
pxor %xmm4, %xmm5
packssdw %xmm5, %xmm5
movd %xmm5, %ecx
shrl $0x10, %ecx
testb $0x1, %cl
je 0x4165
leal 0x1(%rax), %ecx
movw %cx, 0x2(%r9,%rax,2)
movdqa %xmm2, %xmm6
pxor %xmm11, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm10, %xmm7
pshufd $0xa0, %xmm7, %xmm5     # xmm5 = xmm7[0,0,2,2]
pcmpeqd %xmm10, %xmm6
pshufd $0xf5, %xmm6, %xmm6     # xmm6 = xmm6[1,1,3,3]
movdqa %xmm6, %xmm8
pand %xmm5, %xmm8
pshufd $0xf5, %xmm7, %xmm7     # xmm7 = xmm7[1,1,3,3]
por %xmm7, %xmm8
packssdw %xmm8, %xmm8
pxor %xmm4, %xmm8
packssdw %xmm8, %xmm8
pextrw $0x2, %xmm8, %ecx
testb $0x1, %cl
je 0x41bd
leal 0x2(%rax), %ecx
movw %cx, 0x4(%r9,%rax,2)
pshufhw $0x84, %xmm5, %xmm5     # xmm5 = xmm5[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm6, %xmm6     # xmm6 = xmm6[0,1,2,3,4,5,4,6]
pand %xmm5, %xmm6
pshufhw $0x84, %xmm7, %xmm5     # xmm5 = xmm7[0,1,2,3,4,5,4,6]
por %xmm6, %xmm5
pxor %xmm4, %xmm5
packssdw %xmm5, %xmm5
pextrw $0x3, %xmm5, %ecx
testb $0x1, %cl
je 0x41ef
leal 0x3(%rax), %ecx
movw %cx, 0x6(%r9,%rax,2)
movdqa %xmm1, %xmm5
pxor %xmm11, %xmm5
movdqa %xmm5, %xmm7
pcmpgtd %xmm10, %xmm7
pshufd $0xa0, %xmm7, %xmm6     # xmm6 = xmm7[0,0,2,2]
pshuflw $0xe8, %xmm6, %xmm8     # xmm8 = xmm6[0,2,2,3,4,5,6,7]
pcmpeqd %xmm10, %xmm5
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm9     # xmm9 = xmm5[0,2,2,3,4,5,6,7]
pand %xmm8, %xmm9
pshufd $0xf5, %xmm7, %xmm7     # xmm7 = xmm7[1,1,3,3]
pshuflw $0xe8, %xmm7, %xmm8     # xmm8 = xmm7[0,2,2,3,4,5,6,7]
por %xmm9, %xmm8
pxor %xmm4, %xmm8
packssdw %xmm8, %xmm8
pextrw $0x4, %xmm8, %ecx
testb $0x1, %cl
je 0x424f
leal 0x4(%rax), %ecx
movw %cx, 0x8(%r9,%rax,2)
pand %xmm6, %xmm5
por %xmm7, %xmm5
packssdw %xmm5, %xmm5
pxor %xmm4, %xmm5
packssdw %xmm5, %xmm5
pextrw $0x5, %xmm5, %ecx
testb $0x1, %cl
je 0x4276
leal 0x5(%rax), %ecx
movw %cx, 0xa(%r9,%rax,2)
movdqa %xmm0, %xmm6
pxor %xmm11, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm10, %xmm7
pshufd $0xa0, %xmm7, %xmm5     # xmm5 = xmm7[0,0,2,2]
pcmpeqd %xmm10, %xmm6
pshufd $0xf5, %xmm6, %xmm6     # xmm6 = xmm6[1,1,3,3]
movdqa %xmm6, %xmm8
pand %xmm5, %xmm8
pshufd $0xf5, %xmm7, %xmm7     # xmm7 = xmm7[1,1,3,3]
por %xmm7, %xmm8
packssdw %xmm8, %xmm8
pxor %xmm4, %xmm8
packssdw %xmm8, %xmm8
pextrw $0x6, %xmm8, %ecx
testb $0x1, %cl
je 0x42ce
leal 0x6(%rax), %ecx
movw %cx, 0xc(%r9,%rax,2)
pshufhw $0x84, %xmm5, %xmm5     # xmm5 = xmm5[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm6, %xmm6     # xmm6 = xmm6[0,1,2,3,4,5,4,6]
pand %xmm5, %xmm6
pshufhw $0x84, %xmm7, %xmm5     # xmm5 = xmm7[0,1,2,3,4,5,4,6]
por %xmm6, %xmm5
pxor %xmm4, %xmm5
packssdw %xmm5, %xmm5
pextrw $0x7, %xmm5, %ecx
testb $0x1, %cl
je 0x4300
leal 0x7(%rax), %ecx
movw %cx, 0xe(%r9,%rax,2)
addq $0x8, %rax
paddq %xmm12, %xmm3
paddq %xmm12, %xmm2
paddq %xmm12, %xmm1
paddq %xmm12, %xmm0
cmpq %rax, %rbx
jne 0x40e1
jmp 0x4464
movq 0x10(%rsp), %rbp
jmp 0x4f2a
movq %rdx, %r14
movq %rdi, 0x58(%rsp)
movq %rsi, 0x60(%rsp)
shrq $0xf, %r14
xorl %r15d, %r15d
movl $0xffff, %r13d          # imm = 0xFFFF
movq 0x98(%rsp), %rax
movq 0xa0(%rsp), %rbp
movq %rcx, %rdx
subq %r15, %rdx
movl %ecx, %ebx
subl %r15d, %ebx
cmpq $0xffff, %rdx           # imm = 0xFFFF
cmovael %r13d, %ebx
leaq (%rbx,%rbp), %r12
addq $0x5, %r12
movq %r12, 0xa0(%rsp)
movq 0xa8(%rsp), %rdx
cmpq %r12, %rdx
jae 0x43bc
shrq %rdx
addq %rdx, %r12
movq %rax, %rdi
movq %r12, %rsi
callq 0x2360
testq %rax, %rax
je 0x4fa7
movq %r12, 0xa8(%rsp)
movq %rax, 0x98(%rsp)
movq 0x30(%rsp), %rcx
movl $0xffff, %edx           # imm = 0xFFFF
subl %ebx, %edx
cmpq $0x1, %r14
sete (%rax,%rbp)
movq 0x98(%rsp), %rax
movb %bl, 0x1(%rax,%rbp)
movq 0x98(%rsp), %rax
movb %bh, 0x2(%rax,%rbp)
movq 0x98(%rsp), %rax
movb %dl, 0x3(%rax,%rbp)
movq 0x98(%rsp), %rax
movb %dh, 0x4(%rax,%rbp)
testq %rbx, %rbx
je 0x4429
movq 0x80(%rsp), %rax
leaq (%rax,%r15), %rsi
movq 0x98(%rsp), %rax
leaq (%rax,%rbp), %rdi
addq $0x5, %rdi
movq %rbx, %rdx
callq 0x21e0
movq 0x30(%rsp), %rcx
addq %rbx, %r15
decq %r14
jne 0x434a
xorl %eax, %eax
jmp 0x4fac
movl $0x40c, %edx            # imm = 0x40C
movq 0x68(%rsp), %rdi
movl $0xff, %esi
callq 0x2140
movq 0x30(%rsp), %rdx
movq 0x28(%rsp), %rsi
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %r8
testq %r8, %r8
je 0x4f27
leaq -0x1(%r8), %rax
movq %rax, 0x1b0(%rsp)
xorl %ecx, %ecx
pxor %xmm0, %xmm0
movq 0x80(%rsp), %r9
movq %rdi, %r10
xorl %r15d, %r15d
cmpq %r10, %rdx
movq %r10, %r13
cmovbq %rdx, %r13
addq %rcx, %r13
xorl %r14d, %r14d
cmpq 0x1b0(%rsp), %r15
sete %r14b
movq %r15, %r12
imulq %rdi, %r12
leaq (%r12,%rdi), %rbx
cmpq %rdx, %rbx
cmovaeq %rdx, %rbx
movl (%rsi), %eax
cmpl $0x2, %eax
je 0x4591
movl $0x0, %r11d
cmpl $0x1, %eax
jne 0x4f0b
movq %r10, 0xd0(%rsp)
movq %r9, 0xb0(%rsp)
movq %rcx, 0xd8(%rsp)
movdqa %xmm0, 0xe0(%rsp)
leaq 0xf8(%rsp), %rax
movdqu %xmm0, (%rax)
movdqa %xmm0, 0x150(%rsp)
leaq 0x168(%rsp), %rax
movdqu %xmm0, (%rax)
leaq 0xe0(%rsp), %rdi
callq 0xdc51
testl %eax, %eax
jne 0x453d
leaq 0x150(%rsp), %rdi
callq 0xdcfa
testl %eax, %eax
je 0x4798
movl %eax, %ebx
leaq 0xe0(%rsp), %rdi
callq 0xdc29
leaq 0x150(%rsp), %rdi
callq 0xdc29
movq 0x30(%rsp), %rdx
movq 0x28(%rsp), %rsi
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %r8
movq 0xd8(%rsp), %rcx
pxor %xmm0, %xmm0
movq 0xb0(%rsp), %r9
movq 0xd0(%rsp), %r10
movl %ebx, %r11d
jmp 0x4f0b
movl %r14d, 0x50(%rsp)
movq %r15, 0x1a8(%rsp)
movq %r10, 0xd0(%rsp)
movq %r9, 0xb0(%rsp)
movq %rcx, 0xd8(%rsp)
movdqa %xmm0, 0x110(%rsp)
movq $0x0, 0x120(%rsp)
movdqa %xmm0, 0xe0(%rsp)
leaq 0xf8(%rsp), %rax
movdqu %xmm0, (%rax)
movdqa %xmm0, 0x150(%rsp)
leaq 0x168(%rsp), %rax
movdqu %xmm0, (%rax)
movdqa %xmm0, 0x180(%rsp)
leaq 0x198(%rsp), %rax
movdqu %xmm0, (%rax)
movl $0x478, %edi            # imm = 0x478
callq 0x22b0
movq %rax, %rbp
movl $0x78, %edi
callq 0x22b0
movq %rax, %r15
movl $0x4c, %edi
callq 0x22b0
movq %rax, %r14
testq %rbp, %rbp
sete %al
testq %r15, %r15
sete %cl
orb %al, %cl
testq %r14, %r14
sete %al
orb %cl, %al
jne 0x473d
movl $0x53, 0x8(%rsp)
movl $0x478, %edx            # imm = 0x478
movq %rbp, 0x20(%rsp)
movq %rbp, %rdi
xorl %esi, %esi
callq 0x2140
pxor %xmm0, %xmm0
movdqu %xmm0, (%r15)
movdqu %xmm0, 0x10(%r15)
movdqu %xmm0, 0x20(%r15)
movdqu %xmm0, 0x30(%r15)
movdqu %xmm0, 0x40(%r15)
movdqu %xmm0, 0x50(%r15)
movdqu %xmm0, 0x60(%r15)
movq %r15, 0x18(%rsp)
movq $0x0, 0x70(%r15)
movdqu %xmm0, 0x3c(%r14)
movdqu %xmm0, 0x30(%r14)
movdqu %xmm0, 0x20(%r14)
movdqu %xmm0, 0x10(%r14)
movq %r14, %rbp
movdqu %xmm0, (%r14)
movq 0x28(%rsp), %rcx
cmpl $0x0, 0x4(%rcx)
je 0x475b
movl 0x8(%rcx), %r9d
movl 0xc(%rcx), %eax
movl 0x10(%rcx), %r10d
movl 0x14(%rcx), %r11d
subq $0x8, %rsp
leaq 0x118(%rsp), %rdi
leaq 0x1c0(%rsp), %rsi
movq 0x88(%rsp), %rdx
movq %r12, %rcx
movq %rbx, %r8
pushq %r11
pushq %r10
pushq %rax
callq 0xe2f8
addq $0x20, %rsp
testl %eax, %eax
je 0x4863
xorl %r14d, %r14d
xorl %r12d, %r12d
movl %eax, 0x8(%rsp)
movq 0x20(%rsp), %rbx
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %r15
movq %rbp, %r13
movq %rax, %rbp
jmp 0x4e72
movl $0x53, 0x8(%rsp)
xorl %r12d, %r12d
movq %rbp, %rbx
movq 0x10(%rsp), %rbp
movq %r14, %r13
xorl %r14d, %r14d
jmp 0x4e72
movq %rbx, %r14
subq %r12, %r14
leaq (,%r14,4), %r15
testq %r15, %r15
je 0x486d
movq %r15, %rdi
callq 0x22b0
testq %rax, %rax
je 0x499f
movq %r15, 0x120(%rsp)
movq %rax, 0x110(%rsp)
jmp 0x486f
movl %r14d, %esi
movq %rbp, %r14
movl $0x1, %edx
leaq 0x88(%rsp), %rbp
movq %rbp, %rdi
callq 0xe221
movl $0x1, %edx
movq %rbp, %rdi
movl $0x1, %esi
callq 0xe221
movl $0x1, %edx
movq %rbp, %rdi
xorl %esi, %esi
callq 0xe221
movq 0x28(%rsp), %rcx
cmpl $0x0, 0x4(%rcx)
je 0x494e
movq %r15, %r13
pxor %xmm0, %xmm0
movdqa %xmm0, 0x180(%rsp)
movq $0x0, 0x190(%rsp)
movl 0x8(%rcx), %r9d
movl 0xc(%rcx), %eax
movl 0x10(%rcx), %r10d
movl 0x14(%rcx), %r11d
subq $0x8, %rsp
leaq 0x188(%rsp), %r15
movq %r15, %rdi
leaq 0x1c0(%rsp), %rsi
movq 0x88(%rsp), %rdx
movq %r12, %rcx
movq %rbx, %r8
pushq %r11
pushq %r10
pushq %rax
callq 0xe2f8
addq $0x20, %rsp
testl %eax, %eax
je 0x4bd9
movq %r14, %rbp
movl %eax, %ebx
movq 0x180(%rsp), %rdi
callq 0x22a0
movq %r13, %r15
jmp 0x453f
movq 0x118(%rsp), %r14
jmp 0x4895
xorl %eax, %eax
movq %r14, 0x118(%rsp)
cmpq %r12, %rbx
movq 0xb0(%rsp), %rsi
jbe 0x4895
xorl %ecx, %ecx
movzbl (%rsi,%rcx), %edx
movl %edx, (%rax,%rcx,4)
incq %rcx
cmpq %rcx, %r13
jne 0x4886
movq 0x20(%rsp), %rbx
movq 0x18(%rsp), %r15
movq %rbp, %r13
testq %r14, %r14
je 0x48d4
movq 0x110(%rsp), %rax
xorl %ecx, %ecx
movl (%rax,%rcx,4), %edx
incl (%rbx,%rdx,4)
cmpq $0x101, %rdx            # imm = 0x101
jb 0x48cc
movl 0x8(%rax,%rcx,4), %edx
incl (%r15,%rdx,4)
addq $0x3, %rcx
incq %rcx
cmpq %r14, %rcx
jne 0x48b1
movl $0x1, 0x400(%rbx)
movl $0x101, %edx            # imm = 0x101
movl $0x11e, %ecx            # imm = 0x11E
leaq 0xe0(%rsp), %rdi
movq %rbx, %rsi
movl $0xf, %r8d
callq 0xeb43
testl %eax, %eax
je 0x4916
xorl %r14d, %r14d
xorl %r12d, %r12d
movl %eax, 0x8(%rsp)
movq 0x10(%rsp), %rbp
jmp 0x4e72
movl $0x2, %edx
movl $0x1e, %ecx
leaq 0x150(%rsp), %rdi
movq %r15, %rsi
movl $0xf, %r8d
callq 0xeb43
testl %eax, %eax
movq 0x10(%rsp), %rbp
je 0x49b4
xorl %r14d, %r14d
xorl %r12d, %r12d
movl %eax, 0x8(%rsp)
jmp 0x4e72
movq 0xe0(%rsp), %r14
movq 0xe8(%rsp), %rbp
cmpq %r12, %rbx
jbe 0x4992
xorl %ebx, %ebx
movq 0xb0(%rsp), %r12
movzbl (%r12,%rbx), %eax
shll $0x2, %eax
movl (%r14,%rax), %esi
movl (%rbp,%rax), %edx
leaq 0x88(%rsp), %rdi
callq 0xea3a
incq %rbx
cmpq %rbx, %r13
jne 0x496d
leaq 0x88(%rsp), %r12
jmp 0x4c1c
xorl %r14d, %r14d
xorl %r12d, %r12d
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rbx
jmp 0x472d
movq %r13, 0x48(%rsp)
movl 0xf4(%rsp), %r13d
movl $0x11e, %eax            # imm = 0x11E
cmpl %eax, %r13d
movl $0x11e, %eax            # imm = 0x11E
cmovbl %r13d, %eax
movl 0x164(%rsp), %r15d
cmpl $0x1e, %r15d
movl $0x1e, %ebp
cmovbl %r15d, %ebp
movq %rax, 0xc8(%rsp)
leaq (%rax,%rbp), %rbx
leal (,%rbx,4), %r14d
movq %r14, %rdi
callq 0x22b0
movq %rax, %r12
movq %r14, %rdi
callq 0x22b0
movq %rax, %r14
testq %r12, %r12
sete %al
testq %r14, %r14
sete %cl
orb %al, %cl
jne 0x4e5e
movq %rbp, 0x40(%rsp)
testl %r13d, %r13d
je 0x4a4f
movq 0xe8(%rsp), %rsi
movq 0xc8(%rsp), %rax
leaq (,%rax,4), %rdx
movq %r12, %rdi
callq 0x21e0
testl %r15d, %r15d
movl 0x50(%rsp), %r15d
je 0x4a7f
movq 0xc8(%rsp), %rax
leaq (%r12,%rax,4), %rdi
movq 0x158(%rsp), %rsi
movq 0x40(%rsp), %rax
leaq (,%rax,4), %rdx
callq 0x21e0
movb $0x1, %al
movl %eax, 0x3c(%rsp)
testq %rbx, %rbx
movq 0x10(%rsp), %rbp
movq 0x48(%rsp), %r13
je 0x4c6e
movq %r14, %rax
addq $0x8, %rax
movq %rax, 0x8(%rsp)
xorl %ecx, %ecx
xorl %r9d, %r9d
leaq 0x1(%rcx), %rdi
movl (%r12,%rcx,4), %esi
cmpq %rbx, %rdi
jae 0x4b94
xorl %edx, %edx
movq %rdi, %r8
cmpl %esi, (%r12,%r8,4)
jne 0x4ad0
incl %edx
leaq (%rdi,%rdx), %r8
cmpq %rbx, %r8
jb 0x4abf
testl %esi, %esi
setne %dil
cmpl $0x2, %edx
setb %r8b
orb %dil, %r8b
jne 0x4b03
leal 0x1(%rdx), %esi
cmpl $0xa, %esi
ja 0x4b9d
movl $0x11, (%r14,%r9,4)
leal -0x2(%rdx), %esi
movl %esi, 0x4(%r14,%r9,4)
jmp 0x4bbb
cmpl $0x3, %edx
jb 0x4b94
movl %edx, %edi
movl $0xaaaaaaab, %r8d       # imm = 0xAAAAAAAB
imulq %r8, %rdi
shrq $0x22, %rdi
movl %esi, (%r14,%r9,4)
leaq 0x1(%r9), %rsi
cmpl $0x6, %edx
jb 0x4b6e
movq %rbp, %r15
movq %r9, %rax
movq 0x8(%rsp), %r8
leaq (%r8,%r9,4), %r8
leal (%rdi,%rdi), %r10d
xorl %r9d, %r9d
movabsq $0x300000010, %rbp      # imm = 0x300000010
movq %rbp, -0x4(%r8)
addq $0x8, %r8
addq $-0x2, %r9
movq %r10, %r11
addq %r9, %r11
jne 0x4b49
subq %r9, %rsi
subq %r9, %rax
movq %rax, %r9
movq %r15, %rbp
movl 0x50(%rsp), %r15d
addl %edi, %edi
leal (%rdi,%rdi,2), %r8d
movl %edx, %edi
subl %r8d, %edi
cmpl $0x3, %edi
jb 0x4bd2
movl $0x10, (%r14,%rsi,4)
addl $-0x3, %edi
movl %edi, 0x8(%r14,%r9,4)
addq $0x3, %r9
jmp 0x4bbf
movl %esi, (%r14,%r9,4)
incq %r9
jmp 0x4bc4
movl $0x8a, %edx
cmpl %edx, %esi
cmovael %edx, %esi
movl $0x12, (%r14,%r9,4)
leal -0xb(%rsi), %edx
movl %edx, 0x4(%r14,%r9,4)
decl %esi
movl %esi, %edx
addq $0x2, %r9
movl %edx, %edx
addq %rdx, %rcx
incq %rcx
cmpq %rbx, %rcx
jne 0x4aa9
jmp 0x4c3d
subl %edi, %edx
movq %rsi, %r9
jmp 0x4bbf
leaq 0x88(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
leaq 0xe0(%rsp), %rdx
leaq 0x150(%rsp), %rcx
callq 0xe95f
movq 0x180(%rsp), %rdi
callq 0x22a0
movq 0xe0(%rsp), %r14
movq 0xe8(%rsp), %rbp
movq %r13, %r15
movl 0x400(%r14), %esi
movl 0x400(%rbp), %edx
movq %r12, %rdi
callq 0xea3a
xorl %ebx, %ebx
movq 0x10(%rsp), %rbp
jmp 0x453f
testq %r9, %r9
je 0x4c6e
xorl %eax, %eax
movq %r14, %rdx
movl (%rdx,%rax,4), %ecx
incl (%r13,%rcx,4)
cmpq $0x10, %rcx
sbbq $-0x1, %rax
incq %rax
cmpq %r9, %rax
jne 0x4c47
movq %r9, 0x8(%rsp)
movl $0x0, 0x3c(%rsp)
jmp 0x4c77
movq $0x0, 0x8(%rsp)
movl $0x13, %edx
movl $0x13, %ecx
leaq 0x180(%rsp), %rdi
movq %r13, %rsi
movl $0x7, %r8d
callq 0xeb43
testl %eax, %eax
je 0x4cae
movl %eax, 0x8(%rsp)
movq 0x20(%rsp), %rbx
movq 0x18(%rsp), %r15
jmp 0x4e72
movl %r15d, %esi
movl $0x14, %eax
movl $0x13, %ecx
movq 0x188(%rsp), %r15
leaq 0x6f8c6(%rip), %r13     # 0x74590
movq %rcx, %rbp
leaq -0x1(%rax), %rbx
cmpq $0x5, %rbx
jb 0x4cec
movl -0x8(%r13,%rax,4), %eax
leaq -0x1(%rbp), %rcx
cmpl $0x0, (%r15,%rax,4)
movq %rbx, %rax
je 0x4cca
jmp 0x4cf1
movl $0x4, %ebx
movl $0x1, %edx
leaq 0x88(%rsp), %r13
movq %r13, %rdi
callq 0xe221
movl $0x1, %edx
movq %r13, %rdi
xorl %esi, %esi
callq 0xe221
movl $0x1, %edx
movq %r13, %rdi
movl $0x1, %esi
callq 0xe221
movq 0xc8(%rsp), %rsi
addl $0xfffffeff, %esi       # imm = 0xFFFFFEFF
movq 0x40(%rsp), %rax
decl %eax
movq %rax, 0x40(%rsp)
addl $-0x4, %ebx
movl $0x5, %edx
movq %r13, %rdi
callq 0xe221
movl $0x5, %edx
movq %r13, %rdi
movq 0x40(%rsp), %rsi
callq 0xe221
movl $0x4, %edx
movq %r13, %rdi
movl %ebx, %esi
callq 0xe221
leaq 0x6f817(%rip), %rbx     # 0x74590
movl (%rbx), %eax
movl (%r15,%rax,4), %esi
movl $0x3, %edx
movq %r13, %rdi
callq 0xe221
addq $0x4, %rbx
decq %rbp
jne 0x4d79
cmpb $0x0, 0x3c(%rsp)
jne 0x4dfb
movq 0x180(%rsp), %rax
movq %rax, 0x50(%rsp)
xorl %r13d, %r13d
movl (%r14,%r13,4), %ebp
movq 0x50(%rsp), %rax
movl (%rax,%rbp,4), %esi
movl (%r15,%rbp,4), %edx
leaq 0x88(%rsp), %rbx
movq %rbx, %rdi
callq 0xea3a
leal -0x10(%rbp), %eax
cmpl $0x2, %eax
ja 0x4df1
movl %eax, %eax
leaq 0x6f883(%rip), %rcx     # 0x74660
movq (%rcx,%rax,8), %rdx
movl 0x4(%r14,%r13,4), %esi
incq %r13
movq %rbx, %rdi
callq 0xe221
incq %r13
cmpq 0x8(%rsp), %r13
jne 0x4dac
leaq 0x88(%rsp), %rbx
movq %rbx, %rdi
leaq 0x110(%rsp), %rsi
leaq 0xe0(%rsp), %rdx
leaq 0x150(%rsp), %rcx
callq 0xe95f
movq 0xe8(%rsp), %rax
movl 0x400(%rax), %edx
testq %rdx, %rdx
je 0x4e56
movq 0xe0(%rsp), %rax
movl 0x400(%rax), %esi
movq %rbx, %rdi
callq 0xea3a
movl $0x0, 0x8(%rsp)
jmp 0x4e5e
movl $0x40, 0x8(%rsp)
movq 0x10(%rsp), %rbp
movq 0x20(%rsp), %rbx
movq 0x18(%rsp), %r15
movq 0x48(%rsp), %r13
movq 0x110(%rsp), %rdi
callq 0x22a0
leaq 0xe0(%rsp), %rdi
callq 0xdc29
leaq 0x150(%rsp), %rdi
callq 0xdc29
leaq 0x180(%rsp), %rdi
callq 0xdc29
movq %rbx, %rdi
callq 0x22a0
movq %r15, %rdi
callq 0x22a0
movq %r13, %rdi
callq 0x22a0
movq %r12, %rdi
callq 0x22a0
movq %r14, %rdi
callq 0x22a0
movq 0x30(%rsp), %rdx
movq 0x28(%rsp), %rsi
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %r8
movq 0xd8(%rsp), %rcx
pxor %xmm0, %xmm0
movq 0xb0(%rsp), %r9
movq 0xd0(%rsp), %r10
movq 0x1a8(%rsp), %r15
movl 0x8(%rsp), %r11d
incq %r15
cmpq %r8, %r15
je 0x4f2a
addq %rdi, %r10
subq %rdi, %rcx
addq %rdi, %r9
testl %r11d, %r11d
je 0x448d
jmp 0x4f2a
xorl %r11d, %r11d
movq 0x140(%rsp), %rdi
movl %r11d, %ebx
callq 0x22a0
movq 0x138(%rsp), %rdi
callq 0x22a0
movq %rbp, %rdi
callq 0x22a0
movq 0x148(%rsp), %rdi
callq 0x22a0
movq 0x68(%rsp), %rdi
callq 0x22a0
movq 0x130(%rsp), %rdi
callq 0x22a0
movl %ebx, %eax
movq 0x58(%rsp), %rdi
movq 0x60(%rsp), %rsi
movq 0x98(%rsp), %rcx
movq %rcx, (%rdi)
movq 0xa0(%rsp), %rcx
movq %rcx, (%rsi)
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x53, %eax
movq 0x60(%rsp), %rsi
movq 0x58(%rsp), %rdi
jmp 0x4f7f