#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*/ s2funxyr(float (*)(float *, float *), int, int, float, float,
                            float, float, int, float, float);
void s2funxyr_(void *fxy, int *nx, int *ny, float *xmin, float *xmax,
               float *ymin, float *ymax, int *ctl, float *rmin, float *rmax) {
  float (*the_fxy)(float *, float *) = (float (*)(float *, float *))fxy;
  s2funxyr(the_fxy, *nx, *ny, *xmin, *xmax, *ymin, *ymax, *ctl, *rmin, *rmax);
}


x86 assembly (clang, -O0):
<s2funxyr_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    (%rax),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%edx
mov    -0x20(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x28(%rbp),%rax
movss  (%rax),%xmm1
mov    -0x30(%rbp),%rax
movss  (%rax),%xmm2
mov    0x10(%rbp),%rax
movss  (%rax),%xmm3
mov    0x18(%rbp),%rax
mov    (%rax),%ecx
mov    0x20(%rbp),%rax
movss  (%rax),%xmm4
mov    0x28(%rbp),%rax
movss  (%rax),%xmm5
call   1030 <s2funxyr@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<s2funxyr_>:
push   %rbx
mov    0x28(%rsp),%r10
mov    0x20(%rsp),%r11
mov    0x18(%rsp),%rax
mov    0x10(%rsp),%rbx
mov    (%rsi),%esi
mov    (%rdx),%edx
movss  (%rcx),%xmm0
movss  (%r8),%xmm1
movss  (%r9),%xmm2
movss  (%rbx),%xmm3
mov    (%rax),%ecx
movss  (%r11),%xmm4
movss  (%r10),%xmm5
pop    %rbx
jmp    1030 <s2funxyr@plt>

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

LLVM IR (-O2):
define void @s2funxyr_(i8* %0, i32* nocapture %1, i32* nocapture %2, float* nocapture %3, float* nocapture %4, float* nocapture %5, float* nocapture %6, i32* nocapture %7, float* nocapture %8, float* nocapture %9) {
%11 = bitcast i8* %0 to float (float*, float*)*
%12 = load i32, i32* %1
%13 = load i32, i32* %2
%14 = load float, float* %3
%15 = load float, float* %4
%16 = load float, float* %5
%17 = load float, float* %6
%18 = load i32, i32* %7
%19 = load float, float* %8
%20 = load float, float* %9
%21 = tail call i32 @s2funxyr(float (float*, float*)* %11, i32 %12, i32 %13, float %14, float %15, float %16, float %17, i32 %18, float %19, float %20)
ret void
}