; 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
@Hacl_Hash_SHA2_h256 = external hidden constant [8 x i32], align 16

; 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_sha2_256(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 [8 x i32], align 16
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca ptr, align 8
  %37 = alloca i32, align 4
  %38 = alloca ptr, align 8
  %39 = alloca i32, align 4
  %40 = alloca ptr, align 8
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %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 ptr, align 8
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %61 = alloca i32, align 4
  %62 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %63 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %64 = alloca i32, align 4
  %65 = alloca i32, align 4
  %66 = alloca i32, align 4
  %67 = alloca ptr, align 8
  %68 = alloca ptr, align 8
  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 %69

69:                                               ; preds = %5
  %70 = load i32, ptr %11, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = icmp ugt i64 %71, -1
  br i1 %72, label %73, label %75

73:                                               ; preds = %69
  %74 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 164)
  call void @exit(i32 noundef 253) #7
  unreachable

75:                                               ; preds = %69
  br label %76

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %78 = load i32, ptr %11, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = mul i64 %79, 1
  %81 = alloca i8, i64 %80, align 16
  store ptr %81, ptr %12, align 8, !tbaa !5
  %82 = load ptr, ptr %12, align 8, !tbaa !5
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = mul i64 %84, 1
  call void @llvm.memset.p0.i64(ptr align 1 %82, i8 0, i64 %85, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %86 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %86, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %87 = load i32, ptr %8, align 4, !tbaa !9
  %88 = icmp ule i32 %87, 64
  br i1 %88, label %89, label %91

89:                                               ; preds = %77
  %90 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %90, ptr %14, align 4, !tbaa !9
  br label %92

91:                                               ; preds = %77
  store i32 32, ptr %14, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %91, %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = load i32, ptr %14, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds i8, ptr %93, i64 %95
  store ptr %96, ptr %15, align 8, !tbaa !5
  %97 = load ptr, ptr %15, align 8, !tbaa !5
  %98 = load i32, ptr %8, align 4, !tbaa !9
  %99 = icmp ule i32 %98, 64
  br i1 %99, label %100, label %106

100:                                              ; preds = %92
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = load i32, ptr %8, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = mul i64 %104, 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %101, ptr align 1 %102, i64 %105, i1 false)
  br label %110

106:                                              ; preds = %92
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = load i32, ptr %8, align 4, !tbaa !9
  call void @Hacl_Hash_SHA2_hash_256(ptr noundef %107, ptr noundef %108, i32 noundef %109)
  br label %110

110:                                              ; preds = %106, %100
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %11, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = icmp ugt i64 %113, -1
  br i1 %114, label %115, label %117

115:                                              ; preds = %111
  %116 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 187)
  call void @exit(i32 noundef 253) #7
  unreachable

117:                                              ; preds = %111
  br label %118

118:                                              ; preds = %117
  br label %119

119:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %120 = load i32, ptr %11, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = mul i64 %121, 1
  %123 = alloca i8, i64 %122, align 16
  store ptr %123, ptr %16, align 8, !tbaa !5
  %124 = load ptr, ptr %16, align 8, !tbaa !5
  %125 = load i32, ptr %11, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = mul i64 %126, 1
  call void @llvm.memset.p0.i64(ptr align 1 %124, i8 54, i64 %127, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %154, %119
  %129 = load i32, ptr %17, align 4, !tbaa !9
  %130 = load i32, ptr %11, align 4, !tbaa !9
  %131 = icmp ult i32 %129, %130
  br i1 %131, label %133, label %132

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

133:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  %134 = load ptr, ptr %16, align 8, !tbaa !5
  %135 = load i32, ptr %17, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds i8, ptr %134, i64 %136
  %138 = load i8, ptr %137, align 1, !tbaa !11
  store i8 %138, ptr %18, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  %139 = load ptr, ptr %12, align 8, !tbaa !5
  %140 = load i32, ptr %17, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = getelementptr inbounds i8, ptr %139, i64 %141
  %143 = load i8, ptr %142, align 1, !tbaa !11
  store i8 %143, ptr %19, align 1, !tbaa !11
  %144 = load i8, ptr %18, align 1, !tbaa !11
  %145 = zext i8 %144 to i32
  %146 = load i8, ptr %19, align 1, !tbaa !11
  %147 = zext i8 %146 to i32
  %148 = xor i32 %145, %147
  %149 = trunc i32 %148 to i8
  %150 = load ptr, ptr %16, align 8, !tbaa !5
  %151 = load i32, ptr %17, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds i8, ptr %150, i64 %152
  store i8 %149, ptr %153, 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 %154

154:                                              ; preds = %133
  %155 = load i32, ptr %17, align 4, !tbaa !9
  %156 = add i32 %155, 1
  store i32 %156, ptr %17, align 4, !tbaa !9
  br label %128, !llvm.loop !12

157:                                              ; preds = %132
  br label %158

158:                                              ; preds = %157
  %159 = load i32, ptr %11, align 4, !tbaa !9
  %160 = zext i32 %159 to i64
  %161 = icmp ugt i64 %160, -1
  br i1 %161, label %162, label %164

162:                                              ; preds = %158
  %163 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 196)
  call void @exit(i32 noundef 253) #7
  unreachable

164:                                              ; preds = %158
  br label %165

165:                                              ; preds = %164
  br label %166

166:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %167 = load i32, ptr %11, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = mul i64 %168, 1
  %170 = alloca i8, i64 %169, align 16
  store ptr %170, ptr %20, align 8, !tbaa !5
  %171 = load ptr, ptr %20, align 8, !tbaa !5
  %172 = load i32, ptr %11, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = mul i64 %173, 1
  call void @llvm.memset.p0.i64(ptr align 1 %171, i8 92, i64 %174, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %175

175:                                              ; preds = %201, %166
  %176 = load i32, ptr %21, align 4, !tbaa !9
  %177 = load i32, ptr %11, align 4, !tbaa !9
  %178 = icmp ult i32 %176, %177
  br i1 %178, label %180, label %179

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

180:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  %181 = load ptr, ptr %20, align 8, !tbaa !5
  %182 = load i32, ptr %21, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = getelementptr inbounds i8, ptr %181, i64 %183
  %185 = load i8, ptr %184, align 1, !tbaa !11
  store i8 %185, ptr %22, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = load i32, ptr %21, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = getelementptr inbounds i8, ptr %186, i64 %188
  %190 = load i8, ptr %189, align 1, !tbaa !11
  store i8 %190, ptr %23, align 1, !tbaa !11
  %191 = load i8, ptr %22, align 1, !tbaa !11
  %192 = zext i8 %191 to i32
  %193 = load i8, ptr %23, align 1, !tbaa !11
  %194 = zext i8 %193 to i32
  %195 = xor i32 %192, %194
  %196 = trunc i32 %195 to i8
  %197 = load ptr, ptr %20, align 8, !tbaa !5
  %198 = load i32, ptr %21, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = getelementptr inbounds i8, ptr %197, i64 %199
  store i8 %196, ptr %200, 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 %201

201:                                              ; preds = %180
  %202 = load i32, ptr %21, align 4, !tbaa !9
  %203 = add i32 %202, 1
  store i32 %203, ptr %21, align 4, !tbaa !9
  br label %175, !llvm.loop !14

204:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #6
  call void @llvm.memset.p0.i64(ptr align 16 %24, i8 0, i64 32, i1 false)
  br label %205

205:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store i32 0, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %206 = getelementptr inbounds [8 x i32], ptr %24, i64 0, i64 0
  store ptr %206, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %207 = load i32, ptr %25, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = getelementptr inbounds [8 x i32], ptr @Hacl_Hash_SHA2_h256, i64 0, i64 %208
  %210 = load i32, ptr %209, align 4, !tbaa !9
  store i32 %210, ptr %27, align 4, !tbaa !9
  %211 = load i32, ptr %27, align 4, !tbaa !9
  %212 = load ptr, ptr %26, align 8, !tbaa !5
  %213 = load i32, ptr %25, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  %215 = getelementptr inbounds i32, ptr %212, i64 %214
  store i32 %211, ptr %215, align 4, !tbaa !9
  %216 = load i32, ptr %25, align 4, !tbaa !9
  %217 = add i32 %216, 1
  store i32 %217, ptr %25, align 4, !tbaa !9
  %218 = load i32, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %219 = getelementptr inbounds [8 x i32], ptr %24, i64 0, i64 0
  store ptr %219, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %220 = load i32, ptr %25, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = getelementptr inbounds [8 x i32], ptr @Hacl_Hash_SHA2_h256, i64 0, i64 %221
  %223 = load i32, ptr %222, align 4, !tbaa !9
  store i32 %223, ptr %29, align 4, !tbaa !9
  %224 = load i32, ptr %29, align 4, !tbaa !9
  %225 = load ptr, ptr %28, align 8, !tbaa !5
  %226 = load i32, ptr %25, align 4, !tbaa !9
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds i32, ptr %225, i64 %227
  store i32 %224, ptr %228, align 4, !tbaa !9
  %229 = load i32, ptr %25, align 4, !tbaa !9
  %230 = add i32 %229, 1
  store i32 %230, ptr %25, align 4, !tbaa !9
  %231 = load i32, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %232 = getelementptr inbounds [8 x i32], ptr %24, i64 0, i64 0
  store ptr %232, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %233 = load i32, ptr %25, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = getelementptr inbounds [8 x i32], ptr @Hacl_Hash_SHA2_h256, i64 0, i64 %234
  %236 = load i32, ptr %235, align 4, !tbaa !9
  store i32 %236, ptr %31, align 4, !tbaa !9
  %237 = load i32, ptr %31, align 4, !tbaa !9
  %238 = load ptr, ptr %30, align 8, !tbaa !5
  %239 = load i32, ptr %25, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = getelementptr inbounds i32, ptr %238, i64 %240
  store i32 %237, ptr %241, align 4, !tbaa !9
  %242 = load i32, ptr %25, align 4, !tbaa !9
  %243 = add i32 %242, 1
  store i32 %243, ptr %25, align 4, !tbaa !9
  %244 = load i32, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %245 = getelementptr inbounds [8 x i32], ptr %24, i64 0, i64 0
  store ptr %245, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %246 = load i32, ptr %25, align 4, !tbaa !9
  %247 = zext i32 %246 to i64
  %248 = getelementptr inbounds [8 x i32], ptr @Hacl_Hash_SHA2_h256, i64 0, i64 %247
  %249 = load i32, ptr %248, align 4, !tbaa !9
  store i32 %249, ptr %33, align 4, !tbaa !9
  %250 = load i32, ptr %33, align 4, !tbaa !9
  %251 = load ptr, ptr %32, align 8, !tbaa !5
  %252 = load i32, ptr %25, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = getelementptr inbounds i32, ptr %251, i64 %253
  store i32 %250, ptr %254, align 4, !tbaa !9
  %255 = load i32, ptr %25, align 4, !tbaa !9
  %256 = add i32 %255, 1
  store i32 %256, ptr %25, align 4, !tbaa !9
  %257 = load i32, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %258 = getelementptr inbounds [8 x i32], ptr %24, i64 0, i64 0
  store ptr %258, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  %259 = load i32, ptr %25, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = getelementptr inbounds [8 x i32], ptr @Hacl_Hash_SHA2_h256, i64 0, i64 %260
  %262 = load i32, ptr %261, align 4, !tbaa !9
  store i32 %262, ptr %35, align 4, !tbaa !9
  %263 = load i32, ptr %35, align 4, !tbaa !9
  %264 = load ptr, ptr %34, align 8, !tbaa !5
  %265 = load i32, ptr %25, align 4, !tbaa !9
  %266 = zext i32 %265 to i64
  %267 = getelementptr inbounds i32, ptr %264, i64 %266
  store i32 %263, ptr %267, align 4, !tbaa !9
  %268 = load i32, ptr %25, align 4, !tbaa !9
  %269 = add i32 %268, 1
  store i32 %269, ptr %25, align 4, !tbaa !9
  %270 = load i32, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %271 = getelementptr inbounds [8 x i32], ptr %24, i64 0, i64 0
  store ptr %271, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %272 = load i32, ptr %25, align 4, !tbaa !9
  %273 = zext i32 %272 to i64
  %274 = getelementptr inbounds [8 x i32], ptr @Hacl_Hash_SHA2_h256, i64 0, i64 %273
  %275 = load i32, ptr %274, align 4, !tbaa !9
  store i32 %275, ptr %37, align 4, !tbaa !9
  %276 = load i32, ptr %37, align 4, !tbaa !9
  %277 = load ptr, ptr %36, align 8, !tbaa !5
  %278 = load i32, ptr %25, align 4, !tbaa !9
  %279 = zext i32 %278 to i64
  %280 = getelementptr inbounds i32, ptr %277, i64 %279
  store i32 %276, ptr %280, align 4, !tbaa !9
  %281 = load i32, ptr %25, align 4, !tbaa !9
  %282 = add i32 %281, 1
  store i32 %282, ptr %25, align 4, !tbaa !9
  %283 = load i32, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %284 = getelementptr inbounds [8 x i32], ptr %24, i64 0, i64 0
  store ptr %284, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  %285 = load i32, ptr %25, align 4, !tbaa !9
  %286 = zext i32 %285 to i64
  %287 = getelementptr inbounds [8 x i32], ptr @Hacl_Hash_SHA2_h256, i64 0, i64 %286
  %288 = load i32, ptr %287, align 4, !tbaa !9
  store i32 %288, ptr %39, align 4, !tbaa !9
  %289 = load i32, ptr %39, align 4, !tbaa !9
  %290 = load ptr, ptr %38, align 8, !tbaa !5
  %291 = load i32, ptr %25, align 4, !tbaa !9
  %292 = zext i32 %291 to i64
  %293 = getelementptr inbounds i32, ptr %290, i64 %292
  store i32 %289, ptr %293, align 4, !tbaa !9
  %294 = load i32, ptr %25, align 4, !tbaa !9
  %295 = add i32 %294, 1
  store i32 %295, ptr %25, align 4, !tbaa !9
  %296 = load i32, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  %297 = getelementptr inbounds [8 x i32], ptr %24, i64 0, i64 0
  store ptr %297, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  %298 = load i32, ptr %25, align 4, !tbaa !9
  %299 = zext i32 %298 to i64
  %300 = getelementptr inbounds [8 x i32], ptr @Hacl_Hash_SHA2_h256, i64 0, i64 %299
  %301 = load i32, ptr %300, align 4, !tbaa !9
  store i32 %301, ptr %41, align 4, !tbaa !9
  %302 = load i32, ptr %41, align 4, !tbaa !9
  %303 = load ptr, ptr %40, align 8, !tbaa !5
  %304 = load i32, ptr %25, align 4, !tbaa !9
  %305 = zext i32 %304 to i64
  %306 = getelementptr inbounds i32, ptr %303, i64 %305
  store i32 %302, ptr %306, align 4, !tbaa !9
  %307 = load i32, ptr %25, align 4, !tbaa !9
  %308 = add i32 %307, 1
  store i32 %308, ptr %25, align 4, !tbaa !9
  %309 = load i32, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %310

310:                                              ; preds = %205
  br label %311

311:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  %312 = getelementptr inbounds [8 x i32], ptr %24, i64 0, i64 0
  store ptr %312, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  %313 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %313, ptr %43, align 8, !tbaa !5
  %314 = load i32, ptr %10, align 4, !tbaa !9
  %315 = icmp eq i32 %314, 0
  br i1 %315, label %316, label %319

316:                                              ; preds = %311
  %317 = load ptr, ptr %16, align 8, !tbaa !5
  %318 = load ptr, ptr %42, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_last(i64 noundef 64, i32 noundef 64, ptr noundef %317, ptr noundef %318)
  br label %375

319:                                              ; preds = %311
  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
  %320 = load i32, ptr %10, align 4, !tbaa !9
  %321 = load i32, ptr %44, align 4, !tbaa !9
  %322 = udiv i32 %320, %321
  store i32 %322, ptr %45, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  %323 = load i32, ptr %10, align 4, !tbaa !9
  %324 = load i32, ptr %44, align 4, !tbaa !9
  %325 = urem i32 %323, %324
  store i32 %325, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  %326 = load i32, ptr %45, align 4, !tbaa !9
  %327 = icmp ugt i32 %326, 0
  br i1 %327, label %328, label %342

328:                                              ; preds = %319
  %329 = load i32, ptr %46, align 4, !tbaa !9
  %330 = icmp eq i32 %329, 0
  br i1 %330, label %331, label %342

331:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #6
  %332 = load i32, ptr %45, align 4, !tbaa !9
  %333 = sub i32 %332, 1
  store i32 %333, ptr %48, align 4, !tbaa !9
  %334 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %49, i32 0, i32 0
  %335 = load i32, ptr %48, align 4, !tbaa !9
  store i32 %335, ptr %334, align 4, !tbaa !15
  %336 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %49, i32 0, i32 1
  %337 = load i32, ptr %10, align 4, !tbaa !9
  %338 = load i32, ptr %48, align 4, !tbaa !9
  %339 = load i32, ptr %44, align 4, !tbaa !9
  %340 = mul i32 %338, %339
  %341 = sub i32 %337, %340
  store i32 %341, ptr %336, 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 %347

342:                                              ; preds = %328, %319
  %343 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %50, i32 0, i32 0
  %344 = load i32, ptr %45, align 4, !tbaa !9
  store i32 %344, ptr %343, align 4, !tbaa !15
  %345 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %50, i32 0, i32 1
  %346 = load i32, ptr %46, align 4, !tbaa !9
  store i32 %346, ptr %345, 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 %347

347:                                              ; preds = %342, %331
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #6
  %348 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %47, i32 0, i32 0
  %349 = load i32, ptr %348, align 4, !tbaa !15
  store i32 %349, ptr %51, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #6
  %350 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %47, i32 0, i32 1
  %351 = load i32, ptr %350, align 4, !tbaa !17
  store i32 %351, ptr %52, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #6
  %352 = load i32, ptr %51, align 4, !tbaa !9
  %353 = load i32, ptr %44, align 4, !tbaa !9
  %354 = mul i32 %352, %353
  store i32 %354, ptr %53, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #6
  %355 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %355, ptr %54, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #6
  %356 = load ptr, ptr %9, align 8, !tbaa !5
  %357 = load i32, ptr %53, align 4, !tbaa !9
  %358 = zext i32 %357 to i64
  %359 = getelementptr inbounds i8, ptr %356, i64 %358
  store ptr %359, ptr %55, align 8, !tbaa !5
  %360 = load ptr, ptr %16, align 8, !tbaa !5
  %361 = load ptr, ptr %42, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef 64, ptr noundef %360, ptr noundef %361)
  %362 = load i32, ptr %51, align 4, !tbaa !9
  %363 = mul i32 %362, 64
  %364 = load ptr, ptr %54, align 8, !tbaa !5
  %365 = load ptr, ptr %42, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef %363, ptr noundef %364, ptr noundef %365)
  %366 = load i32, ptr %53, align 4, !tbaa !9
  %367 = zext i32 %366 to i64
  %368 = add i64 64, %367
  %369 = load i32, ptr %52, align 4, !tbaa !9
  %370 = zext i32 %369 to i64
  %371 = add i64 %368, %370
  %372 = load i32, ptr %52, align 4, !tbaa !9
  %373 = load ptr, ptr %55, align 8, !tbaa !5
  %374 = load ptr, ptr %42, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_last(i64 noundef %371, i32 noundef %372, ptr noundef %373, ptr noundef %374)
  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
  br label %375

375:                                              ; preds = %347, %316
  %376 = load ptr, ptr %42, align 8, !tbaa !5
  %377 = load ptr, ptr %43, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_finish(ptr noundef %376, ptr noundef %377)
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #6
  %378 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %378, ptr %56, align 8, !tbaa !5
  %379 = load ptr, ptr %42, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_init(ptr noundef %379)
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #6
  store i32 64, ptr %57, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #6
  %380 = load i32, ptr %57, align 4, !tbaa !9
  %381 = udiv i32 32, %380
  store i32 %381, ptr %58, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #6
  %382 = load i32, ptr %57, align 4, !tbaa !9
  %383 = urem i32 32, %382
  store i32 %383, ptr %59, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #6
  %384 = load i32, ptr %58, align 4, !tbaa !9
  %385 = icmp ugt i32 %384, 0
  br i1 %385, label %386, label %399

386:                                              ; preds = %375
  %387 = load i32, ptr %59, align 4, !tbaa !9
  %388 = icmp eq i32 %387, 0
  br i1 %388, label %389, label %399

389:                                              ; preds = %386
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #6
  %390 = load i32, ptr %58, align 4, !tbaa !9
  %391 = sub i32 %390, 1
  store i32 %391, ptr %61, align 4, !tbaa !9
  %392 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %62, i32 0, i32 0
  %393 = load i32, ptr %61, align 4, !tbaa !9
  store i32 %393, ptr %392, align 4, !tbaa !15
  %394 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %62, i32 0, i32 1
  %395 = load i32, ptr %61, align 4, !tbaa !9
  %396 = load i32, ptr %57, align 4, !tbaa !9
  %397 = mul i32 %395, %396
  %398 = sub i32 32, %397
  store i32 %398, ptr %394, align 4, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 4 %62, i64 8, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #6
  br label %404

399:                                              ; preds = %386, %375
  %400 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %63, i32 0, i32 0
  %401 = load i32, ptr %58, align 4, !tbaa !9
  store i32 %401, ptr %400, align 4, !tbaa !15
  %402 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %63, i32 0, i32 1
  %403 = load i32, ptr %59, align 4, !tbaa !9
  store i32 %403, ptr %402, align 4, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 4 %63, i64 8, i1 false), !tbaa.struct !18
  br label %404

404:                                              ; preds = %399, %389
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #6
  %405 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %60, i32 0, i32 0
  %406 = load i32, ptr %405, align 4, !tbaa !15
  store i32 %406, ptr %64, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #6
  %407 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %60, i32 0, i32 1
  %408 = load i32, ptr %407, align 4, !tbaa !17
  store i32 %408, ptr %65, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #6
  %409 = load i32, ptr %64, align 4, !tbaa !9
  %410 = load i32, ptr %57, align 4, !tbaa !9
  %411 = mul i32 %409, %410
  store i32 %411, ptr %66, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #6
  %412 = load ptr, ptr %56, align 8, !tbaa !5
  store ptr %412, ptr %67, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #6
  %413 = load ptr, ptr %56, align 8, !tbaa !5
  %414 = load i32, ptr %66, align 4, !tbaa !9
  %415 = zext i32 %414 to i64
  %416 = getelementptr inbounds i8, ptr %413, i64 %415
  store ptr %416, ptr %68, align 8, !tbaa !5
  %417 = load ptr, ptr %20, align 8, !tbaa !5
  %418 = load ptr, ptr %42, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef 64, ptr noundef %417, ptr noundef %418)
  %419 = load i32, ptr %64, align 4, !tbaa !9
  %420 = mul i32 %419, 64
  %421 = load ptr, ptr %67, align 8, !tbaa !5
  %422 = load ptr, ptr %42, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef %420, ptr noundef %421, ptr noundef %422)
  %423 = load i32, ptr %66, align 4, !tbaa !9
  %424 = zext i32 %423 to i64
  %425 = add i64 64, %424
  %426 = load i32, ptr %65, align 4, !tbaa !9
  %427 = zext i32 %426 to i64
  %428 = add i64 %425, %427
  %429 = load i32, ptr %65, align 4, !tbaa !9
  %430 = load ptr, ptr %68, align 8, !tbaa !5
  %431 = load ptr, ptr %42, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_last(i64 noundef %428, i32 noundef %429, ptr noundef %430, ptr noundef %431)
  %432 = load ptr, ptr %42, align 8, !tbaa !5
  %433 = load ptr, ptr %6, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_finish(ptr noundef %432, ptr noundef %433)
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 32, 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_SHA2_hash_256(ptr noundef, ptr noundef, i32 noundef) #1

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

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

declare void @Hacl_Hash_SHA2_sha256_finish(ptr noundef, ptr noundef) #1

declare void @Hacl_Hash_SHA2_sha256_init(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"

@Hacl_Hash_SHA2_h256 = external hidden local_unnamed_addr constant [8 x i32], align 16

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

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

11:                                               ; preds = %5
  call void @Hacl_Hash_SHA2_hash_256(ptr noundef nonnull %7, ptr noundef %1, i32 noundef %2) #5
  br label %vector.ph

vector.ph:                                        ; preds = %11, %9
  %12 = alloca [64 x i8], align 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %12, i8 54, i64 64, i1 false)
  %13 = getelementptr inbounds i8, ptr %12, i64 16
  %wide.load = load <16 x i8>, ptr %12, align 16, !tbaa !5
  %wide.load181 = load <16 x i8>, ptr %13, align 16, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %7, i64 16
  %wide.load182 = load <16 x i8>, ptr %7, align 16, !tbaa !5
  %wide.load183 = load <16 x i8>, ptr %14, align 16, !tbaa !5
  %15 = xor <16 x i8> %wide.load182, %wide.load
  %16 = xor <16 x i8> %wide.load183, %wide.load181
  store <16 x i8> %15, ptr %12, align 16, !tbaa !5
  store <16 x i8> %16, ptr %13, align 16, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %12, i64 32
  %18 = getelementptr inbounds i8, ptr %12, i64 48
  %wide.load.1 = load <16 x i8>, ptr %17, align 16, !tbaa !5
  %wide.load181.1 = load <16 x i8>, ptr %18, align 16, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %7, i64 32
  %20 = getelementptr inbounds i8, ptr %7, i64 48
  %wide.load182.1 = load <16 x i8>, ptr %19, align 16, !tbaa !5
  %wide.load183.1 = load <16 x i8>, ptr %20, align 16, !tbaa !5
  %21 = xor <16 x i8> %wide.load182.1, %wide.load.1
  %22 = xor <16 x i8> %wide.load183.1, %wide.load181.1
  store <16 x i8> %21, ptr %17, align 16, !tbaa !5
  store <16 x i8> %22, ptr %18, align 16, !tbaa !5
  %23 = alloca [64 x i8], align 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %23, i8 92, i64 64, i1 false)
  %24 = getelementptr inbounds i8, ptr %23, i64 16
  %wide.load190 = load <16 x i8>, ptr %23, align 16, !tbaa !5
  %wide.load191 = load <16 x i8>, ptr %24, align 16, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %7, i64 16
  %wide.load192 = load <16 x i8>, ptr %7, align 16, !tbaa !5
  %wide.load193 = load <16 x i8>, ptr %25, align 16, !tbaa !5
  %26 = xor <16 x i8> %wide.load192, %wide.load190
  %27 = xor <16 x i8> %wide.load193, %wide.load191
  store <16 x i8> %26, ptr %23, align 16, !tbaa !5
  store <16 x i8> %27, ptr %24, align 16, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %23, i64 32
  %29 = getelementptr inbounds i8, ptr %23, i64 48
  %wide.load190.1 = load <16 x i8>, ptr %28, align 16, !tbaa !5
  %wide.load191.1 = load <16 x i8>, ptr %29, align 16, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %7, i64 32
  %31 = getelementptr inbounds i8, ptr %7, i64 48
  %wide.load192.1 = load <16 x i8>, ptr %30, align 16, !tbaa !5
  %wide.load193.1 = load <16 x i8>, ptr %31, align 16, !tbaa !5
  %32 = xor <16 x i8> %wide.load192.1, %wide.load190.1
  %33 = xor <16 x i8> %wide.load193.1, %wide.load191.1
  store <16 x i8> %32, ptr %28, align 16, !tbaa !5
  store <16 x i8> %33, ptr %29, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  %34 = load <4 x i32>, ptr @Hacl_Hash_SHA2_h256, align 16, !tbaa !8
  store <4 x i32> %34, ptr %6, align 16, !tbaa !8
  %35 = getelementptr inbounds i8, ptr %6, i64 16
  %36 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @Hacl_Hash_SHA2_h256, i64 16), align 16, !tbaa !8
  store <4 x i32> %36, ptr %35, align 16, !tbaa !8
  %37 = icmp eq i32 %4, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %vector.ph
  call void @Hacl_Hash_SHA2_sha256_update_last(i64 noundef 64, i32 noundef 64, ptr noundef nonnull %12, ptr noundef nonnull %6) #5
  br label %53

39:                                               ; preds = %vector.ph
  %40 = lshr i32 %4, 6
  %41 = and i32 %4, 63
  %42 = icmp ugt i32 %4, 63
  %43 = icmp eq i32 %41, 0
  %or.cond = and i1 %42, %43
  %44 = add nsw i32 %40, -1
  %45 = shl nuw i32 %44, 6
  %46 = sub i32 %4, %45
  %.sroa.040.0 = select i1 %or.cond, i32 %44, i32 %40
  %.sroa.541.0 = select i1 %or.cond, i32 %46, i32 %41
  %47 = shl nuw i32 %.sroa.040.0, 6
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds i8, ptr %3, i64 %48
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef 64, ptr noundef nonnull %12, ptr noundef nonnull %6) #5
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef %47, ptr noundef %3, ptr noundef nonnull %6) #5
  %50 = add nuw nsw i64 %48, 64
  %51 = zext i32 %.sroa.541.0 to i64
  %52 = add nuw nsw i64 %50, %51
  call void @Hacl_Hash_SHA2_sha256_update_last(i64 noundef %52, i32 noundef %.sroa.541.0, ptr noundef %49, ptr noundef nonnull %6) #5
  br label %53

53:                                               ; preds = %39, %38
  call void @Hacl_Hash_SHA2_sha256_finish(ptr noundef nonnull %6, ptr noundef nonnull %12) #5
  call void @Hacl_Hash_SHA2_sha256_init(ptr noundef nonnull %6) #5
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef 64, ptr noundef nonnull %23, ptr noundef nonnull %6) #5
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef 0, ptr noundef nonnull %12, ptr noundef nonnull %6) #5
  call void @Hacl_Hash_SHA2_sha256_update_last(i64 noundef 96, i32 noundef 32, ptr noundef nonnull %12, ptr noundef nonnull %6) #5
  call void @Hacl_Hash_SHA2_sha256_finish(ptr noundef nonnull %6, ptr noundef %0) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  ret void
}

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

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

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

declare void @Hacl_Hash_SHA2_sha256_finish(ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @Hacl_Hash_SHA2_sha256_init(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"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}


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