#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 */
double *backSubstitution(int, double **, double *);
double *gaussianElimination(int n, double **A, double *b) {
  int i, j, k;
  double m, *x;
  for (k = 0; k < n - 1; k++) {
    for (i = k + 1; i < n; i++) {
      m = A[i][k] / A[k][k];
      for (j = k + 1; j < n; j++)
        A[i][j] = A[i][j] - m * A[k][j];
      b[i] = b[i] - m * b[k];
    }
  }
  x = backSubstitution(n, A, b);
  return x;
}


x86 assembly (clang, -O0):
<gaussianElimination>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1271 <gaussianElimination+0x161>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    125e <gaussianElimination+0x14e>
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1205 <gaussianElimination+0xf5>
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x20(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x20(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x20(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1188 <gaussianElimination+0x78>
mov    -0x18(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x30(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1144 <gaussianElimination+0x34>
jmp    1263 <gaussianElimination+0x153>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    112a <gaussianElimination+0x1a>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
call   1030 <backSubstitution@plt>
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<gaussianElimination>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    %rdi,-0x58(%rsp)
cmp    $0x2,%edi
jl     140f <gaussianElimination+0x2ff>
mov    -0x58(%rsp),%rax
lea    -0x1(%rax),%ecx
mov    %rcx,-0x48(%rsp)
mov    %eax,%r10d
mov    %r10,%r14
neg    %r14
lea    -0x5(%r10),%rax
mov    %rax,-0x50(%rsp)
mov    $0x1,%r9d
mov    $0x7,%eax
mov    %rax,-0x60(%rsp)
xor    %ebx,%ebx
movapd 0xe9f(%rip),%xmm0
mov    %rsi,-0x30(%rsp)
jmp    1190 <gaussianElimination+0x80>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r9
addq   $0x1,-0x60(%rsp)
addq   $0xffffffffffffffff,-0x50(%rsp)
mov    -0x40(%rsp),%rbx
cmp    -0x48(%rsp),%rbx
je     140f <gaussianElimination+0x2ff>
lea    0x1(%rbx),%rax
mov    %rax,-0x40(%rsp)
cmp    %r10,%rax
jae    1170 <gaussianElimination+0x60>
mov    -0x50(%rsp),%rax
shr    $0x2,%rax
add    $0x1,%rax
and    $0xfffffffffffffffe,%rax
mov    %rax,-0x38(%rsp)
mov    %rbx,%r12
not    %r12
lea    (%r12,%r10,1),%rax
add    $0xfffffffffffffffc,%rax
add    %r10,%r12
mov    %rax,-0x10(%rsp)
shr    $0x2,%rax
add    $0x1,%rax
mov    %rax,-0x18(%rsp)
mov    (%rsi,%rbx,8),%r8
lea    (%r8,%r9,8),%rax
mov    %rax,-0x8(%rsp)
lea    (%r8,%r10,8),%r11
mov    %r12,%rax
and    $0xfffffffffffffffc,%rax
mov    %rax,-0x20(%rsp)
add    %r9,%rax
mov    %rax,-0x28(%rsp)
mov    -0x60(%rsp),%rax
lea    (%r8,%rax,8),%r15
mov    %r9,%rax
jmp    122c <gaussianElimination+0x11c>
nopw   0x0(%rax,%rax,1)
mulsd  (%rdx,%rbx,8),%xmm1
addsd  (%rdx,%rax,8),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    $0x1,%rax
cmp    %r10,%rax
je     1170 <gaussianElimination+0x60>
mov    (%rsi,%rax,8),%r13
movsd  0x0(%r13,%rbx,8),%xmm1
xorpd  %xmm0,%xmm1
divsd  (%r8,%rbx,8),%xmm1
mov    %r9,%rbp
cmp    $0x4,%r12
jb     1390 <gaussianElimination+0x280>
lea    0x0(,%r9,8),%rdi
add    %r13,%rdi
cmp    %r11,%rdi
jae    1277 <gaussianElimination+0x167>
lea    0x0(,%r10,8),%rdi
add    %r13,%rdi
mov    %r9,%rbp
cmp    %rdi,-0x8(%rsp)
jb     1390 <gaussianElimination+0x280>
mov    %r14,%rsi
mov    %r11,%r14
movapd %xmm1,%xmm2
unpcklpd %xmm1,%xmm2
cmpq   $0x4,-0x10(%rsp)
jae    1294 <gaussianElimination+0x184>
xor    %ebp,%ebp
jmp    1323 <gaussianElimination+0x213>
mov    -0x60(%rsp),%rcx
lea    0x0(,%rcx,8),%rdi
add    %r13,%rdi
mov    -0x38(%rsp),%r11
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
movupd -0x30(%r15,%rbp,8),%xmm3
movupd -0x20(%r15,%rbp,8),%xmm4
mulpd  %xmm2,%xmm3
movupd -0x30(%rdi,%rbp,8),%xmm5
addpd  %xmm3,%xmm5
movupd -0x20(%rdi,%rbp,8),%xmm3
movupd -0x10(%rdi,%rbp,8),%xmm6
movupd (%rdi,%rbp,8),%xmm7
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
movupd %xmm5,-0x30(%rdi,%rbp,8)
movupd %xmm4,-0x20(%rdi,%rbp,8)
movupd -0x10(%r15,%rbp,8),%xmm3
movupd (%r15,%rbp,8),%xmm4
mulpd  %xmm2,%xmm3
addpd  %xmm6,%xmm3
mulpd  %xmm2,%xmm4
addpd  %xmm7,%xmm4
movupd %xmm3,-0x10(%rdi,%rbp,8)
movupd %xmm4,(%rdi,%rbp,8)
add    $0x8,%rbp
add    $0xfffffffffffffffe,%r11
jne    12b0 <gaussianElimination+0x1a0>
testb  $0x1,-0x18(%rsp)
mov    %r14,%r11
je     1369 <gaussianElimination+0x259>
add    %r9,%rbp
movupd 0x0(%r13,%rbp,8),%xmm3
movupd 0x10(%r13,%rbp,8),%xmm4
movupd (%r8,%rbp,8),%xmm5
movupd 0x10(%r8,%rbp,8),%xmm6
mulpd  %xmm2,%xmm5
addpd  %xmm3,%xmm5
mulpd  %xmm2,%xmm6
addpd  %xmm4,%xmm6
movupd %xmm5,0x0(%r13,%rbp,8)
movupd %xmm6,0x10(%r13,%rbp,8)
mov    -0x28(%rsp),%rbp
cmp    -0x20(%rsp),%r12
mov    %rsi,%r14
mov    -0x30(%rsp),%rsi
je     1210 <gaussianElimination+0x100>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r10d,%ecx
sub    %ebp,%ecx
mov    %rbp,%rdi
test   $0x1,%cl
je     13b9 <gaussianElimination+0x2a9>
movsd  (%r8,%rbp,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  0x0(%r13,%rbp,8),%xmm2
movsd  %xmm2,0x0(%r13,%rbp,8)
lea    0x1(%rbp),%rdi
not    %rbp
cmp    %r14,%rbp
je     1210 <gaussianElimination+0x100>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%r8,%rdi,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  0x0(%r13,%rdi,8),%xmm2
movsd  %xmm2,0x0(%r13,%rdi,8)
movsd  0x8(%r8,%rdi,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  0x8(%r13,%rdi,8),%xmm2
movsd  %xmm2,0x8(%r13,%rdi,8)
add    $0x2,%rdi
cmp    %rdi,%r10
jne    13d0 <gaussianElimination+0x2c0>
jmp    1210 <gaussianElimination+0x100>
mov    -0x58(%rsp),%rdi
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <backSubstitution@plt>

LLVM IR (-O0):
define double* @gaussianElimination(i32 %0, double** %1, double* %2) {
%4 = alloca i32
%5 = alloca double**
%6 = alloca double*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca double
%11 = alloca double*
store i32 %0, i32* %4
store double** %1, double*** %5
store double* %2, double** %6
store i32 0, i32* %9
br label %12
12: ; preds = %105, %3
%13 = load i32, i32* %9
%14 = load i32, i32* %4
%15 = sub nsw i32 %14, 1
%16 = icmp slt i32 %13, %15
br i1 %16, label %17, label %108
17: ; preds = %12
%18 = load i32, i32* %9
%19 = add nsw i32 %18, 1
store i32 %19, i32* %7
br label %20
20: ; preds = %101, %17
%21 = load i32, i32* %7
%22 = load i32, i32* %4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %104
24: ; preds = %20
%25 = load double**, double*** %5
%26 = load i32, i32* %7
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double*, double** %25, i64 %27
%29 = load double*, double** %28
%30 = load i32, i32* %9
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, double* %29, i64 %31
%33 = load double, double* %32
%34 = load double**, double*** %5
%35 = load i32, i32* %9
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double*, double** %34, i64 %36
%38 = load double*, double** %37
%39 = load i32, i32* %9
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, double* %38, i64 %40
%42 = load double, double* %41
%43 = fdiv double %33, %42
store double %43, double* %10
%44 = load i32, i32* %9
%45 = add nsw i32 %44, 1
store i32 %45, i32* %8
br label %46
46: ; preds = %80, %24
%47 = load i32, i32* %8
%48 = load i32, i32* %4
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %83
50: ; preds = %46
%51 = load double**, double*** %5
%52 = load i32, i32* %7
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double*, double** %51, i64 %53
%55 = load double*, double** %54
%56 = load i32, i32* %8
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, double* %55, i64 %57
%59 = load double, double* %58
%60 = load double, double* %10
%61 = load double**, double*** %5
%62 = load i32, i32* %9
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double*, double** %61, i64 %63
%65 = load double*, double** %64
%66 = load i32, i32* %8
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, double* %65, i64 %67
%69 = load double, double* %68
%70 = fneg double %60
%71 = call double @llvm.fmuladd.f64(double %70, double %69, double %59)
%72 = load double**, double*** %5
%73 = load i32, i32* %7
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double*, double** %72, i64 %74
%76 = load double*, double** %75
%77 = load i32, i32* %8
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, double* %76, i64 %78
store double %71, double* %79
br label %80
80: ; preds = %50
%81 = load i32, i32* %8
%82 = add nsw i32 %81, 1
store i32 %82, i32* %8
br label %46
83: ; preds = %46
%84 = load double*, double** %6
%85 = load i32, i32* %7
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, double* %84, i64 %86
%88 = load double, double* %87
%89 = load double, double* %10
%90 = load double*, double** %6
%91 = load i32, i32* %9
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, double* %90, i64 %92
%94 = load double, double* %93
%95 = fneg double %89
%96 = call double @llvm.fmuladd.f64(double %95, double %94, double %88)
%97 = load double*, double** %6
%98 = load i32, i32* %7
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, double* %97, i64 %99
store double %96, double* %100
br label %101
101: ; preds = %83
%102 = load i32, i32* %7
%103 = add nsw i32 %102, 1
store i32 %103, i32* %7
br label %20
104: ; preds = %20
br label %105
105: ; preds = %104
%106 = load i32, i32* %9
%107 = add nsw i32 %106, 1
store i32 %107, i32* %9
br label %12
108: ; preds = %12
%109 = load i32, i32* %4
%110 = load double**, double*** %5
%111 = load double*, double** %6
%112 = call double* @backSubstitution(i32 %109, double** %110, double* %111)
store double* %112, double** %11
%113 = load double*, double** %11
ret double* %113
}

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