; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/examples/trie (trie)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.sc_dt::sc_uint" = type { %"class.sc_dt::sc_uint_base" }
%"class.sc_dt::sc_uint_base" = type { %"class.sc_dt::sc_value_base", i64, i32, i32 }
%"class.sc_dt::sc_value_base" = type { ptr }
%struct.stimuli = type { i32, i32 }
%"struct.sc_core::sc_bind_proxy" = type { ptr, ptr }
%"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.sc_core::sc_clock" = type { %"class.sc_core::sc_signal", %"class.sc_core::sc_time", double, %"class.sc_core::sc_time", i8, %"class.sc_core::sc_time", %"class.sc_core::sc_time", %"class.sc_core::sc_event", %"class.sc_core::sc_event" }
%"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, i8, i64, ptr, i8, ptr, ptr }
%"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 }
%"class.sc_core::sc_object" = type { ptr, ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::__cxx11::basic_string", ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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_time" = type { i64 }
%"class.sc_core::sc_event" = type { %"class.std::__cxx11::basic_string", ptr, ptr, i32, i32, ptr, %"class.std::vector.50", %"class.std::vector.50", %"class.std::vector.55", %"class.std::vector.55" }
%"class.std::vector.50" = type { %"struct.std::_Vector_base.51" }
%"struct.std::_Vector_base.51" = type { %"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.55" = type { %"struct.std::_Vector_base.56" }
%"struct.std::_Vector_base.56" = type { %"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_signal.60" = type { %"class.sc_core::sc_signal_inout_if.61", %"class.sc_core::sc_prim_channel", %"struct.sc_core::sc_writer_policy_check", ptr, %"class.sc_dt::sc_uint.45", i64, %"class.sc_dt::sc_uint.45" }
%"class.sc_core::sc_signal_inout_if.61" = type { %"class.sc_core::sc_signal_in_if.62", %"class.sc_core::sc_signal_write_if.63" }
%"class.sc_core::sc_signal_in_if.62" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_signal_write_if.63" = type { %"class.sc_core::sc_interface" }
%"class.sc_dt::sc_uint.45" = type { %"class.sc_dt::sc_uint_base" }
%"class.sc_core::sc_signal.64" = type { %"class.sc_core::sc_signal_inout_if.65", %"class.sc_core::sc_prim_channel", %"struct.sc_core::sc_writer_policy_check", ptr, %"class.sc_dt::sc_uint", i64, %"class.sc_dt::sc_uint" }
%"class.sc_core::sc_signal_inout_if.65" = type { %"class.sc_core::sc_signal_in_if.66", %"class.sc_core::sc_signal_write_if.67" }
%"class.sc_core::sc_signal_in_if.66" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_signal_write_if.67" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_module_name" = type <{ ptr, ptr, ptr, ptr, i8, [7 x i8] }>

@M = external dso_local global [52 x %"class.sc_dt::sc_uint"], align 16
@S = external dso_local global [5 x %struct.stimuli], align 16
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@_ZN7sc_core17SC_BIND_PROXY_NILE = external global %"struct.sc_core::sc_bind_proxy", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local i32 @sc_main(i32 noundef %0, ptr noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %"class.sc_core::sc_clock", align 8
  %6 = alloca %"class.sc_core::sc_signal", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.sc_core::sc_signal", align 8
  %10 = alloca %"class.sc_core::sc_signal", align 8
  %11 = alloca %"class.sc_core::sc_signal", align 8
  %12 = alloca %"class.sc_core::sc_signal", align 8
  %13 = alloca %"class.sc_core::sc_signal.60", align 8
  %14 = alloca %"class.sc_core::sc_signal.64", align 8
  %15 = alloca %"class.sc_core::sc_signal.64", align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"class.sc_core::sc_module_name", align 8
  %20 = alloca i1, align 1
  %21 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %22 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %23 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %24 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %25 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %26 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %27 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %28 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %29 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %30 = alloca i8, align 1
  %31 = alloca i8, align 1
  %32 = alloca i8, align 1
  %33 = alloca i8, align 1
  %34 = alloca %"class.sc_dt::sc_uint.45", align 8
  %35 = alloca %"class.sc_dt::sc_uint", align 8
  %36 = alloca i8, align 1
  %37 = alloca i8, align 1
  %38 = alloca %"class.sc_dt::sc_uint.45", align 8
  %39 = alloca i8, align 1
  %40 = alloca i8, align 1
  %41 = alloca %"class.sc_dt::sc_uint.45", align 8
  %42 = alloca %"class.sc_dt::sc_uint", align 8
  %43 = alloca i8, align 1
  %44 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 592, ptr %5) #8
  call void @_ZN7sc_core8sc_clockC1Ev(ptr noundef nonnull align 8 dereferenceable(592) %5)
  call void @llvm.lifetime.start.p0(i64 224, ptr %6) #8
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %6)
          to label %45 unwind label %124

45:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 224, ptr %9) #8
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %9)
          to label %46 unwind label %128

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 224, ptr %10) #8
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %10)
          to label %47 unwind label %132

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 224, ptr %11) #8
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %11)
          to label %48 unwind label %136

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 224, ptr %12) #8
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %12)
          to label %49 unwind label %140

49:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 232, ptr %13) #8
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(232) %13)
          to label %50 unwind label %144

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 232, ptr %14) #8
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(232) %14)
          to label %51 unwind label %148

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 232, ptr %15) #8
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(232) %15)
          to label %52 unwind label %152

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %53 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 26464) #9
          to label %54 unwind label %156

54:                                               ; preds = %52
  store i1 true, ptr %20, align 1
  invoke void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33) %19, ptr noundef @.str)
          to label %55 unwind label %160

55:                                               ; preds = %54
  invoke void @_ZN2lcC2EN7sc_core14sc_module_nameE(ptr noundef nonnull align 8 dereferenceable(26464) %53, ptr noundef %19)
          to label %56 unwind label %164

56:                                               ; preds = %55
  store i1 false, ptr %20, align 1
  store ptr %53, ptr %18, align 8, !tbaa !9
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %19) #8
  %57 = load ptr, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %58 = load ptr, ptr %9, align 8, !tbaa !11
  %59 = getelementptr i8, ptr %58, i64 -48
  %60 = load i64, ptr %59, align 8
  %61 = getelementptr inbounds i8, ptr %9, i64 %60
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %62 unwind label %172

62:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #8
  %63 = load ptr, ptr %10, align 8, !tbaa !11
  %64 = getelementptr i8, ptr %63, i64 -48
  %65 = load i64, ptr %64, align 8
  %66 = getelementptr inbounds i8, ptr %10, i64 %65
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(8) %66)
          to label %67 unwind label %176

67:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #8
  %68 = load ptr, ptr %13, align 8, !tbaa !11
  %69 = getelementptr i8, ptr %68, i64 -48
  %70 = load i64, ptr %69, align 8
  %71 = getelementptr inbounds i8, ptr %13, i64 %70
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(8) %71)
          to label %72 unwind label %180

72:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  %73 = load ptr, ptr %14, align 8, !tbaa !11
  %74 = getelementptr i8, ptr %73, i64 -48
  %75 = load i64, ptr %74, align 8
  %76 = getelementptr inbounds i8, ptr %14, i64 %75
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(8) %76)
          to label %77 unwind label %184

77:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #8
  %78 = load ptr, ptr %12, align 8, !tbaa !11
  %79 = getelementptr i8, ptr %78, i64 -48
  %80 = load i64, ptr %79, align 8
  %81 = getelementptr inbounds i8, ptr %12, i64 %80
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(8) %81)
          to label %82 unwind label %188

82:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #8
  %83 = load ptr, ptr %11, align 8, !tbaa !11
  %84 = getelementptr i8, ptr %83, i64 -48
  %85 = load i64, ptr %84, align 8
  %86 = getelementptr inbounds i8, ptr %11, i64 %85
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(8) %86)
          to label %87 unwind label %192

87:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  %88 = load ptr, ptr %15, align 8, !tbaa !11
  %89 = getelementptr i8, ptr %88, i64 -48
  %90 = load i64, ptr %89, align 8
  %91 = getelementptr inbounds i8, ptr %15, i64 %90
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(8) %91)
          to label %92 unwind label %196

92:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #8
  %93 = load ptr, ptr %6, align 8, !tbaa !11
  %94 = getelementptr i8, ptr %93, i64 -48
  %95 = load i64, ptr %94, align 8
  %96 = getelementptr inbounds i8, ptr %6, i64 %95
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(8) %96)
          to label %97 unwind label %200

97:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #8
  %98 = load ptr, ptr %5, align 8, !tbaa !11
  %99 = getelementptr i8, ptr %98, i64 -48
  %100 = load i64, ptr %99, align 8
  %101 = getelementptr inbounds i8, ptr %5, i64 %100
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(8) %101)
          to label %102 unwind label %204

102:                                              ; preds = %97
  invoke void @_ZN7sc_core9sc_moduleclERKNS_13sc_bind_proxyES3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(232) %57, ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE)
          to label %103 unwind label %204

103:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  store i8 0, ptr %30, align 1, !tbaa !13
  %104 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %6, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %105 unwind label %216

105:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 2, i32 noundef 2, i32 noundef 1)
          to label %106 unwind label %156

106:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  store i8 1, ptr %31, align 1, !tbaa !13
  %107 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %6, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %108 unwind label %220

108:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 2, i32 noundef 2, i32 noundef 1)
          to label %109 unwind label %156

109:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #8
  store i8 1, ptr %32, align 1, !tbaa !13
  %110 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %12, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %111 unwind label %224

111:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #8
  store i32 0, ptr %16, align 4, !tbaa !5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %112

112:                                              ; preds = %268, %111
  %113 = load i32, ptr %16, align 4, !tbaa !5
  %114 = icmp slt i32 %113, 52
  br i1 %114, label %115, label %316

115:                                              ; preds = %112
  br label %116

116:                                              ; preds = %123, %115
  %117 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224) %9)
          to label %118 unwind label %156

118:                                              ; preds = %116
  %119 = load i8, ptr %117, align 1, !tbaa !13, !range !15, !noundef !16
  %120 = trunc i8 %119 to i1
  %121 = xor i1 %120, true
  br i1 %121, label %122, label %228

122:                                              ; preds = %118
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %123 unwind label %156

123:                                              ; preds = %122
  br label %116, !llvm.loop !17

124:                                              ; preds = %2
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %7, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %8, align 4
  br label %436

128:                                              ; preds = %45
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %7, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %8, align 4
  br label %435

132:                                              ; preds = %46
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %7, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %8, align 4
  br label %434

136:                                              ; preds = %47
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %7, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %8, align 4
  br label %433

140:                                              ; preds = %48
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %7, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %8, align 4
  br label %432

144:                                              ; preds = %49
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %7, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %8, align 4
  br label %431

148:                                              ; preds = %50
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %7, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %8, align 4
  br label %430

152:                                              ; preds = %51
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %7, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %8, align 4
  br label %429

156:                                              ; preds = %425, %423, %346, %342, %328, %322, %266, %260, %256, %251, %246, %240, %236, %122, %116, %108, %105, %52
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %7, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %8, align 4
  br label %428

160:                                              ; preds = %54
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %7, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %8, align 4
  br label %168

164:                                              ; preds = %55
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %7, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %8, align 4
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %19) #8
  br label %168

168:                                              ; preds = %164, %160
  %169 = load i1, ptr %20, align 1
  br i1 %169, label %170, label %171

170:                                              ; preds = %168
  call void @_ZdlPvm(ptr noundef %53, i64 noundef 26464) #10
  br label %171

171:                                              ; preds = %170, %168
  br label %428

172:                                              ; preds = %56
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %7, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %8, align 4
  br label %215

176:                                              ; preds = %62
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %7, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %8, align 4
  br label %214

180:                                              ; preds = %67
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %7, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %8, align 4
  br label %213

184:                                              ; preds = %72
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %7, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %8, align 4
  br label %212

188:                                              ; preds = %77
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %7, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %8, align 4
  br label %211

192:                                              ; preds = %82
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %7, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %8, align 4
  br label %210

196:                                              ; preds = %87
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %7, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %8, align 4
  br label %209

200:                                              ; preds = %92
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %7, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %8, align 4
  br label %208

204:                                              ; preds = %102, %97
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %7, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #8
  br label %208

208:                                              ; preds = %204, %200
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  br label %209

209:                                              ; preds = %208, %196
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  br label %210

210:                                              ; preds = %209, %192
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  br label %211

211:                                              ; preds = %210, %188
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  br label %212

212:                                              ; preds = %211, %184
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  br label %213

213:                                              ; preds = %212, %180
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  br label %214

214:                                              ; preds = %213, %176
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  br label %215

215:                                              ; preds = %214, %172
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  br label %428

216:                                              ; preds = %103
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %7, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  br label %428

220:                                              ; preds = %106
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %7, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  br label %428

224:                                              ; preds = %109
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %7, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #8
  br label %428

228:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #8
  store i8 1, ptr %33, align 1, !tbaa !13
  %229 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %10, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %230 unwind label %273

230:                                              ; preds = %228
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #8
  invoke void @_ZN5sc_dt7sc_uintILi2EEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %34, i32 noundef 0)
          to label %231 unwind label %277

231:                                              ; preds = %230
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %13, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %232 unwind label %281

232:                                              ; preds = %231
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #8
  %233 = load i32, ptr %17, align 4, !tbaa !5
  invoke void @_ZN5sc_dt7sc_uintILi32EEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %35, i32 noundef %233)
          to label %234 unwind label %286

234:                                              ; preds = %232
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %14, ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %235 unwind label %290

235:                                              ; preds = %234
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #8
  br label %236

236:                                              ; preds = %242, %235
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %237 unwind label %156

237:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #8
  store i8 0, ptr %36, align 1, !tbaa !13
  %238 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %10, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %239 unwind label %295

239:                                              ; preds = %237
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #8
  br label %240

240:                                              ; preds = %239
  %241 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224) %9)
          to label %242 unwind label %156

242:                                              ; preds = %240
  %243 = load i8, ptr %241, align 1, !tbaa !13, !range !15, !noundef !16
  %244 = trunc i8 %243 to i1
  %245 = xor i1 %244, true
  br i1 %245, label %236, label %246, !llvm.loop !19

246:                                              ; preds = %242
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %247 unwind label %156

247:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #8
  store i8 1, ptr %37, align 1, !tbaa !13
  %248 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %10, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %249 unwind label %299

249:                                              ; preds = %247
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #8
  invoke void @_ZN5sc_dt7sc_uintILi2EEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %38, i32 noundef 1)
          to label %250 unwind label %303

250:                                              ; preds = %249
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %13, ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %251 unwind label %307

251:                                              ; preds = %250
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #8
  %252 = load i32, ptr %17, align 4, !tbaa !5
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds [52 x %"class.sc_dt::sc_uint"], ptr @M, i64 0, i64 %253
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %14, ptr noundef nonnull align 8 dereferenceable(24) %254)
          to label %255 unwind label %156

255:                                              ; preds = %251
  br label %256

256:                                              ; preds = %262, %255
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %257 unwind label %156

257:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #8
  store i8 0, ptr %39, align 1, !tbaa !13
  %258 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %10, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %259 unwind label %312

259:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  br label %260

260:                                              ; preds = %259
  %261 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224) %9)
          to label %262 unwind label %156

262:                                              ; preds = %260
  %263 = load i8, ptr %261, align 1, !tbaa !13, !range !15, !noundef !16
  %264 = trunc i8 %263 to i1
  %265 = xor i1 %264, true
  br i1 %265, label %256, label %266, !llvm.loop !20

266:                                              ; preds = %262
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %267 unwind label %156

267:                                              ; preds = %266
  br label %268

268:                                              ; preds = %267
  %269 = load i32, ptr %16, align 4, !tbaa !5
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr %16, align 4, !tbaa !5
  %271 = load i32, ptr %17, align 4, !tbaa !5
  %272 = add nsw i32 %271, 1
  store i32 %272, ptr %17, align 4, !tbaa !5
  br label %112, !llvm.loop !21

273:                                              ; preds = %228
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %7, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  br label %428

277:                                              ; preds = %230
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %7, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %8, align 4
  br label %285

281:                                              ; preds = %231
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %7, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %8, align 4
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  br label %285

285:                                              ; preds = %281, %277
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  br label %428

286:                                              ; preds = %232
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %7, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %8, align 4
  br label %294

290:                                              ; preds = %234
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %7, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %8, align 4
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  br label %294

294:                                              ; preds = %290, %286
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #8
  br label %428

295:                                              ; preds = %237
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %7, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #8
  br label %428

299:                                              ; preds = %247
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %7, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #8
  br label %428

303:                                              ; preds = %249
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %7, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %8, align 4
  br label %311

307:                                              ; preds = %250
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %7, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %8, align 4
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  br label %311

311:                                              ; preds = %307, %303
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #8
  br label %428

312:                                              ; preds = %257
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %7, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  br label %428

316:                                              ; preds = %112
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %317

317:                                              ; preds = %420, %316
  %318 = load i32, ptr %16, align 4, !tbaa !5
  %319 = sext i32 %318 to i64
  %320 = icmp ult i64 %319, 5
  br i1 %320, label %321, label %423

321:                                              ; preds = %317
  br label %322

322:                                              ; preds = %329, %321
  %323 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224) %9)
          to label %324 unwind label %156

324:                                              ; preds = %322
  %325 = load i8, ptr %323, align 1, !tbaa !13, !range !15, !noundef !16
  %326 = trunc i8 %325 to i1
  %327 = xor i1 %326, true
  br i1 %327, label %328, label %330

328:                                              ; preds = %324
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %329 unwind label %156

329:                                              ; preds = %328
  br label %322, !llvm.loop !22

330:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #8
  store i8 1, ptr %40, align 1, !tbaa !13
  %331 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %10, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %332 unwind label %389

332:                                              ; preds = %330
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #8
  invoke void @_ZN5sc_dt7sc_uintILi2EEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %41, i32 noundef 2)
          to label %333 unwind label %393

333:                                              ; preds = %332
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %13, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %334 unwind label %397

334:                                              ; preds = %333
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #8
  %335 = load i32, ptr %16, align 4, !tbaa !5
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds [5 x %struct.stimuli], ptr @S, i64 0, i64 %336
  %338 = getelementptr inbounds %struct.stimuli, ptr %337, i32 0, i32 0
  %339 = load i32, ptr %338, align 8, !tbaa !23
  invoke void @_ZN5sc_dt7sc_uintILi32EEC2Ej(ptr noundef nonnull align 8 dereferenceable(24) %42, i32 noundef %339)
          to label %340 unwind label %402

340:                                              ; preds = %334
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %14, ptr noundef nonnull align 8 dereferenceable(24) %42)
          to label %341 unwind label %406

341:                                              ; preds = %340
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #8
  br label %342

342:                                              ; preds = %348, %341
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %343 unwind label %156

343:                                              ; preds = %342
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #8
  store i8 0, ptr %43, align 1, !tbaa !13
  %344 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %10, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %345 unwind label %411

345:                                              ; preds = %343
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  br label %346

346:                                              ; preds = %345
  %347 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224) %11)
          to label %348 unwind label %156

348:                                              ; preds = %346
  %349 = load i8, ptr %347, align 1, !tbaa !13, !range !15, !noundef !16
  %350 = trunc i8 %349 to i1
  %351 = xor i1 %350, true
  br i1 %351, label %342, label %352, !llvm.loop !25

352:                                              ; preds = %348
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  %353 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EE4readEv(ptr noundef nonnull align 8 dereferenceable(232) %15)
          to label %354 unwind label %415

354:                                              ; preds = %352
  %355 = invoke noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %353)
          to label %356 unwind label %415

356:                                              ; preds = %354
  %357 = trunc i64 %355 to i32
  store i32 %357, ptr %44, align 4, !tbaa !5
  %358 = load i32, ptr %44, align 4, !tbaa !5
  %359 = load i32, ptr %16, align 4, !tbaa !5
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds [5 x %struct.stimuli], ptr @S, i64 0, i64 %360
  %362 = getelementptr inbounds %struct.stimuli, ptr %361, i32 0, i32 1
  %363 = load i32, ptr %362, align 4, !tbaa !26
  %364 = icmp ne i32 %358, %363
  br i1 %364, label %365, label %419

365:                                              ; preds = %356
  %366 = load i32, ptr %16, align 4, !tbaa !5
  %367 = sext i32 %366 to i64
  %368 = getelementptr inbounds [5 x %struct.stimuli], ptr @S, i64 0, i64 %367
  %369 = getelementptr inbounds %struct.stimuli, ptr %368, i32 0, i32 0
  %370 = load i32, ptr %369, align 8, !tbaa !23
  %371 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %370)
          to label %372 unwind label %415

372:                                              ; preds = %365
  %373 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %371, ptr noundef @.str.3)
          to label %374 unwind label %415

374:                                              ; preds = %372
  %375 = load i32, ptr %16, align 4, !tbaa !5
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds [5 x %struct.stimuli], ptr @S, i64 0, i64 %376
  %378 = getelementptr inbounds %struct.stimuli, ptr %377, i32 0, i32 1
  %379 = load i32, ptr %378, align 4, !tbaa !26
  %380 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %373, i32 noundef %379)
          to label %381 unwind label %415

381:                                              ; preds = %374
  %382 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %380, ptr noundef @.str.4)
          to label %383 unwind label %415

383:                                              ; preds = %381
  %384 = load i32, ptr %44, align 4, !tbaa !5
  %385 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %382, i32 noundef %384)
          to label %386 unwind label %415

386:                                              ; preds = %383
  %387 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %385, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %388 unwind label %415

388:                                              ; preds = %386
  br label %419

389:                                              ; preds = %330
  %390 = landingpad { ptr, i32 }
          cleanup
  %391 = extractvalue { ptr, i32 } %390, 0
  store ptr %391, ptr %7, align 8
  %392 = extractvalue { ptr, i32 } %390, 1
  store i32 %392, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  br label %428

393:                                              ; preds = %332
  %394 = landingpad { ptr, i32 }
          cleanup
  %395 = extractvalue { ptr, i32 } %394, 0
  store ptr %395, ptr %7, align 8
  %396 = extractvalue { ptr, i32 } %394, 1
  store i32 %396, ptr %8, align 4
  br label %401

397:                                              ; preds = %333
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %7, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %8, align 4
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  br label %401

401:                                              ; preds = %397, %393
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #8
  br label %428

402:                                              ; preds = %334
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %7, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %8, align 4
  br label %410

406:                                              ; preds = %340
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %7, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %8, align 4
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #8
  br label %410

410:                                              ; preds = %406, %402
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #8
  br label %428

411:                                              ; preds = %343
  %412 = landingpad { ptr, i32 }
          cleanup
  %413 = extractvalue { ptr, i32 } %412, 0
  store ptr %413, ptr %7, align 8
  %414 = extractvalue { ptr, i32 } %412, 1
  store i32 %414, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  br label %428

415:                                              ; preds = %386, %383, %381, %374, %372, %365, %354, %352
  %416 = landingpad { ptr, i32 }
          cleanup
  %417 = extractvalue { ptr, i32 } %416, 0
  store ptr %417, ptr %7, align 8
  %418 = extractvalue { ptr, i32 } %416, 1
  store i32 %418, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %428

419:                                              ; preds = %388, %356
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %420

420:                                              ; preds = %419
  %421 = load i32, ptr %16, align 4, !tbaa !5
  %422 = add nsw i32 %421, 1
  store i32 %422, ptr %16, align 4, !tbaa !5
  br label %317, !llvm.loop !27

423:                                              ; preds = %317
  %424 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
          to label %425 unwind label %156

425:                                              ; preds = %423
  %426 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %424, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %427 unwind label %156

427:                                              ; preds = %425
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %15) #8
  call void @llvm.lifetime.end.p0(i64 232, ptr %15) #8
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %14) #8
  call void @llvm.lifetime.end.p0(i64 232, ptr %14) #8
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %13) #8
  call void @llvm.lifetime.end.p0(i64 232, ptr %13) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %12) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr %12) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %11) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr %11) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %10) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr %10) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %9) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr %9) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %6) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr %6) #8
  call void @_ZN7sc_core8sc_clockD1Ev(ptr noundef nonnull align 8 dereferenceable(592) %5) #8
  call void @llvm.lifetime.end.p0(i64 592, ptr %5) #8
  ret i32 0

428:                                              ; preds = %415, %411, %410, %401, %389, %312, %311, %299, %295, %294, %285, %273, %224, %220, %216, %215, %171, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %15) #8
  br label %429

429:                                              ; preds = %428, %152
  call void @llvm.lifetime.end.p0(i64 232, ptr %15) #8
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %14) #8
  br label %430

430:                                              ; preds = %429, %148
  call void @llvm.lifetime.end.p0(i64 232, ptr %14) #8
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %13) #8
  br label %431

431:                                              ; preds = %430, %144
  call void @llvm.lifetime.end.p0(i64 232, ptr %13) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %12) #8
  br label %432

432:                                              ; preds = %431, %140
  call void @llvm.lifetime.end.p0(i64 224, ptr %12) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %11) #8
  br label %433

433:                                              ; preds = %432, %136
  call void @llvm.lifetime.end.p0(i64 224, ptr %11) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %10) #8
  br label %434

434:                                              ; preds = %433, %132
  call void @llvm.lifetime.end.p0(i64 224, ptr %10) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %9) #8
  br label %435

435:                                              ; preds = %434, %128
  call void @llvm.lifetime.end.p0(i64 224, ptr %9) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %6) #8
  br label %436

436:                                              ; preds = %435, %124
  call void @llvm.lifetime.end.p0(i64 224, ptr %6) #8
  call void @_ZN7sc_core8sc_clockD1Ev(ptr noundef nonnull align 8 dereferenceable(592) %5) #8
  call void @llvm.lifetime.end.p0(i64 592, ptr %5) #8
  br label %437

437:                                              ; preds = %436
  %438 = load ptr, ptr %7, align 8
  %439 = load i32, ptr %8, align 4
  %440 = insertvalue { ptr, i32 } poison, ptr %438, 0
  %441 = insertvalue { ptr, i32 } %440, i32 %439, 1
  resume { ptr, i32 } %441
}

declare void @_ZN7sc_core8sc_clockC1Ev(ptr noundef nonnull align 8 dereferenceable(592)) unnamed_addr #3

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #4

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #6

declare void @_ZN7sc_core9sc_moduleclERKNS_13sc_bind_proxyES3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3

declare void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef, i32 noundef, i32 noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #7 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #7 align 2

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

; 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) #7

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 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) #2 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)) #7

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

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

; Function Attrs: nounwind
declare void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224)) unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN7sc_core8sc_clockD1Ev(ptr noundef nonnull align 8 dereferenceable(592)) unnamed_addr #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "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 = { nobuiltin 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 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = !{!24, !6, i64 0}
!24 = !{!"_ZTS7stimuli", !6, i64 0, !6, i64 4}
!25 = distinct !{!25, !18}
!26 = !{!24, !6, i64 4}
!27 = distinct !{!27, !18}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.sc_dt::sc_uint" = type { %"class.sc_dt::sc_uint_base" }
%"class.sc_dt::sc_uint_base" = type { %"class.sc_dt::sc_value_base", i64, i32, i32 }
%"class.sc_dt::sc_value_base" = type { ptr }
%struct.stimuli = type { i32, i32 }
%"struct.sc_core::sc_bind_proxy" = type { ptr, ptr }
%"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.sc_core::sc_clock" = type { %"class.sc_core::sc_signal", %"class.sc_core::sc_time", double, %"class.sc_core::sc_time", i8, %"class.sc_core::sc_time", %"class.sc_core::sc_time", %"class.sc_core::sc_event", %"class.sc_core::sc_event" }
%"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, i8, i64, ptr, i8, ptr, ptr }
%"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 }
%"class.sc_core::sc_object" = type { ptr, ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::__cxx11::basic_string", ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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_time" = type { i64 }
%"class.sc_core::sc_event" = type { %"class.std::__cxx11::basic_string", ptr, ptr, i32, i32, ptr, %"class.std::vector.50", %"class.std::vector.50", %"class.std::vector.55", %"class.std::vector.55" }
%"class.std::vector.50" = type { %"struct.std::_Vector_base.51" }
%"struct.std::_Vector_base.51" = type { %"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.55" = type { %"struct.std::_Vector_base.56" }
%"struct.std::_Vector_base.56" = type { %"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_signal.60" = type { %"class.sc_core::sc_signal_inout_if.61", %"class.sc_core::sc_prim_channel", %"struct.sc_core::sc_writer_policy_check", ptr, %"class.sc_dt::sc_uint.45", i64, %"class.sc_dt::sc_uint.45" }
%"class.sc_core::sc_signal_inout_if.61" = type { %"class.sc_core::sc_signal_in_if.62", %"class.sc_core::sc_signal_write_if.63" }
%"class.sc_core::sc_signal_in_if.62" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_signal_write_if.63" = type { %"class.sc_core::sc_interface" }
%"class.sc_dt::sc_uint.45" = type { %"class.sc_dt::sc_uint_base" }
%"class.sc_core::sc_signal.64" = type { %"class.sc_core::sc_signal_inout_if.65", %"class.sc_core::sc_prim_channel", %"struct.sc_core::sc_writer_policy_check", ptr, %"class.sc_dt::sc_uint", i64, %"class.sc_dt::sc_uint" }
%"class.sc_core::sc_signal_inout_if.65" = type { %"class.sc_core::sc_signal_in_if.66", %"class.sc_core::sc_signal_write_if.67" }
%"class.sc_core::sc_signal_in_if.66" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_signal_write_if.67" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_module_name" = type <{ ptr, ptr, ptr, ptr, i8, [7 x i8] }>

@M = external dso_local global [52 x %"class.sc_dt::sc_uint"], align 16
@S = external dso_local local_unnamed_addr global [5 x %struct.stimuli], align 16
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@_ZN7sc_core17SC_BIND_PROXY_NILE = external global %"struct.sc_core::sc_bind_proxy", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt7sc_uintILi32EEC2Ej(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) 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 #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.sc_core::sc_clock", align 8
  %4 = alloca %"class.sc_core::sc_signal", align 8
  %5 = alloca %"class.sc_core::sc_signal", align 8
  %6 = alloca %"class.sc_core::sc_signal", align 8
  %7 = alloca %"class.sc_core::sc_signal", align 8
  %8 = alloca %"class.sc_core::sc_signal", align 8
  %9 = alloca %"class.sc_core::sc_signal.60", align 8
  %10 = alloca %"class.sc_core::sc_signal.64", align 8
  %11 = alloca %"class.sc_core::sc_signal.64", align 8
  %12 = alloca %"class.sc_core::sc_module_name", align 8
  %13 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %14 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %15 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %16 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %17 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %18 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %19 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %20 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %21 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca i8, align 1
  %26 = alloca %"class.sc_dt::sc_uint.45", align 8
  %27 = alloca %"class.sc_dt::sc_uint", align 8
  %28 = alloca i8, align 1
  %29 = alloca i8, align 1
  %30 = alloca %"class.sc_dt::sc_uint.45", align 8
  %31 = alloca i8, align 1
  %32 = alloca i8, align 1
  %33 = alloca %"class.sc_dt::sc_uint.45", align 8
  %34 = alloca %"class.sc_dt::sc_uint", align 8
  %35 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 592, ptr nonnull %3) #8
  call void @_ZN7sc_core8sc_clockC1Ev(ptr noundef nonnull align 8 dereferenceable(592) %3)
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %4) #8
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %4)
          to label %36 unwind label %108

36:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %5) #8
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %5)
          to label %37 unwind label %110

37:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %6) #8
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %6)
          to label %38 unwind label %112

38:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %7) #8
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %7)
          to label %39 unwind label %114

39:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %8) #8
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %8)
          to label %40 unwind label %116

40:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 232, ptr nonnull %9) #8
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(232) %9)
          to label %41 unwind label %118

41:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 232, ptr nonnull %10) #8
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(232) %10)
          to label %42 unwind label %120

42:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 232, ptr nonnull %11) #8
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(232) %11)
          to label %43 unwind label %122

43:                                               ; preds = %42
  %44 = invoke noalias noundef nonnull dereferenceable(26464) ptr @_Znwm(i64 noundef 26464) #9
          to label %45 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

45:                                               ; preds = %43
  invoke void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33) %12, ptr noundef nonnull @.str)
          to label %46 unwind label %124

46:                                               ; preds = %45
  invoke void @_ZN2lcC2EN7sc_core14sc_module_nameE(ptr noundef nonnull align 8 dereferenceable(26464) %44, ptr noundef nonnull %12)
          to label %47 unwind label %126

47:                                               ; preds = %46
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %12) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #8
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr i8, ptr %48, i64 -48
  %50 = load i64, ptr %49, align 8
  %51 = getelementptr inbounds i8, ptr %5, i64 %50
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %52 unwind label %129

52:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr i8, ptr %53, i64 -48
  %55 = load i64, ptr %54, align 8
  %56 = getelementptr inbounds i8, ptr %6, i64 %55
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %56)
          to label %57 unwind label %131

57:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #8
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = getelementptr i8, ptr %58, i64 -48
  %60 = load i64, ptr %59, align 8
  %61 = getelementptr inbounds i8, ptr %9, i64 %60
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %62 unwind label %133

62:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #8
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = getelementptr i8, ptr %63, i64 -48
  %65 = load i64, ptr %64, align 8
  %66 = getelementptr inbounds i8, ptr %10, i64 %65
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(8) %66)
          to label %67 unwind label %135

67:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #8
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr i8, ptr %68, i64 -48
  %70 = load i64, ptr %69, align 8
  %71 = getelementptr inbounds i8, ptr %8, i64 %70
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(8) %71)
          to label %72 unwind label %137

72:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #8
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = getelementptr i8, ptr %73, i64 -48
  %75 = load i64, ptr %74, align 8
  %76 = getelementptr inbounds i8, ptr %7, i64 %75
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(8) %76)
          to label %77 unwind label %139

77:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #8
  %78 = load ptr, ptr %11, align 8, !tbaa !5
  %79 = getelementptr i8, ptr %78, i64 -48
  %80 = load i64, ptr %79, align 8
  %81 = getelementptr inbounds i8, ptr %11, i64 %80
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(8) %81)
          to label %82 unwind label %141

82:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #8
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr i8, ptr %83, i64 -48
  %85 = load i64, ptr %84, align 8
  %86 = getelementptr inbounds i8, ptr %4, i64 %85
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %86)
          to label %87 unwind label %143

87:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #8
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr i8, ptr %88, i64 -48
  %90 = load i64, ptr %89, align 8
  %91 = getelementptr inbounds i8, ptr %3, i64 %90
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(8) %91)
          to label %92 unwind label %145

92:                                               ; preds = %87
  invoke void @_ZN7sc_core9sc_moduleclERKNS_13sc_bind_proxyES3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(232) %44, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE)
          to label %93 unwind label %145

93:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #8
  store i8 0, ptr %22, align 1, !tbaa !8
  %94 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %4, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %95 unwind label %155

95:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 2, i32 noundef 2, i32 noundef 1)
          to label %96 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

96:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #8
  store i8 1, ptr %23, align 1, !tbaa !8
  %97 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %4, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %98 unwind label %157

98:                                               ; preds = %96
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #8
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 2, i32 noundef 2, i32 noundef 1)
          to label %99 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #8
  store i8 1, ptr %24, align 1, !tbaa !8
  %100 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %8, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %101 unwind label %159

101:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #8
  br label %.preheader83

.preheader83:                                     ; preds = %101, %192
  %indvars.iv = phi i64 [ 0, %101 ], [ %indvars.iv.next, %192 ]
  br label %102

102:                                              ; preds = %.preheader83, %107
  %103 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224) %5)
          to label %104 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

104:                                              ; preds = %102
  %105 = load i8, ptr %103, align 1, !tbaa !8, !range !11, !noundef !12
  %106 = trunc nuw i8 %105 to i1
  br i1 %106, label %161, label %107

107:                                              ; preds = %104
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %102 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, !llvm.loop !13

108:                                              ; preds = %2
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %288

110:                                              ; preds = %36
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %287

112:                                              ; preds = %37
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %286

114:                                              ; preds = %38
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %285

116:                                              ; preds = %39
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %284

118:                                              ; preds = %40
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %283

120:                                              ; preds = %41
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %282

122:                                              ; preds = %42
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %281

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

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

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

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

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

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %191, %182, %177
  %lpad.loopexit86 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %278, %276, %98, %95, %43
  %lpad.loopexit.split-lp87 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

124:                                              ; preds = %45
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %128

126:                                              ; preds = %46
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %12) #8
  br label %128

128:                                              ; preds = %124, %126
  %.pn = phi { ptr, i32 } [ %127, %126 ], [ %125, %124 ]
  call void @_ZdlPvm(ptr noundef nonnull %44, i64 noundef 26464) #10
  br label %.loopexit.split-lp

129:                                              ; preds = %47
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %154

131:                                              ; preds = %52
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %153

133:                                              ; preds = %57
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %152

135:                                              ; preds = %62
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %151

137:                                              ; preds = %67
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %150

139:                                              ; preds = %72
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %149

141:                                              ; preds = %77
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %148

143:                                              ; preds = %82
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %147

145:                                              ; preds = %92, %87
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #8
  br label %147

147:                                              ; preds = %145, %143
  %.pn44 = phi { ptr, i32 } [ %146, %145 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #8
  br label %148

148:                                              ; preds = %147, %141
  %.pn44.pn = phi { ptr, i32 } [ %.pn44, %147 ], [ %142, %141 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #8
  br label %149

149:                                              ; preds = %148, %139
  %.pn44.pn.pn = phi { ptr, i32 } [ %.pn44.pn, %148 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #8
  br label %150

150:                                              ; preds = %149, %137
  %.pn44.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn, %149 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  br label %151

151:                                              ; preds = %150, %135
  %.pn44.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn.pn, %150 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  br label %152

152:                                              ; preds = %151, %133
  %.pn44.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn.pn.pn, %151 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  br label %153

153:                                              ; preds = %152, %131
  %.pn44.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn.pn.pn.pn, %152 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  br label %154

154:                                              ; preds = %153, %129
  %.pn44.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn.pn.pn.pn.pn, %153 ], [ %130, %129 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  br label %.loopexit.split-lp

155:                                              ; preds = %93
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  br label %.loopexit.split-lp

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

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

161:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #8
  store i8 1, ptr %25, align 1, !tbaa !8
  %162 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %6, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %163 unwind label %193

163:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #8
  invoke void @_ZN5sc_dt7sc_uintILi2EEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef 0)
          to label %164 unwind label %195

164:                                              ; preds = %163
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %9, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %165 unwind label %197

165:                                              ; preds = %164
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #8
  %166 = trunc nuw nsw i64 %indvars.iv to i32
  invoke void @_ZN5sc_dt7sc_uintILi32EEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %27, i32 noundef %166)
          to label %167 unwind label %200

167:                                              ; preds = %165
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %10, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %168 unwind label %202

168:                                              ; preds = %167
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #8
  br label %169

169:                                              ; preds = %174, %168
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %170 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

170:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #8
  store i8 0, ptr %28, align 1, !tbaa !8
  %171 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %6, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %172 unwind label %205

172:                                              ; preds = %170
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #8
  %173 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224) %5)
          to label %174 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

174:                                              ; preds = %172
  %175 = load i8, ptr %173, align 1, !tbaa !8, !range !11, !noundef !12
  %176 = trunc nuw i8 %175 to i1
  br i1 %176, label %177, label %169, !llvm.loop !15

177:                                              ; preds = %174
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %178 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

178:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #8
  store i8 1, ptr %29, align 1, !tbaa !8
  %179 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %6, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %180 unwind label %207

180:                                              ; preds = %178
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %30) #8
  invoke void @_ZN5sc_dt7sc_uintILi2EEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef 1)
          to label %181 unwind label %209

181:                                              ; preds = %180
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %9, ptr noundef nonnull align 8 dereferenceable(24) %30)
          to label %182 unwind label %211

182:                                              ; preds = %181
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #8
  %183 = getelementptr inbounds [52 x %"class.sc_dt::sc_uint"], ptr @M, i64 0, i64 %indvars.iv
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %10, ptr noundef nonnull align 8 dereferenceable(24) %183)
          to label %.preheader77 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader77:                                     ; preds = %182, %188
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %184 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

184:                                              ; preds = %.preheader77
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #8
  store i8 0, ptr %31, align 1, !tbaa !8
  %185 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %6, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %186 unwind label %214

186:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #8
  %187 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224) %5)
          to label %188 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

188:                                              ; preds = %186
  %189 = load i8, ptr %187, align 1, !tbaa !8, !range !11, !noundef !12
  %190 = trunc nuw i8 %189 to i1
  br i1 %190, label %191, label %.preheader77, !llvm.loop !16

191:                                              ; preds = %188
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %192 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

192:                                              ; preds = %191
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 52
  br i1 %exitcond.not, label %.preheader, label %.preheader83, !llvm.loop !17

193:                                              ; preds = %161
  %194 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #8
  br label %.loopexit.split-lp

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

197:                                              ; preds = %164
  %198 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  br label %199

199:                                              ; preds = %197, %195
  %.pn57 = phi { ptr, i32 } [ %198, %197 ], [ %196, %195 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #8
  br label %.loopexit.split-lp

200:                                              ; preds = %165
  %201 = landingpad { ptr, i32 }
          cleanup
  br label %204

202:                                              ; preds = %167
  %203 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  br label %204

204:                                              ; preds = %202, %200
  %.pn59 = phi { ptr, i32 } [ %203, %202 ], [ %201, %200 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #8
  br label %.loopexit.split-lp

205:                                              ; preds = %170
  %206 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #8
  br label %.loopexit.split-lp

207:                                              ; preds = %178
  %208 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #8
  br label %.loopexit.split-lp

209:                                              ; preds = %180
  %210 = landingpad { ptr, i32 }
          cleanup
  br label %213

211:                                              ; preds = %181
  %212 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  br label %213

213:                                              ; preds = %211, %209
  %.pn61 = phi { ptr, i32 } [ %212, %211 ], [ %210, %209 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #8
  br label %.loopexit.split-lp

214:                                              ; preds = %184
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #8
  br label %.loopexit.split-lp

.preheader:                                       ; preds = %192, %275
  %indvars.iv95 = phi i64 [ %indvars.iv.next96, %275 ], [ 0, %192 ]
  br label %216

216:                                              ; preds = %.preheader, %221
  %217 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224) %5)
          to label %218 unwind label %.loopexit.split-lp.loopexit

218:                                              ; preds = %216
  %219 = load i8, ptr %217, align 1, !tbaa !8, !range !11, !noundef !12
  %220 = trunc nuw i8 %219 to i1
  br i1 %220, label %222, label %221

221:                                              ; preds = %218
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %216 unwind label %.loopexit.split-lp.loopexit, !llvm.loop !18

222:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #8
  store i8 1, ptr %32, align 1, !tbaa !8
  %223 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %6, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %224 unwind label %259

224:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #8
  invoke void @_ZN5sc_dt7sc_uintILi2EEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %33, i32 noundef 2)
          to label %225 unwind label %261

225:                                              ; preds = %224
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %9, ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %226 unwind label %263

226:                                              ; preds = %225
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #8
  %227 = getelementptr inbounds [5 x %struct.stimuli], ptr @S, i64 0, i64 %indvars.iv95
  %228 = load i32, ptr %227, align 8, !tbaa !19
  invoke void @_ZN5sc_dt7sc_uintILi32EEC2Ej(ptr noundef nonnull align 8 dereferenceable(24) %34, i32 noundef %228)
          to label %229 unwind label %266

229:                                              ; preds = %226
  invoke void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232) %10, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %230 unwind label %268

230:                                              ; preds = %229
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #8
  br label %231

231:                                              ; preds = %236, %230
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %232 unwind label %.loopexit

232:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #8
  store i8 0, ptr %35, align 1, !tbaa !8
  %233 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %6, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %234 unwind label %271

234:                                              ; preds = %232
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #8
  %235 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224) %7)
          to label %236 unwind label %.loopexit

236:                                              ; preds = %234
  %237 = load i8, ptr %235, align 1, !tbaa !8, !range !11, !noundef !12
  %238 = trunc nuw i8 %237 to i1
  br i1 %238, label %239, label %231, !llvm.loop !22

239:                                              ; preds = %236
  %240 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EE4readEv(ptr noundef nonnull align 8 dereferenceable(232) %11)
  %241 = call noundef i64 @_ZNK5sc_dt12sc_uint_basecvyEv(ptr noundef nonnull align 8 dereferenceable(24) %240)
  %242 = trunc i64 %241 to i32
  %243 = getelementptr inbounds i8, ptr %227, i64 4
  %244 = load i32, ptr %243, align 4, !tbaa !23
  %.not = icmp eq i32 %244, %242
  br i1 %.not, label %275, label %245

245:                                              ; preds = %239
  %246 = load i32, ptr %227, align 8, !tbaa !19
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %246)
          to label %248 unwind label %273

248:                                              ; preds = %245
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %247, ptr noundef nonnull @.str.3)
          to label %250 unwind label %273

250:                                              ; preds = %248
  %251 = load i32, ptr %243, align 4, !tbaa !23
  %252 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %249, i32 noundef %251)
          to label %253 unwind label %273

253:                                              ; preds = %250
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %252, ptr noundef nonnull @.str.4)
          to label %255 unwind label %273

255:                                              ; preds = %253
  %256 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %254, i32 noundef %242)
          to label %257 unwind label %273

257:                                              ; preds = %255
  %258 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %256, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %275 unwind label %273

259:                                              ; preds = %222
  %260 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #8
  br label %.loopexit.split-lp

261:                                              ; preds = %224
  %262 = landingpad { ptr, i32 }
          cleanup
  br label %265

263:                                              ; preds = %225
  %264 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  br label %265

265:                                              ; preds = %263, %261
  %.pn53 = phi { ptr, i32 } [ %264, %263 ], [ %262, %261 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #8
  br label %.loopexit.split-lp

266:                                              ; preds = %226
  %267 = landingpad { ptr, i32 }
          cleanup
  br label %270

268:                                              ; preds = %229
  %269 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  br label %270

270:                                              ; preds = %268, %266
  %.pn55 = phi { ptr, i32 } [ %269, %268 ], [ %267, %266 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #8
  br label %.loopexit.split-lp

271:                                              ; preds = %232
  %272 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #8
  br label %.loopexit.split-lp

273:                                              ; preds = %257, %255, %253, %250, %248, %245
  %274 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

275:                                              ; preds = %257, %239
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %exitcond98.not = icmp eq i64 %indvars.iv.next96, 5
  br i1 %exitcond98.not, label %276, label %.preheader, !llvm.loop !24

276:                                              ; preds = %275
  %277 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
          to label %278 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

278:                                              ; preds = %276
  %279 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %277, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %280 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

280:                                              ; preds = %278
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %11) #8
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %11) #8
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %10) #8
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %10) #8
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %9) #8
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %9) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %8) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %8) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %7) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %7) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %6) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %6) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %5) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %5) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %4) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %4) #8
  call void @_ZN7sc_core8sc_clockD1Ev(ptr noundef nonnull align 8 dereferenceable(592) %3) #8
  call void @llvm.lifetime.end.p0(i64 592, ptr nonnull %3) #8
  ret i32 0

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit, %128, %273, %271, %270, %265, %259, %214, %213, %207, %205, %204, %199, %193, %159, %157, %155, %154
  %.pn63 = phi { ptr, i32 } [ %215, %214 ], [ %.pn61, %213 ], [ %208, %207 ], [ %206, %205 ], [ %.pn59, %204 ], [ %.pn57, %199 ], [ %194, %193 ], [ %274, %273 ], [ %272, %271 ], [ %.pn55, %270 ], [ %.pn53, %265 ], [ %260, %259 ], [ %160, %159 ], [ %158, %157 ], [ %156, %155 ], [ %.pn44.pn.pn.pn.pn.pn.pn.pn, %154 ], [ %.pn, %128 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit73, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit78, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit80, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit84, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit86, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp87, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %11) #8
  br label %281

281:                                              ; preds = %.loopexit.split-lp, %122
  %.pn63.pn = phi { ptr, i32 } [ %.pn63, %.loopexit.split-lp ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %11) #8
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %10) #8
  br label %282

282:                                              ; preds = %281, %120
  %.pn63.pn.pn = phi { ptr, i32 } [ %.pn63.pn, %281 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %10) #8
  call void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(232) %9) #8
  br label %283

283:                                              ; preds = %282, %118
  %.pn63.pn.pn.pn = phi { ptr, i32 } [ %.pn63.pn.pn, %282 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %9) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %8) #8
  br label %284

284:                                              ; preds = %283, %116
  %.pn63.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn63.pn.pn.pn, %283 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %8) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %7) #8
  br label %285

285:                                              ; preds = %284, %114
  %.pn63.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn63.pn.pn.pn.pn, %284 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %7) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %6) #8
  br label %286

286:                                              ; preds = %285, %112
  %.pn63.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn63.pn.pn.pn.pn.pn, %285 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %6) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %5) #8
  br label %287

287:                                              ; preds = %286, %110
  %.pn63.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn63.pn.pn.pn.pn.pn.pn, %286 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %5) #8
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %4) #8
  br label %288

288:                                              ; preds = %287, %108
  %.pn63.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn63.pn.pn.pn.pn.pn.pn.pn, %287 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %4) #8
  call void @_ZN7sc_core8sc_clockD1Ev(ptr noundef nonnull align 8 dereferenceable(592) %3) #8
  call void @llvm.lifetime.end.p0(i64 592, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn63.pn.pn.pn.pn.pn.pn.pn.pn
}

declare void @_ZN7sc_core8sc_clockC1Ev(ptr noundef nonnull align 8 dereferenceable(592)) unnamed_addr #3

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #4

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #6

declare void @_ZN7sc_core9sc_moduleclERKNS_13sc_bind_proxyES3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

declare void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(224)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi2EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #7 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7sc_core9sc_signalIN5sc_dt7sc_uintILi32EEELNS_16sc_writer_policyE0EE5writeERKS3_(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #7 align 2

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

; 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 #7

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 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 #2 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)) #7

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

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

; Function Attrs: nounwind
declare void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224)) unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN7sc_core8sc_clockD1Ev(ptr noundef nonnull align 8 dereferenceable(592)) unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "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 = { nobuiltin 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 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"bool", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = !{!20, !21, i64 0}
!20 = !{!"_ZTS7stimuli", !21, i64 0, !21, i64 4}
!21 = !{!"int", !10, i64 0}
!22 = distinct !{!22, !14}
!23 = !{!20, !21, i64 4}
!24 = distinct !{!24, !14}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass