; LLVM IR from jgaeddert/liquid-dsp :: sandbox (matrix_test)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@__const.main.x = external hidden unnamed_addr constant [6 x float], align 16
@__const.main.y = external hidden unnamed_addr constant [9 x float], align 16
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@__const.main.s = external hidden unnamed_addr constant [16 x float], align 16
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@__const.main.X = external hidden unnamed_addr constant [16 x float], align 16
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [42 x i8], align 1
@__const.main.Xb = external hidden unnamed_addr constant [20 x float], align 16
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [25 x i8], align 1
@__const.main.a = external hidden unnamed_addr constant [20 x float], align 16
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@__const.main.Xgs = external hidden unnamed_addr constant [12 x float], align 16
@.str.25 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [32 x i8], align 1
@__const.main.Lp = external hidden unnamed_addr constant [9 x { float, float }], align 16
@.str.29 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca [6 x float], align 16
  %3 = alloca [9 x float], align 16
  %4 = alloca [6 x float], align 16
  %5 = alloca [16 x float], align 16
  %6 = alloca [16 x float], align 16
  %7 = alloca [16 x float], align 16
  %8 = alloca float, align 4
  %9 = alloca [16 x float], align 16
  %10 = alloca [16 x float], align 16
  %11 = alloca [16 x float], align 16
  %12 = alloca [16 x float], align 16
  %13 = alloca [16 x float], align 16
  %14 = alloca float, align 4
  %15 = alloca [16 x float], align 16
  %16 = alloca [16 x float], align 16
  %17 = alloca [20 x float], align 16
  %18 = alloca [20 x float], align 16
  %19 = alloca [16 x float], align 16
  %20 = alloca [25 x float], align 16
  %21 = alloca [12 x float], align 16
  %22 = alloca [12 x float], align 16
  %23 = alloca [12 x float], align 16
  %24 = alloca [9 x { float, float }], align 16
  %25 = alloca [9 x { float, float }], align 16
  %26 = alloca [9 x { float, float }], align 16
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr %2) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 36, ptr %3) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.y, i64 36, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #5
  %27 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %28 = getelementptr inbounds [6 x float], ptr %2, i64 0, i64 0
  %29 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0
  %30 = getelementptr inbounds [6 x float], ptr %4, i64 0, i64 0
  %31 = call i32 @matrixf_mul(ptr noundef %28, i32 noundef 2, i32 noundef 3, ptr noundef %29, i32 noundef 3, i32 noundef 3, ptr noundef %30, i32 noundef 2, i32 noundef 3)
  %32 = getelementptr inbounds [6 x float], ptr %4, i64 0, i64 0
  %33 = call i32 @matrixf_print(ptr noundef %32, i32 noundef 2, i32 noundef 3)
  call void @llvm.lifetime.start.p0(i64 64, ptr %5) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.s, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %6) #5
  %34 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 0
  %35 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 0
  call void @llvm.memmove.p0.p0.i64(ptr align 16 %34, ptr align 16 %35, i64 64, i1 false)
  %36 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 0
  %37 = call i32 @matrixf_inv(ptr noundef %36, i32 noundef 4, i32 noundef 4)
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #5
  %38 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 0
  %39 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 0
  %40 = getelementptr inbounds [16 x float], ptr %7, i64 0, i64 0
  %41 = call i32 @matrixf_mul(ptr noundef %38, i32 noundef 4, i32 noundef 4, ptr noundef %39, i32 noundef 4, i32 noundef 4, ptr noundef %40, i32 noundef 4, i32 noundef 4)
  %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %43 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 0
  %44 = call i32 @matrixf_print(ptr noundef %43, i32 noundef 4, i32 noundef 4)
  %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  %46 = getelementptr inbounds [16 x float], ptr %6, i64 0, i64 0
  %47 = call i32 @matrixf_print(ptr noundef %46, i32 noundef 4, i32 noundef 4)
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %49 = getelementptr inbounds [16 x float], ptr %7, i64 0, i64 0
  %50 = call i32 @matrixf_print(ptr noundef %49, i32 noundef 4, i32 noundef 4)
  %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %52 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 0
  %53 = call float @matrixf_det(ptr noundef %52, i32 noundef 4, i32 noundef 4)
  store float %53, ptr %8, align 4, !tbaa !5
  %54 = load float, ptr %8, align 4, !tbaa !5
  %55 = fpext float %54 to double
  %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %55)
  %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #5
  %59 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 0
  %60 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0
  %61 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0
  %62 = getelementptr inbounds [16 x float], ptr %11, i64 0, i64 0
  %63 = call i32 @matrixf_ludecomp_crout(ptr noundef %59, i32 noundef 4, i32 noundef 4, ptr noundef %60, ptr noundef %61, ptr noundef %62)
  %64 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0
  %65 = call i32 @matrixf_print(ptr noundef %64, i32 noundef 4, i32 noundef 4)
  %66 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0
  %67 = call i32 @matrixf_print(ptr noundef %66, i32 noundef 4, i32 noundef 4)
  %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %70 = getelementptr inbounds [16 x float], ptr %5, i64 0, i64 0
  %71 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0
  %72 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0
  %73 = getelementptr inbounds [16 x float], ptr %11, i64 0, i64 0
  %74 = call i32 @matrixf_ludecomp_doolittle(ptr noundef %70, i32 noundef 4, i32 noundef 4, ptr noundef %71, ptr noundef %72, ptr noundef %73)
  %75 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0
  %76 = call i32 @matrixf_print(ptr noundef %75, i32 noundef 4, i32 noundef 4)
  %77 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0
  %78 = call i32 @matrixf_print(ptr noundef %77, i32 noundef 4, i32 noundef 4)
  %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.X, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #5
  %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  %81 = getelementptr inbounds [16 x float], ptr %12, i64 0, i64 0
  %82 = call i32 @matrixf_print(ptr noundef %81, i32 noundef 4, i32 noundef 4)
  %83 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
  %84 = getelementptr inbounds [16 x float], ptr %12, i64 0, i64 0
  call void @llvm.memmove.p0.p0.i64(ptr align 16 %83, ptr align 16 %84, i64 64, i1 false)
  %85 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
  %86 = call i32 @matrixf_swaprows(ptr noundef %85, i32 noundef 4, i32 noundef 4, i32 noundef 0, i32 noundef 2)
  %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %88 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
  %89 = call i32 @matrixf_print(ptr noundef %88, i32 noundef 4, i32 noundef 4)
  %90 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
  %91 = getelementptr inbounds [16 x float], ptr %12, i64 0, i64 0
  call void @llvm.memmove.p0.p0.i64(ptr align 16 %90, ptr align 16 %91, i64 64, i1 false)
  %92 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
  %93 = call i32 @matrixf_pivot(ptr noundef %92, i32 noundef 4, i32 noundef 4, i32 noundef 1, i32 noundef 2)
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %95 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
  %96 = call i32 @matrixf_print(ptr noundef %95, i32 noundef 4, i32 noundef 4)
  %97 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
  %98 = getelementptr inbounds [16 x float], ptr %12, i64 0, i64 0
  call void @llvm.memmove.p0.p0.i64(ptr align 16 %97, ptr align 16 %98, i64 64, i1 false)
  %99 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
  %100 = call i32 @matrixf_inv(ptr noundef %99, i32 noundef 4, i32 noundef 4)
  %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  %102 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
  %103 = call i32 @matrixf_print(ptr noundef %102, i32 noundef 4, i32 noundef 4)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %104 = getelementptr inbounds [16 x float], ptr %12, i64 0, i64 0
  %105 = call float @matrixf_det(ptr noundef %104, i32 noundef 4, i32 noundef 4)
  store float %105, ptr %14, align 4, !tbaa !5
  %106 = load float, ptr %14, align 4, !tbaa !5
  %107 = fpext float %106 to double
  %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %107)
  %109 = getelementptr inbounds [16 x float], ptr %12, i64 0, i64 0
  %110 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0
  %111 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0
  %112 = getelementptr inbounds [16 x float], ptr %11, i64 0, i64 0
  %113 = call i32 @matrixf_ludecomp_crout(ptr noundef %109, i32 noundef 4, i32 noundef 4, ptr noundef %110, ptr noundef %111, ptr noundef %112)
  %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  %116 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0
  %117 = call i32 @matrixf_print(ptr noundef %116, i32 noundef 4, i32 noundef 4)
  %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  %119 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0
  %120 = call i32 @matrixf_print(ptr noundef %119, i32 noundef 4, i32 noundef 4)
  %121 = getelementptr inbounds [16 x float], ptr %12, i64 0, i64 0
  %122 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0
  %123 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0
  %124 = getelementptr inbounds [16 x float], ptr %11, i64 0, i64 0
  %125 = call i32 @matrixf_ludecomp_doolittle(ptr noundef %121, i32 noundef 4, i32 noundef 4, ptr noundef %122, ptr noundef %123, ptr noundef %124)
  %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  %128 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0
  %129 = call i32 @matrixf_print(ptr noundef %128, i32 noundef 4, i32 noundef 4)
  %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  %131 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0
  %132 = call i32 @matrixf_print(ptr noundef %131, i32 noundef 4, i32 noundef 4)
  %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #5
  %135 = getelementptr inbounds [16 x float], ptr %12, i64 0, i64 0
  %136 = getelementptr inbounds [16 x float], ptr %15, i64 0, i64 0
  %137 = getelementptr inbounds [16 x float], ptr %16, i64 0, i64 0
  %138 = call i32 @matrixf_qrdecomp_gramschmidt(ptr noundef %135, i32 noundef 4, i32 noundef 4, ptr noundef %136, ptr noundef %137)
  %139 = getelementptr inbounds [16 x float], ptr %15, i64 0, i64 0
  %140 = call i32 @matrixf_print(ptr noundef %139, i32 noundef 4, i32 noundef 4)
  %141 = getelementptr inbounds [16 x float], ptr %16, i64 0, i64 0
  %142 = call i32 @matrixf_print(ptr noundef %141, i32 noundef 4, i32 noundef 4)
  call void @llvm.lifetime.start.p0(i64 80, ptr %17) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 @__const.main.Xb, i64 80, i1 false)
  %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
  %144 = getelementptr inbounds [20 x float], ptr %17, i64 0, i64 0
  %145 = call i32 @matrixf_print(ptr noundef %144, i32 noundef 4, i32 noundef 5)
  %146 = getelementptr inbounds [20 x float], ptr %17, i64 0, i64 0
  %147 = call i32 @matrixf_gjelim(ptr noundef %146, i32 noundef 4, i32 noundef 5)
  %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
  %149 = getelementptr inbounds [20 x float], ptr %17, i64 0, i64 0
  %150 = call i32 @matrixf_print(ptr noundef %149, i32 noundef 4, i32 noundef 5)
  call void @llvm.lifetime.start.p0(i64 80, ptr %18) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.main.a, i64 80, i1 false)
  %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
  %152 = getelementptr inbounds [20 x float], ptr %18, i64 0, i64 0
  %153 = call i32 @matrixf_print(ptr noundef %152, i32 noundef 4, i32 noundef 5)
  %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #5
  %156 = getelementptr inbounds [20 x float], ptr %18, i64 0, i64 0
  %157 = getelementptr inbounds [16 x float], ptr %19, i64 0, i64 0
  %158 = call i32 @matrixf_mul_transpose(ptr noundef %156, i32 noundef 4, i32 noundef 5, ptr noundef %157)
  %159 = getelementptr inbounds [16 x float], ptr %19, i64 0, i64 0
  %160 = call i32 @matrixf_print(ptr noundef %159, i32 noundef 4, i32 noundef 4)
  %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
  call void @llvm.lifetime.start.p0(i64 100, ptr %20) #5
  %163 = getelementptr inbounds [20 x float], ptr %18, i64 0, i64 0
  %164 = getelementptr inbounds [25 x float], ptr %20, i64 0, i64 0
  %165 = call i32 @matrixf_transpose_mul(ptr noundef %163, i32 noundef 4, i32 noundef 5, ptr noundef %164)
  %166 = getelementptr inbounds [25 x float], ptr %20, i64 0, i64 0
  %167 = call i32 @matrixf_print(ptr noundef %166, i32 noundef 5, i32 noundef 5)
  %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %169 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
  call void @llvm.lifetime.start.p0(i64 48, ptr %21) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 16 @__const.main.Xgs, i64 48, i1 false)
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #5
  %170 = call float @sqrtf(float noundef 6.000000e+00) #5
  %171 = fpext float %170 to double
  %172 = fdiv double %171, 6.000000e+00
  %173 = fptrunc double %172 to float
  store float %173, ptr %23, align 4, !tbaa !5
  %174 = getelementptr inbounds float, ptr %23, i64 1
  %175 = call float @sqrtf(float noundef 2.000000e+00) #5
  %176 = fpext float %175 to double
  %177 = fdiv double %176, 6.000000e+00
  %178 = fptrunc double %177 to float
  store float %178, ptr %174, align 4, !tbaa !5
  %179 = getelementptr inbounds float, ptr %23, i64 2
  store float 0x3FE5555560000000, ptr %179, align 4, !tbaa !5
  %180 = getelementptr inbounds float, ptr %23, i64 3
  store float 0.000000e+00, ptr %180, align 4, !tbaa !5
  %181 = getelementptr inbounds float, ptr %23, i64 4
  %182 = call float @sqrtf(float noundef 2.000000e+00) #5
  %183 = fpext float %182 to double
  %184 = fmul double 2.000000e+00, %183
  %185 = fdiv double %184, 3.000000e+00
  %186 = fptrunc double %185 to float
  store float %186, ptr %181, align 4, !tbaa !5
  %187 = getelementptr inbounds float, ptr %23, i64 5
  store float 0xBFD5555560000000, ptr %187, align 4, !tbaa !5
  %188 = getelementptr inbounds float, ptr %23, i64 6
  %189 = call float @sqrtf(float noundef 6.000000e+00) #5
  %190 = fpext float %189 to double
  %191 = fdiv double %190, 3.000000e+00
  %192 = fptrunc double %191 to float
  store float %192, ptr %188, align 4, !tbaa !5
  %193 = getelementptr inbounds float, ptr %23, i64 7
  store float 0.000000e+00, ptr %193, align 4, !tbaa !5
  %194 = getelementptr inbounds float, ptr %23, i64 8
  store float 0.000000e+00, ptr %194, align 4, !tbaa !5
  %195 = getelementptr inbounds float, ptr %23, i64 9
  %196 = call float @sqrtf(float noundef 6.000000e+00) #5
  %197 = fpext float %196 to double
  %198 = fdiv double %197, 6.000000e+00
  %199 = fptrunc double %198 to float
  store float %199, ptr %195, align 4, !tbaa !5
  %200 = getelementptr inbounds float, ptr %23, i64 10
  %201 = call float @sqrtf(float noundef 2.000000e+00) #5
  %202 = fneg float %201
  %203 = fpext float %202 to double
  %204 = fdiv double %203, 6.000000e+00
  %205 = fptrunc double %204 to float
  store float %205, ptr %200, align 4, !tbaa !5
  %206 = getelementptr inbounds float, ptr %23, i64 11
  store float 0xBFE5555560000000, ptr %206, align 4, !tbaa !5
  %207 = getelementptr inbounds [12 x float], ptr %21, i64 0, i64 0
  %208 = getelementptr inbounds [12 x float], ptr %22, i64 0, i64 0
  %209 = call i32 @matrixf_gramschmidt(ptr noundef %207, i32 noundef 4, i32 noundef 3, ptr noundef %208)
  %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
  %211 = getelementptr inbounds [12 x float], ptr %21, i64 0, i64 0
  %212 = call i32 @matrixf_print(ptr noundef %211, i32 noundef 4, i32 noundef 3)
  %213 = call i32 (ptr, ...) @printf(ptr noundef @.str.26)
  %214 = getelementptr inbounds [12 x float], ptr %22, i64 0, i64 0
  %215 = call i32 @matrixf_print(ptr noundef %214, i32 noundef 4, i32 noundef 3)
  %216 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
  %217 = getelementptr inbounds [12 x float], ptr %23, i64 0, i64 0
  %218 = call i32 @matrixf_print(ptr noundef %217, i32 noundef 4, i32 noundef 3)
  %219 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %220 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
  call void @llvm.lifetime.start.p0(i64 72, ptr %24) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %24, ptr align 16 @__const.main.Lp, i64 72, i1 false)
  call void @llvm.lifetime.start.p0(i64 72, ptr %25) #5
  %221 = getelementptr inbounds [9 x { float, float }], ptr %24, i64 0, i64 0
  %222 = getelementptr inbounds [9 x { float, float }], ptr %25, i64 0, i64 0
  %223 = call i32 @matrixcf_mul_transpose(ptr noundef %221, i32 noundef 3, i32 noundef 3, ptr noundef %222)
  call void @llvm.lifetime.start.p0(i64 72, ptr %26) #5
  %224 = getelementptr inbounds [9 x { float, float }], ptr %25, i64 0, i64 0
  %225 = getelementptr inbounds [9 x { float, float }], ptr %26, i64 0, i64 0
  %226 = call i32 @matrixcf_chol(ptr noundef %224, i32 noundef 3, ptr noundef %225)
  %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
  %228 = getelementptr inbounds [9 x { float, float }], ptr %24, i64 0, i64 0
  %229 = call i32 @matrixcf_print(ptr noundef %228, i32 noundef 3, i32 noundef 3)
  %230 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
  %231 = getelementptr inbounds [9 x { float, float }], ptr %25, i64 0, i64 0
  %232 = call i32 @matrixcf_print(ptr noundef %231, i32 noundef 3, i32 noundef 3)
  %233 = call i32 (ptr, ...) @printf(ptr noundef @.str.31)
  %234 = getelementptr inbounds [9 x { float, float }], ptr %26, i64 0, i64 0
  %235 = call i32 @matrixcf_print(ptr noundef %234, i32 noundef 3, i32 noundef 3)
  %236 = call i32 (ptr, ...) @printf(ptr noundef @.str.32)
  call void @llvm.lifetime.end.p0(i64 72, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 100, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #5
  ret i32 0
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare i32 @printf(ptr noundef, ...) #3

declare i32 @matrixf_mul(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #3

declare i32 @matrixf_print(ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #2

declare i32 @matrixf_inv(ptr noundef, i32 noundef, i32 noundef) #3

declare float @matrixf_det(ptr noundef, i32 noundef, i32 noundef) #3

declare i32 @matrixf_ludecomp_crout(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare i32 @matrixf_ludecomp_doolittle(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare i32 @matrixf_swaprows(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare i32 @matrixf_pivot(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare i32 @matrixf_qrdecomp_gramschmidt(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #3

declare i32 @matrixf_gjelim(ptr noundef, i32 noundef, i32 noundef) #3

declare i32 @matrixf_mul_transpose(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3

declare i32 @matrixf_transpose_mul(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #4

declare i32 @matrixf_gramschmidt(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3

declare i32 @matrixcf_mul_transpose(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3

declare i32 @matrixcf_chol(ptr noundef, i32 noundef, ptr noundef) #3

declare i32 @matrixcf_print(ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@__const.main.x = external hidden unnamed_addr constant [6 x float], align 16
@__const.main.y = external hidden unnamed_addr constant [9 x float], align 16
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@__const.main.s = external hidden unnamed_addr constant [16 x float], align 16
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@__const.main.X = external hidden unnamed_addr constant [16 x float], align 16
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [42 x i8], align 1
@__const.main.Xb = external hidden unnamed_addr constant [20 x float], align 16
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [25 x i8], align 1
@__const.main.a = external hidden unnamed_addr constant [20 x float], align 16
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@__const.main.Xgs = external hidden unnamed_addr constant [12 x float], align 16
@.str.25 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [32 x i8], align 1
@__const.main.Lp = external hidden unnamed_addr constant [9 x { float, float }], align 16
@.str.29 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [6 x float], align 16
  %2 = alloca [9 x float], align 16
  %3 = alloca [6 x float], align 16
  %4 = alloca [16 x float], align 16
  %5 = alloca [16 x float], align 16
  %6 = alloca [16 x float], align 16
  %7 = alloca [16 x float], align 16
  %8 = alloca [16 x float], align 16
  %9 = alloca [16 x float], align 16
  %10 = alloca [16 x float], align 16
  %11 = alloca [16 x float], align 16
  %12 = alloca [16 x float], align 16
  %13 = alloca [16 x float], align 16
  %14 = alloca [20 x float], align 16
  %15 = alloca [20 x float], align 16
  %16 = alloca [16 x float], align 16
  %17 = alloca [25 x float], align 16
  %18 = alloca [12 x float], align 16
  %19 = alloca [12 x float], align 16
  %20 = alloca [12 x float], align 16
  %21 = alloca [9 x { float, float }], align 16
  %22 = alloca [9 x { float, float }], align 16
  %23 = alloca [9 x { float, float }], align 16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %1, ptr noundef nonnull align 16 dereferenceable(24) @__const.main.x, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %2) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(36) %2, ptr noundef nonnull align 16 dereferenceable(36) @__const.main.y, i64 36, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %25 = call i32 @matrixf_mul(ptr noundef nonnull %1, i32 noundef 2, i32 noundef 3, ptr noundef nonnull %2, i32 noundef 3, i32 noundef 3, ptr noundef nonnull %3, i32 noundef 2, i32 noundef 3) #5
  %26 = call i32 @matrixf_print(ptr noundef nonnull %3, i32 noundef 2, i32 noundef 3) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %4, ptr noundef nonnull align 16 dereferenceable(64) @__const.main.s, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %5, ptr noundef nonnull align 16 dereferenceable(64) @__const.main.s, i64 64, i1 false)
  %27 = call i32 @matrixf_inv(ptr noundef nonnull %5, i32 noundef 4, i32 noundef 4) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #5
  %28 = call i32 @matrixf_mul(ptr noundef nonnull %4, i32 noundef 4, i32 noundef 4, ptr noundef nonnull %5, i32 noundef 4, i32 noundef 4, ptr noundef nonnull %6, i32 noundef 4, i32 noundef 4) #5
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %30 = call i32 @matrixf_print(ptr noundef nonnull %4, i32 noundef 4, i32 noundef 4) #5
  %31 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %32 = call i32 @matrixf_print(ptr noundef nonnull %5, i32 noundef 4, i32 noundef 4) #5
  %33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %34 = call i32 @matrixf_print(ptr noundef nonnull %6, i32 noundef 4, i32 noundef 4) #5
  %35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %36 = call float @matrixf_det(ptr noundef nonnull %4, i32 noundef 4, i32 noundef 4) #5
  %37 = fpext float %36 to double
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %37)
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %40 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #5
  %41 = call i32 @matrixf_ludecomp_crout(ptr noundef nonnull %4, i32 noundef 4, i32 noundef 4, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9) #5
  %42 = call i32 @matrixf_print(ptr noundef nonnull %7, i32 noundef 4, i32 noundef 4) #5
  %43 = call i32 @matrixf_print(ptr noundef nonnull %8, i32 noundef 4, i32 noundef 4) #5
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %46 = call i32 @matrixf_ludecomp_doolittle(ptr noundef nonnull %4, i32 noundef 4, i32 noundef 4, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9) #5
  %47 = call i32 @matrixf_print(ptr noundef nonnull %7, i32 noundef 4, i32 noundef 4) #5
  %48 = call i32 @matrixf_print(ptr noundef nonnull %8, i32 noundef 4, i32 noundef 4) #5
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %10, ptr noundef nonnull align 16 dereferenceable(64) @__const.main.X, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #5
  %50 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %51 = call i32 @matrixf_print(ptr noundef nonnull %10, i32 noundef 4, i32 noundef 4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %11, ptr noundef nonnull align 16 dereferenceable(64) %10, i64 64, i1 false)
  %52 = call i32 @matrixf_swaprows(ptr noundef nonnull %11, i32 noundef 4, i32 noundef 4, i32 noundef 0, i32 noundef 2) #5
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %54 = call i32 @matrixf_print(ptr noundef nonnull %11, i32 noundef 4, i32 noundef 4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %11, ptr noundef nonnull align 16 dereferenceable(64) %10, i64 64, i1 false)
  %55 = call i32 @matrixf_pivot(ptr noundef nonnull %11, i32 noundef 4, i32 noundef 4, i32 noundef 1, i32 noundef 2) #5
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %57 = call i32 @matrixf_print(ptr noundef nonnull %11, i32 noundef 4, i32 noundef 4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %11, ptr noundef nonnull align 16 dereferenceable(64) %10, i64 64, i1 false)
  %58 = call i32 @matrixf_inv(ptr noundef nonnull %11, i32 noundef 4, i32 noundef 4) #5
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  %60 = call i32 @matrixf_print(ptr noundef nonnull %11, i32 noundef 4, i32 noundef 4) #5
  %61 = call float @matrixf_det(ptr noundef nonnull %10, i32 noundef 4, i32 noundef 4) #5
  %62 = fpext float %61 to double
  %63 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, double noundef %62)
  %64 = call i32 @matrixf_ludecomp_crout(ptr noundef nonnull %10, i32 noundef 4, i32 noundef 4, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9) #5
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %67 = call i32 @matrixf_print(ptr noundef nonnull %7, i32 noundef 4, i32 noundef 4) #5
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  %69 = call i32 @matrixf_print(ptr noundef nonnull %8, i32 noundef 4, i32 noundef 4) #5
  %70 = call i32 @matrixf_ludecomp_doolittle(ptr noundef nonnull %10, i32 noundef 4, i32 noundef 4, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9) #5
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17)
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %73 = call i32 @matrixf_print(ptr noundef nonnull %7, i32 noundef 4, i32 noundef 4) #5
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  %75 = call i32 @matrixf_print(ptr noundef nonnull %8, i32 noundef 4, i32 noundef 4) #5
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %77 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #5
  %78 = call i32 @matrixf_qrdecomp_gramschmidt(ptr noundef nonnull %10, i32 noundef 4, i32 noundef 4, ptr noundef nonnull %12, ptr noundef nonnull %13) #5
  %79 = call i32 @matrixf_print(ptr noundef nonnull %12, i32 noundef 4, i32 noundef 4) #5
  %80 = call i32 @matrixf_print(ptr noundef nonnull %13, i32 noundef 4, i32 noundef 4) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %14) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %14, ptr noundef nonnull align 16 dereferenceable(80) @__const.main.Xb, i64 80, i1 false)
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19)
  %82 = call i32 @matrixf_print(ptr noundef nonnull %14, i32 noundef 4, i32 noundef 5) #5
  %83 = call i32 @matrixf_gjelim(ptr noundef nonnull %14, i32 noundef 4, i32 noundef 5) #5
  %84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20)
  %85 = call i32 @matrixf_print(ptr noundef nonnull %14, i32 noundef 4, i32 noundef 5) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %15) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %15, ptr noundef nonnull align 16 dereferenceable(80) @__const.main.a, i64 80, i1 false)
  %86 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21)
  %87 = call i32 @matrixf_print(ptr noundef nonnull %15, i32 noundef 4, i32 noundef 5) #5
  %88 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #5
  %90 = call i32 @matrixf_mul_transpose(ptr noundef nonnull %15, i32 noundef 4, i32 noundef 5, ptr noundef nonnull %16) #5
  %91 = call i32 @matrixf_print(ptr noundef nonnull %16, i32 noundef 4, i32 noundef 4) #5
  %92 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %93 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23)
  call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %17) #5
  %94 = call i32 @matrixf_transpose_mul(ptr noundef nonnull %15, i32 noundef 4, i32 noundef 5, ptr noundef nonnull %17) #5
  %95 = call i32 @matrixf_print(ptr noundef nonnull %17, i32 noundef 5, i32 noundef 5) #5
  %96 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %18) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %18, ptr noundef nonnull align 16 dereferenceable(48) @__const.main.Xgs, i64 48, i1 false)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %20) #5
  store <4 x float> <float 0x3FDA20BD80000000, float 0x3FCE2B7DE0000000, float 0x3FE5555560000000, float 0.000000e+00>, ptr %20, align 16, !tbaa !5
  %98 = getelementptr inbounds i8, ptr %20, i64 16
  store <4 x float> <float 0x3FEE2B7DE0000000, float 0xBFD5555560000000, float 0x3FEA20BD80000000, float 0.000000e+00>, ptr %98, align 16, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %20, i64 32
  store <4 x float> <float 0.000000e+00, float 0x3FDA20BD80000000, float 0xBFCE2B7DE0000000, float 0xBFE5555560000000>, ptr %99, align 16, !tbaa !5
  %100 = call i32 @matrixf_gramschmidt(ptr noundef nonnull %18, i32 noundef 4, i32 noundef 3, ptr noundef nonnull %19) #5
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.25)
  %102 = call i32 @matrixf_print(ptr noundef nonnull %18, i32 noundef 4, i32 noundef 3) #5
  %103 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26)
  %104 = call i32 @matrixf_print(ptr noundef nonnull %19, i32 noundef 4, i32 noundef 3) #5
  %105 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.27)
  %106 = call i32 @matrixf_print(ptr noundef nonnull %20, i32 noundef 4, i32 noundef 3) #5
  %107 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.28)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %21) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(72) %21, ptr noundef nonnull align 16 dereferenceable(72) @__const.main.Lp, i64 72, i1 false)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %22) #5
  %109 = call i32 @matrixcf_mul_transpose(ptr noundef nonnull %21, i32 noundef 3, i32 noundef 3, ptr noundef nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %23) #5
  %110 = call i32 @matrixcf_chol(ptr noundef nonnull %22, i32 noundef 3, ptr noundef nonnull %23) #5
  %111 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.29)
  %112 = call i32 @matrixcf_print(ptr noundef nonnull %21, i32 noundef 3, i32 noundef 3) #5
  %113 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30)
  %114 = call i32 @matrixcf_print(ptr noundef nonnull %22, i32 noundef 3, i32 noundef 3) #5
  %115 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31)
  %116 = call i32 @matrixcf_print(ptr noundef nonnull %23, i32 noundef 3, i32 noundef 3) #5
  %117 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #5
  ret i32 0
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare i32 @matrixf_mul(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare i32 @matrixf_print(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare i32 @matrixf_inv(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare float @matrixf_det(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare i32 @matrixf_ludecomp_crout(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @matrixf_ludecomp_doolittle(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @matrixf_swaprows(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare i32 @matrixf_pivot(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare i32 @matrixf_qrdecomp_gramschmidt(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @matrixf_gjelim(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare i32 @matrixf_mul_transpose(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare i32 @matrixf_transpose_mul(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare i32 @matrixf_gramschmidt(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare i32 @matrixcf_mul_transpose(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare i32 @matrixcf_chol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare i32 @matrixcf_print(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,TailCallElimPass