; LLVM IR from sourceryinstitute/MORFEUS-Source :: src/FV/src/mesh_optimize/OptMS (SMfunc2d)

; 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.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [28 x i8], align 1

; 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 speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

declare i32 @SMerror(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @SMcomputeScaledTriJacobians(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #4 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = getelementptr inbounds double, ptr %26, i64 0
  %28 = load double, ptr %27, align 8, !tbaa !9
  store double %28, ptr %19, align 8, !tbaa !9
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds double, ptr %29, i64 1
  %31 = load double, ptr %30, align 8, !tbaa !9
  store double %31, ptr %22, align 8, !tbaa !9
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds double, ptr %32, i64 0
  %34 = load double, ptr %33, align 8, !tbaa !9
  store double %34, ptr %20, align 8, !tbaa !9
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = getelementptr inbounds double, ptr %35, i64 1
  %37 = load double, ptr %36, align 8, !tbaa !9
  store double %37, ptr %23, align 8, !tbaa !9
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = getelementptr inbounds double, ptr %38, i64 0
  %40 = load double, ptr %39, align 8, !tbaa !9
  store double %40, ptr %21, align 8, !tbaa !9
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = getelementptr inbounds double, ptr %41, i64 1
  %43 = load double, ptr %42, align 8, !tbaa !9
  store double %43, ptr %24, align 8, !tbaa !9
  %44 = load double, ptr %20, align 8, !tbaa !9
  %45 = load double, ptr %21, align 8, !tbaa !9
  %46 = fsub double %44, %45
  %47 = load double, ptr %20, align 8, !tbaa !9
  %48 = load double, ptr %21, align 8, !tbaa !9
  %49 = fsub double %47, %48
  %50 = load double, ptr %23, align 8, !tbaa !9
  %51 = load double, ptr %24, align 8, !tbaa !9
  %52 = fsub double %50, %51
  %53 = load double, ptr %23, align 8, !tbaa !9
  %54 = load double, ptr %24, align 8, !tbaa !9
  %55 = fsub double %53, %54
  %56 = fmul double %52, %55
  %57 = call double @llvm.fmuladd.f64(double %46, double %49, double %56)
  %58 = call double @sqrt(double noundef %57) #5
  store double %58, ptr %16, align 8, !tbaa !9
  %59 = load double, ptr %19, align 8, !tbaa !9
  %60 = load double, ptr %21, align 8, !tbaa !9
  %61 = fsub double %59, %60
  %62 = load double, ptr %19, align 8, !tbaa !9
  %63 = load double, ptr %21, align 8, !tbaa !9
  %64 = fsub double %62, %63
  %65 = load double, ptr %22, align 8, !tbaa !9
  %66 = load double, ptr %24, align 8, !tbaa !9
  %67 = fsub double %65, %66
  %68 = load double, ptr %22, align 8, !tbaa !9
  %69 = load double, ptr %24, align 8, !tbaa !9
  %70 = fsub double %68, %69
  %71 = fmul double %67, %70
  %72 = call double @llvm.fmuladd.f64(double %61, double %64, double %71)
  %73 = call double @sqrt(double noundef %72) #5
  store double %73, ptr %17, align 8, !tbaa !9
  %74 = load double, ptr %20, align 8, !tbaa !9
  %75 = load double, ptr %19, align 8, !tbaa !9
  %76 = fsub double %74, %75
  %77 = load double, ptr %20, align 8, !tbaa !9
  %78 = load double, ptr %19, align 8, !tbaa !9
  %79 = fsub double %77, %78
  %80 = load double, ptr %23, align 8, !tbaa !9
  %81 = load double, ptr %22, align 8, !tbaa !9
  %82 = fsub double %80, %81
  %83 = load double, ptr %23, align 8, !tbaa !9
  %84 = load double, ptr %22, align 8, !tbaa !9
  %85 = fsub double %83, %84
  %86 = fmul double %82, %85
  %87 = call double @llvm.fmuladd.f64(double %76, double %79, double %86)
  %88 = call double @sqrt(double noundef %87) #5
  store double %88, ptr %18, align 8, !tbaa !9
  %89 = load double, ptr %16, align 8, !tbaa !9
  %90 = fcmp olt double %89, 1.000000e-15
  br i1 %90, label %91, label %93

91:                                               ; preds = %5
  %92 = call i32 @SMerror(i32 noundef 297, ptr noundef @.str.12, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 57, i32 noundef 0, ptr noundef @.str.3)
  store i32 %92, ptr %6, align 4
  store i32 1, ptr %25, align 4
  br label %198

93:                                               ; preds = %5
  %94 = load double, ptr %17, align 8, !tbaa !9
  %95 = fcmp olt double %94, 1.000000e-15
  br i1 %95, label %96, label %98

96:                                               ; preds = %93
  %97 = call i32 @SMerror(i32 noundef 298, ptr noundef @.str.12, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 57, i32 noundef 0, ptr noundef @.str.3)
  store i32 %97, ptr %6, align 4
  store i32 1, ptr %25, align 4
  br label %198

98:                                               ; preds = %93
  %99 = load double, ptr %18, align 8, !tbaa !9
  %100 = fcmp olt double %99, 1.000000e-15
  br i1 %100, label %101, label %103

101:                                              ; preds = %98
  %102 = call i32 @SMerror(i32 noundef 299, ptr noundef @.str.12, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 57, i32 noundef 0, ptr noundef @.str.3)
  store i32 %102, ptr %6, align 4
  store i32 1, ptr %25, align 4
  br label %198

103:                                              ; preds = %98
  %104 = load double, ptr %20, align 8, !tbaa !9
  %105 = load double, ptr %24, align 8, !tbaa !9
  %106 = load double, ptr %21, align 8, !tbaa !9
  %107 = load double, ptr %23, align 8, !tbaa !9
  %108 = fmul double %106, %107
  %109 = fneg double %108
  %110 = call double @llvm.fmuladd.f64(double %104, double %105, double %109)
  store double %110, ptr %13, align 8, !tbaa !9
  %111 = load double, ptr %23, align 8, !tbaa !9
  %112 = load double, ptr %24, align 8, !tbaa !9
  %113 = fsub double %111, %112
  store double %113, ptr %14, align 8, !tbaa !9
  %114 = load double, ptr %21, align 8, !tbaa !9
  %115 = load double, ptr %20, align 8, !tbaa !9
  %116 = fsub double %114, %115
  store double %116, ptr %15, align 8, !tbaa !9
  %117 = load double, ptr %13, align 8, !tbaa !9
  %118 = load double, ptr %14, align 8, !tbaa !9
  %119 = load double, ptr %19, align 8, !tbaa !9
  %120 = call double @llvm.fmuladd.f64(double %118, double %119, double %117)
  %121 = load double, ptr %15, align 8, !tbaa !9
  %122 = load double, ptr %22, align 8, !tbaa !9
  %123 = call double @llvm.fmuladd.f64(double %121, double %122, double %120)
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = getelementptr inbounds double, ptr %124, i64 0
  store double %123, ptr %125, align 8, !tbaa !9
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  %127 = getelementptr inbounds double, ptr %126, i64 0
  %128 = load double, ptr %127, align 8, !tbaa !9
  %129 = load double, ptr %17, align 8, !tbaa !9
  %130 = load double, ptr %18, align 8, !tbaa !9
  %131 = fmul double %129, %130
  %132 = fdiv double %128, %131
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = getelementptr inbounds double, ptr %133, i64 0
  store double %132, ptr %134, align 8, !tbaa !9
  %135 = load double, ptr %21, align 8, !tbaa !9
  %136 = load double, ptr %22, align 8, !tbaa !9
  %137 = load double, ptr %19, align 8, !tbaa !9
  %138 = load double, ptr %24, align 8, !tbaa !9
  %139 = fmul double %137, %138
  %140 = fneg double %139
  %141 = call double @llvm.fmuladd.f64(double %135, double %136, double %140)
  store double %141, ptr %13, align 8, !tbaa !9
  %142 = load double, ptr %24, align 8, !tbaa !9
  %143 = load double, ptr %22, align 8, !tbaa !9
  %144 = fsub double %142, %143
  store double %144, ptr %14, align 8, !tbaa !9
  %145 = load double, ptr %19, align 8, !tbaa !9
  %146 = load double, ptr %21, align 8, !tbaa !9
  %147 = fsub double %145, %146
  store double %147, ptr %15, align 8, !tbaa !9
  %148 = load double, ptr %13, align 8, !tbaa !9
  %149 = load double, ptr %14, align 8, !tbaa !9
  %150 = load double, ptr %20, align 8, !tbaa !9
  %151 = call double @llvm.fmuladd.f64(double %149, double %150, double %148)
  %152 = load double, ptr %15, align 8, !tbaa !9
  %153 = load double, ptr %23, align 8, !tbaa !9
  %154 = call double @llvm.fmuladd.f64(double %152, double %153, double %151)
  %155 = load ptr, ptr %10, align 8, !tbaa !5
  %156 = getelementptr inbounds double, ptr %155, i64 1
  store double %154, ptr %156, align 8, !tbaa !9
  %157 = load ptr, ptr %10, align 8, !tbaa !5
  %158 = getelementptr inbounds double, ptr %157, i64 1
  %159 = load double, ptr %158, align 8, !tbaa !9
  %160 = load double, ptr %16, align 8, !tbaa !9
  %161 = load double, ptr %18, align 8, !tbaa !9
  %162 = fmul double %160, %161
  %163 = fdiv double %159, %162
  %164 = load ptr, ptr %10, align 8, !tbaa !5
  %165 = getelementptr inbounds double, ptr %164, i64 1
  store double %163, ptr %165, align 8, !tbaa !9
  %166 = load double, ptr %19, align 8, !tbaa !9
  %167 = load double, ptr %23, align 8, !tbaa !9
  %168 = load double, ptr %20, align 8, !tbaa !9
  %169 = load double, ptr %22, align 8, !tbaa !9
  %170 = fmul double %168, %169
  %171 = fneg double %170
  %172 = call double @llvm.fmuladd.f64(double %166, double %167, double %171)
  store double %172, ptr %13, align 8, !tbaa !9
  %173 = load double, ptr %22, align 8, !tbaa !9
  %174 = load double, ptr %23, align 8, !tbaa !9
  %175 = fsub double %173, %174
  store double %175, ptr %14, align 8, !tbaa !9
  %176 = load double, ptr %20, align 8, !tbaa !9
  %177 = load double, ptr %19, align 8, !tbaa !9
  %178 = fsub double %176, %177
  store double %178, ptr %15, align 8, !tbaa !9
  %179 = load double, ptr %13, align 8, !tbaa !9
  %180 = load double, ptr %14, align 8, !tbaa !9
  %181 = load double, ptr %21, align 8, !tbaa !9
  %182 = call double @llvm.fmuladd.f64(double %180, double %181, double %179)
  %183 = load double, ptr %15, align 8, !tbaa !9
  %184 = load double, ptr %24, align 8, !tbaa !9
  %185 = call double @llvm.fmuladd.f64(double %183, double %184, double %182)
  %186 = load ptr, ptr %10, align 8, !tbaa !5
  %187 = getelementptr inbounds double, ptr %186, i64 2
  store double %185, ptr %187, align 8, !tbaa !9
  %188 = load ptr, ptr %10, align 8, !tbaa !5
  %189 = getelementptr inbounds double, ptr %188, i64 2
  %190 = load double, ptr %189, align 8, !tbaa !9
  %191 = load double, ptr %16, align 8, !tbaa !9
  %192 = load double, ptr %17, align 8, !tbaa !9
  %193 = fmul double %191, %192
  %194 = fdiv double %190, %193
  %195 = load ptr, ptr %10, align 8, !tbaa !5
  %196 = getelementptr inbounds double, ptr %195, i64 2
  store double %194, ptr %196, align 8, !tbaa !9
  %197 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 3, ptr %197, align 4, !tbaa !11
  store i32 0, ptr %12, align 4, !tbaa !11
  store i32 0, ptr %6, align 4
  store i32 1, ptr %25, align 4
  br label %198

198:                                              ; preds = %103, %101, %96, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  %199 = load i32, ptr %6, align 4
  ret i32 %199
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 = { 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 #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !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"

@.str.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [28 x i8], align 1

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

declare i32 @SMerror(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @SMcomputeScaledTriJacobians(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #2 {
  %6 = load double, ptr %0, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load double, ptr %7, align 8, !tbaa !5
  %9 = load double, ptr %1, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %1, i64 8
  %11 = load double, ptr %10, align 8, !tbaa !5
  %12 = load <2 x double>, ptr %2, align 8, !tbaa !5
  %13 = shufflevector <2 x double> %12, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %14 = insertelement <2 x double> poison, double %6, i64 0
  %15 = insertelement <2 x double> %14, double %9, i64 1
  %16 = shufflevector <2 x double> %12, <2 x double> poison, <2 x i32> zeroinitializer
  %17 = fsub <2 x double> %15, %16
  %18 = insertelement <2 x double> poison, double %8, i64 0
  %19 = insertelement <2 x double> %18, double %11, i64 1
  %20 = shufflevector <2 x double> %12, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %21 = fsub <2 x double> %19, %20
  %22 = fmul <2 x double> %21, %21
  %23 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %17, <2 x double> %17, <2 x double> %22)
  %24 = tail call <2 x double> @llvm.sqrt.v2f64(<2 x double> %23)
  %25 = fsub double %9, %6
  %26 = fsub double %11, %8
  %27 = fmul double %26, %26
  %28 = tail call double @llvm.fmuladd.f64(double %25, double %25, double %27)
  %sqrt = tail call double @llvm.sqrt.f64(double %28)
  %29 = extractelement <2 x double> %24, i64 1
  %30 = fcmp olt double %29, 1.000000e-15
  br i1 %30, label %31, label %33

31:                                               ; preds = %5
  %32 = tail call i32 @SMerror(i32 noundef 297, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 57, i32 noundef 0, ptr noundef nonnull @.str.3) #4
  br label %73

33:                                               ; preds = %5
  %34 = extractelement <2 x double> %24, i64 0
  %35 = fcmp olt double %34, 1.000000e-15
  br i1 %35, label %36, label %38

36:                                               ; preds = %33
  %37 = tail call i32 @SMerror(i32 noundef 298, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 57, i32 noundef 0, ptr noundef nonnull @.str.3) #4
  br label %73

38:                                               ; preds = %33
  %39 = fcmp olt double %sqrt, 1.000000e-15
  br i1 %39, label %40, label %42

40:                                               ; preds = %38
  %41 = tail call i32 @SMerror(i32 noundef 299, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 57, i32 noundef 0, ptr noundef nonnull @.str.3) #4
  br label %73

42:                                               ; preds = %38
  %43 = insertelement <2 x double> %12, double %6, i64 1
  %44 = fneg <2 x double> %43
  %45 = extractelement <2 x double> %12, i64 0
  %46 = fsub double %45, %9
  %47 = insertelement <2 x double> poison, double %sqrt, i64 0
  %48 = shufflevector <2 x double> %47, <2 x double> poison, <2 x i32> zeroinitializer
  %49 = fmul <2 x double> %48, %24
  %50 = extractelement <2 x double> %12, i64 1
  %51 = fsub double %50, %8
  %52 = insertelement <2 x double> %12, double %11, i64 0
  %53 = fmul <2 x double> %52, %44
  %54 = insertelement <2 x double> poison, double %9, i64 0
  %55 = insertelement <2 x double> %54, double %8, i64 1
  %56 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %13, <2 x double> %55, <2 x double> %53)
  %57 = shufflevector <2 x double> %21, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %58 = insertelement <2 x double> %57, double %51, i64 1
  %59 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %58, <2 x double> %15, <2 x double> %56)
  %60 = shufflevector <2 x double> %17, <2 x double> poison, <2 x i32> <i32 poison, i32 0>
  %61 = insertelement <2 x double> %60, double %46, i64 0
  %62 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %61, <2 x double> %19, <2 x double> %59)
  %63 = fdiv <2 x double> %62, %49
  store <2 x double> %63, ptr %3, align 8, !tbaa !5
  %64 = fneg double %9
  %65 = fmul double %8, %64
  %66 = tail call double @llvm.fmuladd.f64(double %6, double %11, double %65)
  %67 = fsub double %8, %11
  %68 = tail call double @llvm.fmuladd.f64(double %67, double %45, double %66)
  %69 = tail call double @llvm.fmuladd.f64(double %25, double %50, double %68)
  %70 = getelementptr inbounds i8, ptr %3, i64 16
  %71 = fmul double %29, %34
  %72 = fdiv double %69, %71
  store double %72, ptr %70, align 8, !tbaa !5
  store i32 3, ptr %4, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %42, %40, %36, %31
  %.0 = phi i32 [ %32, %31 ], [ %37, %36 ], [ %41, %40 ], [ 0, %42 ]
  ret i32 %.0
}

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.sqrt.v2f64(<2 x double>) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { "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 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}


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