#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*/ choleskyDecomposition(float **, float **);
int /*<<< orphan*/ inverseLower(float **, float **);
int /*<<< orphan*/ printMatrix(float **);
int /*<<< orphan*/ printf(char *, ...);
void inverse(float a[4][4], float a_inv[4][4]) {
  float l[4][4], l_inv[4][4];
  choleskyDecomposition(a, l);
  inverseLower(l, l_inv);
  printMatrix(l_inv);
  for (int j = 0; j < 4; j++) {
    for (int i = j; i < 4; i++) {
      float sum = 0;
      printf("[%d][%d]: ", i, j);
      for (int k = i; k < 4; k++) {
        printf("+[%d][%d] * [%d][%d] ", k, i, k, j);
        sum += l_inv[k][i] * l_inv[k][j];
      }
      a_inv[i][j] = sum;
      a_inv[j][i] = sum;
      printf("\n");
    }
  }
}


x86 assembly (clang, -O0):
<inverse>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1050 <choleskyDecomposition@plt>
lea    -0x50(%rbp),%rdi
lea    -0x90(%rbp),%rsi
call   1060 <inverseLower@plt>
lea    -0x90(%rbp),%rdi
call   1040 <printMatrix@plt>
movl   $0x0,-0x94(%rbp)
cmpl   $0x4,-0x94(%rbp)
jge    1306 <inverse+0x1c6>
mov    -0x94(%rbp),%eax
mov    %eax,-0x98(%rbp)
cmpl   $0x4,-0x98(%rbp)
jge    12ed <inverse+0x1ad>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x9c(%rbp)
ff
mov    -0x98(%rbp),%esi
mov    -0x94(%rbp),%edx
lea    0xe36(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x98(%rbp),%eax
mov    %eax,-0xa0(%rbp)
cmpl   $0x4,-0xa0(%rbp)
jge    127f <inverse+0x13f>
mov    -0xa0(%rbp),%esi
mov    -0x98(%rbp),%edx
mov    -0xa0(%rbp),%ecx
mov    -0x94(%rbp),%r8d
lea    0xe01(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0xa0(%rbp),%rcx
lea    -0x90(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x98(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movslq -0xa0(%rbp),%rcx
lea    -0x90(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x94(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
movss  -0x9c(%rbp),%xmm1
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x9c(%rbp)
ff
mov    -0xa0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa0(%rbp)
jmp    11dd <inverse+0x9d>
movss  -0x9c(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movslq -0x98(%rbp),%rcx
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x94(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
movss  -0x9c(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movslq -0x94(%rbp),%rcx
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x98(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
lea    0xd4f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x98(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x98(%rbp)
jmp    119f <inverse+0x5f>
jmp    12f2 <inverse+0x1b2>
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    1186 <inverse+0x46>
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<inverse>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %rsi,%r12
lea    0x50(%rsp),%r14
mov    %r14,%rsi
call   1060 <choleskyDecomposition@plt>
lea    0x10(%rsp),%rbx
mov    %r14,%rdi
mov    %rbx,%rsi
call   1070 <inverseLower@plt>
mov    %rbx,%rdi
call   1050 <printMatrix@plt>
lea    0xe77(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe6d(%rip),%r15
mov    %r15,%rdi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x10(%rsp),%xmm1
mulss  %xmm1,%xmm1
xorps  %xmm0,%xmm0
addss  %xmm0,%xmm1
movss  %xmm1,0xc(%rsp)
mov    %r15,%rdi
mov    $0x1,%esi
xor    %edx,%edx
mov    $0x1,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x20(%rsp),%xmm0
mulss  %xmm0,%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r15,%rdi
mov    $0x2,%esi
xor    %edx,%edx
mov    $0x2,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x30(%rsp),%xmm0
mulss  %xmm0,%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r15,%rdi
mov    $0x3,%esi
xor    %edx,%edx
mov    $0x3,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x40(%rsp),%xmm0
mulss  %xmm0,%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,(%r12)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    $0x1,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x24(%rsp),%xmm0
mulss  0x20(%rsp),%xmm0
addss  0xd5c(%rip),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r15,%rdi
mov    $0x2,%esi
mov    $0x1,%edx
mov    $0x2,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x34(%rsp),%xmm0
mulss  0x30(%rsp),%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r15,%rdi
mov    $0x3,%esi
mov    $0x1,%edx
mov    $0x3,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x44(%rsp),%xmm0
mulss  0x40(%rsp),%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0x10(%r12)
movss  %xmm0,0x4(%r12)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x2,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x2,%esi
mov    $0x2,%edx
mov    $0x2,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x38(%rsp),%xmm0
mulss  0x30(%rsp),%xmm0
addss  0xc9b(%rip),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r15,%rdi
mov    $0x3,%esi
mov    $0x2,%edx
mov    $0x3,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x48(%rsp),%xmm0
mulss  0x40(%rsp),%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0x20(%r12)
movss  %xmm0,0x8(%r12)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x3,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x3,%esi
mov    $0x3,%edx
mov    $0x3,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x4c(%rsp),%xmm0
mulss  0x40(%rsp),%xmm0
addss  0xc0e(%rip),%xmm0
movss  %xmm0,0x30(%r12)
movss  %xmm0,0xc(%r12)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    $0x1,%ecx
mov    $0x1,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x24(%rsp),%xmm0
mulss  %xmm0,%xmm0
addss  0xbb1(%rip),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r15,%rdi
mov    $0x2,%esi
mov    $0x1,%edx
mov    $0x2,%ecx
mov    $0x1,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x34(%rsp),%xmm0
mulss  %xmm0,%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r15,%rdi
mov    $0x3,%esi
mov    $0x1,%edx
mov    $0x3,%ecx
mov    $0x1,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x44(%rsp),%xmm0
mulss  %xmm0,%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0x14(%r12)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x2,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x2,%esi
mov    $0x2,%edx
mov    $0x2,%ecx
mov    $0x1,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x38(%rsp),%xmm0
mulss  0x34(%rsp),%xmm0
addss  0xaef(%rip),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r15,%rdi
mov    $0x3,%esi
mov    $0x2,%edx
mov    $0x3,%ecx
mov    $0x1,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x48(%rsp),%xmm0
mulss  0x44(%rsp),%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0x24(%r12)
movss  %xmm0,0x18(%r12)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x3,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x3,%esi
mov    $0x3,%edx
mov    $0x3,%ecx
mov    $0x1,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x4c(%rsp),%xmm0
mulss  0x44(%rsp),%xmm0
addss  0xa59(%rip),%xmm0
movss  %xmm0,0x34(%r12)
movss  %xmm0,0x1c(%r12)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x2,%esi
mov    $0x2,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x38(%rsp),%xmm0
mulss  %xmm0,%xmm0
addss  0x9fc(%rip),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r15,%rdi
mov    $0x3,%esi
mov    $0x2,%edx
mov    $0x3,%ecx
mov    $0x2,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x48(%rsp),%xmm0
mulss  %xmm0,%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0x28(%r12)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x3,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x3,%esi
mov    $0x3,%edx
mov    $0x3,%ecx
mov    $0x2,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x4c(%rsp),%xmm0
mulss  0x48(%rsp),%xmm0
addss  0x96f(%rip),%xmm0
movss  %xmm0,0x38(%r12)
movss  %xmm0,0x2c(%r12)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x3,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x3,%esi
mov    $0x3,%edx
mov    $0x3,%ecx
mov    $0x3,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
movss  0x4c(%rsp),%xmm0
mulss  %xmm0,%xmm0
addss  0x912(%rip),%xmm0
movss  %xmm0,0x3c(%r12)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [11 x i8] c"[%d][%d]: \00"
@.str.1 = [22 x i8] c"+[%d][%d] * [%d][%d] \00"
@.str.2 = [2 x i8] c"\0A\00"
define void @inverse([4 x float]* %0, [4 x float]* %1) {
%3 = alloca [4 x float]*
%4 = alloca [4 x float]*
%5 = alloca [4 x [4 x float]]
%6 = alloca [4 x [4 x float]]
%7 = alloca i32
%8 = alloca i32
%9 = alloca float
%10 = alloca i32
store [4 x float]* %0, [4 x float]** %3
store [4 x float]* %1, [4 x float]** %4
%11 = load [4 x float]*, [4 x float]** %3
%12 = bitcast [4 x float]* %11 to float**
%13 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %5, i64 0, i64 0
%14 = bitcast [4 x float]* %13 to float**
%15 = call i32 @choleskyDecomposition(float** %12, float** %14)
%16 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %5, i64 0, i64 0
%17 = bitcast [4 x float]* %16 to float**
%18 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %6, i64 0, i64 0
%19 = bitcast [4 x float]* %18 to float**
%20 = call i32 @inverseLower(float** %17, float** %19)
%21 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %6, i64 0, i64 0
%22 = bitcast [4 x float]* %21 to float**
%23 = call i32 @printMatrix(float** %22)
store i32 0, i32* %7
br label %24
24: ; preds = %87, %2
%25 = load i32, i32* %7
%26 = icmp slt i32 %25, 4
br i1 %26, label %27, label %90
27: ; preds = %24
%28 = load i32, i32* %7
store i32 %28, i32* %8
br label %29
29: ; preds = %83, %27
%30 = load i32, i32* %8
%31 = icmp slt i32 %30, 4
br i1 %31, label %32, label %86
32: ; preds = %29
store float 0.000000e+00, float* %9
%33 = load i32, i32* %8
%34 = load i32, i32* %7
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %33, i32 %34)
%36 = load i32, i32* %8
store i32 %36, i32* %10
br label %37
37: ; preds = %62, %32
%38 = load i32, i32* %10
%39 = icmp slt i32 %38, 4
br i1 %39, label %40, label %65
40: ; preds = %37
%41 = load i32, i32* %10
%42 = load i32, i32* %8
%43 = load i32, i32* %10
%44 = load i32, i32* %7
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 %41, i32 %42, i32 %43, i32 %44)
%46 = load i32, i32* %10
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %6, i64 0, i64 %47
%49 = load i32, i32* %8
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [4 x float], [4 x float]* %48, i64 0, i64 %50
%52 = load float, float* %51
%53 = load i32, i32* %10
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %6, i64 0, i64 %54
%56 = load i32, i32* %7
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [4 x float], [4 x float]* %55, i64 0, i64 %57
%59 = load float, float* %58
%60 = load float, float* %9
%61 = call float @llvm.fmuladd.f32(float %52, float %59, float %60)
store float %61, float* %9
br label %62
62: ; preds = %40
%63 = load i32, i32* %10
%64 = add nsw i32 %63, 1
store i32 %64, i32* %10
br label %37
65: ; preds = %37
%66 = load float, float* %9
%67 = load [4 x float]*, [4 x float]** %4
%68 = load i32, i32* %8
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [4 x float], [4 x float]* %67, i64 %69
%71 = load i32, i32* %7
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [4 x float], [4 x float]* %70, i64 0, i64 %72
store float %66, float* %73
%74 = load float, float* %9
%75 = load [4 x float]*, [4 x float]** %4
%76 = load i32, i32* %7
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [4 x float], [4 x float]* %75, i64 %77
%79 = load i32, i32* %8
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [4 x float], [4 x float]* %78, i64 0, i64 %80
store float %74, float* %81
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %83
83: ; preds = %65
%84 = load i32, i32* %8
%85 = add nsw i32 %84, 1
store i32 %85, i32* %8
br label %29
86: ; preds = %29
br label %87
87: ; preds = %86
%88 = load i32, i32* %7
%89 = add nsw i32 %88, 1
store i32 %89, i32* %7
br label %24
90: ; preds = %24
ret void
}

LLVM IR (-O2):
@.str = [11 x i8] c"[%d][%d]: \00"
@.str.1 = [22 x i8] c"+[%d][%d] * [%d][%d] \00"
define void @inverse([4 x float]* %0, [4 x float]* nocapture writeonly %1) {
%3 = alloca [4 x [4 x float]]
%4 = alloca [4 x [4 x float]]
%5 = bitcast [4 x [4 x float]]* %3 to i8*
%6 = bitcast [4 x [4 x float]]* %4 to i8*
%7 = bitcast [4 x float]* %0 to float**
%8 = bitcast [4 x [4 x float]]* %3 to float**
%9 = call i32 @choleskyDecomposition(float** %7, float** %8)
%10 = bitcast [4 x [4 x float]]* %4 to float**
%11 = call i32 @inverseLower(float** %8, float** %10)
%12 = call i32 @printMatrix(float** %10)
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 0, i32 0)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 0, i32 0, i32 0)
%15 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 0, i64 0
%16 = load float, float* %15
%17 = call float @llvm.fmuladd.f32(float %16, float %16, float 0.000000e+00)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 1, i32 0, i32 1, i32 0)
%19 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 1, i64 0
%20 = load float, float* %19
%21 = call float @llvm.fmuladd.f32(float %20, float %20, float %17)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 0, i32 2, i32 0)
%23 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 2, i64 0
%24 = load float, float* %23
%25 = call float @llvm.fmuladd.f32(float %24, float %24, float %21)
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 3, i32 0, i32 3, i32 0)
%27 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 0
%28 = load float, float* %27
%29 = call float @llvm.fmuladd.f32(float %28, float %28, float %25)
%30 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 0, i64 0
store float %29, float* %30
%31 = call i32 @putchar(i32 10)
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 1, i32 0)
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 1, i32 1, i32 1, i32 0)
%34 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 1, i64 1
%35 = load float, float* %34
%36 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 1, i64 0
%37 = load float, float* %36
%38 = call float @llvm.fmuladd.f32(float %35, float %37, float 0.000000e+00)
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 1, i32 2, i32 0)
%40 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 2, i64 1
%41 = load float, float* %40
%42 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 2, i64 0
%43 = load float, float* %42
%44 = call float @llvm.fmuladd.f32(float %41, float %43, float %38)
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 3, i32 1, i32 3, i32 0)
%46 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 1
%47 = load float, float* %46
%48 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 0
%49 = load float, float* %48
%50 = call float @llvm.fmuladd.f32(float %47, float %49, float %44)
%51 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 1, i64 0
store float %50, float* %51
%52 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 0, i64 1
store float %50, float* %52
%53 = call i32 @putchar(i32 10)
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 2, i32 0)
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 2, i32 2, i32 0)
%56 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 2, i64 2
%57 = load float, float* %56
%58 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 2, i64 0
%59 = load float, float* %58
%60 = call float @llvm.fmuladd.f32(float %57, float %59, float 0.000000e+00)
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 3, i32 2, i32 3, i32 0)
%62 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 2
%63 = load float, float* %62
%64 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 0
%65 = load float, float* %64
%66 = call float @llvm.fmuladd.f32(float %63, float %65, float %60)
%67 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 2, i64 0
store float %66, float* %67
%68 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 0, i64 2
store float %66, float* %68
%69 = call i32 @putchar(i32 10)
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 3, i32 0)
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 3, i32 3, i32 3, i32 0)
%72 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 3
%73 = load float, float* %72
%74 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 0
%75 = load float, float* %74
%76 = call float @llvm.fmuladd.f32(float %73, float %75, float 0.000000e+00)
%77 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 3, i64 0
store float %76, float* %77
%78 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 0, i64 3
store float %76, float* %78
%79 = call i32 @putchar(i32 10)
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 1, i32 1)
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 1, i32 1, i32 1, i32 1)
%82 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 1, i64 1
%83 = load float, float* %82
%84 = call float @llvm.fmuladd.f32(float %83, float %83, float 0.000000e+00)
%85 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 1, i32 2, i32 1)
%86 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 2, i64 1
%87 = load float, float* %86
%88 = call float @llvm.fmuladd.f32(float %87, float %87, float %84)
%89 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 3, i32 1, i32 3, i32 1)
%90 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 1
%91 = load float, float* %90
%92 = call float @llvm.fmuladd.f32(float %91, float %91, float %88)
%93 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 1, i64 1
store float %92, float* %93
%94 = call i32 @putchar(i32 10)
%95 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 2, i32 1)
%96 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 2, i32 2, i32 1)
%97 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 2, i64 2
%98 = load float, float* %97
%99 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 2, i64 1
%100 = load float, float* %99
%101 = call float @llvm.fmuladd.f32(float %98, float %100, float 0.000000e+00)
%102 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 3, i32 2, i32 3, i32 1)
%103 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 2
%104 = load float, float* %103
%105 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 1
%106 = load float, float* %105
%107 = call float @llvm.fmuladd.f32(float %104, float %106, float %101)
%108 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 2, i64 1
store float %107, float* %108
%109 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 1, i64 2
store float %107, float* %109
%110 = call i32 @putchar(i32 10)
%111 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 3, i32 1)
%112 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 3, i32 3, i32 3, i32 1)
%113 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 3
%114 = load float, float* %113
%115 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 1
%116 = load float, float* %115
%117 = call float @llvm.fmuladd.f32(float %114, float %116, float 0.000000e+00)
%118 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 3, i64 1
store float %117, float* %118
%119 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 1, i64 3
store float %117, float* %119
%120 = call i32 @putchar(i32 10)
%121 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 2, i32 2)
%122 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 2, i32 2, i32 2)
%123 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 2, i64 2
%124 = load float, float* %123
%125 = call float @llvm.fmuladd.f32(float %124, float %124, float 0.000000e+00)
%126 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 3, i32 2, i32 3, i32 2)
%127 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 2
%128 = load float, float* %127
%129 = call float @llvm.fmuladd.f32(float %128, float %128, float %125)
%130 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 2, i64 2
store float %129, float* %130
%131 = call i32 @putchar(i32 10)
%132 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 3, i32 2)
%133 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 3, i32 3, i32 3, i32 2)
%134 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 3
%135 = load float, float* %134
%136 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 2
%137 = load float, float* %136
%138 = call float @llvm.fmuladd.f32(float %135, float %137, float 0.000000e+00)
%139 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 3, i64 2
store float %138, float* %139
%140 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 2, i64 3
store float %138, float* %140
%141 = call i32 @putchar(i32 10)
%142 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 3, i32 3)
%143 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i32 3, i32 3, i32 3, i32 3)
%144 = getelementptr inbounds [4 x [4 x float]], [4 x [4 x float]]* %4, i64 0, i64 3, i64 3
%145 = load float, float* %144
%146 = call float @llvm.fmuladd.f32(float %145, float %145, float 0.000000e+00)
%147 = getelementptr inbounds [4 x float], [4 x float]* %1, i64 3, i64 3
store float %146, float* %147
%148 = call i32 @putchar(i32 10)
ret void
}