; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/external/KMCode_relja/descriptor/AffineRegion._c46886ba (Z13getEllipseABCffffR6MatrixRf)

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

%class.Matrix = type { ptr, ptr, i32, i32 }

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) #1

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

declare void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) unnamed_addr #1 align 2

declare void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

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

; Function Attrs: nounwind
declare void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

declare void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4fabsf(float noundef) #1

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

declare void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind writable sret(%class.Matrix) align 8, ptr noundef nonnull align 8 dereferenceable(24)) #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z13getEllipseABCffffR6MatrixRf(float noundef %0, float noundef %1, float noundef %2, float noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %5) #5 personality ptr @__gxx_personality_v0 {
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %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 float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca i32, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca %class.Matrix, align 8
  %34 = alloca %class.Matrix, align 8
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca %class.Matrix, align 8
  %38 = alloca %class.Matrix, align 8
  %39 = alloca %class.Matrix, align 8
  %40 = alloca %class.Matrix, align 8
  store float %0, ptr %8, align 4, !tbaa !5
  store float %1, ptr %9, align 4, !tbaa !5
  store float %2, ptr %10, align 4, !tbaa !5
  store float %3, ptr %11, align 4, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %41 = load float, ptr %11, align 4, !tbaa !5
  %42 = load float, ptr %11, align 4, !tbaa !5
  %43 = fmul float %41, %42
  %44 = fpext float %43 to double
  %45 = fdiv double 1.000000e+00, %44
  %46 = fptrunc double %45 to float
  store float %46, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store float 0.000000e+00, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store float 0.000000e+00, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store float 0.000000e+00, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %47 = load float, ptr %8, align 4, !tbaa !5
  %48 = fcmp une float %47, 0.000000e+00
  br i1 %48, label %49, label %230

49:                                               ; preds = %6
  %50 = load float, ptr %9, align 4, !tbaa !5
  %51 = fcmp une float %50, 0.000000e+00
  br i1 %51, label %52, label %230

52:                                               ; preds = %49
  %53 = load float, ptr %8, align 4, !tbaa !5
  %54 = load float, ptr %8, align 4, !tbaa !5
  %55 = fmul float %53, %54
  %56 = fpext float %55 to double
  %57 = fdiv double 1.000000e+00, %56
  %58 = fptrunc double %57 to float
  store float %58, ptr %15, align 4, !tbaa !5
  %59 = load float, ptr %9, align 4, !tbaa !5
  %60 = fpext float %59 to double
  %61 = fmul double 2.000000e+00, %60
  %62 = load float, ptr %8, align 4, !tbaa !5
  %63 = fpext float %62 to double
  %64 = fdiv double %61, %63
  %65 = fptrunc double %64 to float
  store float %65, ptr %16, align 4, !tbaa !5
  %66 = load float, ptr %9, align 4, !tbaa !5
  %67 = load float, ptr %9, align 4, !tbaa !5
  %68 = fmul float %66, %67
  %69 = load float, ptr %8, align 4, !tbaa !5
  %70 = load float, ptr %8, align 4, !tbaa !5
  %71 = fmul float %69, %70
  %72 = fdiv float %68, %71
  store float %72, ptr %17, align 4, !tbaa !5
  %73 = load float, ptr %9, align 4, !tbaa !5
  %74 = load float, ptr %10, align 4, !tbaa !5
  %75 = load float, ptr %8, align 4, !tbaa !5
  %76 = load float, ptr %17, align 4, !tbaa !5
  %77 = fmul float %75, %76
  %78 = fneg float %77
  %79 = call float @llvm.fmuladd.f32(float %73, float %74, float %78)
  store float %79, ptr %18, align 4, !tbaa !5
  %80 = load float, ptr %10, align 4, !tbaa !5
  %81 = load float, ptr %8, align 4, !tbaa !5
  %82 = load float, ptr %9, align 4, !tbaa !5
  %83 = call float @llvm.fmuladd.f32(float %80, float %81, float %82)
  %84 = load float, ptr %8, align 4, !tbaa !5
  %85 = load float, ptr %16, align 4, !tbaa !5
  %86 = fneg float %84
  %87 = call float @llvm.fmuladd.f32(float %86, float %85, float %83)
  %88 = load float, ptr %18, align 4, !tbaa !5
  %89 = fdiv float %87, %88
  store float %89, ptr %19, align 4, !tbaa !5
  %90 = load float, ptr %15, align 4, !tbaa !5
  %91 = load float, ptr %8, align 4, !tbaa !5
  %92 = fmul float %90, %91
  %93 = load float, ptr %18, align 4, !tbaa !5
  %94 = fdiv float %92, %93
  store float %94, ptr %20, align 4, !tbaa !5
  %95 = load float, ptr %16, align 4, !tbaa !5
  %96 = load float, ptr %19, align 4, !tbaa !5
  %97 = load float, ptr %17, align 4, !tbaa !5
  %98 = load float, ptr %19, align 4, !tbaa !5
  %99 = fmul float %97, %98
  %100 = load float, ptr %19, align 4, !tbaa !5
  %101 = fmul float %99, %100
  %102 = fneg float %101
  %103 = call float @llvm.fmuladd.f32(float %95, float %96, float %102)
  %104 = fsub float %103, 1.000000e+00
  store float %104, ptr %22, align 4, !tbaa !5
  %105 = load float, ptr %16, align 4, !tbaa !5
  %106 = load float, ptr %20, align 4, !tbaa !5
  %107 = load float, ptr %15, align 4, !tbaa !5
  %108 = load float, ptr %19, align 4, !tbaa !5
  %109 = fmul float %107, %108
  %110 = fneg float %109
  %111 = call float @llvm.fmuladd.f32(float %105, float %106, float %110)
  %112 = load float, ptr %14, align 4, !tbaa !5
  %113 = load float, ptr %19, align 4, !tbaa !5
  %114 = call float @llvm.fmuladd.f32(float %112, float %113, float %111)
  %115 = load float, ptr %14, align 4, !tbaa !5
  %116 = load float, ptr %17, align 4, !tbaa !5
  %117 = fmul float %115, %116
  %118 = load float, ptr %19, align 4, !tbaa !5
  %119 = fneg float %117
  %120 = call float @llvm.fmuladd.f32(float %119, float %118, float %114)
  %121 = load float, ptr %14, align 4, !tbaa !5
  %122 = load float, ptr %16, align 4, !tbaa !5
  %123 = call float @llvm.fmuladd.f32(float %121, float %122, float %120)
  %124 = load float, ptr %17, align 4, !tbaa !5
  %125 = fmul float 2.000000e+00, %124
  %126 = load float, ptr %19, align 4, !tbaa !5
  %127 = fmul float %125, %126
  %128 = load float, ptr %20, align 4, !tbaa !5
  %129 = fneg float %127
  %130 = call float @llvm.fmuladd.f32(float %129, float %128, float %123)
  store float %130, ptr %23, align 4, !tbaa !5
  %131 = load float, ptr %14, align 4, !tbaa !5
  %132 = load float, ptr %14, align 4, !tbaa !5
  %133 = load float, ptr %14, align 4, !tbaa !5
  %134 = load float, ptr %15, align 4, !tbaa !5
  %135 = fmul float %133, %134
  %136 = fneg float %135
  %137 = call float @llvm.fmuladd.f32(float %131, float %132, float %136)
  %138 = load float, ptr %14, align 4, !tbaa !5
  %139 = load float, ptr %17, align 4, !tbaa !5
  %140 = fmul float %138, %139
  %141 = load float, ptr %20, align 4, !tbaa !5
  %142 = fneg float %140
  %143 = call float @llvm.fmuladd.f32(float %142, float %141, float %137)
  %144 = load float, ptr %14, align 4, !tbaa !5
  %145 = load float, ptr %20, align 4, !tbaa !5
  %146 = call float @llvm.fmuladd.f32(float %144, float %145, float %143)
  %147 = load float, ptr %15, align 4, !tbaa !5
  %148 = load float, ptr %20, align 4, !tbaa !5
  %149 = fneg float %147
  %150 = call float @llvm.fmuladd.f32(float %149, float %148, float %146)
  %151 = load float, ptr %17, align 4, !tbaa !5
  %152 = load float, ptr %20, align 4, !tbaa !5
  %153 = fmul float %151, %152
  %154 = load float, ptr %20, align 4, !tbaa !5
  %155 = fneg float %153
  %156 = call float @llvm.fmuladd.f32(float %155, float %154, float %150)
  store float %156, ptr %21, align 4, !tbaa !5
  %157 = load float, ptr %22, align 4, !tbaa !5
  %158 = call noundef float @_ZSt4fabsf(float noundef %157)
  %159 = fpext float %158 to double
  %160 = fcmp olt double %159, 1.000000e-05
  br i1 %160, label %161, label %169

161:                                              ; preds = %52
  %162 = load float, ptr %23, align 4, !tbaa !5
  %163 = fcmp une float %162, 0.000000e+00
  br i1 %163, label %164, label %169

164:                                              ; preds = %161
  %165 = load float, ptr %21, align 4, !tbaa !5
  %166 = fneg float %165
  %167 = load float, ptr %23, align 4, !tbaa !5
  %168 = fdiv float %166, %167
  store float %168, ptr %26, align 4, !tbaa !5
  br label %199

169:                                              ; preds = %161, %52
  %170 = load float, ptr %23, align 4, !tbaa !5
  %171 = load float, ptr %23, align 4, !tbaa !5
  %172 = load float, ptr %22, align 4, !tbaa !5
  %173 = fmul float 4.000000e+00, %172
  %174 = load float, ptr %21, align 4, !tbaa !5
  %175 = fmul float %173, %174
  %176 = fneg float %175
  %177 = call float @llvm.fmuladd.f32(float %170, float %171, float %176)
  %178 = call noundef float @_ZSt4sqrtf(float noundef %177)
  %179 = load float, ptr %23, align 4, !tbaa !5
  %180 = fsub float %178, %179
  %181 = load float, ptr %22, align 4, !tbaa !5
  %182 = fmul float 2.000000e+00, %181
  %183 = fdiv float %180, %182
  store float %183, ptr %26, align 4, !tbaa !5
  %184 = load float, ptr %23, align 4, !tbaa !5
  %185 = load float, ptr %23, align 4, !tbaa !5
  %186 = load float, ptr %22, align 4, !tbaa !5
  %187 = fmul float 4.000000e+00, %186
  %188 = load float, ptr %21, align 4, !tbaa !5
  %189 = fmul float %187, %188
  %190 = fneg float %189
  %191 = call float @llvm.fmuladd.f32(float %184, float %185, float %190)
  %192 = call noundef float @_ZSt4sqrtf(float noundef %191)
  %193 = fneg float %192
  %194 = load float, ptr %23, align 4, !tbaa !5
  %195 = fsub float %193, %194
  %196 = load float, ptr %22, align 4, !tbaa !5
  %197 = fmul float 2.000000e+00, %196
  %198 = fdiv float %195, %197
  store float %198, ptr %29, align 4, !tbaa !5
  br label %199

199:                                              ; preds = %169, %164
  %200 = load float, ptr %26, align 4, !tbaa !5
  %201 = fneg float %200
  %202 = load float, ptr %19, align 4, !tbaa !5
  %203 = load float, ptr %20, align 4, !tbaa !5
  %204 = fneg float %203
  %205 = call float @llvm.fmuladd.f32(float %201, float %202, float %204)
  store float %205, ptr %25, align 4, !tbaa !5
  %206 = load float, ptr %29, align 4, !tbaa !5
  %207 = fneg float %206
  %208 = load float, ptr %19, align 4, !tbaa !5
  %209 = load float, ptr %20, align 4, !tbaa !5
  %210 = fneg float %209
  %211 = call float @llvm.fmuladd.f32(float %207, float %208, float %210)
  store float %211, ptr %28, align 4, !tbaa !5
  %212 = load float, ptr %15, align 4, !tbaa !5
  %213 = load float, ptr %16, align 4, !tbaa !5
  %214 = load float, ptr %26, align 4, !tbaa !5
  %215 = fneg float %213
  %216 = call float @llvm.fmuladd.f32(float %215, float %214, float %212)
  %217 = load float, ptr %17, align 4, !tbaa !5
  %218 = load float, ptr %25, align 4, !tbaa !5
  %219 = fneg float %217
  %220 = call float @llvm.fmuladd.f32(float %219, float %218, float %216)
  store float %220, ptr %24, align 4, !tbaa !5
  %221 = load float, ptr %15, align 4, !tbaa !5
  %222 = load float, ptr %16, align 4, !tbaa !5
  %223 = load float, ptr %29, align 4, !tbaa !5
  %224 = fneg float %222
  %225 = call float @llvm.fmuladd.f32(float %224, float %223, float %221)
  %226 = load float, ptr %17, align 4, !tbaa !5
  %227 = load float, ptr %28, align 4, !tbaa !5
  %228 = fneg float %226
  %229 = call float @llvm.fmuladd.f32(float %228, float %227, float %225)
  store float %229, ptr %27, align 4, !tbaa !5
  br label %285

230:                                              ; preds = %49, %6
  %231 = load float, ptr %8, align 4, !tbaa !5
  %232 = fcmp oeq float %231, 0.000000e+00
  br i1 %232, label %233, label %256

233:                                              ; preds = %230
  %234 = load float, ptr %9, align 4, !tbaa !5
  %235 = load float, ptr %9, align 4, !tbaa !5
  %236 = fmul float %234, %235
  %237 = fdiv float 1.000000e+00, %236
  store float %237, ptr %25, align 4, !tbaa !5
  %238 = load float, ptr %10, align 4, !tbaa !5
  %239 = fneg float %238
  %240 = load float, ptr %25, align 4, !tbaa !5
  %241 = fmul float %239, %240
  store float %241, ptr %26, align 4, !tbaa !5
  %242 = load float, ptr %26, align 4, !tbaa !5
  %243 = load float, ptr %26, align 4, !tbaa !5
  %244 = load float, ptr %14, align 4, !tbaa !5
  %245 = load float, ptr %14, align 4, !tbaa !5
  %246 = fmul float %244, %245
  %247 = fneg float %246
  %248 = call float @llvm.fmuladd.f32(float %242, float %243, float %247)
  %249 = load float, ptr %25, align 4, !tbaa !5
  %250 = load float, ptr %14, align 4, !tbaa !5
  %251 = call float @llvm.fmuladd.f32(float %249, float %250, float %248)
  %252 = load float, ptr %25, align 4, !tbaa !5
  %253 = load float, ptr %14, align 4, !tbaa !5
  %254 = fsub float %252, %253
  %255 = fdiv float %251, %254
  store float %255, ptr %24, align 4, !tbaa !5
  br label %284

256:                                              ; preds = %230
  %257 = load float, ptr %9, align 4, !tbaa !5
  %258 = fcmp oeq float %257, 0.000000e+00
  br i1 %258, label %259, label %282

259:                                              ; preds = %256
  %260 = load float, ptr %8, align 4, !tbaa !5
  %261 = load float, ptr %8, align 4, !tbaa !5
  %262 = fmul float %260, %261
  %263 = fdiv float 1.000000e+00, %262
  store float %263, ptr %24, align 4, !tbaa !5
  %264 = load float, ptr %24, align 4, !tbaa !5
  %265 = fneg float %264
  %266 = load float, ptr %10, align 4, !tbaa !5
  %267 = fdiv float %265, %266
  store float %267, ptr %26, align 4, !tbaa !5
  %268 = load float, ptr %26, align 4, !tbaa !5
  %269 = load float, ptr %26, align 4, !tbaa !5
  %270 = load float, ptr %14, align 4, !tbaa !5
  %271 = load float, ptr %14, align 4, !tbaa !5
  %272 = fmul float %270, %271
  %273 = fneg float %272
  %274 = call float @llvm.fmuladd.f32(float %268, float %269, float %273)
  %275 = load float, ptr %24, align 4, !tbaa !5
  %276 = load float, ptr %14, align 4, !tbaa !5
  %277 = call float @llvm.fmuladd.f32(float %275, float %276, float %274)
  %278 = load float, ptr %24, align 4, !tbaa !5
  %279 = load float, ptr %14, align 4, !tbaa !5
  %280 = fsub float %278, %279
  %281 = fdiv float %277, %280
  store float %281, ptr %25, align 4, !tbaa !5
  br label %283

282:                                              ; preds = %256
  store i32 0, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %482

283:                                              ; preds = %259
  br label %284

284:                                              ; preds = %283, %233
  br label %285

285:                                              ; preds = %284, %199
  %286 = load float, ptr %24, align 4, !tbaa !5
  %287 = call noundef float @_ZSt4fabsf(float noundef %286)
  %288 = fcmp olt float %287, 1.000000e+00
  br i1 %288, label %289, label %318

289:                                              ; preds = %285
  %290 = load float, ptr %24, align 4, !tbaa !5
  %291 = fpext float %290 to double
  %292 = load ptr, ptr %12, align 8, !tbaa !9
  %293 = load ptr, ptr %292, align 8, !tbaa !11
  %294 = getelementptr inbounds ptr, ptr %293, i64 6
  %295 = load ptr, ptr %294, align 8
  %296 = call noundef nonnull align 8 dereferenceable(8) ptr %295(ptr noundef nonnull align 8 dereferenceable(24) %292, i32 noundef 1, i32 noundef 1)
  store double %291, ptr %296, align 8, !tbaa !13
  %297 = load float, ptr %26, align 4, !tbaa !5
  %298 = fpext float %297 to double
  %299 = load ptr, ptr %12, align 8, !tbaa !9
  %300 = load ptr, ptr %299, align 8, !tbaa !11
  %301 = getelementptr inbounds ptr, ptr %300, i64 6
  %302 = load ptr, ptr %301, align 8
  %303 = call noundef nonnull align 8 dereferenceable(8) ptr %302(ptr noundef nonnull align 8 dereferenceable(24) %299, i32 noundef 1, i32 noundef 2)
  store double %298, ptr %303, align 8, !tbaa !13
  %304 = load float, ptr %26, align 4, !tbaa !5
  %305 = fpext float %304 to double
  %306 = load ptr, ptr %12, align 8, !tbaa !9
  %307 = load ptr, ptr %306, align 8, !tbaa !11
  %308 = getelementptr inbounds ptr, ptr %307, i64 6
  %309 = load ptr, ptr %308, align 8
  %310 = call noundef nonnull align 8 dereferenceable(8) ptr %309(ptr noundef nonnull align 8 dereferenceable(24) %306, i32 noundef 2, i32 noundef 1)
  store double %305, ptr %310, align 8, !tbaa !13
  %311 = load float, ptr %25, align 4, !tbaa !5
  %312 = fpext float %311 to double
  %313 = load ptr, ptr %12, align 8, !tbaa !9
  %314 = load ptr, ptr %313, align 8, !tbaa !11
  %315 = getelementptr inbounds ptr, ptr %314, i64 6
  %316 = load ptr, ptr %315, align 8
  %317 = call noundef nonnull align 8 dereferenceable(8) ptr %316(ptr noundef nonnull align 8 dereferenceable(24) %313, i32 noundef 2, i32 noundef 2)
  store double %312, ptr %317, align 8, !tbaa !13
  br label %347

318:                                              ; preds = %285
  %319 = load float, ptr %27, align 4, !tbaa !5
  %320 = fpext float %319 to double
  %321 = load ptr, ptr %12, align 8, !tbaa !9
  %322 = load ptr, ptr %321, align 8, !tbaa !11
  %323 = getelementptr inbounds ptr, ptr %322, i64 6
  %324 = load ptr, ptr %323, align 8
  %325 = call noundef nonnull align 8 dereferenceable(8) ptr %324(ptr noundef nonnull align 8 dereferenceable(24) %321, i32 noundef 1, i32 noundef 1)
  store double %320, ptr %325, align 8, !tbaa !13
  %326 = load float, ptr %29, align 4, !tbaa !5
  %327 = fpext float %326 to double
  %328 = load ptr, ptr %12, align 8, !tbaa !9
  %329 = load ptr, ptr %328, align 8, !tbaa !11
  %330 = getelementptr inbounds ptr, ptr %329, i64 6
  %331 = load ptr, ptr %330, align 8
  %332 = call noundef nonnull align 8 dereferenceable(8) ptr %331(ptr noundef nonnull align 8 dereferenceable(24) %328, i32 noundef 1, i32 noundef 2)
  store double %327, ptr %332, align 8, !tbaa !13
  %333 = load float, ptr %29, align 4, !tbaa !5
  %334 = fpext float %333 to double
  %335 = load ptr, ptr %12, align 8, !tbaa !9
  %336 = load ptr, ptr %335, align 8, !tbaa !11
  %337 = getelementptr inbounds ptr, ptr %336, i64 6
  %338 = load ptr, ptr %337, align 8
  %339 = call noundef nonnull align 8 dereferenceable(8) ptr %338(ptr noundef nonnull align 8 dereferenceable(24) %335, i32 noundef 2, i32 noundef 1)
  store double %334, ptr %339, align 8, !tbaa !13
  %340 = load float, ptr %28, align 4, !tbaa !5
  %341 = fpext float %340 to double
  %342 = load ptr, ptr %12, align 8, !tbaa !9
  %343 = load ptr, ptr %342, align 8, !tbaa !11
  %344 = getelementptr inbounds ptr, ptr %343, i64 6
  %345 = load ptr, ptr %344, align 8
  %346 = call noundef nonnull align 8 dereferenceable(8) ptr %345(ptr noundef nonnull align 8 dereferenceable(24) %342, i32 noundef 2, i32 noundef 2)
  store double %341, ptr %346, align 8, !tbaa !13
  br label %347

347:                                              ; preds = %318, %289
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %348 = load ptr, ptr %12, align 8, !tbaa !9
  %349 = load ptr, ptr %348, align 8, !tbaa !11
  %350 = getelementptr inbounds ptr, ptr %349, i64 6
  %351 = load ptr, ptr %350, align 8
  %352 = call noundef nonnull align 8 dereferenceable(8) ptr %351(ptr noundef nonnull align 8 dereferenceable(24) %348, i32 noundef 1, i32 noundef 1)
  %353 = load double, ptr %352, align 8, !tbaa !13
  %354 = load ptr, ptr %12, align 8, !tbaa !9
  %355 = load ptr, ptr %354, align 8, !tbaa !11
  %356 = getelementptr inbounds ptr, ptr %355, i64 6
  %357 = load ptr, ptr %356, align 8
  %358 = call noundef nonnull align 8 dereferenceable(8) ptr %357(ptr noundef nonnull align 8 dereferenceable(24) %354, i32 noundef 2, i32 noundef 2)
  %359 = load double, ptr %358, align 8, !tbaa !13
  %360 = load ptr, ptr %12, align 8, !tbaa !9
  %361 = load ptr, ptr %360, align 8, !tbaa !11
  %362 = getelementptr inbounds ptr, ptr %361, i64 6
  %363 = load ptr, ptr %362, align 8
  %364 = call noundef nonnull align 8 dereferenceable(8) ptr %363(ptr noundef nonnull align 8 dereferenceable(24) %360, i32 noundef 1, i32 noundef 2)
  %365 = load double, ptr %364, align 8, !tbaa !13
  %366 = load ptr, ptr %12, align 8, !tbaa !9
  %367 = load ptr, ptr %366, align 8, !tbaa !11
  %368 = getelementptr inbounds ptr, ptr %367, i64 6
  %369 = load ptr, ptr %368, align 8
  %370 = call noundef nonnull align 8 dereferenceable(8) ptr %369(ptr noundef nonnull align 8 dereferenceable(24) %366, i32 noundef 2, i32 noundef 1)
  %371 = load double, ptr %370, align 8, !tbaa !13
  %372 = fmul double %365, %371
  %373 = fneg double %372
  %374 = call double @llvm.fmuladd.f64(double %353, double %359, double %373)
  %375 = call double @llvm.fabs.f64(double %374)
  %376 = load float, ptr %14, align 4, !tbaa !5
  %377 = fpext float %376 to double
  %378 = fdiv double %375, %377
  %379 = fptrunc double %378 to float
  store float %379, ptr %31, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %380 = load float, ptr %31, align 4, !tbaa !5
  %381 = load float, ptr %14, align 4, !tbaa !5
  %382 = fdiv float %380, %381
  %383 = call noundef float @_ZSt4sqrtf(float noundef %382)
  store float %383, ptr %32, align 4, !tbaa !5
  %384 = load float, ptr %32, align 4, !tbaa !5
  %385 = fcmp ogt float %384, 1.000000e+00
  br i1 %385, label %386, label %389

386:                                              ; preds = %347
  %387 = load float, ptr %32, align 4, !tbaa !5
  %388 = fdiv float 1.000000e+00, %387
  store float %388, ptr %32, align 4, !tbaa !5
  br label %389

389:                                              ; preds = %386, %347
  %390 = load float, ptr %32, align 4, !tbaa !5
  %391 = fpext float %390 to double
  %392 = fcmp olt double %391, 3.000000e-01
  br i1 %392, label %393, label %394

393:                                              ; preds = %389
  store i32 0, ptr %7, align 4
  store i32 1, ptr %30, align 4
  br label %481

394:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #6
  call void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %33)
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #6
  invoke void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %395 unwind label %447

395:                                              ; preds = %394
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #6
  invoke void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %37)
          to label %396 unwind label %451

396:                                              ; preds = %395
  %397 = load ptr, ptr %12, align 8, !tbaa !9
  invoke void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24) %397, ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %398 unwind label %455

398:                                              ; preds = %396
  %399 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef 1, i32 noundef 1)
          to label %400 unwind label %455

400:                                              ; preds = %398
  %401 = load double, ptr %399, align 8, !tbaa !13
  %402 = call double @sqrt(double noundef %401) #6
  %403 = fdiv double 1.000000e+00, %402
  %404 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef 1, i32 noundef 1)
          to label %405 unwind label %455

405:                                              ; preds = %400
  store double %403, ptr %404, align 8, !tbaa !13
  %406 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef 2, i32 noundef 2)
          to label %407 unwind label %455

407:                                              ; preds = %405
  %408 = load double, ptr %406, align 8, !tbaa !13
  %409 = call double @sqrt(double noundef %408) #6
  %410 = fdiv double 1.000000e+00, %409
  %411 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef 2, i32 noundef 2)
          to label %412 unwind label %455

412:                                              ; preds = %407
  store double %410, ptr %411, align 8, !tbaa !13
  %413 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef 1, i32 noundef 1)
          to label %414 unwind label %455

414:                                              ; preds = %412
  %415 = load double, ptr %413, align 8, !tbaa !13
  %416 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef 2, i32 noundef 2)
          to label %417 unwind label %455

417:                                              ; preds = %414
  %418 = load double, ptr %416, align 8, !tbaa !13
  %419 = fmul double %415, %418
  %420 = call double @sqrt(double noundef %419) #6
  %421 = fptrunc double %420 to float
  %422 = load ptr, ptr %13, align 8, !tbaa !9
  store float %421, ptr %422, align 4, !tbaa !5
  %423 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef 1, i32 noundef 1)
          to label %424 unwind label %455

424:                                              ; preds = %417
  %425 = load double, ptr %423, align 8, !tbaa !13
  %426 = load ptr, ptr %13, align 8, !tbaa !9
  %427 = load float, ptr %426, align 4, !tbaa !5
  %428 = fpext float %427 to double
  %429 = fdiv double %425, %428
  %430 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef 1, i32 noundef 1)
          to label %431 unwind label %455

431:                                              ; preds = %424
  store double %429, ptr %430, align 8, !tbaa !13
  %432 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef 2, i32 noundef 2)
          to label %433 unwind label %455

433:                                              ; preds = %431
  %434 = load double, ptr %432, align 8, !tbaa !13
  %435 = load ptr, ptr %13, align 8, !tbaa !9
  %436 = load float, ptr %435, align 4, !tbaa !5
  %437 = fpext float %436 to double
  %438 = fdiv double %434, %437
  %439 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef 2, i32 noundef 2)
          to label %440 unwind label %455

440:                                              ; preds = %433
  store double %438, ptr %439, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #6
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %39, ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %37)
          to label %441 unwind label %459

441:                                              ; preds = %440
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #6
  invoke void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %40, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %442 unwind label %463

442:                                              ; preds = %441
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %38, ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %40)
          to label %443 unwind label %467

443:                                              ; preds = %442
  %444 = load ptr, ptr %12, align 8, !tbaa !9
  %445 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %444, ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %446 unwind label %471

446:                                              ; preds = %443
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #6
  store i32 1, ptr %7, align 4
  store i32 1, ptr %30, align 4
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #6
  br label %481

447:                                              ; preds = %394
  %448 = landingpad { ptr, i32 }
          cleanup
  %449 = extractvalue { ptr, i32 } %448, 0
  store ptr %449, ptr %35, align 8
  %450 = extractvalue { ptr, i32 } %448, 1
  store i32 %450, ptr %36, align 4
  br label %480

451:                                              ; preds = %395
  %452 = landingpad { ptr, i32 }
          cleanup
  %453 = extractvalue { ptr, i32 } %452, 0
  store ptr %453, ptr %35, align 8
  %454 = extractvalue { ptr, i32 } %452, 1
  store i32 %454, ptr %36, align 4
  br label %479

455:                                              ; preds = %433, %431, %424, %417, %414, %412, %407, %405, %400, %398, %396
  %456 = landingpad { ptr, i32 }
          cleanup
  %457 = extractvalue { ptr, i32 } %456, 0
  store ptr %457, ptr %35, align 8
  %458 = extractvalue { ptr, i32 } %456, 1
  store i32 %458, ptr %36, align 4
  br label %478

459:                                              ; preds = %440
  %460 = landingpad { ptr, i32 }
          cleanup
  %461 = extractvalue { ptr, i32 } %460, 0
  store ptr %461, ptr %35, align 8
  %462 = extractvalue { ptr, i32 } %460, 1
  store i32 %462, ptr %36, align 4
  br label %477

463:                                              ; preds = %441
  %464 = landingpad { ptr, i32 }
          cleanup
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %35, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %36, align 4
  br label %476

467:                                              ; preds = %442
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %35, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %36, align 4
  br label %475

471:                                              ; preds = %443
  %472 = landingpad { ptr, i32 }
          cleanup
  %473 = extractvalue { ptr, i32 } %472, 0
  store ptr %473, ptr %35, align 8
  %474 = extractvalue { ptr, i32 } %472, 1
  store i32 %474, ptr %36, align 4
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  br label %475

475:                                              ; preds = %471, %467
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  br label %476

476:                                              ; preds = %475, %463
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  br label %477

477:                                              ; preds = %476, %459
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #6
  br label %478

478:                                              ; preds = %477, %455
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  br label %479

479:                                              ; preds = %478, %451
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  br label %480

480:                                              ; preds = %479, %447
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %484

481:                                              ; preds = %446, %393
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br label %482

482:                                              ; preds = %481, %282
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  %483 = load i32, ptr %7, align 4
  ret i32 %483

484:                                              ; preds = %480
  %485 = load ptr, ptr %35, align 8
  %486 = load i32, ptr %36, align 4
  %487 = insertvalue { ptr, i32 } poison, ptr %485, 0
  %488 = insertvalue { ptr, i32 } %487, i32 %486, 1
  resume { ptr, i32 } %488
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { mustprogress 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 #6 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}


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

%class.Matrix = type { ptr, ptr, i32, i32 }

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) local_unnamed_addr #1

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

declare void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) unnamed_addr #1 align 2

declare void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

; Function Attrs: nounwind
declare void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

declare void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4fabsf(float noundef) local_unnamed_addr #1

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

declare void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind writable sret(%class.Matrix) align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_Z13getEllipseABCffffR6MatrixRf(float noundef %0, float noundef %1, float noundef %2, float noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr nocapture noundef nonnull align 4 dereferenceable(4) %5) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %7 = alloca %class.Matrix, align 8
  %8 = alloca %class.Matrix, align 8
  %9 = alloca %class.Matrix, align 8
  %10 = alloca %class.Matrix, align 8
  %11 = alloca %class.Matrix, align 8
  %12 = alloca %class.Matrix, align 8
  %13 = fmul float %3, %3
  %14 = fdiv float 1.000000e+00, %13
  %15 = fcmp une float %0, 0.000000e+00
  %16 = fcmp une float %1, 0.000000e+00
  %or.cond = and i1 %15, %16
  br i1 %or.cond, label %17, label %99

17:                                               ; preds = %6
  %18 = fmul float %0, %0
  %19 = fdiv float 1.000000e+00, %18
  %20 = fpext float %1 to double
  %21 = fmul double %20, 2.000000e+00
  %22 = fpext float %0 to double
  %23 = fdiv double %21, %22
  %24 = fptrunc double %23 to float
  %25 = fmul float %1, %1
  %26 = fdiv float %25, %18
  %27 = fneg float %26
  %28 = fmul float %27, %0
  %29 = tail call float @llvm.fmuladd.f32(float %1, float %2, float %28)
  %30 = tail call float @llvm.fmuladd.f32(float %2, float %0, float %1)
  %31 = fneg float %0
  %32 = tail call float @llvm.fmuladd.f32(float %31, float %24, float %30)
  %33 = fdiv float %32, %29
  %34 = fmul float %19, %0
  %35 = fdiv float %34, %29
  %36 = fmul float %33, %27
  %37 = fmul float %33, %36
  %38 = tail call float @llvm.fmuladd.f32(float %24, float %33, float %37)
  %39 = fadd float %38, -1.000000e+00
  %40 = fneg float %19
  %41 = fmul float %33, %40
  %42 = tail call float @llvm.fmuladd.f32(float %24, float %35, float %41)
  %43 = tail call float @llvm.fmuladd.f32(float %14, float %33, float %42)
  %44 = fneg float %14
  %45 = fmul float %26, %44
  %46 = tail call float @llvm.fmuladd.f32(float %45, float %33, float %43)
  %47 = tail call float @llvm.fmuladd.f32(float %14, float %24, float %46)
  %48 = fmul float %26, -2.000000e+00
  %49 = fmul float %48, %33
  %50 = tail call float @llvm.fmuladd.f32(float %49, float %35, float %47)
  %51 = fmul float %19, %44
  %52 = tail call float @llvm.fmuladd.f32(float %14, float %14, float %51)
  %53 = tail call float @llvm.fmuladd.f32(float %45, float %35, float %52)
  %54 = tail call float @llvm.fmuladd.f32(float %14, float %35, float %53)
  %55 = tail call float @llvm.fmuladd.f32(float %40, float %35, float %54)
  %56 = fmul float %35, %27
  %57 = tail call float @llvm.fmuladd.f32(float %56, float %35, float %55)
  %58 = tail call noundef float @_ZSt4fabsf(float noundef %39)
  %59 = fpext float %58 to double
  %60 = fcmp olt double %59, 1.000000e-05
  %61 = fcmp une float %50, 0.000000e+00
  %or.cond3 = select i1 %60, i1 %61, i1 false
  br i1 %or.cond3, label %62, label %66

62:                                               ; preds = %17
  %63 = fneg float %57
  %64 = fdiv float %63, %50
  %65 = insertelement <2 x float> <float poison, float undef>, float %64, i64 0
  br label %82

66:                                               ; preds = %17
  %67 = fmul float %39, -4.000000e+00
  %68 = fmul float %57, %67
  %69 = tail call float @llvm.fmuladd.f32(float %50, float %50, float %68)
  %70 = tail call noundef float @_ZSt4sqrtf(float noundef %69)
  %71 = fmul float %39, 2.000000e+00
  %72 = tail call noundef float @_ZSt4sqrtf(float noundef %69)
  %73 = fneg float %72
  %74 = insertelement <2 x float> poison, float %70, i64 0
  %75 = insertelement <2 x float> %74, float %73, i64 1
  %76 = insertelement <2 x float> poison, float %50, i64 0
  %77 = shufflevector <2 x float> %76, <2 x float> poison, <2 x i32> zeroinitializer
  %78 = fsub <2 x float> %75, %77
  %79 = insertelement <2 x float> poison, float %71, i64 0
  %80 = shufflevector <2 x float> %79, <2 x float> poison, <2 x i32> zeroinitializer
  %81 = fdiv <2 x float> %78, %80
  br label %82

82:                                               ; preds = %66, %62
  %83 = phi <2 x float> [ %65, %62 ], [ %81, %66 ]
  %84 = extractelement <2 x float> %83, i64 0
  %85 = fneg float %84
  %86 = fneg float %35
  %87 = tail call float @llvm.fmuladd.f32(float %85, float %33, float %86)
  %88 = extractelement <2 x float> %83, i64 1
  %89 = fneg float %88
  %90 = tail call float @llvm.fmuladd.f32(float %89, float %33, float %86)
  %91 = fneg float %24
  %92 = tail call float @llvm.fmuladd.f32(float %91, float %84, float %19)
  %93 = tail call float @llvm.fmuladd.f32(float %27, float %87, float %92)
  %94 = tail call float @llvm.fmuladd.f32(float %91, float %88, float %19)
  %95 = tail call float @llvm.fmuladd.f32(float %27, float %90, float %94)
  %96 = fpext float %95 to double
  %97 = fpext float %88 to double
  %98 = fpext float %90 to double
  br label %125

99:                                               ; preds = %6
  %100 = fcmp oeq float %0, 0.000000e+00
  br i1 %100, label %101, label %112

101:                                              ; preds = %99
  %102 = fmul float %1, %1
  %103 = fdiv float 1.000000e+00, %102
  %104 = fneg float %2
  %105 = fmul float %103, %104
  %106 = fneg float %14
  %107 = fmul float %14, %106
  %108 = tail call float @llvm.fmuladd.f32(float %105, float %105, float %107)
  %109 = tail call float @llvm.fmuladd.f32(float %103, float %14, float %108)
  %110 = fsub float %103, %14
  %111 = fdiv float %109, %110
  br label %125

112:                                              ; preds = %99
  %113 = fcmp oeq float %1, 0.000000e+00
  br i1 %113, label %114, label %253

114:                                              ; preds = %112
  %115 = fmul float %0, %0
  %116 = fdiv float 1.000000e+00, %115
  %117 = fneg float %116
  %118 = fdiv float %117, %2
  %119 = fneg float %14
  %120 = fmul float %14, %119
  %121 = tail call float @llvm.fmuladd.f32(float %118, float %118, float %120)
  %122 = tail call float @llvm.fmuladd.f32(float %116, float %14, float %121)
  %123 = fsub float %116, %14
  %124 = fdiv float %122, %123
  br label %125

125:                                              ; preds = %101, %114, %82
  %.0169 = phi float [ %93, %82 ], [ %111, %101 ], [ %116, %114 ]
  %.0168 = phi float [ %87, %82 ], [ %103, %101 ], [ %124, %114 ]
  %.1167 = phi float [ %84, %82 ], [ %105, %101 ], [ %118, %114 ]
  %.0165 = phi double [ %96, %82 ], [ undef, %101 ], [ undef, %114 ]
  %.0164 = phi double [ %98, %82 ], [ undef, %101 ], [ undef, %114 ]
  %.1163 = phi double [ %97, %82 ], [ undef, %101 ], [ undef, %114 ]
  %126 = tail call noundef float @_ZSt4fabsf(float noundef %.0169)
  %127 = fcmp olt float %126, 1.000000e+00
  br i1 %127, label %128, label %144

128:                                              ; preds = %125
  %129 = fpext float %.0169 to double
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds i8, ptr %130, i64 48
  %132 = load ptr, ptr %131, align 8
  %133 = tail call noundef nonnull align 8 dereferenceable(8) ptr %132(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 1, i32 noundef 1)
  store double %129, ptr %133, align 8, !tbaa !8
  %134 = fpext float %.1167 to double
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %135, i64 48
  %137 = load ptr, ptr %136, align 8
  %138 = tail call noundef nonnull align 8 dereferenceable(8) ptr %137(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 1, i32 noundef 2)
  store double %134, ptr %138, align 8, !tbaa !8
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds i8, ptr %139, i64 48
  %141 = load ptr, ptr %140, align 8
  %142 = tail call noundef nonnull align 8 dereferenceable(8) ptr %141(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 2, i32 noundef 1)
  store double %134, ptr %142, align 8, !tbaa !8
  %143 = fpext float %.0168 to double
  br label %157

144:                                              ; preds = %125
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds i8, ptr %145, i64 48
  %147 = load ptr, ptr %146, align 8
  %148 = tail call noundef nonnull align 8 dereferenceable(8) ptr %147(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 1, i32 noundef 1)
  store double %.0165, ptr %148, align 8, !tbaa !8
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = getelementptr inbounds i8, ptr %149, i64 48
  %151 = load ptr, ptr %150, align 8
  %152 = tail call noundef nonnull align 8 dereferenceable(8) ptr %151(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 1, i32 noundef 2)
  store double %.1163, ptr %152, align 8, !tbaa !8
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %153, i64 48
  %155 = load ptr, ptr %154, align 8
  %156 = tail call noundef nonnull align 8 dereferenceable(8) ptr %155(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 2, i32 noundef 1)
  store double %.1163, ptr %156, align 8, !tbaa !8
  br label %157

157:                                              ; preds = %144, %128
  %.0164.sink = phi double [ %.0164, %144 ], [ %143, %128 ]
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %158, i64 48
  %160 = load ptr, ptr %159, align 8
  %161 = tail call noundef nonnull align 8 dereferenceable(8) ptr %160(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 2, i32 noundef 2)
  store double %.0164.sink, ptr %161, align 8, !tbaa !8
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %162, i64 48
  %164 = load ptr, ptr %163, align 8
  %165 = tail call noundef nonnull align 8 dereferenceable(8) ptr %164(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 1, i32 noundef 1)
  %166 = load double, ptr %165, align 8, !tbaa !8
  %167 = load ptr, ptr %4, align 8, !tbaa !5
  %168 = getelementptr inbounds i8, ptr %167, i64 48
  %169 = load ptr, ptr %168, align 8
  %170 = tail call noundef nonnull align 8 dereferenceable(8) ptr %169(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 2, i32 noundef 2)
  %171 = load double, ptr %170, align 8, !tbaa !8
  %172 = load ptr, ptr %4, align 8, !tbaa !5
  %173 = getelementptr inbounds i8, ptr %172, i64 48
  %174 = load ptr, ptr %173, align 8
  %175 = tail call noundef nonnull align 8 dereferenceable(8) ptr %174(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 1, i32 noundef 2)
  %176 = load double, ptr %175, align 8, !tbaa !8
  %177 = load ptr, ptr %4, align 8, !tbaa !5
  %178 = getelementptr inbounds i8, ptr %177, i64 48
  %179 = load ptr, ptr %178, align 8
  %180 = tail call noundef nonnull align 8 dereferenceable(8) ptr %179(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 2, i32 noundef 1)
  %181 = load double, ptr %180, align 8, !tbaa !8
  %182 = fneg double %176
  %183 = fmul double %181, %182
  %184 = tail call double @llvm.fmuladd.f64(double %166, double %171, double %183)
  %185 = tail call double @llvm.fabs.f64(double %184)
  %186 = fpext float %14 to double
  %187 = fdiv double %185, %186
  %188 = fptrunc double %187 to float
  %189 = fdiv float %188, %14
  %190 = tail call noundef float @_ZSt4sqrtf(float noundef %189)
  %191 = fcmp ogt float %190, 1.000000e+00
  %192 = fdiv float 1.000000e+00, %190
  %.0159 = select i1 %191, float %192, float %190
  %193 = fpext float %.0159 to double
  %194 = fcmp olt double %193, 3.000000e-01
  br i1 %194, label %253, label %195

195:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  call void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  invoke void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %196 unwind label %233

196:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  invoke void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %197 unwind label %235

197:                                              ; preds = %196
  invoke void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %198 unwind label %237

198:                                              ; preds = %197
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 1, i32 noundef 1)
  %200 = load double, ptr %199, align 8, !tbaa !8
  %201 = call double @sqrt(double noundef %200) #7
  %202 = fdiv double 1.000000e+00, %201
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 1, i32 noundef 1)
  store double %202, ptr %203, align 8, !tbaa !8
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 2, i32 noundef 2)
  %205 = load double, ptr %204, align 8, !tbaa !8
  %206 = call double @sqrt(double noundef %205) #7
  %207 = fdiv double 1.000000e+00, %206
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 2, i32 noundef 2)
  store double %207, ptr %208, align 8, !tbaa !8
  %209 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 1, i32 noundef 1)
  %210 = load double, ptr %209, align 8, !tbaa !8
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 2, i32 noundef 2)
  %212 = load double, ptr %211, align 8, !tbaa !8
  %213 = fmul double %210, %212
  %214 = call double @sqrt(double noundef %213) #7
  %215 = fptrunc double %214 to float
  store float %215, ptr %5, align 4, !tbaa !11
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 1, i32 noundef 1)
  %217 = load double, ptr %216, align 8, !tbaa !8
  %218 = load float, ptr %5, align 4, !tbaa !11
  %219 = fpext float %218 to double
  %220 = fdiv double %217, %219
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 1, i32 noundef 1)
  store double %220, ptr %221, align 8, !tbaa !8
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 2, i32 noundef 2)
  %223 = load double, ptr %222, align 8, !tbaa !8
  %224 = load float, ptr %5, align 4, !tbaa !11
  %225 = fpext float %224 to double
  %226 = fdiv double %223, %225
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 2, i32 noundef 2)
  store double %226, ptr %227, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %228 unwind label %239

228:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  invoke void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %229 unwind label %241

229:                                              ; preds = %228
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %230 unwind label %243

230:                                              ; preds = %229
  %231 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %232 unwind label %245

232:                                              ; preds = %230
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  br label %253

233:                                              ; preds = %195
  %234 = landingpad { ptr, i32 }
          cleanup
  br label %252

235:                                              ; preds = %196
  %236 = landingpad { ptr, i32 }
          cleanup
  br label %251

237:                                              ; preds = %197
  %238 = landingpad { ptr, i32 }
          cleanup
  br label %250

239:                                              ; preds = %198
  %240 = landingpad { ptr, i32 }
          cleanup
  br label %249

241:                                              ; preds = %228
  %242 = landingpad { ptr, i32 }
          cleanup
  br label %248

243:                                              ; preds = %229
  %244 = landingpad { ptr, i32 }
          cleanup
  br label %247

245:                                              ; preds = %230
  %246 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  br label %247

247:                                              ; preds = %245, %243
  %.pn = phi { ptr, i32 } [ %246, %245 ], [ %244, %243 ]
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  br label %248

248:                                              ; preds = %247, %241
  %.pn.pn = phi { ptr, i32 } [ %.pn, %247 ], [ %242, %241 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br label %249

249:                                              ; preds = %248, %239
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %248 ], [ %240, %239 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  br label %250

250:                                              ; preds = %249, %237
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %249 ], [ %238, %237 ]
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  br label %251

251:                                              ; preds = %250, %235
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %250 ], [ %236, %235 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  br label %252

252:                                              ; preds = %251, %233
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %251 ], [ %234, %233 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn

253:                                              ; preds = %232, %157, %112
  %.1161 = phi i32 [ 0, %112 ], [ 1, %232 ], [ 0, %157 ]
  ret i32 %.1161
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 = { mustprogress 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 #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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"double", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass