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


x86 assembly (clang, -O0):
<SFEAST_SBGV>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xc8,%rsp
mov    0x70(%rbp),%rax
mov    0x68(%rbp),%rax
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,-0x88(%rbp)
mov    0x18(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    0x20(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    0x28(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    0x30(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    0x38(%rbp),%r13
mov    0x40(%rbp),%r12
mov    0x48(%rbp),%r15
mov    0x50(%rbp),%r14
mov    0x58(%rbp),%rbx
mov    0x60(%rbp),%r11
mov    0x68(%rbp),%r10
mov    0x70(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x88(%rbp),%rax
mov    %rax,(%rsp)
mov    -0x80(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x78(%rbp),%rax
mov    %rax,0x10(%rsp)
mov    -0x70(%rbp),%rax
mov    %rax,0x18(%rsp)
mov    -0x68(%rbp),%rax
mov    %rax,0x20(%rsp)
mov    -0x60(%rbp),%rax
mov    %r13,0x28(%rsp)
mov    %r12,0x30(%rsp)
mov    %r15,0x38(%rsp)
mov    %r14,0x40(%rsp)
mov    %rbx,0x48(%rsp)
mov    %r11,0x50(%rsp)
mov    %r10,0x58(%rsp)
mov    %rax,0x60(%rsp)
call   1030 <sfeast_sbgv_@plt>
add    $0xc8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<SFEAST_SBGV>:
jmp    1030 <sfeast_sbgv_@plt>

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

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