#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*/ ssyrk_(char *, char *, int *, int *, float *, float *, int *,
                          float *, float *, int *, int, int);
void clapack_ssyrk(char uplo, char trans, int n, int k, float alpha, float *a,
                   int lda, float beta, float *c, int ldc) {
  ssyrk_(&uplo, &trans, &n, &k, &alpha, a, &lda, &beta, c, &ldc, 1, 1);
}


x86 assembly (clang, -O0):
<clapack_ssyrk>:
push   %rbp
mov    %rsp,%rbp
push   %rbx
sub    $0x58,%rsp
mov    %sil,%al
mov    %dil,%sil
mov    0x18(%rbp),%edi
mov    0x10(%rbp),%rdi
mov    %sil,-0x9(%rbp)
mov    %al,-0xa(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
movss  %xmm0,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9d,-0x24(%rbp)
movss  %xmm1,-0x28(%rbp)
mov    -0x20(%rbp),%r9
mov    0x10(%rbp),%r10
lea    -0x9(%rbp),%rdi
lea    -0xa(%rbp),%rsi
lea    -0x10(%rbp),%rdx
lea    -0x14(%rbp),%rcx
lea    -0x18(%rbp),%r8
lea    -0x24(%rbp),%rbx
lea    -0x28(%rbp),%r11
lea    0x18(%rbp),%rax
mov    %rbx,(%rsp)
mov    %r11,0x8(%rsp)
mov    %r10,0x10(%rsp)
mov    %rax,0x18(%rsp)
movl   $0x1,0x20(%rsp)
movl   $0x1,0x28(%rsp)
call   1030 <ssyrk_@plt>
add    $0x58,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<clapack_ssyrk>:
push   %r14
push   %rbx
sub    $0x18,%rsp
mov    %r8,%rax
mov    0x30(%rsp),%r10
mov    %dil,0x3(%rsp)
mov    %sil,0x2(%rsp)
mov    %edx,0x14(%rsp)
mov    %ecx,0x10(%rsp)
movss  %xmm0,0xc(%rsp)
mov    %r9d,0x8(%rsp)
movss  %xmm1,0x4(%rsp)
lea    0x38(%rsp),%r11
lea    0x4(%rsp),%rbx
lea    0x8(%rsp),%r14
lea    0x3(%rsp),%rdi
lea    0x2(%rsp),%rsi
lea    0x14(%rsp),%rdx
lea    0x10(%rsp),%rcx
lea    0xc(%rsp),%r8
mov    %rax,%r9
push   $0x1
push   $0x1
push   %r11
push   %r10
push   %rbx
push   %r14
call   1030 <ssyrk_@plt>
add    $0x48,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @clapack_ssyrk(i8 signext %0, i8 signext %1, i32 %2, i32 %3, float %4, float* %5, i32 %6, float %7, float* %8, i32 %9) {
%11 = alloca i8
%12 = alloca i8
%13 = alloca i32
%14 = alloca i32
%15 = alloca float
%16 = alloca float*
%17 = alloca i32
%18 = alloca float
%19 = alloca float*
%20 = alloca i32
store i8 %0, i8* %11
store i8 %1, i8* %12
store i32 %2, i32* %13
store i32 %3, i32* %14
store float %4, float* %15
store float* %5, float** %16
store i32 %6, i32* %17
store float %7, float* %18
store float* %8, float** %19
store i32 %9, i32* %20
%21 = load float*, float** %16
%22 = load float*, float** %19
%23 = call i32 @ssyrk_(i8* %11, i8* %12, i32* %13, i32* %14, float* %15, float* %21, i32* %17, float* %18, float* %22, i32* %20, i32 1, i32 1)
ret void
}

LLVM IR (-O2):
define void @clapack_ssyrk(i8 signext %0, i8 signext %1, i32 %2, i32 %3, float %4, float* %5, i32 %6, float %7, float* %8, i32 %9) {
%11 = alloca i8
%12 = alloca i8
%13 = alloca i32
%14 = alloca i32
%15 = alloca float
%16 = alloca i32
%17 = alloca float
%18 = alloca i32
store i8 %0, i8* %11
store i8 %1, i8* %12
store i32 %2, i32* %13
store i32 %3, i32* %14
store float %4, float* %15
store i32 %6, i32* %16
store float %7, float* %17
store i32 %9, i32* %18
%19 = call i32 @ssyrk_(i8* %11, i8* %12, i32* %13, i32* %14, float* %15, float* %5, i32* %16, float* %17, float* %8, i32* %18, i32 1, i32 1)
ret void
}