; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/compliance_1666/test210 (test210)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%struct.Top = type { %"class.sc_core::sc_module", ptr }
%"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.0", %"class.std::vector", %"class.std::__cxx11::basic_string", 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_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::__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_module_name" = type <{ ptr, ptr, ptr, ptr, i8, [7 x i8] }>
%struct.M = type { %"class.sc_core::sc_module", %"class.sc_core::sc_signal" }
%"class.sc_core::sc_signal" = type <{ %"class.sc_core::sc_signal_inout_if", %"class.sc_core::sc_prim_channel", %"struct.sc_core::sc_writer_policy_check", ptr, i32, [4 x i8], i64, i32, [4 x i8] }>
%"class.sc_core::sc_signal_inout_if" = type { %"class.sc_core::sc_signal_in_if", %"class.sc_core::sc_signal_write_if" }
%"class.sc_core::sc_signal_in_if" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_interface" = type { ptr }
%"class.sc_core::sc_signal_write_if" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_prim_channel" = type { %"class.sc_core::sc_object", ptr, ptr }
%"struct.sc_core::sc_writer_policy_check" = type { %"struct.sc_core::sc_writer_policy_check_port", %"struct.sc_core::sc_writer_policy_check_write" }
%"struct.sc_core::sc_writer_policy_check_port" = type { ptr }
%"struct.sc_core::sc_writer_policy_check_write" = type { i8, ptr }
%"class.sc_core::sc_process_handle" = type { ptr }

@_ZL12object_count = external hidden global i32, align 4
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [20 x i8], align 1
@_ZN7sc_core23SC_ID_ASSERTION_FAILED_E = external constant [0 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17recurse_hierarchyPN7sc_core9sc_objectE(ptr noundef) #0

; 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 @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local i32 @sc_main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %struct.Top, align 8
  %9 = alloca %"class.sc_core::sc_module_name", align 8
  %10 = alloca %struct.M, align 8
  %11 = alloca %"class.sc_core::sc_module_name", align 8
  %12 = alloca %"class.sc_core::sc_signal", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.sc_core::sc_process_handle", align 8
  %15 = alloca %"class.sc_core::sc_process_handle", align 8
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  %16 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %17 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #8
  %18 = call noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
  %19 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core24sc_get_top_level_objectsEPKNS_13sc_simcontextE(ptr noundef %18)
  call void @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %19)
  %20 = call noundef i64 @_ZNKSt6vectorIPN7sc_core9sc_objectESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %21 = icmp eq i64 %20, 0
  br i1 %21, label %22, label %23

22:                                               ; preds = %2
  br label %25

23:                                               ; preds = %2
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 68)
          to label %24 unwind label %278

24:                                               ; preds = %23
  br label %25

25:                                               ; preds = %24, %22
  %26 = phi i32 [ 0, %22 ], [ 0, %24 ]
  call void @llvm.lifetime.start.p0(i64 240, ptr %8) #8
  invoke void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33) %9, ptr noundef @.str.4)
          to label %27 unwind label %282

27:                                               ; preds = %25
  invoke void @_ZN3TopC2EN7sc_core14sc_module_nameE(ptr noundef nonnull align 8 dereferenceable(240) %8, ptr noundef %9)
          to label %28 unwind label %286

28:                                               ; preds = %27
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %9) #8
  %29 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %30 unwind label %290

30:                                               ; preds = %28
  %31 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core24sc_get_top_level_objectsEPKNS_13sc_simcontextE(ptr noundef %29)
          to label %32 unwind label %290

32:                                               ; preds = %30
  %33 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %34 unwind label %290

34:                                               ; preds = %32
  %35 = call noundef i64 @_ZNKSt6vectorIPN7sc_core9sc_objectESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %36 = icmp eq i64 %35, 1
  br i1 %36, label %37, label %38

37:                                               ; preds = %34
  br label %40

38:                                               ; preds = %34
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.5, ptr noundef @.str.3, i32 noundef 73)
          to label %39 unwind label %290

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39, %37
  %41 = phi i32 [ 0, %37 ], [ 0, %39 ]
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #8
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  %44 = invoke noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %43)
          to label %45 unwind label %290

45:                                               ; preds = %40
  %46 = call i32 @strcmp(ptr noundef %44, ptr noundef @.str.4) #9
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %49

48:                                               ; preds = %45
  br label %51

49:                                               ; preds = %45
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.6, ptr noundef @.str.3, i32 noundef 74)
          to label %50 unwind label %290

50:                                               ; preds = %49
  br label %51

51:                                               ; preds = %50, %48
  %52 = phi i32 [ 0, %48 ], [ 0, %50 ]
  call void @llvm.lifetime.start.p0(i64 432, ptr %10) #8
  invoke void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef @.str.7)
          to label %53 unwind label %294

53:                                               ; preds = %51
  invoke void @_ZN1MC2EN7sc_core14sc_module_nameE(ptr noundef nonnull align 8 dereferenceable(432) %10, ptr noundef %11)
          to label %54 unwind label %298

54:                                               ; preds = %53
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11) #8
  %55 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %56 unwind label %302

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core24sc_get_top_level_objectsEPKNS_13sc_simcontextE(ptr noundef %55)
          to label %58 unwind label %302

58:                                               ; preds = %56
  %59 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %57)
          to label %60 unwind label %302

60:                                               ; preds = %58
  %61 = call noundef i64 @_ZNKSt6vectorIPN7sc_core9sc_objectESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %62 = icmp eq i64 %61, 2
  br i1 %62, label %63, label %64

63:                                               ; preds = %60
  br label %66

64:                                               ; preds = %60
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.8, ptr noundef @.str.3, i32 noundef 79)
          to label %65 unwind label %302

65:                                               ; preds = %64
  br label %66

66:                                               ; preds = %65, %63
  %67 = phi i32 [ 0, %63 ], [ 0, %65 ]
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #8
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  %70 = invoke noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %69)
          to label %71 unwind label %302

71:                                               ; preds = %66
  %72 = call i32 @strcmp(ptr noundef %70, ptr noundef @.str.4) #9
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %71
  br label %77

75:                                               ; preds = %71
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.6, ptr noundef @.str.3, i32 noundef 80)
          to label %76 unwind label %302

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76, %74
  %78 = phi i32 [ 0, %74 ], [ 0, %76 ]
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #8
  %80 = load ptr, ptr %79, align 8, !tbaa !9
  %81 = invoke noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %80)
          to label %82 unwind label %302

82:                                               ; preds = %77
  %83 = call i32 @strcmp(ptr noundef %81, ptr noundef @.str.7) #9
  %84 = icmp eq i32 %83, 0
  br i1 %84, label %85, label %86

85:                                               ; preds = %82
  br label %88

86:                                               ; preds = %82
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.9, ptr noundef @.str.3, i32 noundef 81)
          to label %87 unwind label %302

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87, %85
  %89 = phi i32 [ 0, %85 ], [ 0, %87 ]
  call void @llvm.lifetime.start.p0(i64 200, ptr %12) #8
  invoke void @_ZN7sc_core9sc_signalIiLNS_16sc_writer_policyE0EEC1EPKc(ptr noundef nonnull align 8 dereferenceable(196) %12, ptr noundef @.str.10)
          to label %90 unwind label %306

90:                                               ; preds = %88
  %91 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %92 unwind label %310

92:                                               ; preds = %90
  %93 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core24sc_get_top_level_objectsEPKNS_13sc_simcontextE(ptr noundef %91)
          to label %94 unwind label %310

94:                                               ; preds = %92
  %95 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %93)
          to label %96 unwind label %310

96:                                               ; preds = %94
  %97 = call noundef i64 @_ZNKSt6vectorIPN7sc_core9sc_objectESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %98 = icmp eq i64 %97, 3
  br i1 %98, label %99, label %100

99:                                               ; preds = %96
  br label %102

100:                                              ; preds = %96
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.11, ptr noundef @.str.3, i32 noundef 86)
          to label %101 unwind label %310

101:                                              ; preds = %100
  br label %102

102:                                              ; preds = %101, %99
  %103 = phi i32 [ 0, %99 ], [ 0, %101 ]
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #8
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = invoke noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %105)
          to label %107 unwind label %310

107:                                              ; preds = %102
  %108 = call i32 @strcmp(ptr noundef %106, ptr noundef @.str.4) #9
  %109 = icmp eq i32 %108, 0
  br i1 %109, label %110, label %111

110:                                              ; preds = %107
  br label %113

111:                                              ; preds = %107
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.6, ptr noundef @.str.3, i32 noundef 87)
          to label %112 unwind label %310

112:                                              ; preds = %111
  br label %113

113:                                              ; preds = %112, %110
  %114 = phi i32 [ 0, %110 ], [ 0, %112 ]
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #8
  %116 = load ptr, ptr %115, align 8, !tbaa !9
  %117 = invoke noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %116)
          to label %118 unwind label %310

118:                                              ; preds = %113
  %119 = call i32 @strcmp(ptr noundef %117, ptr noundef @.str.7) #9
  %120 = icmp eq i32 %119, 0
  br i1 %120, label %121, label %122

121:                                              ; preds = %118
  br label %124

122:                                              ; preds = %118
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.9, ptr noundef @.str.3, i32 noundef 88)
          to label %123 unwind label %310

123:                                              ; preds = %122
  br label %124

124:                                              ; preds = %123, %121
  %125 = phi i32 [ 0, %121 ], [ 0, %123 ]
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2) #8
  %127 = load ptr, ptr %126, align 8, !tbaa !9
  %128 = invoke noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %127)
          to label %129 unwind label %310

129:                                              ; preds = %124
  %130 = call i32 @strcmp(ptr noundef %128, ptr noundef @.str.10) #9
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %129
  br label %135

133:                                              ; preds = %129
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.12, ptr noundef @.str.3, i32 noundef 89)
          to label %134 unwind label %310

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134, %132
  %136 = phi i32 [ 0, %132 ], [ 0, %134 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %137 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef @.str.13)
          to label %138 unwind label %314

138:                                              ; preds = %135
  store ptr %137, ptr %13, align 8, !tbaa !9
  %139 = load ptr, ptr %13, align 8, !tbaa !9
  %140 = icmp eq ptr %139, null
  br i1 %140, label %141, label %142

141:                                              ; preds = %138
  br label %144

142:                                              ; preds = %138
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.14, ptr noundef @.str.3, i32 noundef 93)
          to label %143 unwind label %314

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143, %141
  %145 = phi i32 [ 0, %141 ], [ 0, %143 ]
  %146 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef @.str.15)
          to label %147 unwind label %314

147:                                              ; preds = %144
  store ptr %146, ptr %13, align 8, !tbaa !9
  %148 = load ptr, ptr %13, align 8, !tbaa !9
  %149 = icmp eq ptr %148, null
  br i1 %149, label %150, label %151

150:                                              ; preds = %147
  br label %153

151:                                              ; preds = %147
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.14, ptr noundef @.str.3, i32 noundef 95)
          to label %152 unwind label %314

152:                                              ; preds = %151
  br label %153

153:                                              ; preds = %152, %150
  %154 = phi i32 [ 0, %150 ], [ 0, %152 ]
  %155 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef @.str.16)
          to label %156 unwind label %314

156:                                              ; preds = %153
  store ptr %155, ptr %13, align 8, !tbaa !9
  %157 = load ptr, ptr %13, align 8, !tbaa !9
  %158 = icmp eq ptr %157, null
  br i1 %158, label %159, label %160

159:                                              ; preds = %156
  br label %162

160:                                              ; preds = %156
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.14, ptr noundef @.str.3, i32 noundef 97)
          to label %161 unwind label %314

161:                                              ; preds = %160
  br label %162

162:                                              ; preds = %161, %159
  %163 = phi i32 [ 0, %159 ], [ 0, %161 ]
  %164 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef @.str.4)
          to label %165 unwind label %314

165:                                              ; preds = %162
  store ptr %164, ptr %13, align 8, !tbaa !9
  %166 = load ptr, ptr %13, align 8, !tbaa !9
  %167 = load ptr, ptr %166, align 8, !tbaa !11
  %168 = getelementptr inbounds ptr, ptr %167, i64 3
  %169 = load ptr, ptr %168, align 8
  %170 = invoke noundef ptr %169(ptr noundef nonnull align 8 dereferenceable(112) %166)
          to label %171 unwind label %314

171:                                              ; preds = %165
  %172 = call i32 @strcmp(ptr noundef %170, ptr noundef @.str.17) #9
  %173 = icmp eq i32 %172, 0
  br i1 %173, label %174, label %175

174:                                              ; preds = %171
  br label %177

175:                                              ; preds = %171
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.18, ptr noundef @.str.3, i32 noundef 99)
          to label %176 unwind label %314

176:                                              ; preds = %175
  br label %177

177:                                              ; preds = %176, %174
  %178 = phi i32 [ 0, %174 ], [ 0, %176 ]
  %179 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef @.str.10)
          to label %180 unwind label %314

180:                                              ; preds = %177
  store ptr %179, ptr %13, align 8, !tbaa !9
  %181 = load ptr, ptr %13, align 8, !tbaa !9
  %182 = load ptr, ptr %181, align 8, !tbaa !11
  %183 = getelementptr inbounds ptr, ptr %182, i64 3
  %184 = load ptr, ptr %183, align 8
  %185 = invoke noundef ptr %184(ptr noundef nonnull align 8 dereferenceable(112) %181)
          to label %186 unwind label %314

186:                                              ; preds = %180
  %187 = call i32 @strcmp(ptr noundef %185, ptr noundef @.str.19) #9
  %188 = icmp eq i32 %187, 0
  br i1 %188, label %189, label %190

189:                                              ; preds = %186
  br label %192

190:                                              ; preds = %186
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.20, ptr noundef @.str.3, i32 noundef 101)
          to label %191 unwind label %314

191:                                              ; preds = %190
  br label %192

192:                                              ; preds = %191, %189
  %193 = phi i32 [ 0, %189 ], [ 0, %191 ]
  %194 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef @.str.7)
          to label %195 unwind label %314

195:                                              ; preds = %192
  store ptr %194, ptr %13, align 8, !tbaa !9
  %196 = load ptr, ptr %13, align 8, !tbaa !9
  %197 = load ptr, ptr %196, align 8, !tbaa !11
  %198 = getelementptr inbounds ptr, ptr %197, i64 3
  %199 = load ptr, ptr %198, align 8
  %200 = invoke noundef ptr %199(ptr noundef nonnull align 8 dereferenceable(112) %196)
          to label %201 unwind label %314

201:                                              ; preds = %195
  %202 = call i32 @strcmp(ptr noundef %200, ptr noundef @.str.17) #9
  %203 = icmp eq i32 %202, 0
  br i1 %203, label %204, label %205

204:                                              ; preds = %201
  br label %207

205:                                              ; preds = %201
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.18, ptr noundef @.str.3, i32 noundef 103)
          to label %206 unwind label %314

206:                                              ; preds = %205
  br label %207

207:                                              ; preds = %206, %204
  %208 = phi i32 [ 0, %204 ], [ 0, %206 ]
  %209 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef @.str.21)
          to label %210 unwind label %314

210:                                              ; preds = %207
  store ptr %209, ptr %13, align 8, !tbaa !9
  %211 = load ptr, ptr %13, align 8, !tbaa !9
  %212 = load ptr, ptr %211, align 8, !tbaa !11
  %213 = getelementptr inbounds ptr, ptr %212, i64 3
  %214 = load ptr, ptr %213, align 8
  %215 = invoke noundef ptr %214(ptr noundef nonnull align 8 dereferenceable(112) %211)
          to label %216 unwind label %314

216:                                              ; preds = %210
  %217 = call i32 @strcmp(ptr noundef %215, ptr noundef @.str.17) #9
  %218 = icmp eq i32 %217, 0
  br i1 %218, label %219, label %220

219:                                              ; preds = %216
  br label %222

220:                                              ; preds = %216
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.18, ptr noundef @.str.3, i32 noundef 105)
          to label %221 unwind label %314

221:                                              ; preds = %220
  br label %222

222:                                              ; preds = %221, %219
  %223 = phi i32 [ 0, %219 ], [ 0, %221 ]
  %224 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef @.str.22)
          to label %225 unwind label %314

225:                                              ; preds = %222
  store ptr %224, ptr %13, align 8, !tbaa !9
  %226 = load ptr, ptr %13, align 8, !tbaa !9
  %227 = load ptr, ptr %226, align 8, !tbaa !11
  %228 = getelementptr inbounds ptr, ptr %227, i64 3
  %229 = load ptr, ptr %228, align 8
  %230 = invoke noundef ptr %229(ptr noundef nonnull align 8 dereferenceable(112) %226)
          to label %231 unwind label %314

231:                                              ; preds = %225
  %232 = call i32 @strcmp(ptr noundef %230, ptr noundef @.str.19) #9
  %233 = icmp eq i32 %232, 0
  br i1 %233, label %234, label %235

234:                                              ; preds = %231
  br label %237

235:                                              ; preds = %231
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.20, ptr noundef @.str.3, i32 noundef 107)
          to label %236 unwind label %314

236:                                              ; preds = %235
  br label %237

237:                                              ; preds = %236, %234
  %238 = phi i32 [ 0, %234 ], [ 0, %236 ]
  %239 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef @.str.23)
          to label %240 unwind label %314

240:                                              ; preds = %237
  store ptr %239, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %241 = load ptr, ptr %13, align 8, !tbaa !9
  invoke void @_ZN7sc_core17sc_process_handleC2EPNS_9sc_objectE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef %241)
          to label %242 unwind label %318

242:                                              ; preds = %240
  %243 = invoke noundef zeroext i1 @_ZNK7sc_core17sc_process_handle5validEv(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %244 unwind label %322

244:                                              ; preds = %242
  br i1 %243, label %245, label %246

245:                                              ; preds = %244
  br label %248

246:                                              ; preds = %244
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.24, ptr noundef @.str.3, i32 noundef 109)
          to label %247 unwind label %322

247:                                              ; preds = %246
  br label %248

248:                                              ; preds = %247, %245
  %249 = phi i32 [ 0, %245 ], [ 0, %247 ]
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %250 = load ptr, ptr %13, align 8, !tbaa !9
  invoke void @_ZN7sc_core17sc_process_handleC2EPNS_9sc_objectE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef %250)
          to label %251 unwind label %327

251:                                              ; preds = %248
  %252 = invoke noundef ptr @_ZNK7sc_core17sc_process_handle4nameEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %253 unwind label %331

253:                                              ; preds = %251
  %254 = call i32 @strcmp(ptr noundef %252, ptr noundef @.str.23) #9
  %255 = icmp eq i32 %254, 0
  br i1 %255, label %256, label %257

256:                                              ; preds = %253
  br label %259

257:                                              ; preds = %253
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.25, ptr noundef @.str.3, i32 noundef 110)
          to label %258 unwind label %331

258:                                              ; preds = %257
  br label %259

259:                                              ; preds = %258, %256
  %260 = phi i32 [ 0, %256 ], [ 0, %258 ]
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  store i32 0, ptr @_ZL12object_count, align 4, !tbaa !5
  %261 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #8
  %262 = load ptr, ptr %261, align 8, !tbaa !9
  invoke void @_Z17recurse_hierarchyPN7sc_core9sc_objectE(ptr noundef %262)
          to label %263 unwind label %314

263:                                              ; preds = %259
  %264 = load i32, ptr @_ZL12object_count, align 4, !tbaa !5
  %265 = icmp eq i32 %264, 4
  br i1 %265, label %266, label %267

266:                                              ; preds = %263
  br label %269

267:                                              ; preds = %263
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.26, ptr noundef @.str.3, i32 noundef 114)
          to label %268 unwind label %314

268:                                              ; preds = %267
  br label %269

269:                                              ; preds = %268, %266
  %270 = phi i32 [ 0, %266 ], [ 0, %268 ]
  invoke void @_ZN7sc_core8sc_startEv()
          to label %271 unwind label %314

271:                                              ; preds = %269
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %273 unwind label %314

273:                                              ; preds = %271
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %272, ptr noundef @.str.27)
          to label %275 unwind label %314

275:                                              ; preds = %273
  %276 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %274, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %277 unwind label %314

277:                                              ; preds = %275
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @_ZN7sc_core9sc_signalIiLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(196) %12) #8
  call void @llvm.lifetime.end.p0(i64 200, ptr %12) #8
  call void @_ZN1MD2Ev(ptr noundef nonnull align 8 dereferenceable(432) %10) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %10) #8
  call void @_ZN7sc_core9sc_moduleD2Ev(ptr noundef nonnull align 8 dereferenceable(240) %8) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr %8) #8
  call void @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #8
  ret i32 0

278:                                              ; preds = %23
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %6, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %7, align 4
  br label %343

282:                                              ; preds = %25
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %6, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %7, align 4
  br label %342

286:                                              ; preds = %27
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %6, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %7, align 4
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %9) #8
  br label %342

290:                                              ; preds = %49, %40, %38, %32, %30, %28
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %6, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %7, align 4
  br label %341

294:                                              ; preds = %51
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %6, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %7, align 4
  br label %340

298:                                              ; preds = %53
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %6, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %7, align 4
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11) #8
  br label %340

302:                                              ; preds = %86, %77, %75, %66, %64, %58, %56, %54
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %6, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %7, align 4
  br label %339

306:                                              ; preds = %88
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %6, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %7, align 4
  br label %338

310:                                              ; preds = %133, %124, %122, %113, %111, %102, %100, %94, %92, %90
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %6, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %7, align 4
  br label %337

314:                                              ; preds = %275, %273, %271, %269, %267, %259, %237, %235, %225, %222, %220, %210, %207, %205, %195, %192, %190, %180, %177, %175, %165, %162, %160, %153, %151, %144, %142, %135
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %6, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %7, align 4
  br label %336

318:                                              ; preds = %240
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %6, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %7, align 4
  br label %326

322:                                              ; preds = %246, %242
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %6, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %7, align 4
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br label %326

326:                                              ; preds = %322, %318
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %336

327:                                              ; preds = %248
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %6, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %7, align 4
  br label %335

331:                                              ; preds = %257, %251
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %6, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %7, align 4
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br label %335

335:                                              ; preds = %331, %327
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %336

336:                                              ; preds = %335, %326, %314
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %337

337:                                              ; preds = %336, %310
  call void @_ZN7sc_core9sc_signalIiLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(196) %12) #8
  br label %338

338:                                              ; preds = %337, %306
  call void @llvm.lifetime.end.p0(i64 200, ptr %12) #8
  br label %339

339:                                              ; preds = %338, %302
  call void @_ZN1MD2Ev(ptr noundef nonnull align 8 dereferenceable(432) %10) #8
  br label %340

340:                                              ; preds = %339, %298, %294
  call void @llvm.lifetime.end.p0(i64 432, ptr %10) #8
  br label %341

341:                                              ; preds = %340, %290
  call void @_ZN7sc_core9sc_moduleD2Ev(ptr noundef nonnull align 8 dereferenceable(240) %8) #8
  br label %342

342:                                              ; preds = %341, %286, %282
  call void @llvm.lifetime.end.p0(i64 240, ptr %8) #8
  br label %343

343:                                              ; preds = %342, %278
  call void @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #8
  br label %344

344:                                              ; preds = %343
  %345 = load ptr, ptr %6, align 8
  %346 = load i32, ptr %7, align 4
  %347 = insertvalue { ptr, i32 } poison, ptr %345, 0
  %348 = insertvalue { ptr, i32 } %347, i32 %346, 1
  resume { ptr, i32 } %348
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv() #3

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

declare void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #5

declare void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef) unnamed_addr #5

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

; Function Attrs: nounwind
declare void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #6

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #7

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

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

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

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

declare noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef) #5

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

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

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

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

declare void @_ZN7sc_core8sc_startEv() #5

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

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

; Function Attrs: nounwind
declare void @_ZN7sc_core9sc_moduleD2Ev(ptr noundef nonnull align 8 dereferenceable(232)) unnamed_addr #6

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 = { 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 = { 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 = { "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 "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 #7 = { nounwind willreturn memory(read) "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 #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}


; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%struct.Top = type { %"class.sc_core::sc_module", ptr }
%"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.0", %"class.std::vector", %"class.std::__cxx11::basic_string", 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_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::__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_module_name" = type <{ ptr, ptr, ptr, ptr, i8, [7 x i8] }>
%struct.M = type { %"class.sc_core::sc_module", %"class.sc_core::sc_signal" }
%"class.sc_core::sc_signal" = type <{ %"class.sc_core::sc_signal_inout_if", %"class.sc_core::sc_prim_channel", %"struct.sc_core::sc_writer_policy_check", ptr, i32, [4 x i8], i64, i32, [4 x i8] }>
%"class.sc_core::sc_signal_inout_if" = type { %"class.sc_core::sc_signal_in_if", %"class.sc_core::sc_signal_write_if" }
%"class.sc_core::sc_signal_in_if" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_interface" = type { ptr }
%"class.sc_core::sc_signal_write_if" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_prim_channel" = type { %"class.sc_core::sc_object", ptr, ptr }
%"struct.sc_core::sc_writer_policy_check" = type { %"struct.sc_core::sc_writer_policy_check_port", %"struct.sc_core::sc_writer_policy_check_write" }
%"struct.sc_core::sc_writer_policy_check_port" = type { ptr }
%"struct.sc_core::sc_writer_policy_check_write" = type { i8, ptr }
%"class.sc_core::sc_process_handle" = type { ptr }

@_ZL12object_count = external hidden local_unnamed_addr global i32, align 4
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [20 x i8], align 1
@_ZN7sc_core23SC_ID_ASSERTION_FAILED_E = external constant [0 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17recurse_hierarchyPN7sc_core9sc_objectE(ptr noundef) local_unnamed_addr #0

; 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 @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @sc_main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %struct.Top, align 8
  %5 = alloca %"class.sc_core::sc_module_name", align 8
  %6 = alloca %struct.M, align 8
  %7 = alloca %"class.sc_core::sc_module_name", align 8
  %8 = alloca %"class.sc_core::sc_signal", align 8
  %9 = alloca %"class.sc_core::sc_process_handle", align 8
  %10 = alloca %"class.sc_core::sc_process_handle", align 8
  %11 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %12 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #8
  %13 = tail call noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
  %14 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core24sc_get_top_level_objectsEPKNS_13sc_simcontextE(ptr noundef %13)
  call void @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %14)
  %15 = call noundef i64 @_ZNKSt6vectorIPN7sc_core9sc_objectESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %18, label %17

17:                                               ; preds = %2
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 68)
          to label %18 unwind label %187

18:                                               ; preds = %17, %2
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %4) #8
  invoke void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull @.str.4)
          to label %19 unwind label %189

19:                                               ; preds = %18
  invoke void @_ZN3TopC2EN7sc_core14sc_module_nameE(ptr noundef nonnull align 8 dereferenceable(240) %4, ptr noundef nonnull %5)
          to label %20 unwind label %191

20:                                               ; preds = %19
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %5) #8
  %21 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %22 unwind label %193

22:                                               ; preds = %20
  %23 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core24sc_get_top_level_objectsEPKNS_13sc_simcontextE(ptr noundef %21)
  %24 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %25 unwind label %193

25:                                               ; preds = %22
  %26 = call noundef i64 @_ZNKSt6vectorIPN7sc_core9sc_objectESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %27 = icmp eq i64 %26, 1
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, i32 noundef 73)
          to label %29 unwind label %193

29:                                               ; preds = %28, %25
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #8
  %31 = load ptr, ptr %30, align 8, !tbaa !5
  %32 = call noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %31)
  %33 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %32, ptr noundef nonnull dereferenceable(1) @.str.4) #9
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %36, label %35

35:                                               ; preds = %29
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.3, i32 noundef 74)
          to label %36 unwind label %193

36:                                               ; preds = %35, %29
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %6) #8
  invoke void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33) %7, ptr noundef nonnull @.str.7)
          to label %37 unwind label %195

37:                                               ; preds = %36
  invoke void @_ZN1MC2EN7sc_core14sc_module_nameE(ptr noundef nonnull align 8 dereferenceable(432) %6, ptr noundef nonnull %7)
          to label %38 unwind label %197

38:                                               ; preds = %37
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %7) #8
  %39 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %40 unwind label %199

40:                                               ; preds = %38
  %41 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core24sc_get_top_level_objectsEPKNS_13sc_simcontextE(ptr noundef %39)
  %42 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %43 unwind label %199

43:                                               ; preds = %40
  %44 = call noundef i64 @_ZNKSt6vectorIPN7sc_core9sc_objectESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %45 = icmp eq i64 %44, 2
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 79)
          to label %47 unwind label %199

47:                                               ; preds = %46, %43
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #8
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  %50 = call noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %49)
  %51 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %50, ptr noundef nonnull dereferenceable(1) @.str.4) #9
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %54, label %53

53:                                               ; preds = %47
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.3, i32 noundef 80)
          to label %54 unwind label %199

54:                                               ; preds = %53, %47
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #8
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = call noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %56)
  %58 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %57, ptr noundef nonnull dereferenceable(1) @.str.7) #9
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %61, label %60

60:                                               ; preds = %54
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.3, i32 noundef 81)
          to label %61 unwind label %199

61:                                               ; preds = %60, %54
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %8) #8
  invoke void @_ZN7sc_core9sc_signalIiLNS_16sc_writer_policyE0EEC1EPKc(ptr noundef nonnull align 8 dereferenceable(196) %8, ptr noundef nonnull @.str.10)
          to label %62 unwind label %201

62:                                               ; preds = %61
  %63 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %64 unwind label %203

64:                                               ; preds = %62
  %65 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core24sc_get_top_level_objectsEPKNS_13sc_simcontextE(ptr noundef %63)
  %66 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %65)
          to label %67 unwind label %203

67:                                               ; preds = %64
  %68 = call noundef i64 @_ZNKSt6vectorIPN7sc_core9sc_objectESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %69 = icmp eq i64 %68, 3
  br i1 %69, label %71, label %70

70:                                               ; preds = %67
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.3, i32 noundef 86)
          to label %71 unwind label %203

71:                                               ; preds = %70, %67
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #8
  %73 = load ptr, ptr %72, align 8, !tbaa !5
  %74 = call noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %73)
  %75 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %74, ptr noundef nonnull dereferenceable(1) @.str.4) #9
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %78, label %77

77:                                               ; preds = %71
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.3, i32 noundef 87)
          to label %78 unwind label %203

78:                                               ; preds = %77, %71
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #8
  %80 = load ptr, ptr %79, align 8, !tbaa !5
  %81 = call noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %80)
  %82 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %81, ptr noundef nonnull dereferenceable(1) @.str.7) #9
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %85, label %84

84:                                               ; preds = %78
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.3, i32 noundef 88)
          to label %85 unwind label %203

85:                                               ; preds = %84, %78
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2) #8
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = call noundef ptr @_ZNK7sc_core9sc_object4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %87)
  %89 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %88, ptr noundef nonnull dereferenceable(1) @.str.10) #9
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %92, label %91

91:                                               ; preds = %85
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.3, i32 noundef 89)
          to label %92 unwind label %203

92:                                               ; preds = %91, %85
  %93 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef nonnull @.str.13)
          to label %94 unwind label %205

94:                                               ; preds = %92
  %95 = icmp eq ptr %93, null
  br i1 %95, label %97, label %96

96:                                               ; preds = %94
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.3, i32 noundef 93)
          to label %97 unwind label %205

97:                                               ; preds = %96, %94
  %98 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef nonnull @.str.15)
          to label %99 unwind label %205

99:                                               ; preds = %97
  %100 = icmp eq ptr %98, null
  br i1 %100, label %102, label %101

101:                                              ; preds = %99
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.3, i32 noundef 95)
          to label %102 unwind label %205

102:                                              ; preds = %101, %99
  %103 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef nonnull @.str.16)
          to label %104 unwind label %205

104:                                              ; preds = %102
  %105 = icmp eq ptr %103, null
  br i1 %105, label %107, label %106

106:                                              ; preds = %104
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.3, i32 noundef 97)
          to label %107 unwind label %205

107:                                              ; preds = %106, %104
  %108 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef nonnull @.str.4)
          to label %109 unwind label %205

109:                                              ; preds = %107
  %110 = load ptr, ptr %108, align 8, !tbaa !9
  %111 = getelementptr inbounds i8, ptr %110, i64 24
  %112 = load ptr, ptr %111, align 8
  %113 = invoke noundef ptr %112(ptr noundef nonnull align 8 dereferenceable(112) %108)
          to label %114 unwind label %205

114:                                              ; preds = %109
  %115 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %113, ptr noundef nonnull dereferenceable(1) @.str.17) #9
  %116 = icmp eq i32 %115, 0
  br i1 %116, label %118, label %117

117:                                              ; preds = %114
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.3, i32 noundef 99)
          to label %118 unwind label %205

118:                                              ; preds = %117, %114
  %119 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef nonnull @.str.10)
          to label %120 unwind label %205

120:                                              ; preds = %118
  %121 = load ptr, ptr %119, align 8, !tbaa !9
  %122 = getelementptr inbounds i8, ptr %121, i64 24
  %123 = load ptr, ptr %122, align 8
  %124 = invoke noundef ptr %123(ptr noundef nonnull align 8 dereferenceable(112) %119)
          to label %125 unwind label %205

125:                                              ; preds = %120
  %126 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %124, ptr noundef nonnull dereferenceable(1) @.str.19) #9
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %129, label %128

128:                                              ; preds = %125
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.3, i32 noundef 101)
          to label %129 unwind label %205

129:                                              ; preds = %128, %125
  %130 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef nonnull @.str.7)
          to label %131 unwind label %205

131:                                              ; preds = %129
  %132 = load ptr, ptr %130, align 8, !tbaa !9
  %133 = getelementptr inbounds i8, ptr %132, i64 24
  %134 = load ptr, ptr %133, align 8
  %135 = invoke noundef ptr %134(ptr noundef nonnull align 8 dereferenceable(112) %130)
          to label %136 unwind label %205

136:                                              ; preds = %131
  %137 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %135, ptr noundef nonnull dereferenceable(1) @.str.17) #9
  %138 = icmp eq i32 %137, 0
  br i1 %138, label %140, label %139

139:                                              ; preds = %136
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.3, i32 noundef 103)
          to label %140 unwind label %205

140:                                              ; preds = %139, %136
  %141 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef nonnull @.str.21)
          to label %142 unwind label %205

142:                                              ; preds = %140
  %143 = load ptr, ptr %141, align 8, !tbaa !9
  %144 = getelementptr inbounds i8, ptr %143, i64 24
  %145 = load ptr, ptr %144, align 8
  %146 = invoke noundef ptr %145(ptr noundef nonnull align 8 dereferenceable(112) %141)
          to label %147 unwind label %205

147:                                              ; preds = %142
  %148 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %146, ptr noundef nonnull dereferenceable(1) @.str.17) #9
  %149 = icmp eq i32 %148, 0
  br i1 %149, label %151, label %150

150:                                              ; preds = %147
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.3, i32 noundef 105)
          to label %151 unwind label %205

151:                                              ; preds = %150, %147
  %152 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef nonnull @.str.22)
          to label %153 unwind label %205

153:                                              ; preds = %151
  %154 = load ptr, ptr %152, align 8, !tbaa !9
  %155 = getelementptr inbounds i8, ptr %154, i64 24
  %156 = load ptr, ptr %155, align 8
  %157 = invoke noundef ptr %156(ptr noundef nonnull align 8 dereferenceable(112) %152)
          to label %158 unwind label %205

158:                                              ; preds = %153
  %159 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %157, ptr noundef nonnull dereferenceable(1) @.str.19) #9
  %160 = icmp eq i32 %159, 0
  br i1 %160, label %162, label %161

161:                                              ; preds = %158
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.3, i32 noundef 107)
          to label %162 unwind label %205

162:                                              ; preds = %161, %158
  %163 = invoke noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef nonnull @.str.23)
          to label %164 unwind label %205

164:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @_ZN7sc_core17sc_process_handleC2EPNS_9sc_objectE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef %163)
  %165 = call noundef zeroext i1 @_ZNK7sc_core17sc_process_handle5validEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  br i1 %165, label %167, label %166

166:                                              ; preds = %164
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.3, i32 noundef 109)
          to label %167 unwind label %207

167:                                              ; preds = %166, %164
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  call void @_ZN7sc_core17sc_process_handleC2EPNS_9sc_objectE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef %163)
  %168 = call noundef ptr @_ZNK7sc_core17sc_process_handle4nameEv(ptr noundef nonnull align 8 dereferenceable(8) %10)
  %169 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %168, ptr noundef nonnull dereferenceable(1) @.str.23) #9
  %170 = icmp eq i32 %169, 0
  br i1 %170, label %172, label %171

171:                                              ; preds = %167
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.3, i32 noundef 110)
          to label %172 unwind label %209

172:                                              ; preds = %171, %167
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  store i32 0, ptr @_ZL12object_count, align 4, !tbaa !11
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #8
  %174 = load ptr, ptr %173, align 8, !tbaa !5
  invoke void @_Z17recurse_hierarchyPN7sc_core9sc_objectE(ptr noundef %174)
          to label %175 unwind label %205

175:                                              ; preds = %172
  %176 = load i32, ptr @_ZL12object_count, align 4, !tbaa !11
  %177 = icmp eq i32 %176, 4
  br i1 %177, label %179, label %178

178:                                              ; preds = %175
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.3, i32 noundef 114)
          to label %179 unwind label %205

179:                                              ; preds = %178, %175
  invoke void @_ZN7sc_core8sc_startEv()
          to label %180 unwind label %205

180:                                              ; preds = %179
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %182 unwind label %205

182:                                              ; preds = %180
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef nonnull @.str.27)
          to label %184 unwind label %205

184:                                              ; preds = %182
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %183, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %186 unwind label %205

186:                                              ; preds = %184
  call void @_ZN7sc_core9sc_signalIiLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(196) %8) #8
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %8) #8
  call void @_ZN1MD2Ev(ptr noundef nonnull align 8 dereferenceable(432) %6) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %6) #8
  call void @_ZN7sc_core9sc_moduleD2Ev(ptr noundef nonnull align 8 dereferenceable(240) %4) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %4) #8
  call void @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  ret i32 0

187:                                              ; preds = %17
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %217

189:                                              ; preds = %18
  %190 = landingpad { ptr, i32 }
          cleanup
  br label %216

191:                                              ; preds = %19
  %192 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %5) #8
  br label %216

193:                                              ; preds = %35, %28, %22, %20
  %194 = landingpad { ptr, i32 }
          cleanup
  br label %215

195:                                              ; preds = %36
  %196 = landingpad { ptr, i32 }
          cleanup
  br label %214

197:                                              ; preds = %37
  %198 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %7) #8
  br label %214

199:                                              ; preds = %60, %53, %46, %40, %38
  %200 = landingpad { ptr, i32 }
          cleanup
  br label %213

201:                                              ; preds = %61
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %212

203:                                              ; preds = %91, %84, %77, %70, %64, %62
  %204 = landingpad { ptr, i32 }
          cleanup
  br label %211

205:                                              ; preds = %184, %182, %180, %179, %178, %172, %162, %161, %153, %151, %150, %142, %140, %139, %131, %129, %128, %120, %118, %117, %109, %107, %106, %102, %101, %97, %96, %92
  %206 = landingpad { ptr, i32 }
          cleanup
  br label %211

207:                                              ; preds = %166
  %208 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br label %211

209:                                              ; preds = %171
  %210 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  br label %211

211:                                              ; preds = %205, %207, %209, %203
  %.pn.pn = phi { ptr, i32 } [ %204, %203 ], [ %206, %205 ], [ %210, %209 ], [ %208, %207 ]
  call void @_ZN7sc_core9sc_signalIiLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(196) %8) #8
  br label %212

212:                                              ; preds = %211, %201
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %211 ], [ %202, %201 ]
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %8) #8
  br label %213

213:                                              ; preds = %212, %199
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %212 ], [ %200, %199 ]
  call void @_ZN1MD2Ev(ptr noundef nonnull align 8 dereferenceable(432) %6) #8
  br label %214

214:                                              ; preds = %213, %197, %195
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %213 ], [ %198, %197 ], [ %196, %195 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %6) #8
  br label %215

215:                                              ; preds = %214, %193
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %214 ], [ %194, %193 ]
  call void @_ZN7sc_core9sc_moduleD2Ev(ptr noundef nonnull align 8 dereferenceable(240) %4) #8
  br label %216

216:                                              ; preds = %215, %191, %189
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %215 ], [ %192, %191 ], [ %190, %189 ]
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %4) #8
  br label %217

217:                                              ; preds = %216, %187
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %216 ], [ %188, %187 ]
  call void @_ZNSt6vectorIPN7sc_core9sc_objectESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core24sc_get_top_level_objectsEPKNS_13sc_simcontextE(ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv() local_unnamed_addr #3

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

declare void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

declare void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef) unnamed_addr #5

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

; Function Attrs: nounwind
declare void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #6

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #7

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

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

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

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

declare noundef ptr @_ZN7sc_core14sc_find_objectEPKc(ptr noundef) local_unnamed_addr #5

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

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

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

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

declare void @_ZN7sc_core8sc_startEv() local_unnamed_addr #5

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

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

; Function Attrs: nounwind
declare void @_ZN7sc_core9sc_moduleD2Ev(ptr noundef nonnull align 8 dereferenceable(232)) unnamed_addr #6

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { "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 "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 #7 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }

!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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


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