; LLVM IR from lichen-community-systems/signaletic :: libsignaletic/tests/vendor/unity/src (unity)

; 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.UNITY_STORAGE_T = type { ptr, ptr, ptr, ptr, i64, i64, i64, i64, i64, i64, [1 x %struct.__jmp_buf_tag] }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }

@Unity = external dso_local global %struct.UNITY_STORAGE_T, align 8
@UnityStrExpected = external hidden constant [11 x i8], align 1
@UnityStrWas = external hidden constant [6 x i8], align 1
@UnityStrPointless = external hidden constant [55 x i8], align 16
@UnityStrElement = external hidden constant [10 x i8], align 1
@UnityStrMemory = external hidden constant [18 x i8], align 16
@UnityStrByte = external hidden constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @UnityPrint(ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @UnityPrintNumberByStyle(i64 noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @UnityPrintNumberUnsigned(i64 noundef) #0

; Function Attrs: noreturn nounwind
declare void @longjmp(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @UnityTestResultsFailBegin(i64 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @UnityAddMsgIfSpecified(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @UnityIsOneArrayNull(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @UnityAssertEqualMemory(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) #0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !9
  store ptr %4, ptr %12, align 8, !tbaa !5
  store i64 %5, ptr %13, align 8, !tbaa !11
  store i32 %6, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %20 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %20, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %21, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  %22 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %22, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  %23 = load i64, ptr getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 8), align 8, !tbaa !13
  %24 = icmp ne i64 %23, 0
  br i1 %24, label %28, label %25

25:                                               ; preds = %7
  %26 = load i64, ptr getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 9), align 8, !tbaa !15
  %27 = icmp ne i64 %26, 0
  br i1 %27, label %28, label %29

28:                                               ; preds = %25, %7
  call void @longjmp(ptr noundef getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 10), i32 noundef 1) #4
  unreachable

29:                                               ; preds = %25
  %30 = load i32, ptr %17, align 4, !tbaa !9
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %35, label %32

32:                                               ; preds = %29
  %33 = load i32, ptr %10, align 4, !tbaa !9
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %38

35:                                               ; preds = %32, %29
  %36 = load i64, ptr %13, align 8, !tbaa !11
  call void @UnityTestResultsFailBegin(i64 noundef %36)
  call void @UnityPrint(ptr noundef @UnityStrPointless)
  %37 = load ptr, ptr %12, align 8, !tbaa !5
  call void @UnityAddMsgIfSpecified(ptr noundef %37)
  store i64 1, ptr getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 8), align 8, !tbaa !13
  call void @longjmp(ptr noundef getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 10), i32 noundef 1) #4
  unreachable

38:                                               ; preds = %32
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = icmp eq ptr %39, %40
  br i1 %41, label %42, label %43

42:                                               ; preds = %38
  store i32 1, ptr %19, align 4
  br label %105

43:                                               ; preds = %38
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = load i64, ptr %13, align 8, !tbaa !11
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = call i32 @UnityIsOneArrayNull(ptr noundef %44, ptr noundef %45, i64 noundef %46, ptr noundef %47)
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %51

50:                                               ; preds = %43
  store i64 1, ptr getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 8), align 8, !tbaa !13
  call void @longjmp(ptr noundef getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 10), i32 noundef 1) #4
  unreachable

51:                                               ; preds = %43
  br label %52

52:                                               ; preds = %103, %51
  %53 = load i32, ptr %17, align 4, !tbaa !9
  %54 = add i32 %53, -1
  store i32 %54, ptr %17, align 4, !tbaa !9
  %55 = icmp ne i32 %53, 0
  br i1 %55, label %56, label %104

56:                                               ; preds = %52
  %57 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %57, ptr %18, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %93, %56
  %59 = load i32, ptr %18, align 4, !tbaa !9
  %60 = add i32 %59, -1
  store i32 %60, ptr %18, align 4, !tbaa !9
  %61 = icmp ne i32 %59, 0
  br i1 %61, label %62, label %98

62:                                               ; preds = %58
  %63 = load ptr, ptr %15, align 8, !tbaa !5
  %64 = load i8, ptr %63, align 1, !tbaa !16
  %65 = zext i8 %64 to i32
  %66 = load ptr, ptr %16, align 8, !tbaa !5
  %67 = load i8, ptr %66, align 1, !tbaa !16
  %68 = zext i8 %67 to i32
  %69 = icmp ne i32 %65, %68
  br i1 %69, label %70, label %93

70:                                               ; preds = %62
  %71 = load i64, ptr %13, align 8, !tbaa !11
  call void @UnityTestResultsFailBegin(i64 noundef %71)
  call void @UnityPrint(ptr noundef @UnityStrMemory)
  %72 = load i32, ptr %11, align 4, !tbaa !9
  %73 = icmp ugt i32 %72, 1
  br i1 %73, label %74, label %80

74:                                               ; preds = %70
  call void @UnityPrint(ptr noundef @UnityStrElement)
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = load i32, ptr %17, align 4, !tbaa !9
  %77 = sub i32 %75, %76
  %78 = sub i32 %77, 1
  %79 = zext i32 %78 to i64
  call void @UnityPrintNumberUnsigned(i64 noundef %79)
  br label %80

80:                                               ; preds = %74, %70
  call void @UnityPrint(ptr noundef @UnityStrByte)
  %81 = load i32, ptr %10, align 4, !tbaa !9
  %82 = load i32, ptr %18, align 4, !tbaa !9
  %83 = sub i32 %81, %82
  %84 = sub i32 %83, 1
  %85 = zext i32 %84 to i64
  call void @UnityPrintNumberUnsigned(i64 noundef %85)
  call void @UnityPrint(ptr noundef @UnityStrExpected)
  %86 = load ptr, ptr %15, align 8, !tbaa !5
  %87 = load i8, ptr %86, align 1, !tbaa !16
  %88 = zext i8 %87 to i64
  call void @UnityPrintNumberByStyle(i64 noundef %88, i32 noundef 65)
  call void @UnityPrint(ptr noundef @UnityStrWas)
  %89 = load ptr, ptr %16, align 8, !tbaa !5
  %90 = load i8, ptr %89, align 1, !tbaa !16
  %91 = zext i8 %90 to i64
  call void @UnityPrintNumberByStyle(i64 noundef %91, i32 noundef 65)
  %92 = load ptr, ptr %12, align 8, !tbaa !5
  call void @UnityAddMsgIfSpecified(ptr noundef %92)
  store i64 1, ptr getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 8), align 8, !tbaa !13
  call void @longjmp(ptr noundef getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 10), i32 noundef 1) #4
  unreachable

93:                                               ; preds = %62
  %94 = load ptr, ptr %15, align 8, !tbaa !5
  %95 = getelementptr inbounds i8, ptr %94, i32 1
  store ptr %95, ptr %15, align 8, !tbaa !5
  %96 = load ptr, ptr %16, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i32 1
  store ptr %97, ptr %16, align 8, !tbaa !5
  br label %58, !llvm.loop !17

98:                                               ; preds = %58
  %99 = load i32, ptr %14, align 4, !tbaa !9
  %100 = icmp eq i32 %99, 0
  br i1 %100, label %101, label %103

101:                                              ; preds = %98
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %102, ptr %15, align 8, !tbaa !5
  br label %103

103:                                              ; preds = %101, %98
  br label %52, !llvm.loop !19

104:                                              ; preds = %52
  store i32 0, ptr %19, align 4
  br label %105

105:                                              ; preds = %104, %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  %106 = load i32, ptr %19, align 4
  switch i32 %106, label %108 [
    i32 0, label %107
    i32 1, label %107
  ]

107:                                              ; preds = %105, %105
  ret void

108:                                              ; preds = %105
  unreachable
}

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !12, i64 64}
!14 = !{!"UNITY_STORAGE_T", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !7, i64 80}
!15 = !{!14, !12, i64 72}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}


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

%struct.UNITY_STORAGE_T = type { ptr, ptr, ptr, ptr, i64, i64, i64, i64, i64, i64, [1 x %struct.__jmp_buf_tag] }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }

@Unity = external dso_local global %struct.UNITY_STORAGE_T, align 8
@UnityStrExpected = external hidden constant [11 x i8], align 1
@UnityStrWas = external hidden constant [6 x i8], align 1
@UnityStrPointless = external hidden constant [55 x i8], align 16
@UnityStrElement = external hidden constant [10 x i8], align 1
@UnityStrMemory = external hidden constant [18 x i8], align 16
@UnityStrByte = external hidden constant [7 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local void @UnityPrintNumberByStyle(i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @UnityPrintNumberUnsigned(i64 noundef) local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @longjmp(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @UnityTestResultsFailBegin(i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @UnityAddMsgIfSpecified(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @UnityIsOneArrayNull(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @UnityAssertEqualMemory(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) local_unnamed_addr #0 {
  %8 = load i64, ptr getelementptr inbounds (i8, ptr @Unity, i64 64), align 8, !tbaa !5
  %9 = icmp ne i64 %8, 0
  %10 = load i64, ptr getelementptr inbounds (i8, ptr @Unity, i64 72), align 8
  %11 = icmp ne i64 %10, 0
  %or.cond = select i1 %9, i1 true, i1 %11
  br i1 %or.cond, label %12, label %13

12:                                               ; preds = %7
  tail call void @longjmp(ptr noundef nonnull getelementptr inbounds (i8, ptr @Unity, i64 80), i32 noundef 1) #2
  unreachable

13:                                               ; preds = %7
  %14 = icmp eq i32 %3, 0
  %15 = icmp eq i32 %2, 0
  %or.cond3 = or i1 %15, %14
  br i1 %or.cond3, label %16, label %17

16:                                               ; preds = %13
  tail call void @UnityTestResultsFailBegin(i64 noundef %5)
  tail call void @UnityPrint(ptr noundef nonnull @UnityStrPointless)
  tail call void @UnityAddMsgIfSpecified(ptr noundef %4)
  store i64 1, ptr getelementptr inbounds (i8, ptr @Unity, i64 64), align 8, !tbaa !5
  tail call void @longjmp(ptr noundef nonnull getelementptr inbounds (i8, ptr @Unity, i64 80), i32 noundef 1) #2
  unreachable

17:                                               ; preds = %13
  %18 = icmp eq ptr %0, %1
  br i1 %18, label %.loopexit, label %19

19:                                               ; preds = %17
  %20 = tail call i32 @UnityIsOneArrayNull(ptr noundef %0, ptr noundef %1, i64 noundef %5, ptr noundef %4)
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %.preheader.lr.ph.split, label %39

.preheader.lr.ph.split:                           ; preds = %19
  %21 = add i32 %3, -1
  %22 = add i32 %2, -1
  %23 = icmp eq i32 %6, 0
  br i1 %23, label %.preheader.lr.ph.split.split.us, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.preheader.lr.ph.split
  %24 = zext i32 %22 to i64
  %25 = add nuw nsw i64 %24, 1
  br label %.preheader

.preheader.lr.ph.split.split.us:                  ; preds = %.preheader.lr.ph.split
  %26 = load i8, ptr %0, align 1, !tbaa !11
  %27 = zext i32 %22 to i64
  %28 = add nuw nsw i64 %27, 1
  br label %.preheader.us58

.preheader.us58:                                  ; preds = %._crit_edge.us, %.preheader.lr.ph.split.split.us
  %29 = phi i32 [ %21, %.preheader.lr.ph.split.split.us ], [ %38, %._crit_edge.us ]
  %.03357.us59 = phi i32 [ %3, %.preheader.lr.ph.split.split.us ], [ %29, %._crit_edge.us ]
  %.03456.us60 = phi ptr [ %1, %.preheader.lr.ph.split.split.us ], [ %scevgep98, %._crit_edge.us ]
  %30 = load i8, ptr %.03456.us60, align 1, !tbaa !11
  %.not43.us66 = icmp eq i8 %26, %30
  br i1 %.not43.us66, label %.lr.ph.preheader, label %.split.us

.lr.ph.preheader:                                 ; preds = %.preheader.us58
  %scevgep98 = getelementptr i8, ptr %.03456.us60, i64 %28
  br label %.lr.ph

31:                                               ; preds = %.lr.ph
  %32 = getelementptr inbounds i8, ptr %.151.us67, i64 1
  %33 = add i32 %37, -1
  %34 = getelementptr inbounds i8, ptr %.13650.us68, i64 1
  %35 = load i8, ptr %34, align 1, !tbaa !11
  %36 = load i8, ptr %32, align 1, !tbaa !11
  %.not43.us = icmp eq i8 %35, %36
  br i1 %.not43.us, label %.lr.ph, label %.split.us, !llvm.loop !12

.lr.ph:                                           ; preds = %.lr.ph.preheader, %31
  %.13650.us68 = phi ptr [ %34, %31 ], [ %0, %.lr.ph.preheader ]
  %.151.us67 = phi ptr [ %32, %31 ], [ %.03456.us60, %.lr.ph.preheader ]
  %37 = phi i32 [ %33, %31 ], [ %22, %.lr.ph.preheader ]
  %.not42.us = icmp eq i32 %37, 0
  br i1 %.not42.us, label %._crit_edge.us, label %31, !llvm.loop !12

._crit_edge.us:                                   ; preds = %.lr.ph
  %38 = add i32 %29, -1
  %.not41.us62 = icmp eq i32 %29, 0
  br i1 %.not41.us62, label %.loopexit, label %.preheader.us58, !llvm.loop !14

39:                                               ; preds = %19
  store i64 1, ptr getelementptr inbounds (i8, ptr @Unity, i64 64), align 8, !tbaa !5
  tail call void @longjmp(ptr noundef nonnull getelementptr inbounds (i8, ptr @Unity, i64 80), i32 noundef 1) #2
  unreachable

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge
  %40 = phi i32 [ %60, %._crit_edge ], [ %21, %.preheader.preheader ]
  %.03357 = phi i32 [ %40, %._crit_edge ], [ %3, %.preheader.preheader ]
  %.03456 = phi ptr [ %scevgep97, %._crit_edge ], [ %1, %.preheader.preheader ]
  %.03555 = phi ptr [ %scevgep, %._crit_edge ], [ %0, %.preheader.preheader ]
  %scevgep = getelementptr i8, ptr %.03555, i64 %25
  %scevgep97 = getelementptr i8, ptr %.03456, i64 %25
  %41 = load i8, ptr %.03555, align 1, !tbaa !11
  %42 = load i8, ptr %.03456, align 1, !tbaa !11
  %.not43128 = icmp eq i8 %41, %42
  br i1 %.not43128, label %.lr.ph131, label %.split.us

43:                                               ; preds = %.lr.ph131
  %44 = getelementptr inbounds i8, ptr %.13650130, i64 1
  %45 = getelementptr inbounds i8, ptr %.151129, i64 1
  %46 = add i32 %59, -1
  %47 = load i8, ptr %44, align 1, !tbaa !11
  %48 = load i8, ptr %45, align 1, !tbaa !11
  %.not43 = icmp eq i8 %47, %48
  br i1 %.not43, label %.lr.ph131, label %.split.us, !llvm.loop !12

.split.us:                                        ; preds = %.preheader, %43, %.preheader.us58, %31
  %.us-phi = phi i32 [ %.03357.us59, %31 ], [ %.03357.us59, %.preheader.us58 ], [ %.03357, %43 ], [ %.03357, %.preheader ]
  %.us-phi63 = phi ptr [ %34, %31 ], [ %0, %.preheader.us58 ], [ %44, %43 ], [ %.03555, %.preheader ]
  %.us-phi64 = phi ptr [ %32, %31 ], [ %.03456.us60, %.preheader.us58 ], [ %45, %43 ], [ %.03456, %.preheader ]
  %.us-phi65 = phi i32 [ %37, %31 ], [ %2, %.preheader.us58 ], [ %59, %43 ], [ %2, %.preheader ]
  tail call void @UnityTestResultsFailBegin(i64 noundef %5)
  tail call void @UnityPrint(ptr noundef nonnull @UnityStrMemory)
  %.not77 = icmp eq i32 %3, 1
  br i1 %.not77, label %52, label %49

49:                                               ; preds = %.split.us
  tail call void @UnityPrint(ptr noundef nonnull @UnityStrElement)
  %50 = sub i32 %3, %.us-phi
  %51 = zext i32 %50 to i64
  tail call void @UnityPrintNumberUnsigned(i64 noundef %51)
  br label %52

52:                                               ; preds = %49, %.split.us
  tail call void @UnityPrint(ptr noundef nonnull @UnityStrByte)
  %53 = sub i32 %2, %.us-phi65
  %54 = zext i32 %53 to i64
  tail call void @UnityPrintNumberUnsigned(i64 noundef %54)
  tail call void @UnityPrint(ptr noundef nonnull @UnityStrExpected)
  %55 = load i8, ptr %.us-phi63, align 1, !tbaa !11
  %56 = zext i8 %55 to i64
  tail call void @UnityPrintNumberByStyle(i64 noundef %56, i32 noundef 65)
  tail call void @UnityPrint(ptr noundef nonnull @UnityStrWas)
  %57 = load i8, ptr %.us-phi64, align 1, !tbaa !11
  %58 = zext i8 %57 to i64
  tail call void @UnityPrintNumberByStyle(i64 noundef %58, i32 noundef 65)
  tail call void @UnityAddMsgIfSpecified(ptr noundef %4)
  store i64 1, ptr getelementptr inbounds (i8, ptr @Unity, i64 64), align 8, !tbaa !5
  tail call void @longjmp(ptr noundef nonnull getelementptr inbounds (i8, ptr @Unity, i64 80), i32 noundef 1) #2
  unreachable

.lr.ph131:                                        ; preds = %.preheader, %43
  %.13650130 = phi ptr [ %44, %43 ], [ %.03555, %.preheader ]
  %.151129 = phi ptr [ %45, %43 ], [ %.03456, %.preheader ]
  %59 = phi i32 [ %46, %43 ], [ %22, %.preheader ]
  %.not42 = icmp eq i32 %59, 0
  br i1 %.not42, label %._crit_edge, label %43, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph131
  %60 = add i32 %40, -1
  %.not41 = icmp eq i32 %40, 0
  br i1 %.not41, label %.loopexit, label %.preheader, !llvm.loop !14

.loopexit:                                        ; preds = %._crit_edge, %._crit_edge.us, %17
  ret void
}

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn 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, !10, i64 64}
!6 = !{!"UNITY_STORAGE_T", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !8, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!8, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass