; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/misc/examples/a2901/a2901_edge.ll (ZN10a2901_edge5entryEv)

; 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::sc_uint.13" = type { %"class.sc_dt::sc_uint_base" }
%"class.sc_dt::sc_uint_base" = type { %"class.sc_dt::sc_value_base", i64, i32, i32 }
%"class.sc_dt::sc_value_base" = type { ptr }
%struct.a2901_edge = type { %"class.sc_core::sc_module", ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.sc_dt::sc_uint", %"class.sc_dt::sc_uint", %"class.sc_dt::sc_uint", %"class.sc_dt::sc_uint", %"class.sc_dt::sc_uint", %"class.sc_dt::sc_uint" }
%"class.sc_core::sc_module" = type { %"class.sc_core::sc_object", %"class.sc_core::sc_process_host", %"class.sc_core::sc_sensitive", %"class.sc_core::sc_sensitive_pos", %"class.sc_core::sc_sensitive_neg", i8, ptr, i32, ptr, ptr }
%"class.sc_core::sc_object" = type { ptr, ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::__cxx11::basic_string", ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.sc_core::sc_process_host" = type { ptr }
%"class.sc_core::sc_sensitive" = type { ptr, i32, ptr }
%"class.sc_core::sc_sensitive_pos" = type { ptr, i32, ptr }
%"class.sc_core::sc_sensitive_neg" = type { ptr, i32, ptr }
%"class.sc_dt::sc_uint" = type { %"class.sc_dt::sc_uint_base" }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10a2901_edge5entryEv(ptr noundef nonnull align 8 dereferenceable(456) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.sc_dt::sc_uint.13", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.sc_dt::sc_uint.13", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  %8 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 3
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  %10 = load ptr, ptr %9, align 8, !tbaa !37
  %11 = getelementptr inbounds ptr, ptr %10, i64 5
  %12 = load ptr, ptr %11, align 8
  %13 = call noundef nonnull align 8 dereferenceable(24) ptr %12(ptr noundef nonnull align 8 dereferenceable(232) %9)
  %14 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 8, i32 noundef 6)
  %15 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 11
  %16 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(28) %14)
  %17 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 3
  %18 = load ptr, ptr %17, align 8, !tbaa !9
  %19 = load ptr, ptr %18, align 8, !tbaa !37
  %20 = getelementptr inbounds ptr, ptr %19, i64 5
  %21 = load ptr, ptr %20, align 8
  %22 = call noundef nonnull align 8 dereferenceable(24) ptr %21(ptr noundef nonnull align 8 dereferenceable(232) %18)
  %23 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24) %22, i32 noundef 8, i32 noundef 7)
  %24 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 12
  %25 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(28) %23)
  %26 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 10
  %27 = load ptr, ptr %26, align 8, !tbaa !39
  %28 = load ptr, ptr %27, align 8, !tbaa !37
  %29 = getelementptr inbounds ptr, ptr %28, i64 5
  %30 = load ptr, ptr %29, align 8
  %31 = call noundef nonnull align 8 dereferenceable(24) ptr %30(ptr noundef nonnull align 8 dereferenceable(232) %27)
  %32 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24) %31, i32 noundef 3, i32 noundef 1)
  %33 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 13
  %34 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(28) %32)
  %35 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 10
  %36 = load ptr, ptr %35, align 8, !tbaa !39
  %37 = load ptr, ptr %36, align 8, !tbaa !37
  %38 = getelementptr inbounds ptr, ptr %37, i64 5
  %39 = load ptr, ptr %38, align 8
  %40 = call noundef nonnull align 8 dereferenceable(24) ptr %39(ptr noundef nonnull align 8 dereferenceable(232) %36)
  %41 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24) %40, i32 noundef 2, i32 noundef 0)
  %42 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 14
  %43 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull align 8 dereferenceable(28) %41)
  %44 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 5
  %45 = load ptr, ptr %44, align 8, !tbaa !40
  %46 = load ptr, ptr %45, align 8, !tbaa !37
  %47 = getelementptr inbounds ptr, ptr %46, i64 5
  %48 = load ptr, ptr %47, align 8
  %49 = call noundef nonnull align 8 dereferenceable(24) ptr %48(ptr noundef nonnull align 8 dereferenceable(232) %45)
  %50 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24) %49, i32 noundef 3, i32 noundef 1)
  %51 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 15
  %52 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 8 dereferenceable(28) %50)
  %53 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 12
  %54 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %53)
  %55 = trunc i64 %54 to i32
  switch i32 %55, label %140 [
    i32 0, label %56
    i32 1, label %78
    i32 2, label %96
    i32 3, label %118
  ]

56:                                               ; preds = %1
  %57 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 2
  %58 = load ptr, ptr %57, align 8, !tbaa !41
  %59 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 4
  %60 = load ptr, ptr %59, align 8, !tbaa !42
  %61 = load ptr, ptr %60, align 8, !tbaa !37
  %62 = getelementptr inbounds ptr, ptr %61, i64 5
  %63 = load ptr, ptr %62, align 8
  %64 = call noundef nonnull align 8 dereferenceable(24) ptr %63(ptr noundef nonnull align 8 dereferenceable(232) %60)
  %65 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %64)
  %66 = getelementptr inbounds i64, ptr %58, i64 %65
  %67 = load i64, ptr %66, align 8, !tbaa !43
  %68 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 2
  %69 = load ptr, ptr %68, align 8, !tbaa !41
  %70 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 4
  %71 = load ptr, ptr %70, align 8, !tbaa !42
  %72 = load ptr, ptr %71, align 8, !tbaa !37
  %73 = getelementptr inbounds ptr, ptr %72, i64 5
  %74 = load ptr, ptr %73, align 8
  %75 = call noundef nonnull align 8 dereferenceable(24) ptr %74(ptr noundef nonnull align 8 dereferenceable(232) %71)
  %76 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %75)
  %77 = getelementptr inbounds i64, ptr %69, i64 %76
  store i64 %67, ptr %77, align 8, !tbaa !43
  br label %140

78:                                               ; preds = %1
  %79 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 5
  %80 = load ptr, ptr %79, align 8, !tbaa !40
  %81 = load ptr, ptr %80, align 8, !tbaa !37
  %82 = getelementptr inbounds ptr, ptr %81, i64 5
  %83 = load ptr, ptr %82, align 8
  %84 = call noundef nonnull align 8 dereferenceable(24) ptr %83(ptr noundef nonnull align 8 dereferenceable(232) %80)
  %85 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %84)
  %86 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 2
  %87 = load ptr, ptr %86, align 8, !tbaa !41
  %88 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 4
  %89 = load ptr, ptr %88, align 8, !tbaa !42
  %90 = load ptr, ptr %89, align 8, !tbaa !37
  %91 = getelementptr inbounds ptr, ptr %90, i64 5
  %92 = load ptr, ptr %91, align 8
  %93 = call noundef nonnull align 8 dereferenceable(24) ptr %92(ptr noundef nonnull align 8 dereferenceable(232) %89)
  %94 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %93)
  %95 = getelementptr inbounds i64, ptr %87, i64 %94
  store i64 %85, ptr %95, align 8, !tbaa !43
  br label %140

96:                                               ; preds = %1
  %97 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 8
  %98 = load ptr, ptr %97, align 8, !tbaa !44
  %99 = load ptr, ptr %98, align 8, !tbaa !37
  %100 = getelementptr inbounds ptr, ptr %99, i64 7
  %101 = load ptr, ptr %100, align 8
  %102 = call noundef nonnull align 1 dereferenceable(1) ptr %101(ptr noundef nonnull align 8 dereferenceable(224) %98)
  %103 = load i8, ptr %102, align 1, !tbaa !45, !range !46, !noundef !47
  %104 = trunc i8 %103 to i1
  %105 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 15
  %106 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmEbRKNS_13sc_value_baseE(i1 noundef zeroext %104, ptr noundef nonnull align 8 dereferenceable(8) %105)
  %107 = call noundef i64 @_ZNK5sc_dt12sc_concatrefcvyEv(ptr noundef nonnull align 8 dereferenceable(36) %106)
  %108 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 2
  %109 = load ptr, ptr %108, align 8, !tbaa !41
  %110 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 4
  %111 = load ptr, ptr %110, align 8, !tbaa !42
  %112 = load ptr, ptr %111, align 8, !tbaa !37
  %113 = getelementptr inbounds ptr, ptr %112, i64 5
  %114 = load ptr, ptr %113, align 8
  %115 = call noundef nonnull align 8 dereferenceable(24) ptr %114(ptr noundef nonnull align 8 dereferenceable(232) %111)
  %116 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %115)
  %117 = getelementptr inbounds i64, ptr %109, i64 %116
  store i64 %107, ptr %117, align 8, !tbaa !43
  br label %140

118:                                              ; preds = %1
  %119 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 16
  %120 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 9
  %121 = load ptr, ptr %120, align 8, !tbaa !48
  %122 = load ptr, ptr %121, align 8, !tbaa !37
  %123 = getelementptr inbounds ptr, ptr %122, i64 7
  %124 = load ptr, ptr %123, align 8
  %125 = call noundef nonnull align 1 dereferenceable(1) ptr %124(ptr noundef nonnull align 8 dereferenceable(224) %121)
  %126 = load i8, ptr %125, align 1, !tbaa !45, !range !46, !noundef !47
  %127 = trunc i8 %126 to i1
  %128 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmERKNS_13sc_value_baseEb(ptr noundef nonnull align 8 dereferenceable(8) %119, i1 noundef zeroext %127)
  %129 = call noundef i64 @_ZNK5sc_dt12sc_concatrefcvyEv(ptr noundef nonnull align 8 dereferenceable(36) %128)
  %130 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 2
  %131 = load ptr, ptr %130, align 8, !tbaa !41
  %132 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 4
  %133 = load ptr, ptr %132, align 8, !tbaa !42
  %134 = load ptr, ptr %133, align 8, !tbaa !37
  %135 = getelementptr inbounds ptr, ptr %134, i64 5
  %136 = load ptr, ptr %135, align 8
  %137 = call noundef nonnull align 8 dereferenceable(24) ptr %136(ptr noundef nonnull align 8 dereferenceable(232) %133)
  %138 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %137)
  %139 = getelementptr inbounds i64, ptr %131, i64 %138
  store i64 %129, ptr %139, align 8, !tbaa !43
  br label %140

140:                                              ; preds = %118, %96, %78, %56, %1
  %141 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 11
  %142 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %141)
  %143 = icmp eq i64 %142, 0
  br i1 %143, label %144, label %156

144:                                              ; preds = %140
  %145 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 10
  %146 = load ptr, ptr %145, align 8, !tbaa !39
  %147 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 5
  %148 = load ptr, ptr %147, align 8, !tbaa !40
  %149 = load ptr, ptr %148, align 8, !tbaa !37
  %150 = getelementptr inbounds ptr, ptr %149, i64 5
  %151 = load ptr, ptr %150, align 8
  %152 = call noundef nonnull align 8 dereferenceable(24) ptr %151(ptr noundef nonnull align 8 dereferenceable(232) %148)
  %153 = load ptr, ptr %146, align 8, !tbaa !37
  %154 = getelementptr inbounds ptr, ptr %153, i64 9
  %155 = load ptr, ptr %154, align 8
  call void %155(ptr noundef nonnull align 8 dereferenceable(232) %146, ptr noundef nonnull align 8 dereferenceable(24) %152)
  br label %220

156:                                              ; preds = %140
  %157 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 11
  %158 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %157)
  %159 = icmp eq i64 %158, 4
  br i1 %159, label %160, label %181

160:                                              ; preds = %156
  %161 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 10
  %162 = load ptr, ptr %161, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #4
  %163 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 6
  %164 = load ptr, ptr %163, align 8, !tbaa !49
  %165 = load ptr, ptr %164, align 8, !tbaa !37
  %166 = getelementptr inbounds ptr, ptr %165, i64 7
  %167 = load ptr, ptr %166, align 8
  %168 = call noundef nonnull align 1 dereferenceable(1) ptr %167(ptr noundef nonnull align 8 dereferenceable(224) %164)
  %169 = load i8, ptr %168, align 1, !tbaa !45, !range !46, !noundef !47
  %170 = trunc i8 %169 to i1
  %171 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 13
  %172 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmEbRKNS_13sc_value_baseE(i1 noundef zeroext %170, ptr noundef nonnull align 8 dereferenceable(8) %171)
  call void @_ZN5sc_dt7sc_uintILi4EEC2INS_12sc_concatrefEEERKNS_15sc_generic_baseIT_EE(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %172)
  %173 = load ptr, ptr %162, align 8, !tbaa !37
  %174 = getelementptr inbounds ptr, ptr %173, i64 9
  %175 = load ptr, ptr %174, align 8
  invoke void %175(ptr noundef nonnull align 8 dereferenceable(232) %162, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %176 unwind label %177

176:                                              ; preds = %160
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #4
  br label %219

177:                                              ; preds = %160
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %4, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %5, align 4
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #4
  br label %221

181:                                              ; preds = %156
  %182 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 11
  %183 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %182)
  %184 = icmp eq i64 %183, 6
  br i1 %184, label %185, label %206

185:                                              ; preds = %181
  %186 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 10
  %187 = load ptr, ptr %186, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #4
  %188 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 14
  %189 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 7
  %190 = load ptr, ptr %189, align 8, !tbaa !50
  %191 = load ptr, ptr %190, align 8, !tbaa !37
  %192 = getelementptr inbounds ptr, ptr %191, i64 7
  %193 = load ptr, ptr %192, align 8
  %194 = call noundef nonnull align 1 dereferenceable(1) ptr %193(ptr noundef nonnull align 8 dereferenceable(224) %190)
  %195 = load i8, ptr %194, align 1, !tbaa !45, !range !46, !noundef !47
  %196 = trunc i8 %195 to i1
  %197 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmERKNS_13sc_value_baseEb(ptr noundef nonnull align 8 dereferenceable(8) %188, i1 noundef zeroext %196)
  call void @_ZN5sc_dt7sc_uintILi4EEC2INS_12sc_concatrefEEERKNS_15sc_generic_baseIT_EE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(1) %197)
  %198 = load ptr, ptr %187, align 8, !tbaa !37
  %199 = getelementptr inbounds ptr, ptr %198, i64 9
  %200 = load ptr, ptr %199, align 8
  invoke void %200(ptr noundef nonnull align 8 dereferenceable(232) %187, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %201 unwind label %202

201:                                              ; preds = %185
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #4
  br label %218

202:                                              ; preds = %185
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %4, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %5, align 4
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #4
  br label %221

206:                                              ; preds = %181
  %207 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 10
  %208 = load ptr, ptr %207, align 8, !tbaa !39
  %209 = getelementptr inbounds %struct.a2901_edge, ptr %7, i32 0, i32 10
  %210 = load ptr, ptr %209, align 8, !tbaa !39
  %211 = load ptr, ptr %210, align 8, !tbaa !37
  %212 = getelementptr inbounds ptr, ptr %211, i64 5
  %213 = load ptr, ptr %212, align 8
  %214 = call noundef nonnull align 8 dereferenceable(24) ptr %213(ptr noundef nonnull align 8 dereferenceable(232) %210)
  %215 = load ptr, ptr %208, align 8, !tbaa !37
  %216 = getelementptr inbounds ptr, ptr %215, i64 9
  %217 = load ptr, ptr %216, align 8
  call void %217(ptr noundef nonnull align 8 dereferenceable(232) %208, ptr noundef nonnull align 8 dereferenceable(24) %214)
  br label %218

218:                                              ; preds = %206, %201
  br label %219

219:                                              ; preds = %218, %176
  br label %220

220:                                              ; preds = %219, %144
  ret void

221:                                              ; preds = %202, %177
  %222 = load ptr, ptr %4, align 8
  %223 = load i32, ptr %5, align 4
  %224 = insertvalue { ptr, i32 } poison, ptr %222, 0
  %225 = insertvalue { ptr, i32 } %224, i32 %223, 1
  resume { ptr, i32 } %225
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(28)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmEbRKNS_13sc_value_baseE(i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK5sc_dt12sc_concatrefcvyEv(ptr noundef nonnull align 8 dereferenceable(36)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmERKNS_13sc_value_baseEb(ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) #1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

attributes #0 = { 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 = { 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 #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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, !6, i64 248}
!10 = !{!"_ZTS10a2901_edge", !11, i64 0, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !33, i64 312, !33, i64 336, !33, i64 360, !33, i64 384, !33, i64 408, !33, i64 432}
!11 = !{!"_ZTSN7sc_core9sc_moduleE", !12, i64 0, !24, i64 112, !25, i64 120, !27, i64 144, !29, i64 168, !31, i64 192, !6, i64 200, !32, i64 208, !6, i64 216, !6, i64 224}
!12 = !{!"_ZTSN7sc_core9sc_objectE", !6, i64 8, !13, i64 16, !17, i64 40, !21, i64 64, !6, i64 96, !6, i64 104}
!13 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSN7sc_core15sc_process_hostE"}
!25 = !{!"_ZTSN7sc_core12sc_sensitiveE", !6, i64 0, !26, i64 8, !6, i64 16}
!26 = !{!"_ZTSN7sc_core12sc_sensitiveUt_E", !7, i64 0}
!27 = !{!"_ZTSN7sc_core16sc_sensitive_posE", !6, i64 0, !28, i64 8, !6, i64 16}
!28 = !{!"_ZTSN7sc_core16sc_sensitive_posUt_E", !7, i64 0}
!29 = !{!"_ZTSN7sc_core16sc_sensitive_negE", !6, i64 0, !30, i64 8, !6, i64 16}
!30 = !{!"_ZTSN7sc_core16sc_sensitive_negUt_E", !7, i64 0}
!31 = !{!"bool", !7, i64 0}
!32 = !{!"int", !7, i64 0}
!33 = !{!"_ZTSN5sc_dt7sc_uintILi3EEE", !34, i64 0}
!34 = !{!"_ZTSN5sc_dt12sc_uint_baseE", !35, i64 0, !36, i64 8, !32, i64 16, !32, i64 20}
!35 = !{!"_ZTSN5sc_dt13sc_value_baseE"}
!36 = !{!"long long", !7, i64 0}
!37 = !{!38, !38, i64 0}
!38 = !{!"vtable pointer", !8, i64 0}
!39 = !{!10, !6, i64 304}
!40 = !{!10, !6, i64 264}
!41 = !{!10, !6, i64 240}
!42 = !{!10, !6, i64 256}
!43 = !{!23, !23, i64 0}
!44 = !{!10, !6, i64 288}
!45 = !{!31, !31, i64 0}
!46 = !{i8 0, i8 2}
!47 = !{}
!48 = !{!10, !6, i64 296}
!49 = !{!10, !6, i64 272}
!50 = !{!10, !6, i64 280}


; 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::sc_uint.13" = type { %"class.sc_dt::sc_uint_base" }
%"class.sc_dt::sc_uint_base" = type { %"class.sc_dt::sc_value_base", i64, i32, i32 }
%"class.sc_dt::sc_value_base" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10a2901_edge5entryEv(ptr noundef nonnull align 8 dereferenceable(456) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.sc_dt::sc_uint.13", align 8
  %3 = alloca %"class.sc_dt::sc_uint.13", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 248
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = load ptr, ptr %5, align 8, !tbaa !36
  %7 = getelementptr inbounds i8, ptr %6, i64 40
  %8 = load ptr, ptr %7, align 8
  %9 = tail call noundef nonnull align 8 dereferenceable(24) ptr %8(ptr noundef nonnull align 8 dereferenceable(232) %5)
  %10 = tail call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 8, i32 noundef 6)
  %11 = getelementptr inbounds i8, ptr %0, i64 312
  %12 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(28) %10)
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = load ptr, ptr %13, align 8, !tbaa !36
  %15 = getelementptr inbounds i8, ptr %14, i64 40
  %16 = load ptr, ptr %15, align 8
  %17 = tail call noundef nonnull align 8 dereferenceable(24) ptr %16(ptr noundef nonnull align 8 dereferenceable(232) %13)
  %18 = tail call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24) %17, i32 noundef 8, i32 noundef 7)
  %19 = getelementptr inbounds i8, ptr %0, i64 336
  %20 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(28) %18)
  %21 = getelementptr inbounds i8, ptr %0, i64 304
  %22 = load ptr, ptr %21, align 8, !tbaa !38
  %23 = load ptr, ptr %22, align 8, !tbaa !36
  %24 = getelementptr inbounds i8, ptr %23, i64 40
  %25 = load ptr, ptr %24, align 8
  %26 = tail call noundef nonnull align 8 dereferenceable(24) ptr %25(ptr noundef nonnull align 8 dereferenceable(232) %22)
  %27 = tail call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef 3, i32 noundef 1)
  %28 = getelementptr inbounds i8, ptr %0, i64 360
  %29 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(28) %27)
  %30 = load ptr, ptr %21, align 8, !tbaa !38
  %31 = load ptr, ptr %30, align 8, !tbaa !36
  %32 = getelementptr inbounds i8, ptr %31, i64 40
  %33 = load ptr, ptr %32, align 8
  %34 = tail call noundef nonnull align 8 dereferenceable(24) ptr %33(ptr noundef nonnull align 8 dereferenceable(232) %30)
  %35 = tail call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24) %34, i32 noundef 2, i32 noundef 0)
  %36 = getelementptr inbounds i8, ptr %0, i64 384
  %37 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(28) %35)
  %38 = getelementptr inbounds i8, ptr %0, i64 264
  %39 = load ptr, ptr %38, align 8, !tbaa !39
  %40 = load ptr, ptr %39, align 8, !tbaa !36
  %41 = getelementptr inbounds i8, ptr %40, i64 40
  %42 = load ptr, ptr %41, align 8
  %43 = tail call noundef nonnull align 8 dereferenceable(24) ptr %42(ptr noundef nonnull align 8 dereferenceable(232) %39)
  %44 = tail call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24) %43, i32 noundef 3, i32 noundef 1)
  %45 = getelementptr inbounds i8, ptr %0, i64 408
  %46 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 8 dereferenceable(28) %44)
  %47 = tail call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %19)
  %48 = trunc i64 %47 to i32
  switch i32 %48, label %104 [
    i32 0, label %49
    i32 1, label %61
    i32 2, label %70
    i32 3, label %83
  ]

49:                                               ; preds = %1
  %50 = getelementptr inbounds i8, ptr %0, i64 240
  %51 = load ptr, ptr %50, align 8, !tbaa !40
  %52 = getelementptr inbounds i8, ptr %0, i64 256
  %53 = load ptr, ptr %52, align 8, !tbaa !41
  %54 = load ptr, ptr %53, align 8, !tbaa !36
  %55 = getelementptr inbounds i8, ptr %54, i64 40
  %56 = load ptr, ptr %55, align 8
  %57 = tail call noundef nonnull align 8 dereferenceable(24) ptr %56(ptr noundef nonnull align 8 dereferenceable(232) %53)
  %58 = tail call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %57)
  %59 = getelementptr inbounds i64, ptr %51, i64 %58
  %60 = load i64, ptr %59, align 8, !tbaa !42
  br label %.sink.split

61:                                               ; preds = %1
  %62 = load ptr, ptr %38, align 8, !tbaa !39
  %63 = load ptr, ptr %62, align 8, !tbaa !36
  %64 = getelementptr inbounds i8, ptr %63, i64 40
  %65 = load ptr, ptr %64, align 8
  %66 = tail call noundef nonnull align 8 dereferenceable(24) ptr %65(ptr noundef nonnull align 8 dereferenceable(232) %62)
  %67 = tail call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %66)
  %68 = getelementptr inbounds i8, ptr %0, i64 240
  %69 = getelementptr inbounds i8, ptr %0, i64 256
  br label %.sink.split

70:                                               ; preds = %1
  %71 = getelementptr inbounds i8, ptr %0, i64 288
  %72 = load ptr, ptr %71, align 8, !tbaa !43
  %73 = load ptr, ptr %72, align 8, !tbaa !36
  %74 = getelementptr inbounds i8, ptr %73, i64 56
  %75 = load ptr, ptr %74, align 8
  %76 = tail call noundef nonnull align 1 dereferenceable(1) ptr %75(ptr noundef nonnull align 8 dereferenceable(224) %72)
  %77 = load i8, ptr %76, align 1, !tbaa !44, !range !45, !noundef !46
  %78 = trunc nuw i8 %77 to i1
  %79 = tail call noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmEbRKNS_13sc_value_baseE(i1 noundef zeroext %78, ptr noundef nonnull align 8 dereferenceable(8) %45)
  %80 = tail call noundef i64 @_ZNK5sc_dt12sc_concatrefcvyEv(ptr noundef nonnull align 8 dereferenceable(36) %79)
  %81 = getelementptr inbounds i8, ptr %0, i64 240
  %82 = getelementptr inbounds i8, ptr %0, i64 256
  br label %.sink.split

83:                                               ; preds = %1
  %84 = getelementptr inbounds i8, ptr %0, i64 432
  %85 = getelementptr inbounds i8, ptr %0, i64 296
  %86 = load ptr, ptr %85, align 8, !tbaa !47
  %87 = load ptr, ptr %86, align 8, !tbaa !36
  %88 = getelementptr inbounds i8, ptr %87, i64 56
  %89 = load ptr, ptr %88, align 8
  %90 = tail call noundef nonnull align 1 dereferenceable(1) ptr %89(ptr noundef nonnull align 8 dereferenceable(224) %86)
  %91 = load i8, ptr %90, align 1, !tbaa !44, !range !45, !noundef !46
  %92 = trunc nuw i8 %91 to i1
  %93 = tail call noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmERKNS_13sc_value_baseEb(ptr noundef nonnull align 8 dereferenceable(8) %84, i1 noundef zeroext %92)
  %94 = tail call noundef i64 @_ZNK5sc_dt12sc_concatrefcvyEv(ptr noundef nonnull align 8 dereferenceable(36) %93)
  %95 = getelementptr inbounds i8, ptr %0, i64 240
  %96 = getelementptr inbounds i8, ptr %0, i64 256
  br label %.sink.split

.sink.split:                                      ; preds = %49, %61, %70, %83
  %.sink13 = phi ptr [ %96, %83 ], [ %82, %70 ], [ %69, %61 ], [ %52, %49 ]
  %.sink5.in = phi ptr [ %95, %83 ], [ %81, %70 ], [ %68, %61 ], [ %50, %49 ]
  %.sink = phi i64 [ %94, %83 ], [ %80, %70 ], [ %67, %61 ], [ %60, %49 ]
  %.sink5 = load ptr, ptr %.sink5.in, align 8, !tbaa !40
  %97 = load ptr, ptr %.sink13, align 8, !tbaa !41
  %98 = load ptr, ptr %97, align 8, !tbaa !36
  %99 = getelementptr inbounds i8, ptr %98, i64 40
  %100 = load ptr, ptr %99, align 8
  %101 = tail call noundef nonnull align 8 dereferenceable(24) ptr %100(ptr noundef nonnull align 8 dereferenceable(232) %97)
  %102 = tail call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %101)
  %103 = getelementptr inbounds i64, ptr %.sink5, i64 %102
  store i64 %.sink, ptr %103, align 8, !tbaa !42
  br label %104

104:                                              ; preds = %.sink.split, %1
  %105 = tail call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  %106 = icmp eq i64 %105, 0
  br i1 %106, label %107, label %117

107:                                              ; preds = %104
  %108 = load ptr, ptr %21, align 8, !tbaa !38
  %109 = load ptr, ptr %38, align 8, !tbaa !39
  %110 = load ptr, ptr %109, align 8, !tbaa !36
  %111 = getelementptr inbounds i8, ptr %110, i64 40
  %112 = load ptr, ptr %111, align 8
  %113 = tail call noundef nonnull align 8 dereferenceable(24) ptr %112(ptr noundef nonnull align 8 dereferenceable(232) %109)
  %114 = load ptr, ptr %108, align 8, !tbaa !36
  %115 = getelementptr inbounds i8, ptr %114, i64 72
  %116 = load ptr, ptr %115, align 8
  tail call void %116(ptr noundef nonnull align 8 dereferenceable(232) %108, ptr noundef nonnull align 8 dereferenceable(24) %113)
  br label %165

117:                                              ; preds = %104
  %118 = tail call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  %119 = icmp eq i64 %118, 4
  br i1 %119, label %120, label %137

120:                                              ; preds = %117
  %121 = load ptr, ptr %21, align 8, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
  %122 = getelementptr inbounds i8, ptr %0, i64 272
  %123 = load ptr, ptr %122, align 8, !tbaa !48
  %124 = load ptr, ptr %123, align 8, !tbaa !36
  %125 = getelementptr inbounds i8, ptr %124, i64 56
  %126 = load ptr, ptr %125, align 8
  %127 = tail call noundef nonnull align 1 dereferenceable(1) ptr %126(ptr noundef nonnull align 8 dereferenceable(224) %123)
  %128 = load i8, ptr %127, align 1, !tbaa !44, !range !45, !noundef !46
  %129 = trunc nuw i8 %128 to i1
  %130 = tail call noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmEbRKNS_13sc_value_baseE(i1 noundef zeroext %129, ptr noundef nonnull align 8 dereferenceable(8) %28)
  call void @_ZN5sc_dt7sc_uintILi4EEC2INS_12sc_concatrefEEERKNS_15sc_generic_baseIT_EE(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 1 dereferenceable(1) %130)
  %131 = load ptr, ptr %121, align 8, !tbaa !36
  %132 = getelementptr inbounds i8, ptr %131, i64 72
  %133 = load ptr, ptr %132, align 8
  invoke void %133(ptr noundef nonnull align 8 dereferenceable(232) %121, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %134 unwind label %135

134:                                              ; preds = %120
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
  br label %165

135:                                              ; preds = %120
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
  br label %166

137:                                              ; preds = %117
  %138 = tail call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  %139 = icmp eq i64 %138, 6
  %140 = load ptr, ptr %21, align 8, !tbaa !38
  br i1 %139, label %141, label %157

141:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4
  %142 = getelementptr inbounds i8, ptr %0, i64 280
  %143 = load ptr, ptr %142, align 8, !tbaa !49
  %144 = load ptr, ptr %143, align 8, !tbaa !36
  %145 = getelementptr inbounds i8, ptr %144, i64 56
  %146 = load ptr, ptr %145, align 8
  %147 = tail call noundef nonnull align 1 dereferenceable(1) ptr %146(ptr noundef nonnull align 8 dereferenceable(224) %143)
  %148 = load i8, ptr %147, align 1, !tbaa !44, !range !45, !noundef !46
  %149 = trunc nuw i8 %148 to i1
  %150 = tail call noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmERKNS_13sc_value_baseEb(ptr noundef nonnull align 8 dereferenceable(8) %36, i1 noundef zeroext %149)
  call void @_ZN5sc_dt7sc_uintILi4EEC2INS_12sc_concatrefEEERKNS_15sc_generic_baseIT_EE(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %150)
  %151 = load ptr, ptr %140, align 8, !tbaa !36
  %152 = getelementptr inbounds i8, ptr %151, i64 72
  %153 = load ptr, ptr %152, align 8
  invoke void %153(ptr noundef nonnull align 8 dereferenceable(232) %140, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %154 unwind label %155

154:                                              ; preds = %141
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  br label %165

155:                                              ; preds = %141
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  br label %166

157:                                              ; preds = %137
  %158 = load ptr, ptr %140, align 8, !tbaa !36
  %159 = getelementptr inbounds i8, ptr %158, i64 40
  %160 = load ptr, ptr %159, align 8
  %161 = tail call noundef nonnull align 8 dereferenceable(24) ptr %160(ptr noundef nonnull align 8 dereferenceable(232) %140)
  %162 = load ptr, ptr %140, align 8, !tbaa !36
  %163 = getelementptr inbounds i8, ptr %162, i64 72
  %164 = load ptr, ptr %163, align 8
  tail call void %164(ptr noundef nonnull align 8 dereferenceable(232) %140, ptr noundef nonnull align 8 dereferenceable(24) %161)
  br label %165

165:                                              ; preds = %134, %157, %154, %107
  ret void

166:                                              ; preds = %155, %135
  %.pn = phi { ptr, i32 } [ %136, %135 ], [ %156, %155 ]
  resume { ptr, i32 } %.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(28) ptr @_ZNK5sc_dt12sc_uint_base5rangeEii(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi3EEaSERKNS_16sc_uint_subref_rE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(28)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmEbRKNS_13sc_value_baseE(i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK5sc_dt12sc_concatrefcvyEv(ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN5sc_dtcmERKNS_13sc_value_baseEb(ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

attributes #0 = { 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 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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, !9, i64 248}
!6 = !{!"_ZTS10a2901_edge", !7, i64 0, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !9, i64 272, !9, i64 280, !9, i64 288, !9, i64 296, !9, i64 304, !32, i64 312, !32, i64 336, !32, i64 360, !32, i64 384, !32, i64 408, !32, i64 432}
!7 = !{!"_ZTSN7sc_core9sc_moduleE", !8, i64 0, !23, i64 112, !24, i64 120, !26, i64 144, !28, i64 168, !30, i64 192, !9, i64 200, !31, i64 208, !9, i64 216, !9, i64 224}
!8 = !{!"_ZTSN7sc_core9sc_objectE", !9, i64 8, !12, i64 16, !16, i64 40, !20, i64 64, !9, i64 96, !9, i64 104}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!16 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !10, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!22 = !{!"long", !10, i64 0}
!23 = !{!"_ZTSN7sc_core15sc_process_hostE"}
!24 = !{!"_ZTSN7sc_core12sc_sensitiveE", !9, i64 0, !25, i64 8, !9, i64 16}
!25 = !{!"_ZTSN7sc_core12sc_sensitiveUt_E", !10, i64 0}
!26 = !{!"_ZTSN7sc_core16sc_sensitive_posE", !9, i64 0, !27, i64 8, !9, i64 16}
!27 = !{!"_ZTSN7sc_core16sc_sensitive_posUt_E", !10, i64 0}
!28 = !{!"_ZTSN7sc_core16sc_sensitive_negE", !9, i64 0, !29, i64 8, !9, i64 16}
!29 = !{!"_ZTSN7sc_core16sc_sensitive_negUt_E", !10, i64 0}
!30 = !{!"bool", !10, i64 0}
!31 = !{!"int", !10, i64 0}
!32 = !{!"_ZTSN5sc_dt7sc_uintILi3EEE", !33, i64 0}
!33 = !{!"_ZTSN5sc_dt12sc_uint_baseE", !34, i64 0, !35, i64 8, !31, i64 16, !31, i64 20}
!34 = !{!"_ZTSN5sc_dt13sc_value_baseE"}
!35 = !{!"long long", !10, i64 0}
!36 = !{!37, !37, i64 0}
!37 = !{!"vtable pointer", !11, i64 0}
!38 = !{!6, !9, i64 304}
!39 = !{!6, !9, i64 264}
!40 = !{!6, !9, i64 240}
!41 = !{!6, !9, i64 256}
!42 = !{!22, !22, i64 0}
!43 = !{!6, !9, i64 288}
!44 = !{!30, !30, i64 0}
!45 = !{i8 0, i8 2}
!46 = !{}
!47 = !{!6, !9, i64 296}
!48 = !{!6, !9, i64 272}
!49 = !{!6, !9, i64 280}


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