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

; 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::Bignum" = type { i16, i16, [128 x i32] }

@.str.1 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [29 x i8], align 1
@__PRETTY_FUNCTION__._ZN17double_conversion6Bignum13SubtractTimesERKS0_i = external hidden unnamed_addr constant [73 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516), i32 noundef) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516), i32 noundef) #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN17double_conversion6Bignum5ClampEv(ptr noundef nonnull align 4 dereferenceable(516)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17double_conversion6Bignum14SubtractBignumERKS0_(ptr noundef nonnull align 4 dereferenceable(516), ptr noundef nonnull align 4 dereferenceable(516)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17double_conversion6Bignum13SubtractTimesERKS0_i(ptr noundef nonnull align 4 dereferenceable(516) %0, ptr noundef nonnull align 4 dereferenceable(516) %1, i32 noundef %2) #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %17 = load ptr, ptr %4, align 8
  %18 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %17, i32 0, i32 1
  %19 = load i16, ptr %18, align 2, !tbaa !11
  %20 = sext i16 %19 to i32
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %21, i32 0, i32 1
  %23 = load i16, ptr %22, align 2, !tbaa !11
  %24 = sext i16 %23 to i32
  %25 = icmp sle i32 %20, %24
  br i1 %25, label %26, label %27

26:                                               ; preds = %3
  br label %29

27:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.27, ptr noundef @.str.1, i32 noundef 768, ptr noundef @__PRETTY_FUNCTION__._ZN17double_conversion6Bignum13SubtractTimesERKS0_i) #4
  unreachable

28:                                               ; No predecessors!
  br label %29

29:                                               ; preds = %28, %26
  %30 = load i32, ptr %6, align 4, !tbaa !9
  %31 = icmp slt i32 %30, 3
  br i1 %31, label %32, label %44

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %40, %32
  %34 = load i32, ptr %7, align 4, !tbaa !9
  %35 = load i32, ptr %6, align 4, !tbaa !9
  %36 = icmp slt i32 %34, %35
  br i1 %36, label %38, label %37

37:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %43

38:                                               ; preds = %33
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN17double_conversion6Bignum14SubtractBignumERKS0_(ptr noundef nonnull align 4 dereferenceable(516) %17, ptr noundef nonnull align 4 dereferenceable(516) %39)
  br label %40

40:                                               ; preds = %38
  %41 = load i32, ptr %7, align 4, !tbaa !9
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %7, align 4, !tbaa !9
  br label %33, !llvm.loop !14

43:                                               ; preds = %37
  br label %138

44:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %45, i32 0, i32 1
  %47 = load i16, ptr %46, align 2, !tbaa !11
  %48 = sext i16 %47 to i32
  %49 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %17, i32 0, i32 1
  %50 = load i16, ptr %49, align 2, !tbaa !11
  %51 = sext i16 %50 to i32
  %52 = sub nsw i32 %48, %51
  store i32 %52, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %97, %44
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %55, i32 0, i32 0
  %57 = load i16, ptr %56, align 4, !tbaa !16
  %58 = sext i16 %57 to i32
  %59 = icmp slt i32 %54, %58
  br i1 %59, label %61, label %60

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

61:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %62 = load i32, ptr %6, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = load i32, ptr %10, align 4, !tbaa !9
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516) %64, i32 noundef %65)
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = mul i64 %63, %68
  store i64 %69, ptr %11, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %70 = load i32, ptr %8, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = load i64, ptr %11, align 8, !tbaa !17
  %73 = add i64 %71, %72
  store i64 %73, ptr %12, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %74 = load i32, ptr %10, align 4, !tbaa !9
  %75 = load i32, ptr %9, align 4, !tbaa !9
  %76 = add nsw i32 %74, %75
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516) %17, i32 noundef %76)
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = load i64, ptr %12, align 8, !tbaa !17
  %81 = and i64 %80, 268435455
  %82 = sub i64 %79, %81
  %83 = trunc i64 %82 to i32
  store i32 %83, ptr %13, align 4, !tbaa !9
  %84 = load i32, ptr %13, align 4, !tbaa !9
  %85 = and i32 %84, 268435455
  %86 = load i32, ptr %10, align 4, !tbaa !9
  %87 = load i32, ptr %9, align 4, !tbaa !9
  %88 = add nsw i32 %86, %87
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516) %17, i32 noundef %88)
  store i32 %85, ptr %89, align 4, !tbaa !9
  %90 = load i32, ptr %13, align 4, !tbaa !9
  %91 = lshr i32 %90, 31
  %92 = zext i32 %91 to i64
  %93 = load i64, ptr %12, align 8, !tbaa !17
  %94 = lshr i64 %93, 28
  %95 = add i64 %92, %94
  %96 = trunc i64 %95 to i32
  store i32 %96, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %97

97:                                               ; preds = %61
  %98 = load i32, ptr %10, align 4, !tbaa !9
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %10, align 4, !tbaa !9
  br label %53, !llvm.loop !19

100:                                              ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %101, i32 0, i32 0
  %103 = load i16, ptr %102, align 4, !tbaa !16
  %104 = sext i16 %103 to i32
  %105 = load i32, ptr %9, align 4, !tbaa !9
  %106 = add nsw i32 %104, %105
  store i32 %106, ptr %14, align 4, !tbaa !9
  br label %107

107:                                              ; preds = %130, %100
  %108 = load i32, ptr %14, align 4, !tbaa !9
  %109 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %17, i32 0, i32 0
  %110 = load i16, ptr %109, align 4, !tbaa !16
  %111 = sext i16 %110 to i32
  %112 = icmp slt i32 %108, %111
  br i1 %112, label %114, label %113

113:                                              ; preds = %107
  store i32 8, ptr %15, align 4
  br label %133

114:                                              ; preds = %107
  %115 = load i32, ptr %8, align 4, !tbaa !9
  %116 = icmp eq i32 %115, 0
  br i1 %116, label %117, label %118

117:                                              ; preds = %114
  store i32 1, ptr %15, align 4
  br label %133

118:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %119 = load i32, ptr %14, align 4, !tbaa !9
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516) %17, i32 noundef %119)
  %121 = load i32, ptr %120, align 4, !tbaa !9
  %122 = load i32, ptr %8, align 4, !tbaa !9
  %123 = sub i32 %121, %122
  store i32 %123, ptr %16, align 4, !tbaa !9
  %124 = load i32, ptr %16, align 4, !tbaa !9
  %125 = and i32 %124, 268435455
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516) %17, i32 noundef %126)
  store i32 %125, ptr %127, align 4, !tbaa !9
  %128 = load i32, ptr %16, align 4, !tbaa !9
  %129 = lshr i32 %128, 31
  store i32 %129, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %130

130:                                              ; preds = %118
  %131 = load i32, ptr %14, align 4, !tbaa !9
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %14, align 4, !tbaa !9
  br label %107, !llvm.loop !20

133:                                              ; preds = %117, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  %134 = load i32, ptr %15, align 4
  switch i32 %134, label %136 [
    i32 8, label %135
  ]

135:                                              ; preds = %133
  call void @_ZN17double_conversion6Bignum5ClampEv(ptr noundef nonnull align 4 dereferenceable(516) %17)
  store i32 0, ptr %15, align 4
  br label %136

136:                                              ; preds = %135, %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  %137 = load i32, ptr %15, align 4
  switch i32 %137, label %139 [
    i32 0, label %138
    i32 1, label %138
  ]

138:                                              ; preds = %136, %136, %43
  ret void

139:                                              ; preds = %136
  unreachable
}

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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn nounwind }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 2}
!12 = !{!"_ZTSN17double_conversion6BignumE", !13, i64 0, !13, i64 2, !7, i64 4}
!13 = !{!"short", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !13, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}


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

@.str.1 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [29 x i8], align 1
@__PRETTY_FUNCTION__._ZN17double_conversion6Bignum13SubtractTimesERKS0_i = external hidden unnamed_addr constant [73 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516), i32 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN17double_conversion6Bignum5ClampEv(ptr noundef nonnull align 4 dereferenceable(516)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17double_conversion6Bignum14SubtractBignumERKS0_(ptr noundef nonnull align 4 dereferenceable(516), ptr noundef nonnull align 4 dereferenceable(516)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17double_conversion6Bignum13SubtractTimesERKS0_i(ptr noundef nonnull align 4 dereferenceable(516) %0, ptr noundef nonnull align 4 dereferenceable(516) %1, i32 noundef %2) local_unnamed_addr #2 align 2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 2
  %5 = load i16, ptr %4, align 2, !tbaa !5
  %6 = sext i16 %5 to i32
  %7 = getelementptr inbounds i8, ptr %1, i64 2
  %8 = load i16, ptr %7, align 2, !tbaa !5
  %9 = sext i16 %8 to i32
  %.not = icmp sgt i16 %5, %8
  br i1 %.not, label %10, label %11

10:                                               ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.1, i32 noundef 768, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17double_conversion6Bignum13SubtractTimesERKS0_i) #3
  unreachable

11:                                               ; preds = %3
  %12 = icmp slt i32 %2, 3
  br i1 %12, label %.preheader, label %15

.preheader:                                       ; preds = %11
  %13 = icmp sgt i32 %2, 0
  br i1 %13, label %.lr.ph54, label %.loopexit

.lr.ph54:                                         ; preds = %.preheader, %.lr.ph54
  %.053 = phi i32 [ %14, %.lr.ph54 ], [ 0, %.preheader ]
  tail call void @_ZN17double_conversion6Bignum14SubtractBignumERKS0_(ptr noundef nonnull align 4 dereferenceable(516) %0, ptr noundef nonnull align 4 dereferenceable(516) %1)
  %14 = add nuw nsw i32 %.053, 1
  %exitcond.not = icmp eq i32 %14, %2
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph54, !llvm.loop !10

15:                                               ; preds = %11
  %16 = sub nsw i32 %9, %6
  %17 = load i16, ptr %1, align 4, !tbaa !12
  %18 = sext i16 %17 to i32
  %19 = icmp sgt i16 %17, 0
  br i1 %19, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %15
  %20 = zext nneg i32 %2 to i64
  br label %24

._crit_edge:                                      ; preds = %24, %15
  %.036.lcssa = phi i32 [ 0, %15 ], [ %42, %24 ]
  %.lcssa = phi i32 [ %18, %15 ], [ %45, %24 ]
  %21 = add nsw i32 %.lcssa, %16
  %22 = load i16, ptr %0, align 4, !tbaa !12
  %23 = sext i16 %22 to i32
  %.not4348 = icmp slt i32 %21, %23
  br i1 %.not4348, label %.lr.ph52, label %.critedge

24:                                               ; preds = %.lr.ph, %24
  %.03646 = phi i32 [ 0, %.lr.ph ], [ %42, %24 ]
  %.03745 = phi i32 [ 0, %.lr.ph ], [ %43, %24 ]
  %25 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516) %1, i32 noundef %.03745)
  %26 = load i32, ptr %25, align 4, !tbaa !13
  %27 = zext i32 %26 to i64
  %28 = mul nuw nsw i64 %27, %20
  %29 = zext i32 %.03646 to i64
  %30 = add nuw nsw i64 %28, %29
  %31 = add nsw i32 %.03745, %16
  %32 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516) %0, i32 noundef %31)
  %33 = load i32, ptr %32, align 4, !tbaa !13
  %34 = trunc i64 %30 to i32
  %35 = and i32 %34, 268435455
  %36 = sub i32 %33, %35
  %37 = and i32 %36, 268435455
  %38 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516) %0, i32 noundef %31)
  store i32 %37, ptr %38, align 4, !tbaa !13
  %39 = lshr i32 %36, 31
  %40 = lshr i64 %30, 28
  %41 = trunc i64 %40 to i32
  %42 = add i32 %39, %41
  %43 = add nuw nsw i32 %.03745, 1
  %44 = load i16, ptr %1, align 4, !tbaa !12
  %45 = sext i16 %44 to i32
  %46 = icmp slt i32 %43, %45
  br i1 %46, label %24, label %._crit_edge, !llvm.loop !15

.lr.ph52:                                         ; preds = %._crit_edge, %48
  %.03550 = phi i32 [ %55, %48 ], [ %21, %._crit_edge ]
  %.149 = phi i32 [ %54, %48 ], [ %.036.lcssa, %._crit_edge ]
  %47 = icmp eq i32 %.149, 0
  br i1 %47, label %.loopexit, label %48

48:                                               ; preds = %.lr.ph52
  %49 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516) %0, i32 noundef %.03550)
  %50 = load i32, ptr %49, align 4, !tbaa !13
  %51 = sub i32 %50, %.149
  %52 = and i32 %51, 268435455
  %53 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN17double_conversion6Bignum8RawBigitEi(ptr noundef nonnull align 4 dereferenceable(516) %0, i32 noundef %.03550)
  store i32 %52, ptr %53, align 4, !tbaa !13
  %54 = lshr i32 %51, 31
  %55 = add nsw i32 %.03550, 1
  %56 = load i16, ptr %0, align 4, !tbaa !12
  %57 = sext i16 %56 to i32
  %.not43 = icmp slt i32 %55, %57
  br i1 %.not43, label %.lr.ph52, label %.critedge, !llvm.loop !16

.critedge:                                        ; preds = %48, %._crit_edge
  tail call void @_ZN17double_conversion6Bignum5ClampEv(ptr noundef nonnull align 4 dereferenceable(516) %0)
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph52, %.lr.ph54, %.preheader, %.critedge
  ret void
}

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 = { 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 #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 = { 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, !7, i64 2}
!6 = !{!"_ZTSN17double_conversion6BignumE", !7, i64 0, !7, i64 2, !8, i64 4}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass