; LLVM IR from gem5/gem5 :: ext/systemc/src/sysc/datatypes/fx (scfx_rep)

; 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.sc_dt::scfx_mant_ref" = type <{ ptr, i8, [7 x i8] }>
%"class.sc_dt::scfx_rep" = type <{ %"class.sc_dt::scfx_mant", i32, i32, i32, i32, i32, i8, [3 x i8] }>
%"class.sc_dt::scfx_mant" = type <{ ptr, i32, [4 x i8] }>

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt9scfx_mant5clearEv(ptr noundef nonnull align 8 dereferenceable(12)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7find_swEv(ptr noundef nonnull align 8 dereferenceable(37)) #0 align 2

; 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: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK5sc_dt8scfx_rep4sizeEv(ptr noundef nonnull align 8 dereferenceable(37)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep9resize_toEii(ptr noundef nonnull align 8 dereferenceable(37), i32 noundef, i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5sc_dt8scfx_repnwEm(i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt8scfx_repdlEPvm(ptr noundef, i64 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7set_nanEv(ptr noundef nonnull align 8 dereferenceable(37)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37), i32 noundef) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt13scfx_mant_refC2Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt5alignERKNS_8scfx_repES2_RiS3_RNS_13scfx_mant_refES5_(ptr noundef nonnull align 8 dereferenceable(37), ptr noundef nonnull align 8 dereferenceable(37), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(9)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN5sc_dtL9add_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5sc_dt11compare_absERKNS_8scfx_repES2_(ptr noundef nonnull align 8 dereferenceable(37), ptr noundef nonnull align 8 dereferenceable(37)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN5sc_dt12sub_scfx_repERKNS_8scfx_repES2_i(ptr noundef nonnull align 8 dereferenceable(37) %0, ptr noundef nonnull align 8 dereferenceable(37) %1, i32 noundef %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.sc_dt::scfx_mant_ref", align 8
  %13 = alloca %"class.sc_dt::scfx_mant_ref", align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %17 = call noundef ptr @_ZN5sc_dt8scfx_repnwEm(i64 noundef 40)
  invoke void @_ZN5sc_dt8scfx_repC1Ev(ptr noundef nonnull align 8 dereferenceable(37) %17)
          to label %18 unwind label %41

18:                                               ; preds = %3
  store ptr %17, ptr %8, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %19)
  br i1 %20, label %38, label %21

21:                                               ; preds = %18
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %22)
  br i1 %23, label %38, label %24

24:                                               ; preds = %21
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %25)
  br i1 %26, label %27, label %45

27:                                               ; preds = %24
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %28)
  br i1 %29, label %30, label %45

30:                                               ; preds = %27
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %31, i32 0, i32 2
  %33 = load i32, ptr %32, align 4, !tbaa !11
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %34, i32 0, i32 2
  %36 = load i32, ptr %35, align 4, !tbaa !11
  %37 = icmp eq i32 %33, %36
  br i1 %37, label %38, label %45

38:                                               ; preds = %30, %21, %18
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN5sc_dt8scfx_rep7set_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %39)
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %40, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %178

41:                                               ; preds = %3
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %9, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %10, align 4
  call void @_ZN5sc_dt8scfx_repdlEPvm(ptr noundef %17, i64 noundef 40) #5
  br label %180

45:                                               ; preds = %30, %27, %24
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %46)
  br i1 %47, label %48, label %54

48:                                               ; preds = %45
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %50, i32 0, i32 2
  %52 = load i32, ptr %51, align 4, !tbaa !11
  call void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37) %49, i32 noundef %52)
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %53, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %178

54:                                               ; preds = %45
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %55)
  br i1 %56, label %57, label %64

57:                                               ; preds = %54
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %59, i32 0, i32 2
  %61 = load i32, ptr %60, align 4, !tbaa !11
  %62 = mul nsw i32 -1, %61
  call void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37) %58, i32 noundef %62)
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %63, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %178

64:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  call void @_ZN5sc_dt13scfx_mant_refC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %12)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  invoke void @_ZN5sc_dt13scfx_mant_refC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %13)
          to label %65 unwind label %103

65:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = invoke noundef i32 @_ZNK5sc_dt8scfx_rep4sizeEv(ptr noundef nonnull align 8 dereferenceable(37) %66)
          to label %68 unwind label %107

68:                                               ; preds = %65
  store i32 %67, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %69, i32 0, i32 1
  %71 = load i32, ptr %70, align 8, !tbaa !16
  store i32 %71, ptr %15, align 4, !tbaa !9
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5sc_dt5alignERKNS_8scfx_repES2_RiS3_RNS_13scfx_mant_refES5_(ptr noundef nonnull align 8 dereferenceable(37) %72, ptr noundef nonnull align 8 dereferenceable(37) %73, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 8 dereferenceable(9) %12, ptr noundef nonnull align 8 dereferenceable(9) %13)
          to label %74 unwind label %111

74:                                               ; preds = %68
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = load i32, ptr %14, align 4, !tbaa !9
  invoke void @_ZN5sc_dt8scfx_rep9resize_toEii(ptr noundef nonnull align 8 dereferenceable(37) %75, i32 noundef %76, i32 noundef 0)
          to label %77 unwind label %111

77:                                               ; preds = %74
  %78 = load i32, ptr %15, align 4, !tbaa !9
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %79, i32 0, i32 1
  store i32 %78, ptr %80, align 8, !tbaa !16
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %81, i32 0, i32 2
  %83 = load i32, ptr %82, align 4, !tbaa !11
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %84, i32 0, i32 2
  %86 = load i32, ptr %85, align 4, !tbaa !11
  %87 = icmp ne i32 %83, %86
  br i1 %87, label %88, label %115

88:                                               ; preds = %77
  %89 = load i32, ptr %14, align 4, !tbaa !9
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %90, i32 0, i32 0
  %92 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %12)
          to label %93 unwind label %111

93:                                               ; preds = %88
  %94 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %13)
          to label %95 unwind label %111

95:                                               ; preds = %93
  %96 = invoke noundef i32 @_ZN5sc_dtL9add_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %89, ptr noundef nonnull align 8 dereferenceable(12) %91, ptr noundef nonnull align 8 dereferenceable(12) %92, ptr noundef nonnull align 8 dereferenceable(12) %94)
          to label %97 unwind label %111

97:                                               ; preds = %95
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %98, i32 0, i32 2
  %100 = load i32, ptr %99, align 4, !tbaa !11
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %101, i32 0, i32 2
  store i32 %100, ptr %102, align 4, !tbaa !11
  br label %168

103:                                              ; preds = %64
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %9, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %10, align 4
  br label %177

107:                                              ; preds = %65
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %9, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %10, align 4
  br label %176

111:                                              ; preds = %170, %168, %95, %93, %88, %74, %68
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %9, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %10, align 4
  br label %175

115:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = invoke noundef i32 @_ZN5sc_dt11compare_absERKNS_8scfx_repES2_(ptr noundef nonnull align 8 dereferenceable(37) %116, ptr noundef nonnull align 8 dereferenceable(37) %117)
          to label %119 unwind label %137

119:                                              ; preds = %115
  store i32 %118, ptr %16, align 4, !tbaa !9
  %120 = load i32, ptr %16, align 4, !tbaa !9
  %121 = icmp eq i32 %120, 1
  br i1 %121, label %122, label %141

122:                                              ; preds = %119
  %123 = load i32, ptr %14, align 4, !tbaa !9
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %124, i32 0, i32 0
  %126 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %12)
          to label %127 unwind label %137

127:                                              ; preds = %122
  %128 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %13)
          to label %129 unwind label %137

129:                                              ; preds = %127
  %130 = invoke noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %123, ptr noundef nonnull align 8 dereferenceable(12) %125, ptr noundef nonnull align 8 dereferenceable(12) %126, ptr noundef nonnull align 8 dereferenceable(12) %128)
          to label %131 unwind label %137

131:                                              ; preds = %129
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %132, i32 0, i32 2
  %134 = load i32, ptr %133, align 4, !tbaa !11
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %135, i32 0, i32 2
  store i32 %134, ptr %136, align 4, !tbaa !11
  br label %167

137:                                              ; preds = %160, %151, %149, %144, %129, %127, %122, %115
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %9, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %175

141:                                              ; preds = %119
  %142 = load i32, ptr %16, align 4, !tbaa !9
  %143 = icmp eq i32 %142, -1
  br i1 %143, label %144, label %160

144:                                              ; preds = %141
  %145 = load i32, ptr %14, align 4, !tbaa !9
  %146 = load ptr, ptr %8, align 8, !tbaa !5
  %147 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %146, i32 0, i32 0
  %148 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %13)
          to label %149 unwind label %137

149:                                              ; preds = %144
  %150 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %12)
          to label %151 unwind label %137

151:                                              ; preds = %149
  %152 = invoke noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %145, ptr noundef nonnull align 8 dereferenceable(12) %147, ptr noundef nonnull align 8 dereferenceable(12) %148, ptr noundef nonnull align 8 dereferenceable(12) %150)
          to label %153 unwind label %137

153:                                              ; preds = %151
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %154, i32 0, i32 2
  %156 = load i32, ptr %155, align 4, !tbaa !11
  %157 = sub nsw i32 0, %156
  %158 = load ptr, ptr %8, align 8, !tbaa !5
  %159 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %158, i32 0, i32 2
  store i32 %157, ptr %159, align 4, !tbaa !11
  br label %166

160:                                              ; preds = %141
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %161, i32 0, i32 0
  invoke void @_ZN5sc_dt9scfx_mant5clearEv(ptr noundef nonnull align 8 dereferenceable(12) %162)
          to label %163 unwind label %137

163:                                              ; preds = %160
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  %165 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %164, i32 0, i32 2
  store i32 1, ptr %165, align 4, !tbaa !11
  br label %166

166:                                              ; preds = %163, %153
  br label %167

167:                                              ; preds = %166, %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %168

168:                                              ; preds = %167, %97
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN5sc_dt8scfx_rep7find_swEv(ptr noundef nonnull align 8 dereferenceable(37) %169)
          to label %170 unwind label %111

170:                                              ; preds = %168
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = load i32, ptr %7, align 4, !tbaa !9
  invoke void @_ZN5sc_dt8scfx_rep5roundEi(ptr noundef nonnull align 8 dereferenceable(37) %171, i32 noundef %172)
          to label %173 unwind label %111

173:                                              ; preds = %170
  %174 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %174, ptr %4, align 8
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  br label %178

175:                                              ; preds = %137, %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %176

176:                                              ; preds = %175, %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %13) #5
  br label %177

177:                                              ; preds = %176, %103
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  br label %180

178:                                              ; preds = %173, %57, %48, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %179 = load ptr, ptr %4, align 8
  ret ptr %179

180:                                              ; preds = %177, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %181

181:                                              ; preds = %180
  %182 = load ptr, ptr %9, align 8
  %183 = load i32, ptr %10, align 4
  %184 = insertvalue { ptr, i32 } poison, ptr %182, 0
  %185 = insertvalue { ptr, i32 } %184, i32 %183, 1
  resume { ptr, i32 } %185
}

declare void @_ZN5sc_dt8scfx_repC1Ev(ptr)

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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, !10, i64 20}
!12 = !{!"_ZTSN5sc_dt8scfx_repE", !13, i64 0, !10, i64 16, !10, i64 20, !14, i64 24, !10, i64 28, !10, i64 32, !15, i64 36}
!13 = !{!"_ZTSN5sc_dt9scfx_mantE", !6, i64 0, !10, i64 8}
!14 = !{!"_ZTSN5sc_dt8scfx_rep5stateE", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!12, !10, i64 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"

%"class.sc_dt::scfx_mant_ref" = type <{ ptr, i8, [7 x i8] }>

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt9scfx_mant5clearEv(ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7find_swEv(ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK5sc_dt8scfx_rep4sizeEv(ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep9resize_toEii(ptr noundef nonnull align 8 dereferenceable(37), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5sc_dt8scfx_repnwEm(i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt8scfx_repdlEPvm(ptr noundef, i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7set_nanEv(ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt13scfx_mant_refC2Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt5alignERKNS_8scfx_repES2_RiS3_RNS_13scfx_mant_refES5_(ptr noundef nonnull align 8 dereferenceable(37), ptr noundef nonnull align 8 dereferenceable(37), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN5sc_dtL9add_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN5sc_dt12sub_scfx_repERKNS_8scfx_repES2_i(ptr noundef nonnull align 8 dereferenceable(37) %0, ptr noundef nonnull align 8 dereferenceable(37) %1, i32 noundef %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.sc_dt::scfx_mant_ref", align 8
  %5 = alloca %"class.sc_dt::scfx_mant_ref", align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = tail call noundef ptr @_ZN5sc_dt8scfx_repnwEm(i64 noundef 40)
  invoke void @_ZN5sc_dt8scfx_repC1Ev(ptr noundef nonnull align 8 dereferenceable(37) %8)
          to label %9 unwind label %24

9:                                                ; preds = %3
  %10 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %0)
  br i1 %10, label %23, label %11

11:                                               ; preds = %9
  %12 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %1)
  br i1 %12, label %23, label %13

13:                                               ; preds = %11
  %14 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %0)
  br i1 %14, label %15, label %26

15:                                               ; preds = %13
  %16 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %1)
  br i1 %16, label %17, label %26

17:                                               ; preds = %15
  %18 = getelementptr inbounds i8, ptr %0, i64 20
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %1, i64 20
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = icmp eq i32 %19, %21
  br i1 %22, label %23, label %26

23:                                               ; preds = %17, %11, %9
  tail call void @_ZN5sc_dt8scfx_rep7set_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %8)
  br label %86

24:                                               ; preds = %3
  %25 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN5sc_dt8scfx_repdlEPvm(ptr noundef %8, i64 noundef 40) #5
  br label %87

26:                                               ; preds = %17, %15, %13
  %27 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %0)
  br i1 %27, label %28, label %31

28:                                               ; preds = %26
  %29 = getelementptr inbounds i8, ptr %0, i64 20
  %30 = load i32, ptr %29, align 4, !tbaa !5
  tail call void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37) %8, i32 noundef %30)
  br label %86

31:                                               ; preds = %26
  %32 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %1)
  br i1 %32, label %33, label %37

33:                                               ; preds = %31
  %34 = getelementptr inbounds i8, ptr %1, i64 20
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = sub nsw i32 0, %35
  tail call void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37) %8, i32 noundef %36)
  br label %86

37:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @_ZN5sc_dt13scfx_mant_refC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  call void @_ZN5sc_dt13scfx_mant_refC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %5)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %38 = invoke noundef i32 @_ZNK5sc_dt8scfx_rep4sizeEv(ptr noundef nonnull align 8 dereferenceable(37) %0)
          to label %39 unwind label %57

39:                                               ; preds = %37
  store i32 %38, ptr %6, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  %40 = getelementptr inbounds i8, ptr %0, i64 16
  %41 = load i32, ptr %40, align 8, !tbaa !15
  store i32 %41, ptr %7, align 4, !tbaa !14
  invoke void @_ZN5sc_dt5alignERKNS_8scfx_repES2_RiS3_RNS_13scfx_mant_refES5_(ptr noundef nonnull align 8 dereferenceable(37) %0, ptr noundef nonnull align 8 dereferenceable(37) %1, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 8 dereferenceable(9) %4, ptr noundef nonnull align 8 dereferenceable(9) %5)
          to label %42 unwind label %59

42:                                               ; preds = %39
  %43 = load i32, ptr %6, align 4, !tbaa !14
  invoke void @_ZN5sc_dt8scfx_rep9resize_toEii(ptr noundef nonnull align 8 dereferenceable(37) %8, i32 noundef %43, i32 noundef 0)
          to label %44 unwind label %59

44:                                               ; preds = %42
  %45 = load i32, ptr %7, align 4, !tbaa !14
  %46 = getelementptr inbounds i8, ptr %8, i64 16
  store i32 %45, ptr %46, align 8, !tbaa !15
  %47 = getelementptr inbounds i8, ptr %0, i64 20
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %1, i64 20
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %.not = icmp eq i32 %48, %50
  br i1 %.not, label %61, label %51

51:                                               ; preds = %44
  %52 = load i32, ptr %6, align 4, !tbaa !14
  %53 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %4)
  %54 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %5)
  %55 = call noundef i32 @_ZN5sc_dtL9add_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %52, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %53, ptr noundef nonnull align 8 dereferenceable(12) %54)
  %56 = load i32, ptr %47, align 4, !tbaa !5
  br label %80

57:                                               ; preds = %37
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %85

59:                                               ; preds = %82, %80, %42, %39
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %84

61:                                               ; preds = %44
  %62 = invoke noundef i32 @_ZN5sc_dt11compare_absERKNS_8scfx_repES2_(ptr noundef nonnull align 8 dereferenceable(37) %0, ptr noundef nonnull align 8 dereferenceable(37) %1)
          to label %63 unwind label %70

63:                                               ; preds = %61
  switch i32 %62, label %79 [
    i32 1, label %64
    i32 -1, label %72
  ]

64:                                               ; preds = %63
  %65 = load i32, ptr %6, align 4, !tbaa !14
  %66 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %4)
  %67 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %5)
  %68 = call noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %65, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %66, ptr noundef nonnull align 8 dereferenceable(12) %67)
  %69 = load i32, ptr %47, align 4, !tbaa !5
  br label %80

70:                                               ; preds = %79, %61
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %84

72:                                               ; preds = %63
  %73 = load i32, ptr %6, align 4, !tbaa !14
  %74 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %5)
  %75 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %4)
  %76 = call noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %73, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %74, ptr noundef nonnull align 8 dereferenceable(12) %75)
  %77 = load i32, ptr %49, align 4, !tbaa !5
  %78 = sub nsw i32 0, %77
  br label %80

79:                                               ; preds = %63
  invoke void @_ZN5sc_dt9scfx_mant5clearEv(ptr noundef nonnull align 8 dereferenceable(12) %8)
          to label %80 unwind label %70

80:                                               ; preds = %79, %64, %72, %51
  %.sink = phi i32 [ %69, %64 ], [ %78, %72 ], [ %56, %51 ], [ 1, %79 ]
  %81 = getelementptr inbounds i8, ptr %8, i64 20
  store i32 %.sink, ptr %81, align 4, !tbaa !5
  invoke void @_ZN5sc_dt8scfx_rep7find_swEv(ptr noundef nonnull align 8 dereferenceable(37) %8)
          to label %82 unwind label %59

82:                                               ; preds = %80
  invoke void @_ZN5sc_dt8scfx_rep5roundEi(ptr noundef nonnull align 8 dereferenceable(37) %8, i32 noundef %2)
          to label %83 unwind label %59

83:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  br label %86

84:                                               ; preds = %70, %59
  %.pn = phi { ptr, i32 } [ %60, %59 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br label %85

85:                                               ; preds = %84, %57
  %.pn.pn = phi { ptr, i32 } [ %.pn, %84 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  br label %87

86:                                               ; preds = %83, %33, %28, %23
  ret ptr %8

87:                                               ; preds = %85, %24
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %85 ], [ %25, %24 ]
  resume { ptr, i32 } %.pn.pn.pn
}

declare void @_ZN5sc_dt8scfx_repC1Ev(ptr) local_unnamed_addr

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass