; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/misc/cae_test/general/control/loop/while_exit/whil_546f5c0a (exit5entryEv)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10while_exit5entryEv(ptr noundef nonnull align 8 dereferenceable(456) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %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 i8, align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %13 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #2
  %14 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 2
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = load ptr, ptr %15, align 8, !tbaa !41
  %17 = getelementptr inbounds ptr, ptr %16, i64 7
  %18 = load ptr, ptr %17, align 8
  %19 = call noundef nonnull align 1 dereferenceable(1) ptr %18(ptr noundef nonnull align 8 dereferenceable(224) %15)
  %20 = load i8, ptr %19, align 1, !tbaa !43, !range !44, !noundef !45
  %21 = trunc i8 %20 to i1
  %22 = zext i1 %21 to i32
  %23 = icmp eq i32 %22, 1
  br i1 %23, label %24, label %35

24:                                               ; preds = %1
  %25 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 6
  %26 = load ptr, ptr %25, align 8, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  store i32 0, ptr %5, align 4, !tbaa !47
  %27 = load ptr, ptr %26, align 8, !tbaa !41
  %28 = getelementptr inbounds ptr, ptr %27, i64 9
  %29 = load ptr, ptr %28, align 8
  call void %29(ptr noundef nonnull align 8 dereferenceable(196) %26, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #2
  %30 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 5
  %31 = load ptr, ptr %30, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #2
  store i8 0, ptr %6, align 1, !tbaa !43
  %32 = load ptr, ptr %31, align 8, !tbaa !41
  %33 = getelementptr inbounds ptr, ptr %32, i64 14
  %34 = load ptr, ptr %33, align 8
  call void %34(ptr noundef nonnull align 8 dereferenceable(224) %31, ptr noundef nonnull align 1 dereferenceable(1) %6)
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #2
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %36

35:                                               ; preds = %1
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %36

36:                                               ; preds = %35, %24
  br label %37

37:                                               ; preds = %159, %36
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %50, %38
  %40 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 3
  %41 = load ptr, ptr %40, align 8, !tbaa !49
  %42 = load ptr, ptr %41, align 8, !tbaa !41
  %43 = getelementptr inbounds ptr, ptr %42, i64 7
  %44 = load ptr, ptr %43, align 8
  %45 = call noundef nonnull align 1 dereferenceable(1) ptr %44(ptr noundef nonnull align 8 dereferenceable(224) %41)
  %46 = load i8, ptr %45, align 1, !tbaa !43, !range !44, !noundef !45
  %47 = trunc i8 %46 to i1
  %48 = zext i1 %47 to i32
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %50, label %51

50:                                               ; preds = %39
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %39, !llvm.loop !50

51:                                               ; preds = %39
  %52 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 5
  %53 = load ptr, ptr %52, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #2
  store i8 1, ptr %7, align 1, !tbaa !43
  %54 = load ptr, ptr %53, align 8, !tbaa !41
  %55 = getelementptr inbounds ptr, ptr %54, i64 14
  %56 = load ptr, ptr %55, align 8
  call void %56(ptr noundef nonnull align 8 dereferenceable(224) %53, ptr noundef nonnull align 1 dereferenceable(1) %7)
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #2
  store i32 1, ptr %3, align 4, !tbaa !47
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %57

57:                                               ; preds = %79, %51
  %58 = load i32, ptr %3, align 4, !tbaa !47
  %59 = icmp sle i32 %58, 10
  br i1 %59, label %60, label %80

60:                                               ; preds = %57
  %61 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 4
  %62 = load ptr, ptr %61, align 8, !tbaa !52
  %63 = load ptr, ptr %62, align 8, !tbaa !41
  %64 = getelementptr inbounds ptr, ptr %63, i64 5
  %65 = load ptr, ptr %64, align 8
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr %65(ptr noundef nonnull align 8 dereferenceable(196) %62)
  %67 = load i32, ptr %66, align 4, !tbaa !47
  store i32 %67, ptr %4, align 4, !tbaa !47
  %68 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 6
  %69 = load ptr, ptr %68, align 8, !tbaa !46
  %70 = load ptr, ptr %69, align 8, !tbaa !41
  %71 = getelementptr inbounds ptr, ptr %70, i64 9
  %72 = load ptr, ptr %71, align 8
  call void %72(ptr noundef nonnull align 8 dereferenceable(196) %69, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %73 = load i32, ptr %4, align 4, !tbaa !47
  %74 = icmp eq i32 %73, 7
  br i1 %74, label %75, label %76

75:                                               ; preds = %60
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %80

76:                                               ; preds = %60
  %77 = load i32, ptr %3, align 4, !tbaa !47
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %3, align 4, !tbaa !47
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %79

79:                                               ; preds = %76
  br label %57, !llvm.loop !53

80:                                               ; preds = %75, %57
  %81 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 5
  %82 = load ptr, ptr %81, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #2
  store i8 0, ptr %8, align 1, !tbaa !43
  %83 = load ptr, ptr %82, align 8, !tbaa !41
  %84 = getelementptr inbounds ptr, ptr %83, i64 14
  %85 = load ptr, ptr %84, align 8
  call void %85(ptr noundef nonnull align 8 dereferenceable(224) %82, ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #2
  call void @_ZN7sc_core9sc_module4waitEi(ptr noundef nonnull align 8 dereferenceable(232) %13, i32 noundef 6)
  %86 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 5
  %87 = load ptr, ptr %86, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #2
  store i8 1, ptr %9, align 1, !tbaa !43
  %88 = load ptr, ptr %87, align 8, !tbaa !41
  %89 = getelementptr inbounds ptr, ptr %88, i64 14
  %90 = load ptr, ptr %89, align 8
  call void %90(ptr noundef nonnull align 8 dereferenceable(224) %87, ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #2
  store i32 0, ptr %3, align 4, !tbaa !47
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %91

91:                                               ; preds = %122, %80
  %92 = load i32, ptr %3, align 4, !tbaa !47
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %3, align 4, !tbaa !47
  %94 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 4
  %95 = load ptr, ptr %94, align 8, !tbaa !52
  %96 = load ptr, ptr %95, align 8, !tbaa !41
  %97 = getelementptr inbounds ptr, ptr %96, i64 5
  %98 = load ptr, ptr %97, align 8
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr %98(ptr noundef nonnull align 8 dereferenceable(196) %95)
  %100 = load i32, ptr %99, align 4, !tbaa !47
  store i32 %100, ptr %4, align 4, !tbaa !47
  %101 = load i32, ptr %3, align 4, !tbaa !47
  %102 = icmp eq i32 %101, 8
  br i1 %102, label %103, label %104

103:                                              ; preds = %91
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %122

104:                                              ; preds = %91
  %105 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 4
  %106 = load ptr, ptr %105, align 8, !tbaa !52
  %107 = load ptr, ptr %106, align 8, !tbaa !41
  %108 = getelementptr inbounds ptr, ptr %107, i64 5
  %109 = load ptr, ptr %108, align 8
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr %109(ptr noundef nonnull align 8 dereferenceable(196) %106)
  %111 = load i32, ptr %110, align 4, !tbaa !47
  %112 = icmp slt i32 %111, 5
  br i1 %112, label %113, label %114

113:                                              ; preds = %104
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %122

114:                                              ; preds = %104
  %115 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 6
  %116 = load ptr, ptr %115, align 8, !tbaa !46
  %117 = load ptr, ptr %116, align 8, !tbaa !41
  %118 = getelementptr inbounds ptr, ptr %117, i64 9
  %119 = load ptr, ptr %118, align 8
  call void %119(ptr noundef nonnull align 8 dereferenceable(196) %116, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %120

120:                                              ; preds = %114
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121, %113, %103
  %123 = load i32, ptr %3, align 4, !tbaa !47
  %124 = icmp sle i32 %123, 10
  br i1 %124, label %91, label %125, !llvm.loop !54

125:                                              ; preds = %122
  %126 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 5
  %127 = load ptr, ptr %126, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #2
  store i8 0, ptr %10, align 1, !tbaa !43
  %128 = load ptr, ptr %127, align 8, !tbaa !41
  %129 = getelementptr inbounds ptr, ptr %128, i64 14
  %130 = load ptr, ptr %129, align 8
  call void %130(ptr noundef nonnull align 8 dereferenceable(224) %127, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #2
  call void @_ZN7sc_core9sc_module4waitEi(ptr noundef nonnull align 8 dereferenceable(232) %13, i32 noundef 5)
  %131 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 5
  %132 = load ptr, ptr %131, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #2
  store i8 1, ptr %11, align 1, !tbaa !43
  %133 = load ptr, ptr %132, align 8, !tbaa !41
  %134 = getelementptr inbounds ptr, ptr %133, i64 14
  %135 = load ptr, ptr %134, align 8
  call void %135(ptr noundef nonnull align 8 dereferenceable(224) %132, ptr noundef nonnull align 1 dereferenceable(1) %11)
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #2
  store i32 0, ptr %3, align 4, !tbaa !47
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %136

136:                                              ; preds = %156, %125
  %137 = load i32, ptr %3, align 4, !tbaa !47
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %3, align 4, !tbaa !47
  %139 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 4
  %140 = load ptr, ptr %139, align 8, !tbaa !52
  %141 = load ptr, ptr %140, align 8, !tbaa !41
  %142 = getelementptr inbounds ptr, ptr %141, i64 5
  %143 = load ptr, ptr %142, align 8
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr %143(ptr noundef nonnull align 8 dereferenceable(196) %140)
  %145 = load i32, ptr %144, align 4, !tbaa !47
  store i32 %145, ptr %4, align 4, !tbaa !47
  %146 = load i32, ptr %4, align 4, !tbaa !47
  %147 = icmp eq i32 %146, 7
  br i1 %147, label %148, label %149

148:                                              ; preds = %136
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %159

149:                                              ; preds = %136
  %150 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 6
  %151 = load ptr, ptr %150, align 8, !tbaa !46
  %152 = load ptr, ptr %151, align 8, !tbaa !41
  %153 = getelementptr inbounds ptr, ptr %152, i64 9
  %154 = load ptr, ptr %153, align 8
  call void %154(ptr noundef nonnull align 8 dereferenceable(196) %151, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %155

155:                                              ; preds = %149
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %3, align 4, !tbaa !47
  %158 = icmp sle i32 %157, 10
  br i1 %158, label %136, label %159, !llvm.loop !55

159:                                              ; preds = %156, %148
  %160 = getelementptr inbounds %struct.while_exit, ptr %13, i32 0, i32 5
  %161 = load ptr, ptr %160, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #2
  store i8 0, ptr %12, align 1, !tbaa !43
  %162 = load ptr, ptr %161, align 8, !tbaa !41
  %163 = getelementptr inbounds ptr, ptr %162, i64 14
  %164 = load ptr, ptr %163, align 8
  call void %164(ptr noundef nonnull align 8 dereferenceable(224) %161, ptr noundef nonnull align 1 dereferenceable(1) %12)
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #2
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %13)
  br label %37, !llvm.loop !56
}

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

; 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 void @_ZN7sc_core9sc_module4waitEi(ptr noundef nonnull align 8 dereferenceable(232), i32 noundef) #0 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 416}
!10 = !{!"_ZTS10while_exit", !11, i64 0, !33, i64 232, !6, i64 416, !6, i64 424, !6, i64 432, !6, i64 440, !6, i64 448}
!11 = !{!"_ZTSN7sc_core9sc_moduleE", !12, i64 0, !24, i64 112, !25, i64 120, !27, i64 144, !29, i64 168, !31, i64 192, !6, i64 200, !32, i64 208, !6, i64 216, !6, i64 224}
!12 = !{!"_ZTSN7sc_core9sc_objectE", !6, i64 8, !13, i64 16, !17, i64 40, !21, i64 64, !6, i64 96, !6, i64 104}
!13 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSN7sc_core15sc_process_hostE"}
!25 = !{!"_ZTSN7sc_core12sc_sensitiveE", !6, i64 0, !26, i64 8, !6, i64 16}
!26 = !{!"_ZTSN7sc_core12sc_sensitiveUt_E", !7, i64 0}
!27 = !{!"_ZTSN7sc_core16sc_sensitive_posE", !6, i64 0, !28, i64 8, !6, i64 16}
!28 = !{!"_ZTSN7sc_core16sc_sensitive_posUt_E", !7, i64 0}
!29 = !{!"_ZTSN7sc_core16sc_sensitive_negE", !6, i64 0, !30, i64 8, !6, i64 16}
!30 = !{!"_ZTSN7sc_core16sc_sensitive_negUt_E", !7, i64 0}
!31 = !{!"bool", !7, i64 0}
!32 = !{!"int", !7, i64 0}
!33 = !{!"_ZTSN7sc_core5sc_inIbEE", !34, i64 0, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176}
!34 = !{!"_ZTSN7sc_core7sc_portINS_15sc_signal_in_ifIbEELi1ELNS_14sc_port_policyE0EEE", !35, i64 0}
!35 = !{!"_ZTSN7sc_core9sc_port_bINS_15sc_signal_in_ifIbEEEE", !36, i64 0, !6, i64 120, !37, i64 128}
!36 = !{!"_ZTSN7sc_core12sc_port_baseE", !12, i64 0, !6, i64 112}
!37 = !{!"_ZTSSt6vectorIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!42, !42, i64 0}
!42 = !{!"vtable pointer", !8, i64 0}
!43 = !{!31, !31, i64 0}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!10, !6, i64 448}
!47 = !{!32, !32, i64 0}
!48 = !{!10, !6, i64 440}
!49 = !{!10, !6, i64 424}
!50 = distinct !{!50, !51}
!51 = !{!"llvm.loop.mustprogress"}
!52 = !{!10, !6, i64 432}
!53 = distinct !{!53, !51}
!54 = distinct !{!54, !51}
!55 = distinct !{!55, !51}
!56 = distinct !{!56, !51}


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

; Function Attrs: mustprogress noreturn uwtable
define dso_local void @_ZN10while_exit5entryEv(ptr noundef nonnull align 8 dereferenceable(456) %0) local_unnamed_addr #0 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %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
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
  %11 = getelementptr inbounds i8, ptr %0, i64 416
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = load ptr, ptr %12, align 8, !tbaa !40
  %14 = getelementptr inbounds i8, ptr %13, i64 56
  %15 = load ptr, ptr %14, align 8
  %16 = tail call noundef nonnull align 1 dereferenceable(1) ptr %15(ptr noundef nonnull align 8 dereferenceable(224) %12)
  %17 = load i8, ptr %16, align 1, !tbaa !42, !range !43, !noundef !44
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %19, label %30

19:                                               ; preds = %1
  %20 = getelementptr inbounds i8, ptr %0, i64 448
  %21 = load ptr, ptr %20, align 8, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
  store i32 0, ptr %3, align 4, !tbaa !46
  %22 = load ptr, ptr %21, align 8, !tbaa !40
  %23 = getelementptr inbounds i8, ptr %22, i64 72
  %24 = load ptr, ptr %23, align 8
  call void %24(ptr noundef nonnull align 8 dereferenceable(196) %21, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  %25 = getelementptr inbounds i8, ptr %0, i64 440
  %26 = load ptr, ptr %25, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #3
  store i8 0, ptr %4, align 1, !tbaa !42
  %27 = load ptr, ptr %26, align 8, !tbaa !40
  %28 = getelementptr inbounds i8, ptr %27, i64 112
  %29 = load ptr, ptr %28, align 8
  call void %29(ptr noundef nonnull align 8 dereferenceable(224) %26, ptr noundef nonnull align 1 dereferenceable(1) %4)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #3
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  br label %31

30:                                               ; preds = %1
  tail call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  br label %31

31:                                               ; preds = %30, %19
  %32 = getelementptr inbounds i8, ptr %0, i64 424
  %33 = getelementptr inbounds i8, ptr %0, i64 440
  %34 = getelementptr inbounds i8, ptr %0, i64 432
  %35 = getelementptr inbounds i8, ptr %0, i64 448
  br label %36

36:                                               ; preds = %.loopexit, %31
  %37 = load ptr, ptr %32, align 8, !tbaa !48
  %38 = load ptr, ptr %37, align 8, !tbaa !40
  %39 = getelementptr inbounds i8, ptr %38, i64 56
  %40 = load ptr, ptr %39, align 8
  %41 = call noundef nonnull align 1 dereferenceable(1) ptr %40(ptr noundef nonnull align 8 dereferenceable(224) %37)
  %42 = load i8, ptr %41, align 1, !tbaa !42, !range !43, !noundef !44
  %43 = icmp eq i8 %42, 0
  br i1 %43, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %36, %.lr.ph
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %44 = load ptr, ptr %32, align 8, !tbaa !48
  %45 = load ptr, ptr %44, align 8, !tbaa !40
  %46 = getelementptr inbounds i8, ptr %45, i64 56
  %47 = load ptr, ptr %46, align 8
  %48 = call noundef nonnull align 1 dereferenceable(1) ptr %47(ptr noundef nonnull align 8 dereferenceable(224) %44)
  %49 = load i8, ptr %48, align 1, !tbaa !42, !range !43, !noundef !44
  %50 = icmp eq i8 %49, 0
  br i1 %50, label %.lr.ph, label %._crit_edge, !llvm.loop !49

._crit_edge:                                      ; preds = %.lr.ph, %36
  %51 = load ptr, ptr %33, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #3
  store i8 1, ptr %5, align 1, !tbaa !42
  %52 = load ptr, ptr %51, align 8, !tbaa !40
  %53 = getelementptr inbounds i8, ptr %52, i64 112
  %54 = load ptr, ptr %53, align 8
  call void %54(ptr noundef nonnull align 8 dereferenceable(224) %51, ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #3
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %55 = load ptr, ptr %34, align 8, !tbaa !51
  %56 = load ptr, ptr %55, align 8, !tbaa !40
  %57 = getelementptr inbounds i8, ptr %56, i64 40
  %58 = load ptr, ptr %57, align 8
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr %58(ptr noundef nonnull align 8 dereferenceable(196) %55)
  %60 = load i32, ptr %59, align 4, !tbaa !46
  store i32 %60, ptr %2, align 4, !tbaa !46
  %61 = load ptr, ptr %35, align 8, !tbaa !45
  %62 = load ptr, ptr %61, align 8, !tbaa !40
  %63 = getelementptr inbounds i8, ptr %62, i64 72
  %64 = load ptr, ptr %63, align 8
  call void %64(ptr noundef nonnull align 8 dereferenceable(196) %61, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %65 = load i32, ptr %2, align 4, !tbaa !46
  %66 = icmp eq i32 %65, 7
  br i1 %66, label %.loopexit9, label %67

67:                                               ; preds = %._crit_edge
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %68 = load ptr, ptr %34, align 8, !tbaa !51
  %69 = load ptr, ptr %68, align 8, !tbaa !40
  %70 = getelementptr inbounds i8, ptr %69, i64 40
  %71 = load ptr, ptr %70, align 8
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr %71(ptr noundef nonnull align 8 dereferenceable(196) %68)
  %73 = load i32, ptr %72, align 4, !tbaa !46
  store i32 %73, ptr %2, align 4, !tbaa !46
  %74 = load ptr, ptr %35, align 8, !tbaa !45
  %75 = load ptr, ptr %74, align 8, !tbaa !40
  %76 = getelementptr inbounds i8, ptr %75, i64 72
  %77 = load ptr, ptr %76, align 8
  call void %77(ptr noundef nonnull align 8 dereferenceable(196) %74, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %78 = load i32, ptr %2, align 4, !tbaa !46
  %79 = icmp eq i32 %78, 7
  br i1 %79, label %.loopexit9, label %80

80:                                               ; preds = %67
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %81 = load ptr, ptr %34, align 8, !tbaa !51
  %82 = load ptr, ptr %81, align 8, !tbaa !40
  %83 = getelementptr inbounds i8, ptr %82, i64 40
  %84 = load ptr, ptr %83, align 8
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr %84(ptr noundef nonnull align 8 dereferenceable(196) %81)
  %86 = load i32, ptr %85, align 4, !tbaa !46
  store i32 %86, ptr %2, align 4, !tbaa !46
  %87 = load ptr, ptr %35, align 8, !tbaa !45
  %88 = load ptr, ptr %87, align 8, !tbaa !40
  %89 = getelementptr inbounds i8, ptr %88, i64 72
  %90 = load ptr, ptr %89, align 8
  call void %90(ptr noundef nonnull align 8 dereferenceable(196) %87, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %91 = load i32, ptr %2, align 4, !tbaa !46
  %92 = icmp eq i32 %91, 7
  br i1 %92, label %.loopexit9, label %93

93:                                               ; preds = %80
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %94 = load ptr, ptr %34, align 8, !tbaa !51
  %95 = load ptr, ptr %94, align 8, !tbaa !40
  %96 = getelementptr inbounds i8, ptr %95, i64 40
  %97 = load ptr, ptr %96, align 8
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr %97(ptr noundef nonnull align 8 dereferenceable(196) %94)
  %99 = load i32, ptr %98, align 4, !tbaa !46
  store i32 %99, ptr %2, align 4, !tbaa !46
  %100 = load ptr, ptr %35, align 8, !tbaa !45
  %101 = load ptr, ptr %100, align 8, !tbaa !40
  %102 = getelementptr inbounds i8, ptr %101, i64 72
  %103 = load ptr, ptr %102, align 8
  call void %103(ptr noundef nonnull align 8 dereferenceable(196) %100, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %104 = load i32, ptr %2, align 4, !tbaa !46
  %105 = icmp eq i32 %104, 7
  br i1 %105, label %.loopexit9, label %106

106:                                              ; preds = %93
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %107 = load ptr, ptr %34, align 8, !tbaa !51
  %108 = load ptr, ptr %107, align 8, !tbaa !40
  %109 = getelementptr inbounds i8, ptr %108, i64 40
  %110 = load ptr, ptr %109, align 8
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr %110(ptr noundef nonnull align 8 dereferenceable(196) %107)
  %112 = load i32, ptr %111, align 4, !tbaa !46
  store i32 %112, ptr %2, align 4, !tbaa !46
  %113 = load ptr, ptr %35, align 8, !tbaa !45
  %114 = load ptr, ptr %113, align 8, !tbaa !40
  %115 = getelementptr inbounds i8, ptr %114, i64 72
  %116 = load ptr, ptr %115, align 8
  call void %116(ptr noundef nonnull align 8 dereferenceable(196) %113, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %117 = load i32, ptr %2, align 4, !tbaa !46
  %118 = icmp eq i32 %117, 7
  br i1 %118, label %.loopexit9, label %119

119:                                              ; preds = %106
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %120 = load ptr, ptr %34, align 8, !tbaa !51
  %121 = load ptr, ptr %120, align 8, !tbaa !40
  %122 = getelementptr inbounds i8, ptr %121, i64 40
  %123 = load ptr, ptr %122, align 8
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr %123(ptr noundef nonnull align 8 dereferenceable(196) %120)
  %125 = load i32, ptr %124, align 4, !tbaa !46
  store i32 %125, ptr %2, align 4, !tbaa !46
  %126 = load ptr, ptr %35, align 8, !tbaa !45
  %127 = load ptr, ptr %126, align 8, !tbaa !40
  %128 = getelementptr inbounds i8, ptr %127, i64 72
  %129 = load ptr, ptr %128, align 8
  call void %129(ptr noundef nonnull align 8 dereferenceable(196) %126, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %130 = load i32, ptr %2, align 4, !tbaa !46
  %131 = icmp eq i32 %130, 7
  br i1 %131, label %.loopexit9, label %132

132:                                              ; preds = %119
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %133 = load ptr, ptr %34, align 8, !tbaa !51
  %134 = load ptr, ptr %133, align 8, !tbaa !40
  %135 = getelementptr inbounds i8, ptr %134, i64 40
  %136 = load ptr, ptr %135, align 8
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr %136(ptr noundef nonnull align 8 dereferenceable(196) %133)
  %138 = load i32, ptr %137, align 4, !tbaa !46
  store i32 %138, ptr %2, align 4, !tbaa !46
  %139 = load ptr, ptr %35, align 8, !tbaa !45
  %140 = load ptr, ptr %139, align 8, !tbaa !40
  %141 = getelementptr inbounds i8, ptr %140, i64 72
  %142 = load ptr, ptr %141, align 8
  call void %142(ptr noundef nonnull align 8 dereferenceable(196) %139, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %143 = load i32, ptr %2, align 4, !tbaa !46
  %144 = icmp eq i32 %143, 7
  br i1 %144, label %.loopexit9, label %145

145:                                              ; preds = %132
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %146 = load ptr, ptr %34, align 8, !tbaa !51
  %147 = load ptr, ptr %146, align 8, !tbaa !40
  %148 = getelementptr inbounds i8, ptr %147, i64 40
  %149 = load ptr, ptr %148, align 8
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr %149(ptr noundef nonnull align 8 dereferenceable(196) %146)
  %151 = load i32, ptr %150, align 4, !tbaa !46
  store i32 %151, ptr %2, align 4, !tbaa !46
  %152 = load ptr, ptr %35, align 8, !tbaa !45
  %153 = load ptr, ptr %152, align 8, !tbaa !40
  %154 = getelementptr inbounds i8, ptr %153, i64 72
  %155 = load ptr, ptr %154, align 8
  call void %155(ptr noundef nonnull align 8 dereferenceable(196) %152, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %156 = load i32, ptr %2, align 4, !tbaa !46
  %157 = icmp eq i32 %156, 7
  br i1 %157, label %.loopexit9, label %158

158:                                              ; preds = %145
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %159 = load ptr, ptr %34, align 8, !tbaa !51
  %160 = load ptr, ptr %159, align 8, !tbaa !40
  %161 = getelementptr inbounds i8, ptr %160, i64 40
  %162 = load ptr, ptr %161, align 8
  %163 = call noundef nonnull align 4 dereferenceable(4) ptr %162(ptr noundef nonnull align 8 dereferenceable(196) %159)
  %164 = load i32, ptr %163, align 4, !tbaa !46
  store i32 %164, ptr %2, align 4, !tbaa !46
  %165 = load ptr, ptr %35, align 8, !tbaa !45
  %166 = load ptr, ptr %165, align 8, !tbaa !40
  %167 = getelementptr inbounds i8, ptr %166, i64 72
  %168 = load ptr, ptr %167, align 8
  call void %168(ptr noundef nonnull align 8 dereferenceable(196) %165, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %169 = load i32, ptr %2, align 4, !tbaa !46
  %170 = icmp eq i32 %169, 7
  br i1 %170, label %.loopexit9, label %171

171:                                              ; preds = %158
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %172 = load ptr, ptr %34, align 8, !tbaa !51
  %173 = load ptr, ptr %172, align 8, !tbaa !40
  %174 = getelementptr inbounds i8, ptr %173, i64 40
  %175 = load ptr, ptr %174, align 8
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr %175(ptr noundef nonnull align 8 dereferenceable(196) %172)
  %177 = load i32, ptr %176, align 4, !tbaa !46
  store i32 %177, ptr %2, align 4, !tbaa !46
  %178 = load ptr, ptr %35, align 8, !tbaa !45
  %179 = load ptr, ptr %178, align 8, !tbaa !40
  %180 = getelementptr inbounds i8, ptr %179, i64 72
  %181 = load ptr, ptr %180, align 8
  call void %181(ptr noundef nonnull align 8 dereferenceable(196) %178, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %.loopexit9

.loopexit9:                                       ; preds = %171, %._crit_edge, %67, %80, %93, %106, %119, %132, %145, %158
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %182 = load ptr, ptr %33, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #3
  store i8 0, ptr %6, align 1, !tbaa !42
  %183 = load ptr, ptr %182, align 8, !tbaa !40
  %184 = getelementptr inbounds i8, ptr %183, i64 112
  %185 = load ptr, ptr %184, align 8
  call void %185(ptr noundef nonnull align 8 dereferenceable(224) %182, ptr noundef nonnull align 1 dereferenceable(1) %6)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #3
  call void @_ZN7sc_core9sc_module4waitEi(ptr noundef nonnull align 8 dereferenceable(232) %0, i32 noundef 6)
  %186 = load ptr, ptr %33, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #3
  store i8 1, ptr %7, align 1, !tbaa !42
  %187 = load ptr, ptr %186, align 8, !tbaa !40
  %188 = getelementptr inbounds i8, ptr %187, i64 112
  %189 = load ptr, ptr %188, align 8
  call void %189(ptr noundef nonnull align 8 dereferenceable(224) %186, ptr noundef nonnull align 1 dereferenceable(1) %7)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #3
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %190 = load ptr, ptr %34, align 8, !tbaa !51
  %191 = load ptr, ptr %190, align 8, !tbaa !40
  %192 = getelementptr inbounds i8, ptr %191, i64 40
  %193 = load ptr, ptr %192, align 8
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr %193(ptr noundef nonnull align 8 dereferenceable(196) %190)
  %195 = load i32, ptr %194, align 4, !tbaa !46
  store i32 %195, ptr %2, align 4, !tbaa !46
  %196 = load ptr, ptr %34, align 8, !tbaa !51
  %197 = load ptr, ptr %196, align 8, !tbaa !40
  %198 = getelementptr inbounds i8, ptr %197, i64 40
  %199 = load ptr, ptr %198, align 8
  %200 = call noundef nonnull align 4 dereferenceable(4) ptr %199(ptr noundef nonnull align 8 dereferenceable(196) %196)
  %201 = load i32, ptr %200, align 4, !tbaa !46
  %202 = icmp slt i32 %201, 5
  br i1 %202, label %208, label %203

203:                                              ; preds = %.loopexit9
  %204 = load ptr, ptr %35, align 8, !tbaa !45
  %205 = load ptr, ptr %204, align 8, !tbaa !40
  %206 = getelementptr inbounds i8, ptr %205, i64 72
  %207 = load ptr, ptr %206, align 8
  call void %207(ptr noundef nonnull align 8 dereferenceable(196) %204, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %208

208:                                              ; preds = %.loopexit9, %203
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %209 = load ptr, ptr %34, align 8, !tbaa !51
  %210 = load ptr, ptr %209, align 8, !tbaa !40
  %211 = getelementptr inbounds i8, ptr %210, i64 40
  %212 = load ptr, ptr %211, align 8
  %213 = call noundef nonnull align 4 dereferenceable(4) ptr %212(ptr noundef nonnull align 8 dereferenceable(196) %209)
  %214 = load i32, ptr %213, align 4, !tbaa !46
  store i32 %214, ptr %2, align 4, !tbaa !46
  %215 = load ptr, ptr %34, align 8, !tbaa !51
  %216 = load ptr, ptr %215, align 8, !tbaa !40
  %217 = getelementptr inbounds i8, ptr %216, i64 40
  %218 = load ptr, ptr %217, align 8
  %219 = call noundef nonnull align 4 dereferenceable(4) ptr %218(ptr noundef nonnull align 8 dereferenceable(196) %215)
  %220 = load i32, ptr %219, align 4, !tbaa !46
  %221 = icmp slt i32 %220, 5
  br i1 %221, label %227, label %222

222:                                              ; preds = %208
  %223 = load ptr, ptr %35, align 8, !tbaa !45
  %224 = load ptr, ptr %223, align 8, !tbaa !40
  %225 = getelementptr inbounds i8, ptr %224, i64 72
  %226 = load ptr, ptr %225, align 8
  call void %226(ptr noundef nonnull align 8 dereferenceable(196) %223, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %227

227:                                              ; preds = %222, %208
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %228 = load ptr, ptr %34, align 8, !tbaa !51
  %229 = load ptr, ptr %228, align 8, !tbaa !40
  %230 = getelementptr inbounds i8, ptr %229, i64 40
  %231 = load ptr, ptr %230, align 8
  %232 = call noundef nonnull align 4 dereferenceable(4) ptr %231(ptr noundef nonnull align 8 dereferenceable(196) %228)
  %233 = load i32, ptr %232, align 4, !tbaa !46
  store i32 %233, ptr %2, align 4, !tbaa !46
  %234 = load ptr, ptr %34, align 8, !tbaa !51
  %235 = load ptr, ptr %234, align 8, !tbaa !40
  %236 = getelementptr inbounds i8, ptr %235, i64 40
  %237 = load ptr, ptr %236, align 8
  %238 = call noundef nonnull align 4 dereferenceable(4) ptr %237(ptr noundef nonnull align 8 dereferenceable(196) %234)
  %239 = load i32, ptr %238, align 4, !tbaa !46
  %240 = icmp slt i32 %239, 5
  br i1 %240, label %246, label %241

241:                                              ; preds = %227
  %242 = load ptr, ptr %35, align 8, !tbaa !45
  %243 = load ptr, ptr %242, align 8, !tbaa !40
  %244 = getelementptr inbounds i8, ptr %243, i64 72
  %245 = load ptr, ptr %244, align 8
  call void %245(ptr noundef nonnull align 8 dereferenceable(196) %242, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %246

246:                                              ; preds = %241, %227
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %247 = load ptr, ptr %34, align 8, !tbaa !51
  %248 = load ptr, ptr %247, align 8, !tbaa !40
  %249 = getelementptr inbounds i8, ptr %248, i64 40
  %250 = load ptr, ptr %249, align 8
  %251 = call noundef nonnull align 4 dereferenceable(4) ptr %250(ptr noundef nonnull align 8 dereferenceable(196) %247)
  %252 = load i32, ptr %251, align 4, !tbaa !46
  store i32 %252, ptr %2, align 4, !tbaa !46
  %253 = load ptr, ptr %34, align 8, !tbaa !51
  %254 = load ptr, ptr %253, align 8, !tbaa !40
  %255 = getelementptr inbounds i8, ptr %254, i64 40
  %256 = load ptr, ptr %255, align 8
  %257 = call noundef nonnull align 4 dereferenceable(4) ptr %256(ptr noundef nonnull align 8 dereferenceable(196) %253)
  %258 = load i32, ptr %257, align 4, !tbaa !46
  %259 = icmp slt i32 %258, 5
  br i1 %259, label %265, label %260

260:                                              ; preds = %246
  %261 = load ptr, ptr %35, align 8, !tbaa !45
  %262 = load ptr, ptr %261, align 8, !tbaa !40
  %263 = getelementptr inbounds i8, ptr %262, i64 72
  %264 = load ptr, ptr %263, align 8
  call void %264(ptr noundef nonnull align 8 dereferenceable(196) %261, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %265

265:                                              ; preds = %260, %246
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %266 = load ptr, ptr %34, align 8, !tbaa !51
  %267 = load ptr, ptr %266, align 8, !tbaa !40
  %268 = getelementptr inbounds i8, ptr %267, i64 40
  %269 = load ptr, ptr %268, align 8
  %270 = call noundef nonnull align 4 dereferenceable(4) ptr %269(ptr noundef nonnull align 8 dereferenceable(196) %266)
  %271 = load i32, ptr %270, align 4, !tbaa !46
  store i32 %271, ptr %2, align 4, !tbaa !46
  %272 = load ptr, ptr %34, align 8, !tbaa !51
  %273 = load ptr, ptr %272, align 8, !tbaa !40
  %274 = getelementptr inbounds i8, ptr %273, i64 40
  %275 = load ptr, ptr %274, align 8
  %276 = call noundef nonnull align 4 dereferenceable(4) ptr %275(ptr noundef nonnull align 8 dereferenceable(196) %272)
  %277 = load i32, ptr %276, align 4, !tbaa !46
  %278 = icmp slt i32 %277, 5
  br i1 %278, label %284, label %279

279:                                              ; preds = %265
  %280 = load ptr, ptr %35, align 8, !tbaa !45
  %281 = load ptr, ptr %280, align 8, !tbaa !40
  %282 = getelementptr inbounds i8, ptr %281, i64 72
  %283 = load ptr, ptr %282, align 8
  call void %283(ptr noundef nonnull align 8 dereferenceable(196) %280, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %284

284:                                              ; preds = %279, %265
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %285 = load ptr, ptr %34, align 8, !tbaa !51
  %286 = load ptr, ptr %285, align 8, !tbaa !40
  %287 = getelementptr inbounds i8, ptr %286, i64 40
  %288 = load ptr, ptr %287, align 8
  %289 = call noundef nonnull align 4 dereferenceable(4) ptr %288(ptr noundef nonnull align 8 dereferenceable(196) %285)
  %290 = load i32, ptr %289, align 4, !tbaa !46
  store i32 %290, ptr %2, align 4, !tbaa !46
  %291 = load ptr, ptr %34, align 8, !tbaa !51
  %292 = load ptr, ptr %291, align 8, !tbaa !40
  %293 = getelementptr inbounds i8, ptr %292, i64 40
  %294 = load ptr, ptr %293, align 8
  %295 = call noundef nonnull align 4 dereferenceable(4) ptr %294(ptr noundef nonnull align 8 dereferenceable(196) %291)
  %296 = load i32, ptr %295, align 4, !tbaa !46
  %297 = icmp slt i32 %296, 5
  br i1 %297, label %303, label %298

298:                                              ; preds = %284
  %299 = load ptr, ptr %35, align 8, !tbaa !45
  %300 = load ptr, ptr %299, align 8, !tbaa !40
  %301 = getelementptr inbounds i8, ptr %300, i64 72
  %302 = load ptr, ptr %301, align 8
  call void %302(ptr noundef nonnull align 8 dereferenceable(196) %299, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %303

303:                                              ; preds = %298, %284
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %304 = load ptr, ptr %34, align 8, !tbaa !51
  %305 = load ptr, ptr %304, align 8, !tbaa !40
  %306 = getelementptr inbounds i8, ptr %305, i64 40
  %307 = load ptr, ptr %306, align 8
  %308 = call noundef nonnull align 4 dereferenceable(4) ptr %307(ptr noundef nonnull align 8 dereferenceable(196) %304)
  %309 = load i32, ptr %308, align 4, !tbaa !46
  store i32 %309, ptr %2, align 4, !tbaa !46
  %310 = load ptr, ptr %34, align 8, !tbaa !51
  %311 = load ptr, ptr %310, align 8, !tbaa !40
  %312 = getelementptr inbounds i8, ptr %311, i64 40
  %313 = load ptr, ptr %312, align 8
  %314 = call noundef nonnull align 4 dereferenceable(4) ptr %313(ptr noundef nonnull align 8 dereferenceable(196) %310)
  %315 = load i32, ptr %314, align 4, !tbaa !46
  %316 = icmp slt i32 %315, 5
  br i1 %316, label %322, label %317

317:                                              ; preds = %303
  %318 = load ptr, ptr %35, align 8, !tbaa !45
  %319 = load ptr, ptr %318, align 8, !tbaa !40
  %320 = getelementptr inbounds i8, ptr %319, i64 72
  %321 = load ptr, ptr %320, align 8
  call void %321(ptr noundef nonnull align 8 dereferenceable(196) %318, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %322

322:                                              ; preds = %317, %303
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %323 = load ptr, ptr %34, align 8, !tbaa !51
  %324 = load ptr, ptr %323, align 8, !tbaa !40
  %325 = getelementptr inbounds i8, ptr %324, i64 40
  %326 = load ptr, ptr %325, align 8
  %327 = call noundef nonnull align 4 dereferenceable(4) ptr %326(ptr noundef nonnull align 8 dereferenceable(196) %323)
  %328 = load i32, ptr %327, align 4, !tbaa !46
  store i32 %328, ptr %2, align 4, !tbaa !46
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %329 = load ptr, ptr %34, align 8, !tbaa !51
  %330 = load ptr, ptr %329, align 8, !tbaa !40
  %331 = getelementptr inbounds i8, ptr %330, i64 40
  %332 = load ptr, ptr %331, align 8
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr %332(ptr noundef nonnull align 8 dereferenceable(196) %329)
  %334 = load i32, ptr %333, align 4, !tbaa !46
  store i32 %334, ptr %2, align 4, !tbaa !46
  %335 = load ptr, ptr %34, align 8, !tbaa !51
  %336 = load ptr, ptr %335, align 8, !tbaa !40
  %337 = getelementptr inbounds i8, ptr %336, i64 40
  %338 = load ptr, ptr %337, align 8
  %339 = call noundef nonnull align 4 dereferenceable(4) ptr %338(ptr noundef nonnull align 8 dereferenceable(196) %335)
  %340 = load i32, ptr %339, align 4, !tbaa !46
  %341 = icmp slt i32 %340, 5
  br i1 %341, label %347, label %342

342:                                              ; preds = %322
  %343 = load ptr, ptr %35, align 8, !tbaa !45
  %344 = load ptr, ptr %343, align 8, !tbaa !40
  %345 = getelementptr inbounds i8, ptr %344, i64 72
  %346 = load ptr, ptr %345, align 8
  call void %346(ptr noundef nonnull align 8 dereferenceable(196) %343, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %347

347:                                              ; preds = %342, %322
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %348 = load ptr, ptr %34, align 8, !tbaa !51
  %349 = load ptr, ptr %348, align 8, !tbaa !40
  %350 = getelementptr inbounds i8, ptr %349, i64 40
  %351 = load ptr, ptr %350, align 8
  %352 = call noundef nonnull align 4 dereferenceable(4) ptr %351(ptr noundef nonnull align 8 dereferenceable(196) %348)
  %353 = load i32, ptr %352, align 4, !tbaa !46
  store i32 %353, ptr %2, align 4, !tbaa !46
  %354 = load ptr, ptr %34, align 8, !tbaa !51
  %355 = load ptr, ptr %354, align 8, !tbaa !40
  %356 = getelementptr inbounds i8, ptr %355, i64 40
  %357 = load ptr, ptr %356, align 8
  %358 = call noundef nonnull align 4 dereferenceable(4) ptr %357(ptr noundef nonnull align 8 dereferenceable(196) %354)
  %359 = load i32, ptr %358, align 4, !tbaa !46
  %360 = icmp slt i32 %359, 5
  br i1 %360, label %366, label %361

361:                                              ; preds = %347
  %362 = load ptr, ptr %35, align 8, !tbaa !45
  %363 = load ptr, ptr %362, align 8, !tbaa !40
  %364 = getelementptr inbounds i8, ptr %363, i64 72
  %365 = load ptr, ptr %364, align 8
  call void %365(ptr noundef nonnull align 8 dereferenceable(196) %362, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %366

366:                                              ; preds = %361, %347
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %367 = load ptr, ptr %34, align 8, !tbaa !51
  %368 = load ptr, ptr %367, align 8, !tbaa !40
  %369 = getelementptr inbounds i8, ptr %368, i64 40
  %370 = load ptr, ptr %369, align 8
  %371 = call noundef nonnull align 4 dereferenceable(4) ptr %370(ptr noundef nonnull align 8 dereferenceable(196) %367)
  %372 = load i32, ptr %371, align 4, !tbaa !46
  store i32 %372, ptr %2, align 4, !tbaa !46
  %373 = load ptr, ptr %34, align 8, !tbaa !51
  %374 = load ptr, ptr %373, align 8, !tbaa !40
  %375 = getelementptr inbounds i8, ptr %374, i64 40
  %376 = load ptr, ptr %375, align 8
  %377 = call noundef nonnull align 4 dereferenceable(4) ptr %376(ptr noundef nonnull align 8 dereferenceable(196) %373)
  %378 = load i32, ptr %377, align 4, !tbaa !46
  %379 = icmp slt i32 %378, 5
  br i1 %379, label %385, label %380

380:                                              ; preds = %366
  %381 = load ptr, ptr %35, align 8, !tbaa !45
  %382 = load ptr, ptr %381, align 8, !tbaa !40
  %383 = getelementptr inbounds i8, ptr %382, i64 72
  %384 = load ptr, ptr %383, align 8
  call void %384(ptr noundef nonnull align 8 dereferenceable(196) %381, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %385

385:                                              ; preds = %380, %366
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %386 = load ptr, ptr %33, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #3
  store i8 0, ptr %8, align 1, !tbaa !42
  %387 = load ptr, ptr %386, align 8, !tbaa !40
  %388 = getelementptr inbounds i8, ptr %387, i64 112
  %389 = load ptr, ptr %388, align 8
  call void %389(ptr noundef nonnull align 8 dereferenceable(224) %386, ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #3
  call void @_ZN7sc_core9sc_module4waitEi(ptr noundef nonnull align 8 dereferenceable(232) %0, i32 noundef 5)
  %390 = load ptr, ptr %33, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #3
  store i8 1, ptr %9, align 1, !tbaa !42
  %391 = load ptr, ptr %390, align 8, !tbaa !40
  %392 = getelementptr inbounds i8, ptr %391, i64 112
  %393 = load ptr, ptr %392, align 8
  call void %393(ptr noundef nonnull align 8 dereferenceable(224) %390, ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #3
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %394 = load ptr, ptr %34, align 8, !tbaa !51
  %395 = load ptr, ptr %394, align 8, !tbaa !40
  %396 = getelementptr inbounds i8, ptr %395, i64 40
  %397 = load ptr, ptr %396, align 8
  %398 = call noundef nonnull align 4 dereferenceable(4) ptr %397(ptr noundef nonnull align 8 dereferenceable(196) %394)
  %399 = load i32, ptr %398, align 4, !tbaa !46
  store i32 %399, ptr %2, align 4, !tbaa !46
  %400 = icmp eq i32 %399, 7
  br i1 %400, label %.loopexit, label %401

401:                                              ; preds = %385
  %402 = load ptr, ptr %35, align 8, !tbaa !45
  %403 = load ptr, ptr %402, align 8, !tbaa !40
  %404 = getelementptr inbounds i8, ptr %403, i64 72
  %405 = load ptr, ptr %404, align 8
  call void %405(ptr noundef nonnull align 8 dereferenceable(196) %402, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %406 = load ptr, ptr %34, align 8, !tbaa !51
  %407 = load ptr, ptr %406, align 8, !tbaa !40
  %408 = getelementptr inbounds i8, ptr %407, i64 40
  %409 = load ptr, ptr %408, align 8
  %410 = call noundef nonnull align 4 dereferenceable(4) ptr %409(ptr noundef nonnull align 8 dereferenceable(196) %406)
  %411 = load i32, ptr %410, align 4, !tbaa !46
  store i32 %411, ptr %2, align 4, !tbaa !46
  %412 = icmp eq i32 %411, 7
  br i1 %412, label %.loopexit, label %413

413:                                              ; preds = %401
  %414 = load ptr, ptr %35, align 8, !tbaa !45
  %415 = load ptr, ptr %414, align 8, !tbaa !40
  %416 = getelementptr inbounds i8, ptr %415, i64 72
  %417 = load ptr, ptr %416, align 8
  call void %417(ptr noundef nonnull align 8 dereferenceable(196) %414, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %418 = load ptr, ptr %34, align 8, !tbaa !51
  %419 = load ptr, ptr %418, align 8, !tbaa !40
  %420 = getelementptr inbounds i8, ptr %419, i64 40
  %421 = load ptr, ptr %420, align 8
  %422 = call noundef nonnull align 4 dereferenceable(4) ptr %421(ptr noundef nonnull align 8 dereferenceable(196) %418)
  %423 = load i32, ptr %422, align 4, !tbaa !46
  store i32 %423, ptr %2, align 4, !tbaa !46
  %424 = icmp eq i32 %423, 7
  br i1 %424, label %.loopexit, label %425

425:                                              ; preds = %413
  %426 = load ptr, ptr %35, align 8, !tbaa !45
  %427 = load ptr, ptr %426, align 8, !tbaa !40
  %428 = getelementptr inbounds i8, ptr %427, i64 72
  %429 = load ptr, ptr %428, align 8
  call void %429(ptr noundef nonnull align 8 dereferenceable(196) %426, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %430 = load ptr, ptr %34, align 8, !tbaa !51
  %431 = load ptr, ptr %430, align 8, !tbaa !40
  %432 = getelementptr inbounds i8, ptr %431, i64 40
  %433 = load ptr, ptr %432, align 8
  %434 = call noundef nonnull align 4 dereferenceable(4) ptr %433(ptr noundef nonnull align 8 dereferenceable(196) %430)
  %435 = load i32, ptr %434, align 4, !tbaa !46
  store i32 %435, ptr %2, align 4, !tbaa !46
  %436 = icmp eq i32 %435, 7
  br i1 %436, label %.loopexit, label %437

437:                                              ; preds = %425
  %438 = load ptr, ptr %35, align 8, !tbaa !45
  %439 = load ptr, ptr %438, align 8, !tbaa !40
  %440 = getelementptr inbounds i8, ptr %439, i64 72
  %441 = load ptr, ptr %440, align 8
  call void %441(ptr noundef nonnull align 8 dereferenceable(196) %438, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %442 = load ptr, ptr %34, align 8, !tbaa !51
  %443 = load ptr, ptr %442, align 8, !tbaa !40
  %444 = getelementptr inbounds i8, ptr %443, i64 40
  %445 = load ptr, ptr %444, align 8
  %446 = call noundef nonnull align 4 dereferenceable(4) ptr %445(ptr noundef nonnull align 8 dereferenceable(196) %442)
  %447 = load i32, ptr %446, align 4, !tbaa !46
  store i32 %447, ptr %2, align 4, !tbaa !46
  %448 = icmp eq i32 %447, 7
  br i1 %448, label %.loopexit, label %449

449:                                              ; preds = %437
  %450 = load ptr, ptr %35, align 8, !tbaa !45
  %451 = load ptr, ptr %450, align 8, !tbaa !40
  %452 = getelementptr inbounds i8, ptr %451, i64 72
  %453 = load ptr, ptr %452, align 8
  call void %453(ptr noundef nonnull align 8 dereferenceable(196) %450, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %454 = load ptr, ptr %34, align 8, !tbaa !51
  %455 = load ptr, ptr %454, align 8, !tbaa !40
  %456 = getelementptr inbounds i8, ptr %455, i64 40
  %457 = load ptr, ptr %456, align 8
  %458 = call noundef nonnull align 4 dereferenceable(4) ptr %457(ptr noundef nonnull align 8 dereferenceable(196) %454)
  %459 = load i32, ptr %458, align 4, !tbaa !46
  store i32 %459, ptr %2, align 4, !tbaa !46
  %460 = icmp eq i32 %459, 7
  br i1 %460, label %.loopexit, label %461

461:                                              ; preds = %449
  %462 = load ptr, ptr %35, align 8, !tbaa !45
  %463 = load ptr, ptr %462, align 8, !tbaa !40
  %464 = getelementptr inbounds i8, ptr %463, i64 72
  %465 = load ptr, ptr %464, align 8
  call void %465(ptr noundef nonnull align 8 dereferenceable(196) %462, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %466 = load ptr, ptr %34, align 8, !tbaa !51
  %467 = load ptr, ptr %466, align 8, !tbaa !40
  %468 = getelementptr inbounds i8, ptr %467, i64 40
  %469 = load ptr, ptr %468, align 8
  %470 = call noundef nonnull align 4 dereferenceable(4) ptr %469(ptr noundef nonnull align 8 dereferenceable(196) %466)
  %471 = load i32, ptr %470, align 4, !tbaa !46
  store i32 %471, ptr %2, align 4, !tbaa !46
  %472 = icmp eq i32 %471, 7
  br i1 %472, label %.loopexit, label %473

473:                                              ; preds = %461
  %474 = load ptr, ptr %35, align 8, !tbaa !45
  %475 = load ptr, ptr %474, align 8, !tbaa !40
  %476 = getelementptr inbounds i8, ptr %475, i64 72
  %477 = load ptr, ptr %476, align 8
  call void %477(ptr noundef nonnull align 8 dereferenceable(196) %474, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %478 = load ptr, ptr %34, align 8, !tbaa !51
  %479 = load ptr, ptr %478, align 8, !tbaa !40
  %480 = getelementptr inbounds i8, ptr %479, i64 40
  %481 = load ptr, ptr %480, align 8
  %482 = call noundef nonnull align 4 dereferenceable(4) ptr %481(ptr noundef nonnull align 8 dereferenceable(196) %478)
  %483 = load i32, ptr %482, align 4, !tbaa !46
  store i32 %483, ptr %2, align 4, !tbaa !46
  %484 = icmp eq i32 %483, 7
  br i1 %484, label %.loopexit, label %485

485:                                              ; preds = %473
  %486 = load ptr, ptr %35, align 8, !tbaa !45
  %487 = load ptr, ptr %486, align 8, !tbaa !40
  %488 = getelementptr inbounds i8, ptr %487, i64 72
  %489 = load ptr, ptr %488, align 8
  call void %489(ptr noundef nonnull align 8 dereferenceable(196) %486, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %490 = load ptr, ptr %34, align 8, !tbaa !51
  %491 = load ptr, ptr %490, align 8, !tbaa !40
  %492 = getelementptr inbounds i8, ptr %491, i64 40
  %493 = load ptr, ptr %492, align 8
  %494 = call noundef nonnull align 4 dereferenceable(4) ptr %493(ptr noundef nonnull align 8 dereferenceable(196) %490)
  %495 = load i32, ptr %494, align 4, !tbaa !46
  store i32 %495, ptr %2, align 4, !tbaa !46
  %496 = icmp eq i32 %495, 7
  br i1 %496, label %.loopexit, label %497

497:                                              ; preds = %485
  %498 = load ptr, ptr %35, align 8, !tbaa !45
  %499 = load ptr, ptr %498, align 8, !tbaa !40
  %500 = getelementptr inbounds i8, ptr %499, i64 72
  %501 = load ptr, ptr %500, align 8
  call void %501(ptr noundef nonnull align 8 dereferenceable(196) %498, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %502 = load ptr, ptr %34, align 8, !tbaa !51
  %503 = load ptr, ptr %502, align 8, !tbaa !40
  %504 = getelementptr inbounds i8, ptr %503, i64 40
  %505 = load ptr, ptr %504, align 8
  %506 = call noundef nonnull align 4 dereferenceable(4) ptr %505(ptr noundef nonnull align 8 dereferenceable(196) %502)
  %507 = load i32, ptr %506, align 4, !tbaa !46
  store i32 %507, ptr %2, align 4, !tbaa !46
  %508 = icmp eq i32 %507, 7
  br i1 %508, label %.loopexit, label %509

509:                                              ; preds = %497
  %510 = load ptr, ptr %35, align 8, !tbaa !45
  %511 = load ptr, ptr %510, align 8, !tbaa !40
  %512 = getelementptr inbounds i8, ptr %511, i64 72
  %513 = load ptr, ptr %512, align 8
  call void %513(ptr noundef nonnull align 8 dereferenceable(196) %510, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %514 = load ptr, ptr %34, align 8, !tbaa !51
  %515 = load ptr, ptr %514, align 8, !tbaa !40
  %516 = getelementptr inbounds i8, ptr %515, i64 40
  %517 = load ptr, ptr %516, align 8
  %518 = call noundef nonnull align 4 dereferenceable(4) ptr %517(ptr noundef nonnull align 8 dereferenceable(196) %514)
  %519 = load i32, ptr %518, align 4, !tbaa !46
  store i32 %519, ptr %2, align 4, !tbaa !46
  %520 = icmp eq i32 %519, 7
  br i1 %520, label %.loopexit, label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %509
  %521 = load ptr, ptr %35, align 8, !tbaa !45
  %522 = load ptr, ptr %521, align 8, !tbaa !40
  %523 = getelementptr inbounds i8, ptr %522, i64 72
  %524 = load ptr, ptr %523, align 8
  call void %524(ptr noundef nonnull align 8 dereferenceable(196) %521, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %.loopexit

.loopexit:                                        ; preds = %385, %401, %413, %425, %437, %449, %461, %473, %485, %497, %509, %.loopexit.loopexit
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  %525 = load ptr, ptr %33, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #3
  store i8 0, ptr %10, align 1, !tbaa !42
  %526 = load ptr, ptr %525, align 8, !tbaa !40
  %527 = getelementptr inbounds i8, ptr %526, i64 112
  %528 = load ptr, ptr %527, align 8
  call void %528(ptr noundef nonnull align 8 dereferenceable(224) %525, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #3
  call void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
  br label %36, !llvm.loop !52
}

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !9, i64 416}
!6 = !{!"_ZTS10while_exit", !7, i64 0, !32, i64 232, !9, i64 416, !9, i64 424, !9, i64 432, !9, i64 440, !9, i64 448}
!7 = !{!"_ZTSN7sc_core9sc_moduleE", !8, i64 0, !23, i64 112, !24, i64 120, !26, i64 144, !28, i64 168, !30, i64 192, !9, i64 200, !31, i64 208, !9, i64 216, !9, i64 224}
!8 = !{!"_ZTSN7sc_core9sc_objectE", !9, i64 8, !12, i64 16, !16, i64 40, !20, i64 64, !9, i64 96, !9, i64 104}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!16 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !10, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!22 = !{!"long", !10, i64 0}
!23 = !{!"_ZTSN7sc_core15sc_process_hostE"}
!24 = !{!"_ZTSN7sc_core12sc_sensitiveE", !9, i64 0, !25, i64 8, !9, i64 16}
!25 = !{!"_ZTSN7sc_core12sc_sensitiveUt_E", !10, i64 0}
!26 = !{!"_ZTSN7sc_core16sc_sensitive_posE", !9, i64 0, !27, i64 8, !9, i64 16}
!27 = !{!"_ZTSN7sc_core16sc_sensitive_posUt_E", !10, i64 0}
!28 = !{!"_ZTSN7sc_core16sc_sensitive_negE", !9, i64 0, !29, i64 8, !9, i64 16}
!29 = !{!"_ZTSN7sc_core16sc_sensitive_negUt_E", !10, i64 0}
!30 = !{!"bool", !10, i64 0}
!31 = !{!"int", !10, i64 0}
!32 = !{!"_ZTSN7sc_core5sc_inIbEE", !33, i64 0, !9, i64 152, !9, i64 160, !9, i64 168, !9, i64 176}
!33 = !{!"_ZTSN7sc_core7sc_portINS_15sc_signal_in_ifIbEELi1ELNS_14sc_port_policyE0EEE", !34, i64 0}
!34 = !{!"_ZTSN7sc_core9sc_port_bINS_15sc_signal_in_ifIbEEEE", !35, i64 0, !9, i64 120, !36, i64 128}
!35 = !{!"_ZTSN7sc_core12sc_port_baseE", !8, i64 0, !9, i64 112}
!36 = !{!"_ZTSSt6vectorIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!40 = !{!41, !41, i64 0}
!41 = !{!"vtable pointer", !11, i64 0}
!42 = !{!30, !30, i64 0}
!43 = !{i8 0, i8 2}
!44 = !{}
!45 = !{!6, !9, i64 448}
!46 = !{!31, !31, i64 0}
!47 = !{!6, !9, i64 440}
!48 = !{!6, !9, i64 424}
!49 = distinct !{!49, !50}
!50 = !{!"llvm.loop.mustprogress"}
!51 = !{!6, !9, i64 432}
!52 = distinct !{!52, !50}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass