// File: /workspace/github_cpp_makefile_star2_O2/sgielen[P]clife/./xxhash/xxhash.h
// Function: XXH3_128bits_internal(void const*, unsigned long, unsigned long, void const*, unsigned long, XXH128_hash_t (*)(void const*, unsigned long, unsigned long, void const*, unsigned long))
XXH_FORCE_INLINE XXH128_hash_t
XXH3_128bits_internal(const void* input, size_t len,
                      XXH64_hash_t seed64, const void* XXH_RESTRICT secret, size_t secretLen,
                      XXH3_hashLong128_f f_hl128)
{
    XXH_ASSERT(secretLen >= XXH3_SECRET_SIZE_MIN);
    /*
     * If an action is to be taken if `secret` conditions are 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.
     */
    if (len <= 16)
        return XXH3_len_0to16_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, seed64);
    if (len <= 128)
        return XXH3_len_17to128_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64);
    if (len <= XXH3_MIDSIZE_MAX)
        return XXH3_len_129to240_128b((const xxh_u8*)input, len, (const xxh_u8*)secret, secretLen, seed64);
    return f_hl128(input, len, seed64, secret, secretLen);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %r14
movq %rdi, %r12
cmpq $0x10, %rsi
ja 0x3801
cmpq $0x9, %rsi
jb 0x38a8
movq 0x28(%r15), %rax
movq 0x38(%r15), %r8
xorq 0x20(%r15), %rax
subq %r14, %rax
xorq 0x30(%r15), %r8
addq %r14, %r8
movq -0x8(%r12,%rsi), %rcx
xorq (%r12), %rax
xorq %rcx, %rax
movabsq $-0x61c8864e7a143579, %rdx # imm = 0x9E3779B185EBCA87
mulq %rdx
shlq $0x36, %rsi
movabsq $-0x40000000000000, %rdi # imm = 0xFFC0000000000000
addq %rsi, %rdi
addq %rdi, %rax
xorq %rcx, %r8
movl %r8d, %edi
movl $0x85ebca76, %ecx       # imm = 0x85EBCA76
imulq %rdi, %rcx
addq %r8, %rcx
addq %rdx, %rcx
movq %rcx, %rdx
bswapq %rdx
xorq %rdx, %rax
movabsq $-0x3d4d51c2d82b14b1, %rsi # imm = 0xC2B2AE3D27D4EB4F
mulq %rsi
imulq %rsi, %rcx
addq %rdx, %rcx
movq %rax, %rdx
shrq $0x25, %rdx
xorq %rax, %rdx
movabsq $0x165667919e3779f9, %rax # imm = 0x165667919E3779F9
imulq %rax, %rdx
movq %rdx, %rbx
shrq $0x20, %rbx
xorq %rdx, %rbx
movq %rcx, %rsi
shrq $0x25, %rsi
xorq %rcx, %rsi
imulq %rax, %rsi
movq %rsi, %rdx
shrq $0x20, %rdx
xorq %rsi, %rdx
jmp 0x3b56
cmpq $0x80, %rsi
ja 0x3941
movabsq $-0x61c8864e7a143579, %r13 # imm = 0x9E3779B185EBCA87
movq %rsi, %rax
imulq %r13, %rax
leaq -0x1(%rsi), %rcx
movq %rcx, %rbx
shrq %rbx
andq $-0x10, %rbx
andq $-0x20, %rcx
addq %rcx, %r15
movq %rsi, (%rsp)
leaq (%rsi,%r12), %rbp
addq $-0x10, %rbp
addq %rbx, %r12
negq %rbx
xorl %edx, %edx
leaq (%rbx,%rbp), %rcx
movq %rax, %rdi
movq %rdx, %rsi
movq %r12, %rdx
movq %r15, %r8
movq %r14, %r9
callq 0x462f
addq $0x10, %rbx
addq $-0x20, %r15
addq $-0x10, %r12
cmpq $0x10, %rbx
jne 0x3848
leaq (%rax,%rdx), %rcx
imulq %rax, %r13
movabsq $-0x7a1435883d4d519d, %rax # imm = 0x85EBCA77C2B2AE63
imulq %rdx, %rax
movq (%rsp), %rsi
subq %r14, %rsi
movabsq $-0x3d4d51c2d82b14b1, %rdx # imm = 0xC2B2AE3D27D4EB4F
imulq %rsi, %rdx
addq %rax, %rdx
addq %r13, %rdx
jmp 0x3aee
cmpq $0x4, %rsi
jb 0x399a
movl %r14d, %ecx
bswapl %ecx
shlq $0x20, %rcx
xorq %r14, %rcx
movl (%r12), %eax
movl -0x4(%r12,%rsi), %edx
shlq $0x20, %rdx
orq %rax, %rdx
movq 0x18(%r15), %rax
xorq 0x10(%r15), %rax
addq %rcx, %rax
xorq %rdx, %rax
movabsq $-0x61c8864e7a143579, %rcx # imm = 0x9E3779B185EBCA87
leaq (%rcx,%rsi,4), %rcx
mulq %rcx
leaq (%rdx,%rax,2), %rcx
movq %rcx, %rdx
shrq $0x25, %rdx
xorq %rcx, %rdx
shrq $0x3, %rcx
xorq %rax, %rcx
movq %rcx, %rax
shrq $0x23, %rax
xorq %rcx, %rax
movabsq $-0x604de39ae16720db, %rcx # imm = 0x9FB21C651E98DF25
imulq %rax, %rcx
movq %rcx, %rbx
shrq $0x1c, %rbx
xorq %rcx, %rbx
movabsq $0x165667919e3779f9, %rax # imm = 0x165667919E3779F9
imulq %rdx, %rax
movq %rax, %rdx
shrq $0x20, %rdx
xorq %rax, %rdx
jmp 0x3b56
cmpq $0xf0, %rsi
ja 0x39fd
movabsq $-0x61c8864e7a143579, %rcx # imm = 0x9E3779B185EBCA87
movq %rsi, (%rsp)
movq %rsi, %rax
imulq %rcx, %rax
pushq $0x4
popq %rbx
xorl %edx, %edx
movq %r12, %r13
movq %r15, %rbp
subq $0x1, %rbx
jb 0x3a17
leaq 0x10(%r13), %rcx
movq %rax, %rdi
movq %rdx, %rsi
movq %r13, %rdx
movq %rbp, %r8
movq %r14, %r9
callq 0x462f
addq $0x20, %rbp
addq $0x20, %r13
jmp 0x396e
testq %rsi, %rsi
je 0x3b2d
movzbl (%r12), %eax
movq %rsi, %rcx
shrq %rcx
movzbl -0x1(%r12,%rsi), %edx
shll $0x10, %eax
movzbl (%r12,%rcx), %ecx
shll $0x18, %ecx
shll $0x8, %esi
orl %eax, %esi
orl %ecx, %esi
orl %edx, %esi
movl %esi, %r12d
bswapl %r12d
roll $0xd, %r12d
movl 0x4(%r15), %eax
movl 0xc(%r15), %ecx
xorl (%r15), %eax
xorl 0x8(%r15), %ecx
addq %r14, %rax
subq %r14, %rcx
xorq %rax, %rsi
xorq %rcx, %r12
movq %rsi, %rdi
callq 0x43b2
movq %rax, %rbx
jmp 0x3b4b
movq %r12, %rdi
movq %r14, %rdx
movq %r15, %rcx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%r9
movabsq $0x165667919e3779f9, %rsi # imm = 0x165667919E3779F9
movq (%rsp), %rbx
shrq $0x5, %rbx
movq %rax, %rcx
shrq $0x25, %rcx
xorq %rax, %rcx
imulq %rsi, %rcx
movq %rcx, %rdi
shrq $0x20, %rdi
xorq %rcx, %rdi
movq %rdx, %rax
shrq $0x25, %rax
xorq %rdx, %rax
imulq %rsi, %rax
movq %rax, %rsi
shrq $0x20, %rsi
xorq %rax, %rsi
addq $-0x4, %rbx
leaq 0x3(%r15), %r13
leaq 0x80(%r12), %rbp
subq $0x1, %rbx
jb 0x3a91
leaq 0x10(%rbp), %rcx
movq %rbp, %rdx
movq %r13, %r8
movq %r14, %r9
callq 0x462f
movq %rax, %rdi
movq %rdx, %rsi
addq $0x20, %r13
addq $0x20, %rbp
jmp 0x3a69
movq (%rsp), %rbx
leaq (%r12,%rbx), %rdx
addq $-0x10, %rdx
leaq (%r12,%rbx), %rcx
addq $-0x20, %rcx
addq $0x67, %r15
movq %r14, %r9
negq %r9
movq %r15, %r8
callq 0x462f
leaq (%rax,%rdx), %rcx
movabsq $-0x61c8864e7a143579, %rsi # imm = 0x9E3779B185EBCA87
imulq %rax, %rsi
movabsq $-0x7a1435883d4d519d, %rax # imm = 0x85EBCA77C2B2AE63
imulq %rdx, %rax
subq %r14, %rbx
movabsq $-0x3d4d51c2d82b14b1, %rdx # imm = 0xC2B2AE3D27D4EB4F
imulq %rbx, %rdx
addq %rax, %rdx
addq %rsi, %rdx
movq %rcx, %rax
shrq $0x25, %rax
xorq %rcx, %rax
movabsq $0x165667919e3779f9, %rcx # imm = 0x165667919E3779F9
imulq %rcx, %rax
movq %rax, %rbx
shrq $0x20, %rbx
xorq %rax, %rbx
movq %rdx, %rax
shrq $0x25, %rax
xorq %rdx, %rax
imulq %rcx, %rax
movq %rax, %rdx
shrq $0x20, %rdx
xorq %rax, %rdx
negq %rdx
jmp 0x3b56
movq 0x40(%r15), %rdi
xorq 0x48(%r15), %rdi
movq 0x50(%r15), %r12
xorq %r14, %rdi
xorq 0x58(%r15), %r12
callq 0x43b2
movq %rax, %rbx
xorq %r14, %r12
movq %r12, %rdi
callq 0x43b2
movq %rax, %rdx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq