// File: /workspace/github_c_makefile_star2_O2/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 $0x48, %rsp
movl %r9d, %r13d
movl %r8d, -0x58(%rbp)
movl %ecx, %ebx
movq %rdx, -0x48(%rbp)
movq %rsi, %r14
movq %rdi, %r12
xorl %r15d, %r15d
movl $0x4020, %edx           # imm = 0x4020
xorl %esi, %esi
callq 0x2190
cmpl $0x2, %r13d
pushq $0x1
popq %rax
cmovll %eax, %r13d
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
ja 0xb5f3
movl $0xff, %ecx
movl %ebx, %eax
xorl %edx, %edx
divl %ecx
leal (%rbx,%rax), %r15d
addl $0x10, %r15d
movl %ebx, %eax
movslq %ebx, %rsi
movl -0x58(%rbp), %ecx
cmpl %ecx, %r15d
jle 0xb8be
movslq %ecx, %rcx
movq -0x48(%rbp), %r15
addq %r15, %rcx
movq %rcx, -0x50(%rbp)
cmpl $0x1000a, %ebx          # imm = 0x1000A
jg 0xb8f2
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
ja 0xbba4
movq %rsi, -0x60(%rbp)
movl %r13d, %ecx
movq %r15, %r13
movq %r14, %rsi
cmpl $0xd, %ebx
jb 0xc1b2
movq (%r14), %rax
movabsq $0xcf1bbcdcbb, %rbx     # imm = 0xCF1BBCDCBB
imulq %rbx, %rax
shrq $0x1b, %rax
andl $0x1fff, %eax           # imm = 0x1FFF
andw $0x0, (%r12,%rax,2)
movq -0x60(%rbp), %rax
leaq (%r14,%rax), %rdx
addq $-0xc, %rdx
movq %rdx, -0x40(%rbp)
addq %r14, %rax
addq $-0x5, %rax
movq %rax, -0x38(%rbp)
movl %ecx, %edi
shll $0x6, %edi
pushq $0x1
popq %r9
movq %r15, %r13
movq %r14, %rsi
movl %edi, -0x2c(%rbp)
leaq 0x1(%rsi), %rcx
movq 0x1(%rsi), %rdx
movq %rcx, %r8
movl %r9d, %ecx
addq %r8, %rcx
cmpq -0x40(%rbp), %rcx
ja 0xc1b2
movl %edi, %r9d
shrl $0x6, %r9d
incl %edi
imulq %rbx, %rdx
shrq $0x1b, %rdx
andl $0x1fff, %edx           # imm = 0x1FFF
movzwl (%r12,%rdx,2), %eax
movq (%rcx), %r10
movl %r8d, %r11d
subl %r14d, %r11d
movw %r11w, (%r12,%rdx,2)
movl (%r14,%rax), %r11d
movq %r10, %rdx
cmpl (%r8), %r11d
jne 0xb695
addq %r14, %rax
movl %r8d, %edx
shlb $0x4, %dl
movl %esi, %ecx
shlb $0x4, %cl
subb %cl, %dl
xorl %edi, %edi
movq %rdi, %r9
movl %edx, %r10d
leaq (%rax,%rdi), %rcx
leaq (%r8,%rdi), %r15
cmpq %rsi, %r15
jbe 0xb71c
cmpq %r14, %rcx
jbe 0xb71c
movb -0x1(%r8,%r9), %r11b
leaq -0x1(%r9), %rdi
leal -0x10(%r10), %edx
cmpb -0x1(%rax,%r9), %r11b
je 0xb6f0
movl %r8d, %edi
subl %esi, %edi
leal (%rdi,%r9), %ebx
addq %r9, %rdi
leaq (%rbx,%r13), %rax
incq %rax
movq %rax, -0x68(%rbp)
movl %edi, %eax
xorl %edx, %edx
movl $0xff, %r11d
divl %r11d
movq -0x68(%rbp), %rdx
addq %rdx, %rax
addq $0x8, %rax
cmpq -0x50(%rbp), %rax
ja 0xbba4
cmpl $0xf, %edi
jb 0xb784
subl %esi, %r8d
leal (%r8,%r9), %edx
addl $-0xf, %edx
movb $-0x10, (%r13)
leaq 0x2(%r13), %rax
cmpl $0xff, %edx
jl 0xb78e
movb $-0x1, -0x1(%rax)
addl $0xffffff01, %edx       # imm = 0xFFFFFF01
incq %rax
jmp 0xb76d
leaq 0x1(%r13), %rax
movb %r10b, (%r13)
jmp 0xb791
movb %dl, -0x1(%rax)
addq %rax, %rbx
movq (%rsi), %rdx
movq %rdx, (%rax)
addq $0x8, %rax
addq $0x8, %rsi
cmpq %rbx, %rax
jb 0xb794
jmp 0xb7b2
leaq 0x1(%r13), %rbx
movb $0x0, (%r13)
movl %r15d, %eax
subl %ecx, %eax
movw %ax, (%rbx)
leaq 0x4(%r15), %rdi
addq $0x4, %rcx
movq %rcx, %rsi
movq -0x38(%rbp), %rdx
callq 0x111df
movl %eax, %ecx
shrl $0x8, %ecx
addq %rbx, %rcx
addq $0x8, %rcx
cmpq -0x50(%rbp), %rcx
ja 0xbba4
addq $0x2, %rbx
movb (%r13), %cl
cmpl $0xf, %eax
jb 0xb813
addb $0xf, %cl
movb %cl, (%r13)
leal -0xf(%rax), %ecx
cmpl $0x1fe, %ecx            # imm = 0x1FE
jb 0xb81b
orw $-0x1, (%rbx)
addq $0x2, %rbx
addl $0xfffffe02, %ecx       # imm = 0xFFFFFE02
jmp 0xb7fb
addb %al, %cl
movb %cl, (%r13)
jmp 0xb834
cmpl $0xff, %ecx
jb 0xb82f
addl $0xffffff01, %ecx       # imm = 0xFFFFFF01
movb $-0x1, (%rbx)
incq %rbx
movb %cl, (%rbx)
incq %rbx
movq %rbx, %r13
addl $0x4, %eax
addq %rax, %r15
cmpq -0x40(%rbp), %r15
movabsq $0xcf1bbcdcbb, %rbx     # imm = 0xCF1BBCDCBB
ja 0xc1ab
leaq -0x2(%r15), %rax
movq -0x2(%r15), %rcx
imulq %rbx, %rcx
shrq $0x1b, %rcx
movl $0x1fff, %edx           # imm = 0x1FFF
andl %edx, %ecx
subl %r14d, %eax
movw %ax, (%r12,%rcx,2)
movq (%r15), %rax
imulq %rbx, %rax
shrq $0x1b, %rax
andl %edx, %eax
movzwl (%r12,%rax,2), %edx
leaq (%r14,%rdx), %rcx
movl %r15d, %esi
subl %r14d, %esi
movw %si, (%r12,%rax,2)
leaq (%r14,%rdx), %rax
addq $0xffff, %rax           # imm = 0xFFFF
cmpq %r15, %rax
jb 0xb8ab
movl (%rcx), %eax
cmpl (%r15), %eax
je 0xb7a9
movq %r15, %rsi
movq -0x48(%rbp), %r15
movl -0x2c(%rbp), %edi
pushq $0x1
popq %r9
jmp 0xb68d
cmpl $0x1000a, %ebx          # imm = 0x1000A
jg 0xbb9c
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
ja 0xbba4
leaq (%r14,%rsi), %rdx
cmpl $0xd, %ebx
jae 0xbebb
movq -0x48(%rbp), %rbx
movq %rbx, %r13
movq %r14, %rsi
jmp 0xc149
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
ja 0xbba4
leaq (%r14,%rax), %rcx
movq %rcx, -0x60(%rbp)
movq (%r14), %rcx
movabsq $0xcf1bbcdcbb, %r11     # imm = 0xCF1BBCDCBB
imulq %r11, %rcx
shrq $0x1c, %rcx
andl $0xfff, %ecx            # imm = 0xFFF
andl $0x0, (%r12,%rcx,4)
movq %r15, %rcx
leaq (%r14,%rax), %r15
addq $-0xc, %r15
addq %r14, %rax
addq $-0x5, %rax
movq %rax, -0x38(%rbp)
shll $0x6, %r13d
pushq $0x1
popq %rax
movq %rcx, -0x40(%rbp)
movl %r13d, %ecx
movq %r14, %rsi
movl %r13d, -0x2c(%rbp)
leaq 0x1(%rsi), %r8
movq 0x1(%rsi), %rdx
movl %eax, %edi
addq %r8, %rdi
cmpq %r15, %rdi
ja 0xc268
imulq %r11, %rdx
shrq $0x1c, %rdx
movl %edx, %r9d
andl $0xfff, %r9d            # imm = 0xFFF
movl (%r12,%r9,4), %eax
movq (%rdi), %rdx
movl %r8d, %r10d
subl %r14d, %r10d
movl %r10d, (%r12,%r9,4)
leaq (%r14,%rax), %r9
addq $0xffff, %r9            # imm = 0xFFFF
cmpq %r8, %r9
jb 0xb9a5
addq %r14, %rax
movl (%rax), %r9d
cmpl (%r8), %r9d
je 0xb9b1
movl %ecx, %eax
shrl $0x6, %eax
incl %ecx
movq %rdi, %r8
jmp 0xb959
movl %r8d, %edx
shlb $0x4, %dl
movl %esi, %ecx
shlb $0x4, %cl
subb %cl, %dl
xorl %edi, %edi
movq %rdi, %r9
movl %edx, %r10d
leaq (%rax,%rdi), %rcx
leaq (%r8,%rdi), %rbx
cmpq %rsi, %rbx
jbe 0xb9ec
cmpq %r14, %rcx
jbe 0xb9ec
movb -0x1(%r8,%r9), %r11b
leaq -0x1(%r9), %rdi
leal -0x10(%r10), %edx
cmpb -0x1(%rax,%r9), %r11b
je 0xb9c0
movl %r8d, %edi
subl %esi, %edi
leal (%rdi,%r9), %r13d
addq %r9, %rdi
movq -0x40(%rbp), %rax
addq %r13, %rax
incq %rax
movq %rax, -0x68(%rbp)
movl %edi, %eax
xorl %edx, %edx
movl $0xff, %r11d
divl %r11d
movq -0x68(%rbp), %rdx
addq %rdx, %rax
addq $0x8, %rax
cmpq -0x50(%rbp), %rax
ja 0xbba4
cmpl $0xf, %edi
jb 0xba59
subl %esi, %r8d
leal (%r8,%r9), %edx
addl $-0xf, %edx
movq -0x40(%rbp), %rax
movb $-0x10, (%rax)
addq $0x2, %rax
cmpl $0xff, %edx
jl 0xba66
movb $-0x1, -0x1(%rax)
addl $0xffffff01, %edx       # imm = 0xFFFFFF01
incq %rax
jmp 0xba42
movq -0x40(%rbp), %rdx
leaq 0x1(%rdx), %rax
movb %r10b, (%rdx)
jmp 0xba69
movb %dl, -0x1(%rax)
addq %rax, %r13
movq (%rsi), %rdx
movq %rdx, (%rax)
addq $0x8, %rax
addq $0x8, %rsi
cmpq %r13, %rax
jb 0xba6c
jmp 0xba88
leaq 0x1(%rdi), %r13
movb $0x0, (%rdi)
movl %ebx, %eax
subl %ecx, %eax
movw %ax, (%r13)
leaq 0x4(%rbx), %rdi
addq $0x4, %rcx
movq %rcx, %rsi
movq -0x38(%rbp), %rdx
callq 0x111df
movl %eax, %ecx
shrl $0x8, %ecx
addq %r13, %rcx
addq $0x8, %rcx
cmpq -0x50(%rbp), %rcx
ja 0xbba4
addq $0x2, %r13
movq -0x40(%rbp), %rdx
movb (%rdx), %cl
cmpl $0xf, %eax
jb 0xbaec
addb $0xf, %cl
movb %cl, (%rdx)
leal -0xf(%rax), %ecx
cmpl $0x1fe, %ecx            # imm = 0x1FE
jb 0xbaf2
orw $-0x1, (%r13)
addq $0x2, %r13
addl $0xfffffe02, %ecx       # imm = 0xFFFFFE02
jmp 0xbad2
addb %al, %cl
movb %cl, (%rdx)
jmp 0xbb0f
cmpl $0xff, %ecx
jb 0xbb08
addl $0xffffff01, %ecx       # imm = 0xFFFFFF01
movb $-0x1, (%r13)
incq %r13
movb %cl, (%r13)
incq %r13
movq %r13, %rdi
addl $0x4, %eax
addq %rax, %rbx
cmpq %r15, %rbx
ja 0xbe53
leaq -0x2(%rbx), %rax
movq -0x2(%rbx), %rcx
movabsq $0xcf1bbcdcbb, %rdx     # imm = 0xCF1BBCDCBB
imulq %rdx, %rcx
shrq $0x1c, %rcx
movl $0xfff, %esi            # imm = 0xFFF
andl %esi, %ecx
subl %r14d, %eax
movl %eax, (%r12,%rcx,4)
movq (%rbx), %rax
imulq %rdx, %rax
shrq $0x1c, %rax
andl %esi, %eax
movl (%r12,%rax,4), %edx
leaq (%r14,%rdx), %rcx
movl %ebx, %esi
subl %r14d, %esi
movl %esi, (%r12,%rax,4)
leaq (%r14,%rdx), %rax
addq $0xffff, %rax           # imm = 0xFFFF
cmpq %rbx, %rax
movq %rdi, -0x40(%rbp)
jb 0xbb84
movl (%rcx), %eax
cmpl (%rbx), %eax
je 0xba81
movq %rbx, %rsi
movl -0x2c(%rbp), %ecx
movabsq $0xcf1bbcdcbb, %r11     # imm = 0xCF1BBCDCBB
pushq $0x1
popq %rax
jmp 0xb951
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
jbe 0xbbac
xorl %r8d, %r8d
jmp 0xc199
leaq (%r14,%rax), %rcx
movq %rcx, -0x58(%rbp)
leaq (%r14,%rax), %r15
addq $-0xc, %r15
leaq -0x5(%r14,%rax), %rax
movq %rax, -0x50(%rbp)
movq (%r14), %rax
movabsq $0xcf1bbcdcbb, %r11     # imm = 0xCF1BBCDCBB
imulq %r11, %rax
shrq $0x1c, %rax
andl $0xfff, %eax            # imm = 0xFFF
andl $0x0, (%r12,%rax,4)
shll $0x6, %r13d
movq -0x48(%rbp), %rax
movq %rax, -0x38(%rbp)
movl %r13d, %eax
movq %r14, %rsi
movl %r13d, -0x2c(%rbp)
movq %r15, -0x40(%rbp)
leaq 0x1(%rsi), %rcx
movq 0x1(%rsi), %rdx
pushq $0x1
popq %rdi
movl %edi, %r8d
addq %rcx, %r8
cmpq %r15, %r8
ja 0xc25f
imulq %r11, %rdx
shrq $0x1c, %rdx
movl %edx, %r9d
andl $0xfff, %r9d            # imm = 0xFFF
movl (%r12,%r9,4), %edi
movq (%r8), %rdx
movl %ecx, %r10d
subl %r14d, %r10d
movl %r10d, (%r12,%r9,4)
leaq (%r14,%rdi), %r9
addq $0xffff, %r9            # imm = 0xFFFF
cmpq %rcx, %r9
jb 0xbc56
addq %r14, %rdi
movl (%rdi), %r9d
cmpl (%rcx), %r9d
je 0xbc62
movl %eax, %edi
shrl $0x6, %edi
incl %eax
movq %r8, %rcx
jmp 0xbc09
movl %ecx, %r10d
shlb $0x4, %r10b
movl %esi, %eax
shlb $0x4, %al
subb %al, %r10b
xorl %r11d, %r11d
movq %r11, %r8
movl %r10d, %r9d
leaq (%rdi,%r11), %rax
leaq (%rcx,%r11), %rbx
movq %rbx, %rdx
subq %rsi, %rdx
jbe 0xbca3
cmpq %r14, %rax
jbe 0xbca3
movb -0x1(%rcx,%r8), %r13b
leaq -0x1(%r8), %r11
leal -0x10(%r9), %r10d
cmpb -0x1(%rdi,%r8), %r13b
je 0xbc74
movl %ecx, %edi
subl %esi, %edi
addl %r8d, %edi
cmpl $0xf, %edi
jb 0xbcda
subl %esi, %ecx
leal (%rcx,%r8), %edi
addl $-0xf, %edi
movq -0x38(%rbp), %rcx
movb $-0x10, (%rcx)
addq $0x2, %rcx
cmpl $0xff, %edi
jl 0xbce7
movb $-0x1, -0x1(%rcx)
addl $0xffffff01, %edi       # imm = 0xFFFFFF01
incq %rcx
jmp 0xbcc3
movq -0x38(%rbp), %rdi
leaq 0x1(%rdi), %rcx
movb %r9b, (%rdi)
jmp 0xbceb
movb %dil, -0x1(%rcx)
movl %edx, %edx
addq %rcx, %rdx
movq (%rsi), %rdi
movq %rdi, (%rcx)
addq $0x8, %rcx
addq $0x8, %rsi
cmpq %rdx, %rcx
jb 0xbcf0
movq -0x38(%rbp), %r15
movl %ebx, %ecx
subl %eax, %ecx
movw %cx, (%rdx)
movq %rdx, %r13
addq $0x2, %r13
leaq 0x4(%rbx), %rdi
addq $0x4, %rax
movq %rax, %rsi
movq -0x50(%rbp), %rdx
callq 0x111df
movb (%r15), %cl
cmpl $0xf, %eax
jb 0xbd77
addb $0xf, %cl
movb %cl, (%r15)
leal -0xf(%rax), %ecx
movq -0x40(%rbp), %r15
cmpl $0x1fe, %ecx            # imm = 0x1FE
jb 0xbd58
orw $-0x1, (%r13)
addq $0x2, %r13
addl $0xfffffe02, %ecx       # imm = 0xFFFFFE02
jmp 0xbd3e
cmpl $0xff, %ecx
jb 0xbd6e
addl $0xffffff01, %ecx       # imm = 0xFFFFFF01
movb $-0x1, (%r13)
incq %r13
movb %cl, (%r13)
incq %r13
jmp 0xbd80
addb %al, %cl
movb %cl, (%r15)
movq -0x40(%rbp), %r15
addl $0x4, %eax
addq %rax, %rbx
cmpq %r15, %rbx
ja 0xbe15
leaq -0x2(%rbx), %rax
movq -0x2(%rbx), %rcx
movabsq $0xcf1bbcdcbb, %rdx     # imm = 0xCF1BBCDCBB
imulq %rdx, %rcx
shrq $0x1c, %rcx
movl $0xfff, %esi            # imm = 0xFFF
andl %esi, %ecx
subl %r14d, %eax
movl %eax, (%r12,%rcx,4)
movq (%rbx), %rcx
imulq %rdx, %rcx
shrq $0x1c, %rcx
andl %esi, %ecx
movl (%r12,%rcx,4), %edx
leaq (%r14,%rdx), %rax
movl %ebx, %esi
subl %r14d, %esi
movl %esi, (%r12,%rcx,4)
leaq (%r14,%rdx), %rcx
addq $0xffff, %rcx           # imm = 0xFFFF
cmpq %rbx, %rcx
jb 0xbdfc
movl (%rax), %ecx
cmpl (%rbx), %ecx
jne 0xbdfc
leaq 0x1(%r13), %rdx
movb $0x0, (%r13)
movq %r13, %r15
jmp 0xbd07
movq %r13, -0x38(%rbp)
movq %rbx, %rsi
movl -0x2c(%rbp), %eax
movabsq $0xcf1bbcdcbb, %r11     # imm = 0xCF1BBCDCBB
jmp 0xbbfe
movq %r13, %r14
movq %rbx, %rsi
movq -0x58(%rbp), %r15
subq %rsi, %r15
cmpq $0xf, %r15
movq -0x48(%rbp), %rbx
jb 0xc11d
leaq -0xf(%r15), %rax
movb $-0x10, (%r14)
incq %r14
cmpq $0xff, %rax
jb 0xc128
movb $-0x1, (%r14)
addq $-0xff, %rax
jmp 0xbe38
movq %rbx, %rsi
movq -0x60(%rbp), %r14
subq %rsi, %r14
leaq 0xf0(%r14), %rax
xorl %r8d, %r8d
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %rdi, %rcx
movq -0x48(%rbp), %rbx
subq %rbx, %rcx
addq %r14, %rcx
addq %rcx, %rax
incq %rax
movl -0x58(%rbp), %ecx
cmpq %rcx, %rax
ja 0xc199
cmpq $0xf, %r14
jb 0xc237
leaq -0xf(%r14), %rax
movb $-0x10, (%rdi)
incq %rdi
cmpq $0xff, %rax
jb 0xc241
movb $-0x1, (%rdi)
addq $-0xff, %rax
jmp 0xbea1
movq %rdx, -0x58(%rbp)
leaq (%r14,%rsi), %r15
addq $-0xc, %r15
leaq -0x5(%r14,%rsi), %rax
movq %rax, -0x40(%rbp)
movq (%r14), %rax
movabsq $0xcf1bbcdcbb, %rbx     # imm = 0xCF1BBCDCBB
imulq %rbx, %rax
shrq $0x1b, %rax
andl $0x1fff, %eax           # imm = 0x1FFF
andw $0x0, (%r12,%rax,2)
shll $0x6, %r13d
pushq $0x1
popq %r9
movq -0x48(%rbp), %rax
movq %rax, -0x38(%rbp)
movl %r13d, %r8d
movq %r14, %rsi
movl %r13d, -0x2c(%rbp)
movq %r15, -0x50(%rbp)
leaq 0x1(%rsi), %rax
movq 0x1(%rsi), %rdx
movq %rax, %rcx
movl %r9d, %eax
addq %rcx, %rax
cmpq %r15, %rax
ja 0xc271
movl %r8d, %r9d
shrl $0x6, %r9d
incl %r8d
imulq %rbx, %rdx
shrq $0x1b, %rdx
andl $0x1fff, %edx           # imm = 0x1FFF
movzwl (%r12,%rdx,2), %edi
movq (%rax), %r10
movl %ecx, %r11d
subl %r14d, %r11d
movw %r11w, (%r12,%rdx,2)
movl (%r14,%rdi), %r11d
movq %r10, %rdx
cmpl (%rcx), %r11d
jne 0xbf16
addq %r14, %rdi
movl %ecx, %r10d
shlb $0x4, %r10b
movl %esi, %eax
shlb $0x4, %al
subb %al, %r10b
xorl %r11d, %r11d
movq %r11, %r8
movl %r10d, %r9d
leaq (%rdi,%r11), %rax
leaq (%rcx,%r11), %rbx
movq %rbx, %rdx
subq %rsi, %rdx
jbe 0xbfa3
cmpq %r14, %rax
jbe 0xbfa3
movb -0x1(%rcx,%r8), %r13b
leaq -0x1(%r8), %r11
leal -0x10(%r9), %r10d
cmpb -0x1(%rdi,%r8), %r13b
je 0xbf74
movl %ecx, %edi
subl %esi, %edi
addl %r8d, %edi
cmpl $0xf, %edi
jb 0xbfda
subl %esi, %ecx
leal (%rcx,%r8), %edi
addl $-0xf, %edi
movq -0x38(%rbp), %rcx
movb $-0x10, (%rcx)
addq $0x2, %rcx
cmpl $0xff, %edi
jl 0xbfe7
movb $-0x1, -0x1(%rcx)
addl $0xffffff01, %edi       # imm = 0xFFFFFF01
incq %rcx
jmp 0xbfc3
movq -0x38(%rbp), %rdi
leaq 0x1(%rdi), %rcx
movb %r9b, (%rdi)
jmp 0xbfeb
movb %dil, -0x1(%rcx)
movl %edx, %edx
addq %rcx, %rdx
movq (%rsi), %rdi
movq %rdi, (%rcx)
addq $0x8, %rcx
addq $0x8, %rsi
cmpq %rdx, %rcx
jb 0xbff0
movq -0x38(%rbp), %r15
movl %ebx, %ecx
subl %eax, %ecx
movw %cx, (%rdx)
movq %rdx, %r13
addq $0x2, %r13
leaq 0x4(%rbx), %rdi
addq $0x4, %rax
movq %rax, %rsi
movq -0x40(%rbp), %rdx
callq 0x111df
movb (%r15), %cl
cmpl $0xf, %eax
jb 0xc058
addb $0xf, %cl
movb %cl, (%r15)
leal -0xf(%rax), %ecx
movq -0x50(%rbp), %r15
cmpl $0x1fe, %ecx            # imm = 0x1FE
jb 0xc063
orw $-0x1, (%r13)
addq $0x2, %r13
addl $0xfffffe02, %ecx       # imm = 0xFFFFFE02
jmp 0xc03e
addb %al, %cl
movb %cl, (%r15)
movq -0x50(%rbp), %r15
jmp 0xc080
cmpl $0xff, %ecx
jb 0xc079
addl $0xffffff01, %ecx       # imm = 0xFFFFFF01
movb $-0x1, (%r13)
incq %r13
movb %cl, (%r13)
incq %r13
addl $0x4, %eax
addq %rax, %rbx
cmpq %r15, %rbx
ja 0xc13e
leaq -0x2(%rbx), %rax
movq -0x2(%rbx), %rcx
movabsq $0xcf1bbcdcbb, %rdx     # imm = 0xCF1BBCDCBB
imulq %rdx, %rcx
shrq $0x1b, %rcx
movl $0x1fff, %esi           # imm = 0x1FFF
andl %esi, %ecx
subl %r14d, %eax
movw %ax, (%r12,%rcx,2)
movq (%rbx), %rcx
imulq %rdx, %rcx
shrq $0x1b, %rcx
andl %esi, %ecx
movzwl (%r12,%rcx,2), %edx
leaq (%r14,%rdx), %rax
movl %ebx, %esi
subl %r14d, %esi
movw %si, (%r12,%rcx,2)
leaq (%r14,%rdx), %rcx
addq $0xffff, %rcx           # imm = 0xFFFF
cmpq %rbx, %rcx
jb 0xc0ff
movl (%rax), %ecx
cmpl (%rbx), %ecx
jne 0xc0ff
leaq 0x1(%r13), %rdx
movb $0x0, (%r13)
movq %r13, %r15
jmp 0xc007
movq %r13, -0x38(%rbp)
movq %rbx, %rsi
movl -0x2c(%rbp), %r8d
movabsq $0xcf1bbcdcbb, %rbx     # imm = 0xCF1BBCDCBB
pushq $0x1
popq %r9
jmp 0xbf0e
movl %r15d, %eax
shlb $0x4, %al
movb %al, (%r14)
jmp 0xc12b
movb %al, (%r14)
incq %r14
movq %r14, %rdi
movq %r15, %rdx
callq 0x2240
movq %r14, %r8
jmp 0xc193
movq %rbx, %rsi
movq -0x48(%rbp), %rbx
movq -0x58(%rbp), %rdx
subq %rsi, %rdx
cmpq $0xf, %rdx
jb 0xc173
leaq -0xf(%rdx), %rax
movb $-0x10, (%r13)
incq %r13
cmpq $0xff, %rax
jb 0xc17e
movb $-0x1, (%r13)
addq $-0xff, %rax
jmp 0xc15b
movl %edx, %eax
shlb $0x4, %al
movb %al, (%r13)
jmp 0xc182
movb %al, (%r13)
incq %r13
movq %r13, %rdi
movq %rdx, %r15
callq 0x2240
movq %r13, %r8
addl %r15d, %r8d
subl %ebx, %r8d
movl %r8d, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, %rsi
movq -0x48(%rbp), %r15
addq -0x60(%rbp), %r14
subq %rsi, %r14
leaq 0xf0(%r14), %rax
xorl %r8d, %r8d
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %r13, %rcx
subq %r15, %rcx
addq %r14, %rcx
addq %rcx, %rax
incq %rax
movl -0x58(%rbp), %ecx
cmpq %rcx, %rax
ja 0xc199
cmpq $0xf, %r14
jb 0xc20b
leaq -0xf(%r14), %rax
movb $-0x10, (%r13)
incq %r13
cmpq $0xff, %rax
jb 0xc217
movb $-0x1, (%r13)
addq $-0xff, %rax
jmp 0xc1f3
movl %r14d, %eax
shlb $0x4, %al
movb %al, (%r13)
jmp 0xc21b
movb %al, (%r13)
incq %r13
movq %r13, %rdi
movq %r14, %rdx
callq 0x2240
addl %r14d, %r13d
subl %r15d, %r13d
movl %r13d, %r8d
jmp 0xc199
movl %r14d, %eax
shlb $0x4, %al
movb %al, (%rdi)
jmp 0xc243
movb %al, (%rdi)
incq %rdi
movq %r14, %rdx
movq %rdi, %r15
callq 0x2240
addl %r14d, %r15d
subl %ebx, %r15d
movl %r15d, %r8d
jmp 0xc199
movq -0x38(%rbp), %r14
jmp 0xbe1b
movq -0x40(%rbp), %rdi
jmp 0xbe56
movq -0x48(%rbp), %rbx
movq -0x38(%rbp), %r13
jmp 0xc145