; LLVM IR from cryspen/libcrux :: sys/hacl/c/src (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 [76 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 nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3

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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3

; 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) #6 {
  %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 i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca i64, align 8
  %22 = alloca i32, align 4
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca [8 x i32], align 16
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca i32, align 4
  %39 = alloca ptr, align 8
  %40 = alloca i32, align 4
  %41 = alloca ptr, align 8
  %42 = alloca i32, align 4
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %49 = alloca i32, align 4
  %50 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %51 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca ptr, align 8
  %56 = alloca ptr, align 8
  %57 = alloca ptr, align 8
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  %61 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %62 = alloca i32, align 4
  %63 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %64 = alloca %struct.K___uint32_t_uint32_t_s, align 4
  %65 = alloca i32, align 4
  %66 = alloca i32, align 4
  %67 = alloca i32, align 4
  %68 = alloca ptr, align 8
  %69 = 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) #7
  store i32 64, ptr %11, align 4, !tbaa !9
  br label %70

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

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

76:                                               ; preds = %70
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  %79 = load i32, ptr %11, align 4, !tbaa !9
  %80 = zext i32 %79 to i64
  %81 = call ptr @llvm.stacksave.p0()
  store ptr %81, ptr %12, align 8
  %82 = alloca i8, i64 %80, align 16
  store i64 %80, ptr %13, align 8
  %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 16 %82, i8 0, i64 %85, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store ptr %82, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %86 = load i32, ptr %8, align 4, !tbaa !9
  %87 = icmp ule i32 %86, 64
  br i1 %87, label %88, label %90

88:                                               ; preds = %78
  %89 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %89, ptr %15, align 4, !tbaa !9
  br label %91

90:                                               ; preds = %78
  store i32 32, ptr %15, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %90, %88
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %92 = load i32, ptr %15, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = getelementptr inbounds i8, ptr %82, i64 %93
  store ptr %94, ptr %16, align 8, !tbaa !5
  %95 = load ptr, ptr %16, align 8, !tbaa !5
  %96 = load i32, ptr %8, align 4, !tbaa !9
  %97 = icmp ule i32 %96, 64
  br i1 %97, label %98, label %104

98:                                               ; preds = %91
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = load i32, ptr %8, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = mul i64 %102, 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %99, ptr align 1 %100, i64 %103, i1 false)
  br label %108

104:                                              ; preds = %91
  %105 = load ptr, ptr %14, align 8, !tbaa !5
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = load i32, ptr %8, align 4, !tbaa !9
  call void @Hacl_Hash_SHA2_hash_256(ptr noundef %105, ptr noundef %106, i32 noundef %107)
  br label %108

108:                                              ; preds = %104, %98
  br label %109

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

113:                                              ; preds = %109
  %114 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 187)
  call void @exit(i32 noundef 253) #8
  unreachable

115:                                              ; preds = %109
  br label %116

116:                                              ; preds = %115
  br label %117

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

124:                                              ; preds = %147, %117
  %125 = load i32, ptr %18, align 4, !tbaa !9
  %126 = load i32, ptr %11, align 4, !tbaa !9
  %127 = icmp ult i32 %125, %126
  br i1 %127, label %129, label %128

128:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %150

129:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #7
  %130 = load i32, ptr %18, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = getelementptr inbounds i8, ptr %120, i64 %131
  %133 = load i8, ptr %132, align 1, !tbaa !11
  store i8 %133, ptr %19, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #7
  %134 = load i32, ptr %18, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds i8, ptr %82, i64 %135
  %137 = load i8, ptr %136, align 1, !tbaa !11
  store i8 %137, ptr %20, align 1, !tbaa !11
  %138 = load i8, ptr %19, align 1, !tbaa !11
  %139 = zext i8 %138 to i32
  %140 = load i8, ptr %20, align 1, !tbaa !11
  %141 = zext i8 %140 to i32
  %142 = xor i32 %139, %141
  %143 = trunc i32 %142 to i8
  %144 = load i32, ptr %18, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = getelementptr inbounds i8, ptr %120, i64 %145
  store i8 %143, ptr %146, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  br label %147

147:                                              ; preds = %129
  %148 = load i32, ptr %18, align 4, !tbaa !9
  %149 = add i32 %148, 1
  store i32 %149, ptr %18, align 4, !tbaa !9
  br label %124, !llvm.loop !12

150:                                              ; preds = %128
  br label %151

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

155:                                              ; preds = %151
  %156 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 196)
  call void @exit(i32 noundef 253) #8
  unreachable

157:                                              ; preds = %151
  br label %158

158:                                              ; preds = %157
  br label %159

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

166:                                              ; preds = %189, %159
  %167 = load i32, ptr %22, align 4, !tbaa !9
  %168 = load i32, ptr %11, align 4, !tbaa !9
  %169 = icmp ult i32 %167, %168
  br i1 %169, label %171, label %170

170:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %192

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

189:                                              ; preds = %171
  %190 = load i32, ptr %22, align 4, !tbaa !9
  %191 = add i32 %190, 1
  store i32 %191, ptr %22, align 4, !tbaa !9
  br label %166, !llvm.loop !14

192:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #7
  call void @llvm.memset.p0.i64(ptr align 16 %25, i8 0, i64 32, i1 false)
  br label %193

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

298:                                              ; preds = %193
  br label %299

299:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %300 = getelementptr inbounds [8 x i32], ptr %25, i64 0, i64 0
  store ptr %300, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  store ptr %120, ptr %44, align 8, !tbaa !5
  %301 = load i32, ptr %10, align 4, !tbaa !9
  %302 = icmp eq i32 %301, 0
  br i1 %302, label %303, label %305

303:                                              ; preds = %299
  %304 = load ptr, ptr %43, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_last(i64 noundef 64, i32 noundef 64, ptr noundef %120, ptr noundef %304)
  br label %360

305:                                              ; preds = %299
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #7
  store i32 64, ptr %45, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #7
  %306 = load i32, ptr %10, align 4, !tbaa !9
  %307 = load i32, ptr %45, align 4, !tbaa !9
  %308 = udiv i32 %306, %307
  store i32 %308, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #7
  %309 = load i32, ptr %10, align 4, !tbaa !9
  %310 = load i32, ptr %45, align 4, !tbaa !9
  %311 = urem i32 %309, %310
  store i32 %311, ptr %47, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #7
  %312 = load i32, ptr %46, align 4, !tbaa !9
  %313 = icmp ugt i32 %312, 0
  br i1 %313, label %314, label %328

314:                                              ; preds = %305
  %315 = load i32, ptr %47, align 4, !tbaa !9
  %316 = icmp eq i32 %315, 0
  br i1 %316, label %317, label %328

317:                                              ; preds = %314
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #7
  %318 = load i32, ptr %46, align 4, !tbaa !9
  %319 = sub i32 %318, 1
  store i32 %319, ptr %49, align 4, !tbaa !9
  %320 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %50, i32 0, i32 0
  %321 = load i32, ptr %49, align 4, !tbaa !9
  store i32 %321, ptr %320, align 4, !tbaa !15
  %322 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %50, i32 0, i32 1
  %323 = load i32, ptr %10, align 4, !tbaa !9
  %324 = load i32, ptr %49, align 4, !tbaa !9
  %325 = load i32, ptr %45, align 4, !tbaa !9
  %326 = mul i32 %324, %325
  %327 = sub i32 %323, %326
  store i32 %327, ptr %322, align 4, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %50, i64 8, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #7
  br label %333

328:                                              ; preds = %314, %305
  %329 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %51, i32 0, i32 0
  %330 = load i32, ptr %46, align 4, !tbaa !9
  store i32 %330, ptr %329, align 4, !tbaa !15
  %331 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %51, i32 0, i32 1
  %332 = load i32, ptr %47, align 4, !tbaa !9
  store i32 %332, ptr %331, align 4, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %51, i64 8, i1 false), !tbaa.struct !18
  br label %333

333:                                              ; preds = %328, %317
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #7
  %334 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %48, i32 0, i32 0
  %335 = load i32, ptr %334, align 4, !tbaa !15
  store i32 %335, ptr %52, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #7
  %336 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %48, i32 0, i32 1
  %337 = load i32, ptr %336, align 4, !tbaa !17
  store i32 %337, ptr %53, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #7
  %338 = load i32, ptr %52, align 4, !tbaa !9
  %339 = load i32, ptr %45, align 4, !tbaa !9
  %340 = mul i32 %338, %339
  store i32 %340, ptr %54, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #7
  %341 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %341, ptr %55, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #7
  %342 = load ptr, ptr %9, align 8, !tbaa !5
  %343 = load i32, ptr %54, align 4, !tbaa !9
  %344 = zext i32 %343 to i64
  %345 = getelementptr inbounds i8, ptr %342, i64 %344
  store ptr %345, ptr %56, align 8, !tbaa !5
  %346 = load ptr, ptr %43, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef 64, ptr noundef %120, ptr noundef %346)
  %347 = load i32, ptr %52, align 4, !tbaa !9
  %348 = mul i32 %347, 64
  %349 = load ptr, ptr %55, align 8, !tbaa !5
  %350 = load ptr, ptr %43, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef %348, ptr noundef %349, ptr noundef %350)
  %351 = load i32, ptr %54, align 4, !tbaa !9
  %352 = zext i32 %351 to i64
  %353 = add i64 64, %352
  %354 = load i32, ptr %53, align 4, !tbaa !9
  %355 = zext i32 %354 to i64
  %356 = add i64 %353, %355
  %357 = load i32, ptr %53, align 4, !tbaa !9
  %358 = load ptr, ptr %56, align 8, !tbaa !5
  %359 = load ptr, ptr %43, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_last(i64 noundef %356, i32 noundef %357, ptr noundef %358, ptr noundef %359)
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  br label %360

360:                                              ; preds = %333, %303
  %361 = load ptr, ptr %43, align 8, !tbaa !5
  %362 = load ptr, ptr %44, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_finish(ptr noundef %361, ptr noundef %362)
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #7
  store ptr %120, ptr %57, align 8, !tbaa !5
  %363 = load ptr, ptr %43, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_init(ptr noundef %363)
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #7
  store i32 64, ptr %58, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #7
  %364 = load i32, ptr %58, align 4, !tbaa !9
  %365 = udiv i32 32, %364
  store i32 %365, ptr %59, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #7
  %366 = load i32, ptr %58, align 4, !tbaa !9
  %367 = urem i32 32, %366
  store i32 %367, ptr %60, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #7
  %368 = load i32, ptr %59, align 4, !tbaa !9
  %369 = icmp ugt i32 %368, 0
  br i1 %369, label %370, label %383

370:                                              ; preds = %360
  %371 = load i32, ptr %60, align 4, !tbaa !9
  %372 = icmp eq i32 %371, 0
  br i1 %372, label %373, label %383

373:                                              ; preds = %370
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #7
  %374 = load i32, ptr %59, align 4, !tbaa !9
  %375 = sub i32 %374, 1
  store i32 %375, ptr %62, align 4, !tbaa !9
  %376 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %63, i32 0, i32 0
  %377 = load i32, ptr %62, align 4, !tbaa !9
  store i32 %377, ptr %376, align 4, !tbaa !15
  %378 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %63, i32 0, i32 1
  %379 = load i32, ptr %62, align 4, !tbaa !9
  %380 = load i32, ptr %58, align 4, !tbaa !9
  %381 = mul i32 %379, %380
  %382 = sub i32 32, %381
  store i32 %382, ptr %378, align 4, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %61, ptr align 4 %63, i64 8, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #7
  br label %388

383:                                              ; preds = %370, %360
  %384 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %64, i32 0, i32 0
  %385 = load i32, ptr %59, align 4, !tbaa !9
  store i32 %385, ptr %384, align 4, !tbaa !15
  %386 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %64, i32 0, i32 1
  %387 = load i32, ptr %60, align 4, !tbaa !9
  store i32 %387, ptr %386, align 4, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %61, ptr align 4 %64, i64 8, i1 false), !tbaa.struct !18
  br label %388

388:                                              ; preds = %383, %373
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #7
  %389 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %61, i32 0, i32 0
  %390 = load i32, ptr %389, align 4, !tbaa !15
  store i32 %390, ptr %65, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #7
  %391 = getelementptr inbounds %struct.K___uint32_t_uint32_t_s, ptr %61, i32 0, i32 1
  %392 = load i32, ptr %391, align 4, !tbaa !17
  store i32 %392, ptr %66, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #7
  %393 = load i32, ptr %65, align 4, !tbaa !9
  %394 = load i32, ptr %58, align 4, !tbaa !9
  %395 = mul i32 %393, %394
  store i32 %395, ptr %67, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #7
  %396 = load ptr, ptr %57, align 8, !tbaa !5
  store ptr %396, ptr %68, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #7
  %397 = load ptr, ptr %57, align 8, !tbaa !5
  %398 = load i32, ptr %67, align 4, !tbaa !9
  %399 = zext i32 %398 to i64
  %400 = getelementptr inbounds i8, ptr %397, i64 %399
  store ptr %400, ptr %69, align 8, !tbaa !5
  %401 = load ptr, ptr %43, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef 64, ptr noundef %162, ptr noundef %401)
  %402 = load i32, ptr %65, align 4, !tbaa !9
  %403 = mul i32 %402, 64
  %404 = load ptr, ptr %68, align 8, !tbaa !5
  %405 = load ptr, ptr %43, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_nblocks(i32 noundef %403, ptr noundef %404, ptr noundef %405)
  %406 = load i32, ptr %67, align 4, !tbaa !9
  %407 = zext i32 %406 to i64
  %408 = add i64 64, %407
  %409 = load i32, ptr %66, align 4, !tbaa !9
  %410 = zext i32 %409 to i64
  %411 = add i64 %408, %410
  %412 = load i32, ptr %66, align 4, !tbaa !9
  %413 = load ptr, ptr %69, align 8, !tbaa !5
  %414 = load ptr, ptr %43, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_update_last(i64 noundef %411, i32 noundef %412, ptr noundef %413, ptr noundef %414)
  %415 = load ptr, ptr %43, align 8, !tbaa !5
  %416 = load ptr, ptr %6, align 8, !tbaa !5
  call void @Hacl_Hash_SHA2_sha256_finish(ptr noundef %415, ptr noundef %416)
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  %417 = load ptr, ptr %12, align 8
  call void @llvm.stackrestore.p0(ptr %417)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  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 nosync nounwind willreturn }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { 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.load166 = load <16 x i8>, ptr %13, align 16, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %7, i64 16
  %wide.load167 = load <16 x i8>, ptr %7, align 16, !tbaa !5
  %wide.load168 = load <16 x i8>, ptr %14, align 16, !tbaa !5
  %15 = xor <16 x i8> %wide.load167, %wide.load
  %16 = xor <16 x i8> %wide.load168, %wide.load166
  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.load166.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.load167.1 = load <16 x i8>, ptr %19, align 16, !tbaa !5
  %wide.load168.1 = load <16 x i8>, ptr %20, align 16, !tbaa !5
  %21 = xor <16 x i8> %wide.load167.1, %wide.load.1
  %22 = xor <16 x i8> %wide.load168.1, %wide.load166.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.load175 = load <16 x i8>, ptr %23, align 16, !tbaa !5
  %wide.load176 = load <16 x i8>, ptr %24, align 16, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %7, i64 16
  %wide.load177 = load <16 x i8>, ptr %7, align 16, !tbaa !5
  %wide.load178 = load <16 x i8>, ptr %25, align 16, !tbaa !5
  %26 = xor <16 x i8> %wide.load177, %wide.load175
  %27 = xor <16 x i8> %wide.load178, %wide.load176
  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.load175.1 = load <16 x i8>, ptr %28, align 16, !tbaa !5
  %wide.load176.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.load177.1 = load <16 x i8>, ptr %30, align 16, !tbaa !5
  %wide.load178.1 = load <16 x i8>, ptr %31, align 16, !tbaa !5
  %32 = xor <16 x i8> %wide.load177.1, %wide.load175.1
  %33 = xor <16 x i8> %wide.load178.1, %wide.load176.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