; LLVM IR from zhenrong-wang/co2 :: co2_property_calc (co2_prop_calc_hs)

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

%struct.co2_prop = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }

; Function Attrs: nounwind uwtable
declare dso_local void @co2_prop_calc_tr(ptr noundef, double noundef, double noundef) #0

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @calc_psat_t(ptr noundef, ptr noundef, ptr noundef, double noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @td_hs(ptr noundef, ptr noundef, double noundef, double noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @hs_find_tsat(ptr noundef, ptr noundef, double noundef, double noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @co2_prop_calc_pt(ptr noundef, ptr noundef, double noundef, double noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @co2_prop_calc_hs(ptr noundef %0, double noundef %1, double noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct.co2_prop, align 8
  %20 = alloca %struct.co2_prop, align 8
  %21 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store double %1, ptr %6, align 8, !tbaa !9
  store double %2, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 128, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 128, ptr %20) #3
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.co2_prop, ptr %22, i32 0, i32 14
  store double -1.000000e+00, ptr %23, align 8, !tbaa !11
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.co2_prop, ptr %24, i32 0, i32 15
  store double -1.000000e+00, ptr %25, align 8, !tbaa !13
  %26 = load double, ptr %6, align 8, !tbaa !9
  %27 = load double, ptr %7, align 8, !tbaa !9
  %28 = call i32 @td_hs(ptr noundef %8, ptr noundef %9, double noundef %26, double noundef %27)
  store i32 %28, ptr %17, align 4, !tbaa !14
  %29 = load i32, ptr %17, align 4, !tbaa !14
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %35

31:                                               ; preds = %3
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = load double, ptr %8, align 8, !tbaa !9
  %34 = load double, ptr %9, align 8, !tbaa !9
  call void @co2_prop_calc_tr(ptr noundef %32, double noundef %33, double noundef %34)
  store i32 0, ptr %4, align 4
  store i32 1, ptr %21, align 4
  br label %163

35:                                               ; preds = %3
  %36 = load double, ptr %6, align 8, !tbaa !9
  %37 = load double, ptr %7, align 8, !tbaa !9
  %38 = call i32 @hs_find_tsat(ptr noundef %14, ptr noundef %15, double noundef %36, double noundef %37)
  store i32 %38, ptr %17, align 4, !tbaa !14
  %39 = load i32, ptr %17, align 4, !tbaa !14
  %40 = icmp eq i32 %39, -1
  br i1 %40, label %41, label %42

41:                                               ; preds = %35
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %21, align 4
  br label %163

42:                                               ; preds = %35
  %43 = load double, ptr %14, align 8, !tbaa !9
  %44 = call i32 @calc_psat_t(ptr noundef %16, ptr noundef %12, ptr noundef %13, double noundef %43)
  %45 = icmp eq i32 %44, -1
  br i1 %45, label %46, label %47

46:                                               ; preds = %42
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %21, align 4
  br label %163

47:                                               ; preds = %42
  %48 = load double, ptr %16, align 8, !tbaa !9
  %49 = load double, ptr %14, align 8, !tbaa !9
  %50 = call i32 @co2_prop_calc_pt(ptr noundef %19, ptr noundef %20, double noundef %48, double noundef %49)
  %51 = icmp eq i32 %50, -1
  br i1 %51, label %52, label %53

52:                                               ; preds = %47
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %21, align 4
  br label %163

53:                                               ; preds = %47
  %54 = load double, ptr %16, align 8, !tbaa !9
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.co2_prop, ptr %55, i32 0, i32 0
  store double %54, ptr %56, align 8, !tbaa !16
  %57 = load double, ptr %14, align 8, !tbaa !9
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.co2_prop, ptr %58, i32 0, i32 1
  store double %57, ptr %59, align 8, !tbaa !17
  %60 = load double, ptr %15, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.co2_prop, ptr %20, i32 0, i32 2
  %62 = load double, ptr %61, align 8, !tbaa !18
  %63 = load double, ptr %15, align 8, !tbaa !9
  %64 = fsub double 1.000000e+00, %63
  %65 = getelementptr inbounds %struct.co2_prop, ptr %19, i32 0, i32 2
  %66 = load double, ptr %65, align 8, !tbaa !18
  %67 = fmul double %64, %66
  %68 = call double @llvm.fmuladd.f64(double %60, double %62, double %67)
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.co2_prop, ptr %69, i32 0, i32 2
  store double %68, ptr %70, align 8, !tbaa !18
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.co2_prop, ptr %71, i32 0, i32 2
  %73 = load double, ptr %72, align 8, !tbaa !18
  %74 = fdiv double 1.000000e+00, %73
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.co2_prop, ptr %75, i32 0, i32 3
  store double %74, ptr %76, align 8, !tbaa !19
  %77 = load double, ptr %7, align 8, !tbaa !9
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.co2_prop, ptr %78, i32 0, i32 4
  store double %77, ptr %79, align 8, !tbaa !20
  %80 = load double, ptr %15, align 8, !tbaa !9
  %81 = getelementptr inbounds %struct.co2_prop, ptr %20, i32 0, i32 5
  %82 = load double, ptr %81, align 8, !tbaa !21
  %83 = load double, ptr %15, align 8, !tbaa !9
  %84 = fsub double 1.000000e+00, %83
  %85 = getelementptr inbounds %struct.co2_prop, ptr %19, i32 0, i32 5
  %86 = load double, ptr %85, align 8, !tbaa !21
  %87 = fmul double %84, %86
  %88 = call double @llvm.fmuladd.f64(double %80, double %82, double %87)
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.co2_prop, ptr %89, i32 0, i32 5
  store double %88, ptr %90, align 8, !tbaa !21
  %91 = load double, ptr %15, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct.co2_prop, ptr %20, i32 0, i32 6
  %93 = load double, ptr %92, align 8, !tbaa !22
  %94 = load double, ptr %15, align 8, !tbaa !9
  %95 = fsub double 1.000000e+00, %94
  %96 = getelementptr inbounds %struct.co2_prop, ptr %19, i32 0, i32 6
  %97 = load double, ptr %96, align 8, !tbaa !22
  %98 = fmul double %95, %97
  %99 = call double @llvm.fmuladd.f64(double %91, double %93, double %98)
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.co2_prop, ptr %100, i32 0, i32 6
  store double %99, ptr %101, align 8, !tbaa !22
  %102 = load double, ptr %6, align 8, !tbaa !9
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.co2_prop, ptr %103, i32 0, i32 7
  store double %102, ptr %104, align 8, !tbaa !23
  %105 = load double, ptr %15, align 8, !tbaa !9
  %106 = getelementptr inbounds %struct.co2_prop, ptr %20, i32 0, i32 8
  %107 = load double, ptr %106, align 8, !tbaa !24
  %108 = load double, ptr %15, align 8, !tbaa !9
  %109 = fsub double 1.000000e+00, %108
  %110 = getelementptr inbounds %struct.co2_prop, ptr %19, i32 0, i32 8
  %111 = load double, ptr %110, align 8, !tbaa !24
  %112 = fmul double %109, %111
  %113 = call double @llvm.fmuladd.f64(double %105, double %107, double %112)
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.co2_prop, ptr %114, i32 0, i32 8
  store double %113, ptr %115, align 8, !tbaa !24
  %116 = load double, ptr %15, align 8, !tbaa !9
  %117 = getelementptr inbounds %struct.co2_prop, ptr %20, i32 0, i32 9
  %118 = load double, ptr %117, align 8, !tbaa !25
  %119 = load double, ptr %15, align 8, !tbaa !9
  %120 = fsub double 1.000000e+00, %119
  %121 = getelementptr inbounds %struct.co2_prop, ptr %19, i32 0, i32 9
  %122 = load double, ptr %121, align 8, !tbaa !25
  %123 = fmul double %120, %122
  %124 = call double @llvm.fmuladd.f64(double %116, double %118, double %123)
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.co2_prop, ptr %125, i32 0, i32 9
  store double %124, ptr %126, align 8, !tbaa !25
  %127 = load double, ptr %15, align 8, !tbaa !9
  %128 = getelementptr inbounds %struct.co2_prop, ptr %20, i32 0, i32 10
  %129 = load double, ptr %128, align 8, !tbaa !26
  %130 = load double, ptr %15, align 8, !tbaa !9
  %131 = fsub double 1.000000e+00, %130
  %132 = getelementptr inbounds %struct.co2_prop, ptr %19, i32 0, i32 10
  %133 = load double, ptr %132, align 8, !tbaa !26
  %134 = fmul double %131, %133
  %135 = call double @llvm.fmuladd.f64(double %127, double %129, double %134)
  %136 = load ptr, ptr %5, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.co2_prop, ptr %136, i32 0, i32 10
  store double %135, ptr %137, align 8, !tbaa !26
  %138 = load double, ptr %15, align 8, !tbaa !9
  %139 = getelementptr inbounds %struct.co2_prop, ptr %20, i32 0, i32 11
  %140 = load double, ptr %139, align 8, !tbaa !27
  %141 = load double, ptr %15, align 8, !tbaa !9
  %142 = fsub double 1.000000e+00, %141
  %143 = getelementptr inbounds %struct.co2_prop, ptr %19, i32 0, i32 11
  %144 = load double, ptr %143, align 8, !tbaa !27
  %145 = fmul double %142, %144
  %146 = call double @llvm.fmuladd.f64(double %138, double %140, double %145)
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.co2_prop, ptr %147, i32 0, i32 11
  store double %146, ptr %148, align 8, !tbaa !27
  %149 = load double, ptr %15, align 8, !tbaa !9
  %150 = getelementptr inbounds %struct.co2_prop, ptr %20, i32 0, i32 12
  %151 = load double, ptr %150, align 8, !tbaa !28
  %152 = load double, ptr %15, align 8, !tbaa !9
  %153 = fsub double 1.000000e+00, %152
  %154 = getelementptr inbounds %struct.co2_prop, ptr %19, i32 0, i32 12
  %155 = load double, ptr %154, align 8, !tbaa !28
  %156 = fmul double %153, %155
  %157 = call double @llvm.fmuladd.f64(double %149, double %151, double %156)
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.co2_prop, ptr %158, i32 0, i32 12
  store double %157, ptr %159, align 8, !tbaa !28
  %160 = load double, ptr %15, align 8, !tbaa !9
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.co2_prop, ptr %161, i32 0, i32 13
  store double %160, ptr %162, align 8, !tbaa !29
  store i32 0, ptr %4, align 4
  store i32 1, ptr %21, align 4
  br label %163

163:                                              ; preds = %53, %52, %46, %41, %31
  call void @llvm.lifetime.end.p0(i64 128, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 128, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %164 = load i32, ptr %4, align 4
  ret i32 %164
}

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 speculatable willreturn memory(none) }
attributes #3 = { 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, !10, i64 112}
!12 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120}
!13 = !{!12, !10, i64 120}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!12, !10, i64 0}
!17 = !{!12, !10, i64 8}
!18 = !{!12, !10, i64 16}
!19 = !{!12, !10, i64 24}
!20 = !{!12, !10, i64 32}
!21 = !{!12, !10, i64 40}
!22 = !{!12, !10, i64 48}
!23 = !{!12, !10, i64 56}
!24 = !{!12, !10, i64 64}
!25 = !{!12, !10, i64 72}
!26 = !{!12, !10, i64 80}
!27 = !{!12, !10, i64 88}
!28 = !{!12, !10, i64 96}
!29 = !{!12, !10, i64 104}


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

%struct.co2_prop = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }

; Function Attrs: nounwind uwtable
declare dso_local void @co2_prop_calc_tr(ptr noundef, double noundef, double noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @calc_psat_t(ptr noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @td_hs(ptr noundef, ptr noundef, double noundef, double noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @hs_find_tsat(ptr noundef, ptr noundef, double noundef, double noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @co2_prop_calc_pt(ptr noundef, ptr noundef, double noundef, double noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @co2_prop_calc_hs(ptr noundef %0, double noundef %1, double noundef %2) local_unnamed_addr #0 {
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca %struct.co2_prop, align 8
  %12 = alloca %struct.co2_prop, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %12) #4
  %13 = getelementptr inbounds i8, ptr %0, i64 112
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %13, align 8, !tbaa !5
  %14 = call i32 @td_hs(ptr noundef nonnull %4, ptr noundef nonnull %5, double noundef %1, double noundef %2)
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %16, label %19

16:                                               ; preds = %3
  %17 = load double, ptr %4, align 8, !tbaa !5
  %18 = load double, ptr %5, align 8, !tbaa !5
  call void @co2_prop_calc_tr(ptr noundef nonnull %0, double noundef %17, double noundef %18)
  br label %81

19:                                               ; preds = %3
  %20 = call i32 @hs_find_tsat(ptr noundef nonnull %8, ptr noundef nonnull %9, double noundef %1, double noundef %2)
  %21 = icmp eq i32 %20, -1
  br i1 %21, label %81, label %22

22:                                               ; preds = %19
  %23 = load double, ptr %8, align 8, !tbaa !5
  %24 = call i32 @calc_psat_t(ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef nonnull %7, double noundef %23)
  %25 = icmp eq i32 %24, -1
  br i1 %25, label %81, label %26

26:                                               ; preds = %22
  %27 = load double, ptr %10, align 8, !tbaa !5
  %28 = load double, ptr %8, align 8, !tbaa !5
  %29 = call i32 @co2_prop_calc_pt(ptr noundef nonnull %11, ptr noundef nonnull %12, double noundef %27, double noundef %28)
  %30 = icmp eq i32 %29, -1
  br i1 %30, label %81, label %31

31:                                               ; preds = %26
  %32 = load double, ptr %10, align 8, !tbaa !5
  store double %32, ptr %0, align 8, !tbaa !9
  %33 = load double, ptr %8, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %0, i64 8
  store double %33, ptr %34, align 8, !tbaa !11
  %35 = load double, ptr %9, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %12, i64 16
  %37 = load double, ptr %36, align 8, !tbaa !12
  %38 = fsub double 1.000000e+00, %35
  %39 = getelementptr inbounds i8, ptr %11, i64 16
  %40 = load double, ptr %39, align 8, !tbaa !12
  %41 = fmul double %38, %40
  %42 = call double @llvm.fmuladd.f64(double %35, double %37, double %41)
  %43 = getelementptr inbounds i8, ptr %0, i64 16
  store double %42, ptr %43, align 8, !tbaa !12
  %44 = fdiv double 1.000000e+00, %42
  %45 = getelementptr inbounds i8, ptr %0, i64 24
  store double %44, ptr %45, align 8, !tbaa !13
  %46 = getelementptr inbounds i8, ptr %0, i64 32
  store double %2, ptr %46, align 8, !tbaa !14
  %47 = getelementptr inbounds i8, ptr %12, i64 40
  %48 = getelementptr inbounds i8, ptr %11, i64 40
  %49 = getelementptr inbounds i8, ptr %0, i64 40
  %50 = load <2 x double>, ptr %47, align 8, !tbaa !5
  %51 = load <2 x double>, ptr %48, align 8, !tbaa !5
  %52 = insertelement <2 x double> poison, double %38, i64 0
  %53 = shufflevector <2 x double> %52, <2 x double> poison, <2 x i32> zeroinitializer
  %54 = fmul <2 x double> %53, %51
  %55 = insertelement <2 x double> poison, double %35, i64 0
  %56 = shufflevector <2 x double> %55, <2 x double> poison, <2 x i32> zeroinitializer
  %57 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %56, <2 x double> %50, <2 x double> %54)
  store <2 x double> %57, ptr %49, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %0, i64 56
  store double %1, ptr %58, align 8, !tbaa !15
  %59 = getelementptr inbounds i8, ptr %12, i64 64
  %60 = getelementptr inbounds i8, ptr %11, i64 64
  %61 = getelementptr inbounds i8, ptr %0, i64 64
  %62 = load <2 x double>, ptr %59, align 8, !tbaa !5
  %63 = load <2 x double>, ptr %60, align 8, !tbaa !5
  %64 = fmul <2 x double> %53, %63
  %65 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %56, <2 x double> %62, <2 x double> %64)
  store <2 x double> %65, ptr %61, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %12, i64 80
  %67 = getelementptr inbounds i8, ptr %11, i64 80
  %68 = getelementptr inbounds i8, ptr %0, i64 80
  %69 = load <2 x double>, ptr %66, align 8, !tbaa !5
  %70 = load <2 x double>, ptr %67, align 8, !tbaa !5
  %71 = fmul <2 x double> %53, %70
  %72 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %56, <2 x double> %69, <2 x double> %71)
  store <2 x double> %72, ptr %68, align 8, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %12, i64 96
  %74 = load double, ptr %73, align 8, !tbaa !16
  %75 = getelementptr inbounds i8, ptr %11, i64 96
  %76 = load double, ptr %75, align 8, !tbaa !16
  %77 = fmul double %38, %76
  %78 = call double @llvm.fmuladd.f64(double %35, double %74, double %77)
  %79 = getelementptr inbounds i8, ptr %0, i64 96
  store double %78, ptr %79, align 8, !tbaa !16
  %80 = getelementptr inbounds i8, ptr %0, i64 104
  store double %35, ptr %80, align 8, !tbaa !17
  br label %81

81:                                               ; preds = %26, %22, %19, %31, %16
  %.0 = phi i32 [ 0, %16 ], [ 0, %31 ], [ -1, %19 ], [ -1, %22 ], [ -1, %26 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  ret i32 %.0
}

; 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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !6, i64 0}
!10 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 16}
!13 = !{!10, !6, i64 24}
!14 = !{!10, !6, i64 32}
!15 = !{!10, !6, i64 56}
!16 = !{!10, !6, i64 96}
!17 = !{!10, !6, i64 104}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass