; LLVM IR from jgaeddert/liquid-dsp :: sandbox (householder_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"

@.str = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@stderr = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.15 = 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 i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca i64, align 8
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca ptr, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca i32, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 8, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 5, ptr %6, align 4, !tbaa !5
  %35 = load i32, ptr %5, align 4, !tbaa !5
  %36 = load i32, ptr %6, align 4, !tbaa !5
  %37 = mul i32 %35, %36
  %38 = zext i32 %37 to i64
  %39 = call ptr @llvm.stacksave.p0()
  store ptr %39, ptr %7, align 8
  %40 = alloca float, i64 %38, align 16
  store i64 %38, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %41

41:                                               ; preds = %52, %0
  %42 = load i32, ptr %9, align 4, !tbaa !5
  %43 = load i32, ptr %5, align 4, !tbaa !5
  %44 = load i32, ptr %6, align 4, !tbaa !5
  %45 = mul i32 %43, %44
  %46 = icmp ult i32 %42, %45
  br i1 %46, label %47, label %55

47:                                               ; preds = %41
  %48 = call float (...) @randnf()
  %49 = load i32, ptr %9, align 4, !tbaa !5
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds float, ptr %40, i64 %50
  store float %48, ptr %51, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %47
  %53 = load i32, ptr %9, align 4, !tbaa !5
  %54 = add i32 %53, 1
  store i32 %54, ptr %9, align 4, !tbaa !5
  br label %41, !llvm.loop !11

55:                                               ; preds = %41
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %85, %55
  %57 = load i32, ptr %2, align 4, !tbaa !5
  %58 = load i32, ptr %5, align 4, !tbaa !5
  %59 = icmp ult i32 %57, %58
  br i1 %59, label %60, label %88

60:                                               ; preds = %56
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %81, %60
  %62 = load i32, ptr %3, align 4, !tbaa !5
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = icmp ult i32 %62, %63
  br i1 %64, label %65, label %84

65:                                               ; preds = %61
  %66 = load i32, ptr %2, align 4, !tbaa !5
  %67 = load i32, ptr %3, align 4, !tbaa !5
  %68 = add i32 %66, %67
  %69 = add i32 %68, 1
  %70 = uitofp i32 %69 to float
  %71 = fpext float %70 to double
  %72 = fdiv double 1.000000e+00, %71
  %73 = fptrunc double %72 to float
  %74 = load i32, ptr %2, align 4, !tbaa !5
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = mul i32 %74, %75
  %77 = load i32, ptr %3, align 4, !tbaa !5
  %78 = add i32 %76, %77
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds float, ptr %40, i64 %79
  store float %73, ptr %80, align 4, !tbaa !9
  br label %81

81:                                               ; preds = %65
  %82 = load i32, ptr %3, align 4, !tbaa !5
  %83 = add i32 %82, 1
  store i32 %83, ptr %3, align 4, !tbaa !5
  br label %61, !llvm.loop !13

84:                                               ; preds = %61
  br label %85

85:                                               ; preds = %84
  %86 = load i32, ptr %2, align 4, !tbaa !5
  %87 = add i32 %86, 1
  store i32 %87, ptr %2, align 4, !tbaa !5
  br label %56, !llvm.loop !14

88:                                               ; preds = %56
  %89 = load i32, ptr %5, align 4, !tbaa !5
  %90 = load i32, ptr %6, align 4, !tbaa !5
  %91 = call i32 @matrixf_print(ptr noundef %40, i32 noundef %89, i32 noundef %90)
  %92 = load i32, ptr %5, align 4, !tbaa !5
  %93 = load i32, ptr %6, align 4, !tbaa !5
  %94 = mul i32 %92, %93
  %95 = zext i32 %94 to i64
  %96 = alloca float, i64 %95, align 16
  store i64 %95, ptr %10, align 8
  %97 = load i32, ptr %5, align 4, !tbaa !5
  %98 = load i32, ptr %6, align 4, !tbaa !5
  %99 = mul i32 %97, %98
  %100 = zext i32 %99 to i64
  %101 = alloca float, i64 %100, align 16
  store i64 %100, ptr %11, align 8
  %102 = load i32, ptr %5, align 4, !tbaa !5
  %103 = load i32, ptr %6, align 4, !tbaa !5
  %104 = mul i32 %102, %103
  %105 = zext i32 %104 to i64
  %106 = alloca float, i64 %105, align 16
  store i64 %105, ptr %12, align 8
  %107 = load i32, ptr %5, align 4, !tbaa !5
  %108 = zext i32 %107 to i64
  %109 = alloca float, i64 %108, align 16
  store i64 %108, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %110 = load i32, ptr %6, align 4, !tbaa !5
  %111 = zext i32 %110 to i64
  %112 = alloca float, i64 %111, align 16
  store i64 %111, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %113 = load i32, ptr %5, align 4, !tbaa !5
  %114 = load i32, ptr %6, align 4, !tbaa !5
  %115 = mul i32 %113, %114
  %116 = zext i32 %115 to i64
  %117 = mul i64 %116, 4
  call void @llvm.memmove.p0.p0.i64(ptr align 16 %96, ptr align 16 %40, i64 %117, i1 false)
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %118

118:                                              ; preds = %546, %88
  %119 = load i32, ptr %4, align 4, !tbaa !5
  %120 = load i32, ptr %6, align 4, !tbaa !5
  %121 = icmp ult i32 %119, %120
  br i1 %121, label %122, label %549

122:                                              ; preds = %118
  %123 = load i32, ptr %4, align 4, !tbaa !5
  %124 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %123)
  store float 0.000000e+00, ptr %15, align 4, !tbaa !9
  %125 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %125, ptr %2, align 4, !tbaa !5
  br label %126

126:                                              ; preds = %148, %122
  %127 = load i32, ptr %2, align 4, !tbaa !5
  %128 = load i32, ptr %5, align 4, !tbaa !5
  %129 = icmp ult i32 %127, %128
  br i1 %129, label %130, label %151

130:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %131 = load i32, ptr %2, align 4, !tbaa !5
  %132 = load i32, ptr %6, align 4, !tbaa !5
  %133 = mul i32 %131, %132
  %134 = load i32, ptr %4, align 4, !tbaa !5
  %135 = add i32 %133, %134
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds float, ptr %96, i64 %136
  %138 = load float, ptr %137, align 4, !tbaa !9
  store float %138, ptr %19, align 4, !tbaa !9
  %139 = load float, ptr %19, align 4, !tbaa !9
  %140 = fpext float %139 to double
  %141 = load float, ptr %19, align 4, !tbaa !9
  %142 = fpext float %141 to double
  %143 = fmul double %140, -0.000000e+00
  %144 = load float, ptr %15, align 4, !tbaa !9
  %145 = fpext float %144 to double
  %146 = call double @llvm.fmuladd.f64(double %140, double %142, double %145)
  %147 = fptrunc double %146 to float
  store float %147, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %148

148:                                              ; preds = %130
  %149 = load i32, ptr %2, align 4, !tbaa !5
  %150 = add i32 %149, 1
  store i32 %150, ptr %2, align 4, !tbaa !5
  br label %126, !llvm.loop !15

151:                                              ; preds = %126
  %152 = load float, ptr %15, align 4, !tbaa !9
  %153 = fpext float %152 to double
  %154 = call double @sqrt(double noundef %153) #7
  %155 = fptrunc double %154 to float
  store float %155, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %156 = load i32, ptr %4, align 4, !tbaa !5
  %157 = load i32, ptr %6, align 4, !tbaa !5
  %158 = mul i32 %156, %157
  %159 = load i32, ptr %4, align 4, !tbaa !5
  %160 = add i32 %158, %159
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds float, ptr %96, i64 %161
  %163 = load float, ptr %162, align 4, !tbaa !9
  store float %163, ptr %20, align 4, !tbaa !9
  %164 = load float, ptr %15, align 4, !tbaa !9
  %165 = fneg float %164
  %166 = load float, ptr %20, align 4, !tbaa !9
  %167 = fmul float %165, %166
  %168 = fpext float %167 to double
  %169 = load float, ptr %20, align 4, !tbaa !9
  %170 = fpext float %169 to double
  %171 = call double @llvm.fabs.f64(double %170)
  %172 = fdiv double %168, %171
  %173 = fptrunc double %172 to float
  store float %173, ptr %14, align 4, !tbaa !9
  %174 = load float, ptr %15, align 4, !tbaa !9
  %175 = fpext float %174 to double
  %176 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %175)
  %177 = load float, ptr %14, align 4, !tbaa !9
  %178 = fpext float %177 to double
  %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %178)
  %180 = load float, ptr %15, align 4, !tbaa !9
  %181 = fcmp oeq float %180, 0.000000e+00
  br i1 %181, label %182, label %195

182:                                              ; preds = %151
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %183

183:                                              ; preds = %191, %182
  %184 = load i32, ptr %2, align 4, !tbaa !5
  %185 = load i32, ptr %4, align 4, !tbaa !5
  %186 = icmp ult i32 %184, %185
  br i1 %186, label %187, label %194

187:                                              ; preds = %183
  %188 = load i32, ptr %2, align 4, !tbaa !5
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds float, ptr %109, i64 %189
  store float 0.000000e+00, ptr %190, align 4, !tbaa !9
  br label %191

191:                                              ; preds = %187
  %192 = load i32, ptr %2, align 4, !tbaa !5
  %193 = add i32 %192, 1
  store i32 %193, ptr %2, align 4, !tbaa !5
  br label %183, !llvm.loop !16

194:                                              ; preds = %183
  br label %261

195:                                              ; preds = %151
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %196

196:                                              ; preds = %204, %195
  %197 = load i32, ptr %2, align 4, !tbaa !5
  %198 = load i32, ptr %4, align 4, !tbaa !5
  %199 = icmp ult i32 %197, %198
  br i1 %199, label %200, label %207

200:                                              ; preds = %196
  %201 = load i32, ptr %2, align 4, !tbaa !5
  %202 = zext i32 %201 to i64
  %203 = getelementptr inbounds float, ptr %109, i64 %202
  store float 0.000000e+00, ptr %203, align 4, !tbaa !9
  br label %204

204:                                              ; preds = %200
  %205 = load i32, ptr %2, align 4, !tbaa !5
  %206 = add i32 %205, 1
  store i32 %206, ptr %2, align 4, !tbaa !5
  br label %196, !llvm.loop !17

207:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %208 = load float, ptr %20, align 4, !tbaa !9
  %209 = fpext float %208 to double
  %210 = call double @llvm.fabs.f64(double %209)
  %211 = load float, ptr %15, align 4, !tbaa !9
  %212 = fpext float %211 to double
  %213 = fdiv double %210, %212
  %214 = fadd double 1.000000e+00, %213
  %215 = fmul double 5.000000e-01, %214
  %216 = call double @sqrt(double noundef %215) #7
  %217 = fptrunc double %216 to float
  store float %217, ptr %21, align 4, !tbaa !9
  %218 = load float, ptr %21, align 4, !tbaa !9
  %219 = load i32, ptr %4, align 4, !tbaa !5
  %220 = zext i32 %219 to i64
  %221 = getelementptr inbounds float, ptr %109, i64 %220
  store float %218, ptr %221, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %222 = load float, ptr %15, align 4, !tbaa !9
  %223 = fmul float 2.000000e+00, %222
  %224 = load float, ptr %20, align 4, !tbaa !9
  %225 = fmul float %223, %224
  %226 = fpext float %225 to double
  %227 = load float, ptr %20, align 4, !tbaa !9
  %228 = fpext float %227 to double
  %229 = call double @llvm.fabs.f64(double %228)
  %230 = fdiv double %226, %229
  %231 = load float, ptr %21, align 4, !tbaa !9
  %232 = fpext float %231 to double
  %233 = fmul double %230, %232
  %234 = fdiv double 1.000000e+00, %233
  %235 = fptrunc double %234 to float
  store float %235, ptr %22, align 4, !tbaa !9
  %236 = load i32, ptr %4, align 4, !tbaa !5
  %237 = add i32 %236, 1
  store i32 %237, ptr %2, align 4, !tbaa !5
  br label %238

238:                                              ; preds = %257, %207
  %239 = load i32, ptr %2, align 4, !tbaa !5
  %240 = load i32, ptr %5, align 4, !tbaa !5
  %241 = icmp ult i32 %239, %240
  br i1 %241, label %242, label %260

242:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %243 = load i32, ptr %2, align 4, !tbaa !5
  %244 = load i32, ptr %6, align 4, !tbaa !5
  %245 = mul i32 %243, %244
  %246 = load i32, ptr %4, align 4, !tbaa !5
  %247 = add i32 %245, %246
  %248 = zext i32 %247 to i64
  %249 = getelementptr inbounds float, ptr %96, i64 %248
  %250 = load float, ptr %249, align 4, !tbaa !9
  store float %250, ptr %23, align 4, !tbaa !9
  %251 = load float, ptr %22, align 4, !tbaa !9
  %252 = load float, ptr %23, align 4, !tbaa !9
  %253 = fmul float %251, %252
  %254 = load i32, ptr %2, align 4, !tbaa !5
  %255 = zext i32 %254 to i64
  %256 = getelementptr inbounds float, ptr %109, i64 %255
  store float %253, ptr %256, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %257

257:                                              ; preds = %242
  %258 = load i32, ptr %2, align 4, !tbaa !5
  %259 = add i32 %258, 1
  store i32 %259, ptr %2, align 4, !tbaa !5
  br label %238, !llvm.loop !18

260:                                              ; preds = %238
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %261

261:                                              ; preds = %260, %194
  %262 = load i32, ptr %5, align 4, !tbaa !5
  %263 = load i32, ptr %5, align 4, !tbaa !5
  %264 = mul i32 %262, %263
  %265 = zext i32 %264 to i64
  %266 = call ptr @llvm.stacksave.p0()
  store ptr %266, ptr %24, align 8
  %267 = alloca float, i64 %265, align 16
  store i64 %265, ptr %25, align 8
  %268 = load i32, ptr %5, align 4, !tbaa !5
  %269 = call i32 @matrixf_mul_transpose(ptr noundef %109, i32 noundef %268, i32 noundef 1, ptr noundef %267)
  %270 = load i32, ptr %5, align 4, !tbaa !5
  %271 = load i32, ptr %6, align 4, !tbaa !5
  %272 = mul i32 %270, %271
  %273 = zext i32 %272 to i64
  %274 = alloca float, i64 %273, align 16
  store i64 %273, ptr %26, align 8
  %275 = load i32, ptr %5, align 4, !tbaa !5
  %276 = load i32, ptr %5, align 4, !tbaa !5
  %277 = load i32, ptr %5, align 4, !tbaa !5
  %278 = load i32, ptr %6, align 4, !tbaa !5
  %279 = load i32, ptr %5, align 4, !tbaa !5
  %280 = load i32, ptr %6, align 4, !tbaa !5
  %281 = call i32 @matrixf_mul(ptr noundef %267, i32 noundef %275, i32 noundef %276, ptr noundef %96, i32 noundef %277, i32 noundef %278, ptr noundef %274, i32 noundef %279, i32 noundef %280)
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %282

282:                                              ; preds = %304, %261
  %283 = load i32, ptr %2, align 4, !tbaa !5
  %284 = load i32, ptr %5, align 4, !tbaa !5
  %285 = load i32, ptr %6, align 4, !tbaa !5
  %286 = mul i32 %284, %285
  %287 = icmp ult i32 %283, %286
  br i1 %287, label %288, label %307

288:                                              ; preds = %282
  %289 = load i32, ptr %2, align 4, !tbaa !5
  %290 = zext i32 %289 to i64
  %291 = getelementptr inbounds float, ptr %96, i64 %290
  %292 = load float, ptr %291, align 4, !tbaa !9
  %293 = fpext float %292 to double
  %294 = load i32, ptr %2, align 4, !tbaa !5
  %295 = zext i32 %294 to i64
  %296 = getelementptr inbounds float, ptr %274, i64 %295
  %297 = load float, ptr %296, align 4, !tbaa !9
  %298 = fpext float %297 to double
  %299 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %298, double %293)
  %300 = fptrunc double %299 to float
  %301 = load i32, ptr %2, align 4, !tbaa !5
  %302 = zext i32 %301 to i64
  %303 = getelementptr inbounds float, ptr %101, i64 %302
  store float %300, ptr %303, align 4, !tbaa !9
  br label %304

304:                                              ; preds = %288
  %305 = load i32, ptr %2, align 4, !tbaa !5
  %306 = add i32 %305, 1
  store i32 %306, ptr %2, align 4, !tbaa !5
  br label %282, !llvm.loop !19

307:                                              ; preds = %282
  %308 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %309 = load i32, ptr %5, align 4, !tbaa !5
  %310 = call i32 @matrixf_print(ptr noundef %109, i32 noundef %309, i32 noundef 1)
  %311 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %312 = load i32, ptr %5, align 4, !tbaa !5
  %313 = load i32, ptr %6, align 4, !tbaa !5
  %314 = call i32 @matrixf_print(ptr noundef %101, i32 noundef %312, i32 noundef %313)
  store float 0.000000e+00, ptr %18, align 4, !tbaa !9
  %315 = load i32, ptr %4, align 4, !tbaa !5
  %316 = add i32 %315, 1
  store i32 %316, ptr %3, align 4, !tbaa !5
  br label %317

317:                                              ; preds = %339, %307
  %318 = load i32, ptr %3, align 4, !tbaa !5
  %319 = load i32, ptr %6, align 4, !tbaa !5
  %320 = icmp ult i32 %318, %319
  br i1 %320, label %321, label %342

321:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %322 = load i32, ptr %4, align 4, !tbaa !5
  %323 = load i32, ptr %6, align 4, !tbaa !5
  %324 = mul i32 %322, %323
  %325 = load i32, ptr %3, align 4, !tbaa !5
  %326 = add i32 %324, %325
  %327 = zext i32 %326 to i64
  %328 = getelementptr inbounds float, ptr %101, i64 %327
  %329 = load float, ptr %328, align 4, !tbaa !9
  store float %329, ptr %27, align 4, !tbaa !9
  %330 = load float, ptr %27, align 4, !tbaa !9
  %331 = fpext float %330 to double
  %332 = load float, ptr %27, align 4, !tbaa !9
  %333 = fpext float %332 to double
  %334 = fmul double %331, -0.000000e+00
  %335 = load float, ptr %18, align 4, !tbaa !9
  %336 = fpext float %335 to double
  %337 = call double @llvm.fmuladd.f64(double %331, double %333, double %336)
  %338 = fptrunc double %337 to float
  store float %338, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %339

339:                                              ; preds = %321
  %340 = load i32, ptr %3, align 4, !tbaa !5
  %341 = add i32 %340, 1
  store i32 %341, ptr %3, align 4, !tbaa !5
  br label %317, !llvm.loop !20

342:                                              ; preds = %317
  %343 = load float, ptr %18, align 4, !tbaa !9
  %344 = fpext float %343 to double
  %345 = call double @sqrt(double noundef %344) #7
  %346 = fptrunc double %345 to float
  store float %346, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %347 = load i32, ptr %4, align 4, !tbaa !5
  %348 = load i32, ptr %6, align 4, !tbaa !5
  %349 = mul i32 %347, %348
  %350 = load i32, ptr %4, align 4, !tbaa !5
  %351 = add i32 %350, 1
  %352 = add i32 %349, %351
  %353 = zext i32 %352 to i64
  %354 = getelementptr inbounds float, ptr %101, i64 %353
  %355 = load float, ptr %354, align 4, !tbaa !9
  store float %355, ptr %28, align 4, !tbaa !9
  %356 = load float, ptr %18, align 4, !tbaa !9
  %357 = fneg float %356
  %358 = load float, ptr %28, align 4, !tbaa !9
  %359 = fmul float %357, %358
  %360 = fpext float %359 to double
  %361 = load float, ptr %28, align 4, !tbaa !9
  %362 = fpext float %361 to double
  %363 = call double @llvm.fabs.f64(double %362)
  %364 = fdiv double %360, %363
  %365 = fptrunc double %364 to float
  store float %365, ptr %17, align 4, !tbaa !9
  %366 = load float, ptr %18, align 4, !tbaa !9
  %367 = fpext float %366 to double
  %368 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %367)
  %369 = load float, ptr %17, align 4, !tbaa !9
  %370 = fpext float %369 to double
  %371 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %370)
  %372 = load float, ptr %28, align 4, !tbaa !9
  %373 = fpext float %372 to double
  %374 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %373)
  %375 = load i32, ptr %4, align 4, !tbaa !5
  %376 = add i32 %375, 1
  %377 = load i32, ptr %6, align 4, !tbaa !5
  %378 = icmp eq i32 %376, %377
  br i1 %378, label %379, label %387

379:                                              ; preds = %342
  %380 = load ptr, ptr @stderr, align 8, !tbaa !21
  %381 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %380, ptr noundef @.str.8) #7
  %382 = load i32, ptr %5, align 4, !tbaa !5
  %383 = load i32, ptr %6, align 4, !tbaa !5
  %384 = mul i32 %382, %383
  %385 = zext i32 %384 to i64
  %386 = mul i64 %385, 4
  call void @llvm.memmove.p0.p0.i64(ptr align 16 %96, ptr align 16 %101, i64 %386, i1 false)
  store i32 11, ptr %29, align 4
  br label %542

387:                                              ; preds = %342
  %388 = load float, ptr %18, align 4, !tbaa !9
  %389 = fcmp oeq float %388, 0.000000e+00
  br i1 %389, label %390, label %403

390:                                              ; preds = %387
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %391

391:                                              ; preds = %399, %390
  %392 = load i32, ptr %3, align 4, !tbaa !5
  %393 = load i32, ptr %4, align 4, !tbaa !5
  %394 = icmp ult i32 %392, %393
  br i1 %394, label %395, label %402

395:                                              ; preds = %391
  %396 = load i32, ptr %3, align 4, !tbaa !5
  %397 = zext i32 %396 to i64
  %398 = getelementptr inbounds float, ptr %112, i64 %397
  store float 0.000000e+00, ptr %398, align 4, !tbaa !9
  br label %399

399:                                              ; preds = %395
  %400 = load i32, ptr %3, align 4, !tbaa !5
  %401 = add i32 %400, 1
  store i32 %401, ptr %3, align 4, !tbaa !5
  br label %391, !llvm.loop !23

402:                                              ; preds = %391
  br label %479

403:                                              ; preds = %387
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %404

404:                                              ; preds = %412, %403
  %405 = load i32, ptr %3, align 4, !tbaa !5
  %406 = load i32, ptr %4, align 4, !tbaa !5
  %407 = icmp ule i32 %405, %406
  br i1 %407, label %408, label %415

408:                                              ; preds = %404
  %409 = load i32, ptr %3, align 4, !tbaa !5
  %410 = zext i32 %409 to i64
  %411 = getelementptr inbounds float, ptr %112, i64 %410
  store float 0.000000e+00, ptr %411, align 4, !tbaa !9
  br label %412

412:                                              ; preds = %408
  %413 = load i32, ptr %3, align 4, !tbaa !5
  %414 = add i32 %413, 1
  store i32 %414, ptr %3, align 4, !tbaa !5
  br label %404, !llvm.loop !24

415:                                              ; preds = %404
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %416 = load float, ptr %18, align 4, !tbaa !9
  %417 = fcmp oeq float %416, 0.000000e+00
  br i1 %417, label %418, label %419

418:                                              ; preds = %415
  br label %429

419:                                              ; preds = %415
  %420 = load float, ptr %28, align 4, !tbaa !9
  %421 = fpext float %420 to double
  %422 = call double @llvm.fabs.f64(double %421)
  %423 = load float, ptr %18, align 4, !tbaa !9
  %424 = fpext float %423 to double
  %425 = fdiv double %422, %424
  %426 = fadd double 1.000000e+00, %425
  %427 = fmul double 5.000000e-01, %426
  %428 = call double @sqrt(double noundef %427) #7
  br label %429

429:                                              ; preds = %419, %418
  %430 = phi double [ 0.000000e+00, %418 ], [ %428, %419 ]
  %431 = fptrunc double %430 to float
  store float %431, ptr %30, align 4, !tbaa !9
  %432 = load float, ptr %30, align 4, !tbaa !9
  %433 = load i32, ptr %4, align 4, !tbaa !5
  %434 = add i32 %433, 1
  %435 = zext i32 %434 to i64
  %436 = getelementptr inbounds float, ptr %112, i64 %435
  store float %432, ptr %436, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %437 = load float, ptr %18, align 4, !tbaa !9
  %438 = fmul float 2.000000e+00, %437
  %439 = load float, ptr %28, align 4, !tbaa !9
  %440 = fmul float %438, %439
  %441 = fpext float %440 to double
  %442 = load float, ptr %28, align 4, !tbaa !9
  %443 = fpext float %442 to double
  %444 = call double @llvm.fabs.f64(double %443)
  %445 = fdiv double %441, %444
  %446 = load float, ptr %30, align 4, !tbaa !9
  %447 = fpext float %446 to double
  %448 = fmul double %445, %447
  %449 = fdiv double 1.000000e+00, %448
  %450 = fptrunc double %449 to float
  store float %450, ptr %31, align 4, !tbaa !9
  %451 = load float, ptr %31, align 4, !tbaa !9
  %452 = fpext float %451 to double
  %453 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %452)
  %454 = load i32, ptr %4, align 4, !tbaa !5
  %455 = add i32 %454, 2
  store i32 %455, ptr %3, align 4, !tbaa !5
  br label %456

456:                                              ; preds = %475, %429
  %457 = load i32, ptr %3, align 4, !tbaa !5
  %458 = load i32, ptr %6, align 4, !tbaa !5
  %459 = icmp ult i32 %457, %458
  br i1 %459, label %460, label %478

460:                                              ; preds = %456
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  %461 = load i32, ptr %4, align 4, !tbaa !5
  %462 = load i32, ptr %6, align 4, !tbaa !5
  %463 = mul i32 %461, %462
  %464 = load i32, ptr %3, align 4, !tbaa !5
  %465 = add i32 %463, %464
  %466 = zext i32 %465 to i64
  %467 = getelementptr inbounds float, ptr %101, i64 %466
  %468 = load float, ptr %467, align 4, !tbaa !9
  store float %468, ptr %32, align 4, !tbaa !9
  %469 = load float, ptr %31, align 4, !tbaa !9
  %470 = load float, ptr %32, align 4, !tbaa !9
  %471 = fmul float %469, %470
  %472 = load i32, ptr %3, align 4, !tbaa !5
  %473 = zext i32 %472 to i64
  %474 = getelementptr inbounds float, ptr %112, i64 %473
  store float %471, ptr %474, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  br label %475

475:                                              ; preds = %460
  %476 = load i32, ptr %3, align 4, !tbaa !5
  %477 = add i32 %476, 1
  store i32 %477, ptr %3, align 4, !tbaa !5
  br label %456, !llvm.loop !25

478:                                              ; preds = %456
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %479

479:                                              ; preds = %478, %402
  %480 = load i32, ptr %6, align 4, !tbaa !5
  %481 = load i32, ptr %6, align 4, !tbaa !5
  %482 = mul i32 %480, %481
  %483 = zext i32 %482 to i64
  %484 = alloca float, i64 %483, align 16
  store i64 %483, ptr %33, align 8
  %485 = load i32, ptr %6, align 4, !tbaa !5
  %486 = call i32 @matrixf_mul_transpose(ptr noundef %112, i32 noundef %485, i32 noundef 1, ptr noundef %484)
  %487 = load i32, ptr %5, align 4, !tbaa !5
  %488 = load i32, ptr %6, align 4, !tbaa !5
  %489 = mul i32 %487, %488
  %490 = zext i32 %489 to i64
  %491 = alloca float, i64 %490, align 16
  store i64 %490, ptr %34, align 8
  %492 = load i32, ptr %5, align 4, !tbaa !5
  %493 = load i32, ptr %6, align 4, !tbaa !5
  %494 = load i32, ptr %6, align 4, !tbaa !5
  %495 = load i32, ptr %6, align 4, !tbaa !5
  %496 = load i32, ptr %5, align 4, !tbaa !5
  %497 = load i32, ptr %6, align 4, !tbaa !5
  %498 = call i32 @matrixf_mul(ptr noundef %101, i32 noundef %492, i32 noundef %493, ptr noundef %484, i32 noundef %494, i32 noundef %495, ptr noundef %491, i32 noundef %496, i32 noundef %497)
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %499

499:                                              ; preds = %518, %479
  %500 = load i32, ptr %3, align 4, !tbaa !5
  %501 = load i32, ptr %5, align 4, !tbaa !5
  %502 = load i32, ptr %6, align 4, !tbaa !5
  %503 = mul i32 %501, %502
  %504 = icmp ult i32 %500, %503
  br i1 %504, label %505, label %521

505:                                              ; preds = %499
  %506 = load i32, ptr %3, align 4, !tbaa !5
  %507 = zext i32 %506 to i64
  %508 = getelementptr inbounds float, ptr %101, i64 %507
  %509 = load float, ptr %508, align 4, !tbaa !9
  %510 = load i32, ptr %3, align 4, !tbaa !5
  %511 = zext i32 %510 to i64
  %512 = getelementptr inbounds float, ptr %491, i64 %511
  %513 = load float, ptr %512, align 4, !tbaa !9
  %514 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %513, float %509)
  %515 = load i32, ptr %3, align 4, !tbaa !5
  %516 = zext i32 %515 to i64
  %517 = getelementptr inbounds float, ptr %106, i64 %516
  store float %514, ptr %517, align 4, !tbaa !9
  br label %518

518:                                              ; preds = %505
  %519 = load i32, ptr %3, align 4, !tbaa !5
  %520 = add i32 %519, 1
  store i32 %520, ptr %3, align 4, !tbaa !5
  br label %499, !llvm.loop !26

521:                                              ; preds = %499
  %522 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %523 = load i32, ptr %6, align 4, !tbaa !5
  %524 = call i32 @matrixf_print(ptr noundef %112, i32 noundef %523, i32 noundef 1)
  %525 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %526 = load i32, ptr %6, align 4, !tbaa !5
  %527 = load i32, ptr %6, align 4, !tbaa !5
  %528 = call i32 @matrixf_print(ptr noundef %484, i32 noundef %526, i32 noundef %527)
  %529 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  %530 = load i32, ptr %5, align 4, !tbaa !5
  %531 = load i32, ptr %6, align 4, !tbaa !5
  %532 = call i32 @matrixf_print(ptr noundef %491, i32 noundef %530, i32 noundef %531)
  %533 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %534 = load i32, ptr %5, align 4, !tbaa !5
  %535 = load i32, ptr %6, align 4, !tbaa !5
  %536 = call i32 @matrixf_print(ptr noundef %106, i32 noundef %534, i32 noundef %535)
  %537 = load i32, ptr %5, align 4, !tbaa !5
  %538 = load i32, ptr %6, align 4, !tbaa !5
  %539 = mul i32 %537, %538
  %540 = zext i32 %539 to i64
  %541 = mul i64 %540, 4
  call void @llvm.memmove.p0.p0.i64(ptr align 16 %96, ptr align 16 %106, i64 %541, i1 false)
  store i32 0, ptr %29, align 4
  br label %542

542:                                              ; preds = %521, %379
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  %543 = load ptr, ptr %24, align 8
  call void @llvm.stackrestore.p0(ptr %543)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  %544 = load i32, ptr %29, align 4
  switch i32 %544, label %557 [
    i32 0, label %545
    i32 11, label %549
  ]

545:                                              ; preds = %542
  br label %546

546:                                              ; preds = %545
  %547 = load i32, ptr %4, align 4, !tbaa !5
  %548 = add i32 %547, 1
  store i32 %548, ptr %4, align 4, !tbaa !5
  br label %118, !llvm.loop !27

549:                                              ; preds = %542, %118
  %550 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %551 = load i32, ptr %5, align 4, !tbaa !5
  %552 = load i32, ptr %6, align 4, !tbaa !5
  %553 = call i32 @matrixf_print(ptr noundef %96, i32 noundef %551, i32 noundef %552)
  %554 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  %555 = load ptr, ptr %7, align 8
  call void @llvm.stackrestore.p0(ptr %555)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %556 = load i32, ptr %1, align 4
  ret i32 %556

557:                                              ; preds = %542
  unreachable
}

; 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 nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2

declare float @randnf(...) #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) #4

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #5

declare i32 @matrixf_mul_transpose(ptr noundef, i32 noundef, i32 noundef, 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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

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 nosync nounwind willreturn }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 #7 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = !{!22, !22, i64 0}
!22 = !{!"any pointer", !7, i64 0}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !12}


; 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"

@.str = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
.preheader210.preheader:
  %0 = alloca [40 x float], align 16
  %1 = tail call float (...) @randnf() #9
  %2 = tail call float (...) @randnf() #9
  %3 = tail call float (...) @randnf() #9
  %4 = tail call float (...) @randnf() #9
  %5 = tail call float (...) @randnf() #9
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = tail call float (...) @randnf() #9
  %8 = tail call float (...) @randnf() #9
  %9 = tail call float (...) @randnf() #9
  %10 = tail call float (...) @randnf() #9
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  %12 = tail call float (...) @randnf() #9
  %13 = tail call float (...) @randnf() #9
  %14 = tail call float (...) @randnf() #9
  %15 = tail call float (...) @randnf() #9
  %16 = getelementptr inbounds i8, ptr %0, i64 48
  %17 = tail call float (...) @randnf() #9
  %18 = tail call float (...) @randnf() #9
  %19 = tail call float (...) @randnf() #9
  %20 = tail call float (...) @randnf() #9
  %21 = getelementptr inbounds i8, ptr %0, i64 64
  %22 = tail call float (...) @randnf() #9
  %23 = tail call float (...) @randnf() #9
  %24 = tail call float (...) @randnf() #9
  %25 = tail call float (...) @randnf() #9
  %26 = getelementptr inbounds i8, ptr %0, i64 80
  %27 = tail call float (...) @randnf() #9
  %28 = tail call float (...) @randnf() #9
  %29 = tail call float (...) @randnf() #9
  %30 = tail call float (...) @randnf() #9
  %31 = getelementptr inbounds i8, ptr %0, i64 96
  %32 = tail call float (...) @randnf() #9
  %33 = tail call float (...) @randnf() #9
  %34 = tail call float (...) @randnf() #9
  %35 = tail call float (...) @randnf() #9
  %36 = getelementptr inbounds i8, ptr %0, i64 112
  %37 = tail call float (...) @randnf() #9
  %38 = tail call float (...) @randnf() #9
  %39 = tail call float (...) @randnf() #9
  %40 = tail call float (...) @randnf() #9
  %41 = getelementptr inbounds i8, ptr %0, i64 128
  %42 = tail call float (...) @randnf() #9
  %43 = tail call float (...) @randnf() #9
  %44 = tail call float (...) @randnf() #9
  %45 = tail call float (...) @randnf() #9
  %46 = getelementptr inbounds i8, ptr %0, i64 144
  %47 = tail call float (...) @randnf() #9
  %48 = tail call float (...) @randnf() #9
  %49 = tail call float (...) @randnf() #9
  store <4 x float> <float 1.000000e+00, float 5.000000e-01, float 0x3FD5555560000000, float 2.500000e-01>, ptr %0, align 16, !tbaa !5
  store <4 x float> <float 0x3FC99999A0000000, float 5.000000e-01, float 0x3FD5555560000000, float 2.500000e-01>, ptr %6, align 16, !tbaa !5
  store <4 x float> <float 0x3FC99999A0000000, float 0x3FC5555560000000, float 0x3FD5555560000000, float 2.500000e-01>, ptr %11, align 16, !tbaa !5
  store <4 x float> <float 0x3FC99999A0000000, float 0x3FC5555560000000, float 0x3FC24924A0000000, float 2.500000e-01>, ptr %16, align 16, !tbaa !5
  store <4 x float> <float 0x3FC99999A0000000, float 0x3FC5555560000000, float 0x3FC24924A0000000, float 1.250000e-01>, ptr %21, align 16, !tbaa !5
  store <4 x float> <float 0x3FC99999A0000000, float 0x3FC5555560000000, float 0x3FC24924A0000000, float 1.250000e-01>, ptr %26, align 16, !tbaa !5
  store <4 x float> <float 0x3FBC71C720000000, float 0x3FC5555560000000, float 0x3FC24924A0000000, float 1.250000e-01>, ptr %31, align 16, !tbaa !5
  store <4 x float> <float 0x3FBC71C720000000, float 0x3FB99999A0000000, float 0x3FC24924A0000000, float 1.250000e-01>, ptr %36, align 16, !tbaa !5
  store <4 x float> <float 0x3FBC71C720000000, float 0x3FB99999A0000000, float 0x3FB745D180000000, float 1.250000e-01>, ptr %41, align 16, !tbaa !5
  store <4 x float> <float 0x3FBC71C720000000, float 0x3FB99999A0000000, float 0x3FB745D180000000, float 0x3FB5555560000000>, ptr %46, align 16, !tbaa !5
  %50 = call i32 @matrixf_print(ptr noundef nonnull %0, i32 noundef 8, i32 noundef 5) #9
  %51 = alloca [40 x float], align 16
  %52 = alloca [40 x float], align 16
  %53 = alloca [40 x float], align 16
  %54 = alloca [8 x float], align 16
  %55 = alloca [5 x float], align 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(160) %51, ptr noundef nonnull align 16 dereferenceable(160) %0, i64 160, i1 false)
  %56 = getelementptr inbounds i8, ptr %52, i64 16
  %57 = getelementptr inbounds i8, ptr %53, i64 16
  %58 = getelementptr inbounds i8, ptr %52, i64 32
  %59 = getelementptr inbounds i8, ptr %53, i64 32
  %60 = getelementptr inbounds i8, ptr %52, i64 48
  %61 = getelementptr inbounds i8, ptr %53, i64 48
  %62 = getelementptr inbounds i8, ptr %52, i64 64
  %63 = getelementptr inbounds i8, ptr %53, i64 64
  %64 = getelementptr inbounds i8, ptr %52, i64 80
  %65 = getelementptr inbounds i8, ptr %53, i64 80
  %66 = getelementptr inbounds i8, ptr %52, i64 96
  %67 = getelementptr inbounds i8, ptr %53, i64 96
  %68 = getelementptr inbounds i8, ptr %52, i64 112
  %69 = getelementptr inbounds i8, ptr %53, i64 112
  %70 = getelementptr inbounds i8, ptr %52, i64 128
  %71 = getelementptr inbounds i8, ptr %53, i64 128
  %72 = getelementptr inbounds i8, ptr %52, i64 144
  %73 = getelementptr inbounds i8, ptr %53, i64 144
  %74 = getelementptr inbounds i8, ptr %51, i64 16
  %75 = getelementptr inbounds i8, ptr %52, i64 16
  %76 = getelementptr inbounds i8, ptr %51, i64 32
  %77 = getelementptr inbounds i8, ptr %52, i64 32
  %78 = getelementptr inbounds i8, ptr %51, i64 48
  %79 = getelementptr inbounds i8, ptr %52, i64 48
  %80 = getelementptr inbounds i8, ptr %51, i64 64
  %81 = getelementptr inbounds i8, ptr %52, i64 64
  %82 = getelementptr inbounds i8, ptr %51, i64 80
  %83 = getelementptr inbounds i8, ptr %52, i64 80
  %84 = getelementptr inbounds i8, ptr %51, i64 96
  %85 = getelementptr inbounds i8, ptr %52, i64 96
  %86 = getelementptr inbounds i8, ptr %51, i64 112
  %87 = getelementptr inbounds i8, ptr %52, i64 112
  %88 = getelementptr inbounds i8, ptr %51, i64 128
  %89 = getelementptr inbounds i8, ptr %52, i64 128
  %90 = getelementptr inbounds i8, ptr %51, i64 144
  %91 = getelementptr inbounds i8, ptr %52, i64 144
  br label %92

92:                                               ; preds = %.loopexit, %.preheader210.preheader
  %indvars.iv273 = phi i64 [ 2, %.preheader210.preheader ], [ %indvars.iv.next274, %.loopexit ]
  %indvars.iv264 = phi i64 [ 1, %.preheader210.preheader ], [ %indvars.iv.next265, %.loopexit ]
  %indvars.iv = phi i64 [ 0, %.preheader210.preheader ], [ %indvars.iv.next, %.loopexit ]
  %93 = shl nuw nsw i64 %indvars.iv, 2
  %94 = add nuw nsw i64 %93, 4
  %95 = trunc nuw nsw i64 %indvars.iv to i32
  %96 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %95)
  %invariant.gep = getelementptr float, ptr %51, i64 %indvars.iv
  %.idx = mul i64 %indvars.iv, 20
  %gep = getelementptr i8, ptr %invariant.gep, i64 %.idx
  %97 = load float, ptr %gep, align 4, !tbaa !5
  %98 = fpext float %97 to double
  %99 = call double @llvm.fmuladd.f64(double %98, double %98, double 0.000000e+00)
  %100 = fptrunc double %99 to float
  %indvars.iv.next248 = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next248, 8
  br i1 %exitcond.not, label %143, label %101, !llvm.loop !9

101:                                              ; preds = %92
  %.idx.1 = mul i64 %indvars.iv.next248, 20
  %gep.1 = getelementptr i8, ptr %invariant.gep, i64 %.idx.1
  %102 = load float, ptr %gep.1, align 4, !tbaa !5
  %103 = fpext float %102 to double
  %104 = fpext float %100 to double
  %105 = call double @llvm.fmuladd.f64(double %103, double %103, double %104)
  %106 = fptrunc double %105 to float
  %indvars.iv.next248.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next248.1, 8
  br i1 %exitcond.not.1, label %143, label %107, !llvm.loop !9

107:                                              ; preds = %101
  %.idx.2 = mul i64 %indvars.iv.next248.1, 20
  %gep.2 = getelementptr i8, ptr %invariant.gep, i64 %.idx.2
  %108 = load float, ptr %gep.2, align 4, !tbaa !5
  %109 = fpext float %108 to double
  %110 = fpext float %106 to double
  %111 = call double @llvm.fmuladd.f64(double %109, double %109, double %110)
  %112 = fptrunc double %111 to float
  %indvars.iv.next248.2 = add nuw nsw i64 %indvars.iv, 3
  %exitcond.not.2 = icmp eq i64 %indvars.iv.next248.2, 8
  br i1 %exitcond.not.2, label %143, label %113, !llvm.loop !9

113:                                              ; preds = %107
  %.idx.3 = mul i64 %indvars.iv.next248.2, 20
  %gep.3 = getelementptr i8, ptr %invariant.gep, i64 %.idx.3
  %114 = load float, ptr %gep.3, align 4, !tbaa !5
  %115 = fpext float %114 to double
  %116 = fpext float %112 to double
  %117 = call double @llvm.fmuladd.f64(double %115, double %115, double %116)
  %118 = fptrunc double %117 to float
  %indvars.iv.next248.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next248.3, 8
  br i1 %exitcond.not.3, label %143, label %119, !llvm.loop !9

119:                                              ; preds = %113
  %.idx.4 = mul i64 %indvars.iv.next248.3, 20
  %gep.4 = getelementptr i8, ptr %invariant.gep, i64 %.idx.4
  %120 = load float, ptr %gep.4, align 4, !tbaa !5
  %121 = fpext float %120 to double
  %122 = fpext float %118 to double
  %123 = call double @llvm.fmuladd.f64(double %121, double %121, double %122)
  %124 = fptrunc double %123 to float
  %indvars.iv.next248.4 = add nuw nsw i64 %indvars.iv, 5
  %exitcond.not.4 = icmp eq i64 %indvars.iv.next248.4, 8
  br i1 %exitcond.not.4, label %143, label %125, !llvm.loop !9

125:                                              ; preds = %119
  %.idx.5 = mul i64 %indvars.iv.next248.4, 20
  %gep.5 = getelementptr i8, ptr %invariant.gep, i64 %.idx.5
  %126 = load float, ptr %gep.5, align 4, !tbaa !5
  %127 = fpext float %126 to double
  %128 = fpext float %124 to double
  %129 = call double @llvm.fmuladd.f64(double %127, double %127, double %128)
  %130 = fptrunc double %129 to float
  %indvars.iv.next248.5 = add nuw nsw i64 %indvars.iv, 6
  %exitcond.not.5 = icmp eq i64 %indvars.iv.next248.5, 8
  br i1 %exitcond.not.5, label %143, label %131, !llvm.loop !9

131:                                              ; preds = %125
  %.idx.6 = mul i64 %indvars.iv.next248.5, 20
  %gep.6 = getelementptr i8, ptr %invariant.gep, i64 %.idx.6
  %132 = load float, ptr %gep.6, align 4, !tbaa !5
  %133 = fpext float %132 to double
  %134 = fpext float %130 to double
  %135 = call double @llvm.fmuladd.f64(double %133, double %133, double %134)
  %136 = fptrunc double %135 to float
  %indvars.iv.next248.6 = add nuw nsw i64 %indvars.iv, 7
  %exitcond.not.6 = icmp eq i64 %indvars.iv.next248.6, 8
  br i1 %exitcond.not.6, label %143, label %137, !llvm.loop !9

137:                                              ; preds = %131
  %.idx.7 = mul i64 %indvars.iv.next248.6, 20
  %gep.7 = getelementptr i8, ptr %invariant.gep, i64 %.idx.7
  %138 = load float, ptr %gep.7, align 4, !tbaa !5
  %139 = fpext float %138 to double
  %140 = fpext float %136 to double
  %141 = call double @llvm.fmuladd.f64(double %139, double %139, double %140)
  %142 = fptrunc double %141 to float
  br label %143

143:                                              ; preds = %137, %131, %125, %119, %113, %107, %101, %92
  %.lcssa = phi float [ %100, %92 ], [ %106, %101 ], [ %112, %107 ], [ %118, %113 ], [ %124, %119 ], [ %130, %125 ], [ %136, %131 ], [ %142, %137 ]
  %sqrtf = call float @sqrtf(float noundef %.lcssa) #5
  %144 = mul nuw nsw i64 %indvars.iv, 5
  %.idx287 = mul i64 %indvars.iv, 24
  %145 = getelementptr inbounds i8, ptr %51, i64 %.idx287
  %146 = load float, ptr %145, align 8, !tbaa !5
  %147 = fneg float %sqrtf
  %148 = fmul float %146, %147
  %149 = call float @llvm.fabs.f32(float %146)
  %150 = fpext float %149 to double
  %151 = fdiv float %148, %149
  %152 = fpext float %sqrtf to double
  %153 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, double noundef %152)
  %154 = fpext float %151 to double
  %155 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, double noundef %154)
  %156 = fcmp oeq float %sqrtf, 0.000000e+00
  %.not238 = icmp eq i64 %indvars.iv, 0
  br i1 %156, label %.preheader205, label %.preheader208

.preheader208:                                    ; preds = %143
  br i1 %.not238, label %.lr.ph220.preheader, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader208
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %54, i8 0, i64 %93, i1 false), !tbaa !5
  br label %.lr.ph220.preheader

.preheader205:                                    ; preds = %143
  br i1 %.not238, label %.loopexit206, label %.lr.ph222.preheader

.lr.ph222.preheader:                              ; preds = %.preheader205
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %54, i8 0, i64 %93, i1 false), !tbaa !5
  br label %.loopexit206

.lr.ph220.preheader:                              ; preds = %.preheader208, %.lr.ph.preheader
  %157 = fdiv double %150, %152
  %158 = fadd double %157, 1.000000e+00
  %159 = fmul double %158, 5.000000e-01
  %160 = call double @sqrt(double noundef %159) #9
  %161 = fptrunc double %160 to float
  %162 = getelementptr inbounds float, ptr %54, i64 %indvars.iv
  store float %161, ptr %162, align 4, !tbaa !5
  %163 = fmul float %sqrtf, 2.000000e+00
  %164 = fmul float %163, %146
  %165 = fpext float %164 to double
  %166 = fdiv double %165, %150
  %167 = fpext float %161 to double
  %168 = fmul double %166, %167
  %169 = fdiv double 1.000000e+00, %168
  %170 = fptrunc double %169 to float
  %invariant.gep291 = getelementptr float, ptr %51, i64 %indvars.iv
  %indvars.iv.next254 = add nuw nsw i64 %indvars.iv, 1
  %.idx288 = mul i64 %indvars.iv.next254, 20
  %gep292 = getelementptr i8, ptr %invariant.gep291, i64 %.idx288
  %171 = load float, ptr %gep292, align 4, !tbaa !5
  %172 = fmul float %171, %170
  %173 = getelementptr inbounds float, ptr %54, i64 %indvars.iv.next254
  store float %172, ptr %173, align 4, !tbaa !5
  %exitcond256.not = icmp eq i64 %indvars.iv.next254, 7
  br i1 %exitcond256.not, label %.loopexit206, label %.lr.ph220.1, !llvm.loop !11

.lr.ph220.1:                                      ; preds = %.lr.ph220.preheader
  %indvars.iv.next254.1 = add nuw nsw i64 %indvars.iv, 2
  %.idx288.1 = mul i64 %indvars.iv.next254.1, 20
  %gep292.1 = getelementptr i8, ptr %invariant.gep291, i64 %.idx288.1
  %174 = load float, ptr %gep292.1, align 4, !tbaa !5
  %175 = fmul float %174, %170
  %176 = getelementptr inbounds float, ptr %54, i64 %indvars.iv.next254.1
  store float %175, ptr %176, align 4, !tbaa !5
  %exitcond256.not.1 = icmp eq i64 %indvars.iv.next254.1, 7
  br i1 %exitcond256.not.1, label %.loopexit206, label %.lr.ph220.2, !llvm.loop !11

.lr.ph220.2:                                      ; preds = %.lr.ph220.1
  %indvars.iv.next254.2 = add nuw nsw i64 %indvars.iv, 3
  %.idx288.2 = mul i64 %indvars.iv.next254.2, 20
  %gep292.2 = getelementptr i8, ptr %invariant.gep291, i64 %.idx288.2
  %177 = load float, ptr %gep292.2, align 4, !tbaa !5
  %178 = fmul float %177, %170
  %179 = getelementptr inbounds float, ptr %54, i64 %indvars.iv.next254.2
  store float %178, ptr %179, align 4, !tbaa !5
  %exitcond256.not.2 = icmp eq i64 %indvars.iv.next254.2, 7
  br i1 %exitcond256.not.2, label %.loopexit206, label %.lr.ph220.3, !llvm.loop !11

.lr.ph220.3:                                      ; preds = %.lr.ph220.2
  %indvars.iv.next254.3 = add nuw nsw i64 %indvars.iv, 4
  %.idx288.3 = mul i64 %indvars.iv.next254.3, 20
  %gep292.3 = getelementptr i8, ptr %invariant.gep291, i64 %.idx288.3
  %180 = load float, ptr %gep292.3, align 4, !tbaa !5
  %181 = fmul float %180, %170
  %182 = getelementptr inbounds float, ptr %54, i64 %indvars.iv.next254.3
  store float %181, ptr %182, align 4, !tbaa !5
  %exitcond256.not.3 = icmp eq i64 %indvars.iv.next254.3, 7
  br i1 %exitcond256.not.3, label %.loopexit206, label %.lr.ph220.4, !llvm.loop !11

.lr.ph220.4:                                      ; preds = %.lr.ph220.3
  %indvars.iv.next254.4 = add nuw nsw i64 %indvars.iv, 5
  %.idx288.4 = mul i64 %indvars.iv.next254.4, 20
  %gep292.4 = getelementptr i8, ptr %invariant.gep291, i64 %.idx288.4
  %183 = load float, ptr %gep292.4, align 4, !tbaa !5
  %184 = fmul float %183, %170
  %185 = getelementptr inbounds float, ptr %54, i64 %indvars.iv.next254.4
  store float %184, ptr %185, align 4, !tbaa !5
  %exitcond256.not.4 = icmp eq i64 %indvars.iv.next254.4, 7
  br i1 %exitcond256.not.4, label %.loopexit206, label %.lr.ph220.5, !llvm.loop !11

.lr.ph220.5:                                      ; preds = %.lr.ph220.4
  %indvars.iv.next254.5 = add nuw nsw i64 %indvars.iv, 6
  %.idx288.5 = mul i64 %indvars.iv.next254.5, 20
  %gep292.5 = getelementptr i8, ptr %invariant.gep291, i64 %.idx288.5
  %186 = load float, ptr %gep292.5, align 4, !tbaa !5
  %187 = fmul float %186, %170
  %188 = getelementptr inbounds float, ptr %54, i64 %indvars.iv.next254.5
  store float %187, ptr %188, align 4, !tbaa !5
  %exitcond256.not.5 = icmp eq i64 %indvars.iv.next254.5, 7
  br i1 %exitcond256.not.5, label %.loopexit206, label %.lr.ph220.6, !llvm.loop !11

.lr.ph220.6:                                      ; preds = %.lr.ph220.5
  %indvars.iv.next254.6 = add nuw nsw i64 %indvars.iv, 7
  %.idx288.6 = mul i64 %indvars.iv.next254.6, 20
  %gep292.6 = getelementptr i8, ptr %invariant.gep291, i64 %.idx288.6
  %189 = load float, ptr %gep292.6, align 4, !tbaa !5
  %190 = fmul float %189, %170
  %191 = getelementptr inbounds float, ptr %54, i64 %indvars.iv.next254.6
  store float %190, ptr %191, align 4, !tbaa !5
  br label %.loopexit206

.loopexit206:                                     ; preds = %.lr.ph220.preheader, %.lr.ph220.1, %.lr.ph220.2, %.lr.ph220.3, %.lr.ph220.4, %.lr.ph220.5, %.lr.ph220.6, %.lr.ph222.preheader, %.preheader205
  %192 = call ptr @llvm.stacksave.p0()
  %193 = alloca [64 x float], align 16
  %194 = call i32 @matrixf_mul_transpose(ptr noundef nonnull %54, i32 noundef 8, i32 noundef 1, ptr noundef nonnull %193) #9
  %195 = alloca [40 x float], align 16
  %196 = call i32 @matrixf_mul(ptr noundef nonnull %193, i32 noundef 8, i32 noundef 8, ptr noundef nonnull %51, i32 noundef 8, i32 noundef 5, ptr noundef nonnull %195, i32 noundef 8, i32 noundef 5) #9
  %wide.load306 = load <4 x float>, ptr %51, align 16, !tbaa !5
  %197 = fpext <4 x float> %wide.load306 to <4 x double>
  %wide.load307 = load <4 x float>, ptr %195, align 16, !tbaa !5
  %198 = fpext <4 x float> %wide.load307 to <4 x double>
  %199 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %198, <4 x double> <double -2.000000e+00, double -2.000000e+00, double -2.000000e+00, double -2.000000e+00>, <4 x double> %197)
  %200 = fptrunc <4 x double> %199 to <4 x float>
  store <4 x float> %200, ptr %52, align 16, !tbaa !5
  %wide.load306.1 = load <4 x float>, ptr %74, align 16, !tbaa !5
  %201 = fpext <4 x float> %wide.load306.1 to <4 x double>
  %202 = getelementptr inbounds i8, ptr %195, i64 16
  %wide.load307.1 = load <4 x float>, ptr %202, align 16, !tbaa !5
  %203 = fpext <4 x float> %wide.load307.1 to <4 x double>
  %204 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %203, <4 x double> <double -2.000000e+00, double -2.000000e+00, double -2.000000e+00, double -2.000000e+00>, <4 x double> %201)
  %205 = fptrunc <4 x double> %204 to <4 x float>
  store <4 x float> %205, ptr %75, align 16, !tbaa !5
  %wide.load306.2 = load <4 x float>, ptr %76, align 16, !tbaa !5
  %206 = fpext <4 x float> %wide.load306.2 to <4 x double>
  %207 = getelementptr inbounds i8, ptr %195, i64 32
  %wide.load307.2 = load <4 x float>, ptr %207, align 16, !tbaa !5
  %208 = fpext <4 x float> %wide.load307.2 to <4 x double>
  %209 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %208, <4 x double> <double -2.000000e+00, double -2.000000e+00, double -2.000000e+00, double -2.000000e+00>, <4 x double> %206)
  %210 = fptrunc <4 x double> %209 to <4 x float>
  store <4 x float> %210, ptr %77, align 16, !tbaa !5
  %wide.load306.3 = load <4 x float>, ptr %78, align 16, !tbaa !5
  %211 = fpext <4 x float> %wide.load306.3 to <4 x double>
  %212 = getelementptr inbounds i8, ptr %195, i64 48
  %wide.load307.3 = load <4 x float>, ptr %212, align 16, !tbaa !5
  %213 = fpext <4 x float> %wide.load307.3 to <4 x double>
  %214 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %213, <4 x double> <double -2.000000e+00, double -2.000000e+00, double -2.000000e+00, double -2.000000e+00>, <4 x double> %211)
  %215 = fptrunc <4 x double> %214 to <4 x float>
  store <4 x float> %215, ptr %79, align 16, !tbaa !5
  %wide.load306.4 = load <4 x float>, ptr %80, align 16, !tbaa !5
  %216 = fpext <4 x float> %wide.load306.4 to <4 x double>
  %217 = getelementptr inbounds i8, ptr %195, i64 64
  %wide.load307.4 = load <4 x float>, ptr %217, align 16, !tbaa !5
  %218 = fpext <4 x float> %wide.load307.4 to <4 x double>
  %219 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %218, <4 x double> <double -2.000000e+00, double -2.000000e+00, double -2.000000e+00, double -2.000000e+00>, <4 x double> %216)
  %220 = fptrunc <4 x double> %219 to <4 x float>
  store <4 x float> %220, ptr %81, align 16, !tbaa !5
  %wide.load306.5 = load <4 x float>, ptr %82, align 16, !tbaa !5
  %221 = fpext <4 x float> %wide.load306.5 to <4 x double>
  %222 = getelementptr inbounds i8, ptr %195, i64 80
  %wide.load307.5 = load <4 x float>, ptr %222, align 16, !tbaa !5
  %223 = fpext <4 x float> %wide.load307.5 to <4 x double>
  %224 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %223, <4 x double> <double -2.000000e+00, double -2.000000e+00, double -2.000000e+00, double -2.000000e+00>, <4 x double> %221)
  %225 = fptrunc <4 x double> %224 to <4 x float>
  store <4 x float> %225, ptr %83, align 16, !tbaa !5
  %wide.load306.6 = load <4 x float>, ptr %84, align 16, !tbaa !5
  %226 = fpext <4 x float> %wide.load306.6 to <4 x double>
  %227 = getelementptr inbounds i8, ptr %195, i64 96
  %wide.load307.6 = load <4 x float>, ptr %227, align 16, !tbaa !5
  %228 = fpext <4 x float> %wide.load307.6 to <4 x double>
  %229 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %228, <4 x double> <double -2.000000e+00, double -2.000000e+00, double -2.000000e+00, double -2.000000e+00>, <4 x double> %226)
  %230 = fptrunc <4 x double> %229 to <4 x float>
  store <4 x float> %230, ptr %85, align 16, !tbaa !5
  %wide.load306.7 = load <4 x float>, ptr %86, align 16, !tbaa !5
  %231 = fpext <4 x float> %wide.load306.7 to <4 x double>
  %232 = getelementptr inbounds i8, ptr %195, i64 112
  %wide.load307.7 = load <4 x float>, ptr %232, align 16, !tbaa !5
  %233 = fpext <4 x float> %wide.load307.7 to <4 x double>
  %234 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %233, <4 x double> <double -2.000000e+00, double -2.000000e+00, double -2.000000e+00, double -2.000000e+00>, <4 x double> %231)
  %235 = fptrunc <4 x double> %234 to <4 x float>
  store <4 x float> %235, ptr %87, align 16, !tbaa !5
  %wide.load306.8 = load <4 x float>, ptr %88, align 16, !tbaa !5
  %236 = fpext <4 x float> %wide.load306.8 to <4 x double>
  %237 = getelementptr inbounds i8, ptr %195, i64 128
  %wide.load307.8 = load <4 x float>, ptr %237, align 16, !tbaa !5
  %238 = fpext <4 x float> %wide.load307.8 to <4 x double>
  %239 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %238, <4 x double> <double -2.000000e+00, double -2.000000e+00, double -2.000000e+00, double -2.000000e+00>, <4 x double> %236)
  %240 = fptrunc <4 x double> %239 to <4 x float>
  store <4 x float> %240, ptr %89, align 16, !tbaa !5
  %wide.load306.9 = load <4 x float>, ptr %90, align 16, !tbaa !5
  %241 = fpext <4 x float> %wide.load306.9 to <4 x double>
  %242 = getelementptr inbounds i8, ptr %195, i64 144
  %wide.load307.9 = load <4 x float>, ptr %242, align 16, !tbaa !5
  %243 = fpext <4 x float> %wide.load307.9 to <4 x double>
  %244 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %243, <4 x double> <double -2.000000e+00, double -2.000000e+00, double -2.000000e+00, double -2.000000e+00>, <4 x double> %241)
  %245 = fptrunc <4 x double> %244 to <4 x float>
  store <4 x float> %245, ptr %91, align 16, !tbaa !5
  %246 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %247 = call i32 @matrixf_print(ptr noundef nonnull %54, i32 noundef 8, i32 noundef 1) #9
  %248 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %249 = call i32 @matrixf_print(ptr noundef nonnull %52, i32 noundef 8, i32 noundef 5) #9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %250 = icmp ult i64 %indvars.iv, 4
  br i1 %250, label %.lr.ph227.preheader, label %._crit_edge228

.lr.ph227.preheader:                              ; preds = %.loopexit206
  %invariant.gep293 = getelementptr inbounds float, ptr %52, i64 %144
  br label %.lr.ph227

.lr.ph227:                                        ; preds = %.lr.ph227.preheader, %.lr.ph227
  %indvars.iv266 = phi i64 [ %indvars.iv264, %.lr.ph227.preheader ], [ %indvars.iv.next267, %.lr.ph227 ]
  %.0196224 = phi float [ 0.000000e+00, %.lr.ph227.preheader ], [ %255, %.lr.ph227 ]
  %gep294 = getelementptr inbounds float, ptr %invariant.gep293, i64 %indvars.iv266
  %251 = load float, ptr %gep294, align 4, !tbaa !5
  %252 = fpext float %251 to double
  %253 = fpext float %.0196224 to double
  %254 = call double @llvm.fmuladd.f64(double %252, double %252, double %253)
  %255 = fptrunc double %254 to float
  %indvars.iv.next267 = add nuw nsw i64 %indvars.iv266, 1
  %exitcond269.not = icmp eq i64 %indvars.iv.next267, 5
  br i1 %exitcond269.not, label %._crit_edge228, label %.lr.ph227, !llvm.loop !12

._crit_edge228:                                   ; preds = %.lr.ph227, %.loopexit206
  %.0196.lcssa = phi float [ 0.000000e+00, %.loopexit206 ], [ %255, %.lr.ph227 ]
  %sqrtf200 = call float @sqrtf(float noundef %.0196.lcssa) #5
  %256 = getelementptr inbounds float, ptr %52, i64 %144
  %257 = getelementptr inbounds float, ptr %256, i64 %indvars.iv.next
  %258 = load float, ptr %257, align 4, !tbaa !5
  %259 = fneg float %sqrtf200
  %260 = fmul float %258, %259
  %261 = fpext float %260 to double
  %262 = fpext float %258 to double
  %263 = call double @llvm.fabs.f64(double %262)
  %264 = fdiv double %261, %263
  %265 = fptrunc double %264 to float
  %266 = fpext float %sqrtf200 to double
  %267 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %266)
  %268 = fpext float %265 to double
  %269 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, double noundef %268)
  %270 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %262)
  %271 = icmp eq i64 %indvars.iv.next, 5
  br i1 %271, label %.loopexit209, label %272

272:                                              ; preds = %._crit_edge228
  %273 = fcmp oeq float %sqrtf200, 0.000000e+00
  br i1 %273, label %.preheader, label %.preheader204.preheader

.preheader204.preheader:                          ; preds = %272
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) %55, i8 0, i64 %94, i1 false), !tbaa !5
  %274 = fdiv double %263, %266
  %275 = fadd double %274, 1.000000e+00
  %276 = fmul double %275, 5.000000e-01
  %277 = call double @sqrt(double noundef %276) #9
  %278 = fptrunc double %277 to float
  %279 = getelementptr inbounds float, ptr %55, i64 %indvars.iv.next
  store float %278, ptr %279, align 4, !tbaa !5
  %280 = fmul float %sqrtf200, 2.000000e+00
  %281 = fmul float %280, %258
  %282 = fpext float %281 to double
  %283 = fdiv double %282, %263
  %284 = fpext float %278 to double
  %285 = fmul double %283, %284
  %286 = fdiv double 1.000000e+00, %285
  %287 = fptrunc double %286 to float
  %288 = fpext float %287 to double
  %289 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %288)
  %290 = icmp ult i64 %indvars.iv, 3
  br i1 %290, label %.lr.ph232.preheader, label %.loopexit

.preheader:                                       ; preds = %272
  %.not = icmp eq i64 %indvars.iv, 0
  br i1 %.not, label %.loopexit, label %.lr.ph234.preheader

.lr.ph234.preheader:                              ; preds = %.preheader
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %55, i8 0, i64 %93, i1 false), !tbaa !5
  br label %.loopexit

.lr.ph232.preheader:                              ; preds = %.preheader204.preheader
  %invariant.gep295 = getelementptr inbounds float, ptr %52, i64 %144
  br label %.lr.ph232

.lr.ph232:                                        ; preds = %.lr.ph232.preheader, %.lr.ph232
  %indvars.iv275 = phi i64 [ %indvars.iv273, %.lr.ph232.preheader ], [ %indvars.iv.next276, %.lr.ph232 ]
  %gep296 = getelementptr inbounds float, ptr %invariant.gep295, i64 %indvars.iv275
  %291 = load float, ptr %gep296, align 4, !tbaa !5
  %292 = fmul float %291, %287
  %293 = getelementptr inbounds float, ptr %55, i64 %indvars.iv275
  store float %292, ptr %293, align 4, !tbaa !5
  %indvars.iv.next276 = add nuw nsw i64 %indvars.iv275, 1
  %exitcond278.not = icmp eq i64 %indvars.iv.next276, 5
  br i1 %exitcond278.not, label %.loopexit, label %.lr.ph232, !llvm.loop !13

.loopexit:                                        ; preds = %.lr.ph232, %.lr.ph234.preheader, %.preheader204.preheader, %.preheader
  %294 = alloca [25 x float], align 16
  %295 = call i32 @matrixf_mul_transpose(ptr noundef nonnull %55, i32 noundef 5, i32 noundef 1, ptr noundef nonnull %294) #9
  %296 = alloca [40 x float], align 16
  %297 = call i32 @matrixf_mul(ptr noundef nonnull %52, i32 noundef 8, i32 noundef 5, ptr noundef nonnull %294, i32 noundef 5, i32 noundef 5, ptr noundef nonnull %296, i32 noundef 8, i32 noundef 5) #9
  %298 = load <4 x float>, ptr %52, align 16, !tbaa !5
  %299 = load <4 x float>, ptr %296, align 16, !tbaa !5
  %300 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %299, <4 x float> <float -2.000000e+00, float -2.000000e+00, float -2.000000e+00, float -2.000000e+00>, <4 x float> %298)
  store <4 x float> %300, ptr %53, align 16, !tbaa !5
  %301 = getelementptr inbounds i8, ptr %296, i64 16
  %302 = load <4 x float>, ptr %56, align 16, !tbaa !5
  %303 = load <4 x float>, ptr %301, align 16, !tbaa !5
  %304 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %303, <4 x float> <float -2.000000e+00, float -2.000000e+00, float -2.000000e+00, float -2.000000e+00>, <4 x float> %302)
  store <4 x float> %304, ptr %57, align 16, !tbaa !5
  %305 = getelementptr inbounds i8, ptr %296, i64 32
  %306 = load <4 x float>, ptr %58, align 16, !tbaa !5
  %307 = load <4 x float>, ptr %305, align 16, !tbaa !5
  %308 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %307, <4 x float> <float -2.000000e+00, float -2.000000e+00, float -2.000000e+00, float -2.000000e+00>, <4 x float> %306)
  store <4 x float> %308, ptr %59, align 16, !tbaa !5
  %309 = getelementptr inbounds i8, ptr %296, i64 48
  %310 = load <4 x float>, ptr %60, align 16, !tbaa !5
  %311 = load <4 x float>, ptr %309, align 16, !tbaa !5
  %312 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %311, <4 x float> <float -2.000000e+00, float -2.000000e+00, float -2.000000e+00, float -2.000000e+00>, <4 x float> %310)
  store <4 x float> %312, ptr %61, align 16, !tbaa !5
  %313 = getelementptr inbounds i8, ptr %296, i64 64
  %314 = load <4 x float>, ptr %62, align 16, !tbaa !5
  %315 = load <4 x float>, ptr %313, align 16, !tbaa !5
  %316 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %315, <4 x float> <float -2.000000e+00, float -2.000000e+00, float -2.000000e+00, float -2.000000e+00>, <4 x float> %314)
  store <4 x float> %316, ptr %63, align 16, !tbaa !5
  %317 = getelementptr inbounds i8, ptr %296, i64 80
  %318 = load <4 x float>, ptr %64, align 16, !tbaa !5
  %319 = load <4 x float>, ptr %317, align 16, !tbaa !5
  %320 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %319, <4 x float> <float -2.000000e+00, float -2.000000e+00, float -2.000000e+00, float -2.000000e+00>, <4 x float> %318)
  store <4 x float> %320, ptr %65, align 16, !tbaa !5
  %321 = getelementptr inbounds i8, ptr %296, i64 96
  %322 = load <4 x float>, ptr %66, align 16, !tbaa !5
  %323 = load <4 x float>, ptr %321, align 16, !tbaa !5
  %324 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %323, <4 x float> <float -2.000000e+00, float -2.000000e+00, float -2.000000e+00, float -2.000000e+00>, <4 x float> %322)
  store <4 x float> %324, ptr %67, align 16, !tbaa !5
  %325 = getelementptr inbounds i8, ptr %296, i64 112
  %326 = load <4 x float>, ptr %68, align 16, !tbaa !5
  %327 = load <4 x float>, ptr %325, align 16, !tbaa !5
  %328 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %327, <4 x float> <float -2.000000e+00, float -2.000000e+00, float -2.000000e+00, float -2.000000e+00>, <4 x float> %326)
  store <4 x float> %328, ptr %69, align 16, !tbaa !5
  %329 = getelementptr inbounds i8, ptr %296, i64 128
  %330 = load <4 x float>, ptr %70, align 16, !tbaa !5
  %331 = load <4 x float>, ptr %329, align 16, !tbaa !5
  %332 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %331, <4 x float> <float -2.000000e+00, float -2.000000e+00, float -2.000000e+00, float -2.000000e+00>, <4 x float> %330)
  store <4 x float> %332, ptr %71, align 16, !tbaa !5
  %333 = getelementptr inbounds i8, ptr %296, i64 144
  %334 = load <4 x float>, ptr %72, align 16, !tbaa !5
  %335 = load <4 x float>, ptr %333, align 16, !tbaa !5
  %336 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %335, <4 x float> <float -2.000000e+00, float -2.000000e+00, float -2.000000e+00, float -2.000000e+00>, <4 x float> %334)
  store <4 x float> %336, ptr %73, align 16, !tbaa !5
  %337 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %338 = call i32 @matrixf_print(ptr noundef nonnull %55, i32 noundef 5, i32 noundef 1) #9
  %339 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %340 = call i32 @matrixf_print(ptr noundef nonnull %294, i32 noundef 5, i32 noundef 5) #9
  %341 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  %342 = call i32 @matrixf_print(ptr noundef nonnull %296, i32 noundef 8, i32 noundef 5) #9
  %343 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %344 = call i32 @matrixf_print(ptr noundef nonnull %53, i32 noundef 8, i32 noundef 5) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(160) %51, ptr noundef nonnull align 16 dereferenceable(160) %53, i64 160, i1 false)
  call void @llvm.stackrestore.p0(ptr %192)
  %indvars.iv.next265 = add nuw nsw i64 %indvars.iv264, 1
  %indvars.iv.next274 = add nuw nsw i64 %indvars.iv273, 1
  br label %92

.loopexit209:                                     ; preds = %._crit_edge228
  %345 = load ptr, ptr @stderr, align 8, !tbaa !16
  %346 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %345, ptr noundef nonnull @.str.8) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(160) %51, ptr noundef nonnull align 16 dereferenceable(160) %52, i64 160, i1 false)
  call void @llvm.stackrestore.p0(ptr %192)
  %347 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %348 = call i32 @matrixf_print(ptr noundef nonnull %51, i32 noundef 8, i32 noundef 5) #9
  %349 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  ret i32 0
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #1

declare float @randnf(...) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

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

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 #2

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #1

declare float @sqrtf(float) local_unnamed_addr

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #6

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

; 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) #8

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x double> @llvm.fmuladd.v4f64(<4 x double>, <4 x double>, <4 x double>) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #6

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 }
attributes #2 = { "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 #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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { mustprogress nofree nounwind willreturn memory(write) "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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { nounwind }
attributes #10 = { cold 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"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10, !14, !15}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!17, !17, i64 0}
!17 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass