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


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

x86 assembly (clang, -O2):
<zfeast_heev>:
jmp    1030 <zfeast_heev_@plt>

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

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