// File: /workspace/github_c_makefile_star2_O3/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 $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 0x51ec
movq %rcx, %r9
cmpl $0x1, %edx
movq %rcx, 0x30(%rsp)
je 0x3ee0
testl %edx, %edx
jne 0x3eb9
leaq 0xfffe(%rcx), %r8
movabsq $-0x7fff7fff7fff7fff, %rdx # imm = 0x8000800080008001
movq %r8, %rax
mulq %rdx
cmpq $0xffff, %r8            # imm = 0xFFFF
jae 0x459b
xorl %eax, %eax
jmp 0x51ec
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 0x1140
movq %rax, %r12
movq %rax, 0x1b8(%rsp)
leaq (,%r15,4), %rbx
movq %rbx, %rdi
callq 0x1140
movq %rax, %r13
movq %rax, 0x1c8(%rsp)
leaq (%r15,%r15), %r14
movq %r14, %rdi
callq 0x1140
movq %rax, 0x10(%rsp)
movq %rax, 0x1c0(%rsp)
movq %r14, %rdi
callq 0x1140
movq %rax, 0x148(%rsp)
movq %rax, 0x1e0(%rsp)
movl $0x40c, %edi            # imm = 0x40C
callq 0x1140
movq %rax, 0x68(%rsp)
movq %rax, 0x1d0(%rsp)
movq %r14, %rdi
callq 0x1140
movq %rax, 0x1d8(%rsp)
movl $0x53, %r11d
movq %r13, 0x138(%rsp)
testq %r13, %r13
movq %r12, 0x140(%rsp)
movq %rax, 0x130(%rsp)
je 0x4591
testq %r12, %r12
je 0x4591
movq 0x10(%rsp), %rbp
testq %rbp, %rbp
je 0x5197
cmpq $0x0, 0x148(%rsp)
je 0x5197
cmpq $0x0, 0x68(%rsp)
je 0x5197
testq %rax, %rax
je 0x5197
movl $0x40000, %edx          # imm = 0x40000
movq 0x140(%rsp), %rdi
movl $0xff, %esi
callq 0x10e0
testq %r15, %r15
je 0x46a9
movabsq $0x1fffffff8, %r14      # imm = 0x1FFFFFFF8
movq 0x138(%rsp), %rdi
movl $0xff, %esi
movq %rbx, %rdx
callq 0x10e0
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 0xe101(%rip), %xmm0     # 0x12160
movdqa 0xe109(%rip), %xmm1     # 0x12170
movdqa 0xe0c1(%rip), %xmm2     # 0x12130
movdqa 0xe089(%rip), %xmm3     # 0x12100
xorl %ecx, %ecx
movdqa 0xe0be(%rip), %xmm11    # 0x12140
pxor %xmm11, %xmm10
pcmpeqd %xmm4, %xmm4
movdqa 0xe0ec(%rip), %xmm12    # 0x12180
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 0x40ef
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 0x4117
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 0x416e
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 0x419f
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 0x41fe
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 0x4224
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 0x427b
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 0x42ac
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 0x4094
movl $0x40c, %edx            # imm = 0x40C
movq 0x68(%rsp), %rdi
movl $0xff, %esi
movdqa %xmm10, 0xb0(%rsp)
callq 0x10e0
movdqa 0xde8c(%rip), %xmm12    # 0x12180
movdqa 0xde43(%rip), %xmm11    # 0x12140
movdqa 0xb0(%rsp), %xmm10
andq %r14, %rbx
movdqa 0xde4e(%rip), %xmm0     # 0x12160
movdqa 0xde56(%rip), %xmm1     # 0x12170
movdqa 0xde0e(%rip), %xmm2     # 0x12130
movdqa 0xddd6(%rip), %xmm3     # 0x12100
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 0x43a7
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 0x43d0
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 0x4428
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 0x445a
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 0x44ba
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 0x44e1
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 0x4539
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 0x456b
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 0x434c
jmp 0x46d1
movq 0x10(%rsp), %rbp
jmp 0x5197
movq %rdx, %r14
movq %rdi, 0x58(%rsp)
movq %rsi, 0x60(%rsp)
shrq $0xf, %r14
xorl %esi, %esi
movq 0x98(%rsp), %rax
movl %esi, %r15d
movq %rcx, %rdx
subq %r15, %rdx
movl %ecx, %ebx
subl %esi, %ebx
cmpq $0xffff, %rdx           # imm = 0xFFFF
movl $0xffff, %edx           # imm = 0xFFFF
cmovael %edx, %ebx
movq 0xa0(%rsp), %rbp
leaq (%rbx,%rbp), %r13
addq $0x5, %r13
movq 0xa8(%rsp), %r12
cmpq %r13, %r12
jae 0x461e
shrq %r12
addq %r13, %r12
movq %rax, %rdi
movq %r12, %rsi
callq 0x1170
testq %rax, %rax
je 0x5214
movq %r12, 0xa8(%rsp)
movq %rax, 0x98(%rsp)
movq 0x30(%rsp), %rcx
movq %r13, 0xa0(%rsp)
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 0x4693
movq 0x80(%rsp), %rax
leaq (%rax,%r15), %rsi
movq 0x98(%rsp), %rax
leaq (%rax,%rbp), %rdi
addq $0x5, %rdi
movq %rbx, %rdx
callq 0x1130
movq 0x30(%rsp), %rcx
addl %ebx, %r15d
movl %r15d, %esi
decq %r14
jne 0x45ae
xorl %eax, %eax
jmp 0x5219
movl $0x40c, %edx            # imm = 0x40C
movq 0x68(%rsp), %rdi
movl $0xff, %esi
callq 0x10e0
movq 0x30(%rsp), %rdx
movq 0x28(%rsp), %rsi
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %r8
testq %r8, %r8
je 0x5194
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 0x47fe
movl $0x0, %r11d
cmpl $0x1, %eax
jne 0x5178
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 0xc312
testl %eax, %eax
jne 0x47aa
leaq 0x150(%rsp), %rdi
callq 0xc3bb
testl %eax, %eax
je 0x4a05
movl %eax, %ebx
leaq 0xe0(%rsp), %rdi
callq 0xc2ea
leaq 0x150(%rsp), %rdi
callq 0xc2ea
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 0x5178
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 0x1140
movq %rax, %rbp
movl $0x78, %edi
callq 0x1140
movq %rax, %r15
movl $0x4c, %edi
callq 0x1140
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 0x49aa
movl $0x53, 0x8(%rsp)
movl $0x478, %edx            # imm = 0x478
movq %rbp, 0x20(%rsp)
movq %rbp, %rdi
xorl %esi, %esi
callq 0x10e0
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 0x49c8
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 0xc93c
addq $0x20, %rsp
testl %eax, %eax
je 0x4ad0
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 0x50df
movl $0x53, 0x8(%rsp)
xorl %r12d, %r12d
movq %rbp, %rbx
movq 0x10(%rsp), %rbp
movq %r14, %r13
xorl %r14d, %r14d
jmp 0x50df
movq %rbx, %r14
subq %r12, %r14
leaq (,%r14,4), %r15
testq %r15, %r15
je 0x4ada
movq %r15, %rdi
callq 0x1140
testq %rax, %rax
je 0x4c0c
movq %r15, 0x120(%rsp)
movq %rax, 0x110(%rsp)
jmp 0x4adc
movl %r14d, %esi
movq %rbp, %r14
movl $0x1, %edx
leaq 0x88(%rsp), %rbp
movq %rbp, %rdi
callq 0xc86d
movl $0x1, %edx
movq %rbp, %rdi
movl $0x1, %esi
callq 0xc86d
movl $0x1, %edx
movq %rbp, %rdi
xorl %esi, %esi
callq 0xc86d
movq 0x28(%rsp), %rcx
cmpl $0x0, 0x4(%rcx)
je 0x4bbb
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 0xc93c
addq $0x20, %rsp
testl %eax, %eax
je 0x4e46
movq %r14, %rbp
movl %eax, %ebx
movq 0x180(%rsp), %rdi
callq 0x1030
movq %r13, %r15
jmp 0x47ac
movq 0x118(%rsp), %r14
jmp 0x4b02
xorl %eax, %eax
movq %r14, 0x118(%rsp)
cmpq %r12, %rbx
movq 0xb0(%rsp), %rsi
jbe 0x4b02
xorl %ecx, %ecx
movzbl (%rsi,%rcx), %edx
movl %edx, (%rax,%rcx,4)
incq %rcx
cmpq %rcx, %r13
jne 0x4af3
movq 0x20(%rsp), %rbx
movq 0x18(%rsp), %r15
movq %rbp, %r13
testq %r14, %r14
je 0x4b41
movq 0x110(%rsp), %rax
xorl %ecx, %ecx
movl (%rax,%rcx,4), %edx
incl (%rbx,%rdx,4)
cmpq $0x101, %rdx            # imm = 0x101
jb 0x4b39
movl 0x8(%rax,%rcx,4), %edx
incl (%r15,%rdx,4)
addq $0x3, %rcx
incq %rcx
cmpq %r14, %rcx
jne 0x4b1e
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 0xd183
testl %eax, %eax
je 0x4b83
xorl %r14d, %r14d
xorl %r12d, %r12d
movl %eax, 0x8(%rsp)
movq 0x10(%rsp), %rbp
jmp 0x50df
movl $0x2, %edx
movl $0x1e, %ecx
leaq 0x150(%rsp), %rdi
movq %r15, %rsi
movl $0xf, %r8d
callq 0xd183
testl %eax, %eax
movq 0x10(%rsp), %rbp
je 0x4c21
xorl %r14d, %r14d
xorl %r12d, %r12d
movl %eax, 0x8(%rsp)
jmp 0x50df
movq 0xe0(%rsp), %r14
movq 0xe8(%rsp), %rbp
cmpq %r12, %rbx
jbe 0x4bff
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 0xd07e
incq %rbx
cmpq %rbx, %r13
jne 0x4bda
leaq 0x88(%rsp), %r12
jmp 0x4e89
xorl %r14d, %r14d
xorl %r12d, %r12d
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rbx
jmp 0x499a
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 0x1140
movq %rax, %r12
movq %r14, %rdi
callq 0x1140
movq %rax, %r14
testq %r12, %r12
sete %al
testq %r14, %r14
sete %cl
orb %al, %cl
jne 0x50cb
movq %rbp, 0x40(%rsp)
testl %r13d, %r13d
je 0x4cbc
movq 0xe8(%rsp), %rsi
movq 0xc8(%rsp), %rax
leaq (,%rax,4), %rdx
movq %r12, %rdi
callq 0x1130
testl %r15d, %r15d
movl 0x50(%rsp), %r15d
je 0x4cec
movq 0xc8(%rsp), %rax
leaq (%r12,%rax,4), %rdi
movq 0x158(%rsp), %rsi
movq 0x40(%rsp), %rax
leaq (,%rax,4), %rdx
callq 0x1130
movb $0x1, %al
movl %eax, 0x3c(%rsp)
testq %rbx, %rbx
movq 0x10(%rsp), %rbp
movq 0x48(%rsp), %r13
je 0x4edb
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 0x4e01
xorl %edx, %edx
movq %rdi, %r8
cmpl %esi, (%r12,%r8,4)
jne 0x4d3d
incl %edx
leaq (%rdi,%rdx), %r8
cmpq %rbx, %r8
jb 0x4d2c
testl %esi, %esi
setne %dil
cmpl $0x2, %edx
setb %r8b
orb %dil, %r8b
jne 0x4d70
leal 0x1(%rdx), %esi
cmpl $0xa, %esi
ja 0x4e0a
movl $0x11, (%r14,%r9,4)
leal -0x2(%rdx), %esi
movl %esi, 0x4(%r14,%r9,4)
jmp 0x4e28
cmpl $0x3, %edx
jb 0x4e01
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 0x4ddb
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 0x4db6
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 0x4e3f
movl $0x10, (%r14,%rsi,4)
addl $-0x3, %edi
movl %edi, 0x8(%r14,%r9,4)
addq $0x3, %r9
jmp 0x4e2c
movl %esi, (%r14,%r9,4)
incq %r9
jmp 0x4e31
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 0x4d16
jmp 0x4eaa
subl %edi, %edx
movq %rsi, %r9
jmp 0x4e2c
leaq 0x88(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
leaq 0xe0(%rsp), %rdx
leaq 0x150(%rsp), %rcx
callq 0xcfa3
movq 0x180(%rsp), %rdi
callq 0x1030
movq 0xe0(%rsp), %r14
movq 0xe8(%rsp), %rbp
movq %r13, %r15
movl 0x400(%r14), %esi
movl 0x400(%rbp), %edx
movq %r12, %rdi
callq 0xd07e
xorl %ebx, %ebx
movq 0x10(%rsp), %rbp
jmp 0x47ac
testq %r9, %r9
je 0x4edb
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 0x4eb4
movq %r9, 0x8(%rsp)
movl $0x0, 0x3c(%rsp)
jmp 0x4ee4
movq $0x0, 0x8(%rsp)
movl $0x13, %edx
movl $0x13, %ecx
leaq 0x180(%rsp), %rdi
movq %r13, %rsi
movl $0x7, %r8d
callq 0xd183
testl %eax, %eax
je 0x4f1b
movl %eax, 0x8(%rsp)
movq 0x20(%rsp), %rbx
movq 0x18(%rsp), %r15
jmp 0x50df
movl %r15d, %esi
movl $0x14, %eax
movl $0x13, %ecx
movq 0x188(%rsp), %r15
leaq 0xdaa9(%rip), %r13      # 0x129e0
movq %rcx, %rbp
leaq -0x1(%rax), %rbx
cmpq $0x5, %rbx
jb 0x4f59
movl -0x8(%r13,%rax,4), %eax
leaq -0x1(%rbp), %rcx
cmpl $0x0, (%r15,%rax,4)
movq %rbx, %rax
je 0x4f37
jmp 0x4f5e
movl $0x4, %ebx
movl $0x1, %edx
leaq 0x88(%rsp), %r13
movq %r13, %rdi
callq 0xc86d
movl $0x1, %edx
movq %r13, %rdi
xorl %esi, %esi
callq 0xc86d
movl $0x1, %edx
movq %r13, %rdi
movl $0x1, %esi
callq 0xc86d
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 0xc86d
movl $0x5, %edx
movq %r13, %rdi
movq 0x40(%rsp), %rsi
callq 0xc86d
movl $0x4, %edx
movq %r13, %rdi
movl %ebx, %esi
callq 0xc86d
leaq 0xd9fa(%rip), %rbx      # 0x129e0
movl (%rbx), %eax
movl (%r15,%rax,4), %esi
movl $0x3, %edx
movq %r13, %rdi
callq 0xc86d
addq $0x4, %rbx
decq %rbp
jne 0x4fe6
cmpb $0x0, 0x3c(%rsp)
jne 0x5068
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 0xd07e
leal -0x10(%rbp), %eax
cmpl $0x2, %eax
ja 0x505e
movl %eax, %eax
leaq 0xda66(%rip), %rcx      # 0x12ab0
movq (%rcx,%rax,8), %rdx
movl 0x4(%r14,%r13,4), %esi
incq %r13
movq %rbx, %rdi
callq 0xc86d
incq %r13
cmpq 0x8(%rsp), %r13
jne 0x5019
leaq 0x88(%rsp), %rbx
movq %rbx, %rdi
leaq 0x110(%rsp), %rsi
leaq 0xe0(%rsp), %rdx
leaq 0x150(%rsp), %rcx
callq 0xcfa3
movq 0xe8(%rsp), %rax
movl 0x400(%rax), %edx
testq %rdx, %rdx
je 0x50c3
movq 0xe0(%rsp), %rax
movl 0x400(%rax), %esi
movq %rbx, %rdi
callq 0xd07e
movl $0x0, 0x8(%rsp)
jmp 0x50cb
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 0x1030
leaq 0xe0(%rsp), %rdi
callq 0xc2ea
leaq 0x150(%rsp), %rdi
callq 0xc2ea
leaq 0x180(%rsp), %rdi
callq 0xc2ea
movq %rbx, %rdi
callq 0x1030
movq %r15, %rdi
callq 0x1030
movq %r13, %rdi
callq 0x1030
movq %r12, %rdi
callq 0x1030
movq %r14, %rdi
callq 0x1030
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 0x5197
addq %rdi, %r10
subq %rdi, %rcx
addq %rdi, %r9
testl %r11d, %r11d
je 0x46fa
jmp 0x5197
xorl %r11d, %r11d
movq 0x140(%rsp), %rdi
movl %r11d, %ebx
callq 0x1030
movq 0x138(%rsp), %rdi
callq 0x1030
movq %rbp, %rdi
callq 0x1030
movq 0x148(%rsp), %rdi
callq 0x1030
movq 0x68(%rsp), %rdi
callq 0x1030
movq 0x130(%rsp), %rdi
callq 0x1030
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 0x51ec