#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*/ p3dfft_setup(int *, int *, int *, int *, int *, int *, int *,
                                int *, int *, int *);
void Cp3dfft_setup(int *dims, int nx, int ny, int nz, int comm, int nxc,
                   int nyc, int nzc, int overwrite, int *memsize) {
  p3dfft_setup(dims, &nx, &ny, &nz, &comm, &nxc, &nyc, &nzc, &overwrite,
               memsize);
}


x86 assembly (clang, -O0):
<Cp3dfft_setup>:
push   %rbp
mov    %rsp,%rbp
push   %rbx
sub    $0x48,%rsp
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
mov    %edx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8d,-0x20(%rbp)
mov    %r9d,-0x24(%rbp)
mov    -0x10(%rbp),%rdi
mov    0x28(%rbp),%rax
lea    -0x14(%rbp),%rsi
lea    -0x18(%rbp),%rdx
lea    -0x1c(%rbp),%rcx
lea    -0x20(%rbp),%r8
lea    -0x24(%rbp),%r9
lea    0x10(%rbp),%rbx
lea    0x18(%rbp),%r11
lea    0x20(%rbp),%r10
mov    %rbx,(%rsp)
mov    %r11,0x8(%rsp)
mov    %r10,0x10(%rsp)
mov    %rax,0x18(%rsp)
call   1030 <p3dfft_setup@plt>
add    $0x48,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<Cp3dfft_setup>:
push   %rbx
sub    $0x20,%rsp
mov    0x48(%rsp),%r10
mov    %esi,0x1c(%rsp)
mov    %edx,0x18(%rsp)
mov    %ecx,0x14(%rsp)
mov    %r8d,0x10(%rsp)
mov    %r9d,0xc(%rsp)
lea    0x40(%rsp),%rax
lea    0x38(%rsp),%r11
lea    0x30(%rsp),%rbx
lea    0x1c(%rsp),%rsi
lea    0x18(%rsp),%rdx
lea    0x14(%rsp),%rcx
lea    0x10(%rsp),%r8
lea    0xc(%rsp),%r9
push   %r10
push   %rax
push   %r11
push   %rbx
call   1030 <p3dfft_setup@plt>
add    $0x40,%rsp
pop    %rbx
ret

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

LLVM IR (-O2):
define void @Cp3dfft_setup(i32* %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8, i32* %9) {
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
store i32 %1, i32* %11
store i32 %2, i32* %12
store i32 %3, i32* %13
store i32 %4, i32* %14
store i32 %5, i32* %15
store i32 %6, i32* %16
store i32 %7, i32* %17
store i32 %8, i32* %18
%19 = call i32 @p3dfft_setup(i32* %0, i32* %11, i32* %12, i32* %13, i32* %14, i32* %15, i32* %16, i32* %17, i32* %18, i32* %9)
ret void
}