#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*/ free(double *);
void free_all(double *m_beta, double *inv_cov_beta, double *m_U,
              double *inv_cov_U, double *m_V, double *inv_cov_V, double *mean,
              double *mean_U, double *mean_V, double *sum2, double *sum,
              double *bb, double *CCt) {
  free(m_beta);
  free(inv_cov_beta);
  free(m_U);
  free(inv_cov_U);
  free(m_V);
  free(inv_cov_V);
  free(mean);
  free(mean_U);
  free(mean_V);
  free(sum2);
  free(sum);
  free(bb);
  free(CCt);
}


x86 assembly (clang, -O0):
<free_all>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
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,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
mov    0x10(%rbp),%rdi
call   1030 <free@plt>
mov    0x18(%rbp),%rdi
call   1030 <free@plt>
mov    0x20(%rbp),%rdi
call   1030 <free@plt>
mov    0x28(%rbp),%rdi
call   1030 <free@plt>
mov    0x30(%rbp),%rdi
call   1030 <free@plt>
mov    0x38(%rbp),%rdi
call   1030 <free@plt>
mov    0x40(%rbp),%rdi
call   1030 <free@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<free_all>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %r9,0x8(%rsp)
mov    %r8,%r15
mov    %rcx,%r12
mov    %rdx,%r13
mov    %rsi,%rbx
mov    0xa0(%rsp),%rax
mov    %rax,0x30(%rsp)
mov    0x98(%rsp),%rax
mov    %rax,0x28(%rsp)
mov    0x90(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0x88(%rsp),%rax
mov    %rax,0x18(%rsp)
mov    0x80(%rsp),%rax
mov    %rax,0x10(%rsp)
mov    0x78(%rsp),%r14
mov    0x70(%rsp),%rbp
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r13,%rdi
call   1030 <free@plt>
mov    %r12,%rdi
call   1030 <free@plt>
mov    %r15,%rdi
call   1030 <free@plt>
mov    0x8(%rsp),%rdi
call   1030 <free@plt>
mov    %rbp,%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   1030 <free@plt>
mov    0x10(%rsp),%rdi
call   1030 <free@plt>
mov    0x18(%rsp),%rdi
call   1030 <free@plt>
mov    0x20(%rsp),%rdi
call   1030 <free@plt>
mov    0x28(%rsp),%rdi
call   1030 <free@plt>
mov    0x30(%rsp),%rdi
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

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

LLVM IR (-O2):
define void @free_all(double* nocapture %0, double* nocapture %1, double* nocapture %2, double* nocapture %3, double* nocapture %4, double* nocapture %5, double* nocapture %6, double* nocapture %7, double* nocapture %8, double* nocapture %9, double* nocapture %10, double* nocapture %11, double* nocapture %12) {
%14 = tail call i32 @free(double* %0)
%15 = tail call i32 @free(double* %1)
%16 = tail call i32 @free(double* %2)
%17 = tail call i32 @free(double* %3)
%18 = tail call i32 @free(double* %4)
%19 = tail call i32 @free(double* %5)
%20 = tail call i32 @free(double* %6)
%21 = tail call i32 @free(double* %7)
%22 = tail call i32 @free(double* %8)
%23 = tail call i32 @free(double* %9)
%24 = tail call i32 @free(double* %10)
%25 = tail call i32 @free(double* %11)
%26 = tail call i32 @free(double* %12)
ret void
}