#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*/ dgemv_(char *, int *, int *, double *, double *, int *,
                          double *, int *, double *, double *, int *);
void wcc_dgemv_(char *TRANS, int *M, int *N, char *ALPHA, char *A, int *LDA,
                char *X, int *INCX, char *BETA, char *Y, int *INCY) {
  dgemv_(TRANS, M, N, (double *)ALPHA, (double *)A, LDA, (double *)X, INCX,
         (double *)BETA, (double *)Y, INCY);
}


x86 assembly (clang, -O0):
<wcc_dgemv_>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0x60,%rsp
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x18(%rbp)
mov    %rsi,-0x20(%rbp)
mov    %rdx,-0x28(%rbp)
mov    %rcx,-0x30(%rbp)
mov    %r8,-0x38(%rbp)
mov    %r9,-0x40(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x38(%rbp),%r8
mov    -0x40(%rbp),%r9
mov    0x10(%rbp),%r14
mov    0x18(%rbp),%rbx
mov    0x20(%rbp),%r11
mov    0x28(%rbp),%r10
mov    0x30(%rbp),%rax
mov    %r14,(%rsp)
mov    %rbx,0x8(%rsp)
mov    %r11,0x10(%rsp)
mov    %r10,0x18(%rsp)
mov    %rax,0x20(%rsp)
call   1030 <dgemv_@plt>
add    $0x60,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<wcc_dgemv_>:
jmp    1030 <dgemv_@plt>

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

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