#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*/ s2funxz(float (*)(float *, float *), int, int, float, float,
                           float, float, int);
void s2funxz_(void *fxz, int *nx, int *nz, float *xmin, float *xmax,
              float *zmin, float *zmax, int *ctl) {
  float (*the_fxz)(float *, float *) = (float (*)(float *, float *))fxz;
  s2funxz(the_fxz, *nx, *nz, *xmin, *xmax, *zmin, *zmax, *ctl);
}


x86 assembly (clang, -O0):
<s2funxz_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
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
call   1030 <s2funxz@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<s2funxz_>:
mov    0x10(%rsp),%r10
mov    0x8(%rsp),%rax
mov    (%rsi),%esi
mov    (%rdx),%edx
movss  (%rcx),%xmm0
movss  (%r8),%xmm1
movss  (%r9),%xmm2
movss  (%rax),%xmm3
mov    (%r10),%ecx
jmp    1030 <s2funxz@plt>

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

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