; LLVM IR from iyinoluwamt/Tensorframe :: main/ios/Pods/DoubleConversion/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 { [128 x i32], %"class.double_conversion::Vector", i32, i32 }
%"class.double_conversion::Vector" = type <{ ptr, i32, [4 x i8] }>

@.str.1 = external hidden unnamed_addr constant [116 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__._ZN17double_conversion6Bignum9AddBignumERKS0_ = external hidden unnamed_addr constant [58 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) #1 align 2

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

; 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 void @_ZN17double_conversion6Bignum14EnsureCapacityEi(ptr noundef nonnull align 8 dereferenceable(536), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17double_conversion6Bignum9AddBignumERKS0_(ptr noundef nonnull align 8 dereferenceable(536) %0, ptr noundef nonnull align 8 dereferenceable(536) %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  %11 = call noundef zeroext i1 @_ZNK17double_conversion6Bignum9IsClampedEv(ptr noundef nonnull align 8 dereferenceable(536) %10)
  br i1 %11, label %12, label %13

12:                                               ; preds = %2
  br label %15

13:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__._ZN17double_conversion6Bignum9AddBignumERKS0_) #4
  unreachable

14:                                               ; No predecessors!
  br label %15

15:                                               ; preds = %14, %12
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = call noundef zeroext i1 @_ZNK17double_conversion6Bignum9IsClampedEv(ptr noundef nonnull align 8 dereferenceable(536) %16)
  br i1 %17, label %18, label %19

18:                                               ; preds = %15
  br label %21

19:                                               ; preds = %15
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 171, ptr noundef @__PRETTY_FUNCTION__._ZN17double_conversion6Bignum9AddBignumERKS0_) #4
  unreachable

20:                                               ; No predecessors!
  br label %21

21:                                               ; preds = %20, %18
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN17double_conversion6Bignum5AlignERKS0_(ptr noundef nonnull align 8 dereferenceable(536) %10, ptr noundef nonnull align 8 dereferenceable(536) %22)
  %23 = call noundef i32 @_ZNK17double_conversion6Bignum11BigitLengthEv(ptr noundef nonnull align 8 dereferenceable(536) %10)
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = call noundef i32 @_ZNK17double_conversion6Bignum11BigitLengthEv(ptr noundef nonnull align 8 dereferenceable(536) %24)
  %26 = call noundef i32 @_ZN17double_conversionL3MaxIiEET_S1_S1_(i32 noundef %23, i32 noundef %25)
  %27 = add nsw i32 1, %26
  %28 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %10, i32 0, i32 3
  %29 = load i32, ptr %28, align 4, !tbaa !9
  %30 = sub nsw i32 %27, %29
  call void @_ZN17double_conversion6Bignum14EnsureCapacityEi(ptr noundef nonnull align 8 dereferenceable(536) %10, i32 noundef %30)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %31, i32 0, i32 3
  %33 = load i32, ptr %32, align 4, !tbaa !9
  %34 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %10, i32 0, i32 3
  %35 = load i32, ptr %34, align 4, !tbaa !9
  %36 = sub nsw i32 %33, %35
  store i32 %36, ptr %6, align 4, !tbaa !13
  %37 = load i32, ptr %6, align 4, !tbaa !13
  %38 = icmp sge i32 %37, 0
  br i1 %38, label %39, label %40

39:                                               ; preds = %21
  br label %42

40:                                               ; preds = %21
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 192, ptr noundef @__PRETTY_FUNCTION__._ZN17double_conversion6Bignum9AddBignumERKS0_) #4
  unreachable

41:                                               ; No predecessors!
  br label %42

42:                                               ; preds = %41, %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !13
  br label %43

43:                                               ; preds = %72, %42
  %44 = load i32, ptr %7, align 4, !tbaa !13
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %45, i32 0, i32 2
  %47 = load i32, ptr %46, align 8, !tbaa !14
  %48 = icmp slt i32 %44, %47
  br i1 %48, label %50, label %49

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

50:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %51 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %10, i32 0, i32 1
  %52 = load i32, ptr %6, align 4, !tbaa !13
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12) %51, i32 noundef %52)
  %54 = load i32, ptr %53, align 4, !tbaa !13
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %55, i32 0, i32 1
  %57 = load i32, ptr %7, align 4, !tbaa !13
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12) %56, i32 noundef %57)
  %59 = load i32, ptr %58, align 4, !tbaa !13
  %60 = add i32 %54, %59
  %61 = load i32, ptr %5, align 4, !tbaa !13
  %62 = add i32 %60, %61
  store i32 %62, ptr %8, align 4, !tbaa !13
  %63 = load i32, ptr %8, align 4, !tbaa !13
  %64 = and i32 %63, 268435455
  %65 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %10, i32 0, i32 1
  %66 = load i32, ptr %6, align 4, !tbaa !13
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12) %65, i32 noundef %66)
  store i32 %64, ptr %67, align 4, !tbaa !13
  %68 = load i32, ptr %8, align 4, !tbaa !13
  %69 = lshr i32 %68, 28
  store i32 %69, ptr %5, align 4, !tbaa !13
  %70 = load i32, ptr %6, align 4, !tbaa !13
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %72

72:                                               ; preds = %50
  %73 = load i32, ptr %7, align 4, !tbaa !13
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %7, align 4, !tbaa !13
  br label %43, !llvm.loop !15

75:                                               ; preds = %49
  br label %76

76:                                               ; preds = %79, %75
  %77 = load i32, ptr %5, align 4, !tbaa !13
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %95

79:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %80 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %10, i32 0, i32 1
  %81 = load i32, ptr %6, align 4, !tbaa !13
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12) %80, i32 noundef %81)
  %83 = load i32, ptr %82, align 4, !tbaa !13
  %84 = load i32, ptr %5, align 4, !tbaa !13
  %85 = add i32 %83, %84
  store i32 %85, ptr %9, align 4, !tbaa !13
  %86 = load i32, ptr %9, align 4, !tbaa !13
  %87 = and i32 %86, 268435455
  %88 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %10, i32 0, i32 1
  %89 = load i32, ptr %6, align 4, !tbaa !13
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12) %88, i32 noundef %89)
  store i32 %87, ptr %90, align 4, !tbaa !13
  %91 = load i32, ptr %9, align 4, !tbaa !13
  %92 = lshr i32 %91, 28
  store i32 %92, ptr %5, align 4, !tbaa !13
  %93 = load i32, ptr %6, align 4, !tbaa !13
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %76, !llvm.loop !17

95:                                               ; preds = %76
  %96 = load i32, ptr %6, align 4, !tbaa !13
  %97 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %10, i32 0, i32 2
  %98 = load i32, ptr %97, align 8, !tbaa !14
  %99 = call noundef i32 @_ZN17double_conversionL3MaxIiEET_S1_S1_(i32 noundef %96, i32 noundef %98)
  %100 = getelementptr inbounds %"class.double_conversion::Bignum", ptr %10, i32 0, i32 2
  store i32 %99, ptr %100, align 8, !tbaa !14
  %101 = call noundef zeroext i1 @_ZNK17double_conversion6Bignum9IsClampedEv(ptr noundef nonnull align 8 dereferenceable(536) %10)
  br i1 %101, label %102, label %103

102:                                              ; preds = %95
  br label %105

103:                                              ; preds = %95
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 207, ptr noundef @__PRETTY_FUNCTION__._ZN17double_conversion6Bignum9AddBignumERKS0_) #4
  unreachable

104:                                              ; No predecessors!
  br label %105

105:                                              ; preds = %104, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret void
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN17double_conversionL3MaxIiEET_S1_S1_(i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK17double_conversion6Bignum11BigitLengthEv(ptr noundef nonnull align 8 dereferenceable(536)) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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, !12, i64 532}
!10 = !{!"_ZTSN17double_conversion6BignumE", !7, i64 0, !11, i64 512, !12, i64 528, !12, i64 532}
!11 = !{!"_ZTSN17double_conversion6VectorIjEE", !6, i64 0, !12, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!10, !12, i64 528}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; 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 [116 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__._ZN17double_conversion6Bignum9AddBignumERKS0_ = external hidden unnamed_addr constant [58 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12), 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 void @_ZN17double_conversion6Bignum14EnsureCapacityEi(ptr noundef nonnull align 8 dereferenceable(536), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17double_conversion6Bignum9AddBignumERKS0_(ptr noundef nonnull align 8 dereferenceable(536) %0, ptr noundef nonnull align 8 dereferenceable(536) %1) local_unnamed_addr #2 align 2 {
  %3 = tail call noundef zeroext i1 @_ZNK17double_conversion6Bignum9IsClampedEv(ptr noundef nonnull align 8 dereferenceable(536) %0)
  br i1 %3, label %5, label %4

4:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17double_conversion6Bignum9AddBignumERKS0_) #3
  unreachable

5:                                                ; preds = %2
  %6 = tail call noundef zeroext i1 @_ZNK17double_conversion6Bignum9IsClampedEv(ptr noundef nonnull align 8 dereferenceable(536) %1)
  br i1 %6, label %8, label %7

7:                                                ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 171, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17double_conversion6Bignum9AddBignumERKS0_) #3
  unreachable

8:                                                ; preds = %5
  tail call void @_ZN17double_conversion6Bignum5AlignERKS0_(ptr noundef nonnull align 8 dereferenceable(536) %0, ptr noundef nonnull align 8 dereferenceable(536) %1)
  %9 = tail call noundef i32 @_ZNK17double_conversion6Bignum11BigitLengthEv(ptr noundef nonnull align 8 dereferenceable(536) %0)
  %10 = tail call noundef i32 @_ZNK17double_conversion6Bignum11BigitLengthEv(ptr noundef nonnull align 8 dereferenceable(536) %1)
  %11 = tail call noundef i32 @_ZN17double_conversionL3MaxIiEET_S1_S1_(i32 noundef %9, i32 noundef %10)
  %12 = add nsw i32 %11, 1
  %13 = getelementptr inbounds i8, ptr %0, i64 532
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = sub i32 %12, %14
  tail call void @_ZN17double_conversion6Bignum14EnsureCapacityEi(ptr noundef nonnull align 8 dereferenceable(536) %0, i32 noundef %15)
  %16 = getelementptr inbounds i8, ptr %1, i64 532
  %17 = load i32, ptr %16, align 4, !tbaa !5
  %18 = load i32, ptr %13, align 4, !tbaa !5
  %19 = sub nsw i32 %17, %18
  %20 = icmp sgt i32 %19, -1
  br i1 %20, label %.preheader28, label %26

.preheader28:                                     ; preds = %8
  %21 = getelementptr inbounds i8, ptr %1, i64 528
  %22 = load i32, ptr %21, align 8, !tbaa !12
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader28
  %24 = getelementptr inbounds i8, ptr %0, i64 512
  %25 = getelementptr inbounds i8, ptr %1, i64 512
  br label %28

26:                                               ; preds = %8
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 192, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17double_conversion6Bignum9AddBignumERKS0_) #3
  unreachable

.preheader:                                       ; preds = %28
  %.not33 = icmp ult i32 %34, 268435456
  br i1 %.not33, label %._crit_edge, label %.lr.ph36

.lr.ph36:                                         ; preds = %.preheader
  %27 = getelementptr inbounds i8, ptr %0, i64 512
  br label %42

28:                                               ; preds = %.lr.ph, %28
  %.031 = phi i32 [ 0, %.lr.ph ], [ %37, %28 ]
  %.02430 = phi i32 [ %19, %.lr.ph ], [ %38, %28 ]
  %.02629 = phi i32 [ 0, %.lr.ph ], [ %39, %28 ]
  %29 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12) %24, i32 noundef %.02430)
  %30 = load i32, ptr %29, align 4, !tbaa !13
  %31 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12) %25, i32 noundef %.02629)
  %32 = load i32, ptr %31, align 4, !tbaa !13
  %33 = add i32 %30, %.031
  %34 = add i32 %33, %32
  %35 = and i32 %34, 268435455
  %36 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12) %24, i32 noundef %.02430)
  store i32 %35, ptr %36, align 4, !tbaa !13
  %37 = lshr i32 %34, 28
  %38 = add nuw nsw i32 %.02430, 1
  %39 = add nuw nsw i32 %.02629, 1
  %40 = load i32, ptr %21, align 8, !tbaa !12
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %28, label %.preheader, !llvm.loop !14

42:                                               ; preds = %.lr.ph36, %42
  %.135 = phi i32 [ %37, %.lr.ph36 ], [ %48, %42 ]
  %.12534 = phi i32 [ %38, %.lr.ph36 ], [ %49, %42 ]
  %43 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12) %27, i32 noundef %.12534)
  %44 = load i32, ptr %43, align 4, !tbaa !13
  %45 = add i32 %44, %.135
  %46 = and i32 %45, 268435455
  %47 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK17double_conversion6VectorIjEixEi(ptr noundef nonnull align 8 dereferenceable(12) %27, i32 noundef %.12534)
  store i32 %46, ptr %47, align 4, !tbaa !13
  %48 = lshr i32 %45, 28
  %49 = add nuw nsw i32 %.12534, 1
  %.not = icmp ult i32 %45, 268435456
  br i1 %.not, label %._crit_edge, label %42, !llvm.loop !16

._crit_edge:                                      ; preds = %42, %.preheader28, %.preheader
  %.125.lcssa = phi i32 [ %38, %.preheader ], [ %19, %.preheader28 ], [ %49, %42 ]
  %50 = getelementptr inbounds i8, ptr %0, i64 528
  %51 = load i32, ptr %50, align 8, !tbaa !12
  %52 = tail call noundef i32 @_ZN17double_conversionL3MaxIiEET_S1_S1_(i32 noundef %.125.lcssa, i32 noundef %51)
  store i32 %52, ptr %50, align 8, !tbaa !12
  %53 = tail call noundef zeroext i1 @_ZNK17double_conversion6Bignum9IsClampedEv(ptr noundef nonnull align 8 dereferenceable(536) %0)
  br i1 %53, label %55, label %54

54:                                               ; preds = %._crit_edge
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 207, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17double_conversion6Bignum9AddBignumERKS0_) #3
  unreachable

55:                                               ; preds = %._crit_edge
  ret void
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN17double_conversionL3MaxIiEET_S1_S1_(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK17double_conversion6Bignum11BigitLengthEv(ptr noundef nonnull align 8 dereferenceable(536)) local_unnamed_addr #0 align 2

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, !11, i64 532}
!6 = !{!"_ZTSN17double_conversion6BignumE", !7, i64 0, !9, i64 512, !11, i64 528, !11, i64 532}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"_ZTSN17double_conversion6VectorIjEE", !10, i64 0, !11, i64 8}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!6, !11, i64 528}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


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