; LLVM IR from stivalaa/EstimNetDirected :: src/Random123-1.09/examples (kat_c)

; 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.kat_instance = type { i32, i32, %union.anon }
%union.anon = type { %struct.threefry4x64_kat }
%struct.threefry4x64_kat = type { %struct.r123array4x64, %struct.r123array4x64, %struct.r123array4x64, %struct.r123array4x64 }
%struct.r123array4x64 = type { [4 x i64] }
%struct.philox2x32_kat = type { %struct.r123array2x32, %struct.r123array1x32, %struct.r123array2x32, %struct.r123array2x32 }
%struct.r123array1x32 = type { [1 x i32] }
%struct.r123array2x32 = type { [2 x i32] }
%struct.philox4x32_kat = type { %struct.r123array4x32, %struct.r123array2x32, %struct.r123array4x32, %struct.r123array4x32 }
%struct.r123array4x32 = type { [4 x i32] }
%struct.philox2x64_kat = type { %struct.r123array2x64, %struct.r123array1x64, %struct.r123array2x64, %struct.r123array2x64 }
%struct.r123array1x64 = type { [1 x i64] }
%struct.r123array2x64 = type { [2 x i64] }
%struct.philox4x64_kat = type { %struct.r123array4x64, %struct.r123array2x64, %struct.r123array4x64, %struct.r123array4x64 }
%struct.threefry2x32_kat = type { %struct.r123array2x32, %struct.r123array2x32, %struct.r123array2x32, %struct.r123array2x32 }
%struct.threefry2x64_kat = type { %struct.r123array2x64, %struct.r123array2x64, %struct.r123array2x64, %struct.r123array2x64 }
%struct.threefry4x32_kat = type { %struct.r123array4x32, %struct.r123array4x32, %struct.r123array4x32, %struct.r123array4x32 }

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @report_philox2x32error(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @report_philox4x32error(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @report_philox2x64error(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @report_philox4x64error(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @report_threefry2x32error(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @report_threefry2x64error(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @report_threefry4x32error(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @report_threefry4x64error(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @analyze_tests(ptr noundef %0, i64 noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  store i64 0, ptr %5, align 8, !tbaa !9
  br label %7

7:                                                ; preds = %150, %2
  %8 = load i64, ptr %5, align 8, !tbaa !9
  %9 = load i64, ptr %4, align 8, !tbaa !9
  %10 = icmp ult i64 %8, %9
  br i1 %10, label %11, label %153

11:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = load i64, ptr %5, align 8, !tbaa !9
  %14 = getelementptr inbounds %struct.kat_instance, ptr %12, i64 %13
  store ptr %14, ptr %6, align 8, !tbaa !5
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = load i64, ptr %5, align 8, !tbaa !9
  %17 = getelementptr inbounds %struct.kat_instance, ptr %15, i64 %16
  %18 = getelementptr inbounds %struct.kat_instance, ptr %17, i32 0, i32 0
  %19 = load i32, ptr %18, align 8, !tbaa !11
  switch i32 %19, label %149 [
    i32 0, label %20
    i32 1, label %36
    i32 2, label %52
    i32 3, label %68
    i32 4, label %84
    i32 5, label %100
    i32 6, label %116
    i32 7, label %132
    i32 8, label %148
  ]

20:                                               ; preds = %11
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.kat_instance, ptr %21, i32 0, i32 2
  %23 = getelementptr inbounds %struct.philox2x32_kat, ptr %22, i32 0, i32 3
  %24 = getelementptr inbounds %struct.r123array2x32, ptr %23, i32 0, i32 0
  %25 = getelementptr inbounds [2 x i32], ptr %24, i64 0, i64 0
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.kat_instance, ptr %26, i32 0, i32 2
  %28 = getelementptr inbounds %struct.philox2x32_kat, ptr %27, i32 0, i32 2
  %29 = getelementptr inbounds %struct.r123array2x32, ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds [2 x i32], ptr %29, i64 0, i64 0
  %31 = call i32 @memcmp(ptr noundef %25, ptr noundef %30, i64 noundef 8) #4
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %35

33:                                               ; preds = %20
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  call void @report_philox2x32error(ptr noundef %34)
  br label %35

35:                                               ; preds = %33, %20
  br label %149

36:                                               ; preds = %11
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.kat_instance, ptr %37, i32 0, i32 2
  %39 = getelementptr inbounds %struct.philox4x32_kat, ptr %38, i32 0, i32 3
  %40 = getelementptr inbounds %struct.r123array4x32, ptr %39, i32 0, i32 0
  %41 = getelementptr inbounds [4 x i32], ptr %40, i64 0, i64 0
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.kat_instance, ptr %42, i32 0, i32 2
  %44 = getelementptr inbounds %struct.philox4x32_kat, ptr %43, i32 0, i32 2
  %45 = getelementptr inbounds %struct.r123array4x32, ptr %44, i32 0, i32 0
  %46 = getelementptr inbounds [4 x i32], ptr %45, i64 0, i64 0
  %47 = call i32 @memcmp(ptr noundef %41, ptr noundef %46, i64 noundef 16) #4
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %51

49:                                               ; preds = %36
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  call void @report_philox4x32error(ptr noundef %50)
  br label %51

51:                                               ; preds = %49, %36
  br label %149

52:                                               ; preds = %11
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.kat_instance, ptr %53, i32 0, i32 2
  %55 = getelementptr inbounds %struct.philox2x64_kat, ptr %54, i32 0, i32 3
  %56 = getelementptr inbounds %struct.r123array2x64, ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds [2 x i64], ptr %56, i64 0, i64 0
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.kat_instance, ptr %58, i32 0, i32 2
  %60 = getelementptr inbounds %struct.philox2x64_kat, ptr %59, i32 0, i32 2
  %61 = getelementptr inbounds %struct.r123array2x64, ptr %60, i32 0, i32 0
  %62 = getelementptr inbounds [2 x i64], ptr %61, i64 0, i64 0
  %63 = call i32 @memcmp(ptr noundef %57, ptr noundef %62, i64 noundef 16) #4
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %67

65:                                               ; preds = %52
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  call void @report_philox2x64error(ptr noundef %66)
  br label %67

67:                                               ; preds = %65, %52
  br label %149

68:                                               ; preds = %11
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.kat_instance, ptr %69, i32 0, i32 2
  %71 = getelementptr inbounds %struct.philox4x64_kat, ptr %70, i32 0, i32 3
  %72 = getelementptr inbounds %struct.r123array4x64, ptr %71, i32 0, i32 0
  %73 = getelementptr inbounds [4 x i64], ptr %72, i64 0, i64 0
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.kat_instance, ptr %74, i32 0, i32 2
  %76 = getelementptr inbounds %struct.philox4x64_kat, ptr %75, i32 0, i32 2
  %77 = getelementptr inbounds %struct.r123array4x64, ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds [4 x i64], ptr %77, i64 0, i64 0
  %79 = call i32 @memcmp(ptr noundef %73, ptr noundef %78, i64 noundef 32) #4
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %83

81:                                               ; preds = %68
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  call void @report_philox4x64error(ptr noundef %82)
  br label %83

83:                                               ; preds = %81, %68
  br label %149

84:                                               ; preds = %11
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.kat_instance, ptr %85, i32 0, i32 2
  %87 = getelementptr inbounds %struct.threefry2x32_kat, ptr %86, i32 0, i32 3
  %88 = getelementptr inbounds %struct.r123array2x32, ptr %87, i32 0, i32 0
  %89 = getelementptr inbounds [2 x i32], ptr %88, i64 0, i64 0
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.kat_instance, ptr %90, i32 0, i32 2
  %92 = getelementptr inbounds %struct.threefry2x32_kat, ptr %91, i32 0, i32 2
  %93 = getelementptr inbounds %struct.r123array2x32, ptr %92, i32 0, i32 0
  %94 = getelementptr inbounds [2 x i32], ptr %93, i64 0, i64 0
  %95 = call i32 @memcmp(ptr noundef %89, ptr noundef %94, i64 noundef 8) #4
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %99

97:                                               ; preds = %84
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  call void @report_threefry2x32error(ptr noundef %98)
  br label %99

99:                                               ; preds = %97, %84
  br label %149

100:                                              ; preds = %11
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.kat_instance, ptr %101, i32 0, i32 2
  %103 = getelementptr inbounds %struct.threefry2x64_kat, ptr %102, i32 0, i32 3
  %104 = getelementptr inbounds %struct.r123array2x64, ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds [2 x i64], ptr %104, i64 0, i64 0
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.kat_instance, ptr %106, i32 0, i32 2
  %108 = getelementptr inbounds %struct.threefry2x64_kat, ptr %107, i32 0, i32 2
  %109 = getelementptr inbounds %struct.r123array2x64, ptr %108, i32 0, i32 0
  %110 = getelementptr inbounds [2 x i64], ptr %109, i64 0, i64 0
  %111 = call i32 @memcmp(ptr noundef %105, ptr noundef %110, i64 noundef 16) #4
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %115

113:                                              ; preds = %100
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  call void @report_threefry2x64error(ptr noundef %114)
  br label %115

115:                                              ; preds = %113, %100
  br label %149

116:                                              ; preds = %11
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.kat_instance, ptr %117, i32 0, i32 2
  %119 = getelementptr inbounds %struct.threefry4x32_kat, ptr %118, i32 0, i32 3
  %120 = getelementptr inbounds %struct.r123array4x32, ptr %119, i32 0, i32 0
  %121 = getelementptr inbounds [4 x i32], ptr %120, i64 0, i64 0
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.kat_instance, ptr %122, i32 0, i32 2
  %124 = getelementptr inbounds %struct.threefry4x32_kat, ptr %123, i32 0, i32 2
  %125 = getelementptr inbounds %struct.r123array4x32, ptr %124, i32 0, i32 0
  %126 = getelementptr inbounds [4 x i32], ptr %125, i64 0, i64 0
  %127 = call i32 @memcmp(ptr noundef %121, ptr noundef %126, i64 noundef 16) #4
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %131

129:                                              ; preds = %116
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  call void @report_threefry4x32error(ptr noundef %130)
  br label %131

131:                                              ; preds = %129, %116
  br label %149

132:                                              ; preds = %11
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.kat_instance, ptr %133, i32 0, i32 2
  %135 = getelementptr inbounds %struct.threefry4x64_kat, ptr %134, i32 0, i32 3
  %136 = getelementptr inbounds %struct.r123array4x64, ptr %135, i32 0, i32 0
  %137 = getelementptr inbounds [4 x i64], ptr %136, i64 0, i64 0
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.kat_instance, ptr %138, i32 0, i32 2
  %140 = getelementptr inbounds %struct.threefry4x64_kat, ptr %139, i32 0, i32 2
  %141 = getelementptr inbounds %struct.r123array4x64, ptr %140, i32 0, i32 0
  %142 = getelementptr inbounds [4 x i64], ptr %141, i64 0, i64 0
  %143 = call i32 @memcmp(ptr noundef %137, ptr noundef %142, i64 noundef 32) #4
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %147

145:                                              ; preds = %132
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  call void @report_threefry4x64error(ptr noundef %146)
  br label %147

147:                                              ; preds = %145, %132
  br label %149

148:                                              ; preds = %11
  br label %149

149:                                              ; preds = %148, %147, %131, %115, %99, %83, %67, %51, %35, %11
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %150

150:                                              ; preds = %149
  %151 = load i64, ptr %5, align 8, !tbaa !9
  %152 = add i64 %151, 1
  store i64 %152, ptr %5, align 8, !tbaa !9
  br label %7, !llvm.loop !14

153:                                              ; preds = %7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret void
}

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nounwind willreturn memory(read) "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 = { nounwind willreturn memory(read) }

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 4, !7, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"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.kat_instance = type { i32, i32, %union.anon }
%union.anon = type { %struct.threefry4x64_kat }
%struct.threefry4x64_kat = type { %struct.r123array4x64, %struct.r123array4x64, %struct.r123array4x64, %struct.r123array4x64 }
%struct.r123array4x64 = type { [4 x i64] }

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @analyze_tests(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
  %.not45 = icmp eq i64 %1, 0
  br i1 %.not45, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2, %37
  %.044 = phi i64 [ %38, %37 ], [ 0, %2 ]
  %3 = getelementptr inbounds %struct.kat_instance, ptr %0, i64 %.044
  %4 = load i32, ptr %3, align 8, !tbaa !5
  switch i32 %4, label %37 [
    i32 0, label %5
    i32 1, label %9
    i32 2, label %13
    i32 3, label %17
    i32 4, label %21
    i32 5, label %25
    i32 6, label %29
    i32 7, label %33
  ]

5:                                                ; preds = %.lr.ph
  %6 = getelementptr inbounds i8, ptr %3, i64 28
  %7 = getelementptr inbounds i8, ptr %3, i64 20
  %bcmp42 = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(8) %6, ptr noundef nonnull dereferenceable(8) %7, i64 8)
  %.not43 = icmp eq i32 %bcmp42, 0
  br i1 %.not43, label %37, label %8

8:                                                ; preds = %5
  tail call void @report_philox2x32error(ptr noundef nonnull %3)
  br label %37

9:                                                ; preds = %.lr.ph
  %10 = getelementptr inbounds i8, ptr %3, i64 48
  %11 = getelementptr inbounds i8, ptr %3, i64 32
  %bcmp40 = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %10, ptr noundef nonnull dereferenceable(16) %11, i64 16)
  %.not41 = icmp eq i32 %bcmp40, 0
  br i1 %.not41, label %37, label %12

12:                                               ; preds = %9
  tail call void @report_philox4x32error(ptr noundef nonnull %3)
  br label %37

13:                                               ; preds = %.lr.ph
  %14 = getelementptr inbounds i8, ptr %3, i64 48
  %15 = getelementptr inbounds i8, ptr %3, i64 32
  %bcmp38 = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %14, ptr noundef nonnull dereferenceable(16) %15, i64 16)
  %.not39 = icmp eq i32 %bcmp38, 0
  br i1 %.not39, label %37, label %16

16:                                               ; preds = %13
  tail call void @report_philox2x64error(ptr noundef nonnull %3)
  br label %37

17:                                               ; preds = %.lr.ph
  %18 = getelementptr inbounds i8, ptr %3, i64 88
  %19 = getelementptr inbounds i8, ptr %3, i64 56
  %bcmp36 = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %18, ptr noundef nonnull dereferenceable(32) %19, i64 32)
  %.not37 = icmp eq i32 %bcmp36, 0
  br i1 %.not37, label %37, label %20

20:                                               ; preds = %17
  tail call void @report_philox4x64error(ptr noundef nonnull %3)
  br label %37

21:                                               ; preds = %.lr.ph
  %22 = getelementptr inbounds i8, ptr %3, i64 32
  %23 = getelementptr inbounds i8, ptr %3, i64 24
  %bcmp34 = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(8) %22, ptr noundef nonnull dereferenceable(8) %23, i64 8)
  %.not35 = icmp eq i32 %bcmp34, 0
  br i1 %.not35, label %37, label %24

24:                                               ; preds = %21
  tail call void @report_threefry2x32error(ptr noundef nonnull %3)
  br label %37

25:                                               ; preds = %.lr.ph
  %26 = getelementptr inbounds i8, ptr %3, i64 56
  %27 = getelementptr inbounds i8, ptr %3, i64 40
  %bcmp32 = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %26, ptr noundef nonnull dereferenceable(16) %27, i64 16)
  %.not33 = icmp eq i32 %bcmp32, 0
  br i1 %.not33, label %37, label %28

28:                                               ; preds = %25
  tail call void @report_threefry2x64error(ptr noundef nonnull %3)
  br label %37

29:                                               ; preds = %.lr.ph
  %30 = getelementptr inbounds i8, ptr %3, i64 56
  %31 = getelementptr inbounds i8, ptr %3, i64 40
  %bcmp30 = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %30, ptr noundef nonnull dereferenceable(16) %31, i64 16)
  %.not31 = icmp eq i32 %bcmp30, 0
  br i1 %.not31, label %37, label %32

32:                                               ; preds = %29
  tail call void @report_threefry4x32error(ptr noundef nonnull %3)
  br label %37

33:                                               ; preds = %.lr.ph
  %34 = getelementptr inbounds i8, ptr %3, i64 104
  %35 = getelementptr inbounds i8, ptr %3, i64 72
  %bcmp = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %34, ptr noundef nonnull dereferenceable(32) %35, i64 32)
  %.not = icmp eq i32 %bcmp, 0
  br i1 %.not, label %37, label %36

36:                                               ; preds = %33
  tail call void @report_threefry4x64error(ptr noundef nonnull %3)
  br label %37

37:                                               ; preds = %33, %36, %29, %32, %25, %28, %21, %24, %17, %20, %13, %16, %9, %12, %5, %8, %.lr.ph
  %38 = add nuw i64 %.044, 1
  %exitcond.not = icmp eq i64 %38, %1
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !10

._crit_edge:                                      ; preds = %37, %2
  ret void
}

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #1

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 = { nofree nounwind willreturn memory(argmem: read) }

!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, !7, i64 0}
!6 = !{!"", !7, i64 0, !7, i64 4, !8, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass