#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*/ s2funtc(float (*)(float *), float (*)(float *),
                           float (*)(float *), float (*)(float *), int, float,
                           float);
void s2funtc_(void *fx, void *fy, void *fz, void *fc, int *n, float *tmin,
              float *tmax) {
  float (*the_fx)(float *) = (float (*)(float *))fx;
  float (*the_fy)(float *) = (float (*)(float *))fy;
  float (*the_fz)(float *) = (float (*)(float *))fz;
  float (*the_fc)(float *) = (float (*)(float *))fc;
  s2funtc(the_fx, the_fy, the_fz, the_fc, *n, *tmin, *tmax);
}


x86 assembly (clang, -O0):
<s2funtc_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
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    -0x38(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x50(%rbp),%rcx
mov    -0x28(%rbp),%rax
mov    (%rax),%r8d
mov    -0x30(%rbp),%rax
movss  (%rax),%xmm0
mov    0x10(%rbp),%rax
movss  (%rax),%xmm1
call   1030 <s2funtc@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<s2funtc_>:
mov    0x8(%rsp),%rax
mov    (%r8),%r8d
movss  (%r9),%xmm0
movss  (%rax),%xmm1
jmp    1030 <s2funtc@plt>

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

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