#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 dsygeig(int *, char *, char *, char *, int *, double *, int *, double *,
            int *, double *, double *, int *, int *, int *, double *);
void dsygeig_(int *itype, char *jobz, char *range, char *uplo, int *np,
              double *A, int *ldap, double *B, int *ldbp, double *vlp,
              double *vup, int *ilp, int *iup, int *mp, double *W, int *info) {
  *info = dsygeig(itype, jobz, range, uplo, np, A, ldap, B, ldbp, vlp, vup, ilp,
                  iup, mp, W);
}


x86 assembly (clang, -O0):
<dsygeig_>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
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,-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 <dsygeig@plt>
mov    %eax,%ecx
mov    0x58(%rbp),%rax
mov    %ecx,(%rax)
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<dsygeig_>:
push   %rbx
sub    $0x50,%rsp
mov    0xa8(%rsp),%rbx
movaps 0x60(%rsp),%xmm0
movaps 0x70(%rsp),%xmm1
movaps 0x80(%rsp),%xmm2
movaps 0x90(%rsp),%xmm3
mov    0xa0(%rsp),%rax
mov    %rax,0x40(%rsp)
movups %xmm3,0x30(%rsp)
movups %xmm2,0x20(%rsp)
movups %xmm1,0x10(%rsp)
movups %xmm0,(%rsp)
call   1030 <dsygeig@plt>
mov    %eax,(%rbx)
add    $0x50,%rsp
pop    %rbx
ret

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

LLVM IR (-O2):
define void @dsygeig_(i32* %0, i8* %1, i8* %2, i8* %3, i32* %4, double* %5, i32* %6, double* %7, i32* %8, double* %9, double* %10, i32* %11, i32* %12, i32* %13, double* %14, i32* nocapture writeonly %15) {
%17 = tail call i32 @dsygeig(i32* %0, i8* %1, i8* %2, i8* %3, i32* %4, double* %5, i32* %6, double* %7, i32* %8, double* %9, double* %10, i32* %11, i32* %12, i32* %13, double* %14)
store i32 %17, i32* %15
ret void
}