; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/misc/sim_tests/new_prop/new_prop1 (new_prop1)

; 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.new_prop = type { %"class.sc_core::sc_module", [16 x %"class.sc_core::sc_in"] }
%"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 }

@_ZL10print_func = external hidden global ptr, align 8
@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8new_prop8my_printEPKc(ptr noundef nonnull align 8 dereferenceable(3176) %0, ptr noundef %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %6 = load ptr, ptr %3, align 8
  %7 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = call noundef i32 (ptr, ...) %7(ptr noundef @.str, ptr noundef %8)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %10

10:                                               ; preds = %35, %2
  %11 = load i32, ptr %5, align 4, !tbaa !9
  %12 = icmp slt i32 %11, 16
  br i1 %12, label %14, label %13

13:                                               ; preds = %10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #2
  br label %38

14:                                               ; preds = %10
  %15 = getelementptr inbounds %struct.new_prop, ptr %6, i32 0, i32 1
  %16 = load i32, ptr %5, align 4, !tbaa !9
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [16 x %"class.sc_core::sc_in"], ptr %15, i64 0, i64 %17
  %19 = call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %18)
  br i1 %19, label %20, label %24

20:                                               ; preds = %14
  %21 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %22 = load i32, ptr %5, align 4, !tbaa !9
  %23 = call noundef i32 (ptr, ...) %21(ptr noundef @.str.2, i32 noundef %22)
  br label %24

24:                                               ; preds = %20, %14
  %25 = getelementptr inbounds %struct.new_prop, ptr %6, i32 0, i32 1
  %26 = load i32, ptr %5, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [16 x %"class.sc_core::sc_in"], ptr %25, i64 0, i64 %27
  %29 = call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %28)
  br i1 %29, label %30, label %34

30:                                               ; preds = %24
  %31 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %32 = load i32, ptr %5, align 4, !tbaa !9
  %33 = call noundef i32 (ptr, ...) %31(ptr noundef @.str.3, i32 noundef %32)
  br label %34

34:                                               ; preds = %30, %24
  br label %35

35:                                               ; preds = %34
  %36 = load i32, ptr %5, align 4, !tbaa !9
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %5, align 4, !tbaa !9
  br label %10, !llvm.loop !11

38:                                               ; preds = %13
  ret void
}

; 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 noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184)) #0 align 2

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

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

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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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

@_ZL10print_func = external hidden local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8new_prop8my_printEPKc(ptr noundef nonnull align 8 dereferenceable(3176) %0, ptr noundef %1) local_unnamed_addr #0 align 2 {
  %3 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %4 = tail call noundef i32 (ptr, ...) %3(ptr noundef nonnull @.str, ptr noundef %1)
  %5 = getelementptr inbounds i8, ptr %0, i64 232
  %6 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %5)
  br i1 %6, label %7, label %10

7:                                                ; preds = %2
  %8 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %9 = tail call noundef i32 (ptr, ...) %8(ptr noundef nonnull @.str.2, i32 noundef 0)
  br label %10

10:                                               ; preds = %7, %2
  %11 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %5)
  br i1 %11, label %12, label %15

12:                                               ; preds = %10
  %13 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %14 = tail call noundef i32 (ptr, ...) %13(ptr noundef nonnull @.str.3, i32 noundef 0)
  br label %15

15:                                               ; preds = %10, %12
  %16 = getelementptr inbounds i8, ptr %0, i64 416
  %17 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %16)
  br i1 %17, label %18, label %21

18:                                               ; preds = %15
  %19 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %20 = tail call noundef i32 (ptr, ...) %19(ptr noundef nonnull @.str.2, i32 noundef 1)
  br label %21

21:                                               ; preds = %18, %15
  %22 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %16)
  br i1 %22, label %23, label %26

23:                                               ; preds = %21
  %24 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %25 = tail call noundef i32 (ptr, ...) %24(ptr noundef nonnull @.str.3, i32 noundef 1)
  br label %26

26:                                               ; preds = %23, %21
  %27 = getelementptr inbounds i8, ptr %0, i64 600
  %28 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %27)
  br i1 %28, label %29, label %32

29:                                               ; preds = %26
  %30 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %31 = tail call noundef i32 (ptr, ...) %30(ptr noundef nonnull @.str.2, i32 noundef 2)
  br label %32

32:                                               ; preds = %29, %26
  %33 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %27)
  br i1 %33, label %34, label %37

34:                                               ; preds = %32
  %35 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %36 = tail call noundef i32 (ptr, ...) %35(ptr noundef nonnull @.str.3, i32 noundef 2)
  br label %37

37:                                               ; preds = %34, %32
  %38 = getelementptr inbounds i8, ptr %0, i64 784
  %39 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %38)
  br i1 %39, label %40, label %43

40:                                               ; preds = %37
  %41 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %42 = tail call noundef i32 (ptr, ...) %41(ptr noundef nonnull @.str.2, i32 noundef 3)
  br label %43

43:                                               ; preds = %40, %37
  %44 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %38)
  br i1 %44, label %45, label %48

45:                                               ; preds = %43
  %46 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %47 = tail call noundef i32 (ptr, ...) %46(ptr noundef nonnull @.str.3, i32 noundef 3)
  br label %48

48:                                               ; preds = %45, %43
  %49 = getelementptr inbounds i8, ptr %0, i64 968
  %50 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %49)
  br i1 %50, label %51, label %54

51:                                               ; preds = %48
  %52 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %53 = tail call noundef i32 (ptr, ...) %52(ptr noundef nonnull @.str.2, i32 noundef 4)
  br label %54

54:                                               ; preds = %51, %48
  %55 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %49)
  br i1 %55, label %56, label %59

56:                                               ; preds = %54
  %57 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %58 = tail call noundef i32 (ptr, ...) %57(ptr noundef nonnull @.str.3, i32 noundef 4)
  br label %59

59:                                               ; preds = %56, %54
  %60 = getelementptr inbounds i8, ptr %0, i64 1152
  %61 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %60)
  br i1 %61, label %62, label %65

62:                                               ; preds = %59
  %63 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %64 = tail call noundef i32 (ptr, ...) %63(ptr noundef nonnull @.str.2, i32 noundef 5)
  br label %65

65:                                               ; preds = %62, %59
  %66 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %60)
  br i1 %66, label %67, label %70

67:                                               ; preds = %65
  %68 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %69 = tail call noundef i32 (ptr, ...) %68(ptr noundef nonnull @.str.3, i32 noundef 5)
  br label %70

70:                                               ; preds = %67, %65
  %71 = getelementptr inbounds i8, ptr %0, i64 1336
  %72 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %71)
  br i1 %72, label %73, label %76

73:                                               ; preds = %70
  %74 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %75 = tail call noundef i32 (ptr, ...) %74(ptr noundef nonnull @.str.2, i32 noundef 6)
  br label %76

76:                                               ; preds = %73, %70
  %77 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %71)
  br i1 %77, label %78, label %81

78:                                               ; preds = %76
  %79 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %80 = tail call noundef i32 (ptr, ...) %79(ptr noundef nonnull @.str.3, i32 noundef 6)
  br label %81

81:                                               ; preds = %78, %76
  %82 = getelementptr inbounds i8, ptr %0, i64 1520
  %83 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %82)
  br i1 %83, label %84, label %87

84:                                               ; preds = %81
  %85 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %86 = tail call noundef i32 (ptr, ...) %85(ptr noundef nonnull @.str.2, i32 noundef 7)
  br label %87

87:                                               ; preds = %84, %81
  %88 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %82)
  br i1 %88, label %89, label %92

89:                                               ; preds = %87
  %90 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %91 = tail call noundef i32 (ptr, ...) %90(ptr noundef nonnull @.str.3, i32 noundef 7)
  br label %92

92:                                               ; preds = %89, %87
  %93 = getelementptr inbounds i8, ptr %0, i64 1704
  %94 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %93)
  br i1 %94, label %95, label %98

95:                                               ; preds = %92
  %96 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %97 = tail call noundef i32 (ptr, ...) %96(ptr noundef nonnull @.str.2, i32 noundef 8)
  br label %98

98:                                               ; preds = %95, %92
  %99 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %93)
  br i1 %99, label %100, label %103

100:                                              ; preds = %98
  %101 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %102 = tail call noundef i32 (ptr, ...) %101(ptr noundef nonnull @.str.3, i32 noundef 8)
  br label %103

103:                                              ; preds = %100, %98
  %104 = getelementptr inbounds i8, ptr %0, i64 1888
  %105 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %104)
  br i1 %105, label %106, label %109

106:                                              ; preds = %103
  %107 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %108 = tail call noundef i32 (ptr, ...) %107(ptr noundef nonnull @.str.2, i32 noundef 9)
  br label %109

109:                                              ; preds = %106, %103
  %110 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %104)
  br i1 %110, label %111, label %114

111:                                              ; preds = %109
  %112 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %113 = tail call noundef i32 (ptr, ...) %112(ptr noundef nonnull @.str.3, i32 noundef 9)
  br label %114

114:                                              ; preds = %111, %109
  %115 = getelementptr inbounds i8, ptr %0, i64 2072
  %116 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %115)
  br i1 %116, label %117, label %120

117:                                              ; preds = %114
  %118 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %119 = tail call noundef i32 (ptr, ...) %118(ptr noundef nonnull @.str.2, i32 noundef 10)
  br label %120

120:                                              ; preds = %117, %114
  %121 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %115)
  br i1 %121, label %122, label %125

122:                                              ; preds = %120
  %123 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %124 = tail call noundef i32 (ptr, ...) %123(ptr noundef nonnull @.str.3, i32 noundef 10)
  br label %125

125:                                              ; preds = %122, %120
  %126 = getelementptr inbounds i8, ptr %0, i64 2256
  %127 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %126)
  br i1 %127, label %128, label %131

128:                                              ; preds = %125
  %129 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %130 = tail call noundef i32 (ptr, ...) %129(ptr noundef nonnull @.str.2, i32 noundef 11)
  br label %131

131:                                              ; preds = %128, %125
  %132 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %126)
  br i1 %132, label %133, label %136

133:                                              ; preds = %131
  %134 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %135 = tail call noundef i32 (ptr, ...) %134(ptr noundef nonnull @.str.3, i32 noundef 11)
  br label %136

136:                                              ; preds = %133, %131
  %137 = getelementptr inbounds i8, ptr %0, i64 2440
  %138 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %137)
  br i1 %138, label %139, label %142

139:                                              ; preds = %136
  %140 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %141 = tail call noundef i32 (ptr, ...) %140(ptr noundef nonnull @.str.2, i32 noundef 12)
  br label %142

142:                                              ; preds = %139, %136
  %143 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %137)
  br i1 %143, label %144, label %147

144:                                              ; preds = %142
  %145 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %146 = tail call noundef i32 (ptr, ...) %145(ptr noundef nonnull @.str.3, i32 noundef 12)
  br label %147

147:                                              ; preds = %144, %142
  %148 = getelementptr inbounds i8, ptr %0, i64 2624
  %149 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %148)
  br i1 %149, label %150, label %153

150:                                              ; preds = %147
  %151 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %152 = tail call noundef i32 (ptr, ...) %151(ptr noundef nonnull @.str.2, i32 noundef 13)
  br label %153

153:                                              ; preds = %150, %147
  %154 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %148)
  br i1 %154, label %155, label %158

155:                                              ; preds = %153
  %156 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %157 = tail call noundef i32 (ptr, ...) %156(ptr noundef nonnull @.str.3, i32 noundef 13)
  br label %158

158:                                              ; preds = %155, %153
  %159 = getelementptr inbounds i8, ptr %0, i64 2808
  %160 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %159)
  br i1 %160, label %161, label %164

161:                                              ; preds = %158
  %162 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %163 = tail call noundef i32 (ptr, ...) %162(ptr noundef nonnull @.str.2, i32 noundef 14)
  br label %164

164:                                              ; preds = %161, %158
  %165 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %159)
  br i1 %165, label %166, label %169

166:                                              ; preds = %164
  %167 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %168 = tail call noundef i32 (ptr, ...) %167(ptr noundef nonnull @.str.3, i32 noundef 14)
  br label %169

169:                                              ; preds = %166, %164
  %170 = getelementptr inbounds i8, ptr %0, i64 2992
  %171 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7posedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %170)
  br i1 %171, label %172, label %175

172:                                              ; preds = %169
  %173 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %174 = tail call noundef i32 (ptr, ...) %173(ptr noundef nonnull @.str.2, i32 noundef 15)
  br label %175

175:                                              ; preds = %172, %169
  %176 = tail call noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184) %170)
  br i1 %176, label %177, label %180

177:                                              ; preds = %175
  %178 = load ptr, ptr @_ZL10print_func, align 8, !tbaa !5
  %179 = tail call noundef i32 (ptr, ...) %178(ptr noundef nonnull @.str.3, i32 noundef 15)
  br label %180

180:                                              ; preds = %177, %175
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7sc_core5sc_inIbE7negedgeEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #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" }

!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"}


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