; LLVM IR from aixed/WeChat-Hook :: PC微信3.6.0.18_Hook/微信3.6.0.18备份数据库/DeCryptWxDataBase/DeCryptWxDataBase/crypto (HMAC)

; 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.sha1_context = type { %struct.SHA_State, [64 x i8], [64 x i8] }
%struct.SHA_State = type { [5 x i32], [64 x i8], i32, i32, i32 }

; Function Attrs: nounwind uwtable
declare dso_local void @sha1_hmac_starts(ptr noundef, ptr noundef, i32 noundef) #0

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

declare void @SHA_Init(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @sha1_hmac_update(ptr noundef, ptr noundef, i32 noundef) #0

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

; Function Attrs: nounwind uwtable
define dso_local void @PKCS5_PBKDF2_HMAC(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6) #0 {
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %struct.sha1_context, align 4
  %16 = alloca i8, align 1
  %17 = alloca [20 x i8], align 16
  %18 = alloca [20 x i8], align 16
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca [4 x i8], align 1
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i64 %1, ptr %9, align 8, !tbaa !9
  store ptr %2, ptr %10, align 8, !tbaa !5
  store i64 %3, ptr %11, align 8, !tbaa !9
  store i64 %4, ptr %12, align 8, !tbaa !9
  store i64 %5, ptr %13, align 8, !tbaa !9
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 224, ptr %15) #4
  %25 = getelementptr inbounds %struct.sha1_context, ptr %15, i32 0, i32 0
  call void @SHA_Init(ptr noundef %25)
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #4
  store i8 20, ptr %16, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 20, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 20, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  store i64 1, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %26

26:                                               ; preds = %107, %7
  %27 = load i64, ptr %20, align 8, !tbaa !9
  %28 = load i64, ptr %13, align 8, !tbaa !9
  %29 = icmp ult i64 %27, %28
  br i1 %29, label %30, label %119

30:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %31 = load i64, ptr %19, align 8, !tbaa !9
  %32 = lshr i64 %31, 24
  %33 = trunc i64 %32 to i8
  %34 = getelementptr inbounds [4 x i8], ptr %21, i64 0, i64 0
  store i8 %33, ptr %34, align 1, !tbaa !11
  %35 = load i64, ptr %19, align 8, !tbaa !9
  %36 = lshr i64 %35, 16
  %37 = trunc i64 %36 to i8
  %38 = getelementptr inbounds [4 x i8], ptr %21, i64 0, i64 1
  store i8 %37, ptr %38, align 1, !tbaa !11
  %39 = load i64, ptr %19, align 8, !tbaa !9
  %40 = lshr i64 %39, 8
  %41 = trunc i64 %40 to i8
  %42 = getelementptr inbounds [4 x i8], ptr %21, i64 0, i64 2
  store i8 %41, ptr %42, align 1, !tbaa !11
  %43 = load i64, ptr %19, align 8, !tbaa !9
  %44 = trunc i64 %43 to i8
  %45 = getelementptr inbounds [4 x i8], ptr %21, i64 0, i64 3
  store i8 %44, ptr %45, align 1, !tbaa !11
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = load i64, ptr %9, align 8, !tbaa !9
  %48 = trunc i64 %47 to i32
  call void @sha1_hmac_starts(ptr noundef %15, ptr noundef %46, i32 noundef %48)
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = load i64, ptr %11, align 8, !tbaa !9
  %51 = trunc i64 %50 to i32
  call void @sha1_hmac_update(ptr noundef %15, ptr noundef %49, i32 noundef %51)
  %52 = getelementptr inbounds [4 x i8], ptr %21, i64 0, i64 0
  call void @sha1_hmac_update(ptr noundef %15, ptr noundef %52, i32 noundef 4)
  %53 = getelementptr inbounds [20 x i8], ptr %17, i64 0, i64 0
  call void @sha1_hmac_finish(ptr noundef %15, ptr noundef %53)
  %54 = getelementptr inbounds [20 x i8], ptr %18, i64 0, i64 0
  %55 = getelementptr inbounds [20 x i8], ptr %17, i64 0, i64 0
  %56 = load i8, ptr %16, align 1, !tbaa !11
  %57 = zext i8 %56 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %54, ptr align 16 %55, i64 %57, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  store i64 1, ptr %22, align 8, !tbaa !9
  store i64 1, ptr %22, align 8, !tbaa !9
  br label %58

58:                                               ; preds = %90, %30
  %59 = load i64, ptr %22, align 8, !tbaa !9
  %60 = load i64, ptr %12, align 8, !tbaa !9
  %61 = icmp ult i64 %59, %60
  br i1 %61, label %62, label %93

62:                                               ; preds = %58
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = load i64, ptr %9, align 8, !tbaa !9
  %65 = trunc i64 %64 to i32
  call void @sha1_hmac_starts(ptr noundef %15, ptr noundef %63, i32 noundef %65)
  %66 = getelementptr inbounds [20 x i8], ptr %17, i64 0, i64 0
  %67 = load i8, ptr %16, align 1, !tbaa !11
  %68 = zext i8 %67 to i32
  call void @sha1_hmac_update(ptr noundef %15, ptr noundef %66, i32 noundef %68)
  %69 = getelementptr inbounds [20 x i8], ptr %17, i64 0, i64 0
  call void @sha1_hmac_finish(ptr noundef %15, ptr noundef %69)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store i64 0, ptr %23, align 8, !tbaa !9
  store i64 0, ptr %23, align 8, !tbaa !9
  br label %70

70:                                               ; preds = %86, %62
  %71 = load i64, ptr %23, align 8, !tbaa !9
  %72 = load i8, ptr %16, align 1, !tbaa !11
  %73 = zext i8 %72 to i64
  %74 = icmp ult i64 %71, %73
  br i1 %74, label %75, label %89

75:                                               ; preds = %70
  %76 = load i64, ptr %23, align 8, !tbaa !9
  %77 = getelementptr inbounds [20 x i8], ptr %17, i64 0, i64 %76
  %78 = load i8, ptr %77, align 1, !tbaa !11
  %79 = zext i8 %78 to i32
  %80 = load i64, ptr %23, align 8, !tbaa !9
  %81 = getelementptr inbounds [20 x i8], ptr %18, i64 0, i64 %80
  %82 = load i8, ptr %81, align 1, !tbaa !11
  %83 = zext i8 %82 to i32
  %84 = xor i32 %83, %79
  %85 = trunc i32 %84 to i8
  store i8 %85, ptr %81, align 1, !tbaa !11
  br label %86

86:                                               ; preds = %75
  %87 = load i64, ptr %23, align 8, !tbaa !9
  %88 = add i64 %87, 1
  store i64 %88, ptr %23, align 8, !tbaa !9
  br label %70, !llvm.loop !12

89:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  br label %90

90:                                               ; preds = %89
  %91 = load i64, ptr %22, align 8, !tbaa !9
  %92 = add i64 %91, 1
  store i64 %92, ptr %22, align 8, !tbaa !9
  br label %58, !llvm.loop !14

93:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %94 = load i64, ptr %13, align 8, !tbaa !9
  %95 = load i64, ptr %20, align 8, !tbaa !9
  %96 = sub i64 %94, %95
  %97 = load i8, ptr %16, align 1, !tbaa !11
  %98 = zext i8 %97 to i64
  %99 = icmp ult i64 %96, %98
  br i1 %99, label %100, label %104

100:                                              ; preds = %93
  %101 = load i64, ptr %13, align 8, !tbaa !9
  %102 = load i64, ptr %20, align 8, !tbaa !9
  %103 = sub i64 %101, %102
  br label %107

104:                                              ; preds = %93
  %105 = load i8, ptr %16, align 1, !tbaa !11
  %106 = zext i8 %105 to i64
  br label %107

107:                                              ; preds = %104, %100
  %108 = phi i64 [ %103, %100 ], [ %106, %104 ]
  store i64 %108, ptr %24, align 8, !tbaa !9
  %109 = load ptr, ptr %14, align 8, !tbaa !5
  %110 = load i64, ptr %20, align 8, !tbaa !9
  %111 = getelementptr inbounds i8, ptr %109, i64 %110
  %112 = getelementptr inbounds [20 x i8], ptr %18, i64 0, i64 0
  %113 = load i64, ptr %24, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %111, ptr align 16 %112, i64 %113, i1 false)
  %114 = load i64, ptr %24, align 8, !tbaa !9
  %115 = load i64, ptr %20, align 8, !tbaa !9
  %116 = add i64 %115, %114
  store i64 %116, ptr %20, align 8, !tbaa !9
  %117 = load i64, ptr %19, align 8, !tbaa !9
  %118 = add i64 %117, 1
  store i64 %118, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %26, !llvm.loop !15

119:                                              ; preds = %26
  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 20, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 224, ptr %15) #4
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}


; 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.sha1_context = type { %struct.SHA_State, [64 x i8], [64 x i8] }
%struct.SHA_State = type { [5 x i32], [64 x i8], i32, i32, i32 }

; Function Attrs: nounwind uwtable
declare dso_local void @sha1_hmac_starts(ptr noundef, ptr noundef, 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

declare void @SHA_Init(ptr noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @PKCS5_PBKDF2_HMAC(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #0 {
  %8 = alloca %struct.sha1_context, align 4
  %9 = alloca [20 x i8], align 16
  %10 = alloca [20 x i8], align 16
  %11 = alloca [4 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %8) #5
  call void @SHA_Init(ptr noundef nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %10)
  %.not = icmp eq i64 %5, 0
  br i1 %.not, label %._crit_edge43, label %.lr.ph42

.lr.ph42:                                         ; preds = %7
  %12 = getelementptr inbounds i8, ptr %11, i64 1
  %13 = getelementptr inbounds i8, ptr %11, i64 2
  %14 = getelementptr inbounds i8, ptr %11, i64 3
  %15 = trunc i64 %1 to i32
  %16 = trunc i64 %3 to i32
  %17 = icmp ugt i64 %4, 1
  br i1 %17, label %.lr.ph.us.preheader, label %.lr.ph42.split

.lr.ph.us.preheader:                              ; preds = %.lr.ph42
  %18 = getelementptr inbounds i8, ptr %9, i64 16
  %.16.sroa_idx122 = getelementptr inbounds i8, ptr %10, i64 16
  %.16.sroa_idx121 = getelementptr inbounds i8, ptr %10, i64 16
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %.040.us = phi i64 [ %38, %._crit_edge.us ], [ 1, %.lr.ph.us.preheader ]
  %.03539.us = phi i64 [ %37, %._crit_edge.us ], [ 0, %.lr.ph.us.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  %19 = lshr i64 %.040.us, 24
  %20 = trunc i64 %19 to i8
  store i8 %20, ptr %11, align 1, !tbaa !5
  %21 = lshr i64 %.040.us, 16
  %22 = trunc i64 %21 to i8
  store i8 %22, ptr %12, align 1, !tbaa !5
  %23 = lshr i64 %.040.us, 8
  %24 = trunc i64 %23 to i8
  store i8 %24, ptr %13, align 1, !tbaa !5
  %25 = trunc i64 %.040.us to i8
  store i8 %25, ptr %14, align 1, !tbaa !5
  call void @sha1_hmac_starts(ptr noundef nonnull %8, ptr noundef %0, i32 noundef %15)
  call void @sha1_hmac_update(ptr noundef nonnull %8, ptr noundef %2, i32 noundef %16)
  call void @sha1_hmac_update(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef 4)
  call void @sha1_hmac_finish(ptr noundef nonnull %8, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(20) %10, ptr noundef nonnull align 16 dereferenceable(20) %9, i64 20, i1 false)
  %.0. = load <16 x i8>, ptr %10, align 16, !tbaa !5
  %.16. = load <4 x i8>, ptr %.16.sroa_idx122, align 16, !tbaa !5
  br label %26

26:                                               ; preds = %.lr.ph.us, %26
  %.03438.us = phi i64 [ 1, %.lr.ph.us ], [ %33, %26 ]
  %27 = phi <16 x i8> [ %.0., %.lr.ph.us ], [ %30, %26 ]
  %28 = phi <4 x i8> [ %.16., %.lr.ph.us ], [ %32, %26 ]
  call void @sha1_hmac_starts(ptr noundef nonnull %8, ptr noundef %0, i32 noundef %15)
  call void @sha1_hmac_update(ptr noundef nonnull %8, ptr noundef nonnull %9, i32 noundef 20)
  call void @sha1_hmac_finish(ptr noundef nonnull %8, ptr noundef nonnull %9)
  %29 = load <16 x i8>, ptr %9, align 16, !tbaa !5
  %30 = xor <16 x i8> %27, %29
  %31 = load <4 x i8>, ptr %18, align 16, !tbaa !5
  %32 = xor <4 x i8> %28, %31
  %33 = add nuw i64 %.03438.us, 1
  %exitcond.not = icmp eq i64 %33, %4
  br i1 %exitcond.not, label %._crit_edge.us, label %26, !llvm.loop !8

._crit_edge.us:                                   ; preds = %26
  store <16 x i8> %30, ptr %10, align 16, !tbaa !5
  store <4 x i8> %32, ptr %.16.sroa_idx121, align 16, !tbaa !5
  %34 = sub i64 %5, %.03539.us
  %35 = call i64 @llvm.umin.i64(i64 %34, i64 20)
  %36 = getelementptr inbounds i8, ptr %6, i64 %.03539.us
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %36, ptr nonnull align 16 %10, i64 %35, i1 false)
  %37 = add i64 %35, %.03539.us
  %38 = add i64 %.040.us, 1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  %39 = icmp ult i64 %37, %5
  br i1 %39, label %.lr.ph.us, label %._crit_edge43, !llvm.loop !10

.lr.ph42.split:                                   ; preds = %.lr.ph42, %.lr.ph42.split
  %.040 = phi i64 [ %51, %.lr.ph42.split ], [ 1, %.lr.ph42 ]
  %.03539 = phi i64 [ %50, %.lr.ph42.split ], [ 0, %.lr.ph42 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  %40 = lshr i64 %.040, 24
  %41 = trunc i64 %40 to i8
  store i8 %41, ptr %11, align 1, !tbaa !5
  %42 = lshr i64 %.040, 16
  %43 = trunc i64 %42 to i8
  store i8 %43, ptr %12, align 1, !tbaa !5
  %44 = lshr i64 %.040, 8
  %45 = trunc i64 %44 to i8
  store i8 %45, ptr %13, align 1, !tbaa !5
  %46 = trunc i64 %.040 to i8
  store i8 %46, ptr %14, align 1, !tbaa !5
  call void @sha1_hmac_starts(ptr noundef nonnull %8, ptr noundef %0, i32 noundef %15)
  call void @sha1_hmac_update(ptr noundef nonnull %8, ptr noundef %2, i32 noundef %16)
  call void @sha1_hmac_update(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef 4)
  call void @sha1_hmac_finish(ptr noundef nonnull %8, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(20) %10, ptr noundef nonnull align 16 dereferenceable(20) %9, i64 20, i1 false)
  %47 = sub i64 %5, %.03539
  %48 = call i64 @llvm.umin.i64(i64 %47, i64 20)
  %49 = getelementptr inbounds i8, ptr %6, i64 %.03539
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %49, ptr nonnull align 16 %10, i64 %48, i1 false)
  %50 = add i64 %48, %.03539
  %51 = add i64 %.040, 1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  %52 = icmp ult i64 %50, %5
  br i1 %52, label %.lr.ph42.split, label %._crit_edge43, !llvm.loop !10

._crit_edge43:                                    ; preds = %.lr.ph42.split, %._crit_edge.us, %7
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %10)
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %8) #5
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass