#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*/ grad_c2l(int const *, int const *, double const *,
                            double const *, double const *, double const *,
                            double const *, double const *, double const *,
                            double const *, double const *, double const *,
                            double const *, double const *, double *, double *,
                            int const *, int const *, int const *, int const *);
void grad_c2l_(const int *nlon, const int *nlat, const double *pin,
               const double *dx, const double *dy, const double *area,
               const double *edge_w, const double *edge_e, const double *edge_s,
               const double *edge_n, const double *en_n, const double *en_e,
               const double *vlon, const double *vlat, double *grad_x,
               double *grad_y, const int *on_west_edge, const int *on_east_edge,
               const int *on_south_edge, const int *on_north_edge) {
  grad_c2l(nlon, nlat, pin, dx, dy, area, edge_w, edge_e, edge_s, edge_n, en_n,
           en_e, vlon, vlat, grad_x, grad_y, on_west_edge, on_east_edge,
           on_south_edge, on_north_edge);
}


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

x86 assembly (clang, -O2):
<grad_c2l_>:
jmp    1030 <grad_c2l@plt>

LLVM IR (-O0):
define void @grad_c2l_(i32* %0, i32* %1, double* %2, double* %3, double* %4, double* %5, double* %6, double* %7, double* %8, double* %9, double* %10, double* %11, double* %12, double* %13, double* %14, double* %15, i32* %16, i32* %17, i32* %18, i32* %19) {
%21 = alloca i32*
%22 = alloca i32*
%23 = alloca double*
%24 = alloca double*
%25 = alloca double*
%26 = alloca double*
%27 = alloca double*
%28 = alloca double*
%29 = alloca double*
%30 = alloca double*
%31 = alloca double*
%32 = alloca double*
%33 = alloca double*
%34 = alloca double*
%35 = alloca double*
%36 = alloca double*
%37 = alloca i32*
%38 = alloca i32*
%39 = alloca i32*
%40 = alloca i32*
store i32* %0, i32** %21
store i32* %1, i32** %22
store double* %2, double** %23
store double* %3, double** %24
store double* %4, double** %25
store double* %5, double** %26
store double* %6, double** %27
store double* %7, double** %28
store double* %8, double** %29
store double* %9, double** %30
store double* %10, double** %31
store double* %11, double** %32
store double* %12, double** %33
store double* %13, double** %34
store double* %14, double** %35
store double* %15, double** %36
store i32* %16, i32** %37
store i32* %17, i32** %38
store i32* %18, i32** %39
store i32* %19, i32** %40
%41 = load i32*, i32** %21
%42 = load i32*, i32** %22
%43 = load double*, double** %23
%44 = load double*, double** %24
%45 = load double*, double** %25
%46 = load double*, double** %26
%47 = load double*, double** %27
%48 = load double*, double** %28
%49 = load double*, double** %29
%50 = load double*, double** %30
%51 = load double*, double** %31
%52 = load double*, double** %32
%53 = load double*, double** %33
%54 = load double*, double** %34
%55 = load double*, double** %35
%56 = load double*, double** %36
%57 = load i32*, i32** %37
%58 = load i32*, i32** %38
%59 = load i32*, i32** %39
%60 = load i32*, i32** %40
%61 = call i32 @grad_c2l(i32* %41, i32* %42, double* %43, double* %44, double* %45, double* %46, double* %47, double* %48, double* %49, double* %50, double* %51, double* %52, double* %53, double* %54, double* %55, double* %56, i32* %57, i32* %58, i32* %59, i32* %60)
ret void
}

LLVM IR (-O2):
define void @grad_c2l_(i32* %0, i32* %1, double* %2, double* %3, double* %4, double* %5, double* %6, double* %7, double* %8, double* %9, double* %10, double* %11, double* %12, double* %13, double* %14, double* %15, i32* %16, i32* %17, i32* %18, i32* %19) {
%21 = tail call i32 @grad_c2l(i32* %0, i32* %1, double* %2, double* %3, double* %4, double* %5, double* %6, double* %7, double* %8, double* %9, double* %10, double* %11, double* %12, double* %13, double* %14, double* %15, i32* %16, i32* %17, i32* %18, i32* %19)
ret void
}