; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/misc/unit/rtlout/test1/test1.ll (ZN6types25entryEv)

; 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_lv" = type { %"class.sc_dt::sc_lv_base" }
%"class.sc_dt::sc_lv_base" = type { %"class.sc_dt::sc_proxy", i32, i32, ptr, ptr }
%"class.sc_dt::sc_proxy" = type { ptr }
%"class.sc_dt::sc_uint" = 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 }
%"class.sc_dt::sc_int" = type { %"class.sc_dt::sc_int_base" }
%"class.sc_dt::sc_int_base" = type { %"class.sc_dt::sc_value_base", i64, i32, i32 }
%"class.sc_dt::sc_int.0" = type { %"class.sc_dt::sc_int_base" }
%"class.sc_dt::sc_lv.1" = type { %"class.sc_dt::sc_lv_base" }
%struct.b_new_struct = type <{ %"class.sc_dt::sc_lv.1", i32, [4 x i8] }>
%struct.a_new_struct = type { i8, i8, %"class.sc_dt::sc_logic" }
%"class.sc_dt::sc_logic" = type { i32 }
%struct.types2 = type { %"class.sc_core::sc_module", %"class.sc_core::sc_in", %"class.sc_core::sc_in", %"class.sc_core::sc_in.15", %"class.sc_core::sc_out", %"class.sc_core::sc_out.30" }
%"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.2", %"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.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = 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_core::sc_in" = type { %"class.sc_core::sc_port", ptr, ptr, ptr, ptr }
%"class.sc_core::sc_port" = type { %"class.sc_core::sc_port_b" }
%"class.sc_core::sc_port_b" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.10" }
%"class.sc_core::sc_port_base" = type { %"class.sc_core::sc_object", ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_in.15" = type { %"class.sc_core::sc_port.16", ptr, ptr }
%"class.sc_core::sc_port.16" = type { %"class.sc_core::sc_port_b.17" }
%"class.sc_core::sc_port_b.17" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.18" }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<a_new_struct> *, std::allocator<sc_core::sc_signal_in_if<a_new_struct> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<a_new_struct> *, std::allocator<sc_core::sc_signal_in_if<a_new_struct> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<a_new_struct> *, std::allocator<sc_core::sc_signal_in_if<a_new_struct> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<a_new_struct> *, std::allocator<sc_core::sc_signal_in_if<a_new_struct> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_out" = type { %"class.sc_core::sc_inout" }
%"class.sc_core::sc_inout" = type { %"class.sc_core::sc_port.23", ptr, ptr, ptr }
%"class.sc_core::sc_port.23" = type { %"class.sc_core::sc_port_b.24" }
%"class.sc_core::sc_port_b.24" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.25" }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<sc_core::sc_signal_inout_if<b_new_struct> *, std::allocator<sc_core::sc_signal_inout_if<b_new_struct> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_inout_if<b_new_struct> *, std::allocator<sc_core::sc_signal_inout_if<b_new_struct> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_inout_if<b_new_struct> *, std::allocator<sc_core::sc_signal_inout_if<b_new_struct> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_inout_if<b_new_struct> *, std::allocator<sc_core::sc_signal_inout_if<b_new_struct> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_out.30" = type { %"class.sc_core::sc_inout.31" }
%"class.sc_core::sc_inout.31" = type { %"class.sc_core::sc_port.32", ptr, ptr, ptr, ptr, ptr }
%"class.sc_core::sc_port.32" = type { %"class.sc_core::sc_port_b.33" }
%"class.sc_core::sc_port_b.33" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.34" }
%"class.std::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = type { %"struct.std::_Vector_base<sc_core::sc_signal_inout_if<bool> *, std::allocator<sc_core::sc_signal_inout_if<bool> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_inout_if<bool> *, std::allocator<sc_core::sc_signal_inout_if<bool> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_inout_if<bool> *, std::allocator<sc_core::sc_signal_inout_if<bool> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_inout_if<bool> *, std::allocator<sc_core::sc_signal_inout_if<bool> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6types25entryEv(ptr noundef nonnull align 8 dereferenceable(1136) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca %"class.sc_dt::sc_lv", align 8
  %5 = alloca %"class.sc_dt::sc_uint", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.sc_dt::sc_uint", align 8
  %9 = alloca %"class.sc_dt::sc_int", align 8
  %10 = alloca %"class.sc_dt::sc_int.0", align 8
  %11 = alloca %"class.sc_dt::sc_lv.1", align 8
  %12 = alloca i32, align 4
  %13 = alloca %struct.b_new_struct, align 8
  %14 = alloca %struct.a_new_struct, align 4
  %15 = alloca i8, align 1
  %16 = alloca %"class.sc_dt::sc_logic", align 4
  %17 = alloca %"class.sc_dt::sc_uint", align 8
  %18 = alloca %"class.sc_dt::sc_uint", align 8
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %23 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #5
  call void @_ZN5sc_dt5sc_lvILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4)
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #5
  invoke void @_ZN5sc_dt7sc_uintILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %24 unwind label %53

24:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #5
  invoke void @_ZN5sc_dt7sc_uintILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %25 unwind label %57

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #5
  invoke void @_ZN5sc_dt6sc_intILi9EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %26 unwind label %61

26:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  invoke void @_ZN5sc_dt6sc_intILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %27 unwind label %65

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #5
  invoke void @_ZN5sc_dt5sc_lvILi9EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %28 unwind label %69

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #5
  invoke void @_ZN12b_new_structC2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13)
          to label %29 unwind label %73

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  invoke void @_ZN12a_new_structC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %14)
          to label %30 unwind label %77

30:                                               ; preds = %29
  %31 = getelementptr inbounds %struct.types2, ptr %23, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  store i8 0, ptr %15, align 1, !tbaa !9
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %31, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %32 unwind label %81

32:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %23)
          to label %33 unwind label %85

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %163, %33
  br label %35

35:                                               ; preds = %34
  %36 = getelementptr inbounds %struct.types2, ptr %23, i32 0, i32 3
  %37 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNK7sc_core5sc_inI12a_new_structE4readEv(ptr noundef nonnull align 8 dereferenceable(168) %36)
          to label %38 unwind label %85

38:                                               ; preds = %35
  %39 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN12a_new_structaSERKS_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %37)
          to label %40 unwind label %85

40:                                               ; preds = %38
  br label %41

41:                                               ; preds = %52, %40
  %42 = getelementptr inbounds %struct.a_new_struct, ptr %14, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  invoke void @_ZN5sc_dt8sc_logicC2Ec(ptr noundef nonnull align 4 dereferenceable(4) %16, i8 noundef signext 48)
          to label %43 unwind label %89

43:                                               ; preds = %41
  %44 = invoke noundef zeroext i1 @_ZN5sc_dteqERKNS_8sc_logicES2_(ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %45 unwind label %93

45:                                               ; preds = %43
  call void @_ZN5sc_dt8sc_logicD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br i1 %44, label %46, label %98

46:                                               ; preds = %45
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %23)
          to label %47 unwind label %85

47:                                               ; preds = %46
  %48 = getelementptr inbounds %struct.types2, ptr %23, i32 0, i32 3
  %49 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNK7sc_core5sc_inI12a_new_structE4readEv(ptr noundef nonnull align 8 dereferenceable(168) %48)
          to label %50 unwind label %85

50:                                               ; preds = %47
  %51 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN12a_new_structaSERKS_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %49)
          to label %52 unwind label %85

52:                                               ; preds = %50
  br label %41, !llvm.loop !11

53:                                               ; preds = %1
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %6, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %7, align 4
  br label %187

57:                                               ; preds = %24
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %6, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %7, align 4
  br label %186

61:                                               ; preds = %25
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %6, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %7, align 4
  br label %185

65:                                               ; preds = %26
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %6, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %7, align 4
  br label %184

69:                                               ; preds = %27
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %6, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %7, align 4
  br label %183

73:                                               ; preds = %28
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %6, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %7, align 4
  br label %182

77:                                               ; preds = %29
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %6, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %7, align 4
  br label %181

81:                                               ; preds = %30
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %6, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  br label %180

85:                                               ; preds = %162, %159, %153, %150, %149, %146, %140, %137, %135, %133, %130, %128, %126, %124, %121, %119, %116, %114, %113, %112, %110, %107, %99, %98, %50, %47, %46, %38, %35, %32
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %6, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %7, align 4
  br label %180

89:                                               ; preds = %41
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %6, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %7, align 4
  br label %97

93:                                               ; preds = %43
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %6, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %7, align 4
  call void @_ZN5sc_dt8sc_logicD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %16) #5
  br label %97

97:                                               ; preds = %93, %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %180

98:                                               ; preds = %45
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %23)
          to label %99 unwind label %85

99:                                               ; preds = %98
  %100 = getelementptr inbounds %struct.a_new_struct, ptr %14, i32 0, i32 0
  %101 = load i8, ptr %100, align 4, !tbaa !13
  %102 = sext i8 %101 to i32
  store i32 %102, ptr %3, align 4, !tbaa !17
  %103 = getelementptr inbounds %struct.a_new_struct, ptr %14, i32 0, i32 1
  %104 = load i8, ptr %103, align 1, !tbaa !19
  %105 = sext i8 %104 to i32
  %106 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt5sc_lvILi8EEaSEi(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %105)
          to label %107 unwind label %85

107:                                              ; preds = %99
  %108 = load i32, ptr %3, align 4, !tbaa !17
  %109 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi8EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %108)
          to label %110 unwind label %85

110:                                              ; preds = %107
  %111 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi8EEaSERKNS_10sc_lv_baseE(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %112 unwind label %85

112:                                              ; preds = %110
  invoke void @_ZN5sc_dt7sc_uintILi8EEppEi(ptr dead_on_unwind writable sret(%"class.sc_dt::sc_uint") align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef 0)
          to label %113 unwind label %85

113:                                              ; preds = %112
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  invoke void @_ZN5sc_dt7sc_uintILi8EEmmEi(ptr dead_on_unwind writable sret(%"class.sc_dt::sc_uint") align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 0)
          to label %114 unwind label %85

114:                                              ; preds = %113
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  %115 = invoke noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %116 unwind label %85

116:                                              ; preds = %114
  %117 = trunc i64 %115 to i32
  store i32 %117, ptr %3, align 4, !tbaa !17
  %118 = invoke noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %119 unwind label %85

119:                                              ; preds = %116
  %120 = invoke noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %121 unwind label %85

121:                                              ; preds = %119
  %122 = add i64 %118, %120
  %123 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt6sc_intILi9EEaSEy(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %122)
          to label %124 unwind label %85

124:                                              ; preds = %121
  %125 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt5sc_lvILi9EEaSERKNS_11sc_int_baseE(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(24) %123)
          to label %126 unwind label %85

126:                                              ; preds = %124
  %127 = invoke noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %128 unwind label %85

128:                                              ; preds = %126
  %129 = invoke noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %130 unwind label %85

130:                                              ; preds = %128
  %131 = sub i64 %127, %129
  %132 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt6sc_intILi8EEaSEy(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %131)
          to label %133 unwind label %85

133:                                              ; preds = %130
  %134 = invoke noundef i64 @_ZNK5sc_dt11sc_int_basecvxEv(ptr noundef nonnull align 8 dereferenceable(24) %132)
          to label %135 unwind label %85

135:                                              ; preds = %133
  %136 = trunc i64 %134 to i32
  store i32 %136, ptr %12, align 4, !tbaa !17
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %23)
          to label %137 unwind label %85

137:                                              ; preds = %135
  %138 = getelementptr inbounds %struct.b_new_struct, ptr %13, i32 0, i32 0
  %139 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt5sc_lvILi9EEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %138, ptr noundef @.str)
          to label %140 unwind label %85

140:                                              ; preds = %137
  %141 = load i32, ptr %3, align 4, !tbaa !17
  %142 = getelementptr inbounds %struct.b_new_struct, ptr %13, i32 0, i32 1
  store i32 %141, ptr %142, align 8, !tbaa !20
  %143 = getelementptr inbounds %struct.types2, ptr %23, i32 0, i32 4
  invoke void @_ZN7sc_core8sc_inoutI12b_new_structE5writeERKS1_(ptr noundef nonnull align 8 dereferenceable(176) %143, ptr noundef nonnull align 8 dereferenceable(36) %13)
          to label %144 unwind label %85

144:                                              ; preds = %140
  %145 = getelementptr inbounds %struct.types2, ptr %23, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  store i8 1, ptr %19, align 1, !tbaa !9
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %145, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %146 unwind label %164

146:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %23)
          to label %147 unwind label %85

147:                                              ; preds = %146
  %148 = getelementptr inbounds %struct.types2, ptr %23, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  store i8 0, ptr %20, align 1, !tbaa !9
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %148, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %149 unwind label %168

149:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %23)
          to label %150 unwind label %85

150:                                              ; preds = %149
  %151 = getelementptr inbounds %struct.b_new_struct, ptr %13, i32 0, i32 0
  %152 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt5sc_lvILi9EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %151, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %153 unwind label %85

153:                                              ; preds = %150
  %154 = load i32, ptr %12, align 4, !tbaa !17
  %155 = getelementptr inbounds %struct.b_new_struct, ptr %13, i32 0, i32 1
  store i32 %154, ptr %155, align 8, !tbaa !20
  %156 = getelementptr inbounds %struct.types2, ptr %23, i32 0, i32 4
  invoke void @_ZN7sc_core8sc_inoutI12b_new_structE5writeERKS1_(ptr noundef nonnull align 8 dereferenceable(176) %156, ptr noundef nonnull align 8 dereferenceable(36) %13)
          to label %157 unwind label %85

157:                                              ; preds = %153
  %158 = getelementptr inbounds %struct.types2, ptr %23, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #5
  store i8 1, ptr %21, align 1, !tbaa !9
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %158, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %159 unwind label %172

159:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %23)
          to label %160 unwind label %85

160:                                              ; preds = %159
  %161 = getelementptr inbounds %struct.types2, ptr %23, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  store i8 0, ptr %22, align 1, !tbaa !9
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %161, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %162 unwind label %176

162:                                              ; preds = %160
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %23)
          to label %163 unwind label %85

163:                                              ; preds = %162
  br label %34, !llvm.loop !25

164:                                              ; preds = %144
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %6, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  br label %180

168:                                              ; preds = %147
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %6, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  br label %180

172:                                              ; preds = %157
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %6, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  br label %180

176:                                              ; preds = %160
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %6, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  br label %180

180:                                              ; preds = %176, %172, %168, %164, %97, %85, %81
  call void @_ZN12a_new_structD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %14) #5
  br label %181

181:                                              ; preds = %180, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @_ZN12b_new_structD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #5
  br label %182

182:                                              ; preds = %181, %73
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @_ZN5sc_dt10sc_lv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %183

183:                                              ; preds = %182, %69
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br label %184

184:                                              ; preds = %183, %65
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  br label %185

185:                                              ; preds = %184, %61
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #5
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %186

186:                                              ; preds = %185, %57
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br label %187

187:                                              ; preds = %186, %53
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  call void @_ZN5sc_dt10sc_lv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %188

188:                                              ; preds = %187
  %189 = load ptr, ptr %6, align 8
  %190 = load i32, ptr %7, align 4
  %191 = insertvalue { ptr, i32 } poison, ptr %189, 0
  %192 = insertvalue { ptr, i32 } %191, i32 %190, 1
  resume { ptr, i32 } %192
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNK7sc_core5sc_inI12a_new_structE4readEv(ptr noundef nonnull align 8 dereferenceable(168)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN12a_new_structaSERKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5sc_dteqERKNS_8sc_logicES2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt8sc_logicC2Ec(ptr noundef nonnull align 4 dereferenceable(4), i8 noundef signext) unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt7sc_uintILi8EEppEi(ptr dead_on_unwind noalias writable sret(%"class.sc_dt::sc_uint") align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt7sc_uintILi8EEmmEi(ptr dead_on_unwind noalias writable sret(%"class.sc_dt::sc_uint") align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #0 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7sc_core8sc_inoutI12b_new_structE5writeERKS1_(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef nonnull align 8 dereferenceable(36)) #0 align 2

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

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

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

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

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 = !{!"bool", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !7, i64 0}
!14 = !{!"_ZTS12a_new_struct", !7, i64 0, !7, i64 1, !15, i64 4}
!15 = !{!"_ZTSN5sc_dt8sc_logicE", !16, i64 0}
!16 = !{!"_ZTSN5sc_dt16sc_logic_value_tE", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!14, !7, i64 1}
!20 = !{!21, !18, i64 32}
!21 = !{!"_ZTS12b_new_struct", !22, i64 0, !18, i64 32}
!22 = !{!"_ZTSN5sc_dt5sc_lvILi9EEE", !23, i64 0}
!23 = !{!"_ZTSN5sc_dt10sc_lv_baseE", !24, i64 0, !18, i64 8, !18, i64 12, !6, i64 16, !6, i64 24}
!24 = !{!"_ZTSN5sc_dt8sc_proxyINS_10sc_lv_baseEEE"}
!25 = distinct !{!25, !12}


; 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_lv" = type { %"class.sc_dt::sc_lv_base" }
%"class.sc_dt::sc_lv_base" = type { %"class.sc_dt::sc_proxy", i32, i32, ptr, ptr }
%"class.sc_dt::sc_proxy" = type { ptr }
%"class.sc_dt::sc_uint" = 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 }
%"class.sc_dt::sc_int" = type { %"class.sc_dt::sc_int_base" }
%"class.sc_dt::sc_int_base" = type { %"class.sc_dt::sc_value_base", i64, i32, i32 }
%"class.sc_dt::sc_int.0" = type { %"class.sc_dt::sc_int_base" }
%"class.sc_dt::sc_lv.1" = type { %"class.sc_dt::sc_lv_base" }
%struct.b_new_struct = type <{ %"class.sc_dt::sc_lv.1", i32, [4 x i8] }>
%struct.a_new_struct = type { i8, i8, %"class.sc_dt::sc_logic" }
%"class.sc_dt::sc_logic" = type { i32 }

@.str = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress noreturn uwtable
define dso_local void @_ZN6types25entryEv(ptr noundef nonnull align 8 dereferenceable(1136) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.sc_dt::sc_lv", align 8
  %3 = alloca %"class.sc_dt::sc_uint", align 8
  %4 = alloca %"class.sc_dt::sc_uint", align 8
  %5 = alloca %"class.sc_dt::sc_int", align 8
  %6 = alloca %"class.sc_dt::sc_int.0", align 8
  %7 = alloca %"class.sc_dt::sc_lv.1", align 8
  %8 = alloca %struct.b_new_struct, align 8
  %9 = alloca %struct.a_new_struct, align 4
  %10 = alloca i8, align 1
  %11 = alloca %"class.sc_dt::sc_logic", align 4
  %12 = alloca %"class.sc_dt::sc_uint", align 8
  %13 = alloca %"class.sc_dt::sc_uint", align 8
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #6
  call void @_ZN5sc_dt5sc_lvILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  invoke void @_ZN5sc_dt7sc_uintILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %18 unwind label %43

18:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  invoke void @_ZN5sc_dt7sc_uintILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %19 unwind label %45

19:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  invoke void @_ZN5sc_dt6sc_intILi9EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %20 unwind label %47

20:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  invoke void @_ZN5sc_dt6sc_intILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %21 unwind label %49

21:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  invoke void @_ZN5sc_dt5sc_lvILi9EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %22 unwind label %51

22:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #6
  invoke void @_ZN12b_new_structC2Ev(ptr noundef nonnull align 8 dereferenceable(36) %8)
          to label %23 unwind label %53

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  invoke void @_ZN12a_new_structC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %9)
          to label %24 unwind label %55

24:                                               ; preds = %23
  %25 = getelementptr inbounds i8, ptr %0, i64 944
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  store i8 0, ptr %10, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %25, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %26 unwind label %57

26:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %.preheader21 unwind label %.loopexit.split-lp.loopexit.split-lp

.preheader21:                                     ; preds = %26
  %27 = getelementptr inbounds i8, ptr %0, i64 600
  %28 = getelementptr inbounds i8, ptr %9, i64 4
  %29 = getelementptr inbounds i8, ptr %9, i64 1
  %30 = getelementptr inbounds i8, ptr %8, i64 32
  %31 = getelementptr inbounds i8, ptr %0, i64 768
  br label %32

32:                                               ; preds = %.preheader21, %104
  %33 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNK7sc_core5sc_inI12a_new_structE4readEv(ptr noundef nonnull align 8 dereferenceable(168) %27)
          to label %34 unwind label %.loopexit.split-lp.loopexit

34:                                               ; preds = %32
  %35 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN12a_new_structaSERKS_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %33)
          to label %.preheader unwind label %.loopexit.split-lp.loopexit

.preheader:                                       ; preds = %34, %41
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  invoke void @_ZN5sc_dt8sc_logicC2Ec(ptr noundef nonnull align 4 dereferenceable(4) %11, i8 noundef signext 48)
          to label %36 unwind label %59

36:                                               ; preds = %.preheader
  %37 = call noundef zeroext i1 @_ZN5sc_dteqERKNS_8sc_logicES2_(ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %11)
  call void @_ZN5sc_dt8sc_logicD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  br i1 %37, label %38, label %61

38:                                               ; preds = %36
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %39 unwind label %.loopexit

39:                                               ; preds = %38
  %40 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNK7sc_core5sc_inI12a_new_structE4readEv(ptr noundef nonnull align 8 dereferenceable(168) %27)
          to label %41 unwind label %.loopexit

41:                                               ; preds = %39
  %42 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN12a_new_structaSERKS_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %40)
          to label %.preheader unwind label %.loopexit, !llvm.loop !9

43:                                               ; preds = %1
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %119

45:                                               ; preds = %18
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %118

47:                                               ; preds = %19
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %117

49:                                               ; preds = %20
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %116

51:                                               ; preds = %21
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %115

53:                                               ; preds = %22
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %114

55:                                               ; preds = %23
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %113

57:                                               ; preds = %24
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %.loopexit.split-lp

.loopexit:                                        ; preds = %38, %39, %41
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %104, %102, %100, %98, %97, %95, %93, %91, %88, %83, %81, %74, %73, %72, %70, %67, %62, %61, %34, %32
  %lpad.loopexit22 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %26
  %lpad.loopexit.split-lp23 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

59:                                               ; preds = %.preheader
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  br label %.loopexit.split-lp

61:                                               ; preds = %36
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %62 unwind label %.loopexit.split-lp.loopexit

62:                                               ; preds = %61
  %63 = load i8, ptr %9, align 4, !tbaa !11
  %64 = load i8, ptr %29, align 1, !tbaa !15
  %65 = sext i8 %64 to i32
  %66 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt5sc_lvILi8EEaSEi(ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef %65)
          to label %67 unwind label %.loopexit.split-lp.loopexit

67:                                               ; preds = %62
  %68 = sext i8 %63 to i32
  %69 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi8EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %68)
          to label %70 unwind label %.loopexit.split-lp.loopexit

70:                                               ; preds = %67
  %71 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt7sc_uintILi8EEaSERKNS_10sc_lv_baseE(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %72 unwind label %.loopexit.split-lp.loopexit

72:                                               ; preds = %70
  invoke void @_ZN5sc_dt7sc_uintILi8EEppEi(ptr dead_on_unwind nonnull writable sret(%"class.sc_dt::sc_uint") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 0)
          to label %73 unwind label %.loopexit.split-lp.loopexit

73:                                               ; preds = %72
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  invoke void @_ZN5sc_dt7sc_uintILi8EEmmEi(ptr dead_on_unwind nonnull writable sret(%"class.sc_dt::sc_uint") align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 0)
          to label %74 unwind label %.loopexit.split-lp.loopexit

74:                                               ; preds = %73
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %75 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %76 = trunc i64 %75 to i32
  %77 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %78 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %79 = add i64 %78, %77
  %80 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt6sc_intILi9EEaSEy(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %79)
          to label %81 unwind label %.loopexit.split-lp.loopexit

81:                                               ; preds = %74
  %82 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt5sc_lvILi9EEaSERKNS_11sc_int_baseE(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(24) %80)
          to label %83 unwind label %.loopexit.split-lp.loopexit

83:                                               ; preds = %81
  %84 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %85 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %86 = sub i64 %84, %85
  %87 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt6sc_intILi8EEaSEy(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %86)
          to label %88 unwind label %.loopexit.split-lp.loopexit

88:                                               ; preds = %83
  %89 = call noundef i64 @_ZNK5sc_dt11sc_int_basecvxEv(ptr noundef nonnull align 8 dereferenceable(24) %87)
  %90 = trunc i64 %89 to i32
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %91 unwind label %.loopexit.split-lp.loopexit

91:                                               ; preds = %88
  %92 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt5sc_lvILi9EEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str)
          to label %93 unwind label %.loopexit.split-lp.loopexit

93:                                               ; preds = %91
  store i32 %76, ptr %30, align 8, !tbaa !16
  invoke void @_ZN7sc_core8sc_inoutI12b_new_structE5writeERKS1_(ptr noundef nonnull align 8 dereferenceable(176) %31, ptr noundef nonnull align 8 dereferenceable(36) %8)
          to label %94 unwind label %.loopexit.split-lp.loopexit

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  store i8 1, ptr %14, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %25, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %95 unwind label %105

95:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %96 unwind label %.loopexit.split-lp.loopexit

96:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  store i8 0, ptr %15, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %25, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %97 unwind label %107

97:                                               ; preds = %96
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %98 unwind label %.loopexit.split-lp.loopexit

98:                                               ; preds = %97
  %99 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt5sc_lvILi9EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %100 unwind label %.loopexit.split-lp.loopexit

100:                                              ; preds = %98
  store i32 %90, ptr %30, align 8, !tbaa !16
  invoke void @_ZN7sc_core8sc_inoutI12b_new_structE5writeERKS1_(ptr noundef nonnull align 8 dereferenceable(176) %31, ptr noundef nonnull align 8 dereferenceable(36) %8)
          to label %101 unwind label %.loopexit.split-lp.loopexit

101:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  store i8 1, ptr %16, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %25, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %102 unwind label %109

102:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %103 unwind label %.loopexit.split-lp.loopexit

103:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #6
  store i8 0, ptr %17, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %25, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %104 unwind label %111

104:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %32 unwind label %.loopexit.split-lp.loopexit, !llvm.loop !23

105:                                              ; preds = %94
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  br label %.loopexit.split-lp

107:                                              ; preds = %96
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  br label %.loopexit.split-lp

109:                                              ; preds = %101
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  br label %.loopexit.split-lp

111:                                              ; preds = %103
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %111, %109, %107, %105, %59, %57
  %.pn = phi { ptr, i32 } [ %112, %111 ], [ %110, %109 ], [ %108, %107 ], [ %106, %105 ], [ %60, %59 ], [ %58, %57 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit22, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp23, %.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZN12a_new_structD2Ev(ptr noundef nonnull align 4 dereferenceable(8) %9) #6
  br label %113

113:                                              ; preds = %.loopexit.split-lp, %55
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit.split-lp ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @_ZN12b_new_structD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %8) #6
  br label %114

114:                                              ; preds = %113, %53
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %113 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #6
  call void @_ZN5sc_dt10sc_lv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %115

115:                                              ; preds = %114, %51
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %114 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %116

116:                                              ; preds = %115, %49
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %115 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  br label %117

117:                                              ; preds = %116, %47
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %116 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %118

118:                                              ; preds = %117, %45
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %117 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %119

119:                                              ; preds = %118, %43
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %118 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @_ZN5sc_dt10sc_lv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn
}

; 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 uwtable
declare dso_local void @_ZN5sc_dt5sc_lvILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12b_new_structC2Ev(ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef nonnull align 1 dereferenceable(1)) local_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) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNK7sc_core5sc_inI12a_new_structE4readEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN12a_new_structaSERKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5sc_dteqERKNS_8sc_logicES2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt8sc_logicC2Ec(ptr noundef nonnull align 4 dereferenceable(4), i8 noundef signext) unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt7sc_uintILi8EEppEi(ptr dead_on_unwind noalias writable sret(%"class.sc_dt::sc_uint") align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt7sc_uintILi8EEmmEi(ptr dead_on_unwind noalias writable sret(%"class.sc_dt::sc_uint") align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2 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 #5 align 2

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress noreturn 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 = { 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 #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 = { 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 #6 = { 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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !7, i64 0}
!12 = !{!"_ZTS12a_new_struct", !7, i64 0, !7, i64 1, !13, i64 4}
!13 = !{!"_ZTSN5sc_dt8sc_logicE", !14, i64 0}
!14 = !{!"_ZTSN5sc_dt16sc_logic_value_tE", !7, i64 0}
!15 = !{!12, !7, i64 1}
!16 = !{!17, !21, i64 32}
!17 = !{!"_ZTS12b_new_struct", !18, i64 0, !21, i64 32}
!18 = !{!"_ZTSN5sc_dt5sc_lvILi9EEE", !19, i64 0}
!19 = !{!"_ZTSN5sc_dt10sc_lv_baseE", !20, i64 0, !21, i64 8, !21, i64 12, !22, i64 16, !22, i64 24}
!20 = !{!"_ZTSN5sc_dt8sc_proxyINS_10sc_lv_baseEEE"}
!21 = !{!"int", !7, i64 0}
!22 = !{!"any pointer", !7, i64 0}
!23 = distinct !{!23, !10}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass