; LLVM IR from LoupVaillant/Monocypher-Utils :: src (monocypher)

; 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.crypto_blake2b_ctx = type { [8 x i64], [2 x i64], [16 x i64], i64, i64 }
%struct.block = type { [128 x i64] }
%struct.gidx_ctx = type { %struct.block, i32, i32, i32, i32, i32, i32 }

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @crypto_argon2i_general(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12) #0 {
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca %struct.crypto_blake2b_ctx, align 8
  %29 = alloca [72 x i8], align 16
  %30 = alloca %struct.block, align 8
  %31 = alloca [1024 x i8], align 16
  %32 = alloca i32, align 4
  %33 = alloca %struct.block, align 8
  %34 = alloca %struct.gidx_ctx, align 8
  %35 = alloca i64, align 8
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i64, align 8
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i64, align 8
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca [1024 x i8], align 16
  %49 = alloca ptr, align 8
  %50 = alloca i64, align 8
  store ptr %0, ptr %14, align 8, !tbaa !5
  store i32 %1, ptr %15, align 4, !tbaa !9
  store ptr %2, ptr %16, align 8, !tbaa !5
  store i32 %3, ptr %17, align 4, !tbaa !9
  store i32 %4, ptr %18, align 4, !tbaa !9
  store ptr %5, ptr %19, align 8, !tbaa !5
  store i32 %6, ptr %20, align 4, !tbaa !9
  store ptr %7, ptr %21, align 8, !tbaa !5
  store i32 %8, ptr %22, align 4, !tbaa !9
  store ptr %9, ptr %23, align 8, !tbaa !5
  store i32 %10, ptr %24, align 4, !tbaa !9
  store ptr %11, ptr %25, align 8, !tbaa !5
  store i32 %12, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #2
  %51 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %51, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 224, ptr %28) #2
  call void @crypto_blake2b_init(ptr noundef %28)
  call void @blake_update_32(ptr noundef %28, i32 noundef 1)
  %52 = load i32, ptr %15, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %52)
  %53 = load i32, ptr %17, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %53)
  %54 = load i32, ptr %18, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %54)
  call void @blake_update_32(ptr noundef %28, i32 noundef 19)
  call void @blake_update_32(ptr noundef %28, i32 noundef 1)
  %55 = load i32, ptr %20, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %55)
  %56 = load ptr, ptr %19, align 8, !tbaa !5
  %57 = load i32, ptr %20, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  call void @crypto_blake2b_update(ptr noundef %28, ptr noundef %56, i64 noundef %58)
  %59 = load i32, ptr %22, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %59)
  %60 = load ptr, ptr %21, align 8, !tbaa !5
  %61 = load i32, ptr %22, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  call void @crypto_blake2b_update(ptr noundef %28, ptr noundef %60, i64 noundef %62)
  %63 = load i32, ptr %24, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %63)
  %64 = load ptr, ptr %23, align 8, !tbaa !5
  %65 = load i32, ptr %24, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  call void @crypto_blake2b_update(ptr noundef %28, ptr noundef %64, i64 noundef %66)
  %67 = load i32, ptr %26, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %67)
  %68 = load ptr, ptr %25, align 8, !tbaa !5
  %69 = load i32, ptr %26, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  call void @crypto_blake2b_update(ptr noundef %28, ptr noundef %68, i64 noundef %70)
  call void @llvm.lifetime.start.p0(i64 72, ptr %29) #2
  %71 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  call void @crypto_blake2b_final(ptr noundef %28, ptr noundef %71)
  call void @llvm.lifetime.start.p0(i64 1024, ptr %30) #2
  call void @llvm.lifetime.start.p0(i64 1024, ptr %31) #2
  %72 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  %73 = getelementptr inbounds i8, ptr %72, i64 64
  call void @store32_le(ptr noundef %73, i32 noundef 0)
  %74 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  %75 = getelementptr inbounds i8, ptr %74, i64 68
  call void @store32_le(ptr noundef %75, i32 noundef 0)
  %76 = getelementptr inbounds [1024 x i8], ptr %31, i64 0, i64 0
  %77 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  call void @extended_hash(ptr noundef %76, i32 noundef 1024, ptr noundef %77, i32 noundef 72)
  %78 = getelementptr inbounds [1024 x i8], ptr %31, i64 0, i64 0
  call void @load_block(ptr noundef %30, ptr noundef %78)
  %79 = load ptr, ptr %27, align 8, !tbaa !5
  call void @copy_block(ptr noundef %79, ptr noundef %30)
  %80 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  %81 = getelementptr inbounds i8, ptr %80, i64 64
  call void @store32_le(ptr noundef %81, i32 noundef 1)
  %82 = getelementptr inbounds [1024 x i8], ptr %31, i64 0, i64 0
  %83 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  call void @extended_hash(ptr noundef %82, i32 noundef 1024, ptr noundef %83, i32 noundef 72)
  %84 = getelementptr inbounds [1024 x i8], ptr %31, i64 0, i64 0
  call void @load_block(ptr noundef %30, ptr noundef %84)
  %85 = load ptr, ptr %27, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.block, ptr %85, i64 1
  call void @copy_block(ptr noundef %86, ptr noundef %30)
  %87 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  call void @crypto_wipe(ptr noundef %87, i64 noundef 72)
  %88 = getelementptr inbounds [1024 x i8], ptr %31, i64 0, i64 0
  call void @crypto_wipe(ptr noundef %88, i64 noundef 1024)
  call void @wipe_block(ptr noundef %30)
  call void @llvm.lifetime.end.p0(i64 1024, ptr %31) #2
  call void @llvm.lifetime.end.p0(i64 1024, ptr %30) #2
  call void @llvm.lifetime.end.p0(i64 72, ptr %29) #2
  call void @llvm.lifetime.end.p0(i64 224, ptr %28) #2
  %89 = load i32, ptr %17, align 4, !tbaa !9
  %90 = and i32 %89, 3
  %91 = load i32, ptr %17, align 4, !tbaa !9
  %92 = sub i32 %91, %90
  store i32 %92, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #2
  %93 = load i32, ptr %17, align 4, !tbaa !9
  %94 = lshr i32 %93, 2
  store i32 %94, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1024, ptr %33) #2
  call void @llvm.lifetime.start.p0(i64 1048, ptr %34) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #2
  store i64 0, ptr %35, align 8, !tbaa !11
  br label %95

95:                                               ; preds = %187, %13
  %96 = load i64, ptr %35, align 8, !tbaa !11
  %97 = load i32, ptr %18, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = icmp ult i64 %96, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %95
  store i32 2, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #2
  br label %190

101:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #2
  %102 = load i64, ptr %35, align 8, !tbaa !11
  %103 = icmp eq i64 %102, 0
  %104 = zext i1 %103 to i32
  store i32 %104, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #2
  store i64 0, ptr %38, align 8, !tbaa !11
  br label %105

105:                                              ; preds = %183, %101
  %106 = load i64, ptr %38, align 8, !tbaa !11
  %107 = icmp ult i64 %106, 4
  br i1 %107, label %109, label %108

108:                                              ; preds = %105
  store i32 5, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #2
  br label %186

109:                                              ; preds = %105
  %110 = load i64, ptr %35, align 8, !tbaa !11
  %111 = trunc i64 %110 to i32
  %112 = load i64, ptr %38, align 8, !tbaa !11
  %113 = trunc i64 %112 to i32
  %114 = load i32, ptr %17, align 4, !tbaa !9
  %115 = load i32, ptr %18, align 4, !tbaa !9
  call void @gidx_init(ptr noundef %34, i32 noundef %111, i32 noundef %113, i32 noundef %114, i32 noundef %115)
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #2
  %116 = load i32, ptr %37, align 4, !tbaa !9
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %118, label %121

118:                                              ; preds = %109
  %119 = load i64, ptr %38, align 8, !tbaa !11
  %120 = icmp eq i64 %119, 0
  br label %121

121:                                              ; preds = %118, %109
  %122 = phi i1 [ false, %109 ], [ %120, %118 ]
  %123 = zext i1 %122 to i64
  %124 = select i1 %122, i32 2, i32 0
  store i32 %124, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #2
  %125 = load i64, ptr %38, align 8, !tbaa !11
  %126 = trunc i64 %125 to i32
  %127 = load i32, ptr %32, align 4, !tbaa !9
  %128 = mul i32 %126, %127
  %129 = load i32, ptr %39, align 4, !tbaa !9
  %130 = add i32 %128, %129
  store i32 %130, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #2
  %131 = load i64, ptr %38, align 8, !tbaa !11
  %132 = trunc i64 %131 to i32
  %133 = add i32 %132, 1
  %134 = load i32, ptr %32, align 4, !tbaa !9
  %135 = mul i32 %133, %134
  store i32 %135, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #2
  %136 = load i32, ptr %40, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  store i64 %137, ptr %42, align 8, !tbaa !11
  br label %138

138:                                              ; preds = %179, %121
  %139 = load i64, ptr %42, align 8, !tbaa !11
  %140 = load i32, ptr %41, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = icmp ult i64 %139, %141
  br i1 %142, label %144, label %143

143:                                              ; preds = %138
  store i32 8, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #2
  br label %182

144:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #2
  %145 = call i32 @gidx_next(ptr noundef %34)
  store i32 %145, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #2
  %146 = load i64, ptr %42, align 8, !tbaa !11
  %147 = icmp eq i64 %146, 0
  br i1 %147, label %148, label %151

148:                                              ; preds = %144
  %149 = load i32, ptr %17, align 4, !tbaa !9
  %150 = sub i32 %149, 1
  br label %155

151:                                              ; preds = %144
  %152 = load i64, ptr %42, align 8, !tbaa !11
  %153 = trunc i64 %152 to i32
  %154 = sub i32 %153, 1
  br label %155

155:                                              ; preds = %151, %148
  %156 = phi i32 [ %150, %148 ], [ %154, %151 ]
  store i32 %156, ptr %44, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #2
  %157 = load ptr, ptr %27, align 8, !tbaa !5
  %158 = load i64, ptr %42, align 8, !tbaa !11
  %159 = getelementptr inbounds %struct.block, ptr %157, i64 %158
  store ptr %159, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #2
  %160 = load ptr, ptr %27, align 8, !tbaa !5
  %161 = load i32, ptr %44, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = getelementptr inbounds %struct.block, ptr %160, i64 %162
  store ptr %163, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #2
  %164 = load ptr, ptr %27, align 8, !tbaa !5
  %165 = load i32, ptr %43, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = getelementptr inbounds %struct.block, ptr %164, i64 %166
  store ptr %167, ptr %47, align 8, !tbaa !5
  %168 = load i32, ptr %37, align 4, !tbaa !9
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %174

170:                                              ; preds = %155
  %171 = load ptr, ptr %45, align 8, !tbaa !5
  %172 = load ptr, ptr %46, align 8, !tbaa !5
  %173 = load ptr, ptr %47, align 8, !tbaa !5
  call void @g_copy(ptr noundef %171, ptr noundef %172, ptr noundef %173, ptr noundef %33)
  br label %178

174:                                              ; preds = %155
  %175 = load ptr, ptr %45, align 8, !tbaa !5
  %176 = load ptr, ptr %46, align 8, !tbaa !5
  %177 = load ptr, ptr %47, align 8, !tbaa !5
  call void @g_xor(ptr noundef %175, ptr noundef %176, ptr noundef %177, ptr noundef %33)
  br label %178

178:                                              ; preds = %174, %170
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #2
  br label %179

179:                                              ; preds = %178
  %180 = load i64, ptr %42, align 8, !tbaa !11
  %181 = add i64 %180, 1
  store i64 %181, ptr %42, align 8, !tbaa !11
  br label %138, !llvm.loop !13

182:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #2
  br label %183

183:                                              ; preds = %182
  %184 = load i64, ptr %38, align 8, !tbaa !11
  %185 = add i64 %184, 1
  store i64 %185, ptr %38, align 8, !tbaa !11
  br label %105, !llvm.loop !15

186:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #2
  br label %187

187:                                              ; preds = %186
  %188 = load i64, ptr %35, align 8, !tbaa !11
  %189 = add i64 %188, 1
  store i64 %189, ptr %35, align 8, !tbaa !11
  br label %95, !llvm.loop !16

190:                                              ; preds = %100
  %191 = getelementptr inbounds %struct.gidx_ctx, ptr %34, i32 0, i32 0
  call void @wipe_block(ptr noundef %191)
  call void @wipe_block(ptr noundef %33)
  call void @llvm.lifetime.start.p0(i64 1024, ptr %48) #2
  %192 = getelementptr inbounds [1024 x i8], ptr %48, i64 0, i64 0
  %193 = load ptr, ptr %27, align 8, !tbaa !5
  %194 = load i32, ptr %17, align 4, !tbaa !9
  %195 = sub i32 %194, 1
  %196 = zext i32 %195 to i64
  %197 = getelementptr inbounds %struct.block, ptr %193, i64 %196
  call void @store_block(ptr noundef %192, ptr noundef %197)
  %198 = load ptr, ptr %14, align 8, !tbaa !5
  %199 = load i32, ptr %15, align 4, !tbaa !9
  %200 = getelementptr inbounds [1024 x i8], ptr %48, i64 0, i64 0
  call void @extended_hash(ptr noundef %198, i32 noundef %199, ptr noundef %200, i32 noundef 1024)
  %201 = getelementptr inbounds [1024 x i8], ptr %48, i64 0, i64 0
  call void @crypto_wipe(ptr noundef %201, i64 noundef 1024)
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #2
  %202 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %202, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #2
  store i64 0, ptr %50, align 8, !tbaa !11
  br label %203

203:                                              ; preds = %214, %190
  %204 = load i64, ptr %50, align 8, !tbaa !11
  %205 = load i32, ptr %17, align 4, !tbaa !9
  %206 = mul i32 128, %205
  %207 = zext i32 %206 to i64
  %208 = icmp ult i64 %204, %207
  br i1 %208, label %210, label %209

209:                                              ; preds = %203
  store i32 11, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #2
  br label %217

210:                                              ; preds = %203
  %211 = load ptr, ptr %49, align 8, !tbaa !5
  %212 = load i64, ptr %50, align 8, !tbaa !11
  %213 = getelementptr inbounds i64, ptr %211, i64 %212
  store volatile i64 0, ptr %213, align 8, !tbaa !11
  br label %214

214:                                              ; preds = %210
  %215 = load i64, ptr %50, align 8, !tbaa !11
  %216 = add i64 %215, 1
  store i64 %216, ptr %50, align 8, !tbaa !11
  br label %203, !llvm.loop !17

217:                                              ; preds = %209
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #2
  call void @llvm.lifetime.end.p0(i64 1024, ptr %48) #2
  call void @llvm.lifetime.end.p0(i64 1048, ptr %34) #2
  call void @llvm.lifetime.end.p0(i64 1024, ptr %33) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #2
  ret void
}

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

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

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

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

; Function Attrs: nounwind uwtable
declare hidden void @wipe_block(ptr noundef) #0

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

; Function Attrs: nounwind uwtable
declare hidden i32 @gidx_next(ptr noundef) #0

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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.crypto_blake2b_ctx = type { [8 x i64], [2 x i64], [16 x i64], i64, i64 }
%struct.block = type { [128 x i64] }
%struct.gidx_ctx = type { %struct.block, i32, i32, i32, i32, i32, i32 }

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @crypto_argon2i_general(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12) local_unnamed_addr #0 {
  %14 = alloca %struct.crypto_blake2b_ctx, align 8
  %15 = alloca [72 x i8], align 16
  %16 = alloca %struct.block, align 8
  %17 = alloca [1024 x i8], align 16
  %18 = alloca %struct.block, align 8
  %19 = alloca %struct.gidx_ctx, align 8
  %20 = alloca [1024 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %14) #2
  call void @crypto_blake2b_init(ptr noundef nonnull %14)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef 1)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef %1)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef %3)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef %4)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef 19)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef 1)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef %6)
  %21 = zext i32 %6 to i64
  call void @crypto_blake2b_update(ptr noundef nonnull %14, ptr noundef %5, i64 noundef %21)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef %8)
  %22 = zext i32 %8 to i64
  call void @crypto_blake2b_update(ptr noundef nonnull %14, ptr noundef %7, i64 noundef %22)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef %10)
  %23 = zext i32 %10 to i64
  call void @crypto_blake2b_update(ptr noundef nonnull %14, ptr noundef %9, i64 noundef %23)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef %12)
  %24 = zext i32 %12 to i64
  call void @crypto_blake2b_update(ptr noundef nonnull %14, ptr noundef %11, i64 noundef %24)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %15) #2
  call void @crypto_blake2b_final(ptr noundef nonnull %14, ptr noundef nonnull %15)
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %16) #2
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %17) #2
  %25 = getelementptr inbounds i8, ptr %15, i64 64
  call void @store32_le(ptr noundef nonnull %25, i32 noundef 0)
  %26 = getelementptr inbounds i8, ptr %15, i64 68
  call void @store32_le(ptr noundef nonnull %26, i32 noundef 0)
  call void @extended_hash(ptr noundef nonnull %17, i32 noundef 1024, ptr noundef nonnull %15, i32 noundef 72)
  call void @load_block(ptr noundef nonnull %16, ptr noundef nonnull %17)
  call void @copy_block(ptr noundef %2, ptr noundef nonnull %16)
  call void @store32_le(ptr noundef nonnull %25, i32 noundef 1)
  call void @extended_hash(ptr noundef nonnull %17, i32 noundef 1024, ptr noundef nonnull %15, i32 noundef 72)
  call void @load_block(ptr noundef nonnull %16, ptr noundef nonnull %17)
  %27 = getelementptr inbounds i8, ptr %2, i64 1024
  call void @copy_block(ptr noundef nonnull %27, ptr noundef nonnull %16)
  call void @crypto_wipe(ptr noundef nonnull %15, i64 noundef 72)
  call void @crypto_wipe(ptr noundef nonnull %17, i64 noundef 1024)
  call void @wipe_block(ptr noundef nonnull %16)
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %17) #2
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %16) #2
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %15) #2
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %14) #2
  %28 = and i32 %3, -4
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %18) #2
  call void @llvm.lifetime.start.p0(i64 1048, ptr nonnull %19) #2
  %29 = zext i32 %4 to i64
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph75.preheader

.lr.ph75.preheader:                               ; preds = %13
  %30 = lshr i32 %3, 2
  %31 = lshr i32 %3, 2
  %32 = zext nneg i32 %31 to i64
  %.not89 = icmp ult i32 %3, 4
  %33 = add i32 %28, -1
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds %struct.block, ptr %2, i64 %34
  %exitcond.peel.not = icmp eq i32 %31, 1
  %indvars.iv.next = shl nuw nsw i64 %32, 1
  %36 = shl nuw nsw i32 %30, 1
  %.not90 = icmp ult i32 %3, 4
  %37 = zext nneg i32 %30 to i64
  %indvars.iv.next.1 = mul nuw nsw i64 %32, 3
  %38 = mul nuw i32 %30, 3
  %39 = icmp ult i32 %36, %38
  %40 = zext nneg i32 %36 to i64
  %indvars.iv.next.2 = shl nuw nsw i64 %32, 2
  %41 = and i32 %3, -4
  %42 = icmp ult i32 %38, %41
  %43 = zext i32 %38 to i64
  %44 = icmp ugt i32 %3, 11
  %indvars.iv.next84 = shl nuw nsw i64 %32, 1
  %45 = shl nuw nsw i32 %30, 1
  %.not91 = icmp ult i32 %3, 4
  %46 = zext nneg i32 %30 to i64
  %indvars.iv.next84.1 = mul nuw nsw i64 %32, 3
  %47 = mul nuw i32 %30, 3
  %48 = icmp ult i32 %45, %47
  %49 = zext nneg i32 %45 to i64
  %indvars.iv.next84.2 = shl nuw nsw i64 %32, 2
  %50 = and i32 %3, -4
  %51 = icmp ult i32 %47, %50
  %52 = zext i32 %47 to i64
  br label %.lr.ph75

._crit_edge:                                      ; preds = %.split73.us, %13
  call void @wipe_block(ptr noundef nonnull %19)
  call void @wipe_block(ptr noundef nonnull %18)
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %20) #2
  %53 = add i32 %28, -1
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds %struct.block, ptr %2, i64 %54
  call void @store_block(ptr noundef nonnull %20, ptr noundef nonnull %55)
  call void @extended_hash(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %20, i32 noundef 1024)
  call void @crypto_wipe(ptr noundef nonnull %20, i64 noundef 1024)
  %56 = shl i32 %28, 7
  %57 = zext i32 %56 to i64
  %.not80 = icmp eq i32 %56, 0
  br i1 %.not80, label %._crit_edge79, label %.lr.ph78

.lr.ph75:                                         ; preds = %.lr.ph75.preheader, %.split73.us
  %.06774 = phi i64 [ %98, %.split73.us ], [ 0, %.lr.ph75.preheader ]
  %58 = icmp eq i64 %.06774, 0
  %59 = trunc nuw i64 %.06774 to i32
  call void @gidx_init(ptr noundef nonnull %19, i32 noundef %59, i32 noundef 0, i32 noundef %28, i32 noundef %4)
  br i1 %58, label %.split.us.preheader, label %.split.preheader

.split.preheader:                                 ; preds = %.lr.ph75
  br i1 %.not89, label %._crit_edge.split, label %.lr.ph.preheader

.split.us.preheader:                              ; preds = %.lr.ph75
  br i1 %44, label %.lr.ph.us, label %._crit_edge.split.us.us

._crit_edge.split.us.us:                          ; preds = %.lr.ph.us, %.split.us.preheader
  call void @gidx_init(ptr noundef nonnull %19, i32 noundef %59, i32 noundef 1, i32 noundef %28, i32 noundef %4)
  br i1 %.not91, label %._crit_edge.split.us.us.1, label %.lr.ph.us.1

.lr.ph.us.1:                                      ; preds = %._crit_edge.split.us.us, %.lr.ph.us.1
  %.06970.us.us.1 = phi i64 [ %69, %.lr.ph.us.1 ], [ %46, %._crit_edge.split.us.us ]
  %60 = call i32 @gidx_next(ptr noundef nonnull %19)
  %61 = icmp eq i64 %.06970.us.us.1, 0
  %62 = trunc nuw i64 %.06970.us.us.1 to i32
  %.v.us.us.1 = select i1 %61, i32 %28, i32 %62
  %63 = add i32 %.v.us.us.1, -1
  %64 = getelementptr inbounds %struct.block, ptr %2, i64 %.06970.us.us.1
  %65 = zext i32 %63 to i64
  %66 = getelementptr inbounds %struct.block, ptr %2, i64 %65
  %67 = zext i32 %60 to i64
  %68 = getelementptr inbounds %struct.block, ptr %2, i64 %67
  call void @g_copy(ptr noundef %64, ptr noundef %66, ptr noundef %68, ptr noundef nonnull %18)
  %69 = add nuw nsw i64 %.06970.us.us.1, 1
  %exitcond85.1.not = icmp eq i64 %69, %indvars.iv.next84
  br i1 %exitcond85.1.not, label %._crit_edge.split.us.us.1, label %.lr.ph.us.1, !llvm.loop !5

._crit_edge.split.us.us.1:                        ; preds = %.lr.ph.us.1, %._crit_edge.split.us.us
  call void @gidx_init(ptr noundef nonnull %19, i32 noundef %59, i32 noundef 2, i32 noundef %28, i32 noundef %4)
  br i1 %48, label %.lr.ph.us.2, label %._crit_edge.split.us.us.2

.lr.ph.us.2:                                      ; preds = %._crit_edge.split.us.us.1, %.lr.ph.us.2
  %.06970.us.us.2 = phi i64 [ %79, %.lr.ph.us.2 ], [ %49, %._crit_edge.split.us.us.1 ]
  %70 = call i32 @gidx_next(ptr noundef nonnull %19)
  %71 = icmp eq i64 %.06970.us.us.2, 0
  %72 = trunc nuw i64 %.06970.us.us.2 to i32
  %.v.us.us.2 = select i1 %71, i32 %28, i32 %72
  %73 = add i32 %.v.us.us.2, -1
  %74 = getelementptr inbounds %struct.block, ptr %2, i64 %.06970.us.us.2
  %75 = zext i32 %73 to i64
  %76 = getelementptr inbounds %struct.block, ptr %2, i64 %75
  %77 = zext i32 %70 to i64
  %78 = getelementptr inbounds %struct.block, ptr %2, i64 %77
  call void @g_copy(ptr noundef %74, ptr noundef %76, ptr noundef %78, ptr noundef nonnull %18)
  %79 = add nuw nsw i64 %.06970.us.us.2, 1
  %exitcond85.2.not = icmp eq i64 %79, %indvars.iv.next84.1
  br i1 %exitcond85.2.not, label %._crit_edge.split.us.us.2, label %.lr.ph.us.2, !llvm.loop !5

._crit_edge.split.us.us.2:                        ; preds = %.lr.ph.us.2, %._crit_edge.split.us.us.1
  call void @gidx_init(ptr noundef nonnull %19, i32 noundef %59, i32 noundef 3, i32 noundef %28, i32 noundef %4)
  br i1 %51, label %.lr.ph.us.3, label %.split73.us

.lr.ph.us.3:                                      ; preds = %._crit_edge.split.us.us.2, %.lr.ph.us.3
  %.06970.us.us.3 = phi i64 [ %89, %.lr.ph.us.3 ], [ %52, %._crit_edge.split.us.us.2 ]
  %80 = call i32 @gidx_next(ptr noundef nonnull %19)
  %81 = icmp eq i64 %.06970.us.us.3, 0
  %82 = trunc nuw i64 %.06970.us.us.3 to i32
  %.v.us.us.3 = select i1 %81, i32 %28, i32 %82
  %83 = add i32 %.v.us.us.3, -1
  %84 = getelementptr inbounds %struct.block, ptr %2, i64 %.06970.us.us.3
  %85 = zext i32 %83 to i64
  %86 = getelementptr inbounds %struct.block, ptr %2, i64 %85
  %87 = zext i32 %80 to i64
  %88 = getelementptr inbounds %struct.block, ptr %2, i64 %87
  call void @g_copy(ptr noundef %84, ptr noundef %86, ptr noundef %88, ptr noundef nonnull %18)
  %89 = add nuw nsw i64 %.06970.us.us.3, 1
  %exitcond85.3.not = icmp eq i64 %89, %indvars.iv.next84.2
  br i1 %exitcond85.3.not, label %.split73.us, label %.lr.ph.us.3, !llvm.loop !5

.lr.ph.us:                                        ; preds = %.split.us.preheader, %.lr.ph.us
  %.06970.us.us = phi i64 [ %97, %.lr.ph.us ], [ 2, %.split.us.preheader ]
  %90 = call i32 @gidx_next(ptr noundef nonnull %19)
  %91 = add nuw i64 %.06970.us.us, 4294967295
  %92 = getelementptr inbounds %struct.block, ptr %2, i64 %.06970.us.us
  %93 = and i64 %91, 4294967295
  %94 = getelementptr inbounds %struct.block, ptr %2, i64 %93
  %95 = zext i32 %90 to i64
  %96 = getelementptr inbounds %struct.block, ptr %2, i64 %95
  call void @g_copy(ptr noundef nonnull %92, ptr noundef %94, ptr noundef %96, ptr noundef nonnull %18)
  %97 = add nuw nsw i64 %.06970.us.us, 1
  %exitcond85.not = icmp eq i64 %97, %32
  br i1 %exitcond85.not, label %._crit_edge.split.us.us, label %.lr.ph.us, !llvm.loop !5

.split73.us:                                      ; preds = %.lr.ph.3, %.lr.ph.us.3, %._crit_edge.split.2, %._crit_edge.split.us.us.2
  %98 = add nuw nsw i64 %.06774, 1
  %exitcond87.not = icmp eq i64 %98, %29
  br i1 %exitcond87.not, label %._crit_edge, label %.lr.ph75, !llvm.loop !7

.lr.ph.preheader:                                 ; preds = %.split.preheader
  %99 = call i32 @gidx_next(ptr noundef nonnull %19)
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds %struct.block, ptr %2, i64 %100
  call void @g_xor(ptr noundef %2, ptr noundef nonnull %35, ptr noundef %101, ptr noundef nonnull %18)
  br i1 %exitcond.peel.not, label %._crit_edge.split, label %.lr.ph

._crit_edge.split:                                ; preds = %.lr.ph, %.lr.ph.preheader, %.split.preheader
  call void @gidx_init(ptr noundef nonnull %19, i32 noundef %59, i32 noundef 1, i32 noundef %28, i32 noundef %4)
  br i1 %.not90, label %._crit_edge.split.1, label %.lr.ph.1

.lr.ph.1:                                         ; preds = %._crit_edge.split, %.lr.ph.1
  %.06970.1 = phi i64 [ %111, %.lr.ph.1 ], [ %37, %._crit_edge.split ]
  %102 = call i32 @gidx_next(ptr noundef nonnull %19)
  %103 = icmp eq i64 %.06970.1, 0
  %104 = trunc nuw i64 %.06970.1 to i32
  %.v.1 = select i1 %103, i32 %28, i32 %104
  %105 = add i32 %.v.1, -1
  %106 = getelementptr inbounds %struct.block, ptr %2, i64 %.06970.1
  %107 = zext i32 %105 to i64
  %108 = getelementptr inbounds %struct.block, ptr %2, i64 %107
  %109 = zext i32 %102 to i64
  %110 = getelementptr inbounds %struct.block, ptr %2, i64 %109
  call void @g_xor(ptr noundef %106, ptr noundef %108, ptr noundef %110, ptr noundef nonnull %18)
  %111 = add nuw nsw i64 %.06970.1, 1
  %exitcond.1.not = icmp eq i64 %111, %indvars.iv.next
  br i1 %exitcond.1.not, label %._crit_edge.split.1, label %.lr.ph.1, !llvm.loop !5

._crit_edge.split.1:                              ; preds = %.lr.ph.1, %._crit_edge.split
  call void @gidx_init(ptr noundef nonnull %19, i32 noundef %59, i32 noundef 2, i32 noundef %28, i32 noundef %4)
  br i1 %39, label %.lr.ph.2, label %._crit_edge.split.2

.lr.ph.2:                                         ; preds = %._crit_edge.split.1, %.lr.ph.2
  %.06970.2 = phi i64 [ %121, %.lr.ph.2 ], [ %40, %._crit_edge.split.1 ]
  %112 = call i32 @gidx_next(ptr noundef nonnull %19)
  %113 = icmp eq i64 %.06970.2, 0
  %114 = trunc nuw i64 %.06970.2 to i32
  %.v.2 = select i1 %113, i32 %28, i32 %114
  %115 = add i32 %.v.2, -1
  %116 = getelementptr inbounds %struct.block, ptr %2, i64 %.06970.2
  %117 = zext i32 %115 to i64
  %118 = getelementptr inbounds %struct.block, ptr %2, i64 %117
  %119 = zext i32 %112 to i64
  %120 = getelementptr inbounds %struct.block, ptr %2, i64 %119
  call void @g_xor(ptr noundef %116, ptr noundef %118, ptr noundef %120, ptr noundef nonnull %18)
  %121 = add nuw nsw i64 %.06970.2, 1
  %exitcond.2.not = icmp eq i64 %121, %indvars.iv.next.1
  br i1 %exitcond.2.not, label %._crit_edge.split.2, label %.lr.ph.2, !llvm.loop !5

._crit_edge.split.2:                              ; preds = %.lr.ph.2, %._crit_edge.split.1
  call void @gidx_init(ptr noundef nonnull %19, i32 noundef %59, i32 noundef 3, i32 noundef %28, i32 noundef %4)
  br i1 %42, label %.lr.ph.3, label %.split73.us

.lr.ph.3:                                         ; preds = %._crit_edge.split.2, %.lr.ph.3
  %.06970.3 = phi i64 [ %131, %.lr.ph.3 ], [ %43, %._crit_edge.split.2 ]
  %122 = call i32 @gidx_next(ptr noundef nonnull %19)
  %123 = icmp eq i64 %.06970.3, 0
  %124 = trunc nuw i64 %.06970.3 to i32
  %.v.3 = select i1 %123, i32 %28, i32 %124
  %125 = add i32 %.v.3, -1
  %126 = getelementptr inbounds %struct.block, ptr %2, i64 %.06970.3
  %127 = zext i32 %125 to i64
  %128 = getelementptr inbounds %struct.block, ptr %2, i64 %127
  %129 = zext i32 %122 to i64
  %130 = getelementptr inbounds %struct.block, ptr %2, i64 %129
  call void @g_xor(ptr noundef %126, ptr noundef %128, ptr noundef %130, ptr noundef nonnull %18)
  %131 = add nuw nsw i64 %.06970.3, 1
  %exitcond.3.not = icmp eq i64 %131, %indvars.iv.next.2
  br i1 %exitcond.3.not, label %.split73.us, label %.lr.ph.3, !llvm.loop !5

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.06970 = phi i64 [ %139, %.lr.ph ], [ 1, %.lr.ph.preheader ]
  %132 = call i32 @gidx_next(ptr noundef nonnull %19)
  %133 = add nuw i64 %.06970, 4294967295
  %134 = getelementptr inbounds %struct.block, ptr %2, i64 %.06970
  %135 = and i64 %133, 4294967295
  %136 = getelementptr inbounds %struct.block, ptr %2, i64 %135
  %137 = zext i32 %132 to i64
  %138 = getelementptr inbounds %struct.block, ptr %2, i64 %137
  call void @g_xor(ptr noundef nonnull %134, ptr noundef %136, ptr noundef %138, ptr noundef nonnull %18)
  %139 = add nuw nsw i64 %.06970, 1
  %exitcond.not = icmp eq i64 %139, %32
  br i1 %exitcond.not, label %._crit_edge.split, label %.lr.ph, !llvm.loop !8

._crit_edge79:                                    ; preds = %.lr.ph78, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %20) #2
  call void @llvm.lifetime.end.p0(i64 1048, ptr nonnull %19) #2
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %18) #2
  ret void

.lr.ph78:                                         ; preds = %._crit_edge, %.lr.ph78
  %.076 = phi i64 [ %155, %.lr.ph78 ], [ 0, %._crit_edge ]
  %140 = getelementptr inbounds i64, ptr %2, i64 %.076
  store volatile i64 0, ptr %140, align 8, !tbaa !10
  %141 = or disjoint i64 %.076, 1
  %142 = getelementptr inbounds i64, ptr %2, i64 %141
  store volatile i64 0, ptr %142, align 8, !tbaa !10
  %143 = or disjoint i64 %.076, 2
  %144 = getelementptr inbounds i64, ptr %2, i64 %143
  store volatile i64 0, ptr %144, align 8, !tbaa !10
  %145 = or disjoint i64 %.076, 3
  %146 = getelementptr inbounds i64, ptr %2, i64 %145
  store volatile i64 0, ptr %146, align 8, !tbaa !10
  %147 = or disjoint i64 %.076, 4
  %148 = getelementptr inbounds i64, ptr %2, i64 %147
  store volatile i64 0, ptr %148, align 8, !tbaa !10
  %149 = or disjoint i64 %.076, 5
  %150 = getelementptr inbounds i64, ptr %2, i64 %149
  store volatile i64 0, ptr %150, align 8, !tbaa !10
  %151 = or disjoint i64 %.076, 6
  %152 = getelementptr inbounds i64, ptr %2, i64 %151
  store volatile i64 0, ptr %152, align 8, !tbaa !10
  %153 = or disjoint i64 %.076, 7
  %154 = getelementptr inbounds i64, ptr %2, i64 %153
  store volatile i64 0, ptr %154, align 8, !tbaa !10
  %155 = add nuw nsw i64 %.076, 8
  %exitcond88.not.7 = icmp eq i64 %155, %57
  br i1 %exitcond88.not.7, label %._crit_edge79, label %.lr.ph78, !llvm.loop !14
}

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

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

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

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

; Function Attrs: nounwind uwtable
declare hidden void @wipe_block(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare hidden i32 @gidx_next(ptr noundef) local_unnamed_addr #0

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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6, !9}
!9 = !{!"llvm.loop.peeled.count", i32 1}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C/C++ TBAA"}
!14 = distinct !{!14, !6}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass