#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*/ monthlyClimate2(int, double *, double *, char **, int, int,
                                   int, int);
void C_monthlyClimate2_R(int *nSites, double latitudes[], double longitudes[],
                         char *siteDirs[], int *yearLow, int *yearHigh,
                         int *type, int *printdebug) {
  monthlyClimate2(*nSites, latitudes, longitudes, siteDirs, *yearLow, *yearHigh,
                  *type, *printdebug);
}


x86 assembly (clang, -O0):
<C_monthlyClimate2_R>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
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),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
mov    -0x20(%rbp),%rcx
mov    -0x28(%rbp),%rax
mov    (%rax),%r8d
mov    -0x30(%rbp),%rax
mov    (%rax),%r9d
mov    0x10(%rbp),%rax
mov    (%rax),%r10d
mov    0x18(%rbp),%rax
mov    (%rax),%eax
mov    %r10d,(%rsp)
mov    %eax,0x8(%rsp)
call   1030 <monthlyClimate2@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<C_monthlyClimate2_R>:
push   %rax
mov    0x18(%rsp),%r10
mov    0x10(%rsp),%rax
mov    (%rdi),%edi
mov    (%r8),%r8d
mov    (%r9),%r9d
mov    (%rax),%r11d
mov    (%r10),%eax
push   %rax
push   %r11
call   1030 <monthlyClimate2@plt>
add    $0x10,%rsp
pop    %rax
ret

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

LLVM IR (-O2):
define void @C_monthlyClimate2_R(i32* nocapture %0, double* %1, double* %2, i8** %3, i32* nocapture %4, i32* nocapture %5, i32* nocapture %6, i32* nocapture %7) {
%9 = load i32, i32* %0
%10 = load i32, i32* %4
%11 = load i32, i32* %5
%12 = load i32, i32* %6
%13 = load i32, i32* %7
%14 = tail call i32 @monthlyClimate2(i32 %9, double* %1, double* %2, i8** %3, i32 %10, i32 %11, i32 %12, i32 %13)
ret void
}