// File: /workspace/github_cpp_makefile_star2_O1/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 0x3c74
cmpq $0x9, %rsi
jb 0x3d55
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, %rdi # imm = 0x165667919E3779F9
imulq %rdi, %rdx
movq %rdx, %rax
shrq $0x20, %rax
xorq %rdx, %rax
movq %rcx, %rsi
shrq $0x25, %rsi
xorq %rcx, %rsi
imulq %rdi, %rsi
jmp 0x4085
cmpq $0x80, %rsi
ja 0x3de4
movabsq $-0x61c8864e7a143579, %r13 # imm = 0x9E3779B185EBCA87
movq %rsi, %rax
imulq %r13, %rax
leaq -0x1(%rsi), %rcx
movq %rcx, %rbp
shrq %rbp
andq $-0x10, %rbp
andq $-0x20, %rcx
addq %rcx, %r15
movq %rsi, (%rsp)
leaq (%rsi,%r12), %rbx
addq $-0x10, %rbx
addq %rbp, %r12
negq %rbp
xorl %edx, %edx
leaq (%rbx,%rbp), %rcx
movq %rax, %rdi
movq %rdx, %rsi
movq %r12, %rdx
movq %r15, %r8
movq %r14, %r9
callq 0x5245
addq $0x10, %rbp
addq $-0x20, %r15
addq $-0x10, %r12
cmpq $0x10, %rbp
jne 0x3cbb
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
movq %rcx, %rsi
shrq $0x25, %rsi
xorq %rcx, %rsi
movabsq $0x165667919e3779f9, %rcx # imm = 0x165667919E3779F9
imulq %rcx, %rsi
movq %rsi, %rax
shrq $0x20, %rax
xorq %rsi, %rax
movq %rdx, %rsi
shrq $0x25, %rsi
xorq %rdx, %rsi
imulq %rcx, %rsi
movq %rsi, %rdx
shrq $0x20, %rdx
xorq %rsi, %rdx
jmp 0x3f62
cmpq $0x4, %rsi
jb 0x3f6a
movq 0x18(%r15), %rax
xorq 0x10(%r15), %rax
movl %r14d, %ecx
bswapl %ecx
shlq $0x20, %rcx
xorq %r14, %rcx
movl (%r12), %edx
movl -0x4(%r12,%rsi), %edi
shlq $0x20, %rdi
orq %rdx, %rdi
addq %rcx, %rax
xorq %rdi, %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, %rax
shrq $0x1c, %rax
xorq %rcx, %rax
movabsq $0x165667919e3779f9, %rsi # imm = 0x165667919E3779F9
imulq %rdx, %rsi
jmp 0x4085
cmpq $0xf0, %rsi
ja 0x4013
movabsq $-0x61c8864e7a143579, %rcx # imm = 0x9E3779B185EBCA87
movq %rsi, (%rsp)
movq %rsi, %rax
imulq %rcx, %rax
movl $0x4, %ebx
xorl %edx, %edx
movq %r12, %r13
movq %r15, %rbp
leaq 0x10(%r13), %rcx
movq %rax, %rdi
movq %rdx, %rsi
movq %r13, %rdx
movq %rbp, %r8
movq %r14, %r9
callq 0x5245
addq $0x20, %rbp
addq $0x20, %r13
decq %rbx
jne 0x3e13
movabsq $0x165667919e3779f9, %rsi # imm = 0x165667919E3779F9
movq %rax, %rcx
shrq $0x25, %rcx
xorq %rax, %rcx
imulq %rsi, %rcx
movq %rcx, %rax
shrq $0x20, %rax
xorq %rcx, %rax
movq %rdx, %rcx
shrq $0x25, %rcx
xorq %rdx, %rcx
imulq %rsi, %rcx
movq %rcx, %rdx
shrq $0x20, %rdx
xorq %rcx, %rdx
movq (%rsp), %rcx
cmpq $0xa0, %rcx
jb 0x3ec2
shrl $0x5, %ecx
cmpl $0x6, %ecx
movl $0x5, %ebx
cmovael %ecx, %ebx
addq $-0x4, %rbx
leaq 0x3(%r15), %r13
leaq 0x80(%r12), %rbp
leaq 0x10(%rbp), %rcx
movq %rax, %rdi
movq %rdx, %rsi
movq %rbp, %rdx
movq %r13, %r8
movq %r14, %r9
callq 0x5245
addq $0x20, %r13
addq $0x20, %rbp
decq %rbx
jne 0x3e9d
movq (%rsp), %rbx
leaq (%r12,%rbx), %r8
addq $-0x10, %r8
leaq (%r12,%rbx), %rcx
addq $-0x20, %rcx
addq $0x67, %r15
movq %r14, %r9
negq %r9
movq %rax, %rdi
movq %rdx, %rsi
movq %r8, %rdx
movq %r15, %r8
callq 0x5245
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, %rsi
shrq $0x25, %rsi
xorq %rcx, %rsi
movabsq $0x165667919e3779f9, %rdi # imm = 0x165667919E3779F9
imulq %rdi, %rsi
movq %rsi, %rax
shrq $0x20, %rax
xorq %rsi, %rax
movq %rdx, %rcx
shrq $0x25, %rcx
xorq %rdx, %rcx
imulq %rdi, %rcx
movq %rcx, %rdx
shrq $0x20, %rdx
xorq %rcx, %rdx
negq %rdx
jmp 0x408f
movabsq $-0x3d4d51c2d82b14b1, %rdx # imm = 0xC2B2AE3D27D4EB4F
movabsq $0x165667b19e3779f9, %rcx # imm = 0x165667B19E3779F9
testq %rsi, %rsi
je 0x402d
movzbl (%r12), %eax
movq %rsi, %r8
shrq %r8
movzbl -0x1(%r12,%rsi), %edi
shll $0x10, %eax
movzbl (%r12,%r8), %r8d
shll $0x18, %r8d
shll $0x8, %esi
orl %eax, %esi
orl %r8d, %esi
orl %edi, %esi
movl %esi, %r10d
bswapl %r10d
roll $0xd, %r10d
movl 0x4(%r15), %eax
movl 0xc(%r15), %edi
xorl (%r15), %eax
addq %r14, %rax
xorl 0x8(%r15), %edi
subq %r14, %rdi
movq %rax, %r8
shrq $0x21, %r8
xorq %rax, %r8
xorq %rsi, %r8
imulq %rdx, %r8
movq %r8, %r9
shrq $0x1d, %r9
xorq %r8, %r9
imulq %rcx, %r9
movq %r9, %rax
shrq $0x20, %rax
xorq %r9, %rax
movq %rdi, %r8
shrq $0x21, %r8
xorq %rdi, %r8
xorq %r10, %r8
imulq %rdx, %r8
movq %r8, %rsi
shrq $0x1d, %rsi
xorq %r8, %rsi
jmp 0x4081
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
movq 0x40(%r15), %rax
xorq 0x48(%r15), %rax
movq 0x50(%r15), %rsi
xorq %r14, %rax
movq %rax, %rdi
shrq $0x21, %rdi
xorq %rax, %rdi
imulq %rdx, %rdi
movq %rdi, %r8
shrq $0x1d, %r8
xorq %rdi, %r8
imulq %rcx, %r8
movq %r8, %rax
shrq $0x20, %rax
xorq %r8, %rax
xorq 0x58(%r15), %rsi
xorq %r14, %rsi
movq %rsi, %rdi
shrq $0x21, %rdi
xorq %rsi, %rdi
imulq %rdx, %rdi
movq %rdi, %rsi
shrq $0x1d, %rsi
xorq %rdi, %rsi
imulq %rcx, %rsi
movq %rsi, %rdx
shrq $0x20, %rdx
xorq %rsi, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq