// File: /workspace/github_c_makefile_star2_O3/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 $0x4088, %rsp           # imm = 0x4088
movl %r8d, %r12d
movl %ecx, %ebx
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, -0x38(%rbp)
leaq -0x40b0(%rbp), %rdi
movl $0x4020, %edx           # imm = 0x4020
xorl %esi, %esi
callq 0x2190
movslq %ebx, %rax
addq %r14, %rax
movq %rax, -0x50(%rbp)
movabsq $0xcf1bbcdcbb, %r11     # imm = 0xCF1BBCDCBB
cmpl $0x1000a, %r15d         # imm = 0x1000A
jg 0x3dc6
cmpl $0x7e000000, %r15d      # imm = 0x7E000000
movl $0x0, %edi
ja 0x4581
movl %r12d, %esi
movl %ebx, -0x3c(%rbp)
movslq %r15d, %rax
movq %r14, %r13
movq -0x38(%rbp), %r10
movq %r10, %r12
cmpl $0xd, %r15d
movq %rax, %r15
jae 0x415d
addq %r15, %r10
subq %r12, %r10
leaq 0xf0(%r10), %rax
xorl %edi, %edi
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %r13, %rcx
subq %r14, %rcx
addq %r10, %rcx
addq %rcx, %rax
incq %rax
movl -0x3c(%rbp), %ecx
cmpq %rcx, %rax
ja 0x4581
movq %r10, %rbx
movq %r10, %rdx
cmpq $0xf, %rbx
jb 0x44a2
leaq -0xf(%rdx), %rax
movb $-0x10, (%r13)
leaq 0x1(%r13), %rdi
cmpq $0xff, %rax
jb 0x3dbc
leaq -0x10e(%rdx), %rax
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %rax, %r15
leaq 0x1(%rax), %rdx
movl $0xff, %esi
callq 0x2190
movq %rbx, %rdx
imulq $-0xff, %r15, %rax
addq %rbx, %rax
addq $-0x10e, %rax           # imm = 0xFEF2
leaq (%r15,%r13), %rdi
addq $0x2, %rdi
movb %al, (%rdi)
movq %rdi, %r13
jmp 0x44ab
cmpl $0x7e000000, %r15d      # imm = 0x7E000000
movl $0x0, %edi
ja 0x4581
movl %ebx, -0x3c(%rbp)
movl %r15d, %eax
movq -0x38(%rbp), %r10
leaq (%r10,%rax), %rcx
movq %rcx, -0x80(%rbp)
leaq -0xc(%r10,%rax), %rcx
addq %r10, %rax
addq $-0x5, %rax
movq %rax, -0x68(%rbp)
movl %r12d, %r15d
shll $0x6, %r15d
incl %r15d
andl $0x3ffffff, %r12d       # imm = 0x3FFFFFF
leaq 0x2(%r10), %rax
leaq -0x1(%r10), %rdx
movq %rdx, -0x88(%rbp)
movq %r10, %rbx
movl %r12d, %esi
movq %rcx, %r12
movq %r14, %r13
movq %rcx, -0x60(%rbp)
movq %r14, -0x48(%rbp)
movl %esi, -0x2c(%rbp)
movl %r15d, -0x58(%rbp)
leaq 0x1(%rbx), %r14
movq 0x1(%rbx), %rdx
movl %r15d, %ecx
movq %rax, %rdi
imulq %r11, %rdx
shrq $0x1c, %rdx
movl %edx, %r8d
andl $0xfff, %r8d            # imm = 0xFFF
movl -0x40b0(%rbp,%r8,4), %eax
movq (%rdi), %rdx
movl %r14d, %r9d
subl %r10d, %r9d
movl %r9d, -0x40b0(%rbp,%r8,4)
leaq (%r10,%rax), %r8
addq $0xffff, %r8            # imm = 0xFFFF
cmpq %r14, %r8
jb 0x3e8a
leaq (%r10,%rax), %r15
movl (%r15), %r8d
cmpl (%r14), %r8d
je 0x3ea8
movl %esi, %eax
addq %rdi, %rax
leal 0x1(%rcx), %r8d
shrl $0x6, %ecx
movl %ecx, %esi
movl %r8d, %ecx
movq %rdi, %r14
cmpq %r12, %rax
jbe 0x3e40
jmp 0x44c4
cmpq %rbx, %r14
jbe 0x3ef0
testl %eax, %eax
je 0x3ef0
decq %r14
addq -0x88(%rbp), %rax
movq %r14, %rcx
movb (%rcx), %dl
cmpb (%rax), %dl
jne 0x3ee4
leaq -0x1(%rcx), %r14
leaq -0x1(%rax), %r15
cmpq %rbx, %rcx
jbe 0x3edc
movq %r14, %rcx
cmpq %r10, %rax
movq %r15, %rax
ja 0x3ebe
incq %r14
incq %r15
jmp 0x3ef0
incq %rcx
incq %rax
movq %rax, %r15
movq %rcx, %r14
movq %r14, %rcx
subq %rbx, %rcx
movl %ecx, %r12d
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 -0x50(%rbp), %rax
ja 0x4581
leaq 0x1(%r13), %rdi
cmpl $0xf, %ecx
jb 0x3f9c
leal -0xf(%rcx), %eax
movb $-0x10, (%r13)
cmpl $0xff, %eax
jl 0x3f95
movl $0x1fd, %ecx            # imm = 0x1FD
cmpl %ecx, %eax
cmovael %ecx, %eax
addl %ebx, %eax
negl %eax
addl %r14d, %eax
addl $0xef, %eax
movl %eax, -0x78(%rbp)
xorl %edx, %edx
movl $0xff, %ecx
divl %ecx
movq %rdx, -0x70(%rbp)
movq %rax, -0x90(%rbp)
leaq 0x1(%rax), %rdx
movl $0xff, %esi
callq 0x2190
movq -0x70(%rbp), %rcx
subl -0x78(%rbp), %ecx
movq -0x90(%rbp), %rax
leaq (%rax,%r13), %rdi
addq $0x2, %rdi
movl %r14d, %eax
subl %ebx, %eax
addl %ecx, %eax
addl $0xfffffef2, %eax       # imm = 0xFFFFFEF2
movb %al, (%rdi)
incq %rdi
jmp 0x3fa3
shlb $0x4, %cl
movb %cl, (%r13)
addq %rdi, %r12
movq (%rbx), %rax
movq %rax, (%rdi)
addq $0x8, %rdi
addq $0x8, %rbx
cmpq %r12, %rdi
jb 0x3fa6
movl %r14d, %eax
subl %r15d, %eax
movw %ax, (%r12)
leaq 0x4(%r14), %rdi
addq $0x4, %r15
movq %r15, %rsi
movq -0x68(%rbp), %rdx
callq 0x135af
movl %eax, %ecx
shrl $0x8, %ecx
addq %r12, %rcx
addq $0x8, %rcx
cmpq -0x50(%rbp), %rcx
ja 0x4595
movl %eax, %ecx
addl $0x4, %ecx
addq %rcx, %r14
movq %r14, %rbx
movq -0x48(%rbp), %r14
movl -0x58(%rbp), %r15d
leaq 0x2(%r12), %rdi
movb (%r13), %cl
cmpl $0xf, %eax
jb 0x4087
addb $0xf, %cl
movb %cl, (%r13)
leal -0xf(%rax), %r15d
cmpl $0x1fe, %r15d           # imm = 0x1FE
jb 0x4050
addl $0xfffffdf3, %eax       # imm = 0xFFFFFDF3
xorl %edx, %edx
movl $0x1fe, %ecx            # imm = 0x1FE
divl %ecx
movl %edx, %r15d
movl %eax, %r13d
addl %r13d, %r13d
leaq 0x2(%r13), %rdx
movl $0xff, %esi
callq 0x2190
leaq (%r12,%r13), %rdi
addq $0x4, %rdi
movq -0x38(%rbp), %r10
cmpl $0xff, %r15d
movabsq $0xcf1bbcdcbb, %r11     # imm = 0xCF1BBCDCBB
movq -0x60(%rbp), %r12
jb 0x4078
addl $0xffffff01, %r15d      # imm = 0xFFFFFF01
movb $-0x1, (%rdi)
incq %rdi
movb %r15b, (%rdi)
incq %rdi
movq %rdi, %r13
movl -0x58(%rbp), %r15d
jmp 0x40a2
addb %al, %cl
movb %cl, (%r13)
movq %rdi, %r13
movq -0x38(%rbp), %r10
movabsq $0xcf1bbcdcbb, %r11     # imm = 0xCF1BBCDCBB
movq -0x60(%rbp), %r12
cmpq %r12, %rbx
ja 0x44c8
leaq -0x2(%rbx), %rax
movq -0x2(%rbx), %rcx
imulq %r11, %rcx
shrq $0x1c, %rcx
movl $0xfff, %edx            # imm = 0xFFF
andl %edx, %ecx
subl %r10d, %eax
movl %eax, -0x40b0(%rbp,%rcx,4)
movq (%rbx), %rax
imulq %r11, %rax
shrq $0x1c, %rax
andl %edx, %eax
movl -0x40b0(%rbp,%rax,4), %esi
movl %ebx, %ecx
subl %r10d, %ecx
movl %ecx, -0x40b0(%rbp,%rax,4)
leaq (%r10,%rsi), %rax
addq $0xffff, %rax           # imm = 0xFFFF
cmpq %rbx, %rax
jb 0x4148
addq %r10, %rsi
movl (%rsi), %eax
cmpl (%rbx), %eax
jne 0x4148
leaq 0x1(%r13), %r12
movb $0x0, (%r13)
movl %ebx, %eax
subl %esi, %eax
movw %ax, 0x1(%r13)
leaq 0x4(%rbx), %rdi
addq $0x4, %rsi
movq -0x68(%rbp), %rdx
callq 0x135af
leal 0x4(%rax), %ecx
addq %rcx, %rbx
movl %eax, %ecx
shrl $0x8, %ecx
addq %r13, %rcx
addq $0x9, %rcx
cmpq -0x50(%rbp), %rcx
jbe 0x4001
jmp 0x4595
leaq 0x2(%rbx), %rax
cmpq %r12, %rax
movl -0x2c(%rbp), %esi
jbe 0x3e35
jmp 0x44c8
leaq (%r10,%r15), %rbx
addq $-0xc, %rbx
leaq (%r10,%r15), %rax
addq $-0x5, %rax
movq %rax, -0x68(%rbp)
shll $0x6, %esi
leaq -0x1(%r10), %rax
movq %rax, -0x88(%rbp)
pushq $0x1
popq %rdi
movq %r14, -0x48(%rbp)
movq %r14, %r13
movq %r10, %r12
movq %rbx, -0x60(%rbp)
movl %esi, -0x2c(%rbp)
movq %r15, -0x58(%rbp)
leaq 0x1(%r12), %rcx
movq 0x1(%r12), %rdx
movq %rcx, %r14
movl %edi, %ecx
addq %r14, %rcx
cmpq %rbx, %rcx
ja 0x4599
movl %esi, %edi
shrl $0x6, %edi
incl %esi
imulq %r11, %rdx
shrq $0x1b, %rdx
andl $0x1fff, %edx           # imm = 0x1FFF
movzwl -0x40b0(%rbp,%rdx,2), %eax
movq (%rcx), %r8
movl %r14d, %r9d
subl %r10d, %r9d
movw %r9w, -0x40b0(%rbp,%rdx,2)
movl (%r10,%rax), %r9d
movq %r8, %rdx
cmpl (%r14), %r9d
jne 0x41a1
leaq (%r10,%rax), %r15
cmpq %r12, %r14
jbe 0x423a
testw %ax, %ax
je 0x423a
decq %r14
addq -0x88(%rbp), %rax
movq %r14, %rcx
movb (%rcx), %dl
cmpb (%rax), %dl
jne 0x422e
leaq -0x1(%rcx), %r14
leaq -0x1(%rax), %r15
cmpq %r12, %rcx
jbe 0x4226
movq %r14, %rcx
cmpq %r10, %rax
movq %r15, %rax
ja 0x4208
incq %r14
incq %r15
jmp 0x423a
incq %rcx
incq %rax
movq %rax, %r15
movq %rcx, %r14
movq %r14, %rcx
subq %r12, %rcx
movl %ecx, %ebx
leaq (%rbx,%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 -0x50(%rbp), %rax
ja 0x4581
leaq 0x1(%r13), %rdi
cmpl $0xf, %ecx
jb 0x42e1
leal -0xf(%rcx), %eax
movb $-0x10, (%r13)
cmpl $0xff, %eax
jl 0x42da
movl $0x1fd, %ecx            # imm = 0x1FD
cmpl %ecx, %eax
cmovael %ecx, %eax
addl %r12d, %eax
negl %eax
addl %r14d, %eax
addl $0xef, %eax
movl %eax, -0x80(%rbp)
xorl %edx, %edx
movl $0xff, %ecx
divl %ecx
movq %rdx, -0x78(%rbp)
movq %rax, -0x70(%rbp)
leaq 0x1(%rax), %rdx
movl $0xff, %esi
callq 0x2190
movq -0x78(%rbp), %rcx
subl -0x80(%rbp), %ecx
movq -0x70(%rbp), %rax
leaq (%rax,%r13), %rdi
addq $0x2, %rdi
movl %r14d, %eax
subl %r12d, %eax
addl %ecx, %eax
addl $0xfffffef2, %eax       # imm = 0xFFFFFEF2
movb %al, (%rdi)
incq %rdi
jmp 0x42e8
shlb $0x4, %cl
movb %cl, (%r13)
addq %rdi, %rbx
movq (%r12), %rax
movq %rax, (%rdi)
addq $0x8, %rdi
addq $0x8, %r12
cmpq %rbx, %rdi
jb 0x42eb
movl %r14d, %eax
subl %r15d, %eax
movw %ax, (%rbx)
leaq 0x4(%r14), %rdi
addq $0x4, %r15
movq %r15, %rsi
movq -0x68(%rbp), %rdx
callq 0x135af
movl %eax, %ecx
shrl $0x8, %ecx
addq %rbx, %rcx
addq $0x8, %rcx
cmpq -0x50(%rbp), %rcx
ja 0x4595
movl %eax, %ecx
addl $0x4, %ecx
addq %rcx, %r14
movq %r14, %r12
movq -0x48(%rbp), %r14
movq -0x58(%rbp), %r15
leaq 0x2(%rbx), %rdi
movb (%r13), %cl
cmpl $0xf, %eax
jb 0x43ca
addb $0xf, %cl
movb %cl, (%r13)
leal -0xf(%rax), %r15d
cmpl $0x1fe, %r15d           # imm = 0x1FE
jb 0x4393
addl $0xfffffdf3, %eax       # imm = 0xFFFFFDF3
xorl %edx, %edx
movl $0x1fe, %ecx            # imm = 0x1FE
divl %ecx
movl %edx, %r15d
movl %eax, %r13d
addl %r13d, %r13d
leaq 0x2(%r13), %rdx
movl $0xff, %esi
callq 0x2190
leaq (%rbx,%r13), %rdi
addq $0x4, %rdi
movq -0x38(%rbp), %r10
cmpl $0xff, %r15d
movabsq $0xcf1bbcdcbb, %r11     # imm = 0xCF1BBCDCBB
movq -0x60(%rbp), %rbx
jb 0x43bb
addl $0xffffff01, %r15d      # imm = 0xFFFFFF01
movb $-0x1, (%rdi)
incq %rdi
movb %r15b, (%rdi)
incq %rdi
movq %rdi, %r13
movq -0x58(%rbp), %r15
jmp 0x43e5
addb %al, %cl
movb %cl, (%r13)
movq %rdi, %r13
movq -0x38(%rbp), %r10
movabsq $0xcf1bbcdcbb, %r11     # imm = 0xCF1BBCDCBB
movq -0x60(%rbp), %rbx
cmpq %rbx, %r12
ja 0x3d26
leaq -0x2(%r12), %rax
movq -0x2(%r12), %rcx
imulq %r11, %rcx
shrq $0x1b, %rcx
movl $0x1fff, %edx           # imm = 0x1FFF
andl %edx, %ecx
subl %r10d, %eax
movw %ax, -0x40b0(%rbp,%rcx,2)
movq (%r12), %rax
imulq %r11, %rax
shrq $0x1b, %rax
andl %edx, %eax
movzwl -0x40b0(%rbp,%rax,2), %ecx
leaq (%r10,%rcx), %rsi
movl %r12d, %edx
subl %r10d, %edx
movw %dx, -0x40b0(%rbp,%rax,2)
leaq (%r10,%rcx), %rax
addq $0xffff, %rax           # imm = 0xFFFF
cmpq %r12, %rax
jb 0x4497
movl (%rsi), %eax
cmpl (%r12), %eax
jne 0x4497
leaq 0x1(%r13), %rbx
movb $0x0, (%r13)
movl %r12d, %eax
subl %esi, %eax
movw %ax, 0x1(%r13)
leaq 0x4(%r12), %rdi
addq $0x4, %rsi
movq -0x68(%rbp), %rdx
callq 0x135af
leal 0x4(%rax), %ecx
addq %rcx, %r12
movl %eax, %ecx
shrl $0x8, %ecx
addq %r13, %rcx
addq $0x9, %rcx
cmpq -0x50(%rbp), %rcx
jbe 0x4345
jmp 0x4595
movl -0x2c(%rbp), %esi
pushq $0x1
popq %rdi
jmp 0x4197
movl %edx, %eax
shlb $0x4, %al
movb %al, (%r13)
incq %r13
movq %r13, %rdi
movq %r12, %rsi
movq %rdx, %rbx
callq 0x2240
addl %ebx, %r13d
jmp 0x457b
movq -0x48(%rbp), %r14
movq -0x80(%rbp), %r15
subq %rbx, %r15
leaq 0xf0(%r15), %rax
xorl %edi, %edi
movl $0xff, %ecx
xorl %edx, %edx
divq %rcx
movq %r13, %rcx
subq %r14, %rcx
addq %r15, %rcx
addq %rcx, %rax
incq %rax
movl -0x3c(%rbp), %ecx
cmpq %rcx, %rax
ja 0x4581
cmpq $0xf, %r15
jb 0x455d
leaq -0xf(%r15), %rax
movb $-0x10, (%r13)
leaq 0x1(%r13), %rdi
cmpq $0xff, %rax
jb 0x4556
leaq -0x10e(%r15), %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 %r15, %rax
addq $-0x10e, %rax           # imm = 0xFEF2
leaq (%r14,%r13), %rdi
addq $0x2, %rdi
movq -0x48(%rbp), %r14
movb %al, (%rdi)
movq %rdi, %r13
jmp 0x4567
movl %r15d, %eax
shlb $0x4, %al
movb %al, (%r13)
incq %r13
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x2240
addl %r15d, %r13d
subl %r14d, %r13d
movl %r13d, %edi
movl %edi, %eax
addq $0x4088, %rsp           # imm = 0x4088
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %edi, %edi
jmp 0x4581
movq -0x48(%rbp), %r14
jmp 0x3d26