#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*/ __ppm_module_init_MOD_ppm_init(int *, int *, int *, int *,
                                                  int *, int *, int *, int *,
                                                  int *);
void ppm_init(int dim, int prec, int tolexp, int comm, int debug, int *info,
              int log, int stderr, int stdout) {
  __ppm_module_init_MOD_ppm_init(&dim, &prec, &tolexp, &comm, &debug, info,
                                 &log, &stderr, &stdout);
}


x86 assembly (clang, -O0):
<ppm_init>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    %r8d,-0x14(%rbp)
mov    %r9,-0x20(%rbp)
mov    -0x20(%rbp),%r9
lea    -0x4(%rbp),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
lea    -0x14(%rbp),%r8
lea    0x10(%rbp),%r11
lea    0x18(%rbp),%r10
lea    0x20(%rbp),%rax
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %rax,0x10(%rsp)
call   1030 <__ppm_module_init_MOD_ppm_init@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ppm_init>:
sub    $0x18,%rsp
mov    %edi,0x14(%rsp)
mov    %esi,0x10(%rsp)
mov    %edx,0xc(%rsp)
mov    %ecx,0x8(%rsp)
mov    %r8d,0x4(%rsp)
sub    $0x8,%rsp
lea    0x38(%rsp),%rax
lea    0x30(%rsp),%r10
lea    0x28(%rsp),%r11
lea    0x1c(%rsp),%rdi
lea    0x18(%rsp),%rsi
lea    0x14(%rsp),%rdx
lea    0x10(%rsp),%rcx
lea    0xc(%rsp),%r8
push   %rax
push   %r10
push   %r11
call   1030 <__ppm_module_init_MOD_ppm_init@plt>
add    $0x38,%rsp
ret

LLVM IR (-O0):
define void @ppm_init(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, i32* %5, i32 %6, i32 %7, i32 %8) {
%10 = alloca i32
%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 %0, i32* %10
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 = load i32*, i32** %15
%20 = call i32 @__ppm_module_init_MOD_ppm_init(i32* %10, i32* %11, i32* %12, i32* %13, i32* %14, i32* %19, i32* %16, i32* %17, i32* %18)
ret void
}

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