#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 */
scalar_t__ calloc(int, int);
int /*<<< orphan*/ choldc(double *, int, double *);
int /*<<< orphan*/ copyarr(double *, double *, int);
int /*<<< orphan*/ fatalx(char *, int);
int /*<<< orphan*/ free(double *);
int /*<<< orphan*/ vzero(double *, int);
void cholesky(double *cf, double *a, int n) {
  int i, j, k;
  double *tt;
  double *p;
  if ((tt = (double *)calloc((n * n), sizeof(double))) == NULL)
    fatalx("Unable to allocate %d unit(s) for item \n", n * n);
  if ((p = (double *)calloc((n), sizeof(double))) == NULL)
    fatalx("Unable to allocate %d unit(s) for item \n", n);
  copyarr(a, tt, n * n);
  choldc(tt, n, p);
  vzero(cf, n * n);
  for (i = 0; i < n; i++) {
    tt[i * n + i] = p[i];
    for (j = 0; j <= i; j++) {
      k = i * n + j;
      cf[k] = tt[i * n + j];
    }
  }
  free(tt);
  free(p);
}


x86 assembly (clang, -O0):
<cholesky>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    -0x14(%rbp),%edi
imul   -0x14(%rbp),%edi
mov    $0x8,%esi
call   1060 <calloc@plt>
mov    %rax,-0x28(%rbp)
cmp    $0x0,%rax
jne    11a5 <cholesky+0x45>
mov    -0x14(%rbp),%esi
imul   -0x14(%rbp),%esi
lea    0xe60(%rip),%rdi
call   1050 <fatalx@plt>
mov    -0x14(%rbp),%edi
mov    $0x8,%esi
call   1060 <calloc@plt>
mov    %rax,-0x30(%rbp)
cmp    $0x0,%rax
jne    11cf <cholesky+0x6f>
mov    -0x14(%rbp),%esi
lea    0xe36(%rip),%rdi
call   1050 <fatalx@plt>
mov    -0x10(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    -0x14(%rbp),%edx
imul   -0x14(%rbp),%edx
call   1080 <copyarr@plt>
mov    -0x28(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x30(%rbp),%rdx
call   1040 <choldc@plt>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
imul   -0x14(%rbp),%esi
call   1070 <vzero@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    129d <cholesky+0x13d>
mov    -0x30(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x28(%rbp),%rax
mov    -0x18(%rbp),%ecx
imul   -0x14(%rbp),%ecx
add    -0x18(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x18(%rbp),%eax
jg     128a <cholesky+0x12a>
mov    -0x18(%rbp),%eax
imul   -0x14(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x18(%rbp),%ecx
imul   -0x14(%rbp),%ecx
add    -0x1c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x20(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1240 <cholesky+0xe0>
jmp    128f <cholesky+0x12f>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    120a <cholesky+0xaa>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cholesky>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %edx,%r15d
mov    %rsi,%r14
mov    %rdi,0x20(%rsp)
mov    %edx,%ebp
imul   %edx,%ebp
mov    %ebp,%edi
mov    $0x8,%esi
call   1060 <calloc@plt>
mov    %rax,0x8(%rsp)
test   %rax,%rax
jne    11a2 <cholesky+0x42>
lea    0xe65(%rip),%rdi
mov    %ebp,%esi
call   1050 <fatalx@plt>
mov    %r15d,%edi
mov    $0x8,%esi
call   1060 <calloc@plt>
mov    %rax,%r12
test   %rax,%rax
jne    11c6 <cholesky+0x66>
lea    0xe42(%rip),%rdi
mov    %r15d,%esi
call   1050 <fatalx@plt>
mov    %r14,%rdi
mov    0x8(%rsp),%rbx
mov    %rbx,%rsi
mov    %ebp,%edx
call   1080 <copyarr@plt>
mov    %rbx,%rdi
mov    %r15d,%esi
mov    %r12,%rdx
call   1040 <choldc@plt>
mov    0x20(%rsp),%rdi
mov    %ebp,%esi
call   1070 <vzero@plt>
test   %r15d,%r15d
mov    %r15d,0x14(%rsp)
mov    %r12,%rbx
jle    14a5 <cholesky+0x345>
mov    0x14(%rsp),%eax
mov    0x20(%rsp),%r8
lea    0x8(%r8),%rcx
mov    %rcx,0x38(%rsp)
lea    0x0(,%rax,8),%rcx
mov    %rcx,0x50(%rsp)
mov    %rax,0x30(%rsp)
lea    0x8(,%rax,8),%rax
mov    %rax,0x48(%rsp)
mov    0x8(%rsp),%r13
lea    0x8(%r13),%rax
mov    %rax,0x40(%rsp)
lea    0x70(%r8),%rbp
lea    0x70(%r13),%rcx
lea    0x10(%r8),%rdi
lea    0x10(%r13),%r14
mov    $0x1,%r15d
mov    $0xfffffffffffffffd,%r12
xor    %esi,%esi
mov    %rbx,0x28(%rsp)
jmp    129a <cholesky+0x13a>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r15
mov    0x50(%rsp),%rax
add    %rax,%rbp
add    %rax,%rcx
add    $0x1,%r12
add    %rax,%rdi
add    %rax,%r14
add    %rax,%r8
add    %rax,%r13
cmp    0x30(%rsp),%rsi
je     14a5 <cholesky+0x345>
mov    %rsi,%r9
lea    -0x3(%rsi),%r11
lea    0x1(%rsi),%rax
mov    %rax,0x18(%rsp)
mov    %r9d,%edx
imul   0x14(%rsp),%edx
movslq %edx,%rsi
add    %r9,%rsi
mov    %r9,%rdx
movsd  (%rbx,%r9,8),%xmm0
mov    0x8(%rsp),%rax
movsd  %xmm0,(%rax,%rsi,8)
sub    $0x3,%rdx
jae    12e0 <cholesky+0x180>
xor    %r10d,%r10d
mov    0x18(%rsp),%rsi
jmp    1420 <cholesky+0x2c0>
xchg   %ax,%ax
mov    %r9,%rbx
imul   0x30(%rsp),%rbx
mov    0x48(%rsp),%rsi
imul   %r9,%rsi
mov    0x40(%rsp),%rax
lea    (%rax,%rsi,1),%r10
mov    0x20(%rsp),%rax
lea    (%rax,%rbx,8),%rax
cmp    %rax,%r10
jbe    1330 <cholesky+0x1d0>
mov    0x8(%rsp),%rax
lea    (%rax,%rbx,8),%rax
add    0x38(%rsp),%rsi
cmp    %rax,%rsi
jbe    1330 <cholesky+0x1d0>
xor    %r10d,%r10d
mov    0x28(%rsp),%rbx
mov    0x18(%rsp),%rsi
jmp    1420 <cholesky+0x2c0>
xchg   %ax,%ax
mov    %r12,%rsi
shr    $0x2,%rsi
shr    $0x2,%r11
add    $0x1,%r11
mov    %r11,%rax
cmp    $0xc,%rdx
jae    134d <cholesky+0x1ed>
xor    %r11d,%r11d
jmp    13c9 <cholesky+0x269>
lea    0x1(%rsi),%rdx
and    $0xfffffffffffffffc,%rdx
xor    %r11d,%r11d
nopl   0x0(%rax,%rax,1)
movups -0x70(%rcx,%r11,8),%xmm0
movups -0x60(%rcx,%r11,8),%xmm1
movups %xmm0,-0x70(%rbp,%r11,8)
movups %xmm1,-0x60(%rbp,%r11,8)
movups -0x50(%rcx,%r11,8),%xmm0
movups -0x40(%rcx,%r11,8),%xmm1
movups %xmm0,-0x50(%rbp,%r11,8)
movups %xmm1,-0x40(%rbp,%r11,8)
movups -0x30(%rcx,%r11,8),%xmm0
movups -0x20(%rcx,%r11,8),%xmm1
movups %xmm0,-0x30(%rbp,%r11,8)
movups %xmm1,-0x20(%rbp,%r11,8)
movups -0x10(%rcx,%r11,8),%xmm0
movups (%rcx,%r11,8),%xmm1
movups %xmm0,-0x10(%rbp,%r11,8)
movups %xmm1,0x0(%rbp,%r11,8)
add    $0x10,%r11
add    $0xfffffffffffffffc,%rdx
jne    1360 <cholesky+0x200>
mov    0x18(%rsp),%r10
and    $0xfffffffffffffffc,%r10
test   $0x3,%al
je     140b <cholesky+0x2ab>
add    $0x1,%sil
movzbl %sil,%edx
and    $0x3,%edx
shl    $0x5,%rdx
lea    (%rdi,%r11,8),%rsi
lea    (%r14,%r11,8),%rax
xor    %ebx,%ebx
nop
movups -0x10(%rax,%rbx,1),%xmm0
movups (%rax,%rbx,1),%xmm1
movups %xmm0,-0x10(%rsi,%rbx,1)
movups %xmm1,(%rsi,%rbx,1)
add    $0x20,%rbx
cmp    %rbx,%rdx
jne    13f0 <cholesky+0x290>
mov    0x18(%rsp),%rsi
cmp    %r10,%rsi
mov    0x28(%rsp),%rbx
je     1270 <cholesky+0x110>
xchg   %ax,%ax
sub    %r10,%r9
test   $0x3,%r15b
je     1447 <cholesky+0x2e7>
mov    %r15d,%edx
and    $0x3,%edx
nop
movsd  0x0(%r13,%r10,8),%xmm0
movsd  %xmm0,(%r8,%r10,8)
add    $0x1,%r10
add    $0xffffffffffffffff,%rdx
jne    1430 <cholesky+0x2d0>
cmp    $0x3,%r9
jb     1270 <cholesky+0x110>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  0x0(%r13,%r10,8),%xmm0
movsd  %xmm0,-0x10(%rdi,%r10,8)
movsd  0x8(%r13,%r10,8),%xmm0
movsd  %xmm0,-0x8(%rdi,%r10,8)
movsd  0x10(%r13,%r10,8),%xmm0
movsd  %xmm0,(%rdi,%r10,8)
movsd  0x18(%r13,%r10,8),%xmm0
movsd  %xmm0,0x8(%rdi,%r10,8)
add    $0x4,%r10
cmp    %r10,%r15
jne    1460 <cholesky+0x300>
jmp    1270 <cholesky+0x110>
mov    0x8(%rsp),%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

LLVM IR (-O0):
@.str = [41 x i8] c"Unable to allocate %d unit(s) for item \0A\00"
define void @cholesky(double* %0, double* %1, i32 %2) {
%4 = alloca double*
%5 = alloca double*
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca double*
%11 = alloca double*
store double* %0, double** %4
store double* %1, double** %5
store i32 %2, i32* %6
%12 = load i32, i32* %6
%13 = load i32, i32* %6
%14 = mul nsw i32 %12, %13
%15 = call i64 @calloc(i32 %14, i32 8)
%16 = inttoptr i64 %15 to double*
store double* %16, double** %10
%17 = icmp eq double* %16, null
br i1 %17, label %18, label %23
18: ; preds = %3
%19 = load i32, i32* %6
%20 = load i32, i32* %6
%21 = mul nsw i32 %19, %20
%22 = call i32 @fatalx(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i32 %21)
br label %23
23: ; preds = %18, %3
%24 = load i32, i32* %6
%25 = call i64 @calloc(i32 %24, i32 8)
%26 = inttoptr i64 %25 to double*
store double* %26, double** %11
%27 = icmp eq double* %26, null
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = load i32, i32* %6
%30 = call i32 @fatalx(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i32 %29)
br label %31
31: ; preds = %28, %23
%32 = load double*, double** %5
%33 = load double*, double** %10
%34 = load i32, i32* %6
%35 = load i32, i32* %6
%36 = mul nsw i32 %34, %35
%37 = call i32 @copyarr(double* %32, double* %33, i32 %36)
%38 = load double*, double** %10
%39 = load i32, i32* %6
%40 = load double*, double** %11
%41 = call i32 @choldc(double* %38, i32 %39, double* %40)
%42 = load double*, double** %4
%43 = load i32, i32* %6
%44 = load i32, i32* %6
%45 = mul nsw i32 %43, %44
%46 = call i32 @vzero(double* %42, i32 %45)
store i32 0, i32* %7
br label %47
47: ; preds = %92, %31
%48 = load i32, i32* %7
%49 = load i32, i32* %6
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %95
51: ; preds = %47
%52 = load double*, double** %11
%53 = load i32, i32* %7
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, double* %52, i64 %54
%56 = load double, double* %55
%57 = load double*, double** %10
%58 = load i32, i32* %7
%59 = load i32, i32* %6
%60 = mul nsw i32 %58, %59
%61 = load i32, i32* %7
%62 = add nsw i32 %60, %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, double* %57, i64 %63
store double %56, double* %64
store i32 0, i32* %8
br label %65
65: ; preds = %88, %51
%66 = load i32, i32* %8
%67 = load i32, i32* %7
%68 = icmp sle i32 %66, %67
br i1 %68, label %69, label %91
69: ; preds = %65
%70 = load i32, i32* %7
%71 = load i32, i32* %6
%72 = mul nsw i32 %70, %71
%73 = load i32, i32* %8
%74 = add nsw i32 %72, %73
store i32 %74, i32* %9
%75 = load double*, double** %10
%76 = load i32, i32* %7
%77 = load i32, i32* %6
%78 = mul nsw i32 %76, %77
%79 = load i32, i32* %8
%80 = add nsw i32 %78, %79
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, double* %75, i64 %81
%83 = load double, double* %82
%84 = load double*, double** %4
%85 = load i32, i32* %9
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, double* %84, i64 %86
store double %83, double* %87
br label %88
88: ; preds = %69
%89 = load i32, i32* %8
%90 = add nsw i32 %89, 1
store i32 %90, i32* %8
br label %65
91: ; preds = %65
br label %92
92: ; preds = %91
%93 = load i32, i32* %7
%94 = add nsw i32 %93, 1
store i32 %94, i32* %7
br label %47
95: ; preds = %47
%96 = load double*, double** %10
%97 = call i32 @free(double* %96)
%98 = load double*, double** %11
%99 = call i32 @free(double* %98)
ret void
}

LLVM IR (-O2):
@.str = [41 x i8] c"Unable to allocate %d unit(s) for item \0A\00"
define void @cholesky(double* %0, double* %1, i32 %2) {
%4 = mul nsw i32 %2, %2
%5 = tail call i64 @calloc(i32 %4, i32 8)
%6 = inttoptr i64 %5 to double*
%7 = icmp eq i64 %5, 0
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = tail call i32 @fatalx(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i32 %4)
br label %10
10: ; preds = %8, %3
%11 = tail call i64 @calloc(i32 %2, i32 8)
%12 = inttoptr i64 %11 to double*
%13 = icmp eq i64 %11, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = tail call i32 @fatalx(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i32 %2)
br label %16
16: ; preds = %14, %10
%17 = tail call i32 @copyarr(double* %1, double* %6, i32 %4)
%18 = tail call i32 @choldc(double* %6, i32 %2, double* %12)
%19 = tail call i32 @vzero(double* %0, i32 %4)
%20 = icmp sgt i32 %2, 0
br i1 %20, label %21, label %184
21: ; preds = %16
%22 = zext i32 %2 to i64
%23 = zext i32 %2 to i64
%24 = getelementptr double, double* %0, i64 1
%25 = bitcast double* %24 to i8*
%26 = shl nuw nsw i64 %23, 3
%27 = add nuw nsw i64 %26, 8
%28 = getelementptr double, double* %6, i64 1
%29 = bitcast double* %28 to i8*
br label %30
30: ; preds = %21, %180
%31 = phi i64 [ 0, %21 ], [ %181, %180 ]
%32 = phi i64 [ 1, %21 ], [ %182, %180 ]
%33 = add nsw i64 %31, -3
%34 = lshr i64 %33, 2
%35 = add nuw nsw i64 %34, 1
%36 = add nuw i64 %31, 1
%37 = mul i64 %31, %23
%38 = mul i64 %27, %31
%39 = trunc i64 %31 to i32
%40 = getelementptr inbounds double, double* %12, i64 %31
%41 = load double, double* %40
%42 = mul nsw i64 %31, %22
%43 = mul nsw i32 %39, %2
%44 = sext i32 %43 to i64
%45 = add nsw i64 %31, %44
%46 = getelementptr inbounds double, double* %6, i64 %45
store double %41, double* %46
%47 = icmp ult i64 %31, 3
br i1 %47, label %139, label %48
48: ; preds = %30
%49 = getelementptr i8, i8* %29, i64 %38
%50 = getelementptr double, double* %6, i64 %37
%51 = bitcast double* %50 to i8*
%52 = getelementptr i8, i8* %25, i64 %38
%53 = getelementptr double, double* %0, i64 %37
%54 = bitcast double* %53 to i8*
%55 = icmp ugt i8* %49, %54
%56 = icmp ugt i8* %52, %51
%57 = and i1 %55, %56
br i1 %57, label %139, label %58
58: ; preds = %48
%59 = and i64 %36, -4
%60 = and i64 %35, 3
%61 = icmp ult i64 %33, 12
br i1 %61, label %117, label %62
62: ; preds = %58
%63 = and i64 %35, 9223372036854775804
br label %64
64: ; preds = %64, %62
%65 = phi i64 [ 0, %62 ], [ %114, %64 ]
%66 = phi i64 [ 0, %62 ], [ %115, %64 ]
%67 = add nuw nsw i64 %65, %42
%68 = getelementptr inbounds double, double* %6, i64 %67
%69 = bitcast double* %68 to <2 x double>*
%70 = load <2 x double>, <2 x double>* %69
%71 = getelementptr inbounds double, double* %68, i64 2
%72 = bitcast double* %71 to <2 x double>*
%73 = load <2 x double>, <2 x double>* %72
%74 = getelementptr inbounds double, double* %0, i64 %67
%75 = bitcast double* %74 to <2 x double>*
store <2 x double> %70, <2 x double>* %75
%76 = getelementptr inbounds double, double* %74, i64 2
%77 = bitcast double* %76 to <2 x double>*
store <2 x double> %73, <2 x double>* %77
%78 = or i64 %65, 4
%79 = add nuw nsw i64 %78, %42
%80 = getelementptr inbounds double, double* %6, i64 %79
%81 = bitcast double* %80 to <2 x double>*
%82 = load <2 x double>, <2 x double>* %81
%83 = getelementptr inbounds double, double* %80, i64 2
%84 = bitcast double* %83 to <2 x double>*
%85 = load <2 x double>, <2 x double>* %84
%86 = getelementptr inbounds double, double* %0, i64 %79
%87 = bitcast double* %86 to <2 x double>*
store <2 x double> %82, <2 x double>* %87
%88 = getelementptr inbounds double, double* %86, i64 2
%89 = bitcast double* %88 to <2 x double>*
store <2 x double> %85, <2 x double>* %89
%90 = or i64 %65, 8
%91 = add nuw nsw i64 %90, %42
%92 = getelementptr inbounds double, double* %6, i64 %91
%93 = bitcast double* %92 to <2 x double>*
%94 = load <2 x double>, <2 x double>* %93
%95 = getelementptr inbounds double, double* %92, i64 2
%96 = bitcast double* %95 to <2 x double>*
%97 = load <2 x double>, <2 x double>* %96
%98 = getelementptr inbounds double, double* %0, i64 %91
%99 = bitcast double* %98 to <2 x double>*
store <2 x double> %94, <2 x double>* %99
%100 = getelementptr inbounds double, double* %98, i64 2
%101 = bitcast double* %100 to <2 x double>*
store <2 x double> %97, <2 x double>* %101
%102 = or i64 %65, 12
%103 = add nuw nsw i64 %102, %42
%104 = getelementptr inbounds double, double* %6, i64 %103
%105 = bitcast double* %104 to <2 x double>*
%106 = load <2 x double>, <2 x double>* %105
%107 = getelementptr inbounds double, double* %104, i64 2
%108 = bitcast double* %107 to <2 x double>*
%109 = load <2 x double>, <2 x double>* %108
%110 = getelementptr inbounds double, double* %0, i64 %103
%111 = bitcast double* %110 to <2 x double>*
store <2 x double> %106, <2 x double>* %111
%112 = getelementptr inbounds double, double* %110, i64 2
%113 = bitcast double* %112 to <2 x double>*
store <2 x double> %109, <2 x double>* %113
%114 = add nuw i64 %65, 16
%115 = add nuw i64 %66, 4
%116 = icmp eq i64 %115, %63
br i1 %116, label %117, label %64
117: ; preds = %64, %58
%118 = phi i64 [ 0, %58 ], [ %114, %64 ]
%119 = icmp eq i64 %60, 0
br i1 %119, label %137, label %120
120: ; preds = %117, %120
%121 = phi i64 [ %134, %120 ], [ %118, %117 ]
%122 = phi i64 [ %135, %120 ], [ 0, %117 ]
%123 = add nuw nsw i64 %121, %42
%124 = getelementptr inbounds double, double* %6, i64 %123
%125 = bitcast double* %124 to <2 x double>*
%126 = load <2 x double>, <2 x double>* %125
%127 = getelementptr inbounds double, double* %124, i64 2
%128 = bitcast double* %127 to <2 x double>*
%129 = load <2 x double>, <2 x double>* %128
%130 = getelementptr inbounds double, double* %0, i64 %123
%131 = bitcast double* %130 to <2 x double>*
store <2 x double> %126, <2 x double>* %131
%132 = getelementptr inbounds double, double* %130, i64 2
%133 = bitcast double* %132 to <2 x double>*
store <2 x double> %129, <2 x double>* %133
%134 = add nuw i64 %121, 4
%135 = add i64 %122, 1
%136 = icmp eq i64 %135, %60
br i1 %136, label %137, label %120
137: ; preds = %120, %117
%138 = icmp eq i64 %36, %59
br i1 %138, label %180, label %139
139: ; preds = %48, %30, %137
%140 = phi i64 [ 0, %48 ], [ 0, %30 ], [ %59, %137 ]
%141 = sub i64 %31, %140
%142 = and i64 %32, 3
%143 = icmp eq i64 %142, 0
br i1 %143, label %154, label %144
144: ; preds = %139, %144
%145 = phi i64 [ %151, %144 ], [ %140, %139 ]
%146 = phi i64 [ %152, %144 ], [ 0, %139 ]
%147 = add nuw nsw i64 %145, %42
%148 = getelementptr inbounds double, double* %6, i64 %147
%149 = load double, double* %148
%150 = getelementptr inbounds double, double* %0, i64 %147
store double %149, double* %150
%151 = add nuw nsw i64 %145, 1
%152 = add i64 %146, 1
%153 = icmp eq i64 %152, %142
br i1 %153, label %154, label %144
154: ; preds = %144, %139
%155 = phi i64 [ %140, %139 ], [ %151, %144 ]
%156 = icmp ult i64 %141, 3
br i1 %156, label %180, label %157
157: ; preds = %154, %157
%158 = phi i64 [ %178, %157 ], [ %155, %154 ]
%159 = add nuw nsw i64 %158, %42
%160 = getelementptr inbounds double, double* %6, i64 %159
%161 = load double, double* %160
%162 = getelementptr inbounds double, double* %0, i64 %159
store double %161, double* %162
%163 = add nuw nsw i64 %158, 1
%164 = add nuw nsw i64 %163, %42
%165 = getelementptr inbounds double, double* %6, i64 %164
%166 = load double, double* %165
%167 = getelementptr inbounds double, double* %0, i64 %164
store double %166, double* %167
%168 = add nuw nsw i64 %158, 2
%169 = add nuw nsw i64 %168, %42
%170 = getelementptr inbounds double, double* %6, i64 %169
%171 = load double, double* %170
%172 = getelementptr inbounds double, double* %0, i64 %169
store double %171, double* %172
%173 = add nuw nsw i64 %158, 3
%174 = add nuw nsw i64 %173, %42
%175 = getelementptr inbounds double, double* %6, i64 %174
%176 = load double, double* %175
%177 = getelementptr inbounds double, double* %0, i64 %174
store double %176, double* %177
%178 = add nuw nsw i64 %158, 4
%179 = icmp eq i64 %178, %32
br i1 %179, label %180, label %157
180: ; preds = %154, %157, %137
%181 = add nuw nsw i64 %31, 1
%182 = add nuw nsw i64 %32, 1
%183 = icmp eq i64 %181, %23
br i1 %183, label %184, label %30
184: ; preds = %180, %16
%185 = tail call i32 @free(double* %6)
%186 = tail call i32 @free(double* %12)
ret void
}