#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*/ choldc(double **, int, double *);
void xchol(double **aorig, double **chol, int n, double *p, double **a) {
  int i, j;
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++) {
      a[i][j] = aorig[i][j];
      chol[i][j] = 0.0;
    }
  }
  choldc(a, n, p);
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++) {
      chol[i][j] = ((i > j) ? a[i][j] : (i == j ? p[i] : 0.0));
      if (i > j)
        chol[i][j] = a[i][j];
      else
        chol[i][j] = (i == j ? p[i] : 0.0);
    }
  }
}


x86 assembly (clang, -O0):
<xchol>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    11b4 <xchol+0xa4>
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    11a1 <xchol+0x91>
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1145 <xchol+0x35>
jmp    11a6 <xchol+0x96>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1132 <xchol+0x22>
mov    -0x28(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x20(%rbp),%rdx
call   1030 <choldc@plt>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1314 <xchol+0x204>
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1301 <xchol+0x1f1>
mov    -0x2c(%rbp),%eax
cmp    -0x30(%rbp),%eax
jle    1215 <xchol+0x105>
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    124f <xchol+0x13f>
mov    -0x2c(%rbp),%eax
cmp    -0x30(%rbp),%eax
jne    1238 <xchol+0x128>
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x40(%rbp)
jmp    1245 <xchol+0x135>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
jmp    1245 <xchol+0x135>
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
cmp    -0x30(%rbp),%eax
jle    12a4 <xchol+0x194>
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    12ee <xchol+0x1de>
mov    -0x2c(%rbp),%eax
cmp    -0x30(%rbp),%eax
jne    12c7 <xchol+0x1b7>
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
jmp    12d4 <xchol+0x1c4>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
jmp    12d4 <xchol+0x1c4>
movsd  -0x48(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    12f3 <xchol+0x1e3>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    11de <xchol+0xce>
jmp    1306 <xchol+0x1f6>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    11cb <xchol+0xbb>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<xchol>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %r8,%r15
mov    %rcx,%r14
mov    %edx,%r13d
test   %edx,%edx
jle    1448 <xchol+0x338>
mov    %rsi,%r12
mov    %r13d,%ebp
mov    %ebp,%eax
and    $0xfffffffc,%eax
mov    %rax,0x30(%rsp)
add    $0xfffffffffffffffc,%rax
mov    %rax,0x28(%rsp)
mov    %rax,%rcx
shr    $0x2,%rcx
add    $0x1,%rcx
mov    %rcx,%rax
mov    %rcx,0x20(%rsp)
and    $0xfffffffffffffffe,%rcx
mov    %rcx,0x18(%rsp)
mov    %ebp,%r8d
and    $0x3,%r8d
xor    %r9d,%r9d
xorps  %xmm0,%xmm0
mov    %r13d,0x4(%rsp)
mov    %rdi,0x10(%rsp)
mov    %r8,0x8(%rsp)
jmp    119d <xchol+0x8d>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%r9
cmp    %rbp,%r9
je     1399 <xchol+0x289>
mov    (%rdi,%r9,8),%rdx
mov    (%r15,%r9,8),%rax
mov    (%r12,%r9,8),%rsi
cmp    $0x4,%r13d
jae    11c0 <xchol+0xb0>
xor    %r11d,%r11d
jmp    12d0 <xchol+0x1c0>
nopw   0x0(%rax,%rax,1)
lea    (%rax,%rbp,8),%rcx
lea    (%rsi,%rbp,8),%r10
lea    (%rdx,%rbp,8),%rbx
cmp    %r10,%rax
setb   %r13b
cmp    %rcx,%rsi
setb   %dil
cmp    %rbx,%rax
setb   %r8b
cmp    %rcx,%rdx
setb   %r11b
cmp    %rbx,%rsi
setb   %cl
cmp    %r10,%rdx
setb   %r10b
test   %dil,%r13b
jne    12b8 <xchol+0x1a8>
and    %r11b,%r8b
jne    12b8 <xchol+0x1a8>
mov    $0x0,%r11d
and    %r10b,%cl
mov    0x4(%rsp),%r13d
mov    0x10(%rsp),%rdi
mov    0x8(%rsp),%r8
jne    12d0 <xchol+0x1c0>
cmpq   $0x0,0x28(%rsp)
je     1387 <xchol+0x277>
mov    0x18(%rsp),%rbx
xor    %ecx,%ecx
nopl   0x0(%rax,%rax,1)
movups (%rdx,%rcx,8),%xmm1
movups 0x10(%rdx,%rcx,8),%xmm2
movups %xmm1,(%rax,%rcx,8)
movups %xmm2,0x10(%rax,%rcx,8)
movups %xmm0,(%rsi,%rcx,8)
movups %xmm0,0x10(%rsi,%rcx,8)
movups 0x20(%rdx,%rcx,8),%xmm1
movups 0x30(%rdx,%rcx,8),%xmm2
movups %xmm1,0x20(%rax,%rcx,8)
movups %xmm2,0x30(%rax,%rcx,8)
movups %xmm0,0x20(%rsi,%rcx,8)
movups %xmm0,0x30(%rsi,%rcx,8)
add    $0x8,%rcx
add    $0xfffffffffffffffe,%rbx
jne    1240 <xchol+0x130>
testb  $0x1,0x20(%rsp)
je     12a5 <xchol+0x195>
movups (%rdx,%rcx,8),%xmm1
movups 0x10(%rdx,%rcx,8),%xmm2
movups %xmm1,(%rax,%rcx,8)
movups %xmm2,0x10(%rax,%rcx,8)
movups %xmm0,(%rsi,%rcx,8)
movups %xmm0,0x10(%rsi,%rcx,8)
mov    0x30(%rsp),%rcx
mov    %rcx,%r11
cmp    %rbp,%rcx
je     1190 <xchol+0x80>
jmp    12d0 <xchol+0x1c0>
xor    %r11d,%r11d
mov    0x4(%rsp),%r13d
mov    0x10(%rsp),%rdi
mov    0x8(%rsp),%r8
nopw   0x0(%rax,%rax,1)
mov    %r11,%rcx
not    %rcx
add    %rbp,%rcx
test   %r8,%r8
je     130e <xchol+0x1fe>
mov    %r8,%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  (%rdx,%r11,8),%xmm1
movsd  %xmm1,(%rax,%r11,8)
movq   $0x0,(%rsi,%r11,8)
add    $0x1,%r11
add    $0xffffffffffffffff,%rbx
jne    12f0 <xchol+0x1e0>
cmp    $0x3,%rcx
jb     1190 <xchol+0x80>
nopl   0x0(%rax,%rax,1)
movsd  (%rdx,%r11,8),%xmm1
movsd  %xmm1,(%rax,%r11,8)
movq   $0x0,(%rsi,%r11,8)
movsd  0x8(%rdx,%r11,8),%xmm1
movsd  %xmm1,0x8(%rax,%r11,8)
movq   $0x0,0x8(%rsi,%r11,8)
movsd  0x10(%rdx,%r11,8),%xmm1
movsd  %xmm1,0x10(%rax,%r11,8)
movq   $0x0,0x10(%rsi,%r11,8)
movsd  0x18(%rdx,%r11,8),%xmm1
movsd  %xmm1,0x18(%rax,%r11,8)
movq   $0x0,0x18(%rsi,%r11,8)
add    $0x4,%r11
cmp    %r11,%rbp
jne    1320 <xchol+0x210>
jmp    1190 <xchol+0x80>
xor    %ecx,%ecx
testb  $0x1,0x20(%rsp)
jne    128a <xchol+0x17a>
jmp    12a5 <xchol+0x195>
mov    %r15,%rdi
mov    %r13d,%esi
mov    %r14,%rdx
call   1030 <choldc@plt>
test   %r13d,%r13d
jle    1439 <xchol+0x329>
xor    %eax,%eax
jmp    13c9 <xchol+0x2b9>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%rax
cmp    %rbp,%rax
je     1439 <xchol+0x329>
xor    %ecx,%ecx
jmp    13f5 <xchol+0x2e5>
nopl   (%rax)
mov    (%r15,%rax,8),%rdx
movsd  (%rdx,%rcx,8),%xmm0
mov    (%r12,%rax,8),%rsi
movsd  %xmm0,(%rsi,%rcx,8)
movsd  (%rdx,%rcx,8),%xmm0
movsd  %xmm0,(%rsi,%rcx,8)
add    $0x1,%rcx
cmp    %rbp,%rcx
je     13c0 <xchol+0x2b0>
cmp    %rcx,%rax
ja     13d0 <xchol+0x2c0>
jne    1420 <xchol+0x310>
movsd  (%r14,%rax,8),%xmm0
mov    (%r12,%rax,8),%rsi
lea    (%rsi,%rcx,8),%rdx
movsd  %xmm0,(%rsi,%rcx,8)
movsd  (%r14,%rax,8),%xmm0
jmp    1433 <xchol+0x323>
nopw   0x0(%rax,%rax,1)
mov    (%r12,%rax,8),%rsi
lea    (%rsi,%rcx,8),%rdx
movq   $0x0,(%rsi,%rcx,8)
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rdx)
jmp    13ec <xchol+0x2dc>
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r15,%rdi
mov    %r13d,%esi
mov    %r14,%rdx
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <choldc@plt>

LLVM IR (-O0):
define void @xchol(double** %0, double** %1, i32 %2, double* %3, double** %4) {
%6 = alloca double**
%7 = alloca double**
%8 = alloca i32
%9 = alloca double*
%10 = alloca double**
%11 = alloca i32
%12 = alloca i32
store double** %0, double*** %6
store double** %1, double*** %7
store i32 %2, i32* %8
store double* %3, double** %9
store double** %4, double*** %10
store i32 0, i32* %11
br label %13
13: ; preds = %52, %5
%14 = load i32, i32* %11
%15 = load i32, i32* %8
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %55
17: ; preds = %13
store i32 0, i32* %12
br label %18
18: ; preds = %48, %17
%19 = load i32, i32* %12
%20 = load i32, i32* %8
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %51
22: ; preds = %18
%23 = load double**, double*** %6
%24 = load i32, i32* %11
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double*, double** %23, i64 %25
%27 = load double*, double** %26
%28 = load i32, i32* %12
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, double* %27, i64 %29
%31 = load double, double* %30
%32 = load double**, double*** %10
%33 = load i32, i32* %11
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double*, double** %32, i64 %34
%36 = load double*, double** %35
%37 = load i32, i32* %12
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, double* %36, i64 %38
store double %31, double* %39
%40 = load double**, double*** %7
%41 = load i32, i32* %11
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double*, double** %40, i64 %42
%44 = load double*, double** %43
%45 = load i32, i32* %12
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, double* %44, i64 %46
store double 0.000000e+00, double* %47
br label %48
48: ; preds = %22
%49 = load i32, i32* %12
%50 = add nsw i32 %49, 1
store i32 %50, i32* %12
br label %18
51: ; preds = %18
br label %52
52: ; preds = %51
%53 = load i32, i32* %11
%54 = add nsw i32 %53, 1
store i32 %54, i32* %11
br label %13
55: ; preds = %13
%56 = load double**, double*** %10
%57 = load i32, i32* %8
%58 = load double*, double** %9
%59 = call i32 @choldc(double** %56, i32 %57, double* %58)
store i32 0, i32* %11
br label %60
60: ; preds = %153, %55
%61 = load i32, i32* %11
%62 = load i32, i32* %8
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %156
64: ; preds = %60
store i32 0, i32* %12
br label %65
65: ; preds = %149, %64
%66 = load i32, i32* %12
%67 = load i32, i32* %8
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %152
69: ; preds = %65
%70 = load i32, i32* %11
%71 = load i32, i32* %12
%72 = icmp sgt i32 %70, %71
br i1 %72, label %73, label %83
73: ; preds = %69
%74 = load double**, double*** %10
%75 = load i32, i32* %11
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double*, double** %74, i64 %76
%78 = load double*, double** %77
%79 = load i32, i32* %12
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds double, double* %78, i64 %80
%82 = load double, double* %81
br label %96
83: ; preds = %69
%84 = load i32, i32* %11
%85 = load i32, i32* %12
%86 = icmp eq i32 %84, %85
br i1 %86, label %87, label %93
87: ; preds = %83
%88 = load double*, double** %9
%89 = load i32, i32* %11
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, double* %88, i64 %90
%92 = load double, double* %91
br label %94
93: ; preds = %83
br label %94
94: ; preds = %93, %87
%95 = phi double [ %92, %87 ], [ 0.000000e+00, %93 ]
br label %96
96: ; preds = %94, %73
%97 = phi double [ %82, %73 ], [ %95, %94 ]
%98 = load double**, double*** %7
%99 = load i32, i32* %11
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double*, double** %98, i64 %100
%102 = load double*, double** %101
%103 = load i32, i32* %12
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds double, double* %102, i64 %104
store double %97, double* %105
%106 = load i32, i32* %11
%107 = load i32, i32* %12
%108 = icmp sgt i32 %106, %107
br i1 %108, label %109, label %127
109: ; preds = %96
%110 = load double**, double*** %10
%111 = load i32, i32* %11
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double*, double** %110, i64 %112
%114 = load double*, double** %113
%115 = load i32, i32* %12
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, double* %114, i64 %116
%118 = load double, double* %117
%119 = load double**, double*** %7
%120 = load i32, i32* %11
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double*, double** %119, i64 %121
%123 = load double*, double** %122
%124 = load i32, i32* %12
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, double* %123, i64 %125
store double %118, double* %126
br label %148
127: ; preds = %96
%128 = load i32, i32* %11
%129 = load i32, i32* %12
%130 = icmp eq i32 %128, %129
br i1 %130, label %131, label %137
131: ; preds = %127
%132 = load double*, double** %9
%133 = load i32, i32* %11
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds double, double* %132, i64 %134
%136 = load double, double* %135
br label %138
137: ; preds = %127
br label %138
138: ; preds = %137, %131
%139 = phi double [ %136, %131 ], [ 0.000000e+00, %137 ]
%140 = load double**, double*** %7
%141 = load i32, i32* %11
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds double*, double** %140, i64 %142
%144 = load double*, double** %143
%145 = load i32, i32* %12
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds double, double* %144, i64 %146
store double %139, double* %147
br label %148
148: ; preds = %138, %109
br label %149
149: ; preds = %148
%150 = load i32, i32* %12
%151 = add nsw i32 %150, 1
store i32 %151, i32* %12
br label %65
152: ; preds = %65
br label %153
153: ; preds = %152
%154 = load i32, i32* %11
%155 = add nsw i32 %154, 1
store i32 %155, i32* %11
br label %60
156: ; preds = %60
ret void
}

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