// File: /workspace/github_c_makefile_star2_O2/bluecmd[P]fst-example/gtkwave/lz4.c
// Function: LZ4_compress_fast_force
int LZ4_compress_fast_force(const char* source, char* dest, int inputSize, int maxOutputSize, int acceleration)
{
    LZ4_stream_t ctx;

    LZ4_resetStream(&ctx);

    if (inputSize < LZ4_64Klimit)
        return LZ4_compress_generic(&ctx, source, dest, inputSize, maxOutputSize, limitedOutput, byU16,                        noDict, noDictIssue, acceleration);
    else
        return LZ4_compress_generic(&ctx, 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 $0x4058, %rsp           # imm = 0x4058
movl %r8d, %r12d
movl %ecx, %r13d
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
leaq -0x4078(%rbp), %rdi
movl $0x4020, %edx           # imm = 0x4020
xorl %esi, %esi
callq 0x2190
movq %r15, %rdx
movslq %r13d, %rax
addq %r15, %rax
movq %rax, -0x48(%rbp)
cmpl $0x1000a, %ebx          # imm = 0x1000A
jg 0xc5c2
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
movl $0x0, %edi
ja 0xc980
movl %r12d, %edi
movslq %ebx, %rax
movq %rdx, %r12
movq %r14, %rsi
cmpl $0xd, %ebx
jb 0xc8d6
movl %r13d, -0x30(%rbp)
leaq (%r14,%rax), %r15
addq $-0xc, %r15
movq %rax, -0x40(%rbp)
addq %r14, %rax
addq $-0x5, %rax
movq %rax, -0x58(%rbp)
shll $0x6, %edi
pushq $0x1
popq %r9
movq %rdx, -0x38(%rbp)
movq %rdx, %r12
movq %r14, %rsi
movl %edi, -0x2c(%rbp)
movq %r15, -0x50(%rbp)
leaq 0x1(%rsi), %rcx
movq 0x1(%rsi), %rdx
movabsq $0xcf1bbcdcbb, %rbx     # imm = 0xCF1BBCDCBB
movq %rcx, %r8
movl %r9d, %ecx
addq %r8, %rcx
cmpq %r15, %rcx
ja 0xc8ca
movl %edi, %r9d
shrl $0x6, %r9d
incl %edi
imulq %rbx, %rdx
shrq $0x1b, %rdx
andl $0x1fff, %edx           # imm = 0x1FFF
movzwl -0x4078(%rbp,%rdx,2), %eax
movq (%rcx), %r10
movl %r8d, %r11d
subl %r14d, %r11d
movw %r11w, -0x4078(%rbp,%rdx,2)
movl (%r14,%rax), %r11d
movq %r10, %rdx
cmpl (%r8), %r11d
jne 0xc386
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), %rbx
cmpq %rsi, %rbx
jbe 0xc413
cmpq %r14, %rcx
jbe 0xc413
movb -0x1(%r8,%r9), %r11b
leaq -0x1(%r9), %rdi
leal -0x10(%r10), %edx
cmpb -0x1(%rax,%r9), %r11b
je 0xc3e7
movl %r8d, %edi
subl %esi, %edi
leal (%rdi,%r9), %r15d
addq %r9, %rdi
leaq (%r12,%r15), %r11
incq %r11
movl %edi, %eax
xorl %edx, %edx
movl $0xff, %r13d
divl %r13d
addq %r11, %rax
addq $0x8, %rax
cmpq -0x48(%rbp), %rax
ja 0xc994
cmpl $0xf, %edi
jb 0xc47a
subl %esi, %r8d
leal (%r8,%r9), %edx
addl $-0xf, %edx
movb $-0x10, (%r12)
leaq 0x2(%r12), %rax
movl $0x1fff, %r13d          # imm = 0x1FFF
cmpl $0xff, %edx
jl 0xc48b
movb $-0x1, -0x1(%rax)
addl $0xffffff01, %edx       # imm = 0xFFFFFF01
incq %rax
jmp 0xc463
leaq 0x1(%r12), %rax
movb %r10b, (%r12)
movl $0x1fff, %r13d          # imm = 0x1FFF
jmp 0xc48e
movb %dl, -0x1(%rax)
addq %rax, %r15
movq (%rsi), %rdx
movq %rdx, (%rax)
addq $0x8, %rax
addq $0x8, %rsi
cmpq %r15, %rax
jb 0xc491
jmp 0xc4b0
leaq 0x1(%r12), %r15
movb $0x0, (%r12)
movl %ebx, %eax
subl %ecx, %eax
movw %ax, (%r15)
leaq 0x4(%rbx), %rdi
addq $0x4, %rcx
movq %rcx, %rsi
movq -0x58(%rbp), %rdx
callq 0x111df
movl %eax, %ecx
shrl $0x8, %ecx
addq %r15, %rcx
addq $0x8, %rcx
cmpq -0x48(%rbp), %rcx
ja 0xc994
addq $0x2, %r15
movb (%r12), %cl
cmpl $0xf, %eax
jb 0xc512
addb $0xf, %cl
movb %cl, (%r12)
leal -0xf(%rax), %ecx
cmpl $0x1fe, %ecx            # imm = 0x1FE
jb 0xc51a
orw $-0x1, (%r15)
addq $0x2, %r15
addl $0xfffffe02, %ecx       # imm = 0xFFFFFE02
jmp 0xc4f9
addb %al, %cl
movb %cl, (%r12)
jmp 0xc535
cmpl $0xff, %ecx
jb 0xc52f
addl $0xffffff01, %ecx       # imm = 0xFFFFFF01
movb $-0x1, (%r15)
incq %r15
movb %cl, (%r15)
incq %r15
movq %r15, %r12
addl $0x4, %eax
addq %rax, %rbx
movq -0x50(%rbp), %r15
cmpq %r15, %rbx
ja 0xc8c7
leaq -0x2(%rbx), %rax
movq -0x2(%rbx), %rcx
movabsq $0xcf1bbcdcbb, %rdx     # imm = 0xCF1BBCDCBB
imulq %rdx, %rcx
shrq $0x1b, %rcx
andl %r13d, %ecx
subl %r14d, %eax
movw %ax, -0x4078(%rbp,%rcx,2)
movq (%rbx), %rax
imulq %rdx, %rax
shrq $0x1b, %rax
andl %r13d, %eax
movzwl -0x4078(%rbp,%rax,2), %edx
leaq (%r14,%rdx), %rcx
movl %ebx, %esi
subl %r14d, %esi
movw %si, -0x4078(%rbp,%rax,2)
leaq (%r14,%rdx), %rax
addq $0xffff, %rax           # imm = 0xFFFF
cmpq %rbx, %rax
jb 0xc5b3
movl (%rcx), %eax
cmpl (%rbx), %eax
je 0xc4a6
movq %rbx, %rsi
movl -0x2c(%rbp), %edi
pushq $0x1
popq %r9
jmp 0xc374
cmpl $0x7e000000, %ebx       # imm = 0x7E000000
movl $0x0, %edi
ja 0xc980
movl %r13d, -0x30(%rbp)
pushq $0x1
popq %rsi
movl %ebx, %eax
leaq (%r14,%rax), %rcx
movq %rcx, -0x40(%rbp)
leaq (%r14,%rax), %r15
addq $-0xc, %r15
addq %r14, %rax
addq $-0x5, %rax
movq %rax, -0x58(%rbp)
shll $0x6, %r12d
movq %rdx, -0x38(%rbp)
movl %esi, %eax
movq %rdx, %r13
movq %r14, %rsi
movabsq $0xcf1bbcdcbb, %r11     # imm = 0xCF1BBCDCBB
movl %r12d, -0x2c(%rbp)
leaq 0x1(%rsi), %r8
movq 0x1(%rsi), %rdx
movl %r12d, %ecx
movl %eax, %edi
addq %r8, %rdi
cmpq %r15, %rdi
ja 0xc862
imulq %r11, %rdx
shrq $0x1c, %rdx
movl %edx, %r9d
andl $0xfff, %r9d            # imm = 0xFFF
movl -0x4078(%rbp,%r9,4), %eax
movq (%rdi), %rdx
movl %r8d, %r10d
subl %r14d, %r10d
movl %r10d, -0x4078(%rbp,%r9,4)
leaq (%r14,%rax), %r9
addq $0xffff, %r9            # imm = 0xFFFF
cmpq %r8, %r9
jb 0xc674
addq %r14, %rax
movl (%rax), %r9d
cmpl (%r8), %r9d
je 0xc680
movl %ecx, %eax
shrl $0x6, %eax
incl %ecx
movq %rdi, %r8
jmp 0xc620
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), %r12
cmpq %rsi, %r12
jbe 0xc6bb
cmpq %r14, %rcx
jbe 0xc6bb
movb -0x1(%r8,%r9), %r11b
leaq -0x1(%r9), %rdi
leal -0x10(%r10), %edx
cmpb -0x1(%rax,%r9), %r11b
je 0xc68f
movl %r8d, %edi
subl %esi, %edi
leal (%rdi,%r9), %ebx
addq %r9, %rdi
leaq (%rbx,%r13), %rax
incq %rax
movq %rax, -0x50(%rbp)
movl %edi, %eax
xorl %edx, %edx
movl $0xff, %r11d
divl %r11d
movq -0x50(%rbp), %rdx
addq %rdx, %rax
addq $0x8, %rax
cmpq -0x48(%rbp), %rax
ja 0xc994
cmpl $0xf, %edi
jb 0xc723
subl %esi, %r8d
leal (%r8,%r9), %edx
addl $-0xf, %edx
movb $-0x10, (%r13)
leaq 0x2(%r13), %rax
cmpl $0xff, %edx
jl 0xc72d
movb $-0x1, -0x1(%rax)
addl $0xffffff01, %edx       # imm = 0xFFFFFF01
incq %rax
jmp 0xc70c
leaq 0x1(%r13), %rax
movb %r10b, (%r13)
jmp 0xc730
movb %dl, -0x1(%rax)
addq %rax, %rbx
movq (%rsi), %rdx
movq %rdx, (%rax)
addq $0x8, %rax
addq $0x8, %rsi
cmpq %rbx, %rax
jb 0xc733
jmp 0xc751
leaq 0x1(%r13), %rbx
movb $0x0, (%r13)
movl %r12d, %eax
subl %ecx, %eax
movw %ax, (%rbx)
leaq 0x4(%r12), %rdi
addq $0x4, %rcx
movq %rcx, %rsi
movq -0x58(%rbp), %rdx
callq 0x111df
movl %eax, %ecx
shrl $0x8, %ecx
addq %rbx, %rcx
addq $0x8, %rcx
cmpq -0x48(%rbp), %rcx
ja 0xc994
addq $0x2, %rbx
movb (%r13), %cl
cmpl $0xf, %eax
jb 0xc7b3
addb $0xf, %cl
movb %cl, (%r13)
leal -0xf(%rax), %ecx
cmpl $0x1fe, %ecx            # imm = 0x1FE
jb 0xc7bb
orw $-0x1, (%rbx)
addq $0x2, %rbx
addl $0xfffffe02, %ecx       # imm = 0xFFFFFE02
jmp 0xc79b
addb %al, %cl
movb %cl, (%r13)
jmp 0xc7d4
cmpl $0xff, %ecx
jb 0xc7cf
addl $0xffffff01, %ecx       # imm = 0xFFFFFF01
movb $-0x1, (%rbx)
incq %rbx
movb %cl, (%rbx)
incq %rbx
movq %rbx, %r13
addl $0x4, %eax
addq %rax, %r12
cmpq %r15, %r12
movabsq $0xcf1bbcdcbb, %r11     # imm = 0xCF1BBCDCBB
ja 0xc85f
leaq -0x2(%r12), %rax
movq -0x2(%r12), %rcx
imulq %r11, %rcx
shrq $0x1c, %rcx
movl $0xfff, %edx            # imm = 0xFFF
andl %edx, %ecx
subl %r14d, %eax
movl %eax, -0x4078(%rbp,%rcx,4)
movq (%r12), %rax
imulq %r11, %rax
shrq $0x1c, %rax
andl %edx, %eax
movl -0x4078(%rbp,%rax,4), %edx
leaq (%r14,%rdx), %rcx
movl %r12d, %esi
subl %r14d, %esi
movl %esi, -0x4078(%rbp,%rax,4)
leaq (%r14,%rdx), %rax
addq $0xffff, %rax           # imm = 0xFFFF
cmpq %r12, %rax
jb 0xc850
movl (%rcx), %eax
cmpl (%r12), %eax
je 0xc748
movq %r12, %rsi
movl -0x2c(%rbp), %r12d
pushq $0x1
popq %rax
jmp 0xc615
movq %r12, %rsi
movq -0x40(%rbp), %rbx
subq %rsi, %rbx
leaq 0xf0(%rbx), %rax
xorl %edi, %edi
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %r13, %rcx
subq -0x38(%rbp), %rcx
addq %rbx, %rcx
addq %rcx, %rax
incq %rax
movl -0x30(%rbp), %ecx
cmpq %rcx, %rax
ja 0xc980
cmpq $0xf, %rbx
jb 0xc959
leaq -0xf(%rbx), %rax
movb $-0x10, (%r13)
incq %r13
cmpq $0xff, %rax
jb 0xc964
movb $-0x1, (%r13)
addq $-0xff, %rax
jmp 0xc8ab
movq %rbx, %rsi
movq -0x38(%rbp), %rdx
movl -0x30(%rbp), %r13d
movq -0x40(%rbp), %rax
addq %rax, %r14
subq %rsi, %r14
leaq 0xf0(%r14), %rax
xorl %edi, %edi
movl $0xff, %ecx
movq %rdx, %rbx
xorl %edx, %edx
divq %rcx
movq %r12, %rcx
subq %rbx, %rcx
addq %r14, %rcx
addq %rcx, %rax
incq %rax
movl %r13d, %ecx
cmpq %rcx, %rax
ja 0xc980
cmpq $0xf, %r14
jb 0xc930
leaq -0xf(%r14), %rax
movb $-0x10, (%r12)
incq %r12
cmpq $0xff, %rax
jb 0xc93c
movb $-0x1, (%r12)
addq $-0xff, %rax
jmp 0xc918
movl %r14d, %eax
shlb $0x4, %al
movb %al, (%r12)
jmp 0xc940
movb %al, (%r12)
incq %r12
movq %r12, %rdi
movq %r14, %rdx
callq 0x2240
addl %r14d, %r12d
subl %ebx, %r12d
movl %r12d, %edi
jmp 0xc980
movl %ebx, %eax
shlb $0x4, %al
movb %al, (%r13)
jmp 0xc968
movb %al, (%r13)
incq %r13
movq %r13, %rdi
movq %rbx, %rdx
callq 0x2240
addl %ebx, %r13d
subl -0x38(%rbp), %r13d
movl %r13d, %edi
movl %edi, %eax
addq $0x4058, %rsp           # imm = 0x4058
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %edi, %edi
jmp 0xc980