#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_1dx2d_order2(int const *, int const *, int const *,
                              int const *, double const *, double const *,
                              double const *, double const *, double const *,
                              int *, int *, int *, int *, double *, double *,
                              double *);
int create_xgrid_1dx2d_order2_(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,
                               double *xgrid_clon, double *xgrid_clat) {
  int nxgrid;
  nxgrid = create_xgrid_1dx2d_order2(
      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, xgrid_clon, xgrid_clat);
  return nxgrid;
}


x86 assembly (clang, -O0):
<create_xgrid_1dx2d_order2_>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa8,%rsp
mov    0x58(%rbp),%rax
mov    0x50(%rbp),%rax
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),%rax
mov    %rax,-0x78(%rbp)
mov    0x18(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    0x20(%rbp),%r13
mov    0x28(%rbp),%r12
mov    0x30(%rbp),%r15
mov    0x38(%rbp),%r14
mov    0x40(%rbp),%rbx
mov    0x48(%rbp),%r11
mov    0x50(%rbp),%r10
mov    0x58(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x78(%rbp),%rax
mov    %rax,(%rsp)
mov    -0x70(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x68(%rbp),%rax
mov    %r13,0x10(%rsp)
mov    %r12,0x18(%rsp)
mov    %r15,0x20(%rsp)
mov    %r14,0x28(%rsp)
mov    %rbx,0x30(%rsp)
mov    %r11,0x38(%rsp)
mov    %r10,0x40(%rsp)
mov    %rax,0x48(%rsp)
call   1030 <create_xgrid_1dx2d_order2@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<create_xgrid_1dx2d_order2_>:
jmp    1030 <create_xgrid_1dx2d_order2@plt>

LLVM IR (-O0):
define i32 @create_xgrid_1dx2d_order2_(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, double* %14, double* %15) {
%17 = alloca i32*
%18 = alloca i32*
%19 = alloca i32*
%20 = alloca i32*
%21 = alloca double*
%22 = alloca double*
%23 = alloca double*
%24 = alloca double*
%25 = alloca double*
%26 = alloca i32*
%27 = alloca i32*
%28 = alloca i32*
%29 = alloca i32*
%30 = alloca double*
%31 = alloca double*
%32 = alloca double*
%33 = alloca i32
store i32* %0, i32** %17
store i32* %1, i32** %18
store i32* %2, i32** %19
store i32* %3, i32** %20
store double* %4, double** %21
store double* %5, double** %22
store double* %6, double** %23
store double* %7, double** %24
store double* %8, double** %25
store i32* %9, i32** %26
store i32* %10, i32** %27
store i32* %11, i32** %28
store i32* %12, i32** %29
store double* %13, double** %30
store double* %14, double** %31
store double* %15, double** %32
%34 = load i32*, i32** %17
%35 = load i32*, i32** %18
%36 = load i32*, i32** %19
%37 = load i32*, i32** %20
%38 = load double*, double** %21
%39 = load double*, double** %22
%40 = load double*, double** %23
%41 = load double*, double** %24
%42 = load double*, double** %25
%43 = load i32*, i32** %26
%44 = load i32*, i32** %27
%45 = load i32*, i32** %28
%46 = load i32*, i32** %29
%47 = load double*, double** %30
%48 = load double*, double** %31
%49 = load double*, double** %32
%50 = call i32 @create_xgrid_1dx2d_order2(i32* %34, i32* %35, i32* %36, i32* %37, double* %38, double* %39, double* %40, double* %41, double* %42, i32* %43, i32* %44, i32* %45, i32* %46, double* %47, double* %48, double* %49)
store i32 %50, i32* %33
%51 = load i32, i32* %33
ret i32 %51
}

LLVM IR (-O2):
define i32 @create_xgrid_1dx2d_order2_(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, double* %14, double* %15) {
%17 = tail call i32 @create_xgrid_1dx2d_order2(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, double* %14, double* %15)
ret i32 %17
}