#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 create_xgrid_2dx1d_order1(int const *, int const *, int const *,
                              int const *, double const *, double const *,
                              double const *, double const *, double const *,
                              int *, int *, int *, int *, double *);
int create_xgrid_2dx1d_order1_(const int *nlon_in, const int *nlat_in,
                               const int *nlon_out, const int *nlat_out,
                               const double *lon_in, const double *lat_in,
                               const double *lon_out, const double *lat_out,
                               const double *mask_in, int *i_in, int *j_in,
                               int *i_out, int *j_out, double *xgrid_area) {
  int nxgrid;
  nxgrid = create_xgrid_2dx1d_order1(nlon_in, nlat_in, nlon_out, nlat_out,
                                     lon_in, lat_in, lon_out, lat_out, mask_in,
                                     i_in, j_in, i_out, j_out, xgrid_area);
  return nxgrid;
}


x86 assembly (clang, -O0):
<create_xgrid_2dx1d_order1_>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%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,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
mov    %rdx,-0x40(%rbp)
mov    %rcx,-0x48(%rbp)
mov    %r8,-0x50(%rbp)
mov    %r9,-0x58(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x40(%rbp),%rdx
mov    -0x48(%rbp),%rcx
mov    -0x50(%rbp),%r8
mov    -0x58(%rbp),%r9
mov    0x10(%rbp),%r13
mov    0x18(%rbp),%r12
mov    0x20(%rbp),%r15
mov    0x28(%rbp),%r14
mov    0x30(%rbp),%rbx
mov    0x38(%rbp),%r11
mov    0x40(%rbp),%r10
mov    0x48(%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 <create_xgrid_2dx1d_order1@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<create_xgrid_2dx1d_order1_>:
jmp    1030 <create_xgrid_2dx1d_order1@plt>

LLVM IR (-O0):
define i32 @create_xgrid_2dx1d_order1_(i32* %0, i32* %1, i32* %2, i32* %3, double* %4, double* %5, double* %6, double* %7, double* %8, i32* %9, i32* %10, i32* %11, i32* %12, double* %13) {
%15 = alloca i32*
%16 = alloca i32*
%17 = alloca i32*
%18 = alloca i32*
%19 = alloca double*
%20 = alloca double*
%21 = alloca double*
%22 = alloca double*
%23 = alloca double*
%24 = alloca i32*
%25 = alloca i32*
%26 = alloca i32*
%27 = alloca i32*
%28 = alloca double*
%29 = alloca i32
store i32* %0, i32** %15
store i32* %1, i32** %16
store i32* %2, i32** %17
store i32* %3, i32** %18
store double* %4, double** %19
store double* %5, double** %20
store double* %6, double** %21
store double* %7, double** %22
store double* %8, double** %23
store i32* %9, i32** %24
store i32* %10, i32** %25
store i32* %11, i32** %26
store i32* %12, i32** %27
store double* %13, double** %28
%30 = load i32*, i32** %15
%31 = load i32*, i32** %16
%32 = load i32*, i32** %17
%33 = load i32*, i32** %18
%34 = load double*, double** %19
%35 = load double*, double** %20
%36 = load double*, double** %21
%37 = load double*, double** %22
%38 = load double*, double** %23
%39 = load i32*, i32** %24
%40 = load i32*, i32** %25
%41 = load i32*, i32** %26
%42 = load i32*, i32** %27
%43 = load double*, double** %28
%44 = call i32 @create_xgrid_2dx1d_order1(i32* %30, i32* %31, i32* %32, i32* %33, double* %34, double* %35, double* %36, double* %37, double* %38, i32* %39, i32* %40, i32* %41, i32* %42, double* %43)
store i32 %44, i32* %29
%45 = load i32, i32* %29
ret i32 %45
}

LLVM IR (-O2):
define i32 @create_xgrid_2dx1d_order1_(i32* %0, i32* %1, i32* %2, i32* %3, double* %4, double* %5, double* %6, double* %7, double* %8, i32* %9, i32* %10, i32* %11, i32* %12, double* %13) {
%15 = tail call i32 @create_xgrid_2dx1d_order1(i32* %0, i32* %1, i32* %2, i32* %3, double* %4, double* %5, double* %6, double* %7, double* %8, i32* %9, i32* %10, i32* %11, i32* %12, double* %13)
ret i32 %15
}