#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*/ sfeast_sygv_(char *, int *, float *, int *, float *, int *,
                                int *, float *, int *, float *, float *, int *,
                                float *, float *, int *, float *, int *);
void SFEAST_SYGV(char *UPLO, int *N, float *A, int *LDA, float *B, int *LDB,
                 int *feastparam, float *epsout, int *loop, float *Emin,
                 float *Emax, int *M0, float *lambda, float *q, int *mode,
                 float *res, int *info) {
  sfeast_sygv_(UPLO, N, A, LDA, B, LDB, feastparam, epsout, loop, Emin, Emax,
               M0, lambda, q, mode, res, info);
}


x86 assembly (clang, -O0):
<SFEAST_SYGV>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa8,%rsp
mov    0x60(%rbp),%rax
mov    0x58(%rbp),%rax
mov    0x50(%rbp),%rax
mov    0x48(%rbp),%rax
mov    0x40(%rbp),%rax
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,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
mov    %rdx,-0x40(%rbp)
mov    %rcx,-0x48(%rbp)
mov    %r8,-0x50(%rbp)
mov    %r9,-0x58(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x40(%rbp),%rdx
mov    -0x48(%rbp),%rcx
mov    -0x50(%rbp),%r8
mov    -0x58(%rbp),%r9
mov    0x10(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    0x18(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    0x20(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    0x28(%rbp),%r13
mov    0x30(%rbp),%r12
mov    0x38(%rbp),%r15
mov    0x40(%rbp),%r14
mov    0x48(%rbp),%rbx
mov    0x50(%rbp),%r11
mov    0x58(%rbp),%r10
mov    0x60(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x78(%rbp),%rax
mov    %rax,(%rsp)
mov    -0x70(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x68(%rbp),%rax
mov    %rax,0x10(%rsp)
mov    -0x60(%rbp),%rax
mov    %r13,0x18(%rsp)
mov    %r12,0x20(%rsp)
mov    %r15,0x28(%rsp)
mov    %r14,0x30(%rsp)
mov    %rbx,0x38(%rsp)
mov    %r11,0x40(%rsp)
mov    %r10,0x48(%rsp)
mov    %rax,0x50(%rsp)
call   1030 <sfeast_sygv_@plt>
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<SFEAST_SYGV>:
jmp    1030 <sfeast_sygv_@plt>

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

LLVM IR (-O2):
define void @SFEAST_SYGV(i8* %0, i32* %1, float* %2, i32* %3, float* %4, i32* %5, i32* %6, float* %7, i32* %8, float* %9, float* %10, i32* %11, float* %12, float* %13, i32* %14, float* %15, i32* %16) {
%18 = tail call i32 @sfeast_sygv_(i8* %0, i32* %1, float* %2, i32* %3, float* %4, i32* %5, i32* %6, float* %7, i32* %8, float* %9, float* %10, i32* %11, float* %12, float* %13, i32* %14, float* %15, i32* %16)
ret void
}