#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*/ flsa(double *, double *, double *, double *, double *,
                        double, double, int, int, double, int, int);
void R_flsa(double *xnew, double *znew, double *infor, double *lambda1,
            double *lambda2, int *n, int *maxStep, double *tol, int *tau,
            int *flag, double *x, double *z) {
  flsa(xnew, znew, infor, x, z, *lambda1, *lambda2, *n, *maxStep, *tol, *tau,
       *flag);
}


x86 assembly (clang, -O0):
<R_flsa>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%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),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
mov    0x30(%rbp),%rcx
mov    0x38(%rbp),%r8
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x30(%rbp),%rax
mov    (%rax),%r9d
mov    0x10(%rbp),%rax
mov    (%rax),%r11d
mov    0x18(%rbp),%rax
movsd  (%rax),%xmm2
mov    0x20(%rbp),%rax
mov    (%rax),%r10d
mov    0x28(%rbp),%rax
mov    (%rax),%eax
mov    %r11d,(%rsp)
mov    %r10d,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1030 <flsa@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<R_flsa>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    0x50(%rsp),%r11
mov    0x58(%rsp),%r10
mov    0x48(%rsp),%r14
mov    0x40(%rsp),%r15
mov    0x38(%rsp),%rax
mov    0x30(%rsp),%rbx
movsd  (%rcx),%xmm0
movsd  (%r8),%xmm1
mov    (%r9),%r9d
mov    (%rbx),%r12d
movsd  (%rax),%xmm2
mov    (%r15),%eax
mov    (%r14),%ebx
sub    $0x8,%rsp
mov    %r11,%rcx
mov    %r10,%r8
push   %rbx
push   %rax
push   %r12
call   1030 <flsa@plt>
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

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

LLVM IR (-O2):
define void @R_flsa(double* %0, double* %1, double* %2, double* nocapture %3, double* nocapture %4, i32* nocapture %5, i32* nocapture %6, double* nocapture %7, i32* nocapture %8, i32* nocapture %9, double* %10, double* %11) {
%13 = load double, double* %3
%14 = load double, double* %4
%15 = load i32, i32* %5
%16 = load i32, i32* %6
%17 = load double, double* %7
%18 = load i32, i32* %8
%19 = load i32, i32* %9
%20 = tail call i32 @flsa(double* %0, double* %1, double* %2, double* %10, double* %11, double %13, double %14, i32 %15, i32 %16, double %17, i32 %18, i32 %19)
ret void
}