; 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
@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 @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
declare hidden void @UnityPrintExpectedAndActualStrings(ptr noundef, ptr noundef) #0

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

20:                                               ; preds = %6
  %21 = load i64, ptr getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 9), align 8, !tbaa !15
  %22 = icmp ne i64 %21, 0
  br i1 %22, label %23, label %24

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

24:                                               ; preds = %20
  %25 = load i32, ptr %9, align 4, !tbaa !9
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %27, label %30

27:                                               ; preds = %24
  %28 = load i64, ptr %11, align 8, !tbaa !11
  call void @UnityTestResultsFailBegin(i64 noundef %28)
  call void @UnityPrint(ptr noundef @UnityStrPointless)
  %29 = load ptr, ptr %10, align 8, !tbaa !5
  call void @UnityAddMsgIfSpecified(ptr noundef %29)
  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

30:                                               ; preds = %24
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = icmp eq ptr %31, %32
  br i1 %33, label %34, label %35

34:                                               ; preds = %30
  store i32 1, ptr %17, align 4
  br label %135

35:                                               ; preds = %30
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = load i64, ptr %11, align 8, !tbaa !11
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = call i32 @UnityIsOneArrayNull(ptr noundef %36, ptr noundef %37, i64 noundef %38, ptr noundef %39)
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %42, label %43

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

43:                                               ; preds = %35
  %44 = load i32, ptr %12, align 4, !tbaa !9
  %45 = icmp ne i32 %44, 1
  br i1 %45, label %46, label %48

46:                                               ; preds = %43
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %47, ptr %15, align 8, !tbaa !5
  br label %48

48:                                               ; preds = %46, %43
  br label %49

49:                                               ; preds = %129, %48
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = load i32, ptr %14, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = getelementptr inbounds ptr, ptr %50, i64 %52
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  store ptr %54, ptr %16, align 8, !tbaa !5
  %55 = load i32, ptr %12, align 4, !tbaa !9
  %56 = icmp eq i32 %55, 1
  br i1 %56, label %57, label %63

57:                                               ; preds = %49
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = load i32, ptr %14, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds ptr, ptr %58, i64 %60
  %62 = load ptr, ptr %61, align 8, !tbaa !5
  store ptr %62, ptr %15, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %57, %49
  %64 = load ptr, ptr %15, align 8, !tbaa !5
  %65 = icmp ne ptr %64, null
  br i1 %65, label %66, label %108

66:                                               ; preds = %63
  %67 = load ptr, ptr %16, align 8, !tbaa !5
  %68 = icmp ne ptr %67, null
  br i1 %68, label %69, label %108

69:                                               ; preds = %66
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %70

70:                                               ; preds = %104, %69
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  %72 = load i32, ptr %13, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds i8, ptr %71, i64 %73
  %75 = load i8, ptr %74, align 1, !tbaa !16
  %76 = sext i8 %75 to i32
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %86, label %78

78:                                               ; preds = %70
  %79 = load ptr, ptr %16, align 8, !tbaa !5
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = zext i32 %80 to i64
  %82 = getelementptr inbounds i8, ptr %79, i64 %81
  %83 = load i8, ptr %82, align 1, !tbaa !16
  %84 = sext i8 %83 to i32
  %85 = icmp ne i32 %84, 0
  br label %86

86:                                               ; preds = %78, %70
  %87 = phi i1 [ true, %70 ], [ %85, %78 ]
  br i1 %87, label %88, label %107

88:                                               ; preds = %86
  %89 = load ptr, ptr %15, align 8, !tbaa !5
  %90 = load i32, ptr %13, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds i8, ptr %89, i64 %91
  %93 = load i8, ptr %92, align 1, !tbaa !16
  %94 = sext i8 %93 to i32
  %95 = load ptr, ptr %16, align 8, !tbaa !5
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds i8, ptr %95, i64 %97
  %99 = load i8, ptr %98, align 1, !tbaa !16
  %100 = sext i8 %99 to i32
  %101 = icmp ne i32 %94, %100
  br i1 %101, label %102, label %103

102:                                              ; preds = %88
  store i64 1, ptr getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 8), align 8, !tbaa !13
  br label %107

103:                                              ; preds = %88
  br label %104

104:                                              ; preds = %103
  %105 = load i32, ptr %13, align 4, !tbaa !9
  %106 = add i32 %105, 1
  store i32 %106, ptr %13, align 4, !tbaa !9
  br label %70, !llvm.loop !17

107:                                              ; preds = %102, %86
  br label %114

108:                                              ; preds = %66, %63
  %109 = load ptr, ptr %15, align 8, !tbaa !5
  %110 = load ptr, ptr %16, align 8, !tbaa !5
  %111 = icmp ne ptr %109, %110
  br i1 %111, label %112, label %113

112:                                              ; preds = %108
  store i64 1, ptr getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 8), align 8, !tbaa !13
  br label %113

113:                                              ; preds = %112, %108
  br label %114

114:                                              ; preds = %113, %107
  %115 = load i64, ptr getelementptr inbounds (%struct.UNITY_STORAGE_T, ptr @Unity, i32 0, i32 8), align 8, !tbaa !13
  %116 = icmp ne i64 %115, 0
  br i1 %116, label %117, label %128

117:                                              ; preds = %114
  %118 = load i64, ptr %11, align 8, !tbaa !11
  call void @UnityTestResultsFailBegin(i64 noundef %118)
  %119 = load i32, ptr %9, align 4, !tbaa !9
  %120 = icmp ugt i32 %119, 1
  br i1 %120, label %121, label %124

121:                                              ; preds = %117
  call void @UnityPrint(ptr noundef @UnityStrElement)
  %122 = load i32, ptr %14, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  call void @UnityPrintNumberUnsigned(i64 noundef %123)
  br label %124

124:                                              ; preds = %121, %117
  %125 = load ptr, ptr %15, align 8, !tbaa !5
  %126 = load ptr, ptr %16, align 8, !tbaa !5
  call void @UnityPrintExpectedAndActualStrings(ptr noundef %125, ptr noundef %126)
  %127 = load ptr, ptr %10, align 8, !tbaa !5
  call void @UnityAddMsgIfSpecified(ptr noundef %127)
  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

128:                                              ; preds = %114
  br label %129

129:                                              ; preds = %128
  %130 = load i32, ptr %14, align 4, !tbaa !9
  %131 = add i32 %130, 1
  store i32 %131, ptr %14, align 4, !tbaa !9
  %132 = load i32, ptr %9, align 4, !tbaa !9
  %133 = icmp ult i32 %131, %132
  br i1 %133, label %49, label %134, !llvm.loop !19

134:                                              ; preds = %129
  store i32 0, ptr %17, align 4
  br label %135

135:                                              ; preds = %134, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  %136 = load i32, ptr %17, align 4
  switch i32 %136, label %138 [
    i32 0, label %137
    i32 1, label %137
  ]

137:                                              ; preds = %135, %135
  ret void

138:                                              ; preds = %135
  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
@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 @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
declare hidden void @UnityPrintExpectedAndActualStrings(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

12:                                               ; preds = %6
  %13 = icmp eq i32 %2, 0
  br i1 %13, label %14, label %15

14:                                               ; preds = %12
  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

15:                                               ; preds = %12
  %16 = icmp eq ptr %0, %1
  br i1 %16, label %.loopexit54, label %17

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

19:                                               ; preds = %17
  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

20:                                               ; preds = %17
  %.not46 = icmp eq i32 %5, 1
  %spec.select = select i1 %.not46, ptr null, ptr %0
  %.pr = load i64, ptr getelementptr inbounds (i8, ptr @Unity, i64 64), align 8
  %.pr.fr = freeze i64 %.pr
  %.not51 = icmp eq i64 %.pr.fr, 0
  br i1 %.not51, label %.split.us, label %.split

.split.us:                                        ; preds = %20
  br i1 %.not46, label %.split.us.split.us.preheader, label %.split.us.split

.split.us.split.us.preheader:                     ; preds = %.split.us
  %wide.trip.count121 = zext i32 %2 to i64
  br label %.split.us.split.us

.split.us.split.us:                               ; preds = %.split.us.split.us.preheader, %.loopexit.us.us
  %indvars.iv118 = phi i64 [ 0, %.split.us.split.us.preheader ], [ %indvars.iv.next119, %.loopexit.us.us ]
  %21 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv118
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = getelementptr inbounds ptr, ptr %0, i64 %indvars.iv118
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  %25 = icmp ne ptr %24, null
  %26 = icmp ne ptr %22, null
  %or.cond3.us.us = select i1 %25, i1 %26, i1 false
  br i1 %or.cond3.us.us, label %.preheader.us.us, label %27

27:                                               ; preds = %.split.us.split.us
  %.not47.us.us = icmp eq ptr %24, %22
  br i1 %.not47.us.us, label %.loopexit.us.us, label %.thread.sink.split

.preheader.us.us:                                 ; preds = %.split.us.split.us, %.critedge.us.us
  %.040.us.us = phi i32 [ %33, %.critedge.us.us ], [ 0, %.split.us.split.us ]
  %28 = zext i32 %.040.us.us to i64
  %29 = getelementptr inbounds i8, ptr %24, i64 %28
  %30 = load i8, ptr %29, align 1, !tbaa !12
  %.not48.us.us = icmp eq i8 %30, 0
  %31 = getelementptr inbounds i8, ptr %22, i64 %28
  %32 = load i8, ptr %31, align 1, !tbaa !12
  %.not49.us.us = icmp eq i8 %32, 0
  %or.cond149 = select i1 %.not48.us.us, i1 %.not49.us.us, i1 false
  br i1 %or.cond149, label %.loopexit.us.us, label %.critedge.us.us

.critedge.us.us:                                  ; preds = %.preheader.us.us
  %.not50.us.us = icmp eq i8 %30, %32
  %33 = add i32 %.040.us.us, 1
  br i1 %.not50.us.us, label %.preheader.us.us, label %.thread.sink.split, !llvm.loop !13

.loopexit.us.us:                                  ; preds = %.preheader.us.us, %27
  %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1
  %exitcond122.not = icmp eq i64 %indvars.iv.next119, %wide.trip.count121
  br i1 %exitcond122.not, label %.loopexit54, label %.split.us.split.us, !llvm.loop !15

.split.us.split:                                  ; preds = %.split.us
  %.not90 = icmp eq ptr %0, null
  br i1 %.not90, label %.split.us.split.split.us, label %.split.us.split.split.preheader

.split.us.split.split.preheader:                  ; preds = %.split.us.split
  %wide.trip.count = zext i32 %2 to i64
  br label %.split.us.split.split

.split.us.split.split.us:                         ; preds = %.split.us.split, %37
  %.039.us.us81 = phi i32 [ %38, %37 ], [ 0, %.split.us.split ]
  %34 = zext i32 %.039.us.us81 to i64
  %35 = getelementptr inbounds ptr, ptr %1, i64 %34
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  %.not47.us.us83 = icmp eq ptr %36, null
  br i1 %.not47.us.us83, label %37, label %.thread.sink.split

37:                                               ; preds = %.split.us.split.split.us
  %38 = add nuw i32 %.039.us.us81, 1
  %exitcond117.not = icmp eq i32 %38, %2
  br i1 %exitcond117.not, label %.loopexit54, label %.split.us.split.split.us, !llvm.loop !15

.split.us.split.split:                            ; preds = %.split.us.split.split.preheader, %.loopexit.us
  %indvars.iv = phi i64 [ 0, %.split.us.split.split.preheader ], [ %indvars.iv.next, %.loopexit.us ]
  %39 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %40 = load ptr, ptr %39, align 8, !tbaa !11
  %.not91 = icmp eq ptr %40, null
  br i1 %.not91, label %.thread.sink.split, label %.preheader.us

.preheader.us:                                    ; preds = %.split.us.split.split, %.critedge.us
  %.040.us = phi i32 [ %46, %.critedge.us ], [ 0, %.split.us.split.split ]
  %41 = zext i32 %.040.us to i64
  %42 = getelementptr inbounds i8, ptr %spec.select, i64 %41
  %43 = load i8, ptr %42, align 1, !tbaa !12
  %.not48.us = icmp eq i8 %43, 0
  %44 = getelementptr inbounds i8, ptr %40, i64 %41
  %45 = load i8, ptr %44, align 1, !tbaa !12
  %.not49.us = icmp eq i8 %45, 0
  %or.cond150 = select i1 %.not48.us, i1 %.not49.us, i1 false
  br i1 %or.cond150, label %.loopexit.us, label %.critedge.us

.critedge.us:                                     ; preds = %.preheader.us
  %.not50.us = icmp eq i8 %43, %45
  %46 = add i32 %.040.us, 1
  br i1 %.not50.us, label %.preheader.us, label %.thread.sink.split, !llvm.loop !13

.loopexit.us:                                     ; preds = %.preheader.us
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit54, label %.split.us.split.split, !llvm.loop !15

.split:                                           ; preds = %20
  %47 = load ptr, ptr %1, align 8, !tbaa !11
  br i1 %.not46, label %48, label %50

48:                                               ; preds = %.split
  %49 = load ptr, ptr %0, align 8, !tbaa !11
  br label %50

50:                                               ; preds = %48, %.split
  %.2 = phi ptr [ %49, %48 ], [ %0, %.split ]
  %51 = icmp ne ptr %.2, null
  %52 = icmp ne ptr %47, null
  %or.cond3 = select i1 %51, i1 %52, i1 false
  br i1 %or.cond3, label %.preheader, label %59

.preheader:                                       ; preds = %50, %.critedge
  %.040 = phi i32 [ %58, %.critedge ], [ 0, %50 ]
  %53 = zext i32 %.040 to i64
  %54 = getelementptr inbounds i8, ptr %.2, i64 %53
  %55 = load i8, ptr %54, align 1, !tbaa !12
  %.not48 = icmp eq i8 %55, 0
  %56 = getelementptr inbounds i8, ptr %47, i64 %53
  %57 = load i8, ptr %56, align 1, !tbaa !12
  %.not49 = icmp eq i8 %57, 0
  %or.cond151 = select i1 %.not48, i1 %.not49, i1 false
  br i1 %or.cond151, label %.thread, label %.critedge

.critedge:                                        ; preds = %.preheader
  %.not50 = icmp eq i8 %55, %57
  %58 = add i32 %.040, 1
  br i1 %.not50, label %.preheader, label %.thread.sink.split, !llvm.loop !13

59:                                               ; preds = %50
  %.not47 = icmp eq ptr %.2, %47
  br i1 %.not47, label %.thread, label %.thread.sink.split

.thread.sink.split:                               ; preds = %.critedge, %.split.us.split.split, %.critedge.us, %.split.us.split.split.us, %27, %.critedge.us.us, %59
  %.265.ph = phi ptr [ %.2, %59 ], [ %24, %.critedge.us.us ], [ %24, %27 ], [ null, %.split.us.split.split.us ], [ %0, %.critedge.us ], [ %spec.select, %.split.us.split.split ], [ %.2, %.critedge ]
  %.ph = phi i64 [ 0, %59 ], [ %indvars.iv118, %.critedge.us.us ], [ %indvars.iv118, %27 ], [ %34, %.split.us.split.split.us ], [ %indvars.iv, %.critedge.us ], [ %indvars.iv, %.split.us.split.split ], [ 0, %.critedge ]
  %.ph152 = phi ptr [ %47, %59 ], [ %22, %.critedge.us.us ], [ %22, %27 ], [ %36, %.split.us.split.split.us ], [ %40, %.critedge.us ], [ null, %.split.us.split.split ], [ %47, %.critedge ]
  store i64 1, ptr getelementptr inbounds (i8, ptr @Unity, i64 64), align 8, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %.preheader, %.thread.sink.split, %59
  %.265 = phi ptr [ %.2, %59 ], [ %.265.ph, %.thread.sink.split ], [ %.2, %.preheader ]
  %60 = phi i64 [ 0, %59 ], [ %.ph, %.thread.sink.split ], [ 0, %.preheader ]
  %61 = phi ptr [ %47, %59 ], [ %.ph152, %.thread.sink.split ], [ %47, %.preheader ]
  tail call void @UnityTestResultsFailBegin(i64 noundef %4)
  %.not52 = icmp eq i32 %2, 1
  br i1 %.not52, label %63, label %62

62:                                               ; preds = %.thread
  tail call void @UnityPrint(ptr noundef nonnull @UnityStrElement)
  tail call void @UnityPrintNumberUnsigned(i64 noundef %60)
  br label %63

63:                                               ; preds = %62, %.thread
  tail call void @UnityPrintExpectedAndActualStrings(ptr noundef %.265, ptr noundef %61)
  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

.loopexit54:                                      ; preds = %.loopexit.us, %37, %.loopexit.us.us, %15
  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 = !{!7, !7, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


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