; LLVM IR from interpretml/interpret :: shared/libebm/RandomDeterministic.ll (ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm)

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

%"class.NAMESPACE_MAIN::RandomDeterministic" = type { i64, i64, i64 }

@.str = external hidden unnamed_addr constant [93 x i8], align 1
@__func__._ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [95 x i8], align 1
@__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm = external hidden unnamed_addr constant [69 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [56 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic23GetOneTimePadConversionEm(i64 noundef) #0 align 2

declare void @LogAssertFailure(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i8, align 1
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  %17 = load ptr, ptr %3, align 8
  %18 = getelementptr inbounds %"class.NAMESPACE_MAIN::RandomDeterministic", ptr %17, i32 0, i32 0
  store i64 -6386364257623724803, ptr %18, align 8, !tbaa !11
  %19 = getelementptr inbounds %"class.NAMESPACE_MAIN::RandomDeterministic", ptr %17, i32 0, i32 1
  store i64 -6386364257623724803, ptr %19, align 8, !tbaa !13
  %20 = getelementptr inbounds %"class.NAMESPACE_MAIN::RandomDeterministic", ptr %17, i32 0, i32 2
  store i64 -6386364257623724803, ptr %20, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %21 = load i64, ptr %4, align 8, !tbaa !9
  %22 = call noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic23GetOneTimePadConversionEm(i64 noundef %21)
  store i64 %22, ptr %5, align 8, !tbaa !9
  %23 = load i64, ptr %5, align 8, !tbaa !9
  %24 = load i64, ptr %5, align 8, !tbaa !9
  %25 = icmp eq i64 %23, %24
  br i1 %25, label %28, label %26

26:                                               ; preds = %2
  call void @LogAssertFailure(i64 noundef 112, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm, ptr noundef @.str.3)
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str, i32 noundef 112, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm) #7
  unreachable

27:                                               ; No predecessors!
  br label %28

28:                                               ; preds = %27, %2
  %29 = phi i1 [ true, %2 ], [ false, %27 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %30 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %30, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %31 = load i64, ptr %6, align 8, !tbaa !9
  %32 = and i64 15, %31
  %33 = or i64 %32, 1
  store i64 %33, ptr %7, align 8, !tbaa !9
  %34 = load i64, ptr %6, align 8, !tbaa !9
  %35 = lshr i64 %34, 4
  store i64 %35, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %36 = load i64, ptr %7, align 8, !tbaa !9
  %37 = shl i64 1, %36
  %38 = or i64 %37, 1
  store i64 %38, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 1, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  store i8 60, ptr %10, align 1, !tbaa !15
  br label %39

39:                                               ; preds = %123, %28
  br label %40

40:                                               ; preds = %39
  br label %41

41:                                               ; preds = %115, %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %42 = load i64, ptr %6, align 8, !tbaa !9
  %43 = and i64 15, %42
  store i64 %43, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %44 = load i64, ptr %11, align 8, !tbaa !9
  %45 = shl i64 1, %44
  store i64 %45, ptr %12, align 8, !tbaa !9
  %46 = load i64, ptr %12, align 8, !tbaa !9
  %47 = load i64, ptr %9, align 8, !tbaa !9
  %48 = and i64 %46, %47
  %49 = icmp eq i64 0, %48
  %50 = xor i1 %49, true
  %51 = xor i1 %50, true
  %52 = zext i1 %51 to i64
  %53 = call i64 @llvm.expect.i64(i64 %52, i64 1)
  %54 = icmp ne i64 %53, 0
  br i1 %54, label %55, label %109

55:                                               ; preds = %41
  %56 = load i64, ptr %11, align 8, !tbaa !9
  %57 = load i8, ptr %10, align 1, !tbaa !15
  %58 = zext i8 %57 to i32
  %59 = zext i32 %58 to i64
  %60 = shl i64 %56, %59
  %61 = load i64, ptr %7, align 8, !tbaa !9
  %62 = or i64 %61, %60
  store i64 %62, ptr %7, align 8, !tbaa !9
  %63 = load i8, ptr %10, align 1, !tbaa !15
  %64 = zext i8 %63 to i32
  %65 = sub nsw i32 %64, 4
  %66 = trunc i32 %65 to i8
  store i8 %66, ptr %10, align 1, !tbaa !15
  %67 = load i8, ptr %10, align 1, !tbaa !15
  %68 = zext i8 %67 to i32
  %69 = icmp eq i32 0, %68
  %70 = xor i1 %69, true
  %71 = xor i1 %70, true
  %72 = zext i1 %71 to i64
  %73 = call i64 @llvm.expect.i64(i64 %72, i64 0)
  %74 = icmp ne i64 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %55
  store i32 6, ptr %13, align 4
  br label %112

76:                                               ; preds = %55
  %77 = load i64, ptr %12, align 8, !tbaa !9
  %78 = load i64, ptr %9, align 8, !tbaa !9
  %79 = or i64 %78, %77
  store i64 %79, ptr %9, align 8, !tbaa !9
  %80 = load i8, ptr %10, align 1, !tbaa !15
  %81 = zext i8 %80 to i32
  %82 = icmp eq i32 28, %81
  %83 = xor i1 %82, true
  %84 = xor i1 %83, true
  %85 = zext i1 %84 to i64
  %86 = call i64 @llvm.expect.i64(i64 %85, i64 0)
  %87 = icmp ne i64 %86, 0
  br i1 %87, label %97, label %88

88:                                               ; preds = %76
  %89 = load i8, ptr %10, align 1, !tbaa !15
  %90 = zext i8 %89 to i32
  %91 = icmp eq i32 24, %90
  %92 = xor i1 %91, true
  %93 = xor i1 %92, true
  %94 = zext i1 %93 to i64
  %95 = call i64 @llvm.expect.i64(i64 %94, i64 0)
  %96 = icmp ne i64 %95, 0
  br label %97

97:                                               ; preds = %88, %76
  %98 = phi i1 [ true, %76 ], [ %96, %88 ]
  %99 = xor i1 %98, true
  %100 = xor i1 %99, true
  %101 = zext i1 %100 to i64
  %102 = call i64 @llvm.expect.i64(i64 %101, i64 0)
  %103 = icmp ne i64 %102, 0
  br i1 %103, label %104, label %108

104:                                              ; preds = %97
  %105 = load i64, ptr %12, align 8, !tbaa !9
  %106 = load i64, ptr %8, align 8, !tbaa !9
  %107 = or i64 %105, %106
  store i64 %107, ptr %9, align 8, !tbaa !9
  br label %108

108:                                              ; preds = %104, %97
  br label %109

109:                                              ; preds = %108, %41
  %110 = load i64, ptr %6, align 8, !tbaa !9
  %111 = lshr i64 %110, 4
  store i64 %111, ptr %6, align 8, !tbaa !9
  store i32 0, ptr %13, align 4
  br label %112

112:                                              ; preds = %109, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %113 = load i32, ptr %13, align 4
  switch i32 %113, label %149 [
    i32 0, label %114
    i32 6, label %134
  ]

114:                                              ; preds = %112
  br label %115

115:                                              ; preds = %114
  %116 = load i64, ptr %6, align 8, !tbaa !9
  %117 = icmp ne i64 0, %116
  %118 = xor i1 %117, true
  %119 = xor i1 %118, true
  %120 = zext i1 %119 to i64
  %121 = call i64 @llvm.expect.i64(i64 %120, i64 1)
  %122 = icmp ne i64 %121, 0
  br i1 %122, label %41, label %123, !llvm.loop !16

123:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %124 = call noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic6Rand32Ev(ptr noundef nonnull align 8 dereferenceable(24) %17)
  store i64 %124, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %125 = call noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic6Rand32Ev(ptr noundef nonnull align 8 dereferenceable(24) %17)
  store i64 %125, ptr %15, align 8, !tbaa !9
  %126 = load i64, ptr %5, align 8, !tbaa !9
  %127 = load i64, ptr %14, align 8, !tbaa !9
  %128 = shl i64 %127, 32
  %129 = load i64, ptr %15, align 8, !tbaa !9
  %130 = or i64 %128, %129
  %131 = xor i64 %126, %130
  %132 = call noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic23GetOneTimePadConversionEm(i64 noundef %131)
  store i64 %132, ptr %5, align 8, !tbaa !9
  %133 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %133, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %39, !llvm.loop !18

134:                                              ; preds = %112
  %135 = load i64, ptr %7, align 8, !tbaa !9
  %136 = urem i64 %135, 2
  %137 = icmp eq i64 1, %136
  br i1 %137, label %140, label %138

138:                                              ; preds = %134
  call void @LogAssertFailure(i64 noundef 159, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm, ptr noundef @.str.5)
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str, i32 noundef 159, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm) #7
  unreachable

139:                                              ; No predecessors!
  br label %140

140:                                              ; preds = %139, %134
  %141 = phi i1 [ true, %134 ], [ false, %139 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %142 = load i64, ptr %7, align 8, !tbaa !9
  store i64 %142, ptr %16, align 8, !tbaa !9
  %143 = load i64, ptr %16, align 8, !tbaa !9
  %144 = getelementptr inbounds %"class.NAMESPACE_MAIN::RandomDeterministic", ptr %17, i32 0, i32 0
  store i64 %143, ptr %144, align 8, !tbaa !11
  %145 = load i64, ptr %16, align 8, !tbaa !9
  %146 = getelementptr inbounds %"class.NAMESPACE_MAIN::RandomDeterministic", ptr %17, i32 0, i32 1
  store i64 %145, ptr %146, align 8, !tbaa !13
  %147 = load i64, ptr %16, align 8, !tbaa !9
  %148 = getelementptr inbounds %"class.NAMESPACE_MAIN::RandomDeterministic", ptr %17, i32 0, i32 2
  store i64 %147, ptr %148, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void

149:                                              ; preds = %112
  unreachable
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic6Rand32Ev(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

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


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

@.str = external hidden unnamed_addr constant [93 x i8], align 1
@__func__._ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm = external hidden unnamed_addr constant [11 x i8], align 1
@__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm = external hidden unnamed_addr constant [69 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [56 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic23GetOneTimePadConversionEm(i64 noundef) local_unnamed_addr #0 align 2

declare void @LogAssertFailure(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %1) local_unnamed_addr #0 align 2 {
  store i64 -6386364257623724803, ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 -6386364257623724803, ptr %3, align 8, !tbaa !10
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  store i64 -6386364257623724803, ptr %4, align 8, !tbaa !11
  %5 = tail call noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic23GetOneTimePadConversionEm(i64 noundef %1)
  %6 = and i64 %5, 14
  %7 = or disjoint i64 %6, 1
  %8 = lshr i64 %5, 4
  %9 = shl nuw nsw i64 2, %6
  %10 = or disjoint i64 %9, 1
  br label %11

11:                                               ; preds = %29, %2
  %.043 = phi i8 [ 60, %2 ], [ %.245, %29 ]
  %.039 = phi i64 [ 1, %2 ], [ %.241, %29 ]
  %.035 = phi i64 [ %7, %2 ], [ %.237, %29 ]
  %.034 = phi i64 [ %8, %2 ], [ %35, %29 ]
  %.0 = phi i64 [ %5, %2 ], [ %35, %29 ]
  br label %12

12:                                               ; preds = %27, %11
  %.144 = phi i8 [ %.043, %11 ], [ %.245, %27 ]
  %.140 = phi i64 [ %.039, %11 ], [ %.241, %27 ]
  %.136 = phi i64 [ %.035, %11 ], [ %.237, %27 ]
  %.1 = phi i64 [ %.034, %11 ], [ %28, %27 ]
  %13 = and i64 %.1, 15
  %14 = shl nuw nsw i64 1, %13
  %15 = and i64 %14, %.140
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %17, label %27, !prof !12

17:                                               ; preds = %12
  %18 = zext nneg i8 %.144 to i64
  %19 = shl i64 %13, %18
  %20 = or i64 %19, %.136
  %21 = add i8 %.144, -4
  %22 = icmp eq i8 %21, 0
  br i1 %22, label %36, label %23, !prof !13

23:                                               ; preds = %17
  %24 = or i64 %14, %.140
  switch i8 %.144, label %27 [
    i8 32, label %25
    i8 28, label %25
  ]

25:                                               ; preds = %23, %23
  %26 = or i64 %14, %10
  br label %27

27:                                               ; preds = %12, %25, %23
  %.245 = phi i8 [ %21, %25 ], [ %21, %23 ], [ %.144, %12 ]
  %.241 = phi i64 [ %26, %25 ], [ %24, %23 ], [ %.140, %12 ]
  %.237 = phi i64 [ %20, %25 ], [ %20, %23 ], [ %.136, %12 ]
  %28 = lshr i64 %.1, 4
  %.not48 = icmp ult i64 %.1, 16
  br i1 %.not48, label %29, label %12, !prof !13, !llvm.loop !14

29:                                               ; preds = %27
  %30 = tail call noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic6Rand32Ev(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %31 = tail call noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic6Rand32Ev(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %32 = shl i64 %30, 32
  %33 = or i64 %32, %31
  %34 = xor i64 %33, %.0
  %35 = tail call noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic23GetOneTimePadConversionEm(i64 noundef %34)
  br label %11, !llvm.loop !16

36:                                               ; preds = %17
  %37 = and i64 %20, 1
  %.not = icmp eq i64 %37, 0
  br i1 %.not, label %38, label %39

38:                                               ; preds = %36
  tail call void @LogAssertFailure(i64 noundef 159, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm, ptr noundef nonnull @.str.5)
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str, i32 noundef 159, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm) #4
  unreachable

39:                                               ; preds = %36
  store i64 %20, ptr %0, align 8, !tbaa !5
  store i64 %20, ptr %3, align 8, !tbaa !10
  store i64 %20, ptr %4, align 8, !tbaa !11
  ret void
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN14NAMESPACE_MAIN19RandomDeterministic6Rand32Ev(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 "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 = { alwaysinline mustprogress 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 #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, !7, i64 0}
!6 = !{!"_ZTSN14NAMESPACE_MAIN19RandomDeterministicE", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 16}
!12 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!13 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopUnrollPass,LowerExpectIntrinsicPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass