void freplx_(float *const pr, float *const shift, int *const na,
             float (*const func)(), int *const itmax, int *const maxits,
             float *const ftol, float *const atol, float *const fret,
             int *const iflag) {
  *iflag = freplex(pr, shift, *na, func, *itmax, *maxits, *ftol, *atol, fret);
}


x86 assembly (clang, -O0):
<freplx_>:
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),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rax
mov    (%rax),%edx
mov    -0x20(%rbp),%rcx
mov    -0x28(%rbp),%rax
mov    (%rax),%r8d
mov    -0x30(%rbp),%rax
mov    (%rax),%r9d
mov    0x10(%rbp),%rax
movss  (%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x18(%rbp),%rax
movss  (%rax),%xmm1
cvtss2sd %xmm1,%xmm1
mov    0x20(%rbp),%rax
mov    %rax,(%rsp)
mov    $0x2,%al
call   1030 <freplex@plt>
mov    %eax,%ecx
mov    0x28(%rbp),%rax
mov    %ecx,(%rax)
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<freplx_>:
push   %r14
push   %rbx
push   %rax
mov    0x38(%rsp),%r14
mov    0x30(%rsp),%r10
mov    0x28(%rsp),%rbx
mov    0x20(%rsp),%rax
mov    (%rdx),%edx
mov    (%r8),%r8d
mov    (%r9),%r9d
movss  (%rax),%xmm0
cvtss2sd %xmm0,%xmm0
movss  (%rbx),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r10,(%rsp)
mov    $0x2,%al
call   1030 <freplex@plt>
mov    %eax,(%r14)
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

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

LLVM IR (-O2):
define void @freplx_(float* %0, float* %1, i32* nocapture %2, float (...)* %3, i32* nocapture %4, i32* nocapture %5, float* nocapture %6, float* nocapture %7, float* %8, i32* nocapture writeonly %9) {
%11 = load i32, i32* %2
%12 = load i32, i32* %4
%13 = load i32, i32* %5
%14 = load float, float* %6
%15 = fpext float %14 to double
%16 = load float, float* %7
%17 = fpext float %16 to double
%18 = tail call i32 (float*, float*, i32, float (...)*, i32, i32, double, double, float*, ...) bitcast (i32 (...)* @freplex to i32 (float*, float*, i32, float (...)*, i32, i32, double, double, float*, ...)*)(float* %0, float* %1, i32 %11, float (...)* %3, i32 %12, i32 %13, double %15, double %17, float* %8)
store i32 %18, i32* %9
ret void
}