// File: /workspace/github_c_makefile_star2_O3/bluecmd[P]fst-example/gtkwave/lz4.c
// Function: LZ4_compress_fast_extState
int LZ4_compress_fast_extState(void* state, const char* source, char* dest, int inputSize, int maxOutputSize, int acceleration)
{
    LZ4_resetStream((LZ4_stream_t*)state);
    if (acceleration < 1) acceleration = ACCELERATION_DEFAULT;

    if (maxOutputSize >= LZ4_compressBound(inputSize))
    {
        if (inputSize < LZ4_64Klimit)
            return LZ4_compress_generic(state, source, dest, inputSize, 0, notLimited, byU16,                        noDict, noDictIssue, acceleration);
        else
            return LZ4_compress_generic(state, source, dest, inputSize, 0, notLimited, LZ4_64bits() ? byU32 : byPtr, noDict, noDictIssue, acceleration);
    }
    else
    {
        if (inputSize < LZ4_64Klimit)
            return LZ4_compress_generic(state, source, dest, inputSize, maxOutputSize, limitedOutput, byU16,                        noDict, noDictIssue, acceleration);
        else
            return LZ4_compress_generic(state, source, dest, inputSize, maxOutputSize, limitedOutput, LZ4_64bits() ? byU32 : byPtr, noDict, noDictIssue, acceleration);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %r9d, %r12d
movl %r8d, -0x80(%rbp)
movl %ecx, %ebx
movq %rdx, %r15
movq %rsi, -0x40(%rbp)
xorl %r14d, %r14d
movl $0x4020, %edx           # imm = 0x4020
movq %rdi, -0x50(%rbp)
xorl %esi, %esi
callq 0x2190
movl %r12d, %esi
cmpl $0x2, %r12d
pushq $0x1
popq %rax
cmovll %eax, %esi
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
ja 0x2bf7
movl $0xff, %ecx
movl %ebx, %eax
xorl %edx, %edx
divl %ecx
leal (%rbx,%rax), %r14d
addl $0x10, %r14d
movl %ebx, %eax
movabsq $0xcf1bbcdcbb, %r13     # imm = 0xCF1BBCDCBB
movslq %ebx, %rdx
movl -0x80(%rbp), %ecx
cmpl %ecx, %r14d
movq %r15, -0x68(%rbp)
jle 0x2cf2
movslq %ecx, %rcx
addq %r15, %rcx
movq %rcx, -0x48(%rbp)
cmpl $0x1000a, %ebx          # imm = 0x1000A
movq -0x40(%rbp), %r10
movq -0x50(%rbp), %r11
jg 0x2d2e
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
ja 0x30b8
movq %rdx, -0x60(%rbp)
movq %r15, %r12
movq %r10, %r14
cmpl $0xd, %ebx
jae 0x33fd
addq -0x60(%rbp), %r10
subq %r14, %r10
leaq 0xf0(%r10), %rax
xorl %edi, %edi
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %r12, %rcx
subq %r15, %rcx
addq %r10, %rcx
addq %rcx, %rax
incq %rax
movl -0x80(%rbp), %ecx
cmpq %rcx, %rax
ja 0x30ba
cmpq $0xf, %r10
jb 0x3ab1
leaq -0xf(%r10), %rax
movb $-0x10, (%r12)
leaq 0x1(%r12), %rdi
cmpq $0xff, %rax
jb 0x2ce8
leaq -0x10e(%r10), %rax
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %rax, %rbx
leaq 0x1(%rax), %rdx
movl $0xff, %esi
movq %r10, %r13
callq 0x2190
movq %r13, %r10
imulq $-0xff, %rbx, %rax
addq %r13, %rax
addq $-0x10e, %rax           # imm = 0xFEF2
leaq (%rbx,%r12), %rdi
addq $0x2, %rdi
movb %al, (%rdi)
movq %rdi, %r12
jmp 0x3abb
cmpl $0x1000a, %ebx          # imm = 0x1000A
movq -0x40(%rbp), %r10
movq -0x50(%rbp), %r11
jg 0x30b0
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
ja 0x30b8
leaq (%r10,%rdx), %rax
movq %rax, -0x80(%rbp)
cmpl $0xd, %ebx
jae 0x3741
movq %r15, %rdi
movq %r10, %r15
jmp 0x3a28
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
ja 0x30b8
leaq (%r10,%rax), %rcx
movq %rcx, -0x70(%rbp)
leaq (%r10,%rax), %rcx
addq $-0xc, %rcx
movq %rcx, -0x30(%rbp)
addq %r10, %rax
addq $-0x5, %rax
movq %rax, -0x58(%rbp)
movq (%r10), %rax
imulq %r13, %rax
shrq $0x1c, %rax
andl $0xfff, %eax            # imm = 0xFFF
andl $0x0, (%r11,%rax,4)
movl %esi, %ecx
shll $0x6, %ecx
incl %ecx
andl $0x3ffffff, %esi        # imm = 0x3FFFFFF
leaq 0x2(%r10), %rax
leaq -0x1(%r10), %rdx
movq %rdx, -0x78(%rbp)
movq %r10, %r14
movq %r15, %r12
movl %esi, -0x34(%rbp)
movl %ecx, -0x60(%rbp)
leaq 0x1(%r14), %r15
movq 0x1(%r14), %rdx
movq %rax, %rdi
imulq %r13, %rdx
shrq $0x1c, %rdx
movl %edx, %r8d
andl $0xfff, %r8d            # imm = 0xFFF
movl (%r11,%r8,4), %eax
movq (%rdi), %rdx
movl %r15d, %r9d
subl %r10d, %r9d
movl %r9d, (%r11,%r8,4)
leaq (%r10,%rax), %r8
addq $0xffff, %r8            # imm = 0xFFFF
cmpq %r15, %r8
jb 0x2ddd
leaq (%r10,%rax), %rbx
movl (%rbx), %r8d
cmpl (%r15), %r8d
je 0x2dfc
movl %esi, %eax
addq %rdi, %rax
leal 0x1(%rcx), %r8d
shrl $0x6, %ecx
movl %ecx, %esi
movl %r8d, %ecx
movq %rdi, %r15
cmpq -0x30(%rbp), %rax
jbe 0x2d9b
jmp 0x3b6f
cmpq %r14, %r15
jbe 0x2e41
testl %eax, %eax
je 0x2e41
decq %r15
addq -0x78(%rbp), %rax
movq %r15, %rcx
movb (%rcx), %dl
cmpb (%rax), %dl
jne 0x2e35
leaq -0x1(%rcx), %r15
leaq -0x1(%rax), %rbx
cmpq %r14, %rcx
jbe 0x2e2d
movq %r15, %rcx
cmpq %r10, %rax
movq %rbx, %rax
ja 0x2e0f
incq %r15
incq %rbx
jmp 0x2e41
incq %rcx
incq %rax
movq %rax, %rbx
movq %rcx, %r15
movq %r15, %rcx
subq %r14, %rcx
movl %ecx, %r13d
leaq (%r12,%r13), %rsi
incq %rsi
xorl %edi, %edi
movl %ecx, %eax
xorl %edx, %edx
movl $0xff, %r8d
divl %r8d
addq %rsi, %rax
addq $0x8, %rax
cmpq -0x48(%rbp), %rax
ja 0x30ba
leaq 0x1(%r12), %rdi
cmpl $0xf, %ecx
jb 0x2f00
leal -0xf(%rcx), %eax
movb $-0x10, (%r12)
cmpl $0xff, %eax
jl 0x2ef9
movl $0x1fd, %ecx            # imm = 0x1FD
cmpl %ecx, %eax
cmovael %ecx, %eax
addl %r14d, %eax
negl %eax
addl %r15d, %eax
addl $0xef, %eax
movl %eax, -0x90(%rbp)
xorl %edx, %edx
movl $0xff, %ecx
divl %ecx
movq %rdx, -0x88(%rbp)
movq %rax, -0x98(%rbp)
leaq 0x1(%rax), %rdx
movl $0xff, %esi
callq 0x2190
movq -0x88(%rbp), %rcx
subl -0x90(%rbp), %ecx
movq -0x98(%rbp), %rax
leaq (%r12,%rax), %rdi
addq $0x2, %rdi
movl %r15d, %eax
subl %r14d, %eax
addl %ecx, %eax
addl $0xfffffef2, %eax       # imm = 0xFFFFFEF2
movb %al, (%rdi)
incq %rdi
jmp 0x2f07
shlb $0x4, %cl
movb %cl, (%r12)
addq %rdi, %r13
movq (%r14), %rax
movq %rax, (%rdi)
addq $0x8, %rdi
addq $0x8, %r14
cmpq %r13, %rdi
jb 0x2f0a
movl %r15d, %eax
subl %ebx, %eax
movw %ax, (%r13)
leaq 0x4(%r15), %rdi
addq $0x4, %rbx
movq %rbx, %rsi
movq -0x58(%rbp), %rdx
callq 0x135af
movl %eax, %ecx
shrl $0x8, %ecx
addq %r13, %rcx
addq $0x8, %rcx
cmpq -0x48(%rbp), %rcx
ja 0x30b8
movl %eax, %ecx
addl $0x4, %ecx
addq %rcx, %r15
movq %r15, %r14
movq -0x68(%rbp), %r15
leaq 0x2(%r13), %rdi
movb (%r12), %cl
cmpl $0xf, %eax
jb 0x2fdc
addb $0xf, %cl
movb %cl, (%r12)
leal -0xf(%rax), %ebx
cmpl $0x1fe, %ebx            # imm = 0x1FE
jb 0x2fac
addl $0xfffffdf3, %eax       # imm = 0xFFFFFDF3
xorl %edx, %edx
movl $0x1fe, %ecx            # imm = 0x1FE
divl %ecx
movl %edx, %ebx
movl %eax, %r12d
addl %r12d, %r12d
leaq 0x2(%r12), %rdx
movl $0xff, %esi
callq 0x2190
leaq (%r12,%r13), %rdi
addq $0x4, %rdi
cmpl $0xff, %ebx
movq -0x40(%rbp), %r10
movq -0x50(%rbp), %r11
movabsq $0xcf1bbcdcbb, %r13     # imm = 0xCF1BBCDCBB
jb 0x2fd2
addl $0xffffff01, %ebx       # imm = 0xFFFFFF01
movb $-0x1, (%rdi)
incq %rdi
movb %bl, (%rdi)
incq %rdi
movq %rdi, %r12
jmp 0x2ff7
addb %al, %cl
movb %cl, (%r12)
movq %rdi, %r12
movq -0x40(%rbp), %r10
movq -0x50(%rbp), %r11
movabsq $0xcf1bbcdcbb, %r13     # imm = 0xCF1BBCDCBB
cmpq -0x30(%rbp), %r14
ja 0x3b73
leaq -0x2(%r14), %rax
movq -0x2(%r14), %rcx
imulq %r13, %rcx
shrq $0x1c, %rcx
movl $0xfff, %edx            # imm = 0xFFF
andl %edx, %ecx
subl %r10d, %eax
movl %eax, (%r11,%rcx,4)
movq (%r14), %rax
imulq %r13, %rax
shrq $0x1c, %rax
andl %edx, %eax
movl (%r11,%rax,4), %esi
movl %r14d, %ecx
subl %r10d, %ecx
movl %ecx, (%r11,%rax,4)
leaq (%r10,%rsi), %rax
addq $0xffff, %rax           # imm = 0xFFFF
cmpq %r14, %rax
jb 0x3097
addq %r10, %rsi
movl (%rsi), %eax
cmpl (%r14), %eax
jne 0x3097
leaq 0x1(%r12), %r13
movb $0x0, (%r12)
movl %r14d, %eax
subl %esi, %eax
movw %ax, 0x1(%r12)
leaq 0x4(%r14), %rdi
addq $0x4, %rsi
movq -0x58(%rbp), %rdx
callq 0x135af
leal 0x4(%rax), %ecx
addq %rcx, %r14
movl %eax, %ecx
shrl $0x8, %ecx
addq %r12, %rcx
addq $0x9, %rcx
cmpq -0x48(%rbp), %rcx
jbe 0x2f60
jmp 0x30b8
leaq 0x2(%r14), %rax
cmpq -0x30(%rbp), %rax
movl -0x34(%rbp), %esi
movl -0x60(%rbp), %ecx
jbe 0x2d93
jmp 0x3b73
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
jbe 0x30cb
xorl %edi, %edi
movl %edi, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq (%r10,%rax), %rcx
movq %rcx, -0x78(%rbp)
leaq (%r10,%rax), %r12
addq $-0xc, %r12
addq %r10, %rax
addq $-0x5, %rax
movq %rax, -0x58(%rbp)
movq (%r10), %rax
imulq %r13, %rax
shrq $0x1c, %rax
andl $0xfff, %eax            # imm = 0xFFF
andl $0x0, (%r11,%rax,4)
movl %esi, %ecx
shll $0x6, %ecx
incl %ecx
andl $0x3ffffff, %esi        # imm = 0x3FFFFFF
leaq 0x2(%r10), %rax
leaq -0x1(%r10), %rdx
movq %rdx, -0x60(%rbp)
movq %r10, %r13
movq %r15, %rdi
movq %r12, -0x48(%rbp)
movl %esi, -0x34(%rbp)
movl %ecx, -0x80(%rbp)
movq %rdi, -0x30(%rbp)
leaq 0x1(%r13), %r15
movq 0x1(%r13), %rdx
movq %rax, %rdi
movabsq $0xcf1bbcdcbb, %rax     # imm = 0xCF1BBCDCBB
imulq %rax, %rdx
shrq $0x1c, %rdx
movl %edx, %r8d
andl $0xfff, %r8d            # imm = 0xFFF
movl (%r11,%r8,4), %eax
movq (%rdi), %rdx
movl %r15d, %r9d
subl %r10d, %r9d
movl %r9d, (%r11,%r8,4)
leaq (%r10,%rax), %r8
addq $0xffff, %r8            # imm = 0xFFFF
cmpq %r15, %r8
jb 0x317c
leaq (%r10,%rax), %rbx
movl (%rbx), %r8d
cmpl (%r15), %r8d
je 0x319a
movl %esi, %eax
addq %rdi, %rax
leal 0x1(%rcx), %r8d
shrl $0x6, %ecx
movl %ecx, %esi
movl %r8d, %ecx
movq %rdi, %r15
cmpq %r12, %rax
jbe 0x3130
jmp 0x3ad7
cmpq %r13, %r15
jbe 0x31e5
testl %eax, %eax
movq -0x30(%rbp), %r14
je 0x31e9
decq %r15
addq -0x60(%rbp), %rax
movq %r15, %rcx
movb (%rcx), %dl
cmpb (%rax), %dl
jne 0x31d7
leaq -0x1(%rcx), %r15
leaq -0x1(%rax), %rbx
cmpq %r13, %rcx
jbe 0x31cf
movq %r15, %rcx
cmpq %r10, %rax
movq %rbx, %rax
ja 0x31b1
incq %r15
incq %rbx
jmp 0x31e9
incq %rcx
incq %rax
movq %rax, %rbx
movq %rcx, %r15
jmp 0x31e9
movq -0x30(%rbp), %r14
movq %r15, %r12
subq %r13, %r12
leaq 0x1(%r14), %rdi
cmpl $0xf, %r12d
jb 0x3275
leal -0xf(%r12), %eax
movb $-0x10, (%r14)
cmpl $0xff, %eax
jl 0x326e
movl $0x1fd, %ecx            # imm = 0x1FD
cmpl %ecx, %eax
cmovael %ecx, %eax
addl %r13d, %eax
negl %eax
addl %r15d, %eax
addl $0xef, %eax
movl %eax, -0x70(%rbp)
xorl %edx, %edx
movl $0xff, %ecx
divl %ecx
movq %rdx, -0x90(%rbp)
movq %rax, -0x88(%rbp)
leaq 0x1(%rax), %rdx
movl $0xff, %esi
callq 0x2190
movq -0x90(%rbp), %rcx
subl -0x70(%rbp), %ecx
movq -0x88(%rbp), %rax
leaq (%r14,%rax), %rdi
addq $0x2, %rdi
movl %r15d, %eax
subl %r13d, %eax
addl %ecx, %eax
addl $0xfffffef2, %eax       # imm = 0xFFFFFEF2
movb %al, (%rdi)
incq %rdi
jmp 0x327e
movl %r12d, %eax
shlb $0x4, %al
movb %al, (%r14)
movl %r12d, %r12d
addq %rdi, %r12
movq (%r13), %rax
movq %rax, (%rdi)
addq $0x8, %rdi
addq $0x8, %r13
cmpq %r12, %rdi
jb 0x3284
movq -0x30(%rbp), %r14
movq %r15, %r13
movq -0x68(%rbp), %r15
movl %r13d, %eax
subl %ebx, %eax
movw %ax, (%r12)
leaq 0x2(%r12), %rax
movq %rax, -0x30(%rbp)
leaq 0x4(%r13), %rdi
addq $0x4, %rbx
movq %rbx, %rsi
movq -0x58(%rbp), %rdx
callq 0x135af
movl %eax, %ebx
movb (%r14), %al
cmpl $0xf, %ebx
jb 0x3326
addb $0xf, %al
movb %al, (%r14)
leal -0xf(%rbx), %r14d
cmpl $0x1fe, %r14d           # imm = 0x1FE
jb 0x333d
leal -0x20d(%rbx), %eax
xorl %edx, %edx
movl $0x1fe, %ecx            # imm = 0x1FE
divl %ecx
movl %edx, %r14d
movl %eax, %r15d
addl %r15d, %r15d
leaq 0x2(%r15), %rdx
movq -0x30(%rbp), %rdi
movl $0xff, %esi
callq 0x2190
leaq (%r12,%r15), %rdi
addq $0x4, %rdi
movq -0x68(%rbp), %r15
movq -0x40(%rbp), %r10
movq -0x50(%rbp), %r11
jmp 0x3349
addb %bl, %al
movb %al, (%r14)
movq -0x40(%rbp), %r10
movq -0x50(%rbp), %r11
movq -0x30(%rbp), %rdi
movq -0x48(%rbp), %r12
jmp 0x3369
movq -0x40(%rbp), %r10
movq -0x50(%rbp), %r11
movq -0x30(%rbp), %rdi
cmpl $0xff, %r14d
movq -0x48(%rbp), %r12
jb 0x3363
addl $0xffffff01, %r14d      # imm = 0xFFFFFF01
movb $-0x1, (%rdi)
incq %rdi
movb %r14b, (%rdi)
incq %rdi
addl $0x4, %ebx
addq %rbx, %r13
cmpq %r12, %r13
ja 0x3adf
leaq -0x2(%r13), %rax
movq -0x2(%r13), %rcx
movabsq $0xcf1bbcdcbb, %rdx     # imm = 0xCF1BBCDCBB
imulq %rdx, %rcx
shrq $0x1c, %rcx
movl $0xfff, %esi            # imm = 0xFFF
andl %esi, %ecx
subl %r10d, %eax
movl %eax, (%r11,%rcx,4)
movq (%r13), %rax
imulq %rdx, %rax
shrq $0x1c, %rax
andl %esi, %eax
movl (%r11,%rax,4), %ebx
movl %r13d, %ecx
subl %r10d, %ecx
movl %ecx, (%r11,%rax,4)
leaq (%r10,%rbx), %rax
addq $0xffff, %rax           # imm = 0xFFFF
cmpq %r13, %rax
jb 0x33e5
addq %r10, %rbx
movl (%rbx), %eax
cmpl (%r13), %eax
jne 0x33e5
leaq 0x1(%rdi), %r12
movb $0x0, (%rdi)
movq %rdi, %r14
jmp 0x32a3
leaq 0x2(%r13), %rax
cmpq %r12, %rax
movl -0x34(%rbp), %esi
movl -0x80(%rbp), %ecx
jbe 0x3124
jmp 0x3adf
movq -0x60(%rbp), %rax
leaq (%r10,%rax), %rbx
addq $-0xc, %rbx
addq %r10, %rax
addq $-0x5, %rax
movq %rax, -0x30(%rbp)
movq (%r10), %rax
imulq %r13, %rax
shrq $0x1b, %rax
andl $0x1fff, %eax           # imm = 0x1FFF
andw $0x0, (%r11,%rax,2)
shll $0x6, %esi
leaq -0x1(%r10), %rax
movq %rax, -0x78(%rbp)
pushq $0x1
popq %rdi
movq %r15, %r12
movq %r10, %r14
movl %esi, -0x34(%rbp)
movq %rbx, -0x58(%rbp)
leaq 0x1(%r14), %rcx
movq 0x1(%r14), %rdx
movq %rcx, %r15
movl %edi, %ecx
addq %r15, %rcx
cmpq %rbx, %rcx
ja 0x3c37
movl %esi, %edi
shrl $0x6, %edi
incl %esi
imulq %r13, %rdx
shrq $0x1b, %rdx
andl $0x1fff, %edx           # imm = 0x1FFF
movzwl (%r11,%rdx,2), %eax
movq (%rcx), %r8
movl %r15d, %r9d
subl %r10d, %r9d
movw %r9w, (%r11,%rdx,2)
movl (%r10,%rax), %r9d
movq %r8, %rdx
cmpl (%r15), %r9d
jne 0x344d
leaq (%r10,%rax), %rbx
cmpq %r14, %r15
jbe 0x34dc
testw %ax, %ax
je 0x34dc
decq %r15
addq -0x78(%rbp), %rax
movq %r15, %rcx
movb (%rcx), %dl
cmpb (%rax), %dl
jne 0x34d0
leaq -0x1(%rcx), %r15
leaq -0x1(%rax), %rbx
cmpq %r14, %rcx
jbe 0x34c8
movq %r15, %rcx
cmpq %r10, %rax
movq %rbx, %rax
ja 0x34aa
incq %r15
incq %rbx
jmp 0x34dc
incq %rcx
incq %rax
movq %rax, %rbx
movq %rcx, %r15
movq %r15, %rcx
subq %r14, %rcx
movl %ecx, %r13d
leaq (%r12,%r13), %rsi
incq %rsi
xorl %edi, %edi
movl %ecx, %eax
xorl %edx, %edx
movl $0xff, %r8d
divl %r8d
addq %rsi, %rax
addq $0x8, %rax
cmpq -0x48(%rbp), %rax
ja 0x30ba
leaq 0x1(%r12), %rdi
cmpl $0xf, %ecx
jb 0x3591
leal -0xf(%rcx), %eax
movb $-0x10, (%r12)
cmpl $0xff, %eax
jl 0x358a
movl $0x1fd, %ecx            # imm = 0x1FD
cmpl %ecx, %eax
cmovael %ecx, %eax
addl %r14d, %eax
negl %eax
addl %r15d, %eax
addl $0xef, %eax
movl %eax, -0x70(%rbp)
xorl %edx, %edx
movl $0xff, %ecx
divl %ecx
movq %rdx, -0x90(%rbp)
movq %rax, -0x88(%rbp)
leaq 0x1(%rax), %rdx
movl $0xff, %esi
callq 0x2190
movq -0x90(%rbp), %rcx
subl -0x70(%rbp), %ecx
movq -0x88(%rbp), %rax
leaq (%r12,%rax), %rdi
addq $0x2, %rdi
movl %r15d, %eax
subl %r14d, %eax
addl %ecx, %eax
addl $0xfffffef2, %eax       # imm = 0xFFFFFEF2
movb %al, (%rdi)
incq %rdi
jmp 0x3598
shlb $0x4, %cl
movb %cl, (%r12)
addq %rdi, %r13
movq (%r14), %rax
movq %rax, (%rdi)
addq $0x8, %rdi
addq $0x8, %r14
cmpq %r13, %rdi
jb 0x359b
movl %r15d, %eax
subl %ebx, %eax
movw %ax, (%r13)
leaq 0x4(%r15), %rdi
addq $0x4, %rbx
movq %rbx, %rsi
movq -0x30(%rbp), %rdx
callq 0x135af
movl %eax, %ecx
shrl $0x8, %ecx
addq %r13, %rcx
addq $0x8, %rcx
cmpq -0x48(%rbp), %rcx
ja 0x30b8
movl %eax, %ecx
addl $0x4, %ecx
addq %rcx, %r15
movq %r15, %r14
movq -0x68(%rbp), %r15
movq -0x58(%rbp), %rbx
leaq 0x2(%r13), %rdi
movb (%r12), %cl
cmpl $0xf, %eax
jb 0x3675
addb $0xf, %cl
movb %cl, (%r12)
leal -0xf(%rax), %ebx
cmpl $0x1fe, %ebx            # imm = 0x1FE
jb 0x3641
addl $0xfffffdf3, %eax       # imm = 0xFFFFFDF3
xorl %edx, %edx
movl $0x1fe, %ecx            # imm = 0x1FE
divl %ecx
movl %edx, %ebx
movl %eax, %r12d
addl %r12d, %r12d
leaq 0x2(%r12), %rdx
movl $0xff, %esi
callq 0x2190
leaq (%r12,%r13), %rdi
addq $0x4, %rdi
cmpl $0xff, %ebx
movq -0x40(%rbp), %r10
movq -0x50(%rbp), %r11
movabsq $0xcf1bbcdcbb, %r13     # imm = 0xCF1BBCDCBB
jb 0x3667
addl $0xffffff01, %ebx       # imm = 0xFFFFFF01
movb $-0x1, (%rdi)
incq %rdi
movb %bl, (%rdi)
incq %rdi
movq %rdi, %r12
movq -0x58(%rbp), %rbx
jmp 0x3690
addb %al, %cl
movb %cl, (%r12)
movq %rdi, %r12
movq -0x40(%rbp), %r10
movq -0x50(%rbp), %r11
movabsq $0xcf1bbcdcbb, %r13     # imm = 0xCF1BBCDCBB
cmpq %rbx, %r14
ja 0x2c53
leaq -0x2(%r14), %rax
movq -0x2(%r14), %rcx
imulq %r13, %rcx
shrq $0x1b, %rcx
movl $0x1fff, %edx           # imm = 0x1FFF
andl %edx, %ecx
subl %r10d, %eax
movw %ax, (%r11,%rcx,2)
movq (%r14), %rax
imulq %r13, %rax
shrq $0x1b, %rax
andl %edx, %eax
movzwl (%r11,%rax,2), %ecx
leaq (%r10,%rcx), %rsi
movl %r14d, %edx
subl %r10d, %edx
movw %dx, (%r11,%rax,2)
leaq (%r10,%rcx), %rax
addq $0xffff, %rax           # imm = 0xFFFF
cmpq %r14, %rax
jb 0x3736
movl (%rsi), %eax
cmpl (%r14), %eax
jne 0x3736
leaq 0x1(%r12), %r13
movb $0x0, (%r12)
movl %r14d, %eax
subl %esi, %eax
movw %ax, 0x1(%r12)
leaq 0x4(%r14), %rdi
addq $0x4, %rsi
movq -0x30(%rbp), %rdx
callq 0x135af
leal 0x4(%rax), %ecx
addq %rcx, %r14
movl %eax, %ecx
shrl $0x8, %ecx
addq %r12, %rcx
addq $0x9, %rcx
cmpq -0x48(%rbp), %rcx
jbe 0x35f5
jmp 0x30b8
movl -0x34(%rbp), %esi
pushq $0x1
popq %rdi
jmp 0x3445
leaq (%r10,%rdx), %r12
addq $-0xc, %r12
leaq (%r10,%rdx), %rax
addq $-0x5, %rax
movq %rax, -0x48(%rbp)
movq (%r10), %rax
imulq %r13, %rax
shrq $0x1b, %rax
andl $0x1fff, %eax           # imm = 0x1FFF
andw $0x0, (%r11,%rax,2)
shll $0x6, %esi
leaq -0x1(%r10), %rax
movq %rax, -0x60(%rbp)
movq %r15, -0x30(%rbp)
movq %r10, %r15
movq %r12, -0x58(%rbp)
movl %esi, -0x34(%rbp)
leaq 0x1(%r15), %rcx
movq 0x1(%r15), %rdx
pushq $0x1
popq %rdi
movq %rcx, %rbx
movl %edi, %ecx
addq %rbx, %rcx
cmpq %r12, %rcx
ja 0x3c2e
movl %esi, %edi
shrl $0x6, %edi
incl %esi
imulq %r13, %rdx
shrq $0x1b, %rdx
andl $0x1fff, %edx           # imm = 0x1FFF
movzwl (%r11,%rdx,2), %eax
movq (%rcx), %r8
movl %ebx, %r9d
subl %r10d, %r9d
movw %r9w, (%r11,%rdx,2)
movl (%r10,%rax), %r9d
movq %r8, %rdx
cmpl (%rbx), %r9d
jne 0x378f
leaq (%r10,%rax), %r14
cmpq %r15, %rbx
jbe 0x3824
testw %ax, %ax
movq -0x30(%rbp), %rsi
je 0x3828
decq %rbx
addq -0x60(%rbp), %rax
movq %rbx, %rcx
movb (%rcx), %dl
cmpb (%rax), %dl
jne 0x3816
leaq -0x1(%rcx), %rbx
leaq -0x1(%rax), %r14
cmpq %r15, %rcx
jbe 0x380e
movq %rbx, %rcx
cmpq %r10, %rax
movq %r14, %rax
ja 0x37f0
incq %rbx
incq %r14
jmp 0x3828
incq %rcx
incq %rax
movq %rax, %r14
movq %rcx, %rbx
jmp 0x3828
movq -0x30(%rbp), %rsi
movq %rbx, %r12
subq %r15, %r12
leaq 0x1(%rsi), %rdi
cmpl $0xf, %r12d
jb 0x38b4
leal -0xf(%r12), %eax
movb $-0x10, (%rsi)
cmpl $0xff, %eax
jl 0x38ad
movl $0x1fd, %ecx            # imm = 0x1FD
cmpl %ecx, %eax
cmovael %ecx, %eax
addl %r15d, %eax
negl %eax
addl %ebx, %eax
addl $0xef, %eax
movl %eax, -0x78(%rbp)
xorl %edx, %edx
movl $0xff, %ecx
divl %ecx
movl %edx, %r13d
movq %rax, -0x70(%rbp)
leaq 0x1(%rax), %rdx
movq %rsi, -0x30(%rbp)
movl $0xff, %esi
callq 0x2190
subl -0x78(%rbp), %r13d
movq -0x70(%rbp), %rax
movq -0x30(%rbp), %rcx
leaq (%rcx,%rax), %rdi
addq $0x2, %rdi
movl %ebx, %eax
subl %r15d, %eax
addl %r13d, %eax
addl $0xfffffef2, %eax       # imm = 0xFFFFFEF2
movabsq $0xcf1bbcdcbb, %r13     # imm = 0xCF1BBCDCBB
movb %al, (%rdi)
incq %rdi
jmp 0x38bc
movl %r12d, %eax
shlb $0x4, %al
movb %al, (%rsi)
movl %r12d, %r12d
addq %rdi, %r12
movq (%r15), %rax
movq %rax, (%rdi)
addq $0x8, %rdi
addq $0x8, %r15
cmpq %r12, %rdi
jb 0x38c2
movq -0x30(%rbp), %r15
movl %ebx, %eax
subl %r14d, %eax
movw %ax, (%r12)
leaq 0x2(%r12), %rax
movq %rax, -0x30(%rbp)
leaq 0x4(%rbx), %rdi
addq $0x4, %r14
movq %r14, %rsi
movq -0x48(%rbp), %rdx
callq 0x135af
movl %eax, %r14d
movb (%r15), %al
cmpl $0xf, %r14d
jb 0x3956
addb $0xf, %al
movb %al, (%r15)
leal -0xf(%r14), %r13d
cmpl $0x1fe, %r13d           # imm = 0x1FE
jb 0x396e
leal -0x20d(%r14), %eax
xorl %edx, %edx
movl $0x1fe, %ecx            # imm = 0x1FE
divl %ecx
movl %edx, %r13d
movl %eax, %r15d
addl %r15d, %r15d
leaq 0x2(%r15), %rdx
movq -0x30(%rbp), %rdi
movl $0xff, %esi
callq 0x2190
addq %r12, %r15
addq $0x4, %r15
movq -0x40(%rbp), %r10
jmp 0x3976
addb %r14b, %al
movb %al, (%r15)
movq -0x40(%rbp), %r10
movq -0x50(%rbp), %r11
movq -0x58(%rbp), %r12
movq -0x30(%rbp), %r15
jmp 0x39a5
movq -0x40(%rbp), %r10
movq -0x30(%rbp), %r15
cmpl $0xff, %r13d
movq -0x50(%rbp), %r11
movq -0x58(%rbp), %r12
jb 0x3995
addl $0xffffff01, %r13d      # imm = 0xFFFFFF01
movb $-0x1, (%r15)
incq %r15
movb %r13b, (%r15)
incq %r15
movabsq $0xcf1bbcdcbb, %r13     # imm = 0xCF1BBCDCBB
addl $0x4, %r14d
addq %r14, %rbx
cmpq %r12, %rbx
ja 0x3a22
leaq -0x2(%rbx), %rax
movq -0x2(%rbx), %rcx
imulq %r13, %rcx
shrq $0x1b, %rcx
movl $0x1fff, %edx           # imm = 0x1FFF
andl %edx, %ecx
subl %r10d, %eax
movw %ax, (%r11,%rcx,2)
movq (%rbx), %rax
imulq %r13, %rax
shrq $0x1b, %rax
andl %edx, %eax
movzwl (%r11,%rax,2), %ecx
leaq (%r10,%rcx), %r14
movl %ebx, %edx
subl %r10d, %edx
movw %dx, (%r11,%rax,2)
leaq (%r10,%rcx), %rax
addq $0xffff, %rax           # imm = 0xFFFF
cmpq %rbx, %rax
jb 0x3a13
movl (%r14), %eax
cmpl (%rbx), %eax
jne 0x3a13
leaq 0x1(%r15), %r12
movb $0x0, (%r15)
jmp 0x38d9
movq %r15, -0x30(%rbp)
movq %rbx, %r15
movl -0x34(%rbp), %esi
jmp 0x3784
movq %r15, %rdi
movq %rbx, %r15
movq -0x80(%rbp), %r12
subq %r15, %r12
cmpq $0xf, %r12
jb 0x3a8a
leaq -0xf(%r12), %rax
movb $-0x10, (%rdi)
movq %rdi, %rbx
incq %rdi
cmpq $0xff, %rax
jb 0x3a86
leaq -0x10e(%r12), %rax
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %rax, %r14
leaq 0x1(%rax), %rdx
movl $0xff, %esi
callq 0x2190
imulq $-0xff, %r14, %rax
addq %r12, %rax
addq $-0x10e, %rax           # imm = 0xFEF2
leaq (%r14,%rbx), %rdi
addq $0x2, %rdi
movb %al, (%rdi)
jmp 0x3a92
movl %r12d, %eax
shlb $0x4, %al
movb %al, (%rdi)
incq %rdi
movq %rdi, %rbx
movq %r15, %rsi
movq %r12, %rdx
callq 0x2240
movq %rbx, %rdi
addl %r12d, %edi
subl -0x68(%rbp), %edi
jmp 0x30ba
movl %r10d, %eax
shlb $0x4, %al
movb %al, (%r12)
incq %r12
movq %r12, %rdi
movq %r14, %rsi
movq %r10, %rdx
movq %r10, %rbx
callq 0x2240
addl %ebx, %r12d
jmp 0x3c23
movq -0x68(%rbp), %r15
movq -0x30(%rbp), %rdi
movq -0x78(%rbp), %r8
subq %r13, %r8
cmpq $0xf, %r8
jb 0x3b45
leaq -0xf(%r8), %rax
movb $-0x10, (%rdi)
movq %rdi, %r14
incq %rdi
cmpq $0xff, %rax
jb 0x3b41
leaq -0x10e(%r8), %rax
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %rax, %rbx
leaq 0x1(%rax), %rdx
movl $0xff, %esi
movq %r8, %r12
callq 0x2190
movq %r12, %r8
imulq $-0xff, %rbx, %rax
addq %r12, %rax
addq $-0x10e, %rax           # imm = 0xFEF2
leaq (%rbx,%r14), %rdi
addq $0x2, %rdi
movb %al, (%rdi)
jmp 0x3b4d
movl %r8d, %eax
shlb $0x4, %al
movb %al, (%rdi)
incq %rdi
movq %rdi, %rbx
movq %r13, %rsi
movq %r8, %rdx
movq %r8, %r14
callq 0x2240
movq %rbx, %rdi
addl %r14d, %edi
subl %r15d, %edi
jmp 0x30ba
movq -0x68(%rbp), %r15
movq -0x70(%rbp), %r13
subq %r14, %r13
leaq 0xf0(%r13), %rax
xorl %edi, %edi
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %r12, %rcx
subq %r15, %rcx
addq %r13, %rcx
addq %rcx, %rax
incq %rax
movl -0x80(%rbp), %ecx
cmpq %rcx, %rax
ja 0x30ba
cmpq $0xf, %r13
jb 0x3c05
leaq -0xf(%r13), %rax
movb $-0x10, (%r12)
leaq 0x1(%r12), %rdi
cmpq $0xff, %rax
jb 0x3bfe
leaq -0x10e(%r13), %rax
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %rax, %rbx
leaq 0x1(%rax), %rdx
movl $0xff, %esi
callq 0x2190
imulq $-0xff, %rbx, %rax
addq %r13, %rax
addq $-0x10e, %rax           # imm = 0xFEF2
leaq (%rbx,%r12), %rdi
addq $0x2, %rdi
movb %al, (%rdi)
movq %rdi, %r12
jmp 0x3c0f
movl %r13d, %eax
shlb $0x4, %al
movb %al, (%r12)
incq %r12
movq %r12, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x2240
addl %r13d, %r12d
subl %r15d, %r12d
movl %r12d, %edi
jmp 0x30ba
movq -0x30(%rbp), %rdi
jmp 0x3a28
movq -0x68(%rbp), %r15
jmp 0x2c53