; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/misc/synth/circle/circ48.ll (ZN9testbench5entryEv)

; 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_bv" = type { %"class.sc_dt::sc_bv_base" }
%"class.sc_dt::sc_bv_base" = type { %"class.sc_dt::sc_proxy", i32, i32, ptr }
%"class.sc_dt::sc_proxy" = type { 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_dt::sc_bv.0" = type { %"class.sc_dt::sc_bv_base" }
%"class.sc_dt::sc_bitref" = type { %"class.sc_dt::sc_bitref_r.base", [4 x i8] }
%"class.sc_dt::sc_bitref_r.base" = type <{ ptr, i32 }>
%struct.testbench = type { %"class.sc_core::sc_module", %"class.sc_core::sc_in", %"class.sc_core::sc_out", %"class.sc_core::sc_out", %"class.sc_core::sc_out", %"class.sc_core::sc_in", %"class.sc_core::sc_in", %"class.sc_core::sc_in.21" }
%"class.sc_core::sc_module" = type { %"class.sc_core::sc_object", %"class.sc_core::sc_process_host", %"class.sc_core::sc_sensitive", %"class.sc_core::sc_sensitive_pos", %"class.sc_core::sc_sensitive_neg", i8, ptr, i32, ptr, ptr }
%"class.sc_core::sc_object" = type { ptr, ptr, %"class.std::vector", %"class.std::vector.1", %"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.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.sc_core::sc_process_host" = type { ptr }
%"class.sc_core::sc_sensitive" = type { ptr, i32, ptr }
%"class.sc_core::sc_sensitive_pos" = type { ptr, i32, ptr }
%"class.sc_core::sc_sensitive_neg" = type { ptr, i32, ptr }
%"class.sc_core::sc_out" = type { %"class.sc_core::sc_inout" }
%"class.sc_core::sc_inout" = type { %"class.sc_core::sc_port.14", ptr, ptr, ptr, ptr, ptr }
%"class.sc_core::sc_port.14" = type { %"class.sc_core::sc_port_b.15" }
%"class.sc_core::sc_port_b.15" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.16" }
%"class.sc_core::sc_port_base" = type { %"class.sc_core::sc_object", ptr }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<sc_core::sc_signal_inout_if<bool> *, std::allocator<sc_core::sc_signal_inout_if<bool> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_inout_if<bool> *, std::allocator<sc_core::sc_signal_inout_if<bool> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_inout_if<bool> *, std::allocator<sc_core::sc_signal_inout_if<bool> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_inout_if<bool> *, std::allocator<sc_core::sc_signal_inout_if<bool> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_in" = type { %"class.sc_core::sc_port", ptr, ptr, ptr, ptr }
%"class.sc_core::sc_port" = type { %"class.sc_core::sc_port_b" }
%"class.sc_core::sc_port_b" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.9" }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_in.21" = type { %"class.sc_core::sc_port.22", ptr, ptr }
%"class.sc_core::sc_port.22" = type { %"class.sc_core::sc_port_b.23" }
%"class.sc_core::sc_port_b.23" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.24" }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<sc_dt::sc_bv<8>> *, std::allocator<sc_core::sc_signal_in_if<sc_dt::sc_bv<8>> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<sc_dt::sc_bv<8>> *, std::allocator<sc_core::sc_signal_in_if<sc_dt::sc_bv<8>> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<sc_dt::sc_bv<8>> *, std::allocator<sc_core::sc_signal_in_if<sc_dt::sc_bv<8>> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<sc_dt::sc_bv<8>> *, std::allocator<sc_core::sc_signal_in_if<sc_dt::sc_bv<8>> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@mem = external dso_local global [17 x %"class.sc_dt::sc_bv"], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9testbench5entryEv(ptr noundef nonnull align 8 dereferenceable(1528) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.sc_dt::sc_bv.0", align 8
  %4 = alloca %"class.sc_dt::sc_bv.0", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca %"class.sc_dt::sc_bitref", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %21 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #5
  call void @_ZN5sc_dt5sc_bvILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #5
  invoke void @_ZN5sc_dt5sc_bvILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %22 unwind label %45

22:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 1, ptr %11, align 4, !tbaa !9
  %23 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  store i8 1, ptr %12, align 1, !tbaa !11
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %23, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %24 unwind label %49

24:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  %25 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  store i8 0, ptr %13, align 1, !tbaa !11
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %25, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %26 unwind label %53

26:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  %27 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  store i8 0, ptr %14, align 1, !tbaa !11
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %27, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %28 unwind label %57

28:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %21)
          to label %29 unwind label %61

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

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

32:                                               ; preds = %31
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %42, %32
  %34 = load i32, ptr %9, align 4, !tbaa !9
  %35 = icmp slt i32 %34, 17
  br i1 %35, label %36, label %69

36:                                               ; preds = %33
  %37 = load i32, ptr %9, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [17 x %"class.sc_dt::sc_bv"], ptr @mem, i64 0, i64 %38
  %40 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) %39, i32 noundef 0)
          to label %41 unwind label %61

41:                                               ; preds = %36
  br label %42

42:                                               ; preds = %41
  %43 = load i32, ptr %9, align 4, !tbaa !9
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %9, align 4, !tbaa !9
  br label %33, !llvm.loop !13

45:                                               ; preds = %1
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %5, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %6, align 4
  br label %344

49:                                               ; preds = %22
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %5, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  br label %343

53:                                               ; preds = %24
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %5, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  br label %343

57:                                               ; preds = %26
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %5, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  br label %343

61:                                               ; preds = %341, %335, %330, %328, %325, %323, %317, %315, %294, %289, %284, %279, %274, %269, %264, %259, %254, %249, %244, %239, %234, %229, %224, %219, %214, %209, %204, %199, %194, %189, %184, %179, %174, %169, %164, %159, %154, %149, %144, %131, %126, %115, %112, %104, %93, %90, %82, %74, %72, %36, %31, %28
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %5, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %6, align 4
  br label %343

65:                                               ; preds = %29
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %5, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  br label %343

69:                                               ; preds = %33
  br label %70

70:                                               ; preds = %314, %69
  br label %71

71:                                               ; preds = %70
  br label %72

72:                                               ; preds = %77, %71
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %21)
          to label %73 unwind label %61

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73
  %75 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 5
  %76 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core5sc_inIbEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(184) %75)
          to label %77 unwind label %61

77:                                               ; preds = %74
  %78 = load i8, ptr %76, align 1, !tbaa !11, !range !15, !noundef !16
  %79 = trunc i8 %78 to i1
  %80 = zext i1 %79 to i32
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %72, label %82, !llvm.loop !17

82:                                               ; preds = %77
  %83 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 6
  %84 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core5sc_inIbE4readEv(ptr noundef nonnull align 8 dereferenceable(184) %83)
          to label %85 unwind label %61

85:                                               ; preds = %82
  %86 = load i8, ptr %84, align 1, !tbaa !11, !range !15, !noundef !16
  %87 = trunc i8 %86 to i1
  %88 = zext i1 %87 to i32
  %89 = icmp eq i32 %88, 0
  br i1 %89, label %90, label %104

90:                                               ; preds = %85
  %91 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 7
  %92 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7sc_core5sc_inIN5sc_dt5sc_bvILi8EEEE4readEv(ptr noundef nonnull align 8 dereferenceable(168) %91)
          to label %93 unwind label %61

93:                                               ; preds = %90
  %94 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi8EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %92)
          to label %95 unwind label %61

95:                                               ; preds = %93
  %96 = load i32, ptr %7, align 4, !tbaa !9
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %7, align 4, !tbaa !9
  %98 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  store i8 1, ptr %16, align 1, !tbaa !11
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %98, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %99 unwind label %100

99:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  br label %104

100:                                              ; preds = %95
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %5, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  br label %343

104:                                              ; preds = %99, %85
  %105 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 6
  %106 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core5sc_inIbE4readEv(ptr noundef nonnull align 8 dereferenceable(184) %105)
          to label %107 unwind label %61

107:                                              ; preds = %104
  %108 = load i8, ptr %106, align 1, !tbaa !11, !range !15, !noundef !16
  %109 = trunc i8 %108 to i1
  %110 = zext i1 %109 to i32
  %111 = icmp eq i32 %110, 1
  br i1 %111, label %112, label %126

112:                                              ; preds = %107
  %113 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 7
  %114 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7sc_core5sc_inIN5sc_dt5sc_bvILi8EEEE4readEv(ptr noundef nonnull align 8 dereferenceable(168) %113)
          to label %115 unwind label %61

115:                                              ; preds = %112
  %116 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi8EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %114)
          to label %117 unwind label %61

117:                                              ; preds = %115
  %118 = load i32, ptr %8, align 4, !tbaa !9
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %8, align 4, !tbaa !9
  %120 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  store i8 1, ptr %17, align 1, !tbaa !11
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %120, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %121 unwind label %122

121:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  br label %126

122:                                              ; preds = %117
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %5, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  br label %343

126:                                              ; preds = %121, %107
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %21)
          to label %127 unwind label %61

127:                                              ; preds = %126
  %128 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #5
  store i8 0, ptr %18, align 1, !tbaa !11
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %128, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %129 unwind label %136

129:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #5
  %130 = getelementptr inbounds %struct.testbench, ptr %21, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  store i8 0, ptr %19, align 1, !tbaa !11
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %130, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %131 unwind label %140

131:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  %132 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %133 unwind label %61

133:                                              ; preds = %131
  %134 = icmp eq i32 %132, -8
  br i1 %134, label %135, label %144

135:                                              ; preds = %133
  store i32 15, ptr %10, align 4, !tbaa !9
  br label %144

136:                                              ; preds = %127
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %5, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #5
  br label %343

140:                                              ; preds = %129
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %5, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  br label %343

144:                                              ; preds = %135, %133
  %145 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %146 unwind label %61

146:                                              ; preds = %144
  %147 = icmp eq i32 %145, -7
  br i1 %147, label %148, label %149

148:                                              ; preds = %146
  store i32 14, ptr %10, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %148, %146
  %150 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %151 unwind label %61

151:                                              ; preds = %149
  %152 = icmp eq i32 %150, -6
  br i1 %152, label %153, label %154

153:                                              ; preds = %151
  store i32 13, ptr %10, align 4, !tbaa !9
  br label %154

154:                                              ; preds = %153, %151
  %155 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %156 unwind label %61

156:                                              ; preds = %154
  %157 = icmp eq i32 %155, -5
  br i1 %157, label %158, label %159

158:                                              ; preds = %156
  store i32 12, ptr %10, align 4, !tbaa !9
  br label %159

159:                                              ; preds = %158, %156
  %160 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %161 unwind label %61

161:                                              ; preds = %159
  %162 = icmp eq i32 %160, -4
  br i1 %162, label %163, label %164

163:                                              ; preds = %161
  store i32 11, ptr %10, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %163, %161
  %165 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %166 unwind label %61

166:                                              ; preds = %164
  %167 = icmp eq i32 %165, -3
  br i1 %167, label %168, label %169

168:                                              ; preds = %166
  store i32 10, ptr %10, align 4, !tbaa !9
  br label %169

169:                                              ; preds = %168, %166
  %170 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %171 unwind label %61

171:                                              ; preds = %169
  %172 = icmp eq i32 %170, -2
  br i1 %172, label %173, label %174

173:                                              ; preds = %171
  store i32 9, ptr %10, align 4, !tbaa !9
  br label %174

174:                                              ; preds = %173, %171
  %175 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %176 unwind label %61

176:                                              ; preds = %174
  %177 = icmp eq i32 %175, -1
  br i1 %177, label %178, label %179

178:                                              ; preds = %176
  store i32 8, ptr %10, align 4, !tbaa !9
  br label %179

179:                                              ; preds = %178, %176
  %180 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %181 unwind label %61

181:                                              ; preds = %179
  %182 = icmp eq i32 %180, 0
  br i1 %182, label %183, label %184

183:                                              ; preds = %181
  store i32 7, ptr %10, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %183, %181
  %185 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %186 unwind label %61

186:                                              ; preds = %184
  %187 = icmp eq i32 %185, 1
  br i1 %187, label %188, label %189

188:                                              ; preds = %186
  store i32 6, ptr %10, align 4, !tbaa !9
  br label %189

189:                                              ; preds = %188, %186
  %190 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %191 unwind label %61

191:                                              ; preds = %189
  %192 = icmp eq i32 %190, 2
  br i1 %192, label %193, label %194

193:                                              ; preds = %191
  store i32 5, ptr %10, align 4, !tbaa !9
  br label %194

194:                                              ; preds = %193, %191
  %195 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %196 unwind label %61

196:                                              ; preds = %194
  %197 = icmp eq i32 %195, 3
  br i1 %197, label %198, label %199

198:                                              ; preds = %196
  store i32 4, ptr %10, align 4, !tbaa !9
  br label %199

199:                                              ; preds = %198, %196
  %200 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %201 unwind label %61

201:                                              ; preds = %199
  %202 = icmp eq i32 %200, 4
  br i1 %202, label %203, label %204

203:                                              ; preds = %201
  store i32 3, ptr %10, align 4, !tbaa !9
  br label %204

204:                                              ; preds = %203, %201
  %205 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %206 unwind label %61

206:                                              ; preds = %204
  %207 = icmp eq i32 %205, 5
  br i1 %207, label %208, label %209

208:                                              ; preds = %206
  store i32 2, ptr %10, align 4, !tbaa !9
  br label %209

209:                                              ; preds = %208, %206
  %210 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %211 unwind label %61

211:                                              ; preds = %209
  %212 = icmp eq i32 %210, 6
  br i1 %212, label %213, label %214

213:                                              ; preds = %211
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %214

214:                                              ; preds = %213, %211
  %215 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %216 unwind label %61

216:                                              ; preds = %214
  %217 = icmp eq i32 %215, 7
  br i1 %217, label %218, label %219

218:                                              ; preds = %216
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %219

219:                                              ; preds = %218, %216
  %220 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %221 unwind label %61

221:                                              ; preds = %219
  %222 = icmp eq i32 %220, -8
  br i1 %222, label %223, label %224

223:                                              ; preds = %221
  store i32 16, ptr %11, align 4, !tbaa !9
  br label %224

224:                                              ; preds = %223, %221
  %225 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %226 unwind label %61

226:                                              ; preds = %224
  %227 = icmp eq i32 %225, -7
  br i1 %227, label %228, label %229

228:                                              ; preds = %226
  store i32 15, ptr %11, align 4, !tbaa !9
  br label %229

229:                                              ; preds = %228, %226
  %230 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %231 unwind label %61

231:                                              ; preds = %229
  %232 = icmp eq i32 %230, -6
  br i1 %232, label %233, label %234

233:                                              ; preds = %231
  store i32 14, ptr %11, align 4, !tbaa !9
  br label %234

234:                                              ; preds = %233, %231
  %235 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %236 unwind label %61

236:                                              ; preds = %234
  %237 = icmp eq i32 %235, -5
  br i1 %237, label %238, label %239

238:                                              ; preds = %236
  store i32 13, ptr %11, align 4, !tbaa !9
  br label %239

239:                                              ; preds = %238, %236
  %240 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %241 unwind label %61

241:                                              ; preds = %239
  %242 = icmp eq i32 %240, -4
  br i1 %242, label %243, label %244

243:                                              ; preds = %241
  store i32 12, ptr %11, align 4, !tbaa !9
  br label %244

244:                                              ; preds = %243, %241
  %245 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %246 unwind label %61

246:                                              ; preds = %244
  %247 = icmp eq i32 %245, -3
  br i1 %247, label %248, label %249

248:                                              ; preds = %246
  store i32 11, ptr %11, align 4, !tbaa !9
  br label %249

249:                                              ; preds = %248, %246
  %250 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %251 unwind label %61

251:                                              ; preds = %249
  %252 = icmp eq i32 %250, -2
  br i1 %252, label %253, label %254

253:                                              ; preds = %251
  store i32 10, ptr %11, align 4, !tbaa !9
  br label %254

254:                                              ; preds = %253, %251
  %255 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %256 unwind label %61

256:                                              ; preds = %254
  %257 = icmp eq i32 %255, -1
  br i1 %257, label %258, label %259

258:                                              ; preds = %256
  store i32 9, ptr %11, align 4, !tbaa !9
  br label %259

259:                                              ; preds = %258, %256
  %260 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %261 unwind label %61

261:                                              ; preds = %259
  %262 = icmp eq i32 %260, 0
  br i1 %262, label %263, label %264

263:                                              ; preds = %261
  store i32 8, ptr %11, align 4, !tbaa !9
  br label %264

264:                                              ; preds = %263, %261
  %265 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %266 unwind label %61

266:                                              ; preds = %264
  %267 = icmp eq i32 %265, 1
  br i1 %267, label %268, label %269

268:                                              ; preds = %266
  store i32 7, ptr %11, align 4, !tbaa !9
  br label %269

269:                                              ; preds = %268, %266
  %270 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %271 unwind label %61

271:                                              ; preds = %269
  %272 = icmp eq i32 %270, 2
  br i1 %272, label %273, label %274

273:                                              ; preds = %271
  store i32 6, ptr %11, align 4, !tbaa !9
  br label %274

274:                                              ; preds = %273, %271
  %275 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %276 unwind label %61

276:                                              ; preds = %274
  %277 = icmp eq i32 %275, 3
  br i1 %277, label %278, label %279

278:                                              ; preds = %276
  store i32 5, ptr %11, align 4, !tbaa !9
  br label %279

279:                                              ; preds = %278, %276
  %280 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %281 unwind label %61

281:                                              ; preds = %279
  %282 = icmp eq i32 %280, 4
  br i1 %282, label %283, label %284

283:                                              ; preds = %281
  store i32 4, ptr %11, align 4, !tbaa !9
  br label %284

284:                                              ; preds = %283, %281
  %285 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %286 unwind label %61

286:                                              ; preds = %284
  %287 = icmp eq i32 %285, 5
  br i1 %287, label %288, label %289

288:                                              ; preds = %286
  store i32 3, ptr %11, align 4, !tbaa !9
  br label %289

289:                                              ; preds = %288, %286
  %290 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %291 unwind label %61

291:                                              ; preds = %289
  %292 = icmp eq i32 %290, 6
  br i1 %292, label %293, label %294

293:                                              ; preds = %291
  store i32 2, ptr %11, align 4, !tbaa !9
  br label %294

294:                                              ; preds = %293, %291
  %295 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %296 unwind label %61

296:                                              ; preds = %294
  %297 = icmp eq i32 %295, 7
  br i1 %297, label %298, label %299

298:                                              ; preds = %296
  store i32 1, ptr %11, align 4, !tbaa !9
  br label %299

299:                                              ; preds = %298, %296
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  %300 = load i32, ptr %11, align 4, !tbaa !9
  %301 = sext i32 %300 to i64
  %302 = getelementptr inbounds [17 x %"class.sc_dt::sc_bv"], ptr @mem, i64 0, i64 %301
  %303 = load i32, ptr %10, align 4, !tbaa !9
  invoke void @_ZN5sc_dt8sc_proxyINS_10sc_bv_baseEEixEi(ptr dead_on_unwind writable sret(%"class.sc_dt::sc_bitref") align 8 %20, ptr noundef nonnull align 8 dereferenceable(8) %302, i32 noundef %303)
          to label %304 unwind label %310

304:                                              ; preds = %299
  %305 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt9sc_bitrefINS_10sc_bv_baseEEaSEi(ptr noundef nonnull align 8 dereferenceable(12) %20, i32 noundef 1)
          to label %306 unwind label %310

306:                                              ; preds = %304
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  %307 = load i32, ptr %8, align 4, !tbaa !9
  %308 = icmp eq i32 %307, 100
  br i1 %308, label %309, label %314

309:                                              ; preds = %306
  br label %315

310:                                              ; preds = %304, %299
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %5, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  br label %343

314:                                              ; preds = %306
  br label %70, !llvm.loop !18

315:                                              ; preds = %309
  %316 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %317 unwind label %61

317:                                              ; preds = %315
  %318 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %316, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %319 unwind label %61

319:                                              ; preds = %317
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %320

320:                                              ; preds = %338, %319
  %321 = load i32, ptr %9, align 4, !tbaa !9
  %322 = icmp slt i32 %321, 17
  br i1 %322, label %323, label %341

323:                                              ; preds = %320
  %324 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %325 unwind label %61

325:                                              ; preds = %323
  %326 = load i32, ptr %9, align 4, !tbaa !9
  %327 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %324, i32 noundef %326)
          to label %328 unwind label %61

328:                                              ; preds = %325
  %329 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %327, ptr noundef @.str.4)
          to label %330 unwind label %61

330:                                              ; preds = %328
  %331 = load i32, ptr %9, align 4, !tbaa !9
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds [17 x %"class.sc_dt::sc_bv"], ptr @mem, i64 0, i64 %332
  %334 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %329, ptr noundef nonnull align 8 dereferenceable(8) %333)
          to label %335 unwind label %61

335:                                              ; preds = %330
  %336 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %334, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %337 unwind label %61

337:                                              ; preds = %335
  br label %338

338:                                              ; preds = %337
  %339 = load i32, ptr %9, align 4, !tbaa !9
  %340 = add nsw i32 %339, 1
  store i32 %340, ptr %9, align 4, !tbaa !9
  br label %320, !llvm.loop !19

341:                                              ; preds = %320
  invoke void @_ZN7sc_core7sc_stopEv()
          to label %342 unwind label %61

342:                                              ; preds = %341
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @_ZN5sc_dt10sc_bv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @_ZN5sc_dt10sc_bv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #5
  ret void

343:                                              ; preds = %310, %140, %136, %122, %100, %65, %61, %57, %53, %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @_ZN5sc_dt10sc_bv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  br label %344

344:                                              ; preds = %343, %45
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @_ZN5sc_dt10sc_bv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #5
  br label %345

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt9sc_bitrefINS_10sc_bv_baseEEaSEi(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) #0 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) #2

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

declare void @_ZN7sc_core7sc_stopEv() #3

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


; 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_bv" = type { %"class.sc_dt::sc_bv_base" }
%"class.sc_dt::sc_bv_base" = type { %"class.sc_dt::sc_proxy", i32, i32, ptr }
%"class.sc_dt::sc_proxy" = type { 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_dt::sc_bv.0" = type { %"class.sc_dt::sc_bv_base" }
%"class.sc_dt::sc_bitref" = type { %"class.sc_dt::sc_bitref_r.base", [4 x i8] }
%"class.sc_dt::sc_bitref_r.base" = type <{ ptr, i32 }>

@mem = external dso_local global [17 x %"class.sc_dt::sc_bv"], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9testbench5entryEv(ptr noundef nonnull align 8 dereferenceable(1528) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.sc_dt::sc_bv.0", align 8
  %3 = alloca %"class.sc_dt::sc_bv.0", align 8
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca %"class.sc_dt::sc_bitref", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #5
  call void @_ZN5sc_dt5sc_bvILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  invoke void @_ZN5sc_dt5sc_bvILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %13 unwind label %41

13:                                               ; preds = %1
  %14 = getelementptr inbounds i8, ptr %0, i64 416
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  store i8 1, ptr %4, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %14, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %15 unwind label %43

15:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  %16 = getelementptr inbounds i8, ptr %0, i64 608
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  store i8 0, ptr %5, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %16, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %17 unwind label %45

17:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  %18 = getelementptr inbounds i8, ptr %0, i64 800
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #5
  store i8 0, ptr %6, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %18, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %19 unwind label %47

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

20:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  store i8 0, ptr %7, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %14, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %21 unwind label %49

21:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %.preheader80.preheader unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader80.preheader:                           ; preds = %21
  %22 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 24), i32 noundef 0)
          to label %.preheader80.1 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.1:                                   ; preds = %.preheader80.preheader
  %23 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 48), i32 noundef 0)
          to label %.preheader80.2 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.2:                                   ; preds = %.preheader80.1
  %24 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 72), i32 noundef 0)
          to label %.preheader80.3 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.3:                                   ; preds = %.preheader80.2
  %25 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 96), i32 noundef 0)
          to label %.preheader80.4 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.4:                                   ; preds = %.preheader80.3
  %26 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 120), i32 noundef 0)
          to label %.preheader80.5 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.5:                                   ; preds = %.preheader80.4
  %27 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 144), i32 noundef 0)
          to label %.preheader80.6 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.6:                                   ; preds = %.preheader80.5
  %28 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 168), i32 noundef 0)
          to label %.preheader80.7 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.7:                                   ; preds = %.preheader80.6
  %29 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 192), i32 noundef 0)
          to label %.preheader80.8 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.8:                                   ; preds = %.preheader80.7
  %30 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 216), i32 noundef 0)
          to label %.preheader80.9 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.9:                                   ; preds = %.preheader80.8
  %31 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 240), i32 noundef 0)
          to label %.preheader80.10 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.10:                                  ; preds = %.preheader80.9
  %32 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 264), i32 noundef 0)
          to label %.preheader80.11 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.11:                                  ; preds = %.preheader80.10
  %33 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 288), i32 noundef 0)
          to label %.preheader80.12 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.12:                                  ; preds = %.preheader80.11
  %34 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 312), i32 noundef 0)
          to label %.preheader80.13 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.13:                                  ; preds = %.preheader80.12
  %35 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 336), i32 noundef 0)
          to label %.preheader80.14 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.14:                                  ; preds = %.preheader80.13
  %36 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 360), i32 noundef 0)
          to label %.preheader80.15 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader80.15:                                  ; preds = %.preheader80.14
  %37 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi16EEaSEi(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @mem, i64 384), i32 noundef 0)
          to label %.preheader77 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader77:                                     ; preds = %.preheader80.15
  %38 = getelementptr inbounds i8, ptr %0, i64 992
  %39 = getelementptr inbounds i8, ptr %0, i64 1176
  %40 = getelementptr inbounds i8, ptr %0, i64 1360
  br label %51

41:                                               ; preds = %1
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %347

43:                                               ; preds = %13
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  br label %.loopexit.split-lp

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

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

.loopexit:                                        ; preds = %343, %341, %339, %337, %.preheader.15, %334, %332, %330, %328, %.preheader.14, %325, %323, %321, %319, %.preheader.13, %316, %314, %312, %310, %.preheader.12, %307, %305, %303, %301, %.preheader.11, %298, %296, %294, %292, %.preheader.10, %289, %287, %285, %283, %.preheader.9, %280, %278, %276, %274, %.preheader.8, %271, %269, %267, %265, %.preheader.7, %262, %260, %258, %256, %.preheader.6, %253, %251, %249, %247, %.preheader.5, %244, %242, %240, %238, %.preheader.4, %235, %233, %231, %229, %.preheader.3, %226, %224, %222, %220, %.preheader.2, %217, %215, %213, %211, %.preheader.1, %.preheader.preheader, %202, %204, %206, %208
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

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

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %58, %63, %65, %71, %76, %78, %85, %88, %90, %96, %98, %100, %102, %104, %106, %108, %110, %112, %114, %116, %118, %120, %122, %124, %142, %144, %146, %148, %150, %152, %154, %156, %158, %160, %162, %164, %166, %168, %170
  %lpad.loopexit78 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %.preheader80.15, %.preheader80.14, %.preheader80.13, %.preheader80.12, %.preheader80.11, %.preheader80.10, %.preheader80.9, %.preheader80.8, %.preheader80.7, %.preheader80.6, %.preheader80.5, %.preheader80.4, %.preheader80.3, %.preheader80.2, %.preheader80.1, %.preheader80.preheader
  %lpad.loopexit81 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %345, %199, %197, %21, %19
  %lpad.loopexit.split-lp82 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

49:                                               ; preds = %20
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  br label %.loopexit.split-lp

51:                                               ; preds = %.preheader77, %193
  %.033 = phi i32 [ %.134, %193 ], [ 0, %.preheader77 ]
  %.014 = phi i32 [ %spec.select57, %193 ], [ 0, %.preheader77 ]
  %.0 = phi i32 [ %spec.select73, %193 ], [ 1, %.preheader77 ]
  br label %52

52:                                               ; preds = %55, %51
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %53 unwind label %.loopexit.split-lp.loopexit

53:                                               ; preds = %52
  %54 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core5sc_inIbEcvRKbEv(ptr noundef nonnull align 8 dereferenceable(184) %38)
          to label %55 unwind label %.loopexit.split-lp.loopexit

55:                                               ; preds = %53
  %56 = load i8, ptr %54, align 1, !tbaa !5, !range !9, !noundef !10
  %57 = icmp eq i8 %56, 0
  br i1 %57, label %52, label %58, !llvm.loop !11

58:                                               ; preds = %55
  %59 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core5sc_inIbE4readEv(ptr noundef nonnull align 8 dereferenceable(184) %39)
          to label %60 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

60:                                               ; preds = %58
  %61 = load i8, ptr %59, align 1, !tbaa !5, !range !9, !noundef !10
  %62 = icmp eq i8 %61, 0
  br i1 %62, label %63, label %71

63:                                               ; preds = %60
  %64 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7sc_core5sc_inIN5sc_dt5sc_bvILi8EEEE4readEv(ptr noundef nonnull align 8 dereferenceable(168) %40)
          to label %65 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

65:                                               ; preds = %63
  %66 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi8EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %64)
          to label %67 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  store i8 1, ptr %8, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %16, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %68 unwind label %69

68:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  br label %71

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

71:                                               ; preds = %68, %60
  %72 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK7sc_core5sc_inIbE4readEv(ptr noundef nonnull align 8 dereferenceable(184) %39)
          to label %73 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

73:                                               ; preds = %71
  %74 = load i8, ptr %72, align 1, !tbaa !5, !range !9, !noundef !10
  %75 = trunc nuw i8 %74 to i1
  br i1 %75, label %76, label %85

76:                                               ; preds = %73
  %77 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7sc_core5sc_inIN5sc_dt5sc_bvILi8EEEE4readEv(ptr noundef nonnull align 8 dereferenceable(168) %40)
          to label %78 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt5sc_bvILi8EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %77)
          to label %80 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

80:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #5
  store i8 1, ptr %9, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %18, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %81 unwind label %83

81:                                               ; preds = %80
  %82 = add nsw i32 %.033, 1
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  br label %85

83:                                               ; preds = %80
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  br label %.loopexit.split-lp

85:                                               ; preds = %81, %73
  %.134 = phi i32 [ %82, %81 ], [ %.033, %73 ]
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %86 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

86:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #5
  store i8 0, ptr %10, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %16, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %87 unwind label %92

87:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  store i8 0, ptr %11, align 1, !tbaa !5
  invoke void @_ZN7sc_core8sc_inoutIbE5writeERKb(ptr noundef nonnull align 8 dereferenceable(192) %18, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %88 unwind label %94

88:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  %89 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %90 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

90:                                               ; preds = %88
  %91 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %96 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

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

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

96:                                               ; preds = %90
  %97 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %98 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

98:                                               ; preds = %96
  %99 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %100 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

100:                                              ; preds = %98
  %101 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %102 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

102:                                              ; preds = %100
  %103 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %104 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

104:                                              ; preds = %102
  %105 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %106 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

106:                                              ; preds = %104
  %107 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %108 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

108:                                              ; preds = %106
  %109 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %110 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

110:                                              ; preds = %108
  %111 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %112 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

112:                                              ; preds = %110
  %113 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %114 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

114:                                              ; preds = %112
  %115 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %116 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

116:                                              ; preds = %114
  %117 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %118 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

118:                                              ; preds = %116
  %119 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %120 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

120:                                              ; preds = %118
  %121 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %122 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

122:                                              ; preds = %120
  %123 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %124 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

124:                                              ; preds = %122
  %125 = icmp eq i32 %121, 6
  %126 = icmp eq i32 %119, 5
  %127 = icmp eq i32 %117, 4
  %128 = icmp eq i32 %115, 3
  %129 = icmp eq i32 %113, 2
  %130 = icmp eq i32 %111, 1
  %131 = icmp eq i32 %109, 0
  %132 = icmp eq i32 %107, -1
  %133 = icmp eq i32 %105, -2
  %134 = icmp eq i32 %103, -3
  %135 = icmp eq i32 %101, -4
  %136 = icmp eq i32 %99, -5
  %137 = icmp eq i32 %97, -6
  %138 = icmp eq i32 %91, -7
  %139 = icmp eq i32 %89, -8
  %spec.select = select i1 %139, i32 15, i32 %.014
  %spec.select43 = select i1 %138, i32 14, i32 %spec.select
  %spec.select44 = select i1 %137, i32 13, i32 %spec.select43
  %spec.select45 = select i1 %136, i32 12, i32 %spec.select44
  %spec.select46 = select i1 %135, i32 11, i32 %spec.select45
  %spec.select47 = select i1 %134, i32 10, i32 %spec.select46
  %spec.select48 = select i1 %133, i32 9, i32 %spec.select47
  %spec.select49 = select i1 %132, i32 8, i32 %spec.select48
  %spec.select50 = select i1 %131, i32 7, i32 %spec.select49
  %spec.select51 = select i1 %130, i32 6, i32 %spec.select50
  %spec.select52 = select i1 %129, i32 5, i32 %spec.select51
  %spec.select53 = select i1 %128, i32 4, i32 %spec.select52
  %spec.select54 = select i1 %127, i32 3, i32 %spec.select53
  %spec.select55 = select i1 %126, i32 2, i32 %spec.select54
  %spec.select56 = select i1 %125, i32 1, i32 %spec.select55
  %140 = icmp eq i32 %123, 7
  %spec.select57 = select i1 %140, i32 0, i32 %spec.select56
  %141 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %142 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

142:                                              ; preds = %124
  %143 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %144 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

144:                                              ; preds = %142
  %145 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %146 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

146:                                              ; preds = %144
  %147 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %148 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

148:                                              ; preds = %146
  %149 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %150 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

150:                                              ; preds = %148
  %151 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %152 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

152:                                              ; preds = %150
  %153 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %154 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

154:                                              ; preds = %152
  %155 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %156 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

156:                                              ; preds = %154
  %157 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %158 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

158:                                              ; preds = %156
  %159 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %160 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

160:                                              ; preds = %158
  %161 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %162 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

162:                                              ; preds = %160
  %163 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %164 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

164:                                              ; preds = %162
  %165 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %166 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

166:                                              ; preds = %164
  %167 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %168 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

168:                                              ; preds = %166
  %169 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %170 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

170:                                              ; preds = %168
  %171 = invoke noundef i32 @_ZNK5sc_dt8sc_proxyINS_10sc_bv_baseEE6to_intEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %172 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

172:                                              ; preds = %170
  %173 = icmp eq i32 %169, 6
  %174 = icmp eq i32 %167, 5
  %175 = icmp eq i32 %165, 4
  %176 = icmp eq i32 %163, 3
  %177 = icmp eq i32 %161, 2
  %178 = icmp eq i32 %159, 1
  %179 = icmp eq i32 %157, 0
  %180 = icmp eq i32 %155, -1
  %181 = icmp eq i32 %153, -2
  %182 = icmp eq i32 %151, -3
  %183 = icmp eq i32 %149, -4
  %184 = icmp eq i32 %147, -5
  %185 = icmp eq i32 %145, -6
  %186 = icmp eq i32 %143, -7
  %187 = icmp eq i32 %141, -8
  %spec.select58 = select i1 %187, i32 16, i32 %.0
  %spec.select59 = select i1 %186, i32 15, i32 %spec.select58
  %spec.select60 = select i1 %185, i32 14, i32 %spec.select59
  %spec.select61 = select i1 %184, i32 13, i32 %spec.select60
  %spec.select62 = select i1 %183, i32 12, i32 %spec.select61
  %spec.select63 = select i1 %182, i32 11, i32 %spec.select62
  %spec.select64 = select i1 %181, i32 10, i32 %spec.select63
  %spec.select65 = select i1 %180, i32 9, i32 %spec.select64
  %spec.select66 = select i1 %179, i32 8, i32 %spec.select65
  %spec.select67 = select i1 %178, i32 7, i32 %spec.select66
  %spec.select68 = select i1 %177, i32 6, i32 %spec.select67
  %spec.select69 = select i1 %176, i32 5, i32 %spec.select68
  %spec.select70 = select i1 %175, i32 4, i32 %spec.select69
  %spec.select71 = select i1 %174, i32 3, i32 %spec.select70
  %spec.select72 = select i1 %173, i32 2, i32 %spec.select71
  %188 = icmp eq i32 %171, 7
  %spec.select73 = select i1 %188, i32 1, i32 %spec.select72
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  %189 = zext nneg i32 %spec.select73 to i64
  %190 = getelementptr inbounds [17 x %"class.sc_dt::sc_bv"], ptr @mem, i64 0, i64 %189
  invoke void @_ZN5sc_dt8sc_proxyINS_10sc_bv_baseEEixEi(ptr dead_on_unwind nonnull writable sret(%"class.sc_dt::sc_bitref") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %190, i32 noundef %spec.select57)
          to label %191 unwind label %195

191:                                              ; preds = %172
  %192 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt9sc_bitrefINS_10sc_bv_baseEEaSEi(ptr noundef nonnull align 8 dereferenceable(12) %12, i32 noundef 1)
          to label %193 unwind label %195

193:                                              ; preds = %191
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  %194 = icmp eq i32 %.134, 100
  br i1 %194, label %197, label %51, !llvm.loop !13

195:                                              ; preds = %191, %172
  %196 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  br label %.loopexit.split-lp

197:                                              ; preds = %193
  %198 = 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)
          to label %199 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

199:                                              ; preds = %197
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %198, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.preheader unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader.preheader:                             ; preds = %199
  %201 = 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.3)
          to label %202 unwind label %.loopexit

202:                                              ; preds = %.preheader.preheader
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %201, i32 noundef 1)
          to label %204 unwind label %.loopexit

204:                                              ; preds = %202
  %205 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %203, ptr noundef nonnull @.str.4)
          to label %206 unwind label %.loopexit

206:                                              ; preds = %204
  %207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %205, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 24))
          to label %208 unwind label %.loopexit

208:                                              ; preds = %206
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %207, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.1 unwind label %.loopexit

.preheader.1:                                     ; preds = %208
  %210 = 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.3)
          to label %211 unwind label %.loopexit

211:                                              ; preds = %.preheader.1
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %210, i32 noundef 2)
          to label %213 unwind label %.loopexit

213:                                              ; preds = %211
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %212, ptr noundef nonnull @.str.4)
          to label %215 unwind label %.loopexit

215:                                              ; preds = %213
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %214, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 48))
          to label %217 unwind label %.loopexit

217:                                              ; preds = %215
  %218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %216, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.2 unwind label %.loopexit

.preheader.2:                                     ; preds = %217
  %219 = 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.3)
          to label %220 unwind label %.loopexit

220:                                              ; preds = %.preheader.2
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %219, i32 noundef 3)
          to label %222 unwind label %.loopexit

222:                                              ; preds = %220
  %223 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %221, ptr noundef nonnull @.str.4)
          to label %224 unwind label %.loopexit

224:                                              ; preds = %222
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 72))
          to label %226 unwind label %.loopexit

226:                                              ; preds = %224
  %227 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %225, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.3 unwind label %.loopexit

.preheader.3:                                     ; preds = %226
  %228 = 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.3)
          to label %229 unwind label %.loopexit

229:                                              ; preds = %.preheader.3
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %228, i32 noundef 4)
          to label %231 unwind label %.loopexit

231:                                              ; preds = %229
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %230, ptr noundef nonnull @.str.4)
          to label %233 unwind label %.loopexit

233:                                              ; preds = %231
  %234 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %232, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 96))
          to label %235 unwind label %.loopexit

235:                                              ; preds = %233
  %236 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %234, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.4 unwind label %.loopexit

.preheader.4:                                     ; preds = %235
  %237 = 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.3)
          to label %238 unwind label %.loopexit

238:                                              ; preds = %.preheader.4
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %237, i32 noundef 5)
          to label %240 unwind label %.loopexit

240:                                              ; preds = %238
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef nonnull @.str.4)
          to label %242 unwind label %.loopexit

242:                                              ; preds = %240
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %241, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 120))
          to label %244 unwind label %.loopexit

244:                                              ; preds = %242
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %243, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.5 unwind label %.loopexit

.preheader.5:                                     ; preds = %244
  %246 = 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.3)
          to label %247 unwind label %.loopexit

247:                                              ; preds = %.preheader.5
  %248 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %246, i32 noundef 6)
          to label %249 unwind label %.loopexit

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

251:                                              ; preds = %249
  %252 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %250, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 144))
          to label %253 unwind label %.loopexit

253:                                              ; preds = %251
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %252, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.6 unwind label %.loopexit

.preheader.6:                                     ; preds = %253
  %255 = 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.3)
          to label %256 unwind label %.loopexit

256:                                              ; preds = %.preheader.6
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %255, i32 noundef 7)
          to label %258 unwind label %.loopexit

258:                                              ; preds = %256
  %259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %257, ptr noundef nonnull @.str.4)
          to label %260 unwind label %.loopexit

260:                                              ; preds = %258
  %261 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %259, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 168))
          to label %262 unwind label %.loopexit

262:                                              ; preds = %260
  %263 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %261, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.7 unwind label %.loopexit

.preheader.7:                                     ; preds = %262
  %264 = 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.3)
          to label %265 unwind label %.loopexit

265:                                              ; preds = %.preheader.7
  %266 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %264, i32 noundef 8)
          to label %267 unwind label %.loopexit

267:                                              ; preds = %265
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %266, ptr noundef nonnull @.str.4)
          to label %269 unwind label %.loopexit

269:                                              ; preds = %267
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 192))
          to label %271 unwind label %.loopexit

271:                                              ; preds = %269
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %270, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.8 unwind label %.loopexit

.preheader.8:                                     ; preds = %271
  %273 = 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.3)
          to label %274 unwind label %.loopexit

274:                                              ; preds = %.preheader.8
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %273, i32 noundef 9)
          to label %276 unwind label %.loopexit

276:                                              ; preds = %274
  %277 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %275, ptr noundef nonnull @.str.4)
          to label %278 unwind label %.loopexit

278:                                              ; preds = %276
  %279 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %277, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 216))
          to label %280 unwind label %.loopexit

280:                                              ; preds = %278
  %281 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %279, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.9 unwind label %.loopexit

.preheader.9:                                     ; preds = %280
  %282 = 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.3)
          to label %283 unwind label %.loopexit

283:                                              ; preds = %.preheader.9
  %284 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %282, i32 noundef 10)
          to label %285 unwind label %.loopexit

285:                                              ; preds = %283
  %286 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %284, ptr noundef nonnull @.str.4)
          to label %287 unwind label %.loopexit

287:                                              ; preds = %285
  %288 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %286, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 240))
          to label %289 unwind label %.loopexit

289:                                              ; preds = %287
  %290 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %288, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.10 unwind label %.loopexit

.preheader.10:                                    ; preds = %289
  %291 = 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.3)
          to label %292 unwind label %.loopexit

292:                                              ; preds = %.preheader.10
  %293 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %291, i32 noundef 11)
          to label %294 unwind label %.loopexit

294:                                              ; preds = %292
  %295 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %293, ptr noundef nonnull @.str.4)
          to label %296 unwind label %.loopexit

296:                                              ; preds = %294
  %297 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %295, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 264))
          to label %298 unwind label %.loopexit

298:                                              ; preds = %296
  %299 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %297, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.11 unwind label %.loopexit

.preheader.11:                                    ; preds = %298
  %300 = 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.3)
          to label %301 unwind label %.loopexit

301:                                              ; preds = %.preheader.11
  %302 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %300, i32 noundef 12)
          to label %303 unwind label %.loopexit

303:                                              ; preds = %301
  %304 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %302, ptr noundef nonnull @.str.4)
          to label %305 unwind label %.loopexit

305:                                              ; preds = %303
  %306 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %304, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 288))
          to label %307 unwind label %.loopexit

307:                                              ; preds = %305
  %308 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %306, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.12 unwind label %.loopexit

.preheader.12:                                    ; preds = %307
  %309 = 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.3)
          to label %310 unwind label %.loopexit

310:                                              ; preds = %.preheader.12
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %309, i32 noundef 13)
          to label %312 unwind label %.loopexit

312:                                              ; preds = %310
  %313 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %311, ptr noundef nonnull @.str.4)
          to label %314 unwind label %.loopexit

314:                                              ; preds = %312
  %315 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %313, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 312))
          to label %316 unwind label %.loopexit

316:                                              ; preds = %314
  %317 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %315, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.13 unwind label %.loopexit

.preheader.13:                                    ; preds = %316
  %318 = 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.3)
          to label %319 unwind label %.loopexit

319:                                              ; preds = %.preheader.13
  %320 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %318, i32 noundef 14)
          to label %321 unwind label %.loopexit

321:                                              ; preds = %319
  %322 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %320, ptr noundef nonnull @.str.4)
          to label %323 unwind label %.loopexit

323:                                              ; preds = %321
  %324 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %322, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 336))
          to label %325 unwind label %.loopexit

325:                                              ; preds = %323
  %326 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %324, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.14 unwind label %.loopexit

.preheader.14:                                    ; preds = %325
  %327 = 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.3)
          to label %328 unwind label %.loopexit

328:                                              ; preds = %.preheader.14
  %329 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %327, i32 noundef 15)
          to label %330 unwind label %.loopexit

330:                                              ; preds = %328
  %331 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %329, ptr noundef nonnull @.str.4)
          to label %332 unwind label %.loopexit

332:                                              ; preds = %330
  %333 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %331, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 360))
          to label %334 unwind label %.loopexit

334:                                              ; preds = %332
  %335 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %333, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.15 unwind label %.loopexit

.preheader.15:                                    ; preds = %334
  %336 = 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.3)
          to label %337 unwind label %.loopexit

337:                                              ; preds = %.preheader.15
  %338 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %336, i32 noundef 16)
          to label %339 unwind label %.loopexit

339:                                              ; preds = %337
  %340 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %338, ptr noundef nonnull @.str.4)
          to label %341 unwind label %.loopexit

341:                                              ; preds = %339
  %342 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5sc_dtlsINS_10sc_bv_baseEEERSoS2_RKNS_8sc_proxyIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %340, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @mem, i64 384))
          to label %343 unwind label %.loopexit

343:                                              ; preds = %341
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %342, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %345 unwind label %.loopexit

345:                                              ; preds = %343
  invoke void @_ZN7sc_core7sc_stopEv()
          to label %346 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

346:                                              ; preds = %345
  call void @_ZN5sc_dt10sc_bv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  call void @_ZN5sc_dt10sc_bv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  ret void

.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.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit, %195, %94, %92, %83, %69, %49, %47, %45, %43
  %.pn = phi { ptr, i32 } [ %196, %195 ], [ %95, %94 ], [ %93, %92 ], [ %84, %83 ], [ %70, %69 ], [ %50, %49 ], [ %48, %47 ], [ %46, %45 ], [ %44, %43 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit74, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit78, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit81, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp82, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZN5sc_dt10sc_bv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  br label %347

347:                                              ; preds = %.loopexit.split-lp, %41
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit.split-lp ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  call void @_ZN5sc_dt10sc_bv_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn.pn
}

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt9sc_bitrefINS_10sc_bv_baseEEaSEi(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) local_unnamed_addr #0 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 #2

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

declare void @_ZN7sc_core7sc_stopEv() local_unnamed_addr #3

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass