// File: /workspace/github_cpp_makefile_star2_O2/sgielen[P]clife/./xxhash/xxhash.h
// Function: XXH3_64bits_internal(void const*, unsigned long, unsigned long, void const*, unsigned long, unsigned long (*)(void const*, unsigned long, unsigned long, unsigned char const*, unsigned long))
XXH_FORCE_INLINE XXH64_hash_t
XXH3_64bits_internal(const void* XXH_RESTRICT input, size_t len,
                     XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen,
                     XXH3_hashLong64_f f_hashLong)
{
    XXH_ASSERT(secretLen >= XXH3_SECRET_SIZE_MIN);
    /*
     * If an action is to be taken if `secretLen` condition is not respected,
     * it should be done here.
     * For now, it's a contract pre-condition.
     * Adding a check and a branch here would cost performance at every hash.
     * Also, note that function signature doesn't offer room to return an error.
     */
    if (len <= 16)
        return XXH3_len_0to16_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64);
    if (len <= 128)
        return XXH3_len_17to128_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64);
    if (len <= XXH3_MIDSIZE_MAX)
        return XXH3_len_129to240_64b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64);
    return f_hashLong(input, len, seed64, (const xxh_u8*)secret, secretLen);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %r12
cmpq $0x10, %rsi
ja 0x2c70
cmpq $0x9, %rbp
jb 0x2e23
movq 0x20(%r14), %rsi
movq 0x30(%r14), %rcx
xorq 0x18(%r14), %rsi
addq %r13, %rsi
xorq 0x28(%r14), %rcx
subq %r13, %rcx
xorq (%r12), %rsi
xorq -0x8(%r12,%rbp), %rcx
movq %rcx, %rax
mulq %rsi
bswapq %rsi
addq %rcx, %rbp
addq %rsi, %rbp
xorq %rax, %rdx
addq %rbp, %rdx
movq %rdx, %rax
shrq $0x25, %rax
xorq %rdx, %rax
jmp 0x2d04
cmpq $0x80, %rbp
ja 0x2d2b
movq %r13, %rbx
movabsq $-0x61c8864e7a143579, %r13 # imm = 0x9E3779B185EBCA87
imulq %rbp, %r13
leaq -0x1(%rbp), %rax
movq %rbp, %rcx
movq %rax, %rbp
shrq %rbp
andq $-0x10, %rbp
andq $-0x20, %rax
addq %rax, %r14
leaq (%rcx,%r12), %rax
addq $-0x10, %rax
movq %rax, 0x8(%rsp)
addq %rbp, %r12
negq %rbp
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x43ed
movq %rax, %r15
addq %r13, %r15
movq 0x8(%rsp), %rax
leaq (%rax,%rbp), %rdi
leaq 0x10(%r14), %rsi
movq %rbx, %rdx
callq 0x43ed
movq %rax, %r13
addq %r15, %r13
addq $0x10, %rbp
addq $-0x20, %r14
addq $-0x10, %r12
cmpq $0x10, %rbp
jne 0x2cb9
movq %r13, %rax
shrq $0x25, %rax
xorq %r13, %rax
movabsq $0x165667919e3779f9, %rcx # imm = 0x165667919E3779F9
imulq %rax, %rcx
movq %rcx, %rax
shrq $0x20, %rax
xorq %rcx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0xf0, %rbp
ja 0x2d66
movabsq $-0x61c8864e7a143579, %r15 # imm = 0x9E3779B185EBCA87
imulq %rbp, %r15
xorl %ebx, %ebx
cmpq $0x80, %rbx
je 0x2d83
leaq (%r12,%rbx), %rdi
leaq (%r14,%rbx), %rsi
movq %r13, %rdx
callq 0x43ed
addq %rax, %r15
addq $0x10, %rbx
jmp 0x2d44
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq %r14, %rcx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%r9
movq %r13, 0x8(%rsp)
movabsq $0x165667919e3779f9, %rcx # imm = 0x165667919E3779F9
movq %rbp, 0x10(%rsp)
movq %rbp, %rbx
shrq $0x4, %rbx
movq %r15, %rax
shrq $0x25, %rax
xorq %r15, %rax
imulq %rcx, %rax
movq %rax, %r15
shrq $0x20, %r15
xorq %rax, %r15
addq $-0x8, %rbx
leaq 0x3(%r14), %r13
leaq 0x80(%r12), %rbp
subq $0x1, %rbx
jb 0x2de9
movq %rbp, %rdi
movq %r13, %rsi
movq 0x8(%rsp), %rdx
callq 0x43ed
addq %rax, %r15
addq $0x10, %r13
addq $0x10, %rbp
jmp 0x2dc6
movq 0x10(%rsp), %rax
leaq (%r12,%rax), %rdi
addq $-0x10, %rdi
addq $0x77, %r14
movq %r14, %rsi
movq 0x8(%rsp), %rdx
callq 0x43ed
addq %r15, %rax
movq %rax, %rcx
shrq $0x25, %rcx
xorq %rax, %rcx
movabsq $0x165667919e3779f9, %rax # imm = 0x165667919E3779F9
jmp 0x2d0e
cmpq $0x4, %rbp
jb 0x2e92
movl %r13d, %eax
bswapl %eax
shlq $0x20, %rax
xorq %r13, %rax
movl -0x4(%r12,%rbp), %ecx
movq 0x10(%r14), %rdx
xorq 0x8(%r14), %rdx
subq %rax, %rdx
movl (%r12), %eax
shlq $0x20, %rax
orq %rcx, %rax
xorq %rdx, %rax
movq %rax, %rcx
rolq $0x31, %rcx
movq %rax, %rdx
rolq $0x18, %rdx
xorq %rcx, %rdx
xorq %rax, %rdx
movabsq $-0x604de39ae16720db, %rax # imm = 0x9FB21C651E98DF25
imulq %rax, %rdx
movq %rdx, %rcx
shrq $0x23, %rcx
addq %rbp, %rcx
xorq %rdx, %rcx
imulq %rax, %rcx
movq %rcx, %rax
shrq $0x1c, %rax
jmp 0x2d19
testq %rbp, %rbp
je 0x2ed2
movq %rbp, %rsi
movzbl (%r12), %eax
movq %rbp, %rcx
shrq %rcx
movzbl -0x1(%r12,%rbp), %edx
shll $0x10, %eax
movzbl (%r12,%rcx), %ecx
shll $0x18, %ecx
shlq $0x8, %rsi
orq %rax, %rsi
orq %rcx, %rsi
movl 0x4(%r14), %edi
xorl (%r14), %edi
orq %rdx, %rsi
addq %r13, %rdi
xorq %rsi, %rdi
jmp 0x2edd
movq 0x38(%r14), %rdi
xorq 0x40(%r14), %rdi
xorq %r13, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x43b2