// File: mh0fm4[P]SCDC/src/extra/xxhash/xxhash.c
// Function: XXH64_digest
XXH_PUBLIC_API unsigned long long XXH64_digest (const XXH64_state_t* state_in)
{
    XXH_endianess endian_detected = (XXH_endianess)XXH_CPU_LITTLE_ENDIAN;

    if ((endian_detected==XXH_littleEndian) || XXH_FORCE_NATIVE_FORMAT)
        return XXH64_digest_endian(state_in, XXH_littleEndian);
    else
        return XXH64_digest_endian(state_in, XXH_bigEndian);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x80(%rbp)
callq 0x55f40
movl %eax, -0x84(%rbp)
cmpl $0x1, -0x84(%rbp)
jne 0x59b4e
movq -0x80(%rbp), %rax
movq %rax, -0x8(%rbp)
movl $0x1, -0xc(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x20, (%rax)
jb 0x59b02
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x20(%rbp), %rax
shlq %rax
movq -0x20(%rbp), %rcx
shrq $0x3f, %rcx
orq %rcx, %rax
movq -0x28(%rbp), %rcx
shlq $0x7, %rcx
movq -0x28(%rbp), %rdx
shrq $0x39, %rdx
orq %rdx, %rcx
addq %rcx, %rax
movq -0x30(%rbp), %rcx
shlq $0xc, %rcx
movq -0x30(%rbp), %rdx
shrq $0x34, %rdx
orq %rdx, %rcx
addq %rcx, %rax
movq -0x38(%rbp), %rcx
shlq $0x12, %rcx
movq -0x38(%rbp), %rdx
shrq $0x2e, %rdx
orq %rdx, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x5acd0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0x5acd0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x5acd0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0x5acd0
movq %rax, -0x18(%rbp)
jmp 0x59b18
movq -0x8(%rbp), %rcx
movabsq $0x27d4eb2f165667c5, %rax # imm = 0x27D4EB2F165667C5
addq 0x18(%rcx), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
addq -0x18(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x28, %rsi
movq -0x8(%rbp), %rax
movq (%rax), %rdx
movl -0xc(%rbp), %ecx
xorl %r8d, %r8d
callq 0x5ad30
movq %rax, -0x78(%rbp)
jmp 0x59c80
movq -0x80(%rbp), %rax
movq %rax, -0x40(%rbp)
movl $0x0, -0x44(%rbp)
movq -0x40(%rbp), %rax
cmpq $0x20, (%rax)
jb 0x59c39
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x58(%rbp)
movq -0x40(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x60(%rbp)
movq -0x40(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x68(%rbp)
movq -0x40(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x70(%rbp)
movq -0x58(%rbp), %rax
shlq %rax
movq -0x58(%rbp), %rcx
shrq $0x3f, %rcx
orq %rcx, %rax
movq -0x60(%rbp), %rcx
shlq $0x7, %rcx
movq -0x60(%rbp), %rdx
shrq $0x39, %rdx
orq %rdx, %rcx
addq %rcx, %rax
movq -0x68(%rbp), %rcx
shlq $0xc, %rcx
movq -0x68(%rbp), %rdx
shrq $0x34, %rdx
orq %rdx, %rcx
addq %rcx, %rax
movq -0x70(%rbp), %rcx
shlq $0x12, %rcx
movq -0x70(%rbp), %rdx
shrq $0x2e, %rdx
orq %rdx, %rcx
addq %rcx, %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rsi
callq 0x5acd0
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0x5acd0
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x5acd0
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rdi
movq -0x70(%rbp), %rsi
callq 0x5acd0
movq %rax, -0x50(%rbp)
jmp 0x59c4f
movq -0x40(%rbp), %rcx
movabsq $0x27d4eb2f165667c5, %rax # imm = 0x27D4EB2F165667C5
addq 0x18(%rcx), %rax
movq %rax, -0x50(%rbp)
movq -0x40(%rbp), %rax
movq (%rax), %rax
addq -0x50(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rdi
movq -0x40(%rbp), %rsi
addq $0x28, %rsi
movq -0x40(%rbp), %rax
movq (%rax), %rdx
movl -0x44(%rbp), %ecx
xorl %r8d, %r8d
callq 0x5ad30
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
addq $0x90, %rsp
popq %rbp
retq
nopl (%rax)