// File: /workspace/github_c_makefile_star2_O2/samtools[P]htslib/htscodecs/htscodecs/fqzcomp_qual.c
// Function: fqz_compress
char *fqz_compress(int vers, fqz_slice *s, char *in, size_t uncomp_size,
                   size_t *comp_size, int strat, fqz_gparams *gp) {
    if (uncomp_size > INT_MAX) {
        *comp_size = 0;
        return NULL;
    }

    return (char *)compress_block_fqz2f(vers, strat, s, (unsigned char *)in,
                                        uncomp_size, comp_size, gp);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a88, %rsp           # imm = 0x1A88
movq %rdx, 0x28(%rsp)
movq %rcx, %rax
shrq $0x1f, %rax
je 0x4c231
andq $0x0, (%r8)
jmp 0x4d0b3
movq %rcx, %r12
movq %rsi, %r15
movq %r8, 0x78(%rsp)
movq 0x1ac0(%rsp), %rax
testq %rax, %rax
movq %rsi, 0x20(%rsp)
movq %rcx, 0x30(%rsp)
je 0x4c380
leaq 0x10(%rax), %rcx
movq %rcx, 0x50(%rsp)
movl 0xc(%rax), %ebx
movq %rax, %r14
pushq $0x2
popq %r13
xorl %eax, %eax
movl %ebx, %ecx
testl %ecx, %ecx
je 0x4c278
incl %eax
sarl %ecx
jmp 0x4c26e
movq %r15, %rdx
movq 0x418(%r14), %r15
xorl %ecx, %ecx
cmpl $0x0, 0x14(%r15)
cvtsi2sd %eax, %xmm0
mulsd 0x3166b(%rip), %xmm0    # 0x7d900
sete %cl
leaq 0x31621(%rip), %rax     # 0x7d8c0
addsd (%rax,%rcx,8), %xmm0
cvtsi2sdl (%rdx), %xmm1
cvtsi2sd %r12, %xmm2
mulsd %xmm0, %xmm1
addsd %xmm1, %xmm2
mulsd 0x3164b(%rip), %xmm2    # 0x7d908
addsd 0x2a5eb(%rip), %xmm2    # 0x768b0
cvttsd2si %xmm2, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x2b3e7(%rip), %xmm2    # 0x776c0
cvttsd2si %xmm2, %rbp
andq %rcx, %rbp
orq %rax, %rbp
movq %rbp, %rdi
callq 0x4680
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x4d0b3
movq %rbp, 0x38(%rsp)
cmpq $0x4, %rbp
jg 0x4c423
pushq $-0xe
popq %rax
xorl %ecx, %ecx
movl %r12d, %esi
movl %r12d, %edx
shrl $0x7, %edx
addl $0x7, %eax
addq $0x7, %rcx
cmpl $0x7f, %esi
movl %edx, %esi
ja 0x4c314
imulq $0x7, 0x38(%rsp), %rdx
xorl %edi, %edi
cmpq %rcx, %rdx
movq 0x8(%rsp), %rdx
jl 0x4c95e
leal 0x7(%rax), %ecx
xorl %edi, %edi
cmpl $0x5, %edi
je 0x4c371
movl %r12d, %edx
shrl %cl, %edx
xorl %esi, %esi
testl %ecx, %ecx
setne %sil
andl $0x7f, %edx
shll $0x7, %esi
orl %edx, %esi
movq 0x8(%rsp), %rdx
movb %sil, (%rdx,%rdi)
incq %rdi
addl $-0x7, %ecx
addl $-0x7, %eax
cmpl $-0xe, %eax
jne 0x4c340
movq 0x8(%rsp), %rdx
addq %rdx, %rdi
subl %edx, %edi
jmp 0x4c95e
movl %r9d, %r13d
movl %edi, %r14d
leaq 0x31583(%rip), %rsi     # 0x7d910
leaq 0xe0(%rsp), %rdi
movl $0x100, %edx            # imm = 0x100
callq 0x43c0
leaq 0x600(%rsp), %rdi
movl $0x400, %edx            # imm = 0x400
xorl %esi, %esi
callq 0x4260
cmpl $0x4, %r13d
pushq $0x4
popq %r15
cmovll %r13d, %r15d
leaq 0x1e0(%rsp), %r12
movl $0x418, %edx            # imm = 0x418
movq %r12, %rdi
xorl %esi, %esi
callq 0x4260
movl $0x5, (%r12)
pushq $0x1
popq %rbp
movl $0x1c64, %esi           # imm = 0x1C64
movq %rbp, %rdi
callq 0x4300
movq %rax, 0x418(%r12)
testq %rax, %rax
je 0x4d0b3
movq %rax, %rbx
movq $0x1, 0x1e8(%rsp)
cmpl $0x3, %r14d
jne 0x4c465
movl $0x4, 0x1e4(%rsp)
pushq $0x6
jmp 0x4c467
cmpq $0x7f, %r12
ja 0x4c439
movq 0x8(%rsp), %rdx
movb %r12b, (%rdx)
pushq $0x1
popq %rdi
jmp 0x4c95e
cmpq $0x3fff, %r12           # imm = 0x3FFF
ja 0x4c654
movl %r12d, %eax
shrl $0x7, %eax
orb $-0x80, %al
movq 0x8(%rsp), %rdx
movb %al, (%rdx)
movl %r12d, %eax
andb $0x7f, %al
movb %al, 0x1(%rdx)
movl %r13d, %edi
jmp 0x4c95e
pushq $0x2
popq %rax
movl %eax, 0x10(%rsp)
movq 0x30(%rsp), %r12
leaq 0x1f0(%rsp), %rax
movq %rax, 0x50(%rsp)
movslq %r15d, %rax
imulq $0x30, %rax, %rax
leaq 0x31584(%rip), %rcx     # 0x7da10
movl (%rax,%rcx), %edx
movl 0x4(%rax,%rcx), %esi
movl %edx, 0x1c(%rbx)
movl %esi, 0x1c48(%rbx)
movl 0x8(%rax,%rcx), %edx
movl %edx, 0x24(%rbx)
movl 0xc(%rax,%rcx), %edx
movl %edx, 0x1c4c(%rbx)
movl 0x10(%rax,%rcx), %edx
movl %edx, 0x2c(%rbx)
movl 0x14(%rax,%rcx), %edx
movl %edx, 0x1c50(%rbx)
movl 0x1c(%rax,%rcx), %edx
movl %edx, 0x38(%rbx)
movl 0x20(%rax,%rcx), %edx
movl %edx, 0x28(%rbx)
movl 0x24(%rax,%rcx), %edx
movl %edx, 0x30(%rbx)
movq 0x28(%rax,%rcx), %rax
movq %rax, 0x1c5c(%rbx)
xorl %eax, %eax
xorl %ecx, %ecx
movq 0x20(%rsp), %r15
jmp 0x4c50d
movq 0x8(%r15), %rsi
movl (%rsi,%rcx,4), %edx
addq %rax, %rdx
cmpq %r12, %rdx
jbe 0x4c507
movq %r12, %rdx
subq %rax, %rdx
movl %edx, (%rsi,%rcx,4)
movl %edx, %edx
addq %rax, %rdx
incq %rcx
movq %rdx, %rax
movslq (%r15), %rdx
cmpq %rdx, %rcx
jb 0x4c4ea
movl %r13d, %r14d
testl %edx, %edx
jle 0x4c52e
cmpq %rax, %r12
jbe 0x4c52e
movl %r12d, %ecx
subl %eax, %ecx
movq 0x8(%r15), %rax
addl %ecx, -0x4(%rax,%rdx,4)
leaq 0x600(%rsp), %r8
pushq $-0x1
popq %r13
movq %r15, %rdi
movq 0x28(%rsp), %rsi
movq %r12, %rdx
movq %rbx, %rcx
movl %r13d, %r9d
callq 0x4b550
movl 0x40(%rbx), %edx
xorl %eax, %eax
cmpl $0x8, %edx
jg 0x4c565
leal (%rdx,%rdx), %ecx
xorl %eax, %eax
cmpl 0x3c(%rbx), %ecx
setl %al
movl %eax, 0x10(%rbx)
movq 0x8(%r15), %rax
movl (%rax), %edi
movslq (%r15), %rcx
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
cmpq %rcx, %rbp
jae 0x4c58e
cmpl %edi, (%rax,%rbp,4)
jne 0x4c58b
incq %rbp
jmp 0x4c57c
movq %rbp, %rsi
xorl %edi, %edi
cmpq %rcx, %rsi
sete %dil
movl %edi, 0x14(%rbx)
movb $0x0, 0x18(%rbx)
cmpl $0x3, %r14d
jg 0x4c6d7
cmpl $0x0, 0x1c4c(%rbx)
jns 0x4c625
movl (%rax), %eax
cvtsi2sd %rax, %xmm0
movb 0x24(%rbx), %cl
pushq $0x1
popq %rbp
movl %ebp, %eax
shll %cl, %eax
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
callq 0x4390
divsd 0x31321(%rip), %xmm0    # 0x7d8f8
addsd 0x28a41(%rip), %xmm0    # 0x75020
xorl %eax, %eax
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
ja 0x4c61c
movq 0x8(%r15), %rax
movl (%rax), %eax
cvtsi2sd %rax, %xmm0
movb 0x24(%rbx), %cl
shll %cl, %ebp
cvtsi2sd %ebp, %xmm1
divsd %xmm1, %xmm0
callq 0x4390
divsd 0x312e8(%rip), %xmm0    # 0x7d8f8
addsd 0x28a08(%rip), %xmm0    # 0x75020
cvttsd2si %xmm0, %eax
movl %eax, 0x1c4c(%rbx)
movl 0x40(%rbx), %edx
cmpl $0x4, %edx
jg 0x4c68b
movl $0x2, 0x1c48(%rbx)
cmpq $0x4c4b3f, %r12         # imm = 0x4C4B3F
ja 0x4c6d7
movl $0x2, 0x24(%rbx)
movl $0x5, 0x1c4c(%rbx)
jmp 0x4c6b9
cmpq $0x1fffff, %r12         # imm = 0x1FFFFF
ja 0x4c8e6
pushq $0x3
popq %rdi
movl %r12d, %eax
shrl $0xe, %eax
orb $-0x80, %al
movq 0x8(%rsp), %rdx
movb %al, (%rdx)
movl %r12d, %eax
shrl $0x7, %eax
orb $-0x80, %al
movb %al, 0x1(%rdx)
movl %r12d, %eax
andb $0x7f, %al
movb %al, 0x2(%rdx)
jmp 0x4c95e
cmpl $0x8, %edx
ja 0x4c6b9
movl 0x1c(%rbx), %eax
cmpl $0x9, %eax
pushq $0x9
popq %rcx
cmovbl %eax, %ecx
movl %ecx, 0x1c(%rbx)
movl $0x3, 0x1c48(%rbx)
cmpq $0x4c4b3f, %r12         # imm = 0x4C4B3F
ja 0x4c6d7
movl $0x6, 0x1c(%rbx)
cmpq $0x493df, %r12          # imm = 0x493DF
ja 0x4c6d7
movl 0x1c48(%rbx), %eax
movl %eax, 0x1c(%rbx)
movl $0x2, 0x2c(%rbx)
pushq $0x2
popq %rax
jmp 0x4c6da
movl 0x2c(%rbx), %eax
movl %r13d, %esi
movl %eax, %ecx
shll %cl, %esi
notl %esi
xorl %ecx, %ecx
cmpq $0x40, %rcx
je 0x4c703
movl 0xe0(%rsp,%rcx,4), %edi
cmpl %esi, %edi
cmovgel %esi, %edi
movl %edi, 0xe0(%rsp,%rcx,4)
incq %rcx
jmp 0x4c6e5
movl 0x10(%rbx), %esi
testl %esi, %esi
je 0x4c742
xorl %ecx, %ecx
xorl %edi, %edi
cmpq $0x100, %rcx            # imm = 0x100
je 0x4c73d
xorl %r8d, %r8d
cmpl $0x0, 0x600(%rsp,%rcx,4)
movl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
cmovnel %edi, %r9d
setne %r8b
addl %r8d, %edi
movl %r9d, 0x48(%rbx,%rcx,4)
incq %rcx
jmp 0x4c70e
movl %edx, 0x3c(%rbx)
jmp 0x4c760
movl $0xff, 0x40(%rbx)
xorl %ecx, %ecx
cmpq $0x100, %rcx            # imm = 0x100
je 0x4c75d
movl %ecx, 0x48(%rbx,%rcx,4)
incq %rcx
jmp 0x4c74b
movl 0x3c(%rbx), %edx
testl %edx, %edx
jle 0x4c76b
movl %edx, 0x5f0(%rsp)
movl 0x1c(%rbx), %ecx
testl %ecx, %ecx
je 0x4c789
xorl %edx, %edx
cmpq $0x100, %rdx            # imm = 0x100
je 0x4c789
movl %edx, 0x448(%rbx,%rdx,4)
incq %rdx
jmp 0x4c774
movl %r13d, %edx
shll %cl, %edx
notl %edx
movl %edx, 0x1c58(%rbx)
movl 0x24(%rbx), %edx
testl %edx, %edx
je 0x4c7d0
movl %edx, %ecx
shll %cl, %r13d
notl %r13d
xorl %edi, %edi
cmpq $0x400, %rdi            # imm = 0x400
je 0x4c7d0
movb 0x1c4c(%rbx), %cl
movq %rdi, %r8
shrq %cl, %r8
cmpq %r13, %r8
cmoval %r13d, %r8d
movl %r8d, 0x848(%rbx,%rdi,4)
incq %rdi
jmp 0x4c7a7
testl %eax, %eax
je 0x4c80d
xorl %edi, %edi
pushq $0x3f
popq %r8
cmpq $0x100, %rdi            # imm = 0x100
je 0x4c80d
movb 0x1c50(%rbx), %cl
movq %rdi, %r9
shrq %cl, %r9
cmpq $0x3f, %r9
cmovaeq %r8, %r9
movl %r9d, %ecx
movl 0xe0(%rsp,%rcx,4), %ecx
movl %ecx, 0x1848(%rbx,%rdi,4)
incq %rdi
jmp 0x4c7da
xorl %ecx, %ecx
testl %esi, %esi
setne %cl
xorl %esi, %esi
testl %edx, %edx
setne %sil
setne 0x1a(%rbx)
xorl %edx, %edx
testl %eax, %eax
setne 0x19(%rbx)
setne %dl
xorl %edi, %edi
cmpb $0x0, 0x18(%rbx)
setne %dil
shll $0x7, %edi
shll $0x6, %edx
shll $0x5, %esi
movl 0x8(%rbx), %eax
xorl %r8d, %r8d
testl %eax, %eax
setne %r8b
xorl %r9d, %r9d
cmpl $0x0, 0x14(%rbx)
setne %r9b
xorl %r10d, %r10d
cmpl $0x0, 0xc(%rbx)
setne %r10b
shll $0x4, %ecx
orl %edx, %ecx
orl %esi, %ecx
orl %edi, %ecx
leal (%rcx,%r8,8), %ecx
leal (%rcx,%r9,4), %ecx
leal (%rcx,%r10,2), %ecx
movl %ecx, 0x4(%rbx)
andl $0x0, 0x1ec(%rsp)
testl %eax, %eax
je 0x4c8d2
movl $0x1, 0x1ec(%rsp)
movl 0x10(%rsp), %eax
movl %eax, 0x1e4(%rsp)
movslq (%r15), %rax
testq %rax, %rax
je 0x4c8d6
movq 0x10(%r15), %rcx
xorl %edx, %edx
xorl %ebx, %ebx
leaq 0x1e0(%rsp), %r14
cmpq %rdx, %rax
je 0x4c8c6
movzwl 0x2(%rcx,%rdx,4), %esi
cmpl %esi, %ebx
cmovbel %esi, %ebx
incq %rdx
jmp 0x4c8b2
movl %ebx, 0x1ec(%rsp)
jmp 0x4c266
xorl %ebx, %ebx
jmp 0x4c8d9
pushq $0x1
popq %rbx
leaq 0x1e0(%rsp), %r14
jmp 0x4c266
cmpq $0xfffffff, %r12        # imm = 0xFFFFFFF
ja 0x4c923
movl %r12d, %eax
shrl $0x15, %eax
orb $-0x80, %al
movq 0x8(%rsp), %rdx
movb %al, (%rdx)
movl %r12d, %eax
shrl $0xe, %eax
orb $-0x80, %al
movb %al, 0x1(%rdx)
movl %r12d, %eax
shrl $0x7, %eax
orb $-0x80, %al
movb %al, 0x2(%rdx)
movl %r12d, %eax
andb $0x7f, %al
movb %al, 0x3(%rdx)
pushq $0x4
popq %rax
movl %eax, %edi
jmp 0x4c95e
pushq $0x5
popq %rdi
movl %r12d, %eax
shrl $0x1c, %eax
orb $-0x80, %al
movq 0x8(%rsp), %rdx
movb %al, (%rdx)
movl %r12d, %eax
shrl $0x15, %eax
orb $-0x80, %al
movb %al, 0x1(%rdx)
movl %r12d, %eax
shrl $0xe, %eax
orb $-0x80, %al
movb %al, 0x2(%rdx)
movl %r12d, %eax
shrl $0x7, %eax
orb $-0x80, %al
movb %al, 0x3(%rdx)
movl %r12d, %eax
andb $0x7f, %al
movb %al, 0x4(%rdx)
movslq %edi, %rcx
leaq (%rdx,%rcx), %rbp
movb (%r14), %al
movb %al, (%rdx,%rcx)
movl 0x4(%r14), %eax
movb %al, 0x1(%rdx,%rcx)
testb $0x1, %al
movq %rdx, %r12
je 0x4c985
movb 0x8(%r14), %cl
movb %cl, 0x2(%rbp)
pushq $0x3
popq %r13
testb $0x2, %al
movq %rdi, 0x60(%rsp)
je 0x4c9b0
movl %r13d, %eax
leaq (%rax,%rbp), %rdi
incq %rdi
movb %bl, -0x1(%rdi)
movq 0x50(%rsp), %rsi
movl $0x100, %edx            # imm = 0x100
callq 0x4dfc4
addl %eax, %r13d
incl %r13d
addq %r12, 0x38(%rsp)
movl 0x8(%r14), %eax
xorl %ecx, %ecx
testl %eax, %eax
movl $0x0, %edx
movl %eax, 0x68(%rsp)
cmovgl %eax, %edx
movq %rdx, 0x40(%rsp)
leaq 0x48(%r15), %r12
movq %r14, 0x58(%rsp)
cmpq 0x40(%rsp), %rcx
je 0x4cb29
movq %rcx, 0x48(%rsp)
imulq $0x1c64, %rcx, %rbx     # imm = 0x1C64
movq %r13, 0x10(%rsp)
movslq %r13d, %rax
leaq (%rax,%rbp), %r13
movb (%r15,%rbx), %cl
movb %cl, (%rbp,%rax)
movb 0x1(%r15,%rbx), %cl
movb %cl, 0x1(%rbp,%rax)
movb 0x4(%r15,%rbx), %cl
movb %cl, 0x2(%rbp,%rax)
movb 0x3c(%r15,%rbx), %cl
movb %cl, 0x3(%rbp,%rax)
movl 0x1c(%r15,%rbx), %ecx
shll $0x4, %ecx
orl 0x1c48(%r15,%rbx), %ecx
movb %cl, 0x4(%rbp,%rax)
movl 0x20(%r15,%rbx), %ecx
shll $0x4, %ecx
orl 0x38(%r15,%rbx), %ecx
movb %cl, 0x5(%rbp,%rax)
movl 0x28(%r15,%rbx), %ecx
shll $0x4, %ecx
orl 0x30(%r15,%rbx), %ecx
movb %cl, 0x6(%rbp,%rax)
cmpl $0x0, 0x10(%r15,%rbx)
pushq $0x7
popq %rax
movl %eax, %r14d
je 0x4ca8b
xorl %eax, %eax
pushq $0x7
popq %rcx
movl %ecx, %r14d
cmpq $0x100, %rax            # imm = 0x100
je 0x4ca8b
cmpl $0x7fffffff, (%r12,%rax,4) # imm = 0x7FFFFFFF
je 0x4ca86
movslq %r14d, %rcx
incl %r14d
movb %al, (%r13,%rcx)
incq %rax
jmp 0x4ca69
addq %r15, %rbx
cmpl $0x0, 0x1c(%rbx)
je 0x4cab5
cmpb $0x0, 0x18(%rbx)
je 0x4cab5
movslq %r14d, %r14
leaq (%r14,%r13), %rdi
leaq 0x448(%rbx), %rsi
movl $0x100, %edx            # imm = 0x100
callq 0x4dfc4
addl %eax, %r14d
cmpl $0x0, 0x24(%rbx)
je 0x4cadc
cmpb $0x0, 0x1a(%rbx)
je 0x4cadc
movslq %r14d, %r14
leaq (%r14,%r13), %rdi
leaq 0x848(%rbx), %rsi
movl $0x400, %edx            # imm = 0x400
callq 0x4dfc4
addl %eax, %r14d
cmpl $0x0, 0x2c(%rbx)
je 0x4cb08
cmpb $0x0, 0x19(%rbx)
je 0x4cb08
movslq %r14d, %r14
addq %r14, %r13
addq $0x1848, %rbx           # imm = 0x1848
movq %r13, %rdi
movq %rbx, %rsi
movl $0x100, %edx            # imm = 0x100
callq 0x4dfc4
addl %eax, %r14d
movq 0x10(%rsp), %r13
addl %r14d, %r13d
movq 0x48(%rsp), %rcx
incq %rcx
addq $0x1c64, %r12           # imm = 0x1C64
movq 0x58(%rsp), %r14
jmp 0x4c9d7
leaq 0x848(%r15), %rax
leaq 0x1848(%r15), %rdx
xorl %esi, %esi
movl $0x1c64, %edi           # imm = 0x1C64
movq 0x30(%rsp), %r12
movq 0x38(%rsp), %rbx
movl 0x68(%rsp), %ecx
movslq %ecx, %rcx
cmpq %rcx, %rsi
jae 0x4cb9f
imulq $0x1c64, %rsi, %r8      # imm = 0x1C64
addq %r15, %r8
xorl %r9d, %r9d
cmpq $0x400, %r9             # imm = 0x400
je 0x4cb77
movb 0x28(%r8), %cl
shll %cl, (%rax,%r9,4)
incq %r9
jmp 0x4cb61
xorl %r9d, %r9d
cmpq $0x100, %r9             # imm = 0x100
je 0x4cb90
movb 0x30(%r8), %cl
shll %cl, (%rdx,%r9,4)
incq %r9
jmp 0x4cb7a
incq %rsi
movl 0x8(%r14), %ecx
addq %rdi, %rax
addq %rdi, %rdx
jmp 0x4cb4c
leaq 0x600(%rsp), %rdi
movq %r14, %rsi
callq 0x4de06
testl %eax, %eax
js 0x4d0b3
addl 0x60(%rsp), %r13d
movslq %r13d, %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0xb8(%rsp)
addq %rcx, %rax
movq %rax, 0x100(%rsp)
movq %rax, 0xf8(%rsp)
movq %rbx, 0x110(%rsp)
andq $0x0, 0xf0(%rsp)
movapd 0x2aad8(%rip), %xmm0    # 0x776d0
movapd %xmm0, 0xe0(%rsp)
andl $0x0, 0x118(%rsp)
testb $0x4, 0x4(%r14)
movq 0x20(%rsp), %r11
jne 0x4d0db
xorpd %xmm0, %xmm0
leaq 0x90(%rsp), %rax
movapd %xmm0, 0x10(%rax)
movapd %xmm0, (%rax)
andq $0x0, 0x20(%rax)
movapd %xmm0, -0x10(%rax)
movq 0x418(%r14), %rcx
movq %rcx, 0x40(%rsp)
movl $0x1, 0xc(%rax)
movq $0x0, 0x18(%rsp)
cmpq %r12, 0x18(%rsp)
jae 0x4d142
movq 0x20(%rsp), %rcx
movq 0xa8(%rsp), %r15
movslq (%rcx), %rax
cmpq %rax, %r15
jge 0x4d0ca
movq 0x8(%rcx), %rax
movl (%rax,%r15,4), %ebx
testl %ebx, %ebx
je 0x4d0ca
movq 0x40(%rsp), %rax
cmpl $0x0, 0x8(%rax)
jne 0x4ccab
movl 0x4(%r14), %eax
testb $0x1, %al
jne 0x4ccab
andl $0x0, 0x90(%rsp)
movq %r14, %r12
xorl %r14d, %r14d
jmp 0x4ccea
movq 0x20(%rsp), %rbx
movq 0x10(%rbx), %rax
movq %r14, %r12
movzwl 0x2(%rax,%r15,4), %r14d
movl %r14d, 0x90(%rsp)
leaq 0x1660(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
movl %r14d, %edx
callq 0x4df37
movl 0x4(%r12), %eax
movq 0x8(%rbx), %rcx
movl (%rcx,%r15,4), %ebx
testb $0x2, %al
movq 0x50(%rsp), %rcx
leaq (%rcx,%r14,4), %rcx
leaq 0x90(%rsp), %rdx
cmoveq %rdx, %rcx
movslq (%rcx), %rcx
movq 0x418(%r12), %r14
imulq $0x1c64, %rcx, %r12     # imm = 0x1C64
cmpl $0x0, 0x14(%r14,%r12)
je 0x4cd25
cmpl $0x0, 0x9c(%rsp)
je 0x4cd98
movl %ebx, %edx
movl $0xff, %r13d
andl %r13d, %edx
leaq 0x608(%rsp), %rdi
leaq 0xe0(%rsp), %rbp
movq %rbp, %rsi
callq 0x4df37
movzbl %bh, %edx
leaq 0xa18(%rsp), %rdi
movq %rbp, %rsi
callq 0x4df37
movl %ebx, %edx
shrl $0x10, %edx
andl %r13d, %edx
leaq 0xe28(%rsp), %rdi
movq %rbp, %rsi
callq 0x4df37
movl %ebx, %edx
shrl $0x18, %edx
leaq 0x1238(%rsp), %rdi
movq %rbp, %rsi
callq 0x4df37
andl $0x0, 0x9c(%rsp)
movq 0x58(%rsp), %rax
movl 0x4(%rax), %eax
testb $0x4, %al
je 0x4cdc5
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
movzwl (%rax,%r15,4), %edx
shrl $0x4, %edx
andl $0x1, %edx
leaq 0x1648(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x4e138
incq %r15
movq %r15, 0xa8(%rsp)
andq $0x0, 0x94(%rsp)
movl %ebx, 0x84(%rsp)
andq $0x0, 0x88(%rsp)
andl $0x0, 0x80(%rsp)
addq %r12, %r14
movzwl (%r14), %eax
movl %eax, 0x10(%rsp)
cmpl $0x0, 0xc(%r14)
movq 0x30(%rsp), %r12
je 0x4ce5d
cmpq $0x0, 0x18(%rsp)
je 0x4ce3f
cmpl 0xa0(%rsp), %ebx
jne 0x4ce3f
movq 0x28(%rsp), %rax
movq 0x18(%rsp), %rcx
leaq (%rax,%rcx), %rsi
movl %ebx, %eax
movq %rsi, %rdi
subq %rax, %rdi
movslq %ebx, %rdx
callq 0x44d0
testl %eax, %eax
je 0x4d08f
leaq 0x1a70(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
xorl %edx, %edx
callq 0x4e138
movl %ebx, 0xa0(%rsp)
movq 0x600(%rsp), %r14
movq 0x28(%rsp), %rax
movq 0x18(%rsp), %rdx
leaq (%rax,%rdx), %rcx
addq %rdx, %rax
addq $0x3, %rax
movq %rax, 0xc0(%rsp)
pushq $-0x1
popq %rax
movl %eax, 0x48(%rsp)
pushq $-0x1
popq %r15
cmpl $0x4, %ebx
jb 0x4d06a
movq 0x18(%rsp), %rax
addq %r15, %rax
addq $0x4, %rax
cmpq %r12, %rax
jae 0x4d06a
movl 0x10(%rsp), %eax
imulq $0x410, %rax, %rax      # imm = 0x410
leaq (%r14,%rax), %rdx
movq %rdx, 0x68(%rsp)
movl (%r14,%rax), %eax
movq 0xc0(%rsp), %rbx
movzbl -0x2(%rbx,%r15), %eax
movq 0x40(%rsp), %r12
movzbl 0x48(%r12,%rax,4), %edx
movl %edx, 0x60(%rsp)
movq %r12, %rdi
leaq 0x80(%rsp), %r13
movq %r13, %rsi
movq %rcx, 0x38(%rsp)
callq 0x4debb
movl %eax, %eax
imulq $0x410, %rax, %rax      # imm = 0x410
leaq (%r14,%rax), %rcx
movq %rcx, 0xd8(%rsp)
movl (%r14,%rax), %eax
movzbl -0x1(%rbx,%r15), %eax
movzbl 0x48(%r12,%rax,4), %edx
movl %edx, 0x74(%rsp)
movq %r12, %rdi
movq %r13, %rsi
callq 0x4debb
movl %eax, %eax
imulq $0x410, %rax, %rax      # imm = 0x410
leaq (%r14,%rax), %rcx
movq %rcx, 0xd0(%rsp)
movl (%r14,%rax), %eax
movzbl (%rbx,%r15), %eax
movzbl 0x48(%r12,%rax,4), %ebp
movq %r12, %rdi
movq %r13, %rsi
movl %ebp, %edx
callq 0x4debb
movl %eax, %eax
imulq $0x410, %rax, %rax      # imm = 0x410
leaq (%r14,%rax), %rcx
movq %rcx, 0xc8(%rsp)
movl (%r14,%rax), %eax
movzbl 0x1(%rbx,%r15), %eax
addq $0x4, %r15
movzbl 0x48(%r12,%rax,4), %r13d
movq %r12, %rdi
leaq 0x80(%rsp), %rsi
movl %r13d, %edx
callq 0x4debb
movl %eax, 0x10(%rsp)
movq 0x68(%rsp), %rdi
leaq 0xe0(%rsp), %r12
movq %r12, %rsi
movl 0x60(%rsp), %edx
movq 0x30(%rsp), %rbx
callq 0x4df37
movq 0xd8(%rsp), %rdi
movq %r12, %rsi
movl 0x74(%rsp), %edx
callq 0x4df37
movq 0xd0(%rsp), %rdi
movq %r12, %rsi
movl %ebp, %edx
callq 0x4df37
movq 0xc8(%rsp), %rdi
movq %r12, %rsi
movq %rbx, %r12
movl %r13d, %edx
callq 0x4df37
movq 0x38(%rsp), %rcx
movl 0x84(%rsp), %ebx
addl $0x4, 0x48(%rsp)
addq $0x4, %rcx
jmp 0x4ce8d
movl 0x10(%rsp), %eax
imulq $0x410, %rax, %rax      # imm = 0x410
leaq (%r14,%rax), %rbx
movl (%r14,%rax), %eax
movzbl (%rcx), %eax
movq 0x40(%rsp), %rdi
movzbl 0x48(%rdi,%rax,4), %ebp
leaq 0x80(%rsp), %rsi
movl %ebp, %edx
movq %rcx, %r15
callq 0x4debb
movl %eax, 0x10(%rsp)
movq %rbx, %rdi
leaq 0xe0(%rsp), %rsi
movl %ebp, %edx
callq 0x4df37
movq %r15, %rcx
movl 0x84(%rsp), %ebx
incl 0x48(%rsp)
incq %rcx
testl %ebx, %ebx
jne 0x4d011
movl 0x48(%rsp), %ebx
movslq %ebx, %rax
movq 0x18(%rsp), %rcx
addq %rax, %rcx
incq %rcx
movq %rcx, 0x18(%rsp)
movq 0x58(%rsp), %r14
jmp 0x4cc54
leaq 0x1a70(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
pushq $0x1
popq %rdx
callq 0x4e138
decl %ebx
andl $0x0, 0x84(%rsp)
jmp 0x4d072
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x1a88, %rsp           # imm = 0x1A88
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rsp), %rdi
callq 0x45c0
xorl %ebx, %ebx
jmp 0x4d1b1
xorl %eax, %eax
xorl %ecx, %ecx
cmpq %rax, %r12
jbe 0x4cc19
movslq (%r11), %rdx
decq %rdx
cmpq %rdx, %rcx
jge 0x4d0fc
movq 0x8(%r11), %rdx
movl (%rdx,%rcx,4), %edx
jmp 0x4d101
movl %r12d, %edx
subl %eax, %edx
movq 0x10(%r11), %rsi
testb $0x10, (%rsi,%rcx,4)
movslq %edx, %rdx
jne 0x4d116
addq %rdx, %rax
incq %rcx
jmp 0x4d0df
movq 0x28(%rsp), %rsi
addq %rax, %rsi
leaq -0x1(%rdx), %rdi
xorl %r8d, %r8d
cmpq %rdi, %r8
jge 0x4d10e
movb (%rsi,%r8), %r9b
movb (%rsi,%rdi), %r10b
movb %r10b, (%rsi,%r8)
movb %r9b, (%rsi,%rdi)
incq %r8
decq %rdi
jmp 0x4d125
pushq $0x5
popq %rbp
leaq 0xe0(%rsp), %rbx
movq 0x20(%rsp), %r15
subl $0x1, %ebp
jb 0x4d161
movq %rbx, %rdi
callq 0x4e21c
jmp 0x4d152
cmpl $0x0, 0x118(%rsp)
js 0x4d1da
testb $0x4, 0x4(%r14)
movq 0x78(%rsp), %r11
jne 0x4d1f2
xorl %eax, %eax
movq 0x8(%rsp), %rbx
movslq (%r15), %rcx
cmpq %rcx, %rax
jge 0x4d196
movq 0x10(%r15), %rcx
movzwl (%rcx,%rax,4), %edx
movl %edx, (%rcx,%rax,4)
incq %rax
jmp 0x4d17e
movq 0xb8(%rsp), %rax
addq 0x100(%rsp), %rax
subq 0xf8(%rsp), %rax
movq %rax, (%r11)
movq 0x600(%rsp), %rdi
callq 0x64291
cmpq $0x0, 0x1ac0(%rsp)
jne 0x4d0b5
movq %r14, %rdi
callq 0x4dfb2
jmp 0x4d0b5
movq 0x8(%rsp), %rdi
callq 0x45c0
movq 0x78(%rsp), %rax
andq $0x0, (%rax)
jmp 0x4d0d4
xorl %eax, %eax
xorl %ecx, %ecx
cmpq %rax, %r12
jbe 0x4d177
movslq (%r15), %rdx
decq %rdx
cmpq %rdx, %rcx
jge 0x4d213
movq 0x8(%r15), %rdx
movl (%rdx,%rcx,4), %edx
jmp 0x4d218
movl %r12d, %edx
subl %eax, %edx
movq 0x10(%r15), %rsi
testb $0x10, (%rsi,%rcx,4)
movslq %edx, %rdx
jne 0x4d22d
addq %rdx, %rax
incq %rcx
jmp 0x4d1f6
movq 0x28(%rsp), %rsi
addq %rax, %rsi
leaq -0x1(%rdx), %rdi
xorl %r8d, %r8d
cmpq %rdi, %r8
jge 0x4d225
movb (%rsi,%r8), %r9b
movb (%rsi,%rdi), %r10b
movb %r10b, (%rsi,%r8)
movb %r9b, (%rsi,%rdi)
incq %r8
decq %rdi
jmp 0x4d23c