; LLVM IR from cryspen/libcrux :: sys/hacl/c/src/msvc (Hacl_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.K___uint32_t_uint32_t_s = type { i32, i32 }

@.str = external hidden unnamed_addr constant [70 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1

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

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #2

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

; 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) #4

; 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 void @Hacl_HMAC_compute_blake2s_32(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #5 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca [16 x i32], align 16
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca [16 x i32], align 16
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %32 = alloca i32, align 4
  %33 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %34 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca [16 x i32], align 16
  %41 = alloca [16 x i32], align 16
  %42 = alloca [16 x i32], align 16
  %43 = alloca ptr, align 8
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %48 = alloca i32, align 4
  %49 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %50 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca ptr, align 8
  %55 = alloca ptr, align 8
  %56 = alloca [16 x i32], align 16
  %57 = alloca [16 x i32], align 16
  %58 = alloca [16 x i32], align 16
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 64, ptr %11, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %5
  %60 = load i32, ptr %11, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = icmp ugt i64 %61, -1
  br i1 %62, label %63, label %65

63:                                               ; preds = %59
  %64 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 564)
  call void @exit(i32 noundef 253) #7
  unreachable

65:                                               ; preds = %59
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %68 = load i32, ptr %11, align 4, !tbaa !9
  %69 = zext i32 %68 to i64
  %70 = mul i64 %69, 1
  %71 = alloca i8, i64 %70, align 16
  store ptr %71, ptr %12, align 8, !tbaa !5
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = load i32, ptr %11, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = mul i64 %74, 1
  call void @llvm.memset.p0.i64(ptr align 1 %72, i8 0, i64 %75, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %76, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %77 = load i32, ptr %8, align 4, !tbaa !9
  %78 = icmp ule i32 %77, 64
  br i1 %78, label %79, label %81

79:                                               ; preds = %67
  %80 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %80, ptr %14, align 4, !tbaa !9
  br label %82

81:                                               ; preds = %67
  store i32 32, ptr %14, align 4, !tbaa !9
  br label %82

82:                                               ; preds = %81, %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %83 = load ptr, ptr %12, align 8, !tbaa !5
  %84 = load i32, ptr %14, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds i8, ptr %83, i64 %85
  store ptr %86, ptr %15, align 8, !tbaa !5
  %87 = load ptr, ptr %15, align 8, !tbaa !5
  %88 = load i32, ptr %8, align 4, !tbaa !9
  %89 = icmp ule i32 %88, 64
  br i1 %89, label %90, label %96

90:                                               ; preds = %82
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = load i32, ptr %8, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = mul i64 %94, 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %91, ptr align 1 %92, i64 %95, i1 false)
  br label %100

96:                                               ; preds = %82
  %97 = load ptr, ptr %13, align 8, !tbaa !5
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = load i32, ptr %8, align 4, !tbaa !9
  call void @Hacl_Hash_Blake2s_hash_with_key(ptr noundef %97, i32 noundef 32, ptr noundef %98, i32 noundef %99, ptr noundef null, i32 noundef 0)
  br label %100

100:                                              ; preds = %96, %90
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %11, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = icmp ugt i64 %103, -1
  br i1 %104, label %105, label %107

105:                                              ; preds = %101
  %106 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 587)
  call void @exit(i32 noundef 253) #7
  unreachable

107:                                              ; preds = %101
  br label %108

108:                                              ; preds = %107
  br label %109

109:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %110 = load i32, ptr %11, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = mul i64 %111, 1
  %113 = alloca i8, i64 %112, align 16
  store ptr %113, ptr %16, align 8, !tbaa !5
  %114 = load ptr, ptr %16, align 8, !tbaa !5
  %115 = load i32, ptr %11, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = mul i64 %116, 1
  call void @llvm.memset.p0.i64(ptr align 1 %114, i8 54, i64 %117, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %118

118:                                              ; preds = %144, %109
  %119 = load i32, ptr %17, align 4, !tbaa !9
  %120 = load i32, ptr %11, align 4, !tbaa !9
  %121 = icmp ult i32 %119, %120
  br i1 %121, label %123, label %122

122:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %147

123:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  %124 = load ptr, ptr %16, align 8, !tbaa !5
  %125 = load i32, ptr %17, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = getelementptr inbounds i8, ptr %124, i64 %126
  %128 = load i8, ptr %127, align 1, !tbaa !11
  store i8 %128, ptr %18, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  %129 = load ptr, ptr %12, align 8, !tbaa !5
  %130 = load i32, ptr %17, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = getelementptr inbounds i8, ptr %129, i64 %131
  %133 = load i8, ptr %132, align 1, !tbaa !11
  store i8 %133, ptr %19, align 1, !tbaa !11
  %134 = load i8, ptr %18, align 1, !tbaa !11
  %135 = zext i8 %134 to i32
  %136 = load i8, ptr %19, align 1, !tbaa !11
  %137 = zext i8 %136 to i32
  %138 = xor i32 %135, %137
  %139 = trunc i32 %138 to i8
  %140 = load ptr, ptr %16, align 8, !tbaa !5
  %141 = load i32, ptr %17, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds i8, ptr %140, i64 %142
  store i8 %139, ptr %143, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %144

144:                                              ; preds = %123
  %145 = load i32, ptr %17, align 4, !tbaa !9
  %146 = add i32 %145, 1
  store i32 %146, ptr %17, align 4, !tbaa !9
  br label %118, !llvm.loop !12

147:                                              ; preds = %122
  br label %148

148:                                              ; preds = %147
  %149 = load i32, ptr %11, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = icmp ugt i64 %150, -1
  br i1 %151, label %152, label %154

152:                                              ; preds = %148
  %153 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 596)
  call void @exit(i32 noundef 253) #7
  unreachable

154:                                              ; preds = %148
  br label %155

155:                                              ; preds = %154
  br label %156

156:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %157 = load i32, ptr %11, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = mul i64 %158, 1
  %160 = alloca i8, i64 %159, align 16
  store ptr %160, ptr %20, align 8, !tbaa !5
  %161 = load ptr, ptr %20, align 8, !tbaa !5
  %162 = load i32, ptr %11, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = mul i64 %163, 1
  call void @llvm.memset.p0.i64(ptr align 1 %161, i8 92, i64 %164, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %165

165:                                              ; preds = %191, %156
  %166 = load i32, ptr %21, align 4, !tbaa !9
  %167 = load i32, ptr %11, align 4, !tbaa !9
  %168 = icmp ult i32 %166, %167
  br i1 %168, label %170, label %169

169:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %194

170:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  %171 = load ptr, ptr %20, align 8, !tbaa !5
  %172 = load i32, ptr %21, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds i8, ptr %171, i64 %173
  %175 = load i8, ptr %174, align 1, !tbaa !11
  store i8 %175, ptr %22, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  %177 = load i32, ptr %21, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = getelementptr inbounds i8, ptr %176, i64 %178
  %180 = load i8, ptr %179, align 1, !tbaa !11
  store i8 %180, ptr %23, align 1, !tbaa !11
  %181 = load i8, ptr %22, align 1, !tbaa !11
  %182 = zext i8 %181 to i32
  %183 = load i8, ptr %23, align 1, !tbaa !11
  %184 = zext i8 %183 to i32
  %185 = xor i32 %182, %184
  %186 = trunc i32 %185 to i8
  %187 = load ptr, ptr %20, align 8, !tbaa !5
  %188 = load i32, ptr %21, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds i8, ptr %187, i64 %189
  store i8 %186, ptr %190, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  br label %191

191:                                              ; preds = %170
  %192 = load i32, ptr %21, align 4, !tbaa !9
  %193 = add i32 %192, 1
  store i32 %193, ptr %21, align 4, !tbaa !9
  br label %165, !llvm.loop !14

194:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #6
  call void @llvm.memset.p0.i64(ptr align 16 %24, i8 0, i64 64, i1 false)
  %195 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0
  call void @Hacl_Hash_Blake2s_init(ptr noundef %195, i32 noundef 0, i32 noundef 32)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %196 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0
  store ptr %196, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %197 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %197, ptr %26, align 8, !tbaa !5
  %198 = load i32, ptr %10, align 4, !tbaa !9
  %199 = icmp eq i32 %198, 0
  br i1 %199, label %200, label %204

200:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #6
  call void @llvm.memset.p0.i64(ptr align 16 %27, i8 0, i64 64, i1 false)
  %201 = getelementptr inbounds [16 x i32], ptr %27, i64 0, i64 0
  %202 = load ptr, ptr %25, align 8, !tbaa !5
  %203 = load ptr, ptr %16, align 8, !tbaa !5
  call void @Hacl_Hash_Blake2s_update_last(i32 noundef 64, ptr noundef %201, ptr noundef %202, i64 noundef 0, i32 noundef 64, ptr noundef %203)
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #6
  br label %264

204:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  store i32 64, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %205 = load i32, ptr %10, align 4, !tbaa !9
  %206 = load i32, ptr %28, align 4, !tbaa !9
  %207 = udiv i32 %205, %206
  store i32 %207, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %208 = load i32, ptr %10, align 4, !tbaa !9
  %209 = load i32, ptr %28, align 4, !tbaa !9
  %210 = urem i32 %208, %209
  store i32 %210, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %211 = load i32, ptr %29, align 4, !tbaa !9
  %212 = icmp ugt i32 %211, 0
  br i1 %212, label %213, label %227

213:                                              ; preds = %204
  %214 = load i32, ptr %30, align 4, !tbaa !9
  %215 = icmp eq i32 %214, 0
  br i1 %215, label %216, label %227

216:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %217 = load i32, ptr %29, align 4, !tbaa !9
  %218 = sub i32 %217, 1
  store i32 %218, ptr %32, align 4, !tbaa !9
  %219 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %33, i32 0, i32 0
  %220 = load i32, ptr %32, align 4, !tbaa !9
  store i32 %220, ptr %219, align 4, !tbaa !15
  %221 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %33, i32 0, i32 1
  %222 = load i32, ptr %10, align 4, !tbaa !9
  %223 = load i32, ptr %32, align 4, !tbaa !9
  %224 = load i32, ptr %28, align 4, !tbaa !9
  %225 = mul i32 %223, %224
  %226 = sub i32 %222, %225
  store i32 %226, ptr %221, align 4, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %33, i64 8, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %232

227:                                              ; preds = %213, %204
  %228 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %34, i32 0, i32 0
  %229 = load i32, ptr %29, align 4, !tbaa !9
  store i32 %229, ptr %228, align 4, !tbaa !15
  %230 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %34, i32 0, i32 1
  %231 = load i32, ptr %30, align 4, !tbaa !9
  store i32 %231, ptr %230, align 4, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !18
  br label %232

232:                                              ; preds = %227, %216
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  %233 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %31, i32 0, i32 0
  %234 = load i32, ptr %233, align 4, !tbaa !15
  store i32 %234, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %235 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %31, i32 0, i32 1
  %236 = load i32, ptr %235, align 4, !tbaa !17
  store i32 %236, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %237 = load i32, ptr %35, align 4, !tbaa !9
  %238 = load i32, ptr %28, align 4, !tbaa !9
  %239 = mul i32 %237, %238
  store i32 %239, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %240 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %240, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %241 = load ptr, ptr %9, align 8, !tbaa !5
  %242 = load i32, ptr %37, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = getelementptr inbounds i8, ptr %241, i64 %243
  store ptr %244, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %40) #6
  call void @llvm.memset.p0.i64(ptr align 16 %40, i8 0, i64 64, i1 false)
  %245 = getelementptr inbounds [16 x i32], ptr %40, i64 0, i64 0
  %246 = load ptr, ptr %25, align 8, !tbaa !5
  %247 = load ptr, ptr %16, align 8, !tbaa !5
  call void @Hacl_Hash_Blake2s_update_multi(i32 noundef 64, ptr noundef %245, ptr noundef %246, i64 noundef 0, ptr noundef %247, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #6
  call void @llvm.memset.p0.i64(ptr align 16 %41, i8 0, i64 64, i1 false)
  %248 = load i32, ptr %35, align 4, !tbaa !9
  %249 = mul i32 %248, 64
  %250 = getelementptr inbounds [16 x i32], ptr %41, i64 0, i64 0
  %251 = load ptr, ptr %25, align 8, !tbaa !5
  %252 = load i32, ptr %28, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = load ptr, ptr %38, align 8, !tbaa !5
  %255 = load i32, ptr %35, align 4, !tbaa !9
  call void @Hacl_Hash_Blake2s_update_multi(i32 noundef %249, ptr noundef %250, ptr noundef %251, i64 noundef %253, ptr noundef %254, i32 noundef %255)
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #6
  call void @llvm.memset.p0.i64(ptr align 16 %42, i8 0, i64 64, i1 false)
  %256 = load i32, ptr %36, align 4, !tbaa !9
  %257 = getelementptr inbounds [16 x i32], ptr %42, i64 0, i64 0
  %258 = load ptr, ptr %25, align 8, !tbaa !5
  %259 = load i32, ptr %37, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = add i64 64, %260
  %262 = load i32, ptr %36, align 4, !tbaa !9
  %263 = load ptr, ptr %39, align 8, !tbaa !5
  call void @Hacl_Hash_Blake2s_update_last(i32 noundef %256, ptr noundef %257, ptr noundef %258, i64 noundef %261, i32 noundef %262, ptr noundef %263)
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %264

264:                                              ; preds = %232, %200
  %265 = load ptr, ptr %26, align 8, !tbaa !5
  %266 = load ptr, ptr %25, align 8, !tbaa !5
  call void @Hacl_Hash_Blake2s_finish(i32 noundef 32, ptr noundef %265, ptr noundef %266)
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  %267 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %267, ptr %43, align 8, !tbaa !5
  %268 = load ptr, ptr %25, align 8, !tbaa !5
  call void @Hacl_Hash_Blake2s_init(ptr noundef %268, i32 noundef 0, i32 noundef 32)
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  store i32 64, ptr %44, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #6
  %269 = load i32, ptr %44, align 4, !tbaa !9
  %270 = udiv i32 32, %269
  store i32 %270, ptr %45, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  %271 = load i32, ptr %44, align 4, !tbaa !9
  %272 = urem i32 32, %271
  store i32 %272, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  %273 = load i32, ptr %45, align 4, !tbaa !9
  %274 = icmp ugt i32 %273, 0
  br i1 %274, label %275, label %288

275:                                              ; preds = %264
  %276 = load i32, ptr %46, align 4, !tbaa !9
  %277 = icmp eq i32 %276, 0
  br i1 %277, label %278, label %288

278:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #6
  %279 = load i32, ptr %45, align 4, !tbaa !9
  %280 = sub i32 %279, 1
  store i32 %280, ptr %48, align 4, !tbaa !9
  %281 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %49, i32 0, i32 0
  %282 = load i32, ptr %48, align 4, !tbaa !9
  store i32 %282, ptr %281, align 4, !tbaa !15
  %283 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %49, i32 0, i32 1
  %284 = load i32, ptr %48, align 4, !tbaa !9
  %285 = load i32, ptr %44, align 4, !tbaa !9
  %286 = mul i32 %284, %285
  %287 = sub i32 32, %286
  store i32 %287, ptr %283, align 4, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %49, i64 8, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #6
  br label %293

288:                                              ; preds = %275, %264
  %289 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %50, i32 0, i32 0
  %290 = load i32, ptr %45, align 4, !tbaa !9
  store i32 %290, ptr %289, align 4, !tbaa !15
  %291 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %50, i32 0, i32 1
  %292 = load i32, ptr %46, align 4, !tbaa !9
  store i32 %292, ptr %291, align 4, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %50, i64 8, i1 false), !tbaa.struct !18
  br label %293

293:                                              ; preds = %288, %278
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #6
  %294 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %47, i32 0, i32 0
  %295 = load i32, ptr %294, align 4, !tbaa !15
  store i32 %295, ptr %51, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #6
  %296 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %47, i32 0, i32 1
  %297 = load i32, ptr %296, align 4, !tbaa !17
  store i32 %297, ptr %52, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #6
  %298 = load i32, ptr %51, align 4, !tbaa !9
  %299 = load i32, ptr %44, align 4, !tbaa !9
  %300 = mul i32 %298, %299
  store i32 %300, ptr %53, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #6
  %301 = load ptr, ptr %43, align 8, !tbaa !5
  store ptr %301, ptr %54, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #6
  %302 = load ptr, ptr %43, align 8, !tbaa !5
  %303 = load i32, ptr %53, align 4, !tbaa !9
  %304 = zext i32 %303 to i64
  %305 = getelementptr inbounds i8, ptr %302, i64 %304
  store ptr %305, ptr %55, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %56) #6
  call void @llvm.memset.p0.i64(ptr align 16 %56, i8 0, i64 64, i1 false)
  %306 = getelementptr inbounds [16 x i32], ptr %56, i64 0, i64 0
  %307 = load ptr, ptr %25, align 8, !tbaa !5
  %308 = load ptr, ptr %20, align 8, !tbaa !5
  call void @Hacl_Hash_Blake2s_update_multi(i32 noundef 64, ptr noundef %306, ptr noundef %307, i64 noundef 0, ptr noundef %308, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 64, ptr %57) #6
  call void @llvm.memset.p0.i64(ptr align 16 %57, i8 0, i64 64, i1 false)
  %309 = load i32, ptr %51, align 4, !tbaa !9
  %310 = mul i32 %309, 64
  %311 = getelementptr inbounds [16 x i32], ptr %57, i64 0, i64 0
  %312 = load ptr, ptr %25, align 8, !tbaa !5
  %313 = load i32, ptr %44, align 4, !tbaa !9
  %314 = zext i32 %313 to i64
  %315 = load ptr, ptr %54, align 8, !tbaa !5
  %316 = load i32, ptr %51, align 4, !tbaa !9
  call void @Hacl_Hash_Blake2s_update_multi(i32 noundef %310, ptr noundef %311, ptr noundef %312, i64 noundef %314, ptr noundef %315, i32 noundef %316)
  call void @llvm.lifetime.start.p0(i64 64, ptr %58) #6
  call void @llvm.memset.p0.i64(ptr align 16 %58, i8 0, i64 64, i1 false)
  %317 = load i32, ptr %52, align 4, !tbaa !9
  %318 = getelementptr inbounds [16 x i32], ptr %58, i64 0, i64 0
  %319 = load ptr, ptr %25, align 8, !tbaa !5
  %320 = load i32, ptr %53, align 4, !tbaa !9
  %321 = zext i32 %320 to i64
  %322 = add i64 64, %321
  %323 = load i32, ptr %52, align 4, !tbaa !9
  %324 = load ptr, ptr %55, align 8, !tbaa !5
  call void @Hacl_Hash_Blake2s_update_last(i32 noundef %317, ptr noundef %318, ptr noundef %319, i64 noundef %322, i32 noundef %323, ptr noundef %324)
  %325 = load ptr, ptr %6, align 8, !tbaa !5
  %326 = load ptr, ptr %25, align 8, !tbaa !5
  call void @Hacl_Hash_Blake2s_finish(i32 noundef 32, ptr noundef %325, ptr noundef %326)
  call void @llvm.lifetime.end.p0(i64 64, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  ret void
}

declare void @Hacl_Hash_Blake2s_hash_with_key(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1

declare void @Hacl_Hash_Blake2s_init(ptr noundef, i32 noundef, i32 noundef) #1

declare void @Hacl_Hash_Blake2s_update_last(i32 noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1

declare void @Hacl_Hash_Blake2s_update_multi(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1

declare void @Hacl_Hash_Blake2s_finish(i32 noundef, ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { nounwind }
attributes #7 = { noreturn 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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!16, !10, i64 0}
!16 = !{!"K___uint32_t_uint32_t_s", !10, i64 0, !10, i64 4}
!17 = !{!16, !10, i64 4}
!18 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}


; 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: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; 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) #2

; 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 void @Hacl_HMAC_compute_blake2s_32(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = alloca [16 x i32], align 16
  %7 = alloca [16 x i32], align 16
  %8 = alloca [16 x i32], align 16
  %9 = alloca [16 x i32], align 16
  %10 = alloca [16 x i32], align 16
  %11 = alloca [16 x i32], align 16
  %12 = alloca [16 x i32], align 16
  %13 = alloca [16 x i32], align 16
  %14 = alloca [64 x i8], align 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %14, i8 0, i64 64, i1 false)
  %15 = icmp ult i32 %2, 65
  br i1 %15, label %16, label %18

16:                                               ; preds = %5
  %17 = zext nneg i32 %2 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %14, ptr align 1 %1, i64 %17, i1 false)
  br label %vector.ph

18:                                               ; preds = %5
  call void @Hacl_Hash_Blake2s_hash_with_key(ptr noundef nonnull %14, i32 noundef 32, ptr noundef %1, i32 noundef %2, ptr noundef null, i32 noundef 0) #5
  br label %vector.ph

vector.ph:                                        ; preds = %18, %16
  %19 = alloca [64 x i8], align 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %19, i8 54, i64 64, i1 false)
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  %wide.load = load <16 x i8>, ptr %19, align 16, !tbaa !5
  %wide.load137 = load <16 x i8>, ptr %20, align 16, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %14, i64 16
  %wide.load138 = load <16 x i8>, ptr %14, align 16, !tbaa !5
  %wide.load139 = load <16 x i8>, ptr %21, align 16, !tbaa !5
  %22 = xor <16 x i8> %wide.load138, %wide.load
  %23 = xor <16 x i8> %wide.load139, %wide.load137
  store <16 x i8> %22, ptr %19, align 16, !tbaa !5
  store <16 x i8> %23, ptr %20, align 16, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %19, i64 32
  %25 = getelementptr inbounds i8, ptr %19, i64 48
  %wide.load.1 = load <16 x i8>, ptr %24, align 16, !tbaa !5
  %wide.load137.1 = load <16 x i8>, ptr %25, align 16, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %14, i64 32
  %27 = getelementptr inbounds i8, ptr %14, i64 48
  %wide.load138.1 = load <16 x i8>, ptr %26, align 16, !tbaa !5
  %wide.load139.1 = load <16 x i8>, ptr %27, align 16, !tbaa !5
  %28 = xor <16 x i8> %wide.load138.1, %wide.load.1
  %29 = xor <16 x i8> %wide.load139.1, %wide.load137.1
  store <16 x i8> %28, ptr %24, align 16, !tbaa !5
  store <16 x i8> %29, ptr %25, align 16, !tbaa !5
  %30 = alloca [64 x i8], align 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %30, i8 92, i64 64, i1 false)
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  %wide.load146 = load <16 x i8>, ptr %30, align 16, !tbaa !5
  %wide.load147 = load <16 x i8>, ptr %31, align 16, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %14, i64 16
  %wide.load148 = load <16 x i8>, ptr %14, align 16, !tbaa !5
  %wide.load149 = load <16 x i8>, ptr %32, align 16, !tbaa !5
  %33 = xor <16 x i8> %wide.load148, %wide.load146
  %34 = xor <16 x i8> %wide.load149, %wide.load147
  store <16 x i8> %33, ptr %30, align 16, !tbaa !5
  store <16 x i8> %34, ptr %31, align 16, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %30, i64 32
  %36 = getelementptr inbounds i8, ptr %30, i64 48
  %wide.load146.1 = load <16 x i8>, ptr %35, align 16, !tbaa !5
  %wide.load147.1 = load <16 x i8>, ptr %36, align 16, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %14, i64 32
  %38 = getelementptr inbounds i8, ptr %14, i64 48
  %wide.load148.1 = load <16 x i8>, ptr %37, align 16, !tbaa !5
  %wide.load149.1 = load <16 x i8>, ptr %38, align 16, !tbaa !5
  %39 = xor <16 x i8> %wide.load148.1, %wide.load146.1
  %40 = xor <16 x i8> %wide.load149.1, %wide.load147.1
  store <16 x i8> %39, ptr %35, align 16, !tbaa !5
  store <16 x i8> %40, ptr %36, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %6, i8 0, i64 64, i1 false)
  call void @Hacl_Hash_Blake2s_init(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 32) #5
  %41 = icmp eq i32 %4, 0
  br i1 %41, label %42, label %43

42:                                               ; preds = %vector.ph
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %7, i8 0, i64 64, i1 false)
  call void @Hacl_Hash_Blake2s_update_last(i32 noundef 64, ptr noundef nonnull %7, ptr noundef nonnull %6, i64 noundef 0, i32 noundef 64, ptr noundef nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #5
  br label %55

43:                                               ; preds = %vector.ph
  %44 = lshr i32 %4, 6
  %45 = and i32 %4, 63
  %46 = icmp ugt i32 %4, 63
  %47 = icmp eq i32 %45, 0
  %or.cond = and i1 %46, %47
  %48 = add nsw i32 %44, -1
  %49 = shl nuw i32 %48, 6
  %50 = sub i32 %4, %49
  %.sroa.043.0 = select i1 %or.cond, i32 %48, i32 %44
  %.sroa.544.0 = select i1 %or.cond, i32 %50, i32 %45
  %51 = shl nuw i32 %.sroa.043.0, 6
  %52 = zext i32 %51 to i64
  %53 = getelementptr inbounds i8, ptr %3, i64 %52
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %8, i8 0, i64 64, i1 false)
  call void @Hacl_Hash_Blake2s_update_multi(i32 noundef 64, ptr noundef nonnull %8, ptr noundef nonnull %6, i64 noundef 0, ptr noundef nonnull %19, i32 noundef 1) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %9, i8 0, i64 64, i1 false)
  call void @Hacl_Hash_Blake2s_update_multi(i32 noundef %51, ptr noundef nonnull %9, ptr noundef nonnull %6, i64 noundef 64, ptr noundef %3, i32 noundef %.sroa.043.0) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %10, i8 0, i64 64, i1 false)
  %54 = add nuw nsw i64 %52, 64
  call void @Hacl_Hash_Blake2s_update_last(i32 noundef %.sroa.544.0, ptr noundef nonnull %10, ptr noundef nonnull %6, i64 noundef %54, i32 noundef %.sroa.544.0, ptr noundef %53) #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
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #5
  br label %55

55:                                               ; preds = %43, %42
  call void @Hacl_Hash_Blake2s_finish(i32 noundef 32, ptr noundef nonnull %19, ptr noundef nonnull %6) #5
  call void @Hacl_Hash_Blake2s_init(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 32) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %11, i8 0, i64 64, i1 false)
  call void @Hacl_Hash_Blake2s_update_multi(i32 noundef 64, ptr noundef nonnull %11, ptr noundef nonnull %6, i64 noundef 0, ptr noundef nonnull %30, i32 noundef 1) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %12, i8 0, i64 64, i1 false)
  call void @Hacl_Hash_Blake2s_update_multi(i32 noundef 0, ptr noundef nonnull %12, ptr noundef nonnull %6, i64 noundef 64, ptr noundef nonnull %19, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %13, i8 0, i64 64, i1 false)
  call void @Hacl_Hash_Blake2s_update_last(i32 noundef 32, ptr noundef nonnull %13, ptr noundef nonnull %6, i64 noundef 64, i32 noundef 32, ptr noundef nonnull %19) #5
  call void @Hacl_Hash_Blake2s_finish(i32 noundef 32, ptr noundef %0, ptr noundef nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #5
  ret void
}

declare void @Hacl_Hash_Blake2s_hash_with_key(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

declare void @Hacl_Hash_Blake2s_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @Hacl_Hash_Blake2s_update_last(i32 noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @Hacl_Hash_Blake2s_update_multi(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

declare void @Hacl_Hash_Blake2s_finish(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopLoadEliminationPass,LoopRotatePass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass