int dsaupd(int *IDO, unsigned char BMAT, int N, unsigned char *WHICH, int NEV,
           double TOL, double *RESID, int NCV, double *V, int LDV, int *IPARAM,
           int *IPNTR, double *WORKD, double *WORKL, int LWORKL, int *INFO) {
  extern int dsaupd_(int *IDO, unsigned char *BMAT, int *N,
                     unsigned char *WHICH, int *NEV, double *TOL, double *RESID,
                     int *NCV, double *V, int *LDV, int *IPARAM, int *IPNTR,
                     double *WORKD, double *WORKL, int *LWORKL, int *INFO);
  return dsaupd_(IDO, &BMAT, &N, WHICH, &NEV, &TOL, RESID, &NCV, V, &LDV,
                 IPARAM, IPNTR, WORKD, WORKL, &LWORKL, INFO);
}


x86 assembly (clang, -O0):
<dsaupd>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %sil,%al
mov    0x50(%rbp),%rsi
mov    0x48(%rbp),%esi
mov    0x40(%rbp),%rsi
mov    0x38(%rbp),%rsi
mov    0x30(%rbp),%rsi
mov    0x28(%rbp),%rsi
mov    0x20(%rbp),%esi
mov    0x18(%rbp),%rsi
mov    0x10(%rbp),%esi
mov    %rdi,-0x30(%rbp)
mov    %al,-0x31(%rbp)
mov    %edx,-0x38(%rbp)
mov    %rcx,-0x40(%rbp)
mov    %r8d,-0x44(%rbp)
movsd  %xmm0,-0x50(%rbp)
mov    %r9,-0x58(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x40(%rbp),%rcx
mov    -0x58(%rbp),%rax
mov    0x18(%rbp),%r13
mov    0x28(%rbp),%r15
mov    0x30(%rbp),%r14
mov    0x38(%rbp),%rbx
mov    0x40(%rbp),%r11
mov    0x50(%rbp),%rdx
mov    %rdx,-0x60(%rbp)
lea    -0x31(%rbp),%rsi
lea    -0x38(%rbp),%rdx
lea    -0x44(%rbp),%r8
lea    -0x50(%rbp),%r9
lea    0x10(%rbp),%r10
mov    %r10,-0x68(%rbp)
lea    0x20(%rbp),%r12
lea    0x48(%rbp),%r10
mov    %rax,(%rsp)
mov    -0x68(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x60(%rbp),%rax
mov    %r13,0x10(%rsp)
mov    %r12,0x18(%rsp)
mov    %r15,0x20(%rsp)
mov    %r14,0x28(%rsp)
mov    %rbx,0x30(%rsp)
mov    %r11,0x38(%rsp)
mov    %r10,0x40(%rsp)
mov    %rax,0x48(%rsp)
call   1030 <dsaupd_@plt>
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<dsaupd>:
sub    $0x68,%rsp
mov    0x78(%rsp),%r10
movups 0x88(%rsp),%xmm1
movups 0x98(%rsp),%xmm2
mov    0xb0(%rsp),%rax
mov    %sil,0x57(%rsp)
mov    %edx,0x5c(%rsp)
mov    %r8d,0x58(%rsp)
movsd  %xmm0,0x60(%rsp)
mov    %rax,0x48(%rsp)
lea    0xa8(%rsp),%rax
mov    %rax,0x40(%rsp)
movups %xmm2,0x30(%rsp)
movups %xmm1,0x20(%rsp)
lea    0x80(%rsp),%rax
mov    %rax,0x18(%rsp)
mov    %r10,0x10(%rsp)
lea    0x70(%rsp),%rax
mov    %rax,0x8(%rsp)
mov    %r9,(%rsp)
lea    0x57(%rsp),%rsi
lea    0x5c(%rsp),%rdx
lea    0x58(%rsp),%r8
lea    0x60(%rsp),%r9
call   1030 <dsaupd_@plt>
add    $0x68,%rsp
ret

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

LLVM IR (-O2):
define i32 @dsaupd(i32* %0, i8 zeroext %1, i32 %2, i8* %3, i32 %4, double %5, double* %6, i32 %7, double* %8, i32 %9, i32* %10, i32* %11, double* %12, double* %13, i32 %14, i32* %15) {
%17 = alloca i8
%18 = alloca i32
%19 = alloca i32
%20 = alloca double
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
store i8 %1, i8* %17
store i32 %2, i32* %18
store i32 %4, i32* %19
store double %5, double* %20
store i32 %7, i32* %21
store i32 %9, i32* %22
store i32 %14, i32* %23
%24 = call i32 @dsaupd_(i32* %0, i8* %17, i32* %18, i8* %3, i32* %19, double* %20, double* %6, i32* %21, double* %8, i32* %22, i32* %10, i32* %11, double* %12, double* %13, i32* %23, i32* %15)
ret i32 %24
}