#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 */

/* Variables and functions */
unsigned int hash32int(unsigned int);
int /*<<< orphan*/ vol_draw_self_sim_cubes(float, float, float, float,
                                           unsigned int, unsigned int,
                                           unsigned short);
void vol_draw_self_sim_cubes_hash_seed(float x, float y, float z, float size,
                                       unsigned int corners, unsigned int seed,
                                       unsigned short lvl) {
  seed = hash32int(seed);
  vol_draw_self_sim_cubes(x, y, z, size, corners, seed, lvl);
}


x86 assembly (clang, -O0):
<vol_draw_self_sim_cubes_hash_seed>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %dx,%ax
movss  %xmm0,-0x4(%rbp)
movss  %xmm1,-0x8(%rbp)
movss  %xmm2,-0xc(%rbp)
movss  %xmm3,-0x10(%rbp)
mov    %edi,-0x14(%rbp)
mov    %esi,-0x18(%rbp)
mov    %ax,-0x1a(%rbp)
mov    -0x18(%rbp),%edi
call   1030 <hash32int@plt>
mov    %eax,-0x18(%rbp)
movss  -0x4(%rbp),%xmm0
movss  -0x8(%rbp),%xmm1
movss  -0xc(%rbp),%xmm2
movss  -0x10(%rbp),%xmm3
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
movzwl -0x1a(%rbp),%edx
call   1040 <vol_draw_self_sim_cubes@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<vol_draw_self_sim_cubes_hash_seed>:
push   %rbp
push   %rbx
sub    $0x18,%rsp
mov    %edx,%ebx
mov    %edi,%ebp
movss  %xmm3,0x14(%rsp)
movss  %xmm2,0x10(%rsp)
movss  %xmm1,0xc(%rsp)
movss  %xmm0,0x8(%rsp)
mov    %esi,%edi
call   1030 <hash32int@plt>
movss  0x8(%rsp),%xmm0
movss  0xc(%rsp),%xmm1
movss  0x10(%rsp),%xmm2
movss  0x14(%rsp),%xmm3
mov    %ebp,%edi
mov    %eax,%esi
mov    %ebx,%edx
add    $0x18,%rsp
pop    %rbx
pop    %rbp
jmp    1040 <vol_draw_self_sim_cubes@plt>

LLVM IR (-O0):
define void @vol_draw_self_sim_cubes_hash_seed(float %0, float %1, float %2, float %3, i32 %4, i32 %5, i16 zeroext %6) {
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca i32
%13 = alloca i32
%14 = alloca i16
store float %0, float* %8
store float %1, float* %9
store float %2, float* %10
store float %3, float* %11
store i32 %4, i32* %12
store i32 %5, i32* %13
store i16 %6, i16* %14
%15 = load i32, i32* %13
%16 = call i32 @hash32int(i32 %15)
store i32 %16, i32* %13
%17 = load float, float* %8
%18 = load float, float* %9
%19 = load float, float* %10
%20 = load float, float* %11
%21 = load i32, i32* %12
%22 = load i32, i32* %13
%23 = load i16, i16* %14
%24 = call i32 @vol_draw_self_sim_cubes(float %17, float %18, float %19, float %20, i32 %21, i32 %22, i16 zeroext %23)
ret void
}

LLVM IR (-O2):
define void @vol_draw_self_sim_cubes_hash_seed(float %0, float %1, float %2, float %3, i32 %4, i32 %5, i16 zeroext %6) {
%8 = tail call i32 @hash32int(i32 %5)
%9 = tail call i32 @vol_draw_self_sim_cubes(float %0, float %1, float %2, float %3, i32 %4, i32 %8, i16 zeroext %6)
ret void
}