#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ value;
typedef scalar_t__ uint8_t;
typedef int uint32_t;

/* Variables and functions */
int UINT32_C(int);
int /*<<< orphan*/ rgph_jenkins2_mix(int *);
void rgph_u32x3_jenkins2v_u8(uint8_t value, uintptr_t seed, uint32_t *h) {
  h[0] = UINT32_C(0x9e3779b9);
  h[1] = UINT32_C(0x9e3779b9);
  h[2] = seed;
  h[0] += value;
  h[2] += sizeof(value);
  rgph_jenkins2_mix(h);
}


x86 assembly (clang, -O0):
<rgph_u32x3_jenkins2v_u8>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    $0x9e3779b9,%edi
call   1030 <UINT32_C@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    $0x9e3779b9,%edi
call   1030 <UINT32_C@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x10(%rbp),%rax
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x8(%rbp),%rdx
mov    -0x18(%rbp),%rax
movslq (%rax),%rcx
add    %rdx,%rcx
mov    %ecx,(%rax)
mov    -0x18(%rbp),%rax
movslq 0x8(%rax),%rcx
add    $0x8,%rcx
mov    %ecx,0x8(%rax)
mov    -0x18(%rbp),%rdi
call   1040 <rgph_jenkins2_mix@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<rgph_u32x3_jenkins2v_u8>:
push   %r15
push   %r14
push   %rbx
mov    %rdx,%rbx
mov    %rsi,%r14
mov    %rdi,%r15
mov    $0x9e3779b9,%edi
call   1030 <UINT32_C@plt>
mov    %eax,(%rbx)
mov    $0x9e3779b9,%edi
call   1030 <UINT32_C@plt>
mov    %eax,0x4(%rbx)
add    %r15d,(%rbx)
add    $0x8,%r14d
mov    %r14d,0x8(%rbx)
mov    %rbx,%rdi
pop    %rbx
pop    %r14
pop    %r15
jmp    1040 <rgph_jenkins2_mix@plt>

LLVM IR (-O0):
define void @rgph_u32x3_jenkins2v_u8(i64 %0, i64 %1, i32* %2) {
%4 = alloca i64
%5 = alloca i64
%6 = alloca i32*
store i64 %0, i64* %4
store i64 %1, i64* %5
store i32* %2, i32** %6
%7 = call i32 @UINT32_C(i32 -1640531527)
%8 = load i32*, i32** %6
%9 = getelementptr inbounds i32, i32* %8, i64 0
store i32 %7, i32* %9
%10 = call i32 @UINT32_C(i32 -1640531527)
%11 = load i32*, i32** %6
%12 = getelementptr inbounds i32, i32* %11, i64 1
store i32 %10, i32* %12
%13 = load i64, i64* %5
%14 = trunc i64 %13 to i32
%15 = load i32*, i32** %6
%16 = getelementptr inbounds i32, i32* %15, i64 2
store i32 %14, i32* %16
%17 = load i64, i64* %4
%18 = load i32*, i32** %6
%19 = getelementptr inbounds i32, i32* %18, i64 0
%20 = load i32, i32* %19
%21 = sext i32 %20 to i64
%22 = add nsw i64 %21, %17
%23 = trunc i64 %22 to i32
store i32 %23, i32* %19
%24 = load i32*, i32** %6
%25 = getelementptr inbounds i32, i32* %24, i64 2
%26 = load i32, i32* %25
%27 = sext i32 %26 to i64
%28 = add i64 %27, 8
%29 = trunc i64 %28 to i32
store i32 %29, i32* %25
%30 = load i32*, i32** %6
%31 = call i32 @rgph_jenkins2_mix(i32* %30)
ret void
}

LLVM IR (-O2):
define void @rgph_u32x3_jenkins2v_u8(i64 %0, i64 %1, i32* %2) {
%4 = tail call i32 @UINT32_C(i32 -1640531527)
store i32 %4, i32* %2
%5 = tail call i32 @UINT32_C(i32 -1640531527)
%6 = getelementptr inbounds i32, i32* %2, i64 1
store i32 %5, i32* %6
%7 = trunc i64 %1 to i32
%8 = getelementptr inbounds i32, i32* %2, i64 2
%9 = load i32, i32* %2
%10 = trunc i64 %0 to i32
%11 = add i32 %9, %10
store i32 %11, i32* %2
%12 = add i32 %7, 8
store i32 %12, i32* %8
%13 = tail call i32 @rgph_jenkins2_mix(i32* %2)
ret void
}