#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*/
s2funuva(float (*)(float *, float *), float (*)(float *, float *),
         float (*)(float *, float *), float (*)(float *, float *), char,
         float (*)(float *, float *), float, float, int, float, float, int);
void s2funuva_(void *fx, void *fy, void *fz, void *fcol, char *trans,
               void *falpha, float *umin, float *umax, int *uDIV, float *vmin,
               float *vmax, int *vDIV) {
  float (*the_fx)(float *, float *) = (float (*)(float *, float *))fx;
  float (*the_fy)(float *, float *) = (float (*)(float *, float *))fy;
  float (*the_fz)(float *, float *) = (float (*)(float *, float *))fz;
  float (*the_fcol)(float *, float *) = (float (*)(float *, float *))fcol;
  float (*the_falpha)(float *, float *) = (float (*)(float *, float *))falpha;
  s2funuva(the_fx, the_fy, the_fz, the_fcol, *trans, the_falpha, *umin, *umax,
           *uDIV, *vmin, *vmax, *vDIV);
}


x86 assembly (clang, -O0):
<s2funuva_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
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,-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    -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x50(%rbp),%rcx
mov    -0x28(%rbp),%rax
mov    (%rax),%r8b
mov    -0x58(%rbp),%r9
mov    0x10(%rbp),%rax
movss  (%rax),%xmm0
mov    0x18(%rbp),%rax
movss  (%rax),%xmm1
mov    0x20(%rbp),%rax
mov    (%rax),%r10d
mov    0x28(%rbp),%rax
movss  (%rax),%xmm2
mov    0x30(%rbp),%rax
movss  (%rax),%xmm3
mov    0x38(%rbp),%rax
mov    (%rax),%eax
movsbl %r8b,%r8d
mov    %r10d,(%rsp)
mov    %eax,0x8(%rsp)
call   1030 <s2funuva@plt>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<s2funuva_>:
push   %r15
push   %r14
push   %rbx
mov    0x48(%rsp),%r10
mov    0x40(%rsp),%r11
mov    0x38(%rsp),%r14
mov    0x30(%rsp),%r15
mov    0x28(%rsp),%rax
mov    0x20(%rsp),%rbx
movsbl (%r8),%r8d
movss  (%rbx),%xmm0
movss  (%rax),%xmm1
mov    (%r15),%eax
movss  (%r14),%xmm2
movss  (%r11),%xmm3
mov    (%r10),%ebx
push   %rbx
push   %rax
call   1030 <s2funuva@plt>
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

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

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