; LLVM IR from InsightSoftwareConsortium/ITK :: Modules/ThirdParty/DoubleConversion/src/double-conversion (double-to-string)

; 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.double_conversion::Double" = type { i64 }
%"class.double_conversion::DoubleToStringConverter" = type { i32, ptr, ptr, i8, i32, i32, i32, i32, i32 }

@.str.3 = external hidden unnamed_addr constant [141 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [43 x i8], align 1
@__PRETTY_FUNCTION__._ZNK17double_conversion23DoubleToStringConverter13ToExponentialEdiPNS_13StringBuilderE = external hidden unnamed_addr constant [99 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK17double_conversion23DoubleToStringConverter19HandleSpecialValuesEdPNS_13StringBuilderE(ptr noundef nonnull align 8 dereferenceable(48), double noundef, ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17double_conversion6DoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(8), double noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17double_conversion13StringBuilder12AddCharacterEc(ptr noundef nonnull align 8 dereferenceable(20), i8 noundef signext) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK17double_conversion23DoubleToStringConverter31CreateExponentialRepresentationEPKciiPNS_13StringBuilderE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK17double_conversion6Double9IsSpecialEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17double_conversion23DoubleToStringConverter13DoubleToAsciiEdNS0_8DtoaModeEiPciPbPiS4_(double noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK17double_conversion23DoubleToStringConverter13ToExponentialEdiPNS_13StringBuilderE(ptr noundef nonnull align 8 dereferenceable(48) %0, double noundef %1, i32 noundef %2, ptr noundef %3) #1 align 2 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca %"class.double_conversion::Double", align 8
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca [122 x i8], align 16
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i8, align 1
  %18 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store double %1, ptr %7, align 8, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !11
  store ptr %3, ptr %9, align 8, !tbaa !5
  %19 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %20 = load double, ptr %7, align 8, !tbaa !9
  call void @_ZN17double_conversion6DoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(8) %10, double noundef %20)
  %21 = call noundef zeroext i1 @_ZNK17double_conversion6Double9IsSpecialEv(ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br i1 %21, label %22, label %26

22:                                               ; preds = %4
  %23 = load double, ptr %7, align 8, !tbaa !9
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = call noundef zeroext i1 @_ZNK17double_conversion23DoubleToStringConverter19HandleSpecialValuesEdPNS_13StringBuilderE(ptr noundef nonnull align 8 dereferenceable(48) %19, double noundef %23, ptr noundef %24)
  store i1 %25, ptr %5, align 1
  br label %94

26:                                               ; preds = %4
  %27 = load i32, ptr %8, align 4, !tbaa !11
  %28 = icmp slt i32 %27, -1
  br i1 %28, label %29, label %30

29:                                               ; preds = %26
  store i1 false, ptr %5, align 1
  br label %94

30:                                               ; preds = %26
  %31 = load i32, ptr %8, align 4, !tbaa !11
  %32 = icmp sgt i32 %31, 120
  br i1 %32, label %33, label %34

33:                                               ; preds = %30
  store i1 false, ptr %5, align 1
  br label %94

34:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 122, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 122, ptr %14) #5
  %35 = getelementptr inbounds [122 x i8], ptr %14, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %35, i8 0, i64 122, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %36 = load i32, ptr %8, align 4, !tbaa !11
  %37 = icmp eq i32 %36, -1
  br i1 %37, label %38, label %41

38:                                               ; preds = %34
  %39 = load double, ptr %7, align 8, !tbaa !9
  %40 = getelementptr inbounds [122 x i8], ptr %14, i64 0, i64 0
  call void @_ZN17double_conversion23DoubleToStringConverter13DoubleToAsciiEdNS0_8DtoaModeEiPciPbPiS4_(double noundef %39, i32 noundef 0, i32 noundef 0, ptr noundef %40, i32 noundef 122, ptr noundef %12, ptr noundef %15, ptr noundef %11)
  br label %71

41:                                               ; preds = %34
  %42 = load double, ptr %7, align 8, !tbaa !9
  %43 = load i32, ptr %8, align 4, !tbaa !11
  %44 = add nsw i32 %43, 1
  %45 = getelementptr inbounds [122 x i8], ptr %14, i64 0, i64 0
  call void @_ZN17double_conversion23DoubleToStringConverter13DoubleToAsciiEdNS0_8DtoaModeEiPciPbPiS4_(double noundef %42, i32 noundef 3, i32 noundef %44, ptr noundef %45, i32 noundef 122, ptr noundef %12, ptr noundef %15, ptr noundef %11)
  %46 = load i32, ptr %15, align 4, !tbaa !11
  %47 = load i32, ptr %8, align 4, !tbaa !11
  %48 = add nsw i32 %47, 1
  %49 = icmp sle i32 %46, %48
  br i1 %49, label %50, label %51

50:                                               ; preds = %41
  br label %53

51:                                               ; preds = %41
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.3, i32 noundef 281, ptr noundef @__PRETTY_FUNCTION__._ZNK17double_conversion23DoubleToStringConverter13ToExponentialEdiPNS_13StringBuilderE) #6
  unreachable

52:                                               ; No predecessors!
  br label %53

53:                                               ; preds = %52, %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %54 = load i32, ptr %15, align 4, !tbaa !11
  store i32 %54, ptr %16, align 4, !tbaa !11
  br label %55

55:                                               ; preds = %65, %53
  %56 = load i32, ptr %16, align 4, !tbaa !11
  %57 = load i32, ptr %8, align 4, !tbaa !11
  %58 = add nsw i32 %57, 1
  %59 = icmp slt i32 %56, %58
  br i1 %59, label %61, label %60

60:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %68

61:                                               ; preds = %55
  %62 = load i32, ptr %16, align 4, !tbaa !11
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [122 x i8], ptr %14, i64 0, i64 %63
  store i8 48, ptr %64, align 1, !tbaa !13
  br label %65

65:                                               ; preds = %61
  %66 = load i32, ptr %16, align 4, !tbaa !11
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %16, align 4, !tbaa !11
  br label %55, !llvm.loop !14

68:                                               ; preds = %60
  %69 = load i32, ptr %8, align 4, !tbaa !11
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %15, align 4, !tbaa !11
  br label %71

71:                                               ; preds = %68, %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  %72 = getelementptr inbounds %"class.double_conversion::DoubleToStringConverter", ptr %19, i32 0, i32 0
  %73 = load i32, ptr %72, align 8, !tbaa !16
  %74 = and i32 %73, 8
  %75 = icmp ne i32 %74, 0
  %76 = zext i1 %75 to i8
  store i8 %76, ptr %17, align 1, !tbaa !18
  %77 = load i8, ptr %12, align 1, !tbaa !18, !range !20, !noundef !21
  %78 = trunc i8 %77 to i1
  br i1 %78, label %79, label %87

79:                                               ; preds = %71
  %80 = load double, ptr %7, align 8, !tbaa !9
  %81 = fcmp une double %80, 0.000000e+00
  br i1 %81, label %85, label %82

82:                                               ; preds = %79
  %83 = load i8, ptr %17, align 1, !tbaa !18, !range !20, !noundef !21
  %84 = trunc i8 %83 to i1
  br i1 %84, label %87, label %85

85:                                               ; preds = %82, %79
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN17double_conversion13StringBuilder12AddCharacterEc(ptr noundef nonnull align 8 dereferenceable(20) %86, i8 noundef signext 45)
  br label %87

87:                                               ; preds = %85, %82, %71
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %88 = load i32, ptr %11, align 4, !tbaa !11
  %89 = sub nsw i32 %88, 1
  store i32 %89, ptr %18, align 4, !tbaa !11
  %90 = getelementptr inbounds [122 x i8], ptr %14, i64 0, i64 0
  %91 = load i32, ptr %15, align 4, !tbaa !11
  %92 = load i32, ptr %18, align 4, !tbaa !11
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNK17double_conversion23DoubleToStringConverter31CreateExponentialRepresentationEPKciiPNS_13StringBuilderE(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef %90, i32 noundef %91, i32 noundef %92, ptr noundef %93)
  store i1 true, ptr %5, align 1
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 122, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %94

94:                                               ; preds = %87, %33, %29, %22
  %95 = load i1, ptr %5, align 1
  ret i1 %95
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
attributes #6 = { noreturn 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !12, i64 0}
!17 = !{!"_ZTSN17double_conversion23DoubleToStringConverterE", !12, i64 0, !6, i64 8, !6, i64 16, !7, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44}
!18 = !{!19, !19, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}


; 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.double_conversion::Double" = type { i64 }

@.str.3 = external hidden unnamed_addr constant [141 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [43 x i8], align 1
@__PRETTY_FUNCTION__._ZNK17double_conversion23DoubleToStringConverter13ToExponentialEdiPNS_13StringBuilderE = external hidden unnamed_addr constant [99 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK17double_conversion23DoubleToStringConverter19HandleSpecialValuesEdPNS_13StringBuilderE(ptr noundef nonnull align 8 dereferenceable(48), double noundef, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17double_conversion6DoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(8), double noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17double_conversion13StringBuilder12AddCharacterEc(ptr noundef nonnull align 8 dereferenceable(20), i8 noundef signext) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK17double_conversion23DoubleToStringConverter31CreateExponentialRepresentationEPKciiPNS_13StringBuilderE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK17double_conversion6Double9IsSpecialEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17double_conversion23DoubleToStringConverter13DoubleToAsciiEdNS0_8DtoaModeEiPciPbPiS4_(double noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK17double_conversion23DoubleToStringConverter13ToExponentialEdiPNS_13StringBuilderE(ptr noundef nonnull align 8 dereferenceable(48) %0, double noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #1 align 2 {
  %5 = alloca %"class.double_conversion::Double", align 8
  %6 = alloca i32, align 4
  %7 = alloca i8, align 1
  %8 = alloca [122 x i8], align 16
  %9 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  call void @_ZN17double_conversion6DoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(8) %5, double noundef %1)
  %10 = call noundef zeroext i1 @_ZNK17double_conversion6Double9IsSpecialEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %10, label %11, label %13

11:                                               ; preds = %4
  %12 = call noundef zeroext i1 @_ZNK17double_conversion23DoubleToStringConverter19HandleSpecialValuesEdPNS_13StringBuilderE(ptr noundef nonnull align 8 dereferenceable(48) %0, double noundef %1, ptr noundef %3)
  br label %37

13:                                               ; preds = %4
  %14 = add i32 %2, -121
  %or.cond = icmp ult i32 %14, -122
  br i1 %or.cond, label %37, label %15

15:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 122, ptr nonnull %8) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(122) %8, i8 0, i64 122, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  %16 = icmp eq i32 %2, -1
  br i1 %16, label %17, label %18

17:                                               ; preds = %15
  call void @_ZN17double_conversion23DoubleToStringConverter13DoubleToAsciiEdNS0_8DtoaModeEiPciPbPiS4_(double noundef %1, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %8, i32 noundef 122, ptr noundef nonnull %7, ptr noundef nonnull %9, ptr noundef nonnull %6)
  br label %26

18:                                               ; preds = %15
  %19 = add nuw nsw i32 %2, 1
  call void @_ZN17double_conversion23DoubleToStringConverter13DoubleToAsciiEdNS0_8DtoaModeEiPciPbPiS4_(double noundef %1, i32 noundef 3, i32 noundef %19, ptr noundef nonnull %8, i32 noundef 122, ptr noundef nonnull %7, ptr noundef nonnull %9, ptr noundef nonnull %6)
  %20 = load i32, ptr %9, align 4, !tbaa !5
  %.not = icmp sgt i32 %20, %19
  br i1 %.not, label %25, label %.preheader

.preheader:                                       ; preds = %18
  %.not2528 = icmp sgt i32 %20, %2
  br i1 %.not2528, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader
  %21 = sext i32 %20 to i64
  %scevgep = getelementptr i8, ptr %8, i64 %21
  %22 = sub i32 %2, %20
  %23 = zext i32 %22 to i64
  %24 = add nuw nsw i64 %23, 1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1) %scevgep, i8 48, i64 %24, i1 false), !tbaa !9
  br label %._crit_edge

25:                                               ; preds = %18
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.3, i32 noundef 281, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK17double_conversion23DoubleToStringConverter13ToExponentialEdiPNS_13StringBuilderE) #6
  unreachable

._crit_edge:                                      ; preds = %.lr.ph.preheader, %.preheader
  store i32 %19, ptr %9, align 4, !tbaa !5
  br label %26

26:                                               ; preds = %._crit_edge, %17
  %27 = load i32, ptr %0, align 8, !tbaa !10
  %28 = and i32 %27, 8
  %.not26 = icmp eq i32 %28, 0
  %29 = load i8, ptr %7, align 1, !tbaa !13, !range !15, !noundef !16
  %30 = trunc nuw i8 %29 to i1
  %31 = fcmp une double %1, 0.000000e+00
  %brmerge = select i1 %31, i1 true, i1 %.not26
  %or.cond27 = select i1 %30, i1 %brmerge, i1 false
  br i1 %or.cond27, label %32, label %33

32:                                               ; preds = %26
  call void @_ZN17double_conversion13StringBuilder12AddCharacterEc(ptr noundef nonnull align 8 dereferenceable(20) %3, i8 noundef signext 45)
  br label %33

33:                                               ; preds = %32, %26
  %34 = load i32, ptr %6, align 4, !tbaa !5
  %35 = add nsw i32 %34, -1
  %36 = load i32, ptr %9, align 4, !tbaa !5
  call void @_ZNK17double_conversion23DoubleToStringConverter31CreateExponentialRepresentationEPKciiPNS_13StringBuilderE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull %8, i32 noundef %36, i32 noundef %35, ptr noundef %3)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 122, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br label %37

37:                                               ; preds = %13, %33, %11
  %.0 = phi i1 [ %12, %11 ], [ true, %33 ], [ false, %13 ]
  ret i1 %.0
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 0}
!11 = !{!"_ZTSN17double_conversion23DoubleToStringConverterE", !6, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass