#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*/ cdistr2h(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) {
  cdistr2h(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
sub    $0x40,%rsp
mov    0x48(%rbp),%rax
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movss  (%rax),%xmm1
mov    -0x20(%rbp),%rax
movss  (%rax),%xmm2
mov    -0x28(%rbp),%rax
movss  (%rax),%xmm3
mov    -0x30(%rbp),%rax
movss  (%rax),%xmm4
mov    0x10(%rbp),%rax
movss  (%rax),%xmm5
mov    0x18(%rbp),%rax
mov    (%rax),%esi
mov    0x20(%rbp),%rax
mov    (%rax),%edx
mov    0x28(%rbp),%rax
mov    (%rax),%ecx
mov    0x30(%rbp),%rax
mov    (%rax),%r8d
mov    0x38(%rbp),%rax
mov    (%rax),%r9d
mov    0x40(%rbp),%rax
mov    (%rax),%r10d
mov    0x48(%rbp),%rax
mov    (%rax),%eax
mov    %r10d,(%rsp)
mov    %eax,0x8(%rsp)
call   1030 <cdistr2h@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cdistr2h_>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    0x68(%rsp),%r10
mov    0x60(%rsp),%r11
mov    0x58(%rsp),%r14
mov    0x50(%rsp),%r15
mov    0x48(%rsp),%r12
mov    0x40(%rsp),%r13
mov    0x38(%rsp),%rax
mov    0x30(%rsp),%rbx
movss  (%rsi),%xmm0
movss  (%rdx),%xmm1
movss  (%rcx),%xmm2
movss  (%r8),%xmm3
movss  (%r9),%xmm4
movss  (%rbx),%xmm5
mov    (%rax),%esi
mov    0x0(%r13),%edx
mov    (%r12),%ecx
mov    (%r15),%r8d
mov    (%r14),%r9d
mov    (%r11),%eax
mov    (%r10),%ebx
push   %rbx
push   %rax
call   1030 <cdistr2h@plt>
add    $0x10,%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 = load float*, float** %16
%31 = load float, float* %30
%32 = load float*, float** %17
%33 = load float, float* %32
%34 = load float*, float** %18
%35 = load float, float* %34
%36 = load float*, float** %19
%37 = load float, float* %36
%38 = load float*, float** %20
%39 = load float, float* %38
%40 = load float*, float** %21
%41 = load float, float* %40
%42 = load i32*, i32** %22
%43 = load i32, i32* %42
%44 = load i32*, i32** %23
%45 = load i32, i32* %44
%46 = load i32*, i32** %24
%47 = load i32, i32* %46
%48 = load i32*, i32** %25
%49 = load i32, i32* %48
%50 = load i32*, i32** %26
%51 = load i32, i32* %50
%52 = load i32*, i32** %27
%53 = load i32, i32* %52
%54 = load i32*, i32** %28
%55 = load i32, i32* %54
%56 = call i32 @cdistr2h(float* %29, float %31, float %33, float %35, float %37, float %39, float %41, i32 %43, i32 %45, i32 %47, i32 %49, i32 %51, i32 %53, i32 %55)
ret void
}

LLVM IR (-O2):
define void @cdistr2h_(float* %0, float* nocapture %1, float* nocapture %2, float* nocapture %3, float* nocapture %4, float* nocapture %5, float* nocapture %6, i32* nocapture %7, i32* nocapture %8, i32* nocapture %9, i32* nocapture %10, i32* nocapture %11, i32* nocapture %12, i32* nocapture %13) {
%15 = load float, float* %1
%16 = load float, float* %2
%17 = load float, float* %3
%18 = load float, float* %4
%19 = load float, float* %5
%20 = load float, float* %6
%21 = load i32, i32* %7
%22 = load i32, i32* %8
%23 = load i32, i32* %9
%24 = load i32, i32* %10
%25 = load i32, i32* %11
%26 = load i32, i32* %12
%27 = load i32, i32* %13
%28 = tail call i32 @cdistr2h(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
}