; LLVM IR from Izaron/ACM-ICPC :: Timus Online Judge/Volume 1/1070. Local Time (main)

; 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.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca double, align 8
  %3 = alloca double, align 8
  %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 i32, align 4
  %12 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %14 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store double 0.000000e+00, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %17 = load double, ptr %2, align 8, !tbaa !5
  store double %17, ptr %7, align 8, !tbaa !5
  br label %18

18:                                               ; preds = %58, %0
  %19 = load double, ptr %7, align 8, !tbaa !5
  %20 = load double, ptr %3, align 8, !tbaa !5
  %21 = fsub double %19, %20
  %22 = call noundef double @_ZSt3absd(double noundef %21)
  %23 = fcmp oge double %22, 1.500000e-02
  br i1 %23, label %25, label %24

24:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %61

25:                                               ; preds = %18
  %26 = load double, ptr %7, align 8, !tbaa !5
  %27 = load double, ptr %7, align 8, !tbaa !5
  %28 = fptosi double %27 to i32
  %29 = sitofp i32 %28 to double
  %30 = fsub double %26, %29
  %31 = fcmp oge double %30, 6.000000e-01
  br i1 %31, label %32, label %38

32:                                               ; preds = %25
  %33 = load double, ptr %7, align 8, !tbaa !5
  %34 = fptosi double %33 to i32
  %35 = sitofp i32 %34 to double
  store double %35, ptr %7, align 8, !tbaa !5
  %36 = load double, ptr %7, align 8, !tbaa !5
  %37 = fadd double %36, 1.000000e+00
  store double %37, ptr %7, align 8, !tbaa !5
  br label %38

38:                                               ; preds = %32, %25
  %39 = load double, ptr %7, align 8, !tbaa !5
  %40 = fcmp oge double %39, 2.400000e+01
  br i1 %40, label %41, label %42

41:                                               ; preds = %38
  store double 0.000000e+00, ptr %7, align 8, !tbaa !5
  br label %42

42:                                               ; preds = %41, %38
  %43 = load double, ptr %6, align 8, !tbaa !5
  %44 = fadd double %43, 1.000000e-02
  store double %44, ptr %6, align 8, !tbaa !5
  %45 = load double, ptr %6, align 8, !tbaa !5
  %46 = load double, ptr %6, align 8, !tbaa !5
  %47 = fptosi double %46 to i32
  %48 = sitofp i32 %47 to double
  %49 = fsub double %45, %48
  %50 = fcmp oge double %49, 6.000000e-01
  br i1 %50, label %51, label %57

51:                                               ; preds = %42
  %52 = load double, ptr %6, align 8, !tbaa !5
  %53 = fptosi double %52 to i32
  %54 = sitofp i32 %53 to double
  store double %54, ptr %6, align 8, !tbaa !5
  %55 = load double, ptr %6, align 8, !tbaa !5
  %56 = fadd double %55, 1.000000e+00
  store double %56, ptr %6, align 8, !tbaa !5
  br label %57

57:                                               ; preds = %51, %42
  br label %58

58:                                               ; preds = %57
  %59 = load double, ptr %7, align 8, !tbaa !5
  %60 = fadd double %59, 1.000000e-02
  store double %60, ptr %7, align 8, !tbaa !5
  br label %18, !llvm.loop !9

61:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  store double 0.000000e+00, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %62 = load double, ptr %4, align 8, !tbaa !5
  store double %62, ptr %9, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %103, %61
  %64 = load double, ptr %9, align 8, !tbaa !5
  %65 = load double, ptr %5, align 8, !tbaa !5
  %66 = fsub double %64, %65
  %67 = call noundef double @_ZSt3absd(double noundef %66)
  %68 = fcmp oge double %67, 1.500000e-02
  br i1 %68, label %70, label %69

69:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %106

70:                                               ; preds = %63
  %71 = load double, ptr %9, align 8, !tbaa !5
  %72 = load double, ptr %9, align 8, !tbaa !5
  %73 = fptosi double %72 to i32
  %74 = sitofp i32 %73 to double
  %75 = fsub double %71, %74
  %76 = fcmp oge double %75, 6.000000e-01
  br i1 %76, label %77, label %83

77:                                               ; preds = %70
  %78 = load double, ptr %9, align 8, !tbaa !5
  %79 = fptosi double %78 to i32
  %80 = sitofp i32 %79 to double
  store double %80, ptr %9, align 8, !tbaa !5
  %81 = load double, ptr %9, align 8, !tbaa !5
  %82 = fadd double %81, 1.000000e+00
  store double %82, ptr %9, align 8, !tbaa !5
  br label %83

83:                                               ; preds = %77, %70
  %84 = load double, ptr %9, align 8, !tbaa !5
  %85 = fcmp oge double %84, 2.400000e+01
  br i1 %85, label %86, label %87

86:                                               ; preds = %83
  store double 0.000000e+00, ptr %9, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %86, %83
  %88 = load double, ptr %8, align 8, !tbaa !5
  %89 = fadd double %88, 1.000000e-02
  store double %89, ptr %8, align 8, !tbaa !5
  %90 = load double, ptr %8, align 8, !tbaa !5
  %91 = load double, ptr %8, align 8, !tbaa !5
  %92 = fptosi double %91 to i32
  %93 = sitofp i32 %92 to double
  %94 = fsub double %90, %93
  %95 = fcmp oge double %94, 6.000000e-01
  br i1 %95, label %96, label %102

96:                                               ; preds = %87
  %97 = load double, ptr %8, align 8, !tbaa !5
  %98 = fptosi double %97 to i32
  %99 = sitofp i32 %98 to double
  store double %99, ptr %8, align 8, !tbaa !5
  %100 = load double, ptr %8, align 8, !tbaa !5
  %101 = fadd double %100, 1.000000e+00
  store double %101, ptr %8, align 8, !tbaa !5
  br label %102

102:                                              ; preds = %96, %87
  br label %103

103:                                              ; preds = %102
  %104 = load double, ptr %9, align 8, !tbaa !5
  %105 = fadd double %104, 1.000000e-02
  store double %105, ptr %9, align 8, !tbaa !5
  br label %63, !llvm.loop !11

106:                                              ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %107 = load double, ptr %6, align 8, !tbaa !5
  %108 = load double, ptr %8, align 8, !tbaa !5
  %109 = fsub double %107, %108
  %110 = call noundef double @_ZSt3absd(double noundef %109)
  store double %110, ptr %10, align 8, !tbaa !5
  %111 = load double, ptr %10, align 8, !tbaa !5
  %112 = load double, ptr %10, align 8, !tbaa !5
  %113 = fptosi double %112 to i32
  %114 = sitofp i32 %113 to double
  %115 = fsub double %111, %114
  %116 = fcmp ogt double %115, 5.900000e-01
  br i1 %116, label %117, label %122

117:                                              ; preds = %106
  %118 = load double, ptr %10, align 8, !tbaa !5
  %119 = fsub double %118, 6.000000e-01
  store double %119, ptr %10, align 8, !tbaa !5
  %120 = load double, ptr %10, align 8, !tbaa !5
  %121 = fadd double %120, 1.000000e+00
  store double %121, ptr %10, align 8, !tbaa !5
  br label %122

122:                                              ; preds = %117, %106
  %123 = load double, ptr %10, align 8, !tbaa !5
  %124 = load double, ptr %10, align 8, !tbaa !5
  %125 = fptosi double %124 to i32
  %126 = sitofp i32 %125 to double
  %127 = fsub double %123, %126
  %128 = call noundef double @_ZSt3absd(double noundef %127)
  %129 = load double, ptr %10, align 8, !tbaa !5
  %130 = load double, ptr %10, align 8, !tbaa !5
  %131 = fptosi double %130 to i32
  %132 = sitofp i32 %131 to double
  %133 = fadd double %132, 1.000000e+00
  %134 = fsub double %129, %133
  %135 = call noundef double @_ZSt3absd(double noundef %134)
  %136 = fcmp olt double %128, %135
  br i1 %136, label %137, label %141

137:                                              ; preds = %122
  %138 = load double, ptr %10, align 8, !tbaa !5
  %139 = fptosi double %138 to i32
  %140 = sitofp i32 %139 to double
  store double %140, ptr %10, align 8, !tbaa !5
  br label %146

141:                                              ; preds = %122
  %142 = load double, ptr %10, align 8, !tbaa !5
  %143 = fptosi double %142 to i32
  %144 = sitofp i32 %143 to double
  %145 = fadd double %144, 1.000000e+00
  store double %145, ptr %10, align 8, !tbaa !5
  br label %146

146:                                              ; preds = %141, %137
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %147 = load double, ptr %10, align 8, !tbaa !5
  %148 = fptosi double %147 to i32
  %149 = sdiv i32 %148, 2
  store i32 %149, ptr %11, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 5, ptr %12, align 4, !tbaa !12
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %151 = load i32, ptr %150, align 4, !tbaa !12
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %151)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  %153 = load i32, ptr %1, align 4
  ret i32 %153
}

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #3

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

attributes #0 = { mustprogress norecurse 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 = { 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 #3 = { 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 #4 = { "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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"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"

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca double, align 8
  %2 = alloca double, align 8
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %8 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %10 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %11 = load double, ptr %1, align 8, !tbaa !5
  %12 = load double, ptr %2, align 8, !tbaa !5
  %13 = fsub double %11, %12
  %14 = call noundef double @_ZSt3absd(double noundef %13)
  %15 = fcmp ult double %14, 1.500000e-02
  br i1 %15, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %0
  %.044.lcssa = phi double [ 0.000000e+00, %0 ], [ %.145, %.lr.ph ]
  %16 = load double, ptr %3, align 8, !tbaa !5
  %17 = load double, ptr %4, align 8, !tbaa !5
  %18 = fsub double %16, %17
  %19 = call noundef double @_ZSt3absd(double noundef %18)
  %20 = fcmp ult double %19, 1.500000e-02
  br i1 %20, label %._crit_edge52, label %.lr.ph51

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.04147 = phi double [ %36, %.lr.ph ], [ %11, %0 ]
  %.04446 = phi double [ %.145, %.lr.ph ], [ 0.000000e+00, %0 ]
  %21 = fadd double %.04446, 1.000000e-02
  %22 = insertelement <2 x double> poison, double %21, i64 0
  %23 = insertelement <2 x double> %22, double %.04147, i64 1
  %24 = fptosi <2 x double> %23 to <2 x i32>
  %25 = sitofp <2 x i32> %24 to <2 x double>
  %26 = extractelement <2 x double> %25, i64 1
  %27 = fadd double %26, 1.000000e+00
  %28 = fsub <2 x double> %23, %25
  %29 = fcmp ult <2 x double> %28, <double 6.000000e-01, double 6.000000e-01>
  %30 = extractelement <2 x i1> %29, i64 1
  %.142 = select i1 %30, double %.04147, double %27
  %31 = fcmp ult double %.142, 2.400000e+01
  %32 = fadd double %.142, 1.000000e-02
  %33 = extractelement <2 x double> %25, i64 0
  %34 = fadd double %33, 1.000000e+00
  %35 = extractelement <2 x i1> %29, i64 0
  %.145 = select i1 %35, double %21, double %34
  %36 = select i1 %31, double %32, double 1.000000e-02
  %37 = load double, ptr %2, align 8, !tbaa !5
  %38 = fsub double %36, %37
  %39 = call noundef double @_ZSt3absd(double noundef %38)
  %40 = fcmp ult double %39, 1.500000e-02
  br i1 %40, label %._crit_edge, label %.lr.ph, !llvm.loop !9

._crit_edge52:                                    ; preds = %.lr.ph51, %._crit_edge
  %.039.lcssa = phi double [ 0.000000e+00, %._crit_edge ], [ %.140, %.lr.ph51 ]
  %41 = fsub double %.044.lcssa, %.039.lcssa
  %42 = call noundef double @_ZSt3absd(double noundef %41)
  %43 = fptosi double %42 to i32
  %44 = sitofp i32 %43 to double
  %45 = fsub double %42, %44
  %46 = fcmp ogt double %45, 5.900000e-01
  %47 = fadd double %42, -6.000000e-01
  %48 = fadd double %47, 1.000000e+00
  %.0 = select i1 %46, double %48, double %42
  %49 = fptosi double %.0 to i32
  %50 = sitofp i32 %49 to double
  %51 = fsub double %.0, %50
  %52 = call noundef double @_ZSt3absd(double noundef %51)
  %53 = fadd double %50, 1.000000e+00
  %54 = fsub double %.0, %53
  %55 = call noundef double @_ZSt3absd(double noundef %54)
  %56 = fcmp olt double %52, %55
  %.1 = select i1 %56, double %50, double %53
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  %57 = fptosi double %.1 to i32
  %58 = sdiv i32 %57, 2
  store i32 %58, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 5, ptr %6, align 4, !tbaa !11
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %60 = load i32, ptr %59, align 4, !tbaa !11
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %60)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  ret i32 0

.lr.ph51:                                         ; preds = %._crit_edge, %.lr.ph51
  %.03749 = phi double [ %77, %.lr.ph51 ], [ %16, %._crit_edge ]
  %.03948 = phi double [ %.140, %.lr.ph51 ], [ 0.000000e+00, %._crit_edge ]
  %62 = fadd double %.03948, 1.000000e-02
  %63 = insertelement <2 x double> poison, double %62, i64 0
  %64 = insertelement <2 x double> %63, double %.03749, i64 1
  %65 = fptosi <2 x double> %64 to <2 x i32>
  %66 = sitofp <2 x i32> %65 to <2 x double>
  %67 = extractelement <2 x double> %66, i64 1
  %68 = fadd double %67, 1.000000e+00
  %69 = fsub <2 x double> %64, %66
  %70 = fcmp ult <2 x double> %69, <double 6.000000e-01, double 6.000000e-01>
  %71 = extractelement <2 x i1> %70, i64 1
  %.138 = select i1 %71, double %.03749, double %68
  %72 = fcmp ult double %.138, 2.400000e+01
  %73 = fadd double %.138, 1.000000e-02
  %74 = extractelement <2 x double> %66, i64 0
  %75 = fadd double %74, 1.000000e+00
  %76 = extractelement <2 x i1> %70, i64 0
  %.140 = select i1 %76, double %62, double %75
  %77 = select i1 %72, double %73, double 1.000000e-02
  %78 = load double, ptr %4, align 8, !tbaa !5
  %79 = fsub double %77, %78
  %80 = call noundef double @_ZSt3absd(double noundef %79)
  %81 = fcmp ult double %80, 1.500000e-02
  br i1 %81, label %._crit_edge52, label %.lr.ph51, !llvm.loop !13
}

; 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 uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #3

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

attributes #0 = { mustprogress norecurse 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 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 = { 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 #4 = { "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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass