#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 */
int /*<<< orphan*/ distr2h_(float *, float *, float *, float *, float *,
                            float *, float *, int *, int *, int *, int *, int *,
                            int *, int *);
void cdistr2h(float part[], float vtx, float vty, float vtz, float vdx,
              float vdy, float vdz, int npx, int npy, int idimp, int nop,
              int nx, int ny, int ipbc) {
  distr2h_(part, &vtx, &vty, &vtz, &vdx, &vdy, &vdz, &npx, &npy, &idimp, &nop,
           &nx, &ny, &ipbc);
  return;
}


x86 assembly (clang, -O0):
<cdistr2h>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x30(%rbp)
movss  %xmm0,-0x34(%rbp)
movss  %xmm1,-0x38(%rbp)
movss  %xmm2,-0x3c(%rbp)
movss  %xmm3,-0x40(%rbp)
movss  %xmm4,-0x44(%rbp)
movss  %xmm5,-0x48(%rbp)
mov    %esi,-0x4c(%rbp)
mov    %edx,-0x50(%rbp)
mov    %ecx,-0x54(%rbp)
mov    %r8d,-0x58(%rbp)
mov    %r9d,-0x5c(%rbp)
mov    -0x30(%rbp),%rdi
lea    -0x34(%rbp),%rsi
lea    -0x38(%rbp),%rdx
lea    -0x3c(%rbp),%rcx
lea    -0x40(%rbp),%r8
lea    -0x44(%rbp),%r9
lea    -0x48(%rbp),%r13
lea    -0x4c(%rbp),%r12
lea    -0x50(%rbp),%r15
lea    -0x54(%rbp),%r14
lea    -0x58(%rbp),%rbx
lea    -0x5c(%rbp),%r11
lea    0x10(%rbp),%r10
lea    0x18(%rbp),%rax
mov    %r13,(%rsp)
mov    %r12,0x8(%rsp)
mov    %r15,0x10(%rsp)
mov    %r14,0x18(%rsp)
mov    %rbx,0x20(%rsp)
mov    %r11,0x28(%rsp)
mov    %r10,0x30(%rsp)
mov    %rax,0x38(%rsp)
call   1030 <distr2h_@plt>
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<cdistr2h>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x30,%rsp
movss  %xmm0,0x2c(%rsp)
movss  %xmm1,0x28(%rsp)
movss  %xmm2,0x24(%rsp)
movss  %xmm3,0x20(%rsp)
movss  %xmm4,0x1c(%rsp)
movss  %xmm5,0x18(%rsp)
mov    %esi,0x14(%rsp)
mov    %edx,0x10(%rsp)
mov    %ecx,0xc(%rsp)
mov    %r8d,0x8(%rsp)
mov    %r9d,0x4(%rsp)
lea    0x68(%rsp),%rax
lea    0x60(%rsp),%r10
lea    0x4(%rsp),%r11
lea    0x8(%rsp),%rbx
lea    0xc(%rsp),%r14
lea    0x10(%rsp),%r15
lea    0x14(%rsp),%r12
lea    0x18(%rsp),%r13
lea    0x2c(%rsp),%rsi
lea    0x28(%rsp),%rdx
lea    0x24(%rsp),%rcx
lea    0x20(%rsp),%r8
lea    0x1c(%rsp),%r9
push   %rax
push   %r10
push   %r11
push   %rbx
push   %r14
push   %r15
push   %r12
push   %r13
call   1030 <distr2h_@plt>
add    $0x70,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define void @cdistr2h(float* %0, float %1, float %2, float %3, float %4, float %5, float %6, i32 %7, i32 %8, i32 %9, i32 %10, i32 %11, i32 %12, i32 %13) {
%15 = alloca float*
%16 = alloca float
%17 = alloca float
%18 = alloca float
%19 = alloca float
%20 = alloca float
%21 = alloca float
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
store float* %0, float** %15
store float %1, float* %16
store float %2, float* %17
store float %3, float* %18
store float %4, float* %19
store float %5, float* %20
store float %6, float* %21
store i32 %7, i32* %22
store i32 %8, i32* %23
store i32 %9, i32* %24
store i32 %10, i32* %25
store i32 %11, i32* %26
store i32 %12, i32* %27
store i32 %13, i32* %28
%29 = load float*, float** %15
%30 = call i32 @distr2h_(float* %29, float* %16, float* %17, float* %18, float* %19, float* %20, float* %21, i32* %22, i32* %23, i32* %24, i32* %25, i32* %26, i32* %27, i32* %28)
ret void
}

LLVM IR (-O2):
define void @cdistr2h(float* %0, float %1, float %2, float %3, float %4, float %5, float %6, i32 %7, i32 %8, i32 %9, i32 %10, i32 %11, i32 %12, i32 %13) {
%15 = alloca float
%16 = alloca float
%17 = alloca float
%18 = alloca float
%19 = alloca float
%20 = alloca float
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca i32
store float %1, float* %15
store float %2, float* %16
store float %3, float* %17
store float %4, float* %18
store float %5, float* %19
store float %6, float* %20
store i32 %7, i32* %21
store i32 %8, i32* %22
store i32 %9, i32* %23
store i32 %10, i32* %24
store i32 %11, i32* %25
store i32 %12, i32* %26
store i32 %13, i32* %27
%28 = call i32 @distr2h_(float* %0, float* %15, float* %16, float* %17, float* %18, float* %19, float* %20, i32* %21, i32* %22, i32* %23, i32* %24, i32* %25, i32* %26, i32* %27)
ret void
}