; LLVM IR from openssl/openssl :: crypto/slh_dsa (slh_fors)

; 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.slh_dsa_hash_ctx_st = type { ptr, ptr, ptr, ptr, i32 }
%struct.slh_dsa_key_st = type { [128 x i8], ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.slh_dsa_params_st = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 }

; Function Attrs: nounwind uwtable
define dso_local i32 @ossl_slh_fors_sign(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca [35 x i32], align 16
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca [32 x i8], align 16
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.slh_dsa_hash_ctx_st, ptr %29, i32 0, i32 0
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  store ptr %31, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 140, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %32 = load ptr, ptr %14, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.slh_dsa_key_st, ptr %32, i32 0, i32 5
  %34 = load ptr, ptr %33, align 8, !tbaa !12
  store ptr %34, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  %35 = load ptr, ptr %20, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.slh_dsa_params_st, ptr %35, i32 0, i32 3
  %37 = load i32, ptr %36, align 8, !tbaa !14
  store i32 %37, ptr %21, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  %38 = load ptr, ptr %20, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.slh_dsa_params_st, ptr %38, i32 0, i32 8
  %40 = load i32, ptr %39, align 4, !tbaa !18
  store i32 %40, ptr %22, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  %41 = load ptr, ptr %20, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.slh_dsa_params_st, ptr %41, i32 0, i32 7
  %43 = load i32, ptr %42, align 8, !tbaa !19
  store i32 %43, ptr %23, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  %44 = load i32, ptr %23, align 4, !tbaa !17
  %45 = shl i32 1, %44
  store i32 %45, ptr %24, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  store i32 0, ptr %25, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #3
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  %47 = load i32, ptr %23, align 4, !tbaa !17
  %48 = getelementptr inbounds [35 x i32], ptr %19, i64 0, i64 0
  %49 = load i32, ptr %22, align 4, !tbaa !17
  %50 = zext i32 %49 to i64
  call void @slh_base_2b(ptr noundef %46, i32 noundef %47, ptr noundef %48, i64 noundef %50)
  store i32 0, ptr %15, align 4, !tbaa !17
  br label %51

51:                                               ; preds = %122, %6
  %52 = load i32, ptr %15, align 4, !tbaa !17
  %53 = load i32, ptr %22, align 4, !tbaa !17
  %54 = icmp ult i32 %52, %53
  br i1 %54, label %55, label %125

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  %56 = load i32, ptr %15, align 4, !tbaa !17
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds [35 x i32], ptr %19, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !17
  store i32 %59, ptr %27, align 4, !tbaa !17
  %60 = load i32, ptr %25, align 4, !tbaa !17
  store i32 %60, ptr %18, align 4, !tbaa !17
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = load i32, ptr %27, align 4, !tbaa !17
  %66 = load i32, ptr %25, align 4, !tbaa !17
  %67 = add i32 %65, %66
  %68 = getelementptr inbounds [32 x i8], ptr %26, i64 0, i64 0
  %69 = call i32 @slh_fors_sk_gen(ptr noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64, i32 noundef %67, ptr noundef %68, i64 noundef 32)
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %78

71:                                               ; preds = %55
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  %73 = getelementptr inbounds [32 x i8], ptr %26, i64 0, i64 0
  %74 = load i32, ptr %21, align 4, !tbaa !17
  %75 = zext i32 %74 to i64
  %76 = call i32 @WPACKET_memcpy(ptr noundef %72, ptr noundef %73, i64 noundef %75)
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %79, label %78

78:                                               ; preds = %71, %55
  store i32 0, ptr %7, align 4
  store i32 1, ptr %28, align 4
  br label %119

79:                                               ; preds = %71
  store i32 0, ptr %16, align 4, !tbaa !17
  br label %80

80:                                               ; preds = %112, %79
  %81 = load i32, ptr %16, align 4, !tbaa !17
  %82 = load i32, ptr %23, align 4, !tbaa !17
  %83 = icmp ult i32 %81, %82
  br i1 %83, label %84, label %115

84:                                               ; preds = %80
  %85 = load i32, ptr %27, align 4, !tbaa !17
  %86 = xor i32 %85, 1
  store i32 %86, ptr %17, align 4, !tbaa !17
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = load i32, ptr %17, align 4, !tbaa !17
  %92 = load i32, ptr %18, align 4, !tbaa !17
  %93 = add i32 %91, %92
  %94 = load i32, ptr %16, align 4, !tbaa !17
  %95 = getelementptr inbounds [32 x i8], ptr %26, i64 0, i64 0
  %96 = call i32 @slh_fors_node(ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, i32 noundef %93, i32 noundef %94, ptr noundef %95, i64 noundef 32)
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %99, label %98

98:                                               ; preds = %84
  store i32 0, ptr %7, align 4
  store i32 1, ptr %28, align 4
  br label %119

99:                                               ; preds = %84
  %100 = load i32, ptr %27, align 4, !tbaa !17
  %101 = lshr i32 %100, 1
  store i32 %101, ptr %27, align 4, !tbaa !17
  %102 = load i32, ptr %18, align 4, !tbaa !17
  %103 = lshr i32 %102, 1
  store i32 %103, ptr %18, align 4, !tbaa !17
  %104 = load ptr, ptr %13, align 8, !tbaa !5
  %105 = getelementptr inbounds [32 x i8], ptr %26, i64 0, i64 0
  %106 = load i32, ptr %21, align 4, !tbaa !17
  %107 = zext i32 %106 to i64
  %108 = call i32 @WPACKET_memcpy(ptr noundef %104, ptr noundef %105, i64 noundef %107)
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %111, label %110

110:                                              ; preds = %99
  store i32 0, ptr %7, align 4
  store i32 1, ptr %28, align 4
  br label %119

111:                                              ; preds = %99
  br label %112

112:                                              ; preds = %111
  %113 = load i32, ptr %16, align 4, !tbaa !17
  %114 = add i32 %113, 1
  store i32 %114, ptr %16, align 4, !tbaa !17
  br label %80, !llvm.loop !20

115:                                              ; preds = %80
  %116 = load i32, ptr %24, align 4, !tbaa !17
  %117 = load i32, ptr %25, align 4, !tbaa !17
  %118 = add i32 %117, %116
  store i32 %118, ptr %25, align 4, !tbaa !17
  store i32 0, ptr %28, align 4
  br label %119

119:                                              ; preds = %115, %110, %98, %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  %120 = load i32, ptr %28, align 4
  switch i32 %120, label %126 [
    i32 0, label %121
  ]

121:                                              ; preds = %119
  br label %122

122:                                              ; preds = %121
  %123 = load i32, ptr %15, align 4, !tbaa !17
  %124 = add i32 %123, 1
  store i32 %124, ptr %15, align 4, !tbaa !17
  br label %51, !llvm.loop !22

125:                                              ; preds = %51
  store i32 1, ptr %7, align 4
  store i32 1, ptr %28, align 4
  br label %126

126:                                              ; preds = %125, %119
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 140, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  %127 = load i32, ptr %7, align 4
  ret i32 %127
}

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

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

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

declare i32 @WPACKET_memcpy(ptr noundef, ptr noundef, i64 noundef) #2

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 }

!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, !6, i64 0}
!10 = !{!"slh_dsa_hash_ctx_st", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 160}
!13 = !{!"slh_dsa_key_st", !7, i64 0, !6, i64 128, !6, i64 136, !6, i64 144, !11, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200}
!14 = !{!15, !11, i64 16}
!15 = !{!"slh_dsa_params_st", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !16, i64 56}
!16 = !{!"long", !7, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!15, !11, i64 36}
!19 = !{!15, !11, i64 32}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}


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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @ossl_slh_fors_sign(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 {
  %7 = alloca [35 x i32], align 16
  %8 = alloca [32 x i8], align 16
  %9 = load ptr, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 140, ptr nonnull %7) #3
  %10 = getelementptr inbounds i8, ptr %9, i64 160
  %11 = load ptr, ptr %10, align 8, !tbaa !11
  %12 = getelementptr inbounds i8, ptr %11, i64 16
  %13 = load i32, ptr %12, align 8, !tbaa !13
  %14 = getelementptr inbounds i8, ptr %11, i64 36
  %15 = load i32, ptr %14, align 4, !tbaa !16
  %16 = getelementptr inbounds i8, ptr %11, i64 32
  %17 = load i32, ptr %16, align 8, !tbaa !17
  %18 = shl nuw i32 1, %17
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #3
  %19 = zext i32 %15 to i64
  call void @slh_base_2b(ptr noundef %1, i32 noundef %17, ptr noundef nonnull %7, i64 noundef %19)
  %.not66 = icmp eq i32 %15, 0
  br i1 %.not66, label %.thread, label %.lr.ph59

.lr.ph59:                                         ; preds = %6
  %20 = zext i32 %13 to i64
  %.not67 = icmp eq i32 %17, 0
  br i1 %.not67, label %.lr.ph59.split, label %.lr.ph59.split.us

.lr.ph59.split.us:                                ; preds = %.lr.ph59, %._crit_edge.us
  %indvars.iv = phi i64 [ %indvars.iv.next, %._crit_edge.us ], [ 0, %.lr.ph59 ]
  %.04157.us = phi i32 [ %36, %._crit_edge.us ], [ 0, %.lr.ph59 ]
  %21 = getelementptr inbounds [35 x i32], ptr %7, i64 0, i64 %indvars.iv
  %22 = load i32, ptr %21, align 4, !tbaa !18
  %23 = add i32 %22, %.04157.us
  %24 = call i32 @slh_fors_sk_gen(ptr noundef nonnull %0, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %23, ptr noundef nonnull %8, i64 noundef 32)
  %.not.us = icmp eq i32 %24, 0
  br i1 %.not.us, label %.thread, label %25

25:                                               ; preds = %.lr.ph59.split.us
  %26 = call i32 @WPACKET_memcpy(ptr noundef %5, ptr noundef nonnull %8, i64 noundef %20) #3
  %.not47.us = icmp eq i32 %26, 0
  br i1 %.not47.us, label %.thread, label %.preheader.us

.preheader.us:                                    ; preds = %25, %32
  %.04055.us = phi i32 [ %34, %32 ], [ %22, %25 ]
  %.04554.us = phi i32 [ %35, %32 ], [ 0, %25 ]
  %.04653.us = phi i32 [ %33, %32 ], [ %.04157.us, %25 ]
  %27 = xor i32 %.04055.us, 1
  %28 = add i32 %27, %.04653.us
  %29 = call i32 @slh_fors_node(ptr noundef nonnull %0, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %28, i32 noundef %.04554.us, ptr noundef nonnull %8, i64 noundef 32)
  %.not48.us = icmp eq i32 %29, 0
  br i1 %.not48.us, label %.thread, label %30

30:                                               ; preds = %.preheader.us
  %31 = call i32 @WPACKET_memcpy(ptr noundef %5, ptr noundef nonnull %8, i64 noundef %20) #3
  %.not49.us = icmp eq i32 %31, 0
  br i1 %.not49.us, label %.thread, label %32

32:                                               ; preds = %30
  %33 = lshr i32 %.04653.us, 1
  %34 = lshr i32 %.04055.us, 1
  %35 = add nuw i32 %.04554.us, 1
  %exitcond.not = icmp eq i32 %35, %17
  br i1 %exitcond.not, label %._crit_edge.us, label %.preheader.us, !llvm.loop !19

._crit_edge.us:                                   ; preds = %32
  %36 = add i32 %.04157.us, %18
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond72.not = icmp eq i64 %indvars.iv.next, %19
  br i1 %exitcond72.not, label %.thread, label %.lr.ph59.split.us, !llvm.loop !21

.lr.ph59.split:                                   ; preds = %.lr.ph59, %.preheader
  %indvars.iv73 = phi i64 [ %indvars.iv.next74, %.preheader ], [ 0, %.lr.ph59 ]
  %.04157 = phi i32 [ %43, %.preheader ], [ 0, %.lr.ph59 ]
  %37 = getelementptr inbounds [35 x i32], ptr %7, i64 0, i64 %indvars.iv73
  %38 = load i32, ptr %37, align 4, !tbaa !18
  %39 = add i32 %38, %.04157
  %40 = call i32 @slh_fors_sk_gen(ptr noundef nonnull %0, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %39, ptr noundef nonnull %8, i64 noundef 32)
  %.not = icmp eq i32 %40, 0
  br i1 %.not, label %.thread, label %41

41:                                               ; preds = %.lr.ph59.split
  %42 = call i32 @WPACKET_memcpy(ptr noundef %5, ptr noundef nonnull %8, i64 noundef %20) #3
  %.not47 = icmp eq i32 %42, 0
  br i1 %.not47, label %.thread, label %.preheader

.preheader:                                       ; preds = %41
  %43 = add i32 %.04157, %18
  %indvars.iv.next74 = add nuw nsw i64 %indvars.iv73, 1
  %exitcond77.not = icmp eq i64 %indvars.iv.next74, %19
  br i1 %exitcond77.not, label %.thread, label %.lr.ph59.split, !llvm.loop !21

.thread:                                          ; preds = %._crit_edge.us, %25, %.lr.ph59.split.us, %30, %.preheader.us, %.preheader, %41, %.lr.ph59.split, %6
  %.2 = phi i32 [ 1, %6 ], [ 1, %.preheader ], [ 0, %41 ], [ 0, %.lr.ph59.split ], [ 0, %.preheader.us ], [ 0, %30 ], [ 1, %._crit_edge.us ], [ 0, %25 ], [ 0, %.lr.ph59.split.us ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 140, ptr nonnull %7) #3
  ret i32 %.2
}

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

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

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

declare i32 @WPACKET_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 }

!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 = !{!"slh_dsa_hash_ctx_st", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 160}
!12 = !{!"slh_dsa_key_st", !8, i64 0, !7, i64 128, !7, i64 136, !7, i64 144, !10, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200}
!13 = !{!14, !10, i64 16}
!14 = !{!"slh_dsa_params_st", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !15, i64 56}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !10, i64 36}
!17 = !{!14, !10, i64 32}
!18 = !{!10, !10, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass