; LLVM IR from ARMmbed/mbed-crypto :: library (pkcs5)

; 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.mbedtls_md_context_t = type { ptr, ptr, ptr }

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_pkcs5_pbkdf2_hmac(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #2 {
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca [64 x i8], align 16
  %22 = alloca [64 x i8], align 16
  %23 = alloca i8, align 1
  %24 = alloca i64, align 8
  %25 = alloca ptr, align 8
  %26 = alloca [4 x i8], align 1
  %27 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i64 %2, ptr %12, align 8, !tbaa !9
  store ptr %3, ptr %13, align 8, !tbaa !5
  store i64 %4, ptr %14, align 8, !tbaa !9
  store i32 %5, ptr %15, align 4, !tbaa !11
  store i32 %6, ptr %16, align 4, !tbaa !11
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #5
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.mbedtls_md_context_t, ptr %28, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !13
  %31 = call zeroext i8 @mbedtls_md_get_size(ptr noundef %30)
  store i8 %31, ptr %23, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %32 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %32, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %33 = getelementptr inbounds [4 x i8], ptr %26, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %33, i8 0, i64 4, i1 false)
  %34 = getelementptr inbounds [4 x i8], ptr %26, i64 0, i64 3
  store i8 1, ptr %34, align 1, !tbaa !15
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  %37 = load i64, ptr %12, align 8, !tbaa !9
  %38 = call i32 @mbedtls_md_hmac_starts(ptr noundef %35, ptr noundef %36, i64 noundef %37)
  store i32 %38, ptr %18, align 4, !tbaa !11
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %42

40:                                               ; preds = %8
  %41 = load i32, ptr %18, align 4, !tbaa !11
  store i32 %41, ptr %9, align 4
  store i32 1, ptr %27, align 4
  br label %173

42:                                               ; preds = %8
  br label %43

43:                                               ; preds = %171, %42
  %44 = load i32, ptr %16, align 4, !tbaa !11
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %172

46:                                               ; preds = %43
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  %49 = load i64, ptr %14, align 8, !tbaa !9
  %50 = call i32 @mbedtls_md_hmac_update(ptr noundef %47, ptr noundef %48, i64 noundef %49)
  store i32 %50, ptr %18, align 4, !tbaa !11
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %54

52:                                               ; preds = %46
  %53 = load i32, ptr %18, align 4, !tbaa !11
  store i32 %53, ptr %9, align 4
  store i32 1, ptr %27, align 4
  br label %173

54:                                               ; preds = %46
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = getelementptr inbounds [4 x i8], ptr %26, i64 0, i64 0
  %57 = call i32 @mbedtls_md_hmac_update(ptr noundef %55, ptr noundef %56, i64 noundef 4)
  store i32 %57, ptr %18, align 4, !tbaa !11
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %61

59:                                               ; preds = %54
  %60 = load i32, ptr %18, align 4, !tbaa !11
  store i32 %60, ptr %9, align 4
  store i32 1, ptr %27, align 4
  br label %173

61:                                               ; preds = %54
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = getelementptr inbounds [64 x i8], ptr %22, i64 0, i64 0
  %64 = call i32 @mbedtls_md_hmac_finish(ptr noundef %62, ptr noundef %63)
  store i32 %64, ptr %18, align 4, !tbaa !11
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %68

66:                                               ; preds = %61
  %67 = load i32, ptr %18, align 4, !tbaa !11
  store i32 %67, ptr %9, align 4
  store i32 1, ptr %27, align 4
  br label %173

68:                                               ; preds = %61
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = call i32 @mbedtls_md_hmac_reset(ptr noundef %69)
  store i32 %70, ptr %18, align 4, !tbaa !11
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %74

72:                                               ; preds = %68
  %73 = load i32, ptr %18, align 4, !tbaa !11
  store i32 %73, ptr %9, align 4
  store i32 1, ptr %27, align 4
  br label %173

74:                                               ; preds = %68
  %75 = getelementptr inbounds [64 x i8], ptr %21, i64 0, i64 0
  %76 = getelementptr inbounds [64 x i8], ptr %22, i64 0, i64 0
  %77 = load i8, ptr %23, align 1, !tbaa !15
  %78 = zext i8 %77 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %75, ptr align 16 %76, i64 %78, i1 false)
  store i32 1, ptr %20, align 4, !tbaa !11
  br label %79

79:                                               ; preds = %128, %74
  %80 = load i32, ptr %20, align 4, !tbaa !11
  %81 = load i32, ptr %15, align 4, !tbaa !11
  %82 = icmp ult i32 %80, %81
  br i1 %82, label %83, label %131

83:                                               ; preds = %79
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = getelementptr inbounds [64 x i8], ptr %21, i64 0, i64 0
  %86 = load i8, ptr %23, align 1, !tbaa !15
  %87 = zext i8 %86 to i64
  %88 = call i32 @mbedtls_md_hmac_update(ptr noundef %84, ptr noundef %85, i64 noundef %87)
  store i32 %88, ptr %18, align 4, !tbaa !11
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %92

90:                                               ; preds = %83
  %91 = load i32, ptr %18, align 4, !tbaa !11
  store i32 %91, ptr %9, align 4
  store i32 1, ptr %27, align 4
  br label %173

92:                                               ; preds = %83
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = getelementptr inbounds [64 x i8], ptr %21, i64 0, i64 0
  %95 = call i32 @mbedtls_md_hmac_finish(ptr noundef %93, ptr noundef %94)
  store i32 %95, ptr %18, align 4, !tbaa !11
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %99

97:                                               ; preds = %92
  %98 = load i32, ptr %18, align 4, !tbaa !11
  store i32 %98, ptr %9, align 4
  store i32 1, ptr %27, align 4
  br label %173

99:                                               ; preds = %92
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = call i32 @mbedtls_md_hmac_reset(ptr noundef %100)
  store i32 %101, ptr %18, align 4, !tbaa !11
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %99
  %104 = load i32, ptr %18, align 4, !tbaa !11
  store i32 %104, ptr %9, align 4
  store i32 1, ptr %27, align 4
  br label %173

105:                                              ; preds = %99
  store i32 0, ptr %19, align 4, !tbaa !11
  br label %106

106:                                              ; preds = %124, %105
  %107 = load i32, ptr %19, align 4, !tbaa !11
  %108 = load i8, ptr %23, align 1, !tbaa !15
  %109 = zext i8 %108 to i32
  %110 = icmp slt i32 %107, %109
  br i1 %110, label %111, label %127

111:                                              ; preds = %106
  %112 = load i32, ptr %19, align 4, !tbaa !11
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [64 x i8], ptr %21, i64 0, i64 %113
  %115 = load i8, ptr %114, align 1, !tbaa !15
  %116 = zext i8 %115 to i32
  %117 = load i32, ptr %19, align 4, !tbaa !11
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [64 x i8], ptr %22, i64 0, i64 %118
  %120 = load i8, ptr %119, align 1, !tbaa !15
  %121 = zext i8 %120 to i32
  %122 = xor i32 %121, %116
  %123 = trunc i32 %122 to i8
  store i8 %123, ptr %119, align 1, !tbaa !15
  br label %124

124:                                              ; preds = %111
  %125 = load i32, ptr %19, align 4, !tbaa !11
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %19, align 4, !tbaa !11
  br label %106, !llvm.loop !16

127:                                              ; preds = %106
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %20, align 4, !tbaa !11
  %130 = add i32 %129, 1
  store i32 %130, ptr %20, align 4, !tbaa !11
  br label %79, !llvm.loop !18

131:                                              ; preds = %79
  %132 = load i32, ptr %16, align 4, !tbaa !11
  %133 = load i8, ptr %23, align 1, !tbaa !15
  %134 = zext i8 %133 to i32
  %135 = icmp ult i32 %132, %134
  br i1 %135, label %136, label %138

136:                                              ; preds = %131
  %137 = load i32, ptr %16, align 4, !tbaa !11
  br label %141

138:                                              ; preds = %131
  %139 = load i8, ptr %23, align 1, !tbaa !15
  %140 = zext i8 %139 to i32
  br label %141

141:                                              ; preds = %138, %136
  %142 = phi i32 [ %137, %136 ], [ %140, %138 ]
  %143 = zext i32 %142 to i64
  store i64 %143, ptr %24, align 8, !tbaa !9
  %144 = load ptr, ptr %25, align 8, !tbaa !5
  %145 = getelementptr inbounds [64 x i8], ptr %22, i64 0, i64 0
  %146 = load i64, ptr %24, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %144, ptr align 16 %145, i64 %146, i1 false)
  %147 = load i64, ptr %24, align 8, !tbaa !9
  %148 = trunc i64 %147 to i32
  %149 = load i32, ptr %16, align 4, !tbaa !11
  %150 = sub i32 %149, %148
  store i32 %150, ptr %16, align 4, !tbaa !11
  %151 = load i64, ptr %24, align 8, !tbaa !9
  %152 = load ptr, ptr %25, align 8, !tbaa !5
  %153 = getelementptr inbounds i8, ptr %152, i64 %151
  store ptr %153, ptr %25, align 8, !tbaa !5
  store i32 4, ptr %20, align 4, !tbaa !11
  br label %154

154:                                              ; preds = %168, %141
  %155 = load i32, ptr %20, align 4, !tbaa !11
  %156 = icmp ugt i32 %155, 0
  br i1 %156, label %157, label %171

157:                                              ; preds = %154
  %158 = load i32, ptr %20, align 4, !tbaa !11
  %159 = sub i32 %158, 1
  %160 = zext i32 %159 to i64
  %161 = getelementptr inbounds [4 x i8], ptr %26, i64 0, i64 %160
  %162 = load i8, ptr %161, align 1, !tbaa !15
  %163 = add i8 %162, 1
  store i8 %163, ptr %161, align 1, !tbaa !15
  %164 = zext i8 %163 to i32
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %167

166:                                              ; preds = %157
  br label %171

167:                                              ; preds = %157
  br label %168

168:                                              ; preds = %167
  %169 = load i32, ptr %20, align 4, !tbaa !11
  %170 = add i32 %169, -1
  store i32 %170, ptr %20, align 4, !tbaa !11
  br label %154, !llvm.loop !19

171:                                              ; preds = %166, %154
  br label %43, !llvm.loop !20

172:                                              ; preds = %43
  store i32 0, ptr %9, align 4
  store i32 1, ptr %27, align 4
  br label %173

173:                                              ; preds = %172, %103, %97, %90, %72, %66, %59, %52, %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  %174 = load i32, ptr %9, align 4
  ret i32 %174
}

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

declare zeroext i8 @mbedtls_md_get_size(ptr noundef) #3

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

declare i32 @mbedtls_md_hmac_starts(ptr noundef, ptr noundef, i64 noundef) #3

declare i32 @mbedtls_md_hmac_update(ptr noundef, ptr noundef, i64 noundef) #3

declare i32 @mbedtls_md_hmac_finish(ptr noundef, ptr noundef) #3

declare i32 @mbedtls_md_hmac_reset(ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"mbedtls_md_context_t", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !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"

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_pkcs5_pbkdf2_hmac(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef writeonly %7) local_unnamed_addr #2 {
  %9 = alloca [64 x i8], align 16
  %10 = alloca [64 x i8], align 16
  %11 = alloca [4 x i8], align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #5
  %12 = load ptr, ptr %0, align 8, !tbaa !5
  %13 = tail call zeroext i8 @mbedtls_md_get_size(ptr noundef %12) #5
  %.fr108 = freeze i8 %13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  store i32 16777216, ptr %11, align 4
  %14 = getelementptr inbounds i8, ptr %11, i64 3
  %15 = tail call i32 @mbedtls_md_hmac_starts(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2) #5
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %.preheader68, label %.loopexit

.preheader68:                                     ; preds = %8
  %.not5876 = icmp eq i32 %6, 0
  br i1 %.not5876, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader68
  %16 = zext i8 %.fr108 to i64
  %17 = icmp ugt i32 %5, 1
  %18 = zext i8 %.fr108 to i32
  br i1 %17, label %.lr.ph.split.us, label %.lr.ph.split.preheader

.lr.ph.split.preheader:                           ; preds = %.lr.ph
  %19 = getelementptr inbounds i8, ptr %11, i64 2
  %20 = getelementptr inbounds i8, ptr %11, i64 1
  br label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph
  %.not109 = icmp eq i8 %.fr108, 0
  br i1 %.not109, label %.lr.ph.split.us.split.preheader, label %.lr.ph.split.us.split.us.preheader

.lr.ph.split.us.split.us.preheader:               ; preds = %.lr.ph.split.us
  %wide.trip.count = zext i8 %.fr108 to i64
  %21 = getelementptr inbounds i8, ptr %11, i64 2
  %22 = getelementptr inbounds i8, ptr %11, i64 1
  %min.iters.check = icmp ult i8 %.fr108, 8
  %min.iters.check144 = icmp ult i8 %.fr108, 32
  %n.vec = and i64 %wide.trip.count, 224
  %23 = getelementptr inbounds i8, ptr %9, i64 16
  %24 = getelementptr inbounds i8, ptr %10, i64 16
  %25 = icmp eq i64 %n.vec, 32
  %26 = getelementptr inbounds i8, ptr %9, i64 32
  %27 = getelementptr inbounds i8, ptr %9, i64 48
  %28 = getelementptr inbounds i8, ptr %10, i64 32
  %29 = getelementptr inbounds i8, ptr %10, i64 48
  %30 = icmp eq i64 %n.vec, 64
  %31 = getelementptr inbounds i8, ptr %9, i64 64
  %32 = getelementptr inbounds i8, ptr %9, i64 80
  %33 = getelementptr inbounds i8, ptr %10, i64 64
  %34 = getelementptr inbounds i8, ptr %10, i64 80
  %35 = icmp eq i64 %n.vec, 96
  %36 = getelementptr inbounds i8, ptr %9, i64 96
  %37 = getelementptr inbounds i8, ptr %9, i64 112
  %38 = getelementptr inbounds i8, ptr %10, i64 96
  %39 = getelementptr inbounds i8, ptr %10, i64 112
  %40 = icmp eq i64 %n.vec, 128
  %41 = getelementptr inbounds i8, ptr %9, i64 128
  %42 = getelementptr inbounds i8, ptr %9, i64 144
  %43 = getelementptr inbounds i8, ptr %10, i64 128
  %44 = getelementptr inbounds i8, ptr %10, i64 144
  %45 = icmp eq i64 %n.vec, 160
  %46 = getelementptr inbounds i8, ptr %9, i64 160
  %47 = getelementptr inbounds i8, ptr %9, i64 176
  %48 = getelementptr inbounds i8, ptr %10, i64 160
  %49 = getelementptr inbounds i8, ptr %10, i64 176
  %50 = icmp eq i64 %n.vec, 192
  %51 = getelementptr inbounds i8, ptr %9, i64 192
  %52 = getelementptr inbounds i8, ptr %9, i64 208
  %53 = getelementptr inbounds i8, ptr %10, i64 192
  %54 = getelementptr inbounds i8, ptr %10, i64 208
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  %n.vec.remaining = and i64 %wide.trip.count, 24
  %min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
  %n.vec149 = and i64 %wide.trip.count, 248
  %cmp.n154 = icmp eq i64 %n.vec149, %wide.trip.count
  br label %.lr.ph.split.us.split.us

.lr.ph.split.us.split.preheader:                  ; preds = %.lr.ph.split.us
  %55 = getelementptr inbounds i8, ptr %11, i64 2
  %56 = getelementptr inbounds i8, ptr %11, i64 1
  br label %.lr.ph.split.us.split

.lr.ph.split.us.split.us:                         ; preds = %.lr.ph.split.us.split.us.preheader, %73
  %.078.us.us = phi ptr [ %107, %73 ], [ %7, %.lr.ph.split.us.split.us.preheader ]
  %.04777.us.us = phi i32 [ %106, %73 ], [ %6, %.lr.ph.split.us.split.us.preheader ]
  %57 = call i32 @mbedtls_md_hmac_update(ptr noundef nonnull %0, ptr noundef %3, i64 noundef %4) #5
  %.not59.us.us = icmp eq i32 %57, 0
  br i1 %.not59.us.us, label %58, label %.loopexit

58:                                               ; preds = %.lr.ph.split.us.split.us
  %59 = call i32 @mbedtls_md_hmac_update(ptr noundef nonnull %0, ptr noundef nonnull %11, i64 noundef 4) #5
  %.not60.us.us = icmp eq i32 %59, 0
  br i1 %.not60.us.us, label %60, label %.loopexit

60:                                               ; preds = %58
  %61 = call i32 @mbedtls_md_hmac_finish(ptr noundef nonnull %0, ptr noundef nonnull %10) #5
  %.not61.us.us = icmp eq i32 %61, 0
  br i1 %.not61.us.us, label %62, label %.loopexit

62:                                               ; preds = %60
  %63 = call i32 @mbedtls_md_hmac_reset(ptr noundef nonnull %0) #5
  %.not62.us.us = icmp eq i32 %63, 0
  br i1 %.not62.us.us, label %.lr.ph74.us.us, label %.loopexit

.lr.ph74.us.us:                                   ; preds = %62
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %9, ptr nonnull align 16 %10, i64 %16, i1 false)
  br label %74

64:                                               ; preds = %._crit_edge75.split.us.us.us
  %65 = load i8, ptr %21, align 2, !tbaa !10
  %66 = add i8 %65, 1
  store i8 %66, ptr %21, align 2, !tbaa !10
  %.not64.us.us.1 = icmp eq i8 %66, 0
  br i1 %.not64.us.us.1, label %67, label %73, !llvm.loop !11

67:                                               ; preds = %64
  %68 = load i8, ptr %22, align 1, !tbaa !10
  %69 = add i8 %68, 1
  store i8 %69, ptr %22, align 1, !tbaa !10
  %.not64.us.us.2 = icmp eq i8 %69, 0
  br i1 %.not64.us.us.2, label %70, label %73, !llvm.loop !11

70:                                               ; preds = %67
  %71 = load i8, ptr %11, align 4, !tbaa !10
  %72 = add i8 %71, 1
  store i8 %72, ptr %11, align 4, !tbaa !10
  br label %73

73:                                               ; preds = %70, %67, %64, %._crit_edge75.split.us.us.us
  %.not58.us.us = icmp eq i32 %106, 0
  br i1 %.not58.us.us, label %.loopexit, label %.lr.ph.split.us.split.us, !llvm.loop !13

74:                                               ; preds = %._crit_edge.us.us.us, %.lr.ph74.us.us
  %.04872.us.us.us = phi i32 [ 1, %.lr.ph74.us.us ], [ %103, %._crit_edge.us.us.us ]
  %75 = call i32 @mbedtls_md_hmac_update(ptr noundef nonnull %0, ptr noundef nonnull %9, i64 noundef %16) #5
  %.not65.us.us.us = icmp eq i32 %75, 0
  br i1 %.not65.us.us.us, label %76, label %.loopexit

76:                                               ; preds = %74
  %77 = call i32 @mbedtls_md_hmac_finish(ptr noundef nonnull %0, ptr noundef nonnull %9) #5
  %.not66.us.us.us = icmp eq i32 %77, 0
  br i1 %.not66.us.us.us, label %78, label %.loopexit

78:                                               ; preds = %76
  %79 = call i32 @mbedtls_md_hmac_reset(ptr noundef nonnull %0) #5
  %.not67.us.us.us = icmp eq i32 %79, 0
  br i1 %.not67.us.us.us, label %iter.check, label %.loopexit

iter.check:                                       ; preds = %78
  br i1 %min.iters.check, label %.preheader.us.us.us.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %iter.check
  br i1 %min.iters.check144, label %vec.epilog.ph, label %vector.body

vector.body:                                      ; preds = %vector.main.loop.iter.check
  %wide.load = load <16 x i8>, ptr %9, align 16, !tbaa !10
  %wide.load145 = load <16 x i8>, ptr %23, align 16, !tbaa !10
  %wide.load146 = load <16 x i8>, ptr %10, align 16, !tbaa !10
  %wide.load147 = load <16 x i8>, ptr %24, align 16, !tbaa !10
  %80 = xor <16 x i8> %wide.load146, %wide.load
  %81 = xor <16 x i8> %wide.load147, %wide.load145
  store <16 x i8> %80, ptr %10, align 16, !tbaa !10
  store <16 x i8> %81, ptr %24, align 16, !tbaa !10
  br i1 %25, label %middle.block, label %vector.body.1, !llvm.loop !14

vector.body.1:                                    ; preds = %vector.body
  %wide.load.1 = load <16 x i8>, ptr %26, align 16, !tbaa !10
  %wide.load145.1 = load <16 x i8>, ptr %27, align 16, !tbaa !10
  %wide.load146.1 = load <16 x i8>, ptr %28, align 16, !tbaa !10
  %wide.load147.1 = load <16 x i8>, ptr %29, align 16, !tbaa !10
  %82 = xor <16 x i8> %wide.load146.1, %wide.load.1
  %83 = xor <16 x i8> %wide.load147.1, %wide.load145.1
  store <16 x i8> %82, ptr %28, align 16, !tbaa !10
  store <16 x i8> %83, ptr %29, align 16, !tbaa !10
  br i1 %30, label %middle.block, label %vector.body.2, !llvm.loop !14

vector.body.2:                                    ; preds = %vector.body.1
  %wide.load.2 = load <16 x i8>, ptr %31, align 16, !tbaa !10
  %wide.load145.2 = load <16 x i8>, ptr %32, align 16, !tbaa !10
  %wide.load146.2 = load <16 x i8>, ptr %33, align 16, !tbaa !10
  %wide.load147.2 = load <16 x i8>, ptr %34, align 16, !tbaa !10
  %84 = xor <16 x i8> %wide.load146.2, %wide.load.2
  %85 = xor <16 x i8> %wide.load147.2, %wide.load145.2
  store <16 x i8> %84, ptr %33, align 16, !tbaa !10
  store <16 x i8> %85, ptr %34, align 16, !tbaa !10
  br i1 %35, label %middle.block, label %vector.body.3, !llvm.loop !14

vector.body.3:                                    ; preds = %vector.body.2
  %wide.load.3 = load <16 x i8>, ptr %36, align 16, !tbaa !10
  %wide.load145.3 = load <16 x i8>, ptr %37, align 16, !tbaa !10
  %wide.load146.3 = load <16 x i8>, ptr %38, align 16, !tbaa !10
  %wide.load147.3 = load <16 x i8>, ptr %39, align 16, !tbaa !10
  %86 = xor <16 x i8> %wide.load146.3, %wide.load.3
  %87 = xor <16 x i8> %wide.load147.3, %wide.load145.3
  store <16 x i8> %86, ptr %38, align 16, !tbaa !10
  store <16 x i8> %87, ptr %39, align 16, !tbaa !10
  br i1 %40, label %middle.block, label %vector.body.4, !llvm.loop !14

vector.body.4:                                    ; preds = %vector.body.3
  %wide.load.4 = load <16 x i8>, ptr %41, align 16, !tbaa !10
  %wide.load145.4 = load <16 x i8>, ptr %42, align 16, !tbaa !10
  %wide.load146.4 = load <16 x i8>, ptr %43, align 16, !tbaa !10
  %wide.load147.4 = load <16 x i8>, ptr %44, align 16, !tbaa !10
  %88 = xor <16 x i8> %wide.load146.4, %wide.load.4
  %89 = xor <16 x i8> %wide.load147.4, %wide.load145.4
  store <16 x i8> %88, ptr %43, align 16, !tbaa !10
  store <16 x i8> %89, ptr %44, align 16, !tbaa !10
  br i1 %45, label %middle.block, label %vector.body.5, !llvm.loop !14

vector.body.5:                                    ; preds = %vector.body.4
  %wide.load.5 = load <16 x i8>, ptr %46, align 16, !tbaa !10
  %wide.load145.5 = load <16 x i8>, ptr %47, align 16, !tbaa !10
  %wide.load146.5 = load <16 x i8>, ptr %48, align 16, !tbaa !10
  %wide.load147.5 = load <16 x i8>, ptr %49, align 16, !tbaa !10
  %90 = xor <16 x i8> %wide.load146.5, %wide.load.5
  %91 = xor <16 x i8> %wide.load147.5, %wide.load145.5
  store <16 x i8> %90, ptr %48, align 16, !tbaa !10
  store <16 x i8> %91, ptr %49, align 16, !tbaa !10
  br i1 %50, label %middle.block, label %vector.body.6, !llvm.loop !14

vector.body.6:                                    ; preds = %vector.body.5
  %wide.load.6 = load <16 x i8>, ptr %51, align 16, !tbaa !10
  %wide.load145.6 = load <16 x i8>, ptr %52, align 16, !tbaa !10
  %wide.load146.6 = load <16 x i8>, ptr %53, align 16, !tbaa !10
  %wide.load147.6 = load <16 x i8>, ptr %54, align 16, !tbaa !10
  %92 = xor <16 x i8> %wide.load146.6, %wide.load.6
  %93 = xor <16 x i8> %wide.load147.6, %wide.load145.6
  store <16 x i8> %92, ptr %53, align 16, !tbaa !10
  store <16 x i8> %93, ptr %54, align 16, !tbaa !10
  br label %middle.block

middle.block:                                     ; preds = %vector.body.6, %vector.body.5, %vector.body.4, %vector.body.3, %vector.body.2, %vector.body.1, %vector.body
  br i1 %cmp.n, label %._crit_edge.us.us.us, label %vec.epilog.iter.check

vec.epilog.iter.check:                            ; preds = %middle.block
  br i1 %min.epilog.iters.check, label %.preheader.us.us.us.preheader, label %vec.epilog.ph

vec.epilog.ph:                                    ; preds = %vector.main.loop.iter.check, %vec.epilog.iter.check
  %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %vec.epilog.vector.body, %vec.epilog.ph
  %index150 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next153, %vec.epilog.vector.body ]
  %94 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 %index150
  %wide.load151 = load <8 x i8>, ptr %94, align 8, !tbaa !10
  %95 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 %index150
  %wide.load152 = load <8 x i8>, ptr %95, align 8, !tbaa !10
  %96 = xor <8 x i8> %wide.load152, %wide.load151
  store <8 x i8> %96, ptr %95, align 8, !tbaa !10
  %index.next153 = add nuw i64 %index150, 8
  %97 = icmp eq i64 %index.next153, %n.vec149
  br i1 %97, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !17

vec.epilog.middle.block:                          ; preds = %vec.epilog.vector.body
  br i1 %cmp.n154, label %._crit_edge.us.us.us, label %.preheader.us.us.us.preheader

.preheader.us.us.us.preheader:                    ; preds = %vec.epilog.middle.block, %iter.check, %vec.epilog.iter.check
  %indvars.iv.ph = phi i64 [ 0, %iter.check ], [ %n.vec, %vec.epilog.iter.check ], [ %n.vec149, %vec.epilog.middle.block ]
  br label %.preheader.us.us.us

.preheader.us.us.us:                              ; preds = %.preheader.us.us.us.preheader, %.preheader.us.us.us
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader.us.us.us ], [ %indvars.iv.ph, %.preheader.us.us.us.preheader ]
  %98 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 %indvars.iv
  %99 = load i8, ptr %98, align 1, !tbaa !10
  %100 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 %indvars.iv
  %101 = load i8, ptr %100, align 1, !tbaa !10
  %102 = xor i8 %101, %99
  store i8 %102, ptr %100, align 1, !tbaa !10
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.us.us.us, label %.preheader.us.us.us, !llvm.loop !18

._crit_edge.us.us.us:                             ; preds = %.preheader.us.us.us, %vec.epilog.middle.block, %middle.block
  %103 = add nuw i32 %.04872.us.us.us, 1
  %exitcond120.not = icmp eq i32 %103, %5
  br i1 %exitcond120.not, label %._crit_edge75.split.us.us.us, label %74, !llvm.loop !19

._crit_edge75.split.us.us.us:                     ; preds = %._crit_edge.us.us.us
  %104 = call i32 @llvm.umin.i32(i32 %.04777.us.us, i32 %18)
  %105 = zext nneg i32 %104 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.078.us.us, ptr nonnull align 16 %10, i64 %105, i1 false)
  %106 = sub i32 %.04777.us.us, %104
  %107 = getelementptr inbounds i8, ptr %.078.us.us, i64 %105
  %108 = load i8, ptr %14, align 1, !tbaa !10
  %109 = add i8 %108, 1
  store i8 %109, ptr %14, align 1, !tbaa !10
  %.not64.us.us = icmp eq i8 %109, 0
  br i1 %.not64.us.us, label %64, label %73, !llvm.loop !11

.lr.ph.split.us.split:                            ; preds = %.lr.ph.split.us.split.preheader, %126
  %.078.us = phi ptr [ %137, %126 ], [ %7, %.lr.ph.split.us.split.preheader ]
  %.04777.us = phi i32 [ %136, %126 ], [ %6, %.lr.ph.split.us.split.preheader ]
  %110 = call i32 @mbedtls_md_hmac_update(ptr noundef nonnull %0, ptr noundef %3, i64 noundef %4) #5
  %.not59.us = icmp eq i32 %110, 0
  br i1 %.not59.us, label %111, label %.loopexit

111:                                              ; preds = %.lr.ph.split.us.split
  %112 = call i32 @mbedtls_md_hmac_update(ptr noundef nonnull %0, ptr noundef nonnull %11, i64 noundef 4) #5
  %.not60.us = icmp eq i32 %112, 0
  br i1 %.not60.us, label %113, label %.loopexit

113:                                              ; preds = %111
  %114 = call i32 @mbedtls_md_hmac_finish(ptr noundef nonnull %0, ptr noundef nonnull %10) #5
  %.not61.us = icmp eq i32 %114, 0
  br i1 %.not61.us, label %115, label %.loopexit

115:                                              ; preds = %113
  %116 = call i32 @mbedtls_md_hmac_reset(ptr noundef nonnull %0) #5
  %.not62.us = icmp eq i32 %116, 0
  br i1 %.not62.us, label %.lr.ph74.us, label %.loopexit

.lr.ph74.us:                                      ; preds = %115
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %9, ptr nonnull align 16 %10, i64 %16, i1 false)
  br label %127

117:                                              ; preds = %._crit_edge75.split.us92
  %118 = load i8, ptr %55, align 2, !tbaa !10
  %119 = add i8 %118, 1
  store i8 %119, ptr %55, align 2, !tbaa !10
  %.not64.us.1 = icmp eq i8 %119, 0
  br i1 %.not64.us.1, label %120, label %126, !llvm.loop !11

120:                                              ; preds = %117
  %121 = load i8, ptr %56, align 1, !tbaa !10
  %122 = add i8 %121, 1
  store i8 %122, ptr %56, align 1, !tbaa !10
  %.not64.us.2 = icmp eq i8 %122, 0
  br i1 %.not64.us.2, label %123, label %126, !llvm.loop !11

123:                                              ; preds = %120
  %124 = load i8, ptr %11, align 4, !tbaa !10
  %125 = add i8 %124, 1
  store i8 %125, ptr %11, align 4, !tbaa !10
  br label %126

126:                                              ; preds = %123, %120, %117, %._crit_edge75.split.us92
  %.not58.us = icmp eq i32 %136, 0
  br i1 %.not58.us, label %.loopexit, label %.lr.ph.split.us.split, !llvm.loop !13

127:                                              ; preds = %.lr.ph74.us, %.preheader.us91
  %.04872.us87 = phi i32 [ 1, %.lr.ph74.us ], [ %133, %.preheader.us91 ]
  %128 = call i32 @mbedtls_md_hmac_update(ptr noundef nonnull %0, ptr noundef nonnull %9, i64 noundef %16) #5
  %.not65.us88 = icmp eq i32 %128, 0
  br i1 %.not65.us88, label %129, label %.loopexit

129:                                              ; preds = %127
  %130 = call i32 @mbedtls_md_hmac_finish(ptr noundef nonnull %0, ptr noundef nonnull %9) #5
  %.not66.us89 = icmp eq i32 %130, 0
  br i1 %.not66.us89, label %131, label %.loopexit

131:                                              ; preds = %129
  %132 = call i32 @mbedtls_md_hmac_reset(ptr noundef nonnull %0) #5
  %.not67.us90 = icmp eq i32 %132, 0
  br i1 %.not67.us90, label %.preheader.us91, label %.loopexit

.preheader.us91:                                  ; preds = %131
  %133 = add nuw i32 %.04872.us87, 1
  %exitcond124.not = icmp eq i32 %133, %5
  br i1 %exitcond124.not, label %._crit_edge75.split.us92, label %127, !llvm.loop !19

._crit_edge75.split.us92:                         ; preds = %.preheader.us91
  %134 = call i32 @llvm.umin.i32(i32 %.04777.us, i32 %18)
  %135 = zext nneg i32 %134 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.078.us, ptr nonnull align 16 %10, i64 %135, i1 false)
  %136 = sub nuw nsw i32 %.04777.us, %134
  %137 = getelementptr inbounds i8, ptr %.078.us, i64 %135
  %138 = load i8, ptr %14, align 1, !tbaa !10
  %139 = add i8 %138, 1
  store i8 %139, ptr %14, align 1, !tbaa !10
  %.not64.us = icmp eq i8 %139, 0
  br i1 %.not64.us, label %117, label %126, !llvm.loop !11

.lr.ph.split:                                     ; preds = %.lr.ph.split.preheader, %163
  %.078 = phi ptr [ %151, %163 ], [ %7, %.lr.ph.split.preheader ]
  %.04777 = phi i32 [ %150, %163 ], [ %6, %.lr.ph.split.preheader ]
  %140 = call i32 @mbedtls_md_hmac_update(ptr noundef nonnull %0, ptr noundef %3, i64 noundef %4) #5
  %.not59 = icmp eq i32 %140, 0
  br i1 %.not59, label %141, label %.loopexit

141:                                              ; preds = %.lr.ph.split
  %142 = call i32 @mbedtls_md_hmac_update(ptr noundef nonnull %0, ptr noundef nonnull %11, i64 noundef 4) #5
  %.not60 = icmp eq i32 %142, 0
  br i1 %.not60, label %143, label %.loopexit

143:                                              ; preds = %141
  %144 = call i32 @mbedtls_md_hmac_finish(ptr noundef nonnull %0, ptr noundef nonnull %10) #5
  %.not61 = icmp eq i32 %144, 0
  br i1 %.not61, label %145, label %.loopexit

145:                                              ; preds = %143
  %146 = call i32 @mbedtls_md_hmac_reset(ptr noundef nonnull %0) #5
  %.not62 = icmp eq i32 %146, 0
  br i1 %.not62, label %147, label %.loopexit

147:                                              ; preds = %145
  %148 = call i32 @llvm.umin.i32(i32 %.04777, i32 %18)
  %149 = zext nneg i32 %148 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.078, ptr nonnull align 16 %10, i64 %149, i1 false)
  %150 = sub i32 %.04777, %148
  %151 = getelementptr inbounds i8, ptr %.078, i64 %149
  %152 = load i8, ptr %14, align 1, !tbaa !10
  %153 = add i8 %152, 1
  store i8 %153, ptr %14, align 1, !tbaa !10
  %.not64 = icmp eq i8 %153, 0
  br i1 %.not64, label %154, label %163, !llvm.loop !11

154:                                              ; preds = %147
  %155 = load i8, ptr %19, align 2, !tbaa !10
  %156 = add i8 %155, 1
  store i8 %156, ptr %19, align 2, !tbaa !10
  %.not64.1 = icmp eq i8 %156, 0
  br i1 %.not64.1, label %157, label %163, !llvm.loop !11

157:                                              ; preds = %154
  %158 = load i8, ptr %20, align 1, !tbaa !10
  %159 = add i8 %158, 1
  store i8 %159, ptr %20, align 1, !tbaa !10
  %.not64.2 = icmp eq i8 %159, 0
  br i1 %.not64.2, label %160, label %163, !llvm.loop !11

160:                                              ; preds = %157
  %161 = load i8, ptr %11, align 4, !tbaa !10
  %162 = add i8 %161, 1
  store i8 %162, ptr %11, align 4, !tbaa !10
  br label %163

163:                                              ; preds = %160, %157, %154, %147
  %.not58 = icmp eq i32 %150, 0
  br i1 %.not58, label %.loopexit, label %.lr.ph.split, !llvm.loop !13

.loopexit:                                        ; preds = %.lr.ph.split, %141, %143, %145, %163, %.lr.ph.split.us.split.us, %58, %60, %62, %73, %78, %76, %74, %.lr.ph.split.us.split, %111, %113, %115, %126, %127, %129, %131, %.preheader68, %8
  %.046 = phi i32 [ %15, %8 ], [ 0, %.preheader68 ], [ %132, %131 ], [ %130, %129 ], [ %128, %127 ], [ %110, %.lr.ph.split.us.split ], [ %112, %111 ], [ %114, %113 ], [ %116, %115 ], [ 0, %126 ], [ %79, %78 ], [ %77, %76 ], [ %75, %74 ], [ %57, %.lr.ph.split.us.split.us ], [ %59, %58 ], [ %61, %60 ], [ %63, %62 ], [ 0, %73 ], [ %140, %.lr.ph.split ], [ %142, %141 ], [ %144, %143 ], [ %146, %145 ], [ 0, %163 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #5
  ret i32 %.046
}

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

declare zeroext i8 @mbedtls_md_get_size(ptr noundef) local_unnamed_addr #3

declare i32 @mbedtls_md_hmac_starts(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

declare i32 @mbedtls_md_hmac_update(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

declare i32 @mbedtls_md_hmac_finish(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @mbedtls_md_hmac_reset(ptr noundef) local_unnamed_addr #3

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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, !7, i64 0}
!6 = !{!"mbedtls_md_context_t", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12, !15, !16}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !12, !15, !16}
!18 = distinct !{!18, !12, !16, !15}
!19 = distinct !{!19, !12}


; Effective O3 passes: ADCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass