; LLVM IR from philanc/luazen :: src/mono (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_init(ptr 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_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 [1024 x i8], align 16
  %31 = alloca i32, align 4
  %32 = alloca %struct.block, align 8
  %33 = alloca %struct.gidx_ctx, align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca [1024 x i8], align 16
  %46 = alloca ptr, align 8
  %47 = 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
  %48 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %48, 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)
  %49 = load i32, ptr %15, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %49)
  %50 = load i32, ptr %17, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %50)
  %51 = load i32, ptr %18, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %51)
  call void @blake_update_32(ptr noundef %28, i32 noundef 19)
  call void @blake_update_32(ptr noundef %28, i32 noundef 1)
  %52 = load i32, ptr %20, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %52)
  %53 = load ptr, ptr %19, align 8, !tbaa !5
  %54 = load i32, ptr %20, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  call void @crypto_blake2b_update(ptr noundef %28, ptr noundef %53, i64 noundef %55)
  %56 = load i32, ptr %22, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %56)
  %57 = load ptr, ptr %21, align 8, !tbaa !5
  %58 = load i32, ptr %22, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  call void @crypto_blake2b_update(ptr noundef %28, ptr noundef %57, i64 noundef %59)
  %60 = load i32, ptr %24, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %60)
  %61 = load ptr, ptr %23, align 8, !tbaa !5
  %62 = load i32, ptr %24, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  call void @crypto_blake2b_update(ptr noundef %28, ptr noundef %61, i64 noundef %63)
  %64 = load i32, ptr %26, align 4, !tbaa !9
  call void @blake_update_32(ptr noundef %28, i32 noundef %64)
  %65 = load ptr, ptr %25, align 8, !tbaa !5
  %66 = load i32, ptr %26, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  call void @crypto_blake2b_update(ptr noundef %28, ptr noundef %65, i64 noundef %67)
  call void @llvm.lifetime.start.p0(i64 72, ptr %29) #2
  %68 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  call void @crypto_blake2b_final(ptr noundef %28, ptr noundef %68)
  call void @llvm.lifetime.start.p0(i64 1024, ptr %30) #2
  %69 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  %70 = getelementptr inbounds i8, ptr %69, i64 64
  call void @store32_le(ptr noundef %70, i32 noundef 0)
  %71 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  %72 = getelementptr inbounds i8, ptr %71, i64 68
  call void @store32_le(ptr noundef %72, i32 noundef 0)
  %73 = getelementptr inbounds [1024 x i8], ptr %30, i64 0, i64 0
  %74 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  call void @extended_hash(ptr noundef %73, i32 noundef 1024, ptr noundef %74, i32 noundef 72)
  %75 = load ptr, ptr %27, align 8, !tbaa !5
  %76 = getelementptr inbounds [1024 x i8], ptr %30, i64 0, i64 0
  call void @load_block(ptr noundef %75, ptr noundef %76)
  %77 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  %78 = getelementptr inbounds i8, ptr %77, i64 64
  call void @store32_le(ptr noundef %78, i32 noundef 1)
  %79 = getelementptr inbounds [1024 x i8], ptr %30, i64 0, i64 0
  %80 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  call void @extended_hash(ptr noundef %79, i32 noundef 1024, ptr noundef %80, i32 noundef 72)
  %81 = load ptr, ptr %27, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.block, ptr %81, i64 1
  %83 = getelementptr inbounds [1024 x i8], ptr %30, i64 0, i64 0
  call void @load_block(ptr noundef %82, ptr noundef %83)
  %84 = getelementptr inbounds [72 x i8], ptr %29, i64 0, i64 0
  call void @crypto_wipe(ptr noundef %84, i64 noundef 72)
  %85 = getelementptr inbounds [1024 x i8], ptr %30, i64 0, i64 0
  call void @crypto_wipe(ptr noundef %85, i64 noundef 1024)
  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
  %86 = load i32, ptr %17, align 4, !tbaa !9
  %87 = and i32 %86, 3
  %88 = load i32, ptr %17, align 4, !tbaa !9
  %89 = sub i32 %88, %87
  store i32 %89, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #2
  %90 = load i32, ptr %17, align 4, !tbaa !9
  %91 = lshr i32 %90, 2
  store i32 %91, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1024, ptr %32) #2
  call void @llvm.lifetime.start.p0(i64 1048, ptr %33) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #2
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %177, %13
  %93 = load i32, ptr %34, align 4, !tbaa !9
  %94 = load i32, ptr %18, align 4, !tbaa !9
  %95 = icmp ult i32 %93, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %92
  store i32 2, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #2
  br label %180

97:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #2
  %98 = load i32, ptr %34, align 4, !tbaa !9
  %99 = icmp eq i32 %98, 0
  %100 = zext i1 %99 to i32
  store i32 %100, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #2
  store i32 0, ptr %37, align 4, !tbaa !9
  br label %101

101:                                              ; preds = %173, %97
  %102 = load i32, ptr %37, align 4, !tbaa !9
  %103 = icmp ult i32 %102, 4
  br i1 %103, label %105, label %104

104:                                              ; preds = %101
  store i32 5, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #2
  br label %176

105:                                              ; preds = %101
  %106 = load i32, ptr %34, align 4, !tbaa !9
  %107 = load i32, ptr %37, align 4, !tbaa !9
  %108 = load i32, ptr %17, align 4, !tbaa !9
  %109 = load i32, ptr %18, align 4, !tbaa !9
  call void @gidx_init(ptr noundef %33, i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109)
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #2
  %110 = load i32, ptr %36, align 4, !tbaa !9
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %112, label %115

112:                                              ; preds = %105
  %113 = load i32, ptr %37, align 4, !tbaa !9
  %114 = icmp eq i32 %113, 0
  br label %115

115:                                              ; preds = %112, %105
  %116 = phi i1 [ false, %105 ], [ %114, %112 ]
  %117 = zext i1 %116 to i64
  %118 = select i1 %116, i32 2, i32 0
  store i32 %118, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #2
  %119 = load i32, ptr %37, align 4, !tbaa !9
  %120 = load i32, ptr %31, align 4, !tbaa !9
  %121 = mul i32 %119, %120
  %122 = load i32, ptr %38, align 4, !tbaa !9
  %123 = add i32 %121, %122
  store i32 %123, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #2
  %124 = load i32, ptr %37, align 4, !tbaa !9
  %125 = add i32 %124, 1
  %126 = load i32, ptr %31, align 4, !tbaa !9
  %127 = mul i32 %125, %126
  store i32 %127, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #2
  %128 = load i32, ptr %39, align 4, !tbaa !9
  store i32 %128, ptr %41, align 4, !tbaa !9
  br label %129

129:                                              ; preds = %169, %115
  %130 = load i32, ptr %41, align 4, !tbaa !9
  %131 = load i32, ptr %40, align 4, !tbaa !9
  %132 = icmp ult i32 %130, %131
  br i1 %132, label %134, label %133

133:                                              ; preds = %129
  store i32 8, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #2
  br label %172

134:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #2
  %135 = load ptr, ptr %27, align 8, !tbaa !5
  %136 = call i32 @gidx_next(ptr noundef %33)
  %137 = zext i32 %136 to i64
  %138 = getelementptr inbounds %struct.block, ptr %135, i64 %137
  store ptr %138, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #2
  %139 = load ptr, ptr %27, align 8, !tbaa !5
  %140 = load i32, ptr %41, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = getelementptr inbounds %struct.block, ptr %139, i64 %141
  store ptr %142, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #2
  %143 = load i32, ptr %41, align 4, !tbaa !9
  %144 = icmp eq i32 %143, 0
  br i1 %144, label %145, label %151

145:                                              ; preds = %134
  %146 = load ptr, ptr %27, align 8, !tbaa !5
  %147 = load i32, ptr %17, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = getelementptr inbounds %struct.block, ptr %146, i64 %148
  %150 = getelementptr inbounds %struct.block, ptr %149, i64 -1
  br label %157

151:                                              ; preds = %134
  %152 = load ptr, ptr %27, align 8, !tbaa !5
  %153 = load i32, ptr %41, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = getelementptr inbounds %struct.block, ptr %152, i64 %154
  %156 = getelementptr inbounds %struct.block, ptr %155, i64 -1
  br label %157

157:                                              ; preds = %151, %145
  %158 = phi ptr [ %150, %145 ], [ %156, %151 ]
  store ptr %158, ptr %44, align 8, !tbaa !5
  %159 = load ptr, ptr %44, align 8, !tbaa !5
  call void @copy_block(ptr noundef %32, ptr noundef %159)
  %160 = load ptr, ptr %42, align 8, !tbaa !5
  call void @xor_block(ptr noundef %32, ptr noundef %160)
  %161 = load i32, ptr %36, align 4, !tbaa !9
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %165

163:                                              ; preds = %157
  %164 = load ptr, ptr %43, align 8, !tbaa !5
  call void @copy_block(ptr noundef %164, ptr noundef %32)
  br label %167

165:                                              ; preds = %157
  %166 = load ptr, ptr %43, align 8, !tbaa !5
  call void @xor_block(ptr noundef %166, ptr noundef %32)
  br label %167

167:                                              ; preds = %165, %163
  call void @g_rounds(ptr noundef %32)
  %168 = load ptr, ptr %43, align 8, !tbaa !5
  call void @xor_block(ptr noundef %168, ptr noundef %32)
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #2
  br label %169

169:                                              ; preds = %167
  %170 = load i32, ptr %41, align 4, !tbaa !9
  %171 = add i32 %170, 1
  store i32 %171, ptr %41, align 4, !tbaa !9
  br label %129, !llvm.loop !11

172:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #2
  br label %173

173:                                              ; preds = %172
  %174 = load i32, ptr %37, align 4, !tbaa !9
  %175 = add i32 %174, 1
  store i32 %175, ptr %37, align 4, !tbaa !9
  br label %101, !llvm.loop !13

176:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #2
  br label %177

177:                                              ; preds = %176
  %178 = load i32, ptr %34, align 4, !tbaa !9
  %179 = add i32 %178, 1
  store i32 %179, ptr %34, align 4, !tbaa !9
  br label %92, !llvm.loop !14

180:                                              ; preds = %96
  call void @wipe_block(ptr noundef %32)
  call void @llvm.lifetime.start.p0(i64 1024, ptr %45) #2
  %181 = getelementptr inbounds [1024 x i8], ptr %45, i64 0, i64 0
  %182 = load ptr, ptr %27, align 8, !tbaa !5
  %183 = load i32, ptr %17, align 4, !tbaa !9
  %184 = sub i32 %183, 1
  %185 = zext i32 %184 to i64
  %186 = getelementptr inbounds %struct.block, ptr %182, i64 %185
  call void @store_block(ptr noundef %181, ptr noundef %186)
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #2
  %187 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %187, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #2
  store i64 0, ptr %47, align 8, !tbaa !15
  br label %188

188:                                              ; preds = %199, %180
  %189 = load i64, ptr %47, align 8, !tbaa !15
  %190 = load i32, ptr %17, align 4, !tbaa !9
  %191 = mul i32 128, %190
  %192 = zext i32 %191 to i64
  %193 = icmp ult i64 %189, %192
  br i1 %193, label %195, label %194

194:                                              ; preds = %188
  store i32 11, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #2
  br label %202

195:                                              ; preds = %188
  %196 = load ptr, ptr %46, align 8, !tbaa !5
  %197 = load i64, ptr %47, align 8, !tbaa !15
  %198 = getelementptr inbounds i64, ptr %196, i64 %197
  store volatile i64 0, ptr %198, align 8, !tbaa !15
  br label %199

199:                                              ; preds = %195
  %200 = load i64, ptr %47, align 8, !tbaa !15
  %201 = add i64 %200, 1
  store i64 %201, ptr %47, align 8, !tbaa !15
  br label %188, !llvm.loop !17

202:                                              ; preds = %194
  %203 = load ptr, ptr %14, align 8, !tbaa !5
  %204 = load i32, ptr %15, align 4, !tbaa !9
  %205 = getelementptr inbounds [1024 x i8], ptr %45, i64 0, i64 0
  call void @extended_hash(ptr noundef %203, i32 noundef %204, ptr noundef %205, i32 noundef 1024)
  %206 = getelementptr inbounds [1024 x i8], ptr %45, i64 0, i64 0
  call void @crypto_wipe(ptr noundef %206, i64 noundef 1024)
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #2
  call void @llvm.lifetime.end.p0(i64 1024, ptr %45) #2
  call void @llvm.lifetime.end.p0(i64 1048, ptr %33) #2
  call void @llvm.lifetime.end.p0(i64 1024, ptr %32) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #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 @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 @copy_block(ptr noundef, ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare hidden void @wipe_block(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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !12}


; 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_init(ptr 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_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 [1024 x i8], align 16
  %17 = alloca %struct.block, align 8
  %18 = alloca %struct.gidx_ctx, align 8
  %19 = 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)
  %20 = zext i32 %6 to i64
  call void @crypto_blake2b_update(ptr noundef nonnull %14, ptr noundef %5, i64 noundef %20)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef %8)
  %21 = zext i32 %8 to i64
  call void @crypto_blake2b_update(ptr noundef nonnull %14, ptr noundef %7, i64 noundef %21)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef %10)
  %22 = zext i32 %10 to i64
  call void @crypto_blake2b_update(ptr noundef nonnull %14, ptr noundef %9, i64 noundef %22)
  call void @blake_update_32(ptr noundef nonnull %14, i32 noundef %12)
  %23 = zext i32 %12 to i64
  call void @crypto_blake2b_update(ptr noundef nonnull %14, ptr noundef %11, i64 noundef %23)
  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
  %24 = getelementptr inbounds i8, ptr %15, i64 64
  call void @store32_le(ptr noundef nonnull %24, i32 noundef 0)
  %25 = getelementptr inbounds i8, ptr %15, i64 68
  call void @store32_le(ptr noundef nonnull %25, i32 noundef 0)
  call void @extended_hash(ptr noundef nonnull %16, i32 noundef 1024, ptr noundef nonnull %15, i32 noundef 72)
  call void @load_block(ptr noundef %2, ptr noundef nonnull %16)
  call void @store32_le(ptr noundef nonnull %24, i32 noundef 1)
  call void @extended_hash(ptr noundef nonnull %16, i32 noundef 1024, ptr noundef nonnull %15, i32 noundef 72)
  %26 = getelementptr inbounds i8, ptr %2, i64 1024
  call void @load_block(ptr noundef nonnull %26, ptr noundef nonnull %16)
  call void @crypto_wipe(ptr noundef nonnull %15, i64 noundef 72)
  call void @crypto_wipe(ptr noundef nonnull %16, i64 noundef 1024)
  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
  %27 = and i32 %3, -4
  %28 = lshr i32 %3, 2
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %17) #2
  call void @llvm.lifetime.start.p0(i64 1048, ptr nonnull %18) #2
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph74

.lr.ph74:                                         ; preds = %13
  %invariant.gep = getelementptr i8, ptr %2, i64 -1024
  %29 = zext i32 %27 to i64
  %30 = lshr i32 %3, 2
  %31 = zext nneg i32 %30 to i64
  %.not103 = icmp ult i32 %3, 4
  %zext = zext nneg i32 %28 to i64
  %gep.peel = getelementptr %struct.block, ptr %invariant.gep, i64 %29
  %.not104 = icmp eq i32 %28, 1
  %indvars.iv.next84 = add nuw nsw i32 %28, %30
  %32 = shl nuw nsw i32 %28, 1
  %.not106 = icmp ult i32 %3, 4
  %indvars.iv.next84.1 = add nuw i32 %indvars.iv.next84, %30
  %33 = mul nuw i32 %28, 3
  %34 = icmp ult i32 %32, %33
  %indvars.iv.next.1 = shl nuw nsw i64 %31, 1
  %indvars.iv.next84.2 = add nuw i32 %indvars.iv.next84.1, %30
  %35 = and i32 %3, -4
  %36 = icmp ult i32 %33, %35
  %indvars.iv.next.2 = mul nuw nsw i64 %31, 3
  %37 = icmp ugt i32 %3, 11
  %indvars.iv.next90 = add nuw nsw i32 %28, %30
  %38 = shl nuw nsw i32 %28, 1
  %.not107 = icmp ult i32 %3, 4
  %indvars.iv.next90.1 = add nuw i32 %indvars.iv.next90, %30
  %39 = mul nuw i32 %28, 3
  %40 = icmp ult i32 %38, %39
  %indvars.iv.next.194 = shl nuw nsw i64 %31, 1
  %indvars.iv.next90.2 = add nuw i32 %indvars.iv.next90.1, %30
  %41 = and i32 %3, -4
  %42 = icmp ult i32 %39, %41
  %indvars.iv.next.297 = mul nuw nsw i64 %31, 3
  br label %48

._crit_edge:                                      ; preds = %.split72.us, %13
  call void @wipe_block(ptr noundef nonnull %17)
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %19) #2
  %43 = add i32 %27, -1
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds %struct.block, ptr %2, i64 %44
  call void @store_block(ptr noundef nonnull %19, ptr noundef nonnull %45)
  %46 = shl i32 %27, 7
  %47 = zext i32 %46 to i64
  %.not79 = icmp eq i32 %46, 0
  br i1 %.not79, label %._crit_edge78, label %.lr.ph77

48:                                               ; preds = %.lr.ph74, %.split72.us
  %.06573 = phi i32 [ 0, %.lr.ph74 ], [ %90, %.split72.us ]
  %49 = icmp eq i32 %.06573, 0
  br i1 %49, label %.split.us.preheader, label %.split.preheader

.split.preheader:                                 ; preds = %48
  call void @gidx_init(ptr noundef nonnull %18, i32 noundef %.06573, i32 noundef 0, i32 noundef %27, i32 noundef %4)
  br i1 %.not103, label %.loopexit, label %.lr.ph.preheader

.split.us.preheader:                              ; preds = %48
  call void @gidx_init(ptr noundef nonnull %18, i32 noundef 0, i32 noundef 0, i32 noundef %27, i32 noundef %4)
  br i1 %37, label %.lr.ph.us, label %.loopexit.us

.loopexit.us:                                     ; preds = %.lr.ph.us, %.split.us.preheader
  call void @gidx_init(ptr noundef nonnull %18, i32 noundef 0, i32 noundef 1, i32 noundef %27, i32 noundef %4)
  br i1 %.not107, label %.loopexit.us.1, label %.lr.ph.us.1

.lr.ph.us.1:                                      ; preds = %.loopexit.us, %.lr.ph.us.1
  %indvars.iv87.1 = phi i64 [ %indvars.iv.next88.1, %.lr.ph.us.1 ], [ %31, %.loopexit.us ]
  %50 = call i32 @gidx_next(ptr noundef nonnull %18)
  %51 = zext i32 %50 to i64
  %52 = getelementptr inbounds %struct.block, ptr %2, i64 %51
  %53 = getelementptr inbounds %struct.block, ptr %2, i64 %indvars.iv87.1
  %54 = icmp eq i64 %indvars.iv87.1, 0
  %55 = select i1 %54, i64 %29, i64 %indvars.iv87.1
  %gep.us.us.1 = getelementptr %struct.block, ptr %invariant.gep, i64 %55
  call void @copy_block(ptr noundef nonnull %17, ptr noundef nonnull %gep.us.us.1)
  call void @xor_block(ptr noundef nonnull %17, ptr noundef %52)
  call void @copy_block(ptr noundef %53, ptr noundef nonnull %17)
  call void @g_rounds(ptr noundef nonnull %17)
  call void @xor_block(ptr noundef %53, ptr noundef nonnull %17)
  %indvars.iv.next88.1 = add nuw nsw i64 %indvars.iv87.1, 1
  %lftr.wideiv.192 = trunc i64 %indvars.iv.next88.1 to i32
  %exitcond.193.not = icmp eq i32 %indvars.iv.next90, %lftr.wideiv.192
  br i1 %exitcond.193.not, label %.loopexit.us.1, label %.lr.ph.us.1, !llvm.loop !5

.loopexit.us.1:                                   ; preds = %.lr.ph.us.1, %.loopexit.us
  call void @gidx_init(ptr noundef nonnull %18, i32 noundef 0, i32 noundef 2, i32 noundef %27, i32 noundef %4)
  br i1 %40, label %.lr.ph.us.2, label %.loopexit.us.2

.lr.ph.us.2:                                      ; preds = %.loopexit.us.1, %.lr.ph.us.2
  %indvars.iv87.2 = phi i64 [ %indvars.iv.next88.2, %.lr.ph.us.2 ], [ %indvars.iv.next.194, %.loopexit.us.1 ]
  %56 = call i32 @gidx_next(ptr noundef nonnull %18)
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds %struct.block, ptr %2, i64 %57
  %59 = getelementptr inbounds %struct.block, ptr %2, i64 %indvars.iv87.2
  %60 = icmp eq i64 %indvars.iv87.2, 0
  %61 = select i1 %60, i64 %29, i64 %indvars.iv87.2
  %gep.us.us.2 = getelementptr %struct.block, ptr %invariant.gep, i64 %61
  call void @copy_block(ptr noundef nonnull %17, ptr noundef nonnull %gep.us.us.2)
  call void @xor_block(ptr noundef nonnull %17, ptr noundef %58)
  call void @copy_block(ptr noundef %59, ptr noundef nonnull %17)
  call void @g_rounds(ptr noundef nonnull %17)
  call void @xor_block(ptr noundef %59, ptr noundef nonnull %17)
  %indvars.iv.next88.2 = add nuw nsw i64 %indvars.iv87.2, 1
  %lftr.wideiv.295 = trunc i64 %indvars.iv.next88.2 to i32
  %exitcond.296.not = icmp eq i32 %indvars.iv.next90.1, %lftr.wideiv.295
  br i1 %exitcond.296.not, label %.loopexit.us.2, label %.lr.ph.us.2, !llvm.loop !5

.loopexit.us.2:                                   ; preds = %.lr.ph.us.2, %.loopexit.us.1
  call void @gidx_init(ptr noundef nonnull %18, i32 noundef 0, i32 noundef 3, i32 noundef %27, i32 noundef %4)
  br i1 %42, label %.lr.ph.us.3, label %.split72.us

.lr.ph.us.3:                                      ; preds = %.loopexit.us.2, %.lr.ph.us.3
  %indvars.iv87.3 = phi i64 [ %indvars.iv.next88.3, %.lr.ph.us.3 ], [ %indvars.iv.next.297, %.loopexit.us.2 ]
  %62 = call i32 @gidx_next(ptr noundef nonnull %18)
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds %struct.block, ptr %2, i64 %63
  %65 = getelementptr inbounds %struct.block, ptr %2, i64 %indvars.iv87.3
  %66 = icmp eq i64 %indvars.iv87.3, 0
  %67 = select i1 %66, i64 %29, i64 %indvars.iv87.3
  %gep.us.us.3 = getelementptr %struct.block, ptr %invariant.gep, i64 %67
  call void @copy_block(ptr noundef nonnull %17, ptr noundef nonnull %gep.us.us.3)
  call void @xor_block(ptr noundef nonnull %17, ptr noundef %64)
  call void @copy_block(ptr noundef %65, ptr noundef nonnull %17)
  call void @g_rounds(ptr noundef nonnull %17)
  call void @xor_block(ptr noundef %65, ptr noundef nonnull %17)
  %indvars.iv.next88.3 = add nuw nsw i64 %indvars.iv87.3, 1
  %lftr.wideiv.398 = trunc i64 %indvars.iv.next88.3 to i32
  %exitcond.399.not = icmp eq i32 %indvars.iv.next90.2, %lftr.wideiv.398
  br i1 %exitcond.399.not, label %.split72.us, label %.lr.ph.us.3, !llvm.loop !5

.lr.ph.us:                                        ; preds = %.split.us.preheader, %.lr.ph.us
  %indvars.iv87 = phi i64 [ %indvars.iv.next88, %.lr.ph.us ], [ 2, %.split.us.preheader ]
  %68 = call i32 @gidx_next(ptr noundef nonnull %18)
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds %struct.block, ptr %2, i64 %69
  %71 = getelementptr inbounds %struct.block, ptr %2, i64 %indvars.iv87
  %gep.us.us = getelementptr %struct.block, ptr %invariant.gep, i64 %indvars.iv87
  call void @copy_block(ptr noundef nonnull %17, ptr noundef nonnull %gep.us.us)
  call void @xor_block(ptr noundef nonnull %17, ptr noundef %70)
  call void @copy_block(ptr noundef nonnull %71, ptr noundef nonnull %17)
  call void @g_rounds(ptr noundef nonnull %17)
  call void @xor_block(ptr noundef nonnull %71, ptr noundef nonnull %17)
  %indvars.iv.next88 = add nuw nsw i64 %indvars.iv87, 1
  %lftr.wideiv100 = trunc i64 %indvars.iv.next88 to i32
  %exitcond101.not = icmp eq i32 %28, %lftr.wideiv100
  br i1 %exitcond101.not, label %.loopexit.us, label %.lr.ph.us, !llvm.loop !5

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph.preheader, %.split.preheader
  call void @gidx_init(ptr noundef nonnull %18, i32 noundef %.06573, i32 noundef 1, i32 noundef %27, i32 noundef %4)
  br i1 %.not106, label %.loopexit.1, label %.lr.ph.1

.lr.ph.1:                                         ; preds = %.loopexit, %.lr.ph.1
  %indvars.iv81.1 = phi i64 [ %indvars.iv.next82.1, %.lr.ph.1 ], [ %31, %.loopexit ]
  %72 = call i32 @gidx_next(ptr noundef nonnull %18)
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds %struct.block, ptr %2, i64 %73
  %75 = getelementptr inbounds %struct.block, ptr %2, i64 %indvars.iv81.1
  %76 = icmp eq i64 %indvars.iv81.1, 0
  %77 = select i1 %76, i64 %29, i64 %indvars.iv81.1
  %gep.1 = getelementptr %struct.block, ptr %invariant.gep, i64 %77
  call void @copy_block(ptr noundef nonnull %17, ptr noundef nonnull %gep.1)
  call void @xor_block(ptr noundef nonnull %17, ptr noundef %74)
  call void @xor_block(ptr noundef %75, ptr noundef nonnull %17)
  call void @g_rounds(ptr noundef nonnull %17)
  call void @xor_block(ptr noundef %75, ptr noundef nonnull %17)
  %indvars.iv.next82.1 = add nuw nsw i64 %indvars.iv81.1, 1
  %lftr.wideiv.1 = trunc i64 %indvars.iv.next82.1 to i32
  %exitcond.1.not = icmp eq i32 %indvars.iv.next84, %lftr.wideiv.1
  br i1 %exitcond.1.not, label %.loopexit.1, label %.lr.ph.1, !llvm.loop !5

.loopexit.1:                                      ; preds = %.lr.ph.1, %.loopexit
  call void @gidx_init(ptr noundef nonnull %18, i32 noundef %.06573, i32 noundef 2, i32 noundef %27, i32 noundef %4)
  br i1 %34, label %.lr.ph.2, label %.loopexit.2

.lr.ph.2:                                         ; preds = %.loopexit.1, %.lr.ph.2
  %indvars.iv81.2 = phi i64 [ %indvars.iv.next82.2, %.lr.ph.2 ], [ %indvars.iv.next.1, %.loopexit.1 ]
  %78 = call i32 @gidx_next(ptr noundef nonnull %18)
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds %struct.block, ptr %2, i64 %79
  %81 = getelementptr inbounds %struct.block, ptr %2, i64 %indvars.iv81.2
  %82 = icmp eq i64 %indvars.iv81.2, 0
  %83 = select i1 %82, i64 %29, i64 %indvars.iv81.2
  %gep.2 = getelementptr %struct.block, ptr %invariant.gep, i64 %83
  call void @copy_block(ptr noundef nonnull %17, ptr noundef nonnull %gep.2)
  call void @xor_block(ptr noundef nonnull %17, ptr noundef %80)
  call void @xor_block(ptr noundef %81, ptr noundef nonnull %17)
  call void @g_rounds(ptr noundef nonnull %17)
  call void @xor_block(ptr noundef %81, ptr noundef nonnull %17)
  %indvars.iv.next82.2 = add nuw nsw i64 %indvars.iv81.2, 1
  %lftr.wideiv.2 = trunc i64 %indvars.iv.next82.2 to i32
  %exitcond.2.not = icmp eq i32 %indvars.iv.next84.1, %lftr.wideiv.2
  br i1 %exitcond.2.not, label %.loopexit.2, label %.lr.ph.2, !llvm.loop !5

.loopexit.2:                                      ; preds = %.lr.ph.2, %.loopexit.1
  call void @gidx_init(ptr noundef nonnull %18, i32 noundef %.06573, i32 noundef 3, i32 noundef %27, i32 noundef %4)
  br i1 %36, label %.lr.ph.3, label %.split72.us

.lr.ph.3:                                         ; preds = %.loopexit.2, %.lr.ph.3
  %indvars.iv81.3 = phi i64 [ %indvars.iv.next82.3, %.lr.ph.3 ], [ %indvars.iv.next.2, %.loopexit.2 ]
  %84 = call i32 @gidx_next(ptr noundef nonnull %18)
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds %struct.block, ptr %2, i64 %85
  %87 = getelementptr inbounds %struct.block, ptr %2, i64 %indvars.iv81.3
  %88 = icmp eq i64 %indvars.iv81.3, 0
  %89 = select i1 %88, i64 %29, i64 %indvars.iv81.3
  %gep.3 = getelementptr %struct.block, ptr %invariant.gep, i64 %89
  call void @copy_block(ptr noundef nonnull %17, ptr noundef nonnull %gep.3)
  call void @xor_block(ptr noundef nonnull %17, ptr noundef %86)
  call void @xor_block(ptr noundef %87, ptr noundef nonnull %17)
  call void @g_rounds(ptr noundef nonnull %17)
  call void @xor_block(ptr noundef %87, ptr noundef nonnull %17)
  %indvars.iv.next82.3 = add nuw nsw i64 %indvars.iv81.3, 1
  %lftr.wideiv.3 = trunc i64 %indvars.iv.next82.3 to i32
  %exitcond.3.not = icmp eq i32 %indvars.iv.next84.2, %lftr.wideiv.3
  br i1 %exitcond.3.not, label %.split72.us, label %.lr.ph.3, !llvm.loop !5

.split72.us:                                      ; preds = %.lr.ph.3, %.lr.ph.us.3, %.loopexit.2, %.loopexit.us.2
  %90 = add nuw i32 %.06573, 1
  %exitcond.not = icmp eq i32 %90, %4
  br i1 %exitcond.not, label %._crit_edge, label %48, !llvm.loop !7

.lr.ph.preheader:                                 ; preds = %.split.preheader
  %91 = call i32 @gidx_next(ptr noundef nonnull %18)
  %92 = zext i32 %91 to i64
  %93 = getelementptr inbounds %struct.block, ptr %2, i64 %92
  call void @copy_block(ptr noundef nonnull %17, ptr noundef nonnull %gep.peel)
  call void @xor_block(ptr noundef nonnull %17, ptr noundef %93)
  call void @xor_block(ptr noundef %2, ptr noundef nonnull %17)
  call void @g_rounds(ptr noundef nonnull %17)
  call void @xor_block(ptr noundef %2, ptr noundef nonnull %17)
  br i1 %.not104, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv81 = phi i64 [ %indvars.iv.next82, %.lr.ph ], [ 1, %.lr.ph.preheader ]
  %94 = call i32 @gidx_next(ptr noundef nonnull %18)
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds %struct.block, ptr %2, i64 %95
  %97 = getelementptr inbounds %struct.block, ptr %2, i64 %indvars.iv81
  %gep = getelementptr %struct.block, ptr %invariant.gep, i64 %indvars.iv81
  call void @copy_block(ptr noundef nonnull %17, ptr noundef nonnull %gep)
  call void @xor_block(ptr noundef nonnull %17, ptr noundef %96)
  call void @xor_block(ptr noundef nonnull %97, ptr noundef nonnull %17)
  call void @g_rounds(ptr noundef nonnull %17)
  call void @xor_block(ptr noundef nonnull %97, ptr noundef nonnull %17)
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %.not105 = icmp eq i64 %indvars.iv.next82, %zext
  br i1 %.not105, label %.loopexit, label %.lr.ph, !llvm.loop !8

._crit_edge78:                                    ; preds = %.lr.ph77, %._crit_edge
  call void @extended_hash(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %19, i32 noundef 1024)
  call void @crypto_wipe(ptr noundef nonnull %19, i64 noundef 1024)
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %19) #2
  call void @llvm.lifetime.end.p0(i64 1048, ptr nonnull %18) #2
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %17) #2
  ret void

.lr.ph77:                                         ; preds = %._crit_edge, %.lr.ph77
  %.075 = phi i64 [ %113, %.lr.ph77 ], [ 0, %._crit_edge ]
  %98 = getelementptr inbounds i64, ptr %2, i64 %.075
  store volatile i64 0, ptr %98, align 8, !tbaa !10
  %99 = or disjoint i64 %.075, 1
  %100 = getelementptr inbounds i64, ptr %2, i64 %99
  store volatile i64 0, ptr %100, align 8, !tbaa !10
  %101 = or disjoint i64 %.075, 2
  %102 = getelementptr inbounds i64, ptr %2, i64 %101
  store volatile i64 0, ptr %102, align 8, !tbaa !10
  %103 = or disjoint i64 %.075, 3
  %104 = getelementptr inbounds i64, ptr %2, i64 %103
  store volatile i64 0, ptr %104, align 8, !tbaa !10
  %105 = or disjoint i64 %.075, 4
  %106 = getelementptr inbounds i64, ptr %2, i64 %105
  store volatile i64 0, ptr %106, align 8, !tbaa !10
  %107 = or disjoint i64 %.075, 5
  %108 = getelementptr inbounds i64, ptr %2, i64 %107
  store volatile i64 0, ptr %108, align 8, !tbaa !10
  %109 = or disjoint i64 %.075, 6
  %110 = getelementptr inbounds i64, ptr %2, i64 %109
  store volatile i64 0, ptr %110, align 8, !tbaa !10
  %111 = or disjoint i64 %.075, 7
  %112 = getelementptr inbounds i64, ptr %2, i64 %111
  store volatile i64 0, ptr %112, align 8, !tbaa !10
  %113 = add nuw nsw i64 %.075, 8
  %exitcond102.not.7 = icmp eq i64 %113, %47
  br i1 %exitcond102.not.7, label %._crit_edge78, label %.lr.ph77, !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 @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 @copy_block(ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare hidden void @g_rounds(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 @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