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

; 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_hash_func_st = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.slh_adrs_func_st = type { ptr, ptr, ptr, ptr, ptr, 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: 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
define dso_local i32 @ossl_slh_xmss_pk_from_sig(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i64 noundef %7) #1 {
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i64, align 8
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store i32 %1, ptr %11, align 4, !tbaa !9
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store i64 %7, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.slh_dsa_hash_ctx_st, ptr %30, i32 0, i32 0
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  store ptr %32, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %33 = load ptr, ptr %18, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.slh_dsa_key_st, ptr %33, i32 0, i32 7
  %35 = load ptr, ptr %34, align 8, !tbaa !15
  store ptr %35, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %36 = load ptr, ptr %18, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.slh_dsa_key_st, ptr %36, i32 0, i32 6
  %38 = load ptr, ptr %37, align 8, !tbaa !17
  store ptr %38, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %39 = load ptr, ptr %19, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.slh_hash_func_st, ptr %39, i32 0, i32 4
  %41 = load ptr, ptr %40, align 8, !tbaa !18
  store ptr %41, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %42 = load ptr, ptr %20, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.slh_adrs_func_st, ptr %42, i32 0, i32 8
  %44 = load ptr, ptr %43, align 8, !tbaa !20
  store ptr %44, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %45 = load ptr, ptr %20, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.slh_adrs_func_st, ptr %45, i32 0, i32 6
  %47 = load ptr, ptr %46, align 8, !tbaa !22
  store ptr %47, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %48 = load ptr, ptr %18, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.slh_dsa_key_st, ptr %48, i32 0, i32 5
  %50 = load ptr, ptr %49, align 8, !tbaa !23
  %51 = getelementptr inbounds %struct.slh_dsa_params_st, ptr %50, i32 0, i32 3
  %52 = load i32, ptr %51, align 8, !tbaa !24
  %53 = zext i32 %52 to i64
  store i64 %53, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %54 = load ptr, ptr %18, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.slh_dsa_key_st, ptr %54, i32 0, i32 5
  %56 = load ptr, ptr %55, align 8, !tbaa !23
  %57 = getelementptr inbounds %struct.slh_dsa_params_st, ptr %56, i32 0, i32 6
  %58 = load i32, ptr %57, align 4, !tbaa !26
  store i32 %58, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %59 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %59, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  %60 = load ptr, ptr %20, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.slh_adrs_func_st, ptr %60, i32 0, i32 2
  %62 = load ptr, ptr %61, align 8, !tbaa !27
  %63 = load ptr, ptr %15, align 8, !tbaa !5
  call void %62(ptr noundef %63, i32 noundef 0)
  %64 = load ptr, ptr %20, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.slh_adrs_func_st, ptr %64, i32 0, i32 3
  %66 = load ptr, ptr %65, align 8, !tbaa !28
  %67 = load ptr, ptr %15, align 8, !tbaa !5
  %68 = load i32, ptr %11, align 4, !tbaa !9
  call void %66(ptr noundef %67, i32 noundef %68)
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = load ptr, ptr %13, align 8, !tbaa !5
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = load ptr, ptr %15, align 8, !tbaa !5
  %74 = load ptr, ptr %27, align 8, !tbaa !5
  %75 = load i64, ptr %17, align 8, !tbaa !11
  %76 = call i32 @ossl_slh_wots_pk_from_sig(ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, i64 noundef %75)
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %79, label %78

78:                                               ; preds = %8
  store i32 0, ptr %9, align 4
  store i32 1, ptr %29, align 4
  br label %144

79:                                               ; preds = %8
  %80 = load ptr, ptr %20, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.slh_adrs_func_st, ptr %80, i32 0, i32 2
  %82 = load ptr, ptr %81, align 8, !tbaa !27
  %83 = load ptr, ptr %15, align 8, !tbaa !5
  call void %82(ptr noundef %83, i32 noundef 2)
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %140, %79
  %85 = load i32, ptr %24, align 4, !tbaa !9
  %86 = load i32, ptr %26, align 4, !tbaa !9
  %87 = icmp ult i32 %85, %86
  br i1 %87, label %88, label %143

88:                                               ; preds = %84
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = load i64, ptr %25, align 8, !tbaa !11
  %91 = call i32 @PACKET_get_bytes(ptr noundef %89, ptr noundef %28, i64 noundef %90)
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %94, label %93

93:                                               ; preds = %88
  store i32 0, ptr %9, align 4
  store i32 1, ptr %29, align 4
  br label %144

94:                                               ; preds = %88
  %95 = load ptr, ptr %23, align 8, !tbaa !5
  %96 = load ptr, ptr %15, align 8, !tbaa !5
  %97 = load i32, ptr %24, align 4, !tbaa !9
  %98 = add i32 %97, 1
  call void %95(ptr noundef %96, i32 noundef %98)
  %99 = load i32, ptr %11, align 4, !tbaa !9
  %100 = and i32 %99, 1
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %102, label %120

102:                                              ; preds = %94
  %103 = load i32, ptr %11, align 4, !tbaa !9
  %104 = lshr i32 %103, 1
  store i32 %104, ptr %11, align 4, !tbaa !9
  %105 = load ptr, ptr %22, align 8, !tbaa !5
  %106 = load ptr, ptr %15, align 8, !tbaa !5
  %107 = load i32, ptr %11, align 4, !tbaa !9
  call void %105(ptr noundef %106, i32 noundef %107)
  %108 = load ptr, ptr %21, align 8, !tbaa !5
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = load ptr, ptr %14, align 8, !tbaa !5
  %111 = load ptr, ptr %15, align 8, !tbaa !5
  %112 = load ptr, ptr %27, align 8, !tbaa !5
  %113 = load ptr, ptr %28, align 8, !tbaa !5
  %114 = load ptr, ptr %27, align 8, !tbaa !5
  %115 = load i64, ptr %17, align 8, !tbaa !11
  %116 = call i32 %108(ptr noundef %109, ptr noundef %110, ptr noundef %111, ptr noundef %112, ptr noundef %113, ptr noundef %114, i64 noundef %115)
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %119, label %118

118:                                              ; preds = %102
  store i32 0, ptr %9, align 4
  store i32 1, ptr %29, align 4
  br label %144

119:                                              ; preds = %102
  br label %139

120:                                              ; preds = %94
  %121 = load i32, ptr %11, align 4, !tbaa !9
  %122 = sub i32 %121, 1
  %123 = lshr i32 %122, 1
  store i32 %123, ptr %11, align 4, !tbaa !9
  %124 = load ptr, ptr %22, align 8, !tbaa !5
  %125 = load ptr, ptr %15, align 8, !tbaa !5
  %126 = load i32, ptr %11, align 4, !tbaa !9
  call void %124(ptr noundef %125, i32 noundef %126)
  %127 = load ptr, ptr %21, align 8, !tbaa !5
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  %130 = load ptr, ptr %15, align 8, !tbaa !5
  %131 = load ptr, ptr %28, align 8, !tbaa !5
  %132 = load ptr, ptr %27, align 8, !tbaa !5
  %133 = load ptr, ptr %27, align 8, !tbaa !5
  %134 = load i64, ptr %17, align 8, !tbaa !11
  %135 = call i32 %127(ptr noundef %128, ptr noundef %129, ptr noundef %130, ptr noundef %131, ptr noundef %132, ptr noundef %133, i64 noundef %134)
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %138, label %137

137:                                              ; preds = %120
  store i32 0, ptr %9, align 4
  store i32 1, ptr %29, align 4
  br label %144

138:                                              ; preds = %120
  br label %139

139:                                              ; preds = %138, %119
  br label %140

140:                                              ; preds = %139
  %141 = load i32, ptr %24, align 4, !tbaa !9
  %142 = add i32 %141, 1
  store i32 %142, ptr %24, align 4, !tbaa !9
  br label %84, !llvm.loop !29

143:                                              ; preds = %84
  store i32 1, ptr %9, align 4
  store i32 1, ptr %29, align 4
  br label %144

144:                                              ; preds = %143, %137, %118, %93, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  %145 = load i32, ptr %9, align 4
  ret i32 %145
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @PACKET_get_bytes(ptr noundef, ptr noundef, i64 noundef) #3

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 = { "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 = { inlinehint 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 = { 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, !6, i64 0}
!14 = !{!"slh_dsa_hash_ctx_st", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32}
!15 = !{!16, !6, i64 176}
!16 = !{!"slh_dsa_key_st", !7, i64 0, !6, i64 128, !6, i64 136, !6, i64 144, !10, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200}
!17 = !{!16, !6, i64 168}
!18 = !{!19, !6, i64 32}
!19 = !{!"slh_hash_func_st", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!20 = !{!21, !6, i64 64}
!21 = !{!"slh_adrs_func_st", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80}
!22 = !{!21, !6, i64 48}
!23 = !{!16, !6, i64 160}
!24 = !{!25, !10, i64 16}
!25 = !{!"slh_dsa_params_st", !6, 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, !12, i64 56}
!26 = !{!25, !10, i64 28}
!27 = !{!21, !6, i64 16}
!28 = !{!21, !6, i64 24}
!29 = distinct !{!29, !30}
!30 = !{!"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"

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @ossl_slh_xmss_pk_from_sig(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i64 noundef %7) local_unnamed_addr #1 {
  %9 = alloca ptr, align 8
  %10 = load ptr, ptr %0, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 176
  %12 = load ptr, ptr %11, align 8, !tbaa !11
  %13 = getelementptr inbounds i8, ptr %10, i64 168
  %14 = load ptr, ptr %13, align 8, !tbaa !13
  %15 = getelementptr inbounds i8, ptr %12, i64 32
  %16 = load ptr, ptr %15, align 8, !tbaa !14
  %17 = getelementptr inbounds i8, ptr %14, i64 64
  %18 = load ptr, ptr %17, align 8, !tbaa !16
  %19 = getelementptr inbounds i8, ptr %14, i64 48
  %20 = load ptr, ptr %19, align 8, !tbaa !18
  %21 = getelementptr inbounds i8, ptr %10, i64 160
  %22 = load ptr, ptr %21, align 8, !tbaa !19
  %23 = getelementptr inbounds i8, ptr %22, i64 16
  %24 = load i32, ptr %23, align 8, !tbaa !20
  %25 = zext i32 %24 to i64
  %26 = getelementptr inbounds i8, ptr %22, i64 28
  %27 = load i32, ptr %26, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %28 = getelementptr inbounds i8, ptr %14, i64 16
  %29 = load ptr, ptr %28, align 8, !tbaa !24
  tail call void %29(ptr noundef %5, i32 noundef 0) #4
  %30 = getelementptr inbounds i8, ptr %14, i64 24
  %31 = load ptr, ptr %30, align 8, !tbaa !25
  tail call void %31(ptr noundef %5, i32 noundef %1) #4
  %32 = tail call i32 @ossl_slh_wots_pk_from_sig(ptr noundef nonnull %0, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i64 noundef %7) #4
  %.not = icmp eq i32 %32, 0
  br i1 %.not, label %.loopexit, label %33

33:                                               ; preds = %8
  %34 = load ptr, ptr %28, align 8, !tbaa !24
  tail call void %34(ptr noundef %5, i32 noundef 2) #4
  %.not67 = icmp eq i32 %27, 0
  br i1 %.not67, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %33, %49
  %.05460 = phi i32 [ %.1, %49 ], [ %1, %33 ]
  %.05559 = phi i32 [ %37, %49 ], [ 0, %33 ]
  %35 = call i32 @PACKET_get_bytes(ptr noundef %2, ptr noundef nonnull %9, i64 noundef %25)
  %.not56 = icmp eq i32 %35, 0
  br i1 %.not56, label %.loopexit, label %36

36:                                               ; preds = %.lr.ph
  %37 = add nuw i32 %.05559, 1
  call void %20(ptr noundef %5, i32 noundef %37) #4
  %38 = and i32 %.05460, 1
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %40, label %44

40:                                               ; preds = %36
  %41 = lshr exact i32 %.05460, 1
  call void %18(ptr noundef %5, i32 noundef %41) #4
  %42 = load ptr, ptr %9, align 8, !tbaa !26
  %43 = call i32 %16(ptr noundef nonnull %0, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %42, ptr noundef %6, i64 noundef %7) #4
  %.not58 = icmp eq i32 %43, 0
  br i1 %.not58, label %.loopexit, label %49

44:                                               ; preds = %36
  %45 = add nsw i32 %.05460, -1
  %46 = lshr exact i32 %45, 1
  call void %18(ptr noundef %5, i32 noundef %46) #4
  %47 = load ptr, ptr %9, align 8, !tbaa !26
  %48 = call i32 %16(ptr noundef nonnull %0, ptr noundef %4, ptr noundef %5, ptr noundef %47, ptr noundef %6, ptr noundef %6, i64 noundef %7) #4
  %.not57 = icmp eq i32 %48, 0
  br i1 %.not57, label %.loopexit, label %49

49:                                               ; preds = %40, %44
  %.1 = phi i32 [ %41, %40 ], [ %46, %44 ]
  %exitcond.not = icmp eq i32 %37, %27
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !27

.loopexit:                                        ; preds = %.lr.ph, %40, %44, %49, %33, %8
  %.0 = phi i32 [ 0, %8 ], [ 1, %33 ], [ 0, %.lr.ph ], [ 0, %40 ], [ 0, %44 ], [ 1, %49 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  ret i32 %.0
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @PACKET_get_bytes(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

attributes #0 = { mustprogress 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 = { "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 = { inlinehint 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 = { 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 176}
!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 = !{!12, !7, i64 168}
!14 = !{!15, !7, i64 32}
!15 = !{!"slh_hash_func_st", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!16 = !{!17, !7, i64 64}
!17 = !{!"slh_adrs_func_st", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80}
!18 = !{!17, !7, i64 48}
!19 = !{!12, !7, i64 160}
!20 = !{!21, !10, i64 16}
!21 = !{!"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, !22, i64 56}
!22 = !{!"long", !8, i64 0}
!23 = !{!21, !10, i64 28}
!24 = !{!17, !7, i64 16}
!25 = !{!17, !7, i64 24}
!26 = !{!7, !7, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


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