; LLVM IR from tangjz/acm-icpc :: codeforces/complete (2C)

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

@x = external dso_local global [3 x double], align 16
@y = external dso_local global [3 x double], align 16
@r = external dso_local global [3 x double], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z1fdd(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: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca i8, align 1
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  store double 0.000000e+00, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store double 0.000000e+00, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store double 1.000000e+00, ptr %5, align 8, !tbaa !5
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %7

7:                                                ; preds = %35, %0
  %8 = load i32, ptr %2, align 4, !tbaa !9
  %9 = icmp slt i32 %8, 3
  br i1 %9, label %10, label %38

10:                                               ; preds = %7
  %11 = load i32, ptr %2, align 4, !tbaa !9
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [3 x double], ptr @x, i64 0, i64 %12
  %14 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %15 = load i32, ptr %2, align 4, !tbaa !9
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [3 x double], ptr @y, i64 0, i64 %16
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %19 = load i32, ptr %2, align 4, !tbaa !9
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [3 x double], ptr @r, i64 0, i64 %20
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %23 = load i32, ptr %2, align 4, !tbaa !9
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [3 x double], ptr @x, i64 0, i64 %24
  %26 = load double, ptr %25, align 8, !tbaa !5
  %27 = load double, ptr %3, align 8, !tbaa !5
  %28 = fadd double %27, %26
  store double %28, ptr %3, align 8, !tbaa !5
  %29 = load i32, ptr %2, align 4, !tbaa !9
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [3 x double], ptr @y, i64 0, i64 %30
  %32 = load double, ptr %31, align 8, !tbaa !5
  %33 = load double, ptr %4, align 8, !tbaa !5
  %34 = fadd double %33, %32
  store double %34, ptr %4, align 8, !tbaa !5
  br label %35

35:                                               ; preds = %10
  %36 = load i32, ptr %2, align 4, !tbaa !9
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %2, align 4, !tbaa !9
  br label %7, !llvm.loop !11

38:                                               ; preds = %7
  %39 = load double, ptr %3, align 8, !tbaa !5
  %40 = fdiv double %39, 3.000000e+00
  store double %40, ptr %3, align 8, !tbaa !5
  %41 = load double, ptr %4, align 8, !tbaa !5
  %42 = fdiv double %41, 3.000000e+00
  store double %42, ptr %4, align 8, !tbaa !5
  br label %43

43:                                               ; preds = %110, %38
  %44 = load double, ptr %5, align 8, !tbaa !5
  %45 = fcmp ogt double %44, 1.000000e-05
  br i1 %45, label %46, label %111

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  store i8 0, ptr %6, align 1, !tbaa !13
  %47 = load double, ptr %3, align 8, !tbaa !5
  %48 = load double, ptr %5, align 8, !tbaa !5
  %49 = fadd double %47, %48
  %50 = load double, ptr %4, align 8, !tbaa !5
  %51 = call noundef double @_Z1fdd(double noundef %49, double noundef %50)
  %52 = load double, ptr %3, align 8, !tbaa !5
  %53 = load double, ptr %4, align 8, !tbaa !5
  %54 = call noundef double @_Z1fdd(double noundef %52, double noundef %53)
  %55 = fcmp olt double %51, %54
  br i1 %55, label %56, label %60

56:                                               ; preds = %46
  store i8 1, ptr %6, align 1, !tbaa !13
  %57 = load double, ptr %5, align 8, !tbaa !5
  %58 = load double, ptr %3, align 8, !tbaa !5
  %59 = fadd double %58, %57
  store double %59, ptr %3, align 8, !tbaa !5
  br label %75

60:                                               ; preds = %46
  %61 = load double, ptr %3, align 8, !tbaa !5
  %62 = load double, ptr %5, align 8, !tbaa !5
  %63 = fsub double %61, %62
  %64 = load double, ptr %4, align 8, !tbaa !5
  %65 = call noundef double @_Z1fdd(double noundef %63, double noundef %64)
  %66 = load double, ptr %3, align 8, !tbaa !5
  %67 = load double, ptr %4, align 8, !tbaa !5
  %68 = call noundef double @_Z1fdd(double noundef %66, double noundef %67)
  %69 = fcmp olt double %65, %68
  br i1 %69, label %70, label %74

70:                                               ; preds = %60
  store i8 1, ptr %6, align 1, !tbaa !13
  %71 = load double, ptr %5, align 8, !tbaa !5
  %72 = load double, ptr %3, align 8, !tbaa !5
  %73 = fsub double %72, %71
  store double %73, ptr %3, align 8, !tbaa !5
  br label %74

74:                                               ; preds = %70, %60
  br label %75

75:                                               ; preds = %74, %56
  %76 = load double, ptr %3, align 8, !tbaa !5
  %77 = load double, ptr %4, align 8, !tbaa !5
  %78 = load double, ptr %5, align 8, !tbaa !5
  %79 = fadd double %77, %78
  %80 = call noundef double @_Z1fdd(double noundef %76, double noundef %79)
  %81 = load double, ptr %3, align 8, !tbaa !5
  %82 = load double, ptr %4, align 8, !tbaa !5
  %83 = call noundef double @_Z1fdd(double noundef %81, double noundef %82)
  %84 = fcmp olt double %80, %83
  br i1 %84, label %85, label %89

85:                                               ; preds = %75
  store i8 1, ptr %6, align 1, !tbaa !13
  %86 = load double, ptr %5, align 8, !tbaa !5
  %87 = load double, ptr %4, align 8, !tbaa !5
  %88 = fadd double %87, %86
  store double %88, ptr %4, align 8, !tbaa !5
  br label %104

89:                                               ; preds = %75
  %90 = load double, ptr %3, align 8, !tbaa !5
  %91 = load double, ptr %4, align 8, !tbaa !5
  %92 = load double, ptr %5, align 8, !tbaa !5
  %93 = fsub double %91, %92
  %94 = call noundef double @_Z1fdd(double noundef %90, double noundef %93)
  %95 = load double, ptr %3, align 8, !tbaa !5
  %96 = load double, ptr %4, align 8, !tbaa !5
  %97 = call noundef double @_Z1fdd(double noundef %95, double noundef %96)
  %98 = fcmp olt double %94, %97
  br i1 %98, label %99, label %103

99:                                               ; preds = %89
  store i8 1, ptr %6, align 1, !tbaa !13
  %100 = load double, ptr %5, align 8, !tbaa !5
  %101 = load double, ptr %4, align 8, !tbaa !5
  %102 = fsub double %101, %100
  store double %102, ptr %4, align 8, !tbaa !5
  br label %103

103:                                              ; preds = %99, %89
  br label %104

104:                                              ; preds = %103, %85
  %105 = load i8, ptr %6, align 1, !tbaa !13, !range !15, !noundef !16
  %106 = trunc i8 %105 to i1
  br i1 %106, label %110, label %107

107:                                              ; preds = %104
  %108 = load double, ptr %5, align 8, !tbaa !5
  %109 = fmul double %108, 5.000000e-01
  store double %109, ptr %5, align 8, !tbaa !5
  br label %110

110:                                              ; preds = %107, %104
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  br label %43, !llvm.loop !17

111:                                              ; preds = %43
  %112 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !18
  %113 = getelementptr i8, ptr %112, i64 -24
  %114 = load i64, ptr %113, align 8
  %115 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %114
  %116 = call noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %115, i64 noundef 5)
  %117 = load double, ptr %3, align 8, !tbaa !5
  %118 = load double, ptr %4, align 8, !tbaa !5
  %119 = call noundef double @_Z1fdd(double noundef %117, double noundef %118)
  %120 = fcmp olt double %119, 1.000000e-05
  br i1 %120, label %121, label %128

121:                                              ; preds = %111
  %122 = load double, ptr %3, align 8, !tbaa !5
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %122)
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %123, i8 noundef signext 32)
  %125 = load double, ptr %4, align 8, !tbaa !5
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %124, double noundef %125)
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %128

128:                                              ; preds = %121, %111
  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 4, ptr %2) #5
  ret i32 0
}

; 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)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { inlinehint 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 #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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !12}
!18 = !{!19, !19, i64 0}
!19 = !{!"vtable pointer", !8, 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" }

@x = external dso_local global [3 x double], align 16
@y = external dso_local global [3 x double], align 16
@r = external dso_local global [3 x double], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z1fdd(double noundef, double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @x)
  %2 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) @y)
  %3 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(8) @r)
  %4 = load <2 x double>, ptr @x, align 16
  %5 = load double, ptr @y, align 16, !tbaa !5
  %6 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @x, i64 8))
  %7 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @y, i64 8))
  %8 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @r, i64 8))
  %9 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @x, i64 8), align 8
  %10 = load double, ptr getelementptr inbounds (i8, ptr @y, i64 8), align 8, !tbaa !5
  %11 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @x, i64 16))
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @y, i64 16))
  %13 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @r, i64 16))
  %14 = load double, ptr getelementptr inbounds (i8, ptr @x, i64 16), align 16, !tbaa !5
  %15 = load double, ptr getelementptr inbounds (i8, ptr @y, i64 16), align 16, !tbaa !5
  %16 = insertelement <2 x double> %4, double %5, i64 1
  %17 = fadd <2 x double> %16, zeroinitializer
  %18 = insertelement <2 x double> %9, double %10, i64 1
  %19 = fadd <2 x double> %17, %18
  %20 = insertelement <2 x double> poison, double %14, i64 0
  %21 = insertelement <2 x double> %20, double %15, i64 1
  %22 = fadd <2 x double> %19, %21
  %23 = fdiv <2 x double> %22, <double 3.000000e+00, double 3.000000e+00>
  br label %24

24:                                               ; preds = %0, %.thread
  %.04562 = phi double [ 1.000000e+00, %0 ], [ %51, %.thread ]
  %25 = phi <2 x double> [ %23, %0 ], [ %54, %.thread ]
  %26 = extractelement <2 x double> %25, i64 0
  %27 = fadd double %26, %.04562
  %28 = extractelement <2 x double> %25, i64 1
  %29 = tail call noundef double @_Z1fdd(double noundef %27, double noundef %28)
  %30 = tail call noundef double @_Z1fdd(double noundef %26, double noundef %28)
  %31 = fcmp olt double %29, %30
  br i1 %31, label %38, label %32

32:                                               ; preds = %24
  %33 = fsub double %26, %.04562
  %34 = tail call noundef double @_Z1fdd(double noundef %33, double noundef %28)
  %35 = tail call noundef double @_Z1fdd(double noundef %26, double noundef %28)
  %36 = fcmp olt double %34, %35
  br i1 %36, label %37, label %38

37:                                               ; preds = %32
  br label %38

38:                                               ; preds = %24, %32, %37
  %.251 = phi double [ %33, %37 ], [ %26, %32 ], [ %27, %24 ]
  %.0 = phi i1 [ true, %37 ], [ false, %32 ], [ true, %24 ]
  %39 = fadd double %28, %.04562
  %40 = tail call noundef double @_Z1fdd(double noundef %.251, double noundef %39)
  %41 = tail call noundef double @_Z1fdd(double noundef %.251, double noundef %28)
  %42 = fcmp olt double %40, %41
  br i1 %42, label %.thread, label %43

43:                                               ; preds = %38
  %44 = fsub double %28, %.04562
  %45 = tail call noundef double @_Z1fdd(double noundef %.251, double noundef %44)
  %46 = tail call noundef double @_Z1fdd(double noundef %.251, double noundef %28)
  %47 = fcmp olt double %45, %46
  br i1 %47, label %.thread, label %48

48:                                               ; preds = %43
  %49 = fmul double %.04562, 5.000000e-01
  br i1 %.0, label %50, label %.thread

50:                                               ; preds = %48
  br label %.thread

.thread:                                          ; preds = %43, %38, %48, %50
  %.255 = phi double [ %28, %48 ], [ %28, %50 ], [ %39, %38 ], [ %44, %43 ]
  %51 = phi double [ %49, %48 ], [ %.04562, %50 ], [ %.04562, %38 ], [ %.04562, %43 ]
  %52 = fcmp ogt double %51, 1.000000e-05
  %53 = insertelement <2 x double> poison, double %.251, i64 0
  %54 = insertelement <2 x double> %53, double %.255, i64 1
  br i1 %52, label %24, label %55, !llvm.loop !9

55:                                               ; preds = %.thread
  %56 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !11
  %57 = getelementptr i8, ptr %56, i64 -24
  %58 = load i64, ptr %57, align 8
  %59 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %58
  %60 = tail call noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %59, i64 noundef 5)
  %61 = tail call noundef double @_Z1fdd(double noundef %.251, double noundef %.255)
  %62 = fcmp olt double %61, 1.000000e-05
  br i1 %62, label %63, label %68

63:                                               ; preds = %55
  %64 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %.251)
  %65 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %64, i8 noundef signext 32)
  %66 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %65, double noundef %.255)
  %67 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %68

68:                                               ; preds = %63, %55
  ret i32 0
}

; 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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

attributes #0 = { 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 #1 = { 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 #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 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" }

!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 = !{!"vtable pointer", !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass