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

; 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.fabs.f64(double) #2

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

; 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 @dens_pt(ptr noundef, double noundef, double noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @co2_prop_calc_pt(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3) #0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, 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 i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store double %2, ptr %8, align 8, !tbaa !9
  store double %3, ptr %9, align 8, !tbaa !9
  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
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.co2_prop, ptr %20, i32 0, i32 14
  store double -1.000000e+00, ptr %21, align 8, !tbaa !11
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.co2_prop, ptr %22, i32 0, i32 15
  store double -1.000000e+00, ptr %23, align 8, !tbaa !13
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.co2_prop, ptr %24, i32 0, i32 14
  store double -1.000000e+00, ptr %25, align 8, !tbaa !11
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.co2_prop, ptr %26, i32 0, i32 15
  store double -1.000000e+00, ptr %27, align 8, !tbaa !13
  %28 = load double, ptr %8, align 8, !tbaa !9
  %29 = fcmp olt double %28, 0.000000e+00
  br i1 %29, label %30, label %34

30:                                               ; preds = %4
  %31 = load double, ptr %9, align 8, !tbaa !9
  %32 = fcmp olt double %31, 0.000000e+00
  br i1 %32, label %33, label %34

33:                                               ; preds = %30
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %133

34:                                               ; preds = %30, %4
  %35 = load double, ptr %8, align 8, !tbaa !9
  %36 = fcmp olt double %35, 0.000000e+00
  br i1 %36, label %37, label %57

37:                                               ; preds = %34
  %38 = load double, ptr %9, align 8, !tbaa !9
  %39 = fcmp ogt double %38, 0.000000e+00
  br i1 %39, label %40, label %57

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

45:                                               ; preds = %40
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %133

46:                                               ; preds = %40
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = load double, ptr %9, align 8, !tbaa !9
  %49 = load double, ptr %12, align 8, !tbaa !9
  call void @co2_prop_calc_tr(ptr noundef %47, double noundef %48, double noundef %49)
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = load double, ptr %9, align 8, !tbaa !9
  %52 = load double, ptr %13, align 8, !tbaa !9
  call void @co2_prop_calc_tr(ptr noundef %50, double noundef %51, double noundef %52)
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.co2_prop, ptr %53, i32 0, i32 13
  store double 0.000000e+00, ptr %54, align 8, !tbaa !16
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.co2_prop, ptr %55, i32 0, i32 13
  store double 1.000000e+00, ptr %56, align 8, !tbaa !16
  store i32 1, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %133

57:                                               ; preds = %37, %34
  %58 = load double, ptr %8, align 8, !tbaa !9
  %59 = fcmp ogt double %58, 0.000000e+00
  br i1 %59, label %60, label %86

60:                                               ; preds = %57
  %61 = load double, ptr %9, align 8, !tbaa !9
  %62 = fcmp olt double %61, 0.000000e+00
  br i1 %62, label %63, label %86

63:                                               ; preds = %60
  %64 = load double, ptr %8, align 8, !tbaa !9
  %65 = call i32 @calc_tsat_p(ptr noundef %11, ptr noundef %12, ptr noundef %13, double noundef %64)
  store i32 %65, ptr %17, align 4, !tbaa !14
  %66 = load i32, ptr %17, align 4, !tbaa !14
  %67 = icmp eq i32 %66, -1
  br i1 %67, label %68, label %69

68:                                               ; preds = %63
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %133

69:                                               ; preds = %63
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = load double, ptr %11, align 8, !tbaa !9
  %72 = load double, ptr %12, align 8, !tbaa !9
  call void @co2_prop_calc_tr(ptr noundef %70, double noundef %71, double noundef %72)
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = load double, ptr %11, align 8, !tbaa !9
  %75 = load double, ptr %13, align 8, !tbaa !9
  call void @co2_prop_calc_tr(ptr noundef %73, double noundef %74, double noundef %75)
  %76 = load double, ptr %8, align 8, !tbaa !9
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.co2_prop, ptr %77, i32 0, i32 0
  store double %76, ptr %78, align 8, !tbaa !17
  %79 = load double, ptr %8, align 8, !tbaa !9
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.co2_prop, ptr %80, i32 0, i32 0
  store double %79, ptr %81, align 8, !tbaa !17
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.co2_prop, ptr %82, i32 0, i32 13
  store double 0.000000e+00, ptr %83, align 8, !tbaa !16
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.co2_prop, ptr %84, i32 0, i32 13
  store double 1.000000e+00, ptr %85, align 8, !tbaa !16
  store i32 1, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %133

86:                                               ; preds = %60, %57
  %87 = load double, ptr %8, align 8, !tbaa !9
  %88 = call i32 @calc_tsat_p(ptr noundef %11, ptr noundef %12, ptr noundef %13, double noundef %87)
  store i32 %88, ptr %17, align 4, !tbaa !14
  %89 = load i32, ptr %17, align 4, !tbaa !14
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %122

91:                                               ; preds = %86
  %92 = load double, ptr %11, align 8, !tbaa !9
  %93 = load double, ptr %9, align 8, !tbaa !9
  %94 = fsub double %92, %93
  %95 = call double @llvm.fabs.f64(double %94)
  %96 = load double, ptr %11, align 8, !tbaa !9
  %97 = fdiv double %95, %96
  %98 = fcmp olt double %97, 1.000000e-03
  br i1 %98, label %99, label %122

99:                                               ; preds = %91
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = load double, ptr %9, align 8, !tbaa !9
  %102 = load double, ptr %12, align 8, !tbaa !9
  call void @co2_prop_calc_tr(ptr noundef %100, double noundef %101, double noundef %102)
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = load double, ptr %9, align 8, !tbaa !9
  %105 = load double, ptr %13, align 8, !tbaa !9
  call void @co2_prop_calc_tr(ptr noundef %103, double noundef %104, double noundef %105)
  %106 = load double, ptr %8, align 8, !tbaa !9
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.co2_prop, ptr %107, i32 0, i32 0
  store double %106, ptr %108, align 8, !tbaa !17
  %109 = load double, ptr %9, align 8, !tbaa !9
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.co2_prop, ptr %110, i32 0, i32 1
  store double %109, ptr %111, align 8, !tbaa !18
  %112 = load double, ptr %8, align 8, !tbaa !9
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.co2_prop, ptr %113, i32 0, i32 0
  store double %112, ptr %114, align 8, !tbaa !17
  %115 = load double, ptr %9, align 8, !tbaa !9
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.co2_prop, ptr %116, i32 0, i32 1
  store double %115, ptr %117, align 8, !tbaa !18
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.co2_prop, ptr %118, i32 0, i32 13
  store double 0.000000e+00, ptr %119, align 8, !tbaa !16
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.co2_prop, ptr %120, i32 0, i32 13
  store double 1.000000e+00, ptr %121, align 8, !tbaa !16
  store i32 1, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %133

122:                                              ; preds = %91, %86
  %123 = load double, ptr %8, align 8, !tbaa !9
  %124 = load double, ptr %9, align 8, !tbaa !9
  %125 = call i32 @dens_pt(ptr noundef %10, double noundef %123, double noundef %124)
  store i32 %125, ptr %17, align 4, !tbaa !14
  %126 = load i32, ptr %17, align 4, !tbaa !14
  %127 = icmp eq i32 %126, -1
  br i1 %127, label %128, label %129

128:                                              ; preds = %122
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %133

129:                                              ; preds = %122
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = load double, ptr %9, align 8, !tbaa !9
  %132 = load double, ptr %10, align 8, !tbaa !9
  call void @co2_prop_calc_tr(ptr noundef %130, double noundef %131, double noundef %132)
  store i32 0, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %133

133:                                              ; preds = %129, %128, %99, %69, %68, %46, %45, %33
  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
  %134 = load i32, ptr %5, align 4
  ret i32 %134
}

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 104}
!17 = !{!12, !10, i64 0}
!18 = !{!12, !10, i64 8}


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

; 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.fabs.f64(double) #2

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

; 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 @dens_pt(ptr noundef, double noundef, double noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @co2_prop_calc_pt(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3) local_unnamed_addr #0 {
  %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
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  %10 = getelementptr inbounds i8, ptr %0, i64 112
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %10, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %1, i64 112
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %11, align 8, !tbaa !5
  %12 = fcmp olt double %2, 0.000000e+00
  %13 = fcmp olt double %3, 0.000000e+00
  %or.cond = and i1 %12, %13
  br i1 %or.cond, label %56, label %14

14:                                               ; preds = %4
  %15 = fcmp ogt double %3, 0.000000e+00
  %or.cond3 = and i1 %12, %15
  br i1 %or.cond3, label %16, label %24

16:                                               ; preds = %14
  %17 = call i32 @calc_psat_t(ptr noundef nonnull %9, ptr noundef nonnull %7, ptr noundef nonnull %8, double noundef %3)
  %18 = icmp eq i32 %17, -1
  br i1 %18, label %56, label %19

19:                                               ; preds = %16
  %20 = load double, ptr %7, align 8, !tbaa !5
  call void @co2_prop_calc_tr(ptr noundef nonnull %0, double noundef %3, double noundef %20)
  %21 = load double, ptr %8, align 8, !tbaa !5
  call void @co2_prop_calc_tr(ptr noundef nonnull %1, double noundef %3, double noundef %21)
  %22 = getelementptr inbounds i8, ptr %0, i64 104
  store double 0.000000e+00, ptr %22, align 8, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %1, i64 104
  store double 1.000000e+00, ptr %23, align 8, !tbaa !9
  br label %56

24:                                               ; preds = %14
  %25 = fcmp ogt double %2, 0.000000e+00
  %or.cond5 = and i1 %25, %13
  %26 = call i32 @calc_tsat_p(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, double noundef %2)
  br i1 %or.cond5, label %27, label %36

27:                                               ; preds = %24
  %28 = icmp eq i32 %26, -1
  br i1 %28, label %56, label %29

29:                                               ; preds = %27
  %30 = load double, ptr %6, align 8, !tbaa !5
  %31 = load double, ptr %7, align 8, !tbaa !5
  call void @co2_prop_calc_tr(ptr noundef nonnull %0, double noundef %30, double noundef %31)
  %32 = load double, ptr %6, align 8, !tbaa !5
  %33 = load double, ptr %8, align 8, !tbaa !5
  call void @co2_prop_calc_tr(ptr noundef nonnull %1, double noundef %32, double noundef %33)
  store double %2, ptr %0, align 8, !tbaa !11
  store double %2, ptr %1, align 8, !tbaa !11
  %34 = getelementptr inbounds i8, ptr %0, i64 104
  store double 0.000000e+00, ptr %34, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %1, i64 104
  store double 1.000000e+00, ptr %35, align 8, !tbaa !9
  br label %56

36:                                               ; preds = %24
  %37 = icmp eq i32 %26, 0
  br i1 %37, label %38, label %51

38:                                               ; preds = %36
  %39 = load double, ptr %6, align 8, !tbaa !5
  %40 = fsub double %39, %3
  %41 = call double @llvm.fabs.f64(double %40)
  %42 = fdiv double %41, %39
  %43 = fcmp olt double %42, 1.000000e-03
  br i1 %43, label %44, label %51

44:                                               ; preds = %38
  %45 = load double, ptr %7, align 8, !tbaa !5
  call void @co2_prop_calc_tr(ptr noundef nonnull %0, double noundef %3, double noundef %45)
  %46 = load double, ptr %8, align 8, !tbaa !5
  call void @co2_prop_calc_tr(ptr noundef nonnull %1, double noundef %3, double noundef %46)
  store double %2, ptr %0, align 8, !tbaa !11
  %47 = getelementptr inbounds i8, ptr %0, i64 8
  store double %3, ptr %47, align 8, !tbaa !12
  store double %2, ptr %1, align 8, !tbaa !11
  %48 = getelementptr inbounds i8, ptr %1, i64 8
  store double %3, ptr %48, align 8, !tbaa !12
  %49 = getelementptr inbounds i8, ptr %0, i64 104
  store double 0.000000e+00, ptr %49, align 8, !tbaa !9
  %50 = getelementptr inbounds i8, ptr %1, i64 104
  store double 1.000000e+00, ptr %50, align 8, !tbaa !9
  br label %56

51:                                               ; preds = %38, %36
  %52 = call i32 @dens_pt(ptr noundef nonnull %5, double noundef %2, double noundef %3)
  %53 = icmp eq i32 %52, -1
  br i1 %53, label %56, label %54

54:                                               ; preds = %51
  %55 = load double, ptr %5, align 8, !tbaa !5
  call void @co2_prop_calc_tr(ptr noundef nonnull %0, double noundef %3, double noundef %55)
  br label %56

56:                                               ; preds = %51, %27, %16, %4, %54, %44, %29, %19
  %.0 = phi i32 [ 1, %19 ], [ 1, %29 ], [ 1, %44 ], [ 0, %54 ], [ -1, %4 ], [ -1, %16 ], [ -1, %27 ], [ -1, %51 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret i32 %.0
}

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 = { 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 104}
!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 0}
!12 = !{!10, !6, i64 8}


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