#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*/ pgconx_(float *, int *, int *, int *, int *, int *, int *,
                           float *, int *, void (*)());
cpgconx(float *a, int idim, int jdim, int i1, int i2, int j1, int j2, float *c,
        int nc, void pgfunplot()) {
  pgconx_(a, &idim, &jdim, &i1, &i2, &j1, &j2, c, &nc, pgfunplot);
}


x86 assembly (clang, -O0):
<cpgconx>:
push   %rbp
mov    %rsp,%rbp
push   %rbx
sub    $0x48,%rsp
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%eax
mov    %rdi,-0x18(%rbp)
mov    %esi,-0x1c(%rbp)
mov    %edx,-0x20(%rbp)
mov    %ecx,-0x24(%rbp)
mov    %r8d,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
mov    -0x18(%rbp),%rdi
mov    0x18(%rbp),%r11
mov    0x28(%rbp),%rax
lea    -0x1c(%rbp),%rsi
lea    -0x20(%rbp),%rdx
lea    -0x24(%rbp),%rcx
lea    -0x28(%rbp),%r8
lea    -0x2c(%rbp),%r9
lea    0x10(%rbp),%rbx
lea    0x20(%rbp),%r10
mov    %rbx,(%rsp)
mov    %r11,0x8(%rsp)
mov    %r10,0x10(%rsp)
mov    %rax,0x18(%rsp)
call   1030 <pgconx_@plt>
mov    -0xc(%rbp),%eax
add    $0x48,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<cpgconx>:
push   %rbx
sub    $0x20,%rsp
mov    0x38(%rsp),%r10
mov    0x48(%rsp),%r11
mov    %esi,0x1c(%rsp)
mov    %edx,0x18(%rsp)
mov    %ecx,0x14(%rsp)
mov    %r8d,0x10(%rsp)
mov    %r9d,0xc(%rsp)
lea    0x40(%rsp),%rax
lea    0x30(%rsp),%rbx
lea    0x1c(%rsp),%rsi
lea    0x18(%rsp),%rdx
lea    0x14(%rsp),%rcx
lea    0x10(%rsp),%r8
lea    0xc(%rsp),%r9
push   %r11
push   %rax
push   %r10
push   %rbx
call   1030 <pgconx_@plt>
add    $0x40,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define i32 @cpgconx(float* %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, float* %7, i32 %8, void (...)* %9) {
%11 = alloca i32
%12 = alloca float*
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca float*
%20 = alloca i32
%21 = alloca void (...)*
store float* %0, float** %12
store i32 %1, i32* %13
store i32 %2, i32* %14
store i32 %3, i32* %15
store i32 %4, i32* %16
store i32 %5, i32* %17
store i32 %6, i32* %18
store float* %7, float** %19
store i32 %8, i32* %20
store void (...)* %9, void (...)** %21
%22 = load float*, float** %12
%23 = load float*, float** %19
%24 = load void (...)*, void (...)** %21
%25 = call i32 @pgconx_(float* %22, i32* %13, i32* %14, i32* %15, i32* %16, i32* %17, i32* %18, float* %23, i32* %20, void (...)* %24)
%26 = load i32, i32* %11
ret i32 %26
}

LLVM IR (-O2):
define i32 @cpgconx(float* %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, float* %7, i32 %8, void (...)* %9) {
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
store i32 %1, i32* %11
store i32 %2, i32* %12
store i32 %3, i32* %13
store i32 %4, i32* %14
store i32 %5, i32* %15
store i32 %6, i32* %16
store i32 %8, i32* %17
%18 = call i32 @pgconx_(float* %0, i32* %11, i32* %12, i32* %13, i32* %14, i32* %15, i32* %16, float* %7, i32* %17, void (...)* %9)
ret i32 undef
}