; LLVM IR from intuitive-robots/mdt_policy :: pyhash-0.9.3/src/smhasher/Types.ll (Z23GenerateMixingConstantsv)

; 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.Rand = type { i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z7isprimej(i32 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: mustprogress uwtable
define dso_local void @_Z23GenerateMixingConstantsv() #2 {
  %1 = alloca %struct.Rand, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [256 x i8], align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %1) #6
  call void @_ZN4RandC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef 8350147)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 0, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %15

15:                                               ; preds = %134, %132, %0
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = icmp slt i32 %16, 100
  br i1 %17, label %18, label %135

18:                                               ; preds = %15
  %19 = load i32, ptr %3, align 4, !tbaa !5
  %20 = add nsw i32 %19, 1
  store i32 %20, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %21 = call noundef i32 @_ZN4Rand8rand_u32Ev(ptr noundef nonnull align 4 dereferenceable(16) %1)
  store i32 %21, ptr %8, align 4, !tbaa !5
  %22 = load i32, ptr %8, align 4, !tbaa !5
  %23 = call noundef i32 @_Z8popcountj(i32 noundef %22)
  %24 = icmp ult i32 %23, 16
  br i1 %24, label %25, label %28

25:                                               ; preds = %18
  store i32 0, ptr %8, align 4, !tbaa !5
  %26 = load i32, ptr %5, align 4, !tbaa !5
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %5, align 4, !tbaa !5
  br label %28

28:                                               ; preds = %25, %18
  %29 = load i32, ptr %8, align 4, !tbaa !5
  %30 = call noundef i32 @_Z8popcountj(i32 noundef %29)
  %31 = icmp ugt i32 %30, 16
  br i1 %31, label %32, label %35

32:                                               ; preds = %28
  store i32 0, ptr %8, align 4, !tbaa !5
  %33 = load i32, ptr %5, align 4, !tbaa !5
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %5, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %32, %28
  %36 = load i32, ptr %8, align 4, !tbaa !5
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %35
  store i32 2, ptr %9, align 4
  br label %132, !llvm.loop !9

39:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %67, %39
  %41 = load i32, ptr %10, align 4, !tbaa !5
  %42 = icmp slt i32 %41, 32
  br i1 %42, label %44, label %43

43:                                               ; preds = %40
  store i32 4, ptr %9, align 4
  br label %70

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %45 = load i32, ptr %8, align 4, !tbaa !5
  %46 = load i32, ptr %10, align 4, !tbaa !5
  %47 = trunc i32 %46 to i8
  %48 = call noundef i32 @_Z6rotl32ja(i32 noundef %45, i8 noundef signext %47)
  %49 = and i32 %48, 255
  store i32 %49, ptr %11, align 4, !tbaa !5
  %50 = load i32, ptr %11, align 4, !tbaa !5
  %51 = call noundef i32 @_Z8popcountj(i32 noundef %50)
  %52 = icmp ult i32 %51, 3
  br i1 %52, label %53, label %56

53:                                               ; preds = %44
  store i32 0, ptr %8, align 4, !tbaa !5
  %54 = load i32, ptr %4, align 4, !tbaa !5
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %4, align 4, !tbaa !5
  store i32 4, ptr %9, align 4
  br label %64

56:                                               ; preds = %44
  %57 = load i32, ptr %11, align 4, !tbaa !5
  %58 = call noundef i32 @_Z8popcountj(i32 noundef %57)
  %59 = icmp ugt i32 %58, 5
  br i1 %59, label %60, label %63

60:                                               ; preds = %56
  store i32 0, ptr %8, align 4, !tbaa !5
  %61 = load i32, ptr %4, align 4, !tbaa !5
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %4, align 4, !tbaa !5
  store i32 4, ptr %9, align 4
  br label %64

63:                                               ; preds = %56
  store i32 0, ptr %9, align 4
  br label %64

64:                                               ; preds = %63, %60, %53
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  %65 = load i32, ptr %9, align 4
  switch i32 %65, label %70 [
    i32 0, label %66
  ]

66:                                               ; preds = %64
  br label %67

67:                                               ; preds = %66
  %68 = load i32, ptr %10, align 4, !tbaa !5
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %10, align 4, !tbaa !5
  br label %40, !llvm.loop !11

70:                                               ; preds = %64, %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %71

71:                                               ; preds = %70
  %72 = load i32, ptr %8, align 4, !tbaa !5
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %71
  store i32 2, ptr %9, align 4
  br label %132, !llvm.loop !9

75:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 256, ptr %12) #6
  %76 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %76, i8 0, i64 256, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %77

77:                                               ; preds = %102, %75
  %78 = load i32, ptr %13, align 4, !tbaa !5
  %79 = icmp slt i32 %78, 32
  br i1 %79, label %81, label %80

80:                                               ; preds = %77
  store i32 7, ptr %9, align 4
  br label %105

81:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %82 = load i32, ptr %8, align 4, !tbaa !5
  %83 = load i32, ptr %13, align 4, !tbaa !5
  %84 = trunc i32 %83 to i8
  %85 = call noundef i32 @_Z6rotl32ja(i32 noundef %82, i8 noundef signext %84)
  %86 = and i32 %85, 255
  store i32 %86, ptr %14, align 4, !tbaa !5
  %87 = load i32, ptr %14, align 4, !tbaa !5
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %88
  %90 = load i8, ptr %89, align 1, !tbaa !12
  %91 = icmp ne i8 %90, 0
  br i1 %91, label %92, label %95

92:                                               ; preds = %81
  store i32 0, ptr %8, align 4, !tbaa !5
  %93 = load i32, ptr %6, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %6, align 4, !tbaa !5
  store i32 7, ptr %9, align 4
  br label %99

95:                                               ; preds = %81
  %96 = load i32, ptr %14, align 4, !tbaa !5
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %97
  store i8 1, ptr %98, align 1, !tbaa !12
  store i32 0, ptr %9, align 4
  br label %99

99:                                               ; preds = %95, %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  %100 = load i32, ptr %9, align 4
  switch i32 %100, label %105 [
    i32 0, label %101
  ]

101:                                              ; preds = %99
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %13, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %13, align 4, !tbaa !5
  br label %77, !llvm.loop !13

105:                                              ; preds = %99, %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %106

106:                                              ; preds = %105
  %107 = load i32, ptr %8, align 4, !tbaa !5
  %108 = icmp eq i32 %107, 0
  br i1 %108, label %109, label %110

109:                                              ; preds = %106
  store i32 2, ptr %9, align 4
  br label %131, !llvm.loop !9

110:                                              ; preds = %106
  %111 = load i32, ptr %8, align 4, !tbaa !5
  %112 = call noundef zeroext i1 @_Z7isprimej(i32 noundef %111)
  br i1 %112, label %116, label %113

113:                                              ; preds = %110
  store i32 0, ptr %8, align 4, !tbaa !5
  %114 = load i32, ptr %7, align 4, !tbaa !5
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %7, align 4, !tbaa !5
  br label %116

116:                                              ; preds = %113, %110
  %117 = load i32, ptr %8, align 4, !tbaa !5
  %118 = icmp eq i32 %117, 0
  br i1 %118, label %119, label %120

119:                                              ; preds = %116
  store i32 2, ptr %9, align 4
  br label %131, !llvm.loop !9

120:                                              ; preds = %116
  %121 = load i32, ptr %8, align 4, !tbaa !5
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %130

123:                                              ; preds = %120
  %124 = load i32, ptr %8, align 4, !tbaa !5
  %125 = load i32, ptr %8, align 4, !tbaa !5
  %126 = xor i32 %125, -1
  %127 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %124, i32 noundef %126)
  %128 = load i32, ptr %2, align 4, !tbaa !5
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %2, align 4, !tbaa !5
  br label %130

130:                                              ; preds = %123, %120
  store i32 0, ptr %9, align 4
  br label %131

131:                                              ; preds = %130, %119, %109
  call void @llvm.lifetime.end.p0(i64 256, ptr %12) #6
  br label %132

132:                                              ; preds = %131, %74, %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %133 = load i32, ptr %9, align 4
  switch i32 %133, label %143 [
    i32 0, label %134
    i32 2, label %15
  ]

134:                                              ; preds = %132
  br label %15, !llvm.loop !9

135:                                              ; preds = %15
  %136 = load i32, ptr %3, align 4, !tbaa !5
  %137 = load i32, ptr %5, align 4, !tbaa !5
  %138 = load i32, ptr %4, align 4, !tbaa !5
  %139 = load i32, ptr %6, align 4, !tbaa !5
  %140 = load i32, ptr %7, align 4, !tbaa !5
  %141 = load i32, ptr %2, align 4, !tbaa !5
  %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %136, i32 noundef %137, i32 noundef %138, i32 noundef %139, i32 noundef %140, i32 noundef %141)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %1) #6
  ret void

143:                                              ; preds = %132
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4RandC2Ej(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4Rand8rand_u32Ev(ptr noundef nonnull align 4 dereferenceable(16)) #0 align 2

declare noundef i32 @_Z8popcountj(i32 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z6rotl32ja(i32 noundef, i8 noundef signext) #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

declare i32 @printf(ptr noundef, ...) #3

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = { inlinehint 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !10}


; 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.Rand = type { i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z7isprimej(i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z23GenerateMixingConstantsv() local_unnamed_addr #2 {
  %1 = alloca %struct.Rand, align 4
  %2 = alloca [256 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #7
  call void @_ZN4RandC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef 8350147)
  br label %3

3:                                                ; preds = %0, %.thread72
  %.092 = phi i32 [ 0, %0 ], [ %.3, %.thread72 ]
  %.04191 = phi i32 [ 0, %0 ], [ %4, %.thread72 ]
  %.04990 = phi i32 [ 0, %0 ], [ %.352, %.thread72 ]
  %.05389 = phi i32 [ 0, %0 ], [ %.457, %.thread72 ]
  %.05888 = phi i32 [ 0, %0 ], [ %.260, %.thread72 ]
  %.06187 = phi i32 [ 0, %0 ], [ %.465, %.thread72 ]
  %4 = add nuw nsw i32 %.04191, 1
  %5 = call noundef i32 @_ZN4Rand8rand_u32Ev(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %6 = call noundef i32 @_Z8popcountj(i32 noundef %5)
  %7 = icmp ult i32 %6, 16
  %8 = zext i1 %7 to i32
  %spec.select = add nsw i32 %.05888, %8
  %spec.select66 = select i1 %7, i32 0, i32 %5
  %9 = call noundef i32 @_Z8popcountj(i32 noundef %spec.select66)
  %10 = icmp ugt i32 %9, 16
  %11 = zext i1 %10 to i32
  %.260 = add nsw i32 %spec.select, %11
  %12 = icmp eq i32 %spec.select66, 0
  %13 = or i1 %10, %12
  br i1 %13, label %.thread72, label %.preheader, !llvm.loop !5

14:                                               ; preds = %23
  %15 = add nuw nsw i32 %.04285, 1
  %exitcond.not = icmp eq i32 %15, 32
  br i1 %exitcond.not, label %28, label %.preheader, !llvm.loop !7

.preheader:                                       ; preds = %3, %14
  %.04285 = phi i32 [ %15, %14 ], [ 0, %3 ]
  %16 = trunc nuw i32 %.04285 to i8
  %17 = call noundef i32 @_Z6rotl32ja(i32 noundef %spec.select66, i8 noundef signext %16)
  %18 = and i32 %17, 255
  %19 = call noundef i32 @_Z8popcountj(i32 noundef %18)
  %20 = icmp ult i32 %19, 3
  br i1 %20, label %21, label %23

21:                                               ; preds = %.preheader
  %22 = add nsw i32 %.06187, 1
  br label %.thread72

23:                                               ; preds = %.preheader
  %24 = call noundef i32 @_Z8popcountj(i32 noundef %18)
  %25 = icmp ugt i32 %24, 5
  br i1 %25, label %26, label %14

26:                                               ; preds = %23
  %27 = add nsw i32 %.06187, 1
  br label %.thread72

28:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %2) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(256) %2, i8 0, i64 256, i1 false)
  br label %29

29:                                               ; preds = %28, %37
  %.04086 = phi i32 [ 0, %28 ], [ %38, %37 ]
  %30 = trunc nuw i32 %.04086 to i8
  %31 = call noundef i32 @_Z6rotl32ja(i32 noundef %spec.select66, i8 noundef signext %30)
  %32 = and i32 %31, 255
  %33 = zext nneg i32 %32 to i64
  %34 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %33
  %35 = load i8, ptr %34, align 1, !tbaa !8
  %.not = icmp eq i8 %35, 0
  br i1 %.not, label %37, label %.thread80

.thread80:                                        ; preds = %29
  %36 = add nsw i32 %.05389, 1
  br label %46

37:                                               ; preds = %29
  store i8 1, ptr %34, align 1, !tbaa !8
  %38 = add nuw nsw i32 %.04086, 1
  %exitcond93.not = icmp eq i32 %38, 32
  br i1 %exitcond93.not, label %39, label %29, !llvm.loop !11

39:                                               ; preds = %37
  %40 = call noundef zeroext i1 @_Z7isprimej(i32 noundef %spec.select66)
  %not. = xor i1 %40, true
  %41 = zext i1 %not. to i32
  %spec.select67 = add nsw i32 %.04990, %41
  br i1 %40, label %42, label %46, !llvm.loop !5

42:                                               ; preds = %39
  %43 = xor i32 %spec.select66, -1
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %spec.select66, i32 noundef %43)
  %45 = add nsw i32 %.092, 1
  br label %46

46:                                               ; preds = %.thread80, %39, %42
  %.35683 = phi i32 [ %.05389, %42 ], [ %.05389, %39 ], [ %36, %.thread80 ]
  %.251 = phi i32 [ %spec.select67, %42 ], [ %spec.select67, %39 ], [ %.04990, %.thread80 ]
  %.2 = phi i32 [ %45, %42 ], [ %.092, %39 ], [ %.092, %.thread80 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %2) #7
  br label %.thread72

.thread72:                                        ; preds = %21, %26, %3, %46
  %.465 = phi i32 [ %.06187, %46 ], [ %.06187, %3 ], [ %27, %26 ], [ %22, %21 ]
  %.457 = phi i32 [ %.35683, %46 ], [ %.05389, %3 ], [ %.05389, %26 ], [ %.05389, %21 ]
  %.352 = phi i32 [ %.251, %46 ], [ %.04990, %3 ], [ %.04990, %26 ], [ %.04990, %21 ]
  %.3 = phi i32 [ %.2, %46 ], [ %.092, %3 ], [ %.092, %26 ], [ %.092, %21 ]
  %47 = icmp slt i32 %.3, 100
  br i1 %47, label %3, label %48

48:                                               ; preds = %.thread72
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %4, i32 noundef %.260, i32 noundef %.465, i32 noundef %.457, i32 noundef %.352, i32 noundef %.3)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #7
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4RandC2Ej(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4Rand8rand_u32Ev(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0 align 2

declare noundef i32 @_Z8popcountj(i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z6rotl32ja(i32 noundef, i8 noundef signext) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #6

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = { inlinehint 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nofree 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 #7 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = !{!9, !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}


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