#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_great_circle(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 *, double *);
int create_xgrid_great_circle_(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,
                               double *range_check_criteria) {
  int nxgrid;
  nxgrid = create_xgrid_great_circle(
      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,
      range_check_criteria);
  return nxgrid;
}


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

x86 assembly (clang, -O2):
<create_xgrid_great_circle_>:
jmp    1030 <create_xgrid_great_circle@plt>

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

LLVM IR (-O2):
define i32 @create_xgrid_great_circle_(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, double* %16) {
%18 = tail call i32 @create_xgrid_great_circle(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, double* %16)
ret i32 %18
}