#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*/ kernel_dgemm_nn_2x4_vs_lib4(int, int, int, double *,
                                               double *, int, int, double *,
                                               double *, int, int);
void kernel_dgemm_nn_2x4_lib4(int kmax, double *A, double *B, int sdb, int alg,
                              double *C, double *D, int tc, int td) {
  kernel_dgemm_nn_2x4_vs_lib4(2, 4, kmax, A, B, sdb, alg, C, D, tc, td);
}


x86 assembly (clang, -O0):
<kernel_dgemm_nn_2x4_lib4>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0x50,%rsp
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%rax
mov    %edi,-0x14(%rbp)
mov    %rsi,-0x20(%rbp)
mov    %rdx,-0x28(%rbp)
mov    %ecx,-0x2c(%rbp)
mov    %r8d,-0x30(%rbp)
mov    %r9,-0x38(%rbp)
mov    -0x14(%rbp),%edx
mov    -0x20(%rbp),%rcx
mov    -0x28(%rbp),%r8
mov    -0x2c(%rbp),%r9d
mov    -0x30(%rbp),%r14d
mov    -0x38(%rbp),%rbx
mov    0x10(%rbp),%r11
mov    0x18(%rbp),%r10d
mov    0x20(%rbp),%eax
mov    $0x2,%edi
mov    $0x4,%esi
mov    %r14d,(%rsp)
mov    %rbx,0x8(%rsp)
mov    %r11,0x10(%rsp)
mov    %r10d,0x18(%rsp)
mov    %eax,0x20(%rsp)
call   1030 <kernel_dgemm_nn_2x4_vs_lib4@plt>
add    $0x50,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dgemm_nn_2x4_lib4>:
push   %rbx
mov    %r9,%rax
mov    %r8d,%r10d
mov    %ecx,%r9d
mov    %rdx,%r8
mov    %rsi,%rcx
mov    %edi,%edx
mov    0x18(%rsp),%r11d
mov    0x20(%rsp),%ebx
sub    $0x8,%rsp
mov    $0x2,%edi
mov    $0x4,%esi
push   %rbx
push   %r11
push   0x28(%rsp)
push   %rax
push   %r10
call   1030 <kernel_dgemm_nn_2x4_vs_lib4@plt>
add    $0x30,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define void @kernel_dgemm_nn_2x4_lib4(i32 %0, double* %1, double* %2, i32 %3, i32 %4, double* %5, double* %6, i32 %7, i32 %8) {
%10 = alloca i32
%11 = alloca double*
%12 = alloca double*
%13 = alloca i32
%14 = alloca i32
%15 = alloca double*
%16 = alloca double*
%17 = alloca i32
%18 = alloca i32
store i32 %0, i32* %10
store double* %1, double** %11
store double* %2, double** %12
store i32 %3, i32* %13
store i32 %4, i32* %14
store double* %5, double** %15
store double* %6, double** %16
store i32 %7, i32* %17
store i32 %8, i32* %18
%19 = load i32, i32* %10
%20 = load double*, double** %11
%21 = load double*, double** %12
%22 = load i32, i32* %13
%23 = load i32, i32* %14
%24 = load double*, double** %15
%25 = load double*, double** %16
%26 = load i32, i32* %17
%27 = load i32, i32* %18
%28 = call i32 @kernel_dgemm_nn_2x4_vs_lib4(i32 2, i32 4, i32 %19, double* %20, double* %21, i32 %22, i32 %23, double* %24, double* %25, i32 %26, i32 %27)
ret void
}

LLVM IR (-O2):
define void @kernel_dgemm_nn_2x4_lib4(i32 %0, double* %1, double* %2, i32 %3, i32 %4, double* %5, double* %6, i32 %7, i32 %8) {
%10 = tail call i32 @kernel_dgemm_nn_2x4_vs_lib4(i32 2, i32 4, i32 %0, double* %1, double* %2, i32 %3, i32 %4, double* %5, double* %6, i32 %7, i32 %8)
ret void
}