; 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

; 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
define dso_local void @UnityAssertEqualIntArray(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  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 ptr %3, ptr %11, align 8, !tbaa !5
  store i64 %4, ptr %12, align 8, !tbaa !11
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  %22 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %22, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %23 = load i32, ptr %13, align 4, !tbaa !9
  %24 = and i32 %23, 15
  store i32 %24, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 0, ptr %17, align 4, !tbaa !9
  %25 = load i64, ptr getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 8), align 8, !tbaa !13
  %26 = icmp ne i64 %25, 0
  br i1 %26, label %30, label %27

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

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

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

34:                                               ; preds = %31
  %35 = load i64, ptr %12, align 8, !tbaa !11
  call void @UnityTestResultsFailBegin(i64 noundef %35)
  call void @UnityPrint(ptr noundef @UnityStrPointless)
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  call void @UnityAddMsgIfSpecified(ptr noundef %36)
  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

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

41:                                               ; preds = %37
  store i32 1, ptr %18, align 4
  br label %139

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

49:                                               ; preds = %42
  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

50:                                               ; preds = %42
  br label %51

51:                                               ; preds = %133, %50
  %52 = load i32, ptr %15, align 4, !tbaa !9
  %53 = icmp ugt i32 %52, 0
  br i1 %53, label %54, label %58

54:                                               ; preds = %51
  %55 = load i32, ptr %15, align 4, !tbaa !9
  %56 = add i32 %55, -1
  store i32 %56, ptr %15, align 4, !tbaa !9
  %57 = icmp ne i32 %55, 0
  br label %58

58:                                               ; preds = %54, %51
  %59 = phi i1 [ false, %51 ], [ %57, %54 ]
  br i1 %59, label %60, label %138

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %61 = load i32, ptr %16, align 4, !tbaa !9
  switch i32 %61, label %81 [
    i32 1, label %62
    i32 2, label %69
    i32 8, label %76
    i32 4, label %82
  ]

62:                                               ; preds = %60
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = load i8, ptr %63, align 1, !tbaa !16
  %65 = sext i8 %64 to i64
  store i64 %65, ptr %19, align 8, !tbaa !11
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = load i8, ptr %66, align 1, !tbaa !16
  %68 = sext i8 %67 to i64
  store i64 %68, ptr %20, align 8, !tbaa !11
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %89

69:                                               ; preds = %60
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = load i16, ptr %70, align 2, !tbaa !17
  %72 = sext i16 %71 to i64
  store i64 %72, ptr %19, align 8, !tbaa !11
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = load i16, ptr %73, align 2, !tbaa !17
  %75 = sext i16 %74 to i64
  store i64 %75, ptr %20, align 8, !tbaa !11
  store i32 2, ptr %17, align 4, !tbaa !9
  br label %89

76:                                               ; preds = %60
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = load i64, ptr %77, align 8, !tbaa !11
  store i64 %78, ptr %19, align 8, !tbaa !11
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = load i64, ptr %79, align 8, !tbaa !11
  store i64 %80, ptr %20, align 8, !tbaa !11
  store i32 8, ptr %17, align 4, !tbaa !9
  br label %89

81:                                               ; preds = %60
  br label %82

82:                                               ; preds = %81, %60
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  store i64 %85, ptr %19, align 8, !tbaa !11
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = load i32, ptr %86, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  store i64 %88, ptr %20, align 8, !tbaa !11
  store i32 4, ptr %17, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %82, %76, %69, %62
  %90 = load i64, ptr %19, align 8, !tbaa !11
  %91 = load i64, ptr %20, align 8, !tbaa !11
  %92 = icmp ne i64 %90, %91
  br i1 %92, label %93, label %125

93:                                               ; preds = %89
  %94 = load i32, ptr %13, align 4, !tbaa !9
  %95 = and i32 %94, 32
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %113

97:                                               ; preds = %93
  %98 = load i32, ptr %16, align 4, !tbaa !9
  %99 = icmp ult i32 %98, 4
  br i1 %99, label %100, label %113

100:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  store i64 1, ptr %21, align 8, !tbaa !11
  %101 = load i64, ptr %21, align 8, !tbaa !11
  %102 = load i32, ptr %16, align 4, !tbaa !9
  %103 = mul i32 8, %102
  %104 = zext i32 %103 to i64
  %105 = shl i64 %101, %104
  %106 = sub nsw i64 %105, 1
  store i64 %106, ptr %21, align 8, !tbaa !11
  %107 = load i64, ptr %21, align 8, !tbaa !11
  %108 = load i64, ptr %19, align 8, !tbaa !11
  %109 = and i64 %108, %107
  store i64 %109, ptr %19, align 8, !tbaa !11
  %110 = load i64, ptr %21, align 8, !tbaa !11
  %111 = load i64, ptr %20, align 8, !tbaa !11
  %112 = and i64 %111, %110
  store i64 %112, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  br label %113

113:                                              ; preds = %100, %97, %93
  %114 = load i64, ptr %12, align 8, !tbaa !11
  call void @UnityTestResultsFailBegin(i64 noundef %114)
  call void @UnityPrint(ptr noundef @UnityStrElement)
  %115 = load i32, ptr %10, align 4, !tbaa !9
  %116 = load i32, ptr %15, align 4, !tbaa !9
  %117 = sub i32 %115, %116
  %118 = sub i32 %117, 1
  %119 = zext i32 %118 to i64
  call void @UnityPrintNumberUnsigned(i64 noundef %119)
  call void @UnityPrint(ptr noundef @UnityStrExpected)
  %120 = load i64, ptr %19, align 8, !tbaa !11
  %121 = load i32, ptr %13, align 4, !tbaa !9
  call void @UnityPrintNumberByStyle(i64 noundef %120, i32 noundef %121)
  call void @UnityPrint(ptr noundef @UnityStrWas)
  %122 = load i64, ptr %20, align 8, !tbaa !11
  %123 = load i32, ptr %13, align 4, !tbaa !9
  call void @UnityPrintNumberByStyle(i64 noundef %122, i32 noundef %123)
  %124 = load ptr, ptr %11, align 8, !tbaa !5
  call void @UnityAddMsgIfSpecified(ptr noundef %124)
  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

125:                                              ; preds = %89
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = icmp eq i32 %126, 1
  br i1 %127, label %128, label %133

128:                                              ; preds = %125
  %129 = load ptr, ptr %8, align 8, !tbaa !5
  %130 = load i32, ptr %17, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = getelementptr inbounds i8, ptr %129, i64 %131
  store ptr %132, ptr %8, align 8, !tbaa !5
  br label %133

133:                                              ; preds = %128, %125
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = load i32, ptr %17, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds i8, ptr %134, i64 %136
  store ptr %137, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  br label %51, !llvm.loop !19

138:                                              ; preds = %58
  store i32 0, ptr %18, align 4
  br label %139

139:                                              ; preds = %138, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  %140 = load i32, ptr %18, align 4
  switch i32 %140, label %142 [
    i32 0, label %141
    i32 1, label %141
  ]

141:                                              ; preds = %139, %139
  ret void

142:                                              ; preds = %139
  unreachable
}

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

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 = !{!18, !18, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"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"

%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

; 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
define dso_local void @UnityAssertEqualIntArray(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 {
  %8 = and i32 %5, 15
  %9 = load i64, ptr getelementptr inbounds (i8, ptr @Unity, i64 64), align 8, !tbaa !5
  %10 = icmp ne i64 %9, 0
  %11 = load i64, ptr getelementptr inbounds (i8, ptr @Unity, i64 72), align 8
  %12 = icmp ne i64 %11, 0
  %or.cond = select i1 %10, i1 true, i1 %12
  br i1 %or.cond, label %13, label %14

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

14:                                               ; preds = %7
  %15 = icmp eq i32 %2, 0
  br i1 %15, label %16, label %17

16:                                               ; preds = %14
  tail call void @UnityTestResultsFailBegin(i64 noundef %4)
  tail call void @UnityPrint(ptr noundef nonnull @UnityStrPointless)
  tail call void @UnityAddMsgIfSpecified(ptr noundef %3)
  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 = %14
  %18 = icmp eq ptr %0, %1
  br i1 %18, label %.critedge, label %19

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

.preheader:                                       ; preds = %19
  %21 = icmp eq i32 %6, 1
  br i1 %21, label %.preheader.split.us, label %.preheader.split

.preheader.split.us:                              ; preds = %.preheader, %43
  %.065.us = phi ptr [ %.1.us, %43 ], [ %0, %.preheader ]
  %.05264.us = phi i32 [ %.051.us, %43 ], [ %8, %.preheader ]
  %.05463.us = phi i32 [ %22, %43 ], [ %2, %.preheader ]
  %.05562.us = phi ptr [ %45, %43 ], [ %1, %.preheader ]
  %22 = add i32 %.05463.us, -1
  switch i32 %.05264.us, label %36 [
    i32 1, label %31
    i32 2, label %26
    i32 8, label %23
  ]

23:                                               ; preds = %.preheader.split.us
  %24 = load i64, ptr %.065.us, align 8, !tbaa !11
  %25 = load i64, ptr %.05562.us, align 8, !tbaa !11
  br label %41

26:                                               ; preds = %.preheader.split.us
  %27 = load i16, ptr %.065.us, align 2, !tbaa !12
  %28 = sext i16 %27 to i64
  %29 = load i16, ptr %.05562.us, align 2, !tbaa !12
  %30 = sext i16 %29 to i64
  br label %41

31:                                               ; preds = %.preheader.split.us
  %32 = load i8, ptr %.065.us, align 1, !tbaa !14
  %33 = sext i8 %32 to i64
  %34 = load i8, ptr %.05562.us, align 1, !tbaa !14
  %35 = sext i8 %34 to i64
  br label %41

36:                                               ; preds = %.preheader.split.us
  %37 = load i32, ptr %.065.us, align 4, !tbaa !15
  %38 = sext i32 %37 to i64
  %39 = load i32, ptr %.05562.us, align 4, !tbaa !15
  %40 = sext i32 %39 to i64
  br label %41

41:                                               ; preds = %36, %31, %26, %23
  %42 = phi i1 [ false, %36 ], [ false, %23 ], [ true, %26 ], [ true, %31 ]
  %.051.us = phi i32 [ 4, %36 ], [ 8, %23 ], [ 2, %26 ], [ 1, %31 ]
  %.049.us = phi i64 [ %38, %36 ], [ %24, %23 ], [ %28, %26 ], [ %33, %31 ]
  %.047.us = phi i64 [ %40, %36 ], [ %25, %23 ], [ %30, %26 ], [ %35, %31 ]
  %.not60.us = icmp eq i64 %.049.us, %.047.us
  br i1 %.not60.us, label %43, label %.split.us

43:                                               ; preds = %41
  %44 = zext nneg i32 %.051.us to i64
  %.1.us = getelementptr inbounds i8, ptr %.065.us, i64 %44
  %45 = getelementptr inbounds i8, ptr %.05562.us, i64 %44
  %.not59.us = icmp eq i32 %22, 0
  br i1 %.not59.us, label %.critedge, label %.preheader.split.us, !llvm.loop !17

46:                                               ; 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.split:                                 ; preds = %.preheader, %79
  %.05264 = phi i32 [ %.051, %79 ], [ %8, %.preheader ]
  %.05463 = phi i32 [ %47, %79 ], [ %2, %.preheader ]
  %.05562 = phi ptr [ %81, %79 ], [ %1, %.preheader ]
  %47 = add i32 %.05463, -1
  switch i32 %.05264, label %61 [
    i32 1, label %48
    i32 2, label %53
    i32 8, label %58
  ]

48:                                               ; preds = %.preheader.split
  %49 = load i8, ptr %0, align 1, !tbaa !14
  %50 = sext i8 %49 to i64
  %51 = load i8, ptr %.05562, align 1, !tbaa !14
  %52 = sext i8 %51 to i64
  br label %66

53:                                               ; preds = %.preheader.split
  %54 = load i16, ptr %0, align 2, !tbaa !12
  %55 = sext i16 %54 to i64
  %56 = load i16, ptr %.05562, align 2, !tbaa !12
  %57 = sext i16 %56 to i64
  br label %66

58:                                               ; preds = %.preheader.split
  %59 = load i64, ptr %0, align 8, !tbaa !11
  %60 = load i64, ptr %.05562, align 8, !tbaa !11
  br label %66

61:                                               ; preds = %.preheader.split
  %62 = load i32, ptr %0, align 4, !tbaa !15
  %63 = sext i32 %62 to i64
  %64 = load i32, ptr %.05562, align 4, !tbaa !15
  %65 = sext i32 %64 to i64
  br label %66

66:                                               ; preds = %61, %58, %53, %48
  %67 = phi i1 [ false, %61 ], [ false, %58 ], [ true, %53 ], [ true, %48 ]
  %.051 = phi i32 [ 4, %61 ], [ 8, %58 ], [ 2, %53 ], [ 1, %48 ]
  %.049 = phi i64 [ %63, %61 ], [ %59, %58 ], [ %55, %53 ], [ %50, %48 ]
  %.047 = phi i64 [ %65, %61 ], [ %60, %58 ], [ %57, %53 ], [ %52, %48 ]
  %.not60 = icmp eq i64 %.049, %.047
  br i1 %.not60, label %79, label %.split.us

.split.us:                                        ; preds = %66, %41
  %.us-phi = phi i1 [ %42, %41 ], [ %67, %66 ]
  %.us-phi66 = phi i32 [ %.051.us, %41 ], [ %.051, %66 ]
  %.us-phi67 = phi i64 [ %.049.us, %41 ], [ %.049, %66 ]
  %.us-phi68 = phi i64 [ %.047.us, %41 ], [ %.047, %66 ]
  %.us-phi69 = phi i32 [ %.05463.us, %41 ], [ %.05463, %66 ]
  %68 = and i32 %5, 32
  %69 = icmp ne i32 %68, 0
  %or.cond3 = and i1 %69, %.us-phi
  br i1 %or.cond3, label %70, label %76

70:                                               ; preds = %.split.us
  %71 = shl nuw nsw i32 %.us-phi66, 3
  %72 = zext nneg i32 %71 to i64
  %notmask = shl nsw i64 -1, %72
  %73 = xor i64 %notmask, -1
  %74 = and i64 %.us-phi67, %73
  %75 = and i64 %.us-phi68, %73
  br label %76

76:                                               ; preds = %70, %.split.us
  %.150 = phi i64 [ %74, %70 ], [ %.us-phi67, %.split.us ]
  %.148 = phi i64 [ %75, %70 ], [ %.us-phi68, %.split.us ]
  tail call void @UnityTestResultsFailBegin(i64 noundef %4)
  tail call void @UnityPrint(ptr noundef nonnull @UnityStrElement)
  %77 = sub i32 %2, %.us-phi69
  %78 = zext i32 %77 to i64
  tail call void @UnityPrintNumberUnsigned(i64 noundef %78)
  tail call void @UnityPrint(ptr noundef nonnull @UnityStrExpected)
  tail call void @UnityPrintNumberByStyle(i64 noundef %.150, i32 noundef %5)
  tail call void @UnityPrint(ptr noundef nonnull @UnityStrWas)
  tail call void @UnityPrintNumberByStyle(i64 noundef %.148, i32 noundef %5)
  tail call void @UnityAddMsgIfSpecified(ptr noundef %3)
  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

79:                                               ; preds = %66
  %80 = zext nneg i32 %.051 to i64
  %81 = getelementptr inbounds i8, ptr %.05562, i64 %80
  %.not59 = icmp eq i32 %47, 0
  br i1 %.not59, label %.critedge, label %.preheader.split, !llvm.loop !17

.critedge:                                        ; preds = %79, %43, %17
  ret void
}

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

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 = !{!10, !10, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


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